* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:root {
--bg:        #08080a;
--surface:   #101013;
--surface-2: #16161a;
--line:      rgba(255, 255, 255, 0.09);
--line-2:    rgba(255, 255, 255, 0.16);
--text:      #e7e5e2;
--muted:     #8d8a86;
--faint:     #5a5854;
--accent:    #b99a6b;
--danger:    #c4695c;
--ease:      cubic-bezier(0.22, 0.61, 0.24, 1);
--panel-w:   100vw;
--panel-h:   100vh;
--shift:     110px;
font-synthesis-weight: none;
}
html, body { height: 100%; overflow: hidden; }
body {
background: var(--bg);
color: var(--text);
font-family: ui-sans-serif, -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;
font-size: 15px;
-webkit-font-smoothing: antialiased;
user-select: none;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; color: inherit; background: none; border: none; outline: none; }
h1 { font-size: inherit; font-weight: inherit; }
.mono { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; }
.kicker {
font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
color: var(--faint); font-weight: 500;
}
#stage-shell { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }
#world {
position: absolute; top: 0; left: 0;
transform-origin: 0 0;
transition: transform 780ms var(--ease);
will-change: transform;
}
#world.no-anim { transition: none; }
.panel {
position: absolute; top: 0;
width: var(--panel-w); height: var(--panel-h);
overflow: hidden;
background: var(--surface);
}
.panel::after {
content: ""; position: absolute; inset: 0; pointer-events: none;
border: 1px solid transparent;
transition: border-color 400ms var(--ease);
}
.zoomed .panel::after { border-color: var(--line); }
.zoomed .panel:hover::after { border-color: var(--line-2); }
.zoomed .panel.focused::after { border-color: rgba(185, 154, 107, 0.55); }
.zoomed .panel.unlocked { cursor: pointer; }
.panel-bg { position: absolute; inset: 0; }
.panel[data-stage="1"] .panel-bg { background: radial-gradient(120% 90% at 50% 15%, #16243a, #08080a 70%); }
.panel[data-stage="2"] .panel-bg { background: radial-gradient(115% 90% at 55% 50%, #1b2416, #08080a 72%); }
.panel[data-stage="3"] .panel-bg { background: radial-gradient(110% 90% at 55% 40%, #1a1a1c, #08080a 70%); }
.panel[data-stage="4"] .panel-bg { background: radial-gradient(100% 80% at 50% 70%, #0e2019, #08080a 72%); }
.panel[data-stage="5"] .panel-bg { background: radial-gradient(110% 80% at 40% 60%, #0d2028, #08080a 72%); }
.panel[data-stage="6"] .panel-bg { background: radial-gradient(110% 85% at 45% 55%, #241c16, #08080a 72%); }
.panel[data-stage="7"] .panel-bg { background: radial-gradient(110% 85% at 60% 45%, #10201f, #08080a 72%); }
.panel[data-stage="8"] .panel-bg { background: radial-gradient(120% 90% at 50% 30%, #22201c, #08080a 70%); }
.panel[data-stage="9"] .panel-bg { background: radial-gradient(120% 90% at 50% 65%, #1d1726, #08080a 72%); }
.stage-content { position: absolute; inset: 0; pointer-events: none; }
.panel.live .stage-content { pointer-events: auto; }
body.zoomed .stage-content { pointer-events: none !important; }
.panel-lock {
position: absolute; inset: 0; z-index: 6; pointer-events: none;
background: #050506;
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 14px;
}
.panel.unlocked .panel-lock { display: none; }
.panel-lock .inner {
display: flex; flex-direction: column; align-items: center; gap: 14px;
transform: scale(var(--inv, 1));
}
.panel-lock .lock-num {
font-size: 84px; font-weight: 200; letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.08);
}
.panel-lock .lock-count { font-size: 12px; letter-spacing: 0.14em; color: var(--faint); }
.panel-cap {
position: absolute; left: 0; bottom: 0; z-index: 7; pointer-events: none;
width: calc(100% * var(--zoom, 1));
transform: scale(var(--inv, 1));
transform-origin: 0 100%;
padding: 22px 16px;
display: flex; align-items: baseline; gap: 10px;
background: linear-gradient(transparent, rgba(5, 5, 6, 0.88));
opacity: 0; transition: opacity 400ms var(--ease);
}
.zoomed .panel-cap { opacity: 1; }
.panel-cap > span { white-space: nowrap; }
.panel-cap .cap-num {
font-size: 11px; letter-spacing: 0.2em; color: var(--accent); font-weight: 500;
}
.panel-cap .cap-name {
font-size: 18px; font-weight: 300; letter-spacing: 0.03em; color: var(--text);
flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.panel:not(.unlocked) .panel-cap .cap-name { color: var(--faint); }
.panel-cap .cap-count { margin-left: auto; font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }
.panel-cap .cap-done { color: var(--accent); font-size: 12px; }
#emotes, #travels { position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none; }
.emote-pop {
position: absolute; top: 0; left: 0;
font-size: 26px; line-height: 1;
animation: emote-rise 3000ms cubic-bezier(0.2, 0.5, 0.4, 1) forwards;
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
will-change: transform, opacity;
}
.emote-pop span {
display: block;
padding: 4px;
border-radius: 50%;
background: radial-gradient(circle, hsl(var(--h) 24% 42% / 0.34) 0%, transparent 70%);
}
@keyframes emote-rise {
0% { opacity: 0; transform: translate(-50%, 0) scale(0.55); }
10% { opacity: 1; transform: translate(calc(-50% + var(--dx) * 0.2), -26px) scale(1); }
78% { opacity: 0.9; }
100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -230px) scale(0.92); }
}
.travel-pop {
position: absolute; top: 0; left: 0;
font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
color: #d9d4c9; white-space: nowrap;
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
animation: travel-rise 4200ms cubic-bezier(0.2, 0.5, 0.4, 1) forwards;
will-change: transform, opacity;
}
.travel-pop::before {
content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
background: hsl(var(--h) 24% 55%); margin-right: 8px; vertical-align: 1px;
}
@keyframes travel-rise {
0% { opacity: 0; transform: translate(-50%, 0); }
10% { opacity: 1; transform: translate(calc(-50% + var(--dx) * 0.2), -20px); }
76% { opacity: 0.85; }
100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -170px); }
}
@media (prefers-reduced-motion: reduce) {
.emote-pop, .travel-pop { animation-name: emote-fade; transform: translate(-50%, -30px); }
@keyframes emote-fade {
0% { opacity: 0; }
15% { opacity: 1; }
80% { opacity: 1; }
100% { opacity: 0; }
}
}
#hud { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
#hud > * { pointer-events: auto; }
#hud-left {
position: absolute; top: 22px; left: 26px;
display: flex; align-items: center; gap: 12px;
font-size: 12px; letter-spacing: 0.1em; color: var(--muted);
}
#hud-marble {
width: 16px; height: 16px; border-radius: 50%;
box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.45);
}
#hud-name { color: var(--text); letter-spacing: 0.12em; }
.hud-div { width: 1px; height: 12px; background: var(--line-2); }
#hud-stage { text-transform: uppercase; font-size: 10px; letter-spacing: 0.2em; }
#hud-cleared {
text-transform: uppercase; font-size: 10px; letter-spacing: 0.2em;
color: var(--accent);
}
#hud-right { position: absolute; top: 18px; right: 22px; display: flex; gap: 2px; }
.icon-btn {
width: 34px; height: 34px; border-radius: 3px;
display: grid; place-items: center; color: var(--muted);
transition: color 200ms, background 200ms;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.icon-btn.off { color: var(--faint); }
.icon-btn.off::after {
content: ""; position: absolute; width: 20px; height: 1px;
background: currentColor; transform: rotate(-45deg);
}
.icon-btn { position: relative; }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[data-tip]::before {
content: attr(data-tip);
position: absolute; top: calc(100% + 7px); right: 0;
z-index: 30;
padding: 7px 10px;
white-space: nowrap;
font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
color: var(--text);
background: rgba(14, 14, 17, 0.97);
border: 1px solid var(--line-2);
border-radius: 3px;
backdrop-filter: blur(10px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
opacity: 0; transform: translateY(-4px);
transition: opacity 150ms var(--ease), transform 150ms var(--ease);
pointer-events: none;
}
.icon-btn[data-tip]:hover::before,
.icon-btn[data-tip]:focus-visible::before { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
.icon-btn[data-tip]::before { transition: none; transform: none; }
}
.nav-arrow {
position: absolute; top: 50%; transform: translateY(-50%);
width: 46px; height: 76px;
color: var(--faint);
transition: color 220ms, background 220ms;
display: grid; place-items: center;
}
.nav-arrow:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-arrow::before {
content: ""; width: 9px; height: 9px;
border-top: 1px solid currentColor; border-right: 1px solid currentColor;
}
#nav-prev { left: 0; }
#nav-prev::before { transform: rotate(-135deg); }
#nav-next { right: 0; }
#nav-next::before { transform: rotate(45deg); }
#hud-foot { position: absolute; bottom: 24px; left: 26px; display: flex; align-items: stretch; gap: 8px; }
#hud-count {
display: flex; align-items: center; gap: 8px;
padding: 9px 16px; border: 1px solid var(--line); border-radius: 2px;
font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--muted); background: rgba(8, 8, 10, 0.6);
backdrop-filter: blur(6px);
font-variant-numeric: tabular-nums;
}
#hud-count b { color: var(--text); font-weight: 500; font-size: 12px; }
#hud-count i { font-style: normal; }
.ghost-btn {
padding: 9px 20px; border: 1px solid var(--line);
border-radius: 2px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--muted); background: rgba(8, 8, 10, 0.6);
backdrop-filter: blur(6px);
transition: color 220ms, border-color 220ms;
}
.ghost-btn:hover { color: var(--text); border-color: var(--line-2); }
#hud-foot .icon-btn {
width: auto; height: auto; padding: 0 12px;
border: 1px solid var(--line); border-radius: 2px;
background: rgba(8, 8, 10, 0.6); backdrop-filter: blur(6px);
}
#hud-foot .icon-btn:hover { border-color: var(--line-2); }
#hud-foot .icon-btn[data-tip]::before {
top: auto; bottom: calc(100% + 7px); right: auto; left: 0;
transform: translateY(4px);
}
#hud-foot .icon-btn[data-tip]:hover::before,
#hud-foot .icon-btn[data-tip]:focus-visible::before { transform: translateY(0); }
#emote-menu {
position: absolute; bottom: 46px; left: 0;
display: grid; grid-template-columns: repeat(4, 38px); gap: 2px;
padding: 6px; background: rgba(14, 14, 17, 0.94);
border: 1px solid var(--line); border-radius: 3px;
backdrop-filter: blur(10px);
}
#emote-menu button {
height: 34px; font-size: 17px; border-radius: 2px;
transition: background 160ms;
filter: saturate(0.85);
}
#emote-menu button:hover { background: rgba(255, 255, 255, 0.07); }
#notice {
position: absolute; inset: 0; z-index: 40;
display: grid; place-items: center;
background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(6px);
animation: fade 320ms var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.notice-card {
width: min(420px, 88vw); padding: 40px;
background: var(--surface); border: 1px solid var(--line);
text-align: center;
}
.notice-kicker {
font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
color: var(--accent); margin-bottom: 18px;
}
#notice-text { font-size: 21px; font-weight: 300; line-height: 1.5; letter-spacing: 0.01em; }
#notice-go {
margin-top: 28px; padding: 11px 30px;
border: 1px solid var(--line-2); border-radius: 2px;
font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
transition: background 220ms, border-color 220ms;
}
#notice-go:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--accent); }
#help {
position: absolute; inset: 0; z-index: 60;
display: grid; place-items: center; padding: 28px; overflow: auto;
background: rgba(5, 5, 7, 0.78); backdrop-filter: blur(7px);
animation: fade 260ms var(--ease);
}
.help-card {
position: relative; width: min(560px, 94vw); padding: 40px;
background: var(--surface); border: 1px solid var(--line);
animation: rise 420ms var(--ease);
}
#help-close {
position: absolute; top: 12px; right: 14px;
width: 32px; height: 32px; font-size: 22px; line-height: 1;
color: var(--faint); transition: color 200ms;
}
#help-close:hover { color: var(--text); }
.help-kicker {
font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
}
.help-card h2 {
font-size: 30px; font-weight: 200; letter-spacing: 0.18em;
text-transform: uppercase; margin: 10px 0 26px;
}
.help-body {
font-size: 15.5px; font-weight: 300; line-height: 1.75;
letter-spacing: 0.01em; color: var(--text);
}
.help-body + .help-body { margin-top: 18px; }
.help-body.luck { color: var(--accent); letter-spacing: 0.06em; }
.help-body a {
color: var(--accent); text-decoration: none;
border-bottom: 1px solid rgba(185, 154, 107, 0.35);
transition: color 200ms, border-color 200ms;
}
.help-body a:hover { color: #d8bd90; border-bottom-color: #d8bd90; }
#help-code, #notice-code { margin-top: 22px; }
#help-code p, #notice-code p {
font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-bottom: 12px;
}
#help-code code, #notice-code code {
display: block; padding: 14px 16px; word-break: break-all;
background: rgba(185, 154, 107, 0.1); border: 1px solid rgba(185, 154, 107, 0.45);
font-family: ui-monospace, "SF Mono", Menlo, monospace;
font-size: 13px; letter-spacing: 0.04em; color: #f2e6cd; text-align: center;
user-select: all;
}
.copy-code {
margin-top: 12px; padding: 9px 20px; border: 1px solid var(--line-2);
font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
transition: color 200ms, background 200ms;
}
.copy-code:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.made-by {
display: flex; align-items: center; justify-content: center; gap: 12px;
margin-top: 26px;
font-size: 14.5px; letter-spacing: 0.1em; text-transform: uppercase;
color: var(--muted); text-decoration: none;
transition: color 220ms;
}
.made-by:hover { color: var(--text); }
.made-by svg {
width: 27px; height: 27px; flex: 0 0 27px;
fill: none; stroke: currentColor; stroke-width: 1.3;
}
.made-by:hover svg { stroke: #c4302b; }
.made-by svg .fill { fill: currentColor; stroke: none; }
#banner {
position: absolute; top: 0; left: 0; right: 0; z-index: 45;
display: flex; align-items: center; gap: 10px;
padding: 11px 14px;
font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
color: #0b0a08; background: var(--accent);
}
#banner-text { flex: 1; text-align: center; }
#banner-close {
flex: none; width: 22px; height: 22px; line-height: 1;
border: 1px solid rgba(11, 10, 8, 0.35); border-radius: 2px;
background: transparent; color: #0b0a08;
font-size: 15px; letter-spacing: 0; cursor: pointer;
transition: background 160ms, border-color 160ms;
}
#banner-close:hover { background: rgba(11, 10, 8, 0.14); border-color: rgba(11, 10, 8, 0.6); }
#toast {
position: absolute; bottom: 26px; left: 50%;
transform: translate(-50%, 8px); z-index: 46;
padding: 10px 20px; max-width: 70vw;
background: rgba(14, 14, 17, 0.95); border: 1px solid var(--line);
font-size: 12px; letter-spacing: 0.05em; color: var(--text); text-align: center;
opacity: 0; transition: opacity 260ms, transform 260ms; pointer-events: none;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#auth-screen {
position: fixed; inset: 0; z-index: 100;
display: grid; place-items: center; padding: 28px; overflow: auto;
background: rgba(6, 6, 8, 0.72);
backdrop-filter: blur(7px) saturate(0.8);
}
#auth-embers {
position: absolute; inset: 0; width: 100%; height: 100%;
pointer-events: none; z-index: 0;
}
.auth-glow {
position: absolute; left: 50%; top: 50%; z-index: 0;
width: min(1100px, 120vw); aspect-ratio: 1;
transform: translate(-50%, -50%);
pointer-events: none;
background: radial-gradient(circle,
rgba(185, 154, 107, 0.13) 0%,
rgba(185, 154, 107, 0.05) 34%,
transparent 68%);
animation: auth-breathe 15s ease-in-out infinite alternate;
}
@keyframes auth-breathe {
from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); }
to   { opacity: 1;    transform: translate(-50%, -50%) scale(1.12); }
}
.auth-card {
position: relative; z-index: 1;
width: min(400px, 94vw); padding: 44px 40px;
background: rgba(16, 16, 19, 0.96);
border: 1px solid var(--line);
animation: rise 900ms var(--ease);
}
@keyframes rise {
from { opacity: 0; transform: translateY(20px) scale(0.985); filter: blur(3px); }
}
@keyframes auth-in { from { opacity: 0; transform: translateY(12px); } }
.auth-num           { animation: auth-in 760ms var(--ease)  340ms backwards; }
.auth-brand h1      { animation: auth-in 900ms var(--ease)  460ms backwards; }
.auth-prize         { animation: auth-in 860ms var(--ease)  700ms backwards; }
.auth-hall          { animation: auth-in 800ms var(--ease)  820ms backwards; }
.tabs               { animation: auth-in 760ms var(--ease)  940ms backwards; }
#auth-form          { animation: auth-in 760ms var(--ease) 1060ms backwards; }
.auth-card .made-by { animation: auth-in 760ms var(--ease) 1200ms backwards; }
.auth-rules         { animation: auth-in 760ms var(--ease) 1320ms backwards; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
.auth-brand h1 {
background-image: linear-gradient(100deg,
var(--text) 42%, #fff6dc 50%, var(--text) 58%);
background-size: 320% 100%;
background-position: 100% 0;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation:
auth-in 900ms var(--ease) 460ms backwards,
auth-sweep 9s ease-in-out 2s infinite;
}
}
@keyframes auth-sweep {
0%, 62%  { background-position: 100% 0; }
92%, 100% { background-position: 0 0; }
}
body.pre-auth .panel[data-stage="1"] .panel-bg {
animation: auth-drift 52s var(--ease) infinite alternate;
}
@keyframes auth-drift {
from { transform: scale(1.05) translate3d(-1.4%, 0.8%, 0); }
to   { transform: scale(1.13) translate3d(1.4%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
.auth-card,
.auth-num, .auth-brand h1, .auth-prize, .auth-hall, .tabs, #auth-form, .auth-card .made-by, .auth-rules,
.auth-glow,
body.pre-auth .panel[data-stage="1"] .panel-bg {
animation: none !important;
}
.auth-brand h1 { color: var(--text); }
}
.auth-brand { text-align: center; margin-bottom: 30px; }
.auth-num {
display: block; font-size: 10px; letter-spacing: 0.42em;
color: var(--accent); margin-bottom: 14px;
}
.auth-brand h1 {
font-size: clamp(24px, 3vw, 32px); font-weight: 200; letter-spacing: 0.16em;
text-transform: uppercase; margin-left: 0.16em; white-space: nowrap;
}
.auth-prize {
margin: 20px auto 0; padding: 14px 18px; max-width: 300px;
border: 1px solid rgba(185, 154, 107, 0.4); background: rgba(185, 154, 107, 0.07);
font-size: 14px; letter-spacing: 0.04em; color: var(--text); line-height: 1.5;
}
.auth-prize b { color: var(--accent); font-size: 19px; font-weight: 400; letter-spacing: 0.02em; }
.auth-hall {
margin: 12px auto 0; max-width: 300px;
font-size: 11.5px; line-height: 1.6; color: var(--muted); letter-spacing: 0.02em;
}
.auth-rules {
margin: 14px auto 0; text-align: center;
font-size: 11.5px; line-height: 1.6; color: var(--muted); letter-spacing: 0.02em;
}
.auth-hall a, .auth-rules a {
color: var(--accent); text-decoration: none;
border-bottom: 1px solid rgba(185, 154, 107, 0.35);
transition: color 200ms, border-color 200ms;
}
.auth-hall a:hover, .auth-rules a:hover { color: #d8bd90; border-bottom-color: #d8bd90; }
.desktop-card .auth-rules { font-size: 11.5px; margin: 16px auto 0; }
.rules { list-style: none; margin-bottom: 32px; border-top: 1px solid var(--line); }
.rules li {
display: flex; gap: 16px; align-items: baseline;
padding: 11px 0; border-bottom: 1px solid var(--line);
}
.rules span {
flex: 0 0 58px; font-size: 9px; letter-spacing: 0.16em;
text-transform: uppercase; color: var(--faint);
}
.rules b { font-size: 12.5px; font-weight: 400; color: var(--text); letter-spacing: 0.02em; line-height: 1.45; }
.tabs { display: flex; gap: 26px; margin-bottom: 22px; }
.tab {
padding: 0 0 8px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
color: var(--faint); border-bottom: 1px solid transparent;
transition: color 220ms, border-color 220ms;
}
.tab:hover { color: var(--muted); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
#auth-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.field input {
padding: 9px 2px; border-bottom: 1px solid var(--line-2);
font-size: 15px; letter-spacing: 0.05em;
transition: border-color 220ms;
}
.field input:focus { border-bottom-color: var(--accent); }
#auth-submit {
margin-top: 8px; padding: 13px;
border: 1px solid var(--line-2);
font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
transition: background 240ms, border-color 240ms;
}
#auth-submit:hover { background: rgba(185, 154, 107, 0.12); border-color: var(--accent); }
#auth-error { min-height: 15px; font-size: 11.5px; color: var(--danger); letter-spacing: 0.04em; text-align: center; }
.stage-title {
position: absolute; top: 74px; left: calc(50% + var(--shift));
transform: translateX(-50%); z-index: 4;
max-width: 62%; text-align: center;
font-size: clamp(22px, 2.6vw, 34px); font-weight: 250;
letter-spacing: 0.06em; line-height: 1.35; color: #f8f7f5;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 26px rgba(0, 0, 0, 0.75);
}
.answer {
position: absolute; bottom: 84px; left: calc(50% + var(--shift));
transform: translateX(-50%); z-index: 4;
display: flex; align-items: center; gap: 14px;
padding-bottom: 8px; border-bottom: 1px solid var(--line-2);
width: min(430px, 52vw);
transition: border-color 260ms, transform 120ms;
}
.answer:focus-within { border-bottom-color: var(--accent); }
.answer input {
flex: 1; font-size: 16px; letter-spacing: 0.05em; text-align: center;
color: #f1efec;
}
.answer input::placeholder { color: var(--faint); letter-spacing: 0.12em; font-size: 13px; }
.answer button {
width: 26px; height: 26px; display: grid; place-items: center;
color: var(--muted); transition: color 200ms;
}
.answer button::before {
content: ""; width: 7px; height: 7px;
border-top: 1px solid currentColor; border-right: 1px solid currentColor;
transform: rotate(45deg);
}
.answer button:hover { color: var(--accent); }
.answer.wrong { border-bottom-color: var(--danger); animation: nudge 260ms var(--ease); }
@keyframes nudge {
25% { transform: translateX(calc(-50% - 5px)); }
75% { transform: translateX(calc(-50% + 5px)); }
}
@keyframes xa1 {
0%   { transform: scale(1) rotate(0deg) translate(0, 0); }
22%  { transform: scale(1.008) rotate(0.13deg) translate(1.5px, -1px); }
48%  { transform: scale(1.006) rotate(-0.11deg) translate(-1.5px, 1px); }
74%  { transform: scale(1.003) rotate(0.05deg) translate(0.5px, 0); }
100% { transform: scale(1) rotate(0deg) translate(0, 0); }
}
.stage-content.xa5 { animation: xa1 460ms var(--ease); }
.xa3 {
position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
background: radial-gradient(60% 46% at 50% 44%, rgba(190, 214, 255, 0.5), transparent 70%);
mix-blend-mode: screen;
}
.xa3.on { animation: xa2 900ms var(--ease); }
@keyframes xa2 {
0% { opacity: 0; }
12% { opacity: 0.5; }
100% { opacity: 0; }
}
.xa4 {
position: absolute; bottom: 11%; left: calc(50% + var(--shift));
transform: translateX(-50%); z-index: 4;
display: flex; gap: 10px;
}
.xa4 span {
width: 44px; height: 44px;
display: grid; place-items: center;
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 5px;
font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
color: rgba(248, 247, 245, 0.82);
background: rgba(8, 8, 10, 0.42);
backdrop-filter: blur(6px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 -2px 0 rgba(255, 255, 255, 0.06);
cursor: pointer; user-select: none;
}
.xa4 span:hover { border-color: rgba(255, 255, 255, 0.45); color: #f8f7f5; }
.xa4 span:active { transform: translateY(1px); }
.xb4 {
animation: xb1 52s ease-in-out infinite alternate;
will-change: transform;
}
@keyframes xb1 {
from { transform: scale(1.025) translate3d(0.4%, -0.3%, 0); }
to   { transform: scale(1.08) translate3d(-0.6%, 0.5%, 0); }
}
.xb2 { animation: xb2 700ms steps(1) infinite; }
@keyframes xb2 {
0%   { background-position: 0 0, 0 0; opacity: 0.05; }
25%  { background-position: 2px 1px, -1px 2px; opacity: 0.045; }
50%  { background-position: -1px 2px, 2px -1px; opacity: 0.055; }
75%  { background-position: 1px -2px, -2px -2px; opacity: 0.05; }
}
.xb4.xb3 {
animation:
xb1 52s ease-in-out infinite alternate,
xb3 340ms var(--ease);
}
@keyframes xb3 {
0%, 100% { filter: grayscale(1) contrast(1.08) brightness(0.82); }
22% { filter: grayscale(1) contrast(1.18) brightness(0.62); }
40% { filter: grayscale(1) contrast(1.05) brightness(0.92); }
62% { filter: grayscale(1) contrast(1.12) brightness(0.76); }
}
@media (prefers-reduced-motion: reduce) {
.xb4, .xb2, .xb3 { animation: none; }
}
.xa4 span.hit { animation: xa6 650ms var(--ease); }
@keyframes xa6 {
0% {
border-color: rgba(190, 214, 255, 0.85);
color: #fff;
background: rgba(120, 150, 210, 0.26);
}
100% {
border-color: rgba(255, 255, 255, 0.22);
color: rgba(248, 247, 245, 0.82);
background: rgba(8, 8, 10, 0.42);
}
}
.xc1 {
position: absolute; inset: 0;
padding: 92px 8vw 56px calc(240px + 4vw);
display: flex; flex-direction: column;
background: linear-gradient(#07100c, #050807);
font-family: ui-monospace, "SF Mono", Menlo, monospace;
color: #86c9a3; font-size: 14px;
}
.xc1::after {
content: ""; position: absolute; inset: 0; pointer-events: none;
background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 4px);
}
.xc2 { flex: 1; overflow-y: auto; line-height: 1.75; white-space: pre-wrap; }
.xc2::-webkit-scrollbar { width: 4px; }
.xc2::-webkit-scrollbar-thumb { background: rgba(134, 201, 163, 0.2); }
.xc2 .u { color: #6f8f9e; }
.xc2 .sys { color: #3f6b54; }
.xc3 { display: flex; gap: 10px; align-items: center; margin-top: 16px; border-top: 1px solid rgba(134, 201, 163, 0.14); padding-top: 14px; }
.xc3 input { flex: 1; color: #cfe9db; font-family: inherit; font-size: 14px; }
.xc3 input::placeholder { color: #2f4d3c; }
.xd1 { position: absolute; inset: 0; background: #f4f2ee; cursor: crosshair; }
.panel:has(.xd1) .stage-title {
color: #171614;
text-shadow: 0 1px 12px rgba(255, 255, 255, 0.75);
}
.panel:has(.xd1) .answer input { color: #171614; }
.panel:has(.xd1) .answer { border-bottom-color: rgba(0, 0, 0, 0.28); }
.xd2 {
position: absolute; top: 132px; left: calc(50% + var(--shift));
transform: translateX(-50%); z-index: 4;
font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #5f5c58;
}
.xe1 {
position: absolute; inset: 0;
background: linear-gradient(160deg, #14343a, #0c1f24);
display: grid; place-items: center;
}
.xe2 { display: flex; gap: 46px; margin-left: var(--shift); }
.xe3 {
width: 104px; padding: 12px 6px;
display: flex; flex-direction: column; align-items: center; gap: 10px;
font-size: 11px; letter-spacing: 0.04em; color: #dfe7e6; text-align: center;
border: 1px solid transparent; border-radius: 2px;
}
.xe3:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
.xe3 .glyph { font-size: 40px; filter: saturate(0.7) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45)); }
.xe4 {
position: absolute; z-index: 5; pointer-events: none;
display: flex; flex-direction: column; align-items: center; gap: 6px;
color: #d2564a; animation: drop 1.3s var(--ease) infinite alternate;
}
.xe4 .lbl { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.xe4 .shaft { width: 1px; height: 34px; background: currentColor; }
.xe4 .head { width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -5px; }
@keyframes drop {
from { transform: translate(-50%, 0); }
to { transform: translate(-50%, 9px); }
}
.xf1 {
position: absolute; left: 24%; bottom: 7%; z-index: 2;
width: min(34vw, 460px); height: 86%;
background: bottom left / contain no-repeat;
filter: saturate(0.85) brightness(0.92);
transition: filter 180ms var(--ease), transform 180ms var(--ease);
}
.xf3 .xf1 { filter: saturate(1.05) brightness(1.06); transform: scale(1.015); }
.xf2 {
z-index: 4; font-style: italic; font-weight: 250;
color: #d8d3c4; max-width: 32%;
left: 38%;
top: 150px;
}
.stage-content.xf3::after {
content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
background: radial-gradient(115% 85% at 40% 45%, rgba(150, 32, 24, 0.12) 20%, rgba(168, 30, 20, 0.72) 100%);
animation: xf9 780ms var(--ease) infinite alternate;
}
@keyframes xf9 { from { opacity: 0.7; } to { opacity: 1; } }
.xf4 {
position: absolute; left: 73%; top: 46%; transform: translate(-50%, -50%); z-index: 4;
width: min(24vw, 356px); aspect-ratio: 356 / 182;
background: center / contain no-repeat;
filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
}
.xf5 {
position: absolute; left: 73%; top: calc(46% + min(9vw, 130px)); transform: translateX(-50%);
z-index: 4; width: min(24vw, 356px); height: 6px;
background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line);
}
.xf5 i {
display: block; height: 100%; width: 0;
background: var(--accent); transition: width 120ms linear;
}
.xf5::after {
content: attr(data-count);
position: absolute; top: 12px; left: 0; right: 0; text-align: center;
font-size: 10px; letter-spacing: 0.18em; color: var(--muted);
}
.xf6 {
position: absolute; left: 73%; top: calc(46% + min(13vw, 180px)); transform: translateX(-50%);
z-index: 5; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--danger); opacity: 0;
}
.xf6.show { animation: xg1 1400ms var(--ease); }
@keyframes xg1 { 0% { opacity: 0; } 10% { opacity: 1; } 100% { opacity: 0; } }
.xf7 {
position: absolute; left: 73%; top: calc(46% + min(11vw, 150px)); transform: translateX(-50%);
z-index: 6; font-size: clamp(20px, 2.4vw, 30px); font-weight: 250; letter-spacing: 0.06em;
color: #f1efec; white-space: nowrap; opacity: 0;
}
.xf7.show { opacity: 1; transition: opacity 700ms var(--ease); }
.xf8 {
position: absolute; z-index: 6; pointer-events: none;
width: 108px; height: 5px; margin: -2px 0 0 -54px; border-radius: 3px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
transform: rotate(var(--rot)) scaleX(0.3);
animation: xg2 300ms var(--ease) forwards;
}
@keyframes xg2 {
0% { transform: rotate(var(--rot)) scaleX(0.25) scaleY(0.6); opacity: 0; }
25% { opacity: 1; }
100% { transform: rotate(var(--rot)) scaleX(1.5) scaleY(1); opacity: 0; }
}
.xh1 {
position: absolute; left: calc(50% + var(--shift)); top: 58%;
transform: translate(-50%, -50%); z-index: 6; pointer-events: none;
font-size: clamp(22px, 2.6vw, 34px); font-weight: 250; letter-spacing: 0.12em;
color: #f4efe6; text-shadow: 0 3px 26px rgba(0, 0, 0, 0.85);
opacity: 0; white-space: nowrap;
}
.xh1.show { animation: xh2 5400ms var(--ease); }
@keyframes xh2 {
0% { opacity: 0; transform: translate(-50%, -50%) scale(1.12); }
12% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
78% { opacity: 1; transform: translate(-50%, -50%) scale(0.86); }
100% { opacity: 0; transform: translate(-50%, -50%) scale(0.78); }
}
.xh3 {
position: absolute; top: 50%; left: 50%; z-index: 5;
width: 3px; height: 3px; border-radius: 50%;
background: rgba(255, 255, 255, 0.75); transform: translate(-50%, -50%);
pointer-events: none;
}
.xh4 {
position: absolute; right: 26px; bottom: 24px; z-index: 8;
padding: 9px 18px; border: 1px solid var(--line);
border-radius: 2px; background: rgba(8, 8, 10, 0.62);
backdrop-filter: blur(6px);
font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
color: var(--muted);
transition: color 220ms, border-color 220ms, background 220ms;
}
.xh4:hover { color: var(--text); border-color: var(--line-2); background: rgba(8, 8, 10, 0.85); }
.xh5 {
position: absolute; inset: 0; z-index: 30;
display: grid; place-items: center; background: rgba(5, 5, 7, 0.8);
}
.xh5 .box {
width: min(360px, 84%); padding: 34px;
background: var(--surface); border: 1px solid var(--line); text-align: center;
}
.xh5 input {
width: 100%; margin: 22px 0 6px; padding: 10px 0;
border-bottom: 1px solid var(--line-2);
font-size: 26px; letter-spacing: 0.42em; text-align: center;
font-family: ui-monospace, Menlo, monospace;
}
.xh5 .row { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.xh5 .row button {
padding: 10px 22px; border: 1px solid var(--line-2);
font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
transition: color 200ms, background 200ms;
}
.xh5 .row button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
#desktop-only {
position: fixed; inset: 0; z-index: 200;
display: grid; place-items: center; padding: 24px;
background:
radial-gradient(900px 500px at 50% -10%, #241a2c 0%, transparent 60%),
var(--bg);
}
.desktop-card {
width: min(420px, 100%); padding: 36px 30px; text-align: center;
background: var(--surface); border: 1px solid var(--line);
}
.desktop-card h2 {
margin: 14px 0 18px; font-size: clamp(22px, 6vw, 30px); font-weight: 200;
letter-spacing: 0.14em; text-transform: uppercase;
}
.desktop-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.desktop-card p b { color: var(--accent); font-weight: 400; }
.desktop-card .desktop-sub { margin-top: 14px; font-size: 12px; color: var(--faint); }
.xz1 { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }