/* ==========================================================================
   星穹攻略 · 崩坏：星穹铁道 攻略站
   纯静态只读 · 深空 HUD 视觉体系
   ========================================================================== */

:root {
  --bg: #030014;
  --bg-2: #0a0920;
  --bg-3: #12112b;
  --bg-nav: rgba(4, 3, 18, 0.72);

  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);

  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.22);

  --text: #ffffff;
  --text-2: #a8a5c0;
  --text-3: #6e6b88;

  --accent: #b1e2ff;
  --accent-2: #9381ff;
  --accent-3: #13ddc4;
  --gold: #f0ce8c;
  --purple: #b99bff;

  --r-sm: 12px;
  --r-card: 20px;
  --r-pill: 99px;

  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 16px -4px rgba(0, 0, 0, 0.45);
  --shadow-pop: 0 20px 60px rgba(46, 167, 255, 0.14);

  --font-sans: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC',
    sans-serif;
  --font-num: 'Bahnschrift', 'DIN Alternate', 'Rajdhani', 'Segoe UI', var(--font-sans);
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, 'SFMono-Regular', monospace;

  --maxw: 1360px;
  --pad: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 全局星云底 —— 多色极光径向 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 18% -8%, rgba(46, 167, 255, 0.22), transparent 68%),
    radial-gradient(780px 560px at 88% 4%, rgba(147, 129, 255, 0.18), transparent 70%),
    radial-gradient(700px 520px at 60% 100%, rgba(19, 221, 196, 0.08), transparent 72%);
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #08071a;
}
::-webkit-scrollbar-thumb {
  background: #262345;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: #37336b;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------------------------------------------------------------- 导航栏 */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
  line-height: 1;
}

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

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

.nav-links a {
  padding: 9px 13px;
  white-space: nowrap;
  border-radius: var(--r-pill);
  font-size: 15px;
  color: var(--text-2);
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--card);
}

