/* =========================================================
   群英会 HEROES ASSEMBLY — Arena marketplace
   Dark obsidian / champagne gold / per-game neon
   ========================================================= */

:root {
  --bg: #07080b;
  --bg-soft: #0a0b0f;
  --panel: #0d1015;
  --panel-2: #11151b;
  --panel-3: #161a21;
  --line: rgba(255, 255, 255, 0.072);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f1ea;
  --text-soft: #c5c2ba;
  --muted: #8f939c;
  --faint: #5e636d;
  --gold: #e4c68c;
  --gold-bright: #f5dfb4;
  --gold-deep: #a47b42;
  --gold-wash: rgba(228, 198, 140, 0.1);
  --green: #63d5a0;
  --red: #f47d7d;
  --blue: #74b8ff;
  --violet: #b195ff;
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --font-serif: "STSong", "Songti SC", "SimSun", serif;
  --radius: 18px;
  --accent: #ff7a45;
  --accent-soft: rgba(255, 122, 69, 0.14);
  --accent-line: rgba(255, 122, 69, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: rgba(228, 198, 140, 0.24); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(228,198,140,.28); }
[hidden] { display: none !important; }

/* ---------- ambient backdrop ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 74% -12%, rgba(112, 86, 46, 0.16), transparent 64%),
    radial-gradient(900px 600px at -8% 35%, rgba(34, 65, 90, 0.13), transparent 58%),
    linear-gradient(180deg, #08090c 0%, #07080b 42%, #06070a 100%);
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: drift 24s ease-in-out infinite alternate;
}
.ambient-orb--gold {
  width: 620px; height: 620px;
  top: -250px; right: 4%;
  background: rgba(163, 120, 56, 0.2);
}
.ambient-orb--cool {
  width: 520px; height: 520px;
  bottom: 8%; left: -240px;
  background: rgba(43, 83, 115, 0.16);
  animation-delay: -10s;
}
.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}
.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-50px, 40px, 0) scale(1.12); }
}
.cursor-glow {
  position: fixed;
  z-index: -1;
  top: 0; left: 0;
  width: 520px; height: 520px;
  margin-left: -260px; margin-top: -260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(218, 184, 123, 0.08), transparent 62%);
  transition: opacity .4s;
  will-change: transform;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- shell / topbar ---------- */
.app-shell {
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
  padding: 0 30px;
  animation: page-in .8s var(--ease) both;
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(228,198,140,.36);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(228,198,140,.12), rgba(255,255,255,.015));
  color: var(--gold-bright);
  overflow: hidden;
}
.brand-mark svg { width: 25px; height: 25px; stroke-width: 1.8; }
.brand-mark__char {
  position: relative;
  z-index: 1;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 14px rgba(228,198,140,.22);
}
.footer__mark, .drawer-guest__mark { font-weight: 700; }
.brand-mark__accent { fill: var(--gold); stroke: none; opacity: .95; }
.brand-mark__ring {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
}
.brand-type { display: flex; flex-direction: column; line-height: 1.2; }
.brand-type__cn { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: .2em; color: #f7f3eb; }
.brand-type__en { margin-top: 3px; font-family: var(--font-display); font-size: 7.5px; letter-spacing: .24em; color: var(--faint); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.main-nav__item {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  transition: color .25s, background .25s;
}
.main-nav__item:hover { color: var(--text); background: rgba(255,255,255,.04); }
.main-nav__item.is-active { color: var(--gold-bright); }
.main-nav__item.is-active::after {
  content: "";
  position: absolute;
  width: 16px; height: 1px;
  left: 50%; bottom: 1px;
  transform: translateX(-50%);
  background: var(--gold);
  box-shadow: 0 0 8px rgba(228,198,140,.7);
}
.main-nav__item--admin { color: var(--faint); font-size: 12px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.security-pill {
  display: flex; align-items: center; gap: 7px;
  margin-right: 4px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: .04em;
}
.security-pill__dot, .live-dot {
  width: 6px; height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(99,213,160,.1), 0 0 8px rgba(99,213,160,.5);
}
.auth-trigger {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 13px 8px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  transition: border-color .25s, background .25s;
}
.auth-trigger:hover { border-color: rgba(228,198,140,.34); background: rgba(228,198,140,.05); }
.auth-trigger__avatar {
  display: grid; place-items: center;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--muted);
}
.auth-trigger__avatar svg { width: 15px; height: 15px; }
.user-chip {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-width: 148px;
  padding: 6px 11px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  text-align: left;
  transition: border-color .25s, background .25s;
}
.user-chip:hover { border-color: rgba(228,198,140,.3); background: rgba(228,198,140,.04); }
.user-chip__avatar {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #19140d;
  background: linear-gradient(145deg, var(--gold-bright), #bb9256);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.user-chip__copy { display: flex; flex-direction: column; line-height: 1.3; overflow: hidden; }
.user-chip__copy strong { font-size: 12px; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip__copy small { font-size: 9.5px; color: var(--faint); font-family: var(--font-display); letter-spacing: .02em; }
.user-chip__chevron { width: 12px; height: 12px; margin-left: auto; color: var(--faint); }
.user-chip__notify {
  position: absolute; top: 7px; right: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 7px rgba(228,198,140,.8);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px) scale(.995); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 12px; border-radius: 8px; }
.btn--primary {
  position: relative;
  overflow: hidden;
  color: #1b150b;
  background: linear-gradient(135deg, #f2dbab 0%, #d8b26f 52%, #c89c58 100%);
  box-shadow: 0 8px 28px rgba(165, 121, 55, 0.18), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.45) 48%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 10px 34px rgba(180, 135, 65, 0.26), inset 0 1px 0 rgba(255,255,255,.55); }
.btn--primary:hover::after { transform: translateX(130%); }
.btn--glass {
  color: var(--text-soft);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.065); color: #fff; }
.btn--dark {
  color: var(--text-soft);
  border-color: var(--line);
  background: rgba(255,255,255,.025);
}
.btn--dark:hover { background: rgba(255,255,255,.055); border-color: var(--line-strong); color: var(--text); }
.btn--goldline {
  color: var(--gold-bright);
  border-color: rgba(228,198,140,.28);
  background: rgba(228,198,140,.06);
}
.btn--goldline:hover { background: rgba(228,198,140,.11); border-color: rgba(228,198,140,.45); }
.btn--danger { color: #ffaaaa; border-color: rgba(244,125,125,.25); background: rgba(244,125,125,.06); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--loading::before {
  content: "";
  width: 13px; height: 13px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.drawer-logout {
  flex-shrink: 0;
  color: var(--faint) !important;
  font-size: 9px !important;
}
.drawer-logout svg { width: 12px; height: 12px; }
.text-link:hover { color: var(--gold-bright); }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateX(3px); }
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  transition: .25s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--gold); border-color: rgba(228,198,140,.3); background: rgba(228,198,140,.05); }

/* ---------- layout ---------- */
.layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr) 292px;
  gap: 22px;
  padding: 26px 0 0;
  align-items: start;
}
.mobile-tabs { display: none; }
.sidebar { position: sticky; top: 18px; min-width: 0; padding-top: 6px; }
.stage { min-width: 0; }
.rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding-top: 6px; position: sticky; top: 18px; }
.layout > * { min-width: 0; }
.game-list, .filter-tabs, .hall__toolbar, .hall__head, .hall__head-actions { min-width: 0; max-width: 100%; }
.section-label { display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px 13px; }
.section-label span { color: var(--text-soft); font-size: 12px; letter-spacing: .16em; }
.section-label em { color: var(--faint); font-family: var(--font-display); font-size: 7.5px; letter-spacing: .16em; font-style: normal; }
.section-label--small { padding-left: 2px; padding-right: 2px; }

/* ---------- game list ---------- */
.game-list { display: flex; flex-direction: column; gap: 6px; }
.game-item {
  --gc: #ff7a45;
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-align: left;
  color: var(--muted);
  overflow: hidden;
  transition: background .3s var(--ease), border-color .3s, color .3s;
}
.game-item::before {
  content: "";
  position: absolute;
  left: 0; top: 24%; bottom: 24%;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--gc);
  opacity: 0;
  box-shadow: 0 0 14px var(--gc);
  transition: opacity .3s;
}
.game-item:hover { background: rgba(255,255,255,.025); border-color: var(--line); color: var(--text-soft); }
.game-item.is-active {
  background: linear-gradient(100deg, color-mix(in srgb, var(--gc) 9%, transparent), rgba(255,255,255,.014) 75%);
  border-color: color-mix(in srgb, var(--gc) 22%, transparent);
  color: var(--text);
}
.game-item.is-active::before { opacity: 1; }
.game-icon {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid color-mix(in srgb, var(--gc) 22%, transparent);
  background: color-mix(in srgb, var(--gc) 9%, #0b0d11);
  color: var(--gc);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.game-icon::after {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 7px;
}
.game-icon svg { width: 23px; height: 23px; position: relative; z-index: 1; }
.game-item.is-active .game-icon { transform: translateY(-1px); box-shadow: 0 5px 20px color-mix(in srgb, var(--gc) 14%, transparent); }
.game-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.25; }
.game-text strong { font-size: 13px; font-weight: 600; color: inherit; letter-spacing: .02em; white-space: nowrap; }
.game-text small { font-family: var(--font-display); font-size: 7.5px; letter-spacing: .15em; color: var(--faint); white-space: nowrap; }
.game-meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; gap: 2px; }
.game-meta b { color: var(--text-soft); font-family: var(--font-display); font-size: 13px; font-weight: 500; }
.game-meta small { color: var(--faint); font-size: 8px; }
.game-item.is-active .game-meta b { color: var(--gc); }
.side-rule { height: 1px; margin: 22px 8px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- side panel ---------- */
.side-panel {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(220px 130px at 10% 0%, rgba(228,198,140,.08), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.032), rgba(255,255,255,.008));
  overflow: hidden;
}
.side-panel::after {
  content: "GUARANTEE";
  position: absolute;
  right: -7px; bottom: -4px;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: .05em;
  color: rgba(255,255,255,.022);
  font-weight: 700;
}
.side-panel__head { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.shield-orb {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(228,198,140,.26);
  background: rgba(228,198,140,.08);
  color: var(--gold);
}
.shield-orb svg { width: 17px; height: 17px; }
.side-panel__head div { display: flex; flex-direction: column; line-height: 1.35; }
.side-panel__head strong { font-size: 11.5px; font-weight: 600; color: var(--text-soft); letter-spacing: .02em; }
.side-panel__head small { font-family: var(--font-display); font-size: 6.5px; letter-spacing: .12em; color: var(--gold-deep); }
.side-panel > p {
  position: relative; z-index: 1;
  margin: 13px 0 15px;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.8;
}
.side-panel > p b { color: var(--gold); font-weight: 600; }
.side-panel__stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.side-panel__stats div { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.side-panel__stats b { color: var(--text-soft); font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.side-panel__stats span { color: var(--faint); font-size: 8px; }
.side-steps { margin-top: 24px; }
.side-steps ol { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; }
.side-steps li {
  position: relative;
  display: flex; align-items: flex-start; gap: 11px;
  padding: 0 0 15px;
}
.side-steps li:last-child { padding-bottom: 0; }
.side-steps li::before {
  content: "";
  position: absolute;
  left: 11px; top: 24px; bottom: 1px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.02));
}
.side-steps li:last-child::before { display: none; }
.side-steps li i {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 23px; height: 23px; flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #0a0c10;
  color: var(--faint);
  font-family: var(--font-display);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: .03em;
}
.side-steps li:nth-child(1) i, .side-steps li:nth-child(2) i { color: var(--gold-deep); border-color: rgba(228,198,140,.18); }
.side-steps li span { display: flex; flex-direction: column; gap: 1px; padding-top: 2px; color: var(--text-soft); font-size: 11px; line-height: 1.45; }
.side-steps li small { color: var(--faint); font-size: 9px; }
.side-support {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%;
  min-height: 206px;
  margin-top: 18px;
  padding: 16px 14px;
  border: 1px solid rgba(228,198,140,.18);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(228,198,140,.065), rgba(255,255,255,.012));
  color: var(--muted);
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.side-support:hover { border-color: rgba(228,198,140,.36); background: rgba(228,198,140,.085); transform: translateY(-1px); }
.side-support .live-dot { margin-top: 6px; flex-shrink: 0; }
.side-support__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.5; flex: 1; align-self: stretch; }
.side-support strong { font-size: 14.5px; font-weight: 600; color: var(--text-soft); letter-spacing: .02em; }
.side-support small { font-size: 11px; color: var(--faint); }
.side-support__contacts { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.side-support__contacts span {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.055);
  color: var(--faint); font-size: 11px; line-height: 1.4;
}
.side-support__contacts em { font-style: normal; flex-shrink: 0; font-size: 10.5px; color: var(--faint); }
.side-support__contacts b { color: var(--text-soft); font-weight: 500; font-size: 12.5px; word-break: break-all; text-align: right; }
.side-support__contacts .side-support__note { display: block; padding: 6px 0 2px; border-bottom: 0; color: var(--faint); font-size: 9.5px; line-height: 1.65; white-space: pre-line; }
.side-support__action {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 9px; border-top: 1px solid rgba(228,198,140,.15);
  color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
}
.side-support__action svg { width: 12px; height: 12px; color: var(--gold-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 426px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #0b0d12;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(780px 460px at 86% 34%, var(--accent-soft), transparent 64%),
    radial-gradient(650px 450px at 2% 105%, rgba(77, 100, 125, 0.13), transparent 60%),
    linear-gradient(120deg, #0c0e13 0%, #0b0d12 52%, #0e1116 100%);
  transition: background .7s;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 65% 40%, #000 5%, transparent 72%);
  pointer-events: none;
}
#heroCanvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: .75; pointer-events: none; }
.hero__art { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero__orbit {
  position: absolute;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  opacity: .4;
  transition: border-color .7s;
}
.hero__orbit--one {
  width: 360px; height: 360px;
  right: -30px; top: -86px;
  border-style: dashed;
  opacity: .18;
  animation: orbit-spin 60s linear infinite;
}
.hero__orbit--two {
  width: 560px; height: 560px;
  right: -150px; top: -172px;
  opacity: .1;
}
.hero__orbit--three {
  width: 220px; height: 220px;
  right: 24px; top: 28px;
  opacity: .16;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero__crosshair {
  position: absolute;
  right: 290px; top: 84px;
  width: 140px; height: 140px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  opacity: .16;
}
.hero__crosshair::before, .hero__crosshair::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.hero__crosshair::before { left: 50%; top: -14px; bottom: -14px; width: 1px; opacity: .55; }
.hero__crosshair::after { top: 50%; left: -14px; right: -14px; height: 1px; opacity: .55; }
.hero__crosshair span { position: absolute; border: 1px solid var(--accent); border-radius: 50%; opacity: .55; }
.hero__crosshair span:first-child { inset: 18px; }
.hero__crosshair span:last-child { inset: 54px; background: var(--accent); }
.hero__sigil {
  position: absolute;
  right: 66px;
  top: 50%;
  width: 320px; height: 320px;
  transform: translateY(-50%) rotate(-7deg);
  color: var(--accent);
  opacity: .14;
  filter: drop-shadow(0 0 36px var(--accent));
  transition: color .7s, opacity .7s;
}
.hero__sigil svg { width: 100%; height: 100%; stroke-width: .8; }
.hero__wordmark {
  position: absolute;
  right: 18px; bottom: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(78px, 8.4vw, 126px);
  line-height: .76;
  letter-spacing: -.045em;
  text-align: right;
  color: rgba(255,255,255,.032);
  white-space: nowrap;
  transition: color .7s;
}
.hero__flare {
  position: absolute;
  right: 250px; top: 0;
  width: 1px; height: 130%;
  transform: rotate(24deg);
  background: linear-gradient(to bottom, transparent, var(--accent-line), transparent);
  opacity: .3;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(8,10,14,.87) 0%, rgba(8,10,14,.42) 44%, transparent 74%),
              linear-gradient(to top, rgba(7,9,12,.9), transparent 35%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  min-height: 426px;
  padding: 21px 30px 18px 32px;
  display: flex;
  flex-direction: column;
}
.hero__topline { display: flex; align-items: center; justify-content: space-between; }
.hero__season {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: .19em;
  color: var(--text-soft);
}
.hero__season i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero__arena-index { font-family: var(--font-display); font-size: 8px; letter-spacing: .18em; color: var(--faint); }
.hero__arena-index span { color: var(--text-soft); }
.hero__arena-index em { font-style: normal; color: var(--faint); }
.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 26px;
  align-items: center;
  padding: 10px 0 8px;
}
.hero__copy { min-width: 0; max-width: 550px; }
.hero__eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.hero__eyebrow span { width: 24px; height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero__eyebrow b { font-family: var(--font-display); font-size: 8.5px; font-weight: 500; letter-spacing: .24em; color: var(--accent); }
.hero__title { margin: 0; }
.hero__title > span {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.08;
  color: #f6f2e9;
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero__title > em {
  display: block;
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.2vw, 15px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: .38em;
  color: var(--accent);
  opacity: .9;
}
.hero__desc {
  max-width: 420px;
  margin: 14px 0 19px;
  color: #a6a8ae;
  font-size: 12px;
  line-height: 1.9;
}
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__actions .btn { height: 42px; font-size: 12px; }
.hero__metrics {
  display: flex;
  gap: 0;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 410px;
}
.hero__metrics > div {
  display: flex; flex-direction: column;
  gap: 1px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.hero__metrics > div:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero__metrics b { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: #e9e4d8; letter-spacing: .02em; line-height: 1.25; }
.hero__metrics b span { font-size: 11px; color: var(--accent); margin-left: 1px; }
.hero__metrics > div > span { font-size: 8.5px; color: var(--faint); letter-spacing: .04em; white-space: nowrap; }

.hero__feature { align-self: center; }
.feature-card {
  position: relative;
  padding: 16px 16px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(24,27,33,.88), rgba(12,14,18,.76));
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.055);
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 58%; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .7;
}
.feature-card__head { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 9px; letter-spacing: .08em; }
.feature-card__badge {
  display: flex; align-items: center; gap: 4px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: .12em;
}
.feature-card__badge i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.feature-card__body { margin-top: 20px; }
.feature-card__body small { font-family: var(--font-display); font-size: 7px; letter-spacing: .19em; color: var(--accent); opacity: .7; }
.feature-card__body strong { display: block; margin: 7px 0 8px; font-size: 15px; font-weight: 600; color: #f1ede4; line-height: 1.45; }
.feature-card__body p { margin: 0; color: var(--faint); font-size: 9.5px; line-height: 1.7; }
.feature-card__price { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 19px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.feature-card__price > span { color: var(--faint); font-size: 9px; }
.feature-card__price b { display: flex; align-items: baseline; gap: 3px; color: var(--gold-bright); font-family: var(--font-display); font-size: 27px; font-weight: 500; line-height: 1; }
.feature-card__price b em { font-style: normal; }
.feature-card__price b small { color: var(--gold-deep); font-family: var(--font-sans); font-size: 9px; font-weight: 400; }
.feature-card__link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: 13px; padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.055);
  color: var(--text-soft); font-size: 9.5px;
  transition: color .25s;
}
.feature-card__link svg { width: 13px; height: 13px; color: var(--accent); transition: transform .25s; }
.feature-card__link:hover { color: var(--accent); }
.feature-card__link:hover svg { transform: translateX(3px); }
.feature-card__corner {
  position: absolute; right: -16px; bottom: -16px;
  width: 50px; height: 50px;
  border: 1px solid var(--accent-line);
  transform: rotate(45deg);
  opacity: .45;
}
.hero__trust-row {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding: 0 4px;
  color: var(--faint); font-size: 8px; letter-spacing: .03em;
}
.hero__trust-row span { display: flex; align-items: center; gap: 4px; }
.mini-shield {
  display: inline-block; width: 5px; height: 5px;
  border: 1px solid var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
  opacity: .7;
}
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06); }
.hero__scroll-hint {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 6.5px; letter-spacing: .18em;
  color: var(--faint); white-space: nowrap;
}
.hero__scroll-hint span { position: relative; width: 14px; height: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.hero__scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 4px; width: 1px; height: 4px; background: var(--accent); animation: scrollwheel 1.8s infinite; }
@keyframes scrollwheel { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }
.hero__marquee { min-width: 0; overflow: hidden; flex: 1; max-width: 340px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
#heroTicker {
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: .16em;
  color: var(--faint);
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- hall ---------- */
.hall { margin-top: 27px; }
.stage > .hall:first-child { margin-top: 0; }
.hall__game-name {
  display: inline-flex; align-items: center;
  height: 25px; padding: 0 9px;
  border: 1px solid rgba(228,198,140,.2);
  border-radius: 5px;
  background: rgba(228,198,140,.06);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .03em;
}
.hall__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-kicker {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 7.5px;
  letter-spacing: .22em;
  color: var(--gold-deep);
}
.section-kicker span { width: 18px; height: 1px; background: var(--gold-deep); }
.hall__head h2 {
  display: flex; align-items: baseline; gap: 13px;
  margin: 7px 0 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #f2eee5;
}
.hall__head h2 em {
  font-family: var(--font-display);
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--faint);
}
.hall__head-actions { display: flex; align-items: center; gap: 8px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  height: 36px; width: 200px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.02);
  transition: border-color .25s, background .25s;
}
.search-box:focus-within { border-color: rgba(228,198,140,.35); background: rgba(228,198,140,.03); }
.search-box svg { width: 14px; height: 14px; color: var(--faint); flex-shrink: 0; }
.search-box input {
  width: 100%; border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: 11px;
}
.search-box input::placeholder { color: var(--faint); }
.hall__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  margin: 17px 0 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.filter-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  transition: .25s;
}
.filter-tab span {
  font-family: var(--font-display);
  font-size: 8px;
  color: var(--faint);
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255,255,255,.04);
}
.filter-tab:hover { color: var(--text); background: rgba(255,255,255,.03); }
.filter-tab.is-active { color: var(--gold-bright); background: rgba(228,198,140,.075); }
.filter-tab.is-active span { color: var(--gold-deep); background: rgba(228,198,140,.1); }
.sort-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--faint); font-size: 9px; }
.sort-wrap select {
  height: 30px;
  padding: 0 25px 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: 0;
  background: #0b0d11 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='%23777' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: var(--muted);
  font-size: 10px;
  appearance: none;
  cursor: pointer;
}
.sort-wrap select:focus { border-color: rgba(228,198,140,.3); }

