:root {
  --gf-hot: #E85D04;
  --gf-hot-dark: #B84300;
  --gf-ink: #1A1C1E;
  --gf-muted: #6B6560;
  --gf-line: #E6DFD6;
  --gf-bg: #F7F3EE;
  --gf-paper: #FFFCFA;
  --gf-slate: #2C2A29;
  --gf-mint: #3D5A5B;
  --gf-radius: 12px;
  --gf-shadow: 0 16px 34px rgba(28, 24, 20, 0.08);
  --gf-wrap: 1140px;
  --gf-font: "Source Han Sans SC", "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gf-display: "Source Han Serif SC", "Songti SC","SimSun","Noto Serif SC", "Songti SC", "SimSun", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gf-font);
  color: var(--gf-ink);
  background: var(--gf-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }

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

/* Header */
.gf-topline {
  background: var(--gf-slate);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.gf-topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  gap: 12px;
}
.gf-topline em { font-style: normal; letter-spacing: 0.08em; opacity: 0.85; }

.gf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gf-line);
}
.gf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.gf-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.gf-logo img { height: 42px; width: auto; }
.gf-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gf-hot), #F48C06);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.28);
}
.gf-logo-mark-sm { width: 36px; height: 36px; border-radius: 8px; }
.gf-logo-cn {
  font-family: var(--gf-display);
  font-size: 18px;
  font-weight: 700;
}
.gf-logo-text { display: flex; flex-direction: column; gap: 2px; }
.gf-logo-text strong {
  font-family: var(--gf-display);
  font-size: 18px;
}
.gf-logo-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--gf-muted);
}

.gf-nav { display: flex; align-items: center; gap: 16px; }
.gf-nav > ul { display: flex; align-items: center; gap: 2px; }
.gf-nav > ul > li { position: relative; }
.gf-nav > ul > li > a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.gf-nav > ul > li.is-active > a,
.gf-nav > ul > li > a:hover {
  color: var(--gf-hot);
  border-bottom-color: var(--gf-hot);
}
.gf-subnav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--gf-line);
  border-radius: 10px;
  box-shadow: var(--gf-shadow);
}
.gf-nav > ul > li:hover > .gf-subnav { display: block; }
.gf-subnav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}
.gf-subnav a:hover { background: #FFF1E6; color: var(--gf-hot); }

.gf-search {
  display: flex;
  border: 1px solid var(--gf-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.gf-search input {
  border: 0;
  outline: 0;
  width: 140px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  background: transparent;
}
.gf-search button {
  border: 0;
  background: var(--gf-slate);
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.gf-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gf-line);
  border-radius: 10px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.gf-nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--gf-slate);
  transition: transform .2s, opacity .2s;
}
.gf-nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.45);
  z-index: 90;
}
body.nav-open .gf-nav-mask { display: block; }

/* Spotlight hero */
.gf-spotlight {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(232, 93, 4, 0.22), transparent 45%),
    linear-gradient(120deg, #1A1C1E 0%, #2C2A29 55%, #3A2E28 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.gf-spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.gf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,.72);
}
.gf-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gf-hot);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.25);
  animation: gfPulse 1.8s ease-in-out infinite;
}
@keyframes gfPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.gf-spotlight h1 {
  font-family: var(--gf-display);
  font-size: clamp(28px, 4.2vw, 40px);
  margin-bottom: 14px;
}
.gf-spotlight-desc {
  margin: 0 0 24px;
  max-width: 460px;
  opacity: 0.84;
  font-size: 15px;
}
.gf-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, background .2s, border-color .2s;
}
.gf-btn:hover { transform: translateY(-1px); }
.gf-btn-primary {
  background: var(--gf-hot);
  color: #fff;
}
.gf-btn-primary:hover { background: var(--gf-hot-dark); }
.gf-btn-ghost {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.gf-btn-ghost:hover { background: rgba(255,255,255,.08); }

.gf-heatboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gf-heat {
  min-height: 72px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: transform .25s, background .25s;
}
.gf-heat:hover { transform: translateY(-2px); }
.gf-heat-md {
  background: rgba(232, 93, 4, 0.28);
  border-color: rgba(232, 93, 4, 0.35);
}
.gf-heat-lg {
  background: linear-gradient(145deg, rgba(232, 93, 4, 0.75), rgba(244, 140, 6, 0.55));
  border-color: transparent;
  min-height: 88px;
  font-size: 15px;
  font-weight: 700;
}

.gf-home-body {
  padding: 32px 0 56px;
  display: grid;
  gap: 24px;
}

/* News sheet with spine */
.gf-sheet {
  display: grid;
  grid-template-columns: 42px 1fr;
  background: var(--gf-paper);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  overflow: hidden;
  box-shadow: var(--gf-shadow);
}
.gf-sheet-spine {
  background: linear-gradient(180deg, var(--gf-hot), #F48C06);
  color: #fff;
  writing-mode: vertical-rl;
  display: grid;
  place-items: center;
  letter-spacing: 0.35em;
  font-size: 13px;
  font-weight: 700;
}
.gf-sheet-main { padding: 24px; }
.gf-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.gf-section-hd h2 {
  font-family: var(--gf-display);
  font-size: 24px;
}
.gf-more {
  font-size: 13px;
  color: var(--gf-hot);
  font-weight: 600;
}
.gf-more:hover { color: var(--gf-hot-dark); }

.gf-asym {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.gf-asym-lead {
  display: block;
  padding: 22px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(232, 93, 4, 0.08), transparent 50%),
    #FFF8F3;
  border: 1px solid #F0DCCB;
  min-height: 100%;
}
.gf-asym-lead img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #F5E6DA;
}
.gf-asym-lead em {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gf-hot);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.gf-asym-lead h3 {
  font-family: var(--gf-display);
  font-size: 22px;
  margin-bottom: 10px;
}
.gf-asym-lead p {
  margin: 0 0 12px;
  color: var(--gf-muted);
  font-size: 14px;
}
.gf-asym-lead time { font-size: 12px; color: var(--gf-muted); }

.gf-asym-stack { display: grid; gap: 0; }
.gf-asym-stack li + li { border-top: 1px dashed var(--gf-line); }
.gf-asym-stack a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 14px 4px;
}
.gf-asym-stack time {
  font-size: 13px;
  font-weight: 700;
  color: var(--gf-hot);
  padding-top: 2px;
}
.gf-asym-stack h4 { font-size: 15px; margin-bottom: 6px; grid-column: 2; }
.gf-asym-stack p {
  margin: 0;
  grid-column: 2;
  font-size: 13px;
  color: var(--gf-muted);
}
.gf-asym-stack a:hover h4 { color: var(--gf-hot); }