.nav-links a.on {
  color: #04121c;
  background: linear-gradient(120deg, #b1e2ff, #9381ff);
  font-weight: 600;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.nav-search:hover {
  border-color: var(--line-2);
  color: var(--text-2);
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: 0.2s;
}

.nav-icon-btn:hover {
  border-color: var(--line-2);
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding: 78px 0 64px;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -60% -20% auto;
  height: 160%;
  pointer-events: none;
  background: radial-gradient(620px 380px at 50% 42%, rgba(177, 226, 255, 0.16), transparent 70%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.kicker {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent-3);
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #b1e2ff 0%, #9381ff 52%, #13ddc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 500;
  color: var(--accent);
}

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

.hero-search {
  width: min(660px, 100%);
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 8px 0 24px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  transition: 0.2s;
}

.hero-search:focus-within {
  border-color: rgba(177, 226, 255, 0.55);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.hero-search input::placeholder {
  color: var(--text-3);
}

.hero-search button {
  flex: none;
  height: 40px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, #b1e2ff, #9381ff);
  color: #08101f;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.hero-search button:hover {
  filter: brightness(1.08);
}

.chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ----------------------------------------------------------------- 通用 */
.section {
  padding: 46px 0 0;
}

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

.sec-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sec-desc {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.sec-more {
  color: var(--accent);
  font-size: 14px;
  white-space: nowrap;
  transition: 0.2s;
}

.sec-more:hover {
  color: #fff;
}

/* --------------------------------------------------------------- 数据卡 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  padding-top: 30px;
}

.stat {
  padding: 20px 22px;
  border-radius: var(--r-card);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
}

.stat-value {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-value b {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.stat-value span {
  font-size: 12px;
  color: var(--accent);
}

/* ------------------------------------------------------------- 快捷入口 */
.entry-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.entry {
  position: relative;
  padding: 22px;
  border-radius: var(--r-card);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: 0.24s;
}

.entry::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.24s;
  background: radial-gradient(320px 180px at 20% 0%, var(--glow, rgba(177, 226, 255, 0.22)), transparent 70%);
}

.entry:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}

.entry:hover::before {
  opacity: 1;
}

.entry > * {
  position: relative;
  z-index: 1;
}

.entry-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.entry h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.entry p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

.entry-meta {
  margin-top: 12px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* --------------------------------------------------------------- 卡片网格 */
.grid {
  display: grid;
  gap: 16px;
}

.grid > * {
  min-width: 0;
}

.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  display: block;
  min-width: 0;
  border-radius: var(--r-card);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: 0.22s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-pop);
}

.card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, #14122e, #0a0920);
}

.card-art img.card-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.card:hover .card-art img.card-main {
  transform: scale(1.06);
}

.card-body {
  padding: 12px 14px 14px;
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
}

.stars {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.s5 {
  color: var(--gold);
}
.s4 {
  color: var(--purple);
}
.s3 {
  color: #6fa8ff;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12px;
  white-space: nowrap;
}

.pill-ico {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.badge-rarity {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  background: rgba(3, 0, 20, 0.62);
  border: 1px solid var(--line);
}

.card-art img.corner-ico {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(3, 0, 20, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

/* ------------------------------------------------------------- 筛选工具栏 */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-card);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 240px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--bg-3);
  border: 1px solid var(--line);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.select {
  height: 40px;
  padding: 0 34px 0 14px;
  border-radius: var(--r-pill);
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.select:focus {
  outline: 0;
  border-color: rgba(177, 226, 255, 0.5);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: 0.18s;
}

.chip:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.chip.on {
  color: #04121c;
  background: linear-gradient(120deg, #b1e2ff, #9381ff);
  border-color: transparent;
  font-weight: 600;
}

.chip img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.chip.on img {
  filter: brightness(0.15);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.filter-label {
  width: 44px;
  flex: none;
  font-size: 13px;
  color: var(--text-3);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* -------------------------------------------------------------- 状态提示 */
.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 16px;
  font-size: 13px;
  color: var(--text-2);
}

.result-bar b {
  font-family: var(--font-num);
  font-size: 17px;
  color: var(--accent);
}

.empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--text-3);
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
}

/* -------------------------------------------------------------- 详情页 */
.crumb {
  padding-top: 26px;
  font-size: 13px;
  color: var(--text-3);
}

.crumb a:hover {
  color: var(--accent);
}

.detail-top {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  margin-top: 20px;
}

.detail-art {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #16143a, #07061a);
  aspect-ratio: 3 / 4;
}

.detail-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 900;
}

.detail-en {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 14px;
}

.tag-big img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.panel {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--r-card);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
}

.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 14px;
}

.kv dt {
  color: var(--text-3);
}

.kv dd {
  margin: 0;
  color: var(--text);
}

.side-list {
  display: grid;
  gap: 10px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
  transition: 0.2s;
}

.side-item:hover {
  background: var(--card-hover);
}

.side-item img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}

.side-item .t {
  font-size: 14px;
  font-weight: 600;
}

.side-item .s {
  font-size: 12px;
  color: var(--text-3);
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* -------------------------------------------------------------- 遗器卡片 */
.relic-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  font-size: 11px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-2);
}

/* ------------------------------------------------------------------ 页脚 */
.footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--text-3);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stars svg {
  display: inline-block;
  vertical-align: -1px;
  margin-right: 2px;
}

/* ------------------------------------------------------------- 我的收藏 */
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(3, 0, 20, 0.62);
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.18s;
}

.fav-btn:hover {
  color: #fff;
  border-color: var(--line-2);
  transform: scale(1.08);
}

.fav-btn.on {
  color: var(--gold);
  border-color: rgba(240, 206, 140, 0.55);
  background: rgba(240, 206, 140, 0.16);
}

.nav-count {
  margin-left: 7px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, #b1e2ff, #9381ff);
  color: #04121c;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
}

.nav-links a.on .nav-count {
  background: #04121c;
  color: #b1e2ff;
}

.fav-tag {
  cursor: pointer;
  transition: 0.18s;
  font-family: inherit;
}

.fav-tag .fav-label {
  margin-left: 7px;
  font-size: 14px;
}

.fav-tag:hover {
  border-color: var(--line-2);
}

