@font-face {
  font-family: "ZCOOL QingKe HuangYou";
  src: url("qingke.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("noto-sc.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --color-bg: #141109;
  --color-nav: #0f0d07;
  --color-section: #1a160d;
  --color-card: #1f1a0f;
  --color-stroke: #342c18;
  --color-stroke-strong: #4d4122;
  --color-accent: #ffc30d;
  --color-button: #221a02;
  --color-text: #f6efdc;
  --color-muted: #b7ac8f;
  --color-dim: #84795c;
  --color-footer-text: #8b8676;
  --color-live: #0dffc3;
  --color-index: #d9d9d9;
  --font-display: "ZCOOL QingKe HuangYou", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-counter: "Barlow Condensed", "Arial Narrow", var(--font-body);
  --wrap: 1180px;
  --gutter: 28px;
  --section-padding: 88px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--color-bg); scroll-padding-top: 84px; }
body { margin: 0; color: var(--color-text); font: 400 15px/1.72 var(--font-body); }
h1, h2, h3, p, blockquote, figure, ol, ul { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, summary { color: inherit; }
:where(a, summary):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
ol, ul { padding: 0; }
h1, .number-heading h2, .download-inner h2, .genre-caption strong, .steps-grid strong, .missing-page h1 {
  font-family: var(--font-display);
  font-weight: 400;
}
h1, .number-heading h2, .download-inner h2 { text-wrap: balance; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 50; transform: translateY(-150%); padding: 8px 14px; color: var(--color-button); background: var(--color-accent); }
.skip-link:focus { transform: none; }

.masthead { position: sticky; top: 0; z-index: 40; background: var(--color-nav); border-bottom: 1px solid var(--color-stroke); }
.masthead-row { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; gap: 11px; }
.brand img { width: 42px; height: 42px; border: 1px solid var(--color-stroke-strong); border-radius: 8px; object-fit: cover; flex: none; }
.brand strong, .footer-wordmark strong { display: block; font: 400 19px/24px var(--font-display); letter-spacing: 2px; color: var(--color-accent); }
.brand strong.wordmark-en, .footer-wordmark strong.wordmark-en { line-height: 23.18px; letter-spacing: 0; }
.wordmark-en span { color: #fff4d3; white-space: nowrap; }
.brand small, .footer-wordmark small { display: block; color: var(--color-dim); font: 600 10.5px/13px var(--font-counter); letter-spacing: 1.5px; }
.nav-desktop { display: flex; align-items: center; gap: 26px; min-width: 0; }
.nav-desktop a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--color-muted); font-weight: 500; line-height: 1.35; }
.nav-desktop a[aria-current] { color: var(--color-accent); }
.nav-desktop a[aria-current]::after { position: absolute; inset: auto 0 4px; height: 2px; background: currentColor; content: ""; }
.masthead-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.masthead-language { position: relative; }
.masthead-language summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding-inline: 10px; list-style: none; color: var(--color-text); cursor: pointer; }
.masthead-language summary::-webkit-details-marker { display: none; }
.masthead-language[open] summary, .masthead-language summary:hover { color: var(--color-accent); }
.masthead-language summary::after { content: ""; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.language-icon { position: relative; flex: none; width: 16px; height: 16px; border: 1px solid; border-radius: 50%; }
.language-icon::before { content: ""; position: absolute; inset: -1px 3px; border: 1px solid; border-radius: 50%; }
.language-icon::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid; }
.language-current { font-size: 14px; white-space: nowrap; }
.language-panel { position: absolute; z-index: 12; inset: calc(100% + 5px) 0 auto auto; min-width: 144px; padding: 4px; border: 1px solid var(--color-stroke-strong); background: var(--color-card); }
.language-panel .language-links { display: grid; gap: 0; }
.language-panel :is(a, span[aria-current]) { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; white-space: nowrap; }
.language-panel span[aria-current] { color: var(--color-accent); background: var(--color-nav); }
.mobile-nav { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 12px 28px; border: 1px solid transparent; font-size: 16px; font-weight: 700; line-height: 1.35; text-align: center; }
.btn-gold { color: var(--color-button); background: var(--color-accent); }
.btn-gold:hover { background: #ffd14a; }
.btn-ghost { color: var(--color-text); background: rgb(255 255 255 / .20); }
.btn-ghost:hover { background: rgb(255 255 255 / .28); }
.btn-download { min-width: 250px; }
.btn-download::after { content: "↓" / ""; }
.masthead-download { flex: 0 0 auto; min-height: 44px; padding: 8px 19px; font-size: 14px; }
@media (max-width: 350px) {
  :lang(en) .masthead-download { width: 78px; padding-inline: 4px; line-height: 1.15; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: start; min-height: 720px; background: var(--color-nav); }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero:has(.hero-image)::after { position: absolute; z-index: -1; inset: 0; background: rgb(0 0 0 / .60); content: ""; }
.hero-inner { padding-block: 182px 100px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; min-height: 37px; margin-bottom: 20px; padding: 4px 15px; border: 1px solid rgb(255 195 13 / .45); color: var(--color-accent); background: rgb(255 195 13 / .10); font-size: 13px; font-weight: 700; letter-spacing: 1.1px; }
.hero-kicker::before { width: 8px; height: 8px; transform: rotate(45deg); flex: none; background: var(--color-accent); content: ""; }
.hero h1 { max-width: 640px; font-size: 62px; line-height: 1.14; letter-spacing: 2px; }
.hero h1 span { display: block; color: var(--color-accent); }
.hero-subtitle { max-width: 540px; margin-top: 19px; color: var(--color-muted); font-size: 16px; line-height: 1.68; }
.hero .actions { margin-top: 30px; }
.hero-basic { min-height: auto; }
.hero-basic .hero-inner { padding-block: var(--section-padding); }
.hero-basic .btn { margin-top: 24px; }

.home-section { padding-block: var(--section-padding); }
.section-tint, .download-strip { background: var(--color-section); border-block: 1px solid var(--color-stroke); }
.number-heading { display: flex; align-items: flex-start; gap: 24px; min-height: 131px; }
.number-heading > span { flex: none; color: var(--color-index); font: 700 66px/.94 var(--font-counter); }
.number-heading > div { min-width: 0; }
.eyebrow { min-height: 24px; color: var(--color-accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; line-height: 1.9; }
.number-heading h2 { font-size: 38px; line-height: 1.86; letter-spacing: .35px; }
.heading-intro { max-width: 720px; padding-top: 4px; color: var(--color-muted); font-size: 15.5px; line-height: 1.7; }
.number-heading .heading-intro { max-width: 660px; padding-top: 7px; }
.app-shots { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; padding-block: 37px; }
.app-shots img { width: 100%; height: auto; aspect-ratio: 270/584; object-fit: cover; border: 1px solid rgb(184 189 255 / .25); border-radius: 12px; }

.ranking-list { display: grid; gap: 10px; list-style: none; }
.home-ranking { margin-top: 42px; counter-reset: home-ranking; }
.home-ranking > li { counter-increment: home-ranking; }
.home-ranking .rank-index::before { content: counter(home-ranking, decimal-leading-zero) / ""; }
.home-ranking .rank-row { min-height: 130px; }
.home-ranking .rank-row:hover { border-color: var(--color-accent); }
.home-ranking .rank-summary, .home-ranking .heat-bar + p { line-height: 18px; }
.home-ranking .rank-heat { grid-column: 4; }
[data-section="custom-ranking"] .ranking-note {
  margin-top: 25px;
  padding: 0 0 0 12px;
  border-inline-start: 2px solid var(--color-accent);
}
.home-posters { margin-top: 42px; }
.rank-row {
  display: grid;
  grid-template-columns: 62px 60px minmax(0, 1fr) 128px;
  gap: 20px;
  align-items: center;
  min-height: 108px;
  padding: 13px 18px;
  border: 1px solid var(--color-stroke);
  background: var(--color-card);
}
.rank-index { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-index); font: 700 44px/1 var(--font-counter); }
.ranking-list > li:nth-child(-n+3) .rank-index { color: var(--color-accent); }
.rank-cover { grid-column: 2; width: 60px; height: 80px; object-fit: cover; border: 1px solid var(--color-stroke-strong); }
.rank-body { grid-column: 3; min-width: 0; }
.rank-body strong { display: block; line-height: 26px; font-size: 16px; overflow-wrap: anywhere; }
.rank-body .rank-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-body p { color: var(--color-dim); font-size: 12.5px; line-height: 23px; }
.heat-bar { display: block; width: 100%; height: 8px; margin-top: 8px; appearance: none; color: var(--color-accent); border: 1px solid var(--color-stroke-strong); border-radius: 0; background: #2b2413; }
.heat-bar::-webkit-progress-bar { background: #2b2413; }
.heat-bar::-webkit-progress-value { background: linear-gradient(90deg,var(--color-accent),var(--color-text)); }
.heat-bar::-moz-progress-bar { background: linear-gradient(90deg,var(--color-accent),var(--color-text)); }
.rank-heat { min-width: 0; overflow-wrap: anywhere; text-align: right; color: var(--color-accent); font: 600 11.5px/1.1 var(--font-counter); }
.rank-heat strong { display: block; font-size: 26px; line-height: 1.06; }
.rank-heat small { display: block; margin-top: 1px; color: var(--color-dim); font-size: inherit; letter-spacing: .5px; }
.ranking-note { padding: 22px 19px 0; color: var(--color-dim); font-size: 14px; }

.genre-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; list-style: none; counter-reset: genre; }
.number-heading + .genre-grid { margin-top: 42px; }
.genre-tile { position: relative; min-width: 0; overflow: hidden; isolation: isolate; counter-increment: genre; display: grid; align-items: end; aspect-ratio: 3/4; border: 1px solid var(--color-stroke-strong); background: var(--color-card); }
.genre-tile > a { display: grid; align-items: end; height: 100%; }
.genre-tile img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.genre-tile::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgb(15 13 7 / .97), transparent 63%); content: ""; }
.genre-tile::after { position: absolute; top: 11px; right: 13px; color: rgb(255 255 255 / .51); font: 700 26px/1.6 var(--font-counter); content: counter(genre, decimal-leading-zero) / ""; pointer-events: none; }
.genre-tile:focus-within, .genre-tile:hover { border-color: var(--color-accent); }
.genre-caption { display: grid; align-content: end; padding: 16px; }
.genre-caption strong { font-size: 23px; line-height: 1.65; letter-spacing: 1px; }
.genre-caption span { color: var(--color-muted); font-size: 12.5px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 34px; list-style: none; counter-reset: step; }
.steps-grid li { display: flex; align-items: flex-start; min-height: 102px; gap: 15px; padding: 18px 22px; background: var(--color-nav); border: 1px solid var(--color-stroke); counter-increment: step; }
.steps-grid li::before { flex: none; color: var(--color-accent); font: 700 38px/1 var(--font-counter); content: counter(step, decimal-leading-zero) / ""; }
.steps-grid strong { color: var(--color-accent); font-size: 20px; line-height: 1.65; }
.steps-grid p { margin-top: 2px; color: var(--color-muted); font-size: 13.5px; }

.conversation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 42px; list-style: none; }
.conversation-card { position: relative; min-width: 0; min-height: 170px; padding: 24px 20px 17px; border: 1px solid var(--color-stroke); background: #221c0e; }
.conversation-card::before { position: absolute; top: -9px; left: 38%; width: 86px; height: 22px; background: rgb(255 195 13 / .22); transform: rotate(-4deg); content: ""; pointer-events: none; }
.conversation-card:nth-child(2n)::before { transform: rotate(4deg); }
.conversation-byline, .discussion-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; align-items: baseline; }
.conversation-byline > *, .discussion-top > * { min-width: 0; overflow-wrap: anywhere; }
.conversation-byline strong { color: var(--color-accent); font-size: 14.5px; }
.conversation-byline span { color: var(--color-live); font: 600 13.5px/1.7 var(--font-counter); }
.conversation-card blockquote { margin-block: 10px 11px; line-height: 1.82; }
.conversation-card p, .discussion-card p, .discussion-top span { color: var(--color-dim); font-size: 12.5px; }
.faq-list { max-width: 900px; list-style: none; counter-reset: question; }
.number-heading + .faq-list { margin-top: 42px; }
.faq-list li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 18px; min-height: 109px; padding: 20px 6px 22px; border-bottom: 1px solid var(--color-stroke-strong); counter-increment: question; }
.faq-list h3 { font-size: 17px; line-height: 29px; }
.faq-list p { padding-top: 6px; color: var(--color-muted); font-size: 14.5px; line-height: 1.85; }
.faq-number { color: var(--color-accent); font: 700 26px/32px var(--font-counter); }
.faq-number::after { content: counter(question, decimal-leading-zero) / ""; }
.faq-list li:nth-child(1), .faq-list li:nth-child(2), .faq-list li:nth-child(4) { min-height: 136px; }

