/* 练级指南 — 征途地图风（本站地图封面） */
.lvl-page {
  --lvl-ink: #f2f6fb;
  --lvl-muted: #9eb0c4;
  --lvl-line: rgba(160, 196, 230, 0.16);
  --lvl-panel: rgba(10, 18, 30, 0.92);
  --lvl-accent: #6eb0e8;
  --lvl-gold: #e0b84a;
  --lvl-alli: #5b9be8;
  --lvl-horde: #d46352;
  --lvl-alli-deep: #1a3358;
  --lvl-horde-deep: #4a1c18;
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 52px 16px 56px;
  color: var(--lvl-ink);
  background:
    radial-gradient(920px 380px at 8% -6%, rgba(94, 150, 210, 0.22), transparent 62%),
    radial-gradient(680px 300px at 96% 2%, rgba(224, 184, 74, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(8, 14, 24, 0.2), transparent 180px);
}

.lvl-page--horde {
  background:
    radial-gradient(920px 380px at 8% -6%, rgba(196, 92, 74, 0.24), transparent 62%),
    radial-gradient(680px 300px at 96% 2%, rgba(224, 184, 74, 0.1), transparent 55%);
  --lvl-accent: var(--lvl-horde);
}

.lvl-hero {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 10px 0 28px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--lvl-line);
  overflow: hidden;
}

.lvl-hero-glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(110, 176, 232, 0.18), transparent 68%);
  pointer-events: none;
  animation: lvl-glow 8s ease-in-out infinite alternate;
}

@keyframes lvl-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(-30px, 20px) scale(1.08); opacity: 1; }
}

.lvl-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lvl-gold);
}

.lvl-kicker a {
  color: inherit !important;
  text-decoration: none !important;
}

.lvl-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.lvl-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffe28a, #7ec8e3 55%, #e0b84a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lvl-hero-desc {
  margin: 0;
  max-width: 46rem;
  color: var(--lvl-muted);
  font-size: 15px;
  line-height: 1.75;
}

.lvl-statstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.lvl-statstrip li {
  min-width: 112px;
  padding: 12px 14px;
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(40, 62, 92, 0.55), rgba(12, 18, 28, 0.92));
  border: 1px solid var(--lvl-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lvl-statstrip li:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 184, 74, 0.35);
}

.lvl-statstrip strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}

.lvl-statstrip span {
  font-size: 12px;
  color: var(--lvl-muted);
}

.lvl-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.lvl-jump a {
  padding: 8px 14px;
  border: 1px solid var(--lvl-line);
  border-radius: 999px;
  color: var(--lvl-ink) !important;
  text-decoration: none !important;
  font-size: 13px;
  background: rgba(12, 20, 34, 0.72);
  backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.lvl-jump a:hover {
  border-color: rgba(224, 184, 74, 0.5);
  color: var(--lvl-gold) !important;
  background: rgba(28, 36, 52, 0.85);
}

.lvl-route-switch {
  display: inline-flex;
  margin-top: 16px;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--lvl-line);
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.7);
}

.lvl-route-switch a {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--lvl-muted) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}

.lvl-route-switch a.is-on {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(91, 155, 232, 0.55), rgba(30, 55, 95, 0.95));
  box-shadow: 0 4px 14px rgba(40, 90, 160, 0.28);
}

.lvl-page--horde .lvl-route-switch a.is-on {
  background: linear-gradient(180deg, rgba(196, 92, 74, 0.55), rgba(70, 28, 24, 0.95));
}

.lvl-empty {
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed var(--lvl-line);
  border-radius: 10px;
  color: var(--lvl-muted);
}

.lvl-section {
  padding: 40px 0 10px;
  border-top: 1px solid rgba(160, 196, 230, 0.08);
}

