/* Spotlight (spotlight.js): the billboard at the top of the home page, the line above the menu, the admin tab */

/* ── the billboard ── */
.em-spot { width: 100%; max-width: 1120px; margin: 0 auto 22px; position: relative; z-index: 2; animation: emSpotIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes emSpotIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.em-spot-card { position: relative; display: block; width: 100%; aspect-ratio: 21 / 8; min-height: 230px; max-height: 420px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; overflow: hidden; cursor: pointer; text-align: left; color: #fff; font: inherit; background: #1a1215; isolation: isolate;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(200,16,46,.12); transition: transform .25s ease, box-shadow .25s ease; }
.em-spot-card:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -24px rgba(0,0,0,.75), 0 0 0 1px rgba(255,58,92,.35); }
.em-spot-card:focus-visible { outline: 3px solid #FF3A5C; outline-offset: 3px; }
.em-spot-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); animation: emSpotDrift 18s ease-in-out infinite alternate; }
@keyframes emSpotDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.em-spot-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,6,8,.86) 0%, rgba(10,6,8,.55) 42%, rgba(10,6,8,.08) 75%),
  linear-gradient(0deg, rgba(10,6,8,.7) 0%, rgba(10,6,8,0) 55%); }
/* a slow light sweep across the card, once every few seconds */
.em-spot-shine { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); transform: translateX(-120%); animation: emSpotShine 7s ease-in-out 1.2s infinite; }
@keyframes emSpotShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.em-spot-copy { position: absolute; left: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(18px, 3.4vw, 36px); max-width: min(640px, 92%); }
.em-spot-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, #C8102E, #FF3A5C); box-shadow: 0 6px 18px rgba(200,16,46,.45); }
.em-spot-title { font-size: clamp(24px, 3.6vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.4); overflow-wrap: anywhere; }
.em-spot-sub { font-size: clamp(14px, 1.5vw, 17px); line-height: 1.45; color: rgba(255,255,255,.88); max-width: 560px; overflow-wrap: anywhere; }
.em-spot-cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: #18090C; font-size: 15px; font-weight: 800; box-shadow: 0 10px 26px rgba(0,0,0,.35); transition: gap .2s ease; }
.em-spot-card:hover .em-spot-cta { gap: 12px; }
/* phones: taller card, text over the lower part of the photo */
@media (max-width: 640px) {
  .em-spot { margin-bottom: 16px; }
  .em-spot-card { aspect-ratio: 4 / 4.4; min-height: 0; max-height: 470px; border-radius: 20px; }
  .em-spot-shade { background: linear-gradient(0deg, rgba(10,6,8,.92) 0%, rgba(10,6,8,.6) 45%, rgba(10,6,8,.05) 80%); }
  .em-spot-copy { max-width: 100%; padding: 18px 18px 20px; }
  .em-spot-cta { width: 100%; justify-content: center; }
}
/* members: the billboard sits above their own poster */
.em-member .em-spot { margin-bottom: 14px; }