.orders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.order-card {
  --oc: #ff7a45;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(300px 150px at 100% 0%, color-mix(in srgb, var(--oc) 5%, transparent), transparent 65%),
    linear-gradient(165deg, rgba(255,255,255,.028), rgba(255,255,255,.008));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  animation: card-in .55s var(--ease) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.order-card::before {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--oc), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
}
.order-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--oc) 26%, var(--line));
  box-shadow: 0 16px 40px rgba(0,0,0,.28), 0 0 0 1px color-mix(in srgb, var(--oc) 8%, transparent);
}
.order-card:hover::before { opacity: .8; }
.order-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-game { display: flex; align-items: center; gap: 7px; min-width: 0; }
.order-game__mark {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--oc) 24%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--oc) 8%, transparent);
  color: var(--oc);
}
.order-game__mark svg { width: 14px; height: 14px; }
.order-game__name { color: var(--text-soft); font-size: 10px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.order-game__tag { color: var(--faint); font-family: var(--font-display); font-size: 7px; letter-spacing: .1em; white-space: nowrap; }
.status {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 8.5px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--green); background: rgba(99,213,160,.07); border-color: rgba(99,213,160,.16); }
.status--accepted { color: var(--blue); background: rgba(116,184,255,.07); border-color: rgba(116,184,255,.16); }
.status--done { color: var(--gold); background: rgba(228,198,140,.07); border-color: rgba(228,198,140,.18); }
.status--settled { color: var(--faint); background: rgba(255,255,255,.035); border-color: var(--line); }
.status--cancelled { color: var(--faint); background: rgba(255,255,255,.025); border-color: var(--line); }
.order-card__main { flex: 1; padding: 14px 0 13px; }
.order-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
  color: #ece8df;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.order-card__price { display: flex; align-items: baseline; gap: 3px; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.order-card__price b { color: var(--gold-bright); font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: .01em; }
.order-card__price span { color: var(--gold-deep); font-size: 8px; }
.rank-route {
  display: flex; align-items: center; gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9.5px;
  min-width: 0;
}
.rank-route span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-route svg { width: 16px; height: 8px; flex-shrink: 0; color: var(--faint); }
.rank-route b { font-weight: 500; color: var(--text-soft); }
.order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.order-meta span {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 4px;
  color: var(--faint);
  font-size: 8px;
  background: rgba(255,255,255,.018);
}
.order-meta span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--oc); opacity: .55; }
.order-note {
  margin: 9px 0 0;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-party {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px;
  padding: 7px 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--oc) 5%, rgba(255,255,255,.018));
  border: 1px solid color-mix(in srgb, var(--oc) 10%, transparent);
  color: var(--faint);
  font-size: 8.5px;
}
.order-party__avatar {
  display: grid; place-items: center;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--text-soft);
  font-size: 7px;
  flex-shrink: 0;
}
.order-party b { color: var(--text-soft); font-weight: 500; }
.order-party em { font-style: normal; color: var(--faint); letter-spacing: .04em; }
.order-party__spacer { flex: 1; }
.order-party__hint { color: var(--oc); font-family: var(--font-display); font-size: 7px; letter-spacing: .1em; opacity: .8; }
.order-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0 12px;
  border-top: 1px solid rgba(255,255,255,.055);
}
.order-boss { display: flex; align-items: center; gap: 7px; min-width: 0; }
.order-boss__avatar {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025));
  color: var(--text-soft);
  font-size: 9px;
}
.order-boss__copy { display: flex; flex-direction: column; gap: 0; line-height: 1.35; min-width: 0; }
.order-boss__copy b { color: var(--text-soft); font-size: 9.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 92px; }
.order-boss__copy small { color: var(--faint); font-family: var(--font-display); font-size: 7.5px; letter-spacing: .04em; }
.order-card__cta {
  display: inline-flex; align-items: center; gap: 5px;
  height: 29px; padding: 0 12px;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--oc) 28%, transparent);
  background: color-mix(in srgb, var(--oc) 7%, transparent);
  color: var(--oc);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  transition: .28s var(--ease);
}
.order-card__cta svg { width: 12px; height: 12px; transition: transform .25s; }
.order-card__cta:hover { background: color-mix(in srgb, var(--oc) 16%, transparent); color: #fff; }
.order-card__cta:hover svg { transform: translateX(2px); }
.order-card__actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.order-card__chat {
  display: inline-flex; align-items: center; gap: 4px;
  height: 29px; padding: 0 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  color: var(--faint);
  background: rgba(255,255,255,.025);
  font-size: 9.5px;
  white-space: nowrap;
  transition: .2s;
}
.order-card__chat svg { width: 11px; height: 11px; }
.order-card__chat:hover { color: var(--gold); border-color: rgba(228,198,140,.25); background: rgba(228,198,140,.05); }
.order-card__cta--quiet {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255,255,255,.025);
}
.order-card__cta--quiet:hover { color: var(--text); background: rgba(255,255,255,.06); }
.order-card__cta--gold { color: var(--gold); border-color: rgba(228,198,140,.25); background: rgba(228,198,140,.06); }
.order-card__cta--gold:hover { background: rgba(228,198,140,.13); color: var(--gold-bright); }
.order-card--settled { opacity: .72; }
.order-card--settled:hover { opacity: .95; }
.orders-empty {
  padding: 54px 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  text-align: center;
  color: var(--faint);
}
.orders-empty__mark { display: block; font-family: var(--font-display); font-size: 34px; color: rgba(255,255,255,.1); line-height: 1; }
.orders-empty h3 { margin: 12px 0 5px; color: var(--text-soft); font-size: 14px; font-weight: 500; }
.orders-empty p { margin: 0 0 16px; font-size: 11px; }
.hall__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 15px; padding: 12px 3px 0;
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 8.5px;
}
.hall__footer > span:first-child { display: flex; align-items: center; gap: 6px; }
.hall__footer-note { letter-spacing: .03em; }

