/* ============================================================
   14K 路 甯淳浜嬪姟澶?   ============================================================ */

:root {
  --bg: #08070a;
  --bg-soft: #0c0a10;
  --panel: #121016;
  --panel-2: #17131c;
  --gold: #d4af37;
  --gold-hi: #f3d98b;
  --gold-dim: #7d6420;
  --text: #ece7dc;
  --muted: #9b9488;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.34);
  --red: #e0705f;
  --green: #86bd90;
  --radius: 16px;
  --radius-sm: 10px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(212, 175, 55, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a090d; }
::-webkit-scrollbar-thumb { background: #2a2430; border-radius: 8px; border: 2px solid #0a090d; }
::-webkit-scrollbar-thumb:hover { background: #3a3040; }

/* ---------------- 鑳屾櫙 ---------------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 12% -12%, rgba(212, 175, 55, 0.09), transparent 62%),
    radial-gradient(900px 520px at 102% -4%, rgba(96, 72, 160, 0.07), transparent 60%),
    var(--bg);
}

.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.055) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 78%);
}

.backdrop-glow {
  position: absolute;
  left: 50%;
  top: -320px;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212, 175, 55, 0.1), transparent);
  filter: blur(20px);
}

/* ---------------- 椤舵爮 ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 10, 0.76);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-hi);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-word {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--text);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.nav-link.is-active {
  color: var(--gold-hi);
  background: rgba(212, 175, 55, 0.09);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.user-menu { position: relative; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.user-chip:hover { border-color: var(--line-strong); background: rgba(212, 175, 55, 0.06); }

.caret { font-size: 10px; color: var(--muted); margin-left: 2px; }

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.04));
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold-hi);
  flex-shrink: 0;
}

.user-meta { display: flex; flex-direction: column; line-height: 1.2; }

.user-name { font-size: 13px; color: var(--text); }

.user-rank { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }

/* 账号下拉菜单 */

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  width: 272px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, #19141f, #100d14);
  box-shadow: 0 34px 80px -32px rgba(0, 0, 0, 0.95);
}

.dropdown-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--line);
}

.dropdown-head strong { font-family: var(--serif); font-size: 16px; letter-spacing: 0.06em; }
.dropdown-head .badge { align-self: flex-start; margin-top: 5px; }

.dropdown-label {
  padding: 10px 10px 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease;
}

.dropdown-item:hover { background: rgba(212, 175, 55, 0.08); }
.dropdown-item.danger { color: #e8a297; }
.dropdown-item.danger:hover { background: rgba(224, 112, 95, 0.1); }

.dropdown-sep { height: 1px; margin: 8px 6px; background: var(--line); }

.account-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.account-text strong { font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-text small { font-size: 11.5px; color: var(--muted); }

.mini-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-hi);
  font-family: var(--serif);
  font-size: 13px;
  flex-shrink: 0;
}

/* ---------------- 閫氱敤甯冨眬 ---------------- */

.app {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 28px 96px;
}

.section { margin-top: 34px; }
.section.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.page-head { margin-bottom: 30px; }

.page-head h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  margin: 6px 0 10px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.gold-text {
  background: linear-gradient(100deg, #f6e2a4, #d4af37 38%, #a9842a 62%, #f0d27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }

/* ---------------- 鍗＄墖 ---------------- */

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 19, 28, 0.92), rgba(16, 14, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 30px 60px -46px rgba(0, 0, 0, 0.9);
}

.card h2 { font-size: 22px; margin-bottom: 6px; }
.card h3 { font-size: 16px; letter-spacing: 0.08em; margin-bottom: 12px; }

/* ---------------- 鎸夐挳 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-gold {
  color: #1b1406;
  background: linear-gradient(180deg, #f2d88f, #d4af37 55%, #bd9629);
  border-color: rgba(255, 236, 180, 0.55);
  box-shadow: 0 10px 24px -14px rgba(212, 175, 55, 0.9);
}

.btn-gold:hover:not(:disabled) { background: linear-gradient(180deg, #f8e5ae, #e2c05a 55%, #caa233); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}

.btn-ghost:hover:not(:disabled) { border-color: rgba(212, 175, 55, 0.6); background: rgba(212, 175, 55, 0.07); }

.btn-danger { color: #f2b2a8; border-color: rgba(224, 112, 95, 0.34); background: rgba(224, 112, 95, 0.06); }
.btn-danger:hover:not(:disabled) { background: rgba(224, 112, 95, 0.13); }

.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; font-weight: 500; }
.btn-block { width: 100%; height: 46px; }

/* ---------------- 琛ㄥ崟 ---------------- */

.form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }

