:root {
  --ink: #172f30;
  --muted: #65716d;
  --paper: #f1e3d3;
  --panel: #fffaf1;
  --line: #dac7b0;
  --gold: #c99332;
  --seal: #b64b3e;
  --green: #416d64;
  --dark: #102d2f;
  --mist: #eef5ef;
  --peach: #fff0e7;
  --straw: #faf1d9;
  --shadow: 0 22px 60px rgba(16, 45, 47, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(23, 47, 48, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(23, 47, 48, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(201, 147, 50, 0.13), transparent 28%),
    var(--paper);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

button {
  cursor: pointer;
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(1160px, calc(100vw - 34px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 47, 48, 0.09);
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(16px);
}

.topbar .container {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--dark);
  border-radius: 8px;
  background: var(--dark);
  color: #fffaf1;
  box-shadow: 4px 4px 0 var(--seal);
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.brand small {
  color: var(--muted);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.ghost-btn,
.solid-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--dark);
  background: transparent;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.solid-btn {
  background: var(--dark);
  color: #fffaf1;
  box-shadow: 4px 4px 0 var(--gold);
}

.ghost-btn:hover,
.solid-btn:hover {
  transform: translateY(-2px);
}

.home-hero {
  padding: 34px 0 22px;
}

.home-card,
.server-card,
.question-card,
.panel,
.archive-card {
  border: 1px solid rgba(23, 47, 48, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
}

.home-card {
  display: grid;
  min-height: calc(100svh - 126px);
  grid-template-columns: minmax(0, 1fr) 0.9fr;
  overflow: hidden;
  border-color: var(--dark);
  box-shadow: 12px 12px 0 var(--green);
}

.home-copy {
  display: grid;
  align-content: center;
  padding: 44px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--seal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-title {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
}

.home-title span {
  display: block;
  color: var(--seal);
}

.home-title .home-title-label {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.15;
}

.home-description,
.result-description {
  max-width: 720px;
  margin-top: 18px;
  color: #4f5c59;
  font-size: 19px;
  line-height: 1.85;
}

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

.access-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(34px, 6vh, 62px) 0;
  background:
    radial-gradient(circle at 48% 36%, rgba(255, 193, 86, 0.28), transparent 30%),
    radial-gradient(circle at 66% 50%, rgba(231, 54, 36, 0.28), transparent 36%),
    radial-gradient(circle at 30% 76%, rgba(34, 95, 87, 0.24), transparent 34%),
    linear-gradient(135deg, #6a1713 0%, #371114 48%, #101918 100%);
  color: #fff7e8;
}

.access-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 202, 104, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 202, 104, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.46;
}

.access-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 0 38%, rgba(12, 8, 5, 0.28) 82%);
  pointer-events: none;
}

.access-layout {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 112px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.access-copy {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
}

.access-orbit {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(76vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 205, 104, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.access-orbit::before,
.access-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 205, 104, 0.2);
  border-radius: 50%;
}

.access-orbit::before {
  inset: 15%;
}

.access-orbit::after {
  inset: 31%;
}

.access-year {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(28px, 5vh, 48px);
  color: #ffd16d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 12px;
  text-shadow: 0 0 18px rgba(255, 105, 63, 0.35);
  text-transform: uppercase;
}

.access-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.access-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 214, 119, 0.74);
  background: #d72f22;
  color: #fff7e8;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(238, 51, 35, 0.28);
}

.access-brand b,
.access-brand small {
  display: block;
}

.access-brand b {
  color: #fff7e8;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 4px;
}

.access-brand small {
  margin-top: 4px;
  color: rgba(255, 209, 109, 0.9);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 5px;
}

.access-title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0 0.08em;
  font-family:
    "Songti SC", "Noto Serif CJK SC", SimSun, "Microsoft YaHei UI",
    "Microsoft YaHei", serif;
  font-size: clamp(74px, 14vw, 142px);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 26px rgba(255, 86, 49, 0.14),
    0 2px 0 rgba(255, 250, 241, 0.15);
}

.access-title span {
  display: inline-block;
}

.access-title .title-light {
  color: #fffaf0;
}

.access-title .title-gold {
  color: #ffc65f;
}

.access-english {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(255, 229, 176, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2.3vw, 24px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 3px;
}

.access-description {
  position: relative;
  z-index: 1;
  margin: clamp(28px, 4vh, 38px) auto 0;
  max-width: 720px;
  color: rgba(255, 249, 236, 0.9);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.8;
  letter-spacing: 4px;
}

.access-dynasty-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 720px;
  margin: 28px auto 0;
}

.access-dynasty-tags span {
  min-width: 76px;
  border: 1px solid rgba(255, 205, 104, 0.64);
  background: rgba(216, 47, 34, 0.16);
  color: rgba(255, 224, 159, 0.94);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
}

.access-config {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 520px;
  margin: 22px auto 0;
}

.access-config span {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 205, 104, 0.48);
  border-radius: 7px;
  background: rgba(255, 247, 232, 0.08);
  color: rgba(255, 247, 232, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.access-config b {
  color: #ffd16d;
  font-size: 23px;
  line-height: 1;
}

.access-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin: 28px auto 0;
}

.access-label {
  color: #fff7e8;
  font-weight: 850;
}

.password-field {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(255, 205, 104, 0.82);
  border-radius: 7px;
  background: rgba(17, 9, 7, 0.62);
  box-shadow:
    0 0 0 4px rgba(255, 205, 104, 0.1),
    0 0 26px rgba(231, 54, 36, 0.22),
    0 18px 38px rgba(0, 0, 0, 0.24);
}

.password-field input {
  width: 100%;
  min-height: 66px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff7e8;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 2px;
}

.password-field input::placeholder {
  color: rgba(255, 247, 232, 0.62);
}

.lock-mark {
  position: relative;
  display: block;
  width: 20px;
  height: 16px;
  margin-left: 18px;
  border: 2px solid rgba(255, 205, 104, 0.9);
  border-radius: 3px;
}

.lock-mark::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -12px;
  width: 10px;
  height: 12px;
  border: 2px solid rgba(255, 205, 104, 0.9);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.access-submit {
  width: 100%;
  min-height: 62px;
  border-color: #ffe19a;
  background: linear-gradient(135deg, #ffd66f, #f19d2a);
  color: #251006;
  box-shadow:
    0 0 22px rgba(255, 205, 104, 0.24),
    0 22px 44px rgba(0, 0, 0, 0.24);
  font-size: 20px;
}

.access-submit:disabled {
  border-color: rgba(255, 205, 104, 0.56);
  background: linear-gradient(135deg, rgba(255, 214, 111, 0.76), rgba(241, 157, 42, 0.72));
  color: rgba(37, 16, 6, 0.86);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  opacity: 0.72;
}

.access-error {
  color: #ffd16d;
  font-size: 14px;
  font-weight: 800;
}

.access-note {
  position: relative;
  z-index: 1;
  margin: 18px auto 0;
  max-width: 520px;
  color: rgba(255, 247, 232, 0.58);
  font-size: 14px;
  text-align: center;
}

.access-ghost {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  opacity: 0.28;
}

.access-ghost span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--dark);
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 900;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbefe6;
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.map-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 45, 47, 0.92), rgba(65, 109, 100, 0.86)),
    linear-gradient(90deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 250, 241, 0.08) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
}

