/* Super Foods: the bubbly display face, for LARGE titles only (page titles, shop names, popup titles,
   the toy name on the squish screen). Everything small (buttons, nav, prices, toy cards, sentences)
   keeps the rounded body font. Drawn 15% larger so a title always reads bigger than its subheading.
   License: dafont lists it 100% Free, "Free for personal use & commercial use" (author fsuarez913), checked 2026-10-15. */
/* Grandstander (Tyler Finck, free incl. app embedding per its README, checked 2026-10-15): all smaller text. */
@font-face{font-family:"Grandstander";src:url("./assets/fonts/grandstander.woff") format("woff");font-display:swap}
body,body *{font-family:"Grandstander",ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",sans-serif!important}
@font-face{font-family:"Super Foods";src:url("./assets/fonts/super-foods.woff") format("woff");font-display:swap;size-adjust:115%}
h1,.first-reveal h2,dialog .modal-top h2,.store-toy-title,.squish-toolbar h2,.tf-name{font-family:"Super Foods",ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",sans-serif!important;font-weight:400!important;font-synthesis:none;letter-spacing:.01em}
/* Small names stay in the body font even though they are h1 elements. */
.trade-friend-header h1{font-family:"Grandstander",ui-rounded,sans-serif!important;font-weight:inherit!important}

/* Play page: one-line Squishy Town logo, nearly full width on phones. */
html body .gm-screen .gm-art-heading img.gm-logo-line,html body.ui2.gm-open .gm-screen .gm-art-heading img.gm-logo-line{width:min(88vw,460px)!important;height:auto!important;max-height:none!important;aspect-ratio:940/191}
html body .gm-screen .gm-art-heading:has(.gm-logo-line){min-height:0!important;height:auto!important;gap:8px}

/* Play page: the current town scene shows through the transparent games layer. */
html body.ui2.gm-open .gm-screen,html body.ui2.gm-open[data-daylight] .gm-screen,html body .gm-screen{background:transparent!important}
@media(min-width:760px){html body.ui2.gm-open .gm-screen,html body.ui2.gm-open[data-daylight] .gm-screen,html body .gm-screen{background:transparent!important}}
html body.ui2 .gm-screen .gm-grid,html body .gm-screen .gm-grid{background:none!important;border-color:transparent!important;box-shadow:none!important}
html body.ui2.gm-open .gm-screen .gm-grid,html body.gm-open .gm-screen .gm-grid{background:none!important;background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}
html body.ui2.gm-open .gm-screen .gm-icon,html body.gm-open .gm-screen .gm-icon{background-color:transparent!important}
/* Without the panel, tile pictures hug their art so rounded corners and the Featured ring sit on the card itself. */
html body.gm-open .gm-screen .gm-grid .gm-tile .gm-icon{display:flex!important;align-items:center;justify-content:center}
html body.gm-open .gm-screen .gm-grid .gm-tile .gm-icon img.gm-card-picture{width:auto!important;height:100%!important;max-width:100%!important;aspect-ratio:1!important;object-fit:cover!important;border-radius:20%!important;margin:0 auto}
html body.gm-open .gm-screen .gm-grid .gm-tile.gm-studio{box-shadow:none!important}
html body.gm-open .gm-screen .gm-grid .gm-tile.gm-studio .gm-icon img.gm-card-picture{box-shadow:0 0 0 3px #ffe18d,0 0 0 6px #fffdf4!important}

/* No cut-off words: names that used to end in "…" wrap onto a second line instead. */
html #modal[open]:has(.book-grid) .book-feature-copy strong,html #modal[open]:has(.book-grid) .book-grid .book-toy strong,
.shop-scene .toy-card>.toy-name,body.ui2[data-place=shop] .shop-scene .toy-card .toy-name,.squish-toolbar h2,.v2l-goal,body.ui2 .town-goal .goal-text,
.gm-name,html .tray-toy span,html body.ui2[data-mode=hunt][data-place=trade] .tray-toy span:last-child,html body.ui2[data-mode=hunt][data-place=trade] .offer-label,
.ui2-me b,.town-toy-rail>.tr-waiting small{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:break-word;line-height:1.05!important;text-wrap:balance}
