/* Tributes Link: tribute page template with four themes */

body.tribute {
  --bg: #fbf7f1; --bg2: #f3ece2; --card: #ffffff; --text: #2b2f38; --soft: #6b6f78;
  --head: #1f2a44; --accent: #b8945a; --accent2: #d9c39a; --line: rgba(31,42,68,.1);
  --veil: rgba(251,247,241,.55); --heroTint: rgba(251,247,241,.4);
  background: var(--bg); color: var(--text);
}
body.tribute[data-theme="sky"] {
  --bg: #f5f8fc; --bg2: #e7eef7; --head: #22385a; --accent: #5f87b3; --accent2: #a9c4dd; --heroTint: rgba(245,248,252,.35);
}
body.tribute[data-theme="evergreen"] {
  --bg: #f6f6f0; --bg2: #e9ece2; --head: #2f4a36; --accent: #6b8f71; --accent2: #b9cdb4; --heroTint: rgba(246,246,240,.5);
}
body.tribute[data-theme="night"] {
  --bg: #141c30; --bg2: #1b2540; --card: #212c4a; --text: #e6e9f2; --soft: #a9b2c7;
  --head: #ffffff; --accent: #d9c39a; --accent2: #b8945a; --line: rgba(255,255,255,.1);
  --veil: rgba(20,28,48,.6); --heroTint: rgba(20,28,48,.62);
}
body.tribute h1, body.tribute h2, body.tribute h3 { color: var(--head); }
body.tribute .btn-primary { background: var(--head); color: var(--bg); }
body.tribute[data-theme="night"] .btn-primary { background: var(--accent); color: #141c30; }
body.tribute .btn-ghost { color: var(--head); border-color: var(--line); }
body.tribute .btn-gold { background: var(--accent); }
.t-logo-light { display: none; }
body.tribute[data-theme="night"] .t-logo-dark { display: none; }
body.tribute[data-theme="night"] .t-logo-light { display: block; }


.center { text-align: center; }
.t-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.t-section { padding: clamp(70px, 9vw, 120px) 0; }
.t-h { text-align: center; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 40px; }
.t-h-left { text-align: left; }
.t-sub { color: var(--soft); max-width: 56ch; margin: -24px auto 40px; }
.t-kicker { font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 12px; }

/* VEIL */
.veil { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; text-align: center; padding: 24px; transition: opacity 1.4s var(--ease), visibility 1.4s; }
.veil.gone { opacity: 0; visibility: hidden; }
.veil-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: veilDrift 30s linear infinite alternate; }
.veil-bg::after { content: ""; position: absolute; inset: 0; background: var(--veil); }

@keyframes veilDrift { to { transform: scale(1.12); } }
.veil-inner { position: relative; max-width: 560px; animation: rise 1.6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.veil-portrait { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 28px; background-size: cover; background-position: center 25%; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 20px 60px -20px rgba(31,42,68,.5); }
.veil-kicker { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 10px; }
.veil-name { font-size: clamp(2.6rem, 8vw, 4.4rem); margin: 0 0 8px; }
.veil-dates { font-family: var(--serif); font-size: 1.35rem; color: var(--soft); letter-spacing: .08em; margin-bottom: 36px; }
.veil-btn { position: relative; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; padding: 18px 30px 18px 22px; background: var(--head); color: var(--bg); font-weight: 600; font-size: 1rem; box-shadow: 0 20px 40px -18px rgba(31,42,68,.7); transition: transform .4s var(--ease); }
body.tribute[data-theme="night"] .veil-btn { background: var(--accent); color: #141c30; }
.veil-btn:hover { transform: translateY(-2px) scale(1.01); }
.veil-btn svg { width: 22px; height: 22px; fill: currentColor; }
.veil-btn .pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 var(--accent2); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,148,90,.55); } 100% { box-shadow: 0 0 0 22px rgba(184,148,90,0); } }
.veil-quiet { display: block; margin: 20px auto 0; background: none; border: 0; color: var(--soft); text-decoration: underline; text-underline-offset: 4px; font-size: .92rem; }