/* ---------- right rail ---------- */
.rail-card {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(165deg, rgba(255,255,255,.028), rgba(255,255,255,.007));
  overflow: hidden;
}
.rail-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.rail-card__head > span { color: var(--text-soft); font-size: 11px; letter-spacing: .08em; }
.rail-card__head > em { color: var(--faint); font-family: var(--font-display); font-size: 6.5px; font-style: normal; letter-spacing: .15em; }
.account-snapshot { background: radial-gradient(250px 150px at 100% 0%, rgba(228,198,140,.08), transparent 65%), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.008)); }
.snapshot-guest { padding: 2px 0 0; }
.snapshot-guest__title { margin: 0; font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: .05em; color: #f2ede2; line-height: 1.35; }
.snapshot-guest__title em { color: var(--gold); font-style: normal; }
.snapshot-guest__desc { margin: 7px 0 14px; color: var(--faint); font-size: 10px; line-height: 1.75; }
.snapshot-benefits { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.snapshot-benefits span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9.5px; }
.snapshot-benefits i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .8; }
.snapshot-guest .btn { height: 36px; width: 100%; }
.snapshot-user__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.snapshot-user__avatar {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), #b68a4e);
  color: #1b140a;
  font-size: 13px;
  font-weight: 700;
}
.snapshot-user__copy { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.snapshot-user__copy strong { color: var(--text); font-size: 13px; font-weight: 600; }
.snapshot-user__copy small { color: var(--faint); font-family: var(--font-display); font-size: 7.5px; letter-spacing: .06em; }
.snapshot-user__deposit {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 6px;
  border: 1px solid rgba(99,213,160,.18);
  border-radius: 4px;
  color: var(--green);
  font-size: 7.5px;
  white-space: nowrap;
}
.snapshot-user__deposit.is-off { color: var(--gold); border-color: rgba(228,198,140,.18); }
.snapshot-user__deposit.is-refund { color: var(--blue); border-color: rgba(116,184,255,.18); }
.snapshot-balance { display: flex; align-items: flex-end; justify-content: space-between; padding: 12px 0 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.snapshot-balance__main { display: flex; flex-direction: column; gap: 2px; }
.snapshot-balance__main small { color: var(--faint); font-size: 8.5px; letter-spacing: .04em; }
.snapshot-balance__main b { color: var(--gold-bright); font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.15; }
.snapshot-balance__main b span { margin-left: 3px; color: var(--gold-deep); font-family: var(--font-sans); font-size: 9px; font-weight: 400; }
.snapshot-balance__sub { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: var(--faint); font-size: 8px; text-align: right; }
.snapshot-balance__sub b { color: var(--text-soft); font-family: var(--font-display); font-size: 11px; font-weight: 400; }
.snapshot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.snapshot-actions .btn { height: 32px; padding: 0 8px; font-size: 9.5px; gap: 5px; border-radius: 7px; }
.snapshot-actions .btn svg { width: 12px; height: 12px; }
.snapshot-quick { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.snapshot-quick span { color: var(--faint); font-size: 8.5px; }
.snapshot-quick button { color: var(--gold); font-size: 8.5px; }
.snapshot-quick button:hover { color: var(--gold-bright); }
.live-feed-card { padding-bottom: 8px; }
.live-feed-card__live { display: flex; align-items: center; gap: 4px; color: var(--green) !important; font-family: var(--font-display); font-size: 6.5px !important; }
.live-feed-card__live .live-dot { width: 4px; height: 4px; }
.live-feed { display: flex; flex-direction: column; max-height: 230px; overflow: hidden; }
.feed-item { position: relative; display: flex; gap: 9px; padding: 8px 0 9px; }
.feed-item::before { content: ""; position: absolute; left: 3px; top: 20px; bottom: 0; width: 1px; background: rgba(255,255,255,.06); }
.feed-item:last-child::before { display: none; }
.feed-item__dot { width: 7px; height: 7px; margin-top: 4px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; background: #0b0d11; }
.feed-item__dot--gold { color: var(--gold); box-shadow: 0 0 7px rgba(228,198,140,.5); }
.feed-item__dot--green { color: var(--green); }
.feed-item__dot--blue { color: var(--blue); }
.feed-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feed-item__body p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-item__body time { color: var(--faint); font-family: var(--font-display); font-size: 7px; letter-spacing: .04em; }
.guarantee-card { background: radial-gradient(220px 150px at 100% 0%, rgba(228,198,140,.055), transparent 65%), linear-gradient(165deg, rgba(255,255,255,.026), rgba(255,255,255,.007)); }
.guarantee-card__head { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.guarantee-card__icon {
  display: grid; place-items: center;
  width: 31px; height: 31px;
  border: 1px solid rgba(228,198,140,.23);
  border-radius: 50%;
  background: rgba(228,198,140,.065);
  color: var(--gold);
}
.guarantee-card__icon svg { width: 16px; height: 16px; }
.guarantee-card__head > div { display: flex; flex-direction: column; line-height: 1.35; }
.guarantee-card__head strong { color: var(--text-soft); font-size: 10.5px; font-weight: 500; letter-spacing: .03em; }
.guarantee-card__head small { color: var(--gold-deep); font-family: var(--font-display); font-size: 6px; letter-spacing: .1em; }
.guarantee-list { display: flex; flex-direction: column; gap: 10px; padding: 13px 0 12px; }
.guarantee-list > div { display: flex; align-items: flex-start; gap: 10px; }
.guarantee-list > div > b { width: 39px; flex-shrink: 0; color: var(--gold); font-family: var(--font-display); font-size: 13px; font-weight: 500; line-height: 1.5; }
.guarantee-list > div > span { display: flex; flex-direction: column; color: var(--text-soft); font-size: 9.5px; line-height: 1.4; }
.guarantee-list > div > span small { color: var(--faint); font-size: 8px; margin-top: 1px; }
.guarantee-card .text-link { padding-top: 10px; border-top: 1px solid var(--line); font-size: 8.5px; }
.rail-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 264px;
  padding: 21px 19px 17px;
  border: 1px solid rgba(228,198,140,.17);
  border-radius: 15px;
  background:
    radial-gradient(260px 200px at 92% 0%, rgba(228,198,140,.13), transparent 65%),
    linear-gradient(160deg, #15130f 0%, #0d0f13 55%, #0a0c10 100%);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045);
}
.rail-quote::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 2px; height: 46%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  box-shadow: 0 0 16px rgba(228,198,140,.35);
}
.rail-quote::after {
  content: "";
  position: absolute; right: -48px; bottom: -58px;
  width: 172px; height: 172px;
  border: 1px solid rgba(228,198,140,.11);
  border-radius: 50%;
}
.rail-quote__watermark {
  position: absolute;
  right: 7px; bottom: 31px;
  color: rgba(255,255,255,.035);
  font-family: var(--font-sans);
  font-size: 71px;
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.08em;
  pointer-events: none;
}
.rail-quote__top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rail-quote__mark {
  display: block;
  height: 29px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 47px;
  font-weight: 700;
  line-height: .9;
  text-shadow: 0 0 20px rgba(228,198,140,.22);
}
.rail-quote__index { padding-top: 5px; color: var(--gold-deep); font-family: var(--font-sans); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.rail-quote p {
  position: relative;
  z-index: 1;
  margin: 22px 0 25px;
  color: #eee7d9;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .04em;
}
.rail-quote p em { color: var(--gold-bright); font-style: normal; position: relative; white-space: nowrap; }
.rail-quote p em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: linear-gradient(90deg, rgba(228,198,140,.75), transparent);
}
.rail-quote__foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: auto; }
.rail-quote__foot span { width: 17px; height: 1px; background: var(--gold-deep); }
.rail-quote__foot small { color: #8c909a; font-family: var(--font-sans); font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.rail-quote__foot i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.09), transparent); }

/* ---------- membership center ---------- */
.member-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 22px; padding: 24px 26px;
  border: 1px solid rgba(228,198,140,.2); border-radius: 14px;
  background: radial-gradient(500px 220px at 100% 0%, rgba(228,198,140,.1), transparent 65%), rgba(255,255,255,.02);
}
.member-hero__identity { display: flex; align-items: center; gap: 14px; }
.member-hero__avatar { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(228,198,140,.28); background: rgba(228,198,140,.1); color: var(--gold-bright); font-size: 22px; font-weight: 700; }
.member-hero__eyebrow { color: var(--gold-deep); font-family: var(--font-sans); font-size: 8px; font-weight: 600; letter-spacing: .16em; }
.member-hero h2 { margin: 4px 0 2px; color: #f3ede1; font-size: 23px; font-weight: 700; }
.member-hero p { margin: 0; color: var(--faint); font-size: 10.5px; }
.member-hero__status { display: flex; align-items: center; gap: 22px; }
.member-hero__status > div { display: flex; flex-direction: column; gap: 1px; text-align: right; }
.member-hero__status b { color: var(--gold-bright); font-size: 22px; font-weight: 700; }
.member-hero__status small { color: var(--faint); font-size: 9px; }
.member-status { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 9.5px; font-weight: 600; }
.member-status.is-active { color: var(--gold); border-color: rgba(228,198,140,.28); background: rgba(228,198,140,.06); }
.member-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 11px 14px; border: 1px solid rgba(228,198,140,.16); border-radius: 8px; background: rgba(228,198,140,.04); color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.member-notice svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--gold); margin-top: 2px; }
.member-notice b { color: var(--gold); }
.member-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.member-plan { position: relative; padding: 19px 17px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.015); }
.member-plan.is-current { border-color: rgba(228,198,140,.35); background: rgba(228,198,140,.04); }
.member-plan__tag { position: absolute; top: 12px; right: 12px; color: var(--faint); font-size: 8px; }
.member-plan h3 { margin: 0 0 9px; color: var(--text-soft); font-size: 15px; font-weight: 700; }
.member-plan__price { color: var(--gold-bright); font-family: var(--font-sans); font-size: 30px; font-weight: 700; }
.member-plan__price small { color: var(--faint); font-size: 9px; font-weight: 400; }
.member-plan ul { margin: 13px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.member-plan li { position: relative; padding-left: 12px; color: var(--muted); font-size: 10px; }
.member-plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-deep); }
.member-bottom { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; margin-top: 18px; }
.member-panel { padding: 18px 19px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.012); }
.member-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.member-panel__head h3 { margin: 0; color: var(--text-soft); font-size: 13px; font-weight: 700; }
.member-panel__head span { color: var(--faint); font-family: var(--font-sans); font-size: 8px; letter-spacing: .08em; }
.member-review { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.045); }
.member-review:last-child { border-bottom: 0; }
.member-review > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.member-review b { color: var(--text-soft); font-size: 10.5px; }
.member-review span { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.member-review p { margin: 5px 0 3px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.member-review small { color: var(--faint); font-size: 8px; }
.member-faq p { margin: 0 0 10px; color: var(--muted); font-size: 10.5px; line-height: 1.75; }
.member-faq p:last-child { margin-bottom: 0; }
.member-faq b { color: var(--text-soft); }
.member-empty { padding: 23px 4px; color: var(--faint); font-size: 10.5px; line-height: 1.8; }

/* compact order cards: 3 across on wide desktop */
@media (min-width: 1500px) {
  .orders-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
.orders-grid .order-card { padding: 13px 13px 0; border-radius: 10px; }
.orders-grid .order-card__top { gap: 6px; }
.orders-grid .order-game { gap: 5px; }
.orders-grid .order-game__mark { width: 25px; height: 25px; border-radius: 6px; }
.orders-grid .order-game__mark svg { width: 12px; height: 12px; }
.orders-grid .order-game__name { font-size: 10.5px; }
.orders-grid .order-game__tag { font-size: 8px; }
.orders-grid .order-card__main { padding: 9px 0 8px; }
.orders-grid .order-card__title-row { gap: 8px; }
.orders-grid .order-card__title { font-size: 15px; line-height: 1.4; }
.orders-grid .order-card__price { padding-top: 0; }
.orders-grid .order-card__price b { font-size: 22px; }
.orders-grid .order-card__price span { font-size: 8px; }
.orders-grid .rank-route { margin-top: 6px; font-size: 10px; gap: 5px; }
.orders-grid .order-meta { margin-top: 7px; gap: 4px; }
.orders-grid .order-meta span { padding: 3px 6px; font-size: 9px; }
.orders-grid .order-note { margin-top: 7px; font-size: 10px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.orders-grid .order-party { margin-top: 7px; padding: 5px 7px; font-size: 9px; gap: 5px; }
.orders-grid .order-party__avatar { width: 20px; height: 20px; font-size: 8px; }
.orders-grid .order-card__foot { padding: 8px 0 9px; gap: 6px; }
.orders-grid .order-boss__avatar { width: 21px; height: 21px; font-size: 8px; }
.orders-grid .order-boss__copy b { font-size: 9px; max-width: 74px; }
.orders-grid .order-boss__copy small { font-size: 7px; }
.orders-grid .order-card__cta { height: 27px; padding: 0 9px; font-size: 9.5px; }
.orders-grid .order-card__chat { height: 27px; padding: 0 7px; font-size: 9px; }
.orders-grid .order-card__actions { gap: 4px; }
@media (min-width: 1500px) and (max-width: 1750px) {
  .orders-grid .order-card__chat { font-size: 0; gap: 0; padding: 0 7px; }
  .orders-grid .order-card__chat svg { width: 13px; height: 13px; }
}

/* ---------- accept confirmation ---------- */
.accept-summary { padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.018); }
.accept-summary__game { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.accept-summary__game > div { display: flex; flex-direction: column; gap: 2px; }
.accept-summary__game small { color: var(--faint); font-size: 8.5px; }
.accept-summary__game strong { color: var(--text-soft); font-size: 13px; font-weight: 700; }
.accept-summary__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; padding-top: 11px; }
.accept-summary__rows > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.accept-summary__rows > div.is-full { grid-column: span 2; }
.accept-summary__rows span { color: var(--faint); font-size: 9px; }
.accept-summary__rows b { color: var(--text-soft); font-size: 10.5px; font-weight: 600; line-height: 1.6; word-break: break-word; }
.accept-warning { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(230,120,120,.24); border-radius: 7px; background: rgba(230,120,120,.06); color: #e6b0b0; font-size: 10px; line-height: 1.7; }
.accept-warning svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.accept-warning b { color: #f0c4c4; }
.accept-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.7; cursor: pointer; }
.accept-check input { width: 14px; height: 14px; margin-top: 2px; accent-color: var(--gold-deep); flex-shrink: 0; }

/* ---------- member support / concierge ---------- */
.member-support-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--faint); font-size: 10px;
}
.member-support-link > span { min-width: 0; }
.member-support {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 12px; padding: 15px 17px;
  border: 1px solid rgba(228,198,140,.18); border-radius: 10px;
  background: linear-gradient(110deg, rgba(228,198,140,.055), rgba(255,255,255,.012));
}
.member-support__identity { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.member-support__icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid rgba(228,198,140,.22); border-radius: 8px; color: var(--gold); background: rgba(228,198,140,.07); }
.member-support__icon svg { width: 16px; height: 16px; }
.member-support__identity strong { color: var(--text-soft); font-size: 12px; font-weight: 700; }
.member-support__identity p { margin: 3px 0 0; color: var(--faint); font-size: 10px; line-height: 1.6; }
.member-support__contacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.member-support__contacts span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 9px; }
.member-support > .btn { flex-shrink: 0; }
.support-contact { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.support-contact span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 9.5px; }
.support-contact b { color: var(--gold); font-weight: 600; }
.support-chat .order-chat__messages { height: 230px; }

/* ---------- order chat / proof / reviews ---------- */
.detail-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 9px 12px; border: 1px solid rgba(228,198,140,.15); border-radius: 7px; color: var(--muted); background: rgba(228,198,140,.04); font-size: 10px; line-height: 1.7; }
.detail-notice svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.detail-block--wide { margin-top: 12px; }
.detail-proof { padding: 10px 0 2px; }
.detail-proof__image { display: grid; place-items: center; min-height: 90px; max-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; color: var(--faint); font-size: 10px; background: rgba(0,0,0,.2); }
.detail-proof__image img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.detail-proof p { margin: 8px 0 3px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.detail-proof small { color: var(--faint); font-size: 8px; }
.detail-proof--empty { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 10px; padding: 8px 0; }
.detail-proof--empty svg { width: 14px; height: 14px; color: var(--gold-deep); }
.detail-review { padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-review:last-child { border-bottom: 0; }
.detail-review__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.detail-review__head b { color: var(--text-soft); font-size: 10.5px; }
.detail-review__stars { display: block; color: var(--gold); font-size: 10px; letter-spacing: .12em; }
.detail-review__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.detail-review__stats span { color: var(--faint); font-size: 9px; }
.detail-review p { margin: 5px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.review-record { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.018); }
.review-record .form-field { gap: 4px; }
.review-record .form-field > label { font-size: 10px; }
.review-record .form-field input { height: 38px; font-size: 13px; text-align: center; }
.review-stars--speed { align-items: center; }
.review-stars--speed span { margin-left: 4px; color: var(--faint); font-size: 9px; }
.member-review__stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 3px; }
.member-review__stats span { color: var(--gold-deep); font-size: 8.5px; }
.detail-proof-preview { display: grid; place-items: center; min-height: 120px; margin-top: 8px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--faint); font-size: 10px; overflow: hidden; }
.detail-proof-preview img { display: block; width: 100%; max-height: 260px; object-fit: contain; }
.order-chat { margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.012); }
.order-chat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 10.5px; font-weight: 600; }
.order-chat__head small { color: var(--faint); font-size: 8px; font-weight: 400; }
.order-chat__messages { height: 170px; overflow-y: auto; padding: 10px 13px; display: flex; flex-direction: column; gap: 8px; }
.order-chat__empty { margin: auto; color: var(--faint); font-size: 9.5px; text-align: center; line-height: 1.7; }
.chat-message { max-width: 82%; align-self: flex-start; }
.chat-message.is-mine { align-self: flex-end; text-align: right; }
.chat-message__name { display: block; color: var(--faint); font-size: 8px; margin-bottom: 3px; }
.chat-message p { margin: 0; padding: 7px 10px; border-radius: 8px 8px 8px 2px; color: var(--text-soft); background: rgba(255,255,255,.05); font-size: 10.5px; line-height: 1.6; text-align: left; word-break: break-word; }
.chat-message.is-mine p { background: rgba(228,198,140,.12); border-radius: 8px 8px 2px 8px; }
.chat-message time { display: block; margin-top: 3px; color: var(--faint); font-size: 7.5px; }
.order-chat__form { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--line); }
.order-chat__form input { flex: 1; min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 5px; background: rgba(0,0,0,.15); padding: 0 9px; color: var(--text); font-size: 10.5px; outline: none; }
.order-chat__form input:focus { border-color: rgba(228,198,140,.3); }
.review-stars { display: flex; gap: 4px; }
.review-stars button { color: var(--line-strong); font-size: 20px; letter-spacing: 0; line-height: 1; padding: 2px; }
.review-stars button.is-active { color: var(--gold); }
.detail-actions { flex-wrap: wrap; }

@media (max-width: 1100px) {
  .member-hero { flex-direction: column; align-items: flex-start; }
  .member-hero__status { width: 100%; justify-content: space-between; }
  .member-plans { grid-template-columns: 1fr; }
  .member-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .member-hero { padding: 19px; }
  .member-hero__status { gap: 12px; }
  .member-hero__status b { font-size: 18px; }
  .member-hero__status > div { text-align: left; }
  .member-hero__status .member-status { display: none; }
}

/* premium membership business card */
.brand-card--side {
  min-height: 176px;
  margin-top: 16px;
  padding: 14px 13px 12px;
}
.brand-card--side .brand-card__quote { margin: 16px 0 12px; font-size: 17px; line-height: 1.5; }
.brand-card--side .brand-card__meta { padding-top: 8px; }
.brand-card--side .brand-card__foot { margin-top: 8px; }
.brand-card--side .brand-card__watermark { font-size: 96px; }
.brand-card--side .brand-card__identity strong { font-size: 13px; }
.brand-card--side .brand-card__tier { display: none; }

.rail-ads { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.rail-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(228,198,140,.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(228,198,140,.055), rgba(255,255,255,.012));
  color: var(--text-soft);
  text-decoration: none;
}
.rail-ad:hover { border-color: rgba(228,198,140,.35); }
.rail-ad__tag { margin-bottom: 4px; color: var(--gold-deep); font-size: 7px; font-weight: 600; letter-spacing: .16em; }
.rail-ad strong { position: relative; z-index: 2; color: var(--text-soft); font-size: 12px; line-height: 1.4; }
.rail-ad p { position: relative; z-index: 2; margin: 3px 0 0; color: var(--faint); font-size: 9px; line-height: 1.55; }
.rail-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rail-ad--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,13,.88), rgba(8,10,13,.15)); }
.rail-ad--image strong, .rail-ad--image p, .rail-ad--image .rail-ad__tag { text-shadow: 0 1px 5px rgba(0,0,0,.8); }
.rail-ad--image .rail-ad__tag { color: var(--gold); }

