:root {
  --ink: #11251d;
  --text: #11251d;
  --muted: #66786f;
  --line: #dce6e0;
  --soft-line: #edf3ef;
  --bg: #f3f6f4;
  --panel: #ffffff;
  --panel-soft: #f8fbf9;
  --accent: #0f6b48;
  --accent-strong: #084c35;
  --accent-soft: #e8f5ee;
  --warning: #a15c00;
  --warning-bg: #fff8e6;
  --shadow-sm: 0 8px 22px rgb(17 37 29 / 7%);
  --shadow-md: 0 18px 52px rgb(17 37 29 / 10%);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdfc 0%, var(--bg) 46%, #eef4f0 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 220px;
  background:
    linear-gradient(135deg, transparent 54%, rgb(15 107 72 / 9%) 54% 58%, transparent 58%),
    linear-gradient(150deg, transparent 61%, rgb(26 80 118 / 10%) 61% 66%, transparent 66%),
    linear-gradient(180deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 0));
  pointer-events: none;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.gear-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-strong);
  min-width: 230px;
  text-decoration: none;
}

.brand-title {
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.brand-mark::before {
  left: 0;
  width: 42px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-strong), #149466);
}

.brand-mark::after {
  right: 2px;
  width: 32px;
  height: 30px;
  background: linear-gradient(135deg, #d8efe4, var(--accent));
}

.brand-mark span {
  left: 14px;
  width: 14px;
  height: 16px;
  background: #ffffff;
  opacity: 0.9;
}

.gear-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.gear-nav a {
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.gear-nav .active,
.gear-nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.language-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.language-switch button {
  width: auto;
  min-width: 72px;
  height: 34px;
  border: 0;
  border-radius: 0;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.active {
  color: #ffffff;
  background: var(--accent);
}

.gear-shell {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto 56px;
}

.gear-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.gear-breadcrumb {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.gear-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.gear-breadcrumb a:hover {
  text-decoration: underline;
}

.gear-breadcrumb span {
  margin-left: 6px;
}

.gear-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.gear-title-zh {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.gear-lead {
  max-width: 760px;
  margin-top: 16px;
  color: var(--text);
  font-size: 17px;
  font-weight: 750;
}

.gear-tags,
.scene-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.gear-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #cfe6d8;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 850;
}

.gear-illustration {
  position: relative;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #f8fbf9, #edf5ef);
  overflow: hidden;
}

.gear-illustration-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gear-illustration-button:focus-visible {
  outline: 3px solid rgb(15 107 72 / 26%);
  outline-offset: -3px;
}

.gear-illustration-button:hover img {
  transform: scale(1.02);
}

.gear-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: contain;
  padding: 8px;
  transition: transform 160ms ease;
}

.gear-illustration-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.gear-illustration-svg * {
  vector-effect: non-scaling-stroke;
}

.illo-bg {
  fill: #f3faf6;
}

.illo-line,
.soft-line {
  fill: none;
  stroke: rgb(15 107 72 / 14%);
  stroke-linecap: round;
  stroke-width: 1.4;
}

.outline {
  fill: none;
  stroke: #6f9380;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.deep-stroke {
  fill: none;
  stroke: #245645;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.skin {
  fill: #f3c69c;
  stroke: #916a55;
  stroke-width: 2.4;
}

.jacket-fill {
  fill: #e9d9ad;
}

.accent-fill {
  fill: #70b9c8;
}

.deep-fill {
  fill: #7f9a87;
}

.pants-fill {
  fill: #5d9fbd;
}

.soft-fill {
  fill: #fff5d0;
}

.paper-fill {
  fill: #f8f1d2;
}

.ground-fill {
  fill: #9d8060;
}

.snow-fill {
  fill: #d9eef5;
}

.light-fill {
  fill: rgb(255 224 127 / 55%);
  stroke: none;
}

.gear-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.gear-content,
.gear-sidebar {
  display: grid;
  gap: 16px;
}

.gear-sidebar {
  position: sticky;
  top: 18px;
}

.gear-section,
.quick-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.gear-section h2,
.quick-card h2 {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.35;
}

.gear-section p + p {
  margin-top: 12px;
}

.safety-note,
.warning-note,
.product-placeholder {
  border: 1px solid #f0d98b;
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--warning-bg);
}

.safety-note {
  margin-top: 16px;
}

.critical-safety-banner {
  display: grid;
  gap: 8px;
  border: 1px solid #f0d98b;
  border-radius: var(--radius-lg);
  margin-top: 16px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, #fff8e6 0%, #ffffff 72%);
  box-shadow: var(--shadow-sm);
}

.critical-safety-banner strong {
  color: var(--warning);
  font-size: 14px;
}

.critical-safety-banner p {
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.safety-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--warning);
  font-size: 13px;
}

.scene-grid,
.choice-list,
.faq-list {
  display: grid;
  gap: 10px;
}

.scene-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  background: var(--panel-soft);
}

