/* The Clubs tab (1.1, dev). Built from the approved mock,
   https://claude.ai/artifact/HchJJxiE683G68jcFoFgQ5. See clubs.js. */
html.clubs-on, html.clubs-on body { overflow: hidden; overscroll-behavior: none; }
html.clubs-on .nav-stack { display: none !important; }

.clScreen { position: fixed; left: 0; right: 0; top: var(--header-h, 81px); bottom: 0; margin: 0 auto; max-width: 480px; padding-top: 12px; --clZ: 1; }
.cSearch { display: flex; align-items: center; gap: 7px; height: 36px; margin: 0 24px 10px; padding: 0 12px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(16,23,37,.06), 0 4px 14px rgba(16,23,37,.1); color: var(--muted); }
.cSearch svg { width: 14px; height: 14px; flex: none; }
.cSearch input { flex: 1; min-width: 0; border: none; outline: none; background: none; padding: 0; font: 500 13px 'Inter', sans-serif; color: var(--navy); }
.cSearch input::placeholder { color: var(--muted); }
.cSearch input[readonly] { cursor: pointer; }
.clScreen:not(.searching) .cSearch { cursor: pointer; }
.cRail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px calc(50% - 150px * var(--clZ)) 18px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.cRail::-webkit-scrollbar { display: none; }
.cSlot { flex: 0 0 auto; scroll-snap-align: center; scroll-snap-stop: always; zoom: var(--clZ); }
.cRail .tmCard { }
.cPic { position: absolute; inset: 0; background: var(--t); color: var(--kt, #fff); }
.cPic svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .28; }
.cPic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* The card's own colour (clubs.js tones()). */
.cCard .tmBand { color: var(--kt); }
.cCard .tmBand .cSub { opacity: .85; }
.cCard .cJoin { background: var(--kt); color: var(--m); }
.cCard .cJoin.in { background: color-mix(in srgb, var(--kt) 22%, transparent); color: var(--kt); }
.tmBand .cName { font: 800 18px/1.1 'Inter', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tmBand .cSub { font: 600 12px/1.2 'Inter', sans-serif; opacity: .8; }
.cHeads { display: flex; flex: none; }
button.cHeads { border: 0; background: none; padding: 0; cursor: pointer; }   /* the pass's faces open its players */
.clWhoT { display: flex; align-items: center; gap: 10px; }
.clWhoT > :first-child { flex: none; }
.clWho { max-height: 55vh; overflow-y: auto; margin: 4px -6px 8px; }
.clWho .cpPRow[role="button"] { cursor: pointer; border-radius: 12px; }
.clWho .cpPRow[role="button"]:active { background: var(--paper); }
.clWho .cpPRow > div { flex: 1; min-width: 0; }
.clWho .clWhoLvl { flex: none; background: var(--navy); color: var(--paper); font: 700 12px "Inter", sans-serif; }
.cHeads .mmPerson { margin-left: -8px; box-shadow: 0 0 0 1.5px var(--m); }
.cHeads .mmPerson:first-child { margin-left: 0; }
.cJoin { flex: none; border: none; border-radius: 999px; padding: 9px 14px; background: var(--ball); color: var(--navy); font: 700 13px 'Inter', sans-serif; cursor: pointer; }
.cJoin.in { background: rgba(255,255,255,.2); color: inherit; }
.cFind { width: 300px; aspect-ratio: 300/430; border: none; border-radius: 20px; background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--navy); font: 700 15px 'Inter', sans-serif; padding: 0 30px; cursor: pointer; }
.cFlip { position: relative; width: 300px; aspect-ratio: 300/430; perspective: 1200px; }
/* THE FLIP (user, 2026-11-02): no 3D card with two faces, which iPhone
   draws badly (the Joined pill, the photo tile and the court picture showed
   through or flickered). Like the CourtPass link card: the card turns to
   edge-on, the side swaps while it can't be seen, and the other side turns
   in. Only one side ever exists on screen. */
.cFlipI { position: absolute; inset: 0; }
.cFlipI > .tmCard, .cBack { position: absolute; inset: 0; }
.cFlip.flip .cFlipI > .tmCard, .cFlip:not(.flip) .cFlipI > .cBack { display: none; }
.cFlipI.turnOut { animation: clTurnOut .2s ease-in forwards; }
.cFlipI.turnIn { animation: clTurnIn .22s ease-out; }
@keyframes clTurnOut { to { transform: rotateY(90deg); } }
@keyframes clTurnIn { from { transform: rotateY(-90deg); } }
/* Back to the front turns the other way: a flip back and forth, not a spin (user, 2026-11-02). */
.cFlipI.turnOut.rev { animation-name: clTurnOutRev; }
.cFlipI.turnIn.rev { animation-name: clTurnInRev; }
@keyframes clTurnOutRev { to { transform: rotateY(-90deg); } }
@keyframes clTurnInRev { from { transform: rotateY(90deg); } }
.cBack { background: #fff; border-radius: 20px; box-shadow: 0 8px 22px rgba(16,23,37,.22); padding: 18px; display: flex; flex-direction: column; cursor: pointer; }
.cBack h4 { margin: 0; font: 800 20px/1.1 'Inter', sans-serif; color: var(--navy); }
.cArea { font: 600 13px 'Inter', sans-serif; color: var(--muted); margin: 3px 0 10px; }
.cKv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #E4E9F1; font: 600 13px 'Inter', sans-serif; color: var(--navy); }
.cKv span { color: var(--muted); font-weight: 500; flex: none; }
.cKv b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.cLinks { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; }
.cLinks a, .cLinkOff { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.cLinkOff { opacity: .35; pointer-events: none; }
.cLinks .mmRound { width: 44px; height: 44px; background: var(--navy); color: #fff; }
.cLinks svg { width: 19px; height: 19px; }

/* Search (joining mock, 2026-11-02): tapping it opens every club over the
   tab, as small cards in their colours by default, a list as the other view. */
.clTop { display: flex; align-items: center; gap: 10px; margin: 0 24px 10px; }
.clTop .cSearch { flex: 1; margin: 0; }
.clCancel { display: none; border: none; background: none; padding: 0; font: 500 12.5px 'Inter', sans-serif; color: var(--navy); cursor: pointer; }
.clScreen.searching .clCancel { display: block; }
.clScreen.clLand .clCancel { display: none; }   /* no clubs yet: the grid is the page */
.clSrch { position: absolute; left: 0; right: 0; top: 58px; bottom: 0; z-index: 20; background: var(--paper); padding: 0 24px calc(var(--tabbar-bottom, 14px) + var(--tabbar-h, 64px) + 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.clSrch::-webkit-scrollbar { display: none; }
.clSrch h5 { font: 600 10.5px 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 12px 0 8px; }
.clSrch h5:first-child { margin-top: 2px; }
/* The list and grid switch sits in the search row, between the bar and Cancel, while search is open. */
.clVw { display: none; flex: none; }
.clScreen.searching .clVw { display: flex; }
.clVw div { display: flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: 0 1px 2px rgba(16,23,37,.06); }
.clVw button { border: none; background: none; width: 32px; height: 30px; border-radius: 999px; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.clVw button.on { background: var(--skin-highlight); color: var(--skin-highlight-text); }
.clVw svg { width: 16px; height: 16px; }
.clBook { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.clSw { position: relative; aspect-ratio: 300/430; border: none; padding: 0; border-radius: 10px; overflow: hidden; background: var(--m); color: var(--kt); display: flex; flex-direction: column; justify-content: flex-end; text-align: left; cursor: pointer; box-shadow: 0 2px 8px rgba(16,23,37,.14); }
.clSw .cPic { bottom: 25%; }
.clSwB { position: relative; height: 25%; background: var(--m); padding: 0 8px; display: flex; flex-direction: column; justify-content: center; gap: 2px; box-shadow: 0 -1px 0 color-mix(in srgb, var(--kt) 18%, transparent); }
/* One line of name, cut with … (user, 2026-11-02). */
.clSw b { font: 700 12px/1.2 'Inter', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The player count sits just above the line, the name below it (user, 2026-11-02). */
.clSwN { position: absolute; z-index: 1; right: 8px; bottom: calc(25% + 6px); font: 600 12px 'Inter', sans-serif; opacity: .85; }
.clSw.hasPh .clSwN { color: var(--white); opacity: 1; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.clSw em { z-index: 1; position: absolute; top: 6px; right: 6px; font: 600 11px 'Inter', sans-serif; font-style: normal; background: var(--kt); color: var(--m); padding: 3px 8px; border-radius: 999px; }
/* The list: Best Fit's venue bar (.top-pick-bar), the name, members. */
.clRows { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,23,37,.06); }
.clRow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: none; border-top: 1px solid #EEF1F6; background: none; text-align: left; cursor: pointer; }
.clRow:first-child { border-top: none; }
.clRow i { width: 3px; height: 16px; border-radius: 2px; background: var(--m); flex: none; box-shadow: inset 0 0 0 1px rgba(16,23,37,.06); }
.clRow b { flex: 1; min-width: 0; font: 500 13px 'Inter', sans-serif; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clRow em { font: 600 10px 'Inter', sans-serif; font-style: normal; color: var(--skin-highlight-text); background: var(--skin-highlight); padding: 3px 8px; border-radius: 999px; flex: none; }
.clRow span { flex: none; font: 500 12px 'Inter', sans-serif; color: var(--muted); }
/* Not listed? (user, 2026-11-15): a dashed tile at the end of A to Z, a row
   in the list, a card when a search finds nothing. The app's dark navy
   (Pop in's colour), never lime. */
.clAddI { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.clAddI svg { width: 20px; height: 20px; }
.clSw.clAdd { background: color-mix(in srgb, var(--navy) 4%, #fff); border: 2px dashed color-mix(in srgb, var(--navy) 30%, transparent); box-shadow: none; color: var(--navy); align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 10px; }
.clSw.clAdd b { font: 800 13px 'Inter', sans-serif; white-space: normal; }
.clSw.clAdd small { font: 600 11px/1.35 'Inter', sans-serif; color: var(--muted); }
.clRow.clAddRow .clAddI { width: 22px; height: 22px; }
.clRow.clAddRow .clAddI svg { width: 12px; height: 12px; }
.clRow.clAddRow b { font-weight: 600; }
.clAddCard { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 28px 18px; border: 2px dashed color-mix(in srgb, var(--navy) 30%, transparent); border-radius: 14px; color: var(--navy); }
.clAddCard .clAddI { width: 48px; height: 48px; }
.clAddCard .clAddI svg { width: 22px; height: 22px; }
.clAddCard b { font: 800 16px 'Inter', sans-serif; }
.clAddCard small { font: 500 13px/1.45 'Inter', sans-serif; color: var(--muted); max-width: 30ch; }
.clAdd, .clAddRow, .clAddBtn { text-decoration: none; }
.clAddBtn { display: block; box-sizing: border-box; text-align: center; width: 100%; margin-top: 6px; border: none; border-radius: 999px; padding: 11.5px; background: var(--navy); color: #fff; font: 700 13.5px 'Inter', sans-serif; cursor: pointer; }
/* A club from search, over the page. */
.clPrev { position: fixed; inset: 0; z-index: 1970; background: rgba(18,32,61,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.clPrev[hidden] { display: none; }
.clPrevBtns { display: flex; gap: 10px; }
.clPrev .cFlip { touch-action: none; }
.clPrevHint { font: 500 13px 'Inter', sans-serif; color: rgba(255,255,255,.75); margin-top: -4px; }
.clClose, .clQuiet { border: none; border-radius: 999px; padding: 9px 16px; font: 700 13px 'Inter', sans-serif; cursor: pointer; }
.clClose { background: #fff; color: var(--navy); }
.clQuiet { background: none; color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
/* Find your club, after your clubs while you have room. */
.clFind { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.clFind small { font: 500 12.5px/1.4 'Inter', sans-serif; color: var(--muted); }

/* The club card in MatchPop: the club card on the deck's flip. */
.mmClubCard .mmFace { background: none; }
.mmClubCard .tmCard { position: absolute; inset: 0; width: 100%; }
.mmClubCard .cBack { position: absolute; inset: 0; transform: none; }
.clTag { position: absolute; left: 14px; top: 14px; z-index: 3; font: 700 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--kt) 20%, transparent); color: var(--kt); }
.clWhy { position: absolute; left: 14px; top: 44px; z-index: 3; font: 600 13px 'Inter', sans-serif; color: var(--kt); }

/* The photo row across the line (club photos mock v3): 5 slots, half on the
   photo and half on the band, a 1px outline in the card colour; with no
   photos, one dashed + tile. The band's words move down to make room. */
.cOver { position: absolute; left: 12px; right: 12px; bottom: calc(25% - 31px); z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; pointer-events: none; }
.cAdd { position: relative; aspect-ratio: 4/5; border-radius: 9px; display: flex; align-items: center; justify-content: center; font: 600 22px/1 'Inter', sans-serif; font-style: normal; color: var(--kt); background: color-mix(in srgb, var(--m) 75%, var(--kt)); border: 0; box-sizing: border-box; box-shadow: 0 0 0 1px var(--m); }  /* no outline and no button bevel (user, 2026-11-10) */
.cCard .tmBand { padding-top: 36px; }

/* Club Pass under your club (approved mock, 2026-11-01): it peeks with the +,
   the next open match and one line of news, and slides up over the card with
   every open match scrolling inside. */
.cGrab { flex: none; width: 100%; height: 20px; border: none; background: none; padding: 8px 0; cursor: grab; }
.cGrab::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--muted) 45%, white); margin: 0 auto; }
/* ClubPass's •••, beside the + (leave the club; user, 2026-11-04). */
.cMore { appearance: none; border: none; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.cMore svg { width: 18px; height: 18px; }
/* ClubPass's chat icon, its brick dot while the club chat has unread lines. */
.cChat { position: relative; }
.cChat svg { width: 17px; height: 17px; }
.cChat > i { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--brick); box-shadow: 0 0 0 2px var(--white); }
.cChat > i[hidden] { display: none; }
.cWho { font: 600 13px 'Inter', sans-serif; color: var(--muted); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cuRow { flex: none; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #E4E9F1; border-radius: 14px; padding: 10px 12px; }
.cuBar { width: 3px; height: 16px; border-radius: 2px; flex: none; }
.cuWhat { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cuWhat b { font: 600 13px 'Inter', sans-serif; color: var(--navy); }
.cuWhat small { font: 500 11.5px 'Inter', sans-serif; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cuAsk { flex: none; border: none; border-radius: 999px; padding: 7px 14px; background: var(--navy); color: #fff; font: 600 12px 'Inter', sans-serif; cursor: pointer; }
.cuNone .cuWhat b { color: var(--muted); }
/* The news line carries more weight (user, 2026-11-02): a tinted row, the
   name in bold navy, the time quieter. */
.cuNews { flex: none; display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--skin-main) 9%, white); border-radius: 12px; padding: 9px 12px; font: 500 13px 'Inter', sans-serif; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cuNews::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--skin-main); flex: none; }
.cuNews b { font-weight: 700; color: var(--navy); }
.cuNews em { font-style: normal; color: var(--muted); font-size: 12px; }

/* "Joined" on a club you've joined, top right, where the ProPass shows its rating. */
.cYour { position: absolute; top: 14px; right: 14px; z-index: 3; font: 800 11px 'Inter', sans-serif; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; background: var(--kt); color: var(--m); }
.cuMine { flex: none; font: 600 12px 'Inter', sans-serif; color: var(--muted); padding: 0 4px; }

/* ClubPass's + (approved mock): My Booking's flow template. Every pick 40px,
   13px medium, the picked one bold (user, 2026-11-04, option A of
   https://claude.ai/artifact/FhtL2rVFRBxERr25zRuKsS; was 44px bold). */
#mmSheet .cfFlow { --rowH: 40px; }
#mmSheet .cfDays { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#mmSheet .cfDays .mbPick { height: var(--rowH); padding: 0 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.15; font-size: 12.5px; }
#mmSheet .cfDays .mbPick small { font-size: 9px; line-height: 1; }
.cfCourt { width: 100%; height: var(--rowH, 40px); box-sizing: border-box; border: 1.5px solid #DEE4EE; border-radius: 14px; padding: 0 14px; font: 600 14px 'Inter', sans-serif; color: var(--navy); outline: none; background: #fff; }
.cfCourt::placeholder { color: var(--muted); font-weight: 500; }
.cfCourt:focus { border-color: var(--navy); }
.cfSum { font: 600 12.5px 'Inter', sans-serif; color: var(--navy); }
.cfSum em, .cfLow { font-style: normal; color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.cfFmt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#mmSheet .cfFmt .mbPick { height: var(--rowH); padding: 0; display: flex; align-items: center; justify-content: center; }
.cfStep { display: flex; align-items: center; gap: 10px; }
.cfStep button { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid #DEE4EE; background: #fff; color: var(--navy); font: 600 22px/1 'Inter', sans-serif; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.cfStep button:disabled { opacity: .35; cursor: default; }
.cfStep span { flex: 1; min-width: 0; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--navy); color: #fff; font: 700 15px 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
/* Step 4: labels bold and dark, details grey, all starting on one line. */
.cfList { display: grid; grid-template-columns: max-content 1fr; border: 1.5px solid #DEE4EE; border-radius: 16px; overflow: hidden; }
.cfList span, .cfList b { padding: 12px 14px; border-top: 1px solid #EEF1F6; text-align: left; }
.cfList span:nth-child(1), .cfList b:nth-child(2) { border-top: none; }
.cfList span { font: 700 13px 'Inter', sans-serif; color: var(--navy); padding-right: 6px; }
.cfList b { font: 500 13px 'Inter', sans-serif; color: var(--muted); padding-left: 6px; }

/* Join at the top right of a club you haven't joined, in the same pill as Joined. */
.cJoinTop { border: none; cursor: pointer; font-size: 12px; padding: 6px 13px; }


/* No outlines (user, 2026-11-02), as the Make your ProPass steps (.mmRow):
   tiles tinted from the theme's main colour, the pick in the highlight colour. */
#mmSheet .cfFlow .mbPick, .cfCourt, .cfStep button {
  border: none; background: color-mix(in srgb, var(--skin-main) 8%, white); }
#mmSheet .cfFlow .mbPick.on { background: var(--skin-highlight); color: var(--skin-highlight-text); }
#mmSheet .cfFlow .mbPick.on small { color: color-mix(in srgb, var(--skin-highlight-text) 70%, transparent); }
.cfCourt:focus { border: none; box-shadow: inset 0 0 0 2px var(--skin-highlight); }
.cfStep span { background: var(--skin-highlight); color: var(--skin-highlight-text); }
.cfList { border: none; background: color-mix(in srgb, var(--skin-main) 8%, white); }
.cfList span, .cfList b { border-top-color: #fff; }
/* The confirm page: plain white, no lines, the same 13px as the rest of the flow (user, 2026-11-02). */
.cfList { background: none; border-radius: 0; }
.cfList span, .cfList b { border-top: none; padding: 9px 0; }
.cfList span { padding-right: 18px; }

/* One size through the whole flow (user, 2026-11-02): 13px. The main text is
   bold, the secondary text regular and grey. Only the template's own title
   and section labels differ. */
#mmSheet .cfFlow .mbPick, #mmSheet .cfFlow .cfDays .mbPick, .cfCourt, .cfSum, .cfStep span, .cfList span, .cfList b, #mmSheet .cfFlow .mmSub { font-size: 13px; }
#mmSheet .cfFlow .mbPick, .cfList span { font-weight: 500; }
#mmSheet .cfFlow .mbPick.on, .cfStep span { font-weight: 700; }
#mmSheet .cfFlow .cfDays .mbPick small, .cfSum em, .cfList b { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.cfCourt { font-weight: 500; }
.cfCourt::placeholder { font-weight: 500; }
#mmSheet .cfFlow .cfDays .mbPick { gap: 2px; line-height: 1.15; }
.cfStep button svg { width: 14px; height: 14px; }

/* Hours as tiles, four to a row: the whole day on one page (user, 2026-11-02). */
#mmSheet .cfHGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#mmSheet .cfHGrid .mbPick { height: var(--rowH); padding: 0; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
#mmSheet .cfHGrid .mbPick:disabled { opacity: .38; cursor: not-allowed; }
/* Courts as tiles, four to a row (My Booking's add flow). */
#mmSheet .cfCourts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#mmSheet .cfCourts .mbPick { height: var(--rowH); padding: 0 4px; display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The + is a real button on clubs you're in (the row itself lets taps through). */
button.cAdd { appearance: none; padding: 0; cursor: pointer; pointer-events: auto; width: 100%; }
/* The 5 latest photos tagged at the club, across the line (approved mock). */
.cShots { border: none; background: none; padding: 0; margin: 0; font: inherit; }
button.cShots { pointer-events: auto; cursor: pointer; }
.cShot { position: relative; aspect-ratio: 4/5; border-radius: 9px; background: var(--m) center / cover no-repeat; box-shadow: 0 0 0 1px var(--m); overflow: hidden; display: block; }
/* On a club you're in, a photo opens the club's photos full screen (user, 2026-11-04). */
button.cShot { pointer-events: auto; cursor: pointer; border: 0; padding: 0; font: inherit; width: 100%; }
.cShot b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: var(--white); font: 700 13px 'Inter', sans-serif; }

/* THE CLUBS TAB (user, 2026-11-07, option A2 of
   https://claude.ai/artifact/MvoSi5Fcx7eAVV3m3HU64W): badges fixed on top,
   one tall ClubPass per club swiped sideways, each opening with a swipe up
   (the photo is sticky, so it folds into a band as the pass scrolls). */
.clScreen { display: flex; flex-direction: column; }
.clScreen:not(.searching) .clTop { display: none; }
.clScreen.searching .clBadges { display: none; }
.clBadges { flex: none; display: flex; gap: 4px; padding: 0 12px 6px; overflow-x: auto; scrollbar-width: none; }
.clBadges::-webkit-scrollbar { display: none; }
.clBadge { flex: none; width: 64px; border: 0; background: none; padding: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; font-family: 'Inter', sans-serif; }
.clBi { position: relative; width: 52px; height: 52px; margin: 4px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4.5px transparent; transition: box-shadow .2s; }
.clBadge.on .clBi { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4.5px var(--cc); }
.clFindB .clBi { box-sizing: border-box; border: 2px dashed color-mix(in srgb, var(--muted) 55%, transparent); display: grid; place-items: center; color: var(--navy); }
.clFindB .clBi svg { width: 20px; height: 20px; }
.clBadge b { font: 500 11px 'Inter', sans-serif; color: var(--navy); max-width: 62px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clBadge.on b { font-weight: 700; }
.clDot { position: absolute; top: 3px; right: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--brick); box-shadow: 0 0 0 2px var(--paper); }
.clDot[hidden] { display: none; }
.cRail.clPasses { flex: 1; min-height: 0; padding: 2px 16px 0; gap: 12px; align-items: stretch; }
/* No clubs yet: Find your club stands alone, so it sits in the middle (1.1). */
.cRail.clPasses > .cSlot:only-child { margin: 0 auto; }
.clPass { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.clPassIn { height: 100%; overflow-y: auto; scroll-snap-type: y proximity; overscroll-behavior-y: contain; scrollbar-width: none; box-sizing: border-box;
  padding: 0 0 calc(var(--tabbar-bottom, 14px) + var(--tabbar-h, 64px) + 20px); }
.clPassIn::-webkit-scrollbar { display: none; }
/* The end is a resting place too (user, 2026-11-10): without it the snap
   pulled the pass back up and the Call / Chat / Map row sat under the tab bar. */
.clPassIn > .clCard { scroll-snap-align: end; scroll-margin-bottom: calc(var(--tabbar-bottom, 14px) + var(--tabbar-h, 64px) + 20px); }
.clCard { background: #fff; border-radius: 20px; overflow: clip; box-shadow: 0 6px 18px rgba(16,23,37,.13); min-height: calc(100% + var(--clH, 360px) - var(--clMin, 112px)); }
.clPh { position: sticky; top: calc(var(--clMin, 112px) - var(--clH, 360px)); height: var(--clH, 360px); z-index: 2; overflow: hidden; scroll-snap-align: start; background: var(--t); }
.clShade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, color-mix(in srgb, var(--m) 94%, transparent)); pointer-events: none; }
.clPh .cYour { top: 14px; right: auto; left: 14px; }
.clFoot { position: absolute; left: 16px; right: 12px; bottom: 12px; display: flex; align-items: flex-end; gap: 8px; color: var(--kt); }
.clName { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.clName b { font: 800 24px/1.1 'Inter', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clName small { font: 600 12px/1.25 'Inter', sans-serif; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clFoot .cHeads { align-self: center; }
.clTool { position: relative; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 1px 2px rgba(16,23,37,.08); }
.clTool svg { width: 17px; height: 17px; }
.clTool > i { position: absolute; top: 0; right: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brick); box-shadow: 0 0 0 2px var(--white); }
.clTool > i[hidden] { display: none; }
/* No tear line and no round cuts (user, 2026-11-10): the picture meets the white part cleanly. */
.clTear { position: relative; margin: 0 14px; }
.clStub { padding: 4px 16px 20px; display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; scroll-margin-top: var(--clMin, 112px); }
.clHd { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin-top: 8px; }
.clPost { appearance: none; border: 0; height: 32px; padding: 0 16px; border-radius: 999px; background: var(--m); color: var(--b); font: 700 13px 'Inter', sans-serif; cursor: pointer; }
.clPass .cuAsk { background: var(--m); color: var(--b); }
.clList, .clNews { display: flex; flex-direction: column; gap: 8px; }
.clChat { appearance: none; display: flex; align-items: center; gap: 8px; width: 100%; background: #fff; border: 1px solid #E4E9F1; border-radius: 14px; padding: 11px 12px; text-align: left; cursor: pointer; font: 500 13px 'Inter', sans-serif; color: var(--muted); }
.clChat span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clChat b { color: var(--navy); font-weight: 700; }
.clChat.new span { color: var(--navy); font-weight: 600; }
.clChat i { width: 8px; height: 8px; border-radius: 50%; background: var(--brick); flex: none; }
.clChat em { font-style: normal; font-size: 18px; line-height: 1; color: var(--muted); }
.clStub .cOver { position: static; pointer-events: auto; }
.clAbout .cArea { margin: 0 0 6px; }
.clAbout .cLinks { padding-top: 14px; }
.clPass .cLinks .mmRound { background: var(--m); color: var(--b); }
.clPass .cuNews { background: color-mix(in srgb, var(--cc) 9%, white); }
.clPass .cuNews::before { background: var(--cc); }
.cuGo { cursor: pointer; }
.cuGo:active { background: color-mix(in srgb, var(--cc, var(--skin-main)) 6%, white); }
.cuChev { flex: none; font-style: normal; font-size: 20px; line-height: 1; color: var(--muted); padding: 0 2px; }
.clPh .clMore { left: auto; right: 14px; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 22px; padding: 0 9px; box-sizing: border-box; }
.clMore svg { width: 14px; height: 14px; }
/* Bell left of ••• (2026-11-30); muted = crossed bell on a see-through pill, no word. */
.clPh .clBell { right: 52px; width: 32px; padding: 0; }
.clBell svg { width: 13px; height: 13px; }
.clBell.off { background: color-mix(in srgb, var(--kt) 28%, transparent); color: var(--kt); }
/* The bell's sheet (A1): 40px rows, 13px bold labels, the Settings pill switch. */
.clNt { display: flex; flex-direction: column; margin-top: 10px; border-top: 1px solid #E3E7EE; }
.clNtRow { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 2px; border-bottom: 1px solid #E3E7EE; font: 700 13px 'Inter', sans-serif; color: var(--navy); }
.clNtRow:last-child { border-bottom: 0; }
.clNtWarn { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #FFF4E5; border-radius: 12px; padding: 7px 8px 7px 12px; margin: 10px 0 4px; font: 600 13px 'Inter', sans-serif; color: var(--navy); }
.clNtL { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clNt .mmRowIc { width: 30px; height: 30px; }
.clNt .mmRowIc svg { width: 15px; height: 15px; }
/* Sliding pill, as Settings' alert switch. */
.clSeg { position: relative; }
.clSeg button { position: relative; z-index: 1; transition: color .2s ease; }
.clSeg.slides button.on { background: none; color: var(--skin-highlight-text, #fff); }
.clSeg .segKnob { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: 999px; background: var(--skin-highlight, var(--navy));
  box-shadow: 0 1px 3px rgba(16,23,37,0.18); transition: left .28s cubic-bezier(.3,.7,.2,1), width .28s cubic-bezier(.3,.7,.2,1); }
.clNtFirst .segKnob { transition: none; }
@media (prefers-reduced-motion: reduce) { .clSeg .segKnob { transition: none; } }
.clNtWarn[hidden] { display: none; }
.clNtWarn .mmBtn { width: auto; padding: 7px 12px; font: 800 12px 'Inter', sans-serif; background: var(--navy); color: #fff; border-radius: 999px; }
/* Open a match, step 0 (user, 2026-11-07): tiles that go straight on, a count pill on the right. */
.cfQ0 { display: flex; align-items: center; gap: 10px; }
.cfPlus { width: 34px; height: 34px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--skin-main) 12%, white); color: var(--skin-main); display: inline-grid; place-items: center; }
.cfPlus svg { width: 20px; height: 20px; }
.cfTiles { display: flex; flex-direction: column; gap: 8px; }
#mmSheet .cfFlow .mbPick.cfWide { width: 100%; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; text-align: left; font-weight: 600; }
#mmSheet .cfFlow .mbPick.cfWide:disabled { opacity: .45; cursor: default; }
.cfPill { flex: none; height: 24px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--navy); font: 600 12px 'Inter', sans-serif; display: inline-flex; align-items: center; white-space: nowrap; }

/* Open a match from MatchPop's + (user, 2026-11-08): Me's rows, the venue's
   stripe first, the day and time over the venue and court. */
.cfFlow .mbRow{min-height:52px;}
.cfBkTxt{display:flex;flex-direction:column;gap:2px;min-width:0;}
.cfBkTxt b{font-size:14px;font-weight:600;color:var(--navy);}
.cfBkTxt small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cfIntro{font-size:13px;margin:-4px 0 4px;}

/* ClubPass section icons (user, 2026-11-10), before each section's name. */
.clHd .meLkLab{display:inline-flex;align-items:center;gap:7px;}
.clHdI{width:15px;height:15px;flex:none;}

/* A match row (user, 2026-11-10): day and date over the time on the left,
   the level range over the seats on the right, then one fixed-width end
   column for ›, Asked or Yours, so every row lines up. */
.cuTwo { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.cuL, .cuR { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cuR { align-items: flex-end; }
.cuL small, .cuR b { font-variant-numeric: tabular-nums; }
.cuR b { font: 600 12px 'Inter', sans-serif; color: var(--navy); white-space: nowrap; }
.cuSeats { display: flex; gap: 4px; }
.cuSeats i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); box-sizing: border-box; }
.cuSeats i.on { background: var(--cu, var(--navy)); border-color: var(--cu, var(--navy)); }
.cuRow .cuChev, .cuRow .cuMine { width: 46px; text-align: right; box-sizing: border-box; }
/* A full match: a small grey pill where › / Asked / Yours sit (user, 2026-11-11, option A). */
.cuFull { display: inline-block; font: 700 11px 'Inter', sans-serif; color: var(--muted); background: #F3F5F9; border-radius: 999px; padding: 3px 8px; }

/* Free courts on the ClubPass (user, 2026-11-12, option B): one row on the pass,
   a pop-up with the 3 days. Chips are the Venues tab's own .slot. */
.fcGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcGrid .slot { background: #fff; }
.fcGrid .slot .slot-bar { width: 3px; height: 13px; border-radius: 2px; background: var(--cc, var(--skin-main)); display: inline-block; margin-right: 6px; vertical-align: -2px; }
.fcDayHd { font: 800 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.clChat:disabled { cursor: default; opacity: .7; }

/* Free courts rows wear the open-match row (2026-11-15); undo the chip look. */
.clStub a.slot.fcRow { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #E4E9F1; border-radius: 14px; box-shadow: none; transform: none; text-decoration: none; color: inherit; min-height: 0; }
.clStub a.slot.fcRow:active { transform: none; filter: none; box-shadow: none; background: color-mix(in srgb, var(--cc, var(--skin-main)) 6%, white); }

/* More sheet: "Newly opened" rows (2026-11-15). The chips are a.slot for the
   tap, so undo the slot chip's own look here. */
.fcOpList { margin-top: 4px; }
#mmSheetBody .fcOpList a.slot.fcOp { display: flex; flex-direction: row; align-items: center; gap: 6px; min-height: 0; height: auto; padding: 7px 10px; border-radius: 8px; transform: none;
  font: 600 12px/17px 'Inter', sans-serif; color: var(--navy); background: #fff; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(16,23,37,0.14), 0 2px 8px rgba(16,23,37,0.1); }
#mmSheetBody .fcOpList a.slot.fcOp:active { transform: scale(1.03); }
.fcOpList .openedTime.fcPart { width: 80px; }
.fcOpList .openedChips.fcThree { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcTitle { display: flex; align-items: center; gap: 10px; }
.fcTitle .venue-logo-chip { flex: none; }

/* Players 2 to 6 and the level wheels (2026-11-22): three rows, From and To, Any level capsule on top. */
.plNum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
#mmSheet .plNum .mbPick { height: var(--rowH, 40px); padding: 0; display: flex; align-items: center; justify-content: center; }
.plAny { align-self: center; height: 34px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #DEE4EE; background: #fff; color: var(--navy); font: 700 13px 'Inter', sans-serif; cursor: pointer; }
.plAny.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.plWheels { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plCol { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; position: relative; z-index: 1; }
.plCol em { font: 700 11px 'Inter', sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.plWheel { width: 100%; height: 108px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; padding: 36px 0; box-sizing: border-box; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.plWheel::-webkit-scrollbar { display: none; }
.plWheel i { display: flex; align-items: center; justify-content: center; height: 36px; scroll-snap-align: center; font: 600 16px 'Inter', sans-serif; font-style: normal; font-variant-numeric: tabular-nums; color: var(--navy); opacity: .4; cursor: pointer; }
.plWheel i.on { opacity: 1; font-weight: 800; font-size: 18px; }
.plWheel.off { overflow: hidden; }
.plWheel.off i { opacity: .45; cursor: default; }
.plBand { position: absolute; left: 0; right: 0; bottom: 36px; height: 36px; border-radius: 12px; background: #fff; border: 1.5px solid #DEE4EE; pointer-events: none; }
/* no outlines, theme tints (as above) */
.plAny { border: none; background: color-mix(in srgb, var(--skin-main) 8%, white); }
.plAny.on { background: var(--skin-highlight); color: var(--skin-highlight-text); }
.plBand { border: none; background: color-mix(in srgb, var(--skin-main) 8%, white); }

/* Any level: a wide navy capsule, as tall as the other buttons (2026-11-22) */
.plAny { width: 100%; height: var(--rowH, 40px); padding: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 700 13px 'Inter', sans-serif; }
.plAny.on { background: var(--skin-highlight); color: var(--skin-highlight-text); }
.plWheel.off { overflow-y: auto; }

/* Any level sits under the wheels: grey like the other buttons, navy once selected (user, 2026-11-22) */
.plAny { background: color-mix(in srgb, var(--skin-main) 8%, white); color: var(--navy); }
.plAny.on { background: var(--navy); color: #fff; }

/* A club match outside your level: seen, not tappable (2026-11-23). */
.cuRow.cuLock { opacity: .55; cursor: default; }