.brand-card {
  position: relative;
  min-height: 238px;
  padding: 19px 19px 16px;
  border: 1px solid rgba(228,198,140,.34);
  border-radius: 15px;
  background:
    radial-gradient(300px 200px at 105% -10%, rgba(228,198,140,.22), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(228,198,140,.018) 18px 19px, transparent 19px 36px),
    linear-gradient(145deg, #211d16 0%, #111318 44%, #090b0e 100%);
  box-shadow: 0 24px 58px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.11), inset 0 -1px 0 rgba(228,198,140,.1);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.brand-card::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid rgba(228,198,140,.1);
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
}
.brand-card::after {
  content: "";
  position: absolute; left: 0; top: 0; width: 2px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(228,198,140,.7), transparent);
  opacity: .55;
  z-index: 1;
}
.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228,198,140,.48);
  box-shadow: 0 28px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12);
}
.brand-card__shine {
  position: absolute;
  top: -65%; left: -70%;
  width: 55%; height: 230%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255,247,228,.07), transparent);
  pointer-events: none;
  transition: left .8s var(--ease);
  z-index: 0;
}
.brand-card:hover .brand-card__shine { left: 125%; }
.brand-card__top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.brand-card__identity { display: flex; align-items: center; gap: 8px; }
.brand-card__seal {
  display: grid; place-items: center;
  width: 33px; height: 33px;
  border: 1px solid rgba(228,198,140,.42);
  border-radius: 8px;
  color: #1b150d;
  background: linear-gradient(145deg, #f7e3ba, #b98d4e);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.6);
}
.brand-card__identity > div { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.brand-card__identity strong { color: #f8f1e3; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.brand-card__identity small { color: var(--gold-deep); font-family: var(--font-sans); font-size: 6.5px; font-weight: 600; letter-spacing: .12em; }
.brand-card__tier { color: rgba(228,198,140,.7); font-family: var(--font-sans); font-size: 7px; font-weight: 600; line-height: 1.55; letter-spacing: .12em; text-align: right; }
.brand-card__quote {
  position: relative;
  z-index: 2;
  margin: 25px 0 20px;
  color: #f2ecdf;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: .045em;
}
.brand-card__quote em { color: var(--gold-bright); font-style: normal; position: relative; white-space: nowrap; }
.brand-card__quote em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.brand-card__meta { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 11px; border-top: 1px solid rgba(228,198,140,.14); }
.brand-card__meta > div { display: flex; flex-direction: column; gap: 1px; }
.brand-card__meta small { color: rgba(228,198,140,.5); font-family: var(--font-sans); font-size: 6.5px; font-weight: 600; letter-spacing: .14em; }
.brand-card__meta span { color: #d7cdbb; font-size: 10.5px; font-weight: 600; }
.brand-card__meta > div:last-child { align-items: flex-end; }
.brand-card__meta > div:last-child span { color: var(--gold); font-family: var(--font-sans); font-size: 10px; letter-spacing: .1em; }
.brand-card__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; color: #867c6c; font-size: 8px; font-weight: 500; letter-spacing: .06em; }
.brand-card__watermark {
  position: absolute;
  right: -10px; bottom: 25px;
  z-index: 1;
  color: rgba(228,198,140,.045);
  font-family: var(--font-serif);
  font-size: 115px;
  font-weight: 700;
  line-height: .8;
  pointer-events: none;
}
.brand-card__corner {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 24px; height: 24px;
  border-right: 1px solid rgba(228,198,140,.2);
  border-bottom: 1px solid rgba(228,198,140,.2);
  z-index: 1;
}
@media (max-width: 1440px) {
  .brand-card { min-height: 218px; padding: 16px 16px 14px; }
  .brand-card__quote { font-size: 17px; margin: 21px 0 16px; }
  .brand-card__watermark { font-size: 118px; }
}
@media (max-width: 1440px) {
  .rail-quote { min-height: 238px; padding: 18px 16px 15px; }
  .rail-quote p { font-size: 17px; margin: 19px 0 21px; }
  .rail-quote__watermark { font-size: 61px; }
}

/* ---------- footer ---------- */
.footer {
  display: flex; align-items: center; gap: 30px;
  margin-top: 44px;
  padding: 22px 4px 25px;
  border-top: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.footer__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid rgba(228,198,140,.22);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 14px;
}
.footer__brand > div { display: flex; flex-direction: column; line-height: 1.35; }
.footer__brand strong { color: var(--text-soft); font-size: 10px; letter-spacing: .1em; font-weight: 500; }
.footer__brand small { color: var(--faint); font-size: 8px; }
.footer__links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.footer__links button, .footer__links a { color: var(--faint); font-size: 9px; transition: color .2s; }
.footer__links button:hover, .footer__links a:hover { color: var(--gold); }
.footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--faint); font-family: var(--font-display); font-size: 6.5px; letter-spacing: .08em; text-align: right; }
.footer__meta span:last-child { opacity: .7; }

/* =========================================================
   Modal system
   ========================================================= */
.modal-layer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-layer[aria-hidden="true"] { pointer-events: none; opacity: 0; visibility: hidden; }
.modal-layer[aria-hidden="false"] { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 4, 6, 0.74);
  backdrop-filter: blur(12px) saturate(.85);
  opacity: 0;
  transition: opacity .35s;
}
.modal-layer[aria-hidden="false"] .modal-backdrop { opacity: 1; }
.modal-frame {
  position: relative;
  width: min(860px, 94vw);
  max-height: calc(100vh - 48px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(228,198,140,.06), transparent 60%),
    linear-gradient(150deg, #11141a, #0a0c10 62%);
  box-shadow: 0 40px 120px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: auto;
  transform: translateY(14px) scale(.985);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .3s;
}
.modal-layer[aria-hidden="false"] .modal-frame { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 15px; right: 16px; z-index: 4;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--faint);
  background: rgba(7,9,13,.45);
  transition: .25s;
}
.modal-close:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.045); }
.modal-close svg { width: 14px; height: 14px; }
.modal-header { padding: 27px 30px 0; }
.modal-header .section-kicker { margin-bottom: 6px; }
.modal-header h2 { margin: 0; color: #f4efe4; font-size: 22px; font-weight: 600; letter-spacing: .05em; }
.modal-header p { margin: 6px 0 0; color: var(--faint); font-size: 10.5px; line-height: 1.7; }
.modal-body { padding: 22px 30px 28px; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 30px; border-top: 1px solid var(--line); background: rgba(255,255,255,.012); }
.modal-foot__hint { color: var(--faint); font-size: 9px; line-height: 1.6; display: flex; align-items: center; gap: 6px; }
.modal-foot__hint svg { width: 12px; height: 12px; color: var(--gold-deep); flex-shrink: 0; }
.modal-foot__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.modal--md { width: min(640px, 94vw); }
.modal--sm { width: min(500px, 94vw); }
.modal--lg { width: min(960px, 94vw); }

/* auth */
.auth-modal { display: grid; grid-template-columns: 0.82fr 1.18fr; min-height: 560px; }
.auth-visual {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 30px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(420px 300px at 20% 15%, rgba(228,198,140,.13), transparent 65%),
    linear-gradient(150deg, #14120e 0%, #0b0c0f 55%, #090b0e 100%);
}
.auth-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(255,255,255,.017) 39px),
              repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(255,255,255,.017) 39px);
  mask-image: linear-gradient(160deg, #000, transparent 75%);
}
.auth-visual__brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: var(--gold); font-family: var(--font-serif); font-size: 15px; letter-spacing: .28em; }
.auth-visual__brand::before { content: ""; width: 13px; height: 1px; background: var(--gold); }
.auth-visual__center { position: relative; z-index: 1; margin: auto 0; padding: 38px 0; }
.auth-visual__sigil {
  position: absolute;
  right: -50px; top: 50%;
  width: 260px; height: 260px;
  transform: translateY(-50%);
  border: 1px solid rgba(228,198,140,.16);
  border-radius: 50%;
  opacity: .7;
}
.auth-visual__sigil::before, .auth-visual__sigil::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(228,198,140,.1); }
.auth-visual__sigil::before { inset: 28px; }
.auth-visual__sigil::after { inset: 70px; border-color: rgba(228,198,140,.2); background: radial-gradient(circle, rgba(228,198,140,.08), transparent 70%); }
.auth-visual h3 { position: relative; margin: 0; color: #f6f0e3; font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; }
.auth-visual h3 em { color: var(--gold); font-style: normal; }
.auth-visual p { position: relative; max-width: 230px; margin: 14px 0 0; color: #8d877a; font-size: 10.5px; line-height: 1.9; }
.auth-visual__stats { position: relative; z-index: 1; display: flex; gap: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.auth-visual__stats div { display: flex; flex-direction: column; gap: 1px; }
.auth-visual__stats b { color: var(--gold-bright); font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.auth-visual__stats span { color: var(--faint); font-size: 7.5px; }
.auth-main { padding: 34px 36px 28px; align-self: center; }
.auth-main__head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: .05em; color: #f3eee4; }
.auth-main__head p { margin: 6px 0 0; color: var(--faint); font-size: 10px; }
.auth-forgot { margin: -2px 0 12px; text-align: right; }
.auth-forgot button { background: none; border: 0; color: var(--gold-deep); font-size: 10px; cursor: pointer; }
.auth-forgot button:hover { color: var(--gold); }
.auth-tabs { display: flex; gap: 4px; margin: 23px 0 20px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.018); }
.auth-tabs button { flex: 1; height: 31px; border-radius: 6px; color: var(--faint); font-size: 11px; transition: .25s; }
.auth-tabs button.is-active { color: var(--gold-bright); background: rgba(228,198,140,.09); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset; }
.auth-method-tabs {
  display: flex; align-items: center; gap: 3px;
  margin: -8px 0 16px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.012);
}
.auth-method-tabs button {
  flex: 1;
  padding: 7px 9px;
  border-radius: 5px;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 600;
}
.auth-method-tabs button.is-active { color: var(--gold-bright); background: rgba(228,198,140,.08); }
.auth-method-tabs button:hover { color: var(--text-soft); }
.auth-role-note {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px;
  border: 1px solid rgba(228,198,140,.14);
  border-radius: 9px;
  background: rgba(228,198,140,.035);
}
.auth-role-note > span { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid rgba(228,198,140,.2); border-radius: 50%; color: var(--gold); }
.auth-role-note > span svg { width: 13px; height: 13px; }
.auth-role-note strong { display: block; color: var(--text-soft); font-size: 11.5px; font-weight: 700; }
.auth-role-note p { margin: 2px 0 0; color: var(--faint); font-size: 10.5px; font-weight: 500; line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 13px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field > label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.form-field > label em { color: var(--faint); font-style: normal; font-size: 8.5px; }
.form-field > label button { color: var(--gold-deep); font-size: 8.5px; }
.form-field > label button:hover { color: var(--gold); }
.input-wrap {
  display: flex; align-items: center;
  height: 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  background: rgba(255,255,255,.022);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.input-wrap:focus-within { border-color: rgba(228,198,140,.42); background: rgba(228,198,140,.025); box-shadow: 0 0 0 3px rgba(228,198,140,.045); }
.input-wrap__prefix { display: flex; align-items: center; gap: 4px; padding: 0 10px; border-right: 1px solid var(--line); color: var(--faint); font-family: var(--font-display); font-size: 10px; white-space: nowrap; }
.input-wrap__prefix svg { width: 11px; height: 11px; }
.input-wrap input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; letter-spacing: .03em; }
.input-wrap input::placeholder { color: var(--faint); font-size: 10.5px; letter-spacing: 0; }
.input-wrap__suffix { padding-right: 11px; color: var(--faint); font-size: 9px; white-space: nowrap; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row--three { grid-template-columns: repeat(3, 1fr); }
.code-send {
  height: 30px; min-width: 80px;
  margin-right: 5px; padding: 0 10px;
  border: 1px solid rgba(228,198,140,.22);
  border-radius: 6px;
  color: var(--gold);
  font-size: 9px;
  background: rgba(228,198,140,.05);
  white-space: nowrap;
  transition: .25s;
}
.code-send:hover { background: rgba(228,198,140,.11); }
.code-send[disabled] { color: var(--faint); border-color: var(--line); background: transparent; cursor: default; }
.demo-code {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  border: 1px dashed rgba(228,198,140,.28);
  border-radius: 7px;
  background: rgba(228,198,140,.04);
  color: var(--muted);
  font-size: 9px;
}
.demo-code b { color: var(--gold-bright); font-family: var(--font-display); font-size: 14px; letter-spacing: .18em; font-weight: 500; }
.demo-code span { margin-left: auto; color: var(--faint); font-size: 8px; }
.auth-submit { height: 44px; margin-top: 3px; font-size: 12px; }
.auth-terms { display: flex; align-items: flex-start; gap: 7px; color: var(--faint); font-size: 8.5px; line-height: 1.6; }
.auth-terms input { width: 12px; height: 12px; margin: 1px 0 0; accent-color: var(--gold-deep); }
.auth-terms button { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.auth-demo-hint {
  margin-top: 15px; padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.016);
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.75;
}
.auth-demo-hint b { color: var(--muted); font-weight: 500; }
.auth-demo-hint button { color: var(--gold-deep); margin-left: 4px; }
.auth-demo-hint button:hover { color: var(--gold); }
.auth-switch { margin-top: 16px; text-align: center; color: var(--faint); font-size: 9px; }
.auth-switch button { color: var(--gold); margin-left: 4px; }
.auth-switch button:hover { color: var(--gold-bright); }
.role-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.role-option {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
  transition: .25s;
}
.role-option small { color: var(--faint); font-size: 7.5px; }
.role-option:hover { border-color: var(--line-strong); }
.role-option.is-active { color: var(--gold-bright); border-color: rgba(228,198,140,.35); background: rgba(228,198,140,.07); }
.role-option.is-active small { color: var(--gold-deep); }

/* generic form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.form-field input, .form-field select, .form-field textarea, .plain-input, .plain-select {
  width: 100%; height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  outline: 0;
  background: rgba(255,255,255,.022);
  color: var(--text);
  font-size: 11.5px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-field select, .plain-select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='%23777' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  cursor: pointer;
}
.form-field textarea { height: auto; min-height: 76px; padding: 10px 11px; resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .plain-input:focus, .plain-select:focus {
  border-color: rgba(228,198,140,.42);
  background: rgba(228,198,140,.025);
  box-shadow: 0 0 0 3px rgba(228,198,140,.045);
}
.form-field input::placeholder, .form-field textarea::placeholder, .plain-input::placeholder { color: var(--faint); }
.form-hint { color: var(--faint); font-size: 8.5px; line-height: 1.55; }
.form-hint--warn { color: #dfa27e; }
.form-hint--ok { color: var(--green); }
.form-section-title { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 11px; letter-spacing: .05em; }
.form-section-title:first-child { margin-top: 0; }
.form-section-title em { color: var(--faint); font-family: var(--font-display); font-size: 7px; font-style: normal; letter-spacing: .12em; }
.amount-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amount-option {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  height: 55px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  transition: .25s var(--ease);
}
.amount-option b { color: var(--text-soft); font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.2; }
.amount-option b small { font-family: var(--font-sans); font-size: 8px; color: var(--faint); font-weight: 400; margin-left: 1px; }
.amount-option span { color: var(--faint); font-size: 7.5px; }
.amount-option:hover { border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.amount-option.is-active { border-color: rgba(228,198,140,.4); background: rgba(228,198,140,.075); }
.amount-option.is-active b { color: var(--gold-bright); }
.amount-option.is-active span { color: var(--gold-deep); }
.pay-methods { display: flex; gap: 8px; }
.pay-method {
  flex: 1;
  display: flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  transition: .25s;
}
.pay-method:hover { border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.pay-method.is-active { border-color: rgba(228,198,140,.38); background: rgba(228,198,140,.06); color: var(--text); }
.pay-method__icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; font-size: 9px; font-weight: 700; flex-shrink: 0; }
.pay-method__icon--alipay { color: #7fb9ff; background: rgba(70,140,255,.12); }
.pay-method__icon--wechat { color: #6fdb99; background: rgba(60,190,120,.12); }
.pay-method__icon--bank { color: var(--gold); background: rgba(228,198,140,.1); }
.pay-method small { display: block; color: var(--faint); font-size: 7.5px; margin-top: 1px; }
.pay-method.is-active small { color: var(--gold-deep); }
.summary-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.019);
}
.summary-box__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--faint); font-size: 9.5px; padding: 3px 0; }
.summary-box__row b { color: var(--text-soft); font-family: var(--font-display); font-weight: 400; font-size: 12px; }
.summary-box__row--total { margin-top: 7px; padding-top: 9px; border-top: 1px dashed var(--line); color: var(--text-soft); font-size: 10px; }
.summary-box__row--total b { color: var(--gold-bright); font-size: 18px; }
.summary-box__row--discount b { color: var(--green); }
.escrow-note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(228,198,140,.16);
  border-radius: 8px;
  background: rgba(228,198,140,.04);
  color: #b7a98e;
  font-size: 9px;
  line-height: 1.7;
}
.escrow-note svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; color: var(--gold-deep); }
.escrow-note b { color: var(--gold); font-weight: 500; }
.modal-alert {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 9px;
  line-height: 1.6;
}
.modal-alert--error { color: #ffb4b4; border: 1px solid rgba(244,125,125,.2); background: rgba(244,125,125,.05); }
.modal-alert--info { color: #b7a98e; border: 1px solid rgba(228,198,140,.16); background: rgba(228,198,140,.04); }
.modal-alert svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; }

/* ---------- compact publish modal ---------- */
.modal--wide { width: min(940px, 96vw); }
.post-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 25px 14px;
  border-bottom: 1px solid var(--line);
}
.post-head h2 { margin: 0; color: #f4efe5; font-size: 25px; font-weight: 700; letter-spacing: .04em; }
.post-head__note { display: block; margin-top: 4px; color: var(--faint); font-size: 11px; font-weight: 500; }
.post-head__balance { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding-right: 38px; flex-shrink: 0; }
.post-head__balance small { color: var(--faint); font-size: 10px; font-weight: 500; }
.post-head__balance b { color: var(--gold-bright); font-size: 23px; font-weight: 700; line-height: 1.15; }
.post-body {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(250px, .72fr);
  gap: 18px;
  padding: 15px 25px 13px;
}
.post-main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.post-label {
  display: flex; align-items: center; gap: 7px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}
.post-label::before { content: ""; width: 12px; height: 1px; background: var(--gold-deep); }
.game-chooser--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.game-chooser--compact .game-choice { min-height: 38px; padding: 6px 8px; gap: 7px; font-size: 11.5px; }
.game-chooser--compact .game-icon { width: 27px; height: 27px; border-radius: 6px; }
.game-chooser--compact .game-icon svg { width: 16px; height: 16px; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.choice-chip {
  display: inline-flex; align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255,255,255,.02);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  transition: .18s;
}
.choice-chip:hover { color: var(--text-soft); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.choice-chip.is-active { color: var(--gold-bright); border-color: rgba(228,198,140,.32); background: rgba(228,198,140,.09); }
.post-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.post-main .form-field { gap: 4px; }
.post-main .form-field > label { font-size: 11px; color: var(--faint); }
.post-main .form-field input { height: 38px; font-size: 12.5px; }
.post-note { margin-top: 2px; }
.post-note textarea { min-height: 55px; height: 55px; font-size: 11.5px; padding: 9px 10px; resize: none; }
.post-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post-price-card {
  padding: 14px;
  border: 1px solid rgba(228,198,140,.2);
  border-radius: 10px;
  background:
    radial-gradient(240px 130px at 100% 0%, rgba(228,198,140,.1), transparent 70%),
    rgba(255,255,255,.02);
}
.post-price-card__head { display: flex; align-items: baseline; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 600; }
.post-price-card__head em { color: var(--gold-deep); font-size: 9px; font-style: normal; font-weight: 500; }
.post-price-row { display: flex; align-items: baseline; gap: 5px; margin: 5px 0 7px; border-bottom: 1px solid rgba(255,255,255,.1); }
.post-price-row input {
  width: 100%; min-width: 0; height: 44px;
  padding: 0; border: 0; outline: 0;
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.post-price-row > span { color: var(--gold-deep); font-size: 11px; font-weight: 500; padding-bottom: 2px; }
.post-price-hint { display: flex; align-items: center; gap: 4px; color: var(--faint); font-size: 10px; }
.post-price-hint b { color: var(--text-soft); font-size: 11px; }
.post-price-hint button { margin-left: auto; color: var(--gold); font-size: 10px; font-weight: 600; }
.post-side .summary-box { margin-top: 0; padding: 12px 13px; }
.post-side .summary-box__row { padding: 3px 0; font-size: 10.5px; }
.post-side .summary-box__row b { font-size: 12px; }
.post-side .summary-box__row--total { font-size: 11px; }
.post-side .summary-box__row--total b { font-size: 18px; }
.post-side .escrow-note { margin-top: 0; font-size: 10.5px; line-height: 1.65; }
.post-side #postFundHint { margin-top: -2px; }
.post-head + form .modal-foot { padding-top: 12px; padding-bottom: 12px; }

@media (max-width: 760px) {
  .post-body { grid-template-columns: 1fr; gap: 12px; padding: 14px 19px 16px; max-height: none; }
  .post-head { padding: 16px 19px 12px; }
  .post-head h2 { font-size: 22px; }
  .post-head__note { font-size: 10px; }
  .post-head__balance b { font-size: 20px; }
  .game-chooser--compact { grid-template-columns: 1fr 1fr; }
  .post-side { order: -1; }
  .post-price-row input { font-size: 27px; height: 40px; }
  .post-two { grid-template-columns: 1fr; }
}

/* game chooser in post modal */
.game-chooser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.game-choice {
  --gc: #ff7a45;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 10px;
  text-align: left;
  transition: .25s;
}
.game-choice .game-icon { width: 29px; height: 29px; border-radius: 7px; }
.game-choice .game-icon svg { width: 17px; height: 17px; }
.game-choice .game-icon::after { display: none; }
.game-choice:hover { border-color: var(--line-strong); }
.game-choice.is-active { border-color: color-mix(in srgb, var(--gc) 34%, transparent); background: color-mix(in srgb, var(--gc) 7%, transparent); color: var(--text); }
.rank-arrow-row { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: end; gap: 7px; }
.rank-arrow-row .arrow-mid { display: grid; place-items: center; height: 40px; color: var(--faint); }
.rank-arrow-row .arrow-mid svg { width: 16px; height: 10px; }

/* deposit modal */
.deposit-hero {
  position: relative;
  padding: 24px 22px;
  border: 1px solid rgba(228,198,140,.16);
  border-radius: 13px;
  background:
    radial-gradient(300px 160px at 25% 0%, rgba(228,198,140,.13), transparent 70%),
    linear-gradient(150deg, #15130f, #0c0e12);
  overflow: hidden;
  text-align: center;
}
.deposit-hero::before {
  content: "";
  position: absolute; left: 50%; top: -60px;
  width: 190px; height: 190px;
  transform: translateX(-50%);
  border: 1px solid rgba(228,198,140,.13);
  border-radius: 50%;
}
.deposit-hero__icon {
  position: relative;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  margin: 0 auto 10px;
  border: 1px solid rgba(228,198,140,.28);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(228,198,140,.07);
  box-shadow: 0 0 30px rgba(228,198,140,.1);
}
.deposit-hero__icon svg { width: 21px; height: 21px; }
.deposit-hero small { position: relative; color: var(--gold-deep); font-family: var(--font-display); font-size: 7px; letter-spacing: .18em; }
.deposit-hero h3 { position: relative; margin: 6px 0 2px; color: var(--gold-bright); font-family: var(--font-display); font-size: 38px; font-weight: 500; line-height: 1; }
.deposit-hero h3 span { font-family: var(--font-sans); font-size: 12px; color: var(--gold-deep); margin-left: 3px; }
.deposit-hero p { position: relative; margin: 8px 0 0; color: var(--faint); font-size: 9px; }
.deposit-benefits { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.018); }

/* mandatory fair-play agreement */
.agreement-panel {
  margin-top: 16px;
  border: 1px solid rgba(228,198,140,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  overflow: hidden;
}
.agreement-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(228,198,140,.035);
}
.agreement-panel__head > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.agreement-panel__head h3 { margin: 0; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.5; }
.agreement-panel__badge {
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  padding: 3px 6px;
  border: 1px solid rgba(244,125,125,.35);
  border-radius: 4px;
  color: #ff9c9c;
  background: rgba(244,125,125,.08);
  font-size: 9.5px;
  font-weight: 700;
}
.agreement-panel__version { flex-shrink: 0; color: var(--faint); font-size: 9.5px; font-weight: 600; letter-spacing: .04em; }
.agreement-panel__intro { margin: 0; padding: 11px 16px 0; color: var(--gold); font-size: 11.5px; font-weight: 600; line-height: 1.7; }
.agreement-scroll {
  max-height: 235px;
  overflow-y: auto;
  margin: 10px 16px 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.9;
  scrollbar-width: thin;
  scrollbar-color: rgba(228,198,140,.32) transparent;
}
.agreement-scroll p { margin: 0 0 8px; }
.agreement-scroll h4 { margin: 12px 0 4px; color: var(--text-soft); font-size: 12.5px; font-weight: 700; }
.agreement-scroll__last { margin-top: 13px !important; padding-top: 10px; border-top: 1px solid var(--line); color: var(--gold); font-weight: 600; }
.agreement-consent {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
}
.agreement-consent input { width: 15px; height: 15px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--gold-deep); }
.agreement-sign-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px;
  align-items: end;
  padding: 0 16px 15px;
}
.agreement-sign-row .form-field { gap: 5px; }
.agreement-sign-row .form-field > label { font-size: 11.5px; }
.agreement-sign-row .input-wrap { height: 40px; }
.agreement-sign-row .input-wrap input { font-size: 13px; }
.agreement-role {
  display: flex; flex-direction: column; gap: 3px;
  height: 40px; justify-content: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
}
.agreement-role small { color: var(--faint); font-size: 9.5px; font-weight: 500; }
.agreement-role b { color: var(--gold); font-size: 12px; font-weight: 700; }
.agreement-signed {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 15px; padding: 14px;
  border: 1px solid rgba(99,213,160,.18);
  border-radius: 10px;
  background: rgba(99,213,160,.045);
}
.agreement-signed__icon {
  display: grid; place-items: center;
  width: 25px; height: 25px; flex-shrink: 0;
  border: 1px solid rgba(99,213,160,.3);
  border-radius: 50%;
  color: var(--green);
  background: rgba(99,213,160,.06);
}
.agreement-signed__icon svg { width: 13px; height: 13px; }
.agreement-signed strong { display: block; color: var(--text-soft); font-size: 12px; font-weight: 700; }
.agreement-signed p { margin: 4px 0 0; color: var(--muted); font-size: 10.5px; font-weight: 500; line-height: 1.7; }
.deposit-benefits div { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9.5px; }
.deposit-benefits div svg { width: 12px; height: 12px; color: var(--green); flex-shrink: 0; }
.deposit-installment { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--faint); font-size: 9px; }
.deposit-installment b { color: var(--text-soft); font-family: var(--font-display); font-size: 12px; font-weight: 400; }

/* detail modal */
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 26px 30px 18px; border-bottom: 1px solid var(--line); }
.detail-head__game { display: flex; align-items: center; gap: 11px; }
.detail-head__game .game-icon { width: 42px; height: 42px; }
.detail-head__copy { display: flex; flex-direction: column; gap: 3px; }
.detail-head__copy small { color: var(--faint); font-family: var(--font-display); font-size: 7.5px; letter-spacing: .1em; }
.detail-head__copy h2 { margin: 0; color: #f2eee5; font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.detail-body { padding: 20px 30px 24px; }
.detail-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(228,198,140,.09), transparent 70%),
    rgba(255,255,255,.018);
}
.detail-banner__label { display: block; color: var(--faint); font-size: 8.5px; letter-spacing: .04em; }
.detail-banner__price { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; color: var(--gold-bright); font-family: var(--font-display); font-size: 32px; font-weight: 500; line-height: 1.1; }
.detail-banner__price span { color: var(--gold-deep); font-family: var(--font-sans); font-size: 9px; }
.detail-banner__route { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 11px; margin-top: 5px; }
.detail-banner__route svg { width: 20px; height: 10px; color: var(--faint); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.detail-tags span { padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--faint); font-size: 8px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 17px; }
.detail-block { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.014); }
.detail-block__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: var(--faint); font-size: 8px; letter-spacing: .08em; }
.detail-block__label em { font-family: var(--font-display); font-size: 6.5px; font-style: normal; color: rgba(255,255,255,.16); letter-spacing: .1em; }
.detail-info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--faint); font-size: 9.5px; }
.detail-info-row b { color: var(--text-soft); font-weight: 500; text-align: right; }
.detail-note { color: var(--muted); font-size: 9.5px; line-height: 1.8; }
.detail-party { display: flex; align-items: center; gap: 9px; padding: 5px 0; }
.detail-party__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text-soft); font-size: 10px; }
.detail-party__copy { display: flex; flex-direction: column; line-height: 1.4; }
.detail-party__copy b { color: var(--text-soft); font-size: 10px; font-weight: 500; }
.detail-party__copy small { color: var(--faint); font-family: var(--font-display); font-size: 7.5px; letter-spacing: .05em; }
.detail-party__role { margin-left: auto; color: var(--faint); font-size: 7.5px; border: 1px solid var(--line); padding: 2px 5px; border-radius: 4px; }
.detail-timeline { display: flex; flex-direction: column; margin-top: 17px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.012); }
.detail-timeline__item { position: relative; display: flex; gap: 11px; padding-bottom: 14px; }
.detail-timeline__item:last-child { padding-bottom: 0; }
.detail-timeline__item::before { content: ""; position: absolute; left: 3px; top: 11px; bottom: 0; width: 1px; background: rgba(255,255,255,.07); }
.detail-timeline__item:last-child::before { display: none; }
.detail-timeline__dot { position: relative; z-index: 1; width: 7px; height: 7px; margin-top: 3px; border: 1px solid var(--gold-deep); border-radius: 50%; background: #0b0d11; flex-shrink: 0; }
.detail-timeline__item:first-child .detail-timeline__dot { background: var(--gold); box-shadow: 0 0 8px rgba(228,198,140,.4); }
.detail-timeline__copy { display: flex; flex-direction: column; gap: 1px; }
.detail-timeline__copy p { margin: 0; color: var(--text-soft); font-size: 9.5px; }
.detail-timeline__copy time { color: var(--faint); font-family: var(--font-display); font-size: 7px; }
.detail-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-actions .btn { height: 38px; font-size: 11px; }
.detail-id { font-family: var(--font-display); font-size: 8px; color: var(--faint); letter-spacing: .08em; }

/* rules */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.rule-card { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.016); }
.rule-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.rule-card__num { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid rgba(228,198,140,.2); border-radius: 50%; color: var(--gold-deep); font-family: var(--font-display); font-size: 8px; flex-shrink: 0; }
.rule-card h4 { margin: 0; color: var(--text-soft); font-size: 11px; font-weight: 500; }
.rule-card p { margin: 0; color: var(--faint); font-size: 9px; line-height: 1.8; }
.rule-card p b { color: var(--gold); font-weight: 500; }

