:root {
  --bg-warm: #fcfbfa;
  --text-ink: #111111;
  --text-muted: #555555;
  --warn-yellow: #f5c211;
  --warn-orange: #f27a18;
  --warn-red: #e62222;
  --cool-blue: #2a9df4;
  --border-color: #e0e0e0;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background-color: var(--bg-warm); color: var(--text-ink); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.5px; line-height: 1.2; }
.temp-mono { font-family: var(--font-mono); font-weight: bold; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background-color: var(--bg-warm); border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; letter-spacing: 1px; }
.brand img { height: 32px; width: auto; }
.nav-desktop { display: none; gap: 16px; font-size: 14px; font-weight: bold; overflow-x: auto; white-space: nowrap; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-item { display: flex; align-items: center; gap: 6px; opacity: 0.7; transition: opacity 0.2s; }
.nav-item:hover, .nav-item.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.d-yellow { background: var(--warn-yellow); }
.d-orange { background: var(--warn-orange); }
.d-red { background: var(--warn-red); }
.btn-download { background: var(--warn-red); color: white; padding: 0 20px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; border-radius: 4px; position: relative; }
.blink-dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; background: white; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* Ticker */
.ticker { background: var(--text-ink); color: white; font-size: 13px; padding: 8px 0; overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--border-color); }
.ticker-inner { display: inline-block; animation: ticker 20s linear infinite; }
.ticker-item { margin: 0 20px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
section { padding: 60px 20px; border-bottom: 1px solid var(--border-color); position: relative; }
@media (min-width: 768px) { section { padding: 80px 40px; } }
.max-w { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 12px; font-weight: bold; padding: 4px 8px; border: 1px solid var(--text-ink); margin-bottom: 20px; }
.section-title { font-size: 32px; font-weight: 900; margin-bottom: 20px; }
@media (min-width: 768px) { .section-title { font-size: 48px; } }
.section-desc { font-size: 18px; margin-bottom: 40px; max-width: 800px; color: var(--text-muted); }

/* Hero */
.hero { background: var(--bg-warm); }
.hero-content { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hero-content { grid-template-columns: 1fr 2fr; } }
.hero-text h1 { font-size: 40px; font-weight: 900; margin-bottom: 20px; }
@media (min-width: 1024px) { .hero-text h1 { font-size: 56px; } }
.hero-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; }
.btn-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.btn-secondary { background: white; color: var(--text-ink); border: 1px solid var(--border-color); padding: 10px 20px; font-weight: bold; border-radius: 4px; text-align: center; }
.trust-info { font-size: 12px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.trust-info span { display: flex; align-items: center; gap: 4px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.heat-card { background: white; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; position: relative; transition: transform 0.2s; }
.heat-card:hover { transform: translateY(-4px); }
.card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-temp { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.7); color: white; font-size: 12px; padding: 2px 6px; border-radius: 2px; }
.card-warn-bar { position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.card-info { padding: 12px; }
.card-title { font-weight: bold; font-size: 16px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }
.card-hook { font-size: 12px; color: var(--warn-red); margin-top: 8px; font-weight: bold; }

/* Chart Section */
.chart-list { display: flex; flex-direction: column; gap: 12px; }
.chart-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: white; border: 1px solid var(--border-color); border-radius: 4px; }
.chart-item img { width: 48px; height: 64px; object-fit: cover; border-radius: 2px; aspect-ratio: 3/4; }
.chart-item-info { flex: 1; }
.chart-rank { font-size: 20px; font-weight: 900; color: var(--border-color); width: 30px; text-align: center; }
.chart-rank.top { color: var(--warn-red); }

/* Genre Section */
.genre-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.genre-chip { padding: 8px 16px; border: 1px solid var(--warn-orange); color: var(--warn-orange); border-radius: 20px; font-weight: bold; cursor: pointer; }

/* Timeline */
.timeline { display: flex; overflow-x: auto; gap: 20px; padding-bottom: 20px; }
.timeline-item { min-width: 140px; display: flex; flex-direction: column; align-items: center; position: relative; }
.timeline-dot { width: 12px; height: 12px; background: var(--warn-orange); border-radius: 50%; margin-bottom: 10px; z-index: 2; }
.timeline-line { position: absolute; top: 6px; left: 0; width: 100%; height: 2px; background: var(--border-color); z-index: 1; }

/* Path Section */
.path-board { background: #111; color: white; padding: 40px 20px; border-radius: 8px; position: relative; overflow: hidden; }
.path-svg { width: 100%; height: auto; opacity: 0.8; }
.path-cards { display: flex; gap: 20px; overflow-x: auto; margin-top: 20px; padding-bottom: 20px; }

/* Live Section */
.live-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .live-feed { grid-template-columns: repeat(4, 1fr); } }
.danmaku { background: var(--bg-warm); padding: 10px; border: 1px dashed var(--warn-red); margin: 20px 0; color: var(--warn-red); font-weight: bold; text-align: center; }

/* Tracking Section */
.track-section { background: var(--warn-orange); color: white; }
.track-section .section-tag { border-color: white; color: white; }
.track-section .section-title { color: white; }
.track-layout { display: grid; gap: 30px; }
@media (min-width: 1024px) { .track-layout { grid-template-columns: 2fr 1fr; } }

/* Cooling Section */
.cooling { background: white; }
.cooling-box { background: #f0f8ff; border: 2px solid var(--cool-blue); padding: 30px; border-radius: 12px; color: #003e6b; }
.cooling-list { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .cooling-list { grid-template-columns: 1fr 1fr; } }
.cooling-list li { display: flex; align-items: center; gap: 8px; font-weight: bold; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item summary { padding: 16px 0; font-weight: bold; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: '+'; color: var(--warn-orange); }
.faq-item[open] summary::after { content: '-'; }
.faq-content { padding-bottom: 16px; color: var(--text-muted); }

/* Bottom CTA */
.bottom-cta { background: var(--warn-red); color: white; text-align: center; padding: 80px 20px; }
.bottom-cta h2 { font-size: 36px; margin-bottom: 20px; font-weight: 900; }
.btn-download-large { background: white; color: var(--warn-red); padding: 16px 40px; font-size: 20px; font-weight: 900; border-radius: 8px; display: inline-block; margin-top: 20px; }

/* Footer */
.site-footer { background: var(--bg-warm); padding: 40px 20px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-color); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
footer details { margin-top: 10px; }
footer summary { cursor: pointer; font-weight: bold; margin-bottom: 8px; }
footer summary::-webkit-details-marker { display: none; }
footer details a { display: inline-block; margin-right: 10px; color: var(--text-muted); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}