@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/fredoka-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka Fallback'; src: local('Arial Rounded MT Bold'), local('Arial'); size-adjust: 104%; ascent-override: 92%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --page: #F6EFE4; --wall: #EFE6D8; --card: #FFFFFF; --card-2: #F7F2EA; --text: #26244F; --muted: #7B7896;
  --line: rgba(38,36,79,.12); --shadow: 0 10px 30px rgba(38,36,79,.14); --brand: #F39A3D; --ink: #3B3A8C;
  --go: #E5484D; --go-edge: #B8343A; --secondary: #FFC93C; --ok: #3DBE7A; --brass: #C9A35B;
  --display: "Fredoka", "Fredoka Fallback", ui-rounded, system-ui, sans-serif;
  --body: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --page: #14133A; --wall: #1C1B4A; --card: #22215A; --card-2: rgba(255,255,255,.07); --text: #F3F1FF; --muted: #A9A6D6;
  --line: rgba(255,255,255,.12); --shadow: 0 10px 30px rgba(0,0,0,.45); --ink: #C9C3FF;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.5 var(--body); overflow-x: hidden; transition: background .3s, color .3s; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
h2 { font: 600 clamp(24px, 3.2vw, 34px)/1.1 var(--display); margin: 0; }
h3.label { font: 600 18px/1.2 var(--display); margin: 26px 0 10px; }
.sub { color: var(--muted); margin: 4px 0 0; }
.grow { flex: 1; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; height: 64px; padding: env(safe-area-inset-top, 0) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--page) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
@keyframes spin { from { transform: rotateX(-12deg) rotateY(-28deg); } to { transform: rotateX(-12deg) rotateY(332deg); } }
.pill { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 2px 10px rgba(38,36,79,.06); }
.pill.icon { padding: 0; width: 44px; font-size: 18px; }
.pill.passport { background: var(--brand); color: #fff; border-color: transparent; }
.pill.passport b { background: rgba(255,255,255,.28); border-radius: 999px; padding: 1px 8px; font-size: 13px; }
@media (max-width: 600px) { .hide-sm { display: none; } .brand .logo-img { height: 36px; width: auto; } .top { gap: 6px; } .pill { padding: 0 11px; } }

/* Lobby: the art keeps its shape; the Today card sits on the center plinth (desktop) or below the art (phones). */
.lobby { background: var(--wall); }
.lobby-box { position: relative; margin-inline: auto; width: min(100%, calc((100dvh - 64px) * 1600 / 893)); }
.lobby-art { position: relative; aspect-ratio: 1600 / 893; }
.lobby-art picture, .lobby-art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lobby-art .night { display: none; }
[data-theme="dark"] .lobby-art .night { display: block; }
[data-theme="dark"] .lobby-art .day { display: none; }
.doors .door { position: absolute; left: var(--x); top: 31%; width: 17%; height: 44%; transform: translateX(-50%); border-radius: 999px 999px 8px 8px; text-decoration: none; }
.door .sign { position: absolute; left: 50%; bottom: calc(100% + 1.1vw); transform: translateX(-50%); white-space: nowrap; padding: .35em 1em; border-radius: 10px;
  font: 600 clamp(12px, 1.6vw, 22px)/1.2 var(--display); color: #3a2a0c; background: linear-gradient(180deg, #E9CF8E, var(--brass)); box-shadow: 0 3px 0 #9c7c3d, 0 8px 16px rgba(0,0,0,.18); transition: transform .15s; }
.door:hover .sign, .door:focus-visible .sign { transform: translateX(-50%) translateY(-3px); }
.door:focus-visible { outline-offset: -6px; }
.today { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: min(380px, 38%); text-align: center; padding: 14px 18px 16px; border-radius: 22px;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.today .kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.today h1 { font: 600 clamp(18px, 2.2vw, 28px)/1.15 var(--display); margin: 4px 0 10px; color: var(--ink); }
.go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--go); color: #fff; font: 600 18px/1 var(--display); text-decoration: none; box-shadow: 0 5px 0 var(--go-edge), 0 10px 18px rgba(229,72,77,.28); transition: transform .12s, box-shadow .12s; }
.go:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--go-edge); }
@media (max-width: 760px) {
  .lobby-box { width: 100%; padding-bottom: 16px; }
  .today { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: -6px 16px 0; }
  .door .sign { padding: .3em .6em; bottom: calc(100% + 3px); }
}

