:root {
  --paper: #f5f3ee;
  --paper-deep: #eeece5;
  --ink: #252522;
  --muted: #87857e;
  --line: #dcd9d1;
  --accent: #a47c5a;
  --dark: #242522;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; padding: 0 0 116px; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 50%; transform: translate(-50%, -180%); padding: 10px 14px; background: var(--ink); color: var(--paper); font: 9px var(--mono); letter-spacing: .06em; transition: transform .2s; }
.skip-link:focus { transform: translate(-50%, 0); }
main:focus { outline: none; }
button { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-shell { max-width: 1600px; margin: 0 auto; padding: 0 5.55%; }
.site-header { height: 78px; width: 100vw; margin-left: calc(50% - 50vw); padding-inline: max(5.55vw, calc((100vw - 1600px) / 2 + 88.8px)); display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 2.2vw, 36px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.wordmark { font-weight: 700; letter-spacing: -.075em; font-size: 18px; white-space: nowrap; }
.wordmark span { font-weight: 400; }
.wordmark i { color: var(--accent); font-style: normal; }
.main-nav { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 46px); margin-left: 0; }
.nav-link, .search-trigger { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; transition: color .2s; }
.nav-link { color: var(--muted); position: relative; padding: 8px 0; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; position: absolute; bottom: -3px; left: calc(50% - 2px); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.collection-trigger { display: flex; align-items: center; gap: 7px; color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; transition: color .2s; }
.collection-trigger:hover, .collection-trigger:focus-visible, .collection-trigger.is-active { color: var(--ink); }
.collection-mark { color: var(--accent); font-size: 14px; line-height: 1; }
.collection-count { min-width: 17px; padding: 2px 4px; border: 1px solid var(--line); text-align: center; color: var(--ink); font: 8px var(--mono); }
.collection-trigger.is-active .collection-count { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html[lang="zh-CN"] .collection-trigger { font-family: var(--sans); letter-spacing: 0; }
.language-toggle { border: 1px solid var(--line); background: transparent; padding: 7px 10px; color: var(--muted); font: 9px var(--mono); letter-spacing: .06em; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.language-toggle:hover, .language-toggle:focus-visible { color: var(--ink); border-color: var(--accent); background: #a47c5a0d; }
.search-trigger { background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; }
.search-trigger .arrow { color: var(--accent); margin-left: 12px; font-size: 14px; }
.menu-toggle { display: none; }
.search-panel { max-height: 0; overflow: hidden; opacity: 0; border-bottom: 0 solid var(--line); transition: max-height .3s ease, opacity .25s, padding .3s; }
.search-panel.is-open { max-height: 180px; opacity: 1; padding: 22px 0 24px; border-bottom-width: 1px; }
.search-panel label, .search-panel p { color: var(--muted); font: 9px var(--mono); letter-spacing: .13em; }
.archive-panel-link { display: inline-block; margin-top: 12px; }
.search-field-wrap { display: flex; align-items: center; border-bottom: 1px solid var(--ink); margin-top: 10px; }
.search-field-wrap input { width: 100%; padding: 8px 0 12px; border: 0; outline: 0; background: transparent; font: 26px var(--serif); color: var(--ink); }
.search-field-wrap input::placeholder { color: #b7b3aa; }
.search-field-wrap span { font: 11px var(--mono); color: var(--accent); }
.search-panel p { letter-spacing: .02em; margin: 9px 0 0; text-transform: none; }
.hero-section { padding: 22px 0 20px; min-height: 570px; display: flex; flex-direction: column; }
.hero-topline, .hero-foot { display: flex; justify-content: space-between; color: var(--muted); font: 9px var(--mono); letter-spacing: .12em; }
.hero-main { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; flex: 1; min-height: 470px; }
.hero-copy { padding: 45px 0 50px; position: relative; z-index: 2; }
.eyebrow { margin: 0; color: var(--muted); font: 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--accent); }
.hero-copy h1 { font: 400 clamp(72px, 8.4vw, 122px)/.99 var(--serif); letter-spacing: -.07em; margin: 26px 0 35px; }
.hero-copy h1 em, h2 em, .about-statement em { color: var(--accent); font-weight: 400; }
.hero-bottomline { display: flex; align-items: end; gap: 44px; }
.hero-bottomline p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.text-link, .light-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font: 9px var(--mono); letter-spacing: .1em; transition: color .2s, border-color .2s; }
.text-link span, .light-link span { color: var(--accent); font-size: 14px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-art { width: min(100%, 440px); aspect-ratio: 1 / 1; justify-self: end; position: relative; display: grid; place-items: center; margin: 5px 5% 0 0; }
.orbit { position: absolute; border: 1px solid #d7d3c9; border-radius: 50%; }
.orbit-one { width: 94%; height: 94%; }
.orbit-two { width: 73%; height: 73%; border-style: dashed; opacity: .8; }
.record-disc { width: 61%; aspect-ratio: 1; border-radius: 50%; position: relative; background: repeating-radial-gradient(circle at center, #30312e 0, #30312e 1px, #373833 2px, #373833 3px, #2d2e2b 4px, #2d2e2b 5px); box-shadow: 0 22px 50px #302c241b; animation: slow-rotate 34s linear infinite; }
.disc-grooves { position: absolute; inset: 10%; border: 1px solid #ffffff16; border-radius: 50%; box-shadow: 0 0 0 8px #ffffff07, 0 0 0 16px #ffffff07, 0 0 0 24px #ffffff06; }
.disc-label { width: 29%; aspect-ratio: 1; border-radius: 50%; background: #b68d69; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; justify-content: center; align-items: center; color: #242522; text-align: center; }
.disc-label span { font: 21px var(--serif); letter-spacing: -.08em; }
.disc-label small { font: 5px/1.4 var(--mono); letter-spacing: .1em; margin-top: 3px; }
.hero-art-caption { position: absolute; bottom: 0; left: 3%; right: 3%; display: flex; justify-content: space-between; color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; }
@keyframes slow-rotate { to { transform: rotate(360deg); } }
.hero-foot { padding-top: 17px; border-top: 1px solid var(--line); }
.section { padding: 75px 0 78px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.section-heading h2 { font: 400 clamp(34px, 4vw, 48px)/1.15 var(--serif); letter-spacing: -.045em; margin: 9px 0 0; }
.section-heading-note { display: flex; align-items: center; gap: 26px; color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; padding-bottom: 5px; }
.section-heading-note a { color: var(--accent); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.section-heading-note a:hover, .section-heading-note a:focus-visible { color: var(--ink); border-color: var(--accent); }
.record-clear { padding: 0 0 2px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--accent); font: inherit; letter-spacing: inherit; cursor: pointer; transition: border-color .2s, color .2s; }
.record-clear:hover, .record-clear:focus-visible { color: var(--ink); border-color: var(--accent); }
.record-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 22px; }
.record-card { min-width: 0; transition: opacity .2s; }
.record-card.is-hidden { display: none; }
.cover-button { display: block; width: 100%; padding: 0; border: 0; background: #e7e3da; position: relative; overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer; text-align: left; }
.cover-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #11111117); pointer-events: none; }
.cover-button img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .4s; }
.cover-button:hover img { transform: scale(1.045); }
.cover-index { position: absolute; z-index: 1; left: 13px; bottom: 12px; color: #fff; font: 9px var(--mono); letter-spacing: .12em; text-shadow: 0 1px 4px #0005; }
.cover-open { position: absolute; z-index: 1; top: 12px; right: 13px; width: 27px; height: 27px; border: 1px solid #ffffffa0; border-radius: 50%; color: white; display: grid; place-items: center; font-size: 13px; opacity: 0; transform: translateY(4px); transition: .25s; }
.cover-button:hover .cover-open, .cover-button:focus-visible .cover-open { opacity: 1; transform: translateY(0); }
.record-meta { margin-top: 15px; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font: 8px var(--mono); letter-spacing: .08em; }
.record-meta span:last-child { text-align: right; }
.record-card h3 { font: 500 14px/1.45 var(--sans); margin: 9px 0 3px; letter-spacing: -.025em; }
.record-artist { color: var(--muted); font-size: 11px; margin: 0; }
.empty-state { text-align: center; padding: 48px 0; color: var(--muted); font: 12px var(--mono); }
.section-end-link { display: flex; justify-content: space-between; align-items: center; margin-top: 43px; padding-top: 15px; border-top: 1px solid var(--line); }
.section-end-link > span { color: var(--muted); font: 8px var(--mono); letter-spacing: .12em; }
.compact-heading { margin-bottom: 23px; }
.recently-section { padding-top: 64px; }
.recent-list { border-top: 1px solid var(--line); }
.recent-row { width: 100%; display: grid; grid-template-columns: 54px 1.7fr 1fr .8fr 20px; align-items: center; gap: 18px; padding: 17px 5px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background .2s, padding .2s; }
.recent-row:hover { background: #eeece6; padding-left: 12px; padding-right: 12px; }
.recent-no, .recent-tag { font: 8px var(--mono); color: var(--muted); letter-spacing: .08em; }
.recent-title { font: 14px var(--serif); }
.recent-artist { font-size: 11px; color: var(--muted); }
.recent-tag { justify-self: end; }
.recent-arrow { color: var(--accent); justify-self: end; }
.genre-section { padding-top: 72px; }
.genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.genre-item { min-height: 105px; position: relative; display: grid; grid-template-columns: 28px 1fr 20px; grid-template-rows: auto auto; align-content: center; column-gap: 12px; padding: 15px 12px 15px 0; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; transition: color .2s, background .2s, padding .2s; }
.genre-item:nth-child(3n+2), .genre-item:nth-child(3n+3) { padding-left: 18px; border-left: 1px solid var(--line); }
.genre-item:focus-visible, .record-clear:focus-visible, .genre-filter-note button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.genre-number { grid-row: 1 / 3; align-self: start; padding-top: 7px; color: var(--accent); font: 9px var(--mono); }
.genre-name { font: 21px var(--serif); }
.genre-jp { grid-column: 2; color: var(--muted); font: 7px var(--mono); letter-spacing: .1em; margin-top: 8px; }
.genre-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; justify-self: end; color: var(--muted); transition: transform .2s, color .2s; }
.genre-item:hover, .genre-item.is-selected { background: #eeece6; padding-top: 18px; padding-bottom: 18px; }
.genre-item:hover .genre-arrow, .genre-item.is-selected .genre-arrow { color: var(--accent); transform: translate(2px,-2px); }
.genre-filter-note { display: flex; justify-content: space-between; padding-top: 14px; color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; }
.genre-filter-note button { padding: 0; background: none; border: 0; color: var(--accent); font: inherit; letter-spacing: inherit; cursor: pointer; }
.genre-filter-note button:hover { color: var(--ink); }
.hires-section { background: var(--dark); color: var(--paper); margin: 20px calc(-5.55%); padding: 70px 5.55% 72px; }
.hires-inner { max-width: 1450px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.light-eyebrow { color: #a8a69e; }
.hires-copy h2 { margin: 22px 0 22px; font: 400 clamp(52px, 6vw, 80px)/1.02 var(--serif); letter-spacing: -.06em; }
.hires-copy h2 em { color: #c49c77; }
.hires-description { max-width: 380px; color: #b5b3ab; font-size: 12px; line-height: 1.9; margin: 0 0 28px; }
.light-link { border-color: #88877f; color: var(--paper); }
.light-link:hover { border-color: #c49c77; color: #c49c77; }
.format-panel { border-top: 1px solid #66665e; }
.format-panel-head { display: flex; justify-content: space-between; padding: 0 0 15px; color: #a8a69e; font: 8px var(--mono); letter-spacing: .12em; }
.format-row { min-height: 62px; border-top: 1px solid #55564f; display: grid; grid-template-columns: 38px 1fr 1.5fr 18px; align-items: center; gap: 12px; }
.format-code, .format-row > span:nth-child(3) { color: #9d9d94; font: 8px var(--mono); letter-spacing: .06em; }
.format-row strong { font: 24px var(--serif); font-weight: 400; letter-spacing: .02em; }
.format-mark { color: #c49c77; text-align: right; }
.format-footnote { color: #8e8e85; text-align: right; font: 8px var(--mono); letter-spacing: .08em; padding-top: 15px; }
.about-strip { padding: 76px 0 53px; }
.about-statement { font: 400 clamp(34px, 5vw, 62px)/1.2 var(--serif); letter-spacing: -.045em; margin: 20px 0 44px; }
.about-bottom { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; }
.site-footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; }
.footer-wordmark { color: var(--ink); font: 700 15px var(--sans); letter-spacing: -.07em; }
.player-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; min-height: 88px; padding: 12px 5.55%; background: #fbfaf7f5; border-top: 1px solid #d6d2c9; backdrop-filter: blur(16px); display: grid; grid-template-columns: minmax(210px, 1fr) minmax(260px, 1.2fr) minmax(210px, 1fr); align-items: center; gap: 28px; }
.player-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-art { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; background: #30312e; color: #d1b292; font: 15px var(--serif); }
.player-art img { width: 100%; height: 100%; object-fit: cover; }
.player-track-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.player-track-copy strong { font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-track-copy span { color: var(--muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-controls { max-width: 410px; width: 100%; justify-self: center; }
.control-buttons { display: flex; justify-content: center; align-items: center; gap: 22px; margin-bottom: 8px; }
.player-icon, .play-button { border: 0; background: transparent; cursor: pointer; }
.player-icon { color: #66655f; font: 12px var(--mono); padding: 4px; }
.play-button { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; padding: 0; line-height: 0; background: var(--ink); color: white; transition: background .2s, transform .2s; }
.play-glyph { display: block; width: 0; height: 0; margin-left: 2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.play-button.is-playing .play-glyph { width: 10px; height: 12px; margin-left: 0; border: 0; background: linear-gradient(to right, currentColor 0 3px, transparent 3px 7px, currentColor 7px 10px); }
.play-button:hover { background: var(--accent); transform: scale(1.05); }
.play-button:focus-visible, .player-icon:focus-visible, .add-audio-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.timeline { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; color: var(--muted); font: 8px var(--mono); }
.timeline span:last-child { text-align: right; }
input[type="range"] { accent-color: var(--accent); cursor: pointer; }
.timeline input { width: 100%; height: 3px; }
.player-tools { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.player-quality { color: var(--accent); font: 8px var(--mono); letter-spacing: .1em; white-space: nowrap; }
.volume-wrap { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 8px var(--mono); }
.volume-wrap input { width: 62px; }
.add-audio-button { border: 1px solid var(--line); padding: 9px 11px; background: transparent; color: var(--ink); cursor: pointer; font: 8px var(--mono); letter-spacing: .07em; white-space: nowrap; transition: background .2s, border .2s; }
.add-audio-button:hover { border-color: var(--accent); background: var(--paper-deep); }
.record-dialog { width: min(760px, calc(100% - 32px)); max-width: none; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px #15130f3b; }
.record-dialog::backdrop { background: #201f1bcc; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 12px; right: 15px; z-index: 2; border: 0; background: transparent; font: 28px var(--serif); cursor: pointer; color: var(--muted); }
.dialog-layout { display: grid; grid-template-columns:  minmax(220px, .9fr) 1.1fr; gap: 34px; padding: 34px; }
.dialog-cover { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-deep); }
.dialog-content { padding: 12px 8px 4px 0; }
.dialog-content h2 { font: 400 33px/1.15 var(--serif); letter-spacing: -.04em; margin: 19px 0 7px; }
.dialog-artist { display: inline-block; color: var(--muted); font-size: 12px; margin: 0; transition: color .2s; }
.dialog-artist:hover { color: var(--accent); }
.dialog-artist::after { content: " ↗"; color: var(--accent); font: 7px var(--mono); letter-spacing: .06em; }
.dialog-artist:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.dialog-rule { border-top: 1px solid var(--line); margin: 26px 0 10px; }
.dialog-data { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font: 9px var(--mono); }
.dialog-data span { color: var(--muted); }
.dialog-data strong { font-weight: 400; text-align: right; }
.dialog-note { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 20px 0; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.solid-button { background: var(--ink); color: white; border: 0; padding: 12px 14px; font: 8px var(--mono); letter-spacing: .08em; cursor: pointer; }
.source-link { color: var(--accent); font: 8px var(--mono); letter-spacing: .08em; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 108px; transform: translate(-50%, 12px); padding: 10px 15px; background: var(--ink); color: var(--paper); font: 10px var(--mono); letter-spacing: .03em; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 30px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Chinese interface typography: clearer strokes, more comfortable sizing and spacing. */
html[lang="zh-CN"] {
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  scroll-padding-top: 104px;
}
html[lang="zh-CN"] body { font-size: 14px; line-height: 1.75; letter-spacing: .01em; }
html[lang="zh-CN"] .site-header { height: 82px; }
html[lang="zh-CN"] .nav-link,
html[lang="zh-CN"] .search-trigger { font-size: 12px; letter-spacing: .02em; }
html[lang="zh-CN"] .language-toggle { font-size: 11px; letter-spacing: .02em; padding: 7px 12px; }
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .hero-topline,
html[lang="zh-CN"] .hero-foot,
html[lang="zh-CN"] .section-heading-note,
html[lang="zh-CN"] .record-meta,
html[lang="zh-CN"] .recent-no,
html[lang="zh-CN"] .recent-tag,
html[lang="zh-CN"] .genre-filter-note,
html[lang="zh-CN"] .format-panel-head,
html[lang="zh-CN"] .format-code,
html[lang="zh-CN"] .format-row > span:nth-child(3),
html[lang="zh-CN"] .format-footnote,
html[lang="zh-CN"] .about-bottom,
html[lang="zh-CN"] .site-footer { font-size: 10px; letter-spacing: .025em; }
html[lang="zh-CN"] .hero-bottomline p,
html[lang="zh-CN"] .hires-description { font-size: 14px; line-height: 2; }
html[lang="zh-CN"] .text-link,
html[lang="zh-CN"] .light-link,
html[lang="zh-CN"] .add-audio-button,
html[lang="zh-CN"] .source-link { font-size: 11px; letter-spacing: .02em; }
html[lang="zh-CN"] .record-card h3 { font-size: 15px; line-height: 1.65; letter-spacing: 0; }
html[lang="zh-CN"] .record-artist,
html[lang="zh-CN"] .recent-artist { font-size: 12px; }
html[lang="zh-CN"] .genre-name { font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing: 0; }
html[lang="zh-CN"] .genre-jp { font-family: var(--sans); font-size: 10px; letter-spacing: 0; }
html[lang="zh-CN"] .dialog-note { font-size: 13px; line-height: 1.9; }
html[lang="zh-CN"] .dialog-data { font-family: var(--sans); font-size: 12px; }
html[lang="zh-CN"] .player-track-copy strong { font-size: 13px; }
html[lang="zh-CN"] .player-track-copy span { font-size: 11px; }
html[lang="zh-CN"] .player-quality,
html[lang="zh-CN"] .volume-wrap,
html[lang="zh-CN"] .timeline { font-family: var(--sans); font-size: 10px; letter-spacing: 0; }
html[lang="zh-CN"] .search-panel label,
html[lang="zh-CN"] .search-panel p { font-family: var(--sans); font-size: 12px; letter-spacing: 0; }
html[lang="zh-CN"] .search-field-wrap input { font-family: var(--sans); font-size: 21px; }
html[lang="zh-CN"] .search-panel.is-open { line-height: 1.8; }


@media (max-width: 1050px) {
  .main-nav { gap: clamp(14px, 1.8vw, 22px); }
  .nav-link, .search-trigger { font-size: 9px; }
  .collection-label { display: none; }
  .collection-trigger { gap: 5px; }
  .record-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .player-bar { grid-template-columns: minmax(160px, 1fr) minmax(230px, 1.2fr) minmax(170px, 1fr); gap: 15px; }
  .player-tools { gap: 12px; }
  .volume-wrap input { width: 45px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 150px; }
  .page-shell { padding: 0 5%; }
  .site-header { height: 66px; }
  html[lang="zh-CN"] .site-header { height: 70px; }
  .wordmark { font-size: 16px; }
  .menu-toggle { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; margin-right: 14px; border: 0; background: transparent; }
  .menu-toggle span { width: 19px; height: 1px; background: var(--ink); }
  .site-header { width: 100vw; margin-left: calc(50% - 50vw); padding-inline: 5%; gap: 0; }
  .main-nav { display: none; position: absolute; top: 65px; left: 0; right: 0; margin: 0; padding: 14px 5%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 11px 0; font-size: 10px; }
  .nav-link.is-active::after { bottom: 8px; left: calc(100% + 8px); }
  .header-actions { gap: 10px; }
  .collection-trigger { padding: 4px 0; }
  .collection-mark { font-size: 15px; }
  .language-toggle { padding: 6px 8px; font-size: 8px; }
  .search-trigger { padding-left: 0; }
  .hero-section { min-height: auto; padding-top: 18px; }
  .hero-topline, .hero-foot { font-size: 7px; letter-spacing: .07em; }
  .hero-main { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 70px 0 10px; }
  .hero-copy h1 { font-size: clamp(68px, 17vw, 94px); margin: 20px 0 25px; }
  .hero-bottomline { gap: 25px; justify-content: space-between; }
  .hero-bottomline p { font-size: 10px; }
  .text-link { gap: 8px; font-size: 8px; }
  .hero-art { width: min(78%, 300px); justify-self: center; margin: 22px auto 38px; }
  .hero-foot { padding-top: 13px; }
  .section { padding: 54px 0 58px; }
  .section-heading { align-items: end; margin-bottom: 23px; }
  .section-heading h2 { font-size: 35px; }
  .section-heading-note { gap: 10px; flex-direction: column; text-align: right; font-size: 7px; }
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .record-meta { font-size: 7px; flex-wrap: wrap; }
  .record-card h3 { font-size: 12px; }
  .record-artist { font-size: 10px; }
  .cover-index { left: 9px; bottom: 9px; font-size: 8px; }
  .section-end-link { margin-top: 30px; gap: 8px; }
  .section-end-link > span { font-size: 7px; }
  .recent-row { grid-template-columns: 24px 1fr 18px; gap: 8px; padding: 15px 2px; }
  .recent-title { font-size: 13px; }
  .recent-artist, .recent-tag { display: none; }
  .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .genre-item { min-height: 92px; grid-template-columns: 22px 1fr 14px; column-gap: 8px; padding-right: 6px; }
  .genre-item:nth-child(3n+2), .genre-item:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .genre-item:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }
  .genre-name { font-size: 16px; }
  .genre-jp { font-size: 6px; letter-spacing: .05em; }
  .genre-filter-note { font-size: 6px; gap: 8px; }
  .records-section .section-heading-note { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .record-clear { font-size: 7px; }
  .hires-section { margin: 15px -5.55%; padding: 52px 5%; }
  .hires-inner { grid-template-columns: 1fr; gap: 38px; }
  .hires-copy h2 { font-size: 59px; }
  .format-row { grid-template-columns: 28px 1fr 1.5fr 14px; min-height: 56px; gap: 8px; }
  .format-row strong { font-size: 21px; }
  .format-row > span:nth-child(3) { font-size: 7px; }
  .about-strip { padding: 55px 0 38px; }
  .about-statement { font-size: 37px; margin-bottom: 33px; }
  .about-bottom { gap: 14px; font-size: 6px; line-height: 1.6; }
  .site-footer { min-height: 66px; font-size: 7px; }
  .footer-wordmark { font-size: 13px; }
  .player-bar { min-height: 132px; padding: 10px 5%; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 10px; }
  .player-track { grid-column: 1; grid-row: 1; }
  .player-art { width: 38px; height: 38px; flex-basis: 38px; }
  .player-track-copy strong { font-size: 10px; }
  .player-track-copy span { font-size: 8px; }
  .player-controls { grid-column: 1 / -1; grid-row: 2; max-width: none; display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 12px; }
  .control-buttons { margin: 0; gap: 15px; }
  .play-button { width: 27px; height: 27px; }
  .timeline { grid-template-columns: 29px 1fr 29px; gap: 5px; font-size: 7px; }
  .player-tools { grid-column: 2; grid-row: 1; gap: 8px; }
  .player-quality, .volume-wrap { display: none; }
  .add-audio-button { padding: 9px 10px; font-size: 7px; }
  .dialog-layout { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .dialog-cover { width: 52%; max-width: 220px; }
  .dialog-content { padding: 0; }
  .dialog-content h2 { font-size: 28px; }
  .toast { bottom: 150px; }
  html[lang="zh-CN"] .nav-link { font-size: 13px; }
  html[lang="zh-CN"] .hero-bottomline p { font-size: 13px; }
  html[lang="zh-CN"] .text-link { font-size: 10px; }
  html[lang="zh-CN"] .record-meta { font-size: 9px; }
  html[lang="zh-CN"] .record-card h3 { font-size: 13px; }
  html[lang="zh-CN"] .record-artist { font-size: 11px; }
  html[lang="zh-CN"] .genre-name { font-size: 16px; }
  html[lang="zh-CN"] .genre-jp { font-size: 9px; }
  html[lang="zh-CN"] .genre-filter-note { font-size: 9px; }
  html[lang="zh-CN"] .record-clear { font-size: 10px; }
  html[lang="zh-CN"] .player-track-copy strong { font-size: 11px; }
  html[lang="zh-CN"] .player-track-copy span { font-size: 9px; }
  html[lang="zh-CN"] .add-audio-button { font-size: 9px; }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Phase 2.1 layout and player alignment refinements */
.player-bar { min-width: 0; }
.player-track, .player-controls, .player-tools { min-width: 0; }
.control-buttons { min-height: 32px; }
.player-icon { min-width: 28px; min-height: 30px; display: inline-grid; place-items: center; line-height: 1; }
@media (max-width: 1100px) and (min-width: 761px) {
  .player-bar { grid-template-columns: minmax(150px, 1fr) minmax(210px, 1.1fr) minmax(150px, .8fr); gap: 16px; padding-left: 3.5%; padding-right: 3.5%; }
  .player-tools { gap: 10px; }
  .volume-wrap input { width: 48px; }
  .add-audio-button { padding: 8px; }
}
@media (max-width: 760px) {
  .play-button { width: 29px; height: 29px; flex-basis: 29px; }
  .play-glyph { border-top-width: 5px; border-bottom-width: 5px; border-left-width: 8px; }
  .play-button.is-playing .play-glyph { width: 9px; height: 11px; background: linear-gradient(to right, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px); }
  .discover-results, .discover-sidebar { min-width: 0; }
  .results-toolbar { align-items: end; }
  .active-filter-row { flex-wrap: wrap; }
}

@media (max-width: 760px) { body { padding-bottom: 160px; } }

/* Featured-record typographic fallback, matching the DISCOVER catalogue. */
.cover-button { isolation: isolate; }
.cover-button .cover-fallback {
  position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(14px, 2.1vw, 25px); overflow: hidden; text-align: left; color: #34332f;
  background: radial-gradient(circle at 82% 18%, #ffffffa8 0, transparent 34%), linear-gradient(145deg, #e9e5dc 0%, #ded8cc 52%, #d5cbbd 100%);
  pointer-events: none;
}
.cover-button .cover-fallback::before { content: ""; position: absolute; width: 68%; aspect-ratio: 1; right: -25%; bottom: -22%; border: 1px solid #a47c5a45; border-radius: 50%; box-shadow: 0 0 0 16px #a47c5a0c, 0 0 0 32px #a47c5a0c; }
.cover-button .fallback-brand, .cover-button .fallback-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px; color: #8a6a50; font: clamp(6px, .72vw, 9px)/1.4 var(--mono); letter-spacing: .12em; }
.cover-button .fallback-brand { padding-bottom: 9px; border-bottom: 1px solid #a47c5a55; }
.cover-button .fallback-main { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; margin: auto 0; padding: 12px 0 18px; min-height: 0; }
.cover-button .fallback-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; color: #292824; font: clamp(15px, 2.05vw, 27px)/1.12 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.cover-button .fallback-artist { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #777064; font: clamp(9px, 1vw, 12px)/1.5 var(--sans); }
.cover-button .fallback-foot { padding-top: 9px; border-top: 1px solid #a47c5a55; font-size: clamp(6px, .65vw, 8px); letter-spacing: .07em; }
.cover-button .fallback-foot span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover-button.image-unavailable .cover-index { display: none; }
.cover-button.image-unavailable img { display: none; }
.cover-button:not(.image-unavailable) .cover-fallback { display: none; }
@media (max-width: 760px) {
  .cover-button .cover-fallback { padding: 12px; }
  .cover-button .fallback-title { font-size: clamp(13px, 3.4vw, 18px); }
  .cover-button .fallback-artist { font-size: 10px; }
  .cover-button .fallback-brand, .cover-button .fallback-foot { font-size: 6px; }
}
