:root {
    --ink: oklch(19% 0.018 225);
    --ink-soft: oklch(30% 0.02 225);
    --paper: oklch(96% 0.018 82);
    --paper-deep: oklch(90% 0.035 78);
    --ember: oklch(70% 0.17 54);
    --ember-bright: oklch(79% 0.16 68);
    --moss: oklch(48% 0.09 140);
    --mist: oklch(76% 0.03 220);
    --line: oklch(30% 0.02 225 / 18%);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--ember-bright); }

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    pointer-events: none;
}
.page-loader span { background: var(--ink); transform-origin: top; }
body.is-ready .page-loader span { animation: loader-out .85s var(--ease-out) forwards; }
body.is-ready .page-loader span:nth-child(2) { animation-delay: .08s; }
body.is-ready .page-loader span:nth-child(3) { animation-delay: .16s; }
@keyframes loader-out { to { transform: scaleY(0); } }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 4vw, 72px);
    color: var(--paper);
    border-bottom: 1px solid oklch(96% 0.018 82 / 18%);
    transition: color .35s ease, background-color .35s ease, transform .35s var(--ease-out);
}
.site-header.is-scrolled {
    color: var(--ink);
    background: oklch(96% 0.018 82 / 96%);
    border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 13px/1 "Trebuchet MS", sans-serif; letter-spacing: .14em; }
.brand-mark { position: relative; display: inline-flex; align-items: flex-end; gap: 2px; width: 27px; height: 24px; }
.brand-mark i { display: block; width: 8px; background: currentColor; }
.brand-mark i:nth-child(1) { height: 13px; }
.brand-mark i:nth-child(2) { height: 22px; background: var(--ember); }
.brand-mark i:nth-child(3) { height: 17px; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); font-size: 13px; font-weight: 700; }
.main-nav > a { position: relative; padding: 12px 0; }
.main-nav > a:not(.nav-login)::after { content: ""; position: absolute; inset: auto 0 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out); }
.main-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-login { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px !important; color: var(--ink); background: var(--paper); }
.is-scrolled .nav-login { color: var(--paper); background: var(--ink); }
.nav-login img, .button img, .text-link img, .announcement img { width: 17px; height: 17px; }
.nav-login img { width: 16px; }
.menu-button { display: none; border: 0; color: inherit; background: transparent; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.menu-button img { width: 20px; }

.hero {
    position: relative;
    min-height: 100svh;
    color: var(--paper);
    overflow: hidden;
    background: var(--ink);
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
    background-image: url('./assets/anna-world-hero.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.04) translate3d(0, var(--parallax, 0), 0);
    animation: hero-breathe 16s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes hero-breathe { to { scale: 1.075; } }
.hero-shade {
    background:
        linear-gradient(90deg, oklch(12% 0.018 225 / 88%) 0%, oklch(14% 0.018 225 / 42%) 50%, transparent 77%),
        linear-gradient(0deg, oklch(12% 0.018 225 / 68%) 0%, transparent 44%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 44px));
    padding: clamp(150px, 21vh, 235px) 0 190px clamp(22px, 8vw, 150px);
}
.eyebrow { margin: 0 0 22px; color: var(--ember-bright); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 32px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
.eyebrow.dark { color: var(--moss); }
.hero h1, h2, .campaign-copy h2, .community h2 {
    margin: 0;
    font-family: "Aptos Display", "Microsoft YaHei", sans-serif;
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
}
.hero h1 { max-width: 11ch; font-size: clamp(3.25rem, 6.8vw, 7.2rem); }
.hero-description { max-width: 580px; margin: 30px 0 0; color: oklch(92% 0.02 82 / 83%); font-size: clamp(15px, 1.25vw, 19px); }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 42px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border: 1px solid transparent; border-radius: 1px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .3s var(--ease-out), background-color .3s ease, color .3s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--ember-bright); }
.button-primary:hover { background: var(--paper); }
.button-dark { width: 100%; margin-top: 24px; color: var(--paper); background: var(--ink); }
.button-dark img { filter: invert(1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.text-link img { transition: transform .25s var(--ease-out); }
.text-link:hover img { transform: translateX(5px); }
.text-link.light img { filter: invert(1); }
.hero-reveal { opacity: 0; transform: translateY(30px); }
body.is-ready .hero-reveal { animation: hero-in 1s var(--ease-out) forwards; }
body.is-ready .hero-reveal:nth-child(2) { animation-delay: .1s; }
body.is-ready .hero-reveal:nth-child(3) { animation-delay: .2s; }
body.is-ready .hero-reveal:nth-child(4) { animation-delay: .3s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }
.server-chip {
    position: absolute;
    z-index: 3;
    right: clamp(24px, 6vw, 96px);
    bottom: 92px;
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
    gap: 11px;
    padding: 14px 17px;
    color: var(--paper);
    background: oklch(18% 0.018 225 / 88%);
    border: 1px solid oklch(96% 0.018 82 / 20%);
    cursor: pointer;
}
.server-chip span { font-size: 12px; }
.server-chip code { padding-left: 10px; border-left: 1px solid oklch(96% 0.018 82 / 25%); color: var(--paper); font-size: 13px; }
.server-chip img { width: 16px; filter: invert(1); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(73% 0.18 145); box-shadow: 0 0 0 6px oklch(73% 0.18 145 / 13%); animation: live 2s ease infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 10px oklch(73% 0.18 145 / 0%); } }
.announcement { position: absolute; z-index: 3; inset: auto 0 0; min-height: 62px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 12px clamp(22px, 4vw, 72px); color: var(--ink); background: var(--ember-bright); }
.announcement > span { padding-right: 28px; border-right: 1px solid oklch(19% 0.018 225 / 26%); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.announcement p { margin: 0; font-size: 13px; font-weight: 700; }
.announcement a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; }
.scroll-cue { position: absolute; z-index: 3; left: 30px; bottom: 102px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 42px; background: currentColor; transform-origin: top; animation: scroll-line 2s var(--ease-out) infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); } 45%, 70% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }

.world-intro { display: grid; grid-template-columns: minmax(90px, .5fr) 1.4fr 1fr; gap: clamp(30px, 6vw, 110px); padding: clamp(100px, 14vw, 210px) clamp(22px, 7vw, 130px); background: var(--paper); }
.section-index { align-self: start; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); }
.section-index span { font: 800 12px/1 "Trebuchet MS", sans-serif; }
.section-index p { margin: 0; font: 800 9px/1 "Trebuchet MS", sans-serif; letter-spacing: .16em; writing-mode: vertical-rl; }
.section-index.inverted { color: oklch(92% 0.02 82 / 55%); }
.world-copy h2, .search-heading h2, .portal-copy h2, .download-copy h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); }
.world-detail { align-self: end; max-width: 450px; padding-bottom: 5px; }
.world-detail > p { margin: 0 0 34px; color: var(--ink-soft); font-size: 17px; }
.world-pulse { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(50px, 7vw, 100px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.world-pulse > div { padding: 30px 24px 32px 0; }
.world-pulse > div + div { padding-left: clamp(24px, 4vw, 70px); border-left: 1px solid var(--line); }
.world-pulse strong { display: block; font: 700 clamp(2.2rem, 4vw, 4.6rem)/1 "Aptos Display", sans-serif; letter-spacing: -.04em; }
.world-pulse span { color: var(--ink-soft); font-size: 12px; }

.player-search { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 900px; color: var(--paper); background: var(--ink); }
.search-heading { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(100px, 12vw, 180px) clamp(25px, 7vw, 120px); background: oklch(22% 0.026 219); overflow: hidden; }
.search-heading::after { content: ""; position: absolute; width: 400px; height: 400px; right: -220px; bottom: -180px; border: 1px solid oklch(70% 0.17 54 / 38%); transform: rotate(45deg); }
.search-heading .section-index { position: absolute; top: 70px; left: clamp(25px, 7vw, 120px); }
.search-heading > p:last-child { max-width: 480px; margin: 34px 0 0; color: oklch(92% 0.02 82 / 65%); }
.search-workspace { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 42px; padding: clamp(80px, 9vw, 150px) clamp(24px, 5vw, 90px); }
.player-mode-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid oklch(96% 0.018 82 / 18%); }
.player-mode-tab { display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; color: oklch(92% 0.02 82 / 48%); border: 0; border-bottom: 2px solid transparent; background: transparent; font-weight: 800; cursor: pointer; transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.player-mode-tab img { width: 20px; filter: invert(1); opacity: .55; }
.player-mode-tab span { display: flex; align-items: baseline; gap: 9px; }
.player-mode-tab small { color: currentColor; font: 800 9px/1 "Trebuchet MS", sans-serif; letter-spacing: .08em; }
.player-mode-tab:hover { color: var(--paper); background: oklch(96% 0.018 82 / 5%); }
.player-mode-tab.is-active { color: var(--ember-bright); border-bottom-color: var(--ember-bright); }
.player-mode-tab.is-active img { opacity: 1; }
.player-mode-tab:focus-visible { outline: 2px solid var(--ember-bright); outline-offset: 3px; }
.player-mode-panel { min-width: 0; animation: player-panel-in .35s var(--ease-out) both; }
.player-mode-panel[hidden] { display: none; }
.search-form label, .portal-panel label { display: block; margin: 0 0 9px; font-size: 12px; font-weight: 800; }
.search-input-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; border-bottom: 1px solid oklch(96% 0.018 82 / 45%); }
.search-input-wrap img { width: 20px; filter: invert(1); opacity: .7; }
.search-input-wrap input { min-width: 0; padding: 17px; color: var(--paper); border: 0; outline: 0; background: transparent; font-size: 19px; }
.search-input-wrap input::placeholder { color: oklch(92% 0.02 82 / 35%); }
.search-input-wrap button { padding: 12px 0 12px 24px; color: var(--ember-bright); border: 0; background: transparent; font-weight: 800; cursor: pointer; }
.form-note { margin: 11px 0 0; color: oklch(92% 0.02 82 / 47%); font-size: 12px; }
.form-note.is-error { color: oklch(74% 0.16 27); }
.player-result { transition: opacity .4s ease, transform .5s var(--ease-out); }
.player-result.is-loading { opacity: .4; transform: translateY(8px); }
.player-result.is-empty { opacity: .55; }
.result-id { display: flex; align-items: center; gap: 22px; padding-bottom: 28px; border-bottom: 1px solid oklch(96% 0.018 82 / 16%); }
.player-avatar { display: grid; width: 66px; height: 66px; place-items: center; color: var(--ink); background: var(--ember-bright); font: 900 25px/1 "Trebuchet MS", sans-serif; text-transform: uppercase; box-shadow: 8px 8px 0 oklch(12% 0.018 225); }
.player-avatar.large { width: 82px; height: 82px; font-size: 32px; }
.status-label { display: inline-flex; align-items: center; gap: 8px; color: oklch(92% 0.02 82 / 50%); font-size: 11px; }
.status-label i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-label.is-online { color: oklch(74% 0.16 145); }
.result-id h3 { margin: 2px 0 0; font: 800 29px/1.2 "Aptos Display", sans-serif; }
.result-id p { margin: 5px 0 0; color: oklch(92% 0.02 82 / 48%); font-size: 12px; }
.stat-lines { display: grid; grid-template-columns: 1fr 1fr; }
.stat-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 18px 0; border-bottom: 1px solid oklch(96% 0.018 82 / 12%); }
.stat-lines > div:nth-child(odd) { margin-right: 32px; }
.stat-lines span { color: oklch(92% 0.02 82 / 50%); font-size: 12px; }
.stat-lines strong { font-size: 14px; text-align: right; }