/* Bands */
.band { padding: 34px 0; }
.who { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ages { display: flex; flex-wrap: wrap; gap: 8px; }
.ages button { min-width: 52px; height: 52px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; line-height: 1; }
.ages button b { font: 600 20px/1 var(--display); }
.ages button small { font-size: 10.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.ages button[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ages button[aria-checked="true"] small { color: rgba(255,255,255,.9); }
.ages.big button { height: 60px; min-width: 64px; }
.starts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.startq { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px; border-radius: 22px; border: 1px solid var(--line); cursor: pointer;
  background: var(--card); box-shadow: var(--shadow); transition: transform .18s; }
.startq:hover { transform: translateY(-3px); }
.startq .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 32px; background: color-mix(in srgb, var(--wc) 22%, var(--card)); }
.startq b { font: 600 19px/1.15 var(--display); display: block; }
.startq small { color: var(--muted); font-weight: 600; }
.trails { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; }
.trail { flex: none; display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); cursor: pointer; min-height: 64px; }
.trail .e { font-size: 28px; }
.trail b { font: 600 17px/1.15 var(--display); display: block; }
.trail small { color: var(--muted); font-weight: 600; }
.trail .dots { display: flex; gap: 3px; margin-top: 4px; }
.trail .dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--brand); }
.trail .dots i.done { background: var(--brand); }
.trail .dots i.bonus { border-style: dashed; border-color: var(--muted); }