.field { display: flex; flex-direction: column; gap: 7px; }

.field > span {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #272130;
  border-radius: var(--radius-sm);
  background: #0b0910;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input::placeholder, .textarea::placeholder { color: #5f5850; }

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.textarea { resize: vertical; min-height: 120px; line-height: 1.75; }
.select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #9b9488 50%), linear-gradient(135deg, #9b9488 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }

.hint { font-size: 12px; color: var(--muted); line-height: 1.6; }

.field-error { border-color: rgba(224, 112, 95, 0.6) !important; }

/* ---------------- 鐧诲綍 / 娉ㄥ唽 ---------------- */

.auth {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 300px);
  padding: 20px 0 40px;
}

.auth-visual { position: relative; padding: 20px 0; }

.ghost-num {
  position: absolute;
  top: -74px;
  left: -28px;
  font-family: var(--serif);
  font-size: clamp(180px, 24vw, 300px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.13);
  pointer-events: none;
  user-select: none;
}

.auth-title {
  position: relative;
  font-size: clamp(38px, 5.4vw, 62px);
  letter-spacing: 0.06em;
  margin: 14px 0 18px;
  line-height: 1.16;
}

.auth-lead {
  position: relative;
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
}

.auth-points {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #c8c1b4;
}

.auth-points span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 2px 7px;
}

.auth-panel { padding: 34px 34px 30px; }
.auth-panel h2 { font-size: 26px; }

.switch { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.switch a { color: var(--gold-hi); border-bottom: 1px solid rgba(212, 175, 55, 0.35); }
.switch a:hover { border-color: var(--gold); }

.quick-accounts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }

.quick-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.quick-account:hover { border-color: var(--line-strong); background: rgba(212, 175, 55, 0.06); }
.quick-account .account-text { flex: 1; }

.choice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }

.choice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 13px 15px;
  border: 1px solid #272130;
  border-radius: var(--radius-sm);
  background: #0b0910;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.choice:hover { border-color: rgba(212, 175, 55, 0.4); }

.choice.is-selected {
  border-color: rgba(212, 175, 55, 0.62);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
}

.choice-title { font-size: 14px; font-weight: 600; }
.choice.is-selected .choice-title { color: var(--gold-hi); }
.choice-desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

.result-card { text-align: center; padding: 52px 28px; }
.result-card h2 { font-size: 26px; margin-bottom: 10px; }
.result-card p { max-width: 420px; margin: 0 auto 22px; color: var(--muted); }

.result-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold-hi);
  font-size: 24px;
  background: rgba(212, 175, 55, 0.08);
}

/* ---------------- 棣栭〉 / 鍏充簬 ---------------- */

.hero {
  position: relative;
  padding: 26px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-title {
  font-size: clamp(44px, 7vw, 82px);
  letter-spacing: 0.08em;
  margin: 12px 0 14px;
}

.hero-sub { max-width: 560px; color: var(--muted); font-size: 15.5px; }

.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.prose { font-size: 15px; line-height: 1.95; color: #d6d0c4; }
.prose p + p { margin-top: 16px; }

.about-side { align-self: start; }

.side-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 14px;
}

.side-list { display: flex; flex-direction: column; gap: 14px; }

.side-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list strong { display: block; font-weight: 600; font-size: 14.5px; }
.side-list span { font-size: 12.5px; color: var(--muted); }
.side-action { margin-top: 18px; }
.profile-sub { margin-top: 8px; }

/* ---------------- 涓氬姟 ---------------- */

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.business-card { display: flex; flex-direction: column; gap: 10px; min-height: 190px; }
.business-card h2 { font-size: 21px; margin: 0; }
.business-card p { color: var(--muted); font-size: 14px; flex: 1; }

.tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
}

.business-link { color: var(--gold-hi); font-size: 13px; }
.business-link:hover { text-decoration: underline; }

/* 人参种植（游戏内悬赏） */

.bounty-card { border-color: rgba(212, 175, 55, 0.28); }

.bounty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.bounty-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
  color: #cfc8bb;
  font-size: 13.5px;
  line-height: 1.7;
}

.bounty-rules li::marker { color: var(--gold); }

.bounty-admin-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.input-sm {
  width: auto;
  min-width: 84px;
  height: 30px;
  padding: 4px 8px;
  font-size: 12.5px;
  border-radius: 7px;
}

