/* ==========================================================================
   往里豪 · 盟史
   视觉：墨底 / 旧金 / 朱砂印
   ========================================================================== */

@font-face {
  font-family: "Ma Shan Zheng";
  src: url("../assets/fonts/ma-shan-zheng-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #080a09;
  --ink-1: #0c0f0d;
  --ink-2: #111612;
  --ink-3: #182019;
  --paper: #ece5d6;
  --paper-2: #cbc2ad;
  --muted: #92988d;
  --muted-2: #7b8277;
  --gold: #d7b87d;
  --gold-2: #a9824a;
  --gold-3: #f0dfb8;
  --red: #b83227;
  --red-bright: #d0493a;
  --jade: #7d9c89;
  --blue: #8ea6b4;
  --line: rgba(215, 184, 125, 0.17);
  --line-soft: rgba(236, 229, 214, 0.075);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "FangSong", serif;
  --num: "Bodoni MT", "Didot", "Georgia", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 82px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-2) var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 760px at 82% -12%, rgba(115, 48, 33, 0.24), transparent 62%),
    radial-gradient(900px 700px at 4% 26%, rgba(53, 78, 61, 0.18), transparent 66%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff8ec;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* 纸张颗粒 ---------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("../assets/img/noise.png");
  background-size: 220px 220px;
  opacity: 0.055;
  mix-blend-mode: overlay;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 10001;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

/* 顶部导航 ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 184, 125, 0.22), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 9, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(145deg, #c84334, #98271f);
  color: #f7e8c8;
  font-family: var(--kai);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 180, 0.4),
    inset 0 0 0 4px rgba(120, 24, 18, 0.26),
    0 6px 18px rgba(0, 0, 0, 0.35);
  transform: rotate(-2.5deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 7.5px;
  letter-spacing: 0.32em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.main-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  line-height: 1.2;
  color: var(--paper-2);
  transition: color 0.3s;
}

.main-nav a em {
  font-family: var(--serif);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.18em;
}

.main-nav a span {
  margin-top: 5px;
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 7px;
  letter-spacing: 0.24em;
  transition: color 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-3);
}

.main-nav a:hover span,
.main-nav a.is-active span {
  color: var(--gold-2);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.season-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--paper-2);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s, color 0.3s;
}

.season-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(208, 73, 58, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

.season-chip b {
  color: var(--gold);
  font-weight: 400;
}

.season-chip:hover {
  border-color: rgba(215, 184, 125, 0.45);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 4px 0;
  background: var(--paper);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(4, 6, 5, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

body.nav-open .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

/* 开场 ------------------------------------------------------------------- */
.boot {
  min-height: 82vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
}

.boot-seal {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(145deg, #c84334, #8e241d);
  color: #f7e8c8;
  font-family: var(--kai);
  font-size: 38px;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.38);
  animation: bootPulse 1.8s ease-in-out infinite;
}

.boot p {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.42em;
}

/* 按钮 ------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 27px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, color 0.35s, background 0.35s;
}

.btn span {
  font-family: var(--num);
  font-size: 15px;
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(120deg, #e8ce9a, #c19a5b 55%, #d9bb83);
  color: #17130b;
  box-shadow: 0 10px 36px rgba(180, 139, 75, 0.16);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(180, 139, 75, 0.26);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--paper-2);
}

.btn-ghost:hover {
  border-color: rgba(215, 184, 125, 0.55);
  background: rgba(215, 184, 125, 0.05);
  color: var(--paper);
  transform: translateY(-2px);
}

/* 首页 Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 86px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 9, 0.2), rgba(8, 10, 9, 0.2) 55%, var(--ink) 100%),
    radial-gradient(60% 55% at 70% 42%, rgba(130, 54, 38, 0.22), transparent 70%);
}

.hero-sun {
  position: absolute;
  top: 13%;
  right: 8%;
  width: min(500px, 38vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(178, 65, 45, 0.38), rgba(132, 43, 31, 0.18) 48%, transparent 68%);
  filter: blur(6px);
  opacity: 0.9;
  animation: breathe 9s ease-in-out infinite;
}

.hero-glyph {
  position: absolute;
  right: -5vw;
  bottom: -18%;
  color: transparent;
  font-family: "Ma Shan Zheng", var(--kai);
  font-size: clamp(420px, 56vw, 880px);
  font-weight: 700;
  line-height: 0.78;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.075);
  user-select: none;
}

.hero-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-cloud.c1 {
  width: 460px;
  height: 240px;
  top: 16%;
  left: -12%;
  background: rgba(45, 67, 53, 0.5);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-cloud.c2 {
  width: 380px;
  height: 260px;
  bottom: 4%;
  right: 22%;
  background: rgba(96, 49, 34, 0.38);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.34em;
  animation: riseIn 1s var(--ease) both;
}

.hero-eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-title {
  margin: 22px 0 0;
  font-family: "Ma Shan Zheng", var(--kai);
  font-size: clamp(96px, 13.2vw, 184px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.015em;
  background: linear-gradient(175deg, #f8efd9 0%, #e6cc9d 38%, #c49a5e 68%, #8f6a38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 38px rgba(0, 0, 0, 0.45));
  animation: riseIn 1.1s 0.08s var(--ease) both;
}

.hero-title span {
  display: inline-block;
  transition: transform 0.5s var(--ease);
}

.hero-title span:hover {
  transform: translateY(-6px) rotate(-2deg);
}

.hero-latin {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  color: var(--gold-2);
  font-family: var(--num);
  font-size: 9px;
  letter-spacing: 0.48em;
  animation: riseIn 1.1s 0.16s var(--ease) both;
}

.hero-latin em {
  color: var(--red-bright);
  font-style: normal;
}

.hero-lead {
  max-width: 30em;
  margin-top: 38px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.65;
  letter-spacing: 0.06em;
  color: var(--paper);
  animation: riseIn 1.1s 0.24s var(--ease) both;
}

.hero-desc {
  max-width: 30em;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
  animation: riseIn 1.1s 0.32s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
  animation: riseIn 1.1s 0.4s var(--ease) both;
}

.hero-meta {
  display: flex;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  animation: riseIn 1.1s 0.5s var(--ease) both;
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 108px;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid var(--line-soft);
}

.hero-meta > div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-meta strong {
  font-family: var(--num);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--gold-3);
}

.hero-meta span {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  animation: fadeIn 1.4s 0.25s var(--ease) both;
}

.emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: min(430px, 36vw);
  aspect-ratio: 1;
}

.emblem-glow {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(188, 84, 58, 0.22), rgba(159, 113, 56, 0.08) 48%, transparent 70%);
  filter: blur(22px);
  animation: breathe 7s ease-in-out infinite;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.emblem-ring.r1 {
  inset: 7%;
  border: 1px solid rgba(215, 184, 125, 0.24);
}

.emblem-ring.r2 {
  inset: 0;
  border: 1px dashed rgba(215, 184, 125, 0.16);
  animation: spin 70s linear infinite;
}

.emblem-orbit {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  animation: spin 46s linear infinite;
}

.emblem-orbit text {
  fill: rgba(215, 184, 125, 0.62);
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.38em;
}

.emblem-photo {
  position: relative;
  width: 53%;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(145deg, rgba(240, 223, 184, 0.75), rgba(120, 86, 43, 0.25));
  box-shadow:
    0 0 0 1px rgba(215, 184, 125, 0.2),
    0 30px 90px rgba(0, 0, 0, 0.65);
}

.emblem-photo::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(215, 184, 125, 0.12);
}

.emblem-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.8s var(--ease), filter 0.8s;
}

.emblem:hover .emblem-photo img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.02);
}

.emblem-role {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  padding: 5px 16px;
  border: 1px solid rgba(215, 184, 125, 0.35);
  border-radius: 999px;
  background: rgba(8, 10, 9, 0.88);
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.emblem-tick {
  position: absolute;
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(215, 184, 125, 0.55), transparent);
}

.emblem-tick.t {
  top: 2.5%;
  left: 50%;
}

.emblem-tick.b {
  bottom: 2.5%;
  left: 50%;
}

.emblem-tick.l {
  left: 2.5%;
  top: 50%;
  transform: rotate(90deg);
}

.emblem-tick.r {
  right: 2.5%;
  top: 50%;
  transform: rotate(90deg);
}

.seal-stamp {
  position: absolute;
  right: 3%;
  bottom: 7%;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(145deg, #be3b2e, #8e241d);
  color: #f7e8c8;
  font-family: var(--kai);
  font-size: 39px;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 180, 0.42),
    inset 0 0 0 5px rgba(112, 21, 15, 0.26),
    0 16px 34px rgba(0, 0, 0, 0.45);
  transform: rotate(-7deg);
  animation: float 6s ease-in-out infinite;
}

.seal-stamp small {
  position: absolute;
  bottom: 6px;
  font-family: var(--num);
  font-size: 5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.hero-side-note {
  position: absolute;
  left: 22px;
  bottom: 96px;
  writing-mode: vertical-rl;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.5em;
  opacity: 0.75;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 7px;
  letter-spacing: 0.38em;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}

/* 跑马灯 ----------------------------------------------------------------- */
.ticker {
  position: relative;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 30px;
  padding-right: 30px;
}

.ticker span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.ticker b {
  color: var(--red-bright);
  font-size: 7px;
  font-weight: 400;
}

/* 通用区块 --------------------------------------------------------------- */
.section {
  position: relative;
  padding: 118px 0;
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

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

.eyebrow {
  display: block;
  color: var(--gold-2);
  font-family: var(--num);
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 13px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.08em;
}

.section-head h2 em {
  color: var(--gold);
  font-style: normal;
}

.section-head p {
  max-width: 34em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(215, 184, 125, 0.35);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}

.more-link:hover {
  gap: 18px;
  border-color: var(--gold);
}

/* 关于 / 盟约 ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 310px;
  gap: 56px;
  align-items: start;
}

.about-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.vertical-title {
  writing-mode: vertical-rl;
  color: rgba(236, 229, 214, 0.9);
  font-family: "Ma Shan Zheng", var(--kai);
  font-size: 42px;
  letter-spacing: 0.28em;
  line-height: 1;
}

.about-side .seal-mini {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 28px;
  border: 1px solid rgba(184, 50, 39, 0.6);
  color: var(--red-bright);
  font-family: var(--kai);
  font-size: 17px;
  transform: rotate(-4deg);
}

.about-side::after {
  content: "";
  width: 1px;
  height: 88px;
  margin-top: 26px;
  background: linear-gradient(180deg, var(--line), transparent);
}

.about-lead {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.about-lead em {
  color: var(--gold);
  font-style: normal;
}

.about-body {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 2;
}

.about-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.about-sign::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-2);
}

.founder-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(215, 184, 125, 0.05), transparent 58%),
    rgba(255, 255, 255, 0.014);
}

.founder-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--gold-2);
  border-left: 1px solid var(--gold-2);
}

.founder-card-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.founder-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 3px;
  border: 1px solid var(--line);
  flex: none;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.founder-card-head span {
  display: block;
  color: var(--gold-2);
  font-size: 8px;
  letter-spacing: 0.28em;
}

.founder-card-head h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.founder-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.founder-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-2);
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: color 0.3s;
}

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

.founder-link span {
  font-family: var(--num);
  font-size: 14px;
}

/* 本赛季 ----------------------------------------------------------------- */
.current-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.season-hero-card {
  position: relative;
  padding: 40px 42px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(152, 56, 39, 0.2), transparent 58%),
    linear-gradient(150deg, rgba(215, 184, 125, 0.06), transparent 55%),
    var(--ink-1);
  overflow: hidden;
}

.season-hero-card::before {
  content: attr(data-code);
  position: absolute;
  right: -10px;
  bottom: -44px;
  color: transparent;
  font-family: var(--num);
  font-size: 210px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.11);
  pointer-events: none;
}