.archive-toolbar { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(150px, .65fr) auto; gap: 18px; align-items: end; }
.archive-toolbar label { display: grid; gap: 8px; color: oklch(92% 0.02 82 / 55%); font-size: 11px; font-weight: 800; }
.archive-toolbar input, .archive-toolbar select { width: 100%; min-height: 46px; padding: 0 12px; color: var(--paper); border: 1px solid oklch(96% 0.018 82 / 22%); border-radius: 0; outline: 0; background: oklch(96% 0.018 82 / 4%); }
.archive-toolbar select { color-scheme: dark; cursor: pointer; }
.archive-toolbar input:focus, .archive-toolbar select:focus { border-color: var(--ember-bright); }
.archive-refresh { min-height: 46px; padding: 0 18px; color: var(--ink); border: 0; background: var(--ember-bright); font-weight: 800; cursor: pointer; }
.archive-refresh:disabled { cursor: wait; opacity: .55; }
.archive-refresh:focus-visible, .archive-pagination button:focus-visible, .archive-row:focus-visible { outline: 2px solid var(--ember-bright); outline-offset: 3px; }
.archive-message { margin: 16px 0 0; color: oklch(92% 0.02 82 / 52%); font-size: 12px; }
.archive-message.is-error { color: oklch(74% 0.16 27); }
.archive-list { margin-top: 24px; border-top: 1px solid oklch(96% 0.018 82 / 18%); }
.archive-head, .archive-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) .65fr .5fr .6fr .75fr 1fr; gap: 12px; align-items: center; }
.archive-head { min-height: 40px; color: oklch(92% 0.02 82 / 38%); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.archive-row { width: 100%; min-height: 68px; padding: 10px 0; color: var(--paper); border: 0; border-top: 1px solid oklch(96% 0.018 82 / 11%); background: transparent; text-align: left; cursor: pointer; animation: archive-row-in .38s var(--ease-out) both; transition: color .2s ease, background-color .2s ease, padding .25s var(--ease-out); }
.archive-row:hover { padding-right: 10px; padding-left: 10px; color: var(--ember-bright); background: oklch(96% 0.018 82 / 5%); }
.archive-player { display: flex; min-width: 0; align-items: center; gap: 11px; }
.archive-sigil { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--ink); background: var(--ember-bright); font: 900 13px/1 "Trebuchet MS", sans-serif; }
.archive-player strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archive-status { font-size: 11px; font-weight: 800; }
.archive-status.is-online { color: oklch(74% 0.16 145); }
.archive-status.is-offline { color: oklch(92% 0.02 82 / 38%); }
.archive-cell { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.archive-skeleton { pointer-events: none; }
.archive-skeleton span { width: 65%; height: 10px; background: oklch(96% 0.018 82 / 12%); animation: archive-skeleton 1s ease-in-out infinite alternate; }
.archive-empty { padding: 52px 18px; border-bottom: 1px solid oklch(96% 0.018 82 / 14%); text-align: center; }
.archive-empty strong { display: block; color: var(--paper); }
.archive-empty p { margin: 7px 0 0; color: oklch(92% 0.02 82 / 45%); font-size: 12px; }
.archive-pagination { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 24px; }
.archive-pagination button { min-height: 44px; padding: 0 17px; color: var(--paper); border: 1px solid oklch(96% 0.018 82 / 25%); background: transparent; font-weight: 800; cursor: pointer; }
.archive-pagination button:hover:not(:disabled) { color: var(--ink); background: var(--ember-bright); }
.archive-pagination button:disabled { cursor: not-allowed; opacity: .3; }
.archive-pagination > span { color: oklch(92% 0.02 82 / 48%); font-size: 12px; text-align: center; }
.archive-pagination strong { color: var(--paper); }

@keyframes player-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes archive-row-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes archive-skeleton { from { opacity: .3; } to { opacity: .85; } }

.portal { padding: clamp(90px, 13vw, 190px) clamp(22px, 7vw, 130px); background: var(--paper-deep); }
.portal-stage { display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(50px, 9vw, 150px); align-items: center; }
.portal-copy { max-width: 720px; }
.portal-copy .section-index { margin-bottom: 60px; }
.portal-copy > p:not(.eyebrow) { max-width: 590px; margin: 34px 0 0; color: var(--ink-soft); }
.portal-copy code { padding: 2px 7px; background: oklch(19% 0.018 225 / 9%); font-weight: 800; }
.portal-copy ol { display: grid; gap: 0; margin: 46px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.portal-copy li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.portal-copy li span { display: grid; width: 26px; height: 26px; place-items: center; color: var(--paper); background: var(--moss); font-size: 11px; }
.portal-panel { position: relative; min-height: 570px; padding: clamp(30px, 5vw, 64px); background: var(--paper); box-shadow: 20px 24px 0 oklch(19% 0.018 225 / 9%); }
.portal-panel::before, .portal-panel::after { content: ""; position: absolute; width: 19px; height: 19px; border-color: var(--ember); }
.portal-panel::before { top: 15px; left: 15px; border-top: 2px solid; border-left: 2px solid; }
.portal-panel::after { right: 15px; bottom: 15px; border-right: 2px solid; border-bottom: 2px solid; }
.panel-kicker { color: var(--moss); font: 800 9px/1 "Trebuchet MS", sans-serif; letter-spacing: .16em; }
.portal-panel h3 { margin: 34px 0 7px; font: 800 clamp(2rem, 3vw, 3.1rem)/1 "Aptos Display", sans-serif; letter-spacing: -.04em; }
.portal-panel form > p { margin: 0 0 32px; color: var(--ink-soft); font-size: 13px; }
.portal-panel label { margin-top: 20px; }
.portal-panel input { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: transparent; }
.portal-panel input:focus { border-color: var(--moss); }
.portal-panel .form-note { color: var(--ink-soft); text-align: center; }
.portal-profile-head { display: flex; align-items: center; gap: 22px; margin: 50px 0 40px; }
.portal-profile-head p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.portal-profile-head h3 { margin: 0; }
.portal-summary { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.portal-summary div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.portal-summary div:nth-child(odd) { border-right: 1px solid var(--line); }
.portal-summary div:nth-child(even) { padding-left: 24px; }
.portal-summary span, .portal-summary strong { display: block; }
.portal-summary span { color: var(--ink-soft); font-size: 11px; }
.portal-summary strong { margin-top: 4px; font-size: 20px; }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; color: inherit; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.portal-profile > .text-button { margin-top: 40px; }

.download { color: var(--paper); background: var(--moss); }
.download-grid { display: grid; grid-template-columns: .2fr 1.2fr .8fr; gap: clamp(30px, 7vw, 120px); padding: clamp(100px, 13vw, 190px) clamp(22px, 7vw, 130px); }
.download-copy > p:not(.eyebrow) { max-width: 600px; margin: 32px 0 34px; color: oklch(96% 0.018 82 / 72%); }
.download-copy .button { margin-right: 20px; }
.download-copy small { color: oklch(96% 0.018 82 / 60%); }
.download-spec { align-self: end; border-top: 1px solid oklch(96% 0.018 82 / 35%); }
.download-spec > span { display: block; padding: 14px 0; color: var(--ember-bright); font-size: 11px; font-weight: 800; }
.download-spec dl { margin: 0; }
.download-spec dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid oklch(96% 0.018 82 / 17%); font-size: 12px; }
.download-spec dt { color: oklch(96% 0.018 82 / 55%); }
.download-spec dd { margin: 0; text-align: right; font-weight: 700; }
.download-spec a { border-bottom: 1px solid currentColor; }


.campaign { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 680px; color: var(--paper); background: var(--ink); }
.campaign-image { position: relative; min-height: 560px; overflow: hidden; }
.campaign-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.campaign:hover .campaign-image img { transform: scale(1.035); }
.campaign-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 7vw, 110px); }
.campaign-copy > span { color: var(--ember-bright); font: 800 10px/1 "Trebuchet MS", sans-serif; letter-spacing: .17em; }
.campaign-copy h2 { margin-top: 30px; font-size: clamp(2.8rem, 4.5vw, 5.2rem); }
.campaign-copy > p { margin: 30px 0 44px; color: oklch(92% 0.02 82 / 65%); }
.campaign-copy > div { display: flex; align-items: center; gap: 26px; }
.campaign-copy img { filter: invert(1); }

