:root {
  color-scheme: light;
  --page: #f3f6fb;
  --surface: #fff;
  --ink: #122039;
  --muted: #45556e;
  --line: #dae3ef;
  --accent: #164bd9;
  --accent-soft: #edf3ff;
  --header-height: 68px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.65;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #3566ef; outline-offset: 4px; }
h1, h2, p, ol, ul, figure { margin: 0; }
h1, h2, strong, b { line-height: 1.25; }
[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
html { scroll-behavior: smooth; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; inset: 8px auto auto 8px; z-index: 5; padding: 9px 14px;
  border-radius: 8px; color: #fff; background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-content {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.wordmark img { flex: 0 0 38px; border-radius: 10px; }
.wordmark b { font-family: system-ui, sans-serif; font-size: 21px; font-weight: 860; letter-spacing: .055em; }
.wordmark > span { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.platform-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c5d2e6;
  border-radius: 10px;
  color: #163369;
  font-size: 13px;
  font-weight: 700;
}
.platform-link:hover { color: var(--accent); background: var(--accent-soft); border-color: #adc0ea; }

.hero { 
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 294px;
  margin-top: 28px;
  border-radius: 25px;
  background: #0c1c2c;
  color: #fff;
  box-shadow: 0 14px 38px #102c4c1e;
}
.hero-picture {
  width: 62%;
  height: 100%;
  right: 0;
  top: 0;
  position: absolute;
  max-width: none;
  object-fit: cover;
  object-position: 50% 49%;
  z-index: -2;
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(96deg, #0c1c2c 0%, #0c1c2c 31%, #0c1c2cee 43%, #0c1c2c71 61%, #0c1c2c10 79%);
}
.hero-content { padding: 36px 46px 38px; }
.hero-channel { display: flex; gap: 8px; align-items: center; color: #bddefa; font-size: 13px; font-weight: 650; letter-spacing: .035em; }
.hero-channel span { width: 7px; height: 7px; border-radius: 50%; background: #5adff3; }
.hero h1 { margin-top: 12px; font-size: clamp(34px, 5.1vw, 52px); letter-spacing: -.035em; font-weight: 790; }
.hero-description { margin-top: 10px; font-size: 17px; line-height: 1.6; color: #e1edf8; }
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 426px);
  min-height: 54px;
  margin-top: 24px;
  padding: 5px 5px 5px 15px;
  border: 1px solid #dce8f9;
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 7px 22px #081c3652;
}
.search-form:focus-within { box-shadow: 0 0 0 3px #75a9ff80, 0 7px 22px #081c3652; }
.search-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  position: relative;
  border: 1.7px solid #5a6c85;
  border-radius: 100%;
}
.search-icon::after {
  content: "";
  width: 7px;
  height: 1.7px;
  background: #5a6c85;
  position: absolute;
  left: 11px;
  top: 13px;
  transform: rotate(45deg);
  border-radius: 1px;
}
.search-form input {
  appearance: none;
  width: 100%;
  min-width: 0;
  flex: 1;
  min-height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}
.search-form input::placeholder { color: #5b6b81; font-size: 14px; }
.search-form input::-webkit-search-cancel-button { appearance: none; }
.search-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.search-button:hover { background: #123cb1; }
.clear-search { flex: 0 0 38px; min-height: 44px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 24px; }
.clear-search:hover { background: var(--accent-soft); }

.start-links { margin-top: 29px; }
.start-links h2 { font-size: 20px; letter-spacing: -.015em; }
.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.shortcut {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 2px 5px #233e6707;
  transition: border-color .16s ease, transform .16s ease;
}
.shortcut:hover { border-color: #a4baf0; transform: translateY(-2px); }
.shortcut strong { display: block; font-size: 15px; font-weight: 760; }
.shortcut small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.tile-arrow, .chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.65px solid currentColor;
  border-bottom: 1.65px solid currentColor;
  color: #587098;
}
.tile-arrow { transform: rotate(-45deg); }
.tile-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 11px;
  color: #2459c8;
}
.tile-icon > i { display: block; position: relative; width: 20px; height: 20px; }
.tile-scan > i {
  background:
    linear-gradient(currentColor 0 0) left top / 6px 2px,
    linear-gradient(currentColor 0 0) left top / 2px 6px,
    linear-gradient(currentColor 0 0) right top / 6px 2px,
    linear-gradient(currentColor 0 0) right top / 2px 6px,
    linear-gradient(currentColor 0 0) left bottom / 6px 2px,
    linear-gradient(currentColor 0 0) left bottom / 2px 6px,
    linear-gradient(currentColor 0 0) right bottom / 6px 2px,
    linear-gradient(currentColor 0 0) right bottom / 2px 6px,
    linear-gradient(currentColor 0 0) center / 12px 2px;
  background-repeat: no-repeat;
}
.tile-select > i, .tile-log > i { border: 1.65px solid currentColor; border-radius: 4px; }
.tile-select > i::before { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 5px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(-45deg); }
.tile-play > i { border: 1.65px solid currentColor; border-radius: 50%; }
.tile-play > i::before { content: ""; position: absolute; top: 4px; left: 6px; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent currentColor; }
.tile-log > i::before { content: ""; position: absolute; inset: 4px 3px; background: repeating-linear-gradient(currentColor 0 1.5px, transparent 1.5px 4px); }

.guide-layout { margin-top: 35px; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 25px; align-items: start; }
.contents-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.contents-panel h2 { margin: 5px 8px 9px; font-size: 13px; color: var(--muted); font-weight: 700; }
.contents-panel a { display: block; padding: 9px 8px; border-radius: 7px; font-size: 14px; font-weight: 580; }
.contents-panel a:hover, .contents-panel a[aria-current="location"] { color: var(--accent); background: var(--accent-soft); }
.guide-content, .guide-section { min-width: 0; }
.guide-section + .guide-section { margin-top: 30px; }
.section-heading { margin-bottom: 11px; }
.section-heading h2 { font-size: 24px; font-weight: 750; }
.section-heading p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.topics { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.topic + .topic { border-top: 1px solid var(--line); }
.topic summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 11px 17px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}
.topic summary::-webkit-details-marker { display: none; }
.topic summary > span { min-width: 0; overflow-wrap: anywhere; }
.topic summary:hover { background: #f5f8fe; }
.topic summary:focus-visible { outline-offset: -4px; }
.topic[open] > summary { color: var(--accent); background: #f7faff; }
.topic:target { box-shadow: inset 3px 0 0 var(--accent); }
.topic .chevron { flex: 0 0 8px; transform: rotate(45deg); margin-right: 3px; margin-top: -4px; }
.topic[open] .chevron { transform: rotate(-135deg); margin-top: 4px; }
.topic-body {
  padding: 4px 17px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.73;
  overflow-wrap: anywhere;
}
.topic-body p + p { margin-top: 9px; }
.topic-body ol, .topic-body ul { padding-left: 1.45em; }
.topic-body li + li { margin-top: 6px; }
.topic-body li::marker { color: var(--accent); font-weight: 730; }
.topic-body p + ul { margin-top: 8px; }
.topic-body strong { color: var(--ink); font-weight: 720; }
.route-label {
  display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center;
  margin: 1px 0 8px; padding: 3px 9px; font-size: 12px;
  border-radius: 6px; background: var(--accent-soft); color: #24449c; font-weight: 650;
}
.route-label span { color: #546d9c; }
.topic-body .tip { margin-top: 12px; padding: 10px 12px; border-left: 3px solid #7193eb; border-radius: 6px; color: #2e456c; background: #eff5ff; }
.topic-body .topic-note { margin-top: 9px; font-size: 13px; }

.log-example {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fafd;
}
.log-example figcaption { font-size: 12px; color: var(--muted); }
.log-title, .log-example dl > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; }
.log-title { margin-top: 4px; }
.log-title > span { border-radius: 5px; background: #e4f5eb; color: #1d6642; padding: 2px 7px; font-size: 12px; font-weight: 650; }
.log-example dl { display: grid; gap: 4px; margin: 9px 0 0; padding-top: 9px; border-top: 1px solid var(--line); font-size: 13px; }
.log-example dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.search-result {
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: #24449c;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.empty-state { padding: 24px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.empty-state h2 { font-size: 21px; }
.empty-state p { margin-top: 5px; color: var(--muted); }

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding: 17px 19px;
  border: 1px solid #d9e5fa;
  border-radius: 14px;
  background: #eaf2fe;
}
.support h2 { font-size: 19px; }
.support p { margin-top: 4px; color: #384e6c; font-size: 14px; }
.support a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--accent); font-size: 15px; font-weight: 750; }
.support a:hover { text-decoration: underline; }
.site-footer { margin-top: 36px; border-top: 1px solid var(--line); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 68px; color: var(--muted); font-size: 13px; }
.footer-content a { display: flex; align-items: center; min-height: 44px; gap: 5px; color: var(--accent); }

@media (max-width: 900px) {
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shortcut { min-height: 74px; }
  .guide-layout { grid-template-columns: 155px minmax(0, 1fr); gap: 16px; }
  .hero-content { padding-inline: 34px; }
}

@media (max-width: 600px) {
  :root { --header-height: 58px; }
  .shell { width: calc(100% - 32px); }
  .wordmark { gap: 7px; }
  .wordmark img { width: 34px; height: 34px; flex-basis: 34px; border-radius: 8px; }
  .wordmark b { font-size: 18px; }
  .wordmark > span { padding-left: 7px; font-size: 12px; }
  .platform-link { min-height: 44px; padding: 0 10px; font-size: 12px; }
  .hero { min-height: 257px; margin-top: 15px; border-radius: 20px; align-items: start; }
  .hero-content { padding: 22px 19px 19px; }
  .hero-picture { width: 99%; height: 83%; top: auto; bottom: 0; object-position: 54% 55%; }
  .hero::after {
    background:
      linear-gradient(180deg, #0c1c2c 0%, #0c1c2cf4 17%, #0c1c2c96 45%, #0c1c2c39 68%, #0c1c2c94 100%),
      linear-gradient(90deg, #0c1c2caf 0%, transparent 70%);
  }
  .hero-channel { font-size: 12px; }
  .hero h1 { margin-top: 9px; font-size: clamp(27px, 8.8vw, 38px); }
  .hero-description { margin-top: 6px; font-size: 14px; }
  .search-form { margin-top: 39px; }
  .search-button { padding: 0 12px; }
  .start-links { margin-top: 23px; }
  .start-links h2 { font-size: 19px; }
  .link-grid { gap: 8px; margin-top: 9px; }
  .shortcut { grid-template-columns: 33px minmax(0, 1fr); gap: 7px; min-height: 74px; border-radius: 12px; padding: 8px; }
  .shortcut strong { font-size: 14px; }
  .shortcut small { font-size: 11px; }
  .tile-icon { width: 33px; height: 33px; border-radius: 9px; }
  .tile-icon > i { transform: scale(.82); }
  .tile-arrow { display: none; }
  .guide-layout { display: block; margin-top: 25px; }
  .contents-panel { display: none; }
  .section-heading h2 { font-size: 23px; }
  .topic summary { padding-inline: 13px; }
  .topic-body { padding-inline: 13px; }
  .guide-section + .guide-section { margin-top: 25px; }
  .site-footer { margin-top: 26px; }
}

@media (max-width: 345px) {
  .shell { width: calc(100% - 24px); }
  .hero-content { padding-inline: 15px; }
  .search-form { padding-left: 10px; }
  .search-form input::placeholder { font-size: 12px; }
  .search-button { padding-inline: 10px; }
  .clear-search { flex-basis: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shortcut { transition: none; }
}