/* toast */
.toast-stack { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 40px)); }
.toast {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(20,23,29,.96), rgba(10,12,16,.96));
  box-shadow: 0 18px 50px rgba(0,0,0,.44);
  color: var(--text-soft);
  font-size: 10.5px;
  line-height: 1.65;
  backdrop-filter: blur(16px);
  animation: toast-in .4s var(--ease) both;
}
.toast.is-leaving { animation: toast-out .3s ease both; }
.toast__icon { display: grid; place-items: center; width: 17px; height: 17px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; margin-top: 1px; }
.toast__icon svg { width: 9px; height: 9px; }
.toast--success { border-color: rgba(99,213,160,.22); }
.toast--success .toast__icon { color: var(--green); }
.toast--error { border-color: rgba(244,125,125,.24); }
.toast--error .toast__icon { color: var(--red); }
.toast--info .toast__icon { color: var(--gold); }
.toast--gold { border-color: rgba(228,198,140,.25); }
.toast--gold .toast__icon { color: var(--gold); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { from { opacity: 1; } to { opacity: 0; transform: translateY(6px); } }

/* =========================================================
   Account drawer
   ========================================================= */
.drawer-layer { position: fixed; inset: 0; z-index: 90; }
.drawer-layer[aria-hidden="true"] { pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(3,4,6,.64); backdrop-filter: blur(7px); opacity: 0; transition: opacity .35s; }
.drawer-layer[aria-hidden="false"] .drawer-backdrop { opacity: 1; }
.account-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(544px, 96vw);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(460px 300px at 100% 0%, rgba(228,198,140,.07), transparent 65%),
    linear-gradient(160deg, #101319, #090b0f 60%);
  box-shadow: -28px 0 80px rgba(0,0,0,.38);
  transform: translateX(100%);
  transition: transform .46s var(--ease);
}
.drawer-layer[aria-hidden="false"] .account-drawer { transform: none; }
.account-drawer__top { display: flex; align-items: flex-start; justify-content: space-between; padding: 26px 28px 18px; border-bottom: 1px solid var(--line); }
.account-drawer__top h2 { margin: 5px 0 0; color: #f3eee5; font-size: 23px; font-weight: 600; letter-spacing: .05em; }
.close-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--faint); transition: .25s; }
.close-btn:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.close-btn svg { width: 15px; height: 15px; }
.drawer-tabs { display: flex; gap: 2px; padding: 0 28px; border-bottom: 1px solid var(--line); }
.drawer-tabs button { position: relative; padding: 12px 11px; color: var(--faint); font-size: 10.5px; transition: color .2s; }
.drawer-tabs button:hover { color: var(--text-soft); }
.drawer-tabs button.is-active { color: var(--gold-bright); }
.drawer-tabs button.is-active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 1px; background: var(--gold); box-shadow: 0 0 8px rgba(228,198,140,.5); }
.drawer-tabs button span { display: inline-grid; place-items: center; min-width: 14px; height: 14px; margin-left: 3px; padding: 0 3px; border-radius: 4px; background: rgba(228,198,140,.15); color: var(--gold); font-family: var(--font-display); font-size: 7px; }
.account-drawer__body { flex: 1; overflow-y: auto; padding: 20px 28px 30px; }
.drawer-user-card { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); }
.drawer-user-card__avatar { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: linear-gradient(145deg, var(--gold-bright), #b58a4e); color: #1a140a; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.drawer-user-card__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drawer-user-card__copy strong { color: var(--text); font-size: 13px; font-weight: 600; }
.drawer-user-card__copy small { color: var(--faint); font-family: var(--font-display); font-size: 8px; letter-spacing: .06em; }
.drawer-user-card__badge { margin-left: auto; padding: 4px 7px; border: 1px solid rgba(228,198,140,.2); border-radius: 4px; color: var(--gold); font-size: 7.5px; white-space: nowrap; }
.drawer-balance-card { position: relative; padding: 17px; border: 1px solid rgba(228,198,140,.15); border-radius: 12px; background: radial-gradient(280px 150px at 100% 0%, rgba(228,198,140,.11), transparent 70%), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); overflow: hidden; }
.drawer-balance-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.drawer-balance-card__top small { color: var(--faint); font-size: 9px; }
.drawer-balance-card__top span { color: var(--gold-deep); font-family: var(--font-display); font-size: 7px; letter-spacing: .12em; }
.drawer-balance-card__value { display: flex; align-items: baseline; gap: 5px; margin: 6px 0 2px; color: var(--gold-bright); font-family: var(--font-display); font-size: 40px; font-weight: 500; line-height: 1; }
.drawer-balance-card__value span { color: var(--gold-deep); font-family: var(--font-sans); font-size: 10px; font-weight: 400; }
.drawer-balance-card__sub { display: flex; gap: 16px; color: var(--faint); font-size: 8.5px; }
.drawer-balance-card__sub b { color: var(--text-soft); font-weight: 500; }
.drawer-balance-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.drawer-balance-card__actions .btn { height: 34px; font-size: 10px; }
.drawer-section-title { display: flex; align-items: center; justify-content: space-between; margin: 21px 0 10px; color: var(--text-soft); font-size: 11px; }
.drawer-section-title em { color: var(--faint); font-family: var(--font-display); font-size: 7px; font-style: normal; letter-spacing: .12em; }
.drawer-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-quick {
  display: flex; align-items: center; gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.016);
  text-align: left;
  color: inherit;
  transition: .25s;
}
.drawer-quick:hover { border-color: var(--line-strong); background: rgba(255,255,255,.032); }
.drawer-quick__icon { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 7px; color: var(--gold); flex-shrink: 0; }
.drawer-quick__icon svg { width: 14px; height: 14px; }
.drawer-quick__copy { display: flex; flex-direction: column; line-height: 1.35; }
.drawer-quick__copy strong { color: var(--text-soft); font-size: 10px; font-weight: 500; }
.drawer-quick__copy small { color: var(--faint); font-size: 7.5px; }
.drawer-deposit-card { margin-top: 17px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.014); }
.drawer-deposit-card__top { display: flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 10px; }
.drawer-deposit-card__top svg { width: 14px; height: 14px; color: var(--gold); }
.drawer-deposit-card__top .badge { margin-left: auto; padding: 2px 6px; border-radius: 4px; font-size: 7.5px; }
.drawer-deposit-card p { margin: 7px 0 10px; color: var(--faint); font-size: 8.5px; line-height: 1.65; }
.drawer-deposit-card .btn { height: 31px; font-size: 9.5px; }
.my-order-list { display: flex; flex-direction: column; gap: 8px; }
.my-order-card { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.016); }
.my-order-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.my-order-card__head strong { color: var(--text-soft); font-size: 11px; font-weight: 500; }
.my-order-card__main { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; }
.my-order-card__main small { color: var(--faint); font-size: 8.5px; line-height: 1.6; }
.my-order-card__price { color: var(--gold); font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.my-order-card__actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); }
.my-order-card__actions .btn { height: 27px; padding: 0 9px; font-size: 8.5px; border-radius: 5px; }
.record-list { display: flex; flex-direction: column; }
.record-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.record-item:last-child { border-bottom: 0; }
.record-item__icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 7px; color: var(--gold-deep); flex-shrink: 0; }
.record-item__icon svg { width: 13px; height: 13px; }
.record-item__copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.record-item__copy strong { color: var(--text-soft); font-size: 9.5px; font-weight: 500; line-height: 1.4; }
.record-item__copy small { color: var(--faint); font-family: var(--font-display); font-size: 7px; letter-spacing: .03em; }
.record-item__amount { margin-left: auto; color: var(--text-soft); font-family: var(--font-display); font-size: 13px; text-align: right; white-space: nowrap; }
.record-item__amount.is-plus { color: var(--green); }
.record-item__amount small { display: block; color: var(--faint); font-family: var(--font-sans); font-size: 7.5px; font-weight: 400; }
.notification-list { display: flex; flex-direction: column; gap: 7px; }
.notification-item { display: flex; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.014); }
.notification-item__dot { width: 5px; height: 5px; margin-top: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.notification-item.is-read { opacity: .6; }
.notification-item p { margin: 0; color: var(--text-soft); font-size: 9.5px; line-height: 1.6; }
.notification-item time { color: var(--faint); font-family: var(--font-display); font-size: 7px; }
.drawer-empty { padding: 36px 16px; border: 1px dashed var(--line); border-radius: 10px; text-align: center; color: var(--faint); font-size: 10px; }
.drawer-empty strong { display: block; margin-bottom: 4px; color: var(--text-soft); font-weight: 500; }
.drawer-guest { padding: 37px 16px; text-align: center; }
.drawer-guest__mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border: 1px solid rgba(228,198,140,.2); border-radius: 50%; color: var(--gold); font-family: var(--font-serif); font-size: 21px; }
.drawer-guest h3 { margin: 0 0 6px; color: var(--text-soft); font-size: 15px; font-weight: 500; }
.drawer-guest p { margin: 0 0 17px; color: var(--faint); font-size: 10px; line-height: 1.8; }
.withdraw-record-status { display: inline-flex; padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--faint); font-size: 7px; }

