:root { --ink:#101117; --paper:#f5f2ea; --acid:#d9ff4a; --violet:#9b7bff; --orange:#ff8e4f; --blue:#70dcff; --muted:#686873; --line:rgba(16,17,23,.16); --mono:"Cascadia Mono","SFMono-Regular",Consolas,monospace; --sans:"Arial Narrow","Microsoft YaHei UI","PingFang SC",system-ui,sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:var(--sans); min-width:320px; }
a { color:inherit; text-decoration:none; }
button, input, textarea { font:inherit; }
button { cursor:pointer; }
.site-header { max-width:1240px; margin:auto; padding:24px 32px; display:flex; justify-content:space-between; align-items:center; gap:24px; }
.brand { font:700 1.08rem/1 var(--mono); letter-spacing:-.06em; white-space:nowrap; }
.brand span { color:var(--muted); }
.brand-mark { display:inline-grid; place-items:center; width:27px; height:27px; margin-right:7px; border-radius:50%; color:var(--ink)!important; background:var(--acid); letter-spacing:0; }
nav { display:flex; gap:22px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
nav a { position:relative; font-size:.9rem; font-weight:600; }
nav a::after { content:""; position:absolute; height:2px; width:0; bottom:-5px; left:0; background:var(--ink); transition:width .2s; }
nav a:hover::after, nav a[aria-current="page"]::after { width:100%; }
.hero { max-width:1240px; min-height:590px; margin:auto; padding:72px 32px 66px; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:30px; }
.eyebrow { font:500 .73rem/1.2 var(--mono); letter-spacing:.1em; margin:0 0 16px; color:#686873; }
h1,h2,h3,p { margin-top:0; }
h1 { max-width:650px; margin-bottom:22px; font-size:clamp(3.6rem,8vw,7.2rem); line-height:.91; letter-spacing:-.075em; }
h1 em { color:var(--violet); font-style:normal; }
.hero-intro { max-width:410px; font-size:1.06rem; line-height:1.8; color:#4d4d56; }
.primary-link, .cta-button { display:inline-flex; align-items:center; gap:13px; margin-top:14px; padding:14px 18px; border:2px solid var(--ink); border-radius:999px; font-weight:700; box-shadow:4px 4px 0 var(--ink); transition:transform .18s,box-shadow .18s; }
.primary-link:hover,.cta-button:hover { transform:translate(3px,3px); box-shadow:1px 1px 0 var(--ink); }
.primary-link span { font-size:1.35rem; line-height:.5; }
.hero-orbit { height:370px; position:relative; overflow:hidden; }
.orbit { position:absolute; display:block; border:1px solid var(--ink); border-radius:50%; transform:rotate(-28deg); }
.orbit-one { width:420px; height:155px; left:15px; top:108px; }.orbit-two { width:370px; height:310px; left:55px; top:27px; transform:rotate(48deg); }.orbit-three { width:250px; height:250px; left:114px; top:59px; border-style:dashed; }
.planet { position:absolute; display:grid; place-items:center; width:126px; height:126px; left:173px; top:121px; color:var(--ink); background:var(--acid); border:2px solid var(--ink); border-radius:50%; font-size:3.6rem; box-shadow:8px 9px 0 var(--ink); animation:float 4s ease-in-out infinite; }
.floating-tag { position:absolute; padding:10px 12px; background:var(--ink); color:var(--paper); font:500 .72rem/1.35 var(--mono); letter-spacing:.04em; }.tag-one { top:42px; right:14px; transform:rotate(8deg); }.tag-two { bottom:30px; left:8px; color:var(--ink); background:var(--orange); transform:rotate(-7deg); }
@keyframes float { 50% { transform:translateY(-12px) rotate(7deg); } }
.toy-section { padding:80px 32px 100px; background:var(--ink); color:var(--paper); }.section-heading { max-width:1176px; margin:0 auto 30px; }.section-heading .eyebrow { color:#a6a6ad; }.section-heading h2 { font-size:clamp(2rem,4vw,3.5rem); letter-spacing:-.06em; margin:0; }
.toy-grid { max-width:1176px; margin:auto; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }.toy-card { min-height:320px; padding:20px; border:2px solid transparent; color:var(--ink); display:flex; flex-direction:column; transition:transform .18s; }.toy-card:hover { transform:translateY(-7px) rotate(-1deg); }.reaction-card { background:var(--acid); }.decide-card { background:var(--violet); }.progress-card { background:var(--blue); }.nothing-card { color:var(--paper); background:#292a34; border-color:#4d4e59; }.card-number { font:500 .75rem var(--mono); }.toy-icon { margin:38px 0 20px; font-size:3.7rem; line-height:1; }.toy-card h3 { margin-bottom:8px; font-size:1.4rem; letter-spacing:-.04em; }.toy-card p { color:inherit; opacity:.75; line-height:1.55; }.card-arrow { margin-top:auto; font-size:.87rem; font-weight:700; }.site-footer { max-width:1240px; margin:auto; padding:24px 32px; display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; color:#686873; font-size:.78rem; }.site-footer span:first-child { color:var(--ink); font-family:var(--mono); }.site-footer a:hover { color:var(--ink); }

/* tool pages */
.tool-page { min-height:100vh; background:var(--paper); }.tool-main { max-width:1050px; margin:0 auto; padding:58px 32px 100px; }.tool-heading { max-width:720px; margin-bottom:38px; }.tool-heading h1 { font-size:clamp(3rem,6vw,5.6rem); margin:0 0 18px; }.tool-heading h1 .accent { color:var(--violet); }.tool-heading p:last-child { max-width:520px; color:#55555e; line-height:1.7; font-size:1.02rem; }
.tool-surface { border:2px solid var(--ink); box-shadow:8px 8px 0 var(--ink); background:#fffdf8; }.reaction-panel { padding:22px; }.status-line { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:18px; font:500 .74rem var(--mono); color:#5b5b65; }.reaction-stage { height:360px; padding:22px; display:grid; place-items:center; text-align:center; border:2px solid var(--ink); background:repeating-linear-gradient(45deg,#f4f1ea 0,#f4f1ea 12px,#ebe8e0 12px,#ebe8e0 13px); user-select:none; touch-action:manipulation; }.reaction-stage.ready { background:var(--acid); }.reaction-stage.waiting { background:var(--violet); color:#fff; }.reaction-stage.go { background:#26d87d; }.reaction-stage.early { background:var(--orange); }.reaction-stage:focus-visible { outline:4px solid var(--violet); outline-offset:4px; }.stage-copy strong { display:block; margin-bottom:11px; font-size:clamp(2rem,4vw,3.5rem); letter-spacing:-.07em; }.stage-copy span { font-size:.96rem; }.result-box { margin-top:20px; padding:20px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid var(--line); }.result-box p { margin:0; line-height:1.55; }.result-number { color:var(--violet); font:700 clamp(2.5rem,6vw,4.6rem)/.9 var(--mono); letter-spacing:-.1em; }
.decider-layout { display:grid; grid-template-columns:1fr .9fr; gap:0; overflow:hidden; }.choice-editor { padding:28px; border-right:2px solid var(--ink); }.choice-editor label { display:block; margin-bottom:10px; font-size:.88rem; font-weight:700; }.input-row { display:flex; gap:8px; }.input-row input { min-width:0; flex:1; padding:12px; border:2px solid var(--ink); border-radius:0; background:var(--paper); }.mini-button { border:2px solid var(--ink); background:var(--acid); padding:9px 14px; font-weight:700; box-shadow:3px 3px 0 var(--ink); }.mini-button:active { transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }.choice-list { min-height:132px; margin:18px 0 25px; padding:0; list-style:none; display:flex; gap:8px; align-content:flex-start; flex-wrap:wrap; }.choice-tag { display:inline-flex; align-items:center; gap:7px; padding:8px 9px 8px 11px; border:1px solid var(--ink); background:#fff; font-size:.9rem; }.choice-tag button { width:17px; height:17px; border:0; padding:0; background:transparent; font-size:1rem; line-height:1; }.roll-button { width:100%; padding:16px; border:2px solid var(--ink); color:var(--paper); background:var(--ink); font-size:1.1rem; font-weight:700; box-shadow:4px 4px 0 var(--violet); }.roll-button:active { transform:translate(3px,3px); box-shadow:1px 1px 0 var(--violet); }.decision-result { min-height:350px; padding:28px; background:var(--violet); display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }.decision-result .eyebrow { color:#292438; }.decision-word { max-width:100%; overflow-wrap:anywhere; font-size:clamp(2.7rem,5vw,5rem); font-weight:700; letter-spacing:-.08em; line-height:.98; }.decision-result.rolling .decision-word { animation:shake .14s linear infinite; }@keyframes shake { 50% { transform:translateX(5px) rotate(1deg); } }
.progress-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.progress-card { padding:27px; border:2px solid var(--ink); box-shadow:5px 5px 0 var(--ink); }.year-card { background:var(--blue); }.life-card { background:var(--acid); }.progress-card h2 { margin:0 0 8px; font-size:1.6rem; letter-spacing:-.05em; }.progress-card p { line-height:1.6; }.progress-big { margin:24px 0 11px; font:700 clamp(3.2rem,6vw,5rem)/1 var(--mono); letter-spacing:-.1em; }.meter { height:19px; overflow:hidden; border:2px solid var(--ink); background:rgba(255,255,255,.48); }.meter > span { display:block; height:100%; width:0; background:var(--ink); transition:width .7s cubic-bezier(.2,.8,.2,1); }.progress-meta { display:flex; justify-content:space-between; margin-top:9px; color:#34343c; font:500 .75rem var(--mono); }.date-form { margin-top:24px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }.date-form label { display:grid; gap:7px; font-size:.8rem; font-weight:700; }.date-form input { width:100%; padding:10px; border:2px solid var(--ink); background:rgba(255,255,255,.65); }.life-fact { min-height:44px; margin-top:18px; color:#393943; line-height:1.5; font-size:.9rem; }
.nothing-page { color:#f6f3eb; background:#0b0b0e; overflow:hidden; }.nothing-page .site-header { color:#f6f3eb; }.nothing-page nav a::after { background:#f6f3eb; }.nothing-main { min-height:calc(100vh - 76px); padding:35px 24px 80px; display:grid; place-items:center; text-align:center; }.nothing-inner { max-width:700px; }.nothing-inner p { color:#777780; font:500 .72rem var(--mono); letter-spacing:.12em; }.nothing-inner h1 { margin:20px 0 28px; font-size:clamp(4.6rem,14vw,11rem); color:#f6f3eb; }.nothing-button { width:148px; height:148px; border:2px solid #f6f3eb; border-radius:50%; color:#0b0b0e; background:var(--acid); font-weight:700; box-shadow:8px 8px 0 var(--violet); transition:transform .15s; }.nothing-button:hover { transform:rotate(8deg) scale(1.05); }.nothing-button:active { transform:translate(6px,6px); box-shadow:2px 2px 0 var(--violet); }.nothing-response { height:36px; margin:33px 0 0; color:#9999a1!important; font-size:.85rem!important; letter-spacing:0!important; }.back-link { display:inline-block; margin-top:55px; color:#b0b0bb; font-size:.9rem; }.back-link:hover { color:var(--acid); }
@media (max-width:760px) { .site-header { padding:20px; align-items:flex-start; }.site-header nav { gap:12px 16px; padding-top:4px; }.site-header nav a { font-size:.78rem; }.hero { min-height:auto; padding:55px 22px 70px; grid-template-columns:1fr; }.hero-orbit { order:-1; height:245px; margin:-12px -8px 0; transform:scale(.72); transform-origin:top left; width:140%; }.hero-copy { margin-top:-36px; } h1 { font-size:clamp(3.5rem,16vw,5.5rem); }.toy-section { padding:60px 20px 72px; }.toy-grid { grid-template-columns:1fr 1fr; gap:10px; }.toy-card { min-height:240px; padding:16px; }.toy-icon { margin:23px 0 16px; font-size:2.8rem; }.toy-card h3 { font-size:1.1rem; }.toy-card p { font-size:.88rem; }.site-footer { padding:22px 20px; }.tool-main { padding:38px 20px 70px; }.tool-heading { margin-bottom:28px; }.tool-heading h1 { font-size:clamp(3.1rem,15vw,5rem); }.reaction-stage { height:310px; }.result-box { align-items:flex-start; flex-direction:column; }.decider-layout { grid-template-columns:1fr; }.choice-editor { border-right:0; border-bottom:2px solid var(--ink); }.decision-result { min-height:260px; }.progress-grid { grid-template-columns:1fr; }.nothing-main { min-height:calc(100vh - 92px); }.nothing-page .site-header nav { display:none; } }
@media (max-width:400px) { .brand { font-size:.92rem; }.site-header nav { gap:9px; }.site-header nav a { font-size:.7rem; }.toy-grid { grid-template-columns:1fr; }.toy-card { min-height:190px; }.toy-icon { margin:14px 0; }.date-form { grid-template-columns:1fr; } }

/* arcade home */
.arcade-hero { min-height:450px; padding-top:38px; padding-bottom:58px; overflow:hidden; }
.arcade-hero h1 { font-size:clamp(3.5rem,7vw,6.5rem); }
.arcade-orbit { height:320px; transform:scale(.88); transform-origin:center; }
.arcade-orbit .planet { font-size:3rem; font-weight:700; }
.game-section { padding-top:68px; }
.game-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; }
.game-heading > p { max-width:260px; margin:0 0 6px; color:#aaaab2; font-size:.85rem; text-align:right; }
.game-grid { grid-template-columns:repeat(2,1fr); gap:16px; }
.game-card { min-height:350px; padding:24px; }
.game-card .toy-icon { margin:24px 0 15px; font-size:3.2rem; }
.game-card h3 { font-size:clamp(1.8rem,3vw,2.6rem); margin-bottom:8px; }
.game-card p { max-width:390px; margin-bottom:18px; }
.game-2048-card { background:var(--acid); }
.game-speed-card { background:var(--violet); }
.game-color-card { background:var(--blue); }
.game-dodge-card { color:var(--paper); background:#292a34; border-color:#4d4e59; }
.record-line { display:flex; align-items:baseline; justify-content:space-between; gap:18px; margin-top:auto; padding:15px 0 12px; border-top:1px solid currentColor; }
.record-line small { font:500 .72rem var(--mono); opacity:.7; }
.record-line strong { font:700 clamp(1.8rem,4vw,2.8rem)/1 var(--mono); letter-spacing:-.08em; }
.game-card .card-arrow { margin-top:0; }
.old-toys { max-width:1176px; margin:28px auto 0; display:flex; flex-wrap:wrap; gap:10px 18px; color:#aaaab2; font-size:.84rem; }
.old-toys a { color:var(--paper); border-bottom:1px solid #565761; }
.old-toys a:hover { color:var(--acid); border-color:var(--acid); }

/* shared game frame */
[hidden] { display:none!important; }
.game-page { min-height:100vh; background:var(--paper); }
.game-main { max-width:1120px; margin:0 auto; padding:34px 32px 80px; }
.narrow-game { max-width:940px; }
.wide-game { max-width:1160px; }
.game-title-row { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:24px; }
.game-title-row h1 { margin:0 0 10px; font-size:clamp(3.2rem,7vw,6rem); line-height:.85; }
.game-title-row p:last-child { max-width:610px; margin-bottom:0; color:#55555e; line-height:1.6; }
.compact-title-row h1 { font-size:clamp(2.8rem,6vw,5.2rem); }
.game-actions { display:flex; gap:9px; flex:0 0 auto; }
.utility-button { min-height:42px; padding:9px 13px; border:2px solid var(--ink); background:#fffdf8; font-size:.78rem; font-weight:700; box-shadow:3px 3px 0 var(--ink); }
.utility-button:active { transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.utility-button:focus-visible,.play-button:focus-visible { outline:4px solid var(--violet); outline-offset:3px; }
.game-shell { border:2px solid var(--ink); background:#fffdf8; box-shadow:8px 8px 0 var(--ink); }
.score-strip { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:2px solid var(--ink); background:var(--paper); }
.score-strip.four-stats { grid-template-columns:repeat(4,1fr); }
.score-strip > div { min-width:0; padding:14px 18px; border-right:1px solid var(--line); }
.score-strip > div:last-child { border-right:0; }
.score-strip span { display:block; margin-bottom:5px; color:var(--muted); font:500 .68rem var(--mono); text-transform:uppercase; }
.score-strip strong { display:block; overflow:hidden; text-overflow:ellipsis; font:700 clamp(1.35rem,3vw,2rem)/1 var(--mono); letter-spacing:-.07em; white-space:nowrap; }
.game-tip { min-height:48px; padding:12px 17px; display:flex; justify-content:space-between; align-items:center; gap:14px; border-top:2px solid var(--ink); color:#55555e; font-size:.78rem; }
.play-button { padding:13px 18px; border:2px solid var(--ink); background:var(--acid); color:var(--ink); font-weight:700; box-shadow:4px 4px 0 var(--ink); }
.play-button:active { transform:translate(3px,3px); box-shadow:1px 1px 0 var(--ink); }
.game-overlay { position:absolute; inset:0; z-index:20; padding:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:rgba(245,242,234,.93); backdrop-filter:blur(5px); }
.game-overlay .eyebrow { margin-bottom:11px; }
.game-overlay h2 { max-width:600px; margin:0 0 10px; font-size:clamp(2rem,5vw,4rem); line-height:.95; letter-spacing:-.065em; }
.game-overlay p:not(.eyebrow) { max-width:490px; margin-bottom:23px; color:#55555e; line-height:1.55; }

/* 2048 */
.game-2048-shell { background:var(--acid); }
.board-2048-wrap { position:relative; padding:22px; display:grid; place-items:center; }
.board-2048 { width:min(100%,520px); aspect-ratio:1; padding:12px; display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:repeat(4,1fr); gap:10px; border:2px solid var(--ink); background:#24252d; touch-action:none; user-select:none; outline:none; }
.board-2048:focus-visible { outline:4px solid var(--violet); outline-offset:4px; }
.cell-2048 { min-width:0; min-height:0; display:grid; place-items:center; border:1px solid rgba(245,242,234,.16); background:rgba(245,242,234,.08); }
.tile-2048 { width:100%; height:100%; display:grid; place-items:center; border:2px solid var(--ink); color:var(--ink); background:#f5f2ea; font:700 clamp(1.35rem,6vw,3rem)/1 var(--mono); letter-spacing:-.1em; box-shadow:3px 3px 0 rgba(0,0,0,.45); }
.tile-4 { background:#f1e75b; }.tile-8 { background:#ffbd58; }.tile-16 { background:#ff8e4f; }.tile-32 { background:#ff6681; }.tile-64 { color:#fff; background:#ed3a68; }.tile-128 { background:#70dcff; }.tile-256 { background:#87d7ad; }.tile-512 { background:#9b7bff; }.tile-1024 { color:#fff; background:#6250d7; font-size:clamp(1.05rem,4.5vw,2.35rem); }.tile-2048,.tile-4096,.tile-8192 { color:var(--ink); background:var(--acid); font-size:clamp(.95rem,4vw,2rem); }
.tile-2048.is-new { animation:tile-pop .18s ease-out; }.tile-2048.is-merged { animation:tile-merge .22s ease-out; }
@keyframes tile-pop { from { transform:scale(.45); opacity:.25; } }
@keyframes tile-merge { 50% { transform:scale(1.13); } }
.board-2048-wrap .game-overlay { inset:22px; border:2px solid var(--ink); }

/* speed challenge */
.speed-shell { background:var(--violet); }
.speed-stage { position:relative; height:clamp(430px,57vh,590px); overflow:hidden; background:#181920; touch-action:manipulation; user-select:none; }
.speed-stage.is-running { touch-action:none; }
.stage-grid { position:absolute; inset:0; opacity:.15; background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px); background-size:42px 42px; pointer-events:none; }
.tap-target { position:absolute; z-index:5; display:grid; place-items:center; padding:0; border:2px solid #f5f2ea; border-radius:50%; transform:translateZ(0); animation:target-in .12s ease-out; touch-action:manipulation; }
.real-target { background:var(--acid); box-shadow:0 0 0 7px rgba(217,255,74,.14),4px 4px 0 rgba(0,0,0,.55); }
.real-target::after { content:""; width:24%; height:24%; border-radius:50%; background:var(--ink); }
.fake-target { color:#f5f2ea; background:#3f4050; opacity:.9; font:700 1.1rem var(--mono); }
.fake-target:nth-of-type(3n) { background:var(--orange); color:var(--ink); }
@keyframes target-in { from { transform:scale(.35); opacity:0; } }
.score-feedback { position:absolute; z-index:15; color:var(--acid); font:700 1rem var(--mono); pointer-events:none; opacity:0; transform:translate(-50%,-20%); }
.score-feedback.show { animation:score-up .34s ease-out; }.score-feedback.bad { color:var(--orange); }
@keyframes score-up { 0% { opacity:0; transform:translate(-50%,20%); } 30% { opacity:1; } 100% { opacity:0; transform:translate(-50%,-80%); } }
.speed-overlay { background:rgba(155,123,255,.94); }
.speed-overlay .eyebrow,.speed-overlay p:not(.eyebrow) { color:#272434; }

/* color game */
.color-shell { background:var(--blue); }
.color-stage-wrap { position:relative; min-height:560px; padding:24px; display:grid; place-items:center; background:#20212a; }
.color-grid { --grid-size:2; width:min(100%,520px); aspect-ratio:1; display:grid; grid-template-columns:repeat(var(--grid-size),1fr); gap:clamp(5px,1.2vw,10px); }
.color-tile { min-width:0; min-height:0; padding:0; border:2px solid rgba(245,242,234,.92); box-shadow:3px 3px 0 rgba(0,0,0,.5); transition:transform .1s,filter .1s; touch-action:manipulation; }
.color-tile:hover { transform:translateY(-2px); }.color-tile:active { transform:scale(.94); }.color-tile:focus-visible { outline:4px solid var(--acid); outline-offset:2px; }
.color-tile.wrong-tile { animation:wrong-shake .28s linear; filter:grayscale(.6); }
@keyframes wrong-shake { 25% { transform:translateX(-5px); } 75% { transform:translateX(5px); } }
.color-overlay { inset:0; background:rgba(112,220,255,.94); }
.center-feedback { position:absolute; z-index:10; left:50%; top:50%; padding:9px 12px; border:2px solid var(--ink); background:var(--acid); font:700 .85rem var(--mono); opacity:0; pointer-events:none; transform:translate(-50%,-40%) rotate(-2deg); }
.center-feedback.show { animation:center-pop .42s ease-out; }.center-feedback.bad { background:var(--orange); }
@keyframes center-pop { 0% { opacity:0; transform:translate(-50%,-10%) scale(.7); } 28% { opacity:1; } 100% { opacity:0; transform:translate(-50%,-85%) scale(1.05); } }

/* dodge */
.dodge-shell { color:var(--paper); background:#101117; }
.dodge-shell .score-strip { color:var(--ink); }
.dodge-stage { position:relative; background:#101117; overflow:hidden; }
#dodge-canvas { width:100%; height:auto; display:block; touch-action:none; cursor:crosshair; }
.dodge-overlay { color:var(--paper); background:rgba(16,17,23,.9); }
.dodge-overlay .eyebrow,.dodge-overlay p:not(.eyebrow) { color:#b7b7c0; }
.dodge-overlay h2 { color:var(--paper); }
.dodge-shell .game-tip { color:#b7b7c0; border-color:#f5f2ea; }
.touch-hint { position:absolute; left:50%; bottom:20px; padding:7px 10px; border:1px solid rgba(245,242,234,.45); color:#f5f2ea; background:rgba(16,17,23,.65); font:500 .7rem var(--mono); opacity:0; transform:translateX(-50%); pointer-events:none; transition:opacity .25s; }
.touch-hint.visible { opacity:1; }

@media (max-width:760px) {
  .arcade-hero { min-height:auto; padding-top:26px; padding-bottom:44px; }
  .arcade-orbit { display:none; }
  .arcade-hero .hero-copy { margin-top:0; }
  .arcade-hero h1 { font-size:clamp(3rem,14vw,4.6rem); }
  .game-heading { align-items:flex-start; flex-direction:column; gap:10px; }
  .game-heading > p { text-align:left; }
  .game-grid { grid-template-columns:1fr 1fr; }
  .game-card { min-height:300px; padding:17px; }
  .game-card .toy-icon { margin:16px 0 10px; font-size:2.55rem; }
  .game-card h3 { font-size:1.5rem; }
  .record-line strong { font-size:1.65rem; }
  .game-main { padding:18px 18px 60px; }
  .game-title-row { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:17px; }
  .game-title-row .eyebrow { margin-bottom:9px; }
  .game-title-row h1 { margin-bottom:7px; font-size:clamp(2.65rem,13vw,4.2rem); }
  .game-title-row p:last-child { font-size:.88rem; line-height:1.48; }
  .game-actions { width:100%; justify-content:flex-end; }
  .game-shell { box-shadow:5px 5px 0 var(--ink); }
  .score-strip > div { padding:11px 10px; }
  .score-strip span { font-size:.61rem; }
  .score-strip strong { overflow:visible; font-size:clamp(.94rem,4.6vw,1.42rem); text-overflow:clip; }
  .game-tip { align-items:flex-start; flex-direction:column; gap:4px; }
  .board-2048-wrap { padding:12px; }
  .board-2048 { padding:8px; gap:6px; }
  .board-2048-wrap .game-overlay { inset:12px; }
  .tile-2048 { border-width:1px; box-shadow:2px 2px 0 rgba(0,0,0,.45); }
  .speed-stage { height:min(62vh,530px); min-height:430px; }
  .color-stage-wrap { min-height:auto; padding:13px; }
  .color-grid { width:100%; }
  .dodge-page .game-main { padding-left:10px; padding-right:10px; }
  .dodge-page .game-title-row { padding:0 8px; }
}
@media (max-width:430px) {
  .site-header { align-items:center; }
  .site-header nav { gap:8px 10px; }
  .site-header nav a { min-height:36px; padding:10px 2px; display:inline-flex; align-items:center; font-size:.68rem; }
  .game-grid { grid-template-columns:1fr; }
  .game-card { min-height:270px; }
  .score-strip.four-stats { grid-template-columns:repeat(2,1fr); }
  .score-strip.four-stats > div:nth-child(2) { border-right:0; }
  .score-strip.four-stats > div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .game-overlay { padding:20px; }
  .speed-stage { min-height:390px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