/* Dual: hotlist + frontier */
.gf-dual {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
.gf-panel {
  background: var(--gf-paper);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  padding: 22px;
  box-shadow: var(--gf-shadow);
}
.gf-hotlist { counter-reset: gfhot; display: grid; gap: 4px; }
.gf-hotlist li { counter-increment: gfhot; }
.gf-hotlist a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 8px;
  border-radius: 10px;
  transition: background .2s;
}
.gf-hotlist a:hover { background: #FFF4EC; }
.gf-hot-index::before {
  content: counter(gfhot, decimal-leading-zero);
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  color: var(--gf-hot);
}
.gf-hotlist li:nth-child(1) .gf-hot-index::before,
.gf-hotlist li:nth-child(2) .gf-hot-index::before,
.gf-hotlist li:nth-child(3) .gf-hot-index::before {
  color: #fff;
  background: var(--gf-hot);
  border-radius: 6px;
  padding: 2px 4px;
  min-width: 24px;
  text-align: center;
}
.gf-hotlist h3 { font-size: 15px; margin-bottom: 4px; }
.gf-hotlist p { margin: 0; font-size: 13px; color: var(--gf-muted); }
.gf-hotlist time { font-size: 12px; color: var(--gf-muted); padding-top: 2px; }

.gf-frontier-panel {
  background: linear-gradient(165deg, #2C2A29, #3D3834);
  color: #fff;
  border-color: transparent;
}
.gf-frontier-panel .gf-more { color: #F4A261; }
.gf-frontier { display: grid; gap: 12px; }
.gf-frontier a {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.gf-frontier a:hover { background: rgba(255,255,255,.1); }
.gf-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gf-hot);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.2);
}
.gf-frontier h3 { font-size: 15px; margin-bottom: 6px; }
.gf-frontier p { margin: 0 0 8px; font-size: 13px; opacity: 0.75; }
.gf-frontier time { font-size: 12px; opacity: 0.55; }

/* Inner pages */
.gf-crumb {
  background: #fff;
  border-bottom: 1px solid var(--gf-line);
  padding: 12px 0;
  font-size: 13px;
  color: var(--gf-muted);
}
.gf-crumb a:hover { color: var(--gf-hot); }
.gf-crumb span { margin: 0 6px; opacity: 0.5; }

.gf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 28px 0 56px;
  align-items: start;
}
.gf-panel-hd {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--gf-hot) 40%, var(--gf-line));
}
.gf-panel-hd h3 {
  font-family: var(--gf-display);
  font-size: 17px;
}
.gf-page-title {
  font-family: var(--gf-display);
  font-size: 26px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gf-line);
}

.gf-article-list { display: grid; gap: 14px; }
.gf-article-list li a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--gf-line);
  transition: border-color .2s, box-shadow .2s;
}
.gf-article-list li a:hover {
  border-color: color-mix(in srgb, var(--gf-hot) 35%, var(--gf-line));
  box-shadow: 0 10px 22px rgba(28, 24, 20, 0.06);
}
.gf-article-list img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  background: #F5E6DA;
}
.gf-article-list h2 { font-size: 18px; margin-bottom: 8px; }
.gf-article-list p { margin: 0 0 10px; color: var(--gf-muted); font-size: 14px; }
.gf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--gf-muted);
}
.gf-meta.center { justify-content: center; margin: 12px 0 22px; }
.gf-empty { padding: 40px 16px; text-align: center; color: var(--gf-muted); }

