:root {
  color-scheme: light;
  --ink: #16181d;
  --paper: #f3f0e8;
  --panel: #fffdf6;
  --panel-soft: #ebe6d8;
  --muted: #6d706d;
  --line: #d7d0bf;
  --night: #10141b;
  --night-2: #162235;
  --cream: #fbf6e8;
  --green: #0c766a;
  --gold: #c9a24b;
  --rose: #b64f61;
  --blue: #225c8f;
  --shadow: 0 18px 48px rgba(15, 20, 27, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(201, 162, 75, 0.16), transparent 28%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 42%, var(--paper) 42%, var(--paper) 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(16, 20, 27, 0.92);
  border-bottom: 1px solid rgba(251, 246, 232, 0.15);
  backdrop-filter: blur(16px);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand span,
.eyebrow,
.section-kicker,
.meta-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  color: var(--cream);
  font-size: 17px;
}

.top-nav {
  display: flex;
  gap: 4px;
}

.top-nav a {
  border-radius: 6px;
  color: #c9d0d3;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.top-nav a:hover {
  background: rgba(251, 246, 232, 0.08);
  color: var(--cream);
}

.loading-view,
.error-view {
  color: var(--cream);
  padding: 42px clamp(18px, 4vw, 52px);
}

.album-page {
  display: grid;
  gap: 28px;
}

.hero {
  align-items: center;
  color: var(--cream);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  padding: clamp(36px, 5vw, 70px) clamp(18px, 4vw, 52px) 34px;
}

@media (min-width: 1100px) {
  .hero {
    gap: clamp(48px, 6vw, 110px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    padding-inline: max(clamp(72px, 7vw, 120px), calc((100vw - 1500px) / 2));
  }
}

.hero-copy {
  align-content: center;
  display: grid;
  gap: 18px;
  max-width: 850px;
}

.hero-share-slot {
  justify-self: center;
  width: min(100%, 540px);
}

.hero-aside-stack {
  display: contents;
}

.breadcrumb {
  color: #b9c1c6;
  font-size: 13px;
  margin: 0;
}

.breadcrumb a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: 0;
  line-height: 1.06;
}

.lead {
  color: #dbe0df;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.86;
  max-width: 780px;
}

.hero-actions,
.button-row,
.listen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.album-actions,
.cta-groups,
.listen-service-groups {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.action-group {
  display: grid;
  gap: 7px;
}

.action-group > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.service-group {
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.service-group--youtube {
  background: #fff4f4;
  border-color: rgba(217, 37, 37, 0.22);
}

.service-group--youtube > span {
  color: #b91c1c;
}

.service-group--spotify {
  background: #effaf3;
  border-color: rgba(29, 185, 84, 0.24);
}

.service-group--spotify > span {
  color: #137c3d;
}

.youtube-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 16px 0 14px;
}

.youtube-preview-card {
  background: #111820;
  border: 1px solid rgba(217, 37, 37, 0.2);
  border-radius: 8px;
  color: #fffaf0;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
  text-decoration: none;
}

.youtube-preview-card strong {
  font-size: 15px;
  line-height: 1.45;
}

.youtube-preview-thumb {
  aspect-ratio: 16 / 9;
  background: #0b1016;
  border-radius: 6px;
  display: block;
  overflow: hidden;
  position: relative;
}

.youtube-preview-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.youtube-preview-thumb::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  content: "";
  inset: 0;
  position: absolute;
}

.youtube-play-mark {
  background: #e21d24;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  height: 42px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  z-index: 1;
}

.youtube-play-mark::before {
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  content: "";
  left: 23px;
  position: absolute;
  top: 11px;
}

.button,
.shop-link,
.listen-link {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  text-decoration: none;
}

.listen-link::before,
.shop-link--spotify::before,
.shop-link--youtube::before {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  margin-right: 7px;
  width: 18px;
}

.button.primary,
.shop-link {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}

.button.secondary {
  background: rgba(251, 246, 232, 0.08);
  border-color: rgba(251, 246, 232, 0.25);
  color: var(--cream);
}

.hero-visual {
  align-self: start;
  background: rgba(251, 246, 232, 0.96);
  border: 1px solid rgba(251, 246, 232, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.hero-image {
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  object-fit: cover;
  width: 100%;
}

.hero-image.is-hidden {
  display: none;
}

.record-stack {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1c2027, #2d2431);
  border-radius: 7px;
  display: grid;
  justify-items: center;
  overflow: hidden;
  position: relative;
}

.record-stack[hidden] {
  display: none;
}

.record-stack::before,
.record-stack::after {
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  position: absolute;
}

.record-stack::before {
  background:
    radial-gradient(circle, var(--gold) 0 8%, #111 8% 16%, #20242a 16% 42%, #111 42% 43%, #2c3138 43% 100%);
  box-shadow: 24px 14px 0 rgba(12, 118, 106, 0.55);
  width: 180px;
}

.record-stack::after {
  background: rgba(251, 246, 232, 0.08);
  inset: 0;
}

.hero-stats {
  display: grid;
  gap: 10px;
}

.hero-stat {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 10px;
}

.hero-stat span {
  color: var(--muted);
}

.content-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  padding: 0 clamp(18px, 4vw, 52px) 58px;
}

.main-column {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.side-rail {
  align-content: start;
  align-self: start;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 86px;
}

.section,
.rail-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 20, 27, 0.06);
}

.section {
  padding: clamp(20px, 3vw, 30px);
}

.section-header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.2;
}

.section-intro,
.body-text {
  color: #444844;
  line-height: 1.82;
}

.point-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.point-card {
  background: var(--panel-soft);
  border: 1px solid #d5cdbb;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 15px;
}

.point-card span {
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
}

.album-list {
  display: grid;
  gap: 18px;
}

.album-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 18px;
  scroll-margin-top: 92px;
}

