/* gg.ellie.day page styles. STRUCTURE PASS by eng (layout, states, accessibility); LOOK PASS v1 by creative, Oct 29 2026:
   painted world + pearl wash, porcelain cards, star bots on a string-light line, Auvi Three hosting the caption.
   Uses tokens.css only. Every motion is opt-out under prefers-reduced-motion. */
*{box-sizing:border-box;margin:0}
html{background:var(--gg-v0-paper);color:var(--gg-v0-ink);font-family:var(--gg-v0-font-ui);-webkit-font-smoothing:antialiased;text-size-adjust:100%}
:lang(ja) body{font-family:"Ubuntu Sans",var(--gg-site-font-cjk)}
:lang(ko) body{font-family:"Ubuntu Sans",var(--gg-site-font-ko);word-break:keep-all}
body{min-height:100vh;display:flex;flex-direction:column}
::selection{background:var(--gg-site-light-you-haze);color:var(--gg-v0-ink)}

/* the world: the "this week in gg" painted sakura lake, washed pearl so text stays readable. Static image, a
   gradient fallback underneath, and a very slow drift that stops for reduced motion. A light shader can replace
   this layer later (markup request filed with eng); this stays as its fallback. */
body::before{content:"";position:fixed;inset:-3%;z-index:-1;pointer-events:none;
  background:var(--gg-site-world-wash-sm),url(/_s/img/world/sakura-portrait-600.webp) center 30%/cover no-repeat,var(--gg-site-world-fallback)}
@media (min-width:700px){body::before{background:var(--gg-site-world-wash-sm),url(/_s/img/world/sakura-900.webp) center 35%/cover no-repeat,var(--gg-site-world-fallback)}}
@media (min-width:900px){body::before{background:var(--gg-site-world-wash),url(/_s/img/world/sakura-1600.webp) 60% 40%/cover no-repeat,var(--gg-site-world-fallback)}}
@media (prefers-reduced-motion:no-preference){body::before{animation:gg-drift 90s var(--gg-site-ease) infinite alternate}}
@keyframes gg-drift{from{transform:scale(1) translate3d(0,0,0)}to{transform:scale(1.05) translate3d(-1.2%,-.8%,0)}}
a{color:inherit}
:focus-visible{outline:2px solid var(--gg-v0-focus);outline-offset:3px;border-radius:6px}
.wrap{width:100%;max-width:var(--gg-site-max);margin:0 auto;padding:0 var(--gg-site-gap)}

/* top bar */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:28px;padding-bottom:8px}
.brand{display:flex;align-items:center;gap:12px;font-weight:600;font-size:17px;text-decoration:none}
.brand .pill{background:var(--gg-v0-nacre);box-shadow:var(--gg-v0-nacre-edge);border-radius:12px;padding:7px 11px;display:flex}
.brand img{height:22px;display:block}
.gg-lang-row{list-style:none;display:flex;flex-wrap:wrap;gap:4px;padding:0}
.gg-lang a{display:flex;align-items:center;gap:10px;min-height:44px;white-space:nowrap;font-size:14px;line-height:1.2;padding:0 14px;border-radius:999px;text-decoration:none;color:var(--gg-v0-muted)}
.gg-lang-row{flex-wrap:nowrap;gap:2px;background:var(--gg-site-porcelain);border-radius:999px;padding:4px;box-shadow:var(--gg-site-porcelain-edge)}
.gg-lang a:hover{background:var(--gg-v0-raised);color:var(--gg-v0-ink)}
/* current language (tweaks v2): a blush fill and deep-rose text, no inner border box */
.gg-lang a[aria-current]{color:var(--gg-site-sakura-deep);background:var(--gg-site-sakura-blush);font-weight:600}
/* phones (eng, Oct 29 night, Ellie-approved): the inline row is wider than a 390px screen, so below 720px the picker
   collapses to one porcelain pill naming the current language. Native <details>: opens on tap, Enter or Space with
   no JS; gg-page.js adds Escape and tap-outside to close. The list floats over the page, so it never widens it. */