.season-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.season-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(208, 73, 58, 0.32);
  border-radius: 999px;
  color: #e39b8c;
  font-size: 8px;
  letter-spacing: 0.2em;
  background: rgba(184, 50, 39, 0.08);
}

.status-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-bright);
  animation: pulse 2s infinite;
}

.status-pill.archived {
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
}

.status-pill.archived i {
  background: var(--muted-2);
  animation: none;
  box-shadow: none;
}

.season-hero-card h3 {
  position: relative;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.season-hero-card h3 span {
  color: var(--gold);
}

.season-hero-card > p {
  position: relative;
  max-width: 33em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.season-facts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.season-facts li {
  padding: 6px 11px;
  border: 1px solid var(--line-soft);
  color: var(--paper-2);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.snapshot {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line-soft);
}

.snapshot-head h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.snapshot-head span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.snapshot-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.snapshot-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-height: 78px;
  padding: 15px 26px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
}

.snapshot-row:last-child {
  border-bottom: 0;
}

.snapshot-row:hover {
  background: rgba(215, 184, 125, 0.035);
}

.snapshot-cat {
  color: var(--gold-2);
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.snapshot-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.snapshot-name strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snapshot-name strong a,
.merit-name strong a,
.mini-name a,
.official-card h3 a {
  transition: color 0.3s;
}

.snapshot-name strong a:hover,
.merit-name strong a:hover,
.mini-name a:hover,
.official-card h3 a:hover {
  color: var(--gold);
}

.snapshot-name span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.snapshot-value {
  font-family: var(--num);
  font-size: 17px;
  color: var(--paper-2);
}

.snapshot-value small {
  margin-left: 3px;
  color: var(--muted-2);
  font-size: 9px;
}

.snapshot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: background 0.3s;
}

.snapshot-foot:hover {
  background: rgba(215, 184, 125, 0.05);
}

.snapshot-empty {
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.snapshot-pending {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 26px;
  text-align: center;
}

.snapshot-pending p {
  max-width: 240px;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.9;
}

/* 战史预览 --------------------------------------------------------------- */
.era-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.era-card {
  position: relative;
  display: block;
  padding: 34px 34px 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(215, 184, 125, 0.05), transparent 52%),
    rgba(255, 255, 255, 0.012);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.era-card::after {
  content: attr(data-code);
  position: absolute;
  right: 16px;
  top: -26px;
  color: transparent;
  font-family: var(--num);
  font-size: 150px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.08);
  transition: -webkit-text-stroke-color 0.4s;
}

.era-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 184, 125, 0.42);
  background:
    linear-gradient(155deg, rgba(215, 184, 125, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.02);
}

