:root {
  --night: #0a0c18;
  --night-2: #12162a;
  --white: #ffffff;
  --paper: #f2f4fb;
  --ink: #111425;
  --muted: #6d7186;
  --violet: #7154ff;
  --violet-dark: #4a2fd5;
  --cyan: #2ff0d0;
  --pink: #ff4f87;
  --yellow: #ffe66f;
  --blue: #4ca8ff;
  --line: rgba(17, 20, 37, .14);
  --sans: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body::selection { color: var(--night); background: var(--cyan); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 9999; left: 100px; top: -70px; padding: 10px 16px; color: var(--night); background: var(--cyan); }
.skip-link:focus { top: 12px; }

.nav-rail { position: fixed; z-index: 100; inset: 0 auto 0 0; width: 86px; padding: 22px 0 18px; display: flex; flex-direction: column; align-items: center; color: var(--white); background: #080a12; border-right: 1px solid rgba(255,255,255,.1); }
.rail-logo { width: 54px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--violet); clip-path: polygon(50% 0, 100% 20%, 92% 80%, 50% 100%, 8% 80%, 0 20%); }
.rail-logo span { font-size: 25px; font-weight: 900; line-height: 1; }
.rail-logo small { margin-top: 3px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.nav-rail nav { flex: 1; width: 100%; margin-top: 58px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nav-rail nav a { position: relative; width: 100%; min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #777b8e; transition: color .2s, background .2s; }
.nav-rail nav a::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--cyan); transform: scaleY(0); transition: transform .2s; }
.nav-rail nav a b { font-size: 10px; letter-spacing: .1em; }
.nav-rail nav a span { margin-top: 2px; font-size: 12px; }
.nav-rail nav a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.nav-rail nav a:hover::before { transform: scaleY(1); }
.rail-register { width: 54px; height: 60px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--night); border: 0; background: var(--cyan); }
.rail-register span { font-size: 25px; line-height: .8; }
.rail-register small { margin-top: 6px; font-size: 11px; font-weight: 800; }
.rail-register:hover { background: var(--yellow); }
.site-canvas, .site-footer { margin-left: 86px; }

.portal-hero { position: relative; min-height: 880px; height: 100vh; overflow: hidden; isolation: isolate; color: var(--white); background: linear-gradient(120deg, #4d39d9 0%, #7657ff 48%, #9b5dff 100%); }
.portal-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(10,12,24,.2) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent 75%); }
.hero-mesh { position: absolute; z-index: -1; left: -10%; bottom: -42%; width: 72vw; height: 78vw; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 34px, rgba(255,255,255,.1) 35px 36px); transform: perspective(700px) rotateX(65deg); opacity: .55; }
.hero-wordmark { position: absolute; z-index: -1; right: -2vw; top: 0; color: rgba(255,255,255,.07); font-size: clamp(300px, 42vw, 680px); font-weight: 1000; line-height: .85; letter-spacing: -.12em; }
.hero-copy { position: relative; z-index: 6; width: min(610px, 45vw); padding: clamp(80px, 10vh, 120px) 0 140px clamp(38px, 5.5vw, 92px); }
.live-chip { width: max-content; padding: 7px 12px; display: flex; align-items: center; gap: 8px; color: var(--night); background: var(--cyan); border-radius: 4px; font-size: 12px; font-weight: 800; }
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--night); animation: pulse 1.4s ease-in-out infinite; }
.hero-series { margin: 34px 0 10px; color: #d7d1ff; font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.portal-hero h1 { margin: 0; display: flex; gap: .03em; font-size: clamp(90px, 11vw, 176px); font-weight: 1000; line-height: .93; letter-spacing: -.09em; }
.portal-hero h1 span:nth-child(2) { color: var(--cyan); }
.portal-hero h1 span:nth-child(3) { -webkit-text-stroke: 2px var(--white); color: transparent; }
.hero-tagline { margin: 18px 0 0; font-size: clamp(25px, 2.5vw, 39px); font-weight: 900; line-height: 1.3; letter-spacing: -.03em; }
.hero-tagline strong { display: block; color: var(--yellow); }
.hero-intro { margin: 21px 0 0; color: #dedaff; font-size: 15px; line-height: 1.9; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; }
.button { min-height: 64px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; cursor: pointer; border: 0; border-radius: 8px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button small { display: block; margin-bottom: 2px; font-size: 9px; font-weight: 900; letter-spacing: .16em; opacity: .55; }
.button-play { min-width: 190px; color: var(--night); background: var(--white); box-shadow: 0 18px 45px rgba(24,12,71,.25); }
.play-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); background: var(--pink); border-radius: 50%; font-size: 12px; }
.button-register { min-width: 170px; justify-content: space-between; color: var(--white); background: rgba(15,13,49,.38); border: 1px solid rgba(255,255,255,.3); }
.button-register b { font-size: 20px; }

.hero-stage { position: absolute; z-index: 3; top: 0; right: 0; bottom: 96px; width: 58%; overflow: hidden; clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(145deg, rgba(13,14,34,.05), rgba(7,9,20,.48)); }
.stage-disc { position: absolute; left: 21%; top: 8%; width: min(46vw, 650px); height: min(46vw, 650px); border: 2px solid rgba(47,240,208,.45); border-radius: 50%; background: radial-gradient(circle, rgba(47,240,208,.18), transparent 62%); }
.stage-disc::before, .stage-disc::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.28); }
.stage-disc::before { inset: 8%; }
.stage-disc::after { inset: 25%; }
.stage-disc span { position: absolute; inset: 48% -18% auto; height: 2px; background: var(--cyan); transform: rotate(-15deg); box-shadow: 0 0 12px var(--cyan); }
.stage-disc i { position: absolute; left: 50%; top: -11px; width: 20px; height: 20px; background: var(--yellow); transform: rotate(45deg); }
.stage-main { position: absolute; z-index: 4; right: 4%; bottom: 0; width: min(50vw, 740px); filter: drop-shadow(0 28px 24px rgba(15,9,45,.42)); }
.stage-card { position: absolute; z-index: 3; width: 178px; height: 240px; overflow: hidden; border: 1px solid rgba(255,255,255,.36); background: rgba(14,13,43,.5); backdrop-filter: blur(8px); }
.stage-card small { position: absolute; z-index: 2; top: 10px; left: 10px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.stage-card img { position: absolute; bottom: -4%; width: 150%; max-width: none; transform: translateX(-16%); filter: saturate(.75) brightness(.75); }
.stage-card-a { left: 11%; top: 22%; transform: rotate(-7deg); }
.stage-card-b { right: -2%; top: 11%; transform: rotate(6deg); }
.stage-label { position: absolute; z-index: 6; right: 5%; bottom: 8%; min-width: 170px; padding: 14px 16px; color: var(--night); background: var(--cyan); box-shadow: 10px 10px 0 rgba(8,10,18,.55); }
.stage-label b { margin-right: 9px; padding: 4px 6px; color: var(--white); background: var(--pink); font-size: 10px; }
.stage-label span { font-size: 18px; font-weight: 1000; }
.stage-label small { display: block; margin-top: 5px; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.hero-dashboard { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; height: 96px; display: grid; grid-template-columns: repeat(3, 180px) 1fr; background: rgba(8,10,18,.94); backdrop-filter: blur(14px); }
.hero-dashboard > div { padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.1); }
.hero-dashboard small { display: block; color: #696d81; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.hero-dashboard strong { color: var(--white); font-size: 13px; }
.hero-dashboard > a { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding-right: 34px; color: var(--cyan); font-size: 13px; font-weight: 800; }
.hero-dashboard > a span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(47,240,208,.45); border-radius: 50%; }

.character-terminal { padding: 118px clamp(28px, 6vw, 100px); color: var(--white); background: var(--night); }
.terminal-heading { max-width: 1280px; margin: 0 auto 55px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-code { color: var(--violet); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.terminal-heading h2, .world-heading h2 { margin: 12px 0 0; font-size: clamp(48px, 6vw, 86px); font-weight: 1000; line-height: 1.04; letter-spacing: -.06em; }
.terminal-heading h2 em { color: var(--cyan); font-style: normal; }
.terminal-heading > p { max-width: 360px; margin: 0 0 7px; color: #8c91a5; font-size: 15px; }
.terminal-window { max-width: 1280px; margin: 0 auto; border: 1px solid rgba(255,255,255,.16); background: #111526; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.window-bar { height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; color: #73798e; background: #0d101d; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.window-bar > div { display: flex; gap: 6px; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #34394c; }
.window-bar i:nth-child(1) { background: var(--pink); }.window-bar i:nth-child(2) { background: var(--yellow); }.window-bar i:nth-child(3) { background: var(--cyan); }
.terminal-grid { min-height: 670px; display: grid; grid-template-columns: 34% 46% 20%; }
.character-copy { position: relative; padding: 70px 48px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.1); }
.chapter-number { position: absolute; right: -11px; top: 20px; color: rgba(113,84,255,.18); font-size: 160px; font-weight: 1000; line-height: 1; }
.character-kicker { position: relative; margin: 0 0 16px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.character-copy h3 { position: relative; margin: 0; font-size: clamp(42px, 4vw, 64px); font-weight: 1000; line-height: 1.1; letter-spacing: -.04em; }
.character-copy > p:nth-of-type(2) { position: relative; margin: 25px 0 0; color: #969caf; font-size: 16px; line-height: 2; white-space: pre-line; }
.character-mark { display: inline-block; margin-top: 28px; padding: 8px 12px; color: var(--night); background: var(--yellow); font-size: 12px; font-weight: 900; transform: rotate(-2deg); }
.profile-data { margin: 55px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.1); }
.profile-data div { padding: 15px 0; }
.profile-data dt { color: #656b80; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.profile-data dd { margin: 4px 0 0; color: #e8ebf6; font-size: 13px; }
.profile-data dd i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--cyan); }
.portrait-wrap { position: relative; overflow: hidden; display: flex; align-items: end; justify-content: center; background: radial-gradient(circle at 50% 37%, rgba(113,84,255,.5), transparent 36%), linear-gradient(150deg, #252055, #14182c); }
.portrait-wrap::before { content: ""; position: absolute; width: 420px; height: 420px; top: 10%; border: 1px solid rgba(47,240,208,.32); border-radius: 50%; box-shadow: 0 0 0 35px rgba(47,240,208,.035), 0 0 0 70px rgba(47,240,208,.02); }
.portrait-wrap img { position: relative; z-index: 2; height: 96%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0,0,0,.4)); transition: opacity .2s, transform .3s; }
.portrait-scan { position: absolute; z-index: 4; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 6px, rgba(255,255,255,.025) 7px 8px); }
.character-selector { display: grid; grid-template-rows: repeat(5, 1fr); background: #0c0f1c; }
.character-choice { position: relative; min-width: 0; padding: 0 14px; overflow: hidden; display: grid; grid-template-columns: 30px 64px 1fr; align-items: center; gap: 8px; cursor: pointer; color: #73798c; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: transparent; text-align: left; transition: background .2s, color .2s; }
.character-choice:last-child { border-bottom: 0; }
.character-choice:hover { color: var(--white); background: rgba(255,255,255,.04); }
.character-choice.active { color: var(--night); background: var(--cyan); }
.character-choice > b { font-size: 10px; }
.character-choice img { width: 64px; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(.3) brightness(.8); }
.character-choice.active img { filter: none; }
.character-choice > span { font-size: 15px; font-weight: 900; }
.character-choice small { display: block; margin-top: 1px; font-size: 8px; letter-spacing: .12em; opacity: .55; }

.spirit-crew { padding: 105px clamp(28px, 6vw, 100px) 120px; background: #eceff8; }
.crew-heading { max-width: 1280px; margin: 0 auto 45px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.crew-heading .section-code { grid-column: 1 / -1; color: var(--pink); }
.crew-heading h2 { margin: 7px 0 0; font-size: clamp(58px, 7vw, 100px); font-weight: 1000; line-height: 1; letter-spacing: -.07em; }
.crew-heading p { margin: 0 0 9px; color: var(--muted); }
.crew-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.crew-card { position: relative; height: 500px; margin: 0; overflow: hidden; border-radius: 18px; isolation: isolate; }
.crew-card::after { content: ""; position: absolute; z-index: -1; width: 250px; height: 250px; right: -100px; top: 70px; border: 48px solid rgba(255,255,255,.22); border-radius: 50%; }
.crew-card > div { position: absolute; z-index: 3; top: 24px; left: 24px; }
.crew-card span, .crew-card small { display: block; font-size: 10px; font-weight: 900; letter-spacing: .14em; opacity: .55; }
.crew-card b { display: block; margin: 6px 0 1px; font-size: 31px; font-weight: 1000; }
.crew-card img { position: absolute; z-index: 2; left: 50%; bottom: -4px; height: 390px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 16px rgba(16,18,35,.18)); transition: transform .3s; }
.crew-card:hover img { transform: translateX(-50%) translateY(-9px) scale(1.025); }
.crew-yellow { background: var(--yellow); }.crew-pink { color: var(--white); background: #ff70aa; }.crew-blue { color: var(--white); background: #6385ff; }.crew-green { background: #62e4bf; }

.world-posters { padding: 120px clamp(28px, 6vw, 100px) 140px; color: var(--white); background: #171a2a; }
.world-heading { max-width: 1280px; margin: 0 auto 58px; display: grid; grid-template-columns: 1fr 380px; align-items: end; }
.world-heading .section-code { grid-column: 1 / -1; color: var(--cyan); }
.world-heading h2 strong { color: var(--pink); }
.world-heading > p { margin: 0 0 10px; color: #8f94a8; }
.poster-wall { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.18fr .91fr .91fr; gap: 14px; }
.realm-poster { min-width: 0; overflow: hidden; border-radius: 12px; background: #22263a; }
.poster-visual { position: relative; height: 430px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.poster-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 58%); }
.poster-visual > span { position: absolute; z-index: 1; left: 18px; top: -20px; color: rgba(255,255,255,.18); font-size: 150px; font-weight: 1000; line-height: 1; }
.poster-visual img { position: relative; z-index: 2; width: 84%; height: auto; filter: drop-shadow(0 20px 17px rgba(0,0,0,.28)); transition: transform .35s; }
.realm-poster:hover .poster-visual img { transform: scale(1.06) rotate(-1deg); }
.realm-tree .poster-visual { background: linear-gradient(145deg, #194d62, #292560); }
.realm-hill .poster-visual { background: linear-gradient(145deg, #db5c85, #ff966e); }
.realm-home .poster-visual { background: linear-gradient(145deg, #326b57, #71c778); }
.poster-copy { padding: 25px 27px 30px; }
.poster-copy small { color: #747a90; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.poster-copy h3 { margin: 6px 0 8px; font-size: 28px; line-height: 1.2; }
.poster-copy p { margin: 0; color: #9297aa; font-size: 14px; }

.launch-zone { position: relative; min-height: 720px; overflow: hidden; display: grid; grid-template-columns: 54% 46%; color: var(--night); background: var(--cyan); }
.launch-visual { position: relative; overflow: hidden; background: linear-gradient(135deg, #5c43ef, #8d62ff); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.launch-visual img { position: absolute; width: min(68vw, 850px); max-width: none; height: 112%; right: -4%; bottom: -10%; object-fit: contain; filter: saturate(.8) contrast(1.04); }
.launch-visual span { position: absolute; z-index: 2; left: 5%; bottom: 5%; color: rgba(255,255,255,.18); font-size: clamp(70px, 9vw, 140px); font-weight: 1000; line-height: .76; letter-spacing: -.08em; }
.launch-copy { padding: 105px 6vw 70px 4vw; align-self: center; }
.launch-copy .section-code { color: #4b3eb2; }
.launch-copy h2 { margin: 17px 0 20px; font-size: clamp(48px, 5.7vw, 82px); font-weight: 1000; line-height: 1.07; letter-spacing: -.06em; }
.launch-copy > p { margin: 0; color: #315a55; }
.launch-copy > div { margin-top: 34px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.button-register-alt { justify-content: space-between; color: var(--white); background: var(--pink); box-shadow: 0 16px 35px rgba(117,28,63,.18); }
.button-register-alt b { font-size: 23px; }
.button-play-alt { justify-content: space-between; color: var(--white); background: var(--night); }

.site-footer { padding: 55px clamp(28px, 5vw, 76px) 42px; display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; color: #7d8296; background: #080a12; }
.footer-brand { display: flex; align-items: end; gap: 16px; color: var(--white); }
.footer-brand span { font-size: 30px; font-weight: 1000; letter-spacing: -.04em; }
.footer-brand small { margin-bottom: 7px; color: var(--violet); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.footer-info { text-align: right; font-size: 12px; }
.footer-info p { margin: 2px 0; }
.footer-info p span + span { margin: 0 10px; color: #3f4353; }
.footer-info a:hover { color: var(--cyan); }
.health-note { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; line-height: 1.9; }

#register-dialog { width: min(960px, calc(100vw - 28px)); max-width: none; max-height: calc(100vh - 28px); margin: auto; padding: 0; overflow: auto; color: var(--ink); border: 0; border-radius: 14px; background: var(--white); box-shadow: 0 35px 120px rgba(15,12,44,.5); scrollbar-width: thin; scrollbar-color: var(--violet) #eef0f7; }
#register-dialog::backdrop { background: rgba(11,9,33,.76); backdrop-filter: blur(12px); }
.register-console { position: relative; min-height: 670px; padding-top: 46px; display: grid; grid-template-columns: 40% 60%; overflow: hidden; }
.console-bar { position: absolute; z-index: 10; inset: 0 0 auto; height: 46px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #73788d; background: #101322; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.console-bar > div { display: flex; gap: 7px; }
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.console-bar i:nth-child(2) { background: var(--yellow); }.console-bar i:nth-child(3) { background: var(--cyan); }
.dialog-close { justify-self: end; width: 36px; height: 36px; cursor: pointer; color: #858a9d; border: 0; background: transparent; font-size: 24px; line-height: 1; }
.dialog-close:hover { color: var(--white); }
.register-aside { position: relative; overflow: hidden; padding: 48px 39px; color: var(--white); background: linear-gradient(145deg, #6147f3, #8d5cff); }
.aside-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 36px 36px; }
.aside-code { position: relative; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.aside-orb { position: relative; width: 210px; height: 210px; margin: 50px auto 45px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.05), 0 0 0 40px rgba(255,255,255,.025); }
.aside-orb::before { content: ""; position: absolute; inset: 20px; border: 1px dashed var(--cyan); border-radius: 50%; animation: spin 18s linear infinite; }
.aside-orb b { color: var(--yellow); font-size: 100px; font-weight: 200; line-height: 1; }
.register-aside > p { position: relative; margin: 0; font-size: 30px; font-weight: 1000; line-height: 1.3; }
.register-aside ul { position: relative; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.register-aside li { padding: 6px 9px; color: #e6e1ff; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; font-size: 10px; font-weight: 800; }
.register-panel { padding: 48px 58px 30px; }
.dialog-heading > span { color: var(--violet); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.dialog-heading h2 { margin: 8px 0 7px; font-size: 38px; font-weight: 1000; line-height: 1.15; letter-spacing: -.04em; }
.dialog-heading p { margin: 0; color: var(--muted); font-size: 13px; }
#register-form { margin-top: 29px; }
.field { margin-bottom: 16px; }
.field label { margin-bottom: 7px; display: flex; justify-content: space-between; color: #303447; font-size: 13px; font-weight: 800; }
.field label span { color: #a2a6b5; font-size: 9px; letter-spacing: .14em; }
.field input { width: 100%; height: 49px; padding: 0 14px; color: var(--ink); outline: none; border: 1px solid #d9dce7; border-radius: 6px; background: #f7f8fc; font-size: 14px; transition: border .2s, box-shadow .2s; }
.field input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(113,84,255,.1); }
.field input[aria-invalid="true"] { border-color: var(--pink); }
.field-hint { min-height: 17px; margin: 4px 0 0; color: #989cac; font-size: 11px; }
.field-hint.error { color: #e83f72; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 62px; }
.password-toggle { position: absolute; right: 0; top: 0; height: 49px; padding: 0 14px; cursor: pointer; color: var(--violet); border: 0; background: transparent; font-size: 12px; font-weight: 800; }
.button-primary { width: 100%; min-height: 55px; justify-content: space-between; color: var(--white); background: var(--violet); box-shadow: 0 14px 30px rgba(113,84,255,.22); }
.button-primary:hover { background: var(--violet-dark); }
.button-primary:disabled { opacity: .55; cursor: wait; transform: none; }
.form-message { min-height: 20px; margin: 10px 0 0; color: #d83e70; text-align: center; font-size: 12px; }
.dialog-bottom { margin: 2px 0 0; color: #9195a5; text-align: center; font-size: 12px; }
.dialog-bottom a { color: var(--violet); font-weight: 800; }
#register-success { padding: 75px 5px 30px; text-align: center; }
.success-symbol { width: 76px; height: 76px; margin: 0 auto 25px; display: grid; place-items: center; color: var(--night); border-radius: 50%; background: var(--cyan); font-size: 30px; font-weight: 900; }
#register-success h3 { margin: 0; font-size: 34px; font-weight: 1000; }
#register-success p { margin: 16px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.9; }
#register-success strong { color: var(--violet); }
.noscript-note { position: fixed; z-index: 1000; left: 86px; right: 0; bottom: 0; margin: 0; padding: 9px 20px; color: var(--night); background: var(--yellow); text-align: center; font-size: 13px; }

@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .hero-copy { width: 50vw; padding-left: 5vw; }
  .hero-stage { width: 57%; }
  .stage-card { width: 145px; height: 205px; }
  .terminal-grid { grid-template-columns: 38% 42% 20%; }
  .character-copy { padding: 55px 34px; }
  .character-choice { grid-template-columns: 22px 48px 1fr; padding: 0 8px; }
  .character-choice img { width: 48px; }
  .poster-wall { grid-template-columns: 1.1fr 1fr; }
  .realm-home { grid-column: 1 / -1; display: grid; grid-template-columns: 50% 50%; }
  .realm-home .poster-visual { height: 330px; }
}

@media (max-width: 820px) {
  .nav-rail { position: absolute; inset: 0 0 auto; width: auto; height: 70px; padding: 0 18px; flex-direction: row; justify-content: space-between; background: rgba(8,10,18,.93); backdrop-filter: blur(12px); }
  .rail-logo { width: 48px; height: 54px; }
  .nav-rail nav { display: none; }
  .rail-register { width: auto; height: 38px; padding: 0 14px; flex-direction: row; gap: 7px; border-radius: 5px; }
  .rail-register span { font-size: 18px; }.rail-register small { margin: 0; font-size: 12px; }
  .site-canvas, .site-footer { margin-left: 0; }
  .portal-hero { height: auto; min-height: 1040px; padding-top: 70px; }
  .hero-copy { width: 100%; padding: 55px 28px 500px; }
  .portal-hero h1 { font-size: clamp(84px, 22vw, 134px); }
  .hero-stage { top: auto; left: 0; right: 0; bottom: 90px; width: 100%; height: 520px; clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); }
  .stage-main { width: min(88vw, 620px); right: 2%; }
  .stage-disc { left: 20%; top: 7%; width: 70vw; height: 70vw; }
  .stage-card-a { left: 4%; top: 18%; }.stage-card-b { right: -3%; top: 7%; }
  .stage-label { bottom: 8%; }
  .hero-dashboard { height: 90px; grid-template-columns: repeat(3, 1fr); }
  .hero-dashboard > div { padding: 17px 14px; }.hero-dashboard > a { display: none; }
  .terminal-heading, .world-heading { display: block; }
  .terminal-heading > p, .world-heading > p { margin-top: 22px; }
  .terminal-grid { min-height: 960px; grid-template-columns: 1fr 1fr; grid-template-rows: 610px 350px; }
  .character-copy { padding: 50px 32px; }
  .portrait-wrap { min-width: 0; }
  .character-selector { grid-column: 1 / -1; grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr; }
  .character-choice { grid-template-columns: 1fr; grid-template-rows: 18px 1fr 34px; justify-items: center; padding: 10px 5px 0; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 0; text-align: center; }
  .character-choice img { width: 100%; height: 100%; min-height: 0; }
  .crew-heading { display: block; }.crew-heading p { margin-top: 18px; }
  .crew-grid { grid-template-columns: 1fr 1fr; }
  .world-heading { grid-template-columns: 1fr; }
  .poster-wall { grid-template-columns: 1fr; }
  .realm-home { grid-column: auto; display: block; }
  .poster-visual, .realm-home .poster-visual { height: 360px; }
  .launch-zone { min-height: 880px; grid-template-columns: 1fr; grid-template-rows: 55% 45%; }
  .launch-visual { clip-path: polygon(0 0, 100% 0, 100% 87%, 0 100%); }
  .launch-visual img { width: 110vw; height: 120%; right: -14%; }
  .launch-copy { padding: 35px 28px 55px; }
  .launch-copy > div { flex-direction: row; }
  .launch-copy .button { flex: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-info { text-align: left; }
  .register-console { grid-template-columns: 1fr; }
  .register-aside { display: none; }
  .register-panel { padding: 43px 48px 30px; }
  .noscript-note { left: 0; }
}

@media (max-width: 540px) {
  .hero-copy { padding: 43px 18px 450px; }
  .live-chip { font-size: 11px; }
  .hero-series { letter-spacing: .1em; }
  .portal-hero h1 { font-size: 86px; }
  .hero-tagline { font-size: 27px; }
  .hero-intro br { display: none; }
  .hero-actions { align-items: stretch; }
  .button-play, .button-register { min-width: 0; flex: 1; padding: 0 13px; }
  .button small { font-size: 8px; }
  .play-icon { display: none; }
  .hero-stage { height: 470px; }
  .stage-main { width: 112vw; right: -17%; }
  .stage-card { width: 110px; height: 160px; }
  .stage-card-a { left: -7%; top: 22%; }.stage-card-b { right: -8%; }
  .stage-label { right: 5%; bottom: 8%; min-width: 142px; }
  .hero-dashboard strong { font-size: 11px; }.hero-dashboard small { font-size: 8px; }
  .character-terminal, .spirit-crew, .world-posters { padding-left: 16px; padding-right: 16px; }
  .terminal-heading h2, .world-heading h2 { font-size: 47px; }
  .terminal-grid { min-height: 1160px; display: block; }
  .character-copy { min-height: 390px; padding: 42px 25px; }
  .character-copy h3 { font-size: 45px; }
  .portrait-wrap { height: 470px; }
  .portrait-wrap img { height: 100%; }
  .character-selector { height: 250px; }
  .character-choice { grid-template-rows: 15px 1fr 30px; }
  .character-choice > span { font-size: 11px; }.character-choice small { display: none; }
  .crew-heading h2 { font-size: 67px; }
  .crew-grid { gap: 7px; }
  .crew-card { height: 340px; border-radius: 10px; }
  .crew-card > div { top: 16px; left: 15px; }.crew-card b { font-size: 25px; }
  .crew-card img { height: 270px; }
  .poster-visual, .realm-home .poster-visual { height: 300px; }
  .launch-zone { min-height: 810px; grid-template-rows: 50% 50%; }
  .launch-copy h2 { font-size: 45px; }
  .launch-copy > div { flex-direction: column; }
  .site-footer { padding: 45px 18px 30px; gap: 20px; }
  .footer-info p span + span { display: block; height: 0; overflow: hidden; }
  #register-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .register-panel { padding: 36px 20px 24px; }
  .dialog-heading h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
