/* playhop — cozy shelves: graphite, sunny yellow, cream; rounded, bouncy */
@font-face{font-family:Unbounded;font-weight:600;font-display:swap;src:url(/fonts/unbounded-600.woff2) format("woff2");unicode-range:U+0000-024F,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Unbounded;font-weight:800;font-display:swap;src:url(/fonts/unbounded-800.woff2) format("woff2");unicode-range:U+0000-024F,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Unbounded;font-weight:600;font-display:swap;src:url(/fonts/unbounded-cy-600.woff2) format("woff2");unicode-range:U+0400-04FF}
@font-face{font-family:Unbounded;font-weight:800;font-display:swap;src:url(/fonts/unbounded-cy-800.woff2) format("woff2");unicode-range:U+0400-04FF}
@font-face{font-family:Manrope;font-weight:600;font-display:swap;src:url(/fonts/manrope-600.woff2) format("woff2");unicode-range:U+0000-024F,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Manrope;font-weight:800;font-display:swap;src:url(/fonts/manrope-800.woff2) format("woff2");unicode-range:U+0000-024F,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Manrope;font-weight:600;font-display:swap;src:url(/fonts/manrope-cy-600.woff2) format("woff2");unicode-range:U+0400-04FF}
@font-face{font-family:Manrope;font-weight:800;font-display:swap;src:url(/fonts/manrope-cy-800.woff2) format("woff2");unicode-range:U+0400-04FF}

:root{
  --bg:#202020;--bg2:#2a2a2a;--bg3:#333333;--bg4:#3d3d3d;--line:rgba(255,246,223,.08);
  --y:#FFCC00;--y2:#ffe066;--y-d:#b38f00;--coral:#ff8a65;--mint:#7fdcc0;
  --cream:#fff6df;--ink:#e8e1cf;--muted:#a9a293;
  --r:28px;--pad:clamp(16px,4vw,44px);
  --display:Unbounded,"Arial Black","Segoe UI",system-ui,sans-serif;
  --text:Manrope,system-ui,-apple-system,"Segoe UI","Hiragino Sans","Yu Gothic","Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK JP",sans-serif;
}
*,*:before,*:after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:600 16px/1.6 var(--text);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{color:var(--cream);font-family:var(--display);font-weight:800;line-height:1.12;letter-spacing:-.02em;overflow-wrap:break-word;hyphens:manual}
:lang(ja) :is(h1,h2,h3,.wm),:lang(ko) :is(h1,h2,h3,.wm){font-family:var(--text);letter-spacing:0;word-break:keep-all;overflow-wrap:break-word}
.skip{position:absolute;left:-999px;top:8px;background:var(--y);color:#202020;padding:8px 14px;border-radius:999px;z-index:60;font-weight:800}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--y);outline-offset:3px;border-radius:12px}

/* header: wordmark, pill tabs, language */
.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:18px;padding:12px var(--pad);background:rgba(32,32,32,.94);border-bottom:1px solid var(--line)}
.brand{text-decoration:none;flex:none;border-radius:999px}
.wm{display:inline-flex;align-items:center;gap:8px;font:800 23px/1 var(--display);color:var(--cream);letter-spacing:-.03em}
.wm-ball{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#fffbe0 0 10%,#ffd84a 28%,#ffcc00 50%,#b38f00 100%);box-shadow:0 4px 8px rgba(0,0,0,.35);animation:hop 1.6s cubic-bezier(.5,0,.5,1) infinite}
@keyframes hop{0%,100%{transform:translateY(2px)}50%{transform:translateY(-6px)}}
.tabs{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none;padding:2px}
.tabs::-webkit-scrollbar{display:none}
.tabs a{padding:9px 16px;border-radius:999px;background:var(--bg2);text-decoration:none;color:var(--ink);font-weight:800;font-size:14px;white-space:nowrap;transition:background .15s,color .15s}
.tabs a:hover{background:var(--bg4);color:var(--cream)}
.tabs a[aria-current]{background:var(--y);color:#202020}
.lang{margin-left:auto;position:relative;flex:none}
.lang summary{list-style:none;cursor:pointer;display:grid;place-items:center;min-width:46px;height:40px;padding:0 12px;border-radius:999px;background:var(--bg2);font-weight:800;font-size:14px;color:var(--y)}
.lang summary::-webkit-details-marker{display:none}
.lang ul{position:absolute;right:0;top:calc(100% + 10px);margin:0;padding:8px;list-style:none;background:var(--bg3);border-radius:22px;min-width:180px;box-shadow:0 24px 50px rgba(0,0,0,.55);z-index:40}
.lang a{display:block;padding:8px 14px;border-radius:999px;text-decoration:none}
.lang a:hover,.lang a[aria-current]{background:rgba(255,204,0,.14);color:var(--y)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:15px 28px;border-radius:999px;background:var(--y);color:#202020;font-weight:800;font-size:17px;text-decoration:none;box-shadow:0 6px 0 var(--y-d);transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 0 var(--y-d)}
.btn:active{transform:translateY(4px);box-shadow:0 2px 0 var(--y-d)}
.btn-i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#202020;color:var(--y);font-size:11px;padding-left:2px}
.btn.ghost{background:var(--bg3);color:var(--cream);box-shadow:0 6px 0 #161616}

/* hero: a rounded card, bunny hopping on balls */
.hero{position:relative;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:20px;margin:16px var(--pad) 0;padding:clamp(24px,4vw,60px);min-height:min(560px,76vh);border-radius:40px;overflow:hidden;isolation:isolate;background:var(--bg2)}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5;z-index:-2}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(42,42,42,.97) 10%,rgba(42,42,42,.6) 55%,rgba(42,42,42,.15)),radial-gradient(60% 70% at 78% 55%,rgba(255,204,0,.18),transparent 70%)}
.hero h1{font-size:clamp(32px,4.6vw,64px);margin:0 0 18px;text-wrap:balance}
.hero .lead{font-size:clamp(16px,1.4vw,19px);max-width:32em;margin:0;color:var(--ink)}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.hero-stage{position:relative;justify-self:center;width:100%;max-width:520px}
.hero-art{position:relative;width:100%;filter:drop-shadow(0 26px 30px rgba(0,0,0,.5));animation:bounce 2.6s cubic-bezier(.45,0,.55,1) infinite;transform-origin:50% 100%}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-22px)}}
.shadow{position:absolute;left:18%;right:18%;bottom:-2%;height:28px;border-radius:50%;background:radial-gradient(rgba(0,0,0,.55),transparent 70%);animation:squash 2.6s cubic-bezier(.45,0,.55,1) infinite}
@keyframes squash{50%{transform:scaleX(.75);opacity:.55}}
.trail{position:absolute;left:-6%;top:18%;display:flex;gap:12px;transform:rotate(-18deg)}
.trail i{width:12px;height:12px;border-radius:50%;background:var(--y);opacity:.25}
.trail i:nth-child(2){opacity:.5;width:15px;height:15px}.trail i:nth-child(3){opacity:.85;width:18px;height:18px}

/* category tiles */
.cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;padding:26px var(--pad) 8px}
.cats a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 12px 14px;border-radius:var(--r);background:var(--bg2);text-decoration:none;transition:transform .2s,background .2s;min-width:0}
.cats a:hover{transform:translateY(-5px);background:var(--bg3)}
.cats a:hover .ci{transform:translateY(-6px) rotate(-6deg)}
.cats span{font-weight:800;color:var(--cream);line-height:1.25;overflow-wrap:break-word}
.cats small{color:var(--muted);font-size:13px}
.ci{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.4));transition:transform .25s cubic-bezier(.3,1.6,.5,1)}

/* shelves and tiles */
.shelf{padding:22px 0 6px}
.shelf-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:0 var(--pad);margin-bottom:6px}
.shelf h2{font-size:clamp(20px,2vw,26px);margin:0;min-width:0}
.shelf-h a{flex:none;color:var(--y);font-weight:800;text-decoration:none;padding:4px 2px}
.shelf-h a:hover{text-decoration:underline}
.row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,236px);gap:16px;overflow-x:auto;padding:12px var(--pad) 16px;scroll-snap-type:x mandatory;scroll-padding:0 var(--pad);scrollbar-width:thin;scrollbar-color:var(--bg4) transparent}
.row-big{grid-auto-columns:minmax(300px,400px)}
.row .tile{scroll-snap-align:start}
.tile{position:relative;display:block;min-width:0;text-decoration:none;border-radius:var(--r);transition:transform .22s cubic-bezier(.3,1.5,.5,1)}
.tile img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);background:var(--bg3);box-shadow:0 10px 24px rgba(0,0,0,.35)}
.tile-t{display:block;padding:10px 6px 0;font-weight:800;font-size:15px;line-height:1.3;color:var(--cream);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile:hover{transform:translateY(-6px)}
.tile:hover img{box-shadow:0 0 0 3px var(--y),0 16px 30px rgba(0,0,0,.45)}
.tile.big img{aspect-ratio:16/10}
.tile.big .tile-t{position:absolute;left:12px;right:12px;bottom:12px;width:max-content;max-width:calc(100% - 24px);padding:8px 16px;border-radius:999px;background:rgba(32,32,32,.88);font-size:16px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:22px 16px;padding:8px var(--pad) 0}
.wrap .grid,.nf .grid{padding:0}

/* story + faq */
.story{display:grid;grid-template-columns:300px 1fr;gap:clamp(20px,4vw,60px);align-items:start;margin:44px var(--pad) 0;padding:clamp(24px,4vw,48px);border-radius:40px;background:var(--bg2)}
.story-art{position:sticky;top:96px}
.mascot{width:100%;filter:drop-shadow(0 20px 26px rgba(0,0,0,.45));animation:bounce 3.2s cubic-bezier(.45,0,.55,1) infinite}
.story-txt{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px 40px}
.story-b h2{font-size:20px;margin:0 0 10px}
.story-b p,.story-b ul{margin:0 0 20px}
.story-b li{margin-bottom:4px}
.faq{padding:40px var(--pad) 50px;max-width:1000px}
.faq h2{font-size:clamp(22px,2.4vw,30px);margin:0 0 16px}
.faq details{margin-bottom:10px;border-radius:24px;background:var(--bg2);transition:background .2s}
.faq details[open]{background:var(--bg3)}
.faq summary{cursor:pointer;padding:16px 20px;font-weight:800;color:var(--cream);font-size:17px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:24px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--y);color:#202020;font-size:20px;line-height:1;transition:transform .2s}
.faq details[open] summary:after{transform:rotate(45deg)}
.faq p{margin:0;padding:0 20px 18px}

/* inner pages */
.wrap{padding:18px var(--pad) 10px;max-width:1440px;margin:0 auto}
.wrap.narrow{max-width:880px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.crumbs li{min-width:0;overflow-wrap:break-word}
.crumbs li+li:before{content:"•";margin-right:6px;color:var(--y)}
.crumbs a{text-decoration:none;color:var(--ink)}
.crumbs a:hover{color:var(--y)}
.app-h{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;margin-bottom:18px}
.app-icon{width:104px;height:104px;border-radius:30px;object-fit:cover;box-shadow:0 12px 26px rgba(0,0,0,.45)}
.app-meta{min-width:0}
.app-h h1{font-size:clamp(24px,3vw,40px);margin:0 0 10px}
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.chips li{padding:5px 13px;border-radius:999px;background:var(--bg2);font-size:13px;font-weight:800;color:var(--ink)}
.chips .chip-cat{background:rgba(255,204,0,.14);color:var(--y)}
.chips a{text-decoration:none}
.fs{flex:none;border:0;border-radius:999px;padding:12px 20px;background:var(--bg3);color:var(--cream);font:800 15px var(--text);cursor:pointer;transition:background .15s}
.fs:hover{background:var(--bg4)}
.player{position:relative;aspect-ratio:16/9;max-height:78vh;margin:0 auto;border-radius:32px;overflow:hidden;background:#000;box-shadow:0 0 0 8px var(--bg2),0 30px 60px rgba(0,0,0,.5)}
.poster{width:100%;height:100%;object-fit:cover;filter:brightness(.6) saturate(1.1)}
.play{position:absolute;inset:0;margin:auto;width:max-content;height:max-content;display:flex;align-items:center;gap:14px;padding:14px 32px 14px 14px;border:0;border-radius:999px;background:var(--y);color:#202020;font:800 22px/1 var(--display);cursor:pointer;box-shadow:0 7px 0 var(--y-d),0 24px 40px rgba(0,0,0,.5);transition:transform .15s}
.play:before{content:"";position:absolute;inset:-8px;border-radius:999px;border:3px solid var(--y);opacity:0;animation:ring 2.4s ease-out infinite;pointer-events:none}
.play:hover{transform:scale(1.05)}
@keyframes ring{0%{opacity:.7;transform:scale(.96)}100%{opacity:0;transform:scale(1.18)}}
.play-i{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#202020;color:var(--y);font-size:18px;padding-left:3px}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.player.is-playing .poster,.player.is-playing .play{display:none}
.player:fullscreen{max-height:none;border-radius:0}
.player.is-max{position:fixed;inset:0;z-index:100;max-height:none;border-radius:0;aspect-ratio:auto}
.game-info{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-top:34px;align-items:start}
.card-txt{padding:clamp(20px,3vw,32px);border-radius:var(--r);background:var(--bg2);max-width:none}
.card-txt h2{margin-top:0}
.how{background:var(--bg3)}
.txt{max-width:780px}
.txt h2{font-size:clamp(20px,2vw,26px);margin:28px 0 10px}
.txt h3{font:800 19px var(--text);color:var(--cream);margin:24px 0 8px}
.txt p,.txt li{color:var(--ink)}
.txt ul,.txt ol{padding-left:22px}
.txt a{color:var(--y)}
.txt kbd{display:inline-block;padding:1px 8px;border-radius:8px;background:var(--bg4);border-bottom:3px solid #161616;font:800 13px var(--text);color:var(--cream)}
.list-h{display:flex;align-items:center;gap:24px;margin:4px 0 28px;padding:clamp(18px,3vw,32px);border-radius:36px;background:var(--bg2)}
.list-ic{flex:none;display:grid;place-items:center;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle at 50% 60%,rgba(255,204,0,.22),transparent 68%)}
.list-ic .ci{width:130px;height:130px}
.list-ic.balls{gap:0;position:relative}
.list-ic.balls i{position:absolute;border-radius:50%;background:radial-gradient(circle at 34% 28%,#fffbe0,#ffcc00 45%,#b38f00);box-shadow:0 10px 16px rgba(0,0,0,.35)}
.list-ic.balls i:nth-child(1){width:74px;height:74px;left:22px;top:52px}
.list-ic.balls i:nth-child(2){width:46px;height:46px;left:86px;top:22px;background:radial-gradient(circle at 34% 28%,#fff,#ffd6c8 30%,#ff8a65 75%)}
.list-ic.balls i:nth-child(3){width:34px;height:34px;left:96px;top:92px;background:radial-gradient(circle at 34% 28%,#fff,#c8fff0 30%,#38b28c 80%)}
.list-h h1{font-size:clamp(28px,4vw,50px);margin:0 0 8px}
.list-h .lead{margin:0;color:var(--ink);max-width:46em}
.count{margin:10px 0 0;color:var(--y);font-weight:800}
.list-txt{margin:44px 0 10px}
.doc{padding-bottom:20px}
.doc h1{font-size:clamp(28px,4vw,46px)}
.nf{text-align:center}
.nf-stage{width:220px;margin:16px auto 0}
.nf-art{width:100%;animation:bounce 2.6s cubic-bezier(.45,0,.55,1) infinite}
.nf h1{font-size:clamp(30px,5vw,56px);margin:10px 0}
.nf .lead{max-width:36em;margin:0 auto 22px}
.nf .grid{margin-top:36px;text-align:left}

/* footer */
.foot{margin-top:50px;padding:44px var(--pad) 28px;background:#181818;border-radius:40px 40px 0 0}
.foot-in{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:30px;max-width:1440px;margin:0 auto}
.foot h2{font:800 13px var(--text);text-transform:uppercase;letter-spacing:.1em;color:var(--y);margin:0 0 12px}
.foot nav a{display:block;padding:3px 0;color:var(--ink);text-decoration:none;font-size:15px}
.foot nav a:hover{color:var(--y)}
.foot-brand p{color:var(--muted);margin:12px 0 0;max-width:22em}
.foot-langs{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.legal{max-width:1440px;margin:28px auto 0;padding-top:18px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}

/* bottom tab bar, phones only */
.tabbar{display:none}
@media (max-width:1100px){.tabs a:nth-child(n+5):not(:last-child){display:none}}
@media (max-width:820px){
  .tabs{display:none}
  .tabbar{position:fixed;left:10px;right:10px;max-width:560px;margin:0 auto;bottom:calc(10px + env(safe-area-inset-bottom));z-index:35;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:6px;border-radius:26px;background:rgba(42,42,42,.97);box-shadow:0 14px 40px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,246,223,.07)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 2px;border-radius:20px;text-decoration:none;font-size:11px;font-weight:800;color:var(--muted)}
  .tabbar a span:last-child{max-width:100%;text-align:center;line-height:1.15;font-size:10.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
  .tabbar a[aria-current]{background:rgba(255,204,0,.14);color:var(--y)}
  .tabbar .ci{width:28px;height:28px}
  .tb-home,.tb-all{display:block;width:28px;height:28px;position:relative}
  .tb-home:before{content:"";position:absolute;inset:5px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#fffbe0,#ffcc00 45%,#b38f00)}
  .tb-all{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:4px}
  .tb-all i{border-radius:5px;background:var(--y)}
  .tb-all i:nth-child(2),.tb-all i:nth-child(3){background:var(--muted)}
  body{padding-bottom:84px}
  .hero{min-height:0;border-radius:32px;margin-top:10px}
  .trail{display:none}
  .cats{display:flex;overflow-x:auto;scrollbar-width:none;gap:10px}
  .cats::-webkit-scrollbar{display:none}
  .cats a{flex:0 0 128px}
  .ci{width:60px;height:60px}
  .story{grid-template-columns:1fr;border-radius:32px}
  .story-art{position:static;width:180px;margin:0 auto}
  .story-txt{grid-template-columns:1fr}
  .game-info{grid-template-columns:1fr}
  .foot-in{grid-template-columns:1fr 1fr}
  .row{grid-auto-columns:minmax(150px,44%);gap:12px}
  .row-big{grid-auto-columns:84%}
  .grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 12px}
  .app-h{grid-template-columns:auto 1fr;gap:14px}
  .app-icon{width:80px;height:80px;border-radius:24px}
  .fs{grid-column:1/-1;justify-self:start}
  .player{border-radius:22px;box-shadow:0 0 0 5px var(--bg2),0 20px 40px rgba(0,0,0,.5)}
  .play{font-size:18px;padding:10px 24px 10px 10px}.play-i{width:40px;height:40px}
  .list-h{flex-direction:column;align-items:flex-start;gap:8px;border-radius:30px}
  .list-ic{width:110px;height:110px}.list-ic .ci{width:96px;height:96px}
  .list-ic.balls{transform:scale(.75);transform-origin:0 0;margin-bottom:-30px}
}
@media (max-width:640px){
  .hero{grid-template-columns:1fr;padding:18px 18px 26px}
  .hero-stage{order:-1;max-width:min(230px,60vw);margin-bottom:0}
  .hero:after{background:linear-gradient(0deg,rgba(42,42,42,.98) 42%,rgba(42,42,42,.35))}
}
@media (max-width:480px){.foot-in{grid-template-columns:1fr}.wm{font-size:20px}.hero-cta .btn{flex:1 1 100%;justify-content:center}.tile-t{font-size:14px}.grid{grid-template-columns:1fr 1fr}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.wm-img{display:block;height:44px;width:auto;max-width:100%}
.foot-brand .wm-img{height:56px;margin-bottom:10px}
@media(max-width:600px){.wm-img{height:32px;max-width:52vw;object-fit:contain}}

/* language flags (added by core/build.mjs) */
.flag{display:inline-block;flex:none;width:20px;height:15px;margin-right:8px;vertical-align:-2px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.18)}
summary .flag{margin-right:6px}
[dir=rtl] .flag{margin-right:0;margin-left:8px}
[dir=rtl] summary .flag{margin-left:6px}
/* the language list: up to 49 entries, so it scrolls inside the popup instead of running off the screen */
details:has(>summary .flag)>:not(summary){max-height:min(70vh,520px);overflow-y:auto;overscroll-behavior:contain}
.nb{white-space:nowrap}html[dir=rtl]{overflow-x:hidden}html[dir=rtl] .wm{direction:ltr}html[dir=rtl] .skip:not(:focus){left:auto;right:-999px}