/* ============================================================================
   SMASHZONE · Design System
   Apple calm + CRED premium. Black / white, one green accent, lots of air.
   Mobile-first. No frameworks, no external fonts.
   ============================================================================ */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Brand palette — sampled from the SmashZone logo */
  --bg:            #ffffff;
  --bg-soft:       #f4f5f8;   /* cool light gray */
  --surface:       #ffffff;
  --ink:           #16172b;   /* near-black, faint navy */
  --ink-soft:      #64667a;   /* secondary text */
  --ink-faint:     #9a9cae;   /* tertiary / hints */
  --line:          #e9e9f0;   /* hairlines */
  --line-strong:   #d6d6e0;

  --navy:          #12122b;   /* logo background */
  --navy-soft:     #23234d;

  --green:         #16a34a;   /* ZONE green */
  --green-strong:  #12833c;
  --green-tint:    #e7f6ec;
  --green-glow:    rgba(22, 163, 74, .30);

  --orange:        #f26522;   /* SMASH orange */
  --orange-strong: #e0551b;
  --orange-tint:   #fdece2;
  --orange-glow:   rgba(242, 101, 34, .30);

  --gold:          #f6b10a;   /* racket / accent gold */
  --gold-tint:     #fdf3d6;

  --danger:        #e5484d;
  --amber:         #d98a00;

  /* Radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows — soft, layered, premium */
  --shadow-1: 0 1px 2px rgba(20,20,45,.05), 0 6px 20px rgba(20,20,45,.07);
  --shadow-2: 0 2px 6px rgba(20,20,45,.06), 0 18px 46px rgba(20,20,45,.14);
  --shadow-green:  0 8px 24px var(--green-glow);
  --shadow-orange: 0 8px 24px var(--orange-glow);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: .18s var(--ease);
  --med:  .34s var(--ease);

  --maxw: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* --------------------------------------------------------------- Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green-tint); }

/* Subtle ambient background wash */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(50% 30% at 15% 0%, rgba(242,101,34,.06), transparent 70%),
    radial-gradient(50% 30% at 85% 0%, rgba(22,163,74,.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------------------------------- Layout */
.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 64px;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 4px 14px;
}

/* -------------------------------------------------------------------- Header */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 30px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  /* Depth, not flat black: brand glows in the top corners + a soft green wash
     rising from below. Base is the logo's own #090619 so the logo blends. */
  background:
    radial-gradient(56% 50% at 12% 2%,  rgba(242,101,34,.46), transparent 60%),
    radial-gradient(56% 50% at 88% 2%,  rgba(22,163,74,.46),  transparent 60%),
    radial-gradient(95% 65% at 50% 126%, rgba(22,163,74,.18), transparent 72%),
    #090619;
}
.hero-inner { position: relative; z-index: 1; }

/* The logo (image if present, vector fallback otherwise) */
.logo-wrap { position: relative; z-index: 1; }
.logo-img {
  display: block;
  width: auto; max-width: min(400px, 84%); height: auto;
  margin: 0 auto 8px;
  animation: rise .5s var(--ease) both;
}

/* Vector fallback lockup — shown only if the image is missing */
.logo-fallback {
  display: none; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 0 8px;
  animation: rise .5s var(--ease) both;
}
.lf-mark { width: 62px; height: 62px; flex: 0 0 auto; }
.lf-title { text-align: left; line-height: .9; letter-spacing: -0.01em; }
.lf-smash, .lf-zone {
  display: block; font-weight: 800; font-size: clamp(30px, 8vw, 50px);
}
.lf-smash { color: var(--orange); }
.lf-zone  { color: var(--green); letter-spacing: .14em; }
.lf-tag {
  margin-top: 7px; font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-size: 15px; color: rgba(255,255,255,.92);
}
.lf-spark { color: var(--gold); font-style: normal; margin-right: 4px; }