.era-card:hover::after {
  -webkit-text-stroke-color: rgba(215, 184, 125, 0.16);
}

.era-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.26em;
}

.era-card-top i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-bright);
}

.era-card h3 {
  position: relative;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.era-card .era-server {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.era-card p {
  position: relative;
  max-width: 30em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.era-card-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-2);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.era-card-foot span:last-child {
  color: var(--gold);
  font-family: var(--num);
  font-size: 14px;
  transition: transform 0.3s;
}

.era-card:hover .era-card-foot span:last-child {
  transform: translateX(5px);
}

/* 名册 CTA --------------------------------------------------------------- */
.roster-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 64px 56px;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 8% 100%, rgba(184, 50, 39, 0.15), transparent 60%),
    linear-gradient(120deg, rgba(215, 184, 125, 0.05), transparent 60%),
    var(--ink-1);
  overflow: hidden;
}

.roster-cta::before {
  content: "名册";
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  font-family: "Ma Shan Zheng", var(--kai);
  font-size: clamp(120px, 17vw, 230px);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.09);
  pointer-events: none;
  white-space: nowrap;
}

.roster-cta-copy {
  position: relative;
}

.roster-cta h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.roster-cta h2 em {
  color: var(--gold);
  font-style: normal;
}

.roster-cta p {
  max-width: 36em;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}

.roster-cta .btn {
  position: relative;
}

/* 子页页头 --------------------------------------------------------------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 82px) 0 64px;
  overflow: hidden;
}

.page-head::after {
  content: attr(data-word);
  position: absolute;
  right: -20px;
  bottom: -30px;
  color: transparent;
  font-family: var(--num);
  font-size: clamp(110px, 18vw, 260px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.07);
  pointer-events: none;
  white-space: nowrap;
}

.page-head-inner {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(52px, 7.4vw, 92px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.1em;
}

.page-head h1 em {
  color: var(--gold);
  font-style: normal;
}

.page-head p {
  max-width: 42em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.page-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.page-head-meta b {
  color: var(--gold);
  font-weight: 400;
}

/* 赛季切换 --------------------------------------------------------------- */
.season-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
}

.season-tabs button {
  min-width: 68px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.16em;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}

.season-tabs button:hover {
  color: var(--paper);
}