.scene-row strong,
.choice-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.scene-row p,
.choice-item p {
  font-size: 13px;
}

.scene-status {
  min-width: 74px;
  border-radius: 999px;
  padding: 6px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.status-required {
  color: #ffffff;
  background: var(--accent);
}

.status-recommended {
  color: var(--accent);
  background: var(--accent-soft);
}

.status-conditional {
  color: var(--warning);
  background: var(--warning-bg);
}

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

.choice-item {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--panel-soft);
}

.gear-section ul {
  margin: 0;
  padding-left: 19px;
  color: var(--text);
  line-height: 1.9;
}

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

.advice-grid {
  display: grid;
  gap: 16px;
}

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

.related-card {
  display: grid;
  min-height: 82px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--panel-soft);
}

.related-card:hover {
  border-color: #b9d9c7;
  background: var(--accent-soft);
}

.related-card span {
  font-size: 14px;
  font-weight: 850;
}

.related-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

summary {
  cursor: pointer;
  padding: 14px;
  font-weight: 850;
}

details p {
  border-top: 1px solid var(--line);
  padding: 0 14px 14px;
  font-size: 14px;
}

.sources-section li {
  margin-bottom: 8px;
}

.sources-section span {
  display: inline-flex;
  margin-right: 8px;
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
}

.sources-section a {
  color: var(--accent-strong);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.quick-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.quick-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 10px;
}

.quick-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quick-card dd {
  margin: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.return-button {
  display: grid;
  place-items: center;
  height: 40px;
  margin-top: 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.index-button {
  display: grid;
  place-items: center;
  height: 40px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 900;
}

.index-button + .return-button {
  margin-top: 10px;
}

.safety-card {
  border-color: #f0d98b;
  background: linear-gradient(180deg, #ffffff 0%, var(--warning-bg) 100%);
}

.safety-card p + p {
  margin-top: 10px;
}

.toc-card a {
  display: block;
  border-top: 1px solid var(--soft-line);
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(10 31 24 / 72%);
  cursor: zoom-out;
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(1120px, 94vw);
  max-height: 90vh;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 18px;
  background: #f8fbf9;
  box-shadow: 0 28px 80px rgb(5 34 23 / 34%);
  overflow: hidden;
}

.image-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 12px 26px rgb(5 34 23 / 12%);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  color: #fff;
  background: var(--accent);
  outline: none;
}

@media (max-width: 980px) {
  .gear-header,
  .gear-shell {
    width: min(100% - 28px, 760px);
  }

  .gear-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .gear-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .gear-hero,
  .gear-layout,
  .choice-list,
  .advice-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .gear-hero {
    padding: 22px;
  }

  .gear-hero h1 {
    font-size: 28px;
  }

  .gear-sidebar {
    position: static;
  }

  .gear-illustration {
    min-height: 130px;
  }

  .gear-illustration-button {
    min-height: 130px;
  }

  .gear-breadcrumb a,
  .gear-breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }

  .sources-section a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox-panel {
    width: 96vw;
    max-height: 86vh;
  }

  .image-lightbox-panel img {
    max-height: 86vh;
  }
}
