
  :root {
    --bg: #0b0d12;
    --bg-alt: #10141d;
    --panel: #161b26;
    --panel-2: #1c2331;
    --border: #262f42;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --green: #10b981;
    --red: #ef4444;
    --cyan: #38bdf8;
    --radius: 12px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; transition: 0.2s ease; }
  img { display: block; max-width: 100%; height: auto; }
  ul, ol { list-style: none; }
  .fg-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
  .fg-wrap { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }

  /* Header & Ticker */
  .fg-top { position: sticky; top: 0; z-index: 100; background: rgba(11, 13, 18, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  .fg-ticker { background: #07090d; border-bottom: 1px solid var(--border); font-size: 12px; padding: 6px 0; }
  .fg-ticker-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .fg-ticker-txt { display: flex; align-items: center; gap: 8px; color: var(--muted); }
  .fg-ticker-link { color: var(--amber); font-weight: 700; }
  .fg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
  .fg-dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
  .fg-bar { padding: 12px 0; }
  .fg-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .fg-brand { display: inline-flex; align-items: center; gap: 12px; }
  .fg-logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--panel); }
  .fg-brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
  .fg-brand-txt strong { font-size: 18px; font-weight: 900; }
  .fg-brand-txt small { font-size: 10px; letter-spacing: 0.12em; color: var(--amber); font-family: var(--mono); }
  .fg-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
  .fg-nav a:hover { color: var(--amber); }

  /* Buttons */
  .fg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), #d97706);
    color: #090b10;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
  }
  .fg-btn:hover { background: var(--amber-light); transform: translateY(-1px); }
  .fg-btn-sm { padding: 8px 16px; font-size: 13px; }
  .fg-btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--border); }
  .fg-btn-ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(245, 158, 11, 0.08); }

  /* Hero */
  .fg-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.12), transparent 35%); }
  .fg-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
  .fg-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); font-size: 12px; color: var(--amber-light); margin-bottom: 16px; }
  .fg-h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
  .fg-h1-sub { display: block; font-size: clamp(16px, 2vw, 20px); color: var(--amber); font-weight: 700; margin-top: 6px; }
  .fg-lead { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
  .fg-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
  .fg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
  .fg-stats dt { font-size: 12px; color: var(--muted); }
  .fg-stats dd { font-size: 20px; font-weight: 800; color: var(--amber-light); margin-top: 2px; }

  /* Hero Desk Timeline */
  .fg-desk { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; overflow: hidden; }
  .fg-desk-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 12px; color: var(--amber); }
  .fg-rec { color: var(--red); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
  .fg-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
  .fg-ruler, .fg-rail-ruler { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 6px 0; border-bottom: 1px dashed var(--border); margin-bottom: 12px; }
  .fg-lane-v { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
  .fg-clip { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 12px; }
  .fg-clip img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
  .fg-clip figcaption { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
  .fg-clip figcaption b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fg-clip figcaption span { font-size: 11px; color: var(--muted); }
  .fg-clip-gen { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--amber); border-style: dashed; }
  .fg-lane-s { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .fg-sub-chip, .fg-chip { display: inline-block; padding: 3px 10px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--border); font-size: 11px; color: var(--amber-light); }
  .fg-lane-a { display: flex; align-items: flex-end; gap: 3px; height: 36px; padding-top: 6px; }
  .fg-wave { flex: 1; height: var(--h, 40%); background: rgba(245, 158, 11, 0.45); border-radius: 2px; }

  /* Sections */
  .fg-sec { padding: 56px 0; border-bottom: 1px solid var(--border); }
  .fg-sec-alt { background: var(--bg-alt); }
  .fg-head { margin-bottom: 28px; }
  .fg-code { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: 0.12em; font-weight: 700; margin-bottom: 6px; }
  .fg-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 8px; }
  .fg-note { color: var(--muted); font-size: 14px; max-width: 780px; }

  /* T-01 Rail */
  .fg-railwrap { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
  .fg-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .fg-clipcard figure, .fg-poster { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: 0.2s ease; }
  .fg-clipcard figure:hover, .fg-poster:hover { border-color: var(--amber); transform: translateY(-3px); }
  .fg-clipcard img, .fg-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .fg-tc-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.78); color: var(--amber-light); font-size: 11px; font-weight: 700; }
  .fg-end { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 6px; background: var(--green); color: #052e16; font-size: 11px; font-weight: 800; }
  .fg-clipcard figcaption, .fg-poster figcaption { padding: 12px; }
  .fg-clipcard h3, .fg-poster h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fg-clipcard p, .fg-poster p { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }

  /* T-02 Heatboard */
  .fg-heatboard { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
  .fg-heat-grid { display: grid; grid-template-columns: 64px repeat(7, 1fr); gap: 8px; text-align: center; font-size: 13px; }
  .fg-heat-cell { padding: 10px 6px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
  .fg-heat-day, .fg-heat-slot { color: var(--muted); font-weight: 700; }
  .fg-heat-val[data-lv="1"] { background: rgba(245, 158, 11, 0.18); color: var(--amber-light); }
  .fg-heat-val[data-lv="2"] { background: rgba(245, 158, 11, 0.42); color: #fff; font-weight: 700; }
  .fg-heat-val[data-lv="3"] { background: var(--amber); color: #090b10; font-weight: 900; }
  .fg-heat-stats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
  .fg-heat-stats li { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--panel-2); border-radius: 8px; font-size: 13px; }
  .fg-heat-legend { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

  /* T-03 Library */
  .fg-lib { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

  /* T-04 Rankboard */
  .fg-rankboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fg-rankboard li { display: grid; grid-template-columns: 36px 1fr 120px 28px; align-items: center; gap: 12px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
  .fg-rankboard li.is-top { border-color: rgba(245, 158, 11, 0.5); }
  .fg-rank-no { font-size: 18px; font-weight: 900; color: var(--amber); }
  .fg-rank-main h3 { font-size: 15px; font-weight: 800; }
  .fg-rank-main p { font-size: 12px; color: var(--muted); }
  .fg-rank-heat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--amber-light); }
  .fg-rank-heat i { flex: 1; height: 6px; background: var(--panel-2); border-radius: 999px; position: relative; overflow: hidden; }
  .fg-rank-heat i::after { content: ""; position: absolute; inset: 0; width: var(--w, 80%); background: var(--amber); }
  .fg-rank-trend { text-align: center; font-weight: 800; color: var(--green); }

  /* T-05 AI Studio & T-06 Remix & T-07 Pay & T-08 Next */
  .fg-flow, .fg-works, .fg-remix, .fg-pay-list, .fg-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .fg-flow { margin-bottom: 24px; }
  .fg-flow li, .fg-pay-list li, .fg-guide li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
  .fg-guide li { flex-direction: column; }
  .fg-flow-no, .fg-pay-no, .fg-keycap { width: 36px; height: 36px; border-radius: 8px; background: rgba(245, 158, 11, 0.15); color: var(--amber); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0; }
  .fg-work, .fg-remix-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding: 16px; }
  .fg-cover { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
  .fg-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .fg-params { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--muted); }
  .fg-params li { background: var(--panel-2); padding: 3px 8px; border-radius: 6px; }
  .fg-remix-covers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .fg-remix-fig { position: relative; border-radius: 8px; overflow: hidden; }
  .fg-remix-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .fg-remix-fig.is-cut img { filter: contrast(1.08) saturate(1.2); }
  .fg-remix-fig figcaption { position: absolute; bottom: 6px; left: 6px; background: rgba(0, 0, 0, 0.75); padding: 2px 8px; border-radius: 4px; font-size: 11px; }
  .fg-remix-arrow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--amber); color: #000; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
  .fg-remix-origin { font-size: 12px; color: var(--amber); margin-bottom: 4px; }
  .fg-pay-lead { color: var(--muted); margin-bottom: 20px; }

  /* T-09 App & T-10 Voices & T-11 About & T-12 FAQ & T-13 Download */
  .fg-app-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
  .fg-app-points { display: flex; flex-direction: column; gap: 14px; }
  .fg-app-points li { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); padding: 16px; border-radius: var(--radius); }
  .fg-app-points .fg-dot { margin-top: 7px; }
  .fg-phone { max-width: 280px; margin: 0 auto; background: var(--panel); border: 4px solid #2d3748; border-radius: 28px; padding: 12px; overflow: hidden; }
  .fg-phone img { border-radius: 16px; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 10px; }
  .fg-phone figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 12px; padding: 0 4px; }
  .fg-rev { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: stretch; }
  .fg-score { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .fg-score-val { font-size: 48px; font-weight: 900; color: var(--amber); line-height: 1; }
  .fg-score-stars { color: var(--amber); font-size: 18px; margin: 8px 0; }
  .fg-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fg-quotes li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
  .fg-quotes blockquote { font-size: 14px; margin-bottom: 8px; }
  .fg-quotes p { font-size: 12px; color: var(--muted); }
  .fg-about { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
  .fg-faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fg-faq { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
  .fg-faq summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
  .fg-faq-no { color: var(--amber); font-weight: 800; }
  .fg-faq h3 { font-size: 15px; font-weight: 800; }
  .fg-faq-a { margin-top: 10px; font-size: 13px; color: var(--muted); }
  .fg-faq-more { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
  .fg-link { color: var(--amber); font-weight: 700; }
  .fg-dl { padding: 56px 0; background: linear-gradient(180deg, var(--bg-alt), #07090d); }
  .fg-dl-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-bottom: 24px; }
  .fg-dl-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .fg-dl-card p { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
  .fg-dl-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
  .fg-dl-spec li { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; font-size: 13px; }
  .fg-dl-spec b { color: var(--muted); font-size: 11px; }
  .fg-dl-note { font-size: 12px; color: var(--muted); text-align: center; }
  .fg-float { display: none; }
  .fg-ft { padding: 36px 0 44px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
  .fg-ft-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; }
  .fg-ft-links a:hover { color: var(--amber); }
  .fg-ft-line { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 14px; }

  @media (max-width: 960px) {
    .fg-hero-grid, .fg-heatboard, .fg-app-grid, .fg-rev, .fg-dl-grid { grid-template-columns: 1fr; }
    .fg-rail, .fg-lib { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fg-flow, .fg-works, .fg-remix, .fg-pay-list, .fg-guide, .fg-rankboard, .fg-quotes, .fg-faqs { grid-template-columns: 1fr; }
    .fg-nav { display: none; }
  }
  @media (max-width: 640px) {
    .fg-rail, .fg-lib, .fg-stats, .fg-dl-spec, .fg-lane-v { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fg-float { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
    .fg-float-txt { display: flex; flex-direction: column; font-size: 12px; }
    .fg-float-txt span { color: var(--muted); font-size: 11px; }
  }
