/* Sport On Team Avenue - shared styles */
:root {
  --brand: #0a8a57;
  --brand-dark: #076b43;
  --brand-soft: #e6f6ee;
  --ink: #0d1b2a;
  --ink-2: #1b2f45;
  --lime: #c6f135;
  --bg: #f2f5f3;
  --surface: #ffffff;
  --text: #13202e;
  --muted: #5f6b7a;
  --border: #e2e8e5;
  --danger: #d93f45;
  --danger-soft: #fdecec;
  --warn: #b26b00;
  --warn-soft: #fff4dc;
  --success: #138a4c;
  --success-soft: #e3f7eb;
  --info: #3346c4;
  --info-soft: #e9ecff;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
  --series-5: #e87ba4;
  --brand-bright: #19b877;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .05), 0 4px 16px rgba(13, 27, 42, .06);
  --shadow-lg: 0 12px 40px rgba(13, 27, 42, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Plus Jakarta Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; min-height: 100vh; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.2; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
.muted { color: var(--muted); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand img { width: 40px; height: 40px; flex: none; border-radius: 11px; box-shadow: 0 0 0 1px rgba(61,220,151,.25), 0 4px 14px rgba(0,0,0,.18); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 700; }
.brand.light { color: #fff; }
.brand.light .brand-text small { color: rgba(255,255,255,.7); }

/* ---------- Top bar ---------- */
.topbar { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--border); padding: 10px 24px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 40; }
.topbar .spacer { flex: 1; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--text); font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; position: relative; }
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav a.active { background: var(--ink); color: #fff; }
.wallet-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 13px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--ink-2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.menu-btn { display: none; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 24px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.section { margin-top: 20px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; }

.admin-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--ink); color: #c9d4df; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.sidebar .brand { padding: 4px 8px 20px; }
.sidebar a.link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: #c9d4df; font-weight: 600; transition: background .2s, color .2s, transform .2s var(--ease); }
.sidebar a.link svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.sidebar a.link:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(3px); }
.sidebar a.link.active { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(10,138,87,.4); }
.sidebar .side-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.sidebar .side-foot a { color: var(--lime); font-weight: 700; }
.admin-main { padding: 24px 28px 48px; min-width: 0; }
.admin-top { display: none; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border: 1px solid rgba(13,27,42,.04); min-width: 0; }
.card.flat { box-shadow: none; border-color: var(--border); }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.stat { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.stat .label .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.stat .label .ico svg { width: 16px; height: 16px; }
.stat .value { font-size: 28px; font-weight: 800; margin-top: 10px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.delta-up { color: var(--success); font-weight: 700; }
.delta-down { color: var(--danger); font-weight: 700; }

/* ---------- Forms ---------- */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,138,87,.14); }
input.invalid { border-color: var(--danger); animation: shake .35s; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; min-width: 0; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent; background: var(--brand) linear-gradient(110deg, var(--brand) 0%, var(--brand) 40%, var(--brand-bright) 60%, var(--brand-dark) 100%) 0 0 / 250% 100%; color: #fff; font: inherit; font-weight: 700; cursor: pointer; font-size: 14px; position: relative; overflow: hidden; transition: background-color .3s, background-position .5s var(--ease), color .25s, border-color .25s, transform .15s var(--ease), box-shadow .25s, opacity .2s; white-space: nowrap; }
.btn:hover { background-position: 100% 0; box-shadow: 0 6px 18px rgba(10,138,87,.28); }
.btn:hover svg { animation: nudge .5s var(--ease); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.btn svg { width: 16px; height: 16px; }
.btn.secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn.secondary:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand); box-shadow: 0 4px 14px rgba(10,138,87,.15); }
.btn.done, .btn.done:hover { background: var(--success); color: #fff; border-color: var(--success); box-shadow: 0 0 0 4px rgba(19,138,76,.18); animation: donePop .45s var(--ease); }
.btn.done svg { animation: pop .4s var(--ease); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: var(--ink-2); box-shadow: 0 6px 18px rgba(13,27,42,.3); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { background: #b5e021; box-shadow: 0 6px 18px rgba(198,241,53,.4); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #bd2f35; box-shadow: 0 6px 18px rgba(217,63,69,.3); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: var(--bg); box-shadow: none; }
.btn.small { padding: 7px 11px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn.lg { padding: 15px 22px; font-size: 16px; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s linear; pointer-events: none; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.secondary.loading::after { border-color: rgba(0,0,0,.15); border-top-color: var(--text); }

/* Chips / segmented */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; color: var(--text); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; animation: chipOn .35s var(--ease); }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
input[type=checkbox]:checked, input[type=radio]:checked { animation: pop .3s var(--ease); }
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg); border-radius: 12px; padding: 4px; gap: 4px; width: 100%; }
.segmented button { border: 0; background: transparent; padding: 10px 12px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .25s var(--ease); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.segmented button small { font-weight: 600; font-size: 12px; }
.segmented button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #f8faf9; }
tbody tr:last-child td { border-bottom: 0; }
td.actions { text-align: right; white-space: nowrap; }
td.actions .btn + .btn { margin-left: 4px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; opacity: .4; display: block; margin: 0 auto 8px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.confirmed, .badge.paid { background: var(--success-soft); color: var(--success); }
.badge.due, .badge.pending { background: var(--warn-soft); color: var(--warn); }
.badge.cancelled { background: var(--danger-soft); color: var(--danger); }
.badge.completed { background: var(--info-soft); color: var(--info); }
.badge.neutral { background: var(--bg); color: var(--muted); }

/* Switch */
.switch { position: relative; width: 42px; height: 24px; display: inline-block; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #cdd5d1; border-radius: 999px; cursor: pointer; transition: background .25s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 4px rgba(10,138,87,.2); }

/* ---------- Booking page ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 400px at 85% -20%, rgba(198,241,53,.35), transparent 60%), linear-gradient(120deg, var(--ink) 0%, #0e3a2c 55%, var(--brand) 120%); color: #fff; border-radius: 22px; padding: 36px 36px 32px; margin-bottom: 22px; }
.hero h1 { font-family: var(--display); font-size: 52px; text-transform: uppercase; letter-spacing: .01em; font-weight: 800; margin: 6px 0 8px; line-height: .95; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { margin: 0; color: rgba(255,255,255,.8); max-width: 520px; }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198,241,53,.6); animation: pulse 2s infinite; }
.hero-art { position: absolute; right: -40px; top: -40px; width: 340px; height: 340px; opacity: .14; animation: float 9s ease-in-out infinite; pointer-events: none; }
.hero-stats { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; }
.hero-stats div span { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 600; }

.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.step-title .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.facility { border: 1.5px solid var(--border); border-radius: 14px; padding: 14px; cursor: pointer; background: #fff; text-align: left; font: inherit; color: inherit; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; position: relative; overflow: hidden; }
.facility:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 10px 24px rgba(13,27,42,.08); }
.facility .sport-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; transition: transform .4s var(--ease); }
.facility:hover .sport-ico { transform: rotate(-10deg) scale(1.08); }
.facility .sport-ico svg { width: 22px; height: 22px; }
.facility .sport-ico.cricket { background: #fff1e6; color: #c2410c; }
.facility .sport-ico.football { background: #e8f0ff; color: #2952cc; }
.facility .sport-ico.padel { background: #effbd3; color: #4d7c0f; }
.facility .sport-ico.futsal { background: #e3f6fb; color: #0e7490; }
.facility .sport-ico.foosball { background: #f6e9fb; color: #8e3fae; }
.facility b { display: block; font-size: 15px; }
.facility small { color: var(--muted); font-weight: 600; }
.facility.active { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(13,27,42,.25); }
.facility.active small { color: rgba(255,255,255,.7); }
.facility.active::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1b2a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; animation: pop .35s var(--ease); }

.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-pill { flex: none; width: 62px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; text-align: center; cursor: pointer; font: inherit; color: inherit; scroll-snap-align: start; transition: all .2s var(--ease); }
.date-pill small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.date-pill b { display: block; font-size: 20px; font-family: var(--display); line-height: 1.1; }
.date-pill:hover { border-color: var(--brand); }
.date-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10,138,87,.3); }
.date-pill.active small { color: rgba(255,255,255,.85); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot { padding: 11px 6px; border: 1.5px solid var(--border); border-radius: 12px; text-align: center; cursor: pointer; background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--text); transition: all .2s var(--ease); animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.slot small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.slot:hover:not(:disabled) { border-color: var(--brand); transform: translateY(-2px); }
.slot:disabled { background: repeating-linear-gradient(-45deg, #f4f6f5, #f4f6f5 6px, #eceff0 6px, #eceff0 12px); color: #a3acb5; cursor: not-allowed; }
.slot:disabled small { color: #a3acb5; }
.slot.selected { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.04); box-shadow: 0 8px 18px rgba(13,27,42,.25); }
.slot.selected small { color: var(--lime); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border); display: inline-block; }
.legend i.sel { background: var(--ink); border-color: var(--ink); }
.legend i.off { background: repeating-linear-gradient(-45deg, #f4f6f5, #f4f6f5 3px, #dfe3e5 3px, #dfe3e5 6px); }

.summary { position: sticky; top: 80px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.summary-line span:first-child { color: var(--muted); }
.summary-line span:last-child { font-weight: 600; text-align: right; }
.summary-line.discount span:last-child { color: var(--success); }
.summary-total { border-top: 1.5px dashed var(--border); margin-top: 8px; padding-top: 12px; font-size: 18px; }
.summary-total span:first-child { color: var(--text) !important; font-weight: 800; }
.summary-total span:last-child { font-weight: 800 !important; }
.pay-now { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; margin: 12px 0; }
.pay-now b { font-size: 20px; font-family: var(--display); letter-spacing: .02em; }
.flash { animation: flash .6s; }
.offer-list { display: grid; gap: 8px; }
.offer { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .2s; font-size: 14px; }
.offer:hover { border-color: var(--brand); }
.offer input { width: auto; margin: 0; accent-color: var(--brand); }
.offer .pct { margin-left: auto; font-weight: 800; color: var(--brand-dark); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.offer.active { border-color: var(--brand); background: var(--brand-soft); }

/* Payment card preview */
.card-visual { perspective: 1000px; margin-bottom: 14px; }
.card-inner { position: relative; height: 170px; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.card-visual.flip .card-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; border-radius: 16px; padding: 18px; color: #fff; backface-visibility: hidden; background: linear-gradient(135deg, var(--ink) 0%, #12503a 60%, var(--brand) 100%); box-shadow: 0 14px 30px rgba(13,27,42,.3); overflow: hidden; display: flex; flex-direction: column; }
.card-face::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(198,241,53,.16); right: -70px; top: -90px; }
.card-face .chip-ic { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f5d77a, #c99a2e); margin-top: 10px; }
.card-face .cnum { font-family: "Courier New", monospace; font-size: 19px; letter-spacing: .12em; margin-top: auto; font-weight: 700; }
.card-face .cmeta { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-top: 10px; opacity: .9; gap: 10px; }
.card-face .cbank { font-weight: 800; font-size: 13px; letter-spacing: .04em; position: relative; }
.card-back { transform: rotateY(180deg); padding: 0; }
.card-back .strip { height: 38px; background: #050b12; margin-top: 22px; }
.card-back .cvv { margin: 16px 18px 0 auto; background: #fff; color: var(--ink); width: 70px; padding: 6px; text-align: right; font-family: monospace; font-weight: 700; border-radius: 4px; }
.demo-note { font-size: 12px; background: var(--warn-soft); color: var(--warn); padding: 8px 10px; border-radius: 8px; margin-bottom: 12px; font-weight: 600; }

/* ---------- Customer portal ---------- */
.wallet-card { position: relative; overflow: hidden; color: #fff; border-radius: 22px; padding: 26px; background: radial-gradient(500px 220px at 100% 0%, rgba(198,241,53,.35), transparent 60%), linear-gradient(135deg, var(--ink), #0f4a35 70%, var(--brand)); box-shadow: 0 18px 40px rgba(13,27,42,.25); }
.wallet-card .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; color: var(--lime); }
.wallet-card .bal { font-family: var(--display); font-size: 54px; font-weight: 800; line-height: 1; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.wallet-card .bal small { font-size: 22px; opacity: .8; margin-right: 6px; }
.wallet-card .shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%); transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite 1s; pointer-events: none; }
.wallet-card .ball { position: absolute; right: -30px; bottom: -40px; width: 170px; opacity: .15; animation: spin 40s linear infinite; }
.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 12px 16px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; position: relative; white-space: nowrap; }
.tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1.5px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs button.active { color: var(--ink); }
.tabs button.active::after { transform: scaleX(1); }
.tabs .count { background: var(--bg); padding: 1px 7px; border-radius: 999px; font-size: 12px; margin-left: 4px; }
.booking-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 16px; border: 1.5px solid var(--border); border-radius: 16px; background: #fff; margin-bottom: 10px; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.booking-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.date-badge { width: 64px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; padding: 8px 0; }
.date-badge small { display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; color: var(--lime); letter-spacing: .08em; }
.date-badge b { display: block; font-family: var(--display); font-size: 26px; line-height: 1; }
.booking-item h3 { margin: 0 0 2px; }
.booking-item .meta { font-size: 13px; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.booking-item .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tx { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.tx:last-child { border-bottom: 0; }
.tx .tico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tx .tico svg { width: 18px; height: 18px; }
.tx .tico.in { background: var(--success-soft); color: var(--success); }
.tx .tico.out { background: var(--bg); color: var(--ink); }
.tx .amt { margin-left: auto; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx .amt.in { color: var(--success); }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }

/* ---------- Bars (utilization, facility revenue) ---------- */
.bar-row { display: grid; grid-template-columns: 130px minmax(0,1fr) 64px; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; }
.bar-row .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--brand); transition: width 1s var(--ease); }
.bar-row .val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Revenue chart ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: 280px; overflow: visible; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .bar { fill: var(--brand); transition: fill .15s; }
.chart .bar.neg { fill: var(--danger); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:hover + .bar, .chart .bar.hover { fill: var(--ink); }
.chart .grow { transform-box: fill-box; transform-origin: bottom; animation: grow .8s var(--ease) both; }
.chart .baseline { stroke: #9aa6b2; stroke-width: 1; }
.chart .bar.hover { fill: var(--ink); }
.chart .area-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; animation: draw 1.4s var(--ease) both; }
.chart .area-fill { animation: fade 1.2s .3s both; }
.chart .crosshair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .15s; }
.chart .crosshair.on { opacity: .5; }
.chart .cross-dot { fill: #fff; stroke-width: 2.5; transition: cx .08s, cy .08s; }
.chart.short svg { height: 200px; }
.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut { position: relative; width: 180px; height: 180px; flex: none; margin: 0 auto; }
.donut svg { width: 100%; height: 100%; display: block; }
.donut .seg { animation: sweep 1.1s var(--ease) both; transition: opacity .2s, stroke-width .2s; cursor: pointer; }
.donut .seg:hover { stroke-width: 30; }
.donut .seg.dim, .donut-legend .key.dim { opacity: .3; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center small { color: var(--muted); font-size: 12px; font-weight: 600; }
.donut-center b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.donut-legend { flex: 1; min-width: 180px; }
.donut-legend .key { transition: opacity .2s; cursor: default; border-radius: 8px; padding: 6px 8px; }
.donut-legend .key:hover { background: var(--bg); }
.bar-fill.sport { background: linear-gradient(90deg, var(--brand), var(--brand-bright)); }

/* Loyalty */
.loyalty { border: 1.5px dashed #b9dccb; background: linear-gradient(135deg, #f4fbf7, #fbfff0); border-radius: 14px; padding: 14px; margin: 14px 0 4px; }
.loyalty.ready { border: 1.5px solid var(--lime); background: linear-gradient(135deg, #0d1b2a, #0e3a2c); color: #fff; animation: glow 2.4s ease-in-out infinite; }
.loy-head { display: flex; gap: 10px; align-items: center; }
.loy-head b { display: block; font-size: 14px; }
.loy-head small { display: block; font-size: 12px; color: var(--muted); }
.loyalty.ready .loy-head small, .loyalty.ready .loy-foot { color: rgba(255,255,255,.75); }
.loy-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.loyalty.ready .loy-ico { background: var(--lime); color: var(--ink); }
.loy-ico svg { width: 18px; height: 18px; }
.loy-dots { display: flex; gap: 6px; margin: 12px 0 6px; }
.loy-dots i { flex: 1; height: 8px; border-radius: 999px; background: var(--border); }
.loy-dots i.on { background: linear-gradient(90deg, var(--brand), var(--brand-bright)); animation: dotOn .5s var(--ease) both; animation-delay: var(--d); }
.loyalty.ready .loy-dots i { background: rgba(255,255,255,.18); }
.loyalty.ready .loy-dots i.on { background: var(--lime); }
.loy-foot { font-size: 12px; color: var(--muted); }
.summary-line.discount.loyalty-line span:first-child::before { content: "★ "; color: #c9a100; }
.tooltip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, -100%) translateY(-6px); transition: opacity .15s; white-space: nowrap; z-index: 5; }
.tooltip.show { opacity: 1; }
.tooltip b { display: block; font-size: 15px; }
.tooltip .tl { color: #b9c5d1; font-size: 12px; }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--surface); margin: 6px 0 14px; }
.split-bar div { transition: flex-grow 1s var(--ease); min-width: 0; }
.split-bar div:first-child { border-radius: 999px 0 0 999px; }
.split-bar div:last-child { border-radius: 0 999px 999px 0; }
.key { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.key i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.key b { margin-left: auto; font-variant-numeric: tabular-nums; }
.range-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.range-bar .field { margin: 0; }
.range-bar input[type=date] { width: 160px; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(8,17,27,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; z-index: 100; animation: fade .2s both; overflow-y: auto; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); animation: modalIn .35s var(--ease) both; max-height: calc(100vh - 32px); display: flex; flex-direction: column; }
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-head .x { margin-left: auto; border: 0; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); transition: transform .2s, background .2s; }
.modal-head .x:hover { transform: rotate(90deg); background: var(--border); }
.modal-body { padding: 16px 20px; overflow-y: auto; }
.modal-foot { padding: 0 20px 20px; display: flex; gap: 8px; justify-content: flex-end; }
.modal-back.closing { animation: fade .2s reverse both; }
.modal-back.closing .modal { animation: modalIn .2s reverse both; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; display: flex; gap: 10px; align-items: center; animation: toastIn .4s var(--ease) both; max-width: 380px; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.toast.error::before { background: #ff7b80; }
.toast.out { animation: toastOut .3s ease both; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 40px; display: flex; flex-direction: column; background: radial-gradient(700px 400px at 90% 10%, rgba(198,241,53,.3), transparent 60%), linear-gradient(140deg, var(--ink), #0e3a2c 60%, var(--brand)); }
.auth-side h1 { font-family: var(--display); font-size: 64px; text-transform: uppercase; line-height: .92; margin: auto 0 16px; max-width: 520px; }
.auth-side h1 em { font-style: normal; color: var(--lime); }
.auth-side p { color: rgba(255,255,255,.78); max-width: 440px; margin: 0; }
.auth-side .orb { position: absolute; border-radius: 50%; border: 2px solid rgba(198,241,53,.25); animation: float 10s ease-in-out infinite; }
.auth-main { display: grid; place-items: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .segmented { margin: 18px 0 20px; }
.form-anim { animation: rise .4s var(--ease) both; }
.error-box { background: var(--danger-soft); color: var(--danger); padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 12px; animation: shake .35s; }
.demo-creds { font-size: 12px; color: var(--muted); background: var(--bg); padding: 10px 12px; border-radius: 10px; margin-top: 16px; }

/* ---------- Skeleton ---------- */
.skeleton { background: linear-gradient(90deg, #eef1ef 0%, #f7f9f8 50%, #eef1ef 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; min-height: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,241,53,.6); } 70% { box-shadow: 0 0 0 10px rgba(198,241,53,0); } 100% { box-shadow: 0 0 0 0 rgba(198,241,53,0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translateY(2px) scale(1.12); } }
@keyframes donePop { 0% { transform: scale(.94); } 60% { transform: scale(1.05); } 100% { transform: none; } }
@keyframes chipOn { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sweep { from { stroke-dasharray: 0 var(--C); } }
@keyframes dotOn { 0% { transform: scale(0); background: var(--border); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(198,241,53,.0); } 50% { box-shadow: 0 0 0 6px rgba(198,241,53,.35); } }
@keyframes flash { 0% { background: transparent; } 30% { background: var(--brand-soft); } 100% { background: transparent; } }

.acct-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); align-items: start; }
.dash-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }

td.num { white-space: nowrap; }
.grid-6 .stat .value { font-size: 22px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-2, .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; width: 260px; z-index: 90; transform: translateX(-100%); transition: transform .35s var(--ease); }
  body.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8,17,27,.45); z-index: 80; }
  .admin-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--ink); position: sticky; top: 0; z-index: 70; }
  .admin-main { padding: 20px 16px 40px; }
  .menu-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 20px; min-height: 260px; }
  .auth-side h1 { font-size: 44px; margin-top: 40px; }
}
@media (max-width: 640px) {
  .container { padding: 16px; }
  .topbar { padding: 10px 16px; gap: 8px; }
  .topbar .nav a:not(.keep) { display: none; }
  .brand-text small { display: none; }
  .grid-4, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 26px 20px; border-radius: 18px; }
  .hero h1 { font-size: 40px; }
  .booking-item { grid-template-columns: 56px minmax(0,1fr); }
  .booking-item .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .date-badge { width: 56px; }
  .field-row { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 100px minmax(0,1fr) 56px; }
  .stat .value { font-size: 22px; }
  .wallet-card .bal { font-size: 42px; }
  .range-bar input[type=date] { width: 100%; }
  .range-bar .field { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .no-print { display: none !important; }
}
.sport-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; flex: none; }

/* ---------- Member card ---------- */
.member-wrap { perspective: 1200px; }
.member-card { --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; position: relative; aspect-ratio: 1.586; width: 100%; max-width: 440px; margin: 0 auto; cursor: pointer; outline: none; border-radius: 20px; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; transform-style: preserve-3d; animation: cardDeal .9s var(--ease) both; }
.member-card:focus-visible { box-shadow: 0 0 0 4px rgba(61,220,151,.45); }
.mc-inner { position: absolute; inset: 0; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.member-card.flipped .mc-inner { transform: rotateY(180deg); }
.mc-face { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: #fff; padding: 20px 22px; display: flex; flex-direction: column;
  background: radial-gradient(420px 220px at 105% -10%, rgba(61,220,151,.35), transparent 60%), radial-gradient(300px 200px at -10% 120%, rgba(25,184,119,.28), transparent 60%), linear-gradient(135deg, #05080b 0%, #0d1b2a 55%, #0b2a20 100%);
  box-shadow: 0 18px 40px rgba(5,8,11,.35), inset 0 0 0 1px rgba(61,220,151,.22); }
.mc-back { transform: rotateY(180deg); padding: 0; }
.mc-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(255,255,255,.16), transparent 55%); mix-blend-mode: screen; }
.mc-lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(61,220,151,.05) 22px 23px); }
.mc-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.14) 48%, transparent 60%); transform: translateX(-120%); animation: shine 5s ease-in-out 1.2s infinite; }
.mc-top { display: flex; align-items: flex-start; justify-content: space-between; position: relative; }
.mc-logo { height: 54px; width: auto; animation: neon 3s ease-in-out infinite; margin: -6px 0 0 -6px; }
.mc-tier { font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #05080b; background: linear-gradient(90deg, #3ddc97, var(--lime)); padding: 4px 10px; border-radius: 999px; }
.mc-bal-lbl { margin-top: auto; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: #3ddc97; position: relative; }
.mc-bal { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; margin: 4px 0 12px; font-variant-numeric: tabular-nums; position: relative; }
.mc-bal small { font-size: 18px; opacity: .75; margin-right: 6px; }
.mc-bottom { display: flex; justify-content: space-between; gap: 12px; position: relative; }
.mc-bottom small, .mc-back-row { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; display: block; }
.mc-bottom b { display: block; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.mc-id { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .12em !important; }
.mc-id.big { font-size: 18px; font-weight: 700; text-align: center; margin: 6px 0 10px; color: #3ddc97; }
.mc-strip { height: 38px; background: #000; margin-top: 18px; }
.mc-back-body { padding: 14px 22px; position: relative; }
.mc-barcode { background: #fff; border-radius: 8px; padding: 8px 12px; height: 56px; }
.mc-barcode svg { width: 100%; height: 100%; fill: #05080b; display: block; }
.mc-back-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; color: rgba(255,255,255,.85); }
.mc-back-row.muted { color: rgba(255,255,255,.5); }
.mc-mark { position: absolute; right: 16px; top: 24px; width: 26px; height: 26px; border-radius: 7px; }
.mc-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.mc-pending { text-align: center; font-size: 13px; color: var(--warn); font-weight: 700; margin-top: 8px; }
.member-tag { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; font-weight: 700; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; color: var(--ink); white-space: nowrap; }
@keyframes cardDeal { from { opacity: 0; transform: translateY(30px) rotateX(35deg) scale(.9); } to { opacity: 1; } }
@keyframes neon { 0%, 100% { filter: drop-shadow(0 0 4px rgba(61,220,151,.45)); } 50% { filter: drop-shadow(0 0 10px rgba(61,220,151,.85)); } }
@media (max-width: 520px) { .mc-mark { top: 13px; } .mc-bal { font-size: 34px; } .mc-logo { height: 42px; } .mc-face { padding: 16px; } .mc-bottom b { font-size: 13px; max-width: 150px; } .mc-strip { margin-top: 12px; height: 28px; } .mc-back-body { padding: 10px 16px; } .mc-barcode { height: 44px; } }

/* ---------- Top-ups (proof of payment) ---------- */
.nav-badge { margin-left: auto; font-style: normal; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; box-shadow: 0 0 0 3px rgba(217,63,69,.25); }
.nav-badge.bump { animation: badgeBump .6s var(--ease); }
@keyframes badgeBump { 0% { transform: scale(.4); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.pay-acct { border: 1.5px solid var(--border); border-radius: 14px; padding: 12px 14px; background: linear-gradient(135deg, #f7fbf9, #fff); margin-bottom: 14px; animation: rise .35s var(--ease) both; }
.pay-acct .pa-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.pay-acct .pa-row span { color: var(--muted); min-width: 92px; font-size: 13px; }
.pay-acct .pa-row b { font-variant-numeric: tabular-nums; word-break: break-all; }
.pay-acct .copy { margin-left: auto; border: 0; background: var(--brand-soft); color: var(--brand-dark); border-radius: 8px; padding: 4px 9px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; transition: background .2s, transform .15s; flex: none; }
.pay-acct .copy svg { width: 13px; height: 13px; }
.pay-acct .copy:hover { background: #cdeedd; }
.pay-acct .copy.ok { background: var(--success); color: #fff; animation: pop .3s var(--ease); }
.dropzone { border: 2px dashed #b9cfc4; border-radius: 14px; padding: 18px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; background: #fafcfb; position: relative; font-size: 14px; }
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: var(--brand-soft); transform: scale(1.01); }
.dropzone svg { width: 30px; height: 30px; color: var(--brand); display: block; margin: 0 auto 6px; }
.dropzone.has-file { border-style: solid; border-color: var(--brand); padding: 10px; }
.dropzone img.preview { max-height: 180px; max-width: 100%; border-radius: 10px; display: block; margin: 0 auto 6px; animation: pop .35s var(--ease); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.req { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; background: #fff; animation: rise .35s var(--ease) both; }
.req .tico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--warn-soft); color: var(--warn); }
.req .tico svg { width: 18px; height: 18px; }
.req.approved .tico { background: var(--success-soft); color: var(--success); }
.req.rejected .tico { background: var(--danger-soft); color: var(--danger); }
.req .why { font-size: 13px; color: var(--danger); margin-top: 2px; }
.req-head { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 14px; font-weight: 800; }
/* Admin request cards */
.topup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 16px; }
.treq { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; animation: rise .4s var(--ease) both; transition: transform .3s var(--ease), opacity .3s, box-shadow .25s; }
.treq:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.treq.leaving { opacity: 0; transform: scale(.94) translateY(-6px); }
.treq .proof { height: 190px; background: #0d1b2a; display: grid; place-items: center; cursor: zoom-in; position: relative; overflow: hidden; border: 0; padding: 0; width: 100%; }
.treq .proof img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.treq .proof:hover img { transform: scale(1.05); }
.treq .proof .pdf { color: #fff; text-align: center; font-weight: 700; }
.treq .proof .pdf svg { width: 40px; height: 40px; display: block; margin: 0 auto 6px; color: #3ddc97; }
.treq .proof .meth { position: absolute; left: 10px; top: 10px; background: rgba(13,27,42,.85); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.treq .tbody { padding: 14px 16px; flex: 1; }
.treq .amt { font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1; }
.treq .kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; }
.treq .kv span { color: var(--muted); }
.treq .kv b { text-align: right; word-break: break-all; }
.treq .warn { background: var(--warn-soft); color: var(--warn); font-size: 12px; font-weight: 700; border-radius: 8px; padding: 6px 10px; margin-top: 8px; }
.treq .tfoot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,8,11,.85); display: grid; place-items: center; padding: 20px; animation: fade .2s both; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease) both; }
.alert-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, #fff4dc, #fffaf0); border: 1px solid #f3d9a4; margin-bottom: 18px; animation: rise .4s var(--ease) both; }
.alert-bar svg { width: 20px; height: 20px; color: var(--warn); flex: none; }
@media (max-width: 520px) { .topbar .nav a, .wallet-chip, .brand-text b { white-space: nowrap; } .brand-text b { font-size: 18px; } .brand img { width: 34px; height: 34px; } .topbar .nav a { padding: 8px 12px; font-size: 14px; } .wallet-chip { font-size: 12px; padding: 6px 10px; } }
@media (max-width: 420px) { .topbar .brand-text { display: none; } }

/* ---------- Peak / off-peak ---------- */
.slot { position: relative; }
.slot .slot-tag { position: absolute; top: -8px; right: 6px; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; line-height: 1.3; animation: pop .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.slot.peak .slot-tag { background: #fff1e6; color: #c2410c; box-shadow: 0 0 0 1px #fcd9bd; }
.slot.offpeak .slot-tag { background: #e6f4ff; color: #1d5fae; box-shadow: 0 0 0 1px #c3ddf7; }
.slot.peak:not(:disabled) { border-color: #fbd5b5; }
.slot.offpeak:not(:disabled) { border-color: #c3ddf7; }
.rule-chip { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; margin-right: 4px; }
.rule-chip.peak { background: #fff1e6; color: #c2410c; }
.rule-chip.offpeak { background: #e6f4ff; color: #1d5fae; }
#ruleRow { font-size: 13px; padding-top: 0; }
.day-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.day-chips .chip { padding: 6px 11px; font-size: 13px; }

/* ---------- Weekly repeat ---------- */
.repeat-box { margin-top: 16px; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px 14px; transition: border-color .25s, background .25s; }
.repeat-box:has(#repeatOn:checked) { border-color: var(--brand); background: linear-gradient(135deg, #f4fbf7, #fff); }
.repeat-toggle { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.repeat-toggle b { display: block; font-size: 14px; }
.repeat-toggle small { display: block; font-size: 12px; color: var(--muted); }
#repeatBody .field { margin-bottom: 8px; }
#repeatBody .segmented button { padding: 8px 6px; font-size: 13px; }
.week-list { display: flex; flex-wrap: wrap; gap: 6px; }
.wk { display: inline-flex; flex-direction: column; align-items: center; padding: 6px 9px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; line-height: 1.2; animation: pop .35s var(--ease) both; animation-delay: var(--d); }
.wk small { font-size: 10px; font-weight: 600; opacity: .85; }
.wk.busy { background: var(--bg); color: var(--muted); text-decoration: line-through; }
.segmented.dim { opacity: .45; pointer-events: none; }
.segmented button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Split ---------- */
.split-box { border: 1.5px dashed #b9cfc4; border-radius: 14px; padding: 12px 14px; margin: -4px 0 14px; background: #fafcfb; animation: rise .35s var(--ease) both; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 999px; padding: 3px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); transition: transform .15s; }
.stepper button:active { transform: scale(.9); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper b { min-width: 28px; text-align: center; padding: 0 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.split-faces { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; }
.split-faces .face { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 52px; border-radius: 12px; background: #fff; border: 1.5px solid var(--border); font-weight: 800; font-size: 13px; animation: pop .35s var(--ease) both; animation-delay: var(--d); }
.split-faces .face small { font-size: 10px; color: var(--muted); font-weight: 700; }
.split-faces .face.me { background: var(--ink); color: #fff; border-color: var(--ink); }
.split-faces .face.me small { color: var(--lime); }
.split-page { max-width: 1040px; padding-top: 24px; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.split-hero { color: #fff; border-radius: 22px; padding: 24px; position: relative; overflow: hidden; animation: rise .5s var(--ease) both;
  background: radial-gradient(500px 240px at 100% 0%, rgba(61,220,151,.28), transparent 60%), linear-gradient(135deg, #05080b, #0d1b2a 55%, #0b2a20); }
.sh-top { display: flex; gap: 14px; align-items: center; }
.sh-top .sport-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.1); color: #3ddc97; }
.sh-top .sport-ico svg { width: 26px; height: 26px; }
.sh-top small { color: #3ddc97; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sh-top h2 { margin: 2px 0; font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.sh-when { color: rgba(255,255,255,.8); font-size: 14px; }
.sh-progress { display: flex; align-items: center; gap: 20px; margin: 22px 0 18px; flex-wrap: wrap; }
.ring-wrap { position: relative; width: 120px; height: 120px; flex: none; }
.ring { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 10; }
.ring-fg { fill: none; stroke: #3ddc97; stroke-width: 10; stroke-linecap: round; animation: sweep 1.2s var(--ease) both; filter: drop-shadow(0 0 6px rgba(61,220,151,.6)); }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-txt b { font-family: var(--display); font-size: 34px; line-height: 1; }
.ring-txt small { color: rgba(255,255,255,.7); font-size: 12px; }
.sh-money { display: grid; gap: 8px; flex: 1; min-width: 160px; }
.sh-money small { display: block; color: rgba(255,255,255,.6); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.sh-money b { font-size: 18px; font-variant-numeric: tabular-nums; }
.sh-players { display: flex; flex-wrap: wrap; gap: 10px; }
.pl { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; animation: pop .4s var(--ease) both; animation-delay: var(--d); }
.pl i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 17px; border: 2px dashed rgba(255,255,255,.35); color: rgba(255,255,255,.6); }
.pl.paid i { border: 0; background: linear-gradient(135deg, #3ddc97, var(--lime)); color: #05080b; box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.pl small { font-size: 11px; color: rgba(255,255,255,.75); max-width: 64px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-timer { margin-top: 18px; display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; }
.sh-timer svg { width: 16px; height: 16px; flex: none; color: #3ddc97; }
.sh-timer.urgent { background: rgba(217,63,69,.25); }
.sh-timer.urgent svg { color: #ff8a8f; animation: pulse 1.2s infinite; border-radius: 50%; }
.sh-state { margin-top: 18px; display: flex; gap: 10px; align-items: center; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.sh-state svg { width: 20px; height: 20px; flex: none; }
.sh-state.ok { background: rgba(61,220,151,.18); color: #b8ffde; }
.sh-state.bad { background: rgba(217,63,69,.22); color: #ffd0d2; }
.split-side h2 { margin-bottom: 12px; }
.share-link { display: flex; gap: 8px; }
.share-link input { flex: 1; min-width: 0; font-size: 13px; background: var(--bg); }
.share-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.btn.wa { background: #25d366; color: #fff; flex: 1; }
.btn.wa:hover { background: #1ebe5b; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
hr.soft { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
.split-done .tick { background: linear-gradient(135deg, var(--brand), #3ddc97) !important; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.confetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; background: var(--c); border-radius: 2px; animation: confetti 2.2s cubic-bezier(.2,.6,.4,1) var(--d) forwards; }
@keyframes confetti { to { transform: translateY(105vh) rotate(var(--r)); opacity: .9; } }
@media (max-width: 860px) { .split-grid { grid-template-columns: minmax(0, 1fr); } .sh-top h2 { font-size: 24px; } }

/* ---------- Badges for new booking states ---------- */
.badge.held { background: #efe9ff; color: #5b3fd1; }
.tag-mini { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.tag-mini.series { background: #e9f6ef; color: var(--brand-dark); }
.tag-mini.desk { background: #fff4dc; color: var(--warn); }
.tag-mini.split { background: #efe9ff; color: #5b3fd1; }

/* ---------- Walk-in modal ---------- */
.cust-results { border: 1px solid var(--border); border-radius: 12px; margin-top: 6px; max-height: 210px; overflow: auto; }
.cust-results button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 12px; border: 0; background: #fff; font: inherit; text-align: left; cursor: pointer; border-bottom: 1px solid var(--border); transition: background .15s; }
.cust-results button:last-child { border-bottom: 0; }
.cust-results button:hover { background: var(--brand-soft); }
.picked { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); animation: pop .3s var(--ease); }
.mini-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; }
.mini-slots .slot { padding: 8px 4px; font-size: 13px; }
.walkin-total { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.walkin-total b { font-family: var(--display); font-size: 26px; }
.modal.xl { max-width: 760px; }

/* ---------- Messages ---------- */
.msg-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; background: #fff; animation: rise .35s var(--ease) both; }
.msg-row .mi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e7f9ee; color: #128c4b; }
.msg-row .mi svg { width: 18px; height: 18px; }
.msg-row.failed .mi { background: var(--danger-soft); color: var(--danger); }
.msg-body { white-space: pre-wrap; font-size: 13px; background: #f0fdf4; border-radius: 4px 12px 12px 12px; padding: 9px 12px; margin-top: 6px; color: #1f2d27; border: 1px solid #d6f2e0; }
.msg-meta { font-size: 12px; color: var(--muted); }
.msg-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.provider-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.provider-cards label { border: 1.5px solid var(--border); border-radius: 12px; padding: 12px; cursor: pointer; transition: border-color .2s, background .2s; display: block; }
.provider-cards label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.provider-cards input { margin-right: 6px; }
.provider-cards small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.kind-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kind-list label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
@media (max-width: 700px) { .provider-cards, .kind-list { grid-template-columns: minmax(0, 1fr); } .msg-row { grid-template-columns: minmax(0, 1fr); } .msg-row .mi { display: none; } .msg-actions { flex-direction: row; flex-wrap: wrap; } }
.nav-badge.green { background: #25d366; box-shadow: 0 0 0 3px rgba(37,211,102,.25); }
.success-burst { text-align: center; margin-bottom: 18px; animation: rise .5s var(--ease) both; }
.success-burst .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin: 0 auto 8px; animation: pop .5s var(--ease) both; box-shadow: 0 0 0 8px rgba(10,138,87,.15); }
.success-burst .tick svg { width: 28px; height: 28px; }
.settings-card > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.settings-card > summary::-webkit-details-marker { display: none; }
.settings-card > summary h2 { margin: 0; }
.settings-card > summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform .25s var(--ease); }
.settings-card[open] > summary { margin-bottom: 14px; }
.settings-card[open] > summary::after { transform: rotate(180deg); }
.provider-cards input, .kind-list input { width: auto; flex: none; margin: 0 6px 0 0; }
.provider-cards label > b { vertical-align: middle; }
.kind-list label { justify-content: flex-start; font-weight: 600; }
/* ---------- Multi-hour selection ---------- */
.slot.selected.range-start { border-top-right-radius: 4px; border-bottom-right-radius: 4px; }
.slot.selected.range-end { border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
.slot.selected.range-mid { border-radius: 4px; }
.slot.selected.range-start, .slot.selected.range-mid, .slot.selected.range-end { box-shadow: 0 0 0 3px rgba(198,241,53,.55); animation: pop .3s var(--ease); }
.dur-hint { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 13px; color: var(--muted); transition: background .25s, color .25s; }
.dur-hint.active { background: var(--ink); color: #fff; animation: rise .3s var(--ease) both; }
.dur-hint.active b { color: var(--lime); }
.dur-ico { flex: none; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); }
.dur-hint.active .dur-ico { background: var(--lime); color: var(--ink); }
.hour-break { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
.hour-break span { display: inline-flex; align-items: center; gap: 4px; }
/* ---------- Top-up approval target ---------- */
.sla-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; margin-bottom: 16px; border-left: 4px solid var(--brand); transition: border-color .3s; }
.sla-bar.late { border-left-color: var(--danger); }
.sla-bar b { display: block; font-size: 14px; }
.sla-bar small { color: var(--muted); font-size: 13px; }
.sla-bar.late small { color: var(--danger); font-weight: 600; }
.sla-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.sla-bar.late .sla-ico { background: var(--danger-soft); color: var(--danger); animation: pulse 2s infinite; }
.sla-ico svg { width: 18px; height: 18px; }
.sla-input { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.sla-input input { width: 74px; padding: 7px 8px; text-align: center; }
.sla { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12px; border-radius: 10px; padding: 8px 10px 11px; margin: 6px 0 2px; overflow: hidden; }
.sla svg { width: 15px; height: 15px; flex: none; }
.sla i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); border-radius: 0 3px 3px 0; transition: width .6s var(--ease); }
.sla.ok { background: var(--success-soft); color: var(--success); }
.sla.ok i { background: var(--success); }
.sla.soon { background: var(--warn-soft); color: var(--warn); }
.sla.soon i { background: var(--warn); }
.sla.late { background: var(--danger-soft); color: var(--danger); animation: shake .5s 1; }
.sla.late i { background: var(--danger); }
.nav-badge.late { animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(217,63,69,.6); } 70% { box-shadow: 0 0 0 8px rgba(217,63,69,0); } 100% { box-shadow: 0 0 0 0 rgba(217,63,69,0); } }
.alert-bar.late { background: linear-gradient(90deg, #fdecec, #fff6f6); border-color: #f3b9bc; }
.alert-bar.late svg { color: var(--danger); }
.late-txt { color: var(--danger); }
.req-wait { font-size: 12px; color: var(--warn); margin-top: 3px; }
/* ---------- 30-minute slots ---------- */
.slots { grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.slot { padding: 9px 4px; font-size: 13px; }
.slot i { font-style: normal; font-size: 10px; font-weight: 700; opacity: .7; }
.slot.half { background: #fbfcfb; font-weight: 600; color: #3c4a57; }
.slot.half:disabled { background: repeating-linear-gradient(-45deg, #f4f6f5, #f4f6f5 6px, #eceff0 6px, #eceff0 12px); }
.slot.half.selected { background: var(--ink); color: #fff; }
.mini-slots { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
.dur-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; }
.dur-chips .chip { padding: 6px 12px; font-size: 13px; }
.dur-chips .chip:disabled { opacity: .35; cursor: not-allowed; border-color: var(--border); color: var(--muted); }
.dur-lbl { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
/* ---------- Staff roles: hide what this login can't do (the server refuses it anyway) ---------- */
.no-desk #walkIn, .no-desk #newBooking, .no-desk #addBtn, .no-desk [data-act], .no-desk [data-topup], .no-desk [data-approve], .no-desk [data-reject], .no-desk [data-wa],
.no-finance_edit #addExp, .no-finance_edit.page-finance [data-del],
.no-pricing.page-promotions .admin-main .btn,
.no-settings #slaSave, .no-settings #saveAccts, .no-settings #saveBtn, .no-settings #testBtn, .no-settings #testEmailBtn,
.no-staff .needs-staff, .no-view_finance .card:has(#trend) { display: none !important; }
.no-pricing.page-promotions .admin-main input, .no-pricing.page-promotions .admin-main select, .no-pricing.page-promotions .switch, .no-pricing.page-promotions .chip,
.no-settings #settingsCard input, .no-settings #settingsCard select, .no-settings #settingsCard .segmented, .no-settings #settingsCard .provider-cards,
.no-settings #acctRows input, .no-settings #slaMin { pointer-events: none; opacity: .65; }
.no-desk.page-topups .treq .tfoot { display: none; }
.readonly-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #eef3ff; color: #2c3e8f; font-size: 13px; margin-bottom: 16px; animation: rise .4s var(--ease) both; }
.readonly-bar svg { width: 18px; height: 18px; flex: none; }
.me-btn { background: none; border: 0; padding: 6px; margin: -6px -6px 6px; border-radius: 12px; cursor: pointer; font: inherit; text-align: left; color: #fff; width: calc(100% + 12px); transition: background .2s; }
.me-btn:hover { background: rgba(255,255,255,.08); }
.role-pill { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-top: 3px; background: rgba(255,255,255,.12); color: #c9d4df; }
.role-pill.owner { background: var(--lime); color: var(--ink); }
.role-pill.manager { background: #3ddc97; color: var(--ink); }
.role-pill.desk { background: #8fb8ff; color: var(--ink); }
.role-pill.viewer { background: rgba(255,255,255,.18); color: #fff; }
.check-row { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 4px 0 8px; cursor: pointer; }
.check-row input { width: auto; flex: none; }
/* team page */
.role-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.role-card { border: 1.5px solid var(--border); border-radius: 14px; padding: 14px; background: #fff; animation: rise .4s var(--ease) both; animation-delay: var(--d); }
.role-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.role-card ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.role-card li { margin: 3px 0; }
.role-card li.no { color: #b6bec6; text-decoration: line-through; }
.role-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.role-badge.owner { background: #f3fbd6; color: #4d6b00; }
.role-badge.manager { background: var(--success-soft); color: var(--success); }
.role-badge.desk { background: var(--info-soft); color: var(--info); }
.role-badge.viewer { background: var(--bg); color: var(--muted); }
.staff-off td { opacity: .5; }
.act-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--border); animation: rise .3s var(--ease) both; }
.act-item:last-child { border-bottom: 0; }
.act-item .avatar { width: 32px; height: 32px; font-size: 12px; }
.act-item small { color: var(--muted); font-size: 12px; }
.pw-row { display: flex; gap: 8px; }
.pw-row input { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; }
.cred-box { background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.7; }
.cred-box b { color: var(--lime); font-family: ui-monospace, Consolas, monospace; }
@media (max-width: 1100px) { .role-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .role-cards { grid-template-columns: minmax(0, 1fr); } }
.set-h { margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 15px; }
.msg-row .mi.email { background: #eef3ff; color: #2c56c9; }
.act-scroll { max-height: 560px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }

/* =====================================================================================
   Check-in, café & shop, academy, play socially, ratings, closures, cash closing, PWA
   ===================================================================================== */
.no-desk .needs-desk, .no-pricing .needs-pricing, .no-settings .needs-settings { display: none !important; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; }
.kv span { color: var(--muted); }
.tag-mini.arrived { background: var(--success-soft); color: var(--success); }
.tag-mini.noshow { background: var(--danger-soft); color: var(--danger); }
.tag-mini.extras { background: #f3ecff; color: #6a3fc4; }
.tag-mini.rated { background: #fff6d6; color: #a06d00; letter-spacing: 1px; }
.ns-warn, .ns-note { border-radius: 12px; padding: 10px 14px; font-size: 13.5px; line-height: 1.5; }
.ns-warn { background: var(--danger-soft); color: #9b2328; border: 1px solid #f5c9cb; }
.ns-note { background: var(--warn-soft); color: #7a4a00; }
.ns-warn.hidden, .ns-note.hidden { display: none; }
.btn.block { width: 100%; justify-content: center; }

/* cash closing */
.cash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; }
.cash-expect { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.cash-expect > small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.cash-expect > b { display: block; font-family: var(--display); font-size: 34px; margin: 2px 0 8px; }
.denoms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; margin: 6px 0 12px; }
.denoms label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 13px; }
.denoms label span { width: 50px; text-align: right; color: var(--muted); flex: none; }
.denoms input { padding: 8px 10px; min-width: 0; }
.cash-result { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.cash-result > div { border-radius: 12px; padding: 10px 12px; background: var(--bg); }
.cash-result small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.cash-result b { font-size: 20px; font-variant-numeric: tabular-nums; }
.cash-result .ok { background: var(--success-soft); color: var(--success); }
.cash-result .short { background: var(--danger-soft); color: var(--danger); }
.cash-result .over { background: var(--warn-soft); color: var(--warn); }
.neg-amt { color: var(--danger); } .over-amt { color: var(--warn); } .ok-amt { color: var(--success); }
@media (max-width: 640px) { .cash-grid { grid-template-columns: minmax(0, 1fr); } }

/* check-in */
.checkin-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
.scan-row { display: flex; gap: 8px; }
.scan-row input { flex: 1; min-width: 0; font-size: 18px; padding: 14px 16px; font-weight: 600; letter-spacing: .02em; }
.scan-card { border: 2px dashed #bfe6d2; }
.scan-card:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.cam-box { position: relative; margin-top: 12px; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.cam-box.hidden { display: none; }
.cam-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame { position: absolute; inset: 18%; border: 3px solid var(--lime); border-radius: 16px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.ci-card { animation: rise .35s var(--ease) both; }
.ci-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ci-head h2 { margin: 0; }
.ci-head .avatar { width: 48px; height: 48px; font-size: 17px; }
.ci-booking { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.ci-booking .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ci-done td:not(.actions) { opacity: .55; }
@media (max-width: 900px) { .checkin-grid { grid-template-columns: minmax(0, 1fr); } }

/* café & shop till */
.pos-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 14px; }
.pos-grid.hidden { display: none; }
.pos-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pos-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; transition: transform .15s var(--ease), border-color .2s, box-shadow .2s; min-height: 108px; }
.pos-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.pos-item:active { transform: scale(.97); }
.pos-item b { font-size: 14px; line-height: 1.25; }
.pos-item .num { font-weight: 800; color: var(--brand-dark); font-size: 14px; }
.pos-item small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pos-item small.low { color: var(--warn); }
.pos-item.out { opacity: .45; cursor: not-allowed; }
.pi-ic { font-size: 22px; line-height: 1; margin-bottom: 4px; }
.pi-qty { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; border-radius: 999px; background: var(--brand); color: #fff; font-style: normal; font-weight: 800; font-size: 12px; display: grid; place-items: center; padding: 0 6px; animation: pop .3s var(--ease); }
.pos-cart { position: sticky; top: 16px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-line > span:last-child { text-align: right; font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; font-weight: 800; cursor: pointer; font-size: 15px; line-height: 1; }
.qty button:hover { border-color: var(--brand); color: var(--brand); }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 14px; font-weight: 700; }
.pos-total b { font-family: var(--display); font-size: 30px; }
.pay-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
.pay-seg button { padding: 9px 6px; font-size: 13px; }
.pick-list { display: grid; gap: 6px; margin-top: 6px; max-height: 260px; overflow-y: auto; }
.pick-list button { text-align: left; border: 1.5px solid var(--border); background: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }
.pick-list button:hover, .pick-list button.active { border-color: var(--brand); background: var(--brand-soft); }
.pick-list button small { display: block; color: var(--muted); font-size: 12px; }
.pick-list.big button { padding: 12px 14px; }
.sale-done { display: flex; gap: 14px; align-items: flex-start; }
.sale-done > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; animation: pop .4s var(--ease); }
.sales-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(60px, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; }
.bar-track { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 999px 4px 4px 999px; background: var(--brand-bright); transition: width .6s var(--ease); }
@media (max-width: 1000px) { .pos-grid, .sales-grid { grid-template-columns: minmax(0, 1fr); } .pos-cart { position: static; } }

/* academy */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.class-card { display: flex; flex-direction: column; gap: 10px; }
.class-card.off { opacity: .6; }
.cc-head { display: flex; gap: 12px; align-items: flex-start; }
.cc-head h3 { margin: 0; font-size: 17px; }
.cc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; flex: none; }
.cc-ic svg { width: 22px; height: 22px; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.cc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cc-meta svg { width: 14px; height: 14px; }
.cc-students { border-top: 1px solid var(--border); padding-top: 6px; max-height: 240px; overflow-y: auto; }
.cc-st { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; }
.cc-st > span:first-child { flex: 1; min-width: 0; }
.cc-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.cc-admin { display: inline-flex; gap: 4px; margin-left: auto; }
.cc-fee { display: flex; align-items: center; gap: 6px; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; }
.cc-fee svg { width: 16px; height: 16px; }
.cc-fee.paid { background: var(--success-soft); color: var(--success); }
.cc-fee.due { background: var(--warn-soft); color: var(--warn); }
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.coach { display: flex; gap: 12px; align-items: flex-start; }
.coach .avatar { width: 46px; height: 46px; font-size: 16px; flex: none; }
.coach p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.day-chips { margin: 6px 0 14px; }
.att-row { padding: 8px 0; border-bottom: 1px solid var(--border); margin: 0; }
.att-row > span { flex: 1; }
@media (max-width: 520px) { .class-grid { grid-template-columns: minmax(0, 1fr); } }

/* play socially + academy hero */
.play-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 22px 0 8px; padding: 30px; border-radius: 22px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(198,241,53,.28), transparent 45%), linear-gradient(130deg, var(--ink) 0%, #12385a 55%, var(--brand-dark) 100%); }
.play-hero.academy { background: radial-gradient(circle at 85% 20%, rgba(25,184,119,.35), transparent 45%), linear-gradient(130deg, var(--ink) 0%, #1b2f45 60%, #3a2c6b 100%); }
.play-hero h1 { margin: 6px 0 6px; font-family: var(--display); font-size: clamp(30px, 5vw, 46px); line-height: 1.02; letter-spacing: .01em; color: #fff; }
.play-hero p { margin: 0; max-width: 560px; color: #c9d4df; }
.eyebrow { display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.game-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); animation: rise .35s var(--ease) both; }
.game-card.joined { border-color: var(--brand); }
.game-card.mine { border-color: #a6cf1c; box-shadow: 0 0 0 3px rgba(198,241,53,.35), var(--shadow); }
.gc-top { display: flex; gap: 10px; align-items: flex-start; }
.gc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; }
.gc-ic svg { width: 22px; height: 22px; }
.gc-when { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.level-tag { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.level-tag.beginner { background: var(--success-soft); color: var(--success); }
.level-tag.intermediate { background: var(--info-soft); color: var(--info); }
.level-tag.advanced { background: var(--danger-soft); color: var(--danger); }
.gc-spots { display: flex; gap: 6px; flex-wrap: wrap; }
.gc-spots i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; border: 2px dashed #c4ccd3; color: #a3acb5; }
.gc-spots i.host { background: var(--ink); color: var(--lime); border: 0; }
.gc-spots i.in { background: var(--brand); color: #fff; border: 0; animation: pop .35s var(--ease); }
.gc-meta { font-size: 13.5px; color: var(--muted); }
.gc-meta b { color: var(--text); }
.gc-note { margin: 0; font-size: 14px; font-style: italic; color: var(--ink-2); }
.gc-contacts { display: grid; gap: 4px; font-size: 13.5px; }
.gc-contacts a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.gc-contacts svg { width: 15px; height: 15px; }
.gc-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
@media (max-width: 520px) { .play-hero { padding: 22px 18px; } .game-grid { grid-template-columns: minmax(0, 1fr); } }

/* ratings */
.stars { display: inline-flex; gap: 1px; color: #d4dade; font-size: 16px; line-height: 1; }
.stars i { font-style: normal; }
.stars i.on { color: #f2b200; }
.stars i.half { background: linear-gradient(90deg, #f2b200 50%, #d4dade 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.small { font-size: 13px; }
.stars-row { margin-top: 4px; }
.rate-row.bad .bar-track i { background: var(--danger); }
.rate-row.mid .bar-track i { background: var(--series-4); }
.fb-item { padding: 12px 0 12px 14px; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
.fb-item.bad { border-left-color: var(--danger); }
.fb-item.mid { border-left-color: var(--series-4); }
.fb-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.fb-top .muted { font-size: 13px; }
.fb-item p { margin: 6px 0 4px; font-size: 14.5px; }
.fb-sub { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.star-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sp-lbl { font-weight: 700; font-size: 14px; }
.sp-stars { display: inline-flex; gap: 2px; }
.sp-stars button { border: 0; background: none; font-size: 26px; line-height: 1; color: #d4dade; cursor: pointer; padding: 2px; transition: transform .15s var(--ease), color .15s; }
.sp-stars button:hover { transform: scale(1.15); }
.sp-stars button.on { color: #f2b200; }
.star-pick.big .sp-stars button { font-size: 36px; }

/* closures on the booking page */
.slot.closed:disabled { background: repeating-linear-gradient(-45deg, #fff1f1, #fff1f1 6px, #fde4e4 6px, #fde4e4 12px); color: #c27c80; }
.slot.closed small { color: #b35a60 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.closed-note { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--danger-soft); color: #9b2328; font-size: 13.5px; }
.closed-note.hidden { display: none; }
.closed-note svg { width: 16px; height: 16px; flex: none; }

/* member card QR (back) */
.mc-qr-row { display: flex; gap: 12px; align-items: center; }
.mc-qr { background: #fff; border-radius: 10px; padding: 4px; width: 84px; height: 84px; flex: none; }
.mc-qr svg { width: 100%; height: 100%; display: block; }
.mc-qr-txt b { display: block; font-size: 14px; }
.mc-qr-txt small { color: #9fb0c0; font-size: 12px; }
@media (max-width: 520px) { .mc-qr { width: 66px; height: 66px; } }

/* sign-in: reset code */
.code-input { font-size: 24px !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 800; }
.legend i.closed { background: repeating-linear-gradient(-45deg, #fff1f1, #fff1f1 3px, #f6caca 3px, #f6caca 6px); border-color: #f2c4c6; }

/* waitlist, bad-weather cancel, password warning */
.no-finance_edit .needs-finance_edit { display: none !important; }
.wl-link { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border: 1.5px dashed #c7d7cf; border-radius: 12px; background: #fbfdfc; font: inherit; font-size: 13.5px; color: var(--ink-2); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.wl-link:hover { border-color: var(--brand); background: var(--brand-soft); }
.wl-link svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.wl-link b { color: var(--brand-dark); }
.wl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.wl-row > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.wl-row small { font-size: 12.5px; }
.wl-act { display: flex; align-items: center; gap: 6px; }
.bc-list { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: #7d1d22; max-height: 240px; overflow-y: auto; }
.bc-list .kv span { color: #7d1d22; }
.pw-warn { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--danger-soft); border: 1px solid #f5c9cb; color: #8c1f25; font-size: 14px; margin-bottom: 16px; animation: rise .4s var(--ease) both; }
.pw-warn svg { width: 18px; height: 18px; flex: none; }
.pw-warn span { flex: 1; min-width: 220px; }