/* SAMPLE BAR + TOP */
.sample-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--head); color: var(--bg); font-size: .86rem; text-align: center; padding: 8px 16px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
body.tribute[data-theme="night"] .sample-bar { background: var(--accent); color: #141c30; }
.sample-bar a { font-weight: 600; }
.has-sample .t-top { top: 36px; }
.t-top { position: fixed; top: 0; left: 0; right: 0; z-index: 55; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; transition: background .5s, box-shadow .5s, top .3s; }
.t-top.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.t-brand { height: 38px; display: block; }
.t-logo { height: 100%; width: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 80%, transparent); color: var(--head); padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; backdrop-filter: blur(8px); }
.chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* HERO */
.t-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 100px; overflow: hidden; }
.t-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.t-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--heroTint), var(--bg) 96%); }

body.tribute[data-theme="evergreen"] .t-hero-bg { filter: saturate(.6) hue-rotate(40deg); }
.t-hero-inner { position: relative; max-width: 760px; }
.t-portrait-wrap { position: relative; width: clamp(200px, 30vw, 270px); margin: 0 auto 34px; }
.t-portrait { aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; background-size: cover; background-position: center 22%; box-shadow: 0 40px 80px -30px rgba(31,42,68,.55); border: 6px solid var(--card); }
.t-portrait-dove { position: absolute; width: 74px; right: -26px; bottom: -14px; background: var(--card); border-radius: 50%; padding: 10px; box-shadow: var(--shadow); }
body.tribute[data-theme="night"] .t-portrait-dove { background: var(--card); }
.t-name { font-size: clamp(2.8rem, 7vw, 5rem); margin: 0; }
.t-known { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent); margin: 4px 0 0; }
.t-known:empty { display: none; }
.t-dates { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .1em; color: var(--soft); margin: 14px 0 26px; }
.t-epitaph { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--text); max-width: 34ch; margin: 0 auto 36px; }
.t-epitaph::before, .t-epitaph::after { color: var(--accent); }
.t-epitaph::before { content: "\201C"; } .t-epitaph::after { content: "\201D"; }
.t-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.t-jump a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; color: var(--head); background: color-mix(in srgb, var(--card) 60%, transparent); transition: background .3s, border-color .3s; }
.t-jump a:hover { border-color: var(--accent); }
.t-scroll { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--soft); border-radius: 20px; opacity: .6; }
.t-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--soft); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* SLIDESHOW */
.t-gallery { background: var(--bg2); }
.slideshow { position: relative; aspect-ratio: 3 / 2; border-radius: 26px; overflow: hidden; background: #0d1220; box-shadow: var(--shadow-lg); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide.on { opacity: 1; }
.slide-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(30px) brightness(.55); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.on img { animation: kenburns 9s ease-out forwards; }
.slide:nth-child(even).on img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0,0); } }
.slideshow::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(10,14,26,.75), transparent); pointer-events: none; }
.slide-caption { position: absolute; left: 32px; right: 220px; bottom: 30px; z-index: 2; color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.35; text-shadow: 0 2px 14px rgba(0,0,0,.4); transition: opacity .8s; }
.slide-caption.fade { opacity: 0; }
.slide-controls { position: absolute; right: 22px; bottom: 24px; z-index: 3; display: flex; gap: 8px; }
.sc-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); transition: background .3s; }
.sc-btn:hover { background: rgba(255,255,255,.28); }
.sc-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-btn .i-play { display: none; }
.slideshow.paused .i-play { display: block; } .slideshow.paused .i-pause { display: none; }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); z-index: 3; }
.slide-progress span { display: block; height: 100%; width: 0; background: var(--accent2); }
.slideshow:fullscreen { border-radius: 0; aspect-ratio: auto; }
.slideshow:fullscreen .slide img { object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 22px; }
.thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: none; opacity: .62; transition: opacity .4s, transform .4s var(--ease), box-shadow .4s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.thumbs button.on { opacity: 1; box-shadow: 0 0 0 3px var(--accent); }