.lvl-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.lvl-section-idx {
  flex: 0 0 auto;
  min-width: 44px;
  padding: 7px 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1a1208;
  background: linear-gradient(135deg, #ffe28a, #c8923a);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(180, 120, 40, 0.25);
}

.lvl-section-head h2 {
  margin: 0 0 4px;
  font-size: 24px;
  letter-spacing: 0.01em;
}

.lvl-section-head p {
  margin: 0;
  color: var(--lvl-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* 阵营大卡 */
.lvl-faction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lvl-faction-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid var(--lvl-line);
  background: #0a121e;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lvl-faction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.lvl-faction-card--alliance {
  border-color: rgba(91, 155, 232, 0.35);
}

.lvl-faction-card--alliance:hover {
  border-color: rgba(126, 200, 227, 0.55);
}

.lvl-faction-card--horde {
  border-color: rgba(212, 99, 82, 0.35);
}

.lvl-faction-card--horde:hover {
  border-color: rgba(255, 150, 120, 0.5);
}

.lvl-faction-media {
  position: absolute;
  inset: 0;
}

.lvl-faction-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.45s ease;
}

.lvl-faction-card:hover .lvl-faction-media img {
  transform: scale(1.1);
}

.lvl-faction-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.25) 0%, rgba(8, 14, 24, 0.55) 38%, rgba(8, 14, 24, 0.96) 78%),
    linear-gradient(90deg, rgba(8, 14, 24, 0.55), transparent 45%);
}

.lvl-faction-card--alliance .lvl-faction-shade {
  background:
    linear-gradient(180deg, rgba(12, 28, 52, 0.2) 0%, rgba(8, 16, 30, 0.55) 40%, rgba(6, 12, 22, 0.96) 78%),
    linear-gradient(115deg, rgba(26, 51, 88, 0.55), transparent 50%);
}

.lvl-faction-card--horde .lvl-faction-shade {
  background:
    linear-gradient(180deg, rgba(48, 16, 14, 0.25) 0%, rgba(24, 12, 12, 0.55) 40%, rgba(10, 8, 10, 0.96) 78%),
    linear-gradient(115deg, rgba(74, 28, 24, 0.55), transparent 50%);
}

.lvl-faction-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  box-sizing: border-box;
}

