/* Live bakery lettering; only the two O's use existing illustrated cookie art. */
.bakery-wordmark>.word-cookie::after,.bakery-wordmark>.word-kitchen::after{content:none;animation:none}
.home-copy h1.bakery-wordmark{color:#ffcb70;letter-spacing:.005em;-webkit-text-stroke:2.6px #704022;text-shadow:0 2px #ffe7a3,0 4px #cd7b33,1px 6px #704022}
.home-copy .word-cookie{color:#ffc257;-webkit-text-fill-color:#ffc257}
.home-copy .word-kitchen{color:#ff80a5;-webkit-text-fill-color:#ff80a5;text-shadow:0 2px #ffe3dc,0 4px #d45178,1px 6px #704022}
.cookie-o{position:relative;display:inline-block;width:.66em;height:.66em;vertical-align:-.01em;margin-inline:.014em;filter:drop-shadow(0 2px 0 #754529)}
.cookie-o img{display:block;width:100%;height:100%;object-fit:contain}
.home-copy .cookie-o:nth-of-type(2){rotate:12deg}
.home-copy .word-cookie,.home-copy .word-kitchen{position:relative;z-index:2}
.brand-wordmark{display:block;font-family:var(--display);font-size:18px;line-height:1.18;font-weight:400;letter-spacing:0;color:#653b24;white-space:nowrap}
.brand-wordmark>.word-cookie{color:#9a501c}.brand-wordmark>.word-kitchen{color:#a93862}
.brand-wordmark .cookie-o{filter:none;width:.61em;height:.61em;vertical-align:0}
body .brand .brand-wordmark .cookie-o img{width:100%;height:100%}
.home-copy{padding-right:26px}
.home-friends{position:absolute;right:8px;bottom:8px;width:190px;pointer-events:none;z-index:1;filter:drop-shadow(0 3px 2px #76512c24)}
.home-friends img{display:block;width:100%;height:auto}
.home-intro .home-description{max-width:calc(100% - 180px)}
.home-copy>.primary{position:relative;z-index:3}
/* Compact menus retain all three independent sound controls. */
#overlay .settings{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
#overlay .settings .setting{margin:0;min-height:44px;display:flex;align-items:center;gap:8px;font-size:16px}
#overlay .settings .setting-motion{grid-column:2;grid-row:2;flex-wrap:wrap}
#overlay .settings .music-volume{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:auto minmax(70px,1fr) 42px;gap:10px}
#setting-music-volume{padding:0;min-width:0;width:100%;height:44px;accent-color:#34784f;cursor:pointer}
#music-volume-value{font-size:14px;font-variant-numeric:tabular-nums;text-align:right}
#overlay[open]:has(.settings){display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;max-height:calc(var(--screen-height,100dvh) - 24px);overflow:hidden}
#overlay:has(.settings) .about{min-height:0;overflow-y:auto;padding-right:6px}
#overlay:has(.settings)>.dialog-toolbar{margin-top:12px}
@media(min-width:1001px) and (max-height:800px){
 .home-intro{margin-block:8px 20px}
 .home-copy{padding:16px 26px 20px}
 .home-copy h1.bakery-wordmark{font-size:64px;margin-bottom:10px}
 .home-copy .eyebrow{margin-bottom:6px;padding-block:4px}
 .home-intro .home-description{font-size:15px;margin-bottom:12px;max-width:calc(100% - 190px)}
 .station-card .station-art{height:140px}
 .station-card:nth-child(n) .card-copy{padding:12px 18px 14px}
 .station-card .card-copy .station-heading{font-size:32px;margin-bottom:8px}
 .station-card .card-copy .station-heading::after{margin-block:5px}
 .station-card .card-copy p{margin-bottom:10px;font-size:15px}
}
@media(min-width:761px) and (max-width:1000px){
 .home-intro{max-width:760px;grid-template-columns:160px minmax(0,1fr)}
 .home-benny{width:170px;height:212.5px}
 .home-copy h1.bakery-wordmark{font-size:58px}
 .home-friends{width:170px}
 .home-intro .home-description{max-width:calc(100% - 155px)}
}
@media(max-width:760px){
 .home-intro{display:block;max-width:540px;margin:16px auto 24px}
 /* Benny remains the guide in play; the small home composition features friends. */
 .home-intro>.home-benny{display:none}
 .home-copy{margin:0;padding:18px 20px 20px}
 .home-copy h1.bakery-wordmark{display:flex;flex-direction:column;align-items:start;font-size:54px;line-height:1.05;width:calc(100% - 170px);margin-bottom:12px}
 .home-friends{top:36px;right:14px;bottom:auto;width:168px}
 .home-intro .home-description{max-width:100%;font-size:15px;margin-bottom:12px}
 .home-copy .eyebrow{display:none}
 .home-copy>.primary{width:100%;min-width:0}
}
@media(max-width:440px){
 .home-copy{padding:17px 16px 20px}
 .home-copy h1.bakery-wordmark{font-size:42px;width:calc(100% - 126px);line-height:1.12;-webkit-text-stroke:2.2px #704022}
 .home-friends{width:132px;top:25px;right:8px}
 #overlay .settings .setting{font-size:14px}
 #overlay .settings{gap:6px}
 #overlay .settings .music-volume{font-size:14px;gap:6px}
}
@media(max-width:340px){.home-copy h1.bakery-wordmark{font-size:36px}.home-friends{width:115px;top:27px}.home-copy h1.bakery-wordmark{width:calc(100% - 110px)}}