.node-map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 23% 28%, rgba(250, 241, 217, 0.92) 0 4px, transparent 5px),
    radial-gradient(circle at 68% 22%, rgba(250, 241, 217, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 76% 58%, rgba(250, 241, 217, 0.84) 0 4px, transparent 5px),
    radial-gradient(circle at 35% 70%, rgba(250, 241, 217, 0.84) 0 4px, transparent 5px),
    linear-gradient(28deg, transparent 20%, rgba(250, 241, 217, 0.24) 20% 21%, transparent 21%),
    linear-gradient(146deg, transparent 30%, rgba(250, 241, 217, 0.2) 30% 31%, transparent 31%);
}

.node-map::before {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(255, 243, 199, 0.36);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.node-map::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 180px;
  height: 6px;
  border-radius: 999px;
  background: var(--seal);
  box-shadow: 0 0 18px rgba(182, 75, 62, 0.35);
}

.node-stack {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 8px;
}

.node-stack span {
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(255, 250, 241, 0.46);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(16, 45, 47, 0.68);
  color: #fffaf1;
  font-size: 12px;
  font-weight: 800;
}

.test-shell {
  padding: 24px 0 52px;
}

.progress-card {
  border: 1px solid rgba(182, 75, 62, 0.22);
  border-radius: 8px;
  padding: 18px 20px 16px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(255, 242, 232, 0.95)),
    #fffaf1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(16, 45, 47, 0.08);
}

