:root {
  color-scheme: light;
  --paper: #fff;
  --hover: #f7fafd;
  --ink: #171c22;
  --muted: #4d5b6b;
  --accent: #1e73be;
  --accent-hover: #155b9a;
  --button-bg: #171717;
  --mist: #f0f6fc;
  --line: #dbe5f0;
  --navy: #0b1420;
  --timeline-rail: #cad9e8;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --content-width: 880px;
  --gutter: clamp(15px, 4vw, 32px);
  --header-brand-height: 88px;
  --header-nav-height: 46px;
  --header-height: calc(var(--header-brand-height) + var(--header-nav-height) + env(safe-area-inset-top));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); }
main { flex: 1; min-height: 65vh; }
main:focus { outline: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
h2 { font-size: 1.2rem; }
p { color: var(--muted); }
.wrap { width: min(100% - 2 * var(--gutter), var(--content-width)); margin-inline: auto; }
.fine { color: var(--muted); font-size: .82rem; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 10; color: #fff; background: var(--accent); padding: .5rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { position: fixed; z-index: 5; inset: 0 0 auto; padding-top: env(safe-area-inset-top); color: #fff; }
.header-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 8px; }
html { scroll-padding-top: calc(80px + env(safe-area-inset-top)); }
.site-header.is-scrolled { color: var(--button-bg); background: var(--paper); box-shadow: 0 1px 0 rgb(0 0 0 / 10%), 0 4px 16px rgb(0 0 0 / 5%); }
.site-header.is-scrolled .header-inner > .brand { min-height: 64px; }
.site-header.is-scrolled .header-logo { width: 52px; filter: brightness(0); }
.site-header.is-scrolled nav a { min-height: 64px; }
.site-header.is-scrolled nav a:is(:hover, [aria-current])::after { bottom: 8px; }
.site-header.is-scrolled a:focus-visible { outline-color: var(--button-bg); }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; min-height: 44px; font-size: 1rem; font-weight: 700; line-height: 1.22; white-space: nowrap; }
.header-inner > .brand { min-height: var(--header-brand-height); }
.header-logo { width: calc(var(--header-brand-height) - 8px); height: auto; flex: none; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; flex: none; background: var(--accent); }
.avatar img { padding: 14%; object-fit: contain; }
.site-header nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: flex-end; gap: 5px; }
.site-header nav a { position: relative; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: var(--header-nav-height); font-size: .87rem; white-space: nowrap; }
.site-header nav a:is(:hover, [aria-current])::after { content: ""; position: absolute; inset: auto 8px 6px; height: 2px; border-radius: 2px; background: currentColor; }
.site-header nav a[aria-current] { font-weight: 650; }
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }

.home { padding-block: 23px 48px; }
.publication { position: relative; isolation: isolate; padding-top: var(--header-height); overflow: hidden; background: var(--navy); color: #fff; }
.publication-copy { display: grid; place-items: center; min-height: clamp(158px, 18vw, 212px); padding-block: clamp(22px, 3.5vw, 42px); text-align: center; }
.publication h1 { font-size: clamp(2rem, 5.6vw, 3.25rem); line-height: 1.16; letter-spacing: .02em; text-wrap: balance; transform: translateY(-30px); }
.publication-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.publication::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 73%), rgb(0 0 0 / 57%) 70%); }
.publication-detail::before { background: linear-gradient(180deg, rgb(0 0 0 / 42%), rgb(0 0 0 / 15%) 70%); }
.home-search { --search-tint: #f6f6f6; --search-line: #d6d6d6; --search-muted: #626262; position: relative; z-index: 1; margin-bottom: 26px; }
.home-search > label { display: block; margin-bottom: 8px; color: var(--button-bg); font-size: .88rem; font-weight: 650; }
.search-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.search-field { position: relative; min-width: 0; }
.search-field svg { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); width: 17px; height: 17px; color: var(--search-muted); pointer-events: none; }
.search-controls input, .search-controls .button { min-height: 46px; border-radius: 8px; }
.search-controls .button { padding-inline: clamp(14px, 3vw, 20px); }
.search-controls input { display: block; width: 100%; padding: 6px 12px 6px 38px; border: 1px solid var(--search-line); color: var(--button-bg); background: var(--search-tint); }
.search-controls input::placeholder { color: var(--search-muted); }
.search-controls input::-webkit-search-cancel-button { filter: grayscale(1); }
.search-controls input:focus { background: var(--paper); }
.search-controls input:focus-visible, .search-results a:focus-visible { outline-color: var(--button-bg); }
.search-panel { position: absolute; inset: calc(100% + 8px) 0 auto; border: 1px solid var(--search-line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 22px rgb(0 0 0 / 10%); }
.search-status { padding: 8px 12px; font-size: .83rem; }
.search-results { max-height: min(300px, 45vh); margin: 0; padding: 0 4px 4px; overflow-y: auto; list-style: none; }
.search-results a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px; border-radius: 5px; overflow-wrap: anywhere; }
.search-results a:is(:hover, :focus-visible) { background: var(--search-tint); }
.search-results a:focus-visible { outline-offset: -2px; }
.search-results a > svg { width: 16px; height: 16px; color: var(--search-muted); }
.search-results small { color: var(--search-muted); font-size: .76rem; white-space: nowrap; }
.feed { --entry-art-width: clamp(84px, 24vw, 136px); --entry-gap: clamp(10px, 3vw, 24px); }
.home-feed-heading { margin-bottom: 6px; padding-left: 10px; border-left: 3px solid var(--accent); font-size: 1.25rem; }
.feed-entry + .feed-entry { border-top: 1px solid var(--line); }
.feed-entry { padding-inline: clamp(6px, 2vw, 12px); }
.entry-link { display: grid; grid-template-columns: var(--entry-art-width) minmax(0, 1fr) 44px; gap: var(--entry-gap); align-items: center; padding-block: 12px; }
.has-entry-play { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: var(--entry-gap); align-items: center; }
.has-entry-play .entry-link { grid-template-columns: var(--entry-art-width) minmax(0, 1fr); }
.entry-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--mist); color: var(--accent); }
.entry-art > svg { width: 23px; height: 23px; }
.entry-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entry-copy { display: grid; gap: clamp(4px, 1vw, 7px); min-width: 0; }
.entry-copy h2 { font-size: clamp(1.0625rem, 2.8vw, 1.375rem); line-height: 1.3; }
.entry-link:hover h2 { color: var(--accent); }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; color: var(--muted); font-size: .79rem; }
.entry-kind, .pin { position: absolute; display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px; border-radius: 4px; font-size: .68rem; line-height: 1.3; font-weight: 650; }
.entry-kind { left: 4px; bottom: 4px; background: #0b1420e8; color: #fff; }
.entry-kind svg { width: 12px; height: 12px; }
.pin { top: 4px; right: 4px; background: var(--mist); color: var(--accent); }
.category { color: var(--accent); font-size: .76rem; }
.entry-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 9px; margin-top: 3px; color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.entry-copy .entry-facts { margin: 0; font-size: clamp(.75rem, 1.8vw, .8125rem); line-height: 1.4; }
.entry-copy .entry-facts:empty { display: none; }
.entry-fact { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.entry-fact svg { width: 13px; height: 13px; }
.entry-summary {
  display: -webkit-box;
  max-width: 35em;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(.8125rem, 2vw, .9375rem);
  line-height: 1.55;
}
.featured-entry { background: var(--hover); border-radius: 8px; }

.feed-more {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.feed-more [role="status"] { font-size: .85rem; }
.feed-more [role="status"]:not(:empty) + a:not([hidden]) { margin-top: 8px; }
.feed-more a[aria-disabled="true"] { opacity: .55; cursor: wait; }

.section { padding-block: 31px 53px; }
.detail { padding-top: 13px; }
.article-byline { margin: 12px 0 18px; }
.author-name { color: var(--accent); font-weight: 650; }
.article-cover { width: 100%; aspect-ratio: 1.95 / 1; object-fit: cover; object-position: center 55%; background: var(--mist); border-radius: 8px; margin-bottom: 20px; }
.prose p { color: #344353; line-height: 1.95; margin-top: 14px; overflow-wrap: anywhere; }
.inner-section { margin-top: 28px; }
.inner-section > h2 { margin-bottom: 12px; }
.detail .inner-section { border-top: 1px solid var(--line); padding-top: 16px; }
.song-intro { display: grid; grid-template-columns: clamp(76px, 22vw, 156px) minmax(0, 1fr); align-items: start; gap: clamp(14px, 4vw, 30px); margin-block: 4px 24px; }
.song-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--mist); }
.song-description h2 { margin-bottom: 8px; color: var(--ink); font-size: clamp(1.08rem, 3vw, 1.25rem); font-weight: 700; }
.song-description p { max-width: 37em; margin-top: 4px; line-height: 1.75; }
.intro-preview, .intro-story-copy { margin-top: 10px; }
.song-description p + p { margin-top: 8px; }
.intro-disclosure summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 12px; border-radius: 8px; background: var(--button-bg); color: #fff; cursor: pointer; font-size: .88rem; font-weight: 650; list-style: none; }
.intro-disclosure summary::-webkit-details-marker { display: none; }
.intro-disclosure summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.intro-disclosure[open] { position: relative; padding-bottom: 52px; }
.intro-disclosure[open] summary { position: absolute; inset: auto auto 0 0; }
.intro-disclosure summary svg { width: 14px; height: 14px; transform: rotate(90deg); }
.intro-disclosure[open] summary svg { transform: rotate(-90deg); }
.intro-disclosure .intro-collapse, .intro-disclosure[open] .intro-expand { display: none; }
.intro-disclosure[open] .intro-collapse { display: inline; }
.song-detail .inner-section { margin-top: clamp(28px, 5vw, 46px); padding-top: clamp(16px, 3vw, 24px); }
.song-detail .song-materials { border-top: 0; padding-top: 0; }
.song-credits { display: grid; gap: 0 24px; margin: 16px 0 0; padding: 4px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--hover); font-size: .87rem; }
.song-credits > div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; padding-block: 7px; }
.song-credits dt { color: var(--muted); }
.song-credits dd { margin: 0; overflow-wrap: anywhere; }
.story-images { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: min(100%, 640px); margin: 16px auto 0; }
.story-image { display: block; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.story-image img { width: 100%; height: auto; border-radius: 7px; }
.donation-section { margin-top: clamp(28px, 5vw, 46px); padding: clamp(17px, 4vw, 32px); border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.donation-section h2 { color: var(--accent); }
.donation-section p { max-width: 46em; margin-top: 9px; }
.donation-banner { display: block; width: min(100%, 620px); margin: 16px auto 0; }
.donation-banner img { width: 100%; height: auto; border-radius: 8px; }
.share-section {
  display: grid;
  gap: clamp(18px, 4vw, 38px);
  align-items: center;
  margin-top: clamp(28px, 5vw, 46px);
  padding: clamp(14px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--hover);
}
.share-copy h2 { font-size: clamp(1.18rem, 2.8vw, 1.5rem); }
.share-copy p { max-width: 26em; margin-top: 8px; font-size: .9rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share-poster-image { width: min(100%, 370px); height: auto; justify-self: center; border: 1px solid var(--line); border-radius: 8px; }
.section-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.section-title .actions { margin: 0; }
.album-play-unavailable:disabled { border-color: var(--line); background: var(--hover); color: var(--muted); opacity: 1; }
.album-layout { display: grid; grid-template-areas: "info" "playlist"; gap: 17px; }
.album-sidebar { grid-area: info; display: flex; gap: 14px; align-items: center; min-width: 0; }
.album-cover { width: 108px; flex: none; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--mist); }
.album-data { flex: 1; margin: 0; font-size: .85rem; }
.album-data > div { display: flex; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.album-data dt { color: var(--muted); }
.album-data dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.album-playlist {
  grid-area: playlist;
  min-width: 0;
}
.album-playlist .section-title { gap: 5px 10px; margin-bottom: 8px; }
.album-tracks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.album-track { border-bottom: 1px solid var(--line); }
.album-track[aria-current="true"] > .album-track-row { background: var(--mist); }
.album-track-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 7px; min-height: 54px; padding: 4px 3px; }
.album-track-play { display: grid; grid-template-columns: 44px auto minmax(0, 1fr); align-items: center; gap: 7px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font-size: .95rem; font-weight: 600; text-align: start; overflow-wrap: anywhere; }
.album-track-play svg { justify-self: center; width: 17px; height: 17px; color: var(--button-bg); }
.album-track-facts { display: flex; align-items: center; gap: 4px; }
.album-lyrics-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 0 5px; border: 0; border-radius: 5px; background: transparent; color: var(--button-bg); font-size: .78rem; }
.album-lyrics-toggle svg { width: 14px; height: 14px; }
.album-lyrics-toggle[aria-expanded="true"] { background: var(--mist); }
.album-track .album-lyrics { max-height: 280px; margin: 0 8px 10px; padding: 5px 3px; border-top: 1px solid var(--line); }
.album-lyrics .lyric-line { color: var(--ink); text-align: center; }
.album-lyrics button.lyric-line:hover, .album-lyrics .lyric-line[aria-current="true"] { background: var(--mist); }
.listen-block { margin-top: 22px; background: var(--mist); border: 1px solid var(--line); border-radius: 9px; padding: 13px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
.listen-title { display: flex; align-items: center; gap: 10px; }
.listen-title > svg { width: 18px; height: 18px; color: var(--accent); }
.listen-title h2 { font-size: 1rem; }
.listen-block .actions { margin: 0; }
.song-player { display: block; padding: clamp(12px, 2.5vw, 20px); scroll-margin-top: 16px; }
.song-player-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--accent); }
.song-player-icon svg { width: 18px; height: 18px; }
.song-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.song-player .timeline { margin-top: 9px; }
.song-detail .song-lyrics { margin-top: 16px; padding-top: 0; border-top: 0; }
.song-lyrics > h2 { margin-bottom: 8px; }
.song-lyrics .lyric-lines { padding: clamp(10px, 2vw, 18px); border: 1px solid var(--line); border-radius: 8px; background: var(--hover); }
.song-lyrics .lyric-lines:not(:has([data-timecode])) { max-height: none; overflow: visible; }
.song-lyrics .lyric-line { text-align: center; }
.song-lyrics p.lyric-line { min-height: auto; padding-block: 5px; color: var(--ink); }
.empty { background: var(--paper); padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.video-grid { display: grid; gap: 14px; }
.support-scan {
  display: grid;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(16px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--hover);
}
.support-heart { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; background: var(--mist); color: var(--accent); }
.support-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.support-heading p { max-width: 26em; margin-top: 8px; font-size: .88rem; }
.support-heading .support-motto { color: var(--accent); font-size: 1rem; font-weight: 650; }
.support-methods { display: grid; gap: clamp(16px, 2.2vw, 22px); }
.support-method { min-width: 0; text-align: center; }
.support-method h3 { margin-bottom: 9px; font-size: .95rem; }
.support-method p { font-size: .85rem; }
.support-qr { display: block; width: min(100%, 224px); margin-inline: auto; border-radius: 9px; }
.support-qr-preview { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.support-qr-preview img { width: 100%; height: auto; }
.support-qr-label { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 44px; color: var(--accent); font-size: .8rem; }
.support-qr-label svg { width: 13px; height: 13px; }
.support-qr:hover .support-qr-label { text-decoration: underline; text-underline-offset: 3px; }
.support-method > .button { margin-top: 8px; }
.support-bank { margin-top: clamp(30px, 6vw, 56px); }
.support-bank h2 { margin-bottom: 16px; font-size: clamp(1.22rem, 2.5vw, 1.5rem); }
.support-accounts { display: grid; gap: clamp(20px, 4vw, 36px); }
.support-account { min-width: 0; padding: clamp(13px, 2.4vw, 20px); border: 1px solid var(--line); border-radius: 10px; }
.support-account h3 { margin-bottom: 10px; font-size: 1rem; }
.bank-fields { margin: 0; font-size: .875rem; }
.bank-fields > div { display: grid; grid-template-columns: minmax(0, 6.5em) minmax(0, 1fr); gap: 10px; padding-block: 8px; border-top: 1px solid var(--line); }
.bank-fields dt { color: var(--muted); }
.bank-fields dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.video-grid .video-panel { scroll-margin-top: 16px; }
.video-grid h2 { margin: 10px 0 0; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 7px; }
.media-error { margin-top: 8px; color: #943b30; }
.about-grid > img { width: 100%; aspect-ratio: 2.1 / 1; height: auto; object-fit: cover; border-radius: 8px; margin-top: 22px; }
.about-grid .button { margin-top: 18px; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; align-items: center; }
.actions:empty { display: none; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; min-height: 44px; padding: 7px 12px; background: var(--button-bg); color: #fff; font-size: .87rem; font-weight: 650; text-align: center; }
.button svg { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); min-height: 44px; font-size: .85rem; font-weight: 600; width: fit-content; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 16px; height: 16px; }
.breadcrumb { flex-direction: row-reverse; margin-bottom: 6px; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: var(--button-bg); color: #fff; flex-shrink: 0; }
.round svg { width: 17px; height: 17px; }
:where(.button, .round, .intro-disclosure summary):not(:disabled, [aria-disabled="true"]):active,
.entry-link:active .entry-action { background: var(--accent); }
@media (hover: hover) {
  :where(.button, .round, .intro-disclosure summary):not(:disabled, [aria-disabled="true"]):hover,
  .entry-link:hover .entry-action { background: var(--accent); }
  .album-track-play:not(:disabled):hover { background: var(--mist); }
  .album-track-play:not(:disabled):hover svg, .album-lyrics-toggle:hover { color: var(--accent); }
}
.tracklist { list-style: none; margin: 0; padding: 0; }
.tracklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 44px; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); min-height: 54px; padding: 4px 0; }
.tracklist li > .round { grid-column: 4; border: none; }
.track-index, .duration { color: var(--muted); font: .82rem/1.4 system-ui; font-variant-numeric: tabular-nums; }
.track-link { display: flex; align-items: center; min-height: 44px; font-size: .95rem; overflow-wrap: anywhere; }
.track-link:hover { color: var(--accent); }
.lyric-lines { max-height: 420px; overflow-y: auto; }
.lyric-line { width: 100%; display: block; background: transparent; color: var(--muted); border: 0; border-left: 2px solid transparent; text-align: start; padding: 10px 12px; min-height: 44px; }
button.lyric-line:hover { background: var(--hover); }
.lyric-line[aria-current="true"] { color: var(--accent); border-color: var(--accent); background: var(--mist); }

.site-footer {
  color: #fff;
  background: linear-gradient(180deg, rgb(5 12 18 / 48%), rgb(5 12 18 / 86%)),
    var(--navy) url('/assets/masthead/detail.jpg') center 63% / cover no-repeat;
}
.footer-inner { padding-block: 20px 14px; text-align: center; }
.footer-main { display: flex; flex-direction: column; align-items: center; gap: 10px 24px; }
.footer-logo { width: 54px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: .84rem; }
.footer-links a:is(:hover, [aria-current]) { text-decoration: underline; text-underline-offset: 4px; }
.footer-copyright { display: block; border-top: 1px solid rgb(255 255 255 / 22%); margin-top: 16px; padding-top: 12px; color: #e4edf7; font-size: .76rem; line-height: 1.5; text-align: center; }
.timeline { display: grid; grid-template-columns: 2.5rem 1fr 2.5rem; gap: 7px; align-items: center; text-align: center; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline input { appearance: none; background: transparent; cursor: pointer; width: 100%; height: 28px; margin: 0; }
.album-track-timeline { padding: 0 clamp(8px, 2vw, 16px) 6px; }
.album-track-timeline input { height: 36px; }
.timeline input::-webkit-slider-runnable-track { height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--timeline-rail) var(--fill)); }
.timeline input::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin-top: -5px; }
.timeline input::-moz-range-track { height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--timeline-rail) var(--fill)); }
.timeline input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 0; }
.status { position: fixed; z-index: 5; bottom: calc(1rem + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: 90vw; padding: 12px 16px; background: var(--accent); color: #fff; border-radius: 5px; }
.navigation-feedback {
  position: fixed;
  z-index: 6;
  inset: env(safe-area-inset-top) 0 auto;
  pointer-events: none;
}
.navigation-feedback[data-loading]::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-hover) 20%, #8ac9ff 50%, var(--accent-hover) 80%) 100% 0 / 200% 100%;
  animation: navigation-loading 1s linear infinite;
}
.navigation-feedback span:not(:empty) {
  display: block;
  width: max-content;
  margin: 9px auto 0;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--accent-hover);
  color: #fff;
  font-size: .82rem;
}
@keyframes navigation-loading { to { background-position: -100% 0; } }
@media (prefers-reduced-motion: no-preference) {
  .navigation-enter { animation: navigation-enter 200ms ease-out; }
}
@keyframes navigation-enter {
  from { opacity: .7; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .navigation-feedback[data-loading]::before { animation: none; background: var(--accent); }
}
a[data-opening] { cursor: progress; }
.entry-link[data-opening] h2 { color: var(--accent); }

@media (width < 620px) {
  :root { --gutter: clamp(16px, 4.6vw, 26px); --header-nav-height: 48px; }
  .site-header { padding-top: calc(12px + env(safe-area-inset-top)); }
  .header-inner { grid-template-columns: minmax(0, 1fr); }
  .header-inner > .brand { justify-self: center; min-height: 76px; }
  .header-logo { width: 64px; }
  .site-header nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; width: 100%; }
  .site-header nav a { min-width: 0; min-height: 48px; font-size: .875rem; }
  .site-header nav a:is(:hover, [aria-current])::after { inset-inline: calc(50% - 11px); bottom: 5px; }
  .site-header.is-scrolled { padding-top: env(safe-area-inset-top); }
  .site-header.is-scrolled .header-inner { grid-template-columns: 44px minmax(0, 1fr); }
  .site-header.is-scrolled .header-inner > .brand { min-height: 56px; min-width: 44px; }
  .site-header.is-scrolled .header-logo { width: 44px; }
  .site-header.is-scrolled nav { grid-column: 2; grid-row: 1; }
  .site-header.is-scrolled nav a { min-height: 48px; }
  .site-header.is-scrolled nav a:is(:hover, [aria-current])::after { bottom: 4px; }
  html { scroll-padding-top: calc(64px + env(safe-area-inset-top)); }

  .publication-copy { min-height: 132px; padding-block: 24px 36px; }
  .publication h1 { font-size: clamp(1.75rem, 7.4vw, 2.125rem); line-height: 1.3; letter-spacing: .06em; transform: translateY(-12px); }
  .publication-home .publication-copy { min-height: 156px; }
  .publication-home h1 { font-size: clamp(2rem, 8.2vw, 2.5rem); letter-spacing: .06em; }
  .publication-detail::before { background: linear-gradient(180deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 40%)); }

  .home, .section { padding-block: 22px 38px; }
  .detail { padding-top: 8px; }
  .search-results { max-height: min(260px, 40dvh); }

  .feed { --entry-art-width: clamp(84px, 24vw, 114px); --entry-gap: clamp(9px, 2.8vw, 15px); }
  .feed-entry { padding-inline: 0; }
  .featured-entry { padding-inline: 8px; background: var(--hover); }
  .entry-link { padding-block: 14px; }
  .entry-art { border-radius: 11px; }
  .entry-copy { gap: 5px; }
  .entry-copy h2 { font-size: clamp(1.0625rem, 4.5vw, 1.24rem); }
  .entry-summary { font-size: .84rem; }

  .song-intro { display: flow-root; margin-bottom: 16px; }
  .song-cover { float: left; width: clamp(80px, 25vw, 112px); margin-right: 14px; border-radius: 12px; }
  .song-description p { max-width: none; }
  .intro-preview { clear: both; margin-top: 0; padding-top: 12px; }
  .intro-disclosure { clear: both; margin-top: 10px; }
  .song-player { margin-top: 16px; padding: 16px; border-radius: 14px; }
  .song-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .song-controls .primary { min-height: 48px; border-radius: 9px; }
  .song-player-icon { width: 42px; height: 42px; }
  .song-player .timeline { margin-top: 5px; }
  .timeline input, .album-track-timeline input { height: 44px; min-width: 0; }
  .song-detail .song-lyrics { margin-top: 22px; }
  .song-lyrics .lyric-lines { border-radius: 12px; }

  .album-layout { gap: 22px; }
  .album-sidebar { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--hover); }
  .album-cover { width: clamp(86px, 27vw, 122px); border-radius: 10px; }
  .album-data > div:last-child { border-bottom: 0; }
  .album-playlist .section-title { margin-bottom: 12px; }
  .album-playlist .section-title .button { min-height: 46px; border-radius: 9px; }
  .album-track-row { min-height: 58px; padding-inline: 0; }
  .album-track-play { min-height: 48px; gap: 5px; }
  .album-track-facts { gap: 6px; }
  .album-lyrics-toggle { min-height: 48px; }

  .share-section, .donation-section { padding: 16px; border-radius: 14px; }
  .share-actions .button { flex: 1 1 auto; min-height: 46px; border-radius: 8px; }
  .support-scan { gap: 20px; background: var(--hover); }
  .support-method { padding: 14px 10px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
  .support-method h3 { font-size: 1rem; }
  .support-account { padding: 15px; border-radius: 12px; }
  .footer-inner { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (min-width: 480px) {
  .support-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 620px) {
  :root { --header-brand-height: 104px; --header-nav-height: 0px; }
  .site-header nav { grid-column: auto; grid-row: auto; gap: clamp(12px, 2.4vw, 31px); }
  .site-header nav a { min-height: var(--header-brand-height); }
  .site-header nav a:is(:hover, [aria-current])::after { bottom: 15px; }
  .entry-link { padding-block: 15px; }
  .detail { padding-block: 26px 60px; }
  .song-credits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .support-scan { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
  .support-accounts { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .footer-inner { padding-top: 24px; text-align: start; }
  .footer-main { flex-direction: row; justify-content: space-between; }
  .footer-logo { width: 62px; }
  .footer-links { gap: 8px 18px; }
}
@media (min-width: 740px) {
  .album-layout { grid-template-areas: "info playlist"; grid-template-columns: minmax(190px, .83fr) minmax(0, 2fr); column-gap: 28px; }
  .album-sidebar { display: block; }
  .album-cover { width: 100%; margin-bottom: 12px; }
  .album-data > div { padding-block: 8px; }
  .album-track-row { gap: 9px; }
  .album-track-facts { gap: 10px; }
  .home { padding-top: 32px; }
}
@media (max-width: 420px) {
  .entry-fact-optional { display: none; }
}