.lvl-faction-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lvl-faction-crest {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.lvl-faction-card--alliance .lvl-faction-crest {
  background: linear-gradient(160deg, #7eb4ef, #2a5088);
  color: #eef6ff;
}

.lvl-faction-card--horde .lvl-faction-crest {
  background: linear-gradient(160deg, #e07862, #7a2a22);
  color: #fff1ea;
}

.lvl-faction-tag {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lvl-gold);
}

.lvl-faction-top strong {
  display: block;
  font-size: 26px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.lvl-faction-stats {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.lvl-faction-stats li {
  min-width: 72px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.lvl-faction-stats b {
  display: block;
  font-size: 22px;
}

.lvl-faction-stats span {
  font-size: 12px;
  color: rgba(240, 245, 250, 0.72);
}

.lvl-faction-starts {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.lvl-faction-starts li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.lvl-faction-starts img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lvl-faction-starts a {
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(224, 184, 74, 0.4);
}

.lvl-faction-starts small {
  display: block;
  margin-top: 2px;
  color: rgba(220, 230, 240, 0.7);
  font-size: 12px;
}

.lvl-faction-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  color: var(--lvl-gold) !important;
  text-decoration: none !important;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
}

.lvl-faction-cta span {
  transition: transform 0.2s ease;
}

.lvl-faction-card:hover .lvl-faction-cta span {
  transform: translateX(4px);
}

/* 阵营切换 */
.lvl-seg {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgba(160, 196, 230, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 28, 42, 0.95), rgba(8, 14, 24, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lvl-seg-btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--lvl-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.lvl-seg-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.lvl-seg-btn--alliance.is-on {
  color: #eaf4ff;
  background: linear-gradient(180deg, rgba(91, 155, 232, 0.42), rgba(30, 70, 130, 0.92));
  box-shadow: 0 8px 18px rgba(50, 110, 190, 0.28);
}

.lvl-seg-btn--horde.is-on {
  color: #fff2ee;
  background: linear-gradient(180deg, rgba(212, 99, 82, 0.45), rgba(110, 36, 28, 0.95));
  box-shadow: 0 8px 18px rgba(160, 50, 40, 0.28);
}

.lvl-seg-btn.is-on .lvl-seg-mark {
  opacity: 1;
  background: #ffe28a;
  box-shadow: 0 0 0 3px rgba(224, 184, 74, 0.22);
}

.lvl-seg-btn:not(.is-on):hover {
  color: var(--lvl-ink);
  background: rgba(255, 255, 255, 0.04);
}

.lvl-band-panel {
  display: none;
}

.lvl-band-panel.is-on {
  display: block;
  animation: lvl-panel-in 0.28s ease;
}

@keyframes lvl-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.lvl-band-card {
  position: relative;
  min-height: 188px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(160, 196, 230, 0.16);
  text-decoration: none !important;
  color: var(--lvl-ink) !important;
  display: flex;
  align-items: flex-end;
  background: #0a121c;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.lvl-band-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 184, 74, 0.45);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.lvl-band-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.03);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.lvl-band-card:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

.lvl-band-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 8%, rgba(6, 12, 20, 0.35) 42%, rgba(4, 8, 14, 0.94) 100%),
    linear-gradient(90deg, rgba(8, 16, 28, 0.35), transparent 55%);
  z-index: 0;
}

.lvl-band-body {
  position: relative;
  z-index: 1;
  padding: 16px;
  display: grid;
  gap: 6px;
  width: 100%;
}

.lvl-band-range {
  display: inline-block;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1208;
  background: linear-gradient(135deg, #ffe28a, #d4a84a);
}

.lvl-band-body em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(238, 243, 248, 0.88);
}

.lvl-band-body small {
  font-size: 12px;
  color: rgba(190, 205, 220, 0.78);
}

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

.lvl-class-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--lvl-line);
  background:
    linear-gradient(145deg, rgba(24, 36, 54, 0.75), rgba(10, 16, 26, 0.95));
  text-decoration: none !important;
  color: var(--lvl-ink) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lvl-class-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 184, 74, 0.42);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.lvl-class-icon {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.lvl-class-card strong {
  display: block;
  font-size: 16px;
}

.lvl-class-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--lvl-muted);
}

.lvl-change-grid,
.lvl-rested-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lvl-change-grid li,
.lvl-rested-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--lvl-line);
  background:
    linear-gradient(160deg, rgba(22, 34, 52, 0.7), rgba(10, 16, 26, 0.95));
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.lvl-change-grid li:hover,
.lvl-rested-card:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 200, 227, 0.28);
}

.lvl-change-grid strong,
.lvl-rested-card h3 {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--lvl-gold);
}

.lvl-change-grid p,
.lvl-rested-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--lvl-muted);
}

.lvl-tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.lvl-tip-list li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--lvl-line);
  background: rgba(12, 20, 34, 0.9);
}

.lvl-tip-n {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe28a, #c8923a);
  color: #1a1208;
}

.lvl-tip-list strong {
  display: block;
  margin-bottom: 4px;
}

.lvl-tip-list p {
  margin: 0;
  color: var(--lvl-muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.lvl-dungeon-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--lvl-line);
  background: rgba(10, 16, 26, 0.95);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lvl-dungeon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.lvl-dungeon--alliance {
  border-color: rgba(91, 155, 232, 0.28);
}

.lvl-dungeon--horde {
  border-color: rgba(212, 99, 82, 0.28);
}

.lvl-dungeon-art {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 20%, rgba(110, 176, 232, 0.18), transparent 50%),
    #0a1018;
}

.lvl-dungeon-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.lvl-dungeon-lv,
.lvl-dungeon-new {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(8, 14, 22, 0.82);
  border: 1px solid rgba(224, 184, 74, 0.35);
  color: var(--lvl-gold);
  backdrop-filter: blur(6px);
}

.lvl-dungeon-new {
  left: auto;
  right: 10px;
  color: #1a1208;
  background: linear-gradient(135deg, #ffe28a, #c8923a);
  border: 0;
}

.lvl-dungeon-body {
  padding: 14px;
}

.lvl-dungeon-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--lvl-ink) !important;
  text-decoration: none !important;
}