.progress-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.progress-head p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.progress-head strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.progress-track {
  overflow: hidden;
  height: 18px;
  border: 1px solid rgba(182, 75, 62, 0.26);
  border-radius: 999px;
  background: #f4e6d8;
  box-shadow: inset 0 2px 4px rgba(23, 47, 48, 0.08);
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e63224, #f2a43a, #ffd66f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 0 14px rgba(230, 50, 36, 0.28);
  transition: width 200ms ease;
}

.question-card {
  padding: 30px 34px 34px;
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.question-text {
  margin-top: 26px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  text-wrap: pretty;
}

.option-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.option-btn {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  width: 100%;
  border: 1px solid rgba(23, 47, 48, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: #fffaf1;
  color: var(--ink);
  text-align: left;
}

.option-btn:hover,
.option-btn.is-selected {
  border-color: var(--seal);
  background: #fff0e7;
}

.option-key {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--dark);
  border-radius: 50%;
  font-weight: 900;
}

.option-title {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.65;
  text-wrap: pretty;
}

.test-actions,
.result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.loading-view {
  display: grid;
  min-height: calc(100vh - 70px);
  place-items: center;
  padding: 28px;
}

.loading-card {
  width: min(520px, 100%);
  border: 1px solid var(--dark);
  border-radius: 8px;
  padding: 34px;
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--green);
  text-align: center;
}

.loader {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border: 4px solid var(--line);
  border-top-color: var(--seal);
  border-radius: 50%;
  animation: spin 760ms linear infinite;
}

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

.result-hero {
  padding: 34px 0 22px;
}

.server-card {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.server-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(232, 54, 42, 0.58);
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(255, 248, 234, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 248, 234, 0.04) 1px, transparent 1px),
    #171b1a;
  background-size: 68px 34px, 68px 34px, auto;
  box-shadow: 0 24px 58px rgba(16, 45, 47, 0.24);
}

.server-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 16% 84%, rgba(0, 0, 0, 0.38)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent 24% 80%, rgba(0, 0, 0, 0.22));
  opacity: 1;
  pointer-events: none;
}

.server-visual-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 680px;
  align-content: start;
  justify-items: center;
  padding: 30px 26px 34px;
  color: #fffaf1;
  text-align: center;
}

.server-visual-inner > .kicker {
  color: #f05a4d;
  font-size: 11px;
  letter-spacing: 0;
  opacity: 0.9;
}

.server-visual-inner h2 {
  margin-top: 7px;
  color: #fff8ed;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1;
}

