@charset "UTF-8";

:root {
  --ink: #071318;
  --ink-2: #0b1d23;
  --ink-3: #102930;
  --paper: #f3f0e9;
  --paper-2: #e9e5dc;
  --white: #fff;
  --gold: #c9a96a;
  --gold-bright: #e7cc91;
  --gold-dark: #806537;
  --teal: #4bb9b0;
  --text: #17282c;
  --muted: #708085;
  --line: rgba(21, 47, 53, .13);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  --font-sans: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --shadow: 0 20px 70px rgba(2, 13, 17, .22);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { max-width: 100%; margin: 0; overflow-x: hidden; color: var(--text); background: var(--paper); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: #071318; background: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 108px 0; }
.section-kicker { display: block; margin-bottom: 13px; color: var(--gold-dark); font-family: Georgia, serif; font-size: 11px; font-weight: 700; letter-spacing: .25em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-heading h2 { margin: 0; color: var(--ink); font-family: var(--font-serif); font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: .08em; line-height: 1.3; }
.section-heading > p { max-width: 300px; margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 1.9; text-align: right; }
.section-heading.light h2 { color: #f6f0e4; }
.section-heading.light .section-kicker { color: var(--gold-bright); }
.section-heading.light > p { color: rgba(229, 236, 234, .6); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; transition: background .25s, color .25s; }
.icon-button:hover { background: rgba(201, 169, 106, .13); color: var(--gold); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; gap: 28px; overflow: hidden; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .12em; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.25) 45%, transparent 70%); transform: translateX(-120%); transition: transform .65s; }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #102027; background: linear-gradient(120deg, #b89554, #e3c787 55%, #b59251); border-color: #e5cb90; box-shadow: 0 8px 25px rgba(178, 143, 79, .16); }
.btn-gold:hover { background: linear-gradient(120deg, #caa761, #f0dba5 55%, #c3a15d); }
.btn-ghost { color: #f6f2e9; border-color: rgba(255, 255, 255, .35); background: rgba(4, 19, 24, .13); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-outline { color: var(--ink); border-color: rgba(15, 41, 47, .28); }
.btn-outline:hover { color: var(--gold-dark); border-color: var(--gold); }
.btn-large { min-width: 250px; min-height: 58px; }
.text-button { display: inline-flex; align-items: center; gap: 20px; padding: 10px 0; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.text-button .icon { width: 18px; transition: transform .25s; }
.text-button:hover { color: var(--gold-dark); }
.text-button:hover .icon { transform: translateX(5px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Header */
.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; height: 82px; color: #f4f1e9; border-bottom: 1px solid rgba(255,255,255,.12); transition: height .3s, background .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(3,13,17,.98) 0%, rgba(3,13,17,.94) 72%, rgba(3,13,17,.6) 100%); transition: opacity .3s; }
.site-header.is-scrolled { height: 70px; background: rgba(5, 20, 25, .96); box-shadow: 0 8px 35px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; width: min(1380px, calc(100% - 56px)); height: 100%; margin: auto; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 12px; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 48px; color: var(--gold-bright); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 3px 5px; border: 1px solid currentColor; transform: rotate(30deg) skewY(-4deg); opacity: .8; }
.brand-mark::after { inset: 8px 10px; transform: rotate(-30deg); opacity: .35; }
.brand-mark span { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 25px; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong { color: #f4eddd; font-family: Georgia, serif; font-size: 28px; font-weight: 400; letter-spacing: .12em; }
.brand-type small { margin-top: 6px; color: var(--gold); font-family: Georgia, serif; font-size: 8px; letter-spacing: .36em; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 34px; margin-left: clamp(45px, 6vw, 100px); }
.nav-item { position: relative; display: flex; align-self: stretch; align-items: center; }
.nav-link { position: relative; display: flex; align-items: center; align-self: stretch; gap: 4px; padding: 0; color: rgba(245,245,240,.75); font-size: 13px; letter-spacing: .06em; white-space: nowrap; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--gold); transition: left .25s, right .25s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { right: 0; left: 0; }
.nav-link .icon { width: 14px; }
.dropdown { position: absolute; top: calc(100% + 1px); left: -24px; width: 170px; padding: 12px; visibility: hidden; opacity: 0; background: rgba(7, 25, 30, .97); border: 1px solid rgba(201,169,106,.22); box-shadow: var(--shadow); transform: translateY(8px); transition: .25s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown a, .dropdown button { display: block; width: 100%; padding: 11px 14px; color: rgba(255,255,255,.7); font-size: 12px; text-align: left; transition: .2s; }
.dropdown a:hover, .dropdown button:hover { color: var(--gold-bright); background: rgba(201,169,106,.08); padding-left: 18px; }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.account-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: rgba(255,255,255,.76); font-size: 12px; white-space: nowrap; }
.account-btn:hover { color: var(--gold-bright); }
.account-btn .icon { width: 17px; }
.header-download { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; gap: 9px; color: #152329; background: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .05em; transition: .2s; }
.header-download:hover { background: var(--gold-bright); }
.header-download .icon { width: 16px; }
.mobile-toggle, .mobile-nav { display: none; }

/* Hero */
.hero { position: relative; height: max(720px, 92vh); min-height: 720px; max-height: 980px; overflow: hidden; color: white; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: visibility 1s, opacity 1s; }
.hero-slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.045); transition: transform 8s ease; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,20,.94) 0%, rgba(3,15,20,.77) 24%, rgba(3,15,20,.28) 53%, rgba(3,15,20,.03) 75%), linear-gradient(0deg, rgba(3,15,20,.83) 0%, transparent 38%, rgba(3,15,20,.18) 100%); }
.hero-slide:nth-child(2) .hero-bg::after { background: linear-gradient(90deg, rgba(5,18,35,.88) 0%, rgba(5,18,35,.62) 27%, rgba(5,18,35,.08) 65%), linear-gradient(0deg, rgba(4,16,25,.88), transparent 42%); }
.hero-bg-dark { background-position: center 25%; }
.hero-content { position: relative; display: flex; align-items: center; height: 100%; padding-top: 40px; }
.hero-copy { width: 620px; padding-bottom: 20px; opacity: 0; transform: translateY(20px); transition: opacity .8s .25s, transform .8s .25s; }
.hero-slide.is-active .hero-copy { opacity: 1; transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: var(--gold-bright); font-size: 12px; font-weight: 500; letter-spacing: .18em; }
.eyebrow span { width: 33px; height: 1px; background: var(--gold); }
.hero h1, .hero h2 { margin: 0; color: #f9f5eb; font-family: var(--font-serif); font-size: clamp(43px, 4.7vw, 69px); font-weight: 500; letter-spacing: .07em; line-height: 1.34; text-shadow: 0 3px 20px rgba(0,0,0,.24); }
.hero h1 em, .hero h2 em { color: #e7d6b2; font-style: normal; }
.hero-copy > p { margin: 26px 0 32px; color: rgba(239,242,238,.72); font-size: 14px; letter-spacing: .08em; line-height: 2; }
.hero-buttons { display: flex; gap: 14px; }
.hero-side-nav { position: absolute; z-index: 5; top: 47%; right: max(30px, calc((100vw - 1380px)/2)); display: flex; flex-direction: column; gap: 15px; transform: translateY(-50%); }
.slide-dot { display: flex; align-items: center; justify-content: flex-end; width: 65px; padding: 5px 0; gap: 13px; color: rgba(255,255,255,.48); font-family: Georgia, serif; font-size: 11px; }
.slide-dot i { width: 16px; height: 1px; background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.slide-dot.is-active { color: var(--gold-bright); }
.slide-dot.is-active i { width: 33px; background: var(--gold-bright); }
.hero-bottom { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.15); background: rgba(4,18,23,.36); backdrop-filter: blur(10px); }
.hero-bottom-inner { display: flex; align-items: center; height: 82px; }
.server-pill { display: flex; align-items: center; gap: 11px; color: white; font-size: 12px; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #60c9a1; box-shadow: 0 0 0 4px rgba(96,201,161,.12), 0 0 12px rgba(96,201,161,.45); }
.server-pill strong { font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.server-state { color: #78d5b0; }
.server-pill small { padding: 3px 6px; color: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.16); font-size: 9px; }
.server-pill .icon { width: 14px; margin-left: 6px; color: rgba(255,255,255,.5); }
.hero-meta { display: flex; align-items: center; gap: 25px; margin-left: auto; color: rgba(255,255,255,.46); font-size: 10px; letter-spacing: .04em; }
.hero-meta strong { margin-left: 5px; color: rgba(255,255,255,.78); font-weight: 400; }
.hero-meta i { width: 1px; height: 13px; background: rgba(255,255,255,.15); }
.scroll-hint { display: flex; align-items: center; gap: 14px; margin-left: 55px; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .12em; }
.scroll-hint i { position: relative; width: 1px; height: 28px; overflow: hidden; background: rgba(255,255,255,.18); }
.scroll-hint i::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: var(--gold); animation: scrollDown 2s infinite; }
@keyframes scrollDown { to { top: 110%; } }

/* Quick services */
.quick-dock { position: relative; z-index: 5; background: #f8f6f1; border-bottom: 1px solid var(--line); box-shadow: 0 10px 40px rgba(14,35,40,.04); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { position: relative; display: flex; align-items: center; min-height: 114px; padding: 20px 28px; gap: 16px; text-align: left; border-right: 1px solid var(--line); transition: background .25s; }
.quick-item:first-child { border-left: 1px solid var(--line); }
.quick-item:hover { background: #fff; }
.quick-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--gold-dark); border: 1px solid rgba(128,101,55,.3); transform: rotate(45deg); transition: .25s; }
.quick-icon .icon { width: 21px; transform: rotate(-45deg); }
.quick-item:hover .quick-icon { color: var(--ink); background: var(--gold-bright); border-color: var(--gold); }
.quick-item > span:nth-child(2) { display: flex; flex-direction: column; gap: 7px; }
.quick-item strong { color: var(--ink); font-family: var(--font-serif); font-size: 15px; letter-spacing: .08em; }
.quick-item small { color: var(--muted); font-size: 10px; }
.quick-arrow { width: 16px; margin-left: auto; color: #98a4a6; opacity: 0; transform: translateX(-6px); transition: .25s; }
.quick-item:hover .quick-arrow { opacity: 1; transform: translateX(0); }

/* News */
.news-section { background: var(--paper); }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; gap: 34px; }
.filter-tab { position: relative; padding: 0 3px 16px; color: #829094; font-size: 12px; }
.filter-tab::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--gold-dark); transition: .25s; }
.filter-tab.is-active { color: var(--ink); font-weight: 700; }
.filter-tab.is-active::after { right: 0; left: 0; }
.news-search { position: relative; display: flex; align-items: center; width: 150px; gap: 8px; padding-bottom: 12px; color: #829094; }
.news-search .icon { width: 16px; }
.news-search input { min-width: 0; width: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 12px; }
.news-search input::placeholder { color: #98a4a6; }
.news-search:focus-within { color: var(--gold-dark); }
.news-layout { display: grid; grid-template-columns: 1.07fr 1fr; gap: 52px; }
.news-feature { display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; }
.news-feature-image { position: relative; height: 305px; overflow: hidden; background: var(--ink-2); }
.news-feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-feature:hover img { transform: scale(1.035); }
.news-feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,19,24,.45), transparent 50%); }
.news-feature-image .news-category { position: absolute; z-index: 1; top: 18px; left: 18px; }
.news-category { display: inline-flex; align-items: center; min-height: 23px; padding: 0 9px; color: #f6ecd8; background: rgba(128,101,55,.85); font-size: 9px; letter-spacing: .12em; backdrop-filter: blur(5px); }
.news-feature-body { padding: 23px 0 0; }
.news-date { color: #8a999d; font-family: Georgia, serif; font-size: 10px; letter-spacing: .08em; }
.news-feature h3 { margin: 12px 0 11px; color: var(--ink); font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.55; transition: color .2s; }
.news-feature:hover h3 { color: var(--gold-dark); }
.news-feature p { display: -webkit-box; overflow: hidden; margin: 0; color: #6e7e82; font-size: 12px; line-height: 1.9; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 64px 1fr 22px; align-items: center; width: 100%; min-height: 107px; gap: 18px; text-align: left; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.news-row:hover { padding: 0 10px; background: rgba(255,255,255,.55); }
.news-row time { display: flex; flex-direction: column; color: #879599; font-family: Georgia, serif; font-size: 10px; line-height: 1.5; }
.news-row time strong { color: #4c5f64; font-size: 24px; font-weight: 400; }
.news-row-content { min-width: 0; }
.news-row-content .news-category { min-height: 19px; padding: 0; color: var(--gold-dark); background: none; }
.news-row h3 { overflow: hidden; margin: 5px 0 0; color: #263a3f; font-family: var(--font-serif); font-size: 15px; font-weight: 600; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.news-row > .icon { width: 15px; color: #9da7a8; transition: transform .2s, color .2s; }
.news-row:hover > .icon { color: var(--gold-dark); transform: translateX(4px); }
.section-more { margin-top: 34px; text-align: center; }
.news-empty { padding: 70px 20px; color: var(--muted); text-align: center; border: 1px solid var(--line); }
.news-empty strong { color: var(--ink); font-family: var(--font-serif); font-size: 20px; }
.news-empty p { font-size: 12px; }

/* World */
.world-section { position: relative; overflow: hidden; color: white; background: #071b21; }
.world-backdrop { position: absolute; inset: 0; opacity: .2; background: linear-gradient(180deg, #071b21 0%, transparent 45%, #071b21 100%), url("assets/wallpaper-02.png") center/cover; }
.world-inner { position: relative; }
.world-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 15px; }
.world-card { position: relative; height: 435px; overflow: hidden; border: 1px solid rgba(213,191,145,.2); background: #10282d; }
.world-art { position: absolute; inset: 0; background-size: cover; transition: transform .8s; }
.art-sea { background-image: url("assets/wallpaper-02.png"); background-position: 54% center; }
.art-home { background-image: url("assets/wallpaper-03.png"); background-position: 20% center; }
.art-war { background-image: url("assets/wallpaper-04.jpg"); background-position: 50% center; }
.world-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,16,20,.97), rgba(3,16,20,.15) 70%), linear-gradient(90deg, rgba(3,16,20,.2), transparent); }
.world-card:hover .world-art { transform: scale(1.055); }
.world-card::after { content: ""; position: absolute; inset: 9px; pointer-events: none; border: 1px solid transparent; transition: border-color .3s; }
.world-card:hover::after { border-color: rgba(231,204,145,.35); }
.world-number { position: absolute; top: 25px; right: 26px; color: rgba(255,255,255,.45); font-family: Georgia, serif; font-size: 12px; }
.world-card-content { position: absolute; right: 32px; bottom: 34px; left: 32px; }
.world-card-content > span { color: var(--gold); font-family: Georgia, serif; font-size: 8px; letter-spacing: .22em; }
.world-card-content h3 { margin: 12px 0; color: #f4eee1; font-family: var(--font-serif); font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.world-card-content p { margin: 0; color: rgba(229,235,231,.55); font-size: 11px; line-height: 1.9; }
.world-stats { display: flex; align-items: center; justify-content: center; margin-top: 55px; gap: 70px; }
.world-stats > div { display: flex; align-items: center; gap: 18px; }
.world-stats strong { color: var(--gold-bright); font-family: Georgia, serif; font-size: 40px; font-weight: 400; }
.world-stats strong span { font-size: 20px; }
.world-stats small { max-width: 90px; color: rgba(255,255,255,.47); font-size: 10px; line-height: 1.7; }
.world-stats > i { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

/* Guides */
.guides-section { position: relative; background: #eeebe4; }
.guides-section::before { content: "CN"; position: absolute; top: 50px; left: -20px; color: rgba(10,34,40,.025); font-family: Georgia, serif; font-size: 340px; line-height: 1; pointer-events: none; }
.guides-layout { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.guides-intro h2 { margin: 0 0 24px; color: var(--ink); font-family: var(--font-serif); font-size: 43px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.guides-intro > p { max-width: 330px; margin: 0 0 32px; color: var(--muted); font-size: 12px; line-height: 2.1; }
.guide-list { border-top: 1px solid rgba(17,47,54,.2); }
.guide-item { display: grid; grid-template-columns: 42px 1fr 32px; align-items: center; width: 100%; min-height: 103px; gap: 18px; text-align: left; border-bottom: 1px solid rgba(17,47,54,.16); transition: padding .25s, background .25s; }
.guide-item:hover { padding: 0 15px; background: rgba(255,255,255,.45); }
.guide-item > span:first-child { color: var(--gold-dark); font-family: Georgia, serif; font-size: 12px; }
.guide-item h3 { margin: 0 0 7px; color: var(--ink); font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.guide-item p { margin: 0; color: var(--muted); font-size: 11px; }
.guide-item .icon { width: 17px; color: #829094; }

/* Account center */
.account-section { position: relative; color: #e8ebec; background: #0a0e11; }
.account-banner { position: relative; overflow: hidden; border-bottom: 1px solid rgba(201,169,106,.12); background: #0b1319; }
.account-banner-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,9,12,.96) 0%, rgba(4,9,12,.84) 32%, rgba(4,9,12,.58) 68%, rgba(4,9,12,.58)), linear-gradient(0deg, #0a0e11 0%, transparent 55%), url("assets/hero-scene-01.jpg") center 42%/cover no-repeat; filter: saturate(.62); }
.account-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 18% 40%, transparent 0%, rgba(4,9,12,.55) 78%); }
.account-banner-inner { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 52px; }
.account-crumb { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; color: rgba(226,232,233,.45); font-size: 10px; letter-spacing: .05em; }
.account-crumb a { transition: color .2s; }
.account-crumb a:hover { color: var(--gold-bright); }
.account-crumb span { color: rgba(226,232,233,.22); }
.account-crumb strong { color: rgba(226,232,233,.72); font-weight: 400; }
.account-kicker { display: block; margin-bottom: 12px; color: var(--gold); font-family: Georgia, serif; font-size: 10px; font-weight: 700; letter-spacing: .26em; }
.account-title { margin: 0; color: #f5f2ea; font-family: var(--font-serif); font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: .18em; line-height: 1.25; }
.account-id { margin: 18px 0 0; color: rgba(226,232,233,.5); font-size: 11px; letter-spacing: .04em; }
.account-id span { color: rgba(233,237,238,.82); }

.account-mainnav { border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(9,14,18,.9); }
.account-main-tabs { display: flex; gap: 44px; }
.account-main-tab { position: relative; padding: 20px 2px 19px; color: rgba(226,232,233,.52); font-size: 13px; letter-spacing: .08em; transition: color .2s; }
.account-main-tab::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--gold); transition: left .25s, right .25s; }
.account-main-tab:hover, .account-main-tab.is-active { color: #f5f2ea; }
.account-main-tab.is-active::after { right: 0; left: 0; }

.account-body { padding: 54px 0 100px; background: radial-gradient(ellipse at 50% -10%, rgba(28,48,58,.28), transparent 62%), #0a0e11; }
.account-guest, .account-member { min-height: 340px; }
.account-guest-card { max-width: 520px; margin: 20px auto; padding: 54px 44px; text-align: center; border: 1px solid rgba(201,169,106,.25); background: rgba(18,28,34,.6); }
.account-guest-card h3 { margin: 14px 0 12px; color: #f5f2ea; font-family: var(--font-serif); font-size: 25px; font-weight: 500; letter-spacing: .08em; }
.account-guest-card > p { margin: 0 0 30px; color: rgba(226,232,233,.5); font-size: 12px; line-height: 1.9; }
.account-guest-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.account-guest-actions small { color: rgba(226,232,233,.3); font-size: 9px; }

.account-subbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.07); }
.account-subtabs { display: flex; gap: 40px; }
.account-subtab { position: relative; padding: 6px 2px 17px; color: rgba(226,232,233,.5); font-size: 12px; letter-spacing: .06em; transition: color .2s; }
.account-subtab::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--gold); transition: left .25s, right .25s; }
.account-subtab:hover, .account-subtab.is-active { color: #f5f2ea; }
.account-subtab.is-active::after { right: 0; left: 0; }
.account-logout { padding-bottom: 17px; color: rgba(226,232,233,.6); font-size: 12px; letter-spacing: .06em; transition: color .2s; }
.account-logout:hover { color: var(--gold-bright); }

.role-card { position: relative; min-height: 280px; padding: 26px 30px 40px; border: 1px solid rgba(255,255,255,.09); background: rgba(19,28,35,.55); }
.role-card::before, .role-card::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--gold); border-style: solid; pointer-events: none; }
.role-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.role-card::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.role-card-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.role-card-head > span { color: rgba(226,232,233,.5); font-size: 11px; letter-spacing: .06em; }
.role-card-head strong { color: #f5f2ea; font-family: Georgia, serif; font-size: 14px; font-weight: 400; }
.btn-add-role { min-height: 36px; padding: 0 18px; gap: 9px; font-size: 11px; letter-spacing: .06em; }
.btn-add-role .icon { width: 14px; }
.role-empty { display: grid; place-items: center; min-height: 185px; color: rgba(226,232,233,.32); font-size: 12px; letter-spacing: .06em; }
.role-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.role-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; text-align: left; border: 1px solid rgba(201,169,106,.24); background: linear-gradient(140deg, rgba(31,46,55,.85), rgba(15,23,29,.85)); transition: border-color .25s, transform .25s; }
.role-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.role-tile-avatar { display: grid; place-items: center; width: 40px; height: 40px; color: var(--gold-bright); border: 1px solid rgba(201,169,106,.45); font-family: var(--font-serif); font-size: 19px; }
.role-tile strong { color: #f5f2ea; font-family: var(--font-serif); font-size: 16px; font-weight: 500; letter-spacing: .05em; }
.role-tile small { color: rgba(226,232,233,.45); font-size: 10px; line-height: 1.8; }
.role-tile-delete { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; color: rgba(226,232,233,.4); transition: color .2s, background .2s; }
.role-tile-delete:hover { color: #e9b3a6; background: rgba(233,179,166,.1); }
.role-tile-delete .icon { width: 14px; }

.secure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.secure-item { display: flex; align-items: flex-start; gap: 14px; padding: 22px 20px; border: 1px solid rgba(255,255,255,.08); background: rgba(19,28,35,.55); }
.secure-icon { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; color: var(--gold); border: 1px solid rgba(201,169,106,.32); }
.secure-icon .icon { width: 18px; }
.secure-item > div { min-width: 0; flex: 1; }
.secure-item strong { display: block; margin-bottom: 8px; color: #f0ede5; font-family: var(--font-serif); font-size: 14px; font-weight: 500; }
.secure-item p { margin: 0; overflow-wrap: anywhere; color: rgba(226,232,233,.42); font-size: 10px; line-height: 1.7; }
.link-button { flex: 0 0 auto; align-self: center; padding: 0; color: var(--gold); font-size: 10px; letter-spacing: .05em; white-space: nowrap; transition: color .2s; }
.link-button:hover { color: var(--gold-bright); }
.account-form { margin-top: 26px; padding: 26px 28px; border: 1px solid rgba(255,255,255,.08); background: rgba(19,28,35,.55); }
.account-form h4, .secure-log h4, .service-roles h4 { margin: 0 0 18px; color: #f0ede5; font-family: var(--font-serif); font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.account-form .form-field { color: rgba(226,232,233,.55); }
.account-form .form-field input, .account-form .form-field select, .role-modal .form-field select { color: #f0ede5; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.account-form .form-field input:focus, .account-form .form-field select:focus, .role-modal .form-field select:focus { background: rgba(255,255,255,.09); border-color: var(--gold); }
.account-form .form-field input::placeholder { color: rgba(226,232,233,.3); }
.account-form .form-error { color: #e2a196; }
.secure-log { margin-top: 26px; }
.secure-log ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.08); }
.secure-log li { display: flex; gap: 30px; padding: 16px 4px; color: rgba(226,232,233,.5); font-size: 11px; border-bottom: 1px solid rgba(255,255,255,.08); }
.secure-log li em { margin-left: auto; padding: 2px 8px; color: var(--gold-bright); border: 1px solid rgba(201,169,106,.3); font-size: 9px; font-style: normal; }

.info-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.08); border-left: 1px solid rgba(255,255,255,.08); }
.info-table > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 14px 22px; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.info-table span { color: rgba(226,232,233,.45); font-size: 11px; }
.info-table strong { overflow-wrap: anywhere; color: #f0ede5; font-size: 12px; font-weight: 500; text-align: right; }
.info-table .state-ok { color: #7fd0ae; }
.info-table + .btn { margin-top: 26px; }
.account-section .btn-outline { color: #f0ede5; border-color: rgba(201,169,106,.45); }
.account-section .btn-outline:hover { color: var(--gold-bright); border-color: var(--gold); }

.services-head { margin-bottom: 30px; }
.services-head h3, .recover-card h3 { margin: 0 0 12px; color: #f5f2ea; font-family: var(--font-serif); font-size: 26px; font-weight: 500; letter-spacing: .08em; }
.services-head > p, .recover-card > p { margin: 0; color: rgba(226,232,233,.45); font-size: 11px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 20px; border: 1px solid rgba(255,255,255,.08); background: rgba(19,28,35,.55); }
.service-card strong { color: #f0ede5; font-family: var(--font-serif); font-size: 15px; font-weight: 500; }
.service-card p { flex: 1; margin: 0; color: rgba(226,232,233,.42); font-size: 10px; line-height: 1.8; }
.service-card .link-button { align-self: flex-start; }
.service-roles { margin-top: 34px; }
.service-role-list { display: flex; flex-wrap: wrap; gap: 10px; }
.service-role-chip { padding: 10px 16px; color: rgba(226,232,233,.65); border: 1px solid rgba(201,169,106,.24); font-size: 11px; }
.service-role-empty { color: rgba(226,232,233,.32); font-size: 11px; }

.recover-card { max-width: 560px; padding: 34px 38px 38px; border: 1px solid rgba(255,255,255,.08); background: rgba(19,28,35,.55); }
.recover-card form { margin-top: 26px; }
.recover-card .form-field { color: rgba(226,232,233,.55); }
.recover-card .form-field input { color: #f0ede5; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.recover-card .form-field input:focus { background: rgba(255,255,255,.09); border-color: var(--gold); }
.recover-card .form-field input::placeholder { color: rgba(226,232,233,.3); }
.recover-card .form-error { color: #e2a196; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-button { flex: 0 0 auto; padding: 0 16px; color: var(--gold-bright); border: 1px solid rgba(201,169,106,.4); font-size: 10px; white-space: nowrap; transition: background .2s; }
.code-button:hover { background: rgba(201,169,106,.12); }
.role-modal .form-field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; outline: 0; font-size: 12px; }

/* Final CTA and footer */
.final-cta { position: relative; display: grid; place-items: center; min-height: 450px; overflow: hidden; color: white; text-align: center; background: var(--ink); }
.final-bg { position: absolute; inset: 0; opacity: .4; background: linear-gradient(0deg, rgba(3,17,22,.9), rgba(3,17,22,.35)), url("assets/hero-scene-01.jpg") center 36%/cover; filter: saturate(.7); }
.final-content { position: relative; padding: 70px 0; }
.final-content .section-kicker { color: var(--gold-bright); }
.final-content h2 { margin: 0 0 18px; font-family: var(--font-serif); font-size: clamp(34px, 4vw, 49px); font-weight: 500; letter-spacing: .12em; }
.final-content p { margin: 0 0 32px; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .1em; }
.site-footer { color: rgba(255,255,255,.55); background: #061419; }
.footer-main { display: grid; grid-template-columns: 1fr 1.6fr .8fr; gap: 70px; padding-top: 65px; padding-bottom: 55px; }
.footer-brand { align-self: start; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links strong, .footer-community > strong { margin-bottom: 5px; color: #ddd6c8; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.footer-links a, .footer-links button { padding: 0; color: rgba(255,255,255,.42); font-size: 10px; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold); }
.footer-community p { margin: 11px 0 17px; font-size: 10px; }
.footer-community > div { display: flex; gap: 9px; }
.community-button { display: grid; place-items: center; width: 35px; height: 35px; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; font-size: 10px; transition: .2s; }
.community-button:hover { color: var(--gold); border-color: var(--gold); }
.community-button .icon { width: 17px; }
.footer-bottom { display: flex; align-items: center; min-height: 72px; gap: 25px; border-top: 1px solid rgba(255,255,255,.08); font-size: 9px; }
.footer-bottom p { margin: 0; }
.footer-bottom p:nth-child(2) { margin-left: auto; }
.footer-bottom > div { display: flex; gap: 15px; }
.footer-bottom button { padding: 0; color: rgba(255,255,255,.4); font-size: 9px; }
.footer-bottom button:hover { color: var(--gold); }

/* Dialogs */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(1,10,13,.82); backdrop-filter: blur(7px); }
.modal { position: fixed; width: min(570px, calc(100% - 32px)); max-height: min(88vh, 850px); margin: auto; padding: 40px; overflow-x: hidden; overflow-y: auto; background: #f4f1e9; border: 1px solid rgba(201,169,106,.55); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.modal[open] { animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; z-index: 3; top: 13px; right: 13px; color: #607175; }
.modal-heading { margin-bottom: 25px; padding-right: 20px; }
.modal-heading h2 { margin: 0 0 10px; color: var(--ink); font-family: var(--font-serif); font-size: 29px; font-weight: 600; letter-spacing: .06em; }
.modal-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.modal-primary { width: 100%; margin-top: 20px; }
.demo-notice { margin: 16px 0 0; color: #8b9492; font-size: 10px; line-height: 1.8; }
.download-version { display: flex; align-items: center; padding: 15px 17px; gap: 10px; background: #e9e6dd; border: 1px solid var(--line); font-size: 11px; }
.download-version strong { color: var(--ink); }
.download-version > span:not(.status-dot) { color: var(--muted); }
.download-version small { margin-left: auto; color: var(--muted); font-size: 9px; }
.download-options { display: grid; gap: 10px; margin-top: 17px; }
.download-option { display: grid; grid-template-columns: 17px 1fr auto; align-items: center; padding: 18px; gap: 14px; text-align: left; border: 1px solid var(--line); transition: .2s; }
.download-option:hover, .download-option.is-selected { background: #fffdf7; border-color: var(--gold); }
.option-radio { position: relative; width: 14px; height: 14px; border: 1px solid #9da8a7; border-radius: 50%; }
.download-option.is-selected .option-radio { border-color: var(--gold-dark); }
.download-option.is-selected .option-radio::after { content: ""; position: absolute; inset: 3px; background: var(--gold-dark); border-radius: 50%; }
.download-option > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; }
.download-option strong { color: var(--ink); font-size: 13px; }
.download-option small { color: var(--muted); font-size: 9px; line-height: 1.6; }
.download-option em { color: var(--gold-dark); font-family: Georgia, serif; font-size: 12px; font-style: normal; white-space: nowrap; }
.system-note { display: grid; grid-template-columns: auto 1fr; padding: 15px 4px 0; gap: 7px 18px; font-size: 10px; }
.system-note span { color: var(--muted); }
.system-note strong { color: #4b5d61; font-weight: 500; text-align: right; }
.download-help { display: flex; justify-content: space-between; margin-top: 18px; }
.download-help button { display: inline-flex; align-items: center; padding: 0; gap: 6px; color: var(--muted); font-size: 10px; }
.download-help button:hover { color: var(--gold-dark); }
.download-help .icon { width: 13px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.auth-tabs button { position: relative; padding: 12px; color: var(--muted); font-size: 12px; }
.auth-tabs button::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--gold-dark); transition: .2s; }
.auth-tabs button.is-active { color: var(--ink); font-weight: 700; }
.auth-tabs button.is-active::after { right: 0; left: 0; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; color: #54676b; font-size: 11px; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 0; outline: 0; font-size: 12px; resize: vertical; transition: border-color .2s, background .2s; }
.form-field input:focus, .form-field textarea:focus { background: white; border-color: var(--gold); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a0abaa; }
.agree-field { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.agree-field input { margin: 1px 0 0; accent-color: var(--gold-dark); }
.form-error { min-height: 17px; margin: 12px 0 -8px; color: #a44138; font-size: 10px; }
.profile-view { padding: 20px 0; text-align: center; }
.profile-avatar { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; color: var(--gold-bright); background: var(--ink); border: 1px solid var(--gold); border-radius: 50%; font-family: Georgia, serif; font-size: 35px; }
.profile-view h2 { margin: 0 0 10px; font-family: var(--font-serif); font-size: 27px; }
.profile-view > p { color: var(--muted); font-size: 11px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stats > div { display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.profile-stats > div:last-child { border: 0; }
.profile-stats strong { color: var(--ink); font-family: var(--font-serif); font-size: 17px; }
.profile-stats span { color: var(--muted); font-size: 9px; }
.server-card { padding: 22px; background: var(--ink-2); color: white; }
.server-card-top { display: flex; align-items: center; gap: 11px; }
.server-card-top strong { font-family: var(--font-serif); font-size: 16px; font-weight: 500; }
.server-card-top em { margin-left: auto; color: #75cdaa; font-size: 10px; font-style: normal; }
.load-bar { height: 3px; margin: 22px 0; overflow: hidden; background: rgba(255,255,255,.1); }
.load-bar i { display: block; width: 32%; height: 100%; background: linear-gradient(90deg, #4c9e89, #83d0ad); }
.server-details { display: grid; grid-template-columns: repeat(3, 1fr); }
.server-details > div { display: flex; flex-direction: column; gap: 8px; }
.server-details span { color: rgba(255,255,255,.4); font-size: 9px; }
.server-details strong { color: #e5e7e3; font-family: Georgia, serif; font-size: 13px; font-weight: 400; }
.server-address { display: flex; align-items: center; margin-top: 18px; padding: 10px 12px; gap: 12px; background: #e8e5dc; font-size: 10px; }
.server-address > span { color: var(--muted); }
.server-address code { margin-left: auto; color: var(--ink); font-size: 10px; }
.server-address .icon-button { width: 28px; height: 28px; }
.server-address .icon { width: 14px; }
.article-cover { height: 245px; margin: -40px -40px 30px; overflow: hidden; background: var(--ink); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-header .news-category { margin-bottom: 15px; }
.article-header h2 { margin: 10px 0 15px; color: var(--ink); font-family: var(--font-serif); font-size: 26px; font-weight: 600; line-height: 1.55; }
.article-header time { color: var(--muted); font-family: Georgia, serif; font-size: 10px; }
.article-body { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-body p { color: #596d72; font-size: 12px; line-height: 2.1; }
.article-body h3 { margin-top: 25px; color: var(--ink); font-family: var(--font-serif); font-size: 16px; }
.guide-modal .modal-heading { margin-bottom: 10px; }
.guide-steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-steps li { position: relative; padding: 0 0 25px 44px; color: #5c6e72; font-size: 12px; line-height: 1.9; counter-increment: guide; }
.guide-steps li::before { content: "0" counter(guide); position: absolute; top: 0; left: 0; color: var(--gold-dark); font-family: Georgia, serif; font-size: 13px; }
.guide-steps li::after { content: ""; position: absolute; top: 24px; bottom: 5px; left: 8px; width: 1px; background: var(--line); }
.guide-steps li:last-child::after { display: none; }
.guide-steps strong { display: block; margin-bottom: 5px; color: var(--ink); font-family: var(--font-serif); font-size: 15px; }
.skill-points { display: flex; justify-content: space-between; padding: 12px 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.skill-points strong { color: var(--gold-dark); font-family: Georgia, serif; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.skill-item { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 112px; padding: 15px 8px; gap: 10px; border: 1px solid var(--line); transition: .2s; }
.skill-item:hover { border-color: var(--gold); }
.skill-item.is-selected { color: var(--gold-dark); background: #fffdf7; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.skill-rune { display: grid; place-items: center; width: 38px; height: 38px; color: var(--gold-dark); background: rgba(201,169,106,.12); border: 1px solid rgba(128,101,55,.25); transform: rotate(45deg); }
.skill-rune .icon { transform: rotate(-45deg); }
.skill-item strong { color: var(--ink); font-family: var(--font-serif); font-size: 12px; }
.skill-item small { color: var(--muted); font-size: 9px; }
.skill-item.is-selected::after { content: "✓"; position: absolute; top: 5px; right: 7px; color: var(--gold-dark); font-size: 10px; }
.build-result { display: flex; flex-direction: column; align-items: center; margin-top: 20px; padding: 18px; gap: 6px; background: #e9e6dd; }
.build-result span { color: var(--ink); font-family: var(--font-serif); font-size: 15px; }
.build-result small { color: var(--muted); font-size: 9px; }
.skill-reset { display: flex; margin: 8px auto -10px; color: var(--muted); font-size: 10px; }
.support-faq details { border-bottom: 1px solid var(--line); }
.support-faq summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; color: var(--ink); font-size: 12px; cursor: pointer; list-style: none; }
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq summary .icon { width: 15px; transition: transform .2s; }
.support-faq details[open] summary .icon { transform: rotate(180deg); }
.support-faq details p { margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.support-form { margin-top: 22px; }
.legal-modal > p { color: var(--muted); font-size: 12px; line-height: 2; }
.toast { position: fixed; z-index: 1000; bottom: 35px; left: 50%; display: flex; align-items: center; min-width: 240px; max-width: calc(100% - 32px); padding: 15px 22px; gap: 10px; visibility: hidden; opacity: 0; color: #eae9e2; background: rgba(6,26,31,.96); border: 1px solid rgba(201,169,106,.35); box-shadow: 0 12px 40px rgba(0,0,0,.3); font-size: 12px; transform: translate(-50%, 12px); transition: .3s; }
.toast.is-visible { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 17px; color: var(--gold); }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav { gap: 24px; margin-left: 45px; }
  .header-actions { gap: 15px; }
  .account-btn span { display: none; }
  .hero-meta span:last-child, .hero-meta i:last-of-type { display: none; }
  .quick-item { padding: 20px; }
  .quick-arrow { display: none; }
  .news-layout { gap: 35px; }
  .guides-layout { gap: 65px; }
  .footer-main { gap: 40px; }
}
@media (max-width: 960px) {
  .container { width: min(100% - 44px, 760px); }
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-download { display: none; }
  .account-btn span { display: inline; }
  .mobile-nav { position: absolute; top: 100%; right: 0; left: 0; padding: 15px 28px 25px; background: rgba(5,20,25,.98); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 15px 30px rgba(0,0,0,.25); }
  .mobile-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .mobile-nav a, .mobile-nav button { padding: 13px 5px; color: rgba(255,255,255,.7); font-size: 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
  .mobile-nav .mobile-account { color: var(--gold-bright); }
  .hero { height: 820px; min-height: 0; }
  .hero-copy { width: 520px; }
  .hero-bg { background-position: 60% center; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(3,15,20,.93), rgba(3,15,20,.57) 50%, rgba(3,15,20,.15)), linear-gradient(0deg, rgba(3,15,20,.8), transparent 50%); }
  .hero-side-nav { right: 25px; }
  .hero-meta { display: none; }
  .scroll-hint { margin-left: auto; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(2) { border-right: 1px solid var(--line); }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .news-layout { grid-template-columns: 1fr; }
  .news-feature-image { height: 380px; }
  .news-row { min-height: 92px; }
  .world-grid { grid-template-columns: 1fr 1fr; }
  .world-card-large { grid-column: 1 / -1; }
  .world-card-large .world-art { background-position: center 42%; }
  .world-stats { gap: 35px; }
  .guides-layout { grid-template-columns: 1fr; gap: 50px; }
  .guides-intro > p { max-width: 500px; }
  .account-main-tabs { gap: 30px; }
  .account-subtabs { gap: 26px; }
  .role-list { grid-template-columns: repeat(2, 1fr); }
  .secure-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; padding: 20px 0; gap: 12px; }
  .footer-bottom p:nth-child(2) { margin-left: 0; }
  .footer-bottom > div { margin-left: auto; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 34px); }
  .section { padding: 75px 0; }
  .site-header, .site-header.is-scrolled { height: 66px; }
  .header-inner { width: calc(100% - 28px); }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 39px; }
  .brand-mark span { font-size: 21px; }
  .brand-type strong { font-size: 23px; }
  .brand-type small { font-size: 6px; }
  .header-actions { gap: 7px; }
  .account-btn span { display: none; }
  .hero { height: 760px; max-height: none; }
  .hero-content { align-items: flex-end; padding-bottom: 165px; }
  .hero-bg { background-position: 64% center; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(3,15,20,.65), rgba(3,15,20,.05)), linear-gradient(0deg, rgba(3,15,20,.98) 3%, rgba(3,15,20,.77) 40%, rgba(3,15,20,.12) 75%); }
  .hero-slide:nth-child(2) .hero-bg { background-position: 57% center; }
  .hero-bg-dark { background-position: 54% center; }
  .hero-copy { width: 100%; padding: 0; }
  .eyebrow { margin-bottom: 15px; font-size: 9px; }
  .hero h1, .hero h2 { font-size: 36px; line-height: 1.4; }
  .hero-copy > p { margin: 18px 0 24px; font-size: 11px; line-height: 1.85; }
  .hero-copy > p br { display: none; }
  .hero-buttons { gap: 9px; }
  .btn { min-height: 47px; padding: 0 20px; gap: 16px; font-size: 12px; }
  .hero-side-nav { top: 110px; right: 18px; flex-direction: row; transform: none; }
  .slide-dot { width: auto; }
  .slide-dot i { display: none; }
  .slide-dot.is-active { border-bottom: 1px solid var(--gold); }
  .hero-bottom-inner { height: 70px; }
  .server-pill { gap: 8px; }
  .server-pill small, .server-pill .icon { display: none; }
  .server-pill strong { font-size: 11px; }
  .server-state { font-size: 10px; }
  .scroll-hint { font-size: 0; gap: 0; }
  .quick-item { min-height: 95px; padding: 15px 10px; gap: 12px; }
  .quick-icon { width: 32px; height: 32px; }
  .quick-icon .icon { width: 17px; }
  .quick-item strong { font-size: 13px; }
  .quick-item small { font-size: 8px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading > p { margin-top: 13px; font-size: 11px; text-align: left; }
  .news-toolbar { align-items: flex-end; gap: 15px; }
  .filter-tabs { gap: 18px; }
  .news-search { width: 110px; overflow: visible; }
  .news-search:focus-within { width: 110px; }
  .news-search input { min-width: 0; }
  .news-feature-image { height: 240px; }
  .news-feature h3 { font-size: 20px; }
  .news-row { grid-template-columns: 46px 1fr 16px; min-height: 91px; gap: 11px; }
  .news-row time strong { font-size: 20px; }
  .news-row h3 { font-size: 13px; }
  .world-grid { grid-template-columns: 1fr; }
  .world-card-large { grid-column: auto; }
  .world-card { height: 350px; }
  .world-stats { justify-content: space-between; gap: 10px; }
  .world-stats > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .world-stats strong { font-size: 32px; }
  .world-stats small { font-size: 8px; }
  .world-stats > i { height: 48px; }
  .guides-intro h2 { font-size: 34px; }
  .guide-item { grid-template-columns: 30px 1fr 20px; gap: 10px; }
  .guide-item h3 { font-size: 16px; }
  .guide-item p { font-size: 9px; }
  .account-banner-bg { background-size: auto 150%; background-position: 40% 100%; }
  .account-banner-inner { padding-top: 32px; padding-bottom: 38px; }
  .account-crumb { margin-bottom: 30px; }
  .account-mainnav { overflow-x: auto; }
  .account-main-tabs { gap: 24px; min-width: max-content; }
  .account-main-tab { padding: 16px 2px 15px; font-size: 12px; }
  .account-body { padding: 38px 0 70px; }
  .account-subbar { flex-wrap: wrap; gap: 10px; }
  .account-subtabs { gap: 20px; }
  .account-subtab { font-size: 11px; }
  .account-logout { padding-bottom: 14px; font-size: 11px; }
  .account-guest-card { padding: 38px 24px; }
  .role-card { padding: 20px 18px 28px; }
  .role-card-head { flex-wrap: wrap; }
  .role-list { grid-template-columns: 1fr; }
  .secure-grid, .service-grid { grid-template-columns: 1fr; }
  .account-form, .recover-card { padding: 22px 18px; }
  .account-form-grid { grid-template-columns: 1fr; }
  .info-table { grid-template-columns: 1fr; }
  .info-table > div { min-height: 52px; padding: 12px 16px; }
  .secure-log li { flex-wrap: wrap; gap: 6px 16px; }
  .final-cta { min-height: 390px; }
  .final-content h2 { font-size: 31px; line-height: 1.6; }
  .final-content p { font-size: 11px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; }
  .footer-links { gap: 20px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.7; }
  .footer-bottom > div { margin-left: 0; }
  .modal { padding: 32px 22px; }
  .article-cover { height: 210px; margin: -32px -22px 25px; }
  .download-version { flex-wrap: wrap; }
  .download-version small { width: 100%; margin: 4px 0 0 17px; }
  .download-option { grid-template-columns: 15px 1fr; padding: 15px 12px; gap: 10px; }
  .download-option em { grid-column: 2; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .server-address { flex-wrap: wrap; }
  .server-address code { margin-left: 0; }
  .server-address .icon-button { margin-left: auto; }
}
@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 { opacity: 1; transform: none; }
}
