/* Buzzy Booklings — shared styles. Works offline; font bundled locally (Fredoka, SIL OFL). */
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
:root {
  --ink: #2B2350; --ink-2: #4A4178; --muted: #6E6790;
  --honey: #FFC234; --honey-2: #FFB000; --honey-deep: #F08A00; --cream: #FFF8E6; --cream-2: #FFEFC7;
  --sky: #6EC6FF; --sky-2: #E3F4FF; --leaf: #4CB963; --leaf-2: #E5F7E8; --berry: #8B5CF6; --berry-2: #F0E9FF;
  --coral: #FF6F59; --coral-2: #FFE9E4; --pink: #FF8DB9; --pink-2: #FFE8F1; --teal: #17A7A0; --teal-2: #DDF6F4;
  --white: #fff; --radius: 28px; --radius-sm: 18px; --shadow: 0 10px 30px rgba(43,35,80,.12); --shadow-lg: 0 24px 60px rgba(43,35,80,.18);
  --font: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--berry); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 4px solid var(--berry); outline-offset: 3px; border-radius: 10px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,248,230,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(43,35,80,.06); }
.nav { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo svg { width: 46px; height: 46px; filter: drop-shadow(0 3px 4px rgba(240,138,0,.35)); }
.wordmark { font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wordmark span:nth-child(7n+1) { color: #8B5CF6; } .wordmark span:nth-child(7n+2) { color: #FF4F8B; } .wordmark span:nth-child(7n+3) { color: #F08A00; }
.wordmark span:nth-child(7n+4) { color: #2FAE4F; } .wordmark span:nth-child(7n+5) { color: #1E90E8; } .wordmark span:nth-child(7n+6) { color: #E63E3E; } .wordmark span:nth-child(7n+7) { color: #17A7A0; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; align-items: center; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.02rem; transition: background .15s, transform .15s; }
.nav-links a:hover { background: var(--cream-2); transform: translateY(-1px); }
.nav-links a[aria-current="page"] { background: var(--honey); color: var(--ink); }
.nav-links .nav-cta a { background: #FF0033; color: #fff; padding-inline: 18px; box-shadow: 0 6px 16px rgba(255,0,51,.25); }
.nav-links .nav-cta a:hover { background: #e0002d; }
.menu-btn { display: none; margin-left: auto; background: var(--honey); border: 0; width: 50px; height: 50px; border-radius: 16px; font: inherit; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 1080px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: #fff; border-radius: 24px; padding: 12px; box-shadow: var(--shadow-lg); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 18px; font-size: 1.15rem; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 1.12rem; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; color: var(--ink); background: var(--honey); box-shadow: 0 6px 0 var(--honey-deep), 0 12px 24px rgba(240,138,0,.25); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--honey-deep), 0 16px 28px rgba(240,138,0,.3); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--honey-deep); }
.btn.purple { background: var(--berry); color: #fff; box-shadow: 0 6px 0 #6236D9, 0 12px 24px rgba(139,92,246,.3); }
.btn.green { background: var(--leaf); color: #fff; box-shadow: 0 6px 0 #2F9346, 0 12px 24px rgba(76,185,99,.3); }
.btn.sky { background: var(--sky); color: var(--ink); box-shadow: 0 6px 0 #2C9BE0, 0 12px 24px rgba(110,198,255,.3); }
.btn.white { background: #fff; color: var(--ink); box-shadow: 0 6px 0 #E6DCC2, 0 12px 24px rgba(43,35,80,.12); }
.btn.yt { background: #FF0033; color: #fff; box-shadow: 0 6px 0 #B80025, 0 12px 24px rgba(255,0,51,.28); }
.btn.small { font-size: .98rem; padding: 10px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #BFE6FF; }
.hero-img { width: 100%; height: clamp(460px, 62vw, 760px); object-fit: cover; object-position: 60% 50%; }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: flex-start; padding-top: clamp(30px, 6vw, 80px); }
.hero-copy .inner { max-width: 560px; }
.hero h1 { color: var(--ink); text-shadow: 0 3px 0 rgba(255,255,255,.7); }
.hero h1 em { font-style: normal; color: var(--honey-deep); }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; color: var(--ink); background: rgba(255,255,255,.78); padding: 12px 18px; border-radius: 18px; display: inline-block; backdrop-filter: blur(4px); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
@media (max-width: 760px) {
  .hero-img { height: 330px; object-position: 70% 50%; }
  .hero-copy { position: static; padding: 26px 0 10px; background: var(--cream); }
  .hero-wave { display: none; }
}

.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 90px); background: radial-gradient(1200px 400px at 80% -10%, #FFE08A 0%, transparent 60%), linear-gradient(180deg, #FFF1C8, var(--cream)); overflow: hidden; }
.page-hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.page-hero .kicker { display: inline-block; background: #fff; color: var(--honey-deep); font-weight: 700; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; box-shadow: var(--shadow); font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; }
.page-hero p.lead { font-size: 1.25rem; color: var(--ink-2); max-width: 620px; }
.page-hero .art { border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.page-hero .art img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 860px) { .page-hero .grid { grid-template-columns: 1fr; } .page-hero .art { transform: none; } }
.honeycomb-bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23F7C548' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E"); }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(50px, 7vw, 90px) 0; }
.section.alt { background: #fff; }
.section.honey { background: linear-gradient(180deg, #FFD45C, #FFC234); }
.section.night { background: linear-gradient(180deg, #2B2350, #3D2F78); color: #fff; }
.section.night h2, .section.night h3 { color: #fff; }
.section.night .card h3 { color: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); max-width: 640px; margin: 0; font-size: 1.12rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--honey-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; margin-bottom: 8px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .media img { transform: scale(1.05); }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }
.card .tag { align-self: flex-start; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--cream-2); color: var(--honey-deep); text-transform: uppercase; letter-spacing: .04em; }
.card .go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--berry); }

/* character tiles */
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.char-tile { --c: var(--honey); --c2: var(--cream-2); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); background: #fff; border-radius: 32px; padding: 18px 14px 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.char-tile::before { content: ""; position: absolute; left: 50%; top: -50px; width: 260px; height: 260px; transform: translateX(-50%); border-radius: 50%; background: var(--c2); }
.char-tile img { position: relative; width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .25s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 10px 10px rgba(43,35,80,.14)); }
.char-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.char-tile:hover img { transform: scale(1.08) rotate(-3deg); }
.char-tile b { position: relative; font-size: 1.25rem; margin-top: 6px; }
.char-tile small { position: relative; color: var(--muted); font-size: .95rem; font-weight: 500; }
.char-strip { display: flex; gap: 14px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.char-strip .char-tile { min-width: 170px; scroll-snap-align: start; }

/* character page */
.char-hero { --c: var(--honey); --c2: var(--cream-2); padding: clamp(30px, 5vw, 70px) 0 clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--c2), var(--cream)); position: relative; overflow: hidden; }
.char-hero .grid { grid-template-columns: .95fr 1.05fr; align-items: center; gap: 40px; }
.char-hero .portrait { position: relative; }
.char-hero .portrait::before { content: ""; position: absolute; inset: 6% 6%; border-radius: 46% 54% 50% 50% / 50% 46% 54% 50%; background: var(--c); opacity: .5; animation: blob 9s ease-in-out infinite; }
.char-hero .portrait img { position: relative; width: 100%; filter: drop-shadow(0 20px 22px rgba(43,35,80,.18)); animation: bob 4s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 56% 44% 42% 58% / 44% 58% 42% 56%; transform: rotate(8deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.char-hero .species { display: inline-block; background: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 12px; }
.char-hero blockquote { margin: 0 0 20px; font-size: 1.4rem; font-weight: 600; color: var(--ink); background: #fff; border-radius: 24px; padding: 18px 22px; box-shadow: var(--shadow); position: relative; }
.char-hero blockquote::after { content: ""; position: absolute; left: 40px; bottom: -14px; border: 14px solid transparent; border-top-color: #fff; border-bottom: 0; }
.char-hero blockquote small { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .char-hero .grid { grid-template-columns: 1fr; } .char-hero .portrait { max-width: 420px; margin: 0 auto; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.fact { background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.fact .ico { font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.fact h3 { font-size: 1.12rem; margin-bottom: 4px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.friend-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.friend-nav a { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; text-decoration: none; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.friend-nav a img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--cream-2); }
.friend-nav a:hover { background: var(--honey); }

/* video cards */
.video-card .media { position: relative; aspect-ratio: 16/9; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play span { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,0,51,.92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.play span::after { content: ""; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
a.card:hover .play span { transform: scale(1.12); }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .art img { border-radius: 32px; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; }
.checklist li::before { content: "🐝"; flex-shrink: 0; }

/* book */
.book-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; background: #fff; border-radius: 40px; padding: clamp(24px, 4vw, 50px); box-shadow: var(--shadow-lg); }
.book-cover { position: relative; border-radius: 10px 24px 24px 10px; overflow: hidden; box-shadow: -10px 0 0 #2E5AA8 inset, 18px 24px 40px rgba(43,35,80,.25); transform: perspective(900px) rotateY(-10deg); transition: transform .4s; }
.book-cover:hover { transform: perspective(900px) rotateY(0); }
.book-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 860px) { .book-feature { grid-template-columns: 1fr; } }
.placeholder-note { display: inline-block; background: #FFF3C4; border: 2px dashed var(--honey-deep); color: #8A4B00; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 14px; }

/* subscribe band */
.subscribe { background: linear-gradient(120deg, #FF4F6E, #FF7A59 55%, #FFB000); color: #fff; border-radius: 40px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.subscribe h2 { color: #fff; }
.subscribe p { font-size: 1.15rem; opacity: .95; }
.subscribe .faces { display: flex; justify-content: center; }
.subscribe .faces img { width: 110px; height: 110px; border-radius: 50%; border: 5px solid #fff; margin-left: -26px; background: var(--cream); object-fit: cover; object-position: 50% 18%; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
@media (max-width: 760px) { .subscribe { grid-template-columns: 1fr; } .subscribe .faces img { width: 80px; height: 80px; } }

/* printables */
.print-card .media { aspect-ratio: 8.5/11; background: #fff; border-bottom: 1px solid #F1E6C9; padding: 14px; }
.print-card .media img { object-fit: contain; border-radius: 6px; box-shadow: 0 4px 14px rgba(43,35,80,.12); }
.print-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-bar button { font: inherit; font-weight: 600; border: 0; background: #fff; padding: 10px 18px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); }
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* games */
.game-card .media { aspect-ratio: 5/3; }
.game-card .best { font-size: .95rem; color: var(--muted); }
.game-page { padding: 30px 0 70px; background: linear-gradient(180deg, #2B2350 0, #3D2F78 420px, var(--cream) 420px); }
.game-page .crumbs a { color: #FFE08A; }
.game-page h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 4px; }
.game-page .sub { color: #DCD6FF; margin-bottom: 20px; font-size: 1.12rem; }
.game-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .game-layout { grid-template-columns: 1fr; } }
.howto { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.howto ul { padding-left: 1.1em; margin: 0 0 12px; }
.howto kbd { font-family: inherit; background: var(--cream-2); border-radius: 8px; padding: 1px 8px; font-weight: 700; border-bottom: 3px solid #E9D49A; }

/* arcade */
.arc-wrap { outline: none; }
.arc-frame { position: relative; width: 100%; aspect-ratio: 800/480; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 6px var(--honey), 0 24px 60px rgba(0,0,0,.35); background: #1d1640; }
.arc-canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; }
.arc-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.arc-btn { font: inherit; font-weight: 700; border: 0; background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; box-shadow: 0 4px 0 #E6DCC2; }
.arc-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #E6DCC2; }
.arc-best { margin-left: auto; font-weight: 700; background: var(--honey); padding: 10px 18px; border-radius: 999px; }
.arc-touch { display: none; gap: 12px; margin-top: 14px; justify-content: center; user-select: none; -webkit-user-select: none; }
.arc-tbtn { font: inherit; font-weight: 700; font-size: 1.25rem; border: 0; color: #fff; background: var(--berry); min-width: 76px; height: 76px; border-radius: 24px; padding: 0 18px; box-shadow: 0 6px 0 rgba(0,0,0,.25); touch-action: none; }
.arc-tbtn.on { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.arc-touch.dpad { display: none; grid-template-columns: repeat(3, 76px); grid-template-rows: repeat(2, 76px); justify-content: center; }
.arc-touch.dpad .arc-up { grid-column: 2; grid-row: 1; } .arc-touch.dpad .arc-left { grid-column: 1; grid-row: 2; } .arc-touch.dpad .arc-down { grid-column: 2; grid-row: 2; } .arc-touch.dpad .arc-right { grid-column: 3; grid-row: 2; }
@media (pointer: coarse), (max-width: 760px) { .arc-touch { display: flex; } .arc-touch.dpad { display: grid; } .arc-touch.none { display: none; } }

/* feelings */
.feel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.feel { border: 0; font: inherit; background: #fff; border-radius: 24px; padding: 16px 10px; text-align: center; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s; color: var(--ink); }
.feel:hover, .feel[aria-pressed="true"] { transform: translateY(-4px); background: var(--honey); }
.feel .e { font-size: 2.6rem; display: block; line-height: 1.1; }
.feel b { font-size: 1.1rem; }
.feel-answer { margin-top: 20px; background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); min-height: 90px; font-size: 1.15rem; }
.breathe { display: grid; place-items: center; gap: 18px; padding: 30px; background: linear-gradient(180deg, var(--sky-2), #fff); border-radius: 36px; box-shadow: var(--shadow); text-align: center; }
.balloon { width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #A9D8FF, #4E8FE8); box-shadow: inset -12px -16px 0 rgba(0,0,0,.08), 0 20px 40px rgba(78,143,232,.35); transform: scale(.6); transition: transform 4s ease-in-out; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.balloon.big { transform: scale(1.15); }
.meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.meter button { font: inherit; font-weight: 700; border: 0; border-radius: 20px; padding: 18px 6px; cursor: pointer; color: var(--ink); box-shadow: var(--shadow); font-size: 1.05rem; }
.meter button span { display: block; font-size: 2rem; }
.meter button[aria-pressed="true"] { outline: 4px solid var(--ink); }
.note { background: var(--sky-2); border-left: 6px solid var(--sky); border-radius: 18px; padding: 16px 20px; color: var(--ink-2); }
.note.honey { background: #FFF3C4; border-color: var(--honey-2); }

/* prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 1.9rem; }
.prose li { margin-bottom: .4em; }

/* footer */
.site-footer { background: var(--ink); color: #E9E5FF; padding: 60px 0 30px; margin-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -38px; left: 0; right: 0; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C200 0 400 0 600 20 S1000 40 1200 8 V40Z' fill='%232B2350'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.site-footer a { color: #FFE08A; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { color: #fff; font-size: 1.1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .small { opacity: .75; font-size: .92rem; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.crumbs { font-size: .95rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.center { text-align: center; }
.mt { margin-top: 30px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pill-list li { background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .98rem; }

/* official pose gallery */
.pose-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:14px; }
.pose-tile { margin:0; background:#fff; border-radius:20px; padding:10px; text-align:center; box-shadow:var(--shadow); }
.pose-tile img { width:100%; height:150px; object-fit:contain; }
.pose-tile figcaption { font-weight:700; font-size:.95rem; margin-top:6px; }

/* arcade title overlay + bigger touch */
.arc-frame { position:relative; }
.arc-title-ui { display:flex; flex-direction:column; align-items:center; gap:10px; margin:14px 0 0; }
.arc-title-ui[hidden] { display:none !important; }
.arc-howto { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.arc-howto div { background:rgba(255,248,230,.95); color:var(--ink); border-radius:16px; padding:6px 10px; min-width:86px; text-align:center; box-shadow:0 3px 0 rgba(43,35,80,.12); }
.arc-howto span { display:block; font-size:1.35rem; }
.arc-howto small { display:block; font-weight:700; font-size:.8rem; }
.arc-ages { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; pointer-events:auto; }
.arc-age { font:inherit; font-weight:700; border:0; background:#fff; color:var(--ink); padding:10px 16px; min-height:52px; border-radius:999px; cursor:pointer; box-shadow:0 3px 0 rgba(43,35,80,.15); }
.arc-age[aria-pressed="true"] { background:var(--honey); }
.arc-title-hint { margin:0; font-weight:700; font-size:.9rem; color:#fff; text-shadow:0 1px 2px #2B2350; }
.arc-tbtn { min-width:92px; height:92px; font-size:1.35rem; }

/* quiz + coming soon */
.quiz fieldset { border:0; background:#fff; border-radius:22px; padding:18px 20px; margin:0 0 16px; box-shadow:var(--shadow); }
.quiz legend { font-weight:700; font-size:1.15rem; margin-bottom:8px; }
.quiz label { display:block; font-weight:600; padding:10px 12px; border-radius:14px; cursor:pointer; }
.quiz label:hover { background:var(--cream); }
.quiz-result { display:grid; grid-template-columns:160px 1fr; gap:20px; align-items:center; background:#fff; border-radius:24px; padding:20px; box-shadow:var(--shadow); margin-top:18px; }
.quiz-result img { width:100%; }
.coming-card { background:linear-gradient(180deg,#FFF1C8,#fff); }
@media (max-width:700px){ .quiz-result { grid-template-columns:1fr; text-align:center; } }