.hero-title {
  font-size: clamp(23px, 6vw, 31px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.08;
  color: #fff; margin: 0 0 8px;
}
.hero .tagline {
  font-size: clamp(13px, 3.6vw, 15px);
  color: rgba(255,255,255,.62);
  margin: 0 auto 16px;
  max-width: 34ch;
}

/* Live info chips (glass) */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip-hero {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.86); font-size: 13px; font-weight: 600;
}
.chip-hero.live { background: rgba(22,163,74,.18); border-color: rgba(22,163,74,.42); color: #7ff0ac; }
.chip-hero .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: pulse 1.8s infinite;
}
.chip-hero .live-dot.closed { background: var(--gold); animation: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Brand lockup — used on the admin page + PIN gate */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: var(--shadow-1);
}
.brand .name { font-size: 15px; font-weight: 800; letter-spacing: .03em; }
.brand .name .s { color: var(--orange); }
.brand .name .z { color: var(--green); }

/* ------------------------------------------------------------- Day picker */
.daypick { display: flex; gap: 10px; flex-wrap: wrap; }
.daypill {
  padding: 13px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: transform var(--fast), border-color var(--fast), box-shadow var(--fast);
}
.daypill:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.daypill.is-active {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  border-color: transparent; color: #fff;
  box-shadow: var(--shadow-green);
}
.daypill-cal { display: inline-flex; align-items: center; gap: 8px; }
.daypill-cal.is-active {
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  box-shadow: var(--shadow-orange);
}

/* Calendar popover */
.cal-pop {
  margin-top: 12px;
  width: 320px; max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  padding: 14px;
  animation: rise .25s var(--ease);
}
.cal-pop[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-size: 15px; font-weight: 700; }
.cal-nav {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--bg-soft); color: var(--ink); font-size: 18px; line-height: 1;
  transition: background var(--fast);
}
.cal-nav:hover { background: var(--line); }
.cal-nav[disabled] { opacity: .3; pointer-events: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { margin-bottom: 4px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-faint); padding: 4px 0; }
.cal-day {
  height: 40px; min-width: 0; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  display: grid; place-items: center;
  transition: background var(--fast), color var(--fast), transform var(--fast);
}
.cal-day.empty { visibility: hidden; }
.cal-day[disabled] { color: var(--ink-faint); opacity: .32; pointer-events: none; }
.cal-day:not([disabled]):hover { background: var(--green-tint); transform: translateY(-1px); }
.cal-day.is-selected {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #fff;
}

/* --------------------------------------------------------------- Slots grid */
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.slot {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  text-align: left;
  transition: transform var(--med), box-shadow var(--med), border-color var(--fast);
  animation: rise .45s var(--ease) both;
}
.slot .time { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.slot .price { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.slot .foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
}
.slot .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
}
.slot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.slot .price { color: var(--ink-soft); }

/* A slim brand accent along the top of every available card */
.slot.is-available::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: .0; transition: opacity var(--fast);
}
.slot.is-available:hover::before { opacity: 1; }

/* Available (clickable) */
.slot.is-available { cursor: pointer; }
.slot.is-available:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--orange);
}
.slot.is-available .tag { color: var(--green-strong); }
.slot .go {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-strong)); color: #fff;
  display: grid; place-items: center; font-size: 15px;
  transition: transform var(--fast), background var(--fast);
}
.slot.is-available:hover .go {
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  transform: translateX(2px);
}

/* Booked (dimmed, inert) */
.slot.is-booked {
  background: var(--bg-soft);
  box-shadow: none;
  color: var(--ink-faint);
}
.slot.is-booked .time { color: var(--ink-soft); }
.slot.is-booked .tag { color: var(--ink-faint); }
.slot.is-booked .go { display: none; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: 600;
  transition: transform var(--fast), box-shadow var(--fast), opacity var(--fast);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { box-shadow: var(--shadow-2); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-strong)); color:#fff; box-shadow: var(--shadow-green); }
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-strong)); color:#fff; box-shadow: var(--shadow-orange); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.loading { color: transparent; position: relative; }
.btn.loading::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
}