.gg-lang{flex:none}
.gg-lang-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gg-lang-row{display:none}
.gg-lang-pop{position:relative}
.gg-lang-pop summary{list-style:none;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px 0 18px;line-height:1.2;border-radius:999px;cursor:pointer;white-space:nowrap;
  font-size:14px;font-weight:600;color:var(--gg-v0-ink);background:var(--gg-site-porcelain);box-shadow:var(--gg-site-porcelain-edge)}
.gg-lang-pop summary::-webkit-details-marker{display:none}
.gg-lang-pop summary::after{content:"";flex:none;width:6px;height:6px;margin-top:-3px;border-right:1.5px solid var(--gg-v0-muted);border-bottom:1.5px solid var(--gg-v0-muted);transform:rotate(45deg)}
.gg-lang-pop[open] summary::after{margin-top:3px;transform:rotate(-135deg)}
.gg-lang-pop summary:focus-visible{border-radius:999px;outline-offset:2px}
.gg-lang-pop[open] summary{box-shadow:var(--gg-site-porcelain-edge),inset 0 0 0 1.5px var(--gg-site-sakura-pink)}
.gg-lang-pop ul{position:absolute;right:0;top:calc(100% + 8px);z-index:5;list-style:none;padding:6px;display:grid;gap:2px;min-width:100%;width:max-content;max-width:calc(100vw - 32px);
  background:var(--gg-v0-surface);border-radius:18px;box-shadow:var(--gg-site-porcelain-edge),0 10px 28px #30284A24}
.gg-lang-pop ul{border-radius:20px}
.gg-lang-pop a{padding:0 16px;border-radius:14px;font-size:15px}
.gg-lang-pop a[aria-current]::after{content:"";flex:none;width:7px;height:7px;margin-left:auto;border-radius:50%;background:var(--gg-site-sakura-accent)}
@media (min-width:720px){.gg-lang-row{display:flex}.gg-lang-pop{display:none}}

/* language suggestion + translation mark */
.gg-lang-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--gg-v0-status-info-bg);color:var(--gg-v0-status-info);
  border-radius:12px;padding:10px 14px;margin-top:12px;font-size:15px}
.gg-lang-banner[hidden],.gg-lang-banner [hidden]{display:none}
.gg-lang-banner button{background:none;border:0;font:inherit;font-size:20px;line-height:1;color:inherit;cursor:pointer;padding:2px 6px}
.gg-l10n-mark{font-size:13.5px;color:var(--gg-v0-muted);margin-top:10px}

/* layout: one column on phones, two from 900px */
main{flex:1;display:grid;gap:var(--gg-site-gap);padding-top:28px;padding-bottom:40px;align-content:start;align-items:start}
@media (min-width:900px){main{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}}
.side{display:grid;gap:22px;align-content:start}

/* hero */
.chip{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:600;border-radius:999px;padding:6px 12px;
  color:var(--gg-v0-status-needs);background:var(--gg-v0-status-needs-bg)}
.chip b{width:9px;height:9px;border-radius:50%;background:var(--gg-v0-rose)}
[data-mode=replay] .chip,[data-mode=sample] .chip,[data-mode=quiet] .chip{color:var(--gg-v0-muted);background:var(--gg-v0-raised)}
[data-mode=replay] .chip b,[data-mode=sample] .chip b,[data-mode=quiet] .chip b{background:var(--gg-v0-quiet-label)}
h1{font-size:clamp(36px,5.2vw,56px);font-weight:600;letter-spacing:-.02em;line-height:1.05;text-wrap:balance;margin-top:18px}
.what{font-size:18px;line-height:1.5;color:var(--gg-v0-muted);margin-top:16px;max-width:34em}
.what b{color:var(--gg-v0-ink)}