.season-tabs button.is-active {
  background: linear-gradient(120deg, #e6cc9b, #bd9558);
  color: #17130b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

/* 名册 ------------------------------------------------------------------- */
.roster-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.roster-toolbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.roster-count {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.roster-count b {
  margin-right: 3px;
  color: var(--gold);
  font-family: var(--num);
  font-size: 19px;
  font-weight: 400;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(290px, 100%);
  padding: 9px 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.3s, background 0.3s;
}

.search-box:focus-within {
  border-color: rgba(215, 184, 125, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.search-box svg {
  flex: none;
  width: 14px;
  height: 14px;
  stroke: var(--muted-2);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
}

.search-box input::placeholder {
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 258px;
  padding: 23px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.006) 58%),
    var(--ink-1);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.member-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  border-top: 1px solid rgba(215, 184, 125, 0.55);
  border-left: 1px solid rgba(215, 184, 125, 0.55);
  opacity: 0;
  transition: opacity 0.4s;
}

.member-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 184, 125, 0.1), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 184, 125, 0.4);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.member-card:hover::before,
.member-card:hover::after {
  opacity: 1;
}

.member-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-2);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.seal {
  border-radius: 9px;
  border-color: rgba(184, 50, 39, 0.46);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(145deg, #b53a2d, #81211a);
  color: #f7e8c8;
  font-family: var(--kai);
  font-size: 25px;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(112, 21, 15, 0.18);
}

.avatar.seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 226, 180, 0.24);
  border-radius: 4px;
}

.member-id {
  min-width: 0;
  flex: 1;
}

.role {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.role-founder {
  border-color: rgba(208, 73, 58, 0.4);
  color: #e39b8c;
  background: rgba(184, 50, 39, 0.08);
}

.role-leader {
  border-color: rgba(215, 184, 125, 0.48);
  color: var(--gold-3);
  background: rgba(215, 184, 125, 0.09);
}

.role-vice {
  border-color: rgba(215, 184, 125, 0.4);
  color: var(--gold);
  background: rgba(215, 184, 125, 0.06);
}

.role-commander {
  border-color: rgba(125, 156, 137, 0.38);
  color: var(--jade);
  background: rgba(125, 156, 137, 0.06);
}

.role-officer {
  border-color: rgba(142, 166, 180, 0.34);
  color: var(--blue);
  background: rgba(142, 166, 180, 0.05);
}

.member-id h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-join {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.member-arrow {
  align-self: flex-start;
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 14px;
  transition: color 0.3s, transform 0.3s;
}

.member-card:hover .member-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}

.member-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.member-tags span {
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}

.member-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-stats span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.member-stats strong {
  color: var(--paper-2);
  font-family: var(--num);
  font-size: 15px;
  font-weight: 400;
}

.member-stats strong em {
  margin-left: 2px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
}

.member-stats .is-empty strong {
  color: var(--muted-2);
}

.member-stats.is-single {
  grid-template-columns: 1fr;
}

.member-stats.is-single > div {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.member-stats.is-single strong {
  font-size: 20px;
}

/* 空状态 ----------------------------------------------------------------- */
.empty-state {
  position: relative;
  display: grid;
  place-items: center;
  gap: 13px;
  min-height: 240px;
  padding: 38px 26px;
  border: 1px dashed rgba(215, 184, 125, 0.22);
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
}

.empty-seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
  border: 1px solid rgba(215, 184, 125, 0.35);
  color: var(--gold-2);
  font-family: var(--kai);
  font-size: 22px;
  transform: rotate(-3deg);
}

.empty-state h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.empty-state p {
  max-width: 30em;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.9;
}

.empty-state a {
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(215, 184, 125, 0.3);
}

.roster-empty {
  grid-column: 1 / -1;
}

/* 成员详情 --------------------------------------------------------------- */
.profile {
  padding: calc(var(--header-h) + 62px) 0 110px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  transition: color 0.3s, gap 0.3s;
}

.back-link:hover {
  gap: 15px;
  color: var(--gold);
}

.profile-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.profile-card {
  position: sticky;
  top: 108px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(215, 184, 125, 0.055), transparent 55%),
    var(--ink-1);
}

.profile-portrait {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-portrait.seal {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(145deg, #b83e30, #7c1f18);
}

.profile-portrait.seal > span:first-child {
  color: #f7e8c8;
  font-family: var(--kai);
  font-size: 108px;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.profile-portrait.seal::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 226, 180, 0.28);
}

.portrait-stamp {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 226, 180, 0.55);
  color: #f7e8c8;
  font-family: var(--kai);
  font-size: 13px;
  letter-spacing: 0.08em;
  background: rgba(140, 34, 26, 0.76);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: rotate(-5deg);
}

.profile-card-body {
  padding: 24px 4px 4px;
}

.profile-role {
  color: var(--gold-2);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.profile-card h1 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  word-break: break-word;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.profile-tags span {
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.profile-facts {
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.profile-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.profile-facts dt {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.profile-facts dd {
  color: var(--paper-2);
  font-size: 11px;
  text-align: right;
  letter-spacing: 0.06em;
}

.profile-facts dd a {
  color: var(--gold);
  border-bottom: 1px solid rgba(215, 184, 125, 0.3);
}

.profile-main {
  min-width: 0;
}

.profile-quote {
  position: relative;
  padding: 30px 34px 30px 58px;
  border-left: 1px solid var(--gold-2);
  background: linear-gradient(90deg, rgba(215, 184, 125, 0.06), transparent 70%);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.profile-quote::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: 6px;
  color: var(--gold-2);
  font-family: var(--num);
  font-size: 54px;
  line-height: 1;
  opacity: 0.7;
}

.profile-section {
  margin-top: 46px;
}

.profile-section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.profile-section-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.profile-section-head span {
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 8px;
  letter-spacing: 0.24em;
}

.profile-bio {
  display: grid;
  gap: 15px;
  color: var(--paper-2);
  font-size: 14px;
  line-height: 2.1;
}

.season-stats {
  display: grid;
  gap: 16px;
}

.season-stat-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.season-stat-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 18px;
  border-right: 1px solid var(--line-soft);
}

.season-stat-label strong {
  color: var(--gold);
  font-family: var(--num);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.season-stat-label span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.season-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.season-stat-body {
  min-width: 0;
}

.season-stat-grid div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.season-stat-grid span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.season-stat-grid b {
  color: var(--paper);
  font-family: var(--num);
  font-size: 19px;
  font-weight: 400;
}

.season-stat-grid b em {
  margin-left: 2px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
}

.season-stat-grid b.is-empty {
  color: var(--muted-2);
}

.season-stat-grid.is-single {
  grid-template-columns: 1fr;
}

.season-stat-grid.is-single b {
  font-size: 28px;
}

.profile-empty-note {
  color: var(--muted-2);
  font-size: 12px;
}

.profile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.profile-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--paper-2);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.profile-nav a span {
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 7px;
  letter-spacing: 0.2em;
}

.profile-nav a:hover {
  color: var(--gold);
}

.profile-nav a.next {
  align-items: flex-end;
  text-align: right;
}

/* 榜单 ------------------------------------------------------------------- */
.rank-block {
  margin-top: 62px;
}

.rank-block:first-of-type {
  margin-top: 0;
}

.rank-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.rank-head h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.rank-head h2 small {
  display: inline-block;
  margin-left: 12px;
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.24em;
  vertical-align: middle;
}

.rank-head p {
  max-width: 34em;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 11px;
}

.rank-note {
  flex: none;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.official-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(215, 184, 125, 0.055), transparent 55%),
    var(--ink-1);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.official-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 184, 125, 0.42);
}

.official-card::after {
  content: attr(data-role);
  position: absolute;
  right: -4px;
  bottom: -18px;
  color: transparent;
  font-family: var(--kai);
  font-size: 70px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.07);
  pointer-events: none;
}

