/* Falouj Podium — light/white theme, teal brand */
:root {
  --bg: #eef4f5;
  --bg-2: #e6eef0;
  --card: #ffffff;
  --card-2: #f1f7f7;
  --line: #e2eaec;
  --line-2: #d2dfe1;
  --text: #0f2a2f;
  --muted: #5f777c;
  --muted-2: #93a7ab;
  /* brand teal (kept under --green names so JS inline styles stay valid) */
  --green: #1fb0a6;
  --green-deep: #1894ab;
  --green-glow: rgba(31, 176, 166, .28);
  --teal-soft: rgba(31, 176, 166, .12);
  --on-accent: #ffffff;
  --red: #ef4d52;
  --amber: #e7920f;
  --blue: #2f93d8;
  --violet: #6a3fd0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 28px rgba(16,42,47,.10);
  --shadow-sm: 0 4px 14px rgba(16,42,47,.07);
  --maxw: 460px;
  font-synthesis: none;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1100px 540px at 50% -12%, rgba(31,176,166,.14), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body[dir="rtl"] { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }

.app {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: 88px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 12px;
  background: linear-gradient(180deg, var(--bg) 64%, rgba(238,244,245,.5));
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.logo-img { width: 42px; height: 42px; display:block; filter: drop-shadow(0 3px 8px rgba(31,176,166,.30)); }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #74D2C9, #2E9BBE);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px;
}
.brand h1 { font-size: 16px; margin: 0; font-weight: 800; letter-spacing: .2px; color: var(--text); }
.brand .sub { font-size: 11px; color: var(--muted); margin-top: 1px; display:flex; align-items:center; gap:5px;}
.dot-live { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 7px var(--green-glow); display:inline-block; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px;
  position: relative; box-shadow: var(--shadow-sm);
}
.lang-toggle {
  height: 40px; padding: 0 14px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--green);
  box-shadow: var(--shadow-sm);
}
.badge-dot { position:absolute; top:7px; right:8px; width:8px; height:8px; background:var(--red); border-radius:50%; border:2px solid var(--card); }

/* ---------- Generic ---------- */
.screen { padding: 6px 16px 24px; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.section-title { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin: 22px 4px 12px; font-weight: 700; display:flex; justify-content:space-between; align-items:center;}
.section-title .link { color: var(--green); font-size:12px; letter-spacing:0; text-transform:none; }
.h-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }

/* ---------- Hero / CTA ---------- */
.hero {
  margin-top: 8px;
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(31,176,166,.16), rgba(46,155,190,.05) 60%),
    var(--card);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.hero h2 { margin: 0 0 4px; font-size: 19px; }
.hero p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-stats { display:flex; gap: 18px; margin-top: 14px; }
.hero-stats .s b { font-size: 20px; color: var(--green); display:block; }
.hero-stats .s span { font-size: 11px; color: var(--muted); }
.hero-court { position:absolute; right:-18px; bottom:-26px; font-size: 120px; opacity:.07; }
body[dir="rtl"] .hero-court { right:auto; left:-18px; }

.btn {
  width: 100%; height: 52px; border-radius: 14px; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .08s ease, filter .15s ease;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: var(--on-accent); box-shadow: 0 8px 22px var(--green-glow); }
