:root {
  --fs-ember: #EA580C;
  --fs-ember-dark: #C2410C;
  --fs-amber: #F59E0B;
  --fs-char: #18181B;
  --fs-ink: #18181B;
  --fs-muted: #71717A;
  --fs-line: #E4E4E7;
  --fs-bg: #FAFAF9;
  --fs-paper: #FFFFFF;
  --fs-radius: 10px;
  --fs-wrap: 1140px;
  --fs-font: "Trebuchet MS", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fs-font);
  color: var(--fs-ink);
  background: var(--fs-bg);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
a:hover { color: var(--fs-ember); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }

.fs-wrap {
  width: min(100% - 32px, var(--fs-wrap));
  margin-inline: auto;
}

/* Header */
.fs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 24, 27, 0.96);
  backdrop-filter: blur(10px);
  color: #fff;
}

.fs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.fs-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #fff;
}

.fs-logo:hover { color: #fff; }
.fs-logo img { height: 40px; width: auto; }

.fs-logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--fs-amber), var(--fs-ember-dark));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 8px 8px 2px 8px;
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.45);
}

.fs-logo strong { display: block; font-size: 17px; }
.fs-logo em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.fs-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fs-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fs-nav > ul > li { position: relative; }

.fs-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
}

.fs-nav > ul > li.is-active > a,
.fs-nav > ul > li > a:hover {
  background: rgba(234, 88, 12, 0.2);
  color: var(--fs-amber);
}

.fs-subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  padding: 8px;
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s;
}

.fs-nav > ul > li:hover > .fs-subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.fs-subnav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.fs-subnav a:hover,
.fs-subnav .is-active a {
  background: rgba(234, 88, 12, 0.25);
  color: var(--fs-amber);
}

.fs-search {
  display: flex;
  border: 1px solid #3F3F46;
  border-radius: 8px;
  overflow: hidden;
  background: #27272A;
}

.fs-search input {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  width: 130px;
  outline: none;
  font: inherit;
  font-size: 13px;
  color: #fff;
}

.fs-search button {
  border: 0;
  background: var(--fs-ember);
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.fs-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #3F3F46;
  border-radius: 8px;
  background: #27272A;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.fs-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.fs-nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
}

body.nav-open .fs-nav-mask { display: block; }

/* Furnace hero */
.fs-furnace {
  position: relative;
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(245, 158, 11, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(234, 88, 12, 0.2), transparent 50%),
    linear-gradient(160deg, #09090B 0%, #18181B 45%, #292524 100%);
  color: #fff;
  overflow: hidden;
}

.fs-furnace-inner {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fs-chimney {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fs-chimney span {
  display: block;
  width: 28px;
  height: 48px;
  background: linear-gradient(180deg, var(--fs-amber), var(--fs-ember-dark));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  animation: fs-glow 2.4s ease-in-out infinite;
}

.fs-chimney span:nth-child(2) {
  width: 36px;
  height: 64px;
  animation-delay: 0.3s;
}

.fs-chimney span:nth-child(3) {
  width: 22px;
  height: 40px;
  animation-delay: 0.6s;
}

@keyframes fs-glow {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 8px rgba(245, 158, 11, 0.3); }
  50% { filter: brightness(1.25); box-shadow: 0 0 22px rgba(234, 88, 12, 0.55); }
}

.fs-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fs-amber);
  font-weight: 700;
}

.fs-furnace h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 12em;
}

.fs-furnace-desc {
  margin: 16px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36em;
  font-size: 15px;
}

.fs-furnace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.fs-btn-primary {
  background: linear-gradient(135deg, var(--fs-amber), var(--fs-ember));
  color: #fff;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.35);
}

.fs-btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
  transform: translateY(-1px);
}

.fs-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.fs-btn-ghost:hover {
  border-color: var(--fs-amber);
  color: var(--fs-amber);
}

/* Bays */
.fs-bays {
  background: var(--fs-char);
  border-bottom: 3px solid var(--fs-ember);
}

.fs-bays-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fs-bay {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 20px;
  color: #fff;
  border-right: 1px solid #27272A;
  position: relative;
}

.fs-bay:last-child { border-right: 0; }

.fs-bay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
  transition: background .2s;
}

.fs-bay:hover {
  background: #27272A;
  color: #fff;
}

.fs-bay:hover::after { background: var(--fs-ember); }