/* ------------------------------------------------------- Sheet / Modal */
.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(20,20,22,.44);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--med);
}
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 10px 22px calc(24px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-2);
  transform: translateY(24px);
  opacity: 0;
  transition: transform var(--med), opacity var(--med);
  max-height: 92vh; overflow-y: auto;
}
.scrim.open .sheet { transform: translateY(0); opacity: 1; }
.sheet .grip {
  width: 40px; height: 5px; border-radius: 99px; background: var(--line-strong);
  margin: 8px auto 14px;
}
.sheet-close {
  position: absolute; top: 12px; right: 14px; z-index: 5;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-soft);
  font-size: 22px; line-height: 1;
  display: grid; place-items: center;
  transition: background var(--fast), color var(--fast);
}
.sheet-close:hover { background: var(--line); color: var(--ink); }
.sheet h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 2px; }
.sheet .sub { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; }

/* Slot summary pill inside the sheet */
.summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; margin-bottom: 20px;
  background: var(--green-tint); border-radius: var(--r-sm);
}
.summary .st { font-weight: 700; }
.summary .sd { font-size: 13px; color: var(--green-strong); }
.summary .sp { font-weight: 700; color: var(--green-strong); }

/* --------------------------------------------------------------- Form */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-soft); margin: 0 4px 7px;
}
.field input, .field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: border-color var(--fast), background var(--fast), box-shadow var(--fast);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--green-tint);
}
.field textarea { resize: none; min-height: 64px; }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.field .err { display: none; font-size: 12px; color: var(--danger); margin: 6px 4px 0; }
.field.invalid .err { display: block; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Stepper (players) */
.stepper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-soft);
}
.stepper button {
  width: 40px; height: 40px; border-radius: 12px; background: var(--surface);
  font-size: 22px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-1);
  transition: transform var(--fast);
}
.stepper button:active { transform: scale(.9); }
.stepper .val { font-size: 20px; font-weight: 700; }

/* Segmented control (payment) */
.segment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border-radius: var(--r-sm); background: var(--bg-soft);
}
.segment button {
  padding: 12px; border-radius: 11px; font-weight: 600; font-size: 15px;
  color: var(--ink-soft); transition: all var(--fast);
}
.segment button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }

/* --------------------------------------------------------- Success screen */
.success { text-align: center; padding: 10px 4px 4px; }
.check {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  box-shadow: var(--shadow-green);
  display: grid; place-items: center; margin: 6px auto 18px;
  animation: pop .5s var(--ease) both;
}
.check svg { width: 38px; height: 38px; }
.check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .18s var(--ease) forwards; }
.success h2 { font-size: 26px; margin: 0 0 4px; }
.success .sub { color: var(--ink-soft); margin: 0 0 22px; }
.ticket {
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  padding: 20px; text-align: left; margin-bottom: 20px;
}
.ticket .idrow {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.ticket .idrow .lbl { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.ticket .idrow .id { font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.ticket .copy { font-size: 13px; font-weight: 600; color: var(--green-strong); padding: 8px 12px; border-radius: 99px; background: var(--green-tint); }
.kv { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.kv .k { color: var(--ink-soft); }
.kv .v { font-weight: 600; }
.qr { text-align: center; margin: 6px 0 18px; }
.qr img { width: 168px; height: 168px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.qr .upi { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.paynote {
  font-size: 13px; color: var(--ink-soft); text-align: center;
  background: var(--bg-soft); border-radius: var(--r-sm); padding: 12px; margin-bottom: 16px;
}

/* --------------------------------------------------------------- Feedback */
.notice {
  padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  margin: 0 0 16px; display: none;
}
.notice.show { display: block; animation: rise .3s var(--ease); }
.notice.error { background: rgba(229,72,77,.10); color: var(--danger); }
.notice.info  { background: var(--green-tint); color: var(--green-strong); }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  z-index: 80;
  background: var(--ink); color: #fff;
  padding: 13px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transition: all var(--med);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Empty & loading states */
.empty { text-align: center; padding: 50px 20px; color: var(--ink-faint); }
.empty .big { font-size: 40px; margin-bottom: 10px; }
.skeleton {
  border-radius: var(--r); height: 108px;
  background: linear-gradient(100deg, var(--bg-soft) 30%, #ececf0 50%, var(--bg-soft) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}

/* --------------------------------------------------------------- Footer */
.footer {
  text-align: center; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint); font-size: 13px;
}
.footer a { color: var(--ink-soft); font-weight: 600; transition: color var(--fast); }
.footer a:hover { color: var(--orange); }
.footer .addr { color: var(--ink-soft); max-width: 40ch; margin: 0 auto 12px; line-height: 1.5; }
.footer .links { display: flex; gap: 18px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
.footer .socials { display: flex; gap: 16px; justify-content: center; }
.footer .socials a { color: var(--green-strong); }

/* ================================================================= ADMIN */
.admin-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0 18px;
}
.admin-top .brand { margin: 0; }
.admin-top .out { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* PIN gate */
.gate { max-width: 360px; margin: 12vh auto 0; text-align: center; }
.gate .mark { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 18px; font-size: 26px; }
.gate h1 { font-size: 26px; margin: 0 0 6px; }
.gate p { color: var(--ink-soft); margin: 0 0 26px; }
.pin-input { text-align: center; letter-spacing: .5em; font-size: 22px; font-weight: 700; }

/* Stat cards */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 12px; margin-bottom: 26px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-1); }
.stat .n { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.stat .l { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.stat.accent .n { color: var(--green-strong); }

/* Tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: var(--r-sm); margin-bottom: 22px; }
.tabs button { flex: 1; padding: 11px; border-radius: 11px; font-weight: 600; font-size: 14px; color: var(--ink-soft); transition: all var(--fast); }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.panel { display: none; }
.panel.on { display: block; animation: rise .3s var(--ease); }

/* Booking result cards (admin search) */
.bk {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; box-shadow: var(--shadow-1); margin-bottom: 12px;
}
.bk .h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bk .id { font-weight: 700; font-size: 15px; }
.bk .meta { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.bk .who { margin-top: 10px; font-size: 15px; font-weight: 600; }
.bk .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px;
  background: var(--bg-soft); color: var(--ink-soft);
}
.chip.ok { background: var(--green-tint); color: var(--green-strong); }
.chip.warn { background: rgba(217,138,0,.12); color: var(--amber); }
.chip.bad { background: rgba(229,72,77,.12); color: var(--danger); }
.bk select {
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-soft); font-size: 13px; font-weight: 600;
}
.bk .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* Rate editor */
.rate-row { display: flex; align-items: center; gap: 12px; }
.rate-cur { font-size: 26px; font-weight: 800; color: var(--ink); }
.rate-row input { flex: 1; font-size: 20px; font-weight: 700; }
.rate-note { font-size: 13px; color: var(--ink-faint); margin: 14px 4px 0; line-height: 1.5; }

/* Admin slot grid for blocking */
.mini-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 8px; }
.mini {
  padding: 11px 12px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); font-size: 13px; font-weight: 600; text-align: left;
  transition: all var(--fast);
}
.mini .s { display: block; font-size: 11px; font-weight: 600; margin-top: 3px; }
.mini.available:hover { border-color: var(--ink); transform: translateY(-2px); }
.mini.available .s { color: var(--green-strong); }
.mini.booked { background: var(--bg-soft); color: var(--ink-faint); cursor: not-allowed; }
.mini.blocked { background: rgba(217,138,0,.10); border-color: transparent; }
.mini.blocked .s { color: var(--amber); }
.mini.past { opacity: .4; cursor: not-allowed; }

/* --------------------------------------------------------------- Animations */
@keyframes rise   { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop    { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes shimmer{ to { background-position: -200% 0; } }

.slot:nth-child(2) { animation-delay: .03s; }
.slot:nth-child(3) { animation-delay: .06s; }
.slot:nth-child(4) { animation-delay: .09s; }
.slot:nth-child(5) { animation-delay: .12s; }
.slot:nth-child(6) { animation-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------- Desktop */
@media (min-width: 720px) {
  .scrim { align-items: center; }
  .sheet { border-radius: var(--r-xl); }
  .sheet .grip { display: none; }
  .hero { padding-top: 72px; }
}
