@import url('/platform/game-shell.css');
:root{font-family:Arial,Helvetica,sans-serif;color:#163e31;background:#f6f4e9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button,.button{font:inherit;font-weight:700;min-height:46px;padding:12px 18px;border:1px solid #cbd3c4;border-radius:12px;background:transparent;color:#163e31;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button:hover,.button:hover{background:#e8eddf}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #407c55;outline-offset:4px}.primary{background:#164d3c;color:white;border-color:#164d3c}.primary:hover{background:#226347}a{color:inherit}header,footer{max-width:1120px;margin:auto;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:18px}header{border-bottom:1px solid #dce0d2}.wordmark{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:20px;font-weight:800}.wordmark span{font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:500}nav{display:flex;gap:20px;align-items:center}nav a{font-size:14px;text-decoration:none}main{max-width:920px;margin:auto;padding:46px 24px}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;margin:0 0 12px}h1{font-size:clamp(38px,6vw,66px);line-height:1.02;letter-spacing:-2px;margin:0}h1 em{font-family:Georgia,serif;font-weight:400}.lead{font-size:18px;color:#58705c;margin:16px 0 0}.mascot{object-fit:contain}.puzzle{background:#fffef7;border:1px solid #d9dfcc;border-radius:24px;padding:30px;box-shadow:0 12px 40px #163e3107}.puzzle-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.target{font-size:76px;letter-spacing:-4px;line-height:1;font-variant-numeric:tabular-nums}.edition-note{display:grid;text-align:right;gap:7px;font-size:12px;color:#5f735d}#instruction{margin:26px 0 18px;font-size:15px}.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.tile{background:#e8efcf;border-color:#c6d49e;font-size:30px;min-height:86px;padding:12px 4px;border-radius:15px;box-shadow:0 3px 0 #c4cfae;font-variant-numeric:tabular-nums}.tile[aria-pressed=true]{background:#164d3c;color:#fff;border-color:#164d3c;box-shadow:0 3px 0 #092b20}.operators{display:flex;justify-content:center;gap:12px;margin-top:22px}.operators button{font-size:25px;width:64px;height:56px;background:#f5f4e9}.operators button[aria-pressed=true]{background:#d9ee93;border-color:#87a85f}.controls{display:flex;gap:10px;border-top:1px solid #e1e5d8;padding-top:18px}#status{min-height:22px;color:#58705c;font-size:14px;margin:18px 0}.history{font-size:14px;line-height:1.9;color:#4e674f;margin:18px 0 0;padding-left:24px}.history:empty{display:none}.result{border-radius:16px;background:#d9ee93;padding:24px;margin-top:24px}.result h2{font-size:29px;margin:0 0 12px}.result-actions{display:flex;gap:10px;flex-wrap:wrap}.next-play{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;padding:38px 0}.next-play h2{margin:0;font-size:24px;letter-spacing:-.5px}.next-play p:not(.eyebrow),details p{font-size:14px;line-height:1.7;color:#60705a}.next-actions{display:grid;gap:10px;align-content:start}details{border-top:1px solid #dce0d2;padding:20px 0}summary{cursor:pointer;font-weight:700}.storage-note{font-size:12px;color:#697660}footer{font-size:12px;border-top:1px solid #dce0d2}footer a{text-decoration:none}.skip{position:absolute;top:-100px;left:20px;padding:12px;background:#fff;z-index:20}.skip:focus{top:12px}[hidden]{display:none!important}#copy-fallback{width:100%;min-height:100px;padding:14px;color:#163e31;background:#fff;border:1px solid #aab69d;border-radius:12px}body.stream main{max-width:1200px}body.stream .intro{margin-bottom:16px}body.stream h1{font-size:34px}body.stream .mascot{height:90px;width:90px}body.stream .target{font-size:110px}body.stream .tile{font-size:48px;min-height:120px}body.stream .next-play,body.stream #rules,body.stream .history{display:none}body.stream .puzzle{padding:40px}body.stream .operators button{width:90px;height:68px;font-size:34px}
@media(max-width:620px){header,footer{padding:18px;gap:10px}.wordmark{font-size:17px}.wordmark span{display:none}nav{gap:10px}nav button{font-size:12px;padding:9px;min-height:42px}nav a{font-size:12px}main{padding:30px 18px}.intro{gap:8px}.mascot{width:112px;height:112px}h1{font-size:38px;letter-spacing:-1.5px}.lead{font-size:14px}.puzzle{padding:22px 17px;border-radius:20px}.target{font-size:66px}.edition-note{font-size:10px}.board{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{min-height:72px;font-size:27px}.operators{gap:10px}.operators button{width:56px}#instruction{font-size:13px}.controls button{flex:1;padding:11px}.next-play{grid-template-columns:1fr;gap:16px;padding:30px 0}footer{align-items:flex-start;font-size:10px}body.stream .puzzle{padding:20px}body.stream .target{font-size:80px}body.stream .tile{font-size:36px;min-height:85px}body.stream .operators button{width:60px;height:56px}body.stream h1{font-size:28px}}
@media(prefers-reduced-motion:no-preference){.tile{transition:background .12s,transform .12s}.tile:active{transform:translateY(2px)}}

@media(max-width:620px){.controls{flex-wrap:wrap}.controls #board-share{flex-basis:100%}}
