:root {
  /* Same palette as the mobile app (lib/core/colors.dart) */
  --ink: #052e16; --ink-soft: #4d7c0f; --muted: #a3b8aa; --line: #eaf7ee; --border: #d1fae5; --bg: #f6fdf7;
  --blue: #0ea5e9; --blue-dark: #0369a1; --blue-soft: #e0f2fe; --green: #22c55e; --green-dark: #15803d; --green-soft: #dcfce7;
  --yellow: #f5b700; --amber: #ff7a1a; --red: #dc2626; --navy: #0b3c7a; --card: #fff; --radius: 16px;
  --head-top: #0b3c7a; --head-bottom: #0f5a3c;
  --shadow: 0 6px 20px rgba(4, 20, 10, .06), 0 1px 4px rgba(4, 20, 10, .03);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---- topbar ---- */
.topbar { position: sticky; top: 0; z-index: 40; background: linear-gradient(135deg, #0b3c7a, #0f5a3c); color: #fff; }
.topbar-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 62px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; letter-spacing: -.4px; }
.brand img { border-radius: 50%; }
.brand .in { color: #fff; } .brand .swing { color: var(--yellow); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); }
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a.active { background: rgba(255,255,255,.2); color: #fff; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avatar-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 700; font-size: 13px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #1a1400; display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* ---- layout ---- */
.view { max-width: 1160px; margin: 0 auto; padding: 24px 20px 60px; min-height: 70vh; }
.foot { max-width: 1160px; margin: 0 auto; padding: 18px 20px 30px; display: flex; gap: 18px; font-size: 13px; color: var(--ink-soft); }
h1 { font-size: 30px; letter-spacing: -.6px; margin: 0 0 6px; font-weight: 800; }
h2 { font-size: 20px; margin: 0 0 14px; font-weight: 800; letter-spacing: -.2px; }
h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.muted { color: var(--ink-soft); font-size: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.section { margin-top: 34px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.section-head a { color: var(--blue); font-weight: 700; font-size: 14px; }

/* ---- cards ---- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pad { padding: 18px; }
.turf-card { overflow: hidden; display: block; transition: transform .15s, box-shadow .15s; }
.turf-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,31,58,.13); }
.turf-card .cover { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: #dcefe2; }
.turf-card .body { padding: 14px 16px 16px; }
.turf-card h3 { margin: 0 0 4px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--blue-soft); color: #0369a1; }
.badge.green { background: var(--green-soft); color: #15803d; }
.badge.yellow { background: #fff4cc; color: #8a6400; }
.badge.red { background: #fde8e8; color: #a31616; }
.badge.gray { background: #eaf7ee; color: #4d7c0f; }
.price { font-weight: 800; }
.match-card { display: flex; gap: 14px; padding: 12px; align-items: center; }
.match-card .thumb { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; background: #dcefe2; }
.match-card .info { flex: 1; min-width: 0; }
.match-card .info h3 { margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-card .side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---- hero (home) ---- */
.hero { background: linear-gradient(135deg, #0b3c7a, #0f5a3c); color: #fff; border-radius: 26px; padding: 30px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; }
.hero h1 { color: #fff; font-size: 32px; }
.hero p { color: rgba(255,255,255,.82); margin: 0 0 18px; }
.cta-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { border-radius: 18px; padding: 18px 12px; text-align: center; font-weight: 800; cursor: pointer; border: 0; display: block; }
.tile small { display: block; font-weight: 500; opacity: .8; font-size: 12px; margin-top: 2px; }
.tile.primary { background: linear-gradient(135deg, #1e88e5, #0b5fd8); color: #fff; box-shadow: 0 10px 22px rgba(14,165,233,.35); }
.tile.soft { background: #d9f7e4; color: #0b3b22; }
.searchbar { display: flex; gap: 8px; background: #fff; border-radius: 16px; padding: 6px; max-width: 520px; }
.searchbar input { flex: 1; border: 0; outline: 0; padding: 10px 12px; background: transparent; color: var(--ink); min-width: 0; }

/* ---- forms / buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .12s, opacity .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(14,165,233,.28); }
.btn-yellow { background: var(--yellow); color: #1a1400; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: var(--red); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #c7e9d3; border-radius: 12px; background: #fff; outline: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.chip.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip.disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.datechips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.datechip { min-width: 64px; text-align: center; padding: 8px 6px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; }
.datechip small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 11px; }
.datechip.on { background: var(--blue); color: #fff; border-color: var(--blue); } .datechip.on small { color: rgba(255,255,255,.85); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: center; cursor: pointer; font-weight: 700; font-size: 13px; }
.slot small { display: block; font-weight: 600; color: var(--ink-soft); }
.slot.on { background: var(--blue); color: #fff; border-color: var(--blue); } .slot.on small { color: rgba(255,255,255,.85); }
.slot.off { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.err { color: var(--red); font-size: 13px; font-weight: 600; margin-top: 8px; }

/* ---- turf detail ---- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.gallery { border-radius: 22px; overflow: hidden; background: #dcefe2; }
.gallery .main { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs img { width: 90px; height: 62px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.thumbs img.on { border-color: var(--blue); }
.sticky { position: sticky; top: 82px; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; margin: 6px 0; }
.summary-line.total { font-weight: 800; font-size: 17px; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.stars { color: var(--yellow); letter-spacing: 1px; }
.player { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.player .avatar { width: 38px; height: 38px; background: var(--blue-soft); color: var(--blue); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { padding: 16px; }
.stat b { display: block; font-size: 24px; letter-spacing: -.5px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-soft); }

/* ---- auth ---- */
.auth-wrap { max-width: 440px; margin: 30px auto; }
.otp-input { text-align: center; font-size: 26px; letter-spacing: 10px; font-weight: 800; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 12px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---- misc ---- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty h2 { color: var(--ink); }
.loading { display: grid; place-items: center; padding: 80px 0; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid #c7e9d3; border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; align-items: center; }
.toast { background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(10px); transition: all .25s; max-width: 90vw; }
.toast.show { opacity: 1; transform: none; }
.toast-error { background: var(--red); } .toast-success { background: var(--green); }
.modal-wrap { position: fixed; inset: 0; background: rgba(10,27,51,.55); display: grid; place-items: center; z-index: 90; padding: 20px; }
.modal { background: #fff; border-radius: 22px; padding: 24px; max-width: 440px; width: 100%; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.success-hero { text-align: center; background: linear-gradient(135deg, #0b3c7a, #0f5a3c); color: #fff; border-radius: 26px; padding: 40px 20px; }
.success-hero .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 14px; font-size: 40px; }
.success-hero h1 { color: #fff; }
.progress { height: 8px; border-radius: 6px; background: #d9f2e1; overflow: hidden; }
.progress > div { height: 100%; background: var(--green); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: #0b3c7a; padding: 10px 14px 16px; margin: 0; }
  .nav.open { display: flex; }
  .topbar-right { margin-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  h1 { font-size: 25px; }
}

/* auth tabs */
.tabs .tab { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; font-family: inherit; color: var(--ink-soft); }
.tabs .tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---- login (split layout) ---- */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; max-width: 900px; margin: 24px auto; padding: 0; overflow: hidden; min-height: 540px; }
.auth-art { position: relative; color: #fff; overflow: hidden; background: #0a3d91; }
.auth-art-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-brand { position: absolute; top: 26px; left: 26px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 600; opacity: .95; }
.auth-logo { font-size: 26px; font-weight: 800; letter-spacing: -.5px; } .auth-logo b { color: #ffd23f; font-weight: 800; }
.bub { position: absolute; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 10px 24px rgba(5,25,60,.25); animation: bob 5s ease-in-out infinite; }
.bub.b1 { top: 22%; left: 12%; } .bub.b2 { top: 36%; right: 8%; animation-delay: -1.5s; border-radius: 16px 16px 4px 16px; }
.bub.b3 { bottom: 24%; left: 8%; animation-delay: -3s; } .bub.b4 { bottom: 14%; right: 14%; animation-delay: -2s; border-radius: 16px 16px 4px 16px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.auth-pitch { position: absolute; left: 26px; right: 26px; bottom: 22px; margin: 0; font-size: 14px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.auth-form { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { margin: 0 0 22px; font-size: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.auth-form .req { color: #e0363f; }
.phone-row { display: flex; align-items: stretch; border: 1px solid #c7e9d3; border-radius: 14px; overflow: hidden; background: #fff; }
.phone-row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.phone-row .cc { display: flex; align-items: center; gap: 8px; padding: 0 14px; font-weight: 700; background: #f1fbf3; border-right: 1px solid #c7e9d3; white-space: nowrap; }
.phone-row .flag { width: 22px; height: 15px; border-radius: 2px; background: linear-gradient(#ff9933 33%, #fff 33% 66%, #138808 66%); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.phone-row input { border: 0 !important; box-shadow: none !important; border-radius: 0; flex: 1; min-width: 0; font-size: 17px; letter-spacing: .5px; }
.btn-lg { padding: 14px 18px; font-size: 16px; margin-top: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.alt-opts { display: flex; justify-content: center; gap: 34px; }
.alt-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.alt-ico { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; color: var(--ink-soft); transition: .15s; }
.alt-opt:hover .alt-ico { border-color: var(--blue); box-shadow: 0 6px 16px rgba(14,165,233,.18); color: var(--blue); }
.g-hidden { position: absolute; left: -9999px; width: 240px; opacity: 0; pointer-events: none; }
.g-hidden [role=button] { pointer-events: auto; }
.auth-legal { margin: 22px 0 0; font-size: 12px; color: var(--ink-soft); text-align: center; }
.auth-legal a { color: var(--blue); font-weight: 700; }
@media (max-width: 760px) {
  .auth-split { grid-template-columns: 1fr; min-height: 0; margin: 10px auto; }
  .auth-art { height: 150px; } .bub, .auth-pitch { display: none; }
  .auth-form { padding: 24px 20px; }
}


/* =====================================================================
   App-matched UI — mirrors the mobile Home screen (lib/views/home/home.dart):
   blue→green gradient header, rounded sheet, hero tiles, horizontal cards.
   ===================================================================== */
body { background: linear-gradient(135deg, var(--head-top), var(--head-bottom)) fixed; color: var(--ink); }
.view-anim { animation: viewIn .3s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* header band */
.topbar { background: transparent; color: #fff; position: sticky; top: 0; z-index: 40; backdrop-filter: none; border: 0; }
.topbar.scrolled { background: linear-gradient(135deg, var(--head-top), var(--head-bottom)); box-shadow: 0 6px 20px rgba(4,20,10,.25); }
.topbar-inner { max-width: 1180px; height: 64px; padding: 0 20px; gap: 18px; }
.brand { font-size: 24px; color: #fff; } .brand .in { color: #fff; } .brand .swing { color: var(--yellow); }
.brand img { width: 34px; height: 34px; }
.nav { margin-left: 14px; }
.nav a { color: rgba(255,255,255,.8); font-weight: 600; padding: 8px 15px; }
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a.active { background: rgba(255,255,255,.2); color: #fff; }
.burger { color: #fff; }
.avatar-btn { background: rgba(255,255,255,.14); color: #fff; padding: 3px 12px 3px 3px; }
.avatar-btn:hover { background: rgba(255,255,255,.24); }
.avatar { background: #fff; color: var(--green-dark); border: 2px solid #fff; }
.topbar-right .btn-yellow { box-shadow: none; }
.loc-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; cursor: pointer; max-width: 240px; transition: .15s; }
.loc-btn:hover { background: rgba(255,255,255,.24); }
.loc-btn .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-btn .car { font-size: 10px; opacity: .75; }
.topbar-loc { margin-left: auto; }
.topbar-right { margin-left: 0; }

/* greeting (home only) */
.greet { max-width: 1180px; margin: 0 auto; padding: 4px 20px 26px; color: #fff; }
.greet h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: #fff; }
.greet .loc-btn { margin-top: 6px; padding: 0; background: none; color: rgba(255,255,255,.78); font-size: 14px; }
.greet .loc-btn:hover { color: #fff; background: none; }
.greet.compact { padding-bottom: 14px; display: none; }

/* rounded sheet (like the app's white panel under the header) */
.sheet { background: var(--bg); border-radius: 28px 28px 0 0; min-height: 70vh; box-shadow: 0 -10px 40px rgba(4,20,10,.12); }
.sheet .view { max-width: 1180px; margin: 0 auto; padding: 22px 20px 56px; min-height: 60vh; }
.foot { max-width: 1180px; margin: 0 auto; padding: 18px 20px 34px; border-top: 1px solid var(--line); }
.foot a:hover { color: var(--green-dark); }
.sheet-foot { background: var(--bg); }

/* type */
h1 { font-weight: 800; letter-spacing: -.5px; }
.section { margin-top: 26px; }
.section-head { margin-bottom: 12px; }
.section-head h2 { font-size: 20px; margin: 0; letter-spacing: -.3px; }
.section-head a { color: var(--blue-dark); background: none; padding: 0; font-weight: 700; font-size: 14px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { font-size: 28px; margin-bottom: 2px; }
.page-head .loc-btn { background: var(--green-soft); color: var(--green-dark); }
.page-head .loc-btn:hover { background: #c9f5d6; }

/* universal container (cards) */
.card { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pad { padding: 18px; }

/* search (UniversalContainer + search icon) */
.searchbar, .bigsearch { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow); max-width: none; }
.searchbar input, .bigsearch input { flex: 1; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; padding: 11px 6px; min-width: 0; color: var(--ink); }
.searchbar .ico, .bigsearch > span { color: var(--ink-soft); font-size: 16px; }
.bigsearch { margin-bottom: 20px; }

/* hero action tiles — Create Match (gradient) + Join Matches (soft green) */
.cta-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border-radius: 20px; padding: 18px 12px; font-weight: 800; font-size: 15px; transition: transform .15s; border: 0; }
.tile:hover { transform: translateY(-2px); }
.tile .ti { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; font-size: 20px; }
.tile small { font-weight: 500; font-size: 11.5px; opacity: .78; }
.tile.primary { background: linear-gradient(135deg, #1e88e5, #0b5fd8); color: #fff; box-shadow: 0 8px 18px rgba(14,165,233,.3); }
.tile.primary .ti { background: rgba(255,255,255,.18); border: 1.5px solid #fff; }
.tile.soft { background: var(--green-soft); color: var(--ink); }
.tile.soft .ti { background: #fff; color: var(--green-dark); }

/* banners */
.banner { display: flex; align-items: center; gap: 12px; border-radius: 18px; padding: 14px; margin-top: 14px; }
.banner.yellow { background: #fff7cc; border: 1px solid rgba(245,183,0,.45); }
.banner.green { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); }
.banner .bi { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 18px; }
.banner.yellow .bi { background: rgba(245,183,0,.25); }
.banner b { display: block; font-size: 14px; } .banner span { font-size: 12px; color: var(--ink-soft); }
.banner .chev { margin-left: auto; color: var(--ink-soft); font-size: 22px; }

/* horizontal scrollers (Matches Near You / Popular Turfs) */
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.hscroll::-webkit-scrollbar { height: 6px; } .hscroll::-webkit-scrollbar-thumb { background: #c7e9d3; border-radius: 6px; }

/* date strip */
.datestrip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.datestrip::-webkit-scrollbar { display: none; }
.dchip { flex: none; min-width: 52px; text-align: center; padding: 8px 6px; border-radius: 14px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 800; font-size: 15px; line-height: 1.15; }
.dchip small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.dchip.on { background: var(--blue); border-color: var(--blue); color: #fff; } .dchip.on small { color: rgba(255,255,255,.85); }

/* match tile (220px card from the app) */
.mtile { display: flex; flex-direction: column; width: 220px; min-height: 196px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.mtile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(4,20,10,.12); }
.mtile .top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.mtile .when { color: var(--green-dark); font-weight: 600; font-size: 12px; }
.mtile .going { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 8px; background: rgba(34,197,94,.12); color: var(--green-dark); }
.mtile .going.full { background: var(--line); color: var(--ink-soft); }
.mtile h3 { margin: 4px 0 2px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile .place { color: var(--ink-soft); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile .fee { margin-top: 6px; font-weight: 800; color: var(--blue); font-size: 13px; }
.mtile .faces { display: flex; margin-top: 8px; height: 26px; }
.mtile .faces i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: var(--green-soft); color: var(--green-dark); font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; margin-right: -7px; overflow: hidden; }
.mtile .faces img { width: 100%; height: 100%; object-fit: cover; }
.mtile .join { margin-top: auto; padding-top: 10px; }
.mtile .join span { display: block; text-align: center; background: rgba(34,197,94,.12); color: var(--green-dark); font-weight: 800; font-size: 13px; padding: 9px; border-radius: 20px; }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.grid-tiles .mtile { width: auto; }

/* turf tile (175px card from the app) */
.ttile { display: flex; flex-direction: column; width: 190px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.ttile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(4,20,10,.12); }
.ttile .ph { position: relative; height: 108px; background: #dcefe2; overflow: hidden; }
.ttile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ttile .b { padding: 10px 10px 4px; }
.ttile h3 { margin: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttile .rate { display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; margin: 3px 0; }
.ttile .rate .st { color: #facc15; }
.ttile .loc-row { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--ink-soft); }
.ttile .loc-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttile .loc-row b { color: var(--blue); font-size: 12px; white-space: nowrap; }
.ttile .acts { display: flex; border-top: 1px solid var(--line); margin-top: 6px; }
.ttile .acts a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0; font-size: 10px; font-weight: 600; color: var(--ink-soft); }
.ttile .acts a:hover { background: var(--bg); }
.ttile .acts i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.ttile .acts .c i { background: rgba(14,165,233,.12); color: var(--blue); }
.ttile .acts .w i { background: rgba(37,211,102,.14); color: #25d366; }
.ttile .acts .d i { background: rgba(255,122,26,.13); color: var(--amber); }
.ttile .book { padding: 8px 10px 10px; }
.grid-turfs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.grid-turfs .ttile { width: auto; }
.grid-turfs .ttile .ph { height: 130px; }

/* chips / pills / buttons */
.badge { background: var(--green-soft); color: var(--green-dark); }
.badge.green { background: rgba(34,197,94,.14); color: var(--green-dark); }
.badge.gray { background: var(--line); color: var(--ink-soft); }
.price { color: var(--blue); }
.btn { border-radius: 999px; font-weight: 800; padding: 12px 24px; }
.btn-primary { background: linear-gradient(135deg, #1e88e5, #0b5fd8); box-shadow: 0 8px 18px rgba(14,165,233,.3); }
.btn-primary:hover { box-shadow: 0 12px 24px rgba(14,165,233,.38); }
.btn-yellow { background: var(--yellow); color: #1a1400; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.chip, .datechip, .slot { border-color: var(--border); }
.chip.on, .datechip.on, .slot.on, .tabs .tab.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: none; }
.chip:hover { border-color: var(--blue); color: var(--blue); } .chip.on:hover { color: #fff; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea { border-radius: 14px; border: 1px solid var(--border); background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,.16); }
.gallery { border-radius: 20px; }
.progress > div { background: var(--green); }
.stat b { color: var(--blue-dark); }
th { background: var(--bg); }
.empty { background: #fff; border: 1px dashed var(--border); border-radius: 20px; }
.success-hero { background: linear-gradient(135deg, var(--head-top), var(--head-bottom)); border-radius: 24px; }
.modal { border-radius: 22px; }
.toast { background: var(--ink); } .toast-success { background: var(--green-dark); }

/* turf/match cards used on other pages inherit the app look */
.turf-card { border-radius: 16px; }
.match-card { border-radius: 16px; }

/* mobile bottom bar — floating rounded white bar like the app */
.tabbar { display: none; }
@media (max-width: 900px) { .sheet .view { padding: 18px 16px 44px; } }
@media (max-width: 760px) {
  body { padding-bottom: 82px; }
  .topbar-inner { height: 56px; gap: 8px; padding: 0 12px; }
  .nav, .burger { display: none !important; }
  .brand { font-size: 21px; } .brand img { width: 28px; height: 28px; }
  .loc-btn { max-width: 150px; padding: 7px 11px; }
  .topbar-loc { display: none; }
  .topbar-right { margin-left: auto; }
  .topbar-right .avatar-btn span:last-child { display: none; }
  .avatar-btn { padding: 3px; }
  .greet { padding: 0 16px 20px; } .greet h1 { font-size: 22px; }
  .sheet { border-radius: 24px 24px 0 0; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 24px rgba(4,20,10,.1); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--ink-soft); padding: 4px 10px; min-width: 56px; }
  .tabbar svg { width: 24px; height: 24px; fill: currentColor; }
  .tabbar a.active { color: var(--blue); }
  .tabbar a.fab svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: linear-gradient(135deg, #1e88e5, #0b5fd8); fill: #fff; box-shadow: 0 8px 18px rgba(14,165,233,.4); margin-top: -24px; }
  .tabbar a.fab span { color: var(--ink-soft); }
  .mtile { width: 220px; }
}

.greet { display: none; } body.is-home .greet { display: block; } body.is-home .topbar-loc { display: none; }
@media (max-width: 760px) { body.is-home .greet { display: block; } }

/* nav badges + new pages */
.nb { font-style: normal; background: #dc2626; color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.ti-wrap { position: relative; display: inline-flex; }
.ti-wrap .nb { position: absolute; top: -4px; right: -10px; margin: 0; border: 1.5px solid #fff; }
.tabbar a.fab { all: unset; }
.pav { width: 46px; height: 46px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-weight: 800; font-size: 18px; overflow: hidden; flex: none; }
.pav img { width: 100%; height: 100%; object-fit: cover; } .pav.lg { width: 84px; height: 84px; font-size: 32px; margin: 0 auto 8px; }
.prow, .tcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.prow:hover, .tcard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(4,20,10,.1); }
.pinfo { flex: 1; min-width: 0; } .pinfo h3 { margin: 0 0 2px; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pstats { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; color: var(--ink-soft); } .pstats b { color: var(--ink); }
.tlogo { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #1e88e5, #0b5fd8); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; overflow: hidden; flex: none; }
.tlogo img { width: 100%; height: 100%; object-fit: cover; } .tlogo.lg { width: 72px; height: 72px; font-size: 30px; border-radius: 20px; }
.team-head { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.count-dot { background: #dc2626; color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.pmodal { text-align: center; }
@media (max-width: 760px) { .tabbar a { min-width: 54px; } .tabbar a.fab { all: unset; } }

.mini-link { color: rgba(255,255,255,.85); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; } .mini-link:hover { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 760px) { .mini-link { display: none; } }

.ptile { width: 190px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.ptile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(4,20,10,.12); }
.ptile h3 { margin: 4px 0 0; font-size: 14px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptile .pstats { margin: 6px 0 8px; justify-content: center; }
.teamtile { width: 200px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; transition: transform .15s; }
.teamtile:hover { transform: translateY(-3px); }
.teamtile h3 { margin: 6px 0 0; font-size: 15px; }

/* ---- Modern Profile + Create Match ---- */
.pf-wrap,.cm-wrap{max-width:680px;margin:0 auto}
.pf-hero,.cm-hero{background:linear-gradient(135deg,var(--head-top),var(--head-bottom));color:#fff;border-radius:26px 26px 0 0;padding:26px 20px 52px;text-align:center}
.cm-hero{text-align:left;border-radius:24px 24px 0 0;padding:22px 22px 46px}
.pf-hero h1,.cm-hero h1{color:#fff;margin:10px 0 2px;font-size:24px}.cm-hero h1{margin-top:0}
.pf-hero p,.cm-hero p{margin:0;color:rgba(255,255,255,.75);font-size:14px}
.pf-ring{width:112px;height:112px;border-radius:50%;padding:3px;margin:0 auto;background:linear-gradient(135deg,#f5b700,#22c55e)}
.pf-av{width:100%;height:100%;border-radius:50%;background:#fff;padding:3px;overflow:hidden;display:grid;place-items:center}
.pf-av img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.pf-av span{width:100%;height:100%;border-radius:50%;background:var(--primary-soft,#dcfce7);color:#15803d;font-size:44px;font-weight:800;display:grid;place-items:center}
.pf-tags{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:12px}
.pf-tags span{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);padding:5px 12px;border-radius:999px;font-size:12px;font-weight:600}
.pf-body,.cm-body{background:#f6fdf7;border-radius:26px 26px 0 0;margin-top:-26px;padding:18px 16px 24px;position:relative}
.pf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pf-stats>div{background:#fff;border-radius:16px;padding:14px 8px;text-align:center;box-shadow:0 4px 14px rgba(5,46,22,.07);display:flex;flex-direction:column;gap:2px}
.pf-stats i{font-style:normal;font-size:20px}.pf-stats b{font-size:22px;font-weight:800;color:#052e16}.pf-stats span{font-size:12px;color:#4d7c0f}
.pf-links{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.pf-links a{flex:1;min-width:120px;text-align:center;background:#fff;border:1px solid #d1fae5;border-radius:999px;padding:10px 12px;font-weight:700;font-size:13px;color:#052e16;text-decoration:none}
.pf-links a:hover{border-color:#22c55e}
.pf-card{background:#fff;border-radius:18px;padding:16px;margin-bottom:12px;box-shadow:0 4px 14px rgba(5,46,22,.06)}
.pf-card h3{margin:0 0 4px;font-size:15px;font-weight:800;color:#052e16}
.pf-actions{display:flex;gap:10px;align-items:center;margin-top:6px}
.cm-sec{background:#fff;border-radius:18px;padding:16px;margin-bottom:12px;box-shadow:0 4px 14px rgba(5,46,22,.06)}
.cm-lab{display:flex;align-items:center;gap:8px;font-weight:800;font-size:15px;color:#052e16;margin-bottom:10px}
.cm-lab i{font-style:normal;width:30px;height:30px;border-radius:10px;background:#dcfce7;display:grid;place-items:center;font-size:15px}
.cm-per{margin-top:10px;background:#dcfce7;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.cm-per b{color:#15803d;font-size:17px}.cm-per span{font-size:12px;color:#4d7c0f}
.cm-go{flex:1;width:100%;border:0;cursor:pointer;color:#fff;font:inherit;font-weight:800;font-size:16px;padding:15px 20px;border-radius:18px;background:linear-gradient(135deg,#1e88e5,#0f5a3c);box-shadow:0 8px 18px rgba(30,136,229,.32)}
.pf-actions .cm-go{width:auto;flex:1}
.cm-go:disabled{opacity:.6;cursor:default}

/* ---- Marketing sections inside the app ---- */
.mk-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.mk-step{background:#fff;border-radius:18px;padding:16px;box-shadow:0 4px 14px rgba(5,46,22,.07)}
.mk-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.mk-num{width:30px;height:30px;border-radius:50%;color:#fff;font-weight:800;display:grid;place-items:center}
.mk-ico{font-size:26px}.mk-step h4{margin:0 0 4px}.mk-step p{margin:0;color:#4d7c0f;font-size:13px}
.mk-feats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.mk-feats>div{background:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:4px;box-shadow:0 4px 14px rgba(5,46,22,.07)}
.mk-feats span{font-size:24px}.mk-feats small{color:#4d7c0f}
.mk-faq{background:#fff;border-radius:14px;padding:14px 16px;margin-bottom:8px;box-shadow:0 2px 8px rgba(5,46,22,.06)}
.mk-faq summary{font-weight:700;cursor:pointer}.mk-faq p{margin:8px 0 0;color:#4d7c0f}
.mk-app{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:linear-gradient(135deg,#0b3c7a,#0f5a3c);color:#fff;border-radius:22px;padding:22px}
.mk-app h3{margin:0 0 4px;color:#fff}.mk-app p{margin:0;opacity:.85;max-width:420px}.mk-app small{opacity:.7;display:block;margin-top:6px}
.mk-badges{display:flex;gap:10px;flex-wrap:wrap}
.mk-badge{background:#000;color:#fff;border-radius:12px;padding:8px 18px;display:flex;flex-direction:column;line-height:1.15;text-decoration:none}
.mk-badge small{margin:0;font-size:10px;opacity:.8}.mk-badge b{font-size:16px}


.pf-more a{display:flex;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid #eaf7ee;color:#052e16;font-weight:600;text-decoration:none}
.pf-more a:last-child{border-bottom:0}
.pf-more a i{font-style:normal;width:32px;height:32px;border-radius:10px;background:#dcfce7;display:grid;place-items:center}
.pf-more a b{margin-left:auto;color:#4d7c0f}
.pf-more a.danger{color:#dc2626}.pf-more a.danger i{background:#fee2e2}

/* ---- Marketing banner (ported from the old website) ---- */
.vh-hero{position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 85% 100%, rgba(34,139,34,.22), transparent 60%),
    radial-gradient(900px 400px at 10% 0%, rgba(125,211,252,.35), transparent 60%),
    linear-gradient(180deg, #d9ecff 0%, #eef7ff 55%, #f3faf2 100%);}
.vh-hero .hero-inner{max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 150px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center;
  position: relative; z-index: 2;}
.vh-hero .hero-title{font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -1.5px; margin: 0 0 22px;}
.vh-hero .hero-title .accent{color: var(--yellow);}
.vh-hero .hero-sub{font-size: 18px; color: var(--ink-soft); max-width: 460px; margin: 0 0 28px;}
.vh-hero .hero-badges{display: flex; flex-wrap: wrap; gap: 12px; align-items: center;}
.vh-hero .store-pill{display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  border-radius: 10px; padding: 8px 16px; min-width: 150px; border: 1px solid #222;}
.vh-hero .store-pill svg{width: 24px; height: 24px; flex: none;}
.vh-hero .store-pill small{display: block; font-size: 9.5px; letter-spacing: .3px; opacity: .85; line-height: 1;}
.vh-hero .store-pill b{display: block; font-size: 17px; line-height: 1.15; font-weight: 600;}
.vh-hero .coming-soon-lg{margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); font-weight: 600;}
.vh-hero .hero-visual{position: relative; min-height: 520px; display: flex; justify-content: center;}
.vh-hero .tagline-script{position: absolute; right: 0; top: -8px; z-index: 3;
  font-family: 'Caveat', 'Segoe Script', cursive; font-weight: 700;
  font-size: 34px; line-height: 1; color: var(--navy); transform: rotate(-9deg); text-align: left;}
.vh-hero .tagline-script::after{content: ''; display: block; height: 4px; width: 90%; margin-top: 6px;
  background: var(--yellow); border-radius: 4px; transform: rotate(-3deg);}
.vh-hero .field-art{position: absolute; right: -40px; bottom: -10px; width: 520px; max-width: 100%; z-index: 1; opacity: .96;}
.vh-hero .phone{position: relative; z-index: 4; width: 290px; height: 560px; margin-top: 10px;
  background: #0b0f17; border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 70px rgba(10,27,51,.35), inset 0 0 0 2px #2a3140;
  transform: rotate(-8deg);}
.vh-hero .phone-notch{position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #000; border-radius: 14px; z-index: 5;}
.vh-hero .phone-screen{width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #f6fdf7; position: relative;}
.vh-hero .ps-head{background: linear-gradient(135deg, #0b3c7a, #0f5a3c); padding: 40px 16px 18px; color: #fff;}
.vh-hero .ps-head-row{display: flex; align-items: center; justify-content: space-between;}
.vh-hero .ps-logo{display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 17px;}
.vh-hero .ps-logo i{width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); display: inline-block;}
.vh-hero .ps-logo span{color: var(--yellow);}
.vh-hero .ps-ico{width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-block; margin-left: 6px;}
.vh-hero .ps-hey{margin: 14px 0 0; font-size: 15px; font-weight: 800;}
.vh-hero .ps-loc{margin: 2px 0 0; font-size: 10px; opacity: .8;}
.vh-hero .ps-body{background: #f6fdf7; border-radius: 22px 22px 0 0; margin-top: -10px; padding: 12px 12px 0; position: relative;}
.vh-hero .ps-search{background: #fff; border: 1px solid #d1fae5; border-radius: 12px; padding: 9px 12px; font-size: 10px; color: #6b8a7a; margin-bottom: 10px;}
.vh-hero .ps-cta{display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;}
.vh-hero .ps-cta div{border-radius: 14px; padding: 12px 8px; text-align: center; font-size: 10.5px; font-weight: 800;}
.vh-hero .ps-cta small{display: block; font-weight: 500; font-size: 8px; opacity: .8; margin-top: 1px;}
.vh-hero .ps-cta .a{background: linear-gradient(135deg, #1e88e5, #0b5fd8); color: #fff; box-shadow: 0 8px 16px rgba(18,115,230,.3);}
.vh-hero .ps-cta .b{background: #d9f7e4; color: #0b3b22;}
.vh-hero .ps-sec{font-size: 11px; font-weight: 800; margin: 2px 2px 6px; display: flex; justify-content: space-between;}
.vh-hero .ps-sec span{color: var(--blue); font-size: 9px;}
.vh-hero .ps-next{background: linear-gradient(135deg, #0ea5e9, #1e3a8a); border-radius: 16px; padding: 12px; color: #fff;}
.vh-hero .ps-next .t{font-size: 8px; opacity: .8; font-weight: 700; letter-spacing: .8px; display: flex; justify-content: space-between;}
.vh-hero .ps-next h4{margin: 6px 0 1px; font-size: 14px;}
.vh-hero .ps-next p{margin: 0; font-size: 9px; opacity: .8;}
.vh-hero .ps-tiles{display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0;}
.vh-hero .ps-tiles i{background: rgba(255,255,255,.14); border-radius: 8px; padding: 6px 0; font-style: normal; text-align: center; font-size: 8px; font-weight: 700;}
.vh-hero .ps-next .btn-w{background: #fff; color: var(--blue); border-radius: 9px; text-align: center; font-size: 9px; font-weight: 800; padding: 7px;}
.vh-hero .ps-banner{background: #fff7cc; border: 1px solid rgba(245,183,0,.45); border-radius: 12px; padding: 9px 10px; font-size: 9px; margin-top: 9px; font-weight: 800;}
.vh-hero .ps-banner small{display: block; font-weight: 500; opacity: .7;}
.vh-hero{--navy:#0a1b33;--ink:#0b1f3a;--ink-soft:#52627a;--yellow:#f5b700;--blue:#1273e6;--line:#e4ecf5;font-family:inherit;color:#0b1f3a}
.vh-hero .btn-lg{padding:14px 28px;font-size:15px;border-radius:999px;font-weight:700;text-decoration:none;display:inline-flex}
.vh-hero .store-pill{text-decoration:none}
@media (max-width:900px){.vh-hero .hero-inner{grid-template-columns:1fr;padding:36px 20px 70px}.vh-hero .hero-visual{min-height:440px}.vh-hero .tagline-script{display:none}.vh-hero .phone{width:250px;height:490px}}
body.visitor-home{background:#fff}
body.visitor-home .topbar,body.visitor-home .topbar.scrolled{background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid #e4ecf5;box-shadow:none;color:#0b1f3a}
body.visitor-home .brand,body.visitor-home .brand .in{color:#0b1f3a}
body.visitor-home .nav a{color:#52627a}
body.visitor-home .nav a:hover{background:#f1f6fb;color:#0b1f3a}
body.visitor-home .nav a.active{background:transparent;color:#0b1f3a;box-shadow:inset 0 -3px 0 #f5b700;border-radius:0}
body.visitor-home .loc-btn{background:#f1f6fb;color:#0b1f3a}
body.visitor-home .topbar-loc{display:inline-flex}
body.visitor-home .burger{color:#0b1f3a}
body.visitor-home .greet{display:none}
body.visitor-home .sheet{background:transparent;border-radius:0;box-shadow:none}
body.visitor-home .sheet .view{max-width:none;padding:0;min-height:0}
body.visitor-home .tabbar{display:none}
.vh-body{max-width:1180px;margin:0 auto;padding:22px 20px 56px}
.vh-get{display:none}body.visitor-home .vh-get{display:inline-flex}


/* ---- Mobile web polish: turf lists read like the app, never wider than the screen ---- */
html, body { max-width: 100%; overflow-x: hidden; }
.sheet .view, .vh-body { overflow-x: clip; }
@media (max-width: 640px) {
  .page-head { flex-direction: column; align-items: stretch; }
  .page-head h1 { font-size: 24px; }
  .bigsearch { flex-wrap: nowrap; }
  .bigsearch .btn { padding: 10px 14px; }
  .grid-turfs { grid-template-columns: 1fr; gap: 12px; }
  .grid-turfs .ttile { width: 100%; display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "img body" "acts acts"; }
  .grid-turfs .ttile > .ph { grid-area: img; width: 112px; height: auto; min-height: 108px; }
  .grid-turfs .ttile .b { grid-area: body; padding: 10px 12px 6px; min-width: 0; }
  .grid-turfs .ttile .acts { grid-area: acts; margin-top: 0; }
  .grid-turfs .ttile .book { grid-area: acts; }
  .grid-turfs .ttile h3 { font-size: 15px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .detail-grid { gap: 14px; }
  .grid-tiles { grid-template-columns: 1fr; }
  .grid-tiles .mtile { width: 100%; }
}

.nextmatch{display:block;color:#fff;border-radius:24px;padding:18px;background:linear-gradient(135deg,#0ea5e9,#1e3a8a);box-shadow:0 12px 26px rgba(14,165,233,.28)}
.nextmatch h3{color:#fff;font-size:20px;margin:10px 0 2px}
.nm-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;letter-spacing:1px;font-weight:800;opacity:.9}
.nm-top b{background:rgba(255,255,255,.2);padding:4px 10px;border-radius:12px;letter-spacing:0;font-size:11px}
.nm-loc{opacity:.8;font-size:13px}
.nm-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.nm-tiles>div{background:rgba(255,255,255,.14);border-radius:12px;padding:9px 4px;text-align:center;display:flex;flex-direction:column;min-width:0}
.nm-tiles b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nm-tiles small{font-size:10px;opacity:.7}
.nm-btn{display:block;background:#fff;color:#0369a1;font-weight:800;text-align:center;border-radius:14px;padding:11px}

/* ---- Match Centre (scorecard) ---- */
.sc-wrap{max-width:760px;margin:0 auto}
.sc-hero{background:linear-gradient(135deg,#0b3c7a,#0f5a3c);color:#fff;border-radius:26px 26px 0 0;padding:16px 20px 54px;text-align:center}
.sc-back{float:left;color:#fff;opacity:.85;font-weight:600;font-size:14px}
.sc-title{font-weight:800;font-size:17px}
.sc-score{display:flex;align-items:center;gap:10px;margin:18px 0 16px}
.sc-side{flex:1;text-align:left;display:flex;flex-direction:column;gap:2px}.sc-side.r{text-align:right}
.sc-side small{color:rgba(255,255,255,.7);font-weight:700;font-size:13px}
.sc-side b{font-size:38px;font-weight:800;line-height:1.05}.sc-side span{color:rgba(255,255,255,.65);font-size:12px}
.sc-live{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:5px}
.sc-vs{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);display:grid;place-items:center;font-weight:800;font-size:11px;flex:none}
.sc-result{display:inline-block;background:rgba(255,255,255,.16);border-radius:999px;padding:7px 16px;font-weight:800;font-size:13px}
.sc-result.done{background:#f5b700;color:#1a1400}
.sc-body{background:#f6fdf7;border-radius:26px 26px 0 0;margin-top:-26px;padding:18px 16px 24px;position:relative}
.sc-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px}.sc-tabs .chip{white-space:nowrap}
.sc-tabs .chip.on{background:#052e16;border-color:#052e16}
.sc-stars{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.sc-star{background:#fff;border-radius:20px;padding:14px;box-shadow:0 5px 14px rgba(5,46,22,.06);display:flex;flex-direction:column;gap:2px}
.sc-star b{font-size:28px;font-weight:800;line-height:1.1}.sc-star small{color:#4d7c0f}
.sc-lab{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:.8px;color:#4d7c0f;margin-bottom:6px}
.sc-lab i{font-style:normal;background:#dcfce7;border-radius:9px;padding:5px}
.sc-mini{background:#fff;border:1px solid #d1fae5;border-radius:18px;padding:14px;margin-bottom:12px;cursor:pointer}
.sc-bars{display:flex;align-items:flex-end;gap:4px;height:92px;margin-top:10px}
.sc-bars>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px}
.sc-bars small{font-size:9px;color:#4d7c0f;font-weight:700}
.sc-bars i{display:block;width:100%;border-radius:5px;background:linear-gradient(0deg,#0f5a3c,#22c55e)}
.sc-bars i.w{background:linear-gradient(0deg,#ef4444,#fca5a5)}
.sc-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.sc-chips>div{background:#dcfce7;border-radius:14px;padding:10px 4px;text-align:center;display:flex;flex-direction:column}
.sc-chips b{font-size:16px}.sc-chips small{font-size:10px;color:#4d7c0f}
.sc-card{background:#fff;border-radius:16px;padding:12px;margin-bottom:8px;box-shadow:0 4px 12px rgba(5,46,22,.05)}
.sc-av{width:38px;height:38px;border-radius:50%;background:#e0f2fe;color:#0369a1;display:grid;place-items:center;font-weight:800;flex:none}
.sc-av.g{background:#dcfce7;color:#15803d}
.sc-runs{font-size:22px;font-weight:800}
.sc-track{height:6px;background:#eaf7ee;border-radius:6px;overflow:hidden;margin:10px 0 8px}
.sc-track i{display:block;height:100%;background:#22c55e;border-radius:6px}.sc-track i.o{background:#0ea5e9}
.sc-pill{font-style:normal;font-size:11px;font-weight:700;padding:3px 9px;border-radius:10px}
.sc-pill.b{background:rgba(14,165,233,.12);color:#0ea5e9}.sc-pill.p{background:rgba(124,58,237,.12);color:#7c3aed}
.sc-fig{font-weight:800;font-size:16px;padding:6px 12px;border-radius:12px;background:#eaf7ee}.sc-fig.w{background:#fee2e2;color:#dc2626}
@media(max-width:560px){.sc-side b{font-size:30px}.sc-stars{grid-template-columns:1fr}}

/* ---- Player card (dark gradient, gold-ring photo, glass stat tiles) ---- */
.pcard-wrap { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 95; padding: 18px; animation: pcIn .25s ease both; }
@keyframes pcIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pcPop { from { transform: scale(.88); } to { transform: scale(1); } }
.pcard { position: relative; width: 320px; max-width: 100%; max-height: 92vh; overflow: auto; background: linear-gradient(150deg, #0B3C7A, #0F5A3C); color: #fff; border-radius: 28px; padding: 40px 20px 22px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.45); animation: pcPop .3s cubic-bezier(.2,1.2,.4,1) both; }
.pc-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.4); color: #fff; cursor: pointer; font-size: 13px; }
.pc-photo { width: 108px; height: 108px; border-radius: 50%; border: 3px solid #F5B700; padding: 3px; margin: 0 auto 14px; overflow: hidden; display: grid; place-items: center; font-size: 44px; background: rgba(255,255,255,.06); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pc-name { font-size: 24px; font-weight: 800; }
.pc-city { color: rgba(255,255,255,.75); font-size: 13px; margin-top: 2px; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0 2px; }
.pc-chips span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 700; }
.pc-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 16px 0; }
.pc-circle { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 17px; cursor: pointer; }
.pc-follow { border: 0; border-radius: 24px; padding: 11px 22px; font-weight: 800; font-size: 13px; cursor: pointer; background: #F5B700; color: #1E3A5F; }
.pc-follow.on { background: rgba(255,255,255,.15); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pc-tile { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pc-tile i { font-style: normal; font-size: 16px; } .pc-tile b { font-size: 20px; } .pc-tile span { font-size: 11px; color: rgba(255,255,255,.7); }
.pc-rule { height: 1px; background: rgba(255,255,255,.24); margin: 16px 0 12px; }
.pc-form { background: none; border: 0; color: #FFE08A; font-weight: 800; font-size: 13px; cursor: pointer; }
[data-player] { cursor: pointer; }

/* ---- Web scoring flow ---- */
.ss-wrap { max-width: 560px; margin: 0 auto; padding-bottom: 40px; }
.ss-head { margin: 4px 0 14px; } .ss-head h1 { margin: 6px 0 2px; } .ss-head p { margin: 0; color: #4D7C0F; }
.ss-card { background: #fff; border: 1px solid #D1FAE5; border-radius: 18px; padding: 16px; margin-bottom: 12px; }
.ss-card h3 { margin: 0 0 10px; font-size: 14px; color: #4D7C0F; text-transform: uppercase; letter-spacing: .6px; }
.ss-names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .ss-names label { font-size: 12px; font-weight: 700; color: #4D7C0F; } .ss-names input { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 1px solid #D1FAE5; border-radius: 10px; font: inherit; }
.ss-count { display: flex; justify-content: space-between; margin: 12px 0 6px; font-size: 12px; font-weight: 700; color: #15803D; }
.ss-prow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #EAF7EE; } .ss-prow b { flex: 1; }
.ss-tog { display: inline-flex; border: 1px solid #D1FAE5; border-radius: 10px; overflow: hidden; } .ss-tog button { border: 0; background: #fff; padding: 7px 14px; font-weight: 800; cursor: pointer; color: #4D7C0F; } .ss-tog button.on { background: #15803D; color: #fff; }
.ss-coin { width: 96px; height: 96px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 26px; color: #7a5600; background: radial-gradient(circle at 30% 30%, #FFE08A, #F5B700); box-shadow: 0 8px 20px rgba(245,183,0,.4); }
.ss-coin.spin { animation: coinSpin 1.1s ease-in-out; } @keyframes coinSpin { to { transform: rotateY(1800deg); } }
.ss-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.ss-two button, .ss-chips button, .ss-pills button { border: 1.5px solid #D1FAE5; background: #fff; border-radius: 12px; padding: 11px 10px; font-weight: 700; cursor: pointer; color: #052E16; font: inherit; font-weight: 700; }
.ss-two button.on, .ss-chips button.on, .ss-pills button.on { background: #15803D; border-color: #15803D; color: #fff; }
.ss-chips { display: flex; gap: 8px; flex-wrap: wrap; } .ss-chips input { width: 90px; padding: 10px; border: 1.5px solid #D1FAE5; border-radius: 12px; font: inherit; }
.ss-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-big { font-size: 44px; font-weight: 900; color: #052E16; margin: 6px 0; }
.ss-live { background: linear-gradient(135deg, #0B3C7A, #0F5A3C); color: #fff; border-radius: 22px; padding: 16px 18px 18px; margin-bottom: 12px; }
.ss-live .sc-back { color: #fff; opacity: .85; } .ss-tag { background: rgba(255,255,255,.18); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.ss-team { margin-top: 8px; opacity: .85; font-weight: 700; } .ss-score { font-size: 52px; font-weight: 900; line-height: 1.05; } .ss-score small { font-size: 28px; opacity: .8; }
.ss-sub { opacity: .85; font-size: 13px; } .ss-chase { margin-top: 8px; background: rgba(245,183,0,.2); color: #FFE08A; border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.ss-bat { display: flex; align-items: center; gap: 10px; padding: 8px 0; } .ss-bat b { flex: 1; } .ss-bat em { color: #22C55E; font-style: normal; } .ss-bat .r { font-weight: 800; font-size: 18px; } .ss-bat .r small { color: #4D7C0F; font-weight: 600; font-size: 12px; }
.ss-bowl { display: flex; justify-content: space-between; border-top: 1px solid #EAF7EE; margin-top: 6px; padding-top: 10px; color: #4D7C0F; }
.ss-over { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; } .ss-over small { color: #4D7C0F; font-weight: 700; } .ss-over div { display: flex; gap: 6px; flex-wrap: wrap; }
.ss-over i { font-style: normal; min-width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #EAF7EE; font-weight: 800; font-size: 12px; } .ss-over i.b { background: #DCFCE7; color: #15803D; } .ss-over i.w { background: #FEE2E2; color: #DC2626; }
.ss-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.ss-pad button { border: 1.5px solid #D1FAE5; background: #fff; border-radius: 16px; padding: 18px 0; font-size: 22px; font-weight: 800; color: #052E16; cursor: pointer; }
.ss-pad button:active { transform: scale(.96); } .ss-pad .four { background: #DCFCE7; color: #15803D; border-color: #86EFAC; } .ss-pad .six { background: #15803D; color: #fff; border-color: #15803D; }
.ss-pad.x { grid-template-columns: repeat(4, 1fr); } .ss-pad.x button { font-size: 14px; padding: 14px 0; } .ss-pad .wk { background: #DC2626; color: #fff; border-color: #DC2626; }
.ss-pad.y { grid-template-columns: 1fr 1fr; } .ss-pad.y button { font-size: 14px; padding: 12px 0; }
.ss-sheet .ss-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow: auto; }
.ss-opt { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid #EAF7EE; background: #fff; border-radius: 12px; padding: 10px; cursor: pointer; font: inherit; } .ss-opt:hover { background: #F6FDF7; } .ss-opt small { display: block; color: #4D7C0F; } .ss-opt.danger { color: #DC2626; }

/* ---- Scorecard: both teams ---- */
.sc-both { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.sc-col h3 { margin: 0 0 8px; font-size: 15px; }
.sc-tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #D1FAE5; border-radius: 14px; overflow: hidden; margin-bottom: 10px; font-size: 13px; }
.sc-tbl th { background: #F6FDF7; color: #4D7C0F; text-align: right; font-size: 11px; padding: 7px 8px; } .sc-tbl th:first-child, .sc-tbl td:first-child { text-align: left; }
.sc-tbl td { text-align: right; padding: 8px; border-top: 1px solid #EAF7EE; } .sc-tbl td b { color: #052E16; } .sc-tbl td small { display: block; color: #4D7C0F; }
@media (max-width: 760px) { .sc-both { grid-template-columns: 1fr; } }

/* ---- Logged-in Home: avatar + greeting + location on one line ---- */
.topbar-me { display: none; align-items: center; gap: 10px; min-width: 0; }
body.home-me .topbar-me { display: flex; }
body.home-me .brand, body.home-me .greet, body.home-me #topbar-right .avatar-btn { display: none; }
.tm-av .avatar { width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.85); }
.tm-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.tm-txt b { font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-loc { background: none; border: 0; padding: 0; color: rgba(255,255,255,.8); font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; max-width: 220px; }
.tm-loc .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { body.home-me .topbar-inner { height: 64px; } }

/* ---- Turfs list filters + professional turf detail ---- */
.tf-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; } .tf-chips::-webkit-scrollbar { display: none; }
.tf-chips button { flex: none; border: 1px solid #D1FAE5; background: #fff; border-radius: 999px; padding: 8px 15px; font: inherit; font-size: 13px; font-weight: 700; color: #052E16; cursor: pointer; }
.tf-chips button.on { background: #15803D; border-color: #15803D; color: #fff; }
.td-hero { position: relative; }
.td-count { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; }
.td-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-top: 18px; } .td-title h1 { margin: 0; }
.td-rate { flex: none; background: #15803D; color: #fff; border-radius: 12px; padding: 6px 12px; text-align: center; } .td-rate b { display: block; font-size: 16px; } .td-rate small { font-size: 10px; opacity: .8; }
.td-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.td-chip { background: #fff; border: 1px solid #D1FAE5; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: #052E16; }
.td-chip.good { background: #DCFCE7; border-color: transparent; color: #15803D; } .td-chip.warn { background: #FEF3C7; border-color: transparent; color: #92400E; }
.td-loc { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #D1FAE5; border-radius: 16px; padding: 12px; margin-top: 14px; flex-wrap: wrap; } .td-loc > div { flex: 1; min-width: 160px; }
.td-loc .ic, .td-court .ic { width: 40px; height: 40px; border-radius: 12px; background: #DCFCE7; display: grid; place-items: center; flex: none; }
.td-about { color: #4D7C0F; line-height: 1.6; margin: 6px 0 0; }
.td-court { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #D1FAE5; border-radius: 16px; padding: 14px; } .td-court h3 { margin: 0 0 2px; font-size: 15px; }
.td-price { text-align: right; } .td-price b { font-size: 18px; display: block; } .td-price small { color: #4D7C0F; font-size: 11px; }
.td-rsum { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid #D1FAE5; border-radius: 16px; padding: 16px; margin: 10px 0; }
.td-rsum .big { font-size: 42px; font-weight: 900; color: #052E16; line-height: 1; } .td-rsum .big small { font-size: 16px; color: #4D7C0F; }
.td-rsum .bars { flex: 1; display: grid; gap: 4px; } .td-rsum .bars div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4D7C0F; } .td-rsum .bars span { width: 22px; }
.td-rsum .bars i { flex: 1; height: 7px; background: #EAF7EE; border-radius: 99px; overflow: hidden; } .td-rsum .bars u { display: block; height: 100%; background: #F5B700; } .td-rsum .bars em { width: 18px; text-align: right; font-style: normal; }
.td-review { background: #fff; border: 1px solid #D1FAE5; border-radius: 16px; padding: 14px; margin-bottom: 10px; } .td-review p { margin: 8px 0 0; color: #4D7C0F; }
.td-av { width: 28px; height: 28px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.td-reply { margin-top: 8px; background: #F6FDF7; border-left: 3px solid #22C55E; padding: 8px 10px; border-radius: 8px; font-size: 13px; }

/* ---- List your turf (owner landing + onboarding) ---- */
.req { color: #e0363f; }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); }
.lyt-hero { padding: 54px 28px 46px; background: linear-gradient(135deg, #0b3c7a, #0f5a3c); color: #fff; border-radius: 24px; }
.lyt-hero-in { max-width: 760px; }
.lyt-pill { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.lyt-hero h1 { font-size: clamp(30px, 5.4vw, 48px); line-height: 1.08; letter-spacing: -1px; margin: 14px 0 10px; }
.lyt-hero p { font-size: 17px; color: #d7f5e0; max-width: 600px; margin: 0; }
.lyt-hero .lyt-proof { margin-top: 18px; font-size: 14px; color: #bfe9cc; font-weight: 600; }
.lyt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.lyt-b h3 { margin: 12px 0 6px; font-size: 17px; }
.lyt-b p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.lyt-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green-dark); }
.lyt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lyt-steps h3 { margin: 10px 0 4px; font-size: 17px; }
.lyt-steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.lyt-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #0b3c7a, #0f5a3c); color: #fff; font-size: 15px; }
.lyt-faq { display: grid; gap: 10px; max-width: 760px; }
.lyt-faq summary { cursor: pointer; font-weight: 700; }
.lyt-faq p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; }
.lyt-choose { max-width: 760px; margin: 0 auto; }
.lyt-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 14px; }
.lyt-opt { display: block; transition: transform .15s, box-shadow .15s; }
.lyt-opt:hover { transform: translateY(-2px); }
.lyt-opt h3 { margin: 0 0 6px; }
.lyt-opt p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; }
.lyt-form { max-width: 640px; margin: 12px auto 0; }
@media (max-width: 720px) { .lyt-hero { padding: 34px 20px 30px; border-radius: 20px; } }

.detail-grid > * { min-width: 0; }

.td-rules{margin:0;padding-left:20px;line-height:1.8}

/* ---- sport switcher cards (Cricket | Badminton) ---- */
.sw-cards { display: flex; gap: 12px; margin: 0 0 14px; }
.sw-card { flex: 1; max-width: 220px; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-radius: 18px; border: 2px solid transparent; cursor: pointer; font-family: inherit; text-align: left; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .15s, transform .15s; }
.sw-card.cricket { background: linear-gradient(135deg, #f0fdf4, #bbf7d0); }
.sw-card.badminton { background: linear-gradient(135deg, #fef2f2, #fecaca); }
.sw-name { font-weight: 800; font-size: 17px; }
.sw-card.cricket .sw-name { color: #15803d; }
.sw-card.badminton .sw-name { color: #b91c1c; }
.sw-ico { font-size: 34px; line-height: 1; }
.sw-card:hover { transform: translateY(-1px); }
.sw-card.on { outline-color: var(--blue); }
@media (max-width: 520px) { .sw-card { min-height: 64px; padding: 8px 12px; } .sw-name { font-size: 15px; } .sw-ico { font-size: 28px; } }