/* ---------------- 鍔犲叆鎴戜滑 ---------------- */

.join-card { text-align: center; padding: 54px 34px; }
.join-card h1 { font-size: clamp(30px, 4.6vw, 40px); margin: 10px 0 14px; }
.join-card > p.muted { max-width: 460px; margin: 0 auto; }

.join-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.fineprint {
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #8c8377;
}

.join-status {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(134, 189, 144, 0.3);
  border-radius: 10px;
  background: rgba(134, 189, 144, 0.07);
  color: #a9d3b1;
  font-size: 13px;
  line-height: 1.6;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px 22px;
  background: linear-gradient(180deg, rgba(23, 19, 28, 0.92), rgba(16, 14, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 25px;
  color: var(--gold-hi);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.24), rgba(212, 175, 55, 0.04) 70%);
  margin-bottom: 14px;
}

.contact-name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.08em; }
.contact-role { font-size: 11.5px; color: var(--gold); letter-spacing: 0.2em; margin-top: 4px; }

.contact-id {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: #b9b2a5;
}

.contact-qq {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: #cfc7b8;
}

.copy-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.copy-btn:hover { color: var(--gold-hi); border-color: var(--line-strong); }

/* 关于我们 · 高层人员 */

.leaders { margin-top: 46px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 { font-size: 26px; margin-top: 6px; }

.leader-card { padding-top: 30px; }

.contact-locked {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
}

.contact-locked:hover { color: var(--gold-hi); }

/* 黑名单拦截页 */

.blocked {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 70px 20px 110px;
}

.blocked-mark {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 86, 66, 0.6);
  background: radial-gradient(circle, rgba(224, 62, 45, 0.24), rgba(224, 62, 45, 0.04) 72%);
  box-shadow: 0 0 70px rgba(224, 62, 45, 0.35);
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
  color: #ff6f5c;
}

.blocked h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: 0.14em;
  color: #ff8a7a;
}

.blocked-text { color: var(--muted); margin-top: 4px; }
.blocked-reason { color: #e8a297; font-size: 14px; }
.blocked .btn { margin-top: 20px; }

/* ---------------- 居酒屋 ---------------- */

.izakaya-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}

.izakaya-bookings {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-top: 24px;
}

.balance-card { display: flex; flex-direction: column; justify-content: center; }

.balance-label { font-size: 12px; letter-spacing: 0.22em; color: var(--muted); }

.balance-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 56px);
  color: var(--gold-hi);
  line-height: 1;
}

.balance-value .unit { font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }

.note-card { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.note-card h3 { margin-bottom: 2px; }

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h3 { margin: 0; }

.search-row { display: flex; gap: 10px; }

.op-results { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-height: 210px; overflow-y: auto; }

.op-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.op-result:hover { border-color: var(--line-strong); background: rgba(212, 175, 55, 0.06); }
.op-result .name { font-size: 13.5px; }
.op-result .sub { font-size: 11.5px; color: var(--muted); }
.op-result .bal { font-family: var(--mono); font-size: 13px; color: var(--gold-hi); }

.op-form { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.08); }

.selected-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(212, 175, 55, 0.07);
  font-size: 13.5px;
}

.table-card { padding: 8px 6px 6px; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}

.tab:hover { color: var(--text); }