.download-strip { padding-block: 46px; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; }
.download-inner > div { min-width: 0; }
.download-inner h2 { font-size: 32px; line-height: 1.65; letter-spacing: .55px; }
.download-inner p:not(.eyebrow), .download-highlights { padding-top: 4px; color: var(--color-muted); font-size: 14.5px; line-height: 1.8; }
.download-highlights { margin-top: 5px; white-space: pre-line; }
.download-inner .btn { flex: 0 0 auto; }

.footer { padding-block: 60px; color: var(--color-footer-text); font-size: 12px; line-height: 1.65; }
.footer-layout { display: grid; grid-template-columns: minmax(0,480fr) repeat(3,minmax(0,133.33fr)); gap: clamp(28px,7vw,100px); }
.footer-wordmark { display: inline-block; }
.footer-wordmark strong { font-size: 24px; }
.footer-wordmark small { margin-top: 4px; color: #b7b3b7; letter-spacing: 3px; }
.footer-note { max-width: 410px; margin-top: 18px; font-size: 13px; white-space: pre-line; }
.copyright { margin-top: 17px; font-size: 11px; }
.footer-col { min-width: 0; }
.footer-heading { margin-bottom: 11px; color: #faf8ef; font-size: 14px; font-weight: 700; line-height: 22px; }
.footer-col a, .footer-policy > span { display: block; margin-block: 0 11px; }
.footer-col a:hover, .language-links a:hover { color: var(--color-accent); }
.footer-discover { display: grid; grid-template-columns: max-content max-content; gap: clamp(12px,3vw,52px); white-space: nowrap; }
.language-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; }
.language-links a, .language-links span { margin: 0; }
.language-links [aria-current] { color: var(--color-text); }

.inner-hero { min-height: 282px; padding-block: 57px 45px; border-bottom: 1px solid var(--color-stroke); }
.breadcrumb { color: var(--color-accent); font-size: 13px; }
.breadcrumb a:hover { text-decoration: underline; }
.inner-hero .eyebrow { margin-top: 13px; }
.inner-hero h1 { margin-top: 5px; font-size: 44px; line-height: 1.61; letter-spacing: .5px; }
.inner-hero .heading-intro { margin-top: 11px; padding-top: 0; }
.interior-section, .library, .chart-body { padding-block: 54px 72px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 30px; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 4px 16px; border: 1px solid var(--color-stroke); color: var(--color-muted); background: var(--color-card); font-size: 13.5px; font-weight: 500; max-width: 100%; overflow-wrap: anywhere; }
.filter-chip:hover { border-color: var(--color-accent); }
.filter-chip.active { border-color: var(--color-accent); color: var(--color-button); background: var(--color-accent); font-weight: 700; }
.genre-index { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.genre-index .filter-chip { display: inline-flex; min-height: 44px; align-items: center; }
.poster-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; list-style: none; }
.poster-card { min-width: 0; border: 1px solid var(--color-stroke); background: var(--color-card); }
.poster-card:hover, .poster-card:focus-within { border-color: var(--color-accent); }
.poster-link { display: block; padding: 8px; }
.poster-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: linear-gradient(155deg, var(--color-stroke-strong), var(--color-bg)); }
.poster-link:not(:has(.poster-media))::before { display: block; aspect-ratio: 3/4; background: linear-gradient(145deg,#4d4122,#201a0b 72%); content: ""; }
.poster-media img { width: 100%; height: 100%; object-fit: cover; }
.poster-status, .poster-heat { position: absolute; font-weight: 700; }
.poster-status { top: 8px; left: 8px; padding: 2px 8px; color: var(--color-button); background: var(--color-accent); font-size: 12px; }
.poster-heat { right: 7px; bottom: 6px; padding: 2px 6px; color: var(--color-accent); background: rgb(15 13 7 / .84); font: 600 13px/1.65 var(--font-counter); }
.poster-copy { padding: 8px 4px 7px; }
.poster-title { font-size: 15px; line-height: 25px; overflow-wrap: anywhere; }
.poster-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.poster-copy p { color: var(--color-dim); font-size: 12.5px; line-height: 21px; overflow-wrap: anywhere; }
.empty-state { color: var(--color-muted); padding-block: 12px; }
.chart-ranking { counter-reset: chart; }
.chart-ranking li { counter-increment: chart; }
.chart-ranking .rank-index::before { content: counter(chart, decimal-leading-zero) / ""; }
.chart-ranking .rank-row { grid-template-columns: 54px 60px minmax(0, 1fr) 118px 76px; }
.chart-ranking .rank-row:hover { border-color: var(--color-accent); }
.rank-trend { color: var(--color-dim); font: 700 14px/1.7 var(--font-counter); text-align: left; }
.rank-trend[data-direction="up"] { color: var(--color-accent); }
.rank-trend[data-direction="new"] { color: var(--color-live); }
.chart-set-title { margin-block: 25px 14px; }

.discussion-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; list-style: none; }
.discussion-card { min-width: 0; padding: 21px 24px 24px; border: 1px dashed var(--color-stroke-strong); background: var(--color-card); }
.discussion-card h2 { color: var(--color-accent); font-size: 15.5px; }
.discussion-card blockquote { margin-block: 12px; line-height: 1.8; }
.discussion-card:nth-child(-n+2) { min-height: 176px; }
.discussion-card:nth-child(-n+2) blockquote { min-height: 54px; }
.news-list { display: grid; gap: 14px; list-style: none; }
.news-row { display: grid; grid-template-columns: 108px minmax(0,1fr) max-content; gap: 20px; align-items: start; min-height: 105px; padding: 19px 24px; border: 1px solid var(--color-stroke); background: var(--color-card); }
.news-date { color: var(--color-accent); font: 700 21px/1.65 var(--font-counter); }
.news-row h2 { padding-top: 4px; font-size: 17px; }
.news-row p { padding-top: 6px; color: var(--color-muted); font-size: 14px; }
.news-label { margin-top: 5px; padding: 4px 12px; background: rgb(255 195 13 / .11); color: var(--color-accent); font-size: 12.5px; font-weight: 700; }
.pagination { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 32px; }

.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 20px; list-style: none; }
.article-grid li { min-width: 0; }
.article-card { overflow: hidden; border: 1px solid var(--color-stroke); background: var(--color-card); }
.article-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.article-card > div { padding: 16px; }
.article-card h2 { font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; }
.article-card h2 a:hover { color: var(--color-accent); }
.article-card p, .article-date { margin-top: 8px; color: var(--color-muted); }
.article-cover { margin-bottom: 24px; width: 100%; height: auto; }
.prose { max-width: 744px; color: var(--color-muted); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15em; }
.prose :is(h2,h3,h4) { color: var(--color-text); line-height: 1.4; }
.prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose :is(ul,ol) { padding-inline-start: 1.45em; }
.prose blockquote { border-left: 3px solid var(--color-accent); padding-left: 16px; }
.prose img { height: auto; }
.prose :is(pre,table) { display: block; max-width: 100%; overflow: auto; border: 1px solid var(--color-stroke); }
.prose pre, .prose :is(th,td) { padding: 8px 12px; }
.article-download { padding-bottom: 54px; }
.detail { padding-block: 54px 72px; }
.detail-row { display: flex; align-items: flex-start; gap: 32px; margin-top: 30px; }
.detail-cover { flex: none; width: min(234px,32vw); height: auto; border-radius: 8px; border: 1px solid var(--color-stroke-strong); }
.detail-copy { min-width: 0; }
.detail-copy h1, .missing-page h1 { font-size: clamp(36px,4vw,52px); line-height: 1.24; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; color: var(--color-muted); }
.detail-tags > * { padding: 4px 10px; border: 1px solid var(--color-stroke-strong); }
.detail-tags a:hover { border-color: var(--color-accent); }
.detail-description { margin-block: 20px; }
.detail-description h2 { margin-bottom: 8px; font-size: 17px; }
.detail-episodes { max-width: 850px; margin-top: 48px; }
.detail-episodes header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; }
.detail-episodes header h2 { border-inline-start: 3px solid var(--color-accent); padding-inline-start: 10px; font-size: 22px; line-height: 1.2; }
.detail-episodes header span { color: var(--color-dim); font-size: 14px; }
.detail-episodes ol { list-style: none; border-block-start: 1px solid var(--color-stroke); }
.detail-episodes li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding-block: 16px; border-block-end: 1px solid var(--color-stroke); }
.episode-number { color: var(--color-index); font: 700 38px/1 var(--font-counter); font-variant-numeric: tabular-nums; }
.detail-episodes h3 { color: var(--color-accent); font-size: 16px; overflow-wrap: anywhere; }
.detail-episodes li p { margin-top: 6px; color: var(--color-muted); line-height: 1.6; overflow-wrap: anywhere; }
.episode-highlight strong { color: var(--color-accent); }
.episode-toggle { margin-top: 16px; }
.related { padding-bottom: 72px; }
.related h2 { margin-bottom: 16px; }
.missing-page .btn { margin-top: 24px; }

