/* Royal Arena Sports — light, friendly theme built from the logo colors
   (royal blue, court green, stripe red, crown gold). Mobile first. */
:root {
  --bg: #f5f6f1;
  --surface: #ffffff;
  --surface-2: #eef1ec;
  --line: #dfe3da;
  --text: #14213a;
  --muted: #5a6577;
  --navy: #0e4476;
  --navy-2: #0a2c4f;
  --green: #0f6e58;
  --green-2: #0b5846;
  --green-soft: #e3f1ec;
  --red: #d0202a;
  --red-soft: #fde8e8;
  --gold: #c9a13a;
  --gold-ink: #8a6a12;
  --gold-soft: #f7eed3;
  --blue-soft: #e5eef8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16,33,58,.06), 0 2px 8px rgba(16,33,58,.05);
  --shadow: 0 10px 30px rgba(16,33,58,.12);
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --tabbar: 66px;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); overflow-x: hidden; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1,h2,h3,h4 { font-family: var(--head); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.gold { color: var(--gold-ink); }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.navy { background: var(--navy-2); color: #fff; }
.section.navy .muted { color: #b9c7d8; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy-2); color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; }
.announce a { color: var(--gold-soft); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 68px; max-width: 1340px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-2); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--navy-2); }
.brand img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand b { font: 800 1.12rem/1 var(--head); letter-spacing: -.01em; display: block; }
.brand small { display: block; font: 600 .66rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: 3px; }
.nav { display: none; margin-left: auto; gap: 2px; }
.nav a { white-space: nowrap; color: var(--text); padding: 8px 9px; border-radius: 999px; font-weight: 600; font-size: .93rem; text-decoration: none; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { color: var(--green); background: var(--green-soft); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (min-width: 1360px) { .nav { display: flex; } .header-actions { margin-left: 8px; } .menu-btn { display: none !important; } }
.menu-btn { background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.header-actions .hdr-book { display: none; }
@media (min-width: 560px) { .header-actions .hdr-book { display: inline-flex; } }
.drawer { position: fixed; inset: 68px 0 0 0; background: var(--surface); z-index: 49; padding: 8px 16px 110px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer a.dl { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--text); font: 700 1.05rem var(--head); text-decoration: none; }
.drawer .contact-mini { margin-top: 20px; color: var(--muted); }
.drawer .btn { margin-top: 20px; width: 100%; }

/* ---------- Bottom tab bar (phones) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(16,33,58,.06); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tabbar); color: var(--muted); font-size: .7rem; font-weight: 700; text-decoration: none; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.active { color: var(--green); }
.tabbar a.cta .bubble { background: var(--green); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; margin-top: -22px; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(15,110,88,.35); }
.tabbar a.cta { color: var(--green); }
@media (min-width: 1360px) { .tabbar { display: none; } }
@media (min-width: 900px) and (max-width: 1359px) { body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); } }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--body); cursor: pointer; transition: transform .08s ease, background .15s, box-shadow .15s; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary, .btn-gold { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(15,110,88,.25); }
.btn-primary:hover, .btn-gold:hover { background: var(--green-2); color: #fff; }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: #b0161f; color: #fff; }
.btn-light { background: #fff; color: var(--navy-2); }
.btn-light:hover { background: var(--gold-soft); color: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-danger { background: #fff; color: var(--red); border-color: #f2b8bb; }
.btn-danger:hover { background: var(--red-soft); color: var(--red); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .spin, .spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
.field { margin-bottom: 14px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--text); font: 16px var(--body); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,110,88,.15); }
input[disabled] { background: var(--surface-2); color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 1px; accent-color: var(--green); }
.row2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 6px; top: 6px; height: 38px; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; padding: 0 10px; }
.form-error { background: var(--red-soft); color: #9b1219; border: 1px solid #f2b8bb; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: .92rem; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ---------- Cards & grids ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.pill.gold { background: var(--gold-soft); color: var(--gold-ink); }
.pill.green { background: var(--green-soft); color: var(--green-2); }
.pill.red { background: var(--red-soft); color: #a3141c; }
.pill.blue { background: var(--blue-soft); color: var(--navy); }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-2); }
.hero-bg { position: absolute; inset: 0; background: url("../img/hero.jpg") center 60%/cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,44,79,.55) 0%, rgba(10,44,79,.75) 55%, rgba(10,44,79,.95) 100%); }
@media (min-width: 900px) { .hero-bg::after { background: linear-gradient(90deg, rgba(10,44,79,.94) 0%, rgba(10,44,79,.75) 45%, rgba(10,44,79,.2) 100%); } }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 28px; padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 88px; padding-bottom: 88px; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.12rem; color: #dce6f2; max-width: 560px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: .92rem; color: #dce6f2; }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.trust svg { color: var(--gold); flex: none; }
.quick-book { background: #fff; color: var(--text); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.quick-book h3 { margin-bottom: 4px; }
.sport-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.sport-chips button { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 9px 14px; font: 600 .92rem var(--body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.sport-chips button.on { background: var(--green); border-color: var(--green); color: #fff; }

.page-hero { padding: 40px 0 34px; background: linear-gradient(135deg, var(--navy-2), var(--navy) 60%, #135f6e); color: #fff; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d6e1ee; max-width: 660px; margin: 0; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero a:not(.btn) { color: var(--gold-soft); }
.page-hero .hero-actions { margin-top: 18px; }
.page-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.page-hero .btn-ghost:hover { background: rgba(255,255,255,.1); }
.page-hero.photo-bg { position: relative; background-size: cover; background-position: center; }
.page-hero.photo-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,44,79,.93), rgba(10,44,79,.6)); }
.page-hero.photo-bg .wrap { position: relative; }

/* ---------- Home sections ---------- */
.steps3 { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.step3 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; box-shadow: var(--shadow-sm); }
.step3 .num { width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); font: 800 1.1rem var(--head); display: grid; place-items: center; margin-bottom: 12px; }
.step3 h3 { margin-bottom: 6px; }
.step3 p { color: var(--muted); margin: 0; }

.img-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.img-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.img-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.img-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.img-card h3 { margin: 0; }
.img-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.img-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--green); }

.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.split img.rounded { border-radius: 22px; width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6e58' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

.sports-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sport-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-align: center; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: .15s; }
.sport-tile:hover { border-color: var(--green); transform: translateY(-2px); color: var(--text); }
.sport-tile .ic { font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.sport-tile b { display: block; font-family: var(--head); }
.sport-tile span { font-size: .82rem; color: var(--muted); }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; } .gallery .big { grid-column: span 2; grid-row: span 2; } }
.gallery button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--surface-2); aspect-ratio: 4/3; }
@media (min-width: 760px) { .gallery button { aspect-ratio: auto; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(6,18,33,.92); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-height: 86vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 14px; right: 14px; }

.price-card { text-align: center; }
.price-card .big { font: 800 2.6rem/1 var(--head); color: var(--navy); margin: 8px 0 4px; }
.price-card .big small { font-size: 1rem; color: var(--muted); font-weight: 600; }

.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.perk .ico.g { background: var(--green-soft); color: var(--green); }
.perk .ico.r { background: var(--red-soft); color: var(--red); }
.perk .ico.y { background: var(--gold-soft); color: var(--gold-ink); }
.perk .ico.b { background: var(--blue-soft); color: var(--navy); }
.perk h3 { font-size: 1.05rem; margin-bottom: 4px; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

.cta-band { background: linear-gradient(120deg, var(--green), #0d5b69); color: #fff; border-radius: 24px; padding: 30px 22px; display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #d9efe8; margin: 0; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px; } }

/* ---------- Booking ---------- */
.book-layout { display: grid; gap: 22px; }
.book-layout > *, .split > *, .grid > *, .hero .wrap > * { min-width: 0; }
@media (min-width: 980px) { .book-layout { grid-template-columns: 1fr 340px; align-items: start; } .book-aside { position: sticky; top: 88px; } }
@media (max-width: 979px) { .book-aside { display: none; } }
.mobile-help { font-size: .9rem; color: var(--muted); margin-top: 18px; }
@media (min-width: 980px) { .mobile-help { display: none; } }
.step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.15rem; }
.step-title .n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; }
.book-step { margin-bottom: 28px; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.date-strip button { scroll-snap-align: start; flex: none; width: 66px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.date-strip button small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.date-strip button b { font: 800 1.3rem var(--head); }
.date-strip button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.date-strip button.on small { color: #cfe0f1; }
.field-tabs { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-tabs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.field-tabs button { text-align: left; border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 14px; padding: 14px 16px; font: inherit; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.field-tabs button b { display: block; font-family: var(--head); }
.field-tabs button span { font-size: .82rem; color: var(--muted); }
.field-tabs button .rate { font-weight: 800; color: var(--navy); white-space: nowrap; }
.field-tabs button.on { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,110,88,.15); background: var(--green-soft); }
.field-tabs button.dim { opacity: .45; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .slots { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 12px; padding: 12px; text-align: left; cursor: pointer; font: inherit; min-height: 64px; display: flex; flex-direction: column; gap: 2px; }
.slot:hover:not([disabled]) { border-color: var(--green); }
.slot b { font-size: 1.05rem; }
.slot span { font-size: .8rem; color: var(--muted); }
.slot.offpeak span { color: var(--green); font-weight: 600; }
.slot.sel { background: var(--green); border-color: var(--green); color: #fff; }
.slot.sel span { color: #d9efe8; }
.slot.taken, .slot.past { background: var(--surface-2); color: #9aa3b1; cursor: not-allowed; }
.slot.taken b, .slot.past b { text-decoration: line-through; }
.slot.auction { border-style: dashed; border-color: var(--red); }
.slot.auction span { color: var(--red); font-weight: 600; }
.slot.pickup { border-style: dashed; border-color: var(--navy); background: var(--blue-soft); }
.slot.pickup span { color: var(--navy); font-weight: 600; }
.field-tabs button[disabled] { opacity: .5; cursor: not-allowed; background: var(--surface-2); }
.field-tabs .tag { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); background: var(--blue-soft); padding: 2px 8px; border-radius: 999px; margin-top: 4px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: none; color: var(--muted); padding: 8px 16px; border-radius: 999px; font: 700 .95rem var(--body); cursor: pointer; min-width: 48px; }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.sum-card h3 { margin-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.sum-row span:first-child { color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; }
.sum-total b { font: 800 1.8rem var(--head); color: var(--navy); }
.summary-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 10px); z-index: 55; background: var(--navy-2); color: #fff; border-radius: 18px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.summary-bar .sum-text { flex: 1; min-width: 0; font-size: .85rem; color: #cfe0f1; }
.summary-bar .sum-text b { display: block; font-size: 1.2rem; color: #fff; }
@media (min-width: 980px) { .summary-bar { display: none !important; } }
.price-lines { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 12px; font-size: .95rem; }
.price-lines div { display: flex; justify-content: space-between; padding: 3px 0; }
.price-lines .total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.help-box { background: var(--gold-soft); border-radius: 14px; padding: 14px 16px; font-size: .92rem; margin-top: 14px; }

.choice { display: grid; gap: 10px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-weight: 400; background: #fff; margin: 0; }
.choice input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--green); flex: none; }
.choice label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice label b { display: block; }
.choice label span { color: var(--muted); font-size: .9rem; }
.choice.inline { grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice.inline { grid-template-columns: repeat(3, 1fr); } }

/* Waiver + signature */
.sig-box { position: relative; border: 2px dashed #c7cdd6; border-radius: 12px; background: #fff; touch-action: none; }
.sig-box canvas { width: 100%; height: 170px; display: block; border-radius: 10px; cursor: crosshair; }
.sig-box .sig-hint { position: absolute; left: 12px; bottom: 10px; color: #8b93a3; font-size: .8rem; pointer-events: none; }
.sig-box .sig-line { position: absolute; left: 16px; right: 16px; bottom: 34px; border-bottom: 1px solid #d5d9e0; pointer-events: none; }
.waiver-text { max-height: 260px; overflow-y: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .86rem; color: #2c3a50; margin-bottom: 14px; }
.waiver-text h2 { font-size: 1rem; } .waiver-text h3 { font-size: .95rem; }
.minor-row { display: grid; grid-template-columns: 1fr 150px auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.minor-row .x { min-height: 50px; width: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; font-size: 1.2rem; color: var(--muted); }
@media (max-width: 480px) { .minor-row { grid-template-columns: 1fr 1fr; } .minor-row .x { grid-column: 2; justify-self: end; min-height: 38px; } }
.wv-sub { background: var(--surface-2); border-radius: 14px; padding: 14px; margin: 12px 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(10,25,45,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-panel { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(30px); transition: transform .2s; }
.modal.open .modal-panel { transform: none; }
@media (min-width: 640px) { .modal { align-items: center; } .modal-panel { border-radius: 24px; padding: 28px; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.modal-head h3 { margin: 0; font-size: 1.35rem; }
.modal-close { background: var(--surface-2); border: 0; color: var(--text); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; flex: none; }
.auth-switch { display: flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.auth-switch button { flex: 1; border: 0; background: none; color: var(--muted); padding: 10px; border-radius: 999px; font: 700 .95rem var(--body); cursor: pointer; }
.auth-switch button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--navy-2); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 200; opacity: 0; transition: .25s; max-width: calc(100% - 32px); box-shadow: var(--shadow); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--red); }
@media (min-width: 1360px) { .toast { bottom: 24px; } }

/* ---------- Auctions ---------- */
.auction-card { display: flex; flex-direction: column; gap: 12px; }
.auction-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.countdown { font: 800 1.05rem var(--head); color: var(--navy); white-space: nowrap; }
.countdown.urgent { color: var(--red); }
.bid-price { font: 800 2rem/1 var(--head); color: var(--navy-2); }
.bid-price small { font: 500 .8rem var(--body); color: var(--muted); display: block; margin-top: 6px; }
.save-tag { color: var(--green); font-size: .9rem; font-weight: 800; text-align: right; }
.bid-row { display: flex; gap: 8px; }
.bid-row input { flex: 1; min-width: 0; }
.bid-list { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.bid-list div { display: flex; justify-content: space-between; padding: 2px 0; }

/* ---------- Account ---------- */
.rewards-card { background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 55%, #135f6e 100%); color: #fff; border-radius: 22px; padding: 22px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.rewards-card .eyebrow { color: var(--gold-soft); }
.rewards-card .pts { font: 800 3.2rem/1 var(--head); color: var(--gold); }
.rewards-card .pill.gold { background: rgba(201,161,58,.2); color: var(--gold-soft); }
.progress { height: 10px; background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; margin: 12px 0 6px; }
.progress i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.list { display: grid; gap: 10px; }
.list-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.list-item .li-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.list-item .li-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { flex: none; background: none; border: 0; color: var(--muted); padding: 12px 14px; font: 700 .95rem var(--body); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button.on { color: var(--text); border-bottom-color: var(--green); }
.banner { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner.warn { background: var(--gold-soft); border: 1px solid #ead9a4; }
.banner.ok { background: var(--green-soft); border: 1px solid #bfe0d4; }

/* ---------- Schedule / cafe ---------- */
.day-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 16px; }
.day-tabs button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 12px; padding: 10px 14px; font: 700 .9rem var(--body); cursor: pointer; }
.day-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.sched-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sched-item .t { font: 800 1rem var(--head); color: var(--navy); }
.menu-cat { margin-bottom: 30px; }
.menu-cat h3 { color: var(--green); border-bottom: 2px solid var(--green-soft); padding-bottom: 8px; }
.menu-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.menu-item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.menu-item .mi-body { flex: 1; min-width: 0; }
.menu-item b { font-size: 1.05rem; }
.menu-item .price { font: 800 1.2rem var(--head); color: var(--navy); white-space: nowrap; }
.menu-item.soldout { opacity: .55; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { color: var(--green); flex: none; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #b9c7d8; padding: 48px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer a { color: #d6e1ee; display: block; padding: 4px 0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--gold); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Admin ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
td input, td select { min-height: 38px; padding: 6px 8px; font-size: .9rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { font: 800 1.8rem var(--head); display: block; color: var(--navy); }
.stat span { color: var(--muted); font-size: .85rem; }
.thumb-pick { display: flex; gap: 12px; align-items: center; }
.thumb-pick img, .thumb-pick .ph { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--surface-2); flex: none; display: grid; place-items: center; color: var(--muted); font-size: .75rem; text-align: center; }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .85rem; }
.toggle input { width: 40px; height: 22px; min-height: 0; appearance: none; background: #cfd5dd; border-radius: 999px; position: relative; cursor: pointer; border: 0; padding: 0; transition: .15s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: .15s; }
.toggle input:checked { background: var(--green); }
.toggle input:checked::after { left: 21px; }
.toggle input:focus { box-shadow: none; }

.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; border: 1.5px dashed var(--line); border-radius: 16px; background: #fff; }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, #f7f8f5 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; min-height: 64px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (max-width: 430px) {
  .site-header .wrap { gap: 8px; }
  .brand small { display: none; }
  .brand > span { white-space: normal; max-width: 118px; }
  .brand b { font-size: .95rem; line-height: 1.1; }
  .brand img { width: 40px; height: 40px; }
  #hdr-account { padding: 0 12px; }
}

/* Social buttons (footer) + floating WhatsApp button */
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.site-footer .social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.site-footer .social-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.social-btn .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy-2); flex: none; }
.social-btn b { display: block; font-size: .9rem; line-height: 1.1; }
.social-btn small { display: block; font-size: .75rem; color: #b9c7d8; }
.wa-fab { position: fixed; right: 14px; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 12px); z-index: 58; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: #25a55f; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(16,33,58,.22), 0 0 0 3px rgba(255,255,255,.9); transition: transform .15s, background .15s; }
.wa-fab:hover { background: #1f8f52; color: #fff; transform: translateY(-2px); }
.wa-fab .ic { width: 24px; height: 24px; display: grid; place-items: center; }
.wa-fab .ic svg { width: 24px; height: 24px; }
.wa-fab .ic img { width: 26px; height: 26px; }
/* Label appears as a small tooltip on hover (computers) */
.wa-fab .t { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px); background: var(--navy-2); color: #fff; font-size: .82rem; font-weight: 700;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .15s; }
.wa-fab:hover .t, .wa-fab:focus-visible .t { opacity: 1; transform: translateY(-50%); }
.wa-fab.has-brand { background: #fff; }
.wa-fab.has-brand:hover { background: #fff; }
.wa-fab.has-brand .ic, .wa-fab.has-brand .ic img { width: 34px; height: 34px; }
.social-btn.has-brand .ic { background: transparent; }
.social-btn.has-brand .ic img { width: 36px; height: 36px; }
@media (min-width: 1360px) { .wa-fab { width: 54px; height: 54px; right: 22px; bottom: 22px; } }
body:has(.summary-bar:not(.hidden)) .wa-fab { display: none; }

/* Multi-hour discount */
.seg button .dur-off{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:999px;background:var(--green);color:#fff;font-size:.7rem;font-weight:700;line-height:1.4;vertical-align:1px}
.hd-note{margin:-2px 0 12px;padding:9px 12px;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:.9rem}
.green-txt,.green-txt b{color:var(--green)}
#dur button{white-space:nowrap}
@media (max-width:480px){#dur button{padding-left:10px;padding-right:10px}#dur button .dur-off{margin-left:3px;padding:1px 4px}}
/* Promo codes */
.promo-row { grid-template-columns: 1fr auto !important; align-items: center; gap: 14px; }
.promo-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; letter-spacing: .06em; background: var(--surface-2); border: 1.5px dashed var(--navy); color: var(--navy); padding: 3px 10px; border-radius: 8px; }
.promo-uses { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: .92rem; }
.promo-uses i { display: block; width: 140px; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.promo-uses s { display: block; height: 100%; background: var(--green); text-decoration: none; }
.promo-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .promo-row { grid-template-columns: 1fr !important; } .promo-actions { justify-content: flex-start; } }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #c9cfc6; border-radius: 99px; transition: background .15s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.promo-box { display: flex; gap: 8px; margin-top: 14px; }
.promo-box input { flex: 1; text-transform: uppercase; }
.promo-msg { margin: 6px 0 0; font-size: .9rem; }
.promo-msg.ok { color: var(--green); } .promo-msg.err { color: var(--red); }
/* Fully booked days */
.date-strip button.full:not(.on) { background: var(--surface-2); color: var(--muted); border-style: dashed; position: relative; }
.date-strip button.full:not(.on) b { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .6; }
.date-strip button.full::after { content: "Full"; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.date-strip button.full.on::after { color: #ffd6d8; }
.banner { background: var(--surface-2); border: 1px solid var(--line); }
.banner.err { background: #fdecee; border: 1px solid #f3c2c6; color: #8a1520; }
.date-strip button.closed:not(.on) { background: var(--surface-2); color: var(--muted); border-style: dashed; }
.date-strip button.closed:not(.on) b { opacity: .5; }
.date-strip button.closed::after { content: "Closed"; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.date-strip button.closed.on::after { color: #dfe7f2; }
.slot.closed { background: var(--surface-2); border-style: dashed; color: var(--muted); }
.slot.closed span { color: var(--red); font-weight: 600; }
/* Deals page */
.deals-hero { padding: 26px 0 24px; }
.deals-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 6px; }
.deals-hero p { font-size: .98rem; }
.deals-wrap { max-width: 1040px; }
#cardBar .banner { margin: 0 0 14px; padding: 10px 14px; font-size: .92rem; }
.deal-controls { position: sticky; top: 68px; z-index: 5; background: var(--bg); padding: 8px 0 10px; margin: 0 0 6px; border-bottom: 1px solid var(--line); }
.deal-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.deal-days::-webkit-scrollbar { display: none; }
.deal-days button { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font: inherit; cursor: pointer; line-height: 1.15; }
.deal-days button small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.deal-days button b { font: 800 1.05rem var(--head); margin: 2px 0; }
.deal-days button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.deal-days button.on small { color: #cfdaea; }
.deal-sports { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.deal-sports:empty { display: none; }
.deal-sports button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: 600 .82rem var(--body); cursor: pointer; color: var(--text); }
.deal-sports button.on { background: var(--green); border-color: var(--green); color: #fff; }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.deal-tile { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.deal-tile:hover, .deal-tile:focus-visible { border-color: var(--green); box-shadow: 0 6px 18px rgba(15, 110, 88, .14); transform: translateY(-1px); }
.deal-tile .t-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.deal-tile .t-time { font: 800 1.2rem var(--head); color: var(--navy); }
.deal-tile .t-off { font: 800 .75rem var(--body); color: #fff; background: var(--green); border-radius: 999px; padding: 3px 8px; }
.deal-tile .t-field { font-weight: 700; font-size: .95rem; }
.deal-tile .t-sports { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-tile .t-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.deal-tile .t-price b { font: 800 1.45rem var(--head); color: var(--navy-2); }
.deal-tile .t-price s { color: var(--muted); font-size: .85rem; }
.deal-tile .t-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.deal-tile .t-foot .countdown { font: 700 .82rem var(--body); color: var(--navy); }
.deal-tile .t-foot .countdown.urgent { color: var(--red); }
.deal-tile .pill { font-size: .62rem; padding: 2px 7px; }
.deal-tile.mine-win { border-color: var(--green); }
.deal-tile.mine-out { border-color: var(--red); }
.small-tiles .deal-tile { cursor: default; opacity: .7; padding: 10px 12px; }
.small-tiles .deal-tile:hover { transform: none; box-shadow: none; border-color: var(--line); }
@media (max-width: 560px) { .deal-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .deal-tile { padding: 11px; border-radius: 14px; } .deal-tile .t-time { font-size: 1.05rem; } .deal-tile .t-price b { font-size: 1.2rem; } .deal-tile .t-sports { display: none; } }
.deal-mine { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.deal-mine .deal-tile { flex: none; width: 200px; }
.deal-sub { font-size: 1rem; margin: 26px 0 0; }
#mine .deal-sub { margin-top: 4px !important; }
.deal-how { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.deal-how summary { cursor: pointer; font-weight: 700; }
.deal-how ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: .92rem; }
.buy-now { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }

/* Save-card option at checkout: only when paying with a new card online */
.paybox .save-card { display: none; margin-top: 12px; }
.paybox:has(input[name=pm][value=online]:checked) .save-card { display: flex; }
/* Radio buttons & checkboxes: no square focus box after clicking. Keyboard users get a ring around the whole option instead. */
input[type=radio]:focus, input[type=checkbox]:focus { box-shadow: none; outline: none; }
input[type=radio]:focus-visible, input[type=checkbox]:focus-visible { outline: none; }
.choice label:has(input:focus-visible), label.check:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Admin analytics */
.an-chart { position: relative; }
.an-tip { position: absolute; top: 0; width: 140px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .82rem; box-shadow: 0 6px 18px rgba(20,33,58,.12); pointer-events: none; }
.an-row { margin-bottom: 10px; }
.an-lab { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; margin-bottom: 4px; }
.an-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.an-track i { display: block; height: 100%; border-radius: 0 999px 999px 0; }
.stat small { display: block; margin-top: 2px; }
.seg[aria-label="Time range"] button { white-space: nowrap; padding: 8px 12px; }
