/* pdo2.com: Phoenix Dynasty 2: Reborn game site. Dark fantasy look matching the A2 client UI and the launcher
   (gold #e3b45a / #f0c56a / #b07425 on near-black, crimson accents). No framework; mobile first. */
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/cinzel.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0807;
  --bg2: #120c09;
  --bg3: #1a110c;
  --panel: rgba(22, 14, 10, 0.86);
  --gold: #e3b45a;
  --gold-hi: #f6d58a;
  --gold-lo: #b07425;
  --crimson: #b3261e;
  --text: #f3e6cc;
  --muted: #b09c7d;
  --dim: #7d6c55;
  --line: rgba(227, 180, 90, 0.26);
  --line-hi: rgba(227, 180, 90, 0.55);
  --ok: #8fd18b;
  --err: #ff8a7a;
  --radius: 4px;
  --wrap: 1180px;
  --head: 'Cinzel', 'Times New Roman', serif;
  --body: 'Segoe UI', system-ui, -apple-system, Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  font: 700 15px/1 var(--head); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform 0.15s, filter 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  color: #2a1406;
  background: linear-gradient(180deg, #ffe39f 0%, var(--gold) 45%, var(--gold-lo) 100%);
  border-color: #ffe7ad;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 8px 28px rgba(227, 140, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { filter: brightness(1.08); color: #2a1406; }
.btn-line { color: var(--gold-hi); background: rgba(12, 8, 6, 0.55); border-color: var(--line-hi); }
.btn-line:hover { background: rgba(227, 180, 90, 0.12); color: #fff3d6; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; filter: grayscale(0.3); }
.btn .sub { font: 600 12px/1 var(--body); letter-spacing: 0; text-transform: none; opacity: 0.75; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------------ header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(10, 7, 5, 0.9); border-bottom-color: var(--line); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 15px/1.1 var(--head); letter-spacing: 0.04em; }
.brand img { width: 38px; height: 38px; }
.brand span small { display: block; font-size: 10px; letter-spacing: 0.32em; color: var(--gold); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 10px; color: #e6d6b6; font: 600 13px/1 var(--head); letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius); }
.nav a:hover, .nav a.on { color: var(--gold-hi); background: rgba(227, 180, 90, 0.08); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 700 12px/1 var(--body); padding: 8px 9px; cursor: pointer; }
.lang button[aria-pressed='true'] { background: rgba(227, 180, 90, 0.16); color: var(--gold-hi); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 42px; height: 38px; color: var(--gold); cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 20px 18px;
    background: rgba(10, 7, 5, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 4px; font-size: 14px; border-bottom: 1px solid rgba(227, 180, 90, 0.1); }
  .burger { display: inline-flex; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 520px) { .brand span { display: none; } .top-actions .btn-login { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0b0807 center / cover no-repeat; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.on { opacity: 1; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 5, 4, 0.94) 0%, rgba(8, 5, 4, 0.78) 30%, rgba(8, 5, 4, 0.18) 58%, rgba(8, 5, 4, 0) 72%),
    linear-gradient(180deg, rgba(8, 5, 4, 0.55) 0%, rgba(8, 5, 4, 0) 18%, rgba(8, 5, 4, 0) 70%, var(--bg) 100%);
}
.hero-in { padding: 110px 0 90px; max-width: 560px; }
.hero-logo { width: min(400px, 78vw); height: auto; margin: 0 0 10px -10px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.85)); }
.hero h1 { font-size: clamp(26px, 3.6vw, 40px); color: #fff1d2; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9); }
.hero h1 em { font-style: normal; color: var(--gold-hi); }
.hero-lead { margin: 14px 0 26px; color: #e8d8ba; font-size: 17px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .btn { --h: 56px; font-size: 16px; padding: 0 28px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero-note b { color: var(--gold); font-weight: 600; }
.srv { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 12px; font-size: 13px; color: #d9f2d4; border: 1px solid rgba(143, 209, 139, 0.4); border-radius: 999px; background: rgba(10, 30, 10, 0.45); }
.srv i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.srv.off { color: #ffd8d0; border-color: rgba(255, 138, 122, 0.4); background: rgba(40, 10, 8, 0.45); }
.srv.off i { background: var(--err); box-shadow: 0 0 8px var(--err); }
.srv + .hero-note { margin-top: 10px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-hi); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 5, 4, 0.5) 0%, rgba(8, 5, 4, 0.05) 25%, rgba(8, 5, 4, 0.6) 55%, rgba(8, 5, 4, 0.96) 78%, var(--bg) 100%); }
  .hero-media img, .hero-media video { object-position: 63% 40%; }
  .hero-in { padding: 0 0 70px; }
  .hero-logo { width: min(260px, 64vw); margin: 0 auto 6px; }
  .hero-in { text-align: center; margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}

/* ------------------------------------------------------------------ sections */
.sec { position: relative; padding: 96px 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 12%, var(--bg2) 88%, var(--bg) 100%); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .kicker { display: inline-block; font: 700 12px/1 var(--head); letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); color: #fff0cf; }
.sec-head p { color: var(--muted); margin: 14px 0 0; }
.orn { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 0; color: var(--gold); }
.orn::before, .orn::after { content: ''; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.orn::after { transform: scaleX(-1); }
.orn i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 12px var(--gold); }
@media (max-width: 760px) { .sec { padding: 70px 0; } .sec-head { margin-bottom: 34px; } }

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(34, 22, 15, 0.9), rgba(16, 10, 7, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 220, 150, 0.06);
}
.panel::before, .panel::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); opacity: 0.7; pointer-events: none; }
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.step { padding: 26px 24px 24px; }
.step::marker { content: none; }
.step .no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; font: 800 18px/1 var(--head); color: #2a1406; background: linear-gradient(180deg, #ffe39f, var(--gold-lo)); transform: rotate(45deg); }
.step .no span { transform: rotate(-45deg); }
.step h3 { font-size: 19px; margin-bottom: 8px; color: var(--gold-hi); }
.step p { color: #d9c8a8; font-size: 15px; margin: 0; }
.step .btn { margin-top: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.feat .pic { aspect-ratio: 16 / 8; background: #1a110c center / cover no-repeat; border-bottom: 1px solid var(--line); }
.feat .txt { padding: 20px 22px 22px; }
.feat h3 { font-size: 19px; color: var(--gold-hi); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feat h3 svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.feat p { color: #d6c5a5; font-size: 15px; margin: 0; }
.feat .tag { display: inline-block; margin-top: 12px; padding: 3px 8px; font: 700 11px/1.4 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #ffd9a0; border: 1px solid rgba(227, 140, 60, 0.5); border-radius: 3px; background: rgba(179, 38, 30, 0.2); }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ classes */
.classes { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: stretch; }
.class-tabs { display: flex; flex-direction: column; gap: 8px; }
.class-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; cursor: pointer;
  color: var(--text); background: rgba(22, 14, 10, 0.7); border: 1px solid var(--line); border-radius: var(--radius);
  font: 700 16px/1.2 var(--head); transition: background 0.15s, border-color 0.15s;
}
.class-tab img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #2a1a10; border: 1px solid var(--line-hi); }
.class-tab small { display: block; font: 500 12px/1.3 var(--body); color: var(--muted); margin-top: 3px; }
.class-tab:hover { border-color: var(--line-hi); background: rgba(40, 26, 16, 0.85); }
.class-tab[aria-selected='true'] { border-color: var(--gold); background: linear-gradient(90deg, rgba(227, 180, 90, 0.22), rgba(22, 14, 10, 0.8)); box-shadow: 0 0 22px rgba(227, 180, 90, 0.15); }
.class-stage { position: relative; min-height: 560px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; }
.class-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0.9; transition: opacity 0.4s; }
.class-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 6, 4, 0) 30%, rgba(10, 6, 4, 0.82) 62%, rgba(10, 6, 4, 0.95) 100%), linear-gradient(0deg, rgba(10, 6, 4, 0.7), transparent 30%); }
.class-fig { position: relative; align-self: end; justify-self: center; height: 540px; width: 100%; }
.class-fig img, .class-fig video { position: absolute; bottom: 0; left: 50%; translate: -50% 0; height: 100%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6)); }
.class-info h3 { font-size: 34px; color: #fff0cf; }
.class-info .role { color: var(--gold); font: 700 13px/1 var(--head); letter-spacing: 0.22em; text-transform: uppercase; margin: 10px 0 16px; }
.class-info p { color: #e1d0b0; }
.class-info ul { margin: 0 0 14px; padding-left: 18px; color: #d6c5a5; }
.class-text { position: relative; padding: 34px 34px 30px 10px; align-self: center; }
.class-info { padding: 0; }
.stars { display: grid; gap: 9px; margin: 18px 0 0; max-width: 380px; }
.stars div { display: grid; grid-template-columns: 116px 1fr 26px; align-items: center; gap: 12px; }
.stars dt { font: 600 13px/1.2 var(--body); color: #e1cfab; }
.stars dd { display: contents; }
.stars .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(227, 180, 90, 0.18); }
.stars .bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 10%); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: 4px; box-shadow: 0 0 10px rgba(246, 213, 138, 0.45); }
.stars b { font: 800 15px/1 var(--head); color: var(--gold-hi); text-align: right; }
.stars-note { margin: 16px 0 0; font-size: 12px; color: var(--dim); }
@media (max-width: 900px) {
  .classes { grid-template-columns: 1fr; }
  .class-tabs { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .class-tab { flex: 1 1 auto; width: auto; padding: 8px 10px; gap: 8px; font-size: 13.5px; }
  .class-tab img { width: 30px; height: 30px; }
  .class-tab small { display: none; }
  .class-stage { grid-template-columns: 1fr; min-height: 0; }
  .class-bg::after { background: linear-gradient(0deg, rgba(10, 6, 4, 0.97) 38%, rgba(10, 6, 4, 0.2) 70%); }
  .class-fig { height: 400px; }
  .class-text { padding: 0 22px 26px; }
  .class-info h3 { font-size: 28px; }
}

/* ------------------------------------------------------------------ news */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.news-card .pic { aspect-ratio: 16 / 9; background: #1a110c center / cover no-repeat; border-bottom: 1px solid var(--line); }
.news-card .txt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card time { font: 700 12px/1 var(--body); letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; }
.news-card h3 { font-size: 18px; color: #fff0cf; }
.news-card p { color: #cdbb9b; font-size: 14.5px; margin: 0; }
a.news-card:hover h3 { color: var(--gold-hi); }
.news-card.big { grid-column: span 2; flex-direction: row; }
.news-card.big .pic { flex: 1.25; aspect-ratio: auto; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--line); }
.news-card.big .txt { flex: 1; padding: 26px; justify-content: center; }
.news-card.big h3 { font-size: 24px; }
.news-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px; }
.skel { min-height: 260px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
@media (max-width: 980px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news { grid-template-columns: 1fr; } .news-card.big { grid-column: auto; flex-direction: column; } .news-card.big .pic { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------------------------ changelog */
.log { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.log details { padding: 0; }
.log summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; }
.log summary::-webkit-details-marker { display: none; }
.log summary .v { font: 800 22px/1 var(--head); color: var(--gold-hi); min-width: 74px; }
.log summary .t { flex: 1; font-weight: 600; color: #ead9b9; }
.log summary time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.log summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.2s; margin-left: 6px; }
.log details[open] summary::after { transform: rotate(225deg); }
.log .badge { font: 700 11px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; color: #2a1406; background: var(--gold); }
.log .badge.soon { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.log .body { padding: 0 22px 20px 110px; }
.log h4 { font: 700 13px/1.4 var(--head); letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; margin: 14px 0 6px; }
.log ul { margin: 0; padding-left: 18px; color: #d9c8a8; }
.log li { margin: 5px 0; }
@media (max-width: 640px) { .log summary { flex-wrap: wrap; gap: 8px 12px; } .log summary .t { flex-basis: 100%; order: 3; } .log .body { padding: 0 20px 18px; } }

/* ------------------------------------------------------------------ gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wp { overflow: hidden; display: flex; flex-direction: column; }
.wp button.pic { all: unset; cursor: zoom-in; display: block; aspect-ratio: 16 / 9; background: #1a110c center / cover no-repeat; border-bottom: 1px solid var(--line); transition: filter 0.2s; }
.wp button.pic:hover { filter: brightness(1.12); }
.wp button.pic:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -2px; }
.wp .txt { padding: 14px 16px 16px; }
.wp h3 { font-size: 16px; color: #fff0cf; margin-bottom: 10px; }
.wp .dl { display: flex; flex-wrap: wrap; gap: 6px; }
.wp .dl a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font: 600 12.5px/1 var(--body); color: var(--gold-hi); border: 1px solid var(--line-hi); border-radius: 3px; background: rgba(0, 0, 0, 0.3); }
.wp .dl a:hover { background: rgba(227, 180, 90, 0.14); }
.wp .dl svg { width: 13px; height: 13px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { padding: 0; border: 1px solid var(--line-hi); background: #000; max-width: min(1400px, 96vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: #120c09; color: var(--text); font-size: 14px; }
.lightbox .x { background: none; border: 1px solid var(--line); color: var(--gold); width: 34px; height: 34px; cursor: pointer; font-size: 20px; line-height: 1; }

/* ------------------------------------------------------------------ mobile soon */
.mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px; overflow: hidden; }
.mobile h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff0cf; margin-bottom: 14px; }
.mobile p { color: #d9c8a8; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 196px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 10px; background: #000; color: #fff; opacity: 0.6; cursor: not-allowed; user-select: none; }
.store svg { width: 28px; height: 28px; }
.store small { display: block; font-size: 11px; opacity: 0.8; }
.store b { font-size: 17px; font-weight: 600; }
.phone { justify-self: center; position: relative; width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; border: 8px solid #2a2320; background: #000 center / cover no-repeat; box-shadow: 0 0 0 1px var(--line-hi), 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(227, 140, 40, 0.15); }
.phone::before { content: ''; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 10px; background: #000; }
.phone .soon { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font: 800 18px/1.2 var(--head); letter-spacing: 0.12em; color: var(--gold-hi); text-shadow: 0 2px 12px #000; text-transform: uppercase; }
@media (max-width: 800px) { .mobile { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; } .stores { justify-content: center; } }

/* ------------------------------------------------------------------ forms */
.acc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.acc-side h3 { font-size: 22px; color: var(--gold-hi); margin-bottom: 12px; }
.acc-side ol { margin: 0 0 18px; padding-left: 20px; color: #ddcdad; }
.acc-side li { margin: 8px 0; }
.acc-side .hint { font-size: 14px; color: var(--muted); }
.acc-box { padding: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding: 16px 10px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 700 15px/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.tabs button[aria-selected='true'] { color: var(--gold-hi); border-bottom-color: var(--gold); background: rgba(227, 180, 90, 0.06); }
.form { padding: 24px 26px 26px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font: 600 13px/1.2 var(--body); color: #e6d4b2; letter-spacing: 0.02em; }
.field .help { font-size: 12.5px; color: var(--dim); }
.input, .form textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; font: 15px/1.4 var(--body); color: var(--text);
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(227, 180, 90, 0.3); border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form textarea { min-height: 130px; resize: vertical; }
.input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 180, 90, 0.18); }
.input[aria-invalid='true'], .form textarea[aria-invalid='true'] { border-color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #d6c5a5; }
.check input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; }
.ts { min-height: 65px; }
.msg { padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; border: 1px solid; }
.msg.ok { color: #d6f5d2; border-color: rgba(143, 209, 139, 0.5); background: rgba(40, 90, 40, 0.25); }
.msg.err { color: #ffd8d0; border-color: rgba(255, 138, 122, 0.5); background: rgba(120, 30, 20, 0.28); }
.msg a { color: var(--gold-hi); text-decoration: underline; }
.form .btn { width: 100%; }
.form .alt-link { text-align: center; font-size: 14px; color: var(--muted); }
.form .alt-link button { background: none; border: 0; color: var(--gold); cursor: pointer; font: inherit; text-decoration: underline; }
.account { padding: 24px 26px 26px; display: grid; gap: 18px; }
.account .who { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account .who h3 { font-size: 22px; color: #fff0cf; }
.account .who small { display: block; color: var(--muted); font: 13px/1.4 var(--body); margin-top: 4px; }
.chars { display: grid; gap: 8px; }
.char { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0, 0, 0, 0.3); }
.char img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #2a1a10; }
.char b { display: block; color: #fff0cf; }
.char span { font-size: 13px; color: var(--muted); }
.char .lv { margin-left: auto; font: 800 18px/1 var(--head); color: var(--gold-hi); }
.account h4 { font: 700 13px/1.4 var(--head); letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; }
.account .form { padding: 0; }
@media (max-width: 900px) { .acc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form { padding: 20px 18px 22px; } }

.inv { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.inv-side h3 { font-size: 24px; color: #fff0cf; margin-bottom: 12px; }
.inv-side p { color: #d9c8a8; }
.inv-side ul { padding-left: 18px; color: #d6c5a5; }
.inv-side li { margin: 6px 0; }
@media (max-width: 900px) { .inv { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); background: #080504; padding: 40px 0 34px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: #cdb894; }
.foot .fine { flex-basis: 100%; font-size: 12.5px; color: var(--dim); }