.lvl-dungeon-body p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--lvl-muted);
}

.lvl-dungeon-body a {
  color: inherit !important;
}

.lvl-faq details {
  border: 1px solid var(--lvl-line);
  border-radius: 10px;
  background: rgba(12, 20, 34, 0.9);
  margin-bottom: 8px;
  padding: 0 16px;
  transition: border-color 0.18s ease;
}

.lvl-faq details[open] {
  border-color: rgba(224, 184, 74, 0.28);
}

.lvl-faq summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 650;
  list-style: none;
}

.lvl-faq summary::-webkit-details-marker {
  display: none;
}

.lvl-faq summary::after {
  content: '+';
  float: right;
  color: var(--lvl-gold);
  font-weight: 700;
}

.lvl-faq details[open] summary::after {
  content: '–';
}

.lvl-faq p {
  margin: 0 0 14px;
  color: var(--lvl-muted);
  line-height: 1.7;
  font-size: 14px;
}

.lvl-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lvl-overview a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--lvl-line);
  background: rgba(12, 20, 34, 0.88);
  color: var(--lvl-ink) !important;
  text-decoration: none !important;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.lvl-overview a:hover {
  border-color: rgba(224, 184, 74, 0.35);
  transform: translateX(2px);
}

.lvl-overview b {
  color: var(--lvl-gold);
  min-width: 1.5em;
}

.lvl-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lvl-step-list {
  display: grid;
  gap: 16px;
}

.lvl-step-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--lvl-line);
  background: linear-gradient(180deg, rgba(18, 28, 42, 0.95), rgba(10, 16, 26, 0.96));
}

.lvl-step-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.lvl-step-n {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(160deg, rgba(110, 176, 232, 0.4), rgba(40, 70, 110, 0.85));
  border: 1px solid rgba(160, 196, 230, 0.3);
}

.lvl-page--horde .lvl-step-n {
  background: linear-gradient(160deg, rgba(196, 92, 74, 0.45), rgba(80, 30, 24, 0.88));
  border-color: rgba(196, 92, 74, 0.35);
}

.lvl-step-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.lvl-step-head h3 a {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(224, 184, 74, 0.35);
}

.lvl-step-meta {
  margin: 0;
  color: var(--lvl-muted);
  font-size: 13px;
}

.lvl-step-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
  align-items: start;
}

.lvl-step-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  max-height: var(--lvl-side-h, none);
  overflow: hidden;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(160, 196, 230, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 26, 40, 0.92), rgba(8, 14, 24, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.lvl-mapbox {
  display: grid;
  gap: 10px;
}

.lvl-map {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--lvl-line);
  background: #070b12;
  margin: 0;
}

.lvl-map--local {
  /* 本站区域图多为近方形，避免 letterbox 导致坐标偏移 */
  aspect-ratio: 1 / 1;
}

.lvl-map--local img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  max-width: none;
}

/* 菱形编号钉：区别于源站黄圆点 */
.lvl-pin {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  margin: -18px 0 0 -11px;
  cursor: default;
}

.lvl-pin i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #061018;
  background: linear-gradient(145deg, #8fd0ff, #3a7ec4 55%, #1e4f86);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 4px 10px rgba(20, 60, 120, 0.45);
}

.lvl-page--horde .lvl-pin i {
  background: linear-gradient(145deg, #ffb39a, #c45c4a 55%, #7a2a22);
  color: #1a0c0a;
  box-shadow: 0 4px 10px rgba(120, 30, 20, 0.45);
}

.lvl-pin::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: rgba(180, 210, 240, 0.55);
}

.lvl-page--horde .lvl-pin::after {
  background: rgba(230, 160, 140, 0.5);
}

.lvl-pin em {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(6, 12, 20, 0.94);
  border: 1px solid rgba(160, 196, 230, 0.22);
  color: #eef4fb;
  font-style: normal;
  font-size: 11px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 3;
}