/* SONG */
.song-card { display: grid; grid-template-columns: 200px 1fr 300px; gap: 40px; align-items: center; background: var(--card); border-radius: 26px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.song-art { display: grid; place-items: center; }
.vinyl { width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, #222 0 22%, transparent 22.5%), repeating-radial-gradient(circle, #111 0 2px, #1d1d1d 2px 4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); display: grid; place-items: center; animation: spin 6s linear infinite; animation-play-state: paused; }
.vinyl.spin { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.vinyl-label { width: 64px; height: 64px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid var(--accent2); }
.song-info h3 { font-size: 2.2rem; margin: 0; }
.song-artist { color: var(--soft); font-size: 1.05rem; margin: 4px 0 22px; }
.song-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.song-yt { color: var(--soft); font-size: .9rem; }
.yt-frame { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.yt-frame iframe, .yt-frame #ytPlayer { width: 100%; height: 100%; display: block; border: 0; }

/* STORY */
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.prose p { font-size: 1.1rem; line-height: 1.85; margin-bottom: 1.3em; }
.prose p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.6rem; line-height: .82; padding: 8px 12px 0 0; color: var(--accent); }
.family { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--head); border-top: 1px solid var(--line); padding-top: 24px; }
.story-side { display: grid; gap: 22px; position: sticky; top: 100px; }
.side-card { background: var(--card); border-radius: 22px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1.6rem; margin-bottom: 20px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--accent2); }
.timeline li { position: relative; padding: 0 0 18px 30px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.timeline strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--accent); line-height: 1.1; }
.timeline span { color: var(--soft); font-size: .96rem; }
.favs { display: flex; flex-wrap: wrap; gap: 8px; }
.favs span { padding: 7px 14px; border-radius: 999px; background: var(--bg2); font-size: .9rem; color: var(--head); }

/* SERVICE */
.service-card { max-width: 760px; text-align: center; background: var(--card); border-radius: 26px; padding: 50px 40px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.service-card h3 { font-size: 2.2rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 26px 0; }
.service-grid .label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.service-grid p { font-family: var(--serif); font-size: 1.35rem; color: var(--head); margin: 6px 0 0; }
.service-note { color: var(--soft); font-style: italic; }
.service-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CANDLE */
.t-candle { background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.candle { position: relative; width: 80px; height: 210px; margin: 0 auto 30px; }
.wax { position: absolute; bottom: 0; left: 10px; width: 60px; height: 130px; border-radius: 10px 10px 6px 6px; background: linear-gradient(90deg, #efe6d6, #fffdf8 45%, #e6dac6); box-shadow: inset 0 -10px 20px rgba(0,0,0,.05); }
.wick { position: absolute; left: 39px; bottom: 128px; width: 2px; height: 14px; background: #3a3128; border-radius: 1px; }
.flame { position: absolute; left: 28px; bottom: 138px; width: 24px; height: 44px; border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 80%, #fff 0 20%, #ffd27a 40%, #ff9a3c 75%, rgba(255,120,40,0) 100%); transform-origin: 50% 100%; opacity: 0; transform: scale(.2); transition: opacity 1s, transform 1s var(--ease); filter: blur(.4px); }
.flame-core { position: absolute; left: 8px; bottom: 4px; width: 8px; height: 14px; border-radius: 50%; background: rgba(120,170,255,.55); }
.glow { position: absolute; left: -60px; right: -60px; bottom: 90px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.38), rgba(255,200,110,0) 65%); opacity: 0; transition: opacity 1.4s; pointer-events: none; }
.candle.lit .flame { opacity: 1; transform: scale(1); animation: flicker 2.4s ease-in-out infinite; }
.candle.lit .glow { opacity: 1; animation: glowpulse 3s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scale(1) rotate(-1deg); } 25% { transform: scale(1.04,.96) rotate(1.5deg); } 50% { transform: scale(.97,1.05) rotate(-1.5deg); } 75% { transform: scale(1.02,.98) rotate(1deg); } }
@keyframes glowpulse { 50% { opacity: .75; } }
#candleCount { color: var(--accent); }

/* MEMORIES */
.mem-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.mem-form { background: var(--card); border-radius: 22px; padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 100px; display: grid; gap: 16px; }
.mem-form h3 { font-size: 1.7rem; margin: 0; }
.mem-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--head); }
.mem-form .opt { font-weight: 400; color: var(--soft); }
.mem-form input, .mem-form textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; font-weight: 400; transition: border-color .3s, box-shadow .3s; }
.mem-form input:focus, .mem-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.mem-form input[type=file] { padding: 10px; font-size: .85rem; }
.form-note { font-size: .82rem; color: var(--soft); margin: 0; }
.mem-list { columns: 2 280px; column-gap: 20px; }
.mem { break-inside: avoid; background: var(--card); border-radius: 20px; padding: 26px; margin-bottom: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation: rise .9s var(--ease) both; }
.mem p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.55; margin: 0 0 18px; color: var(--text); }
.mem img { border-radius: 12px; margin-bottom: 16px; width: 100%; }
.mem-who { display: flex; align-items: center; gap: 12px; }
.mem-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--accent); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; flex: none; }
.mem-who strong { display: block; color: var(--head); font-size: .95rem; }
.mem-who span { color: var(--soft); font-size: .84rem; }
.mem.pending { border-style: dashed; }
.mem .pending-tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-weight: 600; }