.server-visual-inner p:last-child {
  width: min(430px, 84%);
  margin-top: 13px;
  border-top: 1px solid rgba(255, 248, 234, 0.18);
  padding-top: 13px;
  color: rgba(255, 250, 241, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.server-recruit {
  width: min(660px, 100%);
  margin: 23px 0 0;
}

.server-visual.server-visual--fan,
.server-visual--fan .server-visual-inner {
  min-height: 0;
}

.server-visual--fan {
  border-color: rgba(103, 57, 31, 0.52);
  background: #d9c5a3;
  box-shadow: 0 24px 58px rgba(65, 43, 26, 0.24);
}

.server-visual--fan::after {
  opacity: 0;
}

.server-visual--fan .server-visual-inner {
  background:
    linear-gradient(rgba(107, 68, 38, 0.035) 1px, transparent 1px),
    #dfcdaa;
  background-size: 36px 36px, auto;
  color: #281b13;
}

.server-visual--fan .server-visual-inner > .kicker {
  color: #a5392f;
}

.server-visual--fan .server-visual-inner h2 {
  color: #241711;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
}

.server-visual--fan .server-recruit {
  width: min(900px, 100%);
}

.server-visual--fan .server-visual-inner p:last-child {
  border-top-color: rgba(91, 48, 28, 0.28);
  color: rgba(54, 34, 22, 0.7);
}

.dynasty-fan-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.5;
  overflow: hidden;
  border: 1px solid rgba(107, 60, 35, 0.45);
  background: #decba9;
  box-shadow:
    inset 0 0 0 1px rgba(255, 247, 224, 0.34),
    0 18px 30px rgba(70, 42, 23, 0.2);
}

.dynasty-fan-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynasty-fan-center {
  position: absolute;
  z-index: 2;
  top: 15%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #241711;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  transform: translateX(-50%);
}

.dynasty-fan-center small {
  border-bottom: 1px solid rgba(156, 54, 42, 0.58);
  padding: 0 4px 4px;
  color: #9e392f;
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 800;
  line-height: 1;
}

.dynasty-fan-center strong {
  margin-top: 5px;
  font-size: clamp(18px, 3.3vw, 31px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-orientation: upright;
  text-shadow: 0 1px 0 rgba(255, 248, 226, 0.6);
  writing-mode: vertical-rl;
}

.dynasty-fan-labels {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.dynasty-fan-labels span {
  position: absolute;
  top: var(--fan-y);
  left: var(--fan-x);
  color: #2b1b13;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: clamp(10px, 1.75vw, 17px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-orientation: upright;
  text-shadow: 0 1px 0 rgba(255, 248, 226, 0.7);
  transform: translate(-50%, -50%) rotate(var(--fan-rotate));
  transform-origin: center;
  writing-mode: vertical-rl;
}

.wei-jin-radar-section {
  padding: 32px 0 22px;
}

.wei-jin-radar-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(84, 51, 29, 0.5);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(110, 75, 42, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(110, 75, 42, 0.03) 1px, transparent 1px),
    #e5d4b4;
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow:
    inset 0 0 70px rgba(97, 61, 31, 0.08),
    10px 10px 0 rgba(96, 54, 30, 0.16);
}

.wei-jin-radar-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(160, 56, 45, 0.22);
  pointer-events: none;
}

.wei-jin-radar-copy {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
  margin-inline: auto;
  text-align: center;
}

.wei-jin-radar-copy .kicker {
  color: #a1382f;
}

.wei-jin-radar-copy h2 {
  margin-bottom: 18px;
  color: #251812;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1;
  white-space: nowrap;
}

.wei-jin-radar-copy > p:last-of-type {
  max-width: 32rem;
  margin-inline: auto;
  color: #5f4f40;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.85;
}

.wei-jin-radar-mark {
  display: grid;
  width: 90px;
  height: 90px;
  margin: 24px auto 0;
  place-items: center;
  border: 3px double #a6382d;
  color: #a6382d;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 28px;
  font-weight: 900;
  transform: rotate(-5deg);
}

.wei-jin-radar-chart {
  width: min(900px, 100%);
  min-width: 0;
  margin-inline: auto;
}

.wei-jin-radar-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-grid-line,
.radar-axis-line {
  fill: none;
  stroke: rgba(103, 61, 35, 0.36);
  stroke-width: 1.4;
}

.radar-data-shape {
  fill: rgba(166, 56, 45, 0.23);
  stroke: #a6382d;
  stroke-width: 3;
}

.radar-data-point {
  fill: #a6382d;
  stroke: #ead9ba;
  stroke-width: 2;
}

.radar-axis-labels {
  fill: #3b2a20;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.sign-wall {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(14, minmax(0, 1fr));
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  height: 510px;
  overflow: visible;
  padding: 0 1% 15px;
  background: transparent;
  box-shadow: none;
}

.sign-wall::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 3% 1% 8%;
  border: 1px solid rgba(255, 248, 234, 0.08);
  background: rgba(3, 8, 7, 0.1);
}