.official-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.official-card .avatar {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

.official-role {
  color: var(--gold-2);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.official-card h3 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.official-note {
  position: relative;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.official-empty {
  grid-column: 1 / -1;
}

.merit-board {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.merit-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(90px, 180px) 120px;
  align-items: center;
  gap: 20px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s;
}

.merit-row:last-child {
  border-bottom: 0;
}

.merit-row:hover {
  background: rgba(215, 184, 125, 0.035);
}

.merit-row.is-medal {
  background: linear-gradient(90deg, rgba(215, 184, 125, 0.045), transparent 62%);
}

.merit-no {
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 17px;
  letter-spacing: 0.05em;
}

.merit-row.is-medal .merit-no {
  color: var(--gold);
  font-size: 22px;
}

.merit-name {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.merit-name strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merit-name .role {
  flex: none;
  transform: scale(0.9);
  transform-origin: left center;
}

.merit-bar {
  position: relative;
  display: block;
  height: 2px;
  background: rgba(236, 229, 214, 0.08);
  overflow: hidden;
}

.merit-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform-origin: left;
  animation: barGrow 1.1s var(--ease) both;
}

.merit-value {
  color: var(--paper-2);
  font-family: var(--num);
  font-size: 17px;
  text-align: right;
  letter-spacing: 0.04em;
}

.merit-value small {
  margin-left: 4px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 8px;
}

.mini-board .rank-empty {
  border: 0;
  background: transparent;
}

.rank-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 62px;
}

.mini-board {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.mini-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.mini-board-head h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mini-board-head span {
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.mini-list {
  padding: 6px 0;
}

.mini-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  transition: background 0.3s;
}

.mini-row:hover {
  background: rgba(215, 184, 125, 0.035);
}

.mini-rank {
  color: var(--gold-2);
  font-family: var(--num);
  font-size: 15px;
}

.mini-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-name em {
  margin-left: 7px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
}

.mini-value {
  color: var(--paper-2);
  font-family: var(--num);
  font-size: 16px;
}

.mini-value small {
  margin-left: 3px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 8px;
}

.rank-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  padding: 32px 24px;
  border: 1px dashed rgba(215, 184, 125, 0.22);
  text-align: center;
  background: rgba(255, 255, 255, 0.008);
}

.rank-empty .empty-seal {
  margin-bottom: 2px;
}

.rank-empty h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.rank-empty p {
  max-width: 28em;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.85;
}

.rank-empty.small {
  min-height: 150px;
}

/* 战史 ------------------------------------------------------------------- */
.history-wrap {
  position: relative;
}

.era-line {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--line);
}

.era-line-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.era-line-item::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 184, 125, 0.32), transparent);
}

.era-line-item:last-child {
  flex: none;
}

.era-line-item:last-child::after {
  display: none;
}

.era-line-item b {
  color: var(--gold);
  font-weight: 400;
}

.era-line-item.is-live b {
  color: var(--red-bright);
}

.archive {
  position: relative;
  padding: 54px 0 66px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.archive::after {
  content: attr(data-code);
  position: absolute;
  right: -2%;
  top: 6%;
  color: transparent;
  font-family: var(--num);
  font-size: clamp(160px, 24vw, 340px);
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.06);
  pointer-events: none;
}

.archive:last-child {
  border-bottom: 0;
}

.archive-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.archive-code {
  font-family: var(--num);
  font-size: clamp(64px, 8.5vw, 116px);
  line-height: 0.78;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(215, 184, 125, 0.46);
}

.archive-code.live {
  color: var(--red-bright);
  -webkit-text-stroke: 0;
  text-shadow: 0 10px 40px rgba(184, 50, 39, 0.2);
}