.fav-tag.on {
  color: var(--gold);
  border-color: rgba(240, 206, 140, 0.5);
  background: rgba(240, 206, 140, 0.1);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 38px;
  z-index: 300;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: rgba(10, 9, 32, 0.94);
  border: 1px solid var(--line-2);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: 0.24s;
  backdrop-filter: blur(10px);
}

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

/* -------------------------------------------------------- 富文本（官方词条内嵌 HTML） */
.rich {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.rich p {
  margin: 0 0 8px;
}

.rich p:last-child {
  margin-bottom: 0;
}

.rich strong,
.rich b {
  color: #fff;
}

.rich img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.03);
}

.rich table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 6px 0 14px;
  table-layout: fixed;
}

.rich td,
.rich th {
  padding: 8px 10px;
  border: 1px solid var(--line);
  vertical-align: middle;
  font-size: 13px;
}

.rich tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.rich a {
  color: var(--accent);
}

.rich a:hover {
  color: #fff;
}

.rich ul,
.rich ol {
  margin: 0 0 8px;
  padding-left: 20px;
}

.rich li {
  margin-bottom: 4px;
}

.rich h1,
.rich h2,
.rich h3,
.rich h4 {
  font-size: 15px;
  color: #fff;
  margin: 14px 0 8px;
}

/* ------------------------------------------------------------- 锚点导航 */
.anchor-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  background: rgba(4, 3, 18, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.anchor-nav a {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--text-2);
  transition: 0.18s;
}

.anchor-nav a:hover {
  background: var(--card);
  color: #fff;
}

/* ------------------------------------------------------------- 技能区块 */
.detail-main {
  min-width: 0;
}

.sub-h {
  margin: 22px 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.sub-h:first-child {
  margin-top: 0;
}

.skill-list {
  display: grid;
  gap: 12px;
}

.skill {
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.skill-ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.skill-tag {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-3);
}

.skill-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.skill-entry + .skill-entry {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.skill-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.skill-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.levels {
  margin-top: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.levels > summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--accent);
  list-style: none;
}

.levels > summary::-webkit-details-marker {
  display: none;
}

.levels > summary::before {
  content: '▸ ';
  color: var(--text-3);
}

.levels[open] > summary::before {
  content: '▾ ';
}

.levels.wide > summary {
  margin-bottom: 12px;
}

.cond {
  font-size: 12px;
  color: var(--text-3);
}

.lv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12.5px;
}

.lv-table th,
.lv-table td {
  padding: 6px 10px;
  border: 1px solid var(--line);
  text-align: left;
  color: var(--text-2);
}

.lv-table th {
  color: var(--text-3);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
}

/* ------------------------------------------------------------- 行迹网格 */
.trace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.trace-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
}

.trace-item > img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.trace-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

/* ------------------------------------------------------------- 晋阶材料 */
.asc-tabs {
  display: grid;
  gap: 14px;
}

.asc-tab-name {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.asc-mats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asc-mat {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

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

.asc-amt {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0 4px;
  font-family: var(--font-num);
  font-size: 10px;
  background: rgba(3, 0, 20, 0.82);
  border-top-left-radius: 6px;
  color: var(--accent);
}

/* --------------------------------------------------------------- 攻略卡 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.guide {
  display: block;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: 0.2s;
}

.guide:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.guide > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-body {
  padding: 10px 12px 12px;
}

.guide-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.guide-user {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
}

/* ------------------------------------------------------------- 角色故事 */
.story-intro {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(177, 226, 255, 0.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text-2);
}

.story-text {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
  white-space: normal;
}

/* --------------------------------------------------------------- 成就表 */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 8px;
}

.ach-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  transition: 0.18s;
}

.ach-item:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
}

.ach-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(177, 226, 255, 0.6);
}

.ach-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ach-tags {
  flex: none;
  display: flex;
  gap: 5px;
}

/* ------------------------------------------------------------- 页面标题 */
.page-head {
  padding: 44px 0 26px;
}

.page-head h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.page-head p {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

/* --------------------------------------------------------------- 代码块 */
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--accent);
}

pre.tree {
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: #07061a;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
}

ul.todo {
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 2;
}

