/* Luxe Events — app-style UI: white canvas, soft stone tiles, bold rounded type,
   one dark "moment" card per screen, floating tab bar on phones. */
:root {
  --paper: #ffffff;
  --stone: #f3f2ef;
  --stone-2: #e8e6e1;
  --line: #e4e1db;
  --ink: #1a1918;
  --ink-2: #3a3734;
  --muted: #6e6a64;
  --gold: #a6803f;
  --gold-soft: #f5eddd;
  --green: #2c7a4b;
  --green-soft: #e4f2e9;
  --red: #c2412d;
  --red-soft: #fbe7e2;
  --blue: #2f5f9e;
  --blue-soft: #e7eef8;
  --r-xl: 28px;   /* hero / moment cards */
  --r-lg: 20px;   /* tiles & cards */
  --r-md: 14px;   /* inputs, small cards */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --bar-h: 76px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
a { color: var(--ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.025em; }
h1 { font-size: clamp(34px, 7vw, 56px); }
h2 { font-size: clamp(26px, 4.4vw, 34px); }
h3 { font-size: 21px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.tiny { font-size: 13px; }
.center { text-align: center; }
.right { text-align: right; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 20px; } .mt2 { margin-top: 40px; } .mb0 { margin-bottom: 0; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 14px; }
.section-title h2 { margin: 0; font-size: 26px; }
.section-title a { font-weight: 700; font-size: 15px; text-decoration: none; }

/* ---------- Header ---------- */
.site-head { background: var(--paper); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; gap: 9px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 4px; align-items: center; font-size: 15px; font-weight: 700; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--stone); }
.nav a.on { color: var(--ink); background: var(--stone); }
.nav form { margin: 0; }
.linkbtn { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; padding: 8px 14px; border-radius: 999px; }
.linkbtn:hover { color: var(--ink); background: var(--stone); }
.site-foot { padding: 48px 0 calc(var(--bar-h) + 40px); color: var(--muted); font-size: 13.5px; text-align: center; }
.site-foot a { color: var(--muted); }

/* Floating tab bar (phones, signed-in) */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav .hide-sm { display: none; }
  .tabbar { display: flex; position: fixed; z-index: 30; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: var(--bar-h);
    background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 34px rgba(26,25,24,.14); padding: 7px; gap: 2px; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none;
    color: var(--ink-2); font-size: 12px; font-weight: 700; border-radius: 999px; }
  .tabbar a.on { background: var(--stone-2); color: var(--ink); }
  .tabbar svg { width: 24px; height: 24px; }
}

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 24px; font: 700 15.5px var(--font); cursor: pointer; text-decoration: none; transition: transform .08s, background .15s; }
.btn:hover { background: #33302d; }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--stone); }
.btn.ghost { background: var(--stone); color: var(--ink); }
.btn.ghost:hover { background: var(--stone-2); }
.btn.danger { background: var(--red); color: #fff; }
.btn.small { padding: 9px 15px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.hint { font-weight: 500; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=datetime-local], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: var(--r-md); font: 500 16px var(--font); background: var(--stone); color: var(--ink); }
input[type=search] { border-radius: 999px; padding-left: 46px; background: var(--stone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231a1918' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6.5'/%3E%3Cpath d='m14 14 4.5 4.5'/%3E%3C/svg%3E") no-repeat 17px center; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; }
input:disabled { color: var(--muted); }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.check input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
fieldset { border: 0; background: var(--stone); border-radius: var(--r-lg); padding: 22px; margin: 0 0 16px; }
fieldset input[type=text], fieldset input[type=email], fieldset input[type=tel], fieldset input[type=number], fieldset input[type=datetime-local], fieldset input[type=date], fieldset select, fieldset textarea { background: #fff; }
legend { font-weight: 800; font-size: 18px; padding: 0; float: left; width: 100%; margin-bottom: 14px; letter-spacing: -.01em; }
legend + * { clear: both; }

/* ---------- Surfaces ---------- */
.card { background: var(--stone); border-radius: var(--r-lg); padding: 22px; }
.card.white { background: #fff; border: 1px solid var(--line); }
.card.tight { padding: 14px 16px; }
a.card { display: block; text-decoration: none; color: inherit; transition: background .15s; }
a.card:hover { background: var(--stone-2); }
.flash { padding: 14px 18px; border-radius: var(--r-md); margin: 16px 0; font-size: 15px; font-weight: 600; }
.flash.success { background: var(--green-soft); color: #1d5634; }
.flash.error { background: var(--red-soft); color: #86281a; }
.flash.info { background: var(--blue-soft); color: #23446d; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--stone-2); color: var(--ink-2); white-space: nowrap; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.gold { background: var(--gold-soft); color: #7a5c27; }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.dark { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 17px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Stat tiles (big number, label on top) */
.kpi { background: var(--stone); border-radius: var(--r-lg); padding: 18px 20px; }
.kpi .l { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.kpi .v { font-size: 44px; font-weight: 800; line-height: 1; margin: 14px 0 8px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .v.sm { font-size: 26px; }
.kpi .tiny { color: var(--muted); }
.kpi.dark { background: var(--ink); color: #fff; }
.kpi.dark .l { color: #d6d2cb; }
.kpi.dark .tiny { color: #b3aea6; }

/* Tables */
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.t th, table.t td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.t th { font-size: 13px; color: var(--muted); font-weight: 700; background: #fff; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.t a { font-weight: 700; text-decoration: none; }
table.t a:hover { text-decoration: underline; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.tablewrap table.t tr:last-child td { border-bottom: 0; }
.bar { height: 8px; background: var(--stone-2); border-radius: 99px; overflow: hidden; min-width: 60px; margin-top: 6px; }
.bar > span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }

/* ---------- Public: home ---------- */
.greet { padding: 26px 0 6px; }
.greet h1 { font-size: clamp(30px, 6vw, 44px); margin: 0; }
.greet p { color: var(--muted); font-size: 17px; margin: 8px 0 0; }
.event-tile { display: grid; grid-template-columns: 1fr 132px; gap: 16px; align-items: center; background: var(--stone); border-radius: var(--r-lg); padding: 18px; text-decoration: none; color: inherit; }
.event-tile:hover { background: var(--stone-2); }
.event-tile h3 { margin: 6px 0 6px; font-size: 22px; }
.event-tile .thumb { width: 132px; height: 132px; border-radius: 16px; object-fit: cover; background: var(--ink); }
.event-tile .thumb.ph { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 34px; }
.event-tile .meta { color: var(--muted); font-size: 14.5px; font-weight: 600; display: flex; gap: 6px; align-items: center; }

/* ---------- Public: event page ---------- */
.ref-banner { background: var(--gold-soft); color: #5e4519; text-align: center; padding: 11px 16px; font-weight: 700; font-size: 14.5px; }
.moment { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: #fff; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.moment .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.moment::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,25,24,.15) 0%, rgba(26,25,24,.35) 40%, rgba(26,25,24,.92) 100%); }
.moment .inner { padding: 30px 30px 26px; }
.moment .kicker { font-size: 15px; font-weight: 600; color: #e9e5de; }
.moment h1 { color: #fff; margin: 8px 0 10px; max-width: 760px; }
.moment .tag { color: #ece8e1; font-size: 18px; max-width: 620px; margin-bottom: 22px; }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: 10px; margin: 6px 0 22px; }
.clock div { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 18px; padding: 12px 6px 10px; text-align: center; }
.clock .n { display: block; font-size: clamp(30px, 6vw, 42px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock .u { display: block; font-size: 12.5px; font-weight: 600; color: #d6d2cb; margin-top: 6px; }
.moment-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.moment .seats { color: #e9e5de; font-size: 14.5px; font-weight: 600; margin-top: 14px; }
.watch { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255,255,255,.16); border: 0; border-radius: 999px; padding: 14px 20px; font: 700 15.5px var(--font); cursor: pointer; text-decoration: none; }
.watch:hover { background: rgba(255,255,255,.26); }
.video { position: relative; padding-top: 56.25%; background: #000; border-radius: var(--r-lg); overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
dialog.player { border: 0; padding: 0; background: transparent; width: min(960px, 94vw); }
dialog.player::backdrop { background: rgba(10,10,10,.82); }
dialog.player .close { position: absolute; top: -46px; right: 0; }

.section { padding: 34px 0; }
.prose { font-size: 18px; line-height: 1.6; max-width: 680px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.fact { background: var(--stone); border-radius: var(--r-lg); padding: 16px 18px; }
.fact .l { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.fact .v { font-size: 17px; font-weight: 800; margin-top: 4px; letter-spacing: -.01em; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 280px); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.photos::-webkit-scrollbar { display: none; }
.photos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); }
.faq details { background: var(--stone); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 16.5px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Booking */
.book { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: 0 18px 50px rgba(26,25,24,.07); }
.book h2 { margin-bottom: 18px; }
.step-label { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dates::-webkit-scrollbar { display: none; }
.date-opt { position: relative; margin: 0; }
.date-opt input { position: absolute; opacity: 0; pointer-events: none; }
.date-opt > span { display: block; border-radius: 18px; padding: 14px 14px 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; background: var(--stone); color: var(--ink-2); transition: background .12s; }
.date-opt > span .dow { display: block; font-size: 13px; color: var(--muted); }
.date-opt > span .day { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.date-opt > span .left { display: block; margin-top: 6px; font-size: 12.5px; }
.date-opt input:checked + span { background: var(--ink); color: #fff; }
.date-opt input:checked + span .dow, .date-opt input:checked + span .day { color: #fff; }
.date-opt input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.date-opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.summary { background: var(--stone); border-radius: var(--r-md); padding: 16px 18px; font-size: 15px; }
.summary .line { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-2); }
.summary .total { border-top: 1px solid var(--stone-2); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.policy { font-size: 14px; color: var(--ink-2); background: var(--gold-soft); border-radius: var(--r-md); padding: 14px 16px; line-height: 1.5; }
.code-msg { font-size: 13.5px; margin-top: 7px; font-weight: 600; }
.code-msg.ok { color: var(--green); } .code-msg.bad { color: var(--red); }

/* ---------- Account / profile ---------- */
.profile-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 18px; }
.profile-head h1 { margin: 0; font-size: clamp(34px, 7vw, 48px); }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font-weight: 800; font-size: 32px; color: var(--ink-2); flex: none; }
.ref-box { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 24px; }
.ref-box h3 { color: #fff; font-size: 23px; }
.ref-box p { color: #d6d2cb; }
.copy-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.copy-row input { flex: 1; min-width: 200px; background: rgba(255,255,255,.1) !important; color: #fff; border-color: transparent; }
.copy-row input:focus { background: rgba(255,255,255,.16) !important; border-color: #fff; }
.list-card { background: var(--stone); border-radius: var(--r-lg); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
a.list-card:hover { background: var(--stone-2); }
.list-card .when { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; background: #fff; border-radius: 14px; flex: none; }
.list-card .when b { font-size: 22px; line-height: 1; font-weight: 800; }
.list-card .when span { font-size: 12px; font-weight: 700; color: var(--muted); }
.list-card .body { flex: 1; min-width: 0; }
.list-card .body strong { display: block; font-size: 16.5px; }
.booking-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.feed { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.feed .ic { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--stone-2); display: grid; place-items: center; font-weight: 800; flex: none; color: var(--ink-2); }
.feed .body { flex: 1; }
.feed .body .t { font-size: 15.5px; }
.feed .ago { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 64px); }
.admin-side { padding: 18px 14px; border-right: 1px solid var(--line); position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.admin-side a { display: flex; align-items: center; gap: 11px; color: var(--ink-2); text-decoration: none; padding: 11px 14px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.admin-side a svg { width: 20px; height: 20px; flex: none; }
.admin-side a:hover { background: var(--stone); color: var(--ink); }
.admin-side a.on { background: var(--ink); color: #fff; }
.admin-side .sep { height: 1px; background: var(--line); margin: 12px 6px; }
.admin-main { padding: 26px 34px 70px; min-width: 0; max-width: 1180px; }
.admin-main h1 { font-size: 40px; }
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: flex; overflow-x: auto; padding: 8px 14px 12px; gap: 6px; border-right: 0; scrollbar-width: none; }
  .admin-side::-webkit-scrollbar { display: none; }
  .admin-side a { white-space: nowrap; flex: none; background: var(--stone); border-radius: 999px; padding: 9px 15px; font-size: 14px; }
  .admin-side a svg { display: none; }
  .admin-side .sep { display: none; }
  .admin-main { padding: 14px 16px calc(var(--bar-h) + 50px); }
  .admin-main h1 { font-size: 32px; }
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mini-table td { padding: 8px 0; border-bottom: 1px solid var(--stone-2); vertical-align: top; }
.mini-table td:first-child { color: var(--muted); width: 120px; font-weight: 600; }
.mini-table tr:last-child td { border-bottom: 0; }

/* ---------- Check-in ---------- */
.ci-head { position: sticky; top: 64px; z-index: 5; background: var(--paper); padding: 14px 0 12px; }
.ci-count { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ci-group { background: var(--stone); border-radius: var(--r-lg); margin: 10px 0; overflow: hidden; }
.ci-group .gh { padding: 12px 18px 0; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.ci-row + .ci-row { border-top: 1px solid var(--stone-2); }
.ci-row .nm { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.ci-btn { min-width: 132px; padding: 13px 16px; font: 800 15px var(--font); border-radius: 999px; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.ci-btn.in { background: var(--green); color: #fff; box-shadow: none; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .moment { min-height: 520px; border-radius: 24px; }
  .moment .inner { padding: 22px 20px 20px; }
  .clock { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .book { padding: 20px; border-radius: 24px; }
  .event-tile { grid-template-columns: 1fr 96px; }
  .event-tile .thumb { width: 96px; height: 96px; }
  .kpi .v { font-size: 38px; }
  .avatar { width: 66px; height: 66px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* Inputs sitting on a stone surface switch to white so they stay visible. */
.card :is(input, select, textarea):not([type=checkbox]):not([type=radio]),
.kpi :is(input, select, textarea) { background-color: #fff; }
.card input:focus, .card select:focus, .card textarea:focus { border-color: var(--ink); }
.card .btn.ghost, .list-card .btn.ghost, .feed .btn.ghost { background: #fff; } .feed .btn.ghost { background: var(--stone); }
/* Event page body: details left, booking card right (stacked on phones). */
.event-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'info' 'book' 'more'; column-gap: 40px; }
.event-body .info { grid-area: info; }
.event-body .more { grid-area: more; padding-bottom: 20px; }
.event-body .book-col { grid-area: book; scroll-margin-top: 80px; padding: 10px 0 20px; }
@media (min-width: 980px) {
  .event-body { grid-template-columns: minmax(0, 1fr) 430px; grid-template-areas: 'info book' 'more book'; grid-template-rows: auto 1fr; align-items: start; }
  .event-body .book-col { padding-top: 34px; }
}
@media (max-width: 760px) {
  body.tabbed { padding-bottom: calc(var(--bar-h) + 34px); }
  body.tabbed .site-foot { padding-bottom: 24px; }
  .list-card { flex-wrap: wrap; }
  .list-card .row { width: 100%; }
  .list-card .row .btn { flex: 1; }
}
.pay-box { min-height: 60px; }
/* Uploaded videos (often vertical) play at their own shape instead of a 16:9 box. */
dialog.player.native { width: auto; max-width: 94vw; overflow: visible; }
dialog.player .video.native { padding-top: 0; background: transparent; border-radius: var(--r-lg); }
dialog.player .video.native video { position: static; display: block; width: auto; max-width: 94vw; max-height: 82vh; border-radius: var(--r-lg); background: #000; }
/* Team free-seat link: urgency bar with a countdown to midnight. */
.offer-bar { background: var(--gold); color: #fff; position: sticky; top: 64px; z-index: 15; }
.offer-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; font-size: 15px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.offer-clock b { font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .02em; margin-left: 4px; }
@media (max-width: 520px) { .hide-xs { display: none; } .offer-bar .wrap { font-size: 14px; } }

/* Leaderboard */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-top: 18px; }
.podium .p { background: var(--stone); border-radius: var(--r-lg); padding: 18px 14px; text-align: center; }
.podium .p.first { background: var(--ink); color: #fff; padding-top: 26px; padding-bottom: 26px; }
.podium .rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; font-weight: 800; background: #fff; color: var(--ink); }
.podium .first .rank { background: var(--gold); color: #fff; }
.podium .nm { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.podium .num { font-size: 40px; font-weight: 800; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.podium .first .num { font-size: 52px; }
.podium .sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.podium .first .sub { color: #cfc9c0; }
.lb-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; background: var(--stone); border-radius: var(--r-lg); padding: 14px 18px; }
.lb-row .rank { font-weight: 800; color: var(--muted); text-align: center; }
.lb-row .nm { font-weight: 800; font-size: 16.5px; }
.lb-row .num { font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; text-align: right; }
.lb-row .num small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.today-dot { display: inline-block; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 520px) { .podium { gap: 8px; } .podium .num { font-size: 30px; } .podium .first .num { font-size: 40px; } .podium .nm { font-size: 15px; } }
table.t .btn, table.t .pill { white-space: nowrap; } table.t td.nw { white-space: nowrap; }
/* Background video in the event card */
.moment video.bg { object-fit: cover; }

/* Single date summary in the booking card */
.when-card { display: flex; gap: 14px; align-items: center; background: var(--stone); border-radius: var(--r-lg); padding: 14px 16px; }
.when-day { width: 58px; height: 62px; background: var(--ink); color: #fff; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.when-day span { font-size: 12px; font-weight: 700; color: #d6d2cb; }
.when-day b { font-size: 24px; line-height: 1; font-weight: 800; }

/* Testimonials: vertical phone clips and wide videos, grid on desktop, swipe on phones */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; grid-auto-flow: dense; }
.tm { margin: 0; background: var(--stone); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.tm.wide { grid-column: span 2; }
.tm-media { position: relative; background: #000; }
.tm.tall .tm-media { aspect-ratio: 9 / 16; }
.tm.wide .tm-media { aspect-ratio: 16 / 9; }
.tm-media iframe, .tm-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tm figcaption { padding: 12px 14px 14px; font-size: 14px; }
.tm figcaption p { margin: 0 0 6px; color: var(--ink-2); line-height: 1.45; }
.tm figcaption strong { font-size: 14px; }
@media (max-width: 700px) {
  .testimonials { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .testimonials::-webkit-scrollbar { display: none; }
  .tm { scroll-snap-align: start; }
  .tm.tall { width: min(62vw, 280px); }
  .tm.wide { grid-column: auto; width: 86vw; }
}
.step-label.mt { margin-top: 22px; }
.sms-box { margin-top: -6px; }
input[type=time] { width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: var(--r-md); font: 500 16px var(--font); background: #fff; color: var(--ink); }
input[type=time]:focus { outline: none; border-color: var(--ink); }