.sign-wall::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 13%;
  bottom: 4px;
  left: 13%;
  height: 13px;
  border-top: 1px solid rgba(255, 128, 108, 0.75);
  background: #8f100b;
  box-shadow:
    0 6px 0 #3d0705,
    0 16px 26px rgba(0, 0, 0, 0.45);
}

.sign-card {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 225, 210, 0.76);
  border-radius: 1px;
  padding: 8px 10px;
  background: #e62b21;
  color: #fff8ee;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  text-shadow: none;
  box-shadow:
    inset 0 0 0 1px rgba(121, 10, 5, 0.16),
    2px 3px 0 rgba(54, 4, 2, 0.72),
    0 10px 18px rgba(0, 0, 0, 0.22);
}

.sign-card small,
.sign-card b,
.sign-card em {
  display: block;
  max-width: 100%;
  font-style: normal;
  text-wrap: balance;
}

.sign-card small,
.sign-card em {
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  opacity: 0.94;
}

.sign-card b {
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 950;
  line-height: 1.02;
}

.center-panel-art {
  position: relative;
  z-index: 1;
  grid-column: 3 / 11;
  grid-row: 5 / 12;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  pointer-events: none;
}

.sign-center {
  position: relative;
  z-index: 5;
  grid-column: 3 / 11;
  grid-row: 5 / 12;
  min-width: 0;
  min-height: 0;
  color: #050505;
  font-family: SimHei, "Microsoft YaHei", "Microsoft YaHei UI", sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
}

.sign-center span {
  position: absolute;
  box-sizing: border-box;
  display: grid;
  width: min(32%, 112px);
  height: auto;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 232, 220, 0.9);
  background: #ed2e23;
  font-size: clamp(64px, 15vw, 90px);
  box-shadow:
    inset 0 0 0 1px rgba(126, 10, 5, 0.18),
    2px 3px 0 rgba(48, 3, 1, 0.78);
}

.sign-center span:first-child {
  z-index: 2;
  left: 32%;
  top: 64%;
  transform: translate(-50%, -50%);
}

.sign-center span:last-child {
  z-index: 2;
  left: 68%;
  top: 36%;
  transform: translate(-50%, -50%);
}

.sign-a {
  grid-column: 1 / 4;
  grid-row: 1 / 5;
  transform: none;
}

.sign-b {
  grid-column: 4 / 10;
  grid-row: 1 / 4;
  background: #f0352a;
  transform: none;
}

.sign-c {
  grid-column: 10 / 13;
  grid-row: 1 / 6;
  background: #d92119;
  transform: none;
}

.sign-d {
  grid-column: 1 / 4;
  grid-row: 5 / 8;
  transform: none;
}

.sign-e {
  grid-column: 4 / 7;
  grid-row: 4 / 6;
  transform: none;
}

.sign-f {
  grid-column: 10 / 13;
  grid-row: 6 / 9;
  transform: none;
}

.sign-g {
  grid-column: 1 / 4;
  grid-row: 8 / 15;
  background: #d92119;
  transform: none;
}

.sign-h {
  grid-column: 7 / 10;
  grid-row: 4 / 6;
  transform: none;
}

.sign-i {
  grid-column: 7 / 10;
  grid-row: 11 / 15;
  transform: none;
}

.sign-j {
  grid-column: 4 / 7;
  grid-row: 13 / 15;
  background: #f0352a;
  transform: none;
  box-shadow:
    inset 0 0 0 1px rgba(121, 10, 5, 0.16),
    2px 3px 0 rgba(54, 4, 2, 0.72),
    0 10px 18px rgba(0, 0, 0, 0.22);
}

.sign-k {
  grid-column: 4 / 7;
  grid-row: 11 / 13;
  transform: none;
}

.sign-l {
  grid-column: 10 / 13;
  grid-row: 9 / 15;
  transform: none;
}

.rose-bouquet {
  position: absolute;
  z-index: 1;
  width: clamp(82px, 12vw, 112px);
  height: auto;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 12px 15px rgba(0, 0, 0, 0.44));
}

.rose-left {
  left: -29px;
  bottom: -5px;
  transform: rotate(-5deg);
}