@media (max-width: 1120px) {
  .nav-desktop { gap: 15px; }
  .masthead-row { gap: 15px; }
  .footer-layout { gap: 36px; }
  .footer-discover { grid-template-columns: auto; gap: 0; }
  :lang(en) .nav-desktop { gap: 12px; }
}

@media (max-width: 1024px) {
  .masthead-row { min-height: 60px; gap: 8px; padding-right: 52px; }
  .nav-desktop { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { position: absolute; top: 8px; right: var(--gutter); display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon { position: relative; width: 18px; height: 2px; background: var(--color-text); }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; width: 100%; height: 2px; background: inherit; content: ""; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .mobile-panel { max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain; padding-block: 4px 12px; border-top: 1px solid var(--color-stroke); }
  .mobile-panel nav:first-child a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--color-stroke); color: var(--color-muted); }
  .mobile-panel nav:first-child a[aria-current] { color: var(--color-accent); }
  .mobile-panel .language-links, .footer .language-links { font-size: 12px; }
  .mobile-panel .language-links :is(a, span[aria-current]), .footer .language-links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; --section-padding: 62px; }
  .app-shots { gap: 16px; }
  .poster-grid, .genre-grid { gap: 13px; }
  .rank-row { grid-template-columns: 42px 52px minmax(0,1fr) 72px; gap: 12px; }
  .rank-cover { width: 52px; height: 70px; }
  .chart-ranking .rank-row { grid-template-columns: 42px 52px minmax(0,1fr) 72px 56px; }
  .rank-index { font-size: 36px; }
  .footer-layout { grid-template-columns: 1.35fr 1fr 1fr; gap: 26px 24px; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --section-padding: 49px; }
  .masthead-actions { position: relative; gap: 4px; }
  .masthead-language { position: static; }
  .masthead-language summary { gap: 4px; padding-inline: 5px; }
  .language-current { display: none; }
  .brand { gap: 7px; min-width: 0; flex: 0 1 auto; }
  .brand img { height: 34px; max-width: 62px; }
  .brand strong { font-size: 17px; line-height: 20px; letter-spacing: .4px; }
  .brand small { font-size: 12px; line-height: 13px; letter-spacing: .8px; }
  :lang(en) .brand { gap: 6px; }
  :lang(en) .brand img { width: 30px; height: 30px; }
  :lang(en) .brand strong { max-width: 14ch; font-size: 13px; line-height: 16px; letter-spacing: 0; }
  :lang(en) .brand small { display: none; }
  .hero { min-height: 560px; }
  .hero-image { object-position: 51% center; }
  .hero:has(.hero-image)::after { background: linear-gradient(0deg,rgb(0 0 0 / .82),rgb(0 0 0 / .39)); }
  .hero-inner { align-self: end; padding-block: 125px 53px; }
  .hero h1 { font-size: clamp(38px,10vw,49px); line-height: 1.16; letter-spacing: 1px; }
  .hero-kicker { font-size: 12px; letter-spacing: .4px; }
  .hero-subtitle { margin-top: 15px; }
  .hero .actions { margin-top: 23px; gap: 8px; }
  .btn { min-height: 46px; padding: 10px 14px; font-size: 14px; }
  :lang(en) .masthead-download { min-width: 64px; }
  .masthead-download { min-height: 44px; padding-inline: 10px; }
  .btn-download { min-width: 0; }
  .hero-basic { min-height: auto; }
  .number-heading { min-height: 0; gap: 11px; }
  .number-heading > span { font-size: 44px; }
  .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .number-heading h2 { font-size: 25px; line-height: 1.35; }
  .number-heading .heading-intro { padding-top: 8px; font-size: 14px; }
  .app-shots { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-block: 24px 0; }
  .app-shots img { border-radius: 8px; }
  .home-ranking, .home-posters, .number-heading + .genre-grid, .conversation-grid, .number-heading + .faq-list { margin-top: 23px; }
  .rank-row, .chart-ranking .rank-row { grid-template-columns: 27px 39px minmax(0,1fr) 51px; gap: 7px; min-height: 80px; padding: 9px; }
  .home-ranking .rank-row { min-height: 96px; }
  .rank-index { font-size: 28px; }
  .rank-cover { width: 39px; height: 52px; }
  .rank-body strong { font-size: 13px; line-height: 1.42; }
  .rank-body p { margin-top: 3px; font-size: 12px; line-height: 1.45; }
  .rank-heat strong { font-size: 22px; }
  .rank-heat small { font-size: 12px; letter-spacing: 0; text-wrap: balance; }
  .rank-trend { grid-column: 4; text-align: right; margin-top: -4px; }
  .heat-bar { height: 6px; margin-top: 5px; }
  .ranking-note { padding: 11px 0 0; font-size: 12px; }
  .poster-grid, .genre-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .genre-caption { padding: 10px; }
  .genre-caption strong { font-size: 19px; }
  .genre-caption span { font-size: 12px; }
  .steps-grid, .conversation-grid, .discussion-grid, .article-grid { grid-template-columns: 1fr; }
  .steps-grid { margin-top: 18px; gap: 8px; }
  .steps-grid li { min-height: 0; gap: 12px; padding: 11px 13px; }
  .steps-grid li::before { font-size: 32px; }
  .conversation-card { min-height: auto; padding: 16px; }
  .conversation-card::before { width: 55px; height: 13px; top: -5px; }
  .faq-list li, .faq-list li:nth-child(n) { grid-template-columns: 40px minmax(0,1fr); gap: 10px; min-height: 0; padding: 13px 1px 16px; }
  .faq-list h3 { font-size: 15px; line-height: 1.55; }
  .faq-number { font-size: 21px; line-height: 25px; }
  .download-strip { padding-block: 29px; }
  .download-inner { display: grid; gap: 14px; justify-content: start; justify-items: start; }
  .download-inner h2 { font-size: 25px; line-height: 1.35; }
  .footer { padding-block: 30px; }
  .footer-layout { gap: 18px 10px; }
  .footer-col a, .footer-policy > span { margin: 0; min-height: 31px; }
  .footer-col a { display: flex; align-items: center; min-height: 44px; }
  .footer-heading { margin-bottom: 2px; }
  .footer-note { margin-top: 12px; }
  .copyright { font-size: 12px; }
  .inner-hero { min-height: 0; padding-block: 30px 25px; }
  .inner-hero h1 { font-size: 32px; line-height: 1.31; }
  .inner-hero .heading-intro { margin-top: 9px; }
  .interior-section, .library, .chart-body, .detail { padding-block: 27px 38px; }
  .filter-bar { gap: 7px; margin-bottom: 17px; }
  .filter-chip { min-height: 44px; padding-inline: 9px; font-size: 12.5px; }
  .poster-link { padding: 5px; }
  .poster-copy { padding: 5px 3px; }
  .poster-title { font-size: 13.5px; line-height: 1.5; }
  .poster-copy p { font-size: 12px; line-height: 1.5; }
  .poster-heat { right: 3px; bottom: 3px; }
  .poster-status { top: 4px; left: 4px; }
  .rank-body .rank-summary { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .detail-episodes { margin-top: 32px; }
  .detail-episodes li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .episode-number { font-size: 30px; }
  .discussion-card, .discussion-card:nth-child(-n+2) { min-height: 0; padding: 15px; }
  .discussion-card:nth-child(-n+2) blockquote { min-height: 0; }
  .news-row { grid-template-columns: 46px minmax(0,1fr); gap: 4px 12px; padding: 12px; min-height: auto; }
  .news-row h2 { padding-top: 1px; font-size: 15px; line-height: 1.5; }
  .news-label { grid-column: 2; justify-self: start; }
  .detail-row { margin-top: 16px; align-items: flex-start; gap: 12px; }
  .detail-copy h1 { font-size: 27px; }
  .detail-tags { margin-block: 10px; }
  .detail-tags > * { padding: 3px 6px; font-size: 12px; }
  .detail-cover { max-width: 29vw; }
}

