/* ==========================================================
   Lin汵汵 · inner pages
   Songbook / guestbook / highlight reels
   ========================================================== */

.page-light,
.page-dark {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
}

.page-light {
  background: var(--paper);
  color: var(--ink);
}

.page-dark {
  background: #130d18;
  color: #fff8f4;
}

.page-ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.page-light .page-ambient {
  background:
    radial-gradient(circle at 82% 2%, rgba(255, 183, 207, 0.24), transparent 31%),
    radial-gradient(circle at 6% 42%, rgba(191, 223, 219, 0.22), transparent 30%),
    radial-gradient(circle at 96% 72%, rgba(207, 191, 255, 0.16), transparent 27%),
    linear-gradient(168deg, #fdf7f2 0%, #fbf1eb 50%, #f8ede7 100%);
}

.page-light .page-ambient::before {
  content: "";
  position: absolute;
  top: 150px;
  right: -140px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(166, 92, 119, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(166, 92, 119, 0.025),
    0 0 0 98px rgba(166, 92, 119, 0.018),
    0 0 0 174px rgba(166, 92, 119, 0.012);
}

.page-ambient::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(80px);
}

.page-light .page-ambient::after {
  left: -130px;
  bottom: 8%;
  background: rgba(255, 156, 187, 0.13);
}

.page-dark .page-ambient {
  background:
    radial-gradient(circle at 78% 6%, rgba(255, 110, 158, 0.18), transparent 32%),
    radial-gradient(circle at 15% 35%, rgba(159, 127, 255, 0.1), transparent 29%),
    radial-gradient(circle at 50% 105%, rgba(255, 111, 157, 0.1), transparent 38%),
    linear-gradient(155deg, #170f1c 0%, #1d1022 48%, #100b14 100%);
}

.page-dark .page-ambient::after {
  right: -120px;
  bottom: 20%;
  background: rgba(157, 124, 255, 0.11);
}

.highlights-page .page-ambient::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 92vh;
  opacity: 0.2;
  background-image:
    linear-gradient(120deg, rgba(19, 13, 24, 0.22), rgba(19, 13, 24, 0.05) 48%, rgba(19, 13, 24, 0.48)),
    url("/assets/img/banner.webp");
  background-size: cover;
  background-position: center 26%;
  filter: saturate(0.68) blur(0.7px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.62) 48%, transparent 94%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.62) 48%, transparent 94%);
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------------- Shared inner page hero ---------------- */

.page-hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(54px, 7vh, 86px) 0 clamp(38px, 5vh, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 366px;
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.page-title {
  max-width: 750px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 720;
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.page-title .accent {
  position: relative;
  z-index: 0;
  color: var(--rose-deep);
  white-space: nowrap;
  isolation: isolate;
}

.page-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 1%;
  bottom: 0.04em;
  z-index: -1;
  height: 0.2em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 141, 177, 0.36), rgba(255, 201, 216, 0.02));
  transform: rotate(-1.2deg);
}

