:root {
  color-scheme: dark;
  --ink: #0a0807;
  --ink-2: #15100d;
  --red: #d7222b;
  --red-dark: #861016;
  --cream: #ead8bd;
  --cream-light: #fff8ed;
  --brown: #563426;
  --muted: #aa9a8a;
  --green: #50c387;
  --line: rgba(234, 216, 189, .14);
  --shadow: 0 26px 80px rgba(0,0,0,.38);
  font-family: Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; color: var(--cream-light); background: var(--ink); overflow-x: hidden; }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; opacity: .18; pointer-events: none; background-image: repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.018) 39px); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.site-header { width: min(1280px, calc(100% - 42px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.header-brand { display: block; width: 225px; flex: 0 0 auto; }
.header-brand img { width: 100%; }
.site-header nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.site-header nav a { color: var(--muted); font-size: .82rem; text-decoration: none; transition: color .2s ease; }
.site-header nav a:hover { color: var(--cream-light); }
.open-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; }
.open-badge i { width: 8px; height: 8px; border-radius: 50%; background: #8c7671; }
.open-badge.is-open i { background: var(--green); box-shadow: 0 0 0 5px rgba(80,195,135,.1); }
.open-badge.is-closed i { background: var(--red); }
.ticker { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); background: #110d0b; color: #7e7065; font: 700 .63rem/32px Arial, sans-serif; letter-spacing: .16em; direction: ltr; }
.ticker span { display: inline-block; min-width: 200%; animation: ticker 32s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero { min-height: 680px; width: min(1280px, calc(100% - 42px)); margin: 0 auto; padding: 70px 0 88px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.eyebrow { color: var(--red); font: 800 .7rem/1 Arial, sans-serif; letter-spacing: .22em; }
.hero h1 { margin: 18px 0 24px; max-width: 680px; font-size: clamp(3.4rem, 6.6vw, 6.9rem); line-height: .97; letter-spacing: -.075em; }
.hero h1 em { color: var(--cream); font-style: normal; font-weight: 400; }
.hero-copy > p { max-width: 620px; color: var(--muted); font-size: 1.04rem; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 21px; border: 1px solid transparent; border-radius: 13px; color: var(--cream-light); text-decoration: none; cursor: pointer; font-weight: 800; font-size: .86rem; transition: transform .18s ease, filter .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button:disabled { opacity: .42; cursor: not-allowed; transform: none; filter: none; }
.button-primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 13px 36px rgba(215,34,43,.23); }
.button-cream { color: var(--ink); background: var(--cream); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.025); }
.button-full { width: 100%; }
.text-link { color: var(--cream); font-size: .82rem; text-underline-offset: 5px; }
.text-link span { color: var(--red); }
.hero-stats { display: flex; gap: 42px; margin: 48px 0 0; }
.hero-stats div { position: relative; padding-inline-end: 42px; }
.hero-stats div:not(:last-child)::after { content: ''; position: absolute; inset-inline-end: 0; top: 4px; width: 1px; height: 38px; background: var(--line); }
.hero-stats dt { font: 800 1.55rem/1 Arial, sans-serif; color: var(--cream-light); }
.hero-stats dd { margin: 6px 0 0; color: var(--muted); font-size: .68rem; }
.hero-visual { position: relative; min-height: 520px; }
.memory { margin: 0; overflow: hidden; border: 1px solid rgba(234,216,189,.18); background: #1a130f; box-shadow: var(--shadow); }
.memory img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12) saturate(.88) contrast(1.04); }
.memory-main { position: absolute; inset: 4% 8% 5% 13%; border-radius: 46% 46% 17px 17px; transform: rotate(1.8deg); }
.memory-small { position: absolute; width: 36%; aspect-ratio: .78; inset-inline-start: -2%; bottom: 0; border-radius: 14px; transform: rotate(-5deg); z-index: 2; }
.vinyl { position: absolute; z-index: 3; top: -5px; inset-inline-end: -18px; width: 145px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle at center, #080706 0 7px, #15110f 8px 10px); box-shadow: 0 20px 45px rgba(0,0,0,.5); }
.vinyl::before { content: ''; width: 52px; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.vinyl span { position: absolute; z-index: 1; font: 900 .72rem/1 Arial; }
.memory-caption { position: absolute; z-index: 4; inset-inline-end: 0; bottom: 2%; margin: 0; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9,7,6,.82); backdrop-filter: blur(12px); }
.memory-caption strong, .memory-caption span { display: block; }
.memory-caption strong { color: var(--cream); }
.memory-caption span { margin-top: 4px; color: var(--muted); font-size: .7rem; }

.catalog-notice { width: min(1180px, calc(100% - 34px)); margin: -40px auto 40px; padding: 14px 18px; border: 1px solid rgba(215,34,43,.26); border-radius: 14px; color: var(--cream); background: rgba(134,16,22,.2); text-align: center; font-size: .82rem; }
.section-shell { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }
.songbook { padding: 86px 0 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.section-heading > div { position: relative; }
.section-number { position: absolute; top: -26px; inset-inline-start: -28px; color: rgba(234,216,189,.055); font: 900 6.5rem/1 Arial, sans-serif; }
.section-heading h2 { position: relative; margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.9; font-size: .86rem; }
.profile-strip { position: relative; display: flex; align-items: center; gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(100deg, rgba(86,52,38,.34), rgba(255,255,255,.025)); }
.profile-copy { display: flex; align-items: center; gap: 12px; min-width: 245px; }
.profile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--cream); background: rgba(215,34,43,.15); font-size: 1.3rem; }
.profile-copy strong, .profile-copy small { display: block; }
.profile-copy small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.profile-form { flex: 1; display: grid; grid-template-columns: minmax(160px, 1fr) 130px auto auto; gap: 10px; align-items: end; }
.profile-form label, .note-field { display: grid; gap: 7px; color: var(--muted); font-size: .7rem; font-weight: 700; }
.profile-form input, .search-box input, .note-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; color: var(--cream-light); background: rgba(8,6,5,.8); outline: none; }
.profile-form input { height: 45px; padding: 0 13px; }
.profile-form input:focus, .search-box input:focus, .note-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,34,43,.12); }
.saved-mark { min-width: 75px; color: var(--green); font-size: .72rem; align-self: center; }
.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; margin-top: 24px; align-items: start; }
.catalog-area { min-width: 0; }
.search-box { height: 66px; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 8px 8px 8px 18px; border: 1px solid rgba(234,216,189,.18); border-radius: 18px; background: #17110e; box-shadow: 0 22px 65px rgba(0,0,0,.25); }
.search-box > span { color: var(--cream); font: 400 2rem/1 Arial; transform: rotate(-20deg); }
.search-box input { height: 48px; padding: 0 8px; border: 0; background: transparent; font-size: 1rem; }
.search-box input:focus { box-shadow: none; }
.language-filters { display: flex; gap: 8px; margin: 14px 0; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.language-chip { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: .72rem; }
.language-chip small { margin-inline-start: 5px; opacity: .65; font: 700 .64rem/1 Arial; }
.language-chip.is-active { border-color: rgba(215,34,43,.48); color: var(--cream-light); background: rgba(215,34,43,.13); }
.search-status { min-height: 32px; padding: 5px 2px; color: var(--muted); font-size: .74rem; }
.song-results { display: grid; gap: 9px; transition: opacity .18s ease; }
.song-results.is-loading { opacity: .5; }
.song-card { min-height: 74px; display: grid; grid-template-columns: 72px 1fr 44px; gap: 13px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.023); transition: border-color .18s ease, background .18s ease; }
.song-card:hover { border-color: rgba(234,216,189,.26); background: rgba(255,255,255,.038); }
.song-language { width: max-content; max-width: 72px; padding: 6px 8px; border-radius: 8px; color: var(--cream); background: rgba(86,52,38,.35); font-size: .62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-copy { min-width: 0; }
.song-copy strong, .song-copy span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.song-copy strong { font-size: .91rem; }
.song-copy span { margin-top: 6px; color: var(--muted); font-size: .74rem; direction: auto; }
.add-song, .icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--cream); background: transparent; cursor: pointer; font: 400 1.5rem/1 Arial; }
.add-song.is-selected { border-color: var(--red); color: #fff; background: var(--red); }
.empty-results { padding: 40px 20px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; font-size: .8rem; }
.load-more { width: 100%; margin-top: 12px; }
.selection-panel { position: sticky; top: 16px; overflow: hidden; border: 1px solid rgba(234,216,189,.18); border-radius: 20px; background: #17110e; box-shadow: var(--shadow); }
.selection-heading { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(215,34,43,.14), transparent); }
.selection-heading span, .selection-heading strong { display: block; }
.selection-heading span { color: var(--muted); font-size: .7rem; }
.selection-heading strong { margin-top: 5px; color: var(--cream); font: 700 .82rem/1 Arial; }
.selection-heading b { font-size: 1.25rem; }
.selected-songs { max-height: 350px; min-height: 150px; overflow-y: auto; padding: 12px 17px; }
.empty-selection { min-height: 125px; display: grid; place-items: center; align-content: center; gap: 8px; color: #74675d; text-align: center; }
.empty-selection span { font-size: 2rem; }
.empty-selection p { margin: 0; line-height: 1.7; font-size: .75rem; }
.selected-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.selected-row strong, .selected-row span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.selected-row strong { font-size: .78rem; }
.selected-row span { margin-top: 5px; color: var(--muted); font-size: .67rem; }
.selected-row button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #c1b1a1; background: rgba(255,255,255,.04); cursor: pointer; font-size: 1.2rem; }
.note-field { padding: 0 17px 13px; }
.note-field small { opacity: .7; font-weight: 400; }
.note-field textarea { resize: vertical; min-height: 62px; padding: 10px; line-height: 1.5; }
.selection-panel > .button { width: calc(100% - 34px); margin: 0 17px; }
.limit-note { display: block; padding: 10px 17px 16px; color: #786b60; text-align: center; font-size: .62rem; }

.requests-section { padding: 82px 0 90px; }
.light-heading { padding-top: 30px; border-top: 1px solid var(--line); }
.my-requests-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; transition: opacity .2s ease; }
.my-requests-list.is-loading { opacity: .55; }
.request-card { position: relative; overflow: hidden; min-height: 195px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #19120f, #110d0b); }
.request-card::before { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 4px; height: 100%; background: #806f62; }
.request-card.status-queued::before { background: #d18b2e; }
.request-card.status-singing::before { background: var(--red); box-shadow: 0 0 30px var(--red); }
.request-card.status-done::before { background: var(--green); }
.request-top { display: flex; justify-content: space-between; align-items: center; }
.request-status { padding: 6px 9px; border-radius: 8px; color: var(--cream); background: rgba(255,255,255,.055); font-size: .67rem; }
.request-top small { color: #6f6258; font: 700 .65rem/1 Arial; }
.request-title { display: block; margin-top: 22px; font-size: 1.05rem; direction: auto; }
.request-artist { display: block; margin-top: 7px; color: var(--muted); font-size: .78rem; direction: auto; }
.request-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 13px; border-top: 1px solid var(--line); color: #938476; font-size: .68rem; }
.empty-requests { grid-column: 1 / -1; padding: 44px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
.empty-requests span { color: var(--cream); font-weight: 700; }
.empty-requests p { margin: 8px 0 0; font-size: .8rem; }

.memories-section { padding: 55px 0 110px; }
.memories-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 12px; }
.memories-grid figure { margin: 0; overflow: hidden; border-radius: 15px; background: #1b1410; }
.memories-grid figure.wide { grid-column: span 2; }
.memories-grid img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.14) saturate(.82); transition: transform .5s ease, filter .5s ease; }
.memories-grid figure:hover img { transform: scale(1.035); filter: none; }
footer { min-height: 150px; display: flex; align-items: center; gap: 18px; padding: 28px max(22px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); background: #070605; }
footer img { width: 60px; height: 60px; object-fit: contain; }
footer strong, footer span { display: block; }
footer span { margin-top: 6px; color: var(--muted); font-size: .7rem; }
footer a { margin-inline-start: auto; color: #73665d; font-size: .7rem; }
.mobile-cart { display: none; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 26px; max-width: calc(100% - 30px); padding: 13px 18px; border: 1px solid rgba(80,195,135,.28); border-radius: 12px; color: var(--cream-light); background: rgba(13,10,8,.96); box-shadow: 0 16px 50px rgba(0,0,0,.5); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; font-size: .8rem; }
.toast[data-tone="error"] { border-color: rgba(215,34,43,.5); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 58px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { width: min(650px, 100%); margin: 0 auto; }
  .search-layout { grid-template-columns: 1fr; }
  .selection-panel { position: static; }
  .selected-songs { max-height: 280px; }
  .my-requests-list { grid-template-columns: repeat(2, 1fr); }
  .profile-strip { align-items: flex-start; flex-direction: column; }
  .profile-form { width: 100%; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .site-header { width: calc(100% - 24px); min-height: 64px; }
  .header-brand { width: 160px; }
  .open-badge { margin-inline-start: auto; padding: 0 10px; font-size: .62rem; }
  .hero { width: calc(100% - 28px); min-height: auto; padding: 50px 0 70px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 5.5rem); }
  .hero-copy > p { font-size: .9rem; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .hero-stats { gap: 18px; }
  .hero-stats div { padding-inline-end: 18px; }
  .hero-visual { min-height: 390px; }
  .memory-main { inset-inline: 7%; }
  .memory-small { width: 38%; }
  .vinyl { width: 95px; inset-inline-end: 0; }
  .memory-caption { inset-inline-end: 3%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading > p { font-size: .78rem; }
  .section-number { inset-inline-start: -5px; }
  .songbook { padding-top: 70px; }
  .profile-form { grid-template-columns: 1fr 95px; }
  .profile-form .button { grid-column: 1 / -1; }
  .saved-mark { position: absolute; bottom: 4px; inset-inline-end: 22px; }
  .search-box { height: 60px; grid-template-columns: auto 1fr; padding-inline: 12px; }
  .search-box .button { grid-column: 1 / -1; width: 100%; margin-top: 8px; }
  .search-box { margin-bottom: 62px; }
  .song-card { grid-template-columns: 60px 1fr 42px; padding-inline: 11px; }
  .my-requests-list { grid-template-columns: 1fr; }
  .memories-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .memories-grid figure.wide { grid-column: span 2; }
  footer { padding-bottom: 100px; }
  .mobile-cart { display: block; position: fixed; z-index: 30; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); border: 1px solid rgba(234,216,189,.22); border-radius: 15px; background: rgba(12,9,8,.94); box-shadow: 0 16px 45px rgba(0,0,0,.55); backdrop-filter: blur(15px); }
  .mobile-cart button { width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center; padding: 0 17px; border: 0; color: var(--cream-light); background: transparent; }
  .mobile-cart span { color: var(--muted); font-size: .72rem; }
  .mobile-cart b { color: var(--cream); }
  .mobile-cart strong { color: var(--red); font-size: .78rem; }
}

@media (max-width: 430px) {
  .open-badge { max-width: 118px; }
  .hero-stats dd { font-size: .6rem; }
  .hero-visual { min-height: 330px; }
  .memory-small { display: none; }
  .memory-main { inset-inline: 0; }
  .profile-strip { padding: 16px; }
  .song-results { gap: 7px; }
  .song-card { grid-template-columns: 1fr 40px; }
  .song-language { grid-column: 1 / -1; }
  .memories-grid { grid-auto-rows: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

