/* Ant Feast: the site wears the game's look. Wood table, cream trays, candy buttons, bevelled cubes. */
:root{
  --wood1:#f3d2ab; --wood2:#efcda4; --wood3:var(--wood1); --wood4:var(--wood2);
  --cream:#fff8ee; --tray:var(--cream); --rim:#e4dbd2;
  --ink:#4a2c17; --ink-2:#7a5a40; --outline:#2b2230;
  --red:#d93445; --red-d:#b52f38; --blue:#1a77cc; --blue-d:#145c9e; --gold:#ffc53d; --gold-d:#c98a12;
  --radius:18px; --radius-sm:12px;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px;
  --fs-xs:13px; --fs-sm:15px; --fs-base:17px; --fs-lg:19px; --fs-xl:22px; --fs-2xl:30px; --fs-3xl:40px;
  --font-head:"Baloo 2","Trebuchet MS",system-ui,sans-serif; --font-body:"Nunito",system-ui,sans-serif;
  --sh1:0 1px 2px rgba(0,0,0,.06); --sh2:0 8px 24px rgba(0,0,0,.08);
  --ease:160ms ease;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{margin:0; color:var(--ink); font-family:var(--font-body); font-size:var(--fs-base); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;
  background-color:var(--wood2);
  background-image:repeating-linear-gradient(90deg, rgba(150,95,50,.13) 0 1px, rgba(255,240,220,.3) 1px 2px, transparent 2px 48px),
    repeating-linear-gradient(90deg, var(--wood1) 0 48px, var(--wood2) 48px 96px, var(--wood3) 96px 144px, var(--wood4) 144px 192px)}
img,svg{max-width:100%; display:block}
img{height:auto}
button,input,textarea{font:inherit; color:inherit}
button{cursor:pointer}
a{color:var(--blue-d); font-weight:700; text-decoration:none}
a:hover{text-decoration:underline; text-underline-offset:3px}
h1,h2,h3{font-family:var(--font-head); font-weight:800; line-height:1.15; letter-spacing:-.005em; text-wrap:balance; margin:0 0 var(--s3); color:var(--ink)}
h1{font-size:var(--fs-3xl)}
h2{font-size:var(--fs-2xl); margin-top:var(--s7)}
h3{font-size:var(--fs-xl); margin-top:var(--s6)}
p{margin:0 0 var(--s4); text-wrap:pretty}
ul,ol{margin:0 0 var(--s4); padding-left:1.25em}
li{margin-bottom:var(--s2)}
strong,b{font-weight:800}
:focus-visible{outline:3px solid var(--blue); outline-offset:2px; border-radius:6px}
::selection{background:rgba(229,64,79,.18)}
[hidden]{display:none !important}
.eyebrow{display:inline-block; font-family:var(--font-head); font-size:var(--fs-sm); font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#fff; background:var(--blue); border-radius:999px; padding:2px var(--s3); margin:0 0 var(--s3); box-shadow:0 3px 0 var(--blue-d)}
.muted{color:var(--ink-2)}
/* the tray: cream card with a white rim, like the slots under the game board */
.tray{background:var(--cream); border:4px solid #fff; border-radius:var(--radius); box-shadow:0 5px 0 var(--rim), 0 12px 24px rgba(110,65,30,.14)}
/* header */

.site-head{display:flex; align-items:center; justify-content:space-between; gap:var(--s4); max-width:1120px; margin:var(--s3) auto 0; padding:var(--s2) var(--s2) var(--s2) var(--s4); background:var(--cream); border:4px solid #fff; border-radius:999px; box-shadow:0 5px 0 var(--rim), 0 10px 20px rgba(110,65,30,.12); width:calc(100% - 32px)}
.brand{display:inline-flex; align-items:center; gap:10px; color:var(--ink); font-family:var(--font-head); font-weight:800; font-size:var(--fs-xl)}
.brand:hover{text-decoration:none; color:var(--red)}
.brand-mark{width:34px; height:34px; display:grid; place-items:center; border-radius:10px; overflow:hidden; box-shadow:0 2px 6px rgba(110,65,30,.22)}
.brand-mark img{width:100%; height:100%; object-fit:cover}
.site-nav{display:flex; flex-wrap:wrap; gap:var(--s2)}
.site-nav a{color:var(--ink); font-family:var(--font-head); font-weight:700; font-size:var(--fs-sm); padding:var(--s2) var(--s4); border-radius:999px}
.site-nav a:hover{background:var(--wood3); text-decoration:none}
/* candy buttons, same recipe as the game's pills */
.btn,.btn-play{position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 var(--s6); border:0; border-radius:999px; background:var(--red); color:#fff; font-family:var(--font-head); font-weight:800; font-size:var(--fs-lg); letter-spacing:.01em; text-shadow:0 2px 0 rgba(90,20,25,.55); box-shadow:inset 0 -6px 0 var(--red-d), 0 4px 0 rgba(110,65,30,.25); transition:transform var(--ease), filter var(--ease)}
.btn::after,.btn-play::after{content:""; position:absolute; left:24px; right:24px; top:5px; height:4px; border-radius:4px; background:rgba(255,255,255,.28)}
.btn:hover,.btn-play:hover{filter:brightness(1.05); transform:translateY(-1px); text-decoration:none}
.btn:active,.btn-play:active{transform:translateY(2px); box-shadow:inset 0 -3px 0 var(--red-d), 0 1px 0 rgba(110,65,30,.25)}
.btn-blue{background:var(--blue); box-shadow:inset 0 -6px 0 var(--blue-d), 0 4px 0 rgba(110,65,30,.25); text-shadow:0 2px 0 rgba(15,45,90,.5)}
.link-btn{background:none; border:0; padding:0; color:var(--ink-2); font-weight:700; font-size:var(--fs-sm); text-decoration:underline; text-underline-offset:3px}
.link-btn:hover{color:var(--red)}

/* ---------- hero ---------- */
.hero{padding:var(--s5) 0 0}
.hero-grid{max-width:1120px; margin:0 auto; padding-inline:24px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:var(--s8); align-items:center}
.hero-copy{max-width:580px}
.hero h1{font-size:clamp(52px,7vw,92px); line-height:.95; margin:0 0 var(--s4); color:#fff; letter-spacing:-.01em; text-shadow:4px 0 var(--outline), -4px 0 var(--outline), 0 4px var(--outline), 0 -4px var(--outline), 3px 3px var(--outline), -3px 3px var(--outline), 3px -3px var(--outline), -3px -3px var(--outline), 0 10px 0 var(--outline)}

.hero-sub{font-size:var(--fs-xl); line-height:1.5; font-weight:700; margin:0 0 var(--s5)}
.chips{list-style:none; padding:0; margin:0 0 var(--s5); display:flex; flex-wrap:wrap; gap:var(--s2)}
.chips li{display:inline-flex; align-items:center; gap:var(--s2); margin:0; padding:var(--s2) var(--s4) var(--s2) var(--s2); background:var(--cream); border:3px solid #fff; border-radius:999px; font-family:var(--font-head); font-weight:800; font-size:var(--fs-sm); box-shadow:0 4px 0 var(--rim)}
.chip-cube{width:22px; height:22px; border-radius:7px; background:var(--red); box-shadow:inset 0 -5px 0 var(--red-d), inset 0 3px 0 rgba(255,255,255,.32)}
.chips li:nth-child(2) .chip-cube{background:var(--blue); box-shadow:inset 0 -5px 0 var(--blue-d), inset 0 3px 0 rgba(255,255,255,.32)}
.chips li:nth-child(3) .chip-cube{background:var(--gold); box-shadow:inset 0 -5px 0 var(--gold-d), inset 0 3px 0 rgba(255,255,255,.32)}
.hero-more{font-family:var(--font-head); font-weight:800; color:var(--ink)}
.hero-more:hover{color:var(--red); text-decoration:none}
.hero-play{position:relative; width:clamp(300px, calc((100svh - 190px) / 2), 420px)}
.deco{position:absolute; width:46px; height:46px; border-radius:13px; background:var(--red); box-shadow:inset 0 -9px 0 var(--red-d), inset 0 4px 0 rgba(255,255,255,.3), 0 10px 18px rgba(110,65,30,.2); z-index:0}
.d1{left:-58px; top:12%; transform:rotate(-14deg)}
.d2{right:-50px; top:30%; width:34px; height:34px; border-radius:10px; background:var(--blue); box-shadow:inset 0 -7px 0 var(--blue-d), inset 0 3px 0 rgba(255,255,255,.3), 0 10px 18px rgba(110,65,30,.2); transform:rotate(12deg)}
.d3{left:-34px; bottom:22%; width:28px; height:28px; border-radius:8px; background:var(--gold); box-shadow:inset 0 -6px 0 var(--gold-d), inset 0 3px 0 rgba(255,255,255,.3), 0 8px 14px rgba(110,65,30,.2); transform:rotate(20deg)}
.d4{right:-62px; bottom:12%; transform:rotate(-8deg)}
.stage{position:relative; z-index:1; width:100%; aspect-ratio:420/840; overflow:hidden; background:var(--wood2); border:6px solid #fff; border-radius:28px; box-shadow:0 7px 0 var(--rim), 0 24px 48px rgba(110,65,30,.28)}
.stage iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.cover{position:absolute; inset:0; box-shadow:inset 0 0 70px rgba(110,65,30,.22); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:var(--s5); padding:var(--s5) var(--s4); text-align:center; background-color:var(--wood2); background-image:repeating-linear-gradient(90deg,var(--wood1) 0 48px,var(--wood2) 48px 96px,var(--wood3) 96px 144px,var(--wood4) 144px 192px)}
.cover-shot{width:min(90%,320px); border-radius:var(--radius); border:5px solid #fff; box-shadow:0 5px 0 var(--rim), 0 14px 28px rgba(110,65,30,.22); transform:rotate(-2deg)}
.btn-play{font-size:var(--fs-xl); min-height:60px; padding:0 var(--s6)}
.btn-play svg{width:18px; height:18px; fill:currentColor}
.cover-tag{font-family:var(--font-head); font-size:var(--fs-sm); font-weight:800; color:var(--ink-2); margin:0}

.loader{position:absolute; inset:0; display:grid; place-items:center; align-content:center; gap:var(--s4); padding:var(--s5); text-align:center; background-color:var(--wood2); background-image:repeating-linear-gradient(90deg,var(--wood1) 0 48px,var(--wood2) 48px 96px,var(--wood3) 96px 144px,var(--wood4) 144px 192px); font-family:var(--font-head); font-weight:800}
.loader p{margin:0; font-size:var(--fs-sm)}
.ant-trail{display:flex; gap:8px; align-items:flex-end; height:32px}
.ant-trail i{display:block; width:18px; height:18px; border-radius:6px; background:var(--red); box-shadow:inset 0 -4px 0 var(--red-d), inset 0 2px 0 rgba(255,255,255,.3); animation:hop 1.1s infinite ease-in-out}
.ant-trail i:nth-child(2){animation-delay:.12s; background:var(--blue); box-shadow:inset 0 -4px 0 var(--blue-d), inset 0 2px 0 rgba(255,255,255,.3)}
.ant-trail i:nth-child(3){animation-delay:.24s; background:var(--gold); box-shadow:inset 0 -4px 0 var(--gold-d), inset 0 2px 0 rgba(255,255,255,.3)}
.ant-trail i:nth-child(4){animation-delay:.36s}
.ant-trail i:nth-child(5){animation-delay:.48s; background:var(--blue); box-shadow:inset 0 -4px 0 var(--blue-d), inset 0 2px 0 rgba(255,255,255,.3)}
@keyframes hop{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.play-bar{position:relative; z-index:1; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:var(--s2); margin-top:var(--s4)}
.pill{display:inline-flex; align-items:center; justify-content:center; gap:6px; line-height:1; min-height:44px; padding:0 var(--s4); background:var(--cream); border:3px solid #fff; border-radius:999px; font-family:var(--font-head); font-size:var(--fs-sm); font-weight:800; color:var(--ink); box-shadow:0 4px 0 var(--rim); transition:transform var(--ease)}
.pill:hover{transform:translateY(-1px)}
.pill .ico{color:var(--red); font-size:16px}
.pill[aria-pressed="true"],.pill[data-gf-liked]{background:var(--red); color:#fff; border-color:#fff; box-shadow:0 4px 0 var(--red-d)}
.pill[aria-pressed="true"] .ico,.pill[data-gf-liked] .ico{color:#fff}
.first-actions{position:relative}
.af-share > summary,.af-share-wechat > summary{cursor:pointer;list-style:none}
.af-share summary::-webkit-details-marker{display:none}
.af-share[open] > summary{background:var(--wood3)}
.af-share-panel{position:absolute;right:0;top:calc(100% + 9px);width:min(320px,calc(100vw - 24px));max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px);overflow:auto;overscroll-behavior:contain;padding:14px;border:2px solid var(--rim);border-radius:16px;background:var(--cream);color:var(--ink);box-shadow:var(--sh2);font:700 15px/1.35 var(--font-head)}
.af-share-links{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.af-share-links a,.af-share-wechat summary,.af-share-actions button{display:flex;align-items:center;min-height:40px;padding:7px 12px;border:0;border-radius:9px;color:var(--ink);background:transparent;text-decoration:none;font:inherit;cursor:pointer}
.af-share-panel a:hover,.af-share-panel summary:hover,.af-share-actions button:hover{background:var(--wood3)}
.af-share-wechat[open]{grid-column:1 / -1}
.af-share-wechat div{display:grid;justify-items:center;gap:4px;padding:4px 0 10px}
.af-share-wechat img{width:132px;height:132px;image-rendering:pixelated}
.af-share-actions{display:flex;gap:6px;padding-top:8px;margin-top:6px;border-top:1px solid var(--rim)}
.af-share-actions button{background:var(--wood3)}
.af-share-panel [hidden]{display:none}
.af-share-url{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:6px 9px;border:1px solid var(--rim);border-radius:6px;background:#fff;color:var(--ink);font-size:16px}
.af-share-status:not(:empty){display:block;margin-top:6px}
.af-share :focus-visible{outline:2px solid var(--red-d);outline-offset:1px}
@media (max-width:420px){
  .first-bar .first-actions{position:static;gap:4px}
  .first-bar .pill-sm{padding:0 8px}
  .first-bar .brand{gap:4px}
  .first-bar .af-share-panel{right:10px;top:calc(100% + 4px)}
}

/* ---------- sections ---------- */
.wrap{max-width:1120px; margin:var(--s8) auto 0; padding-inline:24px}
.how{margin-top:96px}
.sec-head{max-width:680px; margin:0 auto var(--s6); text-align:center}
.sec-head h2{font-size:clamp(30px,3.6vw,44px); margin:0 0 var(--s3)}
.sec-lede{font-size:var(--fs-lg); color:var(--ink-2); margin:0}
.eyebrow-red{background:var(--red); box-shadow:0 3px 0 var(--red-d)}
.eyebrow-gold{background:var(--gold); color:var(--ink); box-shadow:0 3px 0 var(--gold-d)}
.how-steps{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--s5); counter-reset:hs}
.how-steps li{counter-increment:hs; position:relative; margin:0; padding:var(--s5) var(--s5) var(--s5); text-align:center}

.how-steps li::before{content:counter(hs); position:absolute; top:-18px; left:50%; transform:translateX(-50%); width:40px; height:40px; display:grid; place-items:center; border-radius:12px; font-family:var(--font-head); font-weight:800; font-size:var(--fs-xl); color:#fff; text-shadow:0 2px 0 var(--outline); background:var(--red); box-shadow:inset 0 -6px 0 var(--red-d), inset 0 3px 0 rgba(255,255,255,.3), 0 0 0 4px #fff}
.how-steps li:nth-child(2)::before{background:var(--blue); box-shadow:inset 0 -6px 0 var(--blue-d), inset 0 3px 0 rgba(255,255,255,.3), 0 0 0 4px #fff}
.how-steps li:nth-child(3)::before{background:var(--gold); box-shadow:inset 0 -6px 0 var(--gold-d), inset 0 3px 0 rgba(255,255,255,.3), 0 0 0 4px #fff}
.how-art{width:100%; max-width:200px; height:auto; margin:var(--s3) auto var(--s4)}
.how-steps h3{margin:0 0 var(--s2); font-size:var(--fs-xl)}
.how-steps p{margin:0; color:var(--ink-2)}
/* feature: screenshot + answer + facts */
.feature-card{display:grid; grid-template-columns:minmax(0,380px) minmax(0,1fr); gap:var(--s7); align-items:center; padding:var(--s7)}
.shot{margin:0}
.shot img{width:100%; border-radius:var(--radius); border:6px solid #fff; box-shadow:0 6px 0 var(--rim), 0 16px 30px rgba(110,65,30,.2); transform:rotate(-2deg)}
.shot figcaption{margin-top:var(--s4); font-size:var(--fs-sm); color:var(--ink-2); text-align:center}
.feature-copy h2{margin:0 0 var(--s3); font-size:clamp(28px,3vw,38px)}
.lede{font-size:var(--fs-lg); line-height:1.65}
.facts{margin:var(--s5) 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s3)}
.facts div{background:var(--tray); border:2px solid var(--rim); border-radius:var(--radius-sm); padding:var(--s3) var(--s4)}
.facts dt{font-size:var(--fs-xs); font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2)}
.facts dd{margin:2px 0 0; font-family:var(--font-head); font-weight:800; font-size:var(--fs-base); line-height:1.3}
/* long guide */
.prose{max-width:860px; margin:0 auto; padding:var(--s7) 64px}
.prose > h2:first-child{margin-top:0}
.prose h2{font-size:clamp(26px,2.8vw,32px); display:flex; align-items:center; gap:var(--s3)}
.prose h2::before{content:""; flex:none; width:22px; height:22px; border-radius:7px; background:var(--red); box-shadow:inset 0 -5px 0 var(--red-d), inset 0 3px 0 rgba(255,255,255,.3)}
.prose h2:nth-of-type(3n+2)::before{background:var(--blue); box-shadow:inset 0 -5px 0 var(--blue-d), inset 0 3px 0 rgba(255,255,255,.3)}
.prose h2:nth-of-type(3n)::before{background:var(--gold); box-shadow:inset 0 -5px 0 var(--gold-d), inset 0 3px 0 rgba(255,255,255,.3)}
.prose h3{font-size:var(--fs-lg); margin-top:var(--s5)}
.prose p,.prose li{line-height:1.75}
.prose li::marker{color:var(--red); font-weight:800}
/* levels */
.level-grid{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:var(--s4)}

.level-grid li{display:grid; grid-template-columns:56px 1fr; column-gap:var(--s4); align-items:center; margin:0; padding:var(--s4); border-width:3px; box-shadow:0 4px 0 var(--rim)}
.lv{grid-row:span 2; width:56px; height:56px; display:grid; place-items:center; border-radius:15px; font-family:var(--font-head); font-weight:800; font-size:var(--fs-xl); color:#fff; text-shadow:2px 0 var(--outline), -2px 0 var(--outline), 0 2px var(--outline), 0 -2px var(--outline), 0 3px 0 var(--outline); background:var(--red); box-shadow:inset 0 -7px 0 var(--red-d), inset 0 3px 0 rgba(255,255,255,.3)}
.level-grid li:nth-child(3n+2) .lv{background:var(--blue); box-shadow:inset 0 -7px 0 var(--blue-d), inset 0 3px 0 rgba(255,255,255,.3)}
.level-grid li:nth-child(3n) .lv{background:var(--gold); box-shadow:inset 0 -7px 0 var(--gold-d), inset 0 3px 0 rgba(255,255,255,.3)}
.lv-name{font-family:var(--font-head); font-weight:800; font-size:var(--fs-lg); line-height:1.2}
.lv-note{font-size:var(--fs-sm); color:var(--ink-2); line-height:1.4}

/* boosters: the red bar from the bottom of the game */
.boosts{margin-top:96px; padding:var(--s8) 0; background:var(--red-d); box-shadow:inset 0 22px 0 var(--red), inset 0 24px 0 rgba(255,255,255,.22)}
.boosts-inner{max-width:1120px; margin:0 auto; padding:var(--s4) 24px 0}
.sec-head-light h2{color:#fff; text-shadow:0 3px 0 rgba(60,15,10,.45)}
.sec-head-light .sec-lede{color:var(--cream)}
.boost-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--s4)}
.boost{position:relative; background:var(--cream); border:4px solid #fff; border-radius:var(--radius); padding:var(--s5) var(--s4) var(--s5); text-align:center; box-shadow:0 6px 0 rgba(60,15,10,.32)}
.boost-ico{display:block; width:76px; height:76px; margin:0 auto var(--s3); border-radius:50%; border:5px solid var(--red); box-shadow:0 0 0 4px #fff, 0 6px 0 4px rgba(60,15,10,.18); background-color:var(--cream); background-repeat:no-repeat; background-position:center; background-size:40px 40px}
.boost-slot{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='4' y='9' width='24' height='19' rx='6' fill='%23fff' stroke='%23d9d2cc' stroke-width='2'/%3E%3Crect x='12.5' y='4' width='7' height='22' rx='3' fill='%233aa64a'/%3E%3Crect x='5' y='11.5' width='22' height='7' rx='3' fill='%233aa64a'/%3E%3C/svg%3E")}
.boost-shuffle{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 14a9 9 0 0 1 16-5' stroke='%232f8fe6' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M25 18a9 9 0 0 1-16 5' stroke='%232f8fe6' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3Cpath d='M26 3l1 10-9-3z' fill='%232f8fe6'/%3E%3Cpath d='M6 29l-1-10 9 3z' fill='%232f8fe6'/%3E%3C/svg%3E")}

.boost-frenzy{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19 1L6 18h8l-3 13 15-19h-8z' fill='%23e07a12'/%3E%3Cpath d='M18 4L8 17h7l-2.5 10L23 13h-7z' fill='%23ffd23f'/%3E%3C/svg%3E")}
.boost-key{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='rotate(-35 16 16)' stroke='%238a5a12' stroke-width='2'%3E%3Ccircle cx='9' cy='16' r='6' fill='%23ffd34a'/%3E%3Crect x='14' y='14' width='15' height='4' fill='%23ffd34a'/%3E%3Crect x='23' y='18' width='3' height='5' fill='%23ffd34a'/%3E%3C/g%3E%3Ccircle cx='9.5' cy='19' r='2' fill='%238a5a12'/%3E%3C/svg%3E")}
.boost-top{margin:0 0 var(--s3)}
.boost-name{display:block; font-family:var(--font-head); font-size:var(--fs-xl); font-weight:800; line-height:1.2}
.boost-n{display:inline-block; margin-top:var(--s2); font-size:var(--fs-xs); font-weight:800; color:var(--ink); background:var(--gold); border-radius:999px; padding:2px var(--s3); box-shadow:inset 0 -2px 0 var(--gold-d)}
.boost p:last-child{margin:0; font-size:var(--fs-sm); line-height:1.55; color:var(--ink-2)}
/* FAQ: heading on the left, accordion on the right */
.faq-wrap{display:grid; grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:var(--s7); align-items:start; margin-top:96px}
.faq-side{position:sticky; top:var(--s5)}
.faq-side h2{font-size:clamp(30px,3.4vw,42px); margin:0 0 var(--s3)}
.faq{display:grid; gap:var(--s3)}
.faq details{background:var(--cream); border:3px solid #fff; border-radius:var(--radius); box-shadow:0 4px 0 var(--rim)}
.faq summary{list-style:none; cursor:pointer; padding:var(--s4) 68px var(--s4) var(--s5); position:relative; font-family:var(--font-head); font-weight:800; font-size:var(--fs-lg); line-height:1.3}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; position:absolute; right:var(--s4); top:50%; transform:translateY(-50%); width:36px; height:36px; display:grid; place-items:center; border-radius:11px; background:var(--blue); color:#fff; font-size:24px; line-height:1; box-shadow:inset 0 -5px 0 var(--blue-d), inset 0 3px 0 rgba(255,255,255,.3)}
.faq details[open] summary::after{content:"−"; background:var(--red); box-shadow:inset 0 -5px 0 var(--red-d), inset 0 3px 0 rgba(255,255,255,.3)}
.faq details p{margin:0; padding:0 var(--s5) var(--s5); line-height:1.7; color:var(--ink)}
/* comments */
.comments{padding:var(--s6) var(--s7)}
.comments h2{margin-top:0}
.empty-note{color:var(--ink-2); max-width:70ch}
.cmt-list{display:grid; gap:var(--s3)}
.cmt{background:var(--tray); border:2px solid var(--rim); border-radius:var(--radius-sm); padding:var(--s4) var(--s5)}
.cmt header{display:flex; flex-wrap:wrap; gap:var(--s2); align-items:baseline; font-size:var(--fs-sm); margin-bottom:var(--s2)}
.cmt time{color:var(--ink-2); font-size:var(--fs-xs)}
.cmt p{margin:0 0 var(--s2); overflow-wrap:anywhere}

.cmt[data-gf-owner]{border-color:var(--red); background:#fff}
.owner-tag{font-size:var(--fs-xs); font-weight:800; color:#fff; background:var(--red); border-radius:999px; padding:1px var(--s2)}
.cmt-to{color:var(--ink-2)}
.cmt-replies{display:grid; gap:var(--s2); margin-top:var(--s2)}
.cmt-sub{background:#fff; padding:var(--s3) var(--s4)}
.cmt-form{display:grid; gap:var(--s3); margin:var(--s4) 0 var(--s5)}
.cmt-form input,.cmt-form textarea{width:100%; padding:var(--s3) var(--s4); background:#fff; border:2px solid var(--rim); border-radius:var(--radius-sm); font-size:16px}
.cmt-form textarea{resize:vertical; min-height:100px}
.cmt-form input:focus,.cmt-form textarea:focus{outline:3px solid var(--blue); outline-offset:0}
.form-row{display:flex; flex-wrap:wrap; gap:var(--s4); align-items:center}
/* closing call to play */
.cta-box{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:var(--s5); padding:var(--s6) var(--s7); background:var(--blue); border:5px solid #fff; border-radius:28px; box-shadow:0 6px 0 var(--blue-d), 0 18px 36px rgba(30,70,140,.25)}
.cta-big{margin:0; font-family:var(--font-head); font-weight:800; font-size:clamp(26px,3vw,36px); color:#fff; line-height:1.1; text-shadow:0 3px 0 rgba(15,45,90,.45)}
.cta-small{margin:var(--s1) 0 0; color:#fff; font-weight:700}

/* inner pages */
.crumbs{max-width:820px; margin:var(--s5) auto 0; padding:0 24px; display:flex; flex-wrap:wrap; align-items:center; gap:var(--s2); font-size:var(--fs-sm); font-weight:700; color:var(--ink-2)}
.crumbs a{color:var(--blue-d)}
.page-head{max-width:820px; margin:var(--s4) auto 0; padding:0 24px; text-align:center}
.page-head h1{font-size:clamp(34px,4.6vw,52px)}
.page-head p:last-child{font-size:var(--fs-lg); max-width:60ch; margin:0 auto; color:var(--ink-2)}
.page-body{max-width:820px; margin:var(--s6) auto 0; padding:var(--s7) 64px}
.page-body > h2:first-child{margin-top:0}
.page-body h2{font-size:var(--fs-2xl)}
.page-body p,.page-body li{line-height:1.75}
.page-body figure{margin:var(--s5) 0; text-align:center}
.page-body figure img{width:100%; border-radius:var(--radius); border:5px solid #fff; box-shadow:0 5px 0 var(--rim), 0 12px 24px rgba(110,65,30,.16)}
.page-body figcaption{margin-top:var(--s3); font-size:var(--fs-sm); color:var(--ink-2)}
.page-body table{width:100%; border-collapse:collapse; margin:var(--s5) 0; font-size:var(--fs-sm); background:var(--tray); border-radius:var(--radius-sm); overflow:hidden}
.page-body th,.page-body td{padding:var(--s3) var(--s4); text-align:left; border-bottom:2px solid var(--rim)}
.page-body th{font-family:var(--font-head); font-weight:800; color:var(--ink); background:var(--wood3)}
.page-body .faq{margin-top:var(--s6)}
.page-body .faq details{background:var(--tray); border:2px solid var(--rim); box-shadow:none}
.cta-inline{margin-top:var(--s7); background:var(--wood3); border-radius:var(--radius); padding:var(--s5); display:flex; flex-wrap:wrap; gap:var(--s4); align-items:center; justify-content:space-between}
.cta-inline p{margin:0; font-family:var(--font-head); font-weight:800; font-size:var(--fs-lg)}
/* footer: the red booster bar */
.site-foot{margin-top:96px; background:var(--red-d); color:var(--cream); padding:var(--s7) 0 var(--s5); box-shadow:inset 0 22px 0 var(--red), inset 0 24px 0 rgba(255,255,255,.22)}
.foot-grid{max-width:1120px; margin:0 auto; padding:var(--s5) 24px 0; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:var(--s6)}
.foot-brand{display:flex; align-items:center; gap:var(--s3); font-family:var(--font-head); font-weight:800; font-size:var(--fs-2xl); color:#fff; margin:0 0 var(--s2); text-shadow:0 3px 0 rgba(60,15,10,.45)}
.foot-note{font-size:var(--fs-sm); max-width:40ch; margin:0}
.foot-h{font-family:var(--font-head); font-size:var(--fs-base); font-weight:800; color:var(--gold); margin-bottom:var(--s3)}

.site-foot ul{list-style:none; padding:0; margin:0}
.site-foot li{margin-bottom:var(--s2); font-size:var(--fs-sm)}
.site-foot a{color:#fff; font-weight:700}
.foot-copy{max-width:1120px; margin:var(--s6) auto 0; padding:var(--s4) 24px 0; border-top:2px solid rgba(255,255,255,.18); font-size:var(--fs-xs); color:var(--cream)}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .boost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-grid{gap:var(--s6)}
  .deco{display:none}
}
@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr; justify-items:center; text-align:center; gap:var(--s3)}
  .hero-copy{max-width:600px}
  .hero h1{font-size:56px; margin-bottom:var(--s2)}
  .hero-sub{font-size:var(--fs-base); margin-bottom:var(--s3)}
  .chips,.hero-more{display:none}
  .how-steps{grid-template-columns:1fr; gap:var(--s6)}
  .feature-card{grid-template-columns:1fr; padding:var(--s6)}
  .shot{max-width:360px; margin-inline:auto}
  .faq-wrap{grid-template-columns:1fr; gap:var(--s4)}
  .faq-side{position:static}
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-about{grid-column:1 / -1}
}
@media (max-width:640px){
  h2{font-size:26px}
  h3{font-size:20px}
  .site-head{width:calc(100% - 20px); padding:5px 5px 5px var(--s3); margin-top:10px}
  .brand{font-size:var(--fs-lg)}
  .brand-mark{width:30px; height:30px}
  .site-nav{gap:0}
  .site-nav a{padding:6px 10px; font-size:var(--fs-xs)}
  .site-nav .nav-extra{display:none}
  .hero{padding-top:var(--s3)}
  .hero h1{font-size:40px; text-shadow:3px 0 var(--outline), -3px 0 var(--outline), 0 3px var(--outline), 0 -3px var(--outline), 2px 2px var(--outline), -2px 2px var(--outline), 2px -2px var(--outline), -2px -2px var(--outline), 0 7px 0 var(--outline)}
  .hero-sub,.hero .eyebrow{display:none}
  .hero-play{width:clamp(250px, calc((100svh - 200px) / 2), 100%)}
  .hero-grid,.wrap,.boosts-inner,.page-head,.foot-grid,.foot-copy{padding-inline:14px}
  .stage{border-width:5px; border-radius:24px}
  .cover{gap:var(--s4); padding:var(--s4) var(--s3)}
  .btn-play{width:100%; font-size:var(--fs-lg); min-height:54px; padding:0 var(--s4)}
  .wrap{margin-top:var(--s7)}
  .how,.faq-wrap{margin-top:72px}
  .sec-head{margin-bottom:var(--s6)}
  .sec-head h2,.faq-side h2{font-size:30px}
  .feature-card{padding:var(--s5) var(--s4); gap:var(--s5)}
  .facts{grid-template-columns:1fr 1fr; gap:var(--s2)}
  .facts div{padding:var(--s2) var(--s3)}
  .prose,.page-body,.comments{padding:var(--s5) var(--s4)}
  .prose h2{font-size:24px}
  .boosts{margin-top:72px; padding:var(--s7) 0}
  .boost-grid{grid-template-columns:1fr 1fr; gap:var(--s3)}
  .boost{padding:var(--s4) var(--s3)}
  .boost-ico{width:60px; height:60px; background-size:32px 32px; border-width:4px}
  .boost-name{font-size:var(--fs-lg)}
  .boost p:last-child{font-size:var(--fs-xs)}
  .faq summary{font-size:var(--fs-base); padding:var(--s3) 58px var(--s3) var(--s4)}
  .faq summary::after{right:var(--s3); width:32px; height:32px}
  .faq details p{padding:0 var(--s4) var(--s4)}
  .cta-box{flex-direction:column; align-items:stretch; text-align:center; padding:var(--s5) var(--s4)}
  .cta-box .btn{width:100%}
  .prose p,.prose li,.page-body p,.page-body li{font-size:16px}
  .foot-grid{grid-template-columns:1fr 1fr; gap:var(--s5)}
}


/* ---------- game first: the whole first screen is the game ---------- */
.play-first{position:relative; height:100vh; height:100svh; min-height:520px; display:flex; flex-direction:column; background:var(--wood2)}
.stage-full{flex:1; width:100%; aspect-ratio:auto; border:0; border-radius:0; box-shadow:none}
.stage-full .cover{gap:var(--s4); box-shadow:inset 0 0 120px rgba(110,65,30,.2)}
.cover-head{display:flex; align-items:center; justify-content:center; gap:var(--s3)}
.cover-logo{width:clamp(46px,6.5vh,64px); height:clamp(46px,6.5vh,64px); border-radius:14px; box-shadow:0 4px 0 var(--rim), 0 8px 18px rgba(110,65,30,.22)}
.cover-title{margin:0; font-family:var(--font-head); font-weight:800; font-size:clamp(44px,7vh,76px); line-height:1; color:#fff; letter-spacing:-.01em; text-shadow:4px 0 var(--outline), -4px 0 var(--outline), 0 4px var(--outline), 0 -4px var(--outline), 3px 3px var(--outline), -3px 3px var(--outline), 3px -3px var(--outline), -3px -3px var(--outline), 0 9px 0 var(--outline)}
.stage-full .cover-shot{width:min(92vw,720px,86svh); transform:none; border-radius:22px}

.melon-preview {
  display: grid;
  grid-template-columns: auto minmax(210px, 280px);
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  max-width: 100%;
}
.melon-preview-art {
  display: block;
  width: clamp(224px, calc((100svh - 116px) * .56), 380px);
  cursor: pointer;
}
.melon-preview-art img {
  width: 100%;
  border: 4px solid var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--rim), var(--sh2);
}
.melon-preview-controls { text-align: left; }
.melon-preview-level { margin: 0 0 var(--s3); font-family: var(--font-head); }
.melon-preview-level span { display: block; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 700; }
.melon-preview-level strong { display: block; color: var(--ink); font-size: var(--fs-3xl); line-height: 1.05; }
.melon-preview-tip { margin: 0 0 var(--s5); font-size: var(--fs-base); line-height: 1.4; }
.melon-preview .btn-play { min-width: 0; }

@media (max-width: 650px) {
  .melon-preview { display: flex; flex-direction: column; gap: var(--s3); width: 100%; }
  .melon-preview-art { width: min(92%, 354px, max(165px, calc((100svh - 220px) * .56))); }
  .melon-preview-controls { width: min(100%, 340px); text-align: center; }
  .melon-preview-level { display: flex; align-items: baseline; justify-content: center; gap: var(--s2); margin: 0 0 var(--s1); }
  .melon-preview-level strong { font-size: var(--fs-lg); }
  .melon-preview-tip { margin: 0 0 var(--s3); font-size: var(--fs-sm); }
}
.stage-full .btn-play{width:auto; min-width:250px}
.first-bar{flex:none; position:relative; z-index:2; height:60px; display:flex; align-items:center; justify-content:space-between; gap:var(--s3); padding:0 max(16px, calc((100% - 1120px) / 2)); background:var(--cream); border-bottom:4px solid #fff; box-shadow:0 6px 18px rgba(110,65,30,.14)}
.first-bar .brand{font-size:var(--fs-lg)}
.first-bar .brand-mark{width:30px; height:30px}
.first-bar .site-nav a{padding:6px 12px}
.first-actions{display:flex; align-items:center; gap:var(--s2)}
.pill-sm{min-height:38px; padding:0 var(--s3); font-size:var(--fs-xs); box-shadow:0 3px 0 var(--rim)}
.scroll-cue{position:absolute; left:50%; transform:translateX(-50%); display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 var(--s4); border-radius:999px; background:var(--red); color:#fff; font-family:var(--font-head); font-weight:800; font-size:var(--fs-sm); box-shadow:inset 0 -4px 0 var(--red-d)}
.scroll-cue:hover{text-decoration:none; filter:brightness(1.06)}
.scroll-cue i{font-style:normal; display:inline-block; animation:nudge 1.6s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
.intro{max-width:860px; margin:80px auto 0; padding:0 24px; text-align:center}
.intro h1{font-size:clamp(52px,7vw,88px); line-height:.95; margin:0 0 var(--s4); color:#fff; letter-spacing:-.01em; text-shadow:4px 0 var(--outline), -4px 0 var(--outline), 0 4px var(--outline), 0 -4px var(--outline), 3px 3px var(--outline), -3px 3px var(--outline), 3px -3px var(--outline), -3px -3px var(--outline), 0 10px 0 var(--outline)}
.intro .hero-sub{display:block; max-width:640px; margin:0 auto var(--s5)}
.intro .chips{display:flex; justify-content:center}
.intro .play-bar{margin-top:0}
.pill-red{background:var(--red); color:#fff; box-shadow:0 4px 0 var(--red-d)}
.pill-red:hover{text-decoration:none}
@media (prefers-reduced-motion:reduce){.scroll-cue i{animation:none}}
@media (max-width:640px){
  .first-bar{height:56px; padding:0 12px}
  .first-bar .site-nav{display:none}
  .scroll-cue{position:static; transform:none; margin-left:auto}
  .cover-title{font-size:44px; text-shadow:3px 0 var(--outline), -3px 0 var(--outline), 0 3px var(--outline), 0 -3px var(--outline), 2px 2px var(--outline), -2px 2px var(--outline), 2px -2px var(--outline), -2px -2px var(--outline), 0 7px 0 var(--outline)}
  .stage-full .btn-play{min-width:0; width:min(100%,300px)}
  .intro{margin-top:56px; padding:0 14px}
  .intro h1{font-size:48px; text-shadow:3px 0 var(--outline), -3px 0 var(--outline), 0 3px var(--outline), 0 -3px var(--outline), 2px 2px var(--outline), -2px 2px var(--outline), 2px -2px var(--outline), -2px -2px var(--outline), 0 7px 0 var(--outline)}
  .intro .hero-sub{font-size:var(--fs-base)}
}