.btn-ghost { background: var(--card); border: 1px solid var(--line-2); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn-line { background: var(--card); border: 1px solid var(--line-2); color: var(--text); }
.btn-sm { height: 42px; font-size: 13px; border-radius: 12px; width: auto; padding: 0 18px; }
.btn-block { margin-top: 14px; }
.btn:disabled { opacity:.45; pointer-events:none; }

/* ---------- Match card ---------- */
.match-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px; position: relative; overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.match-card.full { opacity: .9; }
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mc-time { font-size: 20px; font-weight: 800; }
.mc-time small { font-size: 12px; color: var(--muted); font-weight: 600; margin-inline-start: 6px; }
.mc-court { font-size: 12px; color: var(--muted); margin-top: 2px; display:flex; align-items:center; gap:6px;}
.court-chip { background: var(--card-2); border:1px solid var(--line-2); padding: 3px 9px; border-radius: 20px; font-weight:700; font-size:11px; color:var(--text);}
.tag { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 20px; display:inline-flex; align-items:center; gap:5px; }
.tag-casual { background: rgba(47,147,216,.12); color: var(--blue); }
.tag-comp { background: rgba(239,77,82,.12); color: var(--red); }
.tag-level { background: var(--card-2); color: var(--muted); border:1px solid var(--line-2); }
.mc-tags { display:flex; gap:7px; flex-wrap:wrap; margin-top: 12px; }
.mc-players { display:flex; align-items:center; gap: 12px; margin-top: 14px; }
.pips { display:flex; gap: 6px; align-items: center; }
.pip { flex: 0 0 auto; box-sizing: border-box; width: 26px; height: 26px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; }
.pip.filled { background: linear-gradient(135deg, var(--green), var(--green-deep)); color:#fff; }
.pip.empty { background: var(--card-2); border: 1px dashed var(--line-2); color: var(--muted-2); padding: 0; }
.spots-left { font-size: 13px; color: var(--text); font-weight: 700; }
.spots-left b { color: var(--green); }
.mc-foot { display:flex; align-items:center; justify-content: space-between; margin-top: 14px; gap: 10px; }
.compat { font-size: 12px; font-weight: 700; display:flex; align-items:center; gap:6px; }
.compat.same { color: var(--green); }
.compat.near { color: var(--amber); }
.compat.mismatch { color: var(--red); }
.mc-note { margin-top: 10px; font-size: 13px; color: var(--muted); background: var(--bg-2); border:1px solid var(--line); padding: 9px 11px; border-radius: 10px; line-height:1.45; }
.ribbon { position:absolute; top: 14px; inset-inline-end: -30px; transform: rotate(45deg); background: var(--green); color:#fff; font-size:10px; font-weight:800; padding: 3px 34px; }
body[dir="rtl"] .ribbon { transform: rotate(-45deg); }
.prepaid-flag { font-size:11px; color:var(--green); display:flex; align-items:center; gap:5px; margin-top:4px; font-weight:700;}

/* compact slot chip */
.slot-chip {
  min-width: 92px; background: var(--card); border:1px solid var(--line); border-radius: 14px;
  padding: 12px; text-align:center; box-shadow: var(--shadow-sm);
}
.slot-chip b { font-size: 16px; display:block; }
.slot-chip span { font-size: 11px; color: var(--muted); }
.slot-chip.free b { color: var(--green); }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field > label { font-size: 13px; font-weight: 700; color: var(--text); display:block; margin-bottom: 8px; }
.field .hint { font-size: 11px; color: var(--muted); font-weight: 500; }
.input, .select, textarea.input {
  width: 100%; height: 50px; background: var(--card); border:1px solid var(--line-2);
  border-radius: 12px; color: var(--text); padding: 0 14px; font-size: 15px; outline: none;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 76px; }
.input:focus, .select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.input::placeholder { color: var(--muted-2); }
.chip-row { display:flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 11px 15px; border-radius: 12px; background: var(--card); border:1px solid var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all .12s; box-shadow: var(--shadow-sm);
}
.chip.active { background: var(--teal-soft); border-color: var(--green); color: var(--green-deep); }
.stepper { display:flex; align-items:center; gap: 14px; background: var(--card); border:1px solid var(--line-2); border-radius: 12px; padding: 8px; width: fit-content; box-shadow: var(--shadow-sm); }
.stepper button { width: 38px; height: 38px; border-radius: 10px; background: var(--card-2); font-size: 20px; font-weight: 700; }
.stepper b { font-size: 20px; min-width: 22px; text-align:center; }

/* ---------- Bottom nav ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw); z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 22px rgba(16,42,47,.06);
}
.tab { display:flex; flex-direction:column; align-items:center; gap: 3px; color: var(--muted-2); font-size: 10px; font-weight: 600; padding: 4px 0; position: relative;}
.tab .ic { font-size: 21px; line-height: 1; }
.tab.active { color: var(--green-deep); }
.tab.fab .ic {
  width: 48px; height: 48px; margin-top: -22px; border-radius: 16px;
  background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff;
  display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 20px var(--green-glow);
}

/* ---------- Sheet / Modal ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(16,42,47,.45); z-index: 60; display:none;
  align-items: flex-end; justify-content: center;
}
.sheet-backdrop.open { display: flex; animation: fade .18s; }
.sheet {
  width: 100%; max-width: var(--maxw); background: var(--card);
  border-radius: 24px 24px 0 0; border: 1px solid var(--line); border-bottom: none;
  padding: 8px 18px calc(24px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto;
  animation: slideup .26s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(16,42,47,.18);
}
@keyframes slideup { from { transform: translateY(100%);} to { transform: none; } }
.grabber { width: 40px; height: 4px; background: var(--line-2); border-radius: 4px; margin: 8px auto 14px; }
.sheet h3 { margin: 4px 0 4px; font-size: 18px; }
.sheet .sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }

/* payment options */
.pay-opt {
  display:flex; align-items:center; gap: 14px; padding: 14px; border-radius: 14px;
  background: var(--card); border: 1.5px solid var(--line-2); margin-bottom: 10px;
}
.pay-opt.active { border-color: var(--green); background: var(--teal-soft); }
.pay-opt .pi { width: 44px; height: 44px; border-radius: 11px; display:grid; place-items:center; font-weight:800; font-size: 13px; }
.pi.whish { background: #e6007e; color: #fff; }
.pi.card { background: #1d2a4a; color: #aecbff; }
.pi.cash { background: #e8f4ee; color: #1fb0a6; }
.pay-opt .pt { flex: 1; }
.pay-opt .pt b { font-size: 15px; display:block; }
.pay-opt .pt span { font-size: 12px; color: var(--muted); }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display:grid; place-items:center;}
.pay-opt.active .radio { border-color: var(--green); }
.pay-opt.active .radio::after { content:''; width: 11px; height:11px; border-radius:50%; background: var(--green); }
.summary { background: var(--card-2); border:1px solid var(--line); border-radius: 14px; padding: 14px; margin: 4px 0 16px; }
.summary .row { display:flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--muted); }
.summary .row.total { color: var(--text); font-weight: 800; font-size: 16px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.summary .row .free { color: var(--green); }

/* whish processing */
.processing { text-align:center; padding: 30px 10px; }
.spinner { width: 46px; height: 46px; border: 3px solid var(--line-2); border-top-color: var(--green); border-radius:50%; margin: 0 auto 18px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-check { width: 72px; height: 72px; border-radius: 50%; background: var(--teal-soft); display:grid; place-items:center; margin: 6px auto 16px; font-size: 38px; color: var(--green); animation: pop .35s cubic-bezier(.2,1.4,.4,1);}
@keyframes pop { from { transform: scale(.3); opacity:0;} to {transform: scale(1); opacity:1;} }

/* ---------- Profile ---------- */
.profile-head { display:flex; align-items:center; gap: 16px; padding: 8px 4px 16px; }
.avatar-lg { width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg,#74D2C9,#2E9BBE); display:grid; place-items:center; font-size: 30px; font-weight:800; color: #fff; box-shadow: var(--shadow-sm);}
.list-card { background: var(--card); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.list-row { display:flex; align-items:center; gap: 13px; padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 14px;}
.list-row:last-child { border-bottom: none; }
.list-row .ic { font-size: 18px; width: 24px; text-align:center; }
.list-row .val { margin-inline-start: auto; color: var(--muted); font-size: 13px; font-weight:600; }
.level-pill { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; }
.lvl-intermediate { background: rgba(231,146,15,.14); color: var(--amber); }
.lvl-beginner { background: rgba(47,147,216,.14); color: var(--blue); }
.lvl-advanced { background: var(--teal-soft); color: var(--green-deep); }

/* ---------- Venue ---------- */
.venue-hero { height: 200px; border-radius: var(--radius); background: linear-gradient(135deg,#74D2C9,#2E9BBE); position:relative; overflow:hidden; display:grid; place-items:center; box-shadow: var(--shadow); }
.venue-hero .big-court { font-size: 120px; opacity:.22; }
.venue-hero .overlay { position:absolute; bottom:0; left:0; right:0; padding: 16px; background: linear-gradient(transparent, rgba(11,60,66,.55)); color:#fff; }
.venue-hero h2 { margin:0; font-size: 22px; }
.venue-hero .loc { color: rgba(255,255,255,.9); font-size: 13px; margin-top:2px; }
.gallery { margin-top: 14px; }
.photo-tile { min-width: 156px; height: 112px; border-radius: 14px; overflow: hidden; position: relative; background: var(--card-2); border:1px solid var(--line); box-shadow: var(--shadow-sm); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display:block; }
.photo-tile .ph-ic { position:absolute; inset:0; display:none; align-items:center; justify-content:center; font-size:40px; opacity:.55; }
.photo-tile.ph { background: linear-gradient(135deg, #74D2C9, #2E9BBE); }
.photo-tile.ph .ph-ic { display:flex; }
.photo-tile.ig { display:grid; place-items:center; text-align:center; font-weight:800; font-size:13px; color:#fff; line-height:1.5;
  background: linear-gradient(135deg,#833ab4,#c13584,#fd1d1d,#fcb045); }

.info-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.info-tile { background: var(--card); border:1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); }
.info-tile .ic { font-size: 20px; }
.info-tile b { display:block; margin-top: 8px; font-size: 14px; }
.info-tile span { font-size: 12px; color: var(--muted); }
.announce { background: linear-gradient(135deg, var(--teal-soft), var(--card)); border:1px solid var(--line-2); border-radius: 14px; padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.announce .k { font-size: 11px; font-weight:800; text-transform:uppercase; letter-spacing: 1px; color: var(--green-deep); }
.announce b { display:block; margin: 4px 0; font-size: 15px; }
.announce p { margin: 0; font-size: 13px; color: var(--muted); }

/* toast */
.toast-wrap { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 90; width: 92%; max-width: 430px; display:flex; flex-direction:column; gap: 8px; pointer-events:none;}
.toast { background: var(--card); border:1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; display:flex; gap: 11px; align-items:flex-start; box-shadow: var(--shadow); animation: toastin .3s; }
@keyframes toastin { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast .ti { font-size: 18px; }
.toast b { font-size: 13px; display:block; }
.toast span { font-size: 12px; color: var(--muted); }

/* ---------- Icons & new components (pro pass) ---------- */
.ic-svg { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.tab .ic { display: flex; align-items: center; justify-content: center; }
.icon-btn svg { color: var(--text); }
.toast .ti { display: flex; align-items: center; }
.ti-chip { display: inline-flex; }
.empty .ic { color: var(--muted-2); display: flex; justify-content: center; margin-bottom: 10px; }
.link { display: inline-flex; align-items: center; gap: 2px; }
body[dir="rtl"] .back-btn .ic-svg { transform: scaleX(-1); }

/* list rows / tiles */
.list-row .ic { color: var(--muted); display: inline-flex; align-items: center; width: 22px; }
.list-row.danger { color: var(--red); }
.list-row.danger .ic { color: var(--red); }
.list-row .val { display: inline-flex; align-items: center; gap: 4px; }
.list-row .val .ic-svg { color: var(--muted-2); }
.info-tile .ic { color: var(--green); display: inline-flex; }

/* detail seats */
.seats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 10px; box-shadow: var(--shadow-sm); }
.seat { text-align: center; min-width: 0; }
.pip.lg { width: 48px; height: 48px; font-size: 17px; margin: 0 auto 8px; }
.pip.empty.lg { color: var(--muted-2); }
.seat-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat-name.muted { color: var(--muted); font-weight: 500; }
.seat-role { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* reserved banner */
.reserved-banner { display: flex; align-items: center; gap: 12px; background: var(--teal-soft); border: 1px solid rgba(31,176,166,.3); border-radius: 16px; padding: 14px 16px; margin-bottom: 4px; }
.reserved-banner .rb-ic { color: var(--green); display: flex; flex: none; }
.reserved-banner .rb-txt b { font-size: 15px; display: block; }
.reserved-banner .rb-txt span { font-size: 12px; color: var(--muted); }
.paid-tag { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--green-deep); background: #fff; border: 1px solid var(--line); padding: 5px 9px; border-radius: 20px; white-space: nowrap; }

/* optional pay card */
.pay-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.pay-card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pay-card-row b { font-size: 15px; display: block; }
.pay-card-row span { font-size: 12px; color: var(--muted); }
.pay-card .amt { font-size: 20px; font-weight: 800; white-space: nowrap; }
.pay-card-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.pay-card-actions .btn { width: auto; padding: 0 18px; }
.pay-later { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

.reserve-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 11px 0 0; }
.reserve-note .ic-svg { color: var(--green); }
.btn-lg { height: 56px; font-size: 16px; }
.btn-danger { color: var(--red); }

/* gallery instagram tile inner */
.photo-tile .ig-in { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.venue-hero .big-court { color: #fff; }
.hero-court .ic-svg { color: var(--green); }

/* booking-type segmented toggle */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 5px; margin: 8px 0 10px; }
.seg-btn { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); background: transparent; transition: .12s; }
.seg-btn.active { background: #fff; color: var(--green-deep); box-shadow: var(--shadow-sm); }
.seg-btn .ic-svg { color: inherit; }
.seg-help { font-size: 12.5px; color: var(--muted); margin: 0 4px 18px; line-height: 1.5; }
.tag-private { background: rgba(106,63,208,.12); color: #6a3fd0; }
.ribbon-private { background: #6a3fd0; }

/* 7-day date picker */
.date-chip { min-width: 74px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; text-align: center; box-shadow: var(--shadow-sm); transition: .12s; }
.date-chip span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.date-chip b { display: block; font-size: 20px; margin: 3px 0 1px; }
.date-chip small { font-size: 11px; color: var(--muted-2); }
.date-chip.active { border-color: var(--green); background: var(--teal-soft); }
.date-chip.active b, .date-chip.active span { color: var(--green-deep); }

/* duration chips & tags */
.dur-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; }
.dur-chip b { font-size: 14px; }
.dur-chip .dur-price { font-size: 12px; color: var(--muted); font-weight: 600; }
.dur-chip.active .dur-price { color: var(--green-deep); }
.dur-tag { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--card-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 20px; margin-inline-start: 6px; }

/* private booking price note */
.price-note { display: flex; align-items: flex-start; gap: 12px; background: var(--teal-soft); border: 1px solid rgba(31,176,166,.3); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.price-note .ic-svg { color: var(--green-deep); flex: none; margin-top: 2px; }
.price-note b { display: block; font-size: 15px; }
.price-note span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* forgot password */
.fp-link { display: block; margin: -8px 2px 14px; font-size: 13px; font-weight: 700; color: var(--green-deep); background: none; text-align: start; }
.code-input { text-align: center; font-size: 24px !important; letter-spacing: 10px; font-weight: 800; }

/* venue hero with photo background */
.venue-hero.photo { background: url('../assets/venue-2.jpg') center/cover no-repeat; position: relative; }
.venue-hero.photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,47,.05), rgba(15,42,47,.55)); }
.venue-hero.photo .overlay { background: none; }

.timing-row { margin: 2px 2px 6px; }
.ttag { font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 20px; display:inline-flex; align-items:center; gap:5px; letter-spacing:.2px; }
.ttag.live { background: rgba(239,77,82,.14); color: var(--red); }
.ttag.live::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--red); margin-inline-end:2px; animation: blink 1s infinite; }
.ttag.soon { background: rgba(231,146,15,.14); color: var(--amber); }
.ttag.up   { background: var(--teal-soft); color: var(--green-deep); }
.ttag.past { background: var(--card-2); color: var(--muted); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

.empty { text-align:center; color: var(--muted); padding: 40px 20px; }
.empty .ic { font-size: 44px; opacity:.5; display:block; margin-bottom: 10px; }

.filter-bar { display:flex; gap: 8px; overflow-x:auto; padding: 4px 0 2px; margin: 4px 0 8px; scrollbar-width:none;}
.filter-bar::-webkit-scrollbar { display:none; }
.fchip { white-space: nowrap; padding: 8px 14px; border-radius: 20px; background: var(--card); border:1px solid var(--line); font-size: 13px; font-weight:600; color: var(--muted); box-shadow: var(--shadow-sm); }
.fchip.active { background: var(--green); color:#fff; border-color: var(--green); }

.back-btn { display:flex; align-items:center; gap:8px; color: var(--muted); font-size:14px; font-weight:600; margin: 4px 0 8px; padding: 6px 0; }
body[dir="rtl"] .back-btn .chev { transform: scaleX(-1); }

/* ---------- Website layout (desktop nav + grid) ---------- */
.topnav { display: none; }
.topnav-link { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; transition: .12s; }
.topnav-link.active { color: var(--green-deep); background: var(--teal-soft); }
.topnav-link:hover { color: var(--text); }
.admin-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; background: #0f1f22; color: #fff; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); }
.admin-btn svg { color: var(--green); }
.admin-btn:hover { filter: brightness(1.12); }

.match-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.match-grid .match-card { margin-bottom: 12px; }

@media (max-width: 480px) { .admin-btn-txt { display: none; } .admin-btn { padding: 0 11px; } }

@media (min-width: 900px) {
  .app { max-width: 1120px; padding-bottom: 48px; }
  .topbar { padding: 18px 30px 16px; gap: 20px; }
  .topnav { display: flex; gap: 4px; flex: 1; justify-content: center; }
  .tabbar { display: none; }
  .screen { padding: 10px 30px 40px; }
  .hero { padding: 26px 30px; }
  .hero h2 { font-size: 24px; }
  .match-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
  .match-grid .match-card { margin-bottom: 0; }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
  .venue-hero { height: 260px; }
}
@media (min-width: 1180px) {
  .match-grid { grid-template-columns: repeat(3, 1fr); }
}
