/* Reference: 820 × 1672 raster, measured at 410 × 836 CSS pixels.
 * Anchors: hero y=56, calendar y=128, filters y=194, first card y=244.
 * All text remains live HTML; the welcome screen is unaffected.
 */
html:not([data-theme="dark"]) .phone:has(.player-feed),html:not([data-theme="dark"]) .phone:has(.player-nav){--bg:#fff;--ink:#18232d;--muted:#69717b;--line:#e7eaee;--tile:#fff;--coral:#4e681f;--on-accent:#fff;--coral-soft:#f0fbdf;color:var(--ink);background:#fff}
.phone:has(.player-feed) .status{display:none}
.phone:has(.player-feed) .screen{height:100dvh;padding:0 0 86px}
.player-feed{padding:4px 18px 12px;font-family:Arial,sans-serif}
.feed-top{height:44px;display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;padding:0 1px}
.feed-top .where{width:auto;height:44px;gap:10px;color:var(--ink);padding:0 5px}
.feed-top .where b{font-size:16px;line-height:22px;font-weight:400}
.feed-top .where>span{display:flex}
.feed-top .where>span svg{width:12px;height:12px}
.feed-icon{width:40px;height:44px;padding:0;display:grid;place-items:center;flex:none}
.feed-icon svg,.feed-top svg{width:24px;height:24px}
.feed-hero{margin:0 8px}
.feed-hero h1{font-size:28.5px;letter-spacing:-.25px;line-height:35px;margin:0;font-weight:700;white-space:nowrap}
.feed-hero p{font-size:16px;line-height:21px;margin:3px 0 0;color:var(--ink);letter-spacing:-.1px}
.feed-hero:after{content:"";display:block;width:20px;height:4px;border-radius:3px;background:#b4f55f;margin:3px 0 6px}
.feed-calendar{display:flex;align-items:center;gap:0;height:56px}
.feed-calendar>.feed-icon{width:20px;height:44px}
.feed-calendar>.feed-icon svg{width:24px;height:24px;stroke-width:2.1}
.feed-calendar .days{flex:1;min-width:0;height:56px;gap:8px;margin:0;padding:0 4px 0 20px;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-left:20px}
.player-feed .daytab{flex:none;width:50px;min-width:50px;height:56px;padding:8px 3px 6px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);scroll-snap-align:start}
.player-feed .daytab:nth-child(-n+2){width:64px}
.player-feed .daytab.on{background:#b4f55f;border-color:#b4f55f;color:#111b19}
.player-feed .daytab .dow{font-size:13px;line-height:16px;opacity:1;font-weight:400}
.player-feed .daytab .num{font-size:19px;line-height:24px;margin-top:2px;font-weight:700}
.player-feed .feed-filters{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.06fr) minmax(0,1.38fr) minmax(0,1fr);gap:5px;height:64px;padding:10px 0;overflow:visible;mask-image:none;-webkit-mask-image:none}
.player-feed .filter{display:flex;justify-content:center;align-items:center;gap:3px;height:44px;min-width:0;padding:0 4px;border:1px solid var(--line);border-radius:22px;color:var(--ink);font-size:13px;line-height:16px;white-space:normal}
.player-feed .filter>span{min-width:0;text-align:center}
@media(max-width:389px){.player-feed .feed-filters .filter{gap:2px;padding:0 3px;font-size:12px}}
.player-feed .filter svg{width:18px;height:18px;flex:none}
.player-feed .filter .chevron{width:10px;height:10px;margin-left:0}
.player-feed .filter.active{background:#f0fbdf;border-color:#a3c677;color:#19232c}
.player-feed .day{font-size:14px;line-height:20px;margin:6px 0}
.player-feed .game{width:100%;display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;border:1px solid var(--line);border-radius:12px;padding:5px 7px;margin:0 0 6px;height:96px;min-height:96px;align-items:stretch;background:#fff;color:var(--ink)}
.player-feed .game-thumb{width:72px;height:84px;min-height:0;max-height:none;object-fit:cover;border-radius:9px}
.game-main{min-width:0;display:grid;grid-template-rows:22px 18px 22px 22px;gap:0}
.game-heading{display:flex;align-items:center;gap:6px;justify-content:space-between;min-width:0}
.player-feed .game h3{font-size:16px;font-weight:700;line-height:20px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.12px}
.player-feed .game-time{font-size:16px;line-height:20px;white-space:nowrap;font-weight:700;padding-right:4px}
.game-area{font-size:13px;line-height:18px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-level{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);line-height:20px}
.level-stars{display:inline-flex;gap:4px;color:#53711f;align-items:center}
.level-stars svg{width:11px;height:11px;display:block}
.level-stars .unfilled{color:#707b89}
.game-footer{display:flex;align-items:center;gap:8px;min-width:0}
.game-tag{border:1px solid var(--line);border-radius:8px;height:22px;padding:2px 7px;white-space:nowrap;font-size:12px;line-height:16px}
.game-tag.indoor{overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1}
.game-price{margin-left:auto;white-space:nowrap;font-size:16px;line-height:20px;font-weight:700}
.game-arrow{display:flex;flex:none;width:14px;margin:0;align-items:center;justify-content:center}
.game-arrow svg{width:18px;height:18px;stroke-width:2.4}
.player-feed .game:has(.dist){height:auto;min-height:112px}
.game-main:has(.dist){grid-template-rows:22px 18px 22px auto 22px}
.player-nav{border-radius:0!important;background:#fff;height:76px;padding:0 7px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e7eaee;font-family:Arial,sans-serif}
.player-nav .tab{font-size:13px;line-height:17px;color:#68727c;min-width:0;gap:5px;font-weight:400;padding:8px 0 0;justify-content:flex-start}
.player-nav .tab.active{color:#18232d;font-weight:400}
.player-nav .ico{display:grid;place-items:center;width:40px;height:28px}
.player-nav svg{width:26px;height:26px;stroke-width:1.6}
.player-nav .tab[data-tab=games]{padding-top:0}
.player-nav .tab[data-tab=games] .ico{background:transparent;color:#102214;width:45px;height:45px;border-radius:50%;margin-top:-6px;margin-bottom:-3px}
/* Unmodified user PNG: display only its 190×190 ball fragment, including the shadow. */
.player-nav .tab[data-tab=games] .nav-tennis-photo{width:45px;height:45px;overflow:hidden}
.player-nav .badge{background:#536c24;color:#fff}
.phone:has(.player-nav) .screen{padding-bottom:86px}
.feed-search{width:100%;font-size:16px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);margin:0 0 10px}
@media(min-width:700px){.phone:has(.player-feed){width:410px;min-height:836px}.phone:has(.player-feed) .screen{height:836px}}
@media(max-width:389px){.player-feed{padding-left:14px;padding-right:14px}.feed-hero h1{font-size:25px;letter-spacing:-.5px}.feed-hero p{font-size:14px}.feed-calendar .days{padding-left:8px}.player-feed .daytab:nth-child(-n+2){width:58px;min-width:58px}.player-feed .daytab{width:46px;min-width:46px}.player-feed .filter{gap:4px;font-size:12px;padding:0 5px}.player-feed .game{gap:10px;grid-template-columns:64px minmax(0,1fr)}.player-feed .game-thumb{width:64px}.player-feed .game h3,.player-feed .game-time,.game-price{font-size:14px}.game-tag{padding:2px 5px;font-size:11px}.game-footer{gap:5px}.game-level{gap:8px}}
@media(max-width:349px){.feed-hero{margin:0 2px}.feed-hero h1{font-size:22px}.feed-hero p{font-size:13px}.player-feed .game{grid-template-columns:54px minmax(0,1fr);gap:8px}.player-feed .game-thumb{width:54px}.game-tag{padding:2px 3px}.game-footer{gap:4px}.game-area,.game-level{font-size:12px}.level-stars{gap:2px}.player-nav .tab{font-size:11px}.player-feed .filter svg{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){.player-feed .days{scroll-behavior:auto}}
.checkout .checkout-total{display:block;font-size:32px;line-height:1.2;margin:8px 0 18px}
.checkout .checkout-disclosure{font-size:13px;line-height:1.5;margin:16px 0}
.checkout .btn.primary{background:#b4f55f;color:#18232d}
.checkout .btn+.btn{margin-top:10px}
/* Detail reference: the supplied 556×484 crop contains a 506 px-wide phone.
 * At 430 CSS px: 16 px inset, 68 px fact tiles, 37 px chips and 8-9 px gaps.
 */
.detail-redesign{padding:0 16px 110px;--detail-surface:#f6f7f9;--detail-ink:#0e1726;color:var(--detail-ink)}
.detail-hero{height:230px;margin:0 -16px;position:relative}
.detail-hero img{width:100%;height:100%;object-fit:cover;display:block}
.detail-hero:after{content:"";position:absolute;inset:auto 0 0;height:60px;background:linear-gradient(transparent,var(--bg));pointer-events:none}
.detail-hero.no-photo{height:70px;background:var(--soft)}
.detail-hero-controls{position:absolute;top:12px;left:14px;right:14px;display:flex;justify-content:space-between;z-index:1}
.detail-round{width:44px;height:44px;border-radius:50%;background:#18232dcc;color:#fff;display:grid;place-items:center;padding:10px}
.detail-round svg{width:25px;height:25px}
.detail-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;position:relative;margin:-8px 0 6px 2px}
.detail-heading>div{min-width:0}
.detail-redesign .detail-title{font-size:29.5px;line-height:32px;font-weight:750;margin:0;letter-spacing:-.6px;overflow-wrap:anywhere}
.detail-area{font-size:17px;line-height:22px;color:#687180;margin:1px 0 0}
.detail-seats{flex:none;white-space:nowrap;border-radius:22px;padding:7px 16px;background:linear-gradient(115deg,#c6f58c,#b1f565);color:#17220f;font-size:15px;line-height:18px;font-weight:700}
.detail-address{display:flex;gap:8px;align-items:center;min-height:32px;font-size:16px;line-height:20px;margin:0 2px 9px}
.detail-address>svg{width:24px;height:24px;flex:none}
.detail-address>span{flex:1;min-width:0;overflow-wrap:anywhere}
.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.detail-facts>div{display:flex;align-items:center;gap:16px;border-radius:12px;background:var(--detail-surface);padding:7.5px 16px;min-height:68px;min-width:0}
.detail-facts svg{width:28px;height:28px;flex:none}
.detail-facts span{min-width:0}
.detail-facts strong{display:block;font-size:15px;line-height:19px;font-weight:600}
.detail-facts strong::first-letter{text-transform:uppercase}
.detail-facts small{display:block;color:#687180;font-size:13px;line-height:18px}
.detail-facts small+small{font-size:12px;line-height:16px}
.detail-chips{display:grid;grid-template-columns:.53fr .87fr 1.06fr 1.27fr;gap:8px;margin:9px 0 20px}
.detail-chips>span{display:flex;align-items:center;justify-content:center;min-width:0;min-height:37px;gap:8px;background:var(--detail-surface);border-radius:14px;padding:6.5px 5px;font-size:14px;line-height:19px;white-space:nowrap}
.detail-chips svg{width:24px;height:24px;flex:none;color:#4b9239}
.phone .detail-joinbar{bottom:76px;background:var(--bg);border-top:1px solid var(--line);padding:12px 18px}
.detail-checkout-row{display:flex;align-items:center;gap:18px}
.detail-price{min-width:94px;flex:none;display:flex;flex-direction:column}
.detail-price strong{font-size:27px;line-height:32px;letter-spacing:-.5px}
.detail-price span{color:var(--muted);font-size:15px;line-height:21px}
.detail-checkout-row>.btn.primary{flex:1;min-width:0;min-height:54px;background:#b4f55f;color:#18232d;font-size:19px;border-radius:18px}
.detail-report{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin:20px 0 0;padding:12px 16px;border:1px solid #e5e9ef;border-radius:14px;background:var(--detail-surface,#f6f7f9);color:#596574;font-size:14px;line-height:20px;font-weight:500;text-align:center;transition:background-color .15s,border-color .15s}
.detail-report svg{width:18px;height:18px;flex:none}
.detail-report span{min-width:0;overflow-wrap:anywhere}
.detail-report:focus-visible{outline:2px solid #53711f;outline-offset:3px}
@media(hover:hover){.detail-report:hover{background:#edf0f4;border-color:#d8dfe8}}
.detail-report:active{background:#e7ecf2;border-color:#cbd4df}
@media(prefers-reduced-motion:reduce){.detail-report{transition:none}}
.support-pinned h3{display:flex;align-items:center;gap:8px}
.support-pin{display:inline-flex;color:var(--muted)}
.support-pin svg{width:14px;height:14px}
.detail-hero-actions,.feed-top-actions{display:flex;align-items:center;gap:8px}
.is-saved svg{fill:currentColor}
.detail-round.is-saved{color:#b4f55f}
.detail-round:disabled,.favorite-toggle:disabled{opacity:.55;cursor:wait}
.favorites-view .title{font-size:30px}
.favorite-scopes{display:grid;grid-template-columns:1fr 1fr;gap:6px;border-radius:14px;background:var(--soft);padding:5px;margin:18px 0}
.favorite-scopes button{min-height:44px;border-radius:11px;font-size:15px}
.favorite-scopes button[aria-pressed=true]{background:#b4f55f;color:#18232d;font-weight:700}
.favorite-card{position:relative;display:flex;align-items:flex-start;gap:4px;border:1px solid var(--line);border-radius:16px;margin-bottom:10px;padding:12px 8px 12px 12px}
.favorite-open{display:flex;gap:12px;align-items:center;text-align:left;min-width:0;flex:1;padding:0}
.favorite-open img{width:64px;height:94px;border-radius:10px;object-fit:cover;flex:none}
.favorite-open>span{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.favorite-open strong{font-size:17px;line-height:22px}
.favorite-open small{font-size:12px;line-height:17px;color:var(--muted)}
.favorite-open b{font-size:13px;line-height:18px}
.favorite-toggle{width:44px;height:44px;padding:11px;flex:none;color:#53711f}
.favorite-toggle svg{width:22px;height:22px;display:block}
.favorites-view .center-link{margin-top:20px}
/* The light redesign must not override the user's selected dark palette. */
html{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] .player-nav,
html[data-theme="dark"] .player-feed .game,
html[data-theme="dark"] .player-feed .daytab:not(.on),
html[data-theme="dark"] .feed-search{background:var(--bg);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .player-nav .tab{color:var(--muted)}
html[data-theme="dark"] .player-nav .tab.active{color:var(--ink)}
html[data-theme="dark"] .player-feed .filter.active{background:var(--coral-soft);border-color:#617831;color:var(--coral)}
html[data-theme="dark"] .detail-redesign{--detail-surface:var(--soft);--detail-ink:var(--ink)}
html[data-theme="dark"] .detail-area,
html[data-theme="dark"] .detail-facts small{color:var(--muted)}
html[data-theme="dark"] .detail-report{background:var(--soft);color:var(--muted);border-color:var(--line)}
html[data-theme="dark"] .detail-report:hover,
html[data-theme="dark"] .detail-report:active{background:var(--tile)}
html[data-theme="dark"] .level-stars,
html[data-theme="dark"] .favorite-toggle{color:#b4dc75}
html[data-theme="dark"] .level-stars .unfilled{color:var(--muted)}
@media(max-width:409px){.detail-facts>div{padding:9px 12px;gap:10px}.detail-chips{gap:6px}.detail-chips>span{font-size:12px;gap:5px}.detail-chips svg{width:20px;height:20px}.detail-address{font-size:14px}}
@media(max-width:359px){.detail-hero{height:190px}.detail-redesign{padding-left:12px;padding-right:12px}.detail-hero{margin-left:-12px;margin-right:-12px}.detail-redesign .detail-title{font-size:25px;line-height:29px}.detail-seats{font-size:12px;padding:7px 10px}.detail-facts>div{padding:9px;gap:7px}.detail-facts svg{width:23px;height:23px}.detail-facts strong{font-size:14px}.detail-facts small{font-size:11px}.detail-facts small+small{font-size:10px}.detail-address{gap:7px}.detail-chips{gap:5px}.detail-chips>span{font-size:11px;gap:4px;padding-left:3px;padding-right:3px}.detail-chips svg{width:17px;height:17px}.detail-price{min-width:80px}.detail-price strong{font-size:24px}.detail-checkout-row{gap:12px}}