/* ── the line above the menu ── */
.em-spot-strip { position: fixed; top: 0; left: 0; right: 0; z-index: 310; display: flex; align-items: stretch; min-height: 40px;
  background: linear-gradient(90deg, #8E0B22, #C8102E 45%, #E2234A); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.em-spot-strip.is-preview { position: static; border-radius: 12px; overflow: hidden; }
.em-ss-go { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 12px 8px 16px; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.em-ss-tx { min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-ss-cta { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 800; white-space: nowrap; transition: background .2s; }
.em-ss-go:hover .em-ss-cta { background: rgba(255,255,255,.3); }
.em-ss-x { flex: none; width: 44px; border: 0; background: none; color: rgba(255,255,255,.85); display: grid; place-items: center; cursor: pointer; }
.em-ss-x:hover { color: #fff; background: rgba(0,0,0,.12); }
@media (max-width: 480px) { .em-ss-go { justify-content: flex-start; font-size: 13px; padding-left: 12px; } .em-ss-cta { padding: 3px 9px; font-size: 12px; } }
/* the menu and the page move down by the line's height */
html.has-spot .site-header { top: calc(var(--offline-h, 0px) + var(--spot-h, 40px)) !important; }
html.has-spot body { padding-top: calc(68px + var(--offline-h, 0px) + var(--spot-h, 40px)) !important; }
@media (max-width: 860px) { html.has-spot body { padding-top: calc(60px + var(--offline-h, 0px) + var(--spot-h, 40px)) !important; } }
@media (max-width: 420px) { html.has-spot body { padding-top: calc(56px + var(--offline-h, 0px) + var(--spot-h, 40px)) !important; } }
@media (max-width: 360px) { html.has-spot body { padding-top: calc(52px + var(--offline-h, 0px) + var(--spot-h, 40px)) !important; } }

/* ── the live line: the Featured badge ── */
.mh-tick-badge.is-spot { background: linear-gradient(135deg, #C8102E, #FF3A5C) !important; color: #fff !important; border-color: transparent !important; }

@media (prefers-reduced-motion: reduce) { .em-spot, .em-spot-bg, .em-spot-shine { animation: none !important; } }

/* ── the admin tab ── */
.spa h3 { margin: 0 0 4px; }
.spa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.spa-head p { margin: 0; max-width: 640px; font-size: 14px; line-height: 1.5; color: var(--muted, #9a9a9a); }
.spa-new { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: linear-gradient(135deg, #C8102E, #FF3A5C); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.spa-empty { display: grid; justify-items: center; gap: 8px; padding: 36px 20px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.18); text-align: center; color: var(--muted, #9a9a9a); }
.spa-empty b { font-size: 17px; color: var(--text-1, #fff); } .spa-empty span { max-width: 460px; font-size: 14px; line-height: 1.5; }
.spa-list { display: grid; gap: 12px; }
.spa-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.spa-thumb { width: 120px; aspect-ratio: 16 / 10; border-radius: 12px; background: #2a1d22 center / cover; display: grid; place-items: center; color: #ff5470; }
.spa-main { min-width: 0; display: grid; gap: 3px; }
.spa-main b { font-size: 16px; overflow-wrap: anywhere; } .spa-main small { font-size: 12.5px; color: var(--muted, #9a9a9a); }
.spa-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spa-st { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.08); color: var(--muted, #aaa); }
.spa-st.is-live { background: rgba(34,197,94,.16); color: #86efac; } .spa-st.is-soon { background: rgba(245,158,11,.16); color: #fcd34d; }
.spa-nums { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13px; color: var(--muted, #9a9a9a); } .spa-nums b { color: var(--text-1, #fff); }
.spa-acts { display: flex; flex-direction: column; gap: 6px; }
.spa-acts button, .spa-ghost { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--text-1, #fff); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.spa-acts button:hover { border-color: #ff5470; } .spa-acts .is-del { color: #fca5a5; }
.spa-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.spa-fields { display: grid; gap: 12px; min-width: 0; }
.spa-f { display: grid; gap: 5px; min-width: 0; }
.spa-f > span { font-size: 13px; font-weight: 700; color: var(--text-2, #ccc); }
.spa-f small, .spa-note { font-size: 12px; line-height: 1.45; color: var(--muted, #9a9a9a); margin: 0; }
.spa-f input, .spa-f select, .spa-photo input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.22); color: var(--text-1, #fff); font: inherit; font-size: 14px; color-scheme: dark; }
.spa-f input:focus, .spa-f select:focus { outline: none; border-color: #ff5470; }
.spa-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.spa-photo { display: flex; gap: 8px; }
.spa-up { flex: none; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 700; cursor: pointer; }
.spa-up:hover { border-color: #ff5470; }
.spa-places { margin: 0; padding: 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); display: grid; gap: 8px; }
.spa-places legend { padding: 0 6px; font-size: 13px; font-weight: 800; }
.spa-places label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.spa-places input { margin-top: 3px; width: 18px; height: 18px; accent-color: #C8102E; flex: none; }
.spa-places b { display: block; font-size: 14px; } .spa-places small { display: block; font-size: 12.5px; color: var(--muted, #9a9a9a); }
.spa-err { min-height: 1em; margin: 0; font-size: 13px; font-weight: 700; color: #fca5a5; }
.spa-btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.spa-pri { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: linear-gradient(135deg, #C8102E, #FF3A5C); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.spa-pri:disabled { opacity: .6; cursor: default; }
.spa-prev { position: sticky; top: 10px; display: grid; gap: 10px; min-width: 0; }
.spa-prev-l { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #9a9a9a); }
.spa-prev-card { margin: 0; animation: none; }
.spa-prev-card .em-spot-card { min-height: 0; aspect-ratio: 16 / 9; cursor: default; }
.spa-prev-card .em-spot-title { font-size: 24px; } .spa-prev-card .em-spot-sub { font-size: 13px; } .spa-prev-card .em-spot-cta { min-height: 36px; font-size: 13px; }
.spa-muted { font-size: 13px; color: var(--muted, #9a9a9a); margin: 0; }
@media (max-width: 900px) { .spa-cols { grid-template-columns: minmax(0, 1fr); } .spa-prev { position: static; order: -1; } }
@media (max-width: 600px) { .spa-item { grid-template-columns: 84px minmax(0, 1fr); } .spa-thumb { width: 84px; } .spa-acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } .spa-row2 { grid-template-columns: minmax(0, 1fr); } }
[data-theme="light"] .em-spot-strip { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
[data-theme="light"] .spa-f input, [data-theme="light"] .spa-f select, [data-theme="light"] .spa-photo input { background: #fff; color: #18090C; color-scheme: light; border-color: rgba(0,0,0,.14); }
/* visitors' hero has no side padding on phones: the billboard keeps a margin from the edges */
@media (max-width: 640px) { body:not(.em-member) .em-spot { padding: 0 14px; box-sizing: border-box; } }