.rose-right {
  right: -31px;
  bottom: -7px;
  transform: scaleX(-1) rotate(-4deg);
}

.sign-c b,
.sign-l b {
  font-size: clamp(15px, 2vw, 19px);
}

.server-body {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dark);
  border-radius: 6px;
  padding: clamp(48px, 6vw, 78px);
  background:
    linear-gradient(rgba(255, 252, 244, 0.12), rgba(255, 252, 244, 0.12)),
    url("./result-inkwash-bg.webp") center / cover no-repeat,
    #f4ecd9;
  box-shadow:
    14px 14px 0 rgba(65, 109, 100, 0.86),
    inset 0 0 60px rgba(107, 76, 43, 0.08);
}

.result-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
}

.result-title-block {
  min-width: 0;
}

.result-title {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
}

.result-title-split {
  color: #15130f;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: clamp(88px, 11vw, 132px);
  font-weight: 900;
  line-height: 0.92;
}

.result-title-split span {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.result-tags {
  margin-top: 22px;
}

.result-tags span {
  border-color: rgba(78, 92, 69, 0.32);
  padding: 10px 14px;
  background: rgba(244, 241, 222, 0.76);
  color: #25312d;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15px;
  font-weight: 900;
}

.chips,
.server-bars,
.ancient-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips {
  margin-top: 18px;
}

.chips span,
.server-bars span,
.ancient-jobs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #fbefe6;
  color: #526762;
  font-size: 13px;
  font-weight: 750;
}

.score-stamp {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 216px;
  min-width: 216px;
  height: 216px;
  border: 3px solid var(--seal);
  border-radius: 50%;
  padding: 16px;
  color: var(--seal);
  background: rgba(255, 246, 232, 0.74);
  box-shadow:
    inset 0 0 0 5px #fff2e8,
    inset 0 0 0 7px rgba(182, 75, 62, 0.9),
    0 10px 22px rgba(16, 45, 47, 0.08);
  transform: rotate(-7deg);
}

.score-stamp::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(182, 75, 62, 0.46);
  border-radius: 50%;
  pointer-events: none;
}

.score-stamp span {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 950;
}

.score-stamp strong {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: clamp(82px, 8vw, 108px);
  line-height: 1;
}

.result-verdict {
  position: relative;
  margin-top: clamp(36px, 5vw, 58px);
  border: 4px double rgba(177, 132, 48, 0.64);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 251, 238, 0.88);
  box-shadow:
    0 12px 24px rgba(86, 62, 35, 0.1),
    inset 0 0 24px rgba(170, 127, 50, 0.06);
}

.result-verdict::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(177, 132, 48, 0.45);
  border-radius: 16px;
  pointer-events: none;
}

.result-verdict .result-description {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-top: 0;
  color: #28251e;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.9;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 18px;
  padding: 20px 0 56px;
}

.panel {
  padding: 24px;
}

.panel h2 {
  margin-bottom: 13px;
  font-size: 27px;
}

.panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.info-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(23, 47, 48, 0.1);
  border-radius: 7px;
  padding: 13px 14px;
  background: var(--mist);
}

.info-row:nth-child(2) {
  background: var(--peach);
}

.info-row:nth-child(3) {
  background: var(--straw);
}

.info-row b {
  color: var(--dark);
  font-size: 13px;
}

.ancient-jobs {
  margin-top: 16px;
}

.warning {
  grid-column: 1 / -1;
  border-color: rgba(182, 75, 62, 0.22);
  background: #fff2e8;
}

.server-bars {
  margin-top: 16px;
}

.modern-guide-panel {
  grid-column: 1 / -1;
}

.modern-guide-panel .kicker {
  margin-bottom: 8px;
}

.modern-guide-list {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modern-guide-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
}

.modern-guide-item + .modern-guide-item {
  border-top: 1px solid var(--line);
}

.modern-guide-item b {
  color: var(--seal);
  font-size: 13px;
}

.modern-guide-item p {
  color: var(--ink);
}

.role-panel {
  grid-column: 1 / -1;
  padding: 30px;
}

