:root { --canvas: #06110b; --mint: #e8fbe9; --surface: #ffffff; --ink: #0b1f14; --ink-soft: #3d5a47; --green: #00c805; --green-dark: #0a8f2f; --pink: #ff2fb0; --red: #ff3b30; --gold: #f2b705; --line: rgba(11,31,20,.12); --gutter: clamp(16px, 4vw, 40px);
  --outline: 0 0 2px #0a8f2f, 2px 2px 0 #06110b, -1px -1px 0 #0a8f2f, 1px -1px 0 #0a8f2f, -1px 1px 0 #0a8f2f, 0 0 18px rgba(0,200,5,.55); --font-display: "Bricolage Grotesque", system-ui, sans-serif; --font-body: Inter, system-ui, sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace; color-scheme: only light; }
* { box-sizing: border-box; } html, body { margin: 0; } body { background: var(--canvas); color: #fff; font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
.world { position: fixed; inset: 0; z-index: 0; background: #06110b; } .world canvas { display: block; width: 100%; height: 100%; } .world .poster { position: absolute; inset: 0; } .world .poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .8s; } .world.is-live .poster { opacity: 0; pointer-events: none; }
.intro { position: fixed; inset: 0; z-index: 40; background: #06110b; pointer-events: none; transition: opacity 1.2s ease; } html.ready .intro { opacity: 0; }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 15px; text-shadow: var(--outline); } .mark { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0; background: var(--green); color: #fff; font: 800 15px var(--font-display); letter-spacing: .02em; text-decoration: none; box-shadow: 0 0 22px rgba(0,200,5,.6); cursor: pointer; transition: transform .15s; } .btn:hover { transform: translateY(-1px); }
.scene { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; padding: 84px var(--gutter) 40px; pointer-events: none; touch-action: pan-y; } .scene a, .scene button, .scene input { pointer-events: auto; }
.copy { max-width: 640px; } .kicker { margin: 0 0 6px; font: 700 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #bfffd0; text-shadow: var(--outline); }
h1 { margin: 0; font: 900 clamp(2.3rem, 6vw, 4.8rem)/.96 var(--font-display); letter-spacing: -.03em; color: #fff; text-shadow: var(--outline); }
.lead { margin: 12px 0 0; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.5; font-weight: 600; color: #fff; text-shadow: var(--outline); max-width: 58ch; }
.sr-numbers { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hud { position: absolute; z-index: 5; left: var(--gutter); bottom: 34px; display: grid; gap: 4px; justify-items: start; }
.hud .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.3rem); letter-spacing: -.02em; color: #fff; text-shadow: var(--outline); } .hud .dim { font-size: 12.5px; font-weight: 700; color: #fff; text-shadow: var(--outline); }
.ca { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); border: 1.5px solid var(--green); font-family: var(--font-mono); font-size: 12px; color: var(--ink); max-width: 100%; }
.ca .ca-l { color: var(--green-dark); font-weight: 700; letter-spacing: .08em; } .ca code { font-family: inherit; word-break: break-all; }
.ca button, .ca a { border: 0; border-radius: 999px; padding: 5px 10px; background: var(--green); color: #fff; font: 700 12px var(--font-body); cursor: pointer; text-decoration: none; } .ca a { background: var(--ink); }
.zoom { position: absolute; right: 18px; bottom: 44px; display: flex; flex-direction: column; gap: 6px; z-index: 5; } .zoom button { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--green); background: rgba(6,17,11,.85); color: #bfffd0; font: 700 22px/1 var(--font-body); cursor: pointer; }
.legend { position: absolute; right: 18px; bottom: 12px; display: flex; gap: 14px; font-size: 12px; font-weight: 700; color: #fff; text-shadow: var(--outline); } .legend .d { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; } .legend .e { background: #00ff2a; } .legend .p { background: var(--gold); }
.paying-toast { position: absolute; z-index: 5; right: var(--gutter); top: 84px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 24px rgba(0,200,5,.6); } .pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1s infinite; } @keyframes blink { 50% { opacity: .3; } }
.strips { position: absolute; z-index: 5; right: var(--gutter); top: 136px; display: grid; gap: 6px; width: min(360px, calc(100vw - 36px)); } .strip { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--pink); color: #fff; font: 700 12.5px var(--font-body); box-shadow: 0 0 18px rgba(255,47,176,.55); animation: strip 6.2s ease forwards; pointer-events: auto; } .strip a { color: #fff; } @keyframes strip { 0% { transform: translateX(40px); opacity: 0; } 8% { transform: none; opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
.check { position: relative; z-index: 2; background: var(--mint); color: var(--ink); padding: 44px var(--gutter) 40px; border-top: 6px solid var(--green); } .check-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; max-width: 1200px; margin: 0 auto; }
h2 { font: 800 clamp(1.4rem, 3vw, 2rem) var(--font-display); letter-spacing: -.02em; margin: 0 0 12px; }
.check-f { display: flex; gap: 8px; } .check-f input { flex: 1; min-width: 0; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); padding: 10px 16px; font: 500 14px var(--font-mono); background: var(--surface); }
.check-out { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; } .check-out.ok { border-color: var(--green); } .check-out.no { border-color: var(--red); } .check-out.mid { border-color: var(--gold); }
.rules { margin: 14px 0 0; padding-left: 18px; color: var(--ink-soft); line-height: 1.5; font-size: 14px; } .rules li + li { margin-top: 6px; }
.rounds { display: grid; gap: 6px; font-size: 13px; } .round { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; } a.round { color: inherit; text-decoration: none; } a.round:hover { border-color: var(--green); } .dim { color: var(--ink-soft); }
.crowd { display: block; margin: 30px auto 0; width: min(520px, 80%); height: auto; }
.foot { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 30px; font: 600 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .scene { padding-top: 78px; } .copy { max-width: 100%; } .hud { bottom: 18px; } .legend { display: none; } .zoom { bottom: 120px; } .paying-toast { top: auto; bottom: 120px; right: 12px; left: 12px; justify-content: center; } .strips { top: 70px; right: 12px; } .check-grid { grid-template-columns: 1fr; } .ca { font-size: 11px; gap: 6px; padding: 5px 6px 5px 10px; } .ca code { font-size: 10px; } .ca a { display: none; } }
@media (prefers-reduced-motion: reduce) { .strip, .pulse { animation: none !important; } }

/* X link + language toggle in the header, Chinese font */
.top-r { display: flex; align-items: center; gap: 10px; }
.xlink { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: #0b1f14; color: #fff; border: 1.5px solid var(--green); box-shadow: 0 0 14px rgba(0,200,5,.4); transition: transform .15s; } .xlink:hover { transform: scale(1.08); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(6,17,11,.85); border: 1.5px solid var(--green); }
.lang button { white-space: nowrap; font: 700 12px var(--font-body); letter-spacing: .04em; color: #bfffd0; background: transparent; border: 0; border-radius: 999px; padding: 6px 10px; min-height: 32px; cursor: pointer; } .lang button.is-on { background: var(--green); color: #fff; }
html.zh body, html.zh h1, html.zh h2 { font-family: "Noto Sans SC", var(--font-body); }
@media (max-width: 760px) { .brand-t { display: none; } .lang button { padding: 6px 8px; white-space: nowrap; } .top-r { gap: 6px; } .btn { padding: 10px 14px; } }
