:root{--bg:#3b2140;--panel:#fff7ea;--ink:#2a1a10;--accent:#ffb347;--topbar-h:44px}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);touch-action:manipulation;-webkit-text-size-adjust:100%;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif}.topbar{height:var(--topbar-h);padding:0 14px;padding-left:max(14px, env(safe-area-inset-left));padding-right:max(14px, env(safe-area-inset-right));color:#fff7ea;background:#00000040;justify-content:space-between;align-items:center;display:flex}.topbar a{color:inherit;font-size:15px;font-weight:700;text-decoration:none}.topbar .toplink{opacity:.85;font-weight:500}#game-wrap{width:100%;height:calc(100vh - var(--topbar-h));height:calc(100svh - var(--topbar-h));background:var(--bg);touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;min-height:420px;position:relative}#game{width:100%;height:100%}#game canvas{outline:none;display:block}.noscript{color:#fff;text-align:center;padding:40px 16px}.content{background:var(--panel);border-radius:20px 20px 0 0;max-width:760px;margin:0 auto;padding:32px 20px 24px;line-height:1.6}.content h1{margin-top:0;font-size:28px}.content h2{margin-top:28px;font-size:22px}.content .lead{font-size:17px}.content details{border-top:1px solid #e8dcc8;padding:12px 0}.content summary{cursor:pointer;font-weight:600}.footer{text-align:center;color:#fff7ea;opacity:.7;background:var(--bg);padding:18px;font-size:13px}