.role-panel .kicker {
  margin-bottom: 8px;
}

.role-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.role-figure {
  min-width: 0;
  margin: 0;
  padding: 16px;
  text-align: center;
}

.role-figure + .role-figure {
  border-left: 1px solid var(--line);
}

.role-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3ead4;
}

.role-portrait img {
  position: absolute;
  display: block;
  width: 200%;
  max-width: none;
  height: 200%;
  object-fit: cover;
}

.role-portrait-0 img {
  top: 0;
  left: 0;
}

.role-portrait-1 img {
  top: 0;
  left: -100%;
}

.role-portrait-2 img {
  top: -100%;
  left: 0;
}

.role-portrait-3 img {
  top: -100%;
  left: -100%;
}

.role-figure figcaption {
  margin-top: 13px;
  color: var(--ink);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 900;
}

.encounter-panel {
  grid-column: 1 / -1;
}

.encounter-panel .kicker {
  margin-bottom: 8px;
}

.encounter-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.encounter-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 20px;
}

.encounter-item + .encounter-item {
  border-left: 1px solid var(--line);
}

.encounter-item > span {
  color: var(--seal);
  font-size: 12px;
  font-weight: 900;
}

.encounter-item > p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 0 54px;
}

.archive-intro {
  margin-top: 24px;
}

.archive-card {
  padding: 16px;
}