.fs-bay em {
  font-style: normal;
  font-size: 12px;
  color: var(--fs-amber);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fs-bay strong { font-size: 16px; }
.fs-bay span { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* Sections */
.fs-section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.fs-section-hd h2 {
  font-size: 24px;
  color: var(--fs-char);
}

.fs-section-hd span,
.fs-section-hd a {
  font-size: 13px;
  color: var(--fs-muted);
}

.fs-section-hd a:hover { color: var(--fs-ember); }

.fs-heat,
.fs-cells,
.fs-twin {
  margin: 44px 0;
}

/* Heat cards */
.fs-heat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fs-heat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: var(--fs-paper);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius);
  border-top: 4px solid var(--fs-ember);
  min-height: 180px;
}

.fs-heat-card:nth-of-type(2) { border-top-color: var(--fs-amber); }
.fs-heat-card:nth-of-type(3) { border-top-color: #FB923C; }

.fs-heat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.12);
  color: inherit;
}

.fs-heat-card em {
  font-style: normal;
  font-size: 12px;
  color: var(--fs-ember);
  font-weight: 600;
}

.fs-heat-card h3 { font-size: 17px; flex: 1; }
.fs-heat-card p { margin: 0; font-size: 13px; color: var(--fs-muted); }
.fs-heat-card time { font-size: 12px; color: var(--fs-muted); }

/* Furnace cell stack */
.fs-cell-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fs-cell {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 0;
  align-items: stretch;
  background: var(--fs-paper);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius);
  overflow: hidden;
}

.fs-heatbar {
  background: linear-gradient(180deg, var(--fs-amber), var(--fs-ember-dark));
}

.fs-cell:nth-of-type(even) .fs-heatbar {
  background: linear-gradient(180deg, #FB923C, #9A3412);
}

.fs-cell-body {
  padding: 18px 20px;
}

.fs-cell:hover {
  border-color: var(--fs-ember);
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.06);
  color: inherit;
}

.fs-cell-body time {
  font-size: 12px;
  color: var(--fs-ember);
  font-weight: 700;
}

.fs-cell-body h3 {
  font-size: 17px;
  margin: 4px 0 6px;
}

.fs-cell-body p {
  margin: 0;
  font-size: 13px;
  color: var(--fs-muted);
}

.fs-cell-go {
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: #FFF7ED;
  color: var(--fs-ember);
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid var(--fs-line);
}

/* Twin */
.fs-twin {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.fs-twin-col {
  background: var(--fs-paper);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius);
  padding: 24px;
}

.fs-twin-ash {
  background: linear-gradient(165deg, #27272A 0%, #18181B 100%);
  border-color: transparent;
  color: #fff;
}

.fs-twin-ash .fs-section-hd h2 { color: #fff; }
.fs-twin-ash .fs-section-hd a { color: rgba(255, 255, 255, 0.6); }
.fs-twin-ash .fs-section-hd a:hover { color: var(--fs-amber); }

.fs-energy li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--fs-line);
}

.fs-energy a { display: block; }
.fs-energy a:hover { color: inherit; }
.fs-energy h3 { font-size: 16px; margin-bottom: 6px; }
.fs-energy p { margin: 0 0 8px; font-size: 13px; color: var(--fs-muted); }
.fs-energy span { font-size: 12px; color: var(--fs-ember); font-weight: 600; }

.fs-ash li + li { margin-top: 10px; }

.fs-ash a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--fs-amber);
  border-radius: 0 8px 8px 0;
}

.fs-ash a:hover {
  background: rgba(234, 88, 12, 0.18);
  color: #fff;
}

.fs-ash strong { font-size: 14px; font-weight: 600; }
.fs-ash span { font-size: 12px; opacity: 0.6; flex-shrink: 0; }

/* Inner */
.fs-crumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--fs-muted);
  background: var(--fs-paper);
  border-bottom: 1px solid var(--fs-line);
}

.fs-crumb span { margin: 0 6px; color: #A1A1AA; }

.fs-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0 48px;
  align-items: start;
}

.fs-panel {
  background: var(--fs-paper);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius);
  padding: 22px;
  margin-bottom: 18px;
}

.fs-panel-hd {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fs-ember);
}

.fs-panel-hd h3 { font-size: 16px; }

.fs-page-title {
  font-size: 26px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-article-list li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--fs-line);
}

.fs-article-list a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
}

.fs-article-list a:not(:has(img)) { grid-template-columns: 1fr; }

.fs-article-list img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.fs-article-list h2 { font-size: 18px; margin-bottom: 6px; }
.fs-article-list p { margin: 0 0 8px; color: var(--fs-muted); font-size: 14px; }

.fs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--fs-muted);
}

.fs-meta.center { justify-content: center; margin: 12px 0 24px; }