.tab.is-active { color: var(--gold-hi); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tab-body { padding: 14px 16px 18px; }

.table-wrap { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.table th {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
}

.table tbody tr:hover { background: rgba(255, 255, 255, 0.022); }
.table tbody tr:last-child td { border-bottom: 0; }

.amount-pos { color: var(--green); font-family: var(--mono); }
.amount-neg { color: var(--red); font-family: var(--mono); }
.amount-zero { color: var(--muted); font-family: var(--mono); }

.empty {
  padding: 42px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.loading { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* ---------------- 鍚庡彴 ---------------- */

.admin-body { margin-top: 4px; }

.row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.select-sm {
  height: 30px;
  padding: 0 26px 0 9px;
  font-size: 12.5px;
  border-radius: 7px;
  border: 1px solid #2a2434;
  background-color: #0b0910;
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.badge-gold { color: var(--gold-hi); border-color: var(--line-strong); background: rgba(212, 175, 55, 0.07); }
.badge-green { color: var(--green); border-color: rgba(134, 189, 144, 0.3); background: rgba(134, 189, 144, 0.06); }
.badge-red { color: #e8a297; border-color: rgba(224, 112, 95, 0.3); background: rgba(224, 112, 95, 0.06); }

.settings { display: flex; flex-direction: column; gap: 26px; padding: 18px 4px 4px; }
.settings-block { display: flex; flex-direction: column; gap: 10px; }

.contact-row,
.business-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.contact-row { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
.business-row { grid-template-columns: 1fr 2fr 1fr auto; }

.remove-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(224, 112, 95, 0.28);
  background: rgba(224, 112, 95, 0.05);
  color: #e8a297;
  cursor: pointer;
  line-height: 1;
}

.remove-btn:hover { background: rgba(224, 112, 95, 0.14); }

.form-actions { display: flex; gap: 12px; padding-top: 4px; }

.inline-form {
  margin: 4px 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.015));
}

.inline-form .form-actions { padding-top: 0; }

.link-btn {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  background: none;
  color: var(--gold-hi);
  font-size: inherit;
  cursor: pointer;
}

.link-btn:hover { color: var(--gold); }

[hidden] { display: none !important; }

/* ---------------- 个人中心 ---------------- */

.profile-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.profile-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* 账号管理 */

.accounts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.account-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

.account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.account-row.is-current {
  border-color: var(--line-strong);
  background: rgba(212, 175, 55, 0.05);
}

.account-row .account-text { flex: 1; }

.accounts-grid .hint { margin-top: 12px; }

.profile-card { text-align: center; padding: 34px 24px; }

.profile-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-hi);
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.26), rgba(212, 175, 55, 0.03) 72%);
  overflow: hidden;
}

.avatar img,
.mini-avatar img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.avatar,
.mini-avatar { overflow: hidden; }

.avatar-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.profile-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.08em; }
.profile-sub { margin-top: 6px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 6px; }

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
}

.info-row span { color: var(--muted); }
.info-row strong { font-weight: 500; }

/* ---------------- 鎻愮ず ---------------- */

.toasts {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 48px));
}

.toast {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(134, 189, 144, 0.3);
  border-left: 3px solid var(--green);
  background: rgba(18, 24, 19, 0.96);
  font-size: 13.5px;
  box-shadow: 0 18px 40px -20px #000;
  animation: toast-in 0.24s ease;
}

.toast.error { border-color: rgba(224, 112, 95, 0.32); border-left-color: var(--red); background: rgba(26, 16, 15, 0.96); }
.toast.out { opacity: 0; transform: translateY(6px); transition: opacity 0.25s ease, transform 0.25s ease; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 椤佃剼 ---------------- */

.footer { border-top: 1px solid var(--line); background: rgba(8, 7, 10, 0.6); }

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 28px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}

.footer-mark { font-family: var(--serif); color: var(--gold); font-size: 14px; letter-spacing: 0.1em; }
.footer-dim { color: #625c54; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1020px) {
  .auth { grid-template-columns: minmax(0, 1fr); gap: 30px; min-height: 0; padding-top: 0; }
  .auth-visual { padding-top: 8px; }
  .ghost-num { font-size: 200px; top: -50px; opacity: 0.7; }
  .auth-points { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .izakaya-grid { grid-template-columns: 1fr; }
  .izakaya-bookings { grid-template-columns: 1fr; }
  .bounty-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .accounts-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .brand-word { display: none; }
  .topbar-inner { gap: 14px; padding: 0 18px; }
  .app { padding: 38px 18px 72px; }
  .contacts { grid-template-columns: 1fr; }
  .contact-row, .business-row { grid-template-columns: 1fr 1fr; }
  .contact-row .remove-btn, .business-row .remove-btn { justify-self: end; }
}

@media (max-width: 620px) {
  .topbar-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 18px;
    gap: 8px 12px;
  }
  .brand { margin-right: auto; }
  .nav { order: 3; flex: 1 0 100%; gap: 2px; }
  .nav-link { padding: 6px 9px; font-size: 12.5px; }
  .user-meta { display: none; }
  .user-chip { padding: 3px; border-radius: 50%; }
  .auth-title { font-size: 38px; }
  .card { padding: 20px; }
  .join-card { padding: 40px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .toasts { right: 14px; left: 14px; bottom: 14px; max-width: none; }
  .footer-inner { padding: 22px 18px; }
  .contact-row, .business-row { grid-template-columns: 1fr; }
  .table td, .table th { padding: 10px 9px; }
}