/* The island map */
.map-band { background: var(--wall); }
.map-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; }
.lg::before { content: ""; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; background: var(--card); border: 1px solid var(--line); font-size: 9px; color: #fff; }
.lg.you::before { content: "📍"; background: none; border: 0; font-size: 13px; }
.lg.got::before { content: "✓"; background: var(--ok); border-color: var(--ok); border-radius: 50%; font-weight: 800; }
.lg.next::before { box-shadow: 0 0 0 2px var(--secondary), 0 0 8px 2px rgba(255,201,60,.6); }
.lg.gap::before { border: 1.5px dashed var(--muted); background: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.world { position: relative; scroll-margin-top: 72px; --wood: #D9B07E; --wood-2: #B98A55; }
[data-theme="dark"] .world { --wood: #7C5E8E; --wood-2: #5E4672; }
.isles { position: relative; height: clamp(460px, calc(100svh - 96px), 720px); border-radius: 28px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  background: radial-gradient(ellipse at 50% 46%, #9BE0E3, #5CC1CE 78%); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .isles { background: radial-gradient(ellipse at 50% 46%, #252C68, #131236 78%); }
.isle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.isle-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.isle-poster.night, [data-theme="dark"] .isle-poster.day { display: none; }
[data-theme="dark"] .isle-poster.night { display: block; }
.world:not([data-mode="poster"]) .isle-poster { display: none; }
.world[data-mode="poster"] .isles::after { content: "Sailing to the islands…"; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 600 14px var(--display); color: var(--muted); background: var(--card); padding: 6px 14px; border-radius: 999px; }
.isle-anchors, .isle-top { display: none; } /* until islands.css arrives with the map */
@media (max-width: 699px) { .world { margin-inline: -16px; } .isles { border-radius: 0; height: 1084px; } }

/* Exhibits grid */
.search { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); min-width: min(420px, 100%); }
.search input { border: 0; background: none; outline: none; flex: 1; font-size: 16px; min-width: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 12px; }
.chip { flex: none; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: transparent; }
.chip .n { opacity: .55; font-weight: 500; margin-left: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.frame { display: block; text-align: left; border: 0; padding: 0; background: none; cursor: pointer; text-decoration: none; }
.frame .art { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: 6px; padding: 10px; background: linear-gradient(145deg, #E4D2AE, #C9A35B 55%, #A88544); box-shadow: 0 10px 22px rgba(38,36,79,.18); }
.frame .mat { position: absolute; inset: 10px; border-radius: 3px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--wc) 30%, #FBF7EF); box-shadow: inset 0 0 0 6px #FBF7EF; }
[data-theme="dark"] .frame .mat { background: color-mix(in srgb, var(--wc) 40%, #1C1B4A); box-shadow: inset 0 0 0 6px #2a2960; }
.frame .mat img { width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; border-radius: 2px; }
.frame .mat .e { font-size: 54px; }
.frame .badge { position: absolute; top: 18px; left: 18px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--card); color: var(--text); padding: 3px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.frame .badge.here { background: var(--brand); color: #fff; }
.frame .plaque { display: block; margin: 12px 4px 0; }
.frame .plaque b { font: 600 17px/1.2 var(--display); display: block; }
.frame .plaque span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.frame .plaque small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; font-weight: 600; }
.frame.visited .art::after { content: "VISITED"; position: absolute; right: 16px; bottom: 16px; transform: rotate(-10deg); font: 800 12px var(--body); letter-spacing: .1em; color: #c43b3f; border: 2px solid #c43b3f; border-radius: 6px; padding: 2px 6px; background: rgba(255,255,255,.7); }
.more-row { text-align: center; margin-top: 20px; }
.empty { text-align: center; padding: 40px 0; } .empty .big { font-size: 48px; margin: 0; }
.cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 40px; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta p { color: var(--muted); max-width: 60ch; margin: 6px 0 0; }

/* The idea sheet */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(20,19,58,.38); cursor: pointer; }
.panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); overflow: auto; overscroll-behavior: contain; padding: 18px 20px calc(28px + env(safe-area-inset-bottom)); background: var(--page); box-shadow: -10px 0 40px rgba(20,19,58,.25); }
@media (prefers-reduced-motion: no-preference) { .sheet:not([hidden]) .panel { animation: slidein .35s cubic-bezier(.2,.9,.25,1); } }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
@media (max-width: 700px) { .panel { top: auto; left: 0; width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; } @keyframes slidein { from { transform: translateY(40px); opacity: 0; } } }
.panel .x { position: sticky; top: 0; float: right; z-index: 2; }
.panel .tagline { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--wc) 22%, var(--card)); color: var(--text); }
.panel h2 { font-size: 28px; margin: 10px 0 12px; color: var(--ink); }
.box { padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-top: 12px; }
.box .k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.box p { margin: 0; font-size: 16.5px; }
.play { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 14px; border-radius: 18px; text-decoration: none; background: color-mix(in srgb, var(--wc) 28%, var(--card)); border: 1px solid var(--line); }
.play .e { font-size: 38px; }
.play.has-shot { flex-wrap: wrap; }
.play .shot { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--card-2); }
.play.has-shot .e { font-size: 30px; }
.play b { font: 600 19px/1.15 var(--display); display: block; }
.play small { color: var(--muted); }
.play .go { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 17px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo .box { margin-top: 10px; }
@media (max-width: 420px) { .duo { grid-template-columns: 1fr; } }
.stampbtn { width: 100%; margin-top: 14px; min-height: 52px; border-radius: 999px; border: 2px solid var(--ok); background: none; color: var(--ok); font: 600 18px var(--display); cursor: pointer; }
.stampbtn[aria-pressed="true"] { background: var(--ok); color: #fff; }
.nextq { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--secondary) 70%, transparent); background: color-mix(in srgb, var(--secondary) 12%, var(--card)); text-align: left; font: 600 17px/1.2 var(--display); cursor: pointer; }
.nextq span { color: var(--brand); }
details { margin-top: 14px; }
details summary { cursor: pointer; font-weight: 700; color: var(--muted); min-height: 40px; display: flex; align-items: center; }
.more-ex { display: grid; gap: 8px; }
.mini { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.mini .e { font-size: 24px; } .mini small { display: block; color: var(--muted); font-size: 12.5px; }
.trailstep { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 700; font-size: 13px; color: var(--brand); margin-bottom: 8px; }
.trailstep .dots { display: inline-flex; gap: 4px; } .trailstep .dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--brand); } .trailstep .dots i.done { background: var(--brand); } .trailstep .dots i.now { background: var(--ink); border-color: var(--ink); }
.bigstamp { position: absolute; right: 22px; top: 90px; z-index: 5; width: 150px; height: 150px; border-radius: 50%; border: 5px double #e5484d; color: #e5484d; display: grid; place-items: center; text-align: center; font-family: var(--display);
  transform: rotate(-14deg); background: rgba(229,72,77,.08); pointer-events: none; }
.bigstamp b { font-size: 19px; letter-spacing: .12em; } .bigstamp span { font-size: 13px; font-weight: 600; padding: 0 14px; line-height: 1.1; }
@media (prefers-reduced-motion: no-preference) { .bigstamp { animation: slam .45s cubic-bezier(.3,1.6,.5,1) both; } }
@keyframes slam { from { transform: rotate(-30deg) scale(2.4); opacity: 0; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2.2s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 105vh) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* Dialogs */
.dlg { border: 0; border-radius: 24px; padding: 22px; width: min(520px, calc(100% - 24px)); background: var(--page); color: var(--text); box-shadow: var(--shadow); }
.dlg::backdrop { background: rgba(20,19,58,.4); }
.dlg form { margin-top: 18px; text-align: right; }
.animals { display: flex; gap: 8px; flex-wrap: wrap; }
.animals button { width: 52px; height: 52px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); font-size: 26px; cursor: pointer; }
.animals button[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, var(--card)); }
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 14px; max-height: 50dvh; overflow: auto; }
.stamps span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 26px; border: 2px dashed var(--line); opacity: .45; }
.stamps span.got { border: 3px double #e5484d; opacity: 1; transform: rotate(-8deg); background: rgba(229,72,77,.06); }

.foot { padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
@media (pointer: coarse) { .chip { height: 44px; } }
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .frame .art { padding: 6px; } .frame .mat { inset: 6px; box-shadow: inset 0 0 0 4px #FBF7EF; } .frame .mat .e { font-size: 38px; }
  .frame .plaque b { font-size: 15px; } .frame .plaque span { display: none; } .frame .badge { top: 10px; left: 10px; font-size: 9.5px; }
  .ages button { min-width: 46px; height: 48px; padding: 0 8px; } .who { gap: 10px; }
  .startq { grid-template-columns: 52px 1fr; padding: 12px; } .startq .ic { width: 52px; height: 52px; font-size: 26px; } .startq b { font-size: 17px; }
}

/* Reserve the space the data-driven rows will take so nothing below them jumps when they fill in. */
.starts:empty { min-height: 96px; }
.trails:empty { min-height: 72px; }
.today h1 { min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .starts:empty { min-height: 268px; } }

/* The idea's neighborhood on the graph */
.graph { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 34px; align-items: center; padding: 14px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.gcol { position: relative; z-index: 1; display: grid; gap: 8px; align-content: center; }
.gh { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.gnode { display: block; width: 100%; padding: 8px 8px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--wc, var(--brand)) 16%, var(--card)); font: 600 12.5px/1.2 var(--body); color: var(--text); text-align: center; cursor: pointer; min-height: 40px; }
.gnode small { display: block; font-size: 10px; font-weight: 700; color: var(--muted); }
.gnode.here { background: var(--brand); color: #fff; border-color: transparent; font: 600 14px/1.15 var(--display); padding: 12px 8px; cursor: default; box-shadow: 0 6px 16px rgba(243,154,61,.35); }
.gnode.later { opacity: .6; border-style: dashed; }
.gnode.got::after { content: " ✓"; color: var(--ok); font-weight: 800; }
.gnone { font-size: 12px; color: var(--muted); text-align: center; font-style: italic; }
.garrows { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
@media (pointer: coarse) { .gnode { min-height: 44px; } }

/* The logo: day and after-hours versions, swapped with the theme. */
.logo-img { display: block; height: 44px; width: auto; }
.logo-img.night { display: none; }
[data-theme="dark"] .logo-img.day { display: none; }
[data-theme="dark"] .logo-img.night { display: block; }
