:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --red: #e8341c;
  --gray: #767676;
  --line: #0a0a0a;
  --thin-line: #d6d6d6;
  --font-main: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* Header & Nav */
.masthead { padding: 24px 20px 10px; border-bottom: 4px solid var(--line); }
.masthead-top { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); margin-bottom: 12px; }
.masthead-main { display: flex; justify-content: space-between; align-items: flex-end; }
.brand-wrap { display: flex; align-items: center; gap: 16px; }
.brand-logo { height: 36px; width: auto; }
.brand-name { font-size: 56px; font-weight: 800; letter-spacing: -3px; line-height: 1; }
.brand-name span { color: var(--red); }
.masthead-date { font-size: 14px; font-weight: bold; letter-spacing: -0.02em; }

.sticky-nav { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 100; height: 48px; display: flex; align-items: center; }
.nav-inner { display: flex; justify-content: space-between; width: 100%; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.nav-links { display: flex; gap: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.btn-nav-download { background: var(--ink); color: var(--paper); padding: 8px 16px; font-size: 13px; font-weight: bold; white-space: nowrap; }
.btn-nav-download:hover { background: var(--red); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero { padding: 60px 0; border-bottom: 1px solid var(--line); }
.kicker { color: var(--red); font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ''; display: block; width: 12px; height: 12px; background: var(--red); }
.hero-title { font-size: 72px; font-weight: 900; line-height: 1.05; letter-spacing: -4px; margin-bottom: 30px; }
.text-red { color: var(--red); }
.tag-band { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 0; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); margin-bottom: 40px; font-weight: bold; font-size: 16px; align-items: center; }
.tag-sep { color: var(--red); font-weight: 900; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.hero-lead { font-size: 18px; font-weight: bold; line-height: 1.6; }
.hero-index, .hero-facts { font-size: 14px; }
.hero-index h3, .hero-facts h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.hero-index li, .hero-facts li { margin-bottom: 6px; display: flex; justify-content: space-between; }
.btn-download { display: inline-block; margin-top: 30px; font-size: 20px; font-weight: bold; border-bottom: 3px solid var(--red); padding-bottom: 4px; color: var(--ink); transition: color 0.2s; }
.btn-download:hover { color: var(--red); }

/* Sec Common */
.sec-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--line); padding-bottom: 10px; margin-bottom: 30px; margin-top: 60px; }
.sec-title { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.sec-num { font-size: 16px; font-weight: bold; color: var(--red); }

/* Category */
.cat-list { display: flex; flex-direction: column; gap: 16px; }
.cat-item { display: flex; align-items: center; border-bottom: 1px solid var(--thin-line); padding-bottom: 16px; }
.cat-num { width: 40px; font-size: 20px; font-weight: bold; color: var(--red); }
.cat-img { width: 72px; height: 96px; object-fit: contain; background: var(--ink); margin-right: 20px; }
.cat-info { display: flex; flex-direction: column; justify-content: center; }
.cat-name { font-size: 20px; font-weight: bold; }
.cat-code { font-size: 12px; color: var(--gray); text-transform: uppercase; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-item { border-right: 1px solid var(--thin-line); padding-right: 30px; }
.step-item:last-child { border-right: none; padding-right: 0; }
.step-num { font-size: 14px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }
.step-img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: var(--ink); margin-bottom: 16px; }
.step-title { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--gray); }

/* Rankings */
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--gray); padding: 10px 0; border-bottom: 1px solid var(--line); }
.rank-table td { padding: 16px 0; border-bottom: 1px solid var(--thin-line); vertical-align: middle; }
.rank-no { font-size: 24px; font-weight: bold; width: 60px; }
.rank-poster { width: 48px; height: 64px; object-fit: contain; background: var(--ink); }
.rank-title { font-size: 18px; font-weight: bold; padding-left: 20px; }
.rank-heat { width: 200px; }
.heat-bar { height: 6px; background: var(--ink); width: 100%; }
.heat-bar.red { background: var(--red); }
.rank-score { font-weight: bold; text-align: right; }