.archive-title .archive-server {
  color: var(--gold-2);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.archive-title h2 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.archive-title p {
  max-width: 42em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.archive-stamp {
  align-self: start;
  padding: 9px 13px;
  border: 1px solid rgba(184, 50, 39, 0.55);
  color: var(--red-bright);
  font-family: var(--kai);
  font-size: 13px;
  letter-spacing: 0.14em;
  transform: rotate(-4deg);
  opacity: 0.85;
}

.archive-stamp.live {
  border-color: rgba(125, 156, 137, 0.48);
  color: var(--jade);
}

.archive-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 60px;
  margin-top: 44px;
  padding-left: 244px;
}

.archive-summary h3 {
  color: var(--gold);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
}

.archive-summary p {
  margin-top: 13px;
  color: var(--paper-2);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.archive-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.archive-facts span {
  padding: 5px 10px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.archive-result {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.archive-result b {
  color: var(--gold-2);
  font-weight: 400;
}

.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 19px;
}

.archive-roster-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(215, 184, 125, 0.32);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: gap 0.3s var(--ease), border-color 0.3s;
}

.archive-roster-link span {
  font-family: var(--num);
  font-size: 13px;
}

.archive-roster-link:hover {
  gap: 15px;
  border-color: var(--gold);
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(215, 184, 125, 0.4), rgba(215, 184, 125, 0.06));
}

.tl-item {
  position: relative;
  padding: 0 0 28px 20px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold-2);
}

.tl-item.is-doing::before {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(208, 73, 58, 0.1);
  animation: pulse 2.2s infinite;
}

.tl-tag {
  color: var(--gold-2);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.tl-item h3 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.tl-item p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
}

.tl-item.is-doing .tl-tag {
  color: #e39b8c;
}

/* 404 -------------------------------------------------------------------- */
.not-found {
  min-height: 78vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 140px 24px 80px;
  text-align: center;
}

.not-found .empty-seal {
  width: 64px;
  height: 64px;
  font-size: 30px;
}

.not-found h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.not-found p {
  color: var(--muted);
  font-size: 12px;
}

