:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#e6dfcd;--bg-deep:#121821;--surface:#f4efe2;--surface-hi:#d9d1bd;--surface-lo:#e6dfcd;--ink:#15171c;--ink-dim:#3b3f47;--muted:#8d94a1;--wire:#15171c;--wire-hi:#3b3f47;--accent:#d8272a;--accent-dim:#a6161a;--accent-glow:#d8272a29;--hot:#d8272a;--warn:#f5b81e;--danger:#d8272a;--font-display:"Nunito", "Trebuchet MS", "Segoe UI", sans-serif;--font-readout:"Nunito", "Trebuchet MS", "Segoe UI", sans-serif;--font-body:"Nunito", "Trebuchet MS", "Segoe UI", sans-serif;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--shadow-soft:0 8px 24px #3a38331f;--shadow-lift:0 2px 8px #3a38331f;font-family:var(--font-body);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:14px}*{box-sizing:border-box}html,body,#app{height:100%;min-height:100%;margin:0;overflow:hidden}body{background:var(--bg);overscroll-behavior:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}button,select,input{font:inherit;color:inherit}.app-shell{grid-template-rows:auto minmax(0,1fr);gap:16px;height:100vh;min-height:0;padding:20px;display:grid;overflow:hidden}.app-shell__workspace{grid-template-columns:minmax(0,1fr) 340px;align-items:stretch;gap:16px;min-height:0;display:grid;overflow:hidden}.app-shell[data-profile=portrait] .app-shell__workspace{grid-template-columns:minmax(0,1fr)}.game-host{flex-direction:column;min-width:0;min-height:0;display:flex}.game-root{border:1px solid var(--wire);border-radius:var(--radius-md);background:var(--bg-deep);min-height:0;box-shadow:var(--shadow-soft);flex:auto;display:block;position:relative;overflow:hidden}.game-root canvas{z-index:1;outline:none;display:block;position:relative}.ad-slot{z-index:2;pointer-events:none;position:absolute;overflow:hidden}.ad-slot>*{pointer-events:auto}.bg-video{object-fit:cover;z-index:0;pointer-events:none;width:100%;height:100%;display:none;position:absolute;inset:0}.bg-video.is-active{display:block}.app-shell.is-play-mode{gap:0;height:100%;padding:0}.app-shell.is-play-mode .app-shell__workspace{display:block}.app-shell.is-play-mode .game-host{height:var(--app-h,100%);z-index:80;position:fixed;inset:0}.app-shell.is-play-mode .game-root{height:100%;min-height:0;box-shadow:none;background:var(--bg-deep);border:none;border-radius:0}.rotate-hint{z-index:90;pointer-events:none;background:#121821d1;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:absolute;inset:0}.rotate-hint[hidden]{display:none}.rotate-hint__icon{border:4px solid var(--surface);border-radius:10px;width:54px;height:88px;animation:2.4s ease-in-out infinite rotate-hint-turn}.rotate-hint__text{color:var(--surface);font-family:var(--font-display);letter-spacing:.04em;margin:0;font-size:20px;font-weight:800}@keyframes rotate-hint-turn{0%,35%{transform:rotate(0)}65%,to{transform:rotate(90deg)}}@media (prefers-reduced-motion:reduce){.rotate-hint__icon{animation:none}}@media (width<=960px){.app-shell{padding:12px;overflow:auto}.app-shell__workspace{grid-template-columns:minmax(0,1fr)}}