.gf-detail h1 {
  font-family: var(--gf-display);
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
}
.gf-richtext { font-size: 16px; line-height: 1.9; color: #2A2623; }
.gf-richtext p { margin: 0 0 1em; }
.gf-richtext img { margin: 1em auto; border-radius: 8px; }
.gf-pagerow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--gf-line);
  font-size: 14px;
}
.gf-pagerow a:hover { color: var(--gf-hot); }

.gf-rank { counter-reset: gfrank; display: grid; gap: 10px; }
.gf-rank li {
  counter-increment: gfrank;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}
.gf-rank li::before {
  content: counter(gfrank);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: #FFF1E6;
  color: var(--gf-hot);
}
.gf-rank li:nth-child(-n+3)::before {
  background: var(--gf-hot);
  color: #fff;
}
.gf-rank a { font-size: 14px; }
.gf-rank a:hover { color: var(--gf-hot); }

.gf-side-list { display: grid; gap: 10px; }
.gf-side-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed var(--gf-line);
  font-size: 14px;
}
.gf-side-list a:hover { color: var(--gf-hot); }
.gf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-tags a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF1E6;
  color: var(--gf-hot-dark);
  font-size: 12px;
}
.gf-tags a:hover { background: var(--gf-hot); color: #fff; }
.gf-ad { font-size: 14px; color: var(--gf-muted); line-height: 1.7; }

.gf-pagination { margin-top: 22px; }
.gf-page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.gf-page a, .gf-page .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--gf-line);
  background: #fff;
  font-size: 13px;
}
.gf-page .active a,
.gf-page a:hover {
  background: var(--gf-hot);
  border-color: var(--gf-hot);
  color: #fff;
}

/* Footer */
.gf-footer {
  background: #1A1C1E;
  color: rgba(255,255,255,.82);
  padding: 48px 0 28px;
  margin-top: 12px;
}
.gf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.gf-foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.gf-foot-brand h3 {
  font-family: var(--gf-display);
  font-size: 18px;
  color: #fff;
}
.gf-footer h4 { margin-bottom: 12px; color: #fff; font-size: 15px; }
.gf-footer p { margin: 0 0 8px; font-size: 14px; opacity: 0.85; }
.gf-foot-links { display: grid; gap: 8px; }
.gf-foot-links a { font-size: 14px; opacity: 0.85; }
.gf-foot-links a:hover { opacity: 1; color: #F4A261; }
.gf-friendlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}
.gf-friendlinks a:hover { color: #F4A261; }
.gf-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  opacity: 0.7;
}
.gf-copy a { color: inherit; }

@media (max-width: 960px) {
  .gf-spotlight-grid,
  .gf-asym,
  .gf-dual,
  .gf-layout { grid-template-columns: 1fr; }
  .gf-sheet { grid-template-columns: 1fr; }
  .gf-sheet-spine {
    writing-mode: horizontal-tb;
    min-height: 40px;
    letter-spacing: 0.2em;
  }
  .gf-footer-grid { grid-template-columns: 1fr; }
  .gf-article-list li a { grid-template-columns: 120px 1fr; }
}

@media (max-width: 768px) {
  .gf-nav-toggle { display: inline-flex; }
  .gf-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100vh;
    z-index: 110;
    background: #FFFCFA;
    flex-direction: column;
    align-items: stretch;
    padding: 72px 18px 24px;
    gap: 16px;
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: -12px 0 30px rgba(0,0,0,.12);
  }
  .gf-nav.is-open { transform: translateX(0); }
  .gf-nav > ul { flex-direction: column; align-items: stretch; }
  .gf-nav > ul > li > a { border-bottom: 0; border-radius: 8px; }
  .gf-nav > ul > li.is-active > a,
  .gf-nav > ul > li > a:hover { background: #FFF1E6; }
  .gf-subnav {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 4px 12px;
  }
  .gf-nav > ul > li.is-open > .gf-subnav { display: block; }
  .gf-search { width: 100%; }
  .gf-search input { width: 100%; flex: 1; }
  .gf-heatboard { grid-template-columns: repeat(2, 1fr); }
  .gf-hotlist a { grid-template-columns: 28px 1fr; }
  .gf-hotlist time { display: none; }
  .gf-article-list li a { grid-template-columns: 1fr; }
  .gf-article-list img { height: 160px; }
  .gf-pagerow { flex-direction: column; }
  body.nav-open { overflow: hidden; }
  body.nav-open .gf-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .gf-nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .gf-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
