
  :root {
    --navy: #0E3E58; --navy-mid: #14506F;
    --page: #FFFFFF; --card: #FFFFFF; --field: #F1F3F5; --line: #E4E8EB; --rule: #C9D3DA;
    --ink: #01203A; --body: #243B4B; --soft: #5F7482; --muted: #566A78; --slate: #42596A;
    --lime: #C9EB2F; --sky: #4BA3CE; --sky-press: #3D93BE; --sky-wash: #E4F1F8; --harbor: #14506F; --accent: #14506F;
    --green: #157A4C; --green-wash: #DFF1E6; --green-line: #BFE3CD;
    --amber: #8A6400; --amber-wash: #F1E4C6; --amber-line: #E2CC97;
    --red: #A33227; --red-wash: #F6E3E1; --red-line: #E8C4BF;
    --shadow: 0 6px 20px rgba(14, 62, 88, .16);
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--page); color: var(--body); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
  main { display: flex; flex-direction: column; min-height: 100vh; max-width: 560px; margin: 0 auto; }
  h1, h2, h3, p { margin: 0; }
  ol, ul { margin: 0; padding: 0; list-style: none; }
  a { color: var(--harbor); }
  [hidden] { display: none !important; }
  .i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  .top { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); }
  .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 900; text-decoration: none; }
  .brand img { width: 22px; height: 22px; border-radius: 5px; }
  .top .right { margin-left: auto; color: var(--harbor); font-size: 13px; font-weight: 800; text-decoration: none; }
  .back { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -12px; color: var(--ink); }
  .back .i { width: 22px; height: 22px; }
  .ttl { min-width: 0; padding: 6px 0; }
  .ttl b { display: block; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 850; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .ttl span { display: block; color: var(--soft); font-size: 12px; line-height: 1.3; }

  .hero { position: relative; height: 200px; overflow: hidden; background: linear-gradient(180deg, #1E6389, #14506F); color: #fff; }
  .hero img, .hero .lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero .lines path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 62, 88, 0) 30%, rgba(14, 62, 88, .94) 100%); }
  .hero .text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
  .kicker { margin: 0 0 6px; color: var(--lime); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  h1 { color: #fff; font-size: 24px; line-height: 1.12; font-weight: 900; letter-spacing: -.02em; overflow-wrap: anywhere; }
  .addr { margin-top: 6px; color: rgba(255, 255, 255, .86); font-size: 12.5px; line-height: 1.35; }

  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 16px 0; padding: 14px 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .facts div { min-width: 0; padding: 0 6px; text-align: center; }
  .facts div + div { border-left: 1px solid var(--line); }
  .facts b { display: block; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 850; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
  .facts span { display: block; margin-top: 1px; color: var(--soft); font-size: 11.5px; white-space: nowrap; }

  h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; padding: 0 20px 8px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  h2 .aside { color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; text-transform: none; }
  .note { margin: 10px 20px 0; color: var(--soft); font-size: 12.5px; line-height: 1.45; }
  .note strong { color: var(--ink); font-variant-numeric: tabular-nums; }
  .notice { margin: 16px 16px 0; padding: 11px 14px; border-radius: 10px; background: var(--red-wash); color: var(--red); font-size: 14px; font-weight: 650; }
  .notice.good { background: var(--green-wash); color: var(--green); }


  .scroll { overflow-x: auto; padding: 12px 16px 0; }
  .slots { display: grid; gap: 4px; min-width: 100%; }
  .slots .hd { padding-bottom: 2px; overflow: hidden; color: var(--soft); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .slots .t { position: sticky; left: 0; z-index: 1; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; background: var(--page); color: var(--slate); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .cell { position: relative; display: block; height: 44px; }
  .cell input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .cell span, span.cell { display: flex; align-items: center; justify-content: center; gap: 3px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; }
  .cell input:checked + span { background: var(--sky-press); border-color: var(--sky-press); color: #FFFFFF; font-weight: 900; }
  .cell input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
  span.cell.off { background: var(--field); border-color: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: default; }
  span.cell.pend { background: #FFF1D6; border-color: #E8A33D; color: #7A4A00; font-size: 11px; font-weight: 800; cursor: default; }
  span.cell.past { background: transparent; border-style: dashed; color: #9DABB5; font-size: 11px; font-weight: 700; cursor: default; }
  .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 20px 0; color: var(--soft); font-size: 11.5px; }
  .legend span { display: flex; align-items: center; gap: 6px; }
  .sw { width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); }
  .sw.off { background: var(--field); border-color: transparent; }
  .sw.pend { background: #FFF1D6; border-color: #E8A33D; }
  .sw.sel { background: var(--sky-press); border-color: var(--sky-press); }

  .spacer { flex: 1 1 auto; min-height: 20px; }
  [data-day].swapping .scroll, [data-day].swapping .note { opacity: .45; transition: opacity .12s; pointer-events: none; }
  .bar { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--card); box-shadow: 0 -6px 18px rgba(14, 62, 88, .08); }
  .bar .what { flex: 1; min-width: 0; }
  .bar .what b { display: block; color: var(--ink); font-size: 14px; font-weight: 850; }
  .bar .what span { display: block; color: var(--soft); font-size: 12px; }
  .bar .sum { color: var(--ink); font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 900; text-decoration: none; cursor: pointer; }
  .btn.go { background: var(--sky); color: #FFFFFF; }
  .btn.go:active { background: var(--sky-press); }
  .btn.quiet { background: transparent; border-color: var(--rule); color: var(--slate); font-weight: 800; }
  .btn.wide { display: flex; width: 100%; }
  .btn[disabled] { opacity: .55; cursor: default; }
  .link { padding: 8px 0; border: 0; background: none; color: var(--harbor); font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; cursor: pointer; }
  .actions { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px 0; }
  .actions.row { flex-direction: row; }
  .actions.row .btn { flex: 1; padding: 0 10px; }
  .center { padding: 6px 16px 0; text-align: center; }
  form { margin: 0; }

  .steps3 { display: flex; gap: 6px; padding: 12px 16px 0; }
  .steps3 span { flex: 1; padding-top: 7px; border-top: 3px solid var(--line); color: var(--soft); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
  .steps3 span.done { border-color: var(--ink); color: var(--ink); }
  .steps3 span.now { border-color: var(--sky); color: var(--ink); }

  .card { margin: 16px 16px 0; padding: 2px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
  .kv { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .kv:last-child { border-bottom: 0; }
  .kv span { color: var(--soft); white-space: nowrap; }
  .kv b { color: var(--ink); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .kv.total b { font-size: 17px; font-weight: 900; }

  .who { display: flex; align-items: center; gap: 12px; margin: 14px 16px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .av { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sky-wash); color: var(--harbor); font-size: 15px; font-weight: 900; }
  .who .txt { flex: 1; min-width: 0; }
  .who .txt b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 850; }
  .who .txt span { display: block; overflow: hidden; color: var(--soft); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
  .signin { margin: 14px 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .signin p { color: var(--body); font-size: 13.5px; line-height: 1.45; }
  .signin .btn { margin-top: 12px; }
  .btn.google { background: var(--card); border-color: var(--rule); color: var(--ink); }

  .form { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px 0; }
  .field label { display: block; margin: 0 0 6px 2px; color: var(--ink); font-size: 13px; font-weight: 800; }
  .input { display: block; width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; }
  .input:focus { outline: none; border-color: var(--accent); }
  .phone { display: flex; gap: 8px; }
  .phone .cc { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--field); color: var(--ink); font-size: 15px; font-weight: 800; }
  .phone .input { flex: 1; min-width: 0; }
  .hint { margin: 6px 2px 0; color: var(--soft); font-size: 12px; line-height: 1.4; }
  .choices { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 0; }
  .choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
  .choice:has(input:checked) { border-color: var(--sky); background: var(--sky-wash); }
  .choice input, .agree input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
  .choice .txt { flex: 1; min-width: 0; }
  .choice .txt b { display: block; color: var(--ink); font-size: 14px; font-weight: 850; }
  .choice .txt span { display: block; color: var(--soft); font-size: 12px; line-height: 1.35; }
  .choice .amt { color: var(--ink); font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }
  .policy { margin: 12px 16px 0; padding: 12px 14px; border-radius: 12px; background: var(--field); color: var(--body); font-size: 13px; line-height: 1.5; white-space: pre-line; }
  .agree { display: flex; align-items: flex-start; gap: 10px; margin: 14px 16px 0; color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.4; cursor: pointer; }
  .agree input { margin-top: 1px; }
  .fine { margin: 12px 20px 0; color: var(--soft); font-size: 12px; line-height: 1.45; }
  .fine strong { color: var(--ink); }

  .timer { display: flex; align-items: center; gap: 10px; margin: 14px 16px 0; padding: 10px 14px; border: 1px solid var(--amber-line); border-radius: 12px; background: var(--amber-wash); color: var(--amber); font-size: 13px; font-weight: 700; line-height: 1.35; }
  .timer b { margin-left: auto; font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
  .amount { padding: 18px 20px 0; text-align: center; }
  .amount small { display: block; color: var(--soft); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .amount b { display: block; margin-top: 2px; color: var(--ink); font-size: 38px; line-height: 1.1; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .amount span { display: block; margin-top: 4px; color: var(--soft); font-size: 12.5px; }
  .qrcard { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 16px 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; color: #01203A; }
  .qrhead { display: flex; align-items: center; justify-content: space-between; align-self: stretch; color: #42596A; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  .qrhead .pill { padding: 3px 9px; border-radius: 999px; background: #E4F1F8; color: #14506F; letter-spacing: .06em; }
  .qrimg { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 8px; }
  .acct { color: #42596A; font-size: 12px; line-height: 1.4; text-align: center; }
  .acct b { display: block; color: #01203A; font-size: 15px; font-weight: 900; letter-spacing: .02em; }
  .qrcard .btn.quiet { align-self: stretch; border-color: #C9D3DA; color: #14506F; }
  .howto { padding: 2px 20px 0; counter-reset: s; }
  .howto li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--body); font-size: 13.5px; line-height: 1.4; }
  .howto li::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--page); font-size: 11.5px; font-weight: 900; }
  .howto li:last-child { border-bottom: 0; }
  .howto strong { color: var(--ink); }
  .drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 112px; border: 1.5px dashed var(--rule); border-radius: 14px; color: var(--harbor); font-size: 14px; font-weight: 850; text-align: center; cursor: pointer; }
  .drop span { color: var(--soft); font-size: 12px; font-weight: 600; }
  .drop .i { width: 24px; height: 24px; }
  .drop input, .change input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .shot { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--green-line); border-radius: 14px; background: var(--green-wash); color: var(--green); font-size: 13.5px; font-weight: 800; }
  .shot img { width: 54px; height: 96px; flex: none; border-radius: 6px; object-fit: cover; background: #fff; }
  .shot .change { position: relative; margin-left: auto; color: var(--harbor); font-weight: 800; cursor: pointer; text-decoration: underline; }

  .status { display: flex; align-items: flex-start; gap: 12px; margin: 16px 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
  .status .i { width: 22px; height: 22px; margin-top: 1px; }
  .status small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .status b { display: block; color: var(--ink); font-size: 16px; line-height: 1.25; font-weight: 900; }
  .status p { margin-top: 6px; color: var(--body); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
  .status.pending { background: var(--amber-wash); border-color: var(--amber-line); color: var(--amber); }
  .status.booked { background: var(--green-wash); border-color: var(--green-line); color: var(--green); }
  .status.bad { background: var(--red-wash); border-color: var(--red-line); color: var(--red); }
  .tl { padding: 6px 20px 0; }
  .tl li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 9px 0 9px 22px; color: var(--body); font-size: 13.5px; }
  .tl li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
  .tl li::after { content: ""; position: absolute; left: 6.5px; top: 27px; bottom: -9px; width: 1px; background: var(--rule); }
  .tl li:last-child::after { display: none; }
  .tl li.wait { color: var(--amber); font-weight: 800; }
  .tl li.wait::before { background: var(--page); border: 2.5px solid var(--amber); }
  .tl li.todo { color: var(--soft); }
  .tl li.todo::before { background: var(--page); border: 1.5px solid var(--rule); }
  .tl time { margin-left: auto; color: var(--soft); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .codebox { margin: 16px 16px 0; padding: 16px; border: 1.5px dashed var(--rule); border-radius: 16px; text-align: center; }
  .codebox small { display: block; color: var(--soft); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .codebox b { display: block; margin-top: 4px; color: var(--ink); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 30px; font-weight: 800; letter-spacing: .12em; }
  .codebox span { display: block; margin-top: 2px; color: var(--soft); font-size: 12px; }
  .due { display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 12px 14px; border: 1px solid var(--amber-line); border-radius: 12px; background: var(--amber-wash); color: var(--amber); font-size: 13px; font-weight: 700; line-height: 1.35; }
  .due b { margin-left: auto; color: var(--ink); font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }

  .list li a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
  .list .txt { flex: 1; min-width: 0; }
  .list .txt b { display: block; overflow: hidden; color: var(--ink); font-size: 14.5px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
  .list .txt span { display: block; color: var(--soft); font-size: 12.5px; }
  .chip { flex: none; padding: 4px 7px; border-radius: 4px; background: var(--field); color: var(--slate); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
  .chip.pending { background: var(--amber-wash); color: var(--amber); }
  .chip.booked { background: var(--green-wash); color: var(--green); }
  .chip.bad { background: var(--red-wash); color: var(--red); }
  .empty { padding: 24px 20px; color: var(--soft); font-size: 13.5px; text-align: center; }

  /* A player's bookings (Ejay, 2026-11-04: "a great UI/UX design for the customers to view their booking"). */
  .st { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
  .st-go { background: var(--green-wash); color: var(--green); }
  .st-wait { background: var(--amber-wash); color: var(--amber); }
  .st-bad { background: var(--red-wash); color: var(--red); }
  .st-off { background: var(--field); color: var(--slate); }

  .mb-hero { display: flex; align-items: center; gap: 14px; padding: 22px 20px; background: linear-gradient(135deg, #0E3E58, #14506F 60%, #1E6389); color: #FFFFFF; }
  .mb-hero .av { width: 52px; height: 52px; background: rgba(255, 255, 255, .14); color: #FFFFFF; font-size: 18px; }
  .mb-hero .txt { min-width: 0; }
  .mb-hero small { display: block; color: var(--lime); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .mb-hero b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; }
  .mb-hero .txt > span { display: block; overflow: hidden; color: rgba(255, 255, 255, .8); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
  .top .right.out { margin-left: auto; }
  .top .right.out button { padding: 8px 0; border: 0; background: none; color: var(--harbor); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
  .mb-tabs { display: flex; gap: 4px; margin: 18px 16px 0; padding: 4px; border-radius: 999px; background: var(--field); }
  .mb-tabs a { display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 999px; color: var(--slate); font-size: 13.5px; font-weight: 800; text-decoration: none; }
  .mb-tabs a[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(14, 62, 88, .12); }
  .mb-tabs a span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(1, 32, 58, .08); font-size: 11.5px; text-align: center; font-variant-numeric: tabular-nums; }
  .mb-list { display: grid; gap: 10px; padding: 14px 16px 0; }
  .mb-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: inherit; text-decoration: none; box-shadow: 0 2px 10px rgba(14, 62, 88, .05); }
  .mb-row:active { background: var(--field); }
  .mb-date, .tk-date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 54px; padding: 6px 0; border-radius: 12px; background: var(--sky-wash); color: var(--harbor); line-height: 1.1; }
  .mb-date small, .tk-date small { font-size: 9.5px; font-weight: 900; letter-spacing: .12em; }
  .mb-date b { color: var(--ink); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
  .mb-txt { flex: 1; min-width: 0; }
  .mb-txt b { display: block; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
  .mb-txt span { display: block; color: var(--soft); font-size: 12.5px; font-variant-numeric: tabular-nums; }
  .mb-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 16px; padding: 28px 20px; border: 1.5px dashed var(--rule); border-radius: 18px; text-align: center; }
  .mb-empty .court { width: 80px; height: 52px; margin-bottom: 6px; }
  .mb-empty .court path { fill: none; stroke: var(--sky); stroke-width: 2.5; }
  .mb-empty b { color: var(--ink); font-size: 16px; font-weight: 900; }
  .mb-empty span { color: var(--soft); font-size: 13px; line-height: 1.45; }
  .mb-empty .btn { margin-top: 10px; }
  .mb-more { padding: 8px 16px 0; color: var(--soft); font-size: 12.5px; text-align: center; }

  .sh { display: flex; align-items: flex-start; gap: 14px; margin: 16px 16px 0; padding: 18px; border-radius: 18px; }
  .sh .i { width: 30px; height: 30px; }
  .sh small { display: block; font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .sh b { display: block; margin-top: 2px; color: var(--ink); font-size: 19px; line-height: 1.2; font-weight: 900; letter-spacing: -.01em; }
  .sh p { margin-top: 6px; color: var(--body); font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
  .sh-go { background: var(--green-wash); color: var(--green); }
  .sh-wait { background: var(--amber-wash); color: var(--amber); }
  .sh-bad { background: var(--red-wash); color: var(--red); }
  .sh-off { background: var(--field); color: var(--slate); }
  .sh-wait .i { animation: sh-pulse 1.6s ease-in-out infinite; }
  @keyframes sh-pulse { 50% { opacity: .4; } }

  .tk { position: relative; margin: 16px 16px 0; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #0E3E58, #14506F 70%, #1E6389); color: #FFFFFF; box-shadow: 0 14px 34px rgba(14, 62, 88, .28); }
  .tk.tk-bad, .tk.tk-off { background: linear-gradient(160deg, #42596A, #5F7482); box-shadow: 0 10px 24px rgba(14, 62, 88, .16); }
  .tk-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 0; }
  .tk-venue { min-width: 0; }
  .tk-venue b { display: block; font-size: 16px; font-weight: 900; line-height: 1.25; }
  .tk-venue span { display: block; color: rgba(255, 255, 255, .75); font-size: 12px; }
  .tk-main { display: flex; align-items: center; gap: 16px; padding: 16px 18px 18px; }
  .tk .tk-date { width: 64px; padding: 8px 0; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
  .tk .tk-date b { color: #FFFFFF; font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
  .tk-when { min-width: 0; }
  .tk-when b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; font-variant-numeric: tabular-nums; }
  .tk-when span { display: block; color: rgba(255, 255, 255, .82); font-size: 13px; }
  .tk-when .tk-rel { margin-top: 4px; color: var(--lime); font-weight: 800; }
  .tk-off .tk-rel, .tk-bad .tk-rel { color: rgba(255, 255, 255, .82); }
  .tk-cut { position: relative; height: 0; margin: 0 18px; border-top: 2px dashed rgba(255, 255, 255, .28); }
  .tk-cut::before, .tk-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--page); }
  .tk-cut::before { left: -29px; }
  .tk-cut::after { right: -29px; }
  .tk-code { padding: 16px 18px 18px; text-align: center; }
  .tk-code small { display: block; color: rgba(255, 255, 255, .7); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .tk-code b { display: block; margin-top: 4px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 30px; font-weight: 800; letter-spacing: .14em; }
  .tk-code span { display: block; color: rgba(255, 255, 255, .75); font-size: 12px; }
  .tk-code.quiet b { font-size: 19px; }
  .tk-go-on { margin: 10px 16px 0; }
  .tk-go-on.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mb-flag { display: block; margin-top: 2px; color: var(--amber) !important; font-size: 11.5px !important; font-weight: 800; }
  .mvreq { margin: 14px 16px 0; padding: 14px; border: 1.5px dashed var(--amber-line); border-radius: 14px; background: var(--amber-wash); }
  .mvreq b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 900; }
  .mvreq span { display: block; margin-top: 2px; color: var(--body); font-size: 13px; line-height: 1.45; }
  .mvreq form { margin-top: 10px; }
  .mvreq.no { border-style: solid; border-color: var(--line); background: var(--field); }
  .disrupt { display: flex; align-items: flex-start; gap: 12px; margin: 14px 16px 0; padding: 14px; border: 1.5px solid var(--amber-line); border-radius: 14px; background: var(--amber-wash); color: var(--amber); }
  .disrupt .i { width: 26px; height: 26px; }
  .disrupt b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 900; }
  .disrupt span { display: block; margin-top: 2px; color: var(--body); font-size: 13px; line-height: 1.45; }

  .pg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 12px 0; }
  .pg li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .pg li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: var(--green); }
  .pg li:first-child::before { display: none; }
  .pg li i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--page); }
  .pg li.now i { background: var(--page); border: 3px solid var(--amber); }
  .pg li.todo i { background: var(--page); border: 2px solid var(--rule); }
  .pg li.todo::before { background: var(--rule); }
  .pg b { color: var(--ink); font-size: 12px; font-weight: 850; }
  .pg li.todo b { color: var(--soft); }
  .pg time { color: var(--soft); font-size: 11px; font-variant-numeric: tabular-nums; }
  .pg li.now time { color: var(--amber); font-weight: 800; }

  .vcard { margin: 14px 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .vcard b { display: block; color: var(--ink); font-size: 15px; font-weight: 900; }
  .vcard > span { display: block; color: var(--soft); font-size: 12.5px; }
  .vbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 12px; }
  .vbtns .btn { min-height: 42px; padding: 0 10px; font-size: 13px; }

  /* Home (/b/me): one sign-in, and what this account has: courts it runs, its bookings, courts to book. */
  .hm { scroll-margin-top: 12px; }
  .hm h2 { margin-top: 26px; }
  .hm h2 a { color: var(--harbor); font-size: 12px; font-weight: 800; letter-spacing: 0; text-decoration: none; text-transform: none; }
  .hm-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 54px; height: 54px; border-radius: 12px; background: var(--sky-wash); color: var(--harbor); font-size: 17px; font-weight: 900; }
  .hm-ic.mine { background: var(--ink); color: var(--lime); }
  .hm-go { flex: none; color: var(--rule); font-size: 22px; font-weight: 900; line-height: 1; }
  .hm-none a { color: var(--harbor); font-weight: 800; }
  .hm-find { display: flex; gap: 8px; margin: 14px 16px 0; }
  .hm-find input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; }
  .hm-find .btn { flex: none; }
  .hm-none { margin: 14px 16px 0; padding: 16px; border: 1.5px dashed var(--rule); border-radius: 16px; color: var(--soft); font-size: 13px; line-height: 1.45; text-align: center; }
  .hm-run { margin: 26px 16px 0; padding: 20px 18px; border-radius: 16px; background: linear-gradient(135deg, #0E3E58, #14506F 60%, #1E6389); color: #FFFFFF; }
  .hm-run small { display: block; color: var(--lime); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
  .hm-run b { display: block; margin-top: 4px; font-size: 19px; font-weight: 900; line-height: 1.25; }
  .hm-run p { margin-top: 6px; color: rgba(255, 255, 255, .86); font-size: 13.5px; line-height: 1.5; }
  .hm-run .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .hm-run .btn { min-height: 44px; padding: 0 10px; font-size: 13.5px; }
  .hm-run .btn.light { background: #FFFFFF; color: var(--ink); }
  .hm-run .btn.line { border-color: rgba(255, 255, 255, .5); background: transparent; color: #FFFFFF; }
  .hm-run .fine { margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: 12px; }
  @media (prefers-reduced-motion: reduce) { .sh-wait .i { animation: none; } }
  .foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 18px 16px 22px; color: var(--soft); font-size: 12px; }
  .foot a { color: var(--harbor); font-weight: 800; text-decoration: none; }

  .strip { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding: 4px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .strip-day { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 58px; min-height: 70px; padding: 6px 2px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; scroll-snap-align: center; }
  .strip-day small { color: var(--soft); font-size: 9.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .strip-day b { font-size: 18px; font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; }
  .strip-note { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--soft); font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
  .strip-note { min-height: 12px; }
  .strip-full::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #D93025; }
  .strip-closed { color: var(--muted); }
  .strip-day.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
  .strip-day.on small, .strip-day.on .strip-note { color: rgba(255, 255, 255, .85); }
  .strip-day.on .strip-full::before { background: #FF6B5E; }
  .strip-day.off { background: var(--field); border-color: transparent; color: var(--muted); }
  .strip-month { display: flex; flex: none; align-items: center; padding: 0 2px; color: var(--harbor); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
  .pickbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 4px; }
  .pickbar > b { color: var(--ink); font-size: 15px; font-weight: 900; }

  .cal { position: static; }
  .cal-sum { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 900; cursor: pointer; list-style: none; }
  .cal-sum::-webkit-details-marker { display: none; }
  .cal-sum .i { width: 16px; height: 16px; }
  .cal[open] .cal-sum { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
  .cal-pop { position: absolute; z-index: 40; right: 16px; top: calc(100% + 4px); width: 320px; max-width: calc(100vw - 32px); padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 18px 44px rgba(1, 32, 58, .22); }
  .cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .cal-head b { color: var(--ink); font-size: 15px; font-weight: 900; }
  .cal-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); font-size: 20px; font-weight: 900; text-decoration: none; }
  .cal-arrow:hover { background: var(--field); }
  .cal-arrow-off { color: var(--line); }
  .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
  .cal-wd { padding: 4px 0; color: var(--muted); font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
  .cal-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; color: var(--ink); text-decoration: none; }
  a.cal-cell:hover { background: var(--field); }
  .cal-cell b { font-size: 14px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .cal-cell i { display: flex; align-items: center; justify-content: center; min-height: 11px; color: var(--soft); font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 1.2; white-space: nowrap; }
  .cal-full i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D93025; }
  .cal-closed { color: var(--muted); }
  .cal-out { color: var(--line); }
  .cal-out b { font-weight: 700; }
  .cal-today { box-shadow: inset 0 0 0 1.5px var(--sky); }
  .cal-on { background: var(--ink); color: #FFFFFF; }
  .cal-on i { color: rgba(255, 255, 255, .85) !important; }
  .cal-on.cal-full i::before { background: #FF6B5E; }
  a.cal-on:hover { background: var(--ink); }
  .cal-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--soft); font-size: 11.5px; font-weight: 700; }
  .cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
  .cal-legend i { width: 8px; height: 8px; border-radius: 50%; }
  .cal.cal-center .cal-pop { left: 50%; right: auto; transform: translateX(-50%); }
  @media (max-width: 420px) { .cal-pop, .cal.cal-center .cal-pop { left: 12px; right: 12px; width: auto; max-width: none; transform: none; } }
