.game-panel{max-width:620px;margin:auto}.game-start{gap:16px;margin-top:24px;display:grid}.game-instructions{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:24px}.game-instructions p{color:var(--muted);margin-top:16px}.muted,.game-help{color:var(--muted)}.game-hud{justify-content:space-between;align-items:center;max-width:440px;margin:24px auto 12px;display:flex}.game-hud>div{flex-direction:column;gap:8px;display:flex}.game-hud strong{font-size:2rem}.game-hud span{color:var(--muted);font-size:.875rem}.board-frame{aspect-ratio:5/7;touch-action:none;background:#111214;border-radius:12px;width:100%;max-width:440px;margin:auto;position:relative;overflow:hidden}.phaser-host{position:absolute;inset:0}.phaser-host canvas{touch-action:none;display:block}.keyboard-grid{pointer-events:none;grid-template-rows:repeat(8,1fr);width:96%;height:68.5714%;display:grid;position:absolute;top:1.4286%;left:2%}.keyboard-grid>div{grid-template-columns:repeat(8,1fr);min-height:0;display:grid}.keyboard-grid button{color:#0000;pointer-events:none;background:0 0;border:0;border-radius:5px;min-width:0;min-height:0;padding:0}.keyboard-grid button:focus-visible{outline-offset:-3px;background:#ffbf4760;outline:3px solid #fff}.canvas-failed,.canvas-failed button{pointer-events:auto}.canvas-failed button{background:#24272c;border:1px solid #555}.canvas-failed button.occupied{background:#ffbf47}.piece-controls{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.piece-controls button{padding:10px 4px;font-size:.875rem}.piece-controls button[aria-pressed=true]{border-color:var(--amber)}.piece-controls span{color:var(--muted);margin-top:5px;font-size:.75rem;display:block}.game-help{margin:16px 0;font-size:.875rem}.motion-setting{align-items:center;gap:10px;margin:16px 0 24px;font-size:.875rem;display:flex}.motion-setting input{width:20px;height:20px;accent-color:var(--amber)}.game-result{border:1px solid var(--amber);border-radius:16px;margin:20px 0;padding:24px}.game-result p,.game-result button{margin-top:16px}.rankings-list{border:1px solid var(--line);border-radius:12px;padding:0;list-style:none;overflow:hidden}.rankings-list li{border-bottom:1px solid var(--line);grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:18px;font-size:.875rem;display:grid}.rankings-list strong{overflow-wrap:anywhere;min-width:0}.rankings-list li:last-child{border-bottom:0}.alias-field{gap:10px;margin-top:24px;font-size:.875rem;display:grid}.alias-field input{background:var(--bg);width:100%;color:var(--text);border:1px solid var(--line);font:inherit;border-radius:8px;padding:12px}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111214;--text:#f2f1ed;--panel:#1a1c1f;--muted:#a7a8ae;--line:#33363b;--amber:#ffbf47;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--muted:#5c6068;--line:#d4d7db}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button,select{min-height:44px}button{cursor:pointer;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px 18px;font-weight:600}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:4px}button:hover:not(:disabled){border-color:var(--amber)}h1,h2,h3,p{margin:0}h1{letter-spacing:-.045em;font-size:clamp(2.2rem,6vw,4rem);font-weight:750;line-height:1.1}h2{letter-spacing:-.035em;font-size:clamp(1.6rem,4vw,2.25rem);line-height:1.15}h3{font-size:1.2rem;line-height:1.3}p{line-height:1.65}.app-shell{max-width:1040px;padding:max(0px, var(--safe-top,0px)) max(20px, var(--safe-right,0px)) calc(110px + max(env(safe-area-inset-bottom), var(--safe-bottom,0px))) max(20px, var(--safe-left,0px));margin:auto}.masthead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:96px;display:flex}.brand{letter-spacing:.06em;align-items:center;gap:11px;font-size:1.05rem;font-weight:750;text-decoration:none;display:flex}.brand b{color:var(--amber);font-weight:inherit}.brand-mark{background:var(--amber);color:#151515;border-radius:10px;place-items:center;width:37px;height:37px;font-size:1.5rem;font-style:italic;font-weight:900;display:grid}.edition{color:var(--muted);font-size:.875rem}.intro{padding:44px 0 32px}.eyebrow{color:var(--muted);letter-spacing:.13em;margin-bottom:16px;font-size:.75rem;font-weight:650}.intro h1 span{color:var(--amber)}.intro>p:last-child{max-width:490px;color:var(--muted);margin-top:22px}.game-feature{color:#f2f1ed;background:#201e18;border:1px solid #6e542c;border-radius:20px;grid-template-columns:1.4fr 1fr;align-items:center;gap:16px;min-height:300px;padding:32px;display:grid;position:relative;overflow:hidden}.tag{color:#ffce75;border:1px solid #6e542c;border-radius:6px;margin-bottom:18px;padding:6px 9px;font-size:.875rem;display:inline-block}.game-feature h2{font-size:clamp(1.7rem,4vw,2.7rem)}.game-feature p{color:#b5b0a4;max-width:330px;margin:18px 0}.primary{color:#19160e;background:var(--amber);border-color:var(--amber)}.puzzle-art{aspect-ratio:1;grid-template-columns:repeat(5,1fr);justify-self:center;gap:5px;width:min(100%,230px);display:grid;transform:rotate(-9deg)}.puzzle-art i{background:#2c281e;border:1px solid #51452e;border-radius:6px}.puzzle-art .filled{background:#e8a82d;border-color:#ffd47d;box-shadow:inset 0 -5px #0002}.section-heading{justify-content:space-between;align-items:end;gap:16px;margin:40px 0 22px;display:flex}.section-heading .eyebrow{margin-bottom:10px}.section-heading h2{font-size:1.6rem}.text-button{color:var(--amber);white-space:nowrap;background:0 0;border:0;padding:8px 0 8px 16px;font-size:.875rem}.empty-state{text-align:center;border:1px dashed var(--line);color:var(--muted);border-radius:14px;padding:34px 24px}.empty-state h3,.empty-state h2{color:var(--text);margin:12px 0}.empty-state p{max-width:440px;margin:12px auto 0}.empty-state button{margin-top:20px}.empty-symbol{color:var(--amber);font-size:2rem}.page-heading{padding-top:40px}.page-heading>p:not(.eyebrow){color:var(--muted);max-width:520px;margin:18px 0 28px}.page-heading+.game-feature,.page-heading .empty-state{margin-top:28px}.store-filter{align-items:center;gap:16px;margin-bottom:24px;font-size:.875rem;display:flex}select{appearance:none;border:1px solid var(--line);color:var(--text);background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' stroke='%23999' fill='none'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;border-radius:10px;padding:10px 40px 10px 14px}.offer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;display:grid}.offer-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;flex-direction:column;padding:24px;display:flex}.offer-top{color:var(--muted);justify-content:space-between;gap:8px;margin-bottom:24px;font-size:.875rem;display:flex}.offer-top b{color:var(--amber)}.offer-card h3{overflow-wrap:anywhere;margin-bottom:12px}.offer-card p{color:var(--muted);font-size:.875rem}.offer-card .expiry{margin:8px 0 24px}.offer-card button{margin-top:auto}.verified{color:var(--muted);margin-top:14px;font-size:.75rem;line-height:1.5;display:block}.catalogue>button{margin-top:20px}.profile-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;margin:28px 0 24px;padding:28px}.profile-card h2{margin-bottom:16px}.profile-card p{color:var(--muted)}.profile-card>button{margin-top:20px}.avatar{border:1px solid var(--amber);width:64px;height:64px;color:var(--amber);border-radius:50%;place-items:center;margin-bottom:24px;font-size:1.7rem;display:grid}dl{grid-template-columns:auto 1fr;gap:12px;margin:22px 0;font-size:.875rem;display:grid}dt{color:var(--muted)}dd{overflow-wrap:anywhere;margin:0}.consent{align-items:start;gap:14px;margin-top:24px;font-size:.875rem;line-height:1.6;display:flex}.consent input{width:20px;height:20px;accent-color:var(--amber);flex-shrink:0;margin-top:6px}.danger{color:#f8968b}:root[data-theme=light] .danger{color:#a22525}.delete-confirm{gap:16px;max-width:520px;display:grid}.notice{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:10px;margin:20px 0;padding:16px;line-height:1.5}footer{color:var(--muted);border-top:1px solid var(--line);margin-top:44px;padding:28px 0 0;font-size:.75rem}footer>span{letter-spacing:.12em;font-weight:650}footer>div{gap:22px;margin:16px 0;font-size:.875rem;display:flex}.bottom-nav{z-index:2;max-width:1040px;padding:8px max(8px, var(--safe-right,0px)) calc(8px + max(env(safe-area-inset-bottom), var(--safe-bottom,0px))) max(8px, var(--safe-left,0px));background:var(--bg);border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr);margin:auto;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:7px;padding:8px 2px;font-size:.875rem;font-weight:500;display:flex}.bottom-nav svg{width:23px;height:23px}.bottom-nav button[aria-current]{color:var(--amber)}:root[data-theme=light] .bottom-nav button[aria-current]{color:#855400}@media (width<=550px){.edition{display:none}.masthead{min-height:78px}.intro{padding-top:32px}.game-feature{grid-template-columns:1.5fr 1fr;padding:24px}.puzzle-art{gap:3px;min-width:96px}.game-feature p{font-size:.875rem}.game-feature button{padding:12px;font-size:.875rem}.section-heading{align-items:center}.section-heading h2{font-size:1.35rem}.section-heading .eyebrow{letter-spacing:.08em;font-size:.7rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}