/* say hi */
.hi{background:var(--gg-site-porcelain);border-radius:var(--gg-site-radius-card);padding:24px 24px 18px;box-shadow:var(--gg-site-porcelain-edge)}
.kicker{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--gg-v0-rose)}
.hi h2{font-size:21px;font-weight:600;letter-spacing:-.01em;line-height:1.3;margin-top:8px;text-wrap:pretty}
.acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin-top:18px}
.resin{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;border-radius:999px;color:#fff;font-weight:600;font-size:16px;text-decoration:none;
  background:var(--gg-v0-rose-gloss),var(--gg-v0-rose-face);box-shadow:var(--gg-v0-rose-shadow)}
.resin:hover{background:var(--gg-v0-rose-gloss),var(--gg-v0-rose-face-hover)}
.resin:active{box-shadow:var(--gg-v0-rose-shadow-pressed)}
.resin:focus-visible{outline-offset:4px;border-radius:999px}
@media (prefers-reduced-motion:no-preference){.resin{transition:transform .25s var(--gg-site-ease)}.resin:hover{transform:translateY(-1px)}}
.resin svg{width:17px;height:17px;fill:currentColor}
.alt{font-size:15.5px;color:var(--gg-v0-teal);text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{display:inline-flex;align-items:center;gap:8px;background:var(--gg-site-porcelain);box-shadow:var(--gg-site-porcelain-edge);border-radius:999px;padding:5px 12px 5px 8px;font-size:14px}
.tag::before{content:"";width:20px;height:20px;flex:none;border-radius:50%;background:url(/_s/img/world/sakura-portrait-600.webp) center/cover,var(--gg-site-light-them-haze);box-shadow:0 0 0 1.5px #FFFFFFCC}
.tag:first-child::before{border-radius:0;box-shadow:none;background:url(/_s/img/host/auvi-wave.webp) center/contain no-repeat}

/* the live line */
.live{display:grid;gap:18px}
.stage{position:relative;border-radius:var(--gg-site-radius-card);background:#FCFAF559;box-shadow:0 1px 0 #FFFFFF99 inset,0 0 0 1px #FFFFFF66 inset;padding:30px 16px 18px;
  -webkit-backdrop-filter:blur(6px) saturate(1.1);backdrop-filter:blur(6px) saturate(1.1)}
@media (prefers-color-scheme:dark){:root:not([data-gg-theme=light]) .stage{background:#30284A73;box-shadow:0 1px 0 #FFFFFF1A inset}}
:root[data-gg-theme=dark] .stage{background:#30284A73;box-shadow:0 1px 0 #FFFFFF1A inset}
/* five tags on a string-light line. Each tag draws its own scallop of string (::after) so the line survives any
   wrap; tiny bulbs sit where scallops meet. Each bot is a star mini (concept-v1 geometry) hung from the string,
   lit with the feelings app's Two lights: pink when working or waiting on ellie, teal when thinking, off at rest. */
.bots{position:relative;list-style:none;padding:26px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:40px 14px}
@media (min-width:1100px){.bots{grid-template-columns:repeat(5,minmax(0,1fr))}}
.bot{position:relative;background:var(--gg-site-tag);border-radius:var(--gg-site-radius-tag);padding:30px 12px 12px;text-align:left;transform-origin:50% -18px;
  box-shadow:0 1px 0 #ffffff80 inset,3px 5px 0 #55406A14,0 10px 24px #4B3B731F}
.bot:nth-child(odd){transform:rotate(-1deg)} .bot:nth-child(even){transform:rotate(1deg)}
.bot::after{content:"";position:absolute;left:-7px;right:-7px;top:-36px;height:18px;border-bottom:1.5px solid var(--gg-site-string);border-radius:0 0 50% 50%/0 0 100% 100%;
  background:radial-gradient(circle at 3px 4px,var(--gg-site-light-you-haze) 0 3px,#0000 3.6px)}
.bot::before{content:"";position:absolute;left:50%;top:-27px;width:52px;height:50px;margin-left:-26px;background:var(--star,none) center/contain no-repeat;z-index:1;transition:filter .6s var(--gg-site-ease)}
.bot[data-bot=gtm]{--s-on:url(/_s/img/bots/gtm-on.svg);--s-thinking:url(/_s/img/bots/gtm-thinking.svg);--s-needs:url(/_s/img/bots/gtm-needs.svg);--s-rest:url(/_s/img/bots/gtm-rest.svg);--s-idle:url(/_s/img/bots/gtm-idle.svg)}
.bot[data-bot=eng]{--s-on:url(/_s/img/bots/eng-on.svg);--s-thinking:url(/_s/img/bots/eng-thinking.svg);--s-needs:url(/_s/img/bots/eng-needs.svg);--s-rest:url(/_s/img/bots/eng-rest.svg);--s-idle:url(/_s/img/bots/eng-idle.svg)}
.bot[data-bot=creative]{--s-on:url(/_s/img/bots/creative-on.svg);--s-thinking:url(/_s/img/bots/creative-thinking.svg);--s-needs:url(/_s/img/bots/creative-needs.svg);--s-rest:url(/_s/img/bots/creative-rest.svg);--s-idle:url(/_s/img/bots/creative-idle.svg)}
.bot[data-bot=applied-ai]{--s-on:url(/_s/img/bots/applied-ai-on.svg);--s-thinking:url(/_s/img/bots/applied-ai-thinking.svg);--s-needs:url(/_s/img/bots/applied-ai-needs.svg);--s-rest:url(/_s/img/bots/applied-ai-rest.svg);--s-idle:url(/_s/img/bots/applied-ai-idle.svg)}
.bot[data-bot=oracle]{--s-on:url(/_s/img/bots/oracle-on.svg);--s-thinking:url(/_s/img/bots/oracle-thinking.svg);--s-needs:url(/_s/img/bots/oracle-needs.svg);--s-rest:url(/_s/img/bots/oracle-rest.svg);--s-idle:url(/_s/img/bots/oracle-idle.svg)}
.bot{--star:var(--s-on)} .st-thinking{--star:var(--s-thinking)} .st-needs_ellie{--star:var(--s-needs)} .st-resting{--star:var(--s-rest)} .st-idle{--star:var(--s-idle)}
.st-working::before,.st-needs_ellie::before{filter:drop-shadow(0 0 7px var(--gg-site-light-you))}
.st-thinking::before{filter:drop-shadow(0 0 7px var(--gg-site-light-them))}
.st-resting::before,.st-idle::before{filter:saturate(.55) opacity(.8)}
@media (prefers-reduced-motion:no-preference){
  .st-needs_ellie::before{animation:gg-breathe 7s var(--gg-site-ease) infinite}
  .st-working::before{animation:gg-sway 7s ease-in-out infinite;transform-origin:50% 4px}}
@keyframes gg-breathe{50%{filter:drop-shadow(0 0 12px var(--gg-site-light-you)) drop-shadow(0 0 3px var(--gg-site-light-you-haze))}}
@keyframes gg-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@media (prefers-reduced-motion:reduce){.bot{transform:none!important}.bot::before{transition:none}}
.who{display:block;font-weight:600;font-size:17px;letter-spacing:-.01em}
.doing{display:block;font-size:14px;color:var(--gg-v0-muted);line-height:1.35;margin-top:4px;min-height:38px}
.meta{display:block;font-family:var(--gg-v0-font-code);font-size:12px;color:var(--gg-v0-muted);margin-top:8px;border-top:1px dashed var(--gg-v0-border);padding-top:7px;min-height:24px;font-variant-numeric:tabular-nums}
.stamp{display:inline-block;margin:0 0 6px -2px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 6px;border:1.5px solid currentColor;border-radius:5px;transform:rotate(-6deg)}
.st-working .stamp{color:var(--gg-v0-status-info)} .st-thinking .stamp{color:var(--gg-v0-teal)}
.st-needs_ellie .stamp{color:var(--gg-v0-status-needs)} .st-resting .stamp,.st-idle .stamp{color:var(--gg-v0-quiet-label);border-style:dashed}
.cap{position:relative;margin-top:22px;background:var(--gg-site-porcelain);border-radius:20px;padding:12px 16px 12px 82px;min-height:72px;font-size:17px;font-weight:500;line-height:1.3;box-shadow:var(--gg-site-porcelain-edge)}
/* Auvi Three, the host, leans in from the left edge of the caption (AI-generated character, not a photo) */
.cap::before{content:"";position:absolute;left:8px;bottom:6px;width:66px;height:70px;background:url(/_s/img/host/auvi-wave.webp) center bottom/contain no-repeat;filter:drop-shadow(0 6px 10px #B8457A33)}
.cap .spk{display:block;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--gg-v0-muted);margin-bottom:4px}
.cap b{color:var(--gg-v0-rose);font-weight:600}

.log{background:var(--gg-site-porcelain);border-radius:var(--gg-site-radius-card);padding:18px 20px 8px;box-shadow:var(--gg-site-porcelain-edge)}
.log h3{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--gg-v0-muted);display:flex;justify-content:space-between;gap:12px}
.log ol{list-style:none;padding:0;margin-top:6px}
.row{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:baseline;padding:10px 0;border-top:1px solid var(--gg-v0-raised);font-size:15px}
.row.empty{display:block;color:var(--gg-v0-muted)}
.row time{font-family:var(--gg-v0-font-code);font-size:12.5px;color:var(--gg-v0-muted);font-variant-numeric:tabular-nums}
.row .w span{color:var(--gg-v0-muted)}
.pill{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;white-space:nowrap}
.p-working{color:var(--gg-v0-status-info);background:var(--gg-v0-status-info-bg)} .p-thinking{color:var(--gg-v0-teal);background:var(--gg-v0-status-info-bg)}
.p-needs_ellie{color:var(--gg-v0-status-needs);background:var(--gg-v0-status-needs-bg)} .p-done{color:var(--gg-v0-status-done);background:var(--gg-v0-status-done-bg)}
.p-visiting{color:var(--gg-v0-teal);background:var(--gg-v0-raised);border:1px dashed var(--gg-v0-border)} .p-resting,.p-idle{color:var(--gg-v0-muted);background:var(--gg-v0-raised)}
.nojs{font-size:14px;color:var(--gg-v0-muted)}

/* footer */
/* footer (tweaks v2): a blush band under a string of sakura lights, the same string the bots hang from. Plain words,
   body-size text, the counts note opens into a soft card. */
footer{position:relative;margin-top:12px;background:var(--gg-site-footer-bg);padding:40px 0 44px;font-size:15px;line-height:1.55;color:var(--gg-v0-muted)}
footer::before{content:"";position:absolute;left:0;right:0;top:-9px;height:18px;pointer-events:none;
  background:radial-gradient(circle at 50% 13px,var(--gg-site-sakura-pink) 0 3px,#0000 3.6px) 0 0/44px 18px repeat-x,
    radial-gradient(60% 100% at 50% 0,#0000 calc(100% - 1.5px),var(--gg-site-string) calc(100% - 1px),#0000 100%) 0 0/44px 14px repeat-x;opacity:.8}
footer .wrap{display:grid;gap:14px;max-width:calc(var(--gg-site-max))}
footer .wrap>p{max-width:38em;text-wrap:pretty}
footer .wrap>p:first-child{font-size:16.5px;font-weight:500;color:var(--gg-v0-ink);line-height:1.45}
footer .ai{display:flex;gap:10px;align-items:baseline}
footer .ai::before{content:"";flex:none;width:9px;height:9px;border-radius:9px 0;background:var(--gg-site-sakura-pink);transform:translateY(-1px) rotate(-20deg)}
footer details{max-width:38em;border-radius:18px;background:var(--gg-site-footer-card)}
footer summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border-radius:18px;cursor:pointer;color:var(--gg-site-sakura-deep);font-weight:600}
footer summary::-webkit-details-marker{display:none}
footer summary::after{content:"";flex:none;width:6px;height:6px;margin:-3px 0 0 auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
footer details[open] summary::after{margin-top:3px;transform:rotate(-135deg)}
footer summary:focus-visible{border-radius:18px;outline-offset:2px}
footer details p{padding:0 16px 14px;max-width:44em;line-height:1.55}
footer button{font:inherit;color:var(--gg-v0-teal);background:none;border:0;padding:0;min-height:44px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;justify-self:start}
@media (min-width:900px){footer .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gg-site-gap);align-items:start}
  footer .wrap>p:first-child{grid-column:1}footer .ai{grid-column:1}footer details{grid-column:2;grid-row:1/span 2}footer button{grid-column:2}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* eng markup pass (Oct 29, night): early chip, gg what-it-is slot, garden-beat sound toggle, AI line in the footer */
.chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chip.early{color:var(--gg-v0-teal);background:var(--gg-site-porcelain);box-shadow:var(--gg-site-porcelain-edge);font-weight:500}
.gg{background:var(--gg-site-porcelain);border-radius:var(--gg-site-radius-card);padding:16px 20px;box-shadow:var(--gg-site-porcelain-edge);font-size:16px;line-height:1.5;color:var(--gg-v0-muted)}
.gg b{color:var(--gg-v0-ink);font-weight:600}
/* garden beat (tweaks v2): a settings row that closes the live column, not a floating chip. Reads
   "[speaker] the garden's beat ... sound off [switch]". Same button, same hooks; CSS only reorders the two labels. */
.sound{display:flex}
.sound-btn{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:6px 14px 6px 18px;border:0;border-radius:var(--gg-site-radius-card);font:inherit;font-size:15px;cursor:pointer;text-align:left;
  color:var(--gg-v0-ink);background:var(--gg-site-porcelain);box-shadow:0 1px 0 #FFFFFF99 inset,0 1px 2px #2921321A}
.sound-btn[hidden]{display:none}
.sound-btn svg{order:0;flex:none;width:18px;height:18px;fill:none;stroke:var(--gg-v0-muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sound-btn .k{order:1;font-weight:500;color:var(--gg-v0-ink)}
.sound-btn .k::before{content:none}
.sound-btn [data-label]{order:2;margin-left:auto;font-size:14px;color:var(--gg-v0-muted);white-space:nowrap}
.sound-btn::after{content:"";order:3;flex:none;width:44px;height:26px;border-radius:999px;
  background:radial-gradient(circle at 13px 50%,var(--gg-site-sakura-on-accent) 0 9px,#0000 9.6px),var(--gg-site-sakura-off)}
.sound-btn[aria-pressed=false] .w,.sound-btn[aria-pressed=true] .x{display:none}
.sound-btn[aria-pressed=true] svg{stroke:var(--gg-site-sakura-accent)}
.sound-btn[aria-pressed=true] [data-label]{color:var(--gg-site-sakura-deep);font-weight:600}
.sound-btn[aria-pressed=true]::after{background:radial-gradient(circle at 31px 50%,var(--gg-site-sakura-on-accent) 0 9px,#0000 9.6px),var(--gg-site-sakura-accent)}
.sound-btn:hover{background:var(--gg-site-porcelain) linear-gradient(0deg,#F6E4EC66,#F6E4EC66)}
.sound-btn:focus-visible{outline-offset:3px;border-radius:var(--gg-site-radius-card)}
@media (prefers-color-scheme:dark){:root:not([data-gg-theme=light]) .sound-btn{box-shadow:0 1px 0 #FFFFFF1A inset}:root:not([data-gg-theme=light]) .sound-btn:hover{background:var(--gg-site-porcelain) linear-gradient(0deg,#4B2F4F80,#4B2F4F80)}}
:root[data-gg-theme=dark] .sound-btn{box-shadow:0 1px 0 #FFFFFF1A inset}


/* sky (creative, Oct 29 night): falling sakura petals + watercolor light washes. A WebGL canvas (#gg-sky, drawn by
   /_s/sakura.mjs) sits over the painted world and under all content. When the shader is not running (no WebGL, no JS,
   lost context) <html> lacks data-gg-sky="gl" and the CSS washes below stand in. Washes stay off the text column. */
.gg-sky{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block}
html:not([data-gg-sky=gl]) body::after{content:"";position:fixed;inset:-6%;z-index:-1;pointer-events:none;
  background:radial-gradient(38% 18% at 80% 30%,#C8B8E633 0,#C8B8E600 70%),radial-gradient(34% 14% at 64% 78%,#F2B3CE38 0,#F2B3CE00 70%),
    radial-gradient(20% 30% at 96% 62%,#F6E4EC59 0,#F6E4EC00 70%),radial-gradient(30% 10% at 18% 94%,#8E336014 0,#8E336000 70%)}
@media (prefers-color-scheme:dark){html:not([data-gg-theme=light]):not([data-gg-sky=gl]) body::after{
  background:radial-gradient(38% 18% at 80% 30%,#C8B8E626 0,#C8B8E600 70%),radial-gradient(34% 14% at 64% 78%,#F2B3CE1F 0,#F2B3CE00 70%),
    radial-gradient(20% 30% at 96% 62%,#8E336038 0,#8E336000 70%)}}
@media (prefers-reduced-motion:no-preference){html:not([data-gg-sky=gl]) body::after{animation:gg-wash 120s ease-in-out infinite alternate}}
@keyframes gg-wash{to{transform:translate3d(-2%,1.5%,0) rotate(-1.5deg)}}

/* phones (tweaks v2, tweak 4): the bots and Auvi Three come up to the first screen. Below 900px .side and .live
   dissolve (display:contents) so their cards can be re-placed with order; source order, and so reading order, is
   unchanged. Visual order: hero, Auvi's caption, the bots on a swipeable string, say hi, gg, tags, field log, sound. */
@media (max-width:899px){
  main{padding-top:20px;gap:18px;grid-template-columns:minmax(0,1fr)}
  .side,.live{display:contents}
  .hero{order:1}.stage{order:2}.hi{order:3}.gg{order:4}.tags{order:5}.log{order:6}.sound{order:7}.live>noscript{order:8}
  .stage,:root:not([data-gg-theme=light]) .stage{display:flex;flex-direction:column;min-width:0;padding:14px 0 10px;margin:0 calc(-1 * var(--gg-site-gap));border-radius:0;
    -webkit-backdrop-filter:none;backdrop-filter:none;background:none;box-shadow:none}
  /* Auvi hosts first, bigger, right under the intro */
  .cap{order:-1;margin:0 var(--gg-site-gap) 4px;min-height:104px;padding:16px 18px 16px 118px;font-size:19px;display:flex;flex-direction:column;justify-content:center}
  .cap::before{left:8px;bottom:4px;width:104px;height:112px}
  /* the string: one row of bots that swipes sideways and snaps; the next bot peeks in at the edge */
  .bots{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gg-site-gap);
    padding:46px var(--gg-site-gap) 16px;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),#0003 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),#0003 100%);
    scroll-timeline:--gg-bots x}
  .bots::-webkit-scrollbar{display:none}
  .bots:focus-visible{outline-offset:-2px}
  .bot{flex:0 0 clamp(146px,42%,184px);scroll-snap-align:start}
  .bot:last-child{margin-right:var(--gg-site-gap)}
  /* "there is more": a short track with a sakura thumb under the string. The thumb follows the swipe where the browser
     supports scroll-linked timelines; elsewhere it sits at the start as a plain cue. Scroll-linked, so no autoplay. */
  .stage{timeline-scope:--gg-bots}
  .stage::after{content:"";align-self:center;width:72px;height:4px;border-radius:4px;margin-top:2px;
    background:linear-gradient(90deg,var(--gg-site-sakura-accent),var(--gg-site-sakura-accent)) 0 0/34% 100% no-repeat,var(--gg-site-sakura-track)}
  @supports (animation-timeline:scroll()){.stage::after{animation:gg-bots-thumb linear both;animation-timeline:--gg-bots}}
}
@keyframes gg-bots-thumb{from{background-position:0 0,0 0}to{background-position:100% 0,0 0}}
