@charset "UTF-8";
/* =========================================================================
   yandexbolanban.com — 站点样式
   设计语言：DRIVE CHART（主色 #ff8228 / 辅助色 #50b4c8 / 深色页脚 #222222）
   约束：4px 基准间距、8px 卡片圆角、0.2s 过渡、卡片阴影 0 4px 8px rgba(0,0,0,.12)
   ========================================================================= */

:root {
  --primary: #ff8228;
  --primary-hover: #e67523;
  --primary-active: #cc6a1f;
  --primary-ink: #e67523; /* 白底橙字时使用，保证可读性 */
  --secondary: #50b4c8;

  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-border: #e9edf4;

  --text: #414150;
  --text-2: #797e93;
  --text-muted: #b8c0d0;
  --text-inv: #ffffff;

  --border: #d7dce6;
  --dark: #222222;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-card: 0 4px 8px 0 rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 3px 6px 0 rgba(0, 0, 0, 0.2);

  --dur: 0.2s;
  --ease: cubic-bezier(0.47, 0, 0.745, 0.715);

  --nav-h: 64px;
  --container: 1200px;
  --font: "YuGothic", "Yu Gothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Microsoft JhengHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(26px, 4vw, 32px);
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
}
h3 {
  font-size: clamp(18px, 2.4vw, 22px);
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

code,
kbd,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.sr-only {
  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 {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--dark);
  color: var(--text-inv);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 0;
  color: var(--text-inv);
}

/* ------------------------------- 布局 ------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--tight {
  padding: 40px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-head p {
  margin: 0;
  color: var(--text-2);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 130, 40, 0.1);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lead {
  font-size: 17px;
  color: var(--text-2);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.stack > * + * {
  margin-top: 16px;
}

/* ------------------------------- 顶部导航 ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--bg-border);
  transition: top 0.12s ease-out;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
  padding: 8px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--text-inv);
  font-size: 18px;
  font-weight: 700;
}

.brand__text {
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 16px 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: var(--primary-hover);
}

.nav-link[aria-current="page"] {
  color: var(--primary-ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ------------------------------- 按钮 ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inv);
  font-weight: 400;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--text-inv);
  box-shadow: var(--shadow-hover);
}

.btn-primary:active {
  background: var(--primary-active);
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--text-2);
  color: var(--text-inv);
}

.btn-secondary:hover {
  background: #6a7187;
  color: var(--text-inv);
}

.btn-ghost {
  padding: 10px 16px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
}

.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.btn-watch {
  background: var(--bg);
  border: 1px solid var(--primary);
  color: var(--primary-ink);
  font-weight: 700;
}

.btn-watch:hover {
  background: #fff6ef;
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-ink);
  font-weight: 700;
  font-size: 15px;
}

.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover {
  color: var(--primary-hover);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ------------------------------- Hero ------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  border-bottom: 1px solid var(--bg-border);
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 180, 200, 0.18), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 40, 0.14), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary-ink);
}

.hero__lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--text-2);
  font-size: 17px;
}

/* ------------------------------- 卡片 ------------------------------- */

.card {
  background: var(--bg);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card h2,
.card h3 {
  margin-bottom: 8px;
}

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

.card--flat {
  box-shadow: none;
}

.card--flat:hover {
  transform: none;
  box-shadow: none;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(80, 180, 200, 0.12);
  color: #2c8b9d;
  font-size: 20px;
  font-weight: 700;
}

.card__icon--orange {
  background: rgba(255, 130, 40, 0.12);
  color: var(--primary-ink);
}

.meta {
  color: var(--text-2);
  font-size: 14px;
}

/* ------------------------------- 入口卡片 ------------------------------- */

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

.entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.entry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #ffd4b3;
}

.entry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 网址禁止复制：CSS 控制选中与长按菜单 */
.addr,
.entry__addr {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: default;
}

.entry__addr {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-all;
}

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

.entry__note {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  flex: 1 1 auto;
}

.entry__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--bg-border);
}

.entry__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--primary-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.entry:hover .entry__cta,
.entry:focus-visible .entry__cta {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-inv);
  box-shadow: 0 3px 6px rgba(255, 130, 40, 0.28);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tag--hot {
  background: rgba(255, 130, 40, 0.12);
  color: var(--primary-ink);
}

.tag--ok {
  background: rgba(80, 180, 200, 0.14);
  color: #237d8d;
}

.tag--warn {
  background: #fdf3e7;
  color: #a2601f;
}

.tag--off {
  background: #f1f2f5;
  color: var(--text-2);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ------------------------------- 表格 ------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  background: var(--bg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bg-border);
  vertical-align: top;
}

thead th {
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td code {
  word-break: break-all;
}

/* ------------------------------- 步骤 / 教程 ------------------------------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.step__media {
  margin: 0;
}

.step__media img {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-border);
}

.step__media figcaption {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 12px;
  text-align: center;
}

.step__body h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 18px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inv);
  font-size: 14px;
  font-weight: 700;
}

.step__body p {
  margin: 0 0 8px;
  color: var(--text-2);
}

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

.step__hint {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 13px;
}

/* ------------------------------- FAQ ------------------------------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background-color var(--dur) var(--ease);
}

.faq-item:hover {
  background: var(--bg-alt);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(255, 130, 40, 0.14);
  color: var(--primary-ink);
  font-size: 12px;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--text-2);
  font-size: 20px;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 24px 20px 58px;
  color: var(--text-2);
}

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

/* ------------------------------- 提示 / 引用 ------------------------------- */

.note {
  padding: 16px 20px;
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius-sm);
  background: rgba(80, 180, 200, 0.08);
  color: var(--text);
  font-size: 15px;
}