.footer { border-block-start: 1px solid var(--color-stroke); }
.footer-site-nav { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 0 20px; }
.poster-tag { display: inline-block; margin-block-start: 6px; color: var(--color-dim); font-size: 12px; }
.chart-ranking .rank-heat { grid-column: 4; }
.chart-empty-bar:not([hidden]) { display: block; }

.detail-lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 33.45%); align-items: start; gap: 36px; margin-top: 48px; }
.detail-lower .detail-episodes { margin-top: 0; max-width: none; }
.detail-lower:not(:has(.detail-guide)), .detail-lower:not(:has(.detail-episodes)) { grid-template-columns: minmax(0, 1fr); }
.detail-guide { display: grid; gap: 15px; min-width: 0; padding: 22px 24px; border: 1px solid var(--color-stroke); border-radius: 8px; background: var(--color-card); }
.detail-guide h2 { border-inline-start: 3px solid var(--color-accent); padding-inline-start: 10px; font-size: 22px; line-height: 1.25; }
.detail-guide p { color: var(--color-muted); overflow-wrap: anywhere; }
.detail-guide .detail-tags { margin-block: 0; }
.standalone-faq { max-width: none; }
.faq-index { color: var(--color-accent); font: 700 26px/1.2 var(--font-counter); }
.faq-index::before { content: counter(question, decimal-leading-zero) / ""; }
[data-section="custom-discussion"] .discussion-card { min-height: 152px; border-style: solid; border-color: rgb(255 195 13 / .43); }
[data-section="custom-discussion"] .discussion-card p { margin-top: 12px; color: var(--color-muted); font-size: 15px; }
.detail-guide h3 { margin-bottom: 5px; font-size: 15px; }
.detail-copy .breadcrumb { display: block; margin-bottom: 12px; }
.detail .detail-row { margin-top: 0; }
.related .poster-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 740px) {
  .detail-lower { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 32px; }
  .detail-guide { padding: 16px; }
  [data-section="custom-discussion"] .discussion-card { min-height: 0; }
  .related .poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
