@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@600;700;900&display=swap');

:root {
  --ink: #101923;
  --ink-soft: #182635;
  --paper: #f3f0e8;
  --mist: #b9c5c3;
  --muted: #7d8b8e;
  --brass: #caa55a;
  --brass-bright: #f0cf86;
  --ember: #d85f45;
  --line: rgba(202, 165, 90, .25);
  --display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  color: var(--paper) !important;
  font-family: var(--body) !important;
  background-color: var(--ink) !important;
  background-image:
    linear-gradient(180deg, rgba(9, 17, 24, .55), rgba(9, 17, 24, .95)),
    url(img/cqyhbj_clean.webp) !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  background-position: center top !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 13%, rgba(202, 165, 90, .16), transparent 23%), radial-gradient(circle at 3% 60%, rgba(79, 137, 151, .13), transparent 27%);
}
.page-wrap {
  position: relative !important;
  z-index: 1 !important;
  width: min(1220px, calc(100% - 42px)) !important;
  max-width: none !important;
  padding: 38px 0 72px !important;
  gap: 24px !important;
}
.sidebar {
  width: 216px !important;
  top: 24px !important;
  max-height: calc(100vh - 48px) !important;
  padding: 20px 15px !important;
  border: 1px solid rgba(202, 165, 90, .3) !important;
  border-radius: 0 !important;
  background: linear-gradient(160deg, rgba(13, 28, 36, .92), rgba(12, 21, 27, .76)) !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .03) !important;
}
.sidebar::before { content: "FIELD GUIDE / 01"; display: block; color: var(--brass); font-size: 9px; letter-spacing: .2em; margin-bottom: 15px; }
.sidebar h3 { color: var(--paper) !important; font-family: var(--display) !important; font-size: 19px !important; letter-spacing: .06em !important; text-align: left !important; margin-bottom: 17px !important; }
.sidebar a {
  position: relative;
  padding: 9px 10px 9px 14px !important;
  margin-bottom: 3px !important;
  border-radius: 0 !important;
  border-left: 1px solid transparent !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  transition: color .25s ease, background .25s ease, border-color .25s ease !important;
}
.sidebar a::before { content: ""; position: absolute; left: -1px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--brass); opacity: .35; }
.sidebar a:hover, .sidebar a.active { color: var(--brass-bright) !important; background: rgba(202, 165, 90, .08) !important; border-left-color: var(--brass-bright) !important; }
.sidebar a:hover::before, .sidebar a.active::before { opacity: 1; box-shadow: 0 0 10px var(--brass-bright); }
.main-content { min-width: 0; }
.page-header {
  position: relative;
  text-align: left !important;
  padding: 34px 36px 31px !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(202, 165, 90, .28) !important;
  background: linear-gradient(120deg, rgba(13, 27, 35, .9), rgba(13, 25, 32, .58)) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22) !important;
  overflow: hidden;
}
.page-header::after { content: "攻略档案"; position: absolute; right: -8px; bottom: -27px; color: rgba(202, 165, 90, .08); font-family: var(--display); font-size: 120px; line-height: 1; pointer-events: none; }
.page-header h1 {
  position: relative;
  z-index: 1;
  margin: 22px 0 0 !important;
  font-family: var(--display) !important;
  font-size: clamp(37px, 5vw, 68px) !important;
  letter-spacing: -.07em !important;
  text-align: left !important;
  background: none !important;
  color: var(--paper) !important;
  -webkit-text-fill-color: initial !important;
  filter: none !important;
  animation: none !important;
}
.page-header p { position: relative; z-index: 1; color: var(--brass-bright) !important; letter-spacing: .18em !important; margin-top: 12px !important; font-size: 11px !important; }
.btn-back { position: relative; z-index: 1; border: 1px solid var(--line) !important; border-radius: 999px !important; color: var(--brass-bright) !important; background: rgba(202, 165, 90, .08) !important; padding: 8px 14px !important; transition: transform .25s ease, background .25s ease !important; }
.btn-back:hover { transform: translateY(-2px); background: rgba(202, 165, 90, .16) !important; }
.card {
  position: relative;
  padding: 30px 34px !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(202, 165, 90, .2) !important;
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(19, 35, 43, .83), rgba(12, 23, 30, .72)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18) !important;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 2px; background: var(--brass-bright); box-shadow: 0 0 16px rgba(240, 207, 134, .55); }
.card h2 { margin: 0 0 20px !important; padding-bottom: 15px !important; border-bottom: 1px solid rgba(202, 165, 90, .18) !important; color: var(--paper) !important; font-family: var(--display) !important; font-size: 25px !important; letter-spacing: -.03em !important; }
.card h3 { color: var(--brass-bright) !important; font-family: var(--display) !important; font-size: 17px !important; letter-spacing: .01em; }
.card p, .card li { color: #bdc9c9 !important; font-size: 14px !important; line-height: 1.9 !important; }
.card strong { color: var(--brass-bright) !important; }
.table-wrap { border: 1px solid rgba(202, 165, 90, .18); margin: 20px 0 !important; }
table { border: 0 !important; min-width: 640px; }
th { color: #172029 !important; background: linear-gradient(180deg, var(--brass-bright), var(--brass)) !important; padding: 13px 14px !important; font-size: 12px !important; letter-spacing: .08em; }
td { padding: 13px 14px !important; color: #c9d2d0 !important; border-bottom: 1px solid rgba(202, 165, 90, .12) !important; }
tr:nth-child(even) td { background: rgba(202, 165, 90, .035) !important; }
tr:nth-child(odd) td { background: rgba(7, 17, 23, .16) !important; }
tr:hover td { background: rgba(202, 165, 90, .09) !important; }
.guide-img { width: min(100%, 560px) !important; margin: 18px auto !important; border: 1px solid rgba(202, 165, 90, .3) !important; border-radius: 0 !important; box-shadow: 0 16px 38px rgba(0, 0, 0, .28) !important; transition: transform .3s ease, border-color .3s ease !important; }
.guide-img:hover { transform: translateY(-4px); border-color: var(--brass-bright) !important; }
.skill-tag { color: var(--paper) !important; border: 1px solid rgba(202, 165, 90, .26) !important; border-radius: 0 !important; background: rgba(202, 165, 90, .08) !important; }
.hl-box { border-left: 3px solid var(--ember) !important; border-radius: 0 !important; background: linear-gradient(90deg, rgba(216, 95, 69, .15), rgba(216, 95, 69, .02)) !important; padding: 18px 20px !important; }
.page-footer { color: var(--muted) !important; border-top: 1px solid rgba(202, 165, 90, .18) !important; }
.page-footer a { color: var(--brass-bright) !important; }
@media (max-width: 768px) {
  .page-wrap { width: min(100% - 24px, 650px) !important; padding-top: 15px !important; gap: 15px !important; }
  .sidebar { width: 100% !important; position: static !important; max-height: none !important; display: flex !important; flex-wrap: wrap !important; gap: 4px 5px !important; padding: 16px !important; }
  .sidebar::before, .sidebar h3 { width: 100%; }
  .sidebar h3 { margin-bottom: 7px !important; }
  .sidebar a { padding: 6px 8px !important; border-left: 0 !important; border-bottom: 1px solid transparent !important; }
  .sidebar a:hover, .sidebar a.active { border-left: 0 !important; border-bottom-color: var(--brass-bright) !important; }
  .page-header { padding: 25px 22px !important; }
  .card { padding: 24px 18px !important; }
  .card h2 { font-size: 22px !important; }
  .guide-img { width: 100% !important; }
}