.lvl-pin:hover em,
.lvl-pin:focus em {
  opacity: 1;
}

.lvl-stops {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}

.lvl-stops li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(10, 16, 26, 0.72);
  border: 1px solid rgba(160, 196, 230, 0.1);
}

.lvl-stop-n {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #061018;
  background: linear-gradient(145deg, #9ad4ff, #4a88c8);
}

.lvl-page--horde .lvl-stop-n {
  background: linear-gradient(145deg, #ffb39a, #c45c4a);
  color: #1a0c0a;
}

.lvl-stop-body {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.lvl-stop-body strong {
  font-size: 13px;
  font-weight: 650;
}

.lvl-stop-body code {
  font-size: 11px;
  color: rgba(158, 176, 196, 0.95);
}

.lvl-stop-body small {
  font-size: 11px;
  color: var(--lvl-muted);
}

.lvl-map-cap {
  margin: 0;
  font-size: 12px;
}

.lvl-map-cap a {
  color: var(--lvl-gold) !important;
  text-decoration: none !important;
}

.lvl-map-fallback {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--lvl-line);
  border-radius: 8px;
}

.lvl-hubs {
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
  display: grid;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 180, 220, 0.45) rgba(255, 255, 255, 0.04);
}

.lvl-hubs::-webkit-scrollbar {
  width: 6px;
}

.lvl-hubs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.lvl-hubs::-webkit-scrollbar-thumb {
  background: rgba(126, 180, 220, 0.4);
  border-radius: 999px;
}

.lvl-hubs li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: start;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(160, 196, 230, 0.08);
}

.lvl-hub-n {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #061018;
  background: linear-gradient(145deg, #9ad4ff, #4a88c8);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.lvl-page--horde .lvl-hub-n {
  background: linear-gradient(145deg, #ffb39a, #c45c4a);
  color: #1a0c0a;
}

.lvl-hub-name {
  font-weight: 650;
  line-height: 1.35;
}

.lvl-hubs code {
  grid-column: 2;
  font-size: 11px;
  color: rgba(158, 176, 196, 0.9);
}

.lvl-hubs small {
  grid-column: 2;
  color: var(--lvl-muted);
  font-size: 11px;
  line-height: 1.4;
}

.lvl-step-side .lvl-tip,
.lvl-step-side .lvl-more {
  flex: 0 0 auto;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(160, 196, 230, 0.1);
  font-size: 12px;
  line-height: 1.55;
  color: var(--lvl-muted);
}

.lvl-tip,
.lvl-more,
.lvl-next,
.lvl-brief {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lvl-muted);
}

.lvl-more a,
.lvl-next a,
.lvl-brief a {
  color: var(--lvl-gold) !important;
}

.lvl-step-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(160, 196, 230, 0.1);
}

.lvl-step-links strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--lvl-gold);
}

.lvl-step-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.lvl-step-links a {
  color: var(--lvl-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(224, 184, 74, 0.3);
}

.lvl-step-links small {
  margin-left: 4px;
  color: var(--lvl-muted);
}

@media (max-width: 980px) {
  .lvl-faction-grid,
  .lvl-band-grid,
  .lvl-class-grid,
  .lvl-change-grid,
  .lvl-rested-grid,
  .lvl-dungeon-grid,
  .lvl-overview,
  .lvl-start-grid,
  .lvl-step-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lvl-page {
    padding-top: 36px;
  }
  .lvl-faction-grid,
  .lvl-band-grid,
  .lvl-class-grid,
  .lvl-change-grid,
  .lvl-rested-grid,
  .lvl-dungeon-grid,
  .lvl-overview,
  .lvl-start-grid,
  .lvl-step-main {
    grid-template-columns: 1fr;
  }
  .lvl-step-side {
    max-height: min(420px, 70vh) !important;
  }
  .lvl-faction-card {
    min-height: 320px;
  }
  .lvl-seg {
    width: 100%;
  }
  .lvl-seg-btn {
    flex: 1;
    justify-content: center;
  }
}
