:root {
    color-scheme: dark;
    --ink: #10100f;
    --ink-soft: #171716;
    --ink-raised: #20201e;
    --paper: #e9e3d6;
    --muted: #9b978d;
    --gold: #d9b773;
    --gold-bright: #f0d495;
    --red: #942f2b;
    --jade: #628777;
    --line: rgba(233, 227, 214, .15);
    --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 19px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
body, button, input { font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold); color: var(--ink); }
.page-width { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }

.site-header {
    position: absolute;
    z-index: 5;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 max(48px, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid rgba(233, 227, 214, .14);
    background: #0d0d0c;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo {
    display: block;
    width: 130px;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    box-shadow: none;
    filter: none;
    -webkit-filter: none;
    opacity: 1;
}
.brand-name { display: grid; color: var(--paper); font-family: Georgia, serif; font-size: clamp(10px, 1.1vw, 13px); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.brand-name b { color: var(--gold-bright); font-weight: 700; }
.brand-name small { margin-top: 5px; color: #b5afa2; font-family: Arial, sans-serif; font-size: 8px; font-weight: 400; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: 26px; height: 68px; font-family: Arial, sans-serif; font-size: clamp(11px, 0.92vw, 12px); letter-spacing: 0; }
.main-nav > a:not(.nav-action) { position: relative; display: grid; height: 100%; place-items: center; color: #d0cabe; transition: color .2s ease; }
.main-nav > a:not(.nav-action):hover, .main-nav > a.is-active { color: var(--gold-bright); }
.main-nav > a.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--gold); content: ""; }
.nav-action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border: 1px solid rgba(217, 183, 115, .65); color: var(--gold-bright); font-size: 12px; transition: background .2s ease, color .2s ease; }
.nav-action:hover { background: var(--gold); color: var(--ink); }
.nav-action span { margin-left: 9px; }
.menu-toggle { display: none; }
.header-live-status { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; margin-left: 12px; margin-right: auto; padding-left: 14px; border-left: 1px solid rgba(233, 227, 214, .2); }
.header-server-state { flex: 0 0 auto; gap: 7px; }
.header-server-state b, .header-online span { font-size: 8px; white-space: nowrap; }
.header-server-state small { color: #e0dbd0; font-size: 9px; white-space: nowrap; }
.header-server-state.is-online .status-dot { width: 9px; height: 9px; }
.header-online { margin-left: 0; padding-left: 10px; border-left: 1px solid rgba(233, 227, 214, .16); }
.header-online b { font-size: 17px; }

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 620px;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    background: #191919;
}
.hero::before { position: absolute; z-index: -1; inset: 0; background: url("../../pic/background.jpg") center 42% / cover no-repeat; content: ""; transform: scaleY(.94); }
.hero-content { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding-top: 84px; padding-bottom: 32px; text-align: center; animation: arrive .85s ease-out both; }
.hero-content > .eyebrow { justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--gold); font-family: Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: currentColor; }
.hero h1 { max-width: 680px; margin: 0; color: var(--gold); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(56px, 6.5vw, 108px); font-weight: 700; line-height: .99; letter-spacing: 0; text-shadow: 0 3px 8px rgba(0, 0, 0, .88), 0 3px 28px rgba(0, 0, 0, .45); }
h1 em, h2 em { color: var(--gold-bright); font-weight: 400; }
.hero h1 em { color: var(--gold); font-weight: 700; text-shadow: 0 0 18px rgba(255, 196, 70, .42), 0 3px 12px rgba(0, 0, 0, .9); }
.hero-copy { max-width: 450px; margin: 26px auto 28px; color: #d1cabe; font-size: 20px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 22px; padding: 0 20px; border: 1px solid transparent; font-family: Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #171512; }
.button-gold:hover { background: var(--gold-bright); }
.button-ghost { border-color: rgba(233, 227, 214, .55); background: rgba(13, 13, 12, .2); color: var(--paper); }
.button-ghost:hover, .button-outline:hover { border-color: var(--gold); background: rgba(217, 183, 115, .12); }
.hero-discord { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 23px; color: #c9c3b7; font-family: Arial, sans-serif; font-size: 11px; }
.hero-discord span:last-child { color: var(--gold); }
.discord-glyph { color: #baa66f; }
.hero-meta { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 24px auto 36px; padding-top: 21px; border-top: 1px solid rgba(233, 227, 214, .28); }
.server-state { display: flex; align-items: center; gap: 12px; }
.server-state > span:last-child, .hero-online { display: grid; gap: 2px; }
.server-state b, .hero-online span, .hero-location { color: #beb8ac; font-family: Arial, sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.server-state small { color: #e0dbd0; font-size: 15px; }
.status-dot { width: 8px; height: 8px; border: 1px solid #aaa295; border-radius: 50%; box-shadow: 0 0 10px rgba(217, 183, 115, .28); }
.server-state.is-online .status-dot { width: 12px; height: 12px; border-color: #79ad7a; background: #79ad7a; box-shadow: 0 0 10px rgba(121, 173, 122, .45); }
.server-state.is-offline .status-dot { border-color: #bd6257; background: #bd6257; box-shadow: 0 0 10px rgba(189, 98, 87, .4); }
.hero-online { gap: 0; padding-left: 27px; border-left: 1px solid rgba(233, 227, 214, .24); }
.hero-online b { color: var(--gold-bright); font-size: 27px; font-weight: 400; line-height: 1.25; }
.hero-location i { padding: 0 5px; color: var(--red); font-style: normal; }
.scroll-cue { position: absolute; right: 34px; bottom: 50%; display: flex; align-items: center; gap: 13px; color: rgba(233, 227, 214, .7); font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 0; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 42px; background: var(--gold); }

.world-card { position: relative; overflow: hidden; margin: 90px auto 110px; padding: 44px 46px 38px; border: 1px solid rgba(217, 183, 115, .42); border-radius: 4px; background: linear-gradient(145deg, #1c1d19, #151613 58%, #111210); box-shadow: 0 20px 56px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 244, 210, .05); }
.world-card::before { position: absolute; top: 0; left: 46px; width: 110px; height: 2px; background: var(--gold-bright); content: ""; box-shadow: 0 0 15px rgba(240, 212, 149, .35); }
.world-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: end; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.world-intro h2, .pvp-copy h2, .numbers-inner h2, .rank-section h2, .community-inner h2, .section-title { margin: 0; font-size: clamp(34px, 3vw, 48px); font-weight: 400; line-height: 1.12; }
.world-intro-copy { max-width: 480px; margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.world-card .section-topline { margin-top: 27px; border-top: 0; padding-top: 0; }
.section-topline { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 19px; }
.section-index { color: #79756d; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: 0; }
.section-title { margin: 14px 0 54px; }
.world-card .section-title { margin-bottom: 30px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-item { min-height: 185px; padding: 25px 30px 0 0; border-right: 1px solid var(--line); }
.feature-item + .feature-item { padding-left: 30px; }
.feature-item:last-child { border: 0; }
.feature-number { color: var(--red); font-family: Arial, sans-serif; font-size: 10px; letter-spacing: 0; }
.feature-item h3 { margin: 20px 0 8px; color: #e3dccf; font-size: 21px; font-weight: 400; }
.feature-item p, .pvp-copy > p:not(.eyebrow) { max-width: 305px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--gold); font-family: Arial, sans-serif; font-size: 11px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.pvp-section { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 90px; padding-top: 130px; padding-bottom: 130px; }
.pvp-art { min-height: 420px; background: url("../../pic/background.jpg") 18% 60% / cover no-repeat; filter: saturate(.76); }
.pvp-copy { padding: 16px 0; }
.pvp-copy h2 { margin-bottom: 21px; }
.pvp-copy > p:not(.eyebrow) { margin-bottom: 27px; }
.button-outline { border-color: rgba(217, 183, 115, .6); color: var(--gold-bright); }

.events-section { padding-top: 22px; padding-bottom: 120px; }
.events-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; padding-top: 18px; }
.events-content .section-title { margin: 0; }
.event-note { display: flex; min-height: 102px; align-items: center; gap: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-mark { color: var(--gold); font-size: 23px; }
.event-note div { flex: 1; }
.event-note b { color: #ddd6c9; font-size: 16px; font-weight: 400; }
.event-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.event-status { color: #9b9589; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 0; }

.numbers-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #171715; }
.numbers-inner { display: grid; min-height: 280px; grid-template-columns: 1.5fr repeat(3, 1fr); align-items: center; gap: 28px; }
.numbers-inner h2 { font-size: 35px; }
.numbers-inner .eyebrow { margin-bottom: 10px; }
.number-stat { display: grid; gap: 5px; justify-items: start; padding-left: 25px; border-left: 1px solid var(--line); }
.number-stat b { color: var(--gold-bright); font-size: 38px; font-weight: 400; line-height: 1.1; }
.number-stat span { color: #aaa499; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 0; }

.rank-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 110px; padding-bottom: 112px; }
.rank-section h2 { font-size: 42px; }
.rank-empty { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rank-empty > span { grid-row: span 2; color: var(--gold); }
.rank-empty p { margin: 0; color: #c7c0b4; font-size: 14px; }
.rank-empty .text-link { margin-top: 9px; }

.community-section { position: relative; overflow: hidden; border-top: 1px solid rgba(217, 183, 115, .16); background: #171614; text-align: center; }
.community-inner { display: grid; justify-items: center; padding-top: 91px; padding-bottom: 95px; }
.community-inner .eyebrow { justify-content: center; }
.community-inner h2 { margin-bottom: 12px; }
.community-inner > p:not(.eyebrow) { max-width: 490px; margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.community-inner small { margin-top: 12px; color: #817c72; font-family: Arial, sans-serif; font-size: 10px; }
.floating-social { position: fixed; z-index: 20; top: 50%; right: 18px; display: flex; flex-direction: column; gap: 9px; transform: translateY(-50%); }
.social-float-button { display: grid; width: 50px; height: 50px; padding: 0; place-items: center; border: 1px solid rgba(217, 183, 115, .52); border-radius: 50%; background: #151613; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .34); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.social-float-button:hover, .social-float-button[aria-expanded="true"] { transform: scale(1.06); border-color: var(--gold); background: #201e18; box-shadow: 0 0 18px rgba(217, 183, 115, .22), 0 8px 22px rgba(0, 0, 0, .34); }
.social-icon { display: block; width: 25px; height: 25px; object-fit: contain; animation: socialIconFloat 3.4s ease-in-out infinite; }
.social-float-button .social-icon { width: 100%; height: 100%; }
.social-widget-panel { position: absolute; top: 50%; right: 61px; display: grid; grid-template-rows: auto; gap: 10px; width: 350px; height: auto; max-height: calc(100vh - 24px); padding: 13px; overflow: hidden; border: 1px solid rgba(217, 183, 115, .48); border-radius: 9px; background: #151613; box-shadow: 0 18px 48px rgba(0, 0, 0, .58), 0 0 18px rgba(217, 183, 115, .12); transform: translateY(-50%); }
.social-widget-panel[hidden] { display: none; }
.social-widget-content { display: grid; gap: 10px; min-width: 0; min-height: 0; overflow: hidden; }
.social-widget-header { display: flex; min-width: 0; align-items: center; justify-content: space-between; padding: 0 0 9px; border-bottom: 1px solid rgba(217, 183, 115, .22); }
.social-panel-kicker { color: var(--gold); font-family: Arial, sans-serif; font-size: 8px; }
.social-widget-header h2 { margin: 1px 0 0; color: var(--paper); font-size: 16px; font-weight: 400; }
.social-widget-close { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(233, 227, 214, .16); border-radius: 4px; background: #10110f; color: #e9e3d6; cursor: pointer; font-size: 20px; line-height: 1; transition: border-color .18s ease, color .18s ease; }
.social-widget-close:hover { border-color: var(--gold); color: var(--gold-bright); }
.social-widget-frame { display: block; width: 100%; min-width: 0; height: 260px; min-height: 0; border: 0; border-radius: 4px; background: #10110f; }
.social-fallback-row { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 5px 7px; border: 1px solid rgba(233, 227, 214, .1); border-radius: 4px; background: #111210; }
.social-fallback-row .social-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.social-fallback-row div { display: grid; min-width: 0; flex: 1; gap: 1px; }
.social-fallback-row strong { color: var(--paper); font-size: 10px; font-weight: 400; }
.social-fallback-row div span { color: #928d82; font-family: Arial, sans-serif; font-size: 8px; }
.social-fallback-row a, .social-panel-join { display: inline-flex; min-height: 30px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid rgba(217, 183, 115, .45); border-radius: 3px; color: var(--gold-bright); font-family: Arial, sans-serif; font-size: 8px; transition: background .18s ease, color .18s ease; }
.social-fallback-row a:hover, .social-panel-join:hover { background: var(--gold); color: #171512; }
.social-panel-join { width: 100%; min-height: 42px; font-size: 10px; }
.social-panel-join-disabled { border-color: rgba(233, 227, 214, .12); background: #10110f; color: #77746d; cursor: not-allowed; }
.social-panel-join-disabled:hover { background: #10110f; color: #77746d; }
@keyframes socialIconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 12px 25px; align-items: center; padding: 37px max(48px, calc((100vw - var(--content)) / 2)) 28px; background: #0c0c0b; }
.brand-footer { grid-row: span 2; }
.site-footer > p { margin: 0; color: #918b80; font-size: 12px; text-align: right; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 23px; color: #c1baae; font-family: Arial, sans-serif; font-size: 10px; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer > small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(233, 227, 214, .11); color: #79756d; font-family: Arial, sans-serif; font-size: 9px; }

.flash { position: relative; z-index: 4; padding: 13px 24px; background: #332320; color: #f2d6cd; font-family: Arial, sans-serif; font-size: 13px; text-align: center; }
.flash-error { border-bottom: 1px solid rgba(148, 47, 43, .7); }
.flash-success { margin-top: 9px; border-bottom: 1px solid rgba(82, 157, 96, .75); background: #1d3022; color: #c5e6c9; }
.player-profile { width: min(100%, 660px); padding: 38px; border: 1px solid rgba(217, 183, 115, .48); border-top: 2px solid var(--gold); border-radius: 10px; background: linear-gradient(145deg, #1b1c19, #10110f 78%); box-shadow: 0 20px 52px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 236, 185, .07); }
.profile-header { margin-bottom: 22px; padding-bottom: 19px; border-bottom: 1px solid rgba(217, 183, 115, .2); text-align: center; }
.profile-logo { width: 144px; height: 72px; margin: 0 auto 10px; object-fit: contain; }
.profile-label { color: var(--gold); font-family: Arial, sans-serif; font-size: 10px; }
.player-name { margin-top: 10px; color: var(--paper); font-size: 36px; font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; }
.login-status { display: inline-block; margin-top: 12px; padding: 7px 11px; border: 1px solid rgba(82, 157, 96, .4); border-radius: 3px; background: rgba(29, 48, 34, .72); color: #c5e6c9; font-family: Arial, sans-serif; font-size: 10px; }
.player-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.stat-box { display: grid; min-width: 0; min-height: 78px; align-content: center; gap: 7px; padding: 13px 15px; border: 1px solid rgba(217, 183, 115, .2); border-radius: 6px; background: rgba(12, 13, 12, .78); }
.stat-wide { grid-column: 1 / -1; }
.stat-highlight { border-color: rgba(217, 183, 115, .42); background: rgba(53, 43, 25, .34); }
.stat-label { color: #a49a84; font-family: Arial, sans-serif; font-size: 9px; }
.stat-value { color: var(--gold-bright); font-size: 20px; font-weight: 400; overflow-wrap: anywhere; }
.stat-highlight .stat-value { font-size: 22px; }
.profile-data-error { margin: 0; color: #c5bca9; font-size: 13px; text-align: center; }
.profile-logout-form { margin-top: 22px; }
.logout-btn { width: 100%; min-height: 47px; border: 1px solid rgba(217, 183, 115, .62); border-radius: 4px; background: rgba(217, 183, 115, .1); color: var(--gold-bright); cursor: pointer; font-family: Arial, sans-serif; font-size: 11px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.logout-btn:hover { transform: translateY(-1px); background: var(--gold); color: #171512; }
.rankings-banner-subtitle { margin: 8px 0 0; color: var(--gold-bright); font-size: 19px; }
.rankings-view { display: grid; gap: 18px; width: min(100%, 1080px); margin: 0 auto; }
.rankings-tabs { display: flex; flex-wrap: wrap; gap: 9px; width: 100%; justify-content: center; }
.ranking-tab { flex: 1 1 150px; min-height: 48px; padding: 10px 15px; border: 1px solid rgba(217, 183, 115, .25); border-radius: 5px; background: rgba(18, 19, 17, .88); color: #b8b0a1; cursor: pointer; font-family: Arial, sans-serif; font-size: 10px; transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.ranking-tab:hover { border-color: rgba(217, 183, 115, .6); color: var(--paper); }
.ranking-tab.active { border-color: var(--gold); background: linear-gradient(135deg, rgba(217, 183, 115, .2), rgba(119, 88, 39, .12)); box-shadow: inset 0 -2px var(--gold), 0 0 18px rgba(217, 183, 115, .1); color: var(--gold-bright); }
.ranking-panels { width: 100%; min-width: 0; }
.ranking-panel { display: none; width: 100%; padding: 25px; border: 1px solid rgba(217, 183, 115, .28); border-radius: 9px; background: linear-gradient(145deg, rgba(31, 31, 27, .96), rgba(16, 17, 15, .98)); box-shadow: 0 18px 40px rgba(0, 0, 0, .32); }
.ranking-panel.active { display: block; }
.ranking-panel-header { margin-bottom: 17px; padding-bottom: 15px; border-bottom: 1px solid rgba(233, 227, 214, .11); }
.ranking-card-kicker { color: #918b80; font-family: Arial, sans-serif; font-size: 8px; }
.ranking-panel-header h2 { margin: 5px 0 2px; color: var(--gold-bright); font-size: 21px; font-weight: 400; line-height: 1.35; }
.ranking-panel-header p { margin: 0; color: #aaa499; font-size: 12px; }
.ranking-table-wrap { overflow-x: auto; }
.ranking-table { width: 100%; border-collapse: collapse; text-align: left; }
.ranking-table th { padding: 12px 14px; border-bottom: 1px solid rgba(217, 183, 115, .32); color: #a49a84; font-family: Arial, sans-serif; font-size: 9px; font-weight: 400; white-space: nowrap; }
.ranking-table td { padding: 11px 14px; border-bottom: 1px solid rgba(233, 227, 214, .08); color: #d8d1c4; font-size: 13px; }
.ranking-table tbody tr:last-child td { border-bottom: 0; }
.ranking-table tbody tr:hover td { background: rgba(217, 183, 115, .06); color: var(--gold-bright); }
.ranking-table td:first-child { width: 90px; color: #a49a84; font-family: Arial, sans-serif; font-size: 11px; }
.rank-number { display: inline-flex; min-width: 43px; min-height: 29px; align-items: center; justify-content: center; border: 1px solid rgba(233, 227, 214, .1); border-radius: 4px; background: rgba(10, 11, 10, .55); color: #a49a84; }
.rank-number.ranking-position-1 { border-color: rgba(217, 183, 115, .65); background: rgba(217, 183, 115, .16); color: var(--gold-bright); box-shadow: 0 0 12px rgba(217, 183, 115, .1); }
.rank-number.ranking-position-2 { border-color: rgba(191, 198, 202, .44); background: rgba(191, 198, 202, .1); color: #d5d9da; }
.rank-number.ranking-position-3 { border-color: rgba(174, 111, 72, .52); background: rgba(174, 111, 72, .12); color: #d19a70; }
.ranking-row.ranking-position-1 .ranking-player-name { color: var(--gold-bright); }
.ranking-row.ranking-position-2 .ranking-player-name { color: #d5d9da; }
.ranking-row.ranking-position-3 .ranking-player-name { color: #d19a70; }
.ranking-player-name { font-weight: 400; overflow-wrap: anywhere; }
.ranking-no-data { padding: 36px 14px !important; color: #aaa499 !important; text-align: center; }
.subpage { min-height: calc(100vh - 210px); padding-top: 94px; }
.page-banner { position: relative; overflow: hidden; padding: 90px 0 76px; border-bottom: 1px solid var(--line); background: url("../../pic/background.jpg") center 48% / cover no-repeat; }
.page-banner .page-width { position: relative; z-index: 1; }
.page-banner .eyebrow span { color: var(--red); }
.page-banner h1 { margin: 0; font-size: 54px; font-weight: 400; line-height: 1.1; }
.banner-copy { max-width: 470px; margin: 13px 0 0; color: #aaa499; font-size: 15px; }
.subpage-body { display: flex; min-height: 415px; align-items: center; justify-content: center; padding-top: 64px; padding-bottom: 75px; }
.form-panel { width: min(100%, 510px); padding: 35px 39px; border: 1px solid rgba(233, 227, 214, .16); background: #171715; }
.panel-kicker { color: var(--gold); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: 0; }
.form-panel h2, .empty-state h2, .server-detail h2 { margin: 8px 0 10px; font-size: 29px; font-weight: 400; }
.muted-copy { margin: 0 0 21px; color: #a7a194; font-size: 13px; line-height: 1.7; }
.form-panel form { display: grid; gap: 9px; }
.form-panel label { margin-top: 7px; color: #d3cbbb; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: 0; }
.form-panel input { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid rgba(233, 227, 214, .2); border-radius: 0; outline: none; background: #10100f; color: var(--paper); font-size: 14px; }
.form-panel input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(217, 183, 115, .1); }
.form-panel input:disabled { opacity: .45; }
.form-submit { width: 100%; margin-top: 10px; cursor: pointer; }
.form-submit:disabled { cursor: not-allowed; opacity: .5; }
.form-switch { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.form-switch a { color: var(--gold); }
.empty-state { width: min(100%, 620px); padding: 54px 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.empty-symbol { color: var(--gold); font-size: 27px; }
.empty-state h2 { margin-top: 10px; }
.empty-state p { max-width: 470px; margin: 0 auto 19px; color: var(--muted); font-size: 14px; }
.status-label { color: #a7a194; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: 0; }
.server-detail { width: min(100%, 800px); padding: 20px 0; }
.server-detail > p:not(.eyebrow) { max-width: 650px; color: var(--muted); line-height: 1.8; }
.server-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 30px 0; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.server-facts div { display: grid; gap: 5px; }
.server-facts b { color: var(--gold); font-family: Arial, sans-serif; font-size: 9px; font-weight: 400; letter-spacing: 0; }
.server-facts span { color: #c8c1b5; font-size: 13px; }
.download-page { display: grid; gap: 27px; width: min(100%, 1100px); margin: 0 auto; }
.download-client-card { display: grid; min-height: 320px; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid rgba(217, 183, 115, .48); border-top: 2px solid var(--gold); border-radius: 10px; background: #171815; box-shadow: 0 20px 48px rgba(0, 0, 0, .38); }
.download-client-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 42px; }
.download-eyebrow, .download-card-kicker { color: var(--gold); font-family: Arial, sans-serif; font-size: 9px; }
.download-client-copy h2 { margin: 12px 0 3px; color: var(--paper); font-size: 34px; font-weight: 400; line-height: 1.2; }
.download-description { margin: 0; color: #aaa499; font-size: 15px; }
.download-file { display: grid; gap: 3px; margin-top: 22px; padding-left: 13px; border-left: 2px solid var(--gold); }
.download-file span { color: #918b80; font-family: Arial, sans-serif; font-size: 8px; }
.download-file strong { color: var(--paper); font-size: 14px; font-weight: 400; }
.download-client-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 18px; margin-top: 25px; padding: 0 23px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: #171512; font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; transition: background .18s ease, color .18s ease, transform .18s ease; }
.download-client-button:hover { transform: translateY(-2px); background: var(--gold-bright); }
.download-client-button span { font-size: 14px; }
.download-client-art { display: grid; min-height: 100%; align-content: center; justify-items: center; gap: 12px; padding: 30px; border-left: 1px solid rgba(233, 227, 214, .1); background: #111210; }
.download-client-art img { width: min(100%, 260px); height: 145px; object-fit: contain; }
.download-client-art span { color: #8f866f; font-family: Arial, sans-serif; font-size: 8px; }
.download-section { display: grid; gap: 13px; }
.download-section-header { display: flex; align-items: end; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(217, 183, 115, .24); }
.download-section-header h2 { margin: 4px 0 0; color: var(--paper); font-size: 19px; font-weight: 400; }
.download-section-index { color: #817c72; font-family: Arial, sans-serif; font-size: 10px; }
.download-info-card { display: flex; min-width: 0; align-items: center; gap: 16px; padding: 19px; border: 1px solid rgba(233, 227, 214, .13); border-radius: 7px; background: #171815; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.download-info-symbol { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(217, 183, 115, .36); border-radius: 5px; color: var(--gold-bright); font-family: Arial, sans-serif; font-size: 14px; }
.download-info-card > div:nth-child(2) { min-width: 0; flex: 1; }
.download-info-card h3 { margin: 3px 0; color: var(--paper); font-size: 15px; font-weight: 400; overflow-wrap: anywhere; }
.download-info-card p { margin: 0; color: #aaa499; font-size: 12px; }
.download-coming-soon { color: #969083; font-family: Arial, sans-serif; font-size: 8px; white-space: nowrap; }
.requirements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.download-disabled-button { flex: 0 0 auto; min-height: 37px; padding: 0 12px; border: 1px solid rgba(233, 227, 214, .16); border-radius: 4px; background: #111210; color: #77746d; font-family: Arial, sans-serif; font-size: 8px; cursor: not-allowed; }

@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
    .site-header { padding-inline: 34px; }
    .main-nav { gap: 19px; }
    .page-width { width: min(var(--content), calc(100% - 68px)); }
    .pvp-section { gap: 55px; }
    .scroll-cue { right: 13px; }
    .site-footer { padding-inline: 34px; }
}

@media (max-width: 760px) {
    .page-width { width: calc(100% - 44px); }
    .site-header { min-height: 76px; padding-inline: 22px; }
    .header-live-status { gap: 7px; margin-left: 10px; margin-right: auto; padding-left: 8px; }
    .header-server-state { gap: 5px; }
    .header-server-state b, .header-online span { font-size: 7px; }
    .header-server-state small { font-size: 8px; }
    .header-online { padding-left: 7px; }
    .header-online b { font-size: 15px; }
    .brand-mark { width: 36px; }
    .menu-toggle { display: grid; width: 42px; height: 42px; align-content: center; justify-items: center; gap: 6px; border: 1px solid rgba(217, 183, 115, .45); background: rgba(16, 16, 15, .65); cursor: pointer; }
    .menu-toggle span { width: 16px; height: 1px; background: var(--gold-bright); transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .main-nav { position: absolute; top: 75px; right: 0; left: 0; display: none; height: auto; align-items: stretch; gap: 0; padding: 9px 22px 20px; border-bottom: 1px solid var(--line); background: #111110; }
    .main-nav.is-open { display: grid; }
    .main-nav > a:not(.nav-action) { min-height: 43px; justify-items: start; border-bottom: 1px solid rgba(233, 227, 214, .08); }
    .main-nav > a.is-active::after { right: auto; width: 24px; }
    .nav-action { justify-self: start; margin-top: 13px; }
    .hero { display: block; min-height: 0; padding-bottom: 32px; }
    .hero::before { background-position: 57% center; }
    .hero-content { min-height: 540px; padding: 82px 0 30px; }
    .hero h1 { font-size: 72px; }
    .hero-copy { max-width: 380px; font-size: 15px; }
    .hero-meta { flex-wrap: wrap; row-gap: 16px; margin-top: 24px; }
    .hero-location { width: 100%; font-size: 11px; }
    .hero-online { margin-left: auto; }
    .scroll-cue { display: none; }
    .world-card { margin-block: 58px 78px; padding: 30px 23px 24px; }
    .world-card::before { left: 23px; width: 76px; }
    .world-intro { grid-template-columns: 1fr; gap: 15px; padding-bottom: 24px; }
    .world-intro h2, .pvp-copy h2, .rank-section h2, .community-inner h2 { font-size: 41px; }
    .world-intro-copy { margin-bottom: 0; font-size: 14px; line-height: 1.75; }
    .world-card .section-topline { margin-top: 22px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-item, .feature-item + .feature-item { min-height: 0; padding: 20px 0 23px; border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-item h3 { margin-top: 10px; }
    .feature-item:last-child { border-bottom: 0; }
    .section-title { margin-bottom: 35px; font-size: 39px; }
    .world-card .section-title { margin-bottom: 20px; font-size: 36px; }
    .pvp-section { grid-template-columns: 1fr; gap: 31px; padding-top: 85px; padding-bottom: 82px; }
    .pvp-art { min-height: 290px; }
    .events-section { padding-bottom: 83px; }
    .events-content { grid-template-columns: 1fr; gap: 30px; }
    .event-note { align-items: flex-start; padding-block: 18px; }
    .event-status { padding-top: 4px; }
    .numbers-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; padding-top: 55px; padding-bottom: 55px; }
    .numbers-inner > div:first-child { grid-column: 1 / -1; }
    .number-stat { min-height: 69px; padding-left: 15px; }
    .number-stat b { font-size: 31px; }
    .number-stat span { font-size: 7px; }
    .rank-section { grid-template-columns: 1fr; gap: 27px; padding-top: 78px; padding-bottom: 80px; }
    .community-inner { padding-top: 72px; padding-bottom: 75px; }
    .community-inner .eyebrow { font-size: 8px; }
    .floating-social { right: 12px; gap: 7px; }
    .social-float-button { width: 44px; height: 44px; }
    .social-widget-panel { right: 54px; width: min(350px, calc(100vw - 82px)); height: auto; max-height: calc(100vh - 20px); padding: 11px; }
    .social-widget-content { gap: 4px; }
    .social-fallback-row { min-height: 34px; gap: 4px; padding: 3px; }
    .social-panel-join { min-height: 34px; font-size: 8px; }
    .social-fallback-row a { padding: 0 7px; font-size: 8px; }
    .site-footer { grid-template-columns: 1fr; gap: 13px; padding: 29px 22px 22px; }
    .brand-footer { grid-row: auto; }
    .site-footer > p { text-align: left; }
    .site-footer nav { flex-wrap: wrap; justify-content: flex-start; gap: 13px 20px; }
    .site-footer > small { grid-column: auto; }
    .subpage { padding-top: 76px; }
    .page-banner { padding: 74px 0 57px; }
    .page-banner h1 { font-size: 43px; }
    .banner-copy { max-width: 390px; font-size: 14px; }
    .subpage-body { min-height: 370px; padding-top: 42px; padding-bottom: 48px; }
    .form-panel { padding: 28px 23px; }
    .download-client-card { grid-template-columns: 1fr; }
    .download-client-copy { padding: 29px 25px; }
    .download-client-art { min-height: 185px; border-top: 1px solid rgba(233, 227, 214, .1); border-left: 0; }
    .requirements-grid { grid-template-columns: 1fr; }
    .download-info-card { padding: 16px; }
    .ranking-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ranking-tab { min-width: 0; padding: 9px 7px; font-size: 9px; }
    .ranking-panel { padding: 19px; }
    .rankings-banner-subtitle { font-size: 17px; }
    .player-profile { padding: 28px; }
    .player-name { font-size: 31px; }
    .player-stats { gap: 9px; }
    .stat-box { min-height: 72px; padding: 12px; }
    .stat-value { font-size: 18px; }
    .stat-highlight .stat-value { font-size: 20px; }
    .server-facts { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 390px) {
    .brand-logo { width: 92px; }
    .header-server-state b { display: none; }
    .header-online span { font-size: 6px; }
    .hero h1 { font-size: 64px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { justify-content: space-between; }
    .player-profile { padding: 23px 18px; }
    .download-client-copy { padding: 25px 19px; }
    .download-client-copy h2 { font-size: 27px; }
    .download-info-card { align-items: flex-start; gap: 11px; padding: 14px 11px; }
    .download-info-symbol { width: 36px; height: 36px; flex-basis: 36px; }
    .download-disabled-button { padding: 0 8px; font-size: 7px; }
    .ranking-panel { padding: 15px 11px; }
    .ranking-tabs { gap: 6px; }
    .ranking-tab { min-height: 42px; font-size: 8px; }
    .ranking-table th, .ranking-table td { padding: 8px 6px; }
    .ranking-table td:first-child { width: 62px; }
    .rank-number { min-width: 36px; min-height: 26px; }
    .profile-logo { width: 120px; height: 60px; }
    .profile-header { margin-bottom: 18px; padding-bottom: 16px; }
    .player-name { font-size: 27px; }
    .player-stats { gap: 7px; }
    .stat-box { min-height: 66px; padding: 10px; }
    .stat-label { font-size: 8px; }
    .stat-value, .stat-highlight .stat-value { font-size: 16px; }
    .login-status { font-size: 9px; }
    .profile-logout-form { margin-top: 17px; }
    .section-index { font-size: 7px; }
}

@media (max-width: 340px) {
    .player-profile { padding: 19px 14px; }
    .player-stats { gap: 6px; }
    .stat-box { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}