:root {
  color-scheme: light;
  --ink: #172523;
  --muted: #667572;
  --paper: #f4f6f1;
  --white: #fff;
  --line: #d9dfd8;
  --teal: #43c8b6;
  --teal-deep: #102b2b;
  --coral: #f27f6f;
  --mono: "Cascadia Mono", "Microsoft YaHei UI", monospace;
  --sans: "Microsoft YaHei UI", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-header { height: 76px; padding: 0 clamp(22px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid rgba(23,37,35,.08); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.mark { display: block; width: 38px; height: 38px; flex: none; }
.wordmark-dot { color: var(--coral); }
.main-nav { display: flex; gap: 38px; margin-left: auto; margin-right: 42px; color: #53625e; font-size: 14px; }
.main-nav a:hover, .text-link:hover, .back-top:hover { color: #159c8c; }
.header-link { border: 1px solid var(--line); padding: 10px 15px; font-size: 13px; font-weight: 600; transition: .2s ease; }
.header-link span { color: var(--coral); padding-left: 10px; }
.header-link:hover { border-color: var(--teal); background: #eefaf6; }
.hero { min-height: 570px; background: var(--teal-deep); color: #f4f8f2; position: relative; display: grid; grid-template-columns: 1fr; align-items: center; padding: 66px clamp(22px, 9vw, 134px) 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 83% 45%, rgba(67,200,182,.22), transparent 43%), linear-gradient(110deg, transparent 50%, rgba(242,127,111,.08)); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #9db5af; font: 11px var(--mono); letter-spacing: 0; }
.eyebrow-line { height: 1px; width: 30px; background: var(--coral); }
.hero h1 { margin: 27px 0 18px; font-size: clamp(64px, 9vw, 116px); line-height: .95; font-weight: 700; letter-spacing: 0; }
.hero-period, .accent-dot { color: var(--coral); }
.hero-subtitle { display: inline-block; margin-top: 17px; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.5; font-weight: 500; letter-spacing: 0; }
.hero-description { max-width: 420px; margin: 25px 0 31px; color: #bdcbc6; font-size: 15px; line-height: 1.9; }
.hero-action { display: inline-flex; gap: 35px; align-items: center; padding: 13px 17px; border: 1px solid rgba(255,255,255,.28); font-size: 13px; transition: .2s ease; }
.hero-action span { color: var(--teal); }
.hero-action:hover { color: var(--teal-deep); background: var(--teal); border-color: var(--teal); }
.hero-art { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; opacity: .72; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,43,43,.94) 0%, rgba(16,43,43,.76) 38%, rgba(16,43,43,.32) 100%), linear-gradient(0deg, rgba(10,30,30,.42), transparent 62%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(67,200,182,.28); border-radius: 50%; aspect-ratio: 1; }
.orbit-one { width: 540px; top: -78px; left: -90px; }
.orbit-two { width: 700px; top: -155px; left: -170px; }
.hero-index { position: absolute; bottom: 32px; left: clamp(22px, 9vw, 134px); color: #7e9b94; font: 10px/1.8 var(--mono); }
.section-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.directory { padding-top: 90px; padding-bottom: 105px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-eyebrow { color: #677772; }
.section-eyebrow span { color: #94a19b; }
.section-heading h2 { margin: 10px 0 0; font-size: 38px; line-height: 1.25; letter-spacing: 0; }
.section-note { margin: 0 0 5px; font-size: 13px; color: var(--muted); }
.directory-toolbar { margin-top: 39px; padding: 14px 0; display: flex; justify-content: flex-end; align-items: center; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-button { min-height: 36px; padding: 0 14px; border: 1px solid transparent; color: #65736e; background: transparent; cursor: pointer; font-size: 12px; }
.filter-button:hover { color: var(--ink); }
.filter-button.is-active { color: var(--teal-deep); background: #d9f2eb; border-color: #b9e5d9; }
.search-box { display: flex; align-items: center; gap: 9px; width: 245px; padding: 7px 10px; border-bottom: 1px solid #aab5af; }
.search-icon { font-size: 20px; line-height: 1; color: #65736e; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #86938d; }
.search-box kbd { color: #98a49e; font: 11px var(--mono); }
.result-count { margin: 20px 0 17px; color: #798680; font: 11px var(--mono); }
.idol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.idol-card { background: var(--white); border: 1px solid #e5e9e2; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.idol-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(29,55,48,.09); }
.idol-image-link { display: block; position: relative; height: 270px; overflow: hidden; background: #d8e6df; }
.idol-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 29%; transition: transform .45s ease; }
.idol-card:hover .idol-image { transform: scale(1.035); }
.card-index { position: absolute; top: 14px; left: 14px; padding: 6px 8px; background: rgba(16,43,43,.85); color: #d9f8ed; font: 10px var(--mono); }
.card-arrow { position: absolute; right: 13px; bottom: 13px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal-deep); background: var(--teal); font-size: 17px; }
.idol-info { padding: 20px 21px 18px; }
.idol-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.idol-romanized { margin: 0 0 5px; color: #89958f; font: 10px var(--mono); }
.idol-heading h3 { margin: 0; font-size: 25px; line-height: 1.25; }
.idol-origin { margin: 12px 0 0; color: #89958f; font-size: 11px; }
.idol-description { min-height: 47px; margin: 10px 0 16px; color: #53625e; font-size: 13px; line-height: 1.8; }
.idol-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0eb; padding-top: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-list span { color: #65736e; font-size: 10px; padding: 4px 7px; background: #f2f5f0; }
.detail-link { flex: none; color: #218b7d; font-size: 11px; font-weight: 600; }
.detail-link span { padding-left: 5px; }
.empty-state { padding: 40px 0; color: var(--muted); text-align: center; }
.about-band { background: #e7eee7; border-top: 1px solid #dce5dc; }
.about-inner { min-height: 340px; display: grid; grid-template-columns: .7fr 1.3fr .55fr; align-items: center; gap: 35px; padding-block: 64px; }
.about-inner > .eyebrow { align-self: start; color: #6b7e75; }
.about-copy { max-width: 560px; }
.about-copy h2 { margin: 0; font-size: 32px; line-height: 1.45; }
.about-copy p { max-width: 520px; margin: 15px 0 22px; color: #566762; font-size: 13px; line-height: 2; }
.text-link { color: #218b7d; font-size: 12px; font-weight: 600; }
.text-link span { color: var(--coral); padding-left: 8px; }
.about-stamp { width: 128px; height: 128px; border: 1px solid #b9c9be; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 8px; justify-self: end; color: #359b8c; transform: rotate(-11deg); }
.about-stamp span { font: 48px var(--mono); }
.about-stamp small { font: 8px/1.5 var(--mono); }
.site-footer { min-height: 90px; padding: 20px clamp(22px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; color: #76827d; font-size: 11px; }
.footer-wordmark { color: var(--ink); }
.footer-divider { padding-inline: 6px; color: #c0c9c2; }
.back-top { color: #52615c; }
.noscript { padding: 12px; text-align: center; background: #fff4e8; }
.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; }
.petal-layer { position: fixed; z-index: 5; inset: 0; overflow: hidden; pointer-events: none; }
.petal-layer span { position: absolute; top: -24px; left: var(--left); width: 12px; height: 18px; border-radius: 100% 0 100% 0; background: linear-gradient(145deg, #fff7f9, #f3a9bc); opacity: .72; transform: rotate(35deg); animation: petal-fall var(--duration) linear var(--delay) infinite; }
.petal-layer span:nth-child(2n) { width: 9px; height: 14px; background: linear-gradient(145deg, #fff8f6, #f6c1c1); }
.petal-layer span:nth-child(1) { --left: 7%; --duration: 19s; --delay: -4s; }
.petal-layer span:nth-child(2) { --left: 18%; --duration: 23s; --delay: -16s; }
.petal-layer span:nth-child(3) { --left: 31%; --duration: 21s; --delay: -9s; }
.petal-layer span:nth-child(4) { --left: 45%; --duration: 25s; --delay: -20s; }
.petal-layer span:nth-child(5) { --left: 58%; --duration: 20s; --delay: -12s; }
.petal-layer span:nth-child(6) { --left: 69%; --duration: 24s; --delay: -6s; }
.petal-layer span:nth-child(7) { --left: 79%; --duration: 22s; --delay: -18s; }
.petal-layer span:nth-child(8) { --left: 88%; --duration: 26s; --delay: -14s; }
.petal-layer span:nth-child(9) { --left: 96%; --duration: 21s; --delay: -2s; }
.petal-layer span:nth-child(10) { --left: 37%; --duration: 27s; --delay: -23s; }
@keyframes petal-fall { 0% { translate: 0 -5vh; rotate: 0deg; } 50% { translate: 5vw 55vh; rotate: 180deg; } 100% { translate: -2vw 112vh; rotate: 360deg; } }

@media (max-width: 1040px) {
  .idol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding-inline: 18px; }
  .wordmark { font-size: 20px; }
  .main-nav { gap: 17px; margin-right: 0; font-size: 12px; }
  .main-nav a:first-child { display: none; }
  .header-link { display: none; }
  .hero { min-height: 670px; display: flex; flex-direction: column; align-items: stretch; padding: 47px 22px 74px; }
  .hero-copy { order: 0; }
  .hero h1 { margin-top: 23px; font-size: 70px; }
  .hero-subtitle { font-size: 20px; }
  .hero-description { max-width: 340px; font-size: 14px; margin-block: 18px 21px; }
  .hero-art { position: absolute; inset: 0; width: auto; height: auto; margin: 0; }
  .hero-index { left: 22px; bottom: 20px; }
  .section-wrap { width: calc(100% - 36px); }
  .directory { padding-block: 62px 70px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .section-heading h2 { font-size: 32px; }
  .section-note { margin: 0; }
  .directory-toolbar { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 25px; }
  .search-box { width: 100%; }
  .idol-grid { grid-template-columns: 1fr; gap: 16px; }
  .idol-image-link { height: 260px; }
  .about-inner { min-height: auto; grid-template-columns: 1fr auto; gap: 22px; padding-block: 42px; }
  .about-inner > .eyebrow { grid-column: 1 / -1; margin: 0; }
  .about-copy h2 { font-size: 26px; }
  .about-copy p { font-size: 12px; }
  .about-stamp { width: 85px; height: 85px; gap: 4px; }
  .about-stamp span { font-size: 34px; }
  .about-stamp small { font-size: 7px; }
  .site-footer { min-height: 100px; flex-wrap: wrap; padding: 18px; }
  .site-footer > span { order: 3; flex-basis: 100%; }
  .petal-layer span:nth-child(n+6) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .petal-layer { display: none; }
}
