/* ===========================================================
   Koora Connect — design system
   =========================================================== */

:root {
  --green-900: #06301f;
  --green-800: #084a30;
  --green-700: #0a5c3c;
  --green-600: #0d7a4f;
  --green-500: #10996a;
  --lime: #9ae66e;

  --ink: #0d1512;
  --ink-2: #33443c;
  --muted: #6b7c74;
  --line: #e2e8e4;
  --line-2: #eef2ef;
  --paper: #f7f9f7;
  --card: #ffffff;

  --gold: #d9a520;
  --danger: #b3261e;
  --danger-bg: #fdecea;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-full: 999px;

  --sh-1: 0 1px 2px rgba(13, 21, 18, 0.06), 0 1px 3px rgba(13, 21, 18, 0.04);
  --sh-2: 0 4px 12px rgba(13, 21, 18, 0.07), 0 2px 4px rgba(13, 21, 18, 0.04);
  --sh-3: 0 16px 40px rgba(6, 48, 31, 0.14);

  --max: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.021em; line-height: 1.18; font-weight: 700; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 249, 247, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.02rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 0.92rem; letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a {
  padding: 7px 13px; border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 550; color: var(--muted);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav-links a:hover { background: var(--line-2); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: #fff; }

#account-slot { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.acct { position: relative; }
.acct-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  padding: 4px 10px 4px 4px; border-radius: var(--r-full); cursor: pointer;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.acct-btn:hover { border-color: var(--green-500); box-shadow: var(--sh-1); }
.acct-name { font-size: 0.88rem; font-weight: 600; }
.chev { width: 7px; height: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg) translate(-2px,-2px); }

.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 248px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 6px; display: none; z-index: 70;
}
.acct-menu.open { display: block; animation: pop .14s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.acct-head { display: flex; gap: 10px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.acct-head strong { display: block; font-size: 0.9rem; }
.acct-head span:last-child { font-size: 0.78rem; color: var(--muted); word-break: break-all; }
.acct-menu a, .acct-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; padding: 9px 10px; border-radius: var(--r-xs);
  font-size: 0.89rem; background: none; border: 0; cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover { background: var(--line-2); }
.acct-menu button { color: var(--danger); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-full);
  font-size: 0.92rem; font-weight: 650; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .12s var(--ease), background .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn:active { transform: scale(0.975); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 1px 2px rgba(6,48,31,.3), 0 6px 16px rgba(10,92,60,.22); }
.btn-primary:hover { background: var(--green-800); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green-500); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-danger { background: transparent; border-color: var(--line); color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); }
.btn-sm { padding: 8px 15px; font-size: 0.85rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Bits ---------- */

.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: #fff; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; letter-spacing: -0.02em;
}
.avatar.sm { width: 26px; height: 26px; font-size: 0.66rem; }
.avatar.lg { width: 60px; height: 60px; font-size: 1.15rem; }

.stack { display: flex; align-items: center; }
.stack .avatar { border: 2px solid var(--card); margin-left: -9px; width: 30px; height: 30px; font-size: .66rem; }
.stack .avatar:first-child { margin-left: 0; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-full); font-size: .74rem; font-weight: 650; background: var(--line-2); color: var(--ink-2); }
.pill.sm { padding: 1px 7px; font-size: .7rem; }
.pill.green { background: #e6f5ec; color: var(--green-800); }
.pill.gold { background: #fdf4dc; color: #8a6510; }
.pill.red { background: var(--danger-bg); color: var(--danger); }
.pill.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green-700); background: #e6f5ec; padding: 5px 12px; border-radius: var(--r-full); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(16,153,106,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(16,153,106,0); } 100% { box-shadow: 0 0 0 0 rgba(16,153,106,0); } }

.muted { color: var(--muted); }
.tiny { font-size: .78rem; }
.rating { color: var(--gold); letter-spacing: 1px; font-size: .82rem; }

/* ---------- Cards / layout ---------- */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h3 { font-size: 1rem; margin-bottom: 14px; }

.section { padding: 52px 0; }
.section.tint { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { font-size: 1.55rem; margin-bottom: 5px; }
.section-head p { color: var(--muted); max-width: 58ch; font-size: .95rem; }

.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Hero ---------- */

.hero { background: linear-gradient(168deg, var(--green-900) 0%, var(--green-800) 46%, #0a5e3d 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 380px at 78% -12%, rgba(154,230,110,.20), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; padding-top: 62px; padding-bottom: 62px; }
.hero .eyebrow { background: rgba(255,255,255,.12); color: #cdeedb; }
.hero h1 { font-size: clamp(2.05rem, 4.2vw, 3.1rem); margin: 18px 0 16px; letter-spacing: -0.032em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: #b9d4c7; font-size: 1.05rem; max-width: 48ch; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }

.hero-panel { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; color: var(--ink); }
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line-2); }
.hero-panel-head h3 { font-size: .95rem; }
.hero-panel-body { padding: 10px; display: grid; gap: 8px; }

/* ---------- Stat strip ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: -30px; position: relative; z-index: 3; box-shadow: var(--sh-2); }
.stat { padding: 18px 20px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat .n { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; }
.stat .l { font-size: .8rem; color: var(--muted); }

/* ---------- Search + filters ---------- */

.searchbar { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-full); padding: 6px 6px 6px 16px; box-shadow: var(--sh-1); }
.searchbar input { flex: 1; border: 0; outline: 0; font-size: .95rem; background: none; min-width: 0; }
.searchbar input::placeholder { color: var(--muted); }

.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px; border-radius: var(--r-full); background: var(--card);
  border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--green-500); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Game card ---------- */

.game-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.game-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #cfdcd5; }
.art { position: relative; height: 118px; overflow: hidden; background: var(--green-800); }
.art .pitch-art { width: 100%; height: 100%; }
.art-tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; }
.art-tags .pill { background: rgba(6,20,14,.62); color: #eaf6ef; backdrop-filter: blur(6px); }
.art-time { position: absolute; bottom: 10px; left: 12px; color: #fff; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.game-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.game-title { font-size: .98rem; }
.game-meta { color: var(--muted); font-size: .82rem; }
.bar { height: 5px; border-radius: var(--r-full); background: var(--line-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green-600); border-radius: var(--r-full); transition: width .4s var(--ease); }
.bar.hot span { background: var(--gold); }
.bar.full span { background: var(--danger); }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font-weight: 750; letter-spacing: -0.02em; }
.price small { font-weight: 500; color: var(--muted); font-size: .74rem; }

.mini { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--r-sm); transition: background .15s var(--ease); }
.mini:hover { background: var(--line-2); }
.mini .thumb { width: 56px; height: 42px; border-radius: var(--r-xs); overflow: hidden; flex: none; }
.mini .thumb .pitch-art { width: 100%; height: 100%; }
.mini .info { flex: 1; min-width: 0; }
.mini .info strong { display: block; font-size: .87rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .info span { font-size: .78rem; color: var(--muted); }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 700; margin-bottom: 11px; }
.step h4 { font-size: .95rem; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: .87rem; }

.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.feature h3 { font-size: 1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .9rem; }

/* ---------- Booking ---------- */

.book-grid { display: grid; grid-template-columns: 1fr 372px; gap: 24px; align-items: start; padding: 32px 0 70px; }
.rail { position: sticky; top: 82px; }

.progress { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.pstep { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.pstep i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: .72rem; background: var(--card); }
.pstep.done i { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pstep.done { color: var(--ink); }
.psep { flex: 1; height: 1px; background: var(--line); min-width: 16px; }

.venue { display: flex; gap: 14px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: all .16s var(--ease); background: var(--card); }
.venue:hover { border-color: #b7cfc3; }
.venue.sel { border-color: var(--green-600); background: #f4faf6; box-shadow: inset 0 0 0 1px var(--green-600); }
.venue .thumb { width: 92px; height: 68px; border-radius: var(--r-xs); overflow: hidden; flex: none; }
.venue .thumb .pitch-art { width: 100%; height: 100%; }
.venue .v-main { flex: 1; min-width: 0; }
.venue h4 { font-size: .95rem; margin-bottom: 3px; }
.venue .v-price { text-align: right; white-space: nowrap; font-weight: 750; }
.venue .v-price small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); }
.amenities { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.amenities span { font-size: .7rem; color: var(--ink-2); background: var(--line-2); padding: 2px 7px; border-radius: var(--r-full); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.day {
  border: 1.5px solid var(--line); background: var(--card); border-radius: var(--r-sm);
  padding: 9px 4px; text-align: center; cursor: pointer; transition: all .15s var(--ease);
}
.day:hover { border-color: #b7cfc3; }
.day.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.day .d1 { font-size: .72rem; font-weight: 650; opacity: .8; }
.day .d2 { font-size: .88rem; font-weight: 700; }

.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.slot { position: relative; border: 1.5px solid var(--line); background: var(--card); border-radius: var(--r-sm); padding: 10px 6px; font-size: .84rem; font-weight: 650; cursor: pointer; transition: all .15s var(--ease); }
.slot:hover:not(:disabled) { border-color: #b7cfc3; }
.slot.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.slot em { display: block; font-style: normal; font-size: .66rem; font-weight: 600; color: var(--gold); }
.slot.sel em { color: var(--lime); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mode { border: 1.5px solid var(--line); background: var(--card); border-radius: var(--r-sm); padding: 12px; text-align: left; cursor: pointer; transition: all .15s var(--ease); }
.mode:hover { border-color: #b7cfc3; }
.mode.sel { border-color: var(--green-600); background: #f4faf6; box-shadow: inset 0 0 0 1px var(--green-600); }
.mode strong { display: block; font-size: .88rem; }
.mode span { font-size: .76rem; color: var(--muted); }

.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 7px 0; color: var(--ink-2); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 13px; font-weight: 750; font-size: 1.05rem; color: var(--ink); }

#apple-pay-slot { min-height: 0; }
#apple-pay-slot:not(:empty) { margin-bottom: 10px; min-height: 46px; }
.pay-note { font-size: .77rem; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.paydiv { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.paydiv::before, .paydiv::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.field { display: block; margin-bottom: 10px; }
.field span { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
input.inp, textarea.inp {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: .92rem; background: var(--card); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input.inp:focus, textarea.inp:focus { outline: 0; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(16,153,106,.13); }
textarea.inp { resize: vertical; min-height: 86px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--danger); font-size: .8rem; margin-top: 6px; display: none; }
.err.show { display: block; }

.card-form { display: none; }
.card-form.on { display: block; animation: pop .18s var(--ease); }

/* ---------- Confirmation ---------- */

.confirm { display: none; text-align: center; padding: 8px 4px 4px; }
.confirm.on { display: block; animation: pop .22s var(--ease); }
.tick { width: 56px; height: 56px; border-radius: 50%; background: #e6f5ec; display: grid; place-items: center; margin: 0 auto 14px; }
.tick svg { width: 26px; height: 26px; }
.refbox { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 12px; margin: 16px 0; }
.refbox .r { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; }
.recap { text-align: left; border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; }

/* ---------- Auth ---------- */

.auth-wrap { min-height: calc(100vh - 62px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(168deg, var(--green-900), var(--green-700)); color: #fff; padding: 54px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 80% 0%, rgba(154,230,110,.18), transparent 60%); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { font-size: 1.9rem; margin-bottom: 14px; letter-spacing: -0.03em; }
.auth-side p { color: #b9d4c7; max-width: 40ch; }
.auth-points { margin-top: 30px; display: grid; gap: 14px; }
.auth-point { display: flex; gap: 11px; align-items: flex-start; }
.auth-point i { width: 20px; height: 20px; border-radius: 50%; background: rgba(154,230,110,.2); color: var(--lime); display: grid; place-items: center; font-style: normal; font-size: .7rem; flex: none; margin-top: 2px; }
.auth-point div strong { display: block; font-size: .92rem; }
.auth-point div span { font-size: .84rem; color: #a9c9ba; }
.auth-main { display: grid; place-items: center; padding: 44px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.tabs { display: flex; gap: 4px; background: var(--line-2); padding: 4px; border-radius: var(--r-full); margin: 20px 0 22px; }
.tabs button { flex: 1; padding: 8px; border: 0; background: none; border-radius: var(--r-full); font-size: .88rem; font-weight: 650; color: var(--muted); cursor: pointer; transition: all .15s var(--ease); }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }

/* ---------- Community ---------- */

.person { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px 17px; transition: border-color .15s var(--ease); }
.person:hover { border-color: #cfdcd5; }
.person .info { flex: 1; min-width: 0; }
.person h4 { font-size: .94rem; }
.person .badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.badge { font-size: .7rem; font-weight: 620; padding: 2px 8px; border-radius: var(--r-full); background: var(--line-2); color: var(--ink-2); }

.bk { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bk.cancelled { opacity: .62; }
.bk-top { display: flex; gap: 14px; padding: 15px 17px; align-items: center; }
.bk-top .thumb { width: 74px; height: 56px; border-radius: var(--r-xs); overflow: hidden; flex: none; }
.bk-top .thumb .pitch-art { width: 100%; height: 100%; }
.bk-main { flex: 1; min-width: 0; }
.bk-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 17px; border-top: 1px solid var(--line-2); background: var(--paper); }
.bk-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

.empty { text-align: center; padding: 44px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-md); background: var(--card); }
.empty strong { display: block; color: var(--ink); margin-bottom: 5px; }

/* ---------- Reviews ---------- */

.rsum { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.rsum .big { font-size: 2.7rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.rbar { display: flex; align-items: center; gap: 9px; font-size: .78rem; color: var(--muted); }
.rbar .t { flex: 1; height: 6px; background: var(--line-2); border-radius: var(--r-full); overflow: hidden; }
.rbar .t span { display: block; height: 100%; background: var(--gold); border-radius: var(--r-full); }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 17px 19px; }
.review-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 9px; }
.starpick { display: flex; gap: 3px; }
.starpick button { background: none; border: 0; font-size: 1.45rem; line-height: 1; cursor: pointer; color: #d8ded9; padding: 0 1px; transition: color .12s var(--ease), transform .12s var(--ease); }
.starpick button:hover { transform: scale(1.12); }
.starpick button.on { color: var(--gold); }

/* ---------- Skeleton ---------- */

.skel { background: linear-gradient(90deg, var(--line-2) 25%, #f5f8f6 37%, var(--line-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: var(--r-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.skel-card { height: 244px; border-radius: var(--r-md); }

/* ---------- Toast ---------- */

.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 200;
  transform: translateX(-50%) translateY(14px);
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: var(--r-full);
  font-size: .87rem; font-weight: 600; opacity: 0; pointer-events: none;
  box-shadow: var(--sh-3); transition: opacity .22s var(--ease), transform .22s var(--ease);
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: #a8bdb3; padding: 42px 0 26px; margin-top: 46px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer .brand { color: #fff; }
footer .brand .mark { background: rgba(255,255,255,.14); }
footer .cols { display: flex; gap: 52px; flex-wrap: wrap; }
footer h5 { color: #fff; font-size: .82rem; margin: 0 0 10px; font-weight: 650; }
footer a { display: block; font-size: .87rem; padding: 3px 0; color: #92a99e; }
footer a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.09); margin-top: 30px; padding-top: 18px; font-size: .76rem; color: #71857b; line-height: 1.6; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 46px; }
  .book-grid { grid-template-columns: 1fr; }
  .rail { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .g3, .steps { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .nav-links { display: none; }
  .slots { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 620px) {
  .g3, .g2, .steps, .modes { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .days { grid-template-columns: repeat(4, 1fr); }
  .rsum { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: 1.95rem; }
  .acct-name { display: none; }
  .venue .thumb { display: none; }
  .stats { margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; }
  footer .cols { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
