@font-face {
  font-family: "DM Serif Text";
  src: url("/_a/dm-serif-text.0e33f20edb.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/_a/source-sans-3.587435ca9d.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --surface: #fffaf0;
  --ink: #34271e;
  --muted: #685549;
  --accent: #a44526;
  --accent-hover: #84331a;
  --sand: #f0e4d0;
  --line: #d9c8b5;
  --dark: #382b24;
  --on-dark: #fcf3e2;
  --dark-line: #816e60;
  --wrap: 1100px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1.0625rem/1.55 "Source Sans 3", system-ui, -apple-system, sans-serif;
}
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: "DM Serif Text", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.018em;
  text-wrap: balance;
}
:lang(zh-Hans) h1, :lang(zh-Hans) h2 { letter-spacing: 0; }
h1 { font-size: clamp(2.45rem, 5.8vw, 5.3rem); }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); }
h3 { line-height: 1.3; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header:has(+ .home) { background: var(--paper); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.header-inner { min-height: 66px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  text-decoration: none;
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.3rem;
}
.brand-mark { display: block; width: 32px; height: 32px; flex: none; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(.8rem, 2.8vw, 1.8rem); }
.site-header nav a { text-decoration: none; font-size: .95rem; font-weight: 650; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: underline; }
.language-switch { position: relative; flex: none; }
.site-header .language {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  list-style: none;
  cursor: pointer;
}
.language::-webkit-details-marker { display: none; }
.site-header .language:hover, .language-switch[open] .language { background: var(--sand); }
.language-options {
  position: absolute;
  z-index: 3;
  inset: calc(100% + .25rem) 0 auto auto;
  min-width: 9rem;
  margin: 0;
  padding: .3rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 .45rem 1rem #382b2420;
}
.language-options a { display: block; padding: .4rem .6rem; border-radius: 4px; }
.language-options a:hover, .language-options a[aria-current="page"] { background: var(--sand); }

.hero-band { padding-bottom: clamp(1.75rem, 4.2vw, 3.2rem); }
.hero { padding: clamp(1.6rem, 3.5vw, 2.65rem) 0 1.15rem; }
.hero h1 { font-size: clamp(2.35rem, 4.4vw, 3.25rem); }
.hero p { margin-top: .45rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.18rem); }
.player {
  padding: clamp(.48rem, 1.2vw, .82rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.player-stage { background: var(--dark); overflow: hidden; border-radius: 6px; }
.player-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1175 / 650;
  background: var(--dark);
}
.player-cover { position: absolute; inset: 0; display: grid; place-items: center; isolation: isolate; }
.player-cover img { object-fit: cover; }
.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #24170e5c 0%, transparent 66%);
  pointer-events: none;
}
.player-play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .73rem 1.35rem;
  border: 2px solid var(--on-dark);
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-dark);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.player-play:hover { background: var(--accent-hover); }
.player-cover .player-play:focus-visible { outline-color: var(--on-dark); }
.player-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark); background: var(--dark); pointer-events: none; }
.player-window iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  width: 1710px;
  height: 878px;
  transform-origin: top left;
  transform: scale(var(--player-scale, 1)) translate(-267px, -163px);
}
.player-stage:fullscreen { display: grid; place-items: center; border-radius: 0; }
.player-stage:fullscreen .player-window { width: min(100vw, calc(100vh * 1175 / 650)); }
.player-bar, .player-tools, .player-keys { display: flex; align-items: center; flex-wrap: wrap; }
.player-bar { justify-content: space-between; column-gap: 1rem; row-gap: .55rem; padding-top: .7rem; }
.player-tools { gap: .6rem 1rem; }
.player-keys { gap: .25rem .65rem; font-size: .85rem; color: var(--muted); }
.player-keys kbd { font-size: .79rem; padding: .05rem .28rem; }
.player-fullscreen, .player-official {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 39px;
  padding: .38rem .68rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--surface);
  font: 650 .91rem/1.3 "Source Sans 3", system-ui, sans-serif;
  text-decoration: none;
}
.player-fullscreen { cursor: pointer; }
.player-fullscreen:hover, .player-official:hover { background: var(--sand); color: var(--ink); }
.player-status { padding-top: .55rem; color: var(--muted); font-size: .79rem; }
.home-band { padding-block: clamp(2.65rem, 5.75vw, 5rem); border-top: 1px solid var(--line); }
.home-band h2 { margin-bottom: 1.15rem; }
.overview-grid, .guide-grid, .faq-grid {
  display: grid;
  align-items: start;
  gap: clamp(1.7rem, 4vw, 4rem);
}
.overview-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.overview-copy > p + p { margin-top: .95rem; }
.overview-copy > p { max-width: 56ch; color: var(--muted); }
.overview-copy .guide-link { margin-top: 1.35rem; }
.tool-grid { display: grid; gap: .75rem; }
.tool-grid > div {
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  background: var(--surface);
  padding: .75rem 1rem;
}
.tool-grid strong { font-size: 1rem; }
.tool-grid p { margin-top: .16rem; color: var(--muted); font-size: .9rem; }
.gallery-wrap { margin-top: clamp(1.75rem, 4vw, 3rem); }
.gallery { margin: 0; }
.gallery > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.8vw, 1.15rem); }
.gallery a { display: inline-block; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.gallery figcaption { font-size: .77rem; margin-top: .65rem; color: var(--muted); }

.guide-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
.steps { margin: 1.25rem 0 0; padding-inline-start: 1.5rem; }
.steps li { padding: .85rem .4rem; border-top: 1px solid var(--line); }
.steps li::marker { color: var(--accent); font-weight: 750; }
.steps p { color: var(--muted); }
.guide-link {
  display: inline-block;
  color: var(--on-dark);
  background: var(--accent);
  text-decoration: none;
  border-radius: 3px;
  padding: .68rem 1rem;
  font-size: .92rem;
  font-weight: 650;
}
.guide-link:hover { background: var(--accent-hover); color: var(--on-dark); }
.controls { padding: 1.45rem; color: var(--on-dark); background: var(--dark); border: 1px solid var(--dark-line); }
.controls dl { margin: 1.15rem 0; }
.controls dl div { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .44rem 0; border-bottom: 1px solid var(--dark-line); }
.controls dd { margin: 0; font-size: .88rem; }
.controls p { color: var(--on-dark); font-size: .88rem; }
kbd { padding: .15em .36em; border-radius: 3px; background: #eddfc9; color: var(--ink); }

.faq-grid { grid-template-columns: minmax(0, .64fr) minmax(0, 1fr); }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: .65rem; }
.faq-list details { border: 1px solid var(--line); background: var(--surface); padding: .75rem .95rem; border-radius: 5px; }
.faq-list summary { font-weight: 675; cursor: pointer; }
.faq-list details p { max-width: 72ch; margin: .6rem 0 .2rem; color: var(--muted); }
.site-footer { padding-block: 1.6rem; color: var(--on-dark); background: var(--dark); font-size: .85rem; }
.site-footer a:hover { color: #f2d6a9; }
.site-footer p { margin-top: .25rem; }
.site-footer nav { flex-wrap: wrap; }

.guide { padding-block: clamp(2rem, 5vw, 4.5rem); min-height: 60vh; }
.guide h1 { max-width: 20ch; font-size: clamp(2.4rem, 5vw, 4.15rem); overflow-wrap: anywhere; hyphens: auto; }
.breadcrumb { display: flex; gap: .65rem; margin-bottom: 1rem; font-size: .88rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, 300px); gap: clamp(1.5rem, 5vw, 4.7rem); }
.prose { max-width: 72ch; padding-top: 1.5rem; }
.prose :is(p, ul, table) { margin-bottom: 1rem; }
.prose :is(h2, h3) { margin: 1.7em 0 .55em; }
.prose h2 { font-size: clamp(1.65rem, 3.5vw, 2.46rem); }
.prose a { color: var(--accent); font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; font-size: .91rem; }
.prose :is(th, td) { text-align: start; padding: .65rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); }
.article-side { align-self: start; display: grid; gap: 1rem; margin-top: 1.5rem; }
.article-side > * { display: grid; gap: .5rem; padding: 1.2rem; background: var(--sand); }
.article-side h2 { margin-bottom: .45rem; font: 720 1rem/1.3 system-ui, sans-serif; letter-spacing: 0; }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: .35rem; padding-block: .55rem; }
  .header-inner nav { width: 100%; justify-content: space-between; gap: .45rem; }
  .wrap { width: calc(100% - 28px); }
  .overview-grid, .guide-grid, .faq-grid, .article-layout { grid-template-columns: 1fr; }
  .article-side { grid-row: 1; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .player-bar { align-items: flex-start; flex-direction: column; }
  .player-tools { column-gap: .55rem; }
  .player-keys { gap: .1rem .42rem; }
  .player-play { padding: .48rem .88rem; }
  .gallery > div { grid-template-columns: 1fr; }
}

.player-fullscreen[hidden], .player-status[hidden] { display: none; }