ul.todo li::marker {
  color: var(--accent);
}

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  :root {
    --pad: 32px;
  }
  .grid-6 {
    grid-template-columns: repeat(5, 1fr);
  }
  .grid-5,
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .ach-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
  .detail-top {
    grid-template-columns: 300px 1fr;
  }
  .detail-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-search {
    width: 160px;
  }
  .stat-row,
  .entry-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-6,
  .grid-5,
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .anchor-nav {
    top: 0;
  }
  .detail-top {
    grid-template-columns: 1fr;
  }
  .detail-art {
    max-width: 320px;
  }
}

@media (max-width: 620px) {
  .grid-6,
  .grid-5,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ach-grid,
  .trace-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .stat-row,
  .entry-row {
    grid-template-columns: 1fr;
  }
  .nav-search {
    display: none;
  }
  .detail-h1 {
    font-size: 32px;
  }
}

/* ==================================================================
   详情页通用块 / 攻略 / 语音 / 模拟宇宙 / 配队模拟器
   ================================================================== */
.detail-art.square {
  aspect-ratio: 1 / 1;
  max-width: 340px;
}

.part {
  padding: 4px 0 18px;
  border-bottom: 1px dashed var(--line);
}

.part:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.part-hero {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.part-name {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.kv-h {
  margin: 14px 0 6px;
  font-size: 14px;
  color: var(--accent);
}

.muted {
  color: var(--text-3);
  font-size: 13px;
}

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

/* ---------------------------------------------------------------- 招式 */
.moves {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.move {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
}

.move > img {
  width: 68px;
  height: 44px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.move-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

/* ------------------------------------------------------------ 遗器详情 */
.relic-slot {
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
}

.relic-slot-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.relic-slot-kind {
  flex: none;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, #b1e2ff, #9381ff);
  color: #04121c;
  font-size: 12px;
  font-weight: 700;
}

.relic-slot-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.relic-story {
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.relic-story-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.relic-story-part + .relic-story-part {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.relic-story-part b {
  color: var(--text);
}

/* ---------------------------------------------------------------- 攻略 */
.guide-box {
  border-color: rgba(147, 129, 255, 0.35) !important;
  background: linear-gradient(180deg, rgba(147, 129, 255, 0.07), rgba(3, 0, 20, 0)) !important;
}

.guide-box > h2::after {
  content: 'AI';
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, #b1e2ff, #9381ff);
  color: #04121c;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 2px;
}

.guide-src {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

/* 攻略来源（检索自米游社等社区的真实攻略帖标题与作者） */
.guide-refs {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.guide-refs .sub-h {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 8px;
}

.ref-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ref-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.ref-sub {
  color: var(--text-2);
  min-width: 0;
  word-break: break-word;
}

.ref-author {
  color: var(--text-3);
  font-size: 11.5px;
  white-space: nowrap;
}

.guide-sec + .guide-sec {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.guide-sec {
  scroll-margin-top: 84px;
}

.guide-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 76ch;
}

/* 长攻略目录跳转 */
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.toc-chip {
  font-size: 12px;
  line-height: 1;
  color: var(--text-2);
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.toc-chip:hover {
  color: var(--accent);
  border-color: rgba(147, 129, 255, 0.5);
}

.guide-body p {
  margin: 0 0 10px;
}

.guide-body b {
  color: #fff;
}

.guide-body ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.guide-body li {
  margin-bottom: 6px;
}

.guide-body code {
  font-family: var(--font-num);
  color: var(--accent-3);
  background: rgba(19, 221, 196, 0.1);
  border-color: rgba(19, 221, 196, 0.25);
}

.guide-embed {
  max-height: 520px;
  overflow: auto;
}

/* -------------------------------------------------------------- 语音 */
.voice-groups {
  display: grid;
  gap: 6px;
}

.voice-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.voice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: 0.18s;
}

.voice-item:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.05);
}

.voice-play {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(177, 226, 255, 0.4);
  border-radius: 50%;
  background: rgba(177, 226, 255, 0.12);
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: 0.18s;
}

.voice-play:hover {
  background: rgba(177, 226, 255, 0.24);
  color: #fff;
}

.voice-txt {
  min-width: 0;
}

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

.voice-content {
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* -------------------------------------------------------- 模拟宇宙逐条 */
.su-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 12px;
}

.su-entry {
  display: flex;
  min-width: 0;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: 0.18s;
}

.su-entry:hover {
  border-color: var(--line-2);
}

.su-entry > img {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.su-entry-body {
  min-width: 0;
}

.su-entry-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.su-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.tag-group-label {
  display: inline-flex;
  align-items: center;
  margin: 0 4px 0 10px;
  font-size: 12px;
  color: var(--text-3);
}

.su-events {
  display: grid;
  gap: 8px;
}

.su-event {
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.su-event-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.su-event-head:hover {
  background: rgba(255, 255, 255, 0.04);
}

.su-event-head img {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.su-event-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.su-event-toggle {
  flex: none;
  font-size: 12px;
  color: var(--accent);
}

.su-event-body {
  padding: 4px 18px 18px;
  border-top: 1px dashed var(--line);
}

/* ------------------------------------------------------------ 配队模拟 */
.team-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.team-slot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 12px;
  border-radius: var(--r-card);
  background: var(--bg-2);
  border: 1px dashed var(--line);
}

.team-slot.filled {
  border-style: solid;
  border-color: rgba(177, 226, 255, 0.35);
  background: linear-gradient(150deg, rgba(177, 226, 255, 0.08), rgba(3, 0, 20, 0));
}

.team-slot > img {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1px solid var(--line);
}

.team-slot-info {
  min-width: 0;
}

.team-slot-name {
  font-size: 15px;
  font-weight: 700;
}

.team-slot-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-3);
}

.team-slot-del {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(3, 0, 20, 0.7);
  color: var(--text-2);
  cursor: pointer;
}

.team-slot-del:hover {
  color: #ff6a4d;
  border-color: rgba(255, 106, 77, 0.5);
}

.team-slot-empty {
  width: 100%;
  text-align: center;
  font-size: 22px;
  color: var(--text-3);
  line-height: 1.4;
}

.team-slot-empty span {
  font-size: 12px;
}

.team-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.team-pick {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: 0.16s;
}

.team-pick:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
}

.team-pick img {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
}

.team-pick span {
  font-size: 13px;
  font-weight: 600;
}

.team-pick em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
}

.team-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0 14px;
}

.team-stat {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 13px;
}

.team-stat .stat-label {
  display: block;
  margin-bottom: 8px;
}

.team-notes {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.team-note {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.7;
  border-left: 3px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
}

.team-note.good {
  border-left-color: #34d399;
  background: rgba(52, 211, 153, 0.07);
}

.team-note.tip {
  border-left-color: #b1e2ff;
  background: rgba(177, 226, 255, 0.07);
}

.team-note.warn {
  border-left-color: #fbbf24;
  background: rgba(251, 191, 36, 0.07);
}

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

.team-build-card {
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
}

.team-build-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.team-build-head img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.mini-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
}

.team-build-sub {
  margin: 10px 0 6px;
  font-size: 12px;
  color: var(--accent-3);
  letter-spacing: 0.08em;
}

.team-build-list {
  display: grid;
  gap: 5px;
}

.team-build-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 13px;
  transition: 0.16s;
}

.team-build-item:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.07);
}

.team-build-item img {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 7px;
  object-fit: cover;
}

.team-build-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-build-item em {
  flex: none;
  font-style: normal;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .team-slots {
    grid-template-columns: repeat(2, 1fr);
  }
  .su-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .team-slots {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- 版本更新 */
.ver-toolbar {
  margin-bottom: 14px;
}

.ver-item {
  scroll-margin-top: 84px;
}

.ver-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.ver-num {
  flex: none;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid rgba(147, 129, 255, 0.35);
  border-radius: var(--r-card);
  background: rgba(147, 129, 255, 0.08);
}

.ver-title h2 {
  margin: 0;
  font-size: 18px;
}

.ver-date {
  display: inline-block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-num);
}

.ver-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.ver-item .guide-sec:first-of-type {
  margin-top: 14px;
}

@media (max-width: 620px) {
  .ver-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