.page-lead {
  max-width: 570px;
  margin-top: 21px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.page-lead strong {
  color: var(--rose-deep);
  font-weight: 700;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

.page-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.page-hero-note::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
}

/* ---------------- Song ticket ---------------- */

.song-ticket {
  position: relative;
  justify-self: end;
  width: 100%;
  padding: 24px 25px 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 23px;
  color: #fff8f4;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 196, 214, 0.22), transparent 29%),
    linear-gradient(145deg, #462c3b 0%, #32212e 54%, #2a1b28 100%);
  box-shadow:
    0 35px 70px -40px rgba(75, 31, 51, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(1.4deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.song-ticket:hover {
  transform: rotate(0.2deg) translateY(-4px);
  box-shadow:
    0 40px 80px -40px rgba(75, 31, 51, 0.74),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.song-ticket::before {
  content: "ADMIT ONE";
  position: absolute;
  top: 112px;
  right: -43px;
  width: 180px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-align: center;
  transform: rotate(90deg);
}

.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ticket-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 241, 246, 0.6);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.ticket-brand::before {
  content: "✦";
  color: #ffadc7;
  font-size: 9px;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 165, 194, 0.24);
  border-radius: 999px;
  color: #ffc5d8;
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.ticket-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff8eb5;
  box-shadow: 0 0 8px rgba(255, 142, 181, 0.8);
}

.ticket-status[data-open="false"] {
  color: rgba(255, 240, 245, 0.42);
  border-color: rgba(255, 255, 255, 0.1);
}

.ticket-status[data-open="false"] i {
  background: #9e8996;
  box-shadow: none;
}

.ticket-main {
  margin-top: 35px;
  padding-bottom: 30px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.13);
}

.ticket-kicker {
  color: rgba(255, 241, 246, 0.34);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.ticket-number {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin-top: 3px;
}

.ticket-number strong {
  color: #ffe6ee;
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.ticket-number span {
  color: rgba(255, 238, 245, 0.4);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ticket-sub {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 239, 246, 0.42);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.ticket-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 17px;
}

.ticket-meta__name {
  color: #ffd7e4;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.ticket-meta__line {
  margin-top: 2px;
  color: rgba(255, 241, 246, 0.35);
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: 0.17em;
}

.ticket-barcode {
  width: 86px;
  height: 24px;
  opacity: 0.36;
  background: repeating-linear-gradient(90deg, #ffedf3 0 1px, transparent 1px 3px, #ffedf3 3px 4px, transparent 4px 7px, #ffedf3 7px 9px, transparent 9px 12px);
}

.ticket-stamp {
  position: absolute;
  right: 21px;
  bottom: 76px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 183, 206, 0.19);
  border-radius: 50%;
  color: rgba(255, 190, 210, 0.33);
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-align: center;
  transform: rotate(-14deg);
}

/* ---------------- Announcement ---------------- */

.announcement {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 17px 20px;
  border: 1px solid rgba(218, 158, 177, 0.20);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.7), rgba(255, 242, 246, 0.52)),
    rgba(255, 255, 255, 0.44);
  box-shadow: 0 16px 36px -30px rgba(90, 43, 61, 0.35);
}

.announcement__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--rose-deep);
  background: rgba(255, 123, 169, 0.12);
}

.announcement__text {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.announcement__text strong {
  color: var(--ink);
  font-weight: 650;
}

.announcement__label {
  display: block;
  margin-bottom: 1px;
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.announcement__badge {
  flex: none;
  padding: 4px 9px;
  border: 1px dashed rgba(236, 91, 144, 0.26);
  border-radius: 999px;
  color: var(--rose-deep);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------------- Songbook layout ---------------- */

.songbook-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 23px;
  align-items: start;
  padding-bottom: clamp(60px, 8vh, 94px);
}

.songbook-card {
  overflow: hidden;
  border: 1px solid rgba(115, 72, 90, 0.11);
  border-radius: 27px;
  background: rgba(255, 252, 250, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.songbook-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 27px 20px;
}

.songbook-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.songbook-title small {
  margin-left: 9px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.songbook-fine {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: right;
}

.songbook-fine strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.song-toolbar {
  display: grid;
  gap: 13px;
  padding: 0 27px 20px;
}

.search-and-random {
  display: flex;
  gap: 10px;
  align-items: center;
}

.song-search {
  position: relative;
  flex: 1;
  min-width: 0;
}

.song-search .icon {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #a88f9a;
  transform: translateY(-50%);
  pointer-events: none;
}

.song-search .input {
  height: 46px;
  padding-left: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.random-song {
  flex: none;
  height: 46px;
  padding: 0 15px;
  border-radius: 14px;
  font-size: 11px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  min-height: 29px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover {
  color: var(--rose-deep);
  background: rgba(255, 123, 169, 0.06);
}

.filter-chip[aria-pressed="true"] {
  color: var(--rose-deep);
  border-color: rgba(236, 91, 144, 0.18);
  background: rgba(255, 123, 169, 0.1);
}

.song-table-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 90px 82px;
  gap: 14px;
  padding: 9px 27px;
  border-top: 1px solid rgba(115, 72, 90, 0.08);
  border-bottom: 1px solid rgba(115, 72, 90, 0.08);
  color: var(--muted-2);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.song-table-head :nth-child(3),
.song-table-head :nth-child(4) {
  text-align: right;
}

.song-list {
  min-height: 300px;
}

.song-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 90px 82px;
  align-items: center;
  gap: 14px;
  min-height: 71px;
  padding: 10px 27px;
  border-bottom: 1px solid rgba(115, 72, 90, 0.07);
  transition: background 0.2s ease;
}

.song-row:last-child {
  border-bottom: 0;
}

.song-row:hover {
  background: rgba(255, 123, 169, 0.035);
}

.song-row__index {
  color: var(--muted-2);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.song-row__info {
  min-width: 0;
}

.song-row__title {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-row__artist {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-row__artist.is-empty {
  color: #c1afb7;
  font-size: 9px;
}

.song-row__note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  color: #ba8b9c;
  font-size: 9px;
}

.song-row__note::before {
  content: "✦";
  font-size: 6px;
}

.song-row__category {
  justify-self: end;
  max-width: 90px;
  padding: 4px 9px;
  overflow: hidden;
  border: 1px solid rgba(134, 91, 108, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-row__action {
  justify-self: end;
}

.request-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 66px;
  height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(236, 91, 144, 0.18);
  border-radius: 999px;
  color: var(--rose-deep);
  background: rgba(255, 123, 169, 0.07);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.request-button:hover:not(:disabled) {
  color: #fff;
  border-color: var(--rose-strong);
  background: var(--rose-strong);
  transform: translateY(-1px);
}

.request-button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  border-color: rgba(115, 72, 90, 0.1);
  background: rgba(115, 72, 90, 0.04);
}

.request-button.is-copied {
  color: #4c8277;
  border-color: rgba(128, 184, 168, 0.26);
  background: rgba(193, 231, 221, 0.28);
  transform: none;
}

.request-button.is-copied:hover {
  color: #4c8277;
  border-color: rgba(128, 184, 168, 0.26);
  background: rgba(193, 231, 221, 0.28);
  transform: none;
}

.songbook-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 27px 22px;
  border-top: 1px solid rgba(115, 72, 90, 0.08);
}

.songbook-more__count {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.songbook-more__count strong {
  color: var(--ink-soft);
  font-weight: 650;
}

.btn-more {
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(115, 72, 90, 0.13);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-more:hover {
  border-color: rgba(236, 91, 144, 0.28);
  background: #fff;
}

.songbook-empty {
  min-height: 300px;
}

.song-skeleton {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 90px 82px;
  gap: 14px;
  align-items: center;
  min-height: 71px;
  padding: 10px 27px;
  border-bottom: 1px solid rgba(115, 72, 90, 0.06);
}

.song-skeleton span {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(130, 94, 108, 0.07), rgba(130, 94, 108, 0.14), rgba(130, 94, 108, 0.07));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.song-skeleton span:nth-child(2) {
  width: 56%;
}

.song-skeleton span:nth-child(3) {
  width: 50%;
  justify-self: end;
}

.song-skeleton span:nth-child(4) {
  width: 62px;
  justify-self: end;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ---------------- Song sidebar ---------------- */

.song-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 23px;
  border: 1px solid rgba(115, 72, 90, 0.11);
  border-radius: 22px;
  background: rgba(255, 252, 250, 0.72);
  box-shadow: 0 18px 42px -34px rgba(90, 43, 61, 0.32);
  backdrop-filter: blur(12px);
}

.side-card--status {
  position: relative;
  overflow: hidden;
  border-color: rgba(236, 91, 144, 0.15);
  background:
    radial-gradient(circle at 94% 5%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(145deg, rgba(255, 221, 231, 0.84), rgba(255, 239, 243, 0.68));
}

.side-card--status::after {
  content: "♪";
  position: absolute;
  right: 10px;
  bottom: -32px;
  color: rgba(171, 80, 111, 0.08);
  font-family: var(--font-en);
  font-size: 145px;
  line-height: 1;
}

.side-card__eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.side-card__eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.side-card h2 {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.side-card__number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.side-card__number strong {
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: 45px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.side-card__number span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.side-card p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.side-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
}

.side-card__title .icon {
  color: var(--rose-deep);
}

.rules-list {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.rules-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.8;
  counter-increment: rules;
}

.rules-list li::before {
  content: counter(rules, decimal-leading-zero);
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.rules-list li::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 15px;
  width: 4px;
  height: 1px;
  background: rgba(199, 61, 107, 0.35);
}

.side-card--lilac {
  background:
    radial-gradient(circle at 90% 0%, rgba(207, 186, 255, 0.34), transparent 46%),
    rgba(250, 247, 255, 0.7);
}

.side-signoff {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed rgba(115, 72, 90, 0.13);
}

.side-signoff img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.side-signoff span {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.03em;
}

/* ---------------- Request dialog ---------------- */

.request-picked {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(236, 91, 144, 0.12);
  border-radius: 15px;
  background: rgba(255, 123, 169, 0.055);
}

.request-picked__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.75);
}

.request-picked__text {
  min-width: 0;
}

.request-picked__text span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.request-picked__text strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-form {
  display: grid;
  gap: 15px;
}

.form-error {
  padding: 10px 12px;
  border: 1px solid rgba(198, 63, 99, 0.18);
  border-radius: 11px;
  color: #b23e61;
  background: rgba(255, 222, 231, 0.46);
  font-size: 11px;
  line-height: 1.6;
}

/* ---------------- Guestbook hero ---------------- */

.guestbook-hero {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.polaroid {
  position: relative;
  justify-self: center;
  width: min(100%, 250px);
  padding: 10px 10px 37px;
  border: 1px solid rgba(96, 59, 75, 0.08);
  border-radius: 4px;
  background: #fffdfb;
  box-shadow: 0 24px 48px -28px rgba(69, 33, 48, 0.4);
  transform: rotate(3.5deg);
  transition: transform 0.45s var(--ease-out);
}

.polaroid:hover {
  transform: rotate(1.2deg) translateY(-4px);
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 79px;
  height: 25px;
  background: rgba(233, 198, 176, 0.56);
  box-shadow: 0 1px 2px rgba(90, 55, 67, 0.06);
  transform: translateX(-50%) rotate(-2deg);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.9) brightness(1.02);
}

.polaroid__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  color: #9c7d88;
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
}

.polaroid__stick {
  position: absolute;
  top: -21px;
  right: -24px;
  display: grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  color: #7d3852;
  background: #ffd6e3;
  box-shadow: 0 8px 18px -12px rgba(166, 57, 97, 0.5);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  transform: rotate(11deg);
}

.guestbook-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 10px;
}

.guestbook-hero__meta span {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.guestbook-hero__meta strong {
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
}

.guestbook-hero__meta i {
  width: 1px;
  height: 18px;
  background: rgba(115, 72, 90, 0.12);
}

/* ---------------- Guestbook layout ---------------- */

.guestbook-layout {
  display: grid;
  grid-template-columns: 365px minmax(0, 1fr);
  gap: 31px;
  align-items: start;
  padding-bottom: clamp(60px, 8vh, 94px);
}

.composer {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid rgba(112, 71, 87, 0.11);
  border-radius: 26px;
  background: rgba(255, 253, 251, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.composer::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 88px;
  height: 20px;
  border-radius: 2px;
  background: rgba(230, 194, 209, 0.5);
  transform: translateX(-50%) rotate(-1.5deg);
}

.composer__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px dashed rgba(115, 72, 90, 0.13);
}

.composer__head img {
  width: 45px;
  height: 45px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 14px -8px rgba(84, 42, 58, 0.5);
}

.composer__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.composer__sub {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.composer form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.composer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.char-count {
  color: var(--muted-2);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.char-count.is-near-limit {
  color: var(--rose-deep);
}

.composer .textarea {
  min-height: 148px;
  background: rgba(255, 255, 255, 0.58);
}

.composer__foot {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.composer__foot .icon {
  margin-top: 1px;
  color: #ad8a98;
}

.composer__note {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed rgba(115, 72, 90, 0.12);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  text-align: center;
}

.notes-area {
  min-width: 0;
}

.notes-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 17px;
  padding: 0 2px;
}

.notes-heading__title {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.notes-heading__title small {
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
}

.notes-heading__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.notes-heading__sort .icon {
  color: var(--rose-deep);
}

.notes-grid {
  columns: 2;
  column-gap: 18px;
}

.note-card {
  --note-bg: #fff8f5;
  --note-ink: var(--ink);
  --note-accent: #c44c76;
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
  padding: 22px 20px 15px;
  break-inside: avoid;
  border: 1px solid rgba(92, 54, 70, 0.09);
  border-radius: 4px 12px 9px 14px;
  background: var(--note-bg);
  box-shadow: 0 15px 30px -26px rgba(62, 28, 42, 0.34);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s ease;
  animation: notePop 0.45s var(--ease-out) both;
}

.note-card:hover {
  z-index: 2;
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 22px 40px -25px rgba(62, 28, 42, 0.42);
}

.note-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 58px;
  height: 18px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 1px 2px rgba(90, 55, 67, 0.04);
  transform: translateX(-50%) rotate(-2.5deg);
}

.note-card--pink { --note-bg: #fff1f5; --note-accent: #c74c78; }
.note-card--butter { --note-bg: #fff8e7; --note-accent: #aa7a2d; }
.note-card--mint { --note-bg: #eef9f5; --note-accent: #4d8b7d; }
.note-card--lilac { --note-bg: #f5f1ff; --note-accent: #7860a5; }
.note-card--cream { --note-bg: #fffaf4; --note-accent: #9b7651; }

.note-card.is-owner {
  --note-bg: linear-gradient(145deg, #fff1f5, #fff9f7);
  border-color: rgba(236, 91, 144, 0.18);
  box-shadow: 0 20px 40px -29px rgba(143, 53, 85, 0.44);
}

.note-card.is-owner::after {
  content: "OWNER";
  position: absolute;
  top: 15px;
  right: 16px;
  color: rgba(199, 61, 107, 0.32);
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.note-card.is-new {
  animation: newNote 0.6s var(--ease-out) both;
}

@keyframes notePop {
  from { opacity: 0; transform: translateY(9px) rotate(var(--tilt, 0deg)); }
  to { opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg)); }
}

@keyframes newNote {
  0% { opacity: 0; transform: translateY(-12px) scale(0.94) rotate(3deg); }
  60% { opacity: 1; transform: translateY(3px) scale(1.01) rotate(-1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--tilt, 0deg)); }
}

.note-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.note-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  background: var(--note-accent);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px -7px rgba(62, 28, 42, 0.4);
}

.note-author__name {
  overflow: hidden;
  color: var(--note-ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-author__time {
  margin-left: auto;
  flex: none;
  color: rgba(102, 66, 81, 0.45);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.note-pin {
  flex: none;
  color: var(--note-accent);
}

.note-text {
  min-height: 54px;
  margin: 13px 1px 14px;
  color: #54404a;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.95;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.note-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(92, 54, 70, 0.11);
  color: rgba(111, 80, 92, 0.58);
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.note-footer__mark {
  color: var(--note-accent);
  opacity: 0.8;
}

.notes-more {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.notes-empty {
  grid-column: 1 / -1;
  padding: 70px 20px;
  border: 1px dashed rgba(115, 72, 90, 0.16);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.notes-empty strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 18px;
}

.note-toast {
  position: fixed;
  z-index: 200;
}

/* ---------------- Highlights page ---------------- */

.highlights-hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(58px, 8vh, 90px) 0 42px;
  overflow: hidden;
}

.highlights-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.highlights-hero .page-kicker {
  color: #ffb1c8;
}

.highlight-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 160, 191, 0.17);
  border-radius: 999px;
  color: rgba(255, 235, 242, 0.5);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.highlight-hero-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff779f;
  box-shadow: 0 0 8px rgba(255, 119, 159, 0.6);
}

.highlights-hero__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-top: 15px;
}

.highlights-title {
  max-width: 860px;
  color: #fffaf6;
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.highlights-title__main {
  display: block;
}

.highlights-title .accent {
  display: block;
  margin-top: 4px;
  color: #ffafc7;
  font-family: var(--font-serif);
  font-size: 0.64em;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.34;
}

.highlights-title .accent-line {
  display: block;
}

.highlights-lead {
  max-width: 500px;
  margin-top: 22px;
  color: rgba(255, 240, 246, 0.52);
  font-size: 13px;
  line-height: 1.95;
}

.replay-count {
  flex: none;
  display: grid;
  justify-items: end;
  gap: 3px;
  padding-bottom: 7px;
}

.replay-count strong {
  color: #ffcfde;
  font-family: var(--font-en);
  font-size: clamp(54px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.replay-count span {
  color: rgba(255, 238, 245, 0.38);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.highlights-toolbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.highlight-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.highlight-filter {
  height: 31px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 241, 246, 0.42);
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.highlight-filter:hover {
  color: rgba(255, 245, 248, 0.84);
  background: rgba(255, 255, 255, 0.04);
}

.highlight-filter[aria-pressed="true"] {
  color: #ffe4ed;
  border-color: rgba(255, 158, 188, 0.22);
  background: rgba(255, 135, 170, 0.1);
}

.highlights-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 238, 245, 0.27);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: right;
}

.highlights-note .icon {
  color: #ff9cbb;
}

.highlight-gallery {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 27px 0 clamp(64px, 9vh, 96px);
}

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

.highlight-card {
  position: relative;
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 50px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.38s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 165, 193, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.highlight-card--featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
}

.highlight-card--wide {
  grid-column: span 8;
}

.highlight-card--small {
  grid-column: span 4;
}

.highlight-cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff8f4;
  background: #1a101f;
  text-align: left;
  cursor: pointer;
}

.highlight-card:not(.highlight-card--featured) .highlight-cover {
  aspect-ratio: 16 / 9;
}

.highlight-card--featured .highlight-cover {
  min-height: 390px;
}

.highlight-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out), filter 0.4s ease;
}

.highlight-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 6, 14, 0.04) 24%, rgba(11, 6, 14, 0.72) 100%),
    linear-gradient(90deg, rgba(11, 6, 14, 0.26), transparent 44%);
  pointer-events: none;
}

.highlight-card--featured .highlight-cover::after {
  background:
    linear-gradient(180deg, rgba(11, 6, 14, 0.02) 28%, rgba(11, 6, 14, 0.7) 100%),
    linear-gradient(90deg, rgba(11, 6, 14, 0.22), transparent 55%);
}

.highlight-card:hover .highlight-cover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.highlight-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #371520;
  background: rgba(255, 232, 240, 0.93);
  box-shadow: 0 13px 38px -18px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
  transition: transform 0.34s var(--ease-out), background 0.25s ease;
}

.highlight-play .icon {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}

.highlight-card:hover .highlight-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff6f2;
}

.highlight-cover__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.highlight-tag,
.highlight-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 247, 250, 0.8);
  background: rgba(25, 14, 29, 0.5);
  backdrop-filter: blur(8px);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.highlight-tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff93b7;
}

.highlight-duration {
  color: rgba(255, 246, 249, 0.74);
  font-size: 8px;
}

.highlight-cover__bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 2;
}

.highlight-cover__bottom span {
  color: rgba(255, 235, 242, 0.52);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.highlight-cover__bottom h2 {
  margin-top: 4px;
  color: #fff8f5;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.highlight-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px;
}

.highlight-info__date {
  color: rgba(255, 237, 244, 0.33);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.highlight-info p {
  margin-top: 11px;
  color: rgba(255, 240, 246, 0.52);
  font-size: 11.5px;
  line-height: 1.9;
}

.highlight-info__action {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
}

.highlight-watch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 37px;
  padding: 0 15px;
  border: 1px solid rgba(255, 158, 189, 0.24);
  border-radius: 999px;
  color: #ffd5e1;
  background: rgba(255, 132, 169, 0.08);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.highlight-watch:hover {
  border-color: rgba(255, 175, 201, 0.45);
  background: rgba(255, 132, 169, 0.14);
}

.highlight-watch .icon {
  width: 13px;
  height: 13px;
}

.highlight-info__index {
  color: rgba(255, 242, 247, 0.22);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.highlight-card:not(.highlight-card--featured) .highlight-info {
  padding: 20px 21px 21px;
}

.highlight-card:not(.highlight-card--featured) .highlight-info__action {
  margin-top: 16px;
}

.highlight-card:not(.highlight-card--featured) .highlight-info p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.highlight-empty {
  grid-column: span 12;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 88px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: rgba(255, 238, 245, 0.4);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.highlight-empty strong {
  color: #ffe7ee;
  font-family: var(--font-serif);
  font-size: 22px;
}

.highlight-empty a {
  margin-top: 10px;
  color: #ffb3ca;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.highlight-skeleton {
  grid-column: span 12;
  height: 310px;
  border-radius: 23px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

/* ---------------- Responsive inner pages ---------------- */

@media (max-width: 1080px) {
  .page-hero {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }

  .songbook-layout {
    grid-template-columns: minmax(0, 1fr) 278px;
    gap: 18px;
  }

  .song-toolbar,
  .songbook-head {
    padding-left: 22px;
    padding-right: 22px;
  }

  .song-row,
  .song-table-head,
  .song-skeleton {
    grid-template-columns: 42px minmax(0, 1fr) 78px 74px;
    padding-left: 22px;
    padding-right: 22px;
    gap: 11px;
  }

  .songbook-more {
    padding-left: 22px;
    padding-right: 22px;
  }

  .guestbook-layout {
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 22px;
  }

  .notes-grid {
    columns: 1;
  }

  .notes-grid .note-card {
    max-width: 100%;
  }

  .highlight-card--featured {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

@media (max-width: 900px) {
  .page-shell,
  .page-hero,
  .highlights-hero,
  .highlights-toolbar,
  .highlight-gallery {
    width: min(100% - 36px, 720px);
  }

  .page-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
  }

  .page-title {
    font-size: clamp(42px, 8vw, 62px);
  }

  .song-ticket {
    justify-self: stretch;
    max-width: 440px;
    transform: rotate(0.7deg);
  }

  .songbook-layout {
    grid-template-columns: 1fr;
  }

  .song-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .side-card--status {
    grid-column: span 2;
  }

  .guestbook-hero {
    grid-template-columns: 1fr;
  }

  .polaroid {
    display: none;
  }

  .guestbook-layout {
    grid-template-columns: 1fr;
  }

  .composer {
    position: static;
  }

  .notes-grid {
    columns: 2;
  }

  .highlight-card--featured {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

  .highlight-card--featured .highlight-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .highlight-card--wide,
  .highlight-card--small {
    grid-column: span 6;
  }

  .highlights-hero__main {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
  }

  .replay-count {
    justify-items: start;
  }

  .highlights-note {
    display: none;
  }
}

@media (max-width: 620px) {
  .page-shell,
  .page-hero,
  .highlights-hero,
  .highlights-toolbar,
  .highlight-gallery {
    width: calc(100% - 28px);
  }

  .page-hero {
    padding-top: 35px;
    padding-bottom: 30px;
  }

  .page-kicker {
    font-size: 8px;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
  }

  .page-title {
    font-size: clamp(36px, 11.5vw, 51px);
    letter-spacing: -0.055em;
  }

  .page-lead {
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.9;
  }

  .page-hero-actions {
    margin-top: 21px;
  }

  .page-hero-actions .btn {
    min-height: 41px;
    padding: 0 17px;
    font-size: 11px;
  }

  .song-ticket {
    padding: 19px 18px 16px;
    border-radius: 19px;
  }

  .ticket-main {
    margin-top: 23px;
    padding-bottom: 21px;
  }

  .ticket-number strong {
    font-size: 58px;
  }

  .ticket-meta {
    padding-top: 13px;
  }

  .announcement {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    margin-bottom: 18px;
  }

  .announcement__badge {
    display: none;
  }

  .announcement__text {
    font-size: 11px;
  }

  .songbook-card {
    border-radius: 20px;
  }

  .songbook-head {
    display: block;
    padding: 20px 18px 16px;
  }

  .songbook-fine {
    margin-top: 4px;
    font-size: 9px;
    text-align: left;
  }

  .song-toolbar {
    padding: 0 18px 15px;
  }

  .search-and-random {
    align-items: stretch;
  }

  .random-song {
    width: 46px;
    padding: 0;
    font-size: 0;
    gap: 0;
  }

  .random-song .icon {
    width: 16px;
    height: 16px;
  }

  .filter-row {
    gap: 3px;
  }

  .filter-chip {
    padding: 0 9px;
    font-size: 9px;
  }

  .song-table-head {
    display: none;
  }

  .song-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 12px;
    min-height: 0;
    padding: 14px 18px;
  }

  .song-row__index {
    display: none;
  }

  .song-row__info {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .song-row__title {
    font-size: 13px;
  }

  .song-row__artist {
    margin-top: 3px;
  }

  .song-row__category {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    max-width: 72px;
    font-size: 8px;
  }

  .song-row__action {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  .request-button {
    height: 27px;
    min-width: 58px;
    padding: 0 9px;
    font-size: 9px;
  }

  .songbook-more {
    padding: 15px 18px 18px;
  }

  .song-skeleton {
    display: block;
    padding: 20px 18px;
  }

  .song-skeleton span:nth-child(1),
  .song-skeleton span:nth-child(3),
  .song-skeleton span:nth-child(4) {
    display: none;
  }

  .song-skeleton span:nth-child(2) {
    display: block;
    width: 65%;
    height: 11px;
  }

  .song-sidebar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .side-card--status {
    grid-column: auto;
  }

  .composer {
    padding: 20px;
  }

  .notes-heading__title {
    font-size: 23px;
  }

  .notes-grid {
    columns: 1;
  }

  .note-card {
    padding: 20px 18px 14px;
    margin-bottom: 15px;
  }

  .note-text {
    font-size: 12.5px;
  }

  .guestbook-hero__meta {
    flex-wrap: wrap;
    gap: 9px;
  }

  .highlights-hero {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .highlights-title {
    font-size: clamp(40px, 12vw, 62px);
    letter-spacing: -0.055em;
  }

  .highlights-title .accent {
    font-size: 0.66em;
    line-height: 1.38;
  }

  .highlights-lead {
    margin-top: 15px;
    font-size: 12px;
  }

  .highlights-toolbar {
    padding: 12px 0;
    align-items: flex-start;
  }

  .highlight-filters {
    gap: 2px;
  }

  .highlight-filter {
    height: 28px;
    padding: 0 9px;
    font-size: 9px;
  }

  .highlight-gallery {
    padding-top: 18px;
  }

  .highlight-grid {
    gap: 14px;
  }

  .highlight-card,
  .highlight-card--wide,
  .highlight-card--small {
    grid-column: span 12;
    border-radius: 17px;
  }

  .highlight-cover__bottom {
    left: 17px;
    right: 17px;
    bottom: 15px;
  }

  .highlight-play {
    width: 52px;
    height: 52px;
  }

  .highlight-info {
    padding: 18px !important;
  }

  .highlight-card--featured .highlight-cover {
    aspect-ratio: 4 / 3;
  }

  .highlight-cover__bottom h2 {
    font-size: 21px;
  }

  .highlight-card:not(.highlight-card--featured) .highlight-info p {
    -webkit-line-clamp: 3;
  }

  .highlights-note {
    display: none;
  }

  .request-picked {
    gap: 10px;
  }

  .request-picked__text strong {
    font-size: 13px;
  }

  .modal--video {
    width: calc(100vw - 20px);
    border-radius: 18px;
  }

  .modal--video .modal__head {
    padding: 16px 16px 10px;
  }

  .modal--video .modal__body {
    padding: 0 12px 12px;
  }

  .modal--video .modal__title {
    font-size: 16px;
  }
}

/* ---------------- Song catalog ---------------- */

.songs-hero--catalog {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  padding-bottom: clamp(34px, 5vh, 52px);
  text-align: center;
}

.songs-hero--catalog .page-kicker {
  justify-content: center;
}

.songs-hero--catalog .page-lead {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.songs-hero--catalog .page-hero-actions,
.songs-hero--catalog .page-hero-note {
  justify-content: center;
}

.songs-catalog-shell {
  padding-bottom: clamp(60px, 8vh, 94px);
}

.song-catalog {
  position: relative;
  border: 1px solid rgba(115, 72, 90, 0.12);
  border-radius: 26px;
  background: rgba(255, 252, 250, 0.82);
  box-shadow: 0 26px 70px -46px rgba(82, 39, 57, 0.5);
  backdrop-filter: blur(16px);
}

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 28px 17px;
}

.catalog-kicker {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.catalog-heading {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.catalog-heading small {
  margin-left: 9px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.catalog-summary {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.catalog-filterbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 28px 13px;
}

.catalog-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid rgba(116, 75, 91, 0.13);
  border-radius: 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.catalog-control:hover,
.catalog-control:focus-within,
.catalog-control[open] {
  border-color: rgba(213, 104, 138, 0.3);
  background: rgba(255, 255, 255, 0.88);
}

.catalog-control__label {
  flex: none;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.catalog-control--select {
  position: relative;
  flex: 0 1 142px;
  padding-right: 30px;
}

.catalog-control--select::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 13px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #8f707d;
  border-bottom: 1.5px solid #8f707d;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.catalog-control--multi {
  flex: 0 1 148px;
}

.catalog-control--fee {
  flex: 0 1 112px;
}

.catalog-control--search {
  flex: 1 1 240px;
  min-width: 190px;
  padding-left: 13px;
}

.catalog-control--search .icon {
  color: #b096a1;
}

.catalog-control--search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 11.5px;
}

.catalog-control--search input::placeholder {
  color: #b8a2ab;
}

.catalog-control select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  appearance: none;
}

.catalog-control select option {
  color: var(--ink);
  background: #fffaf8;
}

.catalog-control--multi summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  list-style: none;
  cursor: pointer;
}

.catalog-control--multi summary::-webkit-details-marker {
  display: none;
}

.catalog-control--multi b {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-control--multi summary::after {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-right: 2px;
  margin-left: auto;
  border-right: 1.5px solid #8f707d;
  border-bottom: 1.5px solid #8f707d;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.catalog-control--multi[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.catalog-control--multi.is-dropup .catalog-menu {
  top: auto;
  bottom: calc(100% + 7px);
}

.catalog-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 30;
  min-width: 190px;
  max-width: min(260px, calc(100vw - 56px));
  max-height: 280px;
  padding: 9px;
  overflow: auto;
  border: 1px solid rgba(115, 72, 90, 0.13);
  border-radius: 14px;
  background: #fffaf8;
  box-shadow: 0 22px 45px -24px rgba(76, 35, 52, 0.42);
}

.catalog-control[data-filter-menu="genre"] .catalog-menu {
  right: 0;
  left: auto;
}

.catalog-menu__hint {
  padding: 2px 7px 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.catalog-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 5px 7px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  cursor: pointer;
}

.catalog-option:hover {
  background: rgba(255, 123, 169, 0.07);
}

.catalog-option input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--rose-strong);
}

.catalog-option small {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
}

.catalog-random {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: none;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid rgba(236, 91, 144, 0.18);
  border-radius: 12px;
  color: var(--rose-deep);
  background: rgba(255, 236, 242, 0.72);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.catalog-random:hover:not(:disabled) {
  color: #fff;
  background: var(--rose-strong);
  transform: translateY(-1px);
}

.catalog-random:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.catalog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 28px 12px;
  color: var(--muted);
  font-size: 9px;
}

.catalog-clear {
  padding: 0;
  border: 0;
  color: var(--rose-deep);
  background: transparent;
  font: inherit;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.catalog-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(115, 72, 90, 0.08);
  border-bottom: 1px solid rgba(115, 72, 90, 0.07);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.catalog-table th {
  padding: 11px 20px;
  border-bottom: 1px solid rgba(115, 72, 90, 0.08);
  color: var(--muted-2);
  background: rgba(255, 247, 246, 0.45);
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-align: left;
}

.catalog-table th:nth-child(1) {
  width: 32%;
}

.catalog-table th:nth-child(2) {
  width: 20%;
}

.catalog-table th:nth-child(3) {
  width: 8%;
}

.catalog-table th:nth-child(4) {
  width: 16%;
}

.catalog-table th:nth-child(5) {
  width: 9%;
}

.catalog-table th:nth-child(6) {
  width: 15%;
}

.catalog-table td {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(115, 72, 90, 0.065);
  color: var(--ink-soft);
  font-size: 12px;
  vertical-align: middle;
}

.catalog-table tbody tr:last-child td {
  border-bottom: 0;
}

.catalog-table tbody tr {
  transition: background 0.18s ease;
}

.catalog-table tbody tr:hover {
  background: rgba(255, 123, 169, 0.035);
}

.catalog-table__action-head,
.catalog-table td:last-child {
  text-align: right;
}

.catalog-song-title {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.015em;
  line-height: 1.5;
}

.catalog-song-note {
  display: block;
  margin-top: 2px;
  color: #b38898;
  font-size: 9px;
  line-height: 1.5;
}

.catalog-song-artist {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.catalog-song-language {
  color: var(--muted);
  font-size: 10px;
}

.catalog-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.catalog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(134, 91, 108, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  line-height: 1.4;
  white-space: nowrap;
}

.catalog-fee {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.catalog-fee.is-paid {
  color: var(--rose-deep);
  font-weight: 650;
}

.catalog-loading-row td {
  padding: 55px 20px;
}

.catalog-loading {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.catalog-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 48px 20px;
  text-align: center;
}

.catalog-empty__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  border: 1px solid rgba(224, 150, 172, 0.22);
  border-radius: 50%;
  color: var(--rose-deep);
  background: rgba(255, 241, 245, 0.78);
}

.catalog-empty strong {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 650;
}

.catalog-empty p {
  max-width: 370px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.catalog-empty .btn {
  margin-top: 3px;
}

.catalog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.catalog-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 18px;
  margin-top: 20px;
}

.catalog-info-card {
  padding: 23px 25px;
  border: 1px solid rgba(115, 72, 90, 0.1);
  border-radius: 21px;
  background: rgba(255, 252, 250, 0.68);
}

.catalog-info-card--note {
  background:
    linear-gradient(135deg, rgba(255, 246, 250, 0.82), rgba(244, 239, 255, 0.58));
}

.catalog-info-card__head h2 {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 680;
}

.catalog-rules {
  margin-top: 14px;
  padding-left: 1.35em;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 2;
}

.catalog-rules li + li {
  margin-top: 2px;
}

.catalog-rules li::marker {
  color: var(--rose);
}

.catalog-info-card--note p {
  max-width: 390px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.95;
}

.catalog-info-card--note .btn {
  margin-top: 16px;
}

.catalog-signoff {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9.5px;
}

.catalog-signoff img {
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .catalog-filterbar {
    gap: 7px;
  }

  .catalog-control--search {
    flex-basis: 100%;
    order: 5;
  }

  .catalog-control--select,
  .catalog-control--multi,
  .catalog-control--fee {
    flex: 1 1 150px;
  }

  .catalog-random {
    flex: 1 1 auto;
  }
}

@media (max-width: 720px) {
  .songs-hero--catalog {
    padding-top: clamp(38px, 6vh, 58px);
    padding-bottom: 30px;
  }

  .songs-hero--catalog .page-title {
    font-size: clamp(36px, 9vw, 48px);
  }

  .songs-hero--catalog .page-lead {
    font-size: 12px;
    line-height: 1.9;
  }

  .songs-catalog-shell {
    width: min(100% - 28px, 640px);
  }

  .song-catalog {
    border-radius: 20px;
  }

  .catalog-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 21px 18px 14px;
  }

  .catalog-heading {
    font-size: 23px;
  }

  .catalog-summary {
    margin: 0;
    font-size: 9px;
  }

  .catalog-filterbar {
    padding: 0 18px 10px;
  }

  .catalog-control {
    min-height: 41px;
    padding: 0 10px;
  }

  .catalog-control--select,
  .catalog-control--multi,
  .catalog-control--fee {
    flex: 1 1 calc(50% - 4px);
  }

  .catalog-control--search {
    min-width: 0;
    flex-basis: 100%;
    order: 4;
  }

  .catalog-random {
    min-height: 41px;
    flex: 1 1 100%;
    order: 5;
  }

  .catalog-actions {
    padding: 0 18px 10px;
    font-size: 8.5px;
  }

  .catalog-table th {
    padding: 10px 12px;
  }

  .catalog-table td {
    padding: 11px 12px;
  }

  .catalog-table th:nth-child(3),
  .catalog-table td:nth-child(3),
  .catalog-table th:nth-child(4),
  .catalog-table td:nth-child(4) {
    display: none;
  }

  .catalog-table th:nth-child(1) {
    width: auto;
  }

  .catalog-table th:nth-child(2) {
    width: 25%;
  }

  .catalog-table th:nth-child(5) {
    width: 58px;
  }

  .catalog-table th:nth-child(6) {
    width: 72px;
  }

  .catalog-song-title {
    font-size: 12.5px;
  }

  .catalog-song-artist {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-table td:last-child {
    padding-right: 12px;
  }

  .catalog-foot {
    padding: 12px 18px 14px;
    font-size: 8.5px;
  }

  .catalog-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .catalog-info-card {
    padding: 19px 18px;
    border-radius: 17px;
  }

  .catalog-rules {
    font-size: 10.5px;
  }

  .catalog-menu {
    min-width: 178px;
  }

  .announcement {
    gap: 10px;
    padding: 14px;
  }

  .announcement__text {
    font-size: 11px;
    line-height: 1.75;
  }

  .announcement__badge {
    align-self: start;
    margin-top: 1px;
    font-size: 8px;
  }
}

@media (max-width: 440px) {
  .catalog-table th,
  .catalog-table td {
    padding-right: 9px;
    padding-left: 9px;
  }

  .catalog-table th:nth-child(2) {
    width: 23%;
  }

  .catalog-table .request-button {
    min-width: 54px;
    padding: 0 9px;
    font-size: 9px;
  }

  .catalog-control--select,
  .catalog-control--multi,
  .catalog-control--fee {
    flex-basis: calc(50% - 4px);
  }

  .catalog-table th:nth-child(5) {
    width: 52px;
  }

  .catalog-table th:nth-child(6) {
    width: 66px;
  }
}
