@charset "UTF-8";
:root { color-scheme:dark; --bg:#11121b; --panel:#1b1d29; --line:#30313b; --text:#eee9de; --muted:#a6a5b3; --gold:#e5bb72; --player-width:1280px; font-family:Inter,"Segoe UI",system-ui,sans-serif; }
* { box-sizing:border-box; }
html { min-width:320px; scroll-behavior:smooth; }
body { margin:0; background:radial-gradient(ellipse at 50% 5%,#262234 0,transparent 62%),var(--bg); color:var(--text); min-height:100vh; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--gold); }
button,select { font:inherit; color:var(--text); background:#262733; border:1px solid #41414d; border-radius:6px; min-height:38px; }
button,a,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; padding:8px 13px; }
button:hover { background:#333442; border-color:#78707a; }
select { padding:8px 30px 8px 12px; cursor:pointer; max-width:100%; }
button:disabled { opacity:.5; cursor:default; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; z-index:10; left:20px; top:-80px; background:var(--gold); color:#16141d; padding:12px; }
.skip-link:focus { top:12px; }
.site-header,.site-footer { width:calc(100% - 80px); max-width:1440px; margin:auto; display:flex; justify-content:space-between; align-items:center; gap:24px; }
.site-header { min-height:100px; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:20px; }
.brand img { width:100px; height:auto; display:block; }
.brand span { font-size:10px; font-weight:650; letter-spacing:2px; color:var(--muted); border-left:1px solid #41404a; padding-left:20px; }
.site-header nav,.site-footer nav { display:flex; gap:28px; align-items:center; font-size:13px; }
.site-header nav a { padding:10px 0; }
.site-header nav .active { color:var(--gold); }
.site-header nav span { margin-left:8px; color:var(--muted); }
.game-main { width:calc(100% - 80px); max-width:var(--player-width); margin:30px auto 0; }
.game-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.eyebrow { color:var(--gold); font-size:10px; font-weight:650; letter-spacing:2.1px; margin:0 0 9px; }
h1 { margin:0; font-size:27px; font-weight:650; letter-spacing:-.7px; }
.game-heading h1 span { color:var(--muted); font-size:14px; font-weight:400; letter-spacing:0; padding-left:14px; }
.edition { font-size:12px; color:var(--muted); white-space:nowrap; display:flex; align-items:center; gap:8px; }
.edition>span { width:6px; height:6px; border-radius:100%; background:#a4bfa2; }
.game-shell { border:1px solid #44414a; border-radius:10px; background:var(--panel); overflow:hidden; box-shadow:0 24px 80px #0005; }
.player-toolbar { padding:12px 18px; display:flex; justify-content:space-between; align-items:center; gap:16px; border-bottom:1px solid #423a3b; }
.player-state { display:flex; align-items:center; gap:9px; font-size:12px; color:#c4bfcd; }
.state-dot { height:6px; width:6px; background:var(--gold); border-radius:50%; flex-shrink:0; }
.is-ready .state-dot { background:#9ac1a2; }
.player-controls { display:flex; align-items:center; gap:10px; font-size:12px; }
.player-controls label { color:var(--muted); margin-right:2px; }
#fullscreen { display:flex; align-items:center; gap:8px; }
#fullscreen svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; }
.game-stage { position:relative; background:#0b0c13; display:grid; place-items:center; }
.game-viewport { width:100%; aspect-ratio:16 / 9; position:relative; overflow:hidden; }
#unity-canvas { width:100%; height:100%; display:block; touch-action:none; background:#141321; }
.loading-screen { position:absolute; inset:0; display:grid; place-items:center; background:radial-gradient(ellipse at 50% 42%,#353047 0%,#1a1b2a 45%,#11131e 90%); overflow:hidden; }
.loading-screen::before { content:""; position:absolute; width:440px; height:440px; max-width:70%; max-height:85%; border:1px solid #d7b47a12; border-radius:50%; box-shadow:0 0 0 40px #d7b47a04,0 0 0 80px #d7b47a03; pointer-events:none; }
.loading-content { position:relative; width:min(78%,390px); text-align:center; padding:20px 0; }
.loading-logo { display:block; width:78%; height:auto; margin:0 auto 4px; filter:drop-shadow(0 12px 20px #0005); }
.loading-tagline { color:#e7dac5; font-family:Georgia,serif; font-size:18px; margin:0 0 32px; }
.progress-caption { display:flex; justify-content:space-between; gap:10px; text-align:left; color:#c9c3d3; font-size:12px; margin-bottom:10px; }
#loading-percent { color:var(--gold); font-variant-numeric:tabular-nums; }
progress { display:block; width:100%; height:7px; border:0; border-radius:10px; overflow:hidden; appearance:none; background:#3d3747; accent-color:var(--gold); }
progress::-webkit-progress-bar { background:#3d3747; border-radius:10px; }
progress::-webkit-progress-value { background:linear-gradient(90deg,#a67b40,#efcb87); border-radius:10px; transition:width .2s; }
progress::-moz-progress-bar { background:linear-gradient(90deg,#a67b40,#efcb87); border-radius:10px; }
.loading-note { color:#aaa4b6; font-size:11px; line-height:1.5; margin:13px 0 0; }
.loading-signature { position:absolute; bottom:12px; font-size:8px; letter-spacing:4px; color:#82788c; }
.gold-button { background:#d6ae69; color:#18151d; border-color:#e5bb72; margin-top:15px; }
.gold-button:hover { background:#ebc788; }
.player-bottom { padding:13px 18px; display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:11px; color:var(--muted); border-top:1px solid #33303a; }
.small-diamond { color:var(--gold); font-size:10px; margin-right:8px; }
.play-hint { text-align:center; color:#9b96a8; font-size:12px; line-height:1.6; margin:20px 0 30px; }
.site-footer { border-top:1px solid var(--line); padding:23px 0; color:var(--muted); font-size:12px; }
.site-footer p { margin:0; }
.site-footer nav { font-size:12px; gap:24px; }
#status,.notice { margin:16px 0; padding:15px 18px; border:1px solid #8e5960; background:#3d2630; color:#ffe0dc; border-radius:6px; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.game-stage:fullscreen { width:100vw; height:100vh; }
.game-stage:fullscreen .game-viewport { width:min(100vw,177.7778vh); height:auto; aspect-ratio:16 / 9; }
.exit-fullscreen { position:absolute; z-index:2; top:12px; right:12px; background:#161724dc; font-size:12px; }
.legal-main { width:calc(100% - 80px); max-width:1120px; margin:54px auto 70px; }
.legal-header { border-bottom:1px solid var(--line); padding-bottom:30px; margin-bottom:36px; }
.legal-header h1 { font-family:Georgia,serif; font-size:44px; font-weight:400; letter-spacing:-1px; margin:10px 0 16px; }
.legal-subtitle { color:var(--muted); margin:0; line-height:1.8; font-size:14px; }
.legal-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:65px; align-items:start; }
.legal-toc { position:sticky; top:30px; font-size:12px; }
.legal-toc p { color:var(--gold); letter-spacing:1.5px; font-size:10px; margin:0 0 16px; }
.legal-toc a { display:block; color:var(--muted); line-height:1.5; padding:6px 0; }
.legal-toc a:hover { color:var(--gold); }
.legal-copy { font-size:15px; line-height:1.85; color:#c9c6d1; }
.legal-copy section { scroll-margin-top:26px; margin-bottom:34px; }
.legal-copy h2 { font-size:21px; font-weight:550; color:var(--text); line-height:1.4; margin:0 0 16px; }
.legal-copy h3 { font-size:17px; color:var(--text); margin:24px 0 12px; font-weight:550; }
.legal-copy p { margin:12px 0; }
.legal-copy ul { padding-left:22px; }
.legal-copy li { padding-left:4px; margin:5px 0; }
.legal-copy a { color:var(--gold); text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
@media (min-width:900px) and (min-height:700px) { .play-page .game-main { max-width:min(var(--player-width),calc((100vh - 345px) * 16 / 9)); min-width:760px; } }
@media (max-width:760px) {
  .site-header,.site-footer,.game-main,.legal-main { width:calc(100% - 32px); }
  .site-header { min-height:82px; }
  .brand img { width:80px; }
  .brand span { display:none; }
  .site-header nav { gap:20px; font-size:12px; }
  .game-main { margin-top:24px; }
  .game-heading h1 { font-size:23px; }
  .game-heading h1 span { display:block; padding:5px 0 0; font-size:12px; }
  .edition { font-size:10px; }
  .player-toolbar { padding:10px 12px; flex-wrap:wrap; gap:12px; }
  .player-controls { flex:1; justify-content:flex-end; }
  .player-state { font-size:11px; }
  .player-controls label { font-size:11px; }
  .player-bottom { font-size:10px; padding:12px; }
  .loading-content { width:min(65%,330px); padding:8px 0; }
  .loading-logo { width:60%; max-height:140px; object-fit:contain; }
  .loading-tagline { font-size:14px; margin-bottom:16px; }
  .loading-signature { display:none; }
  .loading-note { font-size:10px; margin-top:8px; }
  .progress-caption { font-size:10px; margin-bottom:6px; }
  .site-footer { flex-direction:column; gap:17px; padding:24px 0; }
  .site-footer nav { gap:20px; flex-wrap:wrap; justify-content:center; }
  .legal-main { margin-top:35px; }
  .legal-header h1 { font-size:36px; }
  .legal-layout { grid-template-columns:1fr; gap:30px; }
  .legal-toc { position:static; border-bottom:1px solid var(--line); padding-bottom:24px; columns:2; column-gap:20px; }
  .legal-toc p { column-span:all; }
  .legal-toc a { break-inside:avoid; }
  .legal-copy { font-size:14px; }
}
@media (max-width:440px) {
  .player-state { width:100%; }
  .player-controls { justify-content:space-between; gap:7px; }
  #fullscreen span { display:none; }
  .edition { display:none; }
  .loading-content { width:78%; }
  .loading-logo { width:46%; max-height:90px; }
  .loading-tagline { font-size:12px; margin:0 0 12px; }
  .player-bottom { flex-direction:column; align-items:flex-start; gap:6px; }
  .play-hint { font-size:11px; }
  .loading-screen.has-error .loading-logo { display:none; }
}
.game-cursor { position:fixed; width:40px; height:44px; margin-left:-3.2px; margin-top:-1.8px; z-index:20; pointer-events:none; user-select:none; transform-origin:3.2px 1.8px; }
.game-cursor[hidden] { display:none; }
.game-cursor.is-pressed { transform:scale(.9); }
#unity-canvas.has-gauntlet-cursor { cursor:none !important; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } progress::-webkit-progress-value { transition:none; } .game-cursor.is-pressed { transform:none; } }
@media print { body { background:#fff; color:#111; } .site-header,.site-footer,.legal-toc { display:none; } .legal-main { width:100%; margin:0; } .legal-layout { display:block; } .legal-copy,.legal-copy h2,.legal-copy h3,.legal-subtitle { color:#222; } .legal-copy a { color:#333; } }