.community { position: relative; display: grid; min-height: 760px; place-items: center; padding: 100px 22px; text-align: center; overflow: hidden; background: var(--paper-deep); }
.community-content { position: relative; z-index: 2; max-width: 820px; }
.community-content > img { width: 38px; margin: 0 auto 24px; }
.community h2 { font-size: clamp(2.8rem, 5.5vw, 6rem); }
.community-content > p:not(.eyebrow) { margin: 30px auto 35px; color: var(--ink-soft); }
.community-orbit { position: absolute; width: min(72vw, 950px); aspect-ratio: 1; border: 1px solid oklch(48% 0.09 140 / 22%); border-radius: 50%; animation: orbit 30s linear infinite; }
.community-orbit::before, .community-orbit::after { content: ""; position: absolute; border: 1px solid oklch(48% 0.09 140 / 14%); border-radius: 50%; }
.community-orbit::before { inset: 13%; }
.community-orbit::after { inset: 28%; }
.community-orbit i { position: absolute; width: 12px; height: 12px; background: var(--ember); transform: rotate(45deg); }
.community-orbit i:nth-child(1) { top: 8%; left: 27%; }
.community-orbit i:nth-child(2) { right: 3%; top: 48%; }
.community-orbit i:nth-child(3) { bottom: 12%; left: 20%; }
@keyframes orbit { to { transform: rotate(360deg); } }