/* 页脚 ------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(215, 184, 125, 0.035), transparent 60%),
    var(--ink-1);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 1fr 1.35fr;
  gap: 46px;
  padding: 64px 0 48px;
}

.footer-brand .brand-seal {
  width: 46px;
  height: 46px;
  font-size: 26px;
}

.footer-name {
  margin-top: 17px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.footer-latin {
  margin-top: 4px;
  color: var(--muted-2);
  font-family: var(--num);
  font-size: 7px;
  letter-spacing: 0.3em;
}

.footer-motto {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.footer-col {
  padding-top: 6px;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--gold-2);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bili {
  margin-top: 14px;
  color: var(--paper-2) !important;
}

.footer-credit {
  color: var(--muted-2) !important;
  font-size: 10px !important;
  line-height: 1.9 !important;
}

.footer-updated {
  margin-top: 15px;
  color: var(--muted-2) !important;
  font-family: var(--num);
  font-size: 8px !important;
  letter-spacing: 0.14em !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.footer-mark {
  font-family: var(--num);
  letter-spacing: 0.16em;
}

/* toast ------------------------------------------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 120;
  padding: 11px 20px;
  border: 1px solid var(--line);
  background: rgba(12, 15, 13, 0.94);
  color: var(--paper-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s, transform 0.3s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 动效 ------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(208, 73, 58, 0.22);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 5px rgba(208, 73, 58, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(40px, -22px, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-8px);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  35% {
    transform: scaleY(1);
    opacity: 1;
  }
  75% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
    transform-origin: bottom;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes bootPulse {
  0%,
  100% {
    transform: scale(1) rotate(-2deg);
    box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.38), 0 0 0 0 rgba(184, 50, 39, 0);
  }
  50% {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.38), 0 0 40px 8px rgba(184, 50, 39, 0.16);
  }
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* 响应式 ----------------------------------------------------------------- */
@media (max-width: 1160px) {
  .about-grid {
    grid-template-columns: 100px minmax(0, 1fr) 280px;
    gap: 38px;
  }

  .vertical-title {
    font-size: 34px;
  }

  .profile-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 40px;
  }

  .archive-grid {
    padding-left: 0;
    gap: 40px;
  }

  .roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wrap {
    width: min(1240px, calc(100% - 56px));
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 96;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: min(86vw, 380px);
    height: 100dvh;
    padding: 90px 38px 40px;
    border-left: 1px solid var(--line);
    background:
      radial-gradient(80% 50% at 100% 0%, rgba(184, 50, 39, 0.14), transparent 60%),
      var(--ink-1);
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 0.45s var(--ease), visibility 0.45s;
  }

  .main-nav::before {
    content: "卷 宗";
    position: absolute;
    top: 34px;
    left: 38px;
    color: var(--muted-2);
    font-size: 8px;
    letter-spacing: 0.4em;
  }

  body.nav-open .main-nav {
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav a em {
    font-size: 24px;
    letter-spacing: 0.18em;
  }

  .main-nav a span {
    margin-top: 0;
    font-size: 7px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
    z-index: 100;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 60px) 0 90px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 400px;
    order: 2;
  }

  .emblem {
    width: min(340px, 62vw);
  }

  .hero-sun {
    top: auto;
    bottom: 8%;
    right: 50%;
    width: 60vw;
    transform: translateX(50%);
  }

  .hero-glyph {
    right: -12%;
    bottom: -8%;
    font-size: 68vw;
  }

  .hero-side-note {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 34px;
  }

  .about-side {
    display: none;
  }

  .current-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 92px 0;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 34px;
  }

  .footer-meta-col {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .profile-card {
    position: static;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .profile-card-body {
    padding: 0;
  }

  .profile-portrait.seal > span:first-child {
    font-size: 80px;
  }

  .archive-head {
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 24px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 34px;
  }

  .rank-row,
  .merit-row {
    grid-template-columns: 46px minmax(0, 1fr) 100px;
  }

  .merit-bar {
    display: none;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  :root {
    --header-h: 70px;
  }

  .brand-text small {
    display: none;
  }

  .season-chip {
    display: none;
  }

  .hero-title {
    font-size: clamp(84px, 25vw, 132px);
  }

  .hero-latin {
    letter-spacing: 0.34em;
  }

  .hero-lead {
    margin-top: 30px;
    font-size: 19px;
  }

  .hero-meta > div {
    min-width: 0;
    flex: 1;
    padding-right: 16px;
    margin-right: 16px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .seal-stamp {
    width: 62px;
    height: 62px;
    font-size: 31px;
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .section-head .more-link {
    margin-top: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    max-width: none;
  }

  .about-lead {
    font-size: 20px;
  }

  .season-hero-card {
    padding: 30px 25px;
  }

  .season-hero-card h3 {
    font-size: 40px;
  }

  .era-track {
    grid-template-columns: 1fr;
  }

  .era-card {
    padding: 28px 25px;
  }

  .roster-cta {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 26px;
  }

  .roster-cta::before {
    font-size: 130px;
    opacity: 0.7;
  }

  .roster-grid {
    grid-template-columns: 1fr;
  }

  .roster-toolbar {
    align-items: flex-start;
  }

  .roster-toolbar-left {
    width: 100%;
    justify-content: space-between;
  }

  .search-box {
    width: 100%;
  }

  .page-head {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 44px;
  }

  .page-head h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .profile {
    padding-top: calc(var(--header-h) + 40px);
  }

  .profile-card {
    display: block;
  }

  .profile-card-body {
    padding: 22px 2px 2px;
  }

  .profile-quote {
    padding: 24px 22px 24px 46px;
    font-size: 17px;
  }

  .season-stat-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .season-stat-label {
    flex-direction: row;
    align-items: baseline;
    gap: 9px;
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .season-stat-label strong {
    font-size: 20px;
  }

  .rank-split {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .rank-block {
    margin-top: 46px;
  }

  .rank-head {
    display: block;
  }

  .rank-note {
    display: block;
    margin-top: 8px;
  }

  .archive {
    padding: 42px 0 50px;
  }

  .archive-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive-code {
    font-size: 72px;
  }

  .archive-stamp {
    justify-self: start;
  }

  .archive-title h2 {
    font-size: 30px;
  }

  .archive-grid {
    margin-top: 26px;
  }

  .archive-summary p {
    font-size: 15px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 46px 0 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-meta-col {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta strong {
    font-size: 22px;
  }

  .emblem {
    width: 78vw;
  }

  .emblem-orbit {
    display: none;
  }

  .season-facts {
    gap: 6px;
  }

  .season-facts li {
    font-size: 8px;
  }

  .merit-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .merit-name .role {
    display: none;
  }

  .merit-value {
    font-size: 15px;
  }

  .rank-head h2 {
    font-size: 24px;
  }

  .season-stat-grid {
    gap: 9px;
  }

  .season-stat-grid b {
    font-size: 17px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* 账号系统 --------------------------------------------------------------- */
.auth-section {
  padding-top: 0;
}

.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.auth-card,
.auth-side,
.account-summary,
.account-panel,
.admin-block {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.auth-card {
  padding: 36px 40px;
}

.auth-side {
  position: relative;
  padding: 32px 34px;
  overflow: hidden;
}

.auth-side::before {
  content: "豪";
  position: absolute;
  right: -18px;
  bottom: -34px;
  color: rgba(215, 184, 125, 0.035);
  font-family: var(--kai);
  font-size: 180px;
  line-height: 1;
  pointer-events: none;
}

.auth-kicker {
  display: block;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.auth-card-head {
  margin-bottom: 26px;
}

.auth-card h2,
.auth-side h2,
.account-panel h2,
.account-summary h2 {
  margin: 9px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.auth-card-head p,
.auth-side p,
.account-panel p,
.account-summary p {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.9;
}

.auth-form {
  display: grid;
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.022);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: #0c100d;
  color: var(--paper);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(215, 184, 125, 0.58);
  background: rgba(215, 184, 125, 0.035);
}

.field-hint {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.form-note {
  min-height: 18px;
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

.form-note.is-error {
  color: #df9d9d;
}

.form-note.is-ok {
  color: var(--gold-2);
}

.auth-form > .btn {
  width: 100%;
}

.auth-alt {
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 11px;
}

.auth-alt a {
  color: var(--gold);
}

.auth-offline {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 184, 125, 0.24);
  background: rgba(215, 184, 125, 0.035);
}

.auth-offline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.auth-offline p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.8;
}

.auth-offline code {
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
  color: var(--paper-2);
  font-family: var(--num);
  font-size: 10px;
}

.auth-steps {
  display: grid;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.auth-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.auth-steps b {
  color: var(--gold);
  font-family: var(--num);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.auth-steps h3 {
  margin: 0 0 4px;
  color: var(--paper-2);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.auth-steps p {
  margin: 0;
  font-size: 11px;
  line-height: 1.75;
}

.auth-side-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.8;
}

.auth-signed h2 {
  margin-top: 14px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.account-actions .btn {
  width: auto;
}

.auth-signed .account-actions {
  margin-top: 26px;
}

.account-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.account-status.is-pending {
  border-color: rgba(215, 184, 125, 0.36);
  color: var(--gold-2);
}

.account-status.is-approved {
  border-color: rgba(126, 175, 124, 0.38);
  color: #a7c79e;
}

.account-status.is-rejected {
  border-color: rgba(184, 80, 71, 0.45);
  color: #d69b96;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-summary {
  padding: 30px 26px;
}

.account-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.avatar-xl {
  width: 112px;
  height: 112px;
}

.avatar-xl.seal {
  font-size: 46px;
}

.account-summary h2 {
  margin-top: 15px;
  font-size: 26px;
}

.account-role {
  margin: 0;
  color: var(--muted-2);
}

.account-meta {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.account-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.account-meta dt {
  flex: none;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.account-meta dd {
  margin: 0;
  color: var(--paper-2);
  font-size: 11px;
  text-align: right;
  overflow-wrap: anywhere;
}

.account-meta dd a {
  color: var(--gold-2);
}

.account-panel {
  padding: 32px 36px;
}

.panel-head {
  margin-bottom: 24px;
}

.panel-head h2 {
  margin-top: 8px;
}

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.avatar-preview {
  flex: none;
}

.avatar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.avatar-controls .field-hint {
  flex-basis: 100%;
  margin: 0;
}

.btn-small {
  min-height: 36px;
  padding: 0 15px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.admin-panel {
  display: grid;
  gap: 22px;
}

.admin-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.admin-summary b {
  margin-left: 5px;
  color: var(--gold-2);
  font-family: var(--num);
  font-size: 16px;
  font-weight: 400;
}

.admin-summary .more-link {
  margin-left: auto;
}

.admin-block {
  padding: 28px 30px;
}

.admin-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.admin-row {
  display: grid;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.admin-person {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.admin-person h3 {
  margin: 4px 0 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.admin-person p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

.admin-person p strong {
  color: var(--paper-2);
  font-weight: 500;
}

.admin-person small {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.admin-message {
  margin: 0;
  padding: 10px 13px;
  border-left: 2px solid rgba(215, 184, 125, 0.28);
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.8;
}

.admin-note {
  display: grid;
  gap: 6px;
}

.admin-note > span {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.admin-note input {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  outline: none;
}

.admin-note input:focus {
  border-color: rgba(215, 184, 125, 0.55);
}

.admin-note-text {
  margin: 0;
  color: var(--muted-2);
  font-size: 10px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.admin-done {
  color: #a7c79e;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.admin-empty {
  padding: 40px 0;
  text-align: center;
}

.admin-empty h3 {
  margin: 12px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.admin-empty p,
.admin-loading {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.8;
}

.admin-loading {
  padding: 36px 0;
  text-align: center;
}

.admin-empty .empty-seal {
  margin: 0 auto;
}

.admin-empty.is-error h3 {
  color: #d69b96;
}

@media (max-width: 980px) {
  .auth-wrap,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .auth-side {
    order: 2;
  }
}

@media (max-width: 620px) {
  .auth-card,
  .auth-side,
  .account-summary,
  .account-panel,
  .admin-block {
    padding: 24px 20px;
  }

  .auth-card h2,
  .auth-side h2,
  .account-panel h2,
  .account-summary h2 {
    font-size: 24px;
  }

  .avatar-editor {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .account-actions .btn {
    flex: 1;
  }
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-topbar .more-link {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.admin-topbar .more-link:hover {
  color: var(--gold-2);
}

@media (max-width: 620px) {
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
.auth-setup {
  border-color: rgba(184, 50, 39, 0.34);
  background: rgba(184, 50, 39, 0.045);
}

/* 多角色绑定与搜索选择器 */
.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.account-user {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.account-user strong {
  color: var(--paper);
  font-weight: 500;
}

.binding-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.binding-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.binding-item strong {
  color: var(--paper);
  font-weight: 500;
}

.binding-item small {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.binding-item:hover,
.binding-item.is-active {
  border-color: rgba(201, 164, 92, 0.55);
  background: rgba(201, 164, 92, 0.07);
  color: var(--gold-2);
}

.binding-item.is-pending {
  border-style: dashed;
}

.binding-item.is-rejected {
  opacity: 0.68;
}

.season-tag {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid rgba(201, 164, 92, 0.32);
  color: var(--gold-2);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  vertical-align: middle;
}

.member-picker {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
  padding: 12px;
}

.picker-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.picker-search {
  flex: 1 1 220px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--paper);
  font: inherit;
  font-size: 12px;
  outline: none;
}

.picker-search:focus {
  border-color: rgba(201, 164, 92, 0.55);
}

.season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.season-tab {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.season-tab:hover,
.season-tab.is-active {
  border-color: rgba(201, 164, 92, 0.5);
  background: rgba(201, 164, 92, 0.08);
  color: var(--gold-2);
}

.picker-results {
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.picker-row:last-child {
  border-bottom: 0;
}

.picker-row:hover,
.picker-row.is-selected {
  background: rgba(201, 164, 92, 0.08);
}

.picker-avatar {
  flex: 0 0 auto;
}

.picker-avatar .avatar {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.picker-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.picker-main strong {
  overflow: hidden;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-main small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-check {
  flex: 0 0 auto;
  width: 22px;
  color: var(--gold-2);
  font-size: 15px;
  text-align: center;
}

.picker-row.is-selected .picker-check {
  color: #a7c79e;
}

.picker-empty,
.picker-more,
.picker-count {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

.picker-more {
  margin: 6px 0;
}

.picker-selected {
  margin-top: 10px;
}

.picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px 5px 8px;
  border: 1px solid rgba(201, 164, 92, 0.32);
  background: rgba(201, 164, 92, 0.06);
  color: var(--paper);
  font-size: 11px;
}

.picker-chip button {
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.picker-chip button:hover {
  color: #d69b96;
}

.binding-panel {
  margin-top: 18px;
}

.profile-conflict,
.admin-warning {
  margin: 0 0 16px;
  padding: 9px 11px;
  border-left: 2px solid rgba(201, 164, 92, 0.6);
  background: rgba(201, 164, 92, 0.06);
  color: var(--gold-2);
  font-size: 10px;
  line-height: 1.7;
}

.custom-request-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.custom-request {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 164, 92, 0.2);
  background: rgba(201, 164, 92, 0.035);
}

.custom-request strong {
  color: var(--paper);
  font-size: 13px;
}

.custom-request small {
  color: var(--muted-2);
  font-size: 10px;
}

.custom-request p {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

.admin-warning {
  margin: 8px 0 0;
  border-left-color: rgba(214, 155, 150, 0.65);
  color: #d6b0a0;
}

@media (max-width: 620px) {
  .account-topbar,
  .picker-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-topbar .btn {
    width: 100%;
  }

  .picker-search {
    width: 100%;
    flex-basis: auto;
  }

  .binding-item {
    flex: 1 1 calc(50% - 8px);
    justify-content: space-between;
  }
}