/* Library */
.filter-bar { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn { padding: 6px 12px; font-size: 14px; font-weight: bold; border: 1px solid var(--line); background: none; cursor: pointer; white-space: nowrap; }
.filter-btn.active { background: var(--ink); color: var(--paper); }
.lib-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.lib-card { position: relative; border-bottom: 1px solid var(--thin-line); padding-bottom: 10px; }
.lib-card-img { width: 100%; aspect-ratio: 2/3; object-fit: contain; background: var(--ink); }
.lib-card-title { font-size: 14px; font-weight: bold; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-card-code { position: absolute; top: 0; right: 0; background: var(--paper); padding: 2px 6px; font-size: 12px; font-weight: bold; }

/* Wishlist */
.wish-table { width: 100%; border-collapse: collapse; }
.wish-table th { text-align: left; font-size: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--gray); }
.wish-table td { padding: 16px 0; border-bottom: 1px solid var(--thin-line); }
.wish-img { width: 40px; height: 56px; object-fit: contain; background: var(--ink); }
.wish-title { font-size: 16px; font-weight: bold; padding-left: 16px; }
.wish-progress-wrap { display: flex; align-items: center; gap: 10px; }
.wish-bar-bg { flex: 1; height: 4px; background: var(--thin-line); }
.wish-bar-fill { height: 100%; background: var(--ink); width: 0%; transition: width 0.3s; }
.wish-count { font-size: 14px; font-weight: bold; width: 60px; text-align: right; }
.btn-wish { padding: 4px 8px; border: 1px solid var(--line); background: none; font-size: 12px; font-weight: bold; cursor: pointer; }
.btn-wish.added { background: var(--line); color: var(--paper); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-item { border-left: 2px solid var(--line); padding-left: 16px; }
.feat-num { font-size: 32px; font-weight: 900; color: var(--red); margin-bottom: 10px; line-height: 1; }
.feat-title { font-size: 18px; font-weight: bold; margin-bottom: 6px; }
.feat-desc { font-size: 14px; color: var(--gray); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-item { position: relative; font-size: 15px; font-style: italic; padding-top: 20px; }
.review-item::before { content: '📌'; position: absolute; top: 0; left: 0; font-size: 14px; font-style: normal; }
.review-score { font-size: 48px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 20px; }

/* Download Section */
.dl-section { background: var(--ink); color: var(--paper); padding: 60px 20px; text-align: center; margin-top: 60px; }
.dl-title { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.dl-desc { font-size: 16px; color: var(--gray); margin-bottom: 30px; }
.btn-dl-big { display: inline-block; background: var(--red); color: var(--paper); font-size: 22px; font-weight: bold; padding: 16px 40px; transition: opacity 0.2s; }
.btn-dl-big:hover { opacity: 0.8; }

/* Footer */
footer { padding: 40px 20px 20px; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--thin-line); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.footer-col h4 { font-size: 14px; font-weight: bold; margin-bottom: 12px; }
.footer-col p, .footer-col a { font-size: 12px; color: var(--gray); display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--ink); }
.about-details { font-size: 12px; color: var(--gray); margin-top: 20px; border-top: 1px solid var(--thin-line); padding-top: 20px; }
.about-details summary { cursor: pointer; outline: none; width: fit-content; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.about-links a { color: var(--gray); text-decoration: underline; text-underline-offset: 2px; }
.about-links a:hover { color: var(--ink); }
.footer-bottom { font-size: 12px; color: var(--gray); text-transform: uppercase; border-top: 1px solid var(--thin-line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 56px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-lead { grid-column: span 2; }
  .lib-grid { grid-template-columns: repeat(4, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .masthead-main { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand-name { font-size: 40px; letter-spacing: -2px; }
  .hero-title { font-size: 42px; letter-spacing: -2px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead { grid-column: span 1; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-item { border-right: none; border-bottom: 1px solid var(--thin-line); padding-right: 0; padding-bottom: 20px; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .rank-heat { width: 100px; }
  .dl-title { font-size: 28px; }
}