/* Me as two decks (user, 2026-11-01). See me-decks.js. */
html.me-on, html.me-on body { overflow: hidden; overscroll-behavior: none; }
html.me-on .nav-stack { display: none !important; }
#tab-booking { display: none !important; }

.meScreen { position: fixed; left: 0; right: 0; top: var(--header-h, 81px); bottom: 0; margin: 0 auto; max-width: 480px; --meZ: 1; --meFoot: 128px; --meTb: calc(var(--tabbar-bottom, 14px) + var(--tabbar-h, 62px)); }
.mePg { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; z-index: 4; pointer-events: none; }
.mePg::-webkit-scrollbar { display: none; }
.meDeck { position: relative; box-sizing: border-box; height: 100%; padding: 44px 0 calc(var(--meTb) + var(--meFoot) - 28px); scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: center; }
/* The deck rides over the words, under the header and tab bar, so it never
   clips; only the deck takes touches, so the buttons behind it still work. */
.meDeck > * { pointer-events: auto; }
.meDeck + .meDeck { margin-top: calc(var(--meNear, 0px) * -1); }
.meDeck.off, .meDeck.off * { pointer-events: none !important; }
/* The foot of My Locker (user, 2026-11-04, option A): Time Machine and its
   buttons, then the photo strip. */
.meLkFoot { display: flex; flex-direction: column; gap: 10px; }
.meLkTop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.meLkLab { font: 700 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.meStrip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 3px 2px; margin: 0 -2px; touch-action: pan-x; overscroll-behavior-x: contain; }
.meStrip::-webkit-scrollbar { display: none; }
.meStrip button { flex: none; width: 40px; height: 43px; border: none; padding: 0; border-radius: 8px; background: center / cover var(--paper); opacity: .45; cursor: pointer; transition: opacity .15s, transform .15s; }
.meStrip button.on { opacity: 1; transform: scale(1.08); }
.meStrip .mePpTh { display: flex; align-items: center; justify-content: center; }
.mePost { appearance: none; border: none; height: 32px; padding: 0 16px; border-radius: 999px; background: var(--skin-highlight); color: var(--skin-highlight-text); font: 700 13px 'Inter', sans-serif; cursor: pointer; }
.meFit { flex: none; margin: 0; }
.meScreen.small .meFit { zoom: var(--meZ); }
#meDeck0 .tmBox, #meDeck1 .tmBox { margin: 0; }
.meDeck .tmRail { margin-bottom: 0; }
/* Matches the Time Machine box, so both cards end at the same height. */
#meDeck1 .tmBox { padding-bottom: 10px; }
.meDeck .mmMe { margin: 0; }
.tmMain > .meNudge { flex: 0 0 1px; height: 1px; align-self: flex-end; }
.meSwipe { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.meSwipe::-webkit-scrollbar { display: none; }
.meSwipe.tmEmpty { justify-content: flex-start; }
.meSwipeIn { flex: none; width: calc(100% + 1px); display: flex; justify-content: center; }
.mmGreyCard.meMake { position: relative; inset: auto; width: 300px; aspect-ratio: 300/430; margin: 0 auto; border: none; border-radius: 20px; background: color-mix(in srgb, var(--muted) 14%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 30px; text-align: center; }
.mmGreyCard.meMake small { font: 500 13px/1.45 'Inter', sans-serif; color: var(--muted); }
.meLay { position: absolute; left: 0; right: 0; z-index: 3; opacity: 0; pointer-events: none; }
.meLay.live { pointer-events: auto; }
.meTop { top: 10px; }
/* The header row sits over the deck (it rides up to the row), so every
   part of its buttons takes a tap (user, 2026-11-04: the capsule's lower
   half went to the deck). */
.meTop.live { z-index: 5; }
.meTop .mbHead { margin: 0 24px; min-height: 34px; }
.meHintLay { top: var(--meHint, 0); left: 24px; right: 24px; z-index: 5; font-size: 12px; line-height: 15px; color: var(--muted); text-align: center; pointer-events: none !important; }
.meScreen.slim .meHintLay, .meScreen.slim .meFoot { display: none; }
.meScreen.slim .meDeck { padding: 42px 0 var(--meTb); justify-content: flex-start; }
.meFoot { bottom: var(--meTb); height: var(--meFoot); display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 14px 24px 0; box-sizing: border-box; }
/* Post (My Locker) and Add (My Booking) sit in the same spot, top right of
   the foot (user, 2026-11-04). The foot goes on short screens, so there a
   + stands in up top (.meSlim). */
/* My Booking: "Matches" and Add as My Locker's "Time Machine" and Post
   (user, 2026-11-04); the bar full width under it, its counts kept. */
.meSlim { display: none !important; }
.meScreen.slim .meSlim { display: flex !important; }
.meHr { display: flex; align-items: center; gap: 6px; }
.meHr .tmAdd { margin: 0; }
/* Sync (user, 2026-11-10, icon A): white until your calendar has
   CourtPop!, then the theme accent. Tap = Add to Calendar, or the
   Reset link / Remove sheet once added. */
.meSync { flex: none; width: 32px; height: 32px; border: none; border-radius: 50%; padding: 0; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(16,23,37,.06); cursor: pointer; }
.meSync svg { width: 16px; height: 16px; }
.meSync.on { background: var(--skin-accent); color: var(--skin-accent-text); }
.meChip { display: inline-flex; align-items: center; gap: 5px; border: none; border-radius: 999px; background: #fff; padding: 7px 11px; font: 600 12px 'Inter', sans-serif; color: var(--navy); cursor: pointer; box-shadow: 0 1px 2px rgba(16,23,37,.06); }
.meChip svg { width: 13px; height: 13px; color: var(--skin-main); }
.meTool { width: 32px; height: 32px; flex: none; border: none; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 1px 2px rgba(16,23,37,.06); }
.meTool svg { width: 15px; height: 15px; }
.meTool.nv, .meHr .tmAdd { background: var(--skin-highlight); color: var(--skin-highlight-text); }
.meDots { position: absolute; right: 6px; top: 45%; display: flex; flex-direction: column; gap: 6px; z-index: 5; pointer-events: none; }
.meDots i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 40%, transparent); }
.meDots i.on { background: var(--navy); }
.mePop { position: absolute; left: 24px; right: 24px; top: 52px; z-index: 6; }
.mePop .lkPriv { background: #fff; box-shadow: 0 8px 22px rgba(16,23,37,.22); }
.meLv { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; }
/* Private, while you pick it (user, 2026-11-04): your own Time Machine
   photos blur as a cue, the way the public sees them; the band stays sharp. */
#meDeck0 .tmPh { overflow: hidden; }
#meDeck0 .tmPh img { transition: filter .35s ease, transform .35s ease; }
.meScreen.mePrivate #meDeck0 .tmPh img { filter: blur(14px) saturate(.85); transform: scale(1.3); }
/* Three boxes of one height (user, 2026-11-04). */
.meLvRow { appearance: none; border: none; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 12px; height: 62px; box-sizing: border-box; border-radius: 12px; padding: 0 12px; background: var(--paper); font: 500 13px/1.35 'Inter', sans-serif; color: var(--muted); }
.meLvRow span { flex: 1; min-width: 0; }
.meLvRow b { display: block; color: var(--navy); font-weight: 700; }
.meLvRow > svg { width: 20px; height: 20px; flex: none; color: var(--skin-main); }
.meLvRow.on { background: var(--navy); color: color-mix(in srgb, #fff 75%, transparent); }
.meLvRow.on b, .meLvRow.on > svg { color: #fff; }

/* The progress bar: a glance at where you are in the deck. */
.meBar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 6px; row-gap: 10px; align-items: center; }
.meTh { display: flex; align-items: center; justify-content: space-between; gap: 5px; font: 700 10.5px 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.meTh b { font: 700 11px 'Inter', sans-serif; letter-spacing: 0; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(16,23,37,.06); }
.meTh.cur { color: var(--navy); font-weight: 800; }
.meTh.cur b { background: var(--skin-highlight); color: var(--skin-highlight-text); }
.meUp { grid-column: span 2; }
.meTb { position: relative; display: block; height: 4px; border: none; padding: 0; border-radius: 2px; overflow: hidden; cursor: pointer; background: color-mix(in srgb, var(--muted) 20%, transparent); }
.meTb.up { background: color-mix(in srgb, var(--skin-accent) 34%, transparent); }
.meTb i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--skin-highlight); transition: width .25s; }
.meTb.up i { background: var(--skin-accent); }
.meTw { border: none; background: none; padding: 0; text-align: left; font: 500 11.5px 'Inter', sans-serif; color: var(--muted); cursor: pointer; white-space: nowrap; }
.meTw.cur { color: var(--navy); font-weight: 600; }
/* One bar on the ProPass deck. */
.meBar.one { grid-template-columns: minmax(0, 1fr); }
.meNow { border: none; border-radius: 999px; height: 18px; padding: 0 9px; background: var(--skin-highlight); color: var(--skin-highlight-text); font: 700 11px 'Inter', sans-serif; letter-spacing: 0; cursor: pointer; transition: opacity .2s; }
.meNow.away { opacity: 0; pointer-events: none; }
.meBar.one .meTb { cursor: default; }
.meTf { position: relative; height: 15px; }
.meTf .meTw { position: absolute; top: 0; cursor: default; transition: left .25s, transform .25s; }

/* One card size: the CourtPass matches the ProPass and Time Machine. */
.courtPass .cpTicket, .meDeck .cpTicket { zoom: .9375; }
.meDeck .cpTicket { cursor: pointer; }
/* A shorter swipe per card than the 80pt elsewhere, so the decks keep up with a thumb. */
@supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { .meDeck .tmMain { --sl: 60px; } } }
.cpTicket.past { --cp-body: color-mix(in srgb, var(--muted) 34%, white); --cp-ink: var(--navy); }
.courtPass.meLift { justify-content: flex-start; padding-top: calc(env(safe-area-inset-top, 0px) + 100px); background: none; }
.courtPass.meLift .cpTicket.enter { animation: none; }

/* The round button after the title: one tap to the other page (user, 2026-11-04, option B in a circle). */
.meTi { appearance: none; border: none; background: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-width: 0; text-align: left; }
.meSw { width: 28px; height: 28px; flex: none; border: none; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 1px 2px rgba(16,23,37,.06); }
.meSw .meChev { width: 16px; height: 16px; }
.meSw.up .meChev { transform: rotate(180deg); }
