/* Middlesex Stadium · brand tokens from the logo system */
:root {
  --navy: #16213A; --navy-2: #222E4A; --navy-3: #2E3B5A;
  --gold: #C6A26F; --gold-dark: #7F5F2C; --gold-light: #F3EADC;
  --cream: #F4EFE7; --paper: #FBF8F2; --white: #fff;
  --ink: #16213A; --muted: #5F636C; --line: #E4DDD0;
  --req: #D23B2F; --req-bg: #FCE8E6; --inv: #3768C2; --inv-bg: #E8EEF9;
  --conf: #2F8F5B; --conf-bg: #E3F2E9; --acct: #7A57B8; --acct-bg: #EFE8F8;
  --danger: #B83A3A;
  --radius: 14px; --shadow: 0 1px 2px rgba(22,33,58,.05), 0 6px 20px rgba(22,33,58,.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 var(--font); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.15rem; } h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); font-weight: 700; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.right { text-align: right; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }

/* ---------- logo lockups ---------- */
.lockup { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.lockup .crest { height: 64px; width: auto; display: block; }
.lockup .divider { width: 2px; align-self: stretch; margin: 6px 0; background: var(--gold); }
.lockup .wordmark { display: flex; flex-direction: column; line-height: 1; }
.lockup .wm1 { font-weight: 800; font-size: 30px; letter-spacing: -.005em; }
.lockup .wm2 { font-weight: 500; font-size: 13px; letter-spacing: .5em; margin-top: 9px; padding-left: .1em; }
.lockup.light .wm1 { color: var(--navy); } .lockup.light .wm2 { color: var(--gold); }
.lockup.reversed .wm1 { color: #fff; } .lockup.reversed .wm2 { color: var(--gold); }
.lockup.mono .wm1, .lockup.mono .wm2 { color: #111; } .lockup.mono .divider { background: #111; }
.lockup.stacked { flex-direction: column; gap: 16px; text-align: center; }
.lockup.stacked .wordmark { align-items: center; }
.lockup.sm { gap: 12px; } .lockup.sm .crest { height: 38px; } .lockup.sm .wm1 { font-size: 17px; } .lockup.sm .wm2 { font-size: 8.5px; margin-top: 5px; }
.lockup.lg .crest { height: 84px; } .lockup.lg .wm1 { font-size: 40px; } .lockup.lg .wm2 { font-size: 16px; }

label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #D8D0C1; border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
textarea { min-height: 72px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; margin: 0 8px 0 0; accent-color: var(--navy); }
.check { display: flex; align-items: flex-start; font-weight: 500; gap: 2px; }

.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--gold-light); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-3); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn.gold:hover { background: #d4b37f; }
.btn.danger { color: var(--danger); }
.btn.sm { padding: 6px 12px; font-size: .84rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.badge.requested { background: var(--req-bg); color: #A3251C; }
.badge.invoiced { background: var(--inv-bg); color: var(--inv); }
.badge.confirmed { background: var(--conf-bg); color: #1F6E43; }
.badge.cancelled { background: #ECEAE6; color: #7A7A7A; }
.badge.account { background: var(--acct-bg); color: var(--acct); }

table.list { width: 100%; border-collapse: collapse; background: #fff; }
table.list th, table.list td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--paper); position: sticky; top: 0; font-weight: 700; }
table.list tr.click:hover td { background: #FBF6EC; cursor: pointer; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 999px; z-index: 1000; box-shadow: var(--shadow); max-width: 90vw; }
.toast.err { background: var(--danger); }
.error { color: var(--danger); font-weight: 600; }

/* ---------- public pages ---------- */
.pub-header { background: var(--navy); color: #fff; padding: 26px 16px 84px; position: relative; overflow: hidden; }
.pub-header::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 340px; background: url(/brand/crest-reversed.svg) no-repeat center / contain; opacity: .05; pointer-events: none; }
.pub-header .inner, .pub-main { max-width: 980px; margin: 0 auto; }
.pub-header .hero { margin-top: 34px; }
.pub-header .inner { position: relative; }
.pub-header .acct-link { position: absolute; top: 4px; right: 0; color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; z-index: 1; }
.pub-header .acct-link:hover { background: rgba(255,255,255,.1); }
@media (max-width: 640px) { .pub-header .acct-link { position: static; display: inline-block; margin-bottom: 14px; } }
.pub-header h1 { font-size: 2.1rem; margin: 6px 0 6px; text-transform: uppercase; letter-spacing: .01em; }
.pub-header p { margin: 0; color: #C9CEDA; max-width: 560px; }
.pub-main { padding: 0 16px 60px; margin-top: -54px; position: relative; }
.step { margin-bottom: 18px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-title h2 { margin: 0; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.choice { border: 2px solid var(--line); border-radius: 12px; padding: 15px; cursor: pointer; background: #fff; text-align: left; font: inherit; color: inherit; transition: border-color .12s; }
.choice:hover { border-color: #D9C6A5; }
.choice.sel { border-color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
.choice .t { font-weight: 700; }
.choice .p { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-top: 6px; }
.choice.sel .p { color: var(--gold-dark); }
.choice .s { font-size: .8rem; color: var(--muted); font-weight: 500; }
.pitch-icon { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-flow: column; gap: 2px; width: 48px; height: 32px; margin-bottom: 10px; border: 2px solid var(--navy); border-radius: 3px; padding: 2px; background: #fff; }
.pitch-icon span { background: #EDE6DA; border-radius: 1px; }
.pitch-icon span.on { background: var(--gold); }

.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.date-btn { flex: none; width: 66px; padding: 9px 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: center; font: inherit; color: inherit; scroll-snap-align: start; }
.date-btn .dw { font-size: .68rem; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.date-btn .dd { font-size: 1.3rem; font-weight: 800; }
.date-btn .dm { font-size: .7rem; color: var(--muted); }
.date-btn.sel { border-color: var(--navy); background: var(--navy); color: #fff; }
.date-btn.sel .dw, .date-btn.sel .dm { color: var(--gold); }
.date-btn.closed { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { padding: 10px; border: 2px solid var(--line); border-radius: 10px; background: #fff; text-align: center; cursor: pointer; font: inherit; font-weight: 700; color: inherit; }
.slot small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.slot:hover:not(:disabled) { border-color: var(--gold); }
.slot.sel { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot.sel small { color: var(--gold); }
.slot:disabled { background: #F1EEE8; color: #B9B4AA; cursor: not-allowed; text-decoration: line-through; border-color: #EEE8DD; }
.occupancy { margin-top: 16px; display: grid; gap: 3px; grid-template-columns: 54px repeat(4, 1fr); font-size: .74rem; }
.occupancy div { padding: 3px 4px; }
.occupancy .h { color: var(--muted); font-weight: 700; text-align: center; }
.occupancy .c { border-radius: 3px; background: #EAF3EC; }
.occupancy .c.b { background: #D6D0C4; }
.summary { position: sticky; bottom: 0; background: var(--navy); color: #fff; padding: 14px 16px; box-shadow: 0 -6px 20px rgba(22,33,58,.18); z-index: 5; }
.summary .inner { max-width: 980px; margin: 0 auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.summary .price { font-size: 1.45rem; font-weight: 800; color: var(--gold); }
.summary .muted { color: #B8BFCE; }
.success { text-align: center; padding: 44px 20px; }
.pub-footer { text-align: center; padding: 30px 16px 90px; color: var(--muted); font-size: .8rem; }
.pub-footer img { height: 34px; opacity: .8; display: block; margin: 0 auto 8px; }

.timeline { display: flex; margin: 20px 0; }
.timeline .tstep { flex: 1; text-align: center; position: relative; font-size: .84rem; color: var(--muted); }
.timeline .tstep::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.timeline .tstep:first-child::before { display: none; }
.timeline .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--line); margin: 0 auto 6px; position: relative; z-index: 1; display: grid; place-items: center; color: #fff; font-weight: 700; }
.timeline .tstep.done { color: var(--ink); font-weight: 600; }
.timeline .tstep.done .dot { background: var(--navy); color: var(--gold); }
.timeline .tstep.done::before { background: var(--gold); }

/* ---------- invoice ---------- */
.invoice { max-width: 820px; margin: 20px auto; background: #fff; padding: 44px; border: 1px solid var(--line); border-radius: 4px; }
.invoice .inv-head { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 22px; border-bottom: 2px solid var(--gold); }
.invoice .inv-title { font-size: 1.8rem; font-weight: 800; letter-spacing: .14em; color: var(--navy); }
.invoice table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.invoice th { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.invoice th, .invoice td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.invoice .tot td { font-weight: 800; font-size: 1.1rem; border-bottom: none; color: var(--navy); }
.invoice .tot td:last-child { background: var(--gold-light); }
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .invoice { border: none; margin: 0; padding: 0; max-width: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* public pages: header links, clickable logo, footer */
.home-logo { color: inherit; text-decoration: none; display: inline-block; }
.home-logo:hover { opacity: .9; }
.pub-header .pub-nav { position: absolute; top: 4px; right: 0; display: flex; gap: 8px; z-index: 1; }
.pub-header .pub-nav a { color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; }
.pub-header .pub-nav a:hover { background: rgba(255,255,255,.1); }
/* the header menu (pubNav in common.js): Book a pitch + My account / Menu with a dropdown of everywhere to go */
.pub-header .pub-nav { align-items: center; }
.pub-header .pub-nav .nav-book { background: var(--gold); border-color: var(--gold); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.pub-header .pub-nav .nav-book:hover { background: #d4b483; }
.pub-header .pub-nav .ic { width: 16px; height: 16px; }
.nav-menu { font: inherit; color: #fff; font-weight: 600; font-size: .9rem; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 14px 5px 6px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.nav-menu:hover, .pub-nav.open .nav-menu { background: rgba(255,255,255,.12); }
.nav-menu > .ic { margin-left: 6px; }
.nav-av { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.nav-panel { position: fixed; width: 320px; max-width: calc(100vw - 24px); background: #fff; color: var(--ink, #2B3346); border-radius: 16px;
  box-shadow: 0 16px 48px rgba(22,33,58,.28); padding: 8px; z-index: 1000; text-align: left; }
.nav-panel[hidden] { display: none; }
.nav-panel .np-head { padding: 10px 12px 8px; font-size: .78rem; color: var(--muted); }
.nav-panel .np-head b { display: block; color: var(--navy); font-size: .9rem; word-break: break-all; }
.nav-panel .np-group { padding: 4px 0; border-top: 1px solid var(--line, #E2DACB); }
.nav-panel .np-group:first-child { border-top: 0; }
.nav-panel a { text-decoration: none; display: flex; gap: 12px; align-items: flex-start; border: 0; border-radius: 10px; padding: 9px 12px; color: var(--navy); font-weight: 400; font-size: .92rem; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--paper, #F7F3EC); }
.nav-panel a .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--gold-dark); }
.nav-panel a b { display: block; font-weight: 700; }
.nav-panel a small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.nav-panel .np-foot { display: flex; gap: 4px; align-items: center; border-top: 1px solid var(--line, #E2DACB); padding: 8px 4px 2px; }
.nav-panel .np-foot a:hover { text-decoration: underline; }
.nav-panel .np-foot a { padding: 6px 8px; font-size: .82rem; color: var(--muted); }
.nav-panel .np-out { margin-left: auto; font: inherit; font-size: .85rem; font-weight: 700; color: #B03A2E; background: none; border: 0; padding: 6px 8px; border-radius: 8px;
  display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.nav-panel .np-out:hover { background: #FBEAEA; }
.nav-panel .np-out .ic { width: 16px; height: 16px; }
@media (max-width: 640px) { .pub-header .pub-nav { position: static; margin-bottom: 14px; flex-wrap: wrap; } }
.pub-footer .foot-logo { display: block; margin-bottom: 10px; }
.pub-footer .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.pub-footer .foot-links a { color: var(--muted); }
.pub-footer .foot-legal { margin-top: 10px; font-size: .75rem; }

/* week at a glance */
.wk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wk-grid { display: grid; gap: 4px; min-width: 560px; }
.wk-h { text-align: center; font-size: .75rem; color: var(--muted); line-height: 1.2; padding-bottom: 4px; }
.wk-h b { display: block; font-size: 1.05rem; color: var(--navy); }
.wk-t { font-size: .75rem; color: var(--muted); display: flex; align-items: center; }
.wk-c { min-height: 34px; border-radius: 8px; font-size: .75rem; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; font: inherit; font-size: .75rem; padding: 2px; text-align: center; }
.wk-c.free { background: #E6F4EA; border-color: #B9DEC5; color: #17603A; font-weight: 700; cursor: pointer; }
.wk-c.free:hover, .wk-c.free:focus-visible { background: #CDEBD6; }
.wk-c.free.sel { background: var(--navy); border-color: var(--navy); color: #fff; }
.wk-c.busy { background: #F0EEEA; color: #A0A5B0; }
.wk-c.closed { background: repeating-linear-gradient(45deg, #F4F2EE, #F4F2EE 6px, #ECE9E3 6px, #ECE9E3 12px); }
.wk-c.mine { background: var(--navy); color: #fff; font-weight: 700; overflow: hidden; }
.wk-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.wk-key span { display: inline-flex; align-items: center; gap: 6px; }
.wk-key i.wk-c { width: 18px; min-height: 14px; height: 14px; display: inline-block; }
.seg-pub { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg-pub button { border: 0; background: #fff; padding: 7px 14px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--navy); }
.seg-pub button.on { background: var(--navy); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.tile .k { font-size: .78rem; color: var(--muted); }
.tile .v { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-top: 2px; }
.tile .s { font-size: .8rem; color: var(--muted); }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  /* 16px stops iPhones zooming in when a field is tapped */
  input, select, textarea { font-size: 16px !important; }
  .card { padding: 18px 16px; }
  /* compact header: logo and the Home / Log in buttons on one line */
  .pub-header { padding: 14px 14px 62px; }
  .pub-header .pub-nav { position: absolute; top: 2px; right: 0; margin: 0; flex-wrap: nowrap; gap: 6px; }
  .pub-header .pub-nav a { padding: 5px 11px; font-size: .82rem; }
  .nav-menu { padding: 3px; font-size: .82rem; }
  .nav-menu > span:not(.nav-av), .pub-header .pub-nav .nav-book span { display: none; }   /* icons only, so the logo has room */
  .nav-menu > .ic { margin: 2px; width: 20px; height: 20px; }
  .pub-header .pub-nav .nav-book { padding: 4px; }
  .pub-header .pub-nav .nav-book .ic { width: 20px; height: 20px; }
  .nav-av { width: 24px; height: 24px; font-size: .66rem; }
  .nav-panel { position: fixed; top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; max-height: calc(100vh - 80px); overflow-y: auto;
    padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .pub-header .lockup { gap: 10px; }
  .pub-header .lockup .crest { height: 42px; }
  .pub-header .lockup .wm1 { font-size: 20px; }
  .pub-header .lockup .wm2 { font-size: 9px; letter-spacing: .42em; margin-top: 6px; }
  .pub-header .hero { margin-top: 18px; }
  .pub-header h1 { font-size: 1.55rem; }
  .pub-header p { font-size: .94rem; }
  .pub-header::after { width: 220px; height: 220px; }
  .pub-main { margin-top: -42px; padding: 0 10px 40px; }
  /* booking form: the price bar stays one slim line */
  .summary { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .summary .inner { flex-wrap: nowrap; gap: 10px; }
  .summary .inner > div:first-child { min-width: 0; flex: 1; }
  .summary #sumText { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
  .summary .btn { padding: 11px 16px; }
  .summary .price { font-size: 1.15rem; }
  .summary .btn { white-space: nowrap; flex: none; }
  /* week calendar: times stay in view while the days scroll */
  .wk-t { position: sticky; left: 0; z-index: 1; background: var(--paper); }
}
@media (max-width: 380px) {
  .pub-header .lockup .divider, .pub-header .lockup .wordmark { display: none; }
}

/* pitch notice ticker (noticeBanner) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ticker { position: sticky; top: 0; z-index: 45; overflow: hidden; background: var(--gold); color: var(--navy); border-bottom: 2px solid rgba(22,33,58,.25); cursor: pointer; box-shadow: 0 4px 14px rgba(22,33,58,.18); }
.ticker.closed { background: #B3261E; color: #fff; border-bottom-color: #7E1A15; }
.ticker-track { display: flex; width: max-content; animation: ticker var(--dur, 20s) linear infinite; }
.ticker-item { flex: none; min-width: 100vw; box-sizing: border-box; padding: 11px 64px 11px 16px; white-space: nowrap; font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; }
.ticker-sep { font-style: normal; opacity: .6; margin: 0 22px; }
.ticker:hover .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; }
  .ticker-item { flex: 1 1 auto; white-space: normal; min-width: 0; padding: 11px 16px; }
  .ticker-item + .ticker-item { display: none; }
}

/* ---------- scroll cues (scrollCues in common.js) ---------- */
.cue-wrap { position: relative; }
.cue-wrap::before, .cue-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 36px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 6; }
.cue-wrap::before { left: 0; background: linear-gradient(90deg, rgba(22,33,58,.16), rgba(22,33,58,0)); border-radius: var(--radius) 0 0 var(--radius); }
.cue-wrap::after { right: 0; background: linear-gradient(270deg, rgba(22,33,58,.16), rgba(22,33,58,0)); border-radius: 0 var(--radius) var(--radius) 0; }
.cue-wrap.more-l::before, .cue-wrap.more-r::after { opacity: 1; }
.cue-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 7; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font: 700 1.3rem/1 inherit; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(22,33,58,.2); padding: 0 0 3px; }
.cue-btn:hover { background: var(--gold-light, #F6EEDF); }
.cue-l { left: 6px; } .cue-r { right: 6px; }
.cue-wrap.more-l .cue-l, .cue-wrap.more-r .cue-r { display: flex; }
.cue-strip .cue-btn { top: calc(50% - 4px); width: 30px; height: 30px; }
.cue-hint { position: absolute; z-index: 7; pointer-events: none; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; box-shadow: 0 2px 8px rgba(22,33,58,.25); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cue-hint-x { right: 48px; bottom: 10px; }
.cue-hint-y { left: 50%; bottom: 10px; transform: translateX(-50%); }
.cue-wrap.more-r:not(.moved) .cue-hint-x { opacity: 1; }
.cue-wrap.more-d:not(.more-r):not(.moved) .cue-hint-y { opacity: 1; }
.cue-strip .cue-hint { display: none; }
.cue-wrap.more-d .cal { box-shadow: inset 0 -14px 12px -12px rgba(22,33,58,.25); }
@media (hover: none) { .cue-btn { width: 30px; height: 30px; opacity: .92; } }

/* ---------- invoice on phones ---------- */
@media (max-width: 640px) {
  .invoice { padding: 22px 16px; margin: 16px 0; }
  .invoice .inv-head { flex-wrap: wrap; gap: 12px; }
  .invoice .inv-head > .spacer { display: none; }
  .invoice .inv-head > .right { width: 100%; text-align: left; }
  .invoice .inv-head .lockup { gap: 10px; }
  .invoice .inv-head .lockup .crest { height: 44px; }
  .invoice .inv-head .lockup .wm1 { font-size: 21px; }
  .invoice .inv-head .lockup .wm2 { font-size: 9px; letter-spacing: .42em; margin-top: 6px; }
  .invoice .inv-title { font-size: 1.35rem; }
  .invoice > .row { flex-wrap: wrap; gap: 14px; }
  .invoice > .row > .spacer { display: none; }
  .invoice > .row > .right { text-align: left; }
  .invoice table { font-size: .86rem; margin: 16px 0; }
  .invoice th { font-size: .62rem; letter-spacing: .04em; }
  .invoice th, .invoice td { padding: 8px 4px; }
  .invoice td.right, .invoice th.right { white-space: nowrap; }
  .invoice .tot td { font-size: 1rem; }
}

/* ---------- shared booking visuals: date block, navy booking card, pitch map, icons ---------- */
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dblock { flex: none; width: 64px; border-radius: 14px; background: #fff; color: var(--navy); text-align: center; overflow: hidden; box-shadow: 0 2px 8px rgba(22,33,58,.12); border: 1px solid rgba(22,33,58,.08); }
.dblock span { display: block; background: #C0392B; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: 3px 0; text-transform: uppercase; }
.dblock b { display: block; font-size: 1.65rem; line-height: 1.15; padding-top: 4px; }
.dblock i { display: block; font-style: normal; font-size: .7rem; color: var(--muted); padding-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.dblock.big { width: 84px; } .dblock.big b { font-size: 2.3rem; }
.dblock.past span { background: #8A8F9A; }
.next { display: flex; gap: 20px; align-items: center; padding: 22px !important; background: linear-gradient(135deg, #16213A 0%, #26355A 100%) !important; color: #fff; border: 0 !important; position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 28px rgba(22,33,58,.22); }
.next::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; background: url(/brand/crest-reversed.svg) no-repeat center / contain; opacity: .06; pointer-events: none; }
.next .lbl { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.next h3 { margin: 4px 0 2px; font-size: 1.45rem; color: #fff; letter-spacing: -.01em; text-transform: none; }
.next .meta { color: #C9CEDA; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .92rem; }
.next .meta span { display: inline-flex; gap: 6px; align-items: center; }
.next .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; position: relative; z-index: 1; }
.next .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.next .btn:hover { background: rgba(255,255,255,.18); }
.next .btn.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.next .empty { color: #C9CEDA; }
.hero-bk { margin-bottom: 18px; } .dash .hero-bk { margin-bottom: 0; }
.hero-bk .hb-body { position: relative; z-index: 1; min-width: 0; flex: 1; }
.hero-bk .pitch-map { z-index: 1; }
/* the astro from above: quarters 1-2 make the left half, 3-4 the right; booked quarters in gold */
.pitch-map { position: relative; flex: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-flow: column; gap: 3px; width: 132px; height: 88px; padding: 4px;
  border: 2px solid rgba(255,255,255,.75); border-radius: 6px; background: #2E6B47; }
.pitch-map span { display: grid; place-items: center; border-radius: 2px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.55); font-weight: 800; font-size: .8rem; }
.pitch-map span.on { background: var(--gold); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.pitch-map .cc { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%; pointer-events: none; }
.pitch-map .gate { position: absolute; bottom: -2px; left: 14%; width: 24%; height: 4px; background: var(--gold); border-radius: 2px; }   /* on the bottom edge, under pitch 1 */
.pitch-map .ent { position: absolute; left: 13%; top: calc(100% + 4px); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.pitch-map.sm .ent { display: none; }
.pitch-map.sm { width: 66px; height: 44px; padding: 2px; gap: 2px; border-width: 1.5px; } .pitch-map.sm span { font-size: .62rem; } .pitch-map.sm .cc { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.pill-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-acts .btn .ic { width: 16px; height: 16px; }

/* ---------- booking form: pitch & time first ---------- */
.stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.stepper span { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.stepper span b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: .72rem; flex: none; }
.stepper span.on { color: var(--navy); border-top-color: var(--gold); } .stepper span.on b { background: var(--navy); color: var(--gold); }
.stepper span.done { color: var(--navy); border-top-color: var(--navy); } .stepper span.done b { background: var(--navy); color: #fff; }
.pickers { display: grid; gap: 14px; margin-bottom: 18px; }
.pickers .lab { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.track { display: flex; gap: 3px; background: rgba(22,33,58,.06); padding: 4px; border-radius: 14px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track button { flex: 1 0 auto; border: 0; background: none; font: inherit; color: var(--muted); padding: 8px 12px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: left; transition: background .15s, color .15s; }
.track button:hover { color: var(--navy); }
.track button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(22,33,58,.15); }
.track button b { display: block; font-size: .92rem; } .track button small { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); }
.track button small span + span::before { content: " · "; }
.track button.on small { color: var(--gold-dark); }
.track .pitch-icon { width: 34px; height: 23px; margin: 0; border-width: 1.5px; padding: 1px; gap: 1px; flex: none; }
.track.round { border-radius: 999px; } .track.round button { border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; }
.save-note { font-size: .8rem; color: #1F6E43; font-weight: 600; margin-top: 6px; }
.when-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.when-head h2 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.slot { position: relative; }
.slot .pr { display: block; font-weight: 700; color: var(--gold-dark); font-size: .8rem; margin-top: 1px; }
.slot.sel .pr { color: var(--gold); }
.slot:disabled .pr { color: inherit; font-weight: 500; }
.done-card { text-align: center; padding: 34px 22px; }
.done-tick { width: 64px; height: 64px; border-radius: 50%; background: #E6F4EA; color: #17603A; display: grid; place-items: center; margin: 0 auto 14px; animation: pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.done-tick .ic { width: 32px; height: 32px; stroke-width: 3; }
.done-tick.wait { background: var(--gold-light); color: var(--gold-dark); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done-card h1 { margin: 0 0 6px; font-size: 1.7rem; }
.done-card .pill-acts { justify-content: center; margin-top: 18px; }
.done-hero { text-align: left; margin-top: 20px; }

/* ---------- basket ---------- */
.basket { border: 2px solid var(--gold); }
.basket .bk-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--navy); color: var(--gold); font-size: .8rem; vertical-align: 2px; margin-left: 4px; }
.basket .bk-tot { font-size: 1.15rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.bk-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(22,33,58,.07); text-align: left; }
.bk-item .pitch-icon { margin: 0; width: 40px; height: 27px; flex: none; }
.bk-item .bi-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.bk-item .bi-price { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-item .bi-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(22,33,58,.06); color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; flex: none; }
.bk-item .bi-x:hover { background: #FDECEA; color: var(--danger); }
.bk-item.bad { background: #FFF6F5; border-radius: 10px; padding: 10px; }
.bk-done { max-width: 620px; margin: 0 auto; }
.basket-msg { position: relative; border: 0 !important; border-left: 5px solid var(--danger) !important; background: #FFF6F5 !important; padding-right: 54px !important; margin-bottom: 18px; }
.basket-msg b { color: var(--danger); }
.basket-msg .bi-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(22,33,58,.06); font-size: 1.2rem; cursor: pointer; }
.bk-item.bad .small.error { font-weight: 700; }
#addBasketBtn { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
#addBasketBtn:hover { background: rgba(255,255,255,.1); }
@media (max-width: 640px) {
  .summary .inner { flex-wrap: nowrap; gap: 8px; }
  .summary .inner > div:first-child { min-width: 0; flex: 1 1 auto; }
  .summary .inner > div:first-child .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body:has(#addBasketBtn:not(.hidden)) .summary .inner > div:first-child .small { display: none; }
  #addBasketBtn, .summary #submitBtn { padding: 10px 14px; font-size: .9rem; }
}
/* ---------- the customer's booking page ---------- */
.fixtures { display: grid; gap: 0; }
.fx { display: flex; align-items: center; gap: 14px; padding: 10px 2px; border-bottom: 1px solid rgba(22,33,58,.07); }
.fx:last-child { border-bottom: 0; }
.fx .dblock { width: 46px; border-radius: 10px; box-shadow: none; } .fx .dblock b { font-size: 1.15rem; padding-top: 2px; } .fx .dblock span { font-size: .58rem; padding: 2px 0; } .fx .dblock i { font-size: .6rem; padding-bottom: 3px; }
.fx .fx-body { flex: 1; min-width: 0; }
.fx .fx-body b { display: block; }
.fx .fx-body .small { color: var(--muted); }
.fx .tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.fx .tag.played { background: #E6F4EA; color: #17603A; } .fx .tag.nx { background: var(--navy); color: var(--gold); } .fx .tag.off { background: #ECEAE6; color: #6F6A62; }
.fx.played { opacity: .72; } .fx.cancelled .fx-body b { text-decoration: line-through; color: #8C877E; }
.status-card .timeline { margin: 6px 0 16px; }
.bk-card { background: #fff; border: 1px solid rgba(22,33,58,.08); border-radius: 16px; box-shadow: 0 1px 2px rgba(22,33,58,.04), 0 8px 24px rgba(22,33,58,.06); }

/* ---------- phones: app-style tab bar for signed-in customers (customerTabBar in common.js) ---------- */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(22,33,58,.12); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .7rem; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 2px; border-radius: 12px; }
  .tabbar a.on { color: var(--navy); background: rgba(22,33,58,.06); }
  .tabbar .ic { width: 22px; height: 22px; }
  body.has-tabbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.has-tabbar .summary { bottom: calc(62px + env(safe-area-inset-bottom)); }
  body.has-tabbar .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .next { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px !important; }
  .next h3 { font-size: 1.25rem; }
  .hero-bk .pitch-map { position: absolute; right: 18px; top: 20px; width: 84px; height: 56px; }
  .hero-bk .acts .btn { padding: 8px 13px; font-size: .86rem; }
  .hero-bk .pitch-map span { font-size: .66rem; } .hero-bk .pitch-map .cc { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .stepper span { font-size: .74rem; }
  .track button { padding: 8px 8px; gap: 6px; }
  #sizes button { flex: 1 1 0; text-align: center; }
  #sizes button small span { display: block; } #sizes button small span + span::before { content: none; }
  #sizes button { flex-direction: column; gap: 5px; padding: 9px 4px; }
  #sizes .pitch-icon { width: 36px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .done-tick { animation: none; } }
/* messages sit above the price bar on the booking form */
body:has(#summary:not(.hidden)) .toast { bottom: 100px; }
@media (max-width: 720px) { body.has-tabbar:has(#summary:not(.hidden)) .toast { bottom: calc(160px + env(safe-area-inset-bottom)); } }

/* ---------- LED clock in the header (siteClock in common.js): amber 7-segment digits on black, UK time ---------- */
.site-clock { position: absolute; top: 50px; right: 0; z-index: 1; display: grid; grid-template-columns: auto auto; grid-template-rows: auto 1fr auto;
  grid-template-areas: "dig zone" "dig side" "bar side"; column-gap: 12px; align-items: start;
  background: #060606; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 12px 14px 11px 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05); --amb: #FF9A1F; }
.site-clock .clk-digits { grid-area: dig; height: 58px; width: auto; display: block; transform: skewX(-5deg); overflow: visible; }
.site-clock .on { fill: var(--amb); filter: drop-shadow(0 0 4px rgba(255,154,31,.55)); }
.site-clock .off { fill: rgba(255,154,31,.06); }
.site-clock .clk-colon rect { fill: var(--amb); animation: clkblink 1s steps(1) infinite; }
@keyframes clkblink { 50% { opacity: .2; } }
.site-clock .clk-zone { grid-area: zone; font: 800 .62rem/1 system-ui, sans-serif; letter-spacing: .08em; color: var(--amb); }
.site-clock .clk-days { grid-area: side; display: grid; gap: 1px; margin-top: 4px; }
.site-clock .clk-days i { font: 800 .56rem/1.05 system-ui, sans-serif; font-style: normal; letter-spacing: .06em; color: #EDEDED; }
.site-clock .clk-days i.on { color: var(--amb); filter: none; text-shadow: 0 0 6px rgba(255,154,31,.6); }
.site-clock .clk-day { grid-area: side; display: none; font: 800 .7rem/1 system-ui, sans-serif; letter-spacing: .06em; color: var(--amb); margin-top: 6px; }
.site-clock::after { content: ""; grid-area: bar; height: 3px; border-radius: 3px; background: #F2F2F2; margin-top: 8px; opacity: .9; }
/* laptops: smaller, today's day under the zone instead of the week list, no bar */
@media (max-width: 1499px) {
  .site-clock { padding: 9px 12px 9px 13px; column-gap: 10px; border-radius: 12px; grid-template-areas: "dig zone" "dig side"; grid-template-rows: auto 1fr; }
  .site-clock .clk-digits { height: 40px; }
  .site-clock .clk-days, .site-clock::after { display: none; }
  .site-clock .clk-day { display: block; }
}
@media (max-width: 900px) { .site-clock .clk-digits { height: 32px; } }
/* phones: a compact clock on its own line, right-aligned under the Home / Log in buttons */
@media (max-width: 640px) {
  .site-clock { position: static; width: max-content; margin: 8px 0 -8px auto; padding: 6px 9px 6px 10px; column-gap: 7px; border-radius: 10px; }
  .site-clock .clk-digits { height: 24px; }
  .site-clock .clk-zone { font-size: .52rem; }
  .site-clock .clk-day { font-size: .58rem; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .site-clock .clk-colon rect { animation: none; } }
@media print { .site-clock { display: none !important; } }

/* site map (common.js siteMap) and the car park notice (parkingNotice) */
.site-map { margin: 0; }
.site-map .sm-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #F1ECE2; }
.site-map svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.site-map svg.ph .sm-drive { stroke-width: 14; stroke-dasharray: 26 14; } .site-map svg.ph .sm-walk { stroke-width: 10; stroke-dasharray: 1 17; } .site-map svg.ph .sm-lead { stroke-width: 5; }
.site-map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--muted); margin-top: 8px; }
.site-map figcaption a { margin-left: auto; font-weight: 600; }
.sm-item { display: inline-flex; align-items: center; gap: 8px; }
.sm-key { flex: none; width: 26px; height: 0; border-top: 4px dashed var(--gold); }
@media (max-width: 640px) { .site-map figcaption { flex-direction: column; align-items: flex-start; gap: 6px; } .site-map figcaption a { margin-left: 0; } .sm-item { align-items: flex-start; } .sm-key { margin-top: .6em; } }
.sm-key.walk { border-top: 4px dotted var(--navy); }
.sm-q { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.85); stroke-width: 2.5; stroke-dasharray: 7 6; }
.sm-q.on { fill: rgba(198,162,111,.72); stroke: #fff; stroke-dasharray: none; }
.sm-num circle { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.sm-num text { fill: #fff; font-size: 22px; font-weight: 800; text-anchor: middle; }
.sm-num.on circle { fill: var(--gold); stroke: var(--navy); } .sm-num.on text { fill: var(--navy); }
.sm-pill rect { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.sm-pill text { fill: var(--navy); font-size: 17px; font-weight: 800; text-anchor: middle; letter-spacing: .02em; }
.sm-pill.dark rect { fill: var(--navy); stroke: #fff; } .sm-pill.dark text { fill: #fff; letter-spacing: .12em; }
.sm-drive { fill: none; stroke: var(--gold); stroke-width: 9; stroke-dasharray: 18 10; stroke-linecap: round; stroke-linejoin: round; }
.sm-walk { fill: none; stroke: var(--navy); stroke-width: 6; stroke-dasharray: 1 11; stroke-linecap: round; }
.sm-lead { stroke: var(--navy); stroke-width: 3; }
.sm-call rect { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.sm-call text { fill: #fff; font-size: 20px; font-weight: 700; } .sm-call text.k { fill: var(--gold); font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.sm-compass circle { fill: #fff; stroke: var(--line); stroke-width: 2; } .sm-compass path { fill: #D9572E; } .sm-compass text { font-size: 13px; font-weight: 800; text-anchor: middle; fill: var(--navy); }
.route-steps { margin: 12px 0 0; padding-left: 22px; line-height: 1.6; } .route-steps li { margin: 4px 0; }
.park-note { display: flex; gap: 12px; align-items: flex-start; background: #FFF4E2; border: 1px solid #F0D3A4; border-left: 5px solid #D9822B; border-radius: 12px; padding: 12px 14px; margin: 12px 0; color: var(--ink); }
.uk-plate { display: inline-block; min-width: 92px; padding: 3px 8px; border-radius: 5px; background: #F5C518; border: 1.5px solid #1a1a1a; color: #111;
  font: 800 .95rem/1.2 "Inter", system-ui, sans-serif; letter-spacing: .08em; text-align: center; white-space: nowrap; }
ul.cars { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
ul.cars li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
ul.cars .cn { flex: 1; min-width: 120px; font-weight: 600; }
.car-st { padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; } .car-st.ok { background: #E3F4EA; color: #1C6B3D; } .car-st.wait { background: #FFF1DA; color: #7F5F2C; }
.car-add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.car-add label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
@media (max-width: 640px) { .car-add { grid-template-columns: 1fr; } }
.pcn-link { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FFF4E2; border: 1px solid #F0D3A4; }
.pcn-link > div { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.spam-note { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #EEF3FB; border: 1px solid #C9D7EE; border-radius: 12px; padding: 10px 14px; margin: 12px auto 0; max-width: 560px; font-size: .88rem; line-height: 1.5; color: var(--ink, #16213A); }
.spam-note .sn-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.park-note .pn-ico { flex: none; width: 30px; height: 30px; border-radius: 7px; background: #1F5FBF; color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; }
.park-note b { display: block; } .park-note p { margin: 4px 0 0; font-size: .9rem; line-height: 1.5; white-space: normal; }
.park-note.compact p { font-size: .84rem; } .park-note a { display: inline-block; margin-top: 6px; font-size: .86rem; font-weight: 600; }
@media print { .site-map, .park-note { break-inside: avoid; } }

/* "How it works" guide (common.js howTo) */
body.ht-open { overflow: hidden; }
.howto-back { position: fixed; inset: 0; background: rgba(22,33,58,.55); z-index: 90; }
.howto { position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px);
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.howto .ht-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.howto .ht-x:hover { background: var(--cream); }
.ht-body { padding: 24px 26px 8px; overflow-y: auto; }
.ht-step { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.ht-body h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin: 6px 0 12px; padding-right: 28px; }
.ht-body h2 .ic { width: 26px; height: 26px; color: var(--gold-dark); flex: none; }
.ht-body p { line-height: 1.6; margin: 0 0 10px; }
.ht-list { margin: 0 0 12px; padding-left: 22px; line-height: 1.6; } .ht-list li { margin: 5px 0; }
.ht-sizes { display: flex; gap: 22px; margin: 6px 0 4px; } .ht-sizes div { display: grid; justify-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.ht-tip { background: var(--gold-light); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.ht-body .site-map { margin-top: 6px; }
.ht-foot { display: flex; align-items: center; gap: 8px; padding: 14px 26px 18px; border-top: 1px solid var(--line); }
.ht-dots { display: flex; gap: 6px; margin-right: auto; }
.ht-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.ht-dots button.on { background: var(--navy); width: 22px; border-radius: 5px; }
@media (max-width: 600px) {
  .howto { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0; }
  .ht-body { padding: 22px 18px 6px; } .ht-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
}
@media print { .howto-wrap { display: none; } }