/* ---------- responsive ---------- */
@media (max-width: 1440px) {
  .app-shell { padding: 0 22px; }
  .layout { grid-template-columns: 210px minmax(0, 1fr) 270px; gap: 18px; }
  .hero__body { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; }
  .hero__inner { padding-left: 26px; padding-right: 24px; }
  .hero__sigil { right: 45px; width: 285px; height: 285px; }
  .main-nav { margin-left: 8px; }
  .main-nav__item { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 1280px) {
  .layout { grid-template-columns: 196px minmax(0, 1fr) 252px; gap: 15px; }
  .main-nav__item--admin { display: none; }
  .security-pill { display: none; }
  .hero__body { grid-template-columns: minmax(0, 1fr) 210px; gap: 16px; }
  .hero__title > span { font-size: 40px; }
  .hero__metrics > div { padding-right: 14px; margin-right: 14px; }
  .feature-card { padding: 13px; }
  .feature-card__body strong { font-size: 13px; }
  .feature-card__price b { font-size: 23px; }
  .hero__wordmark { font-size: 86px; }
  .hero__sigil { width: 250px; height: 250px; right: 20px; opacity: .1; }
  .rail-card { padding: 14px; }
  .orders-grid { gap: 10px; }
  .order-card { padding: 14px 14px 0; }
}
@media (max-width: 1120px) {
  .rail { display: none; }
  .layout { grid-template-columns: 196px minmax(0, 1fr); }
  .hero__body { grid-template-columns: minmax(0, 1fr) 248px; }
  .orders-grid { gap: 13px; }
}
@media (max-width: 960px) {
  .app-shell { padding: 0 16px; overflow: hidden; }
  .topbar { height: 70px; gap: 12px; }
  .main-nav { display: none; }
  .mobile-tabs {
    display: flex; align-items: center; gap: 4px;
    padding: 10px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mobile-tabs::-webkit-scrollbar { display: none; }
  .mobile-tabs button {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255,255,255,.018);
  }
  .mobile-tabs button.is-active {
    color: var(--gold-bright);
    border-color: rgba(228,198,140,.22);
    background: rgba(228,198,140,.07);
  }
  .top-post { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .sidebar { position: static; width: 100%; padding-top: 0; }
  .stage { width: 100%; }
  .section-label { padding-bottom: 9px; }
  .game-list { width: 100%; flex-direction: row; overflow-x: auto; gap: 7px; padding-bottom: 3px; scrollbar-width: none; }
  .game-list::-webkit-scrollbar { display: none; }
  .game-item { flex: 0 0 182px; }
  .side-rule, .side-panel, .side-steps, .side-support { display: none; }
  .hero { min-height: auto; }
  .hero__inner { min-height: 390px; padding: 20px 22px 16px; }
  .hero__body { grid-template-columns: minmax(0, 1fr) 210px; }
  .hero__sigil { right: 10px; width: 230px; height: 230px; opacity: .1; }
  .hero__wordmark { font-size: 82px; bottom: 30px; }
  .orders-grid { gap: 12px; }
}
@media (max-width: 760px) {
  .brand-type__en { display: none; }
  .hero__inner { overflow: hidden; }
  .hero__desc { max-width: 100%; word-break: break-all; }
  .hero__metrics { overflow: hidden; }
  .filter-tabs { width: 100%; }
  .auth-trigger__text { display: none; }
  .auth-trigger { padding: 7px; }
  .auth-trigger__avatar { width: 28px; height: 28px; }
  .hero__body { grid-template-columns: 1fr; }
  .hero__feature { display: none; }
  .hero__title > span { font-size: 36px; }
  .hero__title > em { font-size: 11px; letter-spacing: .3em; }
  .hero__desc { font-size: 11px; max-width: 100%; }
  .hero__inner { min-height: 360px; }
  .hero__metrics { max-width: 100%; }
  .hero__metrics b { font-size: 16px; }
  .hero__sigil { right: -48px; width: 230px; height: 230px; opacity: .09; }
  .hero__wordmark { font-size: 64px; right: 4px; }
  .hero__scroll-hint { display: none; }
  .hero__marquee { max-width: 100%; }
  .hall__head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hall__head-actions { width: 100%; }
  .search-box { flex: 1; width: auto; }
  .hall__toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .orders-grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; gap: 14px; }
  .footer__links { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 14px; }
  .footer__meta { margin-left: auto; }
  .modal-layer { padding: 12px; }
  .modal-frame { width: 100%; max-height: calc(100vh - 24px); border-radius: 16px; }
  .auth-modal { grid-template-columns: 1fr; min-height: 0; }
  .auth-visual { display: none; }
  .auth-main { padding: 28px 22px 24px; }
  .modal-header { padding: 23px 22px 0; }
  .modal-body { padding: 18px 22px 22px; }
  .modal-foot { padding: 14px 22px; flex-wrap: wrap; }
  .detail-head { padding: 22px 22px 16px; }
  .detail-body { padding: 17px 22px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-grid .span-2 { grid-column: span 1; }
  .game-chooser { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-actions { flex-wrap: wrap; }
  .amount-options { grid-template-columns: repeat(3, 1fr); }
  .toast-stack { right: 12px; bottom: 12px; }
  .account-drawer__top { padding: 22px 20px 15px; }
  .drawer-tabs { padding: 0 20px; overflow-x: auto; }
  .account-drawer__body { padding: 17px 20px 24px; }
}
@media (max-width: 440px) {
  .topbar { height: 62px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand-type__cn { font-size: 18px; }
  .user-chip { min-width: 0; padding: 5px; }
  .user-chip__copy, .user-chip__chevron { display: none; }
  .hero__title > span { font-size: 30px; }
  .hero__actions .btn { font-size: 11px; padding: 0 13px; }
  .hero__metrics > div { padding-right: 10px; margin-right: 10px; }
  .hero__metrics > div > span { font-size: 7.5px; }
  .hall__head h2 { font-size: 21px; }
  .sort-wrap span { display: none; }
  .hall__footer { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer__meta { display: none; }
  .amount-option { height: 50px; }
  .pay-methods { flex-direction: column; }
  .role-options { grid-template-columns: 1fr; }
  .amount-options { gap: 6px; }
  .drawer-tabs button { padding: 11px 8px; }
}

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

/* =========================================================
   READABILITY PASS
   Clean sans-serif, larger minimum text, less decorative noise
   ========================================================= */
:root {
  --font-sans: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Segoe UI Semibold", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-serif: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
body { font-size: 15px; line-height: 1.65; letter-spacing: 0; }
button, input, select, textarea { letter-spacing: 0; }

/* ---- navigation & brand ---- */
.brand-type__cn { font-family: var(--font-sans); font-size: 23px; font-weight: 700; letter-spacing: .1em; }
.brand-type__en { font-family: var(--font-sans); font-size: 9px; letter-spacing: .1em; color: #777b83; }
.main-nav__item { padding: 10px 15px; font-size: 14px; }
.main-nav__item--admin { font-size: 13px; }
.main-nav__item--demo {
  margin-left: 4px;
  color: var(--gold-bright);
  border: 1px solid rgba(228,198,140,.18);
  background: rgba(228,198,140,.055);
  font-weight: 700;
}
.main-nav__item--demo:hover { color: var(--gold-bright); background: rgba(228,198,140,.1); border-color: rgba(228,198,140,.32); }
.security-pill { font-size: 12px; letter-spacing: 0; }
.auth-trigger { font-size: 13px; }
.user-chip__copy strong { font-size: 13px; }
.user-chip__copy small { font-family: var(--font-sans); font-size: 10.5px; }
.btn { font-size: 14px; }
.btn--sm { height: 38px; padding: 0 15px; font-size: 12.5px; }

/* ---- sidebar ---- */
.section-label span { font-size: 13px; letter-spacing: .08em; }
.section-label em { font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .08em; }
.game-item { padding: 11px 12px; }
.game-text strong { font-size: 14px; }
.game-text small { font-family: var(--font-sans); font-size: 9px; letter-spacing: .06em; }
.game-meta b { font-family: var(--font-sans); font-size: 14px; }
.game-meta small { font-size: 9.5px; }
.side-panel__head strong { font-size: 13px; }
.side-panel__head small { font-family: var(--font-sans); font-size: 8.5px; letter-spacing: .06em; }
.side-panel > p { font-size: 12px; line-height: 1.85; }
.side-panel__stats b { font-family: var(--font-sans); font-size: 17px; }
.side-panel__stats span { font-size: 10px; }
.side-steps li i { font-family: var(--font-sans); font-size: 9px; }
.side-steps li span { font-size: 12.5px; }
.side-steps li small { font-size: 10.5px; }
.side-support strong { font-size: 12px; }
.side-support small { font-size: 10px; }

/* ---- hero ---- */
.hero__season { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .1em; }
.hero__arena-index { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .08em; }
.hero__eyebrow b { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .12em; }
.hero__title > em { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .24em; margin-top: 9px; }
.hero__desc { max-width: 460px; margin: 15px 0 20px; color: #b5b6bb; font-size: 13.5px; line-height: 1.9; }
.hero__actions .btn { height: 44px; font-size: 13px; }
.hero__metrics b { font-family: var(--font-sans); font-size: 21px; font-weight: 600; }
.hero__metrics b span { font-size: 13px; }
.hero__metrics > div > span { font-size: 10.5px; }
.feature-card__head { font-size: 11px; }
.feature-card__badge { font-family: var(--font-sans); font-size: 9px; }
.feature-card__body small { font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .1em; }
.feature-card__body strong { font-size: 16px; }
.feature-card__body p { font-size: 11.5px; }
.feature-card__price > span { font-size: 11px; }
.feature-card__price b { font-family: var(--font-sans); font-size: 29px; font-weight: 600; }
.feature-card__price b small { font-size: 11px; }
.feature-card__link { font-size: 11.5px; }
.hero__trust-row { font-size: 10px; }
.hero__scroll-hint { font-family: var(--font-sans); font-size: 8.5px; letter-spacing: .1em; }
#heroTicker { font-family: var(--font-sans); font-size: 9px; letter-spacing: .1em; }

/* ---- hall & orders ---- */
.section-kicker { font-family: var(--font-sans); font-size: 10px; letter-spacing: .12em; }
.hall__head h2 { font-size: 27px; }
.hall__head h2 em { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0; }
.search-box { height: 38px; width: 220px; }
.search-box input { font-size: 12.5px; }
.filter-tab { padding: 8px 12px; font-size: 12.5px; }
.filter-tab span { font-family: var(--font-sans); font-size: 10px; }
.sort-wrap { font-size: 11px; }
.sort-wrap select { height: 33px; font-size: 12px; }
.order-card { padding: 17px 17px 0; }
.order-game__name { font-size: 12px; }
.order-game__tag { font-family: var(--font-sans); font-size: 9px; letter-spacing: .04em; }
.status { height: 24px; padding: 0 8px; font-size: 10.5px; }
.order-card__title { font-size: 16px; }
.order-card__price b { font-family: var(--font-sans); font-size: 27px; font-weight: 600; }
.order-card__price span { font-size: 10px; }
.rank-route { font-size: 11.5px; margin-top: 10px; }
.order-meta { gap: 7px; margin-top: 11px; }
.order-meta span { padding: 4px 7px; font-size: 10px; }
.order-note { margin-top: 10px; font-size: 11.5px; line-height: 1.7; }
.order-party { padding: 8px 10px; font-size: 10.5px; }
.order-party__avatar { width: 20px; height: 20px; font-size: 8.5px; }
.order-party__hint { font-family: var(--font-sans); font-size: 9px; letter-spacing: .04em; }
.order-boss__avatar { width: 27px; height: 27px; font-size: 10px; }
.order-boss__copy b { font-size: 11px; max-width: 110px; }
.order-boss__copy small { font-family: var(--font-sans); font-size: 10px; letter-spacing: .02em; }
.order-card__cta { height: 32px; padding: 0 13px; font-size: 11.5px; }
.hall__footer { font-size: 10px; }
.orders-empty h3 { font-size: 16px; }
.orders-empty p { font-size: 12px; }

/* ---- right rail ---- */
.rail-card__head > span { font-size: 13px; }
.rail-card__head > em { font-family: var(--font-sans); font-size: 9px; letter-spacing: .06em; }
.snapshot-guest__title { font-size: 22px; }
.snapshot-guest__desc { font-size: 12px; line-height: 1.8; }
.snapshot-benefits span { font-size: 11.5px; }
.snapshot-user__copy strong { font-size: 14px; }
.snapshot-user__copy small { font-family: var(--font-sans); font-size: 10px; letter-spacing: .02em; }
.snapshot-user__deposit { font-size: 9.5px; }
.snapshot-balance__main small { font-size: 10.5px; }
.snapshot-balance__main b { font-family: var(--font-sans); font-size: 31px; font-weight: 600; }
.snapshot-balance__main b span { font-size: 11px; }
.snapshot-balance__sub { font-size: 10px; }
.snapshot-balance__sub b { font-family: var(--font-sans); font-size: 12px; }
.snapshot-actions .btn { height: 36px; font-size: 11.5px; }
.snapshot-quick span { font-size: 10px; }
.snapshot-quick button { font-size: 10px; }
.live-feed-card__live { font-family: var(--font-sans); font-size: 8.5px !important; }
.feed-item__body p { font-size: 11px; line-height: 1.7; }
.feed-item__body time { font-family: var(--font-sans); font-size: 9px; }
.guarantee-card__head strong { font-size: 12.5px; }
.guarantee-card__head small { font-family: var(--font-sans); font-size: 8px; }
.guarantee-list > div > b { font-family: var(--font-sans); font-size: 15px; }
.guarantee-list > div > span { font-size: 11px; }
.guarantee-list > div > span small { font-size: 10px; }
.guarantee-card .text-link { font-size: 10.5px; }
.rail-quote p { font-family: var(--font-sans); font-size: 13px; letter-spacing: .01em; }
.rail-quote small { font-family: var(--font-sans); font-size: 8.5px; letter-spacing: .06em; }
.footer__brand strong { font-size: 12px; }
.footer__brand small { font-size: 10px; }
.footer__links button, .footer__links a { font-size: 11px; }
.footer__meta { font-family: var(--font-sans); font-size: 8.5px; letter-spacing: .04em; }

/* ---- modals & forms ---- */
.modal-frame { width: min(900px, 95vw); }
.modal--md { width: min(700px, 95vw); }
.modal--sm { width: min(540px, 95vw); }
.modal-header h2 { font-size: 24px; }
.modal-header p { font-size: 12px; line-height: 1.75; }
.modal-foot__hint { font-size: 10.5px; }
.text-link { font-size: 12px; }
.auth-tabs { margin: 24px 0 21px; }
.auth-tabs button { height: 36px; font-size: 13px; }
.form-field > label { font-size: 12px; }
.form-field > label em { font-size: 10px; }
.input-wrap { height: 45px; }
.input-wrap__prefix { font-size: 11.5px; }
.input-wrap input { font-size: 13.5px; }
.input-wrap input::placeholder { font-size: 12.5px; }
.code-send { height: 32px; min-width: 90px; font-size: 10.5px; }
.demo-code { font-size: 10.5px; }
.demo-code b { font-family: var(--font-sans); font-size: 16px; }
.demo-code span { font-size: 9.5px; }
.auth-terms { font-size: 10.5px; line-height: 1.7; }
.auth-main__head p { font-size: 11.5px; }
.auth-switch { font-size: 10.5px; }
.auth-visual p { font-size: 12px; }
.auth-visual__stats span { font-size: 9.5px; }
.auth-visual__stats b { font-family: var(--font-sans); font-size: 18px; }
.auth-demo-hint { font-size: 10.5px; }
.role-option { font-size: 12px; }
.role-option small { font-size: 9.5px; }
.form-hint { font-size: 10.5px; }
.form-field input, .form-field select, .form-field textarea, .plain-input, .plain-select { height: 43px; font-size: 13px; }
.form-field textarea { line-height: 1.75; }
.form-section-title { font-size: 12.5px; }
.form-section-title em { font-family: var(--font-sans); font-size: 8.5px; }
.game-choice { font-size: 12px; padding: 8px 10px; }
.amount-option b { font-family: var(--font-sans); font-size: 19px; font-weight: 600; }
.amount-option span { font-size: 9.5px; }
.pay-method { font-size: 12px; }
.pay-method small { font-size: 9px; }
.summary-box__row { font-size: 11px; }
.summary-box__row b { font-family: var(--font-sans); font-size: 13px; }
.summary-box__row--total { font-size: 11.5px; }
.summary-box__row--total b { font-size: 19px; }
.escrow-note { font-size: 11px; }
.modal-alert { font-size: 11px; }
.detail-head__copy small { font-family: var(--font-sans); font-size: 9.5px; }
.detail-head__copy h2 { font-size: 21px; }
.detail-banner__price { font-family: var(--font-sans); font-size: 34px; font-weight: 600; }
.detail-banner__label { font-size: 10.5px; }
.detail-banner__route { font-size: 12.5px; }
.detail-tags span { font-size: 9.5px; }
.detail-block__label { font-size: 10px; }
.detail-block__label em { font-family: var(--font-sans); font-size: 8px; }
.detail-info-row { font-size: 11px; }
.detail-note { font-size: 11.5px; line-height: 1.8; }
.detail-party__copy b { font-size: 11.5px; }
.detail-party__copy small { font-family: var(--font-sans); font-size: 9.5px; }
.detail-timeline__copy p { font-size: 11px; }
.detail-timeline__copy time { font-family: var(--font-sans); font-size: 9px; }
.detail-actions .btn { height: 42px; font-size: 12.5px; }
.rules-grid .rule-card h4 { font-size: 13px; }
.rule-card p { font-size: 11px; }
.deposit-hero p { font-size: 10.5px; }
.deposit-benefits div { font-size: 11px; }
.deposit-installment { font-size: 10.5px; }

/* ---- drawer ---- */
.drawer-tabs button { font-size: 12.5px; padding: 13px 11px; }
.drawer-user-card__copy strong { font-size: 14px; }
.drawer-user-card__copy small { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0; }
.drawer-user-card__badge { font-size: 9.5px; }
.drawer-balance-card__top small { font-size: 10.5px; }
.drawer-balance-card__top span { font-family: var(--font-sans); font-size: 9px; letter-spacing: .04em; }
.drawer-balance-card__value { font-family: var(--font-sans); font-size: 42px; font-weight: 600; }
.drawer-balance-card__sub { font-size: 10px; }
.drawer-balance-card__actions .btn { height: 38px; font-size: 11.5px; }
.drawer-section-title { font-size: 12.5px; }
.drawer-section-title em { font-family: var(--font-sans); font-size: 8.5px; }
.drawer-quick__copy strong { font-size: 11.5px; }
.drawer-quick__copy small { font-size: 9.5px; }
.drawer-deposit-card__top { font-size: 11.5px; }
.drawer-deposit-card p { font-size: 10px; }
.drawer-deposit-card .btn { height: 36px; font-size: 11px; }
.my-order-card__head strong { font-size: 12.5px; }
.my-order-card__main small { font-size: 10px; }
.my-order-card__price { font-family: var(--font-sans); font-size: 19px; font-weight: 600; }
.my-order-card__actions .btn { height: 31px; padding: 0 10px; font-size: 10.5px; }
.record-item__copy strong { font-size: 11px; }
.record-item__copy small { font-family: var(--font-sans); font-size: 9px; }
.record-item__amount { font-family: var(--font-sans); font-size: 15px; }
.record-item__amount small { font-size: 9px; }
.notification-item p { font-size: 11px; }
.notification-item time { font-family: var(--font-sans); font-size: 9px; }
.drawer-empty { font-size: 11.5px; }
.drawer-guest p { font-size: 11.5px; }
.drawer-logout { font-size: 11px !important; }
.withdraw-record-status { font-size: 8.5px; }

/* keep dense data readable on narrow screens */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .hero__desc { font-size: 14px; }
  .hall__head h2 { font-size: 24px; }
  .order-card__title { font-size: 16px; }
  .modal-header h2 { font-size: 21px; }
  .form-grid { gap: 14px; }
}

/* ---- bold pass: heavier UI text and stronger contrast ---- */
:root {
  --text-soft: #dedbd3;
  --muted: #acb0b8;
  --faint: #858a94;
}
body { font-weight: 500; }
strong, b, h1, h2, h3, h4, h5, h6,
.btn, .main-nav__item, .filter-tab, .game-text strong,
.section-label span, .section-kicker, .order-card__title,
.status, .order-card__cta, .feature-card__body strong,
.side-panel__head strong, .side-steps li span, .side-support strong,
.rail-card__head > span, .snapshot-user__copy strong, .snapshot-quick button,
.guarantee-card__head strong, .form-field > label, .form-section-title,
.role-option, .pay-method, .amount-option b, .summary-box__row b,
.modal-header h2, .detail-head__copy h2, .detail-banner__price,
.detail-block__label, .detail-info-row b, .detail-party__copy b,
.drawer-user-card__copy strong, .drawer-section-title, .drawer-quick__copy strong,
.my-order-card__head strong, .record-item__copy strong, .notification-item p,
.admin-nav__item, .admin-page-head__copy h2, .admin-stat__head, .admin-stat__value,
.admin-panel__title h3, .game-bar__name, .game-bar__meta b,
.admin-table th, .admin-table__service, .admin-user__copy b, .admin-status,
.admin-mini small, .admin-mini b, .admin-mini-actions button,
.admin-card__identity strong, .admin-card__info b, .admin-user-card__copy strong,
.admin-demo__role, .admin-demo__cred, .admin-login__form-wrap h2,
.admin-login__form-wrap > p, .admin-login__form .form-field > label,
.admin-header__title h1, .admin-profile__copy strong {
  font-weight: 700;
}
.hero__desc, .side-panel > p, .order-note, .feed-item__body p,
.guarantee-list > div > span, .snapshot-guest__desc, .snapshot-benefits span,
.detail-note, .rule-card p, .drawer-deposit-card p, .drawer-quick__copy small,
.record-item__copy small, .auth-demo-hint, .auth-terms, .form-hint,
.admin-login__center p, .admin-page-head__copy p, .admin-log-item__copy p,
.admin-user-card__copy small, .admin-detail-row, .admin-login__foot span {
  font-weight: 500;
}
.subtle, small { font-weight: 500; }
.section-label span { font-size: 13.5px; color: var(--text-soft); }
.admin-mini small { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.admin-mini b { font-size: 20px; color: #f0ece3; }
.admin-stat__head { color: var(--muted); }
.admin-table th { color: var(--muted); }
.admin-table td { color: #b9bdc5; }
.admin-user__copy small, .admin-table__service small { color: #9297a1; }
.order-meta span { color: #a4a8b1; }
.order-boss__copy small, .order-game__tag { color: #979ca5; }
.feed-item__body p { color: #b3b7bf; }
.feed-item__body time { color: #858a94; }
.form-hint { color: #9ba0aa; }
.admin-user-card__copy small, .admin-card__identity small { color: #969ba5; }
.admin-log-item__copy time { color: #8c919b; }
.admin-sidebar__security, .admin-header__date { color: #8c919b; }

/* ---- second pass: fewer micro labels, larger primary information ---- */
.section-label em,
.feature-card__body small,
.form-section-title em,
.detail-block__label em,
.form-field > label em,
.admin-demo__head em,
.rail-card__head > em:not(.live-feed-card__live) {
  display: none;
}
.hero__desc { font-size: 14.5px; color: #b9bac0; }
.hero__metrics > div > span { font-size: 11px; }
.order-meta span { font-size: 11px; }
.order-note { font-size: 12.5px; }
.order-party { font-size: 11.5px; }
.order-boss__copy b { font-size: 12px; }
.order-boss__copy small { font-size: 10.5px; }
.order-card__cta { font-size: 12.5px; }
.hall__footer { font-size: 10.5px; }
.side-panel > p { font-size: 12.5px; }
.side-steps li span { font-size: 13px; }
.side-steps li small { font-size: 11px; }
.feed-item__body p { font-size: 11.5px; }
.feed-item__body time { font-size: 10px; }
.guarantee-list > div > span { font-size: 11.5px; }
.guarantee-list > div > span small { font-size: 10.5px; }
.snapshot-benefits span { font-size: 12px; }
.snapshot-quick span, .snapshot-quick button { font-size: 11px; }
.rail-quote p { font-size: 14px; }
.hero__title > em { font-size: 15px; letter-spacing: .2em; }
.modal-header p { font-size: 12.5px; }
.form-field > label { font-size: 12.5px; }
.form-field > label button { font-size: 10.5px; }
.form-hint { font-size: 11px; }
.auth-terms { font-size: 11px; }
.role-option { font-size: 12.5px; }
.role-option small { font-size: 10px; }
.demo-code b { font-size: 17px; }
.summary-box__row { font-size: 12px; }
.summary-box__row b { font-size: 14px; }
.escrow-note { font-size: 11.5px; }
.pay-method { font-size: 12.5px; }
.pay-method small { font-size: 10px; }
.detail-info-row { font-size: 11.5px; }
.detail-note { font-size: 12px; }
.detail-timeline__copy p { font-size: 11.5px; }
.my-order-card__main small { font-size: 10.5px; }
.record-item__copy strong { font-size: 11.5px; }
.record-item__copy small { font-size: 9.5px; }
.notification-item p { font-size: 11.5px; }
.drawer-user-card__copy strong { font-size: 15px; }
.drawer-balance-card__top small { font-size: 11px; }
.drawer-quick__copy strong { font-size: 12px; }
.drawer-quick__copy small { font-size: 10px; }
.drawer-deposit-card p { font-size: 10.5px; }

/* ---- large type pass: prioritize legibility at 1080p and above ---- */
body { font-size: 16px; }
.main-nav__item { font-size: 15px; }
.main-nav__item--admin { font-size: 14px; }
.auth-trigger { font-size: 14px; }
.user-chip__copy strong { font-size: 14px; }
.user-chip__copy small { font-size: 11px; }
.btn { font-size: 14px; }
.btn--sm { font-size: 13px; }
.section-label span { font-size: 14.5px; }
.game-text strong { font-size: 15px; }
.game-text small { font-size: 10px; }
.game-meta b { font-size: 16px; }
.game-meta small { font-size: 10.5px; }
.side-panel__head strong { font-size: 14px; }
.side-panel > p { font-size: 13.5px; }
.side-panel__stats b { font-size: 18px; }
.side-panel__stats span { font-size: 11px; }
.side-steps li span { font-size: 14px; }
.side-steps li small { font-size: 11.5px; }
.side-support strong { font-size: 13px; }
.side-support small { font-size: 11px; }
.hero__season, .hero__arena-index, .hero__eyebrow b { font-size: 12px; }
.hero__title > em { font-size: 16px; }
.hero__desc { font-size: 15.5px; }
.hero__metrics b { font-size: 24px; }
.hero__metrics b span { font-size: 14px; }
.hero__metrics > div > span { font-size: 12px; }
.feature-card__head { font-size: 12px; }
.feature-card__body strong { font-size: 18px; }
.feature-card__body p { font-size: 13px; }
.feature-card__price > span { font-size: 12px; }
.feature-card__price b { font-size: 32px; }
.feature-card__price b small { font-size: 12px; }
.feature-card__link { font-size: 13px; }
.hero__trust-row { font-size: 11.5px; }
.hall__head h2 { font-size: 29px; }
.hall__head h2 em { font-size: 13px; }
.filter-tab { font-size: 14px; padding: 9px 13px; }
.filter-tab span { font-size: 11px; }
.search-box input { font-size: 14px; }
.sort-wrap { font-size: 12px; }
.sort-wrap select { font-size: 13px; height: 36px; }
.order-game__name { font-size: 13.5px; }
.order-game__tag { font-size: 10.5px; }
.status { font-size: 12px; height: 26px; }
.order-card__title { font-size: 18px; }
.order-card__price b { font-size: 30px; }
.order-card__price span { font-size: 11px; }
.rank-route { font-size: 13px; }
.order-meta span { font-size: 12px; padding: 4px 8px; }
.order-note { font-size: 13.5px; }
.order-party { font-size: 12.5px; }
.order-boss__copy b { font-size: 13px; }
.order-boss__copy small { font-size: 11.5px; }
.order-card__cta { font-size: 13px; height: 34px; }
.hall__footer { font-size: 11.5px; }
.rail-card__head > span { font-size: 14px; }
.snapshot-guest__title { font-size: 24px; }
.snapshot-guest__desc { font-size: 13px; }
.snapshot-benefits span { font-size: 13px; }
.snapshot-user__copy strong { font-size: 15px; }
.snapshot-user__copy small { font-size: 11px; }
.snapshot-balance__main small { font-size: 12px; }
.snapshot-balance__main b { font-size: 34px; }
.snapshot-balance__sub { font-size: 11.5px; }
.snapshot-actions .btn { font-size: 13px; }
.snapshot-quick span, .snapshot-quick button { font-size: 12px; }
.feed-item__body p { font-size: 13px; }
.feed-item__body time { font-size: 11px; }
.guarantee-card__head strong { font-size: 14px; }
.guarantee-list > div > b { font-size: 16px; }
.guarantee-list > div > span { font-size: 13px; }
.guarantee-list > div > span small { font-size: 11.5px; }
.guarantee-card .text-link { font-size: 12px; }
.rail-quote p { font-size: 15px; }
.footer__brand strong { font-size: 13px; }
.footer__brand small { font-size: 11px; }
.footer__links button, .footer__links a { font-size: 12px; }
.modal-header h2 { font-size: 26px; }
.modal-header p { font-size: 14px; }
.form-field > label { font-size: 14px; }
.input-wrap input { font-size: 15px; }
.input-wrap input::placeholder { font-size: 14px; }
.form-field input, .form-field select, .form-field textarea, .plain-input, .plain-select { font-size: 15px; height: 46px; }
.auth-tabs button { font-size: 14px; height: 38px; }
.auth-terms { font-size: 12px; }
.auth-switch { font-size: 12px; }
.auth-demo-hint { font-size: 12px; }
.form-hint { font-size: 12px; }
.escrow-note { font-size: 12.5px; }
.summary-box__row { font-size: 13px; }
.summary-box__row b { font-size: 15px; }
.summary-box__row--total b { font-size: 22px; }
.modal-foot__hint { font-size: 12px; }
.detail-info-row { font-size: 13px; }
.detail-note { font-size: 13px; }
.detail-timeline__copy p { font-size: 13px; }
.detail-timeline__copy time { font-size: 11px; }
.detail-block__label { font-size: 11.5px; }
.drawer-tabs button { font-size: 14px; }
.drawer-user-card__copy strong { font-size: 16px; }
.drawer-user-card__copy small { font-size: 11.5px; }
.drawer-balance-card__sub { font-size: 11.5px; }
.drawer-section-title { font-size: 14px; }
.drawer-quick__copy strong { font-size: 13.5px; }
.drawer-quick__copy small { font-size: 11px; }
.my-order-card__head strong { font-size: 14px; }
.my-order-card__main small { font-size: 12px; }
.my-order-card__price { font-size: 21px; }
.record-item__copy strong { font-size: 13px; }
.record-item__copy small { font-size: 11px; }
.notification-item p { font-size: 13px; }
@media (max-width: 760px) {
  .hero__desc { font-size: 15px; }
  .order-card__title { font-size: 17px; }
  .filter-tab { font-size: 13px; }
  .form-field > label { font-size: 13.5px; }
  .modal-header p { font-size: 13px; }
}

/* =========================================================
   TABBED PAGES — 我的订单 / 资金中心
   ========================================================= */
.page-view { padding: 31px 0 0; animation: page-in .45s var(--ease) both; }
.page-view__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.page-view__head h1 { margin: 8px 0 7px; color: #f4efe5; font-size: 34px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; }
.page-view__head p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.8; }
.page-view__actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.page-view__actions .btn { height: 39px; font-size: 12.5px; }

/* platform guarantee page */
#guaranteePage { padding-bottom: 12px; }
.guarantee-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 25px;
  margin-top: 22px;
  padding: 31px 32px;
  border: 1px solid rgba(228,198,140,.22);
  border-radius: 16px;
  background:
    radial-gradient(500px 250px at 100% 0%, rgba(228,198,140,.1), transparent 65%),
    linear-gradient(140deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  overflow: hidden;
}
.guarantee-hero::after {
  content: "英";
  position: absolute;
  right: -18px; bottom: -55px;
  color: rgba(228,198,140,.035);
  font-family: var(--font-serif);
  font-size: 235px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.guarantee-hero__copy { position: relative; z-index: 2; }
.guarantee-hero__eyebrow { color: var(--gold-deep); font-size: 9px; font-weight: 600; letter-spacing: .24em; }
.guarantee-hero__copy h3 { margin: 13px 0 13px; color: #f5efe2; font-size: 35px; font-weight: 700; line-height: 1.35; letter-spacing: .05em; }
.guarantee-hero__copy p { max-width: 590px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.guarantee-hero__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.guarantee-hero__chips span { padding: 5px 9px; border: 1px solid rgba(228,198,140,.18); border-radius: 4px; color: var(--gold); background: rgba(228,198,140,.05); font-size: 10px; font-weight: 600; }
.guarantee-hero__right { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; }
.guarantee-hero__seal {
  width: 112px; height: 112px;
  border: 1px solid rgba(228,198,140,.42);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, rgba(245,223,180,.18), transparent 55%);
  box-shadow: inset 0 0 30px rgba(228,198,140,.07), 0 0 0 7px rgba(228,198,140,.025);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.guarantee-hero__seal span { color: var(--gold-bright); font-family: var(--font-serif); font-size: 45px; font-weight: 700; line-height: 1; }
.guarantee-hero__seal small { color: var(--gold-deep); font-size: 6.5px; font-weight: 600; letter-spacing: .16em; }
.guarantee-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-top: 1px solid rgba(228,198,140,.12); padding-top: 14px; }
.guarantee-hero__stats > div { display: flex; flex-direction: column; gap: 2px; align-items: center; border-right: 1px solid var(--line); }
.guarantee-hero__stats > div:last-child { border-right: 0; }
.guarantee-hero__stats b { color: var(--gold-bright); font-size: 18px; font-weight: 700; }
.guarantee-hero__stats small { color: var(--faint); font-size: 8.5px; }
.guarantee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.guarantee-card { display: flex; align-items: flex-start; gap: 10px; padding: 16px 14px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(150deg, rgba(255,255,255,.025), rgba(255,255,255,.006)); }
.guarantee-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 31px; height: 31px; border: 1px solid rgba(228,198,140,.22); border-radius: 7px; color: var(--gold); background: rgba(228,198,140,.055); }
.guarantee-card__icon svg { width: 16px; height: 16px; }
.guarantee-card strong { display: block; margin-bottom: 3px; color: var(--text-soft); font-size: 11.5px; font-weight: 700; }
.guarantee-card p { margin: 0; color: var(--faint); font-size: 9.5px; line-height: 1.65; }
.guarantee-section { margin-top: 26px; }
.guarantee-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.guarantee-section__head .section-kicker { margin-bottom: 7px; }
.guarantee-section__head h3 { margin: 0; color: #f1ebde; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.guarantee-section__head > p { margin: 0 0 2px; color: var(--faint); font-size: 10px; }
.guarantee-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.012); overflow: hidden; }
.guarantee-step { position: relative; min-height: 120px; padding: 18px 17px; border-right: 1px solid var(--line); }
.guarantee-step:last-child { border-right: 0; }
.guarantee-step em { display: block; margin-bottom: 10px; color: rgba(228,198,140,.45); font-family: var(--font-sans); font-size: 11px; font-weight: 600; font-style: normal; letter-spacing: .1em; }
.guarantee-step strong { display: block; margin-bottom: 5px; color: var(--text-soft); font-size: 13px; font-weight: 700; }
.guarantee-step span { display: block; color: var(--faint); font-size: 10px; line-height: 1.7; }
.guarantee-step::after { content: ""; position: absolute; right: 14px; bottom: 13px; width: 16px; height: 1px; background: rgba(228,198,140,.25); }
.guarantee-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.guarantee-panel { scroll-margin-top: 90px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.014); }
.guarantee-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.guarantee-panel__head span { color: var(--text-soft); font-size: 13px; font-weight: 700; }
.guarantee-panel__head em { color: var(--gold-deep); font-family: var(--font-sans); font-size: 7px; font-weight: 600; font-style: normal; letter-spacing: .13em; }
.guarantee-panel ul { margin: 11px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.guarantee-panel li { position: relative; padding-left: 13px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.guarantee-panel li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-deep); }
.guarantee-faq { margin-top: 26px; }
.guarantee-faq details { border-top: 1px solid var(--line); }
.guarantee-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.guarantee-faq summary { position: relative; padding: 13px 24px 13px 2px; color: var(--text-soft); font-size: 11.5px; font-weight: 600; cursor: pointer; list-style: none; }
.guarantee-faq summary::-webkit-details-marker { display: none; }
.guarantee-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold-deep); font-size: 15px; font-weight: 400; }
.guarantee-faq details[open] summary::after { content: "−"; }
.guarantee-faq details p { margin: 0; padding: 0 32px 14px 2px; color: var(--muted); font-size: 10.5px; line-height: 1.8; }
.guarantee-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 21px 24px; border: 1px solid rgba(228,198,140,.2); border-radius: 12px; background: linear-gradient(120deg, rgba(228,198,140,.075), rgba(255,255,255,.012)); }
.guarantee-cta > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.guarantee-cta strong { color: #f1ebde; font-size: 17px; font-weight: 700; }
.guarantee-cta span { color: var(--faint); font-size: 10.5px; }
.guarantee-cta__actions { display: flex; gap: 8px; flex-shrink: 0; }
.guarantee-cta__actions .btn { height: 36px; font-size: 11.5px; }

@media (max-width: 1100px) {
  .guarantee-hero { grid-template-columns: 1fr; gap: 22px; }
  .guarantee-hero__right { flex-direction: row; justify-content: flex-start; }
  .guarantee-hero__seal { flex-shrink: 0; }
  .guarantee-hero__stats { flex: 1; }
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-steps { grid-template-columns: 1fr 1fr; }
  .guarantee-step:nth-child(2) { border-right: 0; }
  .guarantee-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .guarantee-hero { padding: 22px 19px; margin-top: 14px; }
  .guarantee-hero__copy h3 { font-size: 27px; }
  .guarantee-hero__right { flex-direction: column; align-items: flex-start; }
  .guarantee-hero__seal { width: 82px; height: 82px; }
  .guarantee-hero__seal span { font-size: 34px; }
  .guarantee-grid, .guarantee-rule-grid, .guarantee-steps { grid-template-columns: 1fr; }
  .guarantee-step { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .guarantee-step:last-child { border-bottom: 0; }
  .guarantee-section__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .guarantee-cta { flex-direction: column; align-items: flex-start; }
  .guarantee-cta__actions { width: 100%; }
  .guarantee-cta__actions .btn { flex: 1; }
}

.page-guest {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 380px;
  padding: 45px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: radial-gradient(400px 260px at 50% 0%, rgba(228,198,140,.06), transparent 70%);
  text-align: center;
}
.page-guest__mark {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 17px;
  border: 1px solid rgba(228,198,140,.26);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(228,198,140,.06);
  font-size: 23px;
  font-weight: 700;
}
.page-guest h2 { margin: 0 0 8px; color: var(--text); font-size: 22px; font-weight: 700; }
.page-guest p { margin: 0 0 21px; max-width: 440px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.page-guest__actions { display: flex; gap: 9px; }

.my-orders-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 17px; }
.my-orders-summary__item {
  display: flex; align-items: baseline; gap: 4px;
  min-height: 89px;
  padding: 17px 17px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.006));
}
.my-orders-summary__item span { flex: 1; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.my-orders-summary__item b { color: var(--gold-bright); font-family: var(--font-sans); font-size: 30px; font-weight: 700; line-height: 1; }
.my-orders-summary__item small { color: var(--faint); font-size: 10.5px; font-weight: 500; }
.my-orders-summary__item:nth-child(2) b { color: var(--blue); }
.my-orders-summary__item:nth-child(3) b { color: var(--gold); }
.my-orders-summary__item:nth-child(4) b { color: var(--green); }

.my-orders-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 13px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.016);
}
.my-orders-tabs { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; }
.my-orders-tabs::-webkit-scrollbar { display: none; }
.my-orders-tabs button {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.my-orders-tabs button span { padding: 1px 5px; border-radius: 3px; background: rgba(255,255,255,.055); color: var(--faint); font-size: 10px; font-weight: 600; }
.my-orders-tabs button:hover { color: var(--text); background: rgba(255,255,255,.035); }
.my-orders-tabs button.is-active { color: var(--gold-bright); background: rgba(228,198,140,.085); }
.my-orders-tabs button.is-active span { color: var(--gold); background: rgba(228,198,140,.12); }
.my-orders-toolbar__count { color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.my-orders-toolbar__count b { color: var(--gold); font-weight: 700; }

.my-orders-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.my-orders-primary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.my-orders-primary__item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.015);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: .2s;
}
.my-orders-primary__item:hover { border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.my-orders-primary__item b { margin-left: auto; color: var(--faint); font-family: var(--font-sans); font-size: 24px; font-weight: 700; line-height: 1; }
.my-orders-primary__item small { color: var(--faint); font-size: 9px; }
.my-orders-primary__item.is-active { border-color: rgba(228,198,140,.32); background: rgba(228,198,140,.06); color: var(--gold-bright); }
.my-orders-primary__item.is-active b { color: var(--gold-bright); }
.my-orders-subnav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.012); }
.my-orders-subnav button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 5px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.my-orders-subnav button:hover { color: var(--text-soft); background: rgba(255,255,255,.035); }
.my-orders-subnav button.is-active { color: var(--gold); background: rgba(228,198,140,.1); }
.my-orders-subnav button span { color: var(--faint); font-family: var(--font-sans); font-size: 9px; }
.my-orders-subnav button.is-active span { color: var(--gold-deep); }
.my-orders-subnav em { margin-left: auto; color: var(--faint); font-style: normal; font-size: 9px; }
.my-order-full[data-order-card-open] { cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.my-order-full[data-order-card-open]:hover { border-color: rgba(228,198,140,.26); transform: translateY(-1px); }
@media (max-width: 760px) {
  .my-orders-primary { grid-template-columns: 1fr; }
  .my-orders-primary__item { padding: 14px 15px; }
  .my-orders-subnav em { width: 100%; margin-left: 0; }
}
.my-order-full {
  position: relative;
  display: flex; flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(300px 150px at 100% 0%, color-mix(in srgb, var(--oc) 5%, transparent), transparent 65%),
    linear-gradient(160deg, rgba(255,255,255,.027), rgba(255,255,255,.006));
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease);
}
.my-order-full::before {
  content: "";
  position: absolute; left: 17px; right: 17px; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--oc), transparent 70%);
  opacity: .65;
}
.my-order-full:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--oc) 24%, var(--line)); }
.my-order-full__head { display: flex; align-items: center; gap: 8px; }
.my-order-full__game { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.my-order-full__mark {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--oc) 25%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--oc) 8%, transparent);
  color: var(--oc);
}
.my-order-full__mark svg { width: 18px; height: 18px; }
.my-order-full__game > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.my-order-full__game b { color: var(--text-soft); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.my-order-full__game small { color: var(--faint); font-size: 10px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-order-role { padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--faint); font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.my-order-full__body { padding: 14px 0 12px; }
.my-order-full__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.my-order-full__title h3 { margin: 0; color: #f1ede4; font-size: 17px; font-weight: 700; line-height: 1.5; }
.my-order-full__price { display: flex; align-items: baseline; gap: 3px; color: var(--gold-bright); font-size: 23px; font-weight: 700; line-height: 1; white-space: nowrap; }
.my-order-full__price span { color: var(--gold-deep); font-size: 9.5px; font-weight: 500; }
.my-order-full__route { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: var(--muted); font-size: 12px; font-weight: 500; }
.my-order-full__route svg { width: 16px; height: 8px; color: var(--faint); }
.my-order-full__route b { color: var(--text-soft); font-weight: 700; }
.my-order-full__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 9px; color: var(--faint); font-size: 10.5px; font-weight: 500; }
.my-order-full__meta span { display: inline-flex; align-items: center; gap: 4px; }
.my-order-full__meta span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--oc); opacity: .7; }
.my-order-full__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.my-order-full__counterpart { display: flex; align-items: center; gap: 8px; min-width: 0; }
.my-order-full__avatar { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05); color: var(--text-soft); font-size: 9px; font-weight: 700; }
.my-order-full__counterpart > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.my-order-full__counterpart small { color: var(--faint); font-size: 9.5px; font-weight: 500; }
.my-order-full__counterpart b { color: var(--text-soft); font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.my-order-full__actions { display: flex; gap: 6px; flex-shrink: 0; }
.my-order-full__actions .btn { height: 30px; padding: 0 10px; font-size: 10.5px; border-radius: 6px; }
.page-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 320px;
  padding: 36px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  text-align: center;
}
.page-empty > span { color: rgba(255,255,255,.13); font-size: 36px; line-height: 1; }
.page-empty h3 { margin: 13px 0 6px; color: var(--text-soft); font-size: 17px; font-weight: 700; }
.page-empty p { margin: 0 0 16px; color: var(--muted); font-size: 12.5px; }
.page-empty .btn { height: 36px; font-size: 12px; }

/* wallet */
.wallet-overview-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr; gap: 12px; }
.wallet-main-card {
  padding: 23px;
  border: 1px solid rgba(228,198,140,.18);
  border-radius: 16px;
  background:
    radial-gradient(390px 230px at 100% 0%, rgba(228,198,140,.13), transparent 68%),
    linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.008));
}
.wallet-main-card__head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.wallet-main-card__head em { color: var(--faint); font-size: 10.5px; font-style: normal; font-weight: 500; }
.wallet-main-card__value { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 9px; color: var(--gold-bright); font-size: 49px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.wallet-main-card__value span { color: var(--gold-deep); font-size: 13px; font-weight: 500; }
.wallet-main-card__sub { display: flex; flex-wrap: wrap; gap: 14px; color: var(--faint); font-size: 11px; font-weight: 500; }
.wallet-main-card__sub b { color: var(--text-soft); font-weight: 700; }
.wallet-main-card__actions { display: flex; gap: 8px; margin-top: 18px; }
.wallet-main-card__actions .btn { height: 37px; font-size: 12px; }
.wallet-side-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.028), rgba(255,255,255,.006));
}
.wallet-side-card__head { display: flex; align-items: center; justify-content: space-between; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.wallet-side-card__value { display: flex; align-items: baseline; gap: 3px; margin: 15px 0 7px; color: var(--text); font-size: 28px; font-weight: 700; line-height: 1.1; }
.wallet-side-card__value small { color: var(--faint); font-size: 10px; font-weight: 500; }
.wallet-side-card p { margin: 0 0 15px; color: var(--faint); font-size: 11.5px; font-weight: 500; line-height: 1.7; flex: 1; }
.wallet-side-card .btn { height: 34px; font-size: 11px; }
.wallet-ledger-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-top: 13px; }
.wallet-ledger {
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}
.wallet-ledger__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wallet-ledger__head h3 { margin: 0; color: var(--text-soft); font-size: 15px; font-weight: 700; }
.wallet-ledger__head span { color: var(--faint); font-size: 10.5px; font-weight: 500; }
.wallet-ledger .record-list { max-height: 430px; overflow-y: auto; }
.wallet-ledger .record-item:last-child { border-bottom: 0; }

@media (max-width: 1120px) {
  .wallet-overview-grid { grid-template-columns: 1fr 1fr; }
  .wallet-main-card { grid-column: span 2; }
}
@media (max-width: 960px) {
  .page-view { padding-top: 20px; }
  .page-view__head { align-items: flex-start; flex-direction: column; gap: 13px; }
  .page-view__head h1 { font-size: 28px; }
  .my-orders-page-grid { grid-template-columns: 1fr; }
  .wallet-ledger-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-view__head h1 { font-size: 25px; }
  .page-view__actions { width: 100%; }
  .page-view__actions .btn { flex: 1; }
  .my-orders-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  .my-orders-summary__item { min-height: 75px; padding: 13px; }
  .my-orders-summary__item b { font-size: 25px; }
  .my-orders-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .my-orders-toolbar__count { padding-left: 2px; }
  .my-order-full { padding: 14px; }
  .my-order-full__foot { align-items: flex-start; flex-direction: column; gap: 10px; }
  .my-order-full__actions { width: 100%; justify-content: flex-end; }
  .wallet-overview-grid { grid-template-columns: 1fr; }
  .wallet-main-card { grid-column: span 1; padding: 18px; }
  .wallet-main-card__value { font-size: 40px; }
  .wallet-side-card { padding: 17px; }
  .wallet-ledger { padding: 15px; }
  .page-guest { min-height: 300px; padding: 35px 18px; }
}

/* compact hall toolbar without the old page title */
.hall__toolbar { flex-wrap: wrap; margin-top: 4px; }
.hall__toolbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.hall__toolbar-right .search-box { width: 200px; }
@media (max-width: 1120px) {
  .hall__toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hall__toolbar-right { width: 100%; margin-left: 0; }
  .hall__toolbar-right .search-box { flex: 1; width: auto; }
}

/* prominent primary order action */
.orders-grid .order-card__cta:not(.order-card__cta--quiet) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 92px;
  padding: 0 16px;
  border: 1px solid rgba(255, 238, 198, .45);
  border-radius: 8px;
  color: #1b1409;
  background: linear-gradient(180deg, #f7e4ba 0%, #e5c17f 48%, #c7964d 100%);
  box-shadow: 0 4px 0 #7d5b28, 0 8px 18px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .62);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  text-align: center;
  transform: translateY(-1px);
}
.orders-grid .order-card__cta:not(.order-card__cta--quiet):hover {
  color: #140f08;
  background: linear-gradient(180deg, #fff0d1 0%, #efce90 48%, #d4a45a 100%);
  box-shadow: 0 5px 0 #7d5b28, 0 12px 22px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .7);
  transform: translateY(-2px);
}
.orders-grid .order-card__cta:not(.order-card__cta--quiet):active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #7d5b28, 0 4px 10px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.orders-grid .order-card__cta:not(.order-card__cta--quiet) svg { width: 13px; height: 13px; }
@media (min-width: 1500px) {
  .orders-grid .order-card__cta:not(.order-card__cta--quiet) { height: 44px; min-width: 96px; font-size: 16px; }
}
@media (max-width: 760px) {
  .orders-grid .order-card__cta:not(.order-card__cta--quiet) { height: 44px; min-width: 96px; font-size: 16px; }
}