footer { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; gap: 30px; min-height: 135px; padding: 30px clamp(22px, 5vw, 90px); color: oklch(92% 0.02 82 / 55%); background: var(--ink); font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--paper); letter-spacing: .12em; }
.footer-legal {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 6px;
    text-align: center;
    line-height: 1.65;
}
.footer-legal p {
    margin: 0 0 4px;
}
.footer-legal a {
    display: block;
    max-width: 100%;
    color: var(--paper);
    overflow-wrap: anywhere;
    text-underline-offset: 4px;
}

.footer-legal a:hover {
    text-decoration: underline;
}



footer > div:last-child { display: flex; justify-content: flex-end; gap: 22px; }
footer a { color: var(--paper); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; padding: 11px 18px; color: var(--paper); background: var(--ink); box-shadow: 0 12px 30px oklch(10% 0.01 225 / 25%); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s ease, transform .4s var(--ease-out); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s ease, transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    :root { --header-height: 66px; }
    .menu-button { display: flex; }
    .main-nav { position: absolute; top: var(--header-height); left: 0; right: 0; display: grid; gap: 0; padding: 14px 22px 24px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: opacity .25s ease, transform .35s var(--ease-out); }
    .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .main-nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav-login { margin-top: 10px; justify-content: center; color: var(--paper); background: var(--ink); border: 0 !important; }
    .hero-content { padding-left: clamp(22px, 7vw, 80px); }
    .server-chip { right: 22px; }
    .scroll-cue { display: none; }
    .world-intro { grid-template-columns: auto 1fr; }
    .world-detail { grid-column: 2; }
    .world-pulse { grid-column: 2; }
    .player-search { grid-template-columns: 1fr; min-height: 0; }
    .search-heading { min-height: 600px; }
    .portal-stage { grid-template-columns: 1fr; }
    .portal-panel { max-width: 650px; width: 100%; }
    .download-grid { grid-template-columns: auto 1fr; }
    .download-spec { grid-column: 2; }
    .campaign { grid-template-columns: 1fr; }
    .campaign-image { min-height: 55vw; }
    footer { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, footer > div:last-child { justify-content: center; }
}

@media (max-width: 640px) {
    .site-header { padding: 0 18px; }
    .hero-content { width: calc(100% - 36px); padding: 135px 0 220px 18px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero-description { max-width: 88%; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
    .server-chip { right: 18px; left: 18px; bottom: 85px; grid-template-columns: auto auto 1fr auto; }
    .server-chip code { text-align: right; overflow: hidden; text-overflow: ellipsis; }
    .announcement { grid-template-columns: auto 1fr; gap: 14px; min-height: 64px; padding: 10px 18px; }
    .announcement > span { padding-right: 13px; }
    .announcement a { display: none; }
    .world-intro { grid-template-columns: 1fr; padding: 95px 22px; }
    .world-intro .section-index, .world-detail, .world-pulse { grid-column: 1; }
    .world-intro .section-index, .search-heading .section-index, .portal-copy .section-index { margin-bottom: 34px; }
    .world-pulse { grid-template-columns: 1fr; }
    .world-pulse > div, .world-pulse > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
    .world-pulse > div:first-child { border-top: 0; }
    .search-heading { min-height: 540px; padding: 110px 22px 70px; }
    .search-heading .section-index { position: static; }
    .search-workspace { padding: 75px 22px 90px; }
    .player-mode-switch { margin: 0 -2px; }
    .player-mode-tab { min-height: 58px; padding: 10px 8px; }
    .player-mode-tab small { display: none; }
    .search-input-wrap { grid-template-columns: auto 1fr; }
    .search-input-wrap button { grid-column: 1 / -1; width: 100%; padding: 13px 0; border-top: 1px solid oklch(96% 0.018 82 / 16%); }
    .stat-lines { grid-template-columns: 1fr; }
    .stat-lines > div:nth-child(odd) { margin-right: 0; }
    .archive-toolbar { grid-template-columns: 1fr auto; }
    .archive-toolbar label:first-child { grid-column: 1 / -1; }
    .archive-refresh { padding: 0 14px; }
    .archive-head { display: none; }
    .archive-list { border-top-color: oklch(96% 0.018 82 / 18%); }
    .archive-row { grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; }
    .archive-row > :nth-child(3), .archive-row > :nth-child(4), .archive-row > :nth-child(5), .archive-row > :nth-child(6) { display: none; }
    .archive-pagination { gap: 8px; }
    .archive-pagination button { padding: 0 12px; }
    .portal { padding: 90px 22px; }
    .portal-stage { gap: 55px; }
    .portal-copy ol { margin-top: 32px; }
    .portal-panel { min-height: 0; padding: 42px 25px; box-shadow: 10px 12px 0 oklch(19% 0.018 225 / 9%); }
    .download-grid { grid-template-columns: 1fr; padding: 90px 22px; }
    .download-grid > *, .download-spec { grid-column: 1; }
    .download-copy .button { width: 100%; margin: 0 0 13px; }
    .download-copy small { display: block; }
    .campaign-image { min-height: 430px; }
    .campaign-image img { object-position: 64% center; }
    .campaign-copy { padding: 70px 22px; }
    .campaign-copy > div { align-items: flex-start; flex-direction: column; }
    .community { min-height: 650px; }
    .community-orbit { width: 150vw; }
    footer { padding: 45px 22px; }
}

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