:root{--paper:#f8f4e9;--ink:#233c37;--muted:#68756a;--pink:#efb2ba;--pink-hot:#ed809f;--cream:#fffdf4;--line:#cfcfbc;--mint:#c7d8b6;--blue:#bdd5df;--gold:#e7b650;--teal:#4e857b;font-family:Arial,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #9b345e;outline-offset:5px}button:disabled{cursor:wait}button{border:0}button:hover{filter:brightness(.98)}[hidden]{display:none!important}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.topbar{max-width:1320px;margin:auto;padding:27px 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink)}.wordmark{font-size:14px;font-weight:900;letter-spacing:.06em;display:flex;align-items:center;gap:12px}.brand-icon{width:33px;height:34px;display:grid;place-items:center;background:var(--ink);color:var(--pink);font-size:31px;border-radius:8px;letter-spacing:-.12em;padding-right:5px}.topbar nav{display:flex;gap:31px;font-size:13px;font-weight:700}.topbar nav a:hover{text-decoration:underline;text-underline-offset:5px}.hero{max-width:1320px;margin:auto;min-height:580px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;padding:45px 42px 38px;gap:10px}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:800;display:block}.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--pink-hot);margin-right:7px}.hero h1{font-size:clamp(46px,5.3vw,74px);letter-spacing:-.065em;line-height:1.13;margin:27px 0 25px;font-weight:900}.hero h1 em{font-style:normal;position:relative;white-space:nowrap;z-index:0}.hero h1 em:after{content:'';position:absolute;left:0;bottom:3px;width:100%;height:22%;background:var(--pink);z-index:-1;transform:rotate(-2deg)}.hero-copy>p{font-size:17px;line-height:1.8;color:var(--muted);margin:0 0 29px}.hero-actions{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:800}.primary{background:var(--ink);color:var(--cream);border:1px solid var(--ink);padding:16px 23px;border-radius:8px;font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:49px}.primary:hover{background:#38584b}.primary:active{transform:translateY(1px)}.hero-facts{display:flex;gap:23px;font-size:10px;font-weight:800;letter-spacing:.06em;margin-top:34px}.hero-facts span+span{padding-left:22px;border-left:1px solid var(--line)}.hero-art{position:relative;min-width:0}.hero-art canvas{width:100%;height:auto;display:block}.floating-label{position:absolute;right:-8px;top:24px;background:var(--gold);font-size:13px;line-height:1.6;font-weight:600;border:1px solid var(--ink);padding:15px 22px;border-radius:50%;transform:rotate(10deg)}.ticker{display:flex;align-items:center;justify-content:center;gap:45px;background:var(--pink);border-block:1px solid var(--ink);padding:18px;white-space:nowrap;overflow:hidden;font-size:12px;letter-spacing:.16em;font-weight:900}.ticker b{font-size:25px;line-height:.6}.collection{max-width:1320px;padding:68px 42px 78px;margin:auto}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:35px}.section-heading h2{font-size:39px;letter-spacing:-.06em;margin:12px 0 0;line-height:1.1}.section-heading h2 span{font-size:47px;font-weight:400;margin-left:15px;color:var(--pink-hot)}.collection-stats{font-size:12px;line-height:1.9;text-align:right}.collection-stats strong{font-size:17px}.catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:23px}.tabs{display:flex;gap:8px}.tabs button{background:transparent;border:1px solid var(--line);border-radius:30px;padding:12px 17px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800}.tabs button.selected{background:var(--ink);color:var(--cream);border-color:var(--ink)}.tabs small{font-size:10px;opacity:.65}.search{border-bottom:1px solid var(--ink);display:flex;gap:8px;align-items:center;min-width:220px}.search span[aria-hidden]{font-size:31px;line-height:1}.search input{width:100%;max-width:225px;font-size:13px;border:0;background:transparent;padding:11px 0;outline:none}.category-description{font-size:13px;color:var(--muted);margin:21px 0 25px;line-height:1.7}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 24px}.game-card{text-align:left;background:var(--cream);border:1px solid var(--ink);border-radius:14px;overflow:hidden;padding:0;box-shadow:0 3px 0 #233c3712;transition:transform .18s,box-shadow .18s;min-width:0}.game-card:hover{transform:translateY(-4px);box-shadow:0 8px 0 #233c371a;filter:none}.card-preview{position:relative;aspect-ratio:3/2;overflow:hidden;border-bottom:1px solid var(--ink);background:var(--card-color)}.card-preview canvas{width:100%;height:100%;display:block}.card-index{position:absolute;left:14px;top:12px;font-size:10px;font-weight:800;letter-spacing:.06em;background:var(--cream);padding:6px 8px;border:1px solid var(--ink);border-radius:5px}.card-medal{position:absolute;right:12px;top:12px;border-radius:50%;display:grid;place-items:center;width:30px;height:30px;font-size:15px;color:var(--ink);border:1px solid var(--ink)}.gold{background:#e7b650}.silver{background:#c2d0cf}.bronze{background:#ceab88}.card-info{padding:21px 22px 17px}.card-info .eyebrow{font-size:9px;letter-spacing:.1em;color:var(--muted)}.card-info h3{margin:9px 0 10px;font-size:23px;letter-spacing:-.045em}.card-info>p{font-size:12px;line-height:1.7;color:var(--muted);margin:0;min-height:41px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:17px;padding-top:13px;font-size:11px;font-weight:800}.card-bottom b{font-size:22px;line-height:1}#empty{padding:60px;text-align:center}.about{background:#dfe5d4;border-block:1px solid var(--ink);padding:62px max(42px,calc((100vw - 1236px)/2));display:grid;grid-template-columns:1fr 1fr;gap:75px}.about h2{font-size:36px;letter-spacing:-.055em;line-height:1.35;margin:20px 0}.about p{font-size:14px;line-height:1.9;margin-top:0}.about details{font-size:12px;border-top:1px solid #9bab99;padding-top:14px}.about summary,.game-notes summary{cursor:pointer;font-weight:800}.source-row{padding:15px 0;border-bottom:1px solid #b7c2ae;line-height:1.7}.source-row a{text-decoration:underline;text-underline-offset:3px}.source-row small{display:block;color:var(--muted)}footer{max-width:1320px;margin:auto;padding:30px 42px;display:flex;justify-content:space-between;align-items:center;gap:20px}footer>span{font-size:9px;letter-spacing:.12em}footer>a:last-child{font-size:12px;font-weight:700}dialog{padding:0;background:var(--paper);color:var(--ink);border:1px solid var(--ink);border-radius:17px;width:min(1100px,calc(100% - 28px));max-height:96dvh;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#193328a6;backdrop-filter:blur(5px)}.play-top{display:flex;align-items:center;justify-content:space-between;padding:16px 23px;border-bottom:1px solid var(--line);gap:10px}.play-top .eyebrow{font-size:8px;letter-spacing:.12em;color:var(--muted)}.play-top h2{font-size:21px;margin:5px 0 0;letter-spacing:-.035em}.play-tools{display:flex;gap:7px}.play-tools button{width:37px;height:37px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:19px}.play-tools button:last-child{font-size:28px}.stage{background:#d5ddca}.canvas-wrap{position:relative;width:min(100%,calc((100dvh - 292px)*1.5));min-width:240px;aspect-ratio:3/2;margin:auto}#game-canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.overlay{position:absolute;inset:0;background:#e5e8d68c;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}.sheet{background:var(--cream);border:1px solid var(--ink);border-radius:15px;padding:27px 32px;text-align:center;width:min(450px,100%);box-shadow:0 7px 0 #233c3725}.sheet .eyebrow{font-size:9px;color:var(--teal)}.sheet h3{font-size:30px;letter-spacing:-.05em;margin:12px 0}.sheet p{font-size:13px;line-height:1.7;margin:12px 0}.sheet .control-copy{font-size:12px;line-height:1.7;background:#e9eddf;padding:12px;border-radius:7px;white-space:pre-line}.sheet .primary{width:100%;margin-top:7px}.compact{max-width:355px}.hud{display:flex;align-items:center;gap:24px;padding:13px 23px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--cream)}.hud-metric{min-width:66px}.hud-metric span{display:block;color:var(--muted);font-size:9px;letter-spacing:.03em;margin-bottom:5px}.hud-metric strong{font-size:22px;font-variant-numeric:tabular-nums}.hud-hint{font-size:12px;line-height:1.55;flex:1;border-left:1px solid var(--line);padding-left:23px}#progress-track{height:4px;margin-top:8px;background:#e3e8dc;border-radius:3px;overflow:hidden}#progress{height:100%;display:block;background:var(--pink-hot);width:0}.touch-controls{display:flex;align-items:center;justify-content:center;gap:26px;padding:12px 23px;touch-action:none}.dpad{display:flex;align-items:center;gap:4px}.dpad>div{display:flex;gap:4px}.dpad button{width:39px;height:39px;background:#e0e5d8;border:1px solid var(--ink);border-radius:8px;font-size:20px}.action-pad{display:flex;gap:9px}.action-pad button{width:48px;height:48px;border-radius:50%;border:1px solid var(--ink);font-weight:900;font-size:18px;box-shadow:0 3px 0 var(--ink);background:var(--pink)}.action-pad button:last-child{background:var(--gold)}.touch-controls button.pressed{transform:translateY(3px);box-shadow:none;background:var(--ink);color:var(--cream)}.key-help{font-size:9px;line-height:1.7;color:var(--muted)}.game-notes{padding:12px 23px;font-size:11px;line-height:1.7;border-top:1px solid var(--line)}.game-notes p{margin:9px 0}.game-notes a{text-decoration:underline;text-underline-offset:3px}.result-medal{width:44px;height:44px;margin:auto auto 10px;display:grid;place-items:center;border-radius:50%;font-size:29px;background:#e3e8d9}.result-score{font-size:49px;font-weight:900;letter-spacing:-.04em;line-height:1.1}.best-copy{color:var(--muted);font-size:11px!important}.result-actions{display:flex;gap:9px}.result-actions .primary{width:auto;flex:1;margin:0}.secondary{border:1px solid var(--ink);border-radius:8px;background:transparent;padding:11px 15px;font-size:12px;font-weight:800}.result-sheet h3{margin:8px 0}.result-sheet .result-medal.gold{background:#e7b650}.result-sheet .result-medal.silver{background:#c2d0cf}.result-sheet .result-medal.bronze{background:#ceab88}@media(min-width:1500px){.hero{min-height:650px}}@media(max-width:950px){.hero h1{font-size:51px}.hero-actions{gap:15px;flex-wrap:wrap}.hero-art{margin-left:-20px}.floating-label{font-size:10px;right:-5px}.cards{gap:18px}.card-info{padding:18px}.card-info h3{font-size:21px}.tabs button{padding:11px 13px}.about{gap:35px}.search{min-width:175px}}@media(max-width:700px){.topbar{padding:17px 20px}.topbar nav{gap:17px;font-size:11px}.topbar nav a:last-child{display:none}.wordmark{font-size:10px;gap:8px}.brand-icon{width:28px;height:28px;font-size:26px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:42px 24px 15px;gap:0;min-height:0}.hero h1{font-size:49px;margin:22px 0}.hero-copy>p{font-size:14px;line-height:1.8;margin-bottom:23px}.hero .eyebrow{font-size:9px}.hero-actions{gap:20px;font-size:11px}.hero .primary{font-size:12px;padding:14px 18px}.hero-facts{font-size:8px;margin-top:24px;gap:14px}.hero-facts span+span{padding-left:14px}.hero-art{width:100%;max-width:400px;margin:5px auto -5px}.floating-label{top:25px;right:10px;font-size:10px;padding:12px 18px}.ticker{font-size:9px;padding:16px 0;gap:28px;justify-content:flex-start}.ticker b{font-size:20px}.collection{padding:42px 20px}.section-heading{margin-bottom:23px}.section-heading .eyebrow{font-size:8px}.section-heading h2{font-size:29px}.section-heading h2 span{font-size:35px;margin-left:5px}.collection-stats{font-size:9px}.collection-stats strong{font-size:13px}.catalog-tools{display:block;padding-bottom:16px}.tabs{display:flex;gap:5px}.tabs button{font-size:11px;padding:11px 12px;gap:6px;flex:1;justify-content:center;white-space:nowrap}.tabs small{font-size:8px}.search{margin-top:15px;width:100%;gap:8px}.search input{max-width:none;font-size:12px;padding:9px 0}.category-description{font-size:12px;margin-top:17px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.game-card{border-radius:10px}.card-info{padding:13px 12px}.card-info .eyebrow{font-size:7px}.card-info h3{font-size:17px;margin:7px 0 8px}.card-info>p{font-size:10px;line-height:1.6;min-height:48px}.card-index{font-size:7px;left:8px;top:8px;padding:4px 5px}.card-medal{width:22px;height:22px;font-size:12px;right:8px;top:8px}.card-bottom{font-size:9px;margin-top:12px;padding-top:10px}.card-bottom b{font-size:18px}.about{grid-template-columns:1fr;padding:38px 24px;gap:5px}.about h2{font-size:30px}.about p{font-size:12px}.about .eyebrow{font-size:9px}footer{padding:24px 20px;flex-wrap:wrap;gap:13px}footer>span{display:none}footer>a:last-child{font-size:10px}dialog{width:calc(100% - 12px);border-radius:12px;max-height:98dvh}.play-top{padding:12px 13px}.play-top h2{font-size:17px}.play-tools{gap:5px}.play-tools button{width:31px;height:31px;font-size:16px}.play-top .eyebrow{font-size:7px}.canvas-wrap{width:min(100%,calc((100dvh - 265px)*1.5))}.overlay{padding:10px}.sheet{padding:14px 17px;border-radius:10px;max-height:100%;overflow:auto}.sheet h3{font-size:22px;margin:8px 0}.sheet p{font-size:11px;line-height:1.6;margin:8px 0}.sheet .control-copy{font-size:10px;padding:8px;margin:8px 0}.sheet .primary{min-height:40px;padding:10px 15px;font-size:12px}.sheet .eyebrow{font-size:7px}.hud{padding:10px 13px;gap:13px;align-items:center}.hud-metric{min-width:43px}.hud-metric span{font-size:8px}.hud-metric strong{font-size:18px}.hud-hint{font-size:10px;padding-left:12px;line-height:1.5}.touch-controls{padding:12px 11px;gap:15px;justify-content:space-between}.dpad button{width:36px;height:39px;font-size:18px}.key-help{display:none}.action-pad button{width:44px;height:44px}.game-notes{padding:11px 13px;font-size:10px}.result-medal{width:28px;height:28px;font-size:20px;margin-bottom:5px}.result-score{font-size:34px}.result-actions .primary{font-size:11px}.secondary{font-size:10px;padding:9px 10px}.result-sheet .best-copy{font-size:9px!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.game-card{transition:none}}