/* CHARITY */
.t-charity { background: var(--bg2); padding: 70px 0; }
.t-charity h3 { font-size: 1.9rem; max-width: 30ch; margin: 0 auto 22px; }

/* FOOTER */
.t-foot { text-align: center; padding: 60px 20px 120px; color: var(--soft); font-size: .92rem; }
.t-foot-mark { width: 54px; margin: 0 auto 12px; opacity: .8; }
.t-foot a { color: var(--head); }
.t-foot-link { display: inline-block; margin-top: 4px; font-weight: 600; }

/* MUSIC PILL */
.music-pill { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; padding: 7px 20px 7px 7px; box-shadow: var(--shadow); animation: rise .8s var(--ease) both; max-width: calc(100% - 40px); }
.music-pill button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--head); color: var(--bg); display: grid; place-items: center; flex: none; }
body.tribute[data-theme="night"] .music-pill button { background: var(--accent); color: #141c30; }
.pill-play { width: 18px; fill: currentColor; display: none; }
.music-pill.paused .pill-play { display: block; } .music-pill.paused .bars { display: none; }
.bars { display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.bars i { width: 3px; background: currentColor; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; } .bars i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 16px; } }
.pill-text { display: grid; line-height: 1.2; min-width: 0; }
.pill-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.pill-song { font-weight: 600; font-size: .9rem; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* SHEET + LIGHTBOX */
.sheet, .lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,14,26,.55); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.sheet[hidden], .lightbox[hidden] { display: none; }
.sheet-card { position: relative; background: var(--card); color: var(--text); border-radius: 24px; padding: 36px; width: min(480px, 100%); box-shadow: var(--shadow-lg); animation: rise .5s var(--ease) both; }
.sheet-card h3 { font-size: 2rem; margin: 0 0 6px; }
.sheet-card p { color: var(--soft); }
.sheet-close, .lb-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--soft); }
.share-link { display: flex; gap: 8px; margin: 18px 0; }
.share-link input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: var(--bg); font-size: .9rem; min-width: 0; }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btns a { text-align: center; text-decoration: none; padding: 12px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--head); cursor: pointer; }
.share-btns a:hover { border-color: var(--accent); }
.lightbox { background: rgba(8,10,18,.92); }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 10px; }
.lightbox p { color: #e9ecf4; font-family: var(--serif); font-style: italic; font-size: 1.3rem; text-align: center; max-width: 60ch; margin-top: 16px; }
.lb-close { color: #fff; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .song-card { grid-template-columns: 1fr; text-align: center; }
  .song-actions { justify-content: center; }
  .story-grid, .mem-grid { grid-template-columns: 1fr; }
  .story-side, .mem-form { position: static; }
}
@media (max-width: 640px) {
  .slideshow { aspect-ratio: 4 / 5; border-radius: 20px; }
  .slide-caption { left: 20px; right: 20px; bottom: 82px; }
  .slide-controls { right: 50%; transform: translateX(50%); bottom: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .t-brand { height: 34px; }
  .chip span { display: none; }
  .thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .prose p { font-size: 1.04rem; }
  .song-card { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .sample-bar { font-size: .78rem; padding: 7px 12px; }
  .sample-bar span { display: none; }
  .has-sample .t-top { top: 30px; }
}

/* Starlight theme: a deep night sky instead of the dawn photo */
body.tribute[data-theme="night"] .t-hero-bg,
body.tribute[data-theme="night"] .veil-bg {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 28% 64%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 46% 14%, rgba(255,240,210,.9), transparent),
    radial-gradient(1px 1px at 63% 38%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 18%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,.4), transparent),
    radial-gradient(ellipse at 50% 0%, #34477a 0%, #1d2948 45%, #141c30 80%) !important;
}
body.tribute[data-theme="night"] .t-hero-bg::after { background: linear-gradient(180deg, transparent 55%, var(--bg)); }