.fs-empty {
  padding: 40px;
  text-align: center;
  color: var(--fs-muted);
}

.fs-detail h1 {
  font-size: 28px;
  text-align: center;
}

.fs-richtext {
  font-size: 16px;
  line-height: 1.85;
}

.fs-richtext p { margin: 0 0 1em; }
.fs-richtext img { margin: 1em auto; border-radius: 8px; }

.fs-pagerow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--fs-line);
  font-size: 13px;
}

.fs-pagerow a { color: var(--fs-ember); }
.fs-pagerow span { color: var(--fs-muted); }

.fs-rank { counter-reset: fs-rank; }
.fs-rank li {
  counter-increment: fs-rank;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--fs-line);
  font-size: 14px;
}

.fs-rank li::before {
  content: counter(fs-rank);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--fs-bg);
  color: var(--fs-muted);
  font-size: 12px;
  font-weight: 700;
}

.fs-rank li:nth-child(-n+3)::before {
  background: var(--fs-ember);
  color: #fff;
}

.fs-side-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--fs-line);
  font-size: 14px;
}

.fs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.fs-tags a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  font-size: 12px;
  color: var(--fs-ember-dark);
}

.fs-tags a:hover {
  background: var(--fs-ember);
  border-color: var(--fs-ember);
  color: #fff;
}

.fs-ad { font-size: 14px; color: var(--fs-muted); }

.fs-page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.fs-page li a,
.fs-page li span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--fs-line);
  background: var(--fs-paper);
  font-size: 13px;
}

.fs-page li.active a,
.fs-page li a:hover {
  background: var(--fs-ember);
  border-color: var(--fs-ember);
  color: #fff;
}

.fs-page .dots { border: 0; background: transparent; }

/* Footer */
.fs-footer {
  margin-top: 24px;
  padding: 40px 0 28px;
  background: #09090B;
  color: rgba(255, 255, 255, 0.72);
}

.fs-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.fs-footer h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.fs-footer h4 { color: var(--fs-amber); font-size: 14px; margin-bottom: 12px; }
.fs-footer p { margin: 0 0 6px; font-size: 13px; }

.fs-foot-links li { margin-bottom: 6px; }
.fs-foot-links a { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.fs-foot-links a:hover { color: var(--fs-amber); }

.fs-friendlinks {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.fs-friendlinks a {
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.fs-friendlinks a:hover { color: var(--fs-amber); }

.fs-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.fs-copy a { color: rgba(255, 255, 255, 0.45); }

@media (max-width: 992px) {
  .fs-furnace-inner { grid-template-columns: 1fr; gap: 24px; }
  .fs-chimney { flex-direction: row; justify-content: flex-start; }
  .fs-chimney span { height: 28px !important; width: 48px !important; border-radius: 4px; }
  .fs-heat-grid { grid-template-columns: 1fr; }
  .fs-twin { grid-template-columns: 1fr; }
  .fs-layout { grid-template-columns: 1fr; }
  .fs-footer-grid { grid-template-columns: 1fr 1fr; }
  .fs-bays-inner { grid-template-columns: 1fr; }
  .fs-bay { border-right: 0; border-bottom: 1px solid #27272A; }
  .fs-bay:last-child { border-bottom: 0; }
}

@media (max-width: 768px) {
  .fs-nav-toggle { display: flex; }

  .fs-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100vh;
    background: #18181B;
    flex-direction: column;
    align-items: stretch;
    padding: 72px 20px 24px;
    gap: 20px;
    transform: translateX(105%);
    transition: transform .28s ease;
    z-index: 95;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  }

  .fs-nav.is-open { transform: none; }

  .fs-nav > ul { flex-direction: column; align-items: stretch; }
  .fs-nav > ul > li > a { padding: 12px 14px; background: #27272A; margin-bottom: 4px; }

  .fs-subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 4px 12px;
    background: transparent;
  }

  .fs-nav > ul > li.is-open > .fs-subnav { display: block; }

  .fs-search { width: 100%; }
  .fs-search input { flex: 1; width: auto; }

  .fs-furnace { padding: 36px 0; }
  .fs-heat, .fs-cells, .fs-twin { margin: 32px 0; }
  .fs-cell { grid-template-columns: 6px 1fr; }
  .fs-cell-go { display: none; }
  .fs-article-list a { grid-template-columns: 1fr; }
  .fs-article-list img { height: 160px; }
  .fs-detail h1 { font-size: 22px; text-align: left; }
  .fs-pagerow { flex-direction: column; }
  .fs-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .fs-section-hd { flex-direction: column; align-items: flex-start; }
}