.note--warn {
  border-left-color: var(--primary);
  background: rgba(255, 130, 40, 0.09);
}

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

.note strong {
  color: var(--text);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 14px;
}

/* ------------------------------- 面包屑 ------------------------------- */

.crumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-2);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--border);
}

.crumbs a {
  color: var(--text-2);
}

.crumbs a:hover {
  color: var(--primary-hover);
}

/* ------------------------------- 页面头 ------------------------------- */

.page-hero {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  border-bottom: 1px solid var(--bg-border);
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-2);
}

.updated {
  display: inline-block;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 13px;
}

/* ------------------------------- 图片证据 ------------------------------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shots figure {
  margin: 0;
}

.shots img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-border);
  background: var(--bg-alt);
}

.shots figcaption {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.4;
}

/* ------------------------------- go 页 ------------------------------- */

.go-wrap {
  padding: 40px 0 64px;
}

.go-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.go-card h1 {
  margin-bottom: 8px;
}

.go-domain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 18px;
  font-weight: 700;
}

.go-domain span {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 400;
}

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

.go-facts li {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 13px;
  color: var(--text-2);
}

.go-facts strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 14px;
}

.go-alert {
  margin: 0 0 24px;
}

.go-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-border);
}

.go-actions .btn {
  flex: 1 1 180px;
}

.go-note {
  margin: 20px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.go-related {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.go-related h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.go-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.go-related a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--bg-border);
  color: var(--text-2);
  font-size: 13px;
}

.go-related a:hover {
  color: var(--primary-hover);
  border-color: #ffd4b3;
}

/* ------------------------------- 页脚 ------------------------------- */

.site-footer {
  margin-top: 0;
  padding: 56px 0 32px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--text-inv);
  font-size: 15px;
  font-weight: 700;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-brand {
  color: var(--text-inv);
  font-size: 18px;
  font-weight: 700;
}

.footer-desc {
  margin: 8px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

/* ------------------------------- 悬浮按钮 / 回顶 ------------------------------- */

.watch-fab {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 90;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text-inv);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(255, 130, 40, 0.34);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.watch-fab:hover {
  background: var(--primary-hover);
}

.watch-fab:active {
  transform: translateX(-50%) translateY(1px);
}

.watch-fab::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  font-size: 12px;
  line-height: 1;
}

.watch-fab.is-tucked {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--bg-border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  box-shadow: var(--shadow-hover);
  color: var(--primary-hover);
}

.to-top::before {
  content: "↑";
  font-size: 18px;
  line-height: 1;
}

body {
  padding-bottom: 72px;
}

/* ------------------------------- 弹框 ------------------------------- */

.watch-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.watch-modal[hidden] {
  display: none;
}

.watch-modal.is-open {
  opacity: 1;
}

.watch-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.62);
}

.watch-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.99);
  transition: transform var(--dur) var(--ease);
}

.watch-modal.is-open .watch-dialog {
  transform: none;
}

.watch-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.watch-dialog__head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.watch-dialog__head p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.watch-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.watch-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.watch-swiper {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.watch-swiper .swiper-pagination {
  position: static;
  margin-top: 12px;
}

.watch-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
}

.watch-swiper img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.watch-swiper .swiper-slide figcaption {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13px;
  text-align: center;
}

.watch-swiper .swiper-button-prev,
.watch-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  color: var(--text);
}

.watch-swiper .swiper-button-prev::after,
.watch-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.watch-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
}

.watch-swiper.no-swiper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.watch-swiper.no-swiper .swiper-wrapper {
  display: contents;
}

.watch-steps {
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--bg-border);
  list-style: none;
  counter-reset: wstep;
}

.watch-steps li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

.watch-steps li::before {
  counter-increment: wstep;
  content: counter(wstep);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 130, 40, 0.14);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 700;
}

.watch-steps li strong {
  color: var(--text);
}

.watch-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
}

.watch-dialog__foot .meta {
  margin-right: auto;
}

/* ------------------------------- 404 ------------------------------- */

.nf {
  padding: 96px 0;
  text-align: center;
}

.nf h1 {
  font-size: clamp(32px, 8vw, 64px);
  color: var(--primary-ink);
}

.nf p {
  color: var(--text-2);
}

.nf .btn-row {
  justify-content: center;
}

/* ------------------------------- 响应式 ------------------------------- */

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--bg-border);
    box-shadow: var(--shadow-card);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 14px 8px;
    border-bottom: 1px solid var(--bg-border);
  }

  .nav-links li:last-child .nav-link {
    border-bottom: 0;
  }

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

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

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  .nav-bar {
    padding: 8px 16px;
    gap: 12px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .entry-grid,
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .step__media {
    text-align: center;
  }

  .step__media img {
    max-width: 140px;
    margin: 0 auto;
  }

  .go-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .watch-dialog {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .watch-swiper img {
    max-height: 320px;
  }

  .card {
    padding: 20px;
  }

  .go-card {
    padding: 20px;
  }

  .to-top {
    right: 12px;
    bottom: 78px;
    width: 40px;
    height: 40px;
  }

  .watch-fab {
    bottom: 16px;
    font-size: 14px;
    padding: 10px 18px;
  }

  .step__body h3 {
    font-size: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