.archive-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.footer {
  border-top: 1px solid rgba(23, 47, 48, 0.12);
  padding: 22px 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .access-copy {
    margin: 0 auto;
  }

  .home-card,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 420px;
  }

  .score-stamp {
    width: 132px;
    min-width: 132px;
    height: 132px;
    min-height: 132px;
  }

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

  .wei-jin-radar-panel {
    grid-template-columns: 1fr;
  }

  .wei-jin-radar-copy {
    text-align: center;
  }

  .wei-jin-radar-copy > p:last-of-type {
    margin-inline: auto;
  }

  .encounter-list {
    grid-template-columns: 1fr;
  }

  .encounter-item + .encounter-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .role-figure:nth-child(3) {
    border-left: 0;
  }

  .role-figure:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .wei-jin-radar-mark {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  .topbar .container {
    min-height: 62px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand small,
  .nav-actions .ghost-btn {
    display: none;
  }

  .home-hero {
    padding-top: 18px;
  }

  .home-copy,
  .question-card,
  .panel {
    padding: 20px;
  }

  .progress-card {
    padding: 16px;
  }

  .progress-head p {
    font-size: 15px;
  }

  .progress-head strong {
    font-size: 25px;
  }

  .progress-track {
    height: 16px;
  }

  .home-title {
    font-size: 44px;
  }

  .home-description,
  .result-description {
    font-size: 16px;
    line-height: 1.75;
  }

  .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .stat {
    min-height: 68px;
    padding: 10px 8px;
  }

  .stat strong {
    font-size: 23px;
  }

  .stat span {
    font-size: 10px;
  }

  .map-panel {
    min-height: 260px;
  }

  .node-stack {
    display: none;
  }

  .question-text {
    font-size: clamp(24px, 6vw, 27px);
    line-height: 1.2;
  }

  .option-btn {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 13px;
  }

  .access-shell {
    padding: 26px 0 32px;
  }

  .access-layout {
    min-height: calc(100vh - 58px);
    align-items: center;
  }

  .access-year {
    margin-bottom: 28px;
    font-size: 9px;
    letter-spacing: 6px;
  }

  .access-orbit {
    top: 34%;
    width: 122vw;
  }

  .access-brand {
    gap: 10px;
    margin-bottom: 18px;
  }

  .access-seal {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .access-brand b {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .access-brand small {
    letter-spacing: 3px;
  }

  .access-title {
    flex-direction: column;
    align-items: center;
    font-size: clamp(52px, 16vw, 70px);
    line-height: 0.92;
  }

  .access-title span {
    width: 100%;
  }

  .access-english {
    margin-top: 8px;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 1px;
  }

  .access-description {
    margin-top: 24px;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 1.75;
  }

  .access-dynasty-tags {
    gap: 7px;
    margin-top: 22px;
  }

  .access-dynasty-tags span {
    min-width: 62px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .access-config {
    gap: 7px;
    margin-top: 18px;
  }

  .access-config span {
    min-height: 50px;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
  }

  .access-config b {
    font-size: 22px;
  }

  .access-form {
    margin-top: 28px;
  }

  .password-field input {
    min-height: 58px;
    font-size: 17px;
  }

  .access-submit {
    min-height: 56px;
    font-size: 17px;
  }

  .server-visual {
    min-height: 650px;
  }

  .server-visual-inner {
    min-height: 650px;
    padding: 25px 12px 28px;
  }

  .server-visual-inner h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .server-recruit {
    width: 100%;
    margin: 18px 0 0;
  }

  .server-visual--fan .server-visual-inner {
    padding: 25px 10px 24px;
  }

  .dynasty-fan-stage {
    aspect-ratio: 1.5;
  }

  .dynasty-fan-center {
    top: 14%;
  }

  .dynasty-fan-center strong {
    font-size: clamp(16px, 5vw, 22px);
  }

  .dynasty-fan-labels span {
    font-size: clamp(9px, 2.7vw, 12px);
  }

  .wei-jin-radar-section {
    padding-top: 20px;
  }

  .wei-jin-radar-panel {
    gap: 18px;
    padding: 32px 16px 24px;
  }

  .wei-jin-radar-panel::before {
    inset: 10px;
  }

  .wei-jin-radar-copy h2 {
    font-size: 40px;
  }

  .wei-jin-radar-copy > p:last-of-type {
    padding-inline: 8px;
    font-size: 16px;
  }

  .wei-jin-radar-mark {
    width: 68px;
    height: 68px;
    margin-top: 20px;
    font-size: 22px;
  }

  .wei-jin-radar-chart {
    width: calc(100% + 24px);
    margin-inline: -12px;
  }

  .radar-axis-labels {
    font-size: 24px;
  }

  .sign-wall {
    height: 490px;
  }

  .sign-card {
    padding: 7px 6px;
    gap: 2px;
  }

  .sign-card small,
  .sign-card em {
    font-size: 9px;
  }

  .sign-card b {
    font-size: clamp(14px, 4.4vw, 19px);
  }

  .sign-c b,
  .sign-l b {
    font-size: clamp(14px, 4.2vw, 17px);
  }

  .rose-bouquet {
    width: clamp(74px, 21vw, 92px);
  }

  .rose-left {
    left: -28px;
    bottom: -3px;
  }

  .rose-right {
    right: -29px;
    bottom: -5px;
  }

  .server-body {
    padding: 34px 24px 26px;
  }

  .result-head {
    position: relative;
    display: block;
  }

  .result-title {
    font-size: 38px;
  }

  .result-title-split {
    font-size: 1rem;
  }

  .result-title-split span:first-child {
    font-size: clamp(52px, 13vw, 60px);
  }

  .result-title-split span:last-child {
    margin-top: 8px;
    font-size: clamp(88px, 22vw, 102px);
  }

  .score-stamp {
    position: absolute;
    top: 146px;
    right: -5px;
    width: 150px;
    min-width: 150px;
    height: 150px;
    min-height: 150px;
    padding: 12px;
  }

  .score-stamp strong {
    font-size: 62px;
  }

  .score-stamp span {
    font-size: 14px;
  }

  .result-tags {
    max-width: 210px;
    margin-top: 48px;
  }

  .result-tags span {
    padding: 8px 12px;
    font-size: 16px;
  }

  .result-copy {
    min-height: 0;
  }

  .result-verdict {
    margin-top: 30px;
    border-radius: 20px;
    padding: 28px 22px;
  }

  .result-verdict::before {
    inset: 7px;
    border-radius: 13px;
  }

  .result-verdict .result-description {
    font-size: 17px;
    line-height: 1.85;
  }

  .role-panel {
    padding: 20px;
  }

  .role-figure {
    padding: 9px;
  }

  .role-figure figcaption {
    font-size: 21px;
  }

  .modern-guide-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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

  .test-actions,
  .result-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