.album-mark {
  align-content: center;
  background: linear-gradient(145deg, #171b22, #2a2230);
  border-radius: 8px;
  color: var(--cream);
  display: grid;
  gap: 10px;
  min-height: 160px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.album-mark::after {
  aspect-ratio: 1;
  background:
    radial-gradient(circle, var(--gold) 0 8%, #10141b 8% 17%, #242832 17% 58%, #10141b 58% 60%, #313744 60% 100%);
  border-radius: 50%;
  bottom: -42px;
  content: "";
  opacity: 0.9;
  position: absolute;
  right: -36px;
  width: 128px;
}

.album-media {
  align-items: center;
  background: linear-gradient(145deg, #fffefa, #f4efe3);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 160px;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.album-cover {
  display: block;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
  width: 100%;
}

.album-index--image {
  background: rgba(15, 18, 24, 0.88);
  border-radius: 999px;
  left: 12px;
  padding: 5px 8px;
  position: absolute;
  top: 12px;
}

.album-index {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.album-role {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  max-width: 110px;
  position: relative;
  z-index: 1;
}

.album-copy {
  display: grid;
  gap: 12px;
}

.album-title-row {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.album-title-row h3 {
  font-size: 24px;
  line-height: 1.3;
}

.album-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.stars {
  color: var(--gold);
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-list li {
  background: #edf2ed;
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  padding: 6px 9px;
}

.shop-link {
  box-shadow: 0 8px 18px rgba(16, 20, 27, 0.12);
  color: #111;
}

.shop-link--amazon {
  background: #252c3a;
  border-color: #252c3a;
  color: #fff;
}

.shop-link--rakuten {
  background: #b71f14;
  border-color: #b71f14;
  color: #fff;
}

.shop-link--yahoo {
  background: #f17732;
  border-color: #f17732;
  color: #fff;
}

.listen-link--spotify,
.shop-link--spotify {
  background: #1db954;
  border-color: #1db954;
  color: #07120b;
}

.listen-link--spotify::before,
.shop-link--spotify::before {
  background: rgba(7, 18, 11, 0.16);
  color: #07120b;
  content: "♪";
}

.listen-link--youtube,
.shop-link--youtube {
  background: #d92525;
  border-color: #d92525;
  color: #fff;
}

.listen-link--youtube::before,
.shop-link--youtube::before {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  content: "▶";
  font-size: 9px;
}

.shop-link:hover,
.listen-link:hover,
.detail-link:hover {
  transform: translateY(-1px);
}

.listen-link {
  background: #171b22;
  border-color: #171b22;
  color: var(--cream);
}

.listen-link.listen-link--spotify {
  background: #1db954;
  border-color: #1db954;
  color: #07120b;
}

.listen-link.listen-link--youtube {
  background: #d92525;
  border-color: #d92525;
  color: #fff;
}

.detail-link {
  background: #fffefa;
  border-color: var(--line);
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.rail-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.rail-panel h3 {
  font-size: 16px;
  margin: 0;
}

.rail-cta {
  background: rgba(245, 239, 224, 0.95);
  color: #15171b;
}

.ad-panel {
  background: linear-gradient(135deg, rgba(11, 123, 111, 0.16), rgba(202, 163, 74, 0.12));
}

.ad-box {
  align-items: center;
  border: 1px dashed rgba(245, 239, 224, 0.32);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  min-height: 112px;
}

.toc-list,
.related-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-list a,
.related-list a {
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
  text-decoration: none;
}

.link-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
  text-decoration: none;
}

.link-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.link-card strong {
  color: var(--green);
  line-height: 1.45;
}

#links .link-card.has-image {
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.16), rgba(9, 10, 13, 0.68)),
    linear-gradient(90deg, rgba(12, 16, 19, 0.42), rgba(12, 16, 19, 0.12)),
    var(--card-image) center / cover;
  border-color: rgba(255, 250, 238, 0.18);
  box-shadow: 0 18px 36px rgba(10, 12, 16, 0.18);
  min-height: 176px;
  overflow: hidden;
  position: relative;
}

#links .link-card.has-image::after {
  background:
    linear-gradient(135deg, rgba(202, 162, 75, 0.12), transparent 48%),
    linear-gradient(90deg, rgba(21, 91, 82, 0.1), transparent 62%),
    linear-gradient(0deg, rgba(255, 250, 238, 0.04), transparent 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

#links .link-card.has-image span,
#links .link-card.has-image strong,
#links .link-card.has-image small {
  position: relative;
  z-index: 1;
}

#links .link-card.has-image span,
#links .link-card.has-image small {
  color: rgba(255, 250, 238, 0.84);
}

#links .link-card.has-image strong {
  color: #fffaf0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

@media (max-width: 1040px) {
  .hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-share-slot {
    justify-self: stretch;
    width: 100%;
  }

  .side-rail {
    position: static;
  }
}

@media (min-width: 1041px) {
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-aside-stack {
    align-self: center;
    display: grid;
    gap: 14px;
    grid-column: 2;
    grid-row: 1;
    justify-items: center;
    justify-self: center;
    width: min(100%, 540px);
  }

  .hero-aside-stack .hero-visual {
    align-self: center;
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    max-width: 540px;
    order: 1;
    width: 100%;
  }

  .hero-aside-stack .hero-share-slot {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    margin-top: 0;
    order: 2;
    width: 100%;
  }

  .hero-aside-stack .share-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: start;
    flex-direction: column;
  }

  .top-nav {
    overflow-x: auto;
    width: 100%;
  }

  .album-card {
    grid-template-columns: 1fr;
  }

  .album-mark {
    min-height: 128px;
  }

  .album-media {
    min-height: 220px;
  }

  .album-title-row {
    display: grid;
  }

  .point-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}
