:root {
  color-scheme: dark;
  --navy: #10121b;
  --panel: #1b1e2a;
  --line: #3a3a46;
  --wine: #5c2239;
  --gold: #f4cd87;
  --text: #f5f0e8;
  --muted: #c2bdc6;
  font: 16px/1.65 system-ui, "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; background: var(--navy); color: var(--text) }
a { color: var(--gold); text-underline-offset: .22em }
a:hover { color: #fff0ca }
button, input, select { font: inherit }
:focus-visible { outline: 3px solid #ffe2a8; outline-offset: 4px }
.wrap { width: min(1120px, calc(100% - 44px)); margin-inline: auto }
.skip { position: absolute; transform: translateY(-150%); z-index: 2; background: var(--navy); padding: .65rem }
.skip:focus { transform: none }
header { background: #12131d; border-bottom: 1px solid var(--line) }
.mast { display: flex; align-items: center; min-height: 76px; gap: 26px; justify-content: space-between }
.brand { color: var(--text); font: 700 1.16rem Georgia, "Yu Mincho", serif; white-space: nowrap; text-decoration: none }
.brand span { color: var(--gold) }
nav { display: flex; flex-wrap: wrap; gap: .1rem 1rem }
nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: .875rem; text-decoration: none }
nav a[aria-current="page"] { color: var(--gold); text-decoration: underline }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 85% 0%, #57273c, transparent 66%), #171825; border-bottom: 1px solid var(--line) }
.hero .wrap { position: relative; padding-block: clamp(44px, 9vw, 112px) }
.hero.spotlight .wrap { padding-block: clamp(56px, 10vw, 120px) }
.hero .lead { color: #ded4d6; max-width: 34rem }
.hero .edition { display: block; color: var(--gold); letter-spacing: .18em; font-weight: 700; font-size: .8rem; margin-bottom: .8rem }
h1, h2, h3 { line-height: 1.27 }
h1, h2 { font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif }
h1 { font-size: clamp(2.25rem, 7vw, 5.25rem); margin: 0 0 1rem; letter-spacing: .035em; overflow-wrap: anywhere }
h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); margin: 0 0 1rem }
h3 { font-size: 1.12rem; margin: 0 0 .65rem }
.hero-record { position: absolute; z-index: -1; pointer-events: none; inset: -30% -4% -30% 44%; opacity: .68; background: radial-gradient(ellipse at 55% 39%, #96594877 0%, transparent 47%) }
.hero-record::after { content: ""; position: absolute; width: min(60vw, 610px); aspect-ratio: 1; right: 0; top: 4%; border-radius: 50%; background: radial-gradient(circle, #1a1218 0 2%, #bc7650 2.4% 15%, transparent 15.5%), conic-gradient(from 30deg, #06070c, #5a423d 18%, #090b10 31%, #0c0e16 62%, #654737 75%, #08080e 88%), repeating-radial-gradient(circle, transparent 0 3px, #aaa 4px, transparent 6px); background-blend-mode: normal, screen, normal; box-shadow: 0 0 80px #19050b; transform: rotate(-20deg) scaleY(.81) }
.hero.has-photo .hero-record { display: none }
.hero.has-photo { --hero-photo: url("./coast.jpg") }
.hero.has-photo { background: linear-gradient(90deg,#111421 15%,#171522ee 41%,#17152224 100%), var(--hero-photo) center right / cover no-repeat, #151524 }
main { padding-bottom: clamp(48px, 7vw, 96px) }
.section { padding: clamp(28px, 5vw, 56px) 0; border-bottom: 1px solid var(--line) }
.section:last-child { border-bottom: 0 }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px }
.card { margin: 0; min-width: 0; padding: 18px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; overflow-wrap: anywhere }
.feature-card { padding: clamp(20px, 4vw, 34px); background: linear-gradient(145deg, var(--wine), var(--panel) 85%) }
.feature-card h3 { font-family: Georgia, "Yu Mincho", serif; font-size: 1.55rem }
.feature-card a { display: inline-block; min-height: 44px; padding-top: .45rem }
.action { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem .95rem; border-radius: 7px; border: 1px solid #866643; color: var(--gold); background: #26202b; text-decoration: none; cursor: pointer; font-weight: 650 }
.action.primary { background: var(--gold); color: #1c1420; border-color: transparent }
.actions { display:flex; flex-wrap:wrap; gap: 10px; align-items: center; margin-top: 1rem }
.meta, .small { color: var(--muted); font-size: .9rem }
.tag { color: var(--gold); font-size: .84rem }
.facts { margin: 0 0 .65rem; color: var(--muted); font-size: .92rem }
.card p { margin: 0 0 .65rem }
.article { max-width: 780px; margin-inline: auto }
.article h2:not(:first-child) { margin-top: 2rem }
.article .split { display: grid; gap: 16px; grid-template-columns: 1fr 1fr }
.article-box, .note { padding: 16px; border-left: 3px solid var(--gold); background: var(--panel) }
.timeline li { padding-bottom: .5rem }
.plain { margin-block: .5rem; padding-inline-start: 1.35rem }
.controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 12px }
.controls label { flex: 1 1 155px; display: grid; font-weight: 650; gap: 4px }
.controls label:first-child { flex: 2 1 250px }
input, select { width: 100%; color: var(--text); background: #151821; border: 1px solid #676573; border-radius: 7px; min-height: 44px; padding: .42rem .7rem }
#catalog { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 260px),1fr)); gap: 12px }
#catalog .card { content-visibility: auto; contain-intrinsic-block-size: auto 166px }
details { margin-top: .7rem }
summary { cursor: pointer; color: var(--gold); min-height: 38px; padding-block: .35rem }
.tracklist { columns: 2 240px; list-style: none; margin: .3rem 0 1rem; padding: 0 }
.tracklist li { break-inside: avoid; padding: .2rem 0 }
.tracklist span { display: inline-block; min-width: 2rem; color: var(--gold); font-variant-numeric: tabular-nums }
.player { position: relative; display: grid; align-items: center; justify-items: center; min-height: var(--player-height, 152px); overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: radial-gradient(ellipse at 70% 5%,#63314a,#141622 74%) }
.player iframe { display: block; width: 100%; height: var(--player-height, 152px); border: 0 }
.player.video { aspect-ratio: 16/9; min-height: 0 }
.player.video iframe { height: 100%; position: absolute; inset: 0 }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px),1fr)); gap: 16px }
.jacket { --player-height: 310px }
.anchor { scroll-margin-top: 16px }
footer { padding-block: 28px 48px; border-top: 1px solid var(--line); color: var(--muted) }
@media(max-width: 720px) {
  .wrap { width: calc(100% - 30px) }
  .mast { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 12px }
  nav { gap: 0 .8rem }
  nav a { min-height: 36px }
  .hero-record { opacity: .37; inset-inline-start: 20% }
  .hero-record::after { width: 90vw; top: 10%; right: -30% }
  .hero.has-photo { background-image: linear-gradient(90deg,#111421 2%,#171522e2 48%,#17152254), var(--hero-photo) }
  .article .split { grid-template-columns: 1fr }
}

/* ZARD accent colors layered on the shared Enkeisha music DB theme. */
:root {
  --navy: #0f1921;
  --panel: #172630;
  --line: #38505c;
  --wine: #193f48;
  --gold: #a6e4dd;
  --text: #f1f5f6;
  --muted: #bfced6;
}
body { background: linear-gradient(150deg,#101d27,#0e171f 68%) }
header { background: #101a23 }
a:hover { color: #ebfffd }
:focus-visible { outline-color: #b0faef }
.mast { min-height: 72px }
.brand { letter-spacing: .06em }
nav a { font-weight: 620 }
.hero { background: radial-gradient(ellipse at 89% 22%,#30575f 0%,transparent 64%),#16313c }
.hero .wrap { padding-block: clamp(35px,6vw,72px) }
.hero.spotlight .wrap { padding-block: clamp(64px,10vw,126px) }
.hero.has-photo {
  background: linear-gradient(90deg,#10202bf2 0%,#0f2836cc 38%,#0c202a16 82%),
    var(--hero-photo) center 53% / cover no-repeat, #142a37;
}
.hero .lead { color: #e1eaf0; max-width: 36rem }
.hero h1 { letter-spacing: .06em }
.hero.spotlight h1 { font-size: clamp(3.75rem,12vw,8rem); font-weight: 500; letter-spacing: .075em }
.crumb { margin: 0 0 .75rem; color: var(--muted); font-size: .86rem }
.action { background: #1b3541; border-color: #6a999e }
.action.primary { color: #0d2930 }
.action.primary:hover { color: #0d2930; background: #c7fbf3 }
.section-head { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; margin-bottom: .9rem }
.section-head h2 { margin: 0 }
.song-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px }
.song-tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 118px;
  padding: 16px; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(155deg,#1e414c,#162730); text-decoration: none; line-height: 1.45;
}
.song-tile:hover { background: #254b55; border-color: var(--gold) }
.song-tile span { font: 650 clamp(1.1rem,3vw,1.55rem)/1.3 Georgia,"Yu Mincho",serif; overflow-wrap: anywhere }
.song-tile small { color: var(--muted); font-variant-numeric: tabular-nums }
.feature-card { border-radius: 8px }
.feature-card a { padding-top: 0; min-height: auto }
.widget .actions { gap: .35rem 1rem }
.widget .player { margin-block: .6rem }
.player {
  background: linear-gradient(160deg,#2b515c,#12222e);
}
.player.jacket:not(:has(iframe)) { min-height: 135px }
.player.jacket:has(iframe) { --player-height: 380px }
.player.video { width: 100%; min-height: 202px; background: linear-gradient(150deg,#294855,#101d27) }
.player .action { max-width: calc(100% - 22px); text-align: center }
.player iframe { background: #182631 }
.player + p, .listen-grid .player + p { margin: .65rem 0 0 }
.tracklist { columns: auto; font-size: .94rem }
.tracklist li { display: grid; grid-template-columns: 2rem minmax(0,1fr); gap: .25rem }
.release h4 { font-size: .9rem; color: var(--muted); margin: .75rem 0 .35rem }
#catalog .release { content-visibility: visible; contain-intrinsic-block-size: none }
.release:target { outline: 2px solid var(--gold); outline-offset: 3px }
.release .source-row { margin-top: .55rem; font-size: .89rem }
.code, time { font-variant-numeric: tabular-nums }
.inline-links { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: .65rem 0 0 }
.inline-links li a { display: inline-flex; align-items: center; min-height: 36px }
.video-card .video-description { margin: .65rem 0 0 }
.definition { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: .45rem 1rem }
.definition dt { color: var(--muted) }
.definition dd { margin: 0; min-width: 0; overflow-wrap: anywhere }
.crosswalk { list-style: none; padding: 0 }
.crosswalk li { padding-block: .7rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere }
.crosswalk span { display: block; color: var(--muted); font-size: .88rem }
.jump { margin-top: 10px }
.jump a { color: var(--gold); text-decoration: underline }
.sources { max-width: 76ch }
.sources ul { overflow-wrap: anywhere }
.timeline { padding-left: 1.4rem }
@media(max-width: 720px) {
  .hero.has-photo { background-image: linear-gradient(90deg,#0d1e2beb,#102734b0 56%,#10252e4a),var(--hero-photo) }
  .mast nav a { min-height: 40px }
  .hero .lead { max-width: 29rem }
  .song-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .song-tile { min-height: 100px }
  .controls label { min-width: 0 }
}
