:root{color-scheme:light;--bg:#f5f6f0;--surface:#fff;--ink:#172b32;--muted:#63716f;--line:#dfe4dc;--navy:#123854;--lime:#ccf572;--soft-lime:#f1f8df;--blue:#eaf1fc;--blue-ink:#375f92;--danger:#a43838;--radius:26px;--shadow:0 8px 30px #25363009;--bottom:86px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:#e9ece5;color:var(--ink);font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #38669f}a{color:var(--navy)}button{color:inherit}button:active:not(:disabled){filter:brightness(.96)}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:1120px;min-height:100dvh;background:var(--bg);margin:auto}.app-header{padding:24px 42px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:var(--bg)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink)}.brand img{border-radius:14px;object-fit:contain;background:#021629}.brand strong{display:block;font-size:19px;letter-spacing:-.6px}.brand small{display:block;color:var(--muted);font-size:12px;margin-top:1px}.header-actions{display:flex;gap:12px;align-items:center}.language-button{display:flex;align-items:center;gap:7px;background:transparent;border:0;min-height:44px;padding:8px;font-size:13px;font-weight:700}.language-button .icon{width:18px;height:18px}.avatar{border:1px solid #cedac4;box-shadow:0 0 0 4px white;border-radius:50%;background:#e6efdc;width:40px;height:40px;min-width:40px;font-weight:600;color:var(--navy)}main{padding:34px 42px calc(var(--bottom) + 44px);min-height:75vh}.hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:30px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.9px;color:var(--muted);font-weight:700;margin:0 0 12px}.hero h1,.page-heading h1{font-size:clamp(32px,4.4vw,48px);line-height:1.12;letter-spacing:-1.8px;font-weight:550;margin:0 0 14px}.hero-copy>p:last-of-type{color:var(--muted);font-size:14px;margin:0}.hero-copy>p:last-of-type strong{font-weight:500;color:var(--ink)}.location-pill{display:inline-flex;gap:6px;align-items:center;background:#ebf3dd;color:#486234;border:1px solid #d9e6c4;border-radius:20px;font-size:12px;font-weight:600;padding:7px 12px;margin-top:18px;text-decoration:none}.location-pill .icon{width:15px;height:15px}.court-art{width:240px;height:156px;flex-shrink:0;border-radius:22px;background:var(--navy);position:relative;overflow:hidden}.court-art svg{position:absolute;width:260px;height:160px;right:-5px;top:10px}.court-art .label{position:absolute;left:16px;top:12px;font-size:9px;color:#deedee;letter-spacing:2px}.court-art .dot{position:absolute;right:37px;bottom:37px;height:42px;width:42px;border-radius:50%;background:var(--lime);box-shadow:0 8px 14px #0002}.court-art .dot:before{content:'';position:absolute;inset:8px;border:4px dotted #789744;border-radius:50%}.format-tabs{display:flex;padding:5px;background:#e9ece3;border:1px solid #e0e5db;border-radius:17px;gap:3px;margin-bottom:21px}.format-tabs button{flex:1;background:none;border:0;border-radius:12px;min-height:44px;font-size:14px;color:#5d6b65;font-weight:600;white-space:nowrap;padding:10px 8px}.format-tabs button[aria-selected=true]{background:white;color:var(--navy);box-shadow:0 3px 10px #26392f0d}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.filter-pills{display:flex;gap:8px;flex-wrap:wrap}.pill{background:#fff;border:1px solid #dce2d8;border-radius:28px;padding:9px 16px;min-height:42px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:6px}.pill[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}.pill .icon{width:16px;height:16px}.timezone{color:var(--muted);font-size:11px;white-space:nowrap}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.section-heading h2{font-size:18px;letter-spacing:-.4px;font-weight:650;margin:0}.section-heading small{font-size:12px;color:var(--muted)}.session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.session-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);position:relative;overflow:hidden}.session-card.featured{border-color:#c5d793;box-shadow:inset 4px 0 #c4e571,var(--shadow)}.card-tags{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:8px;padding:5px 9px;font-size:10px;letter-spacing:.5px;font-weight:700;text-transform:uppercase;background:var(--blue);color:var(--blue-ink)}.badge.lime{background:#edf7d9;color:#49692f}.badge.muted{background:#f0f0eb;color:#6b7067}.badge.amber{background:#fff3d6;color:#7c6125}.badge.red{background:#faeae7;color:#9a3c35}.badge .icon{width:12px;height:12px}.date-band{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(105deg,#f1f7e5,#f8faf2);border:1px solid #e0e9d2;border-radius:16px;padding:13px 15px;margin-bottom:17px}.date-band small{display:block;color:#72806c;font-size:9px;font-weight:650;letter-spacing:.9px;text-transform:uppercase;margin-bottom:3px}.date-band strong{display:block;font-size:14px;font-weight:650}.date-band .time{text-align:right;padding-left:15px;border-left:1px solid #d8e3c9}.date-band .time strong{font-size:17px;white-space:nowrap;letter-spacing:-.5px}.session-card h3{font-size:21px;line-height:1.2;letter-spacing:-.7px;font-weight:600;margin:0 0 7px}.card-description{font-size:12px;color:var(--muted);margin:0 0 15px;min-height:36px}.venue{display:flex;align-items:center;gap:5px;font-size:12px;text-decoration:none;color:var(--blue-ink);margin:0 0 17px}.venue .icon{width:15px;height:15px}.stats{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:0 0 18px}.stat{padding:0 12px;border-left:1px solid var(--line);min-width:0}.stat:first-child{padding-left:0;border:0}.stat:last-child{padding-right:0}.stat small{display:block;text-transform:uppercase;font-size:9px;letter-spacing:.7px;color:var(--muted);margin-bottom:5px}.stat strong{font-size:13px;display:block;line-height:1.3;font-weight:650}.stat strong .unit{font-size:9px;color:var(--muted);font-weight:500}.primary,.secondary,.danger-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:0;border-radius:14px;min-height:48px;padding:12px 18px;font-weight:650;font-size:14px;transition:background 140ms}.primary{background:var(--lime);color:#203517}.primary:hover:not(:disabled){background:#bfe866}.primary .icon{width:19px}.secondary{background:#f1f3ee;border:1px solid var(--line);color:var(--ink)}.secondary:hover:not(:disabled){background:#e6ebdf}.danger-button{background:#faeae7;color:var(--danger)}.text-button{border:0;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px;font-size:12px}.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);max-width:1120px;width:100%;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #dce2d6;display:flex;align-items:center;justify-content:space-around;padding:10px 24px calc(10px + env(safe-area-inset-bottom));min-height:var(--bottom);box-shadow:0 -8px 24px #25363005}.bottom-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:550;color:#74817b;padding:7px 20px;min-width:72px;min-height:58px;border-radius:15px}.bottom-nav .icon{width:21px;height:21px}.bottom-nav button[aria-current=page]{background:#f0f7e1;color:#345324}.bottom-nav button[aria-current=page] .icon{stroke:#608b21}.page-heading{margin-bottom:25px}.page-heading h1{font-size:34px}.page-heading p{color:var(--muted);font-size:14px}.empty{padding:38px 24px;background:white;border:1px dashed #cbd5c6;border-radius:24px;text-align:center;max-width:580px;margin:24px auto}.empty .empty-icon{display:grid;place-items:center;background:#edf3e4;border-radius:50%;height:60px;width:60px;margin:0 auto 18px;color:#739044}.empty h2{font-size:22px;letter-spacing:-.7px;margin:0 0 10px}.empty p{font-size:14px;color:var(--muted);max-width:360px;margin:0 auto 24px}.empty button{max-width:260px;margin:auto}.booking-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.booking-list h3{font-size:20px}.booking-list .date-band{margin-top:16px}.row-between{display:flex;justify-content:space-between;align-items:center;gap:16px}.muted{color:var(--muted)}.small{font-size:12px}.amount{font-weight:650;font-size:20px;letter-spacing:-.5px}.balance-panel{background:var(--navy);color:white;border-radius:26px;padding:30px;margin-bottom:28px;position:relative;overflow:hidden}.balance-panel:after{content:'';position:absolute;right:-65px;top:-100px;width:320px;height:320px;border:1px solid #ffffff17;border-radius:50%;pointer-events:none}.balance-panel small{color:#cededc;font-size:12px}.balance-panel h2{font-size:42px;letter-spacing:-1.5px;margin:8px 0 24px;font-weight:500}.balance-panel h2 span{font-size:17px;color:#c1d0cf;margin-left:6px}.balance-actions{display:flex;gap:10px;max-width:440px}.balance-actions .secondary{background:#ffffff12;border-color:#ffffff35;color:white}.ledger{border-radius:24px;border:1px solid var(--line);background:white;padding:6px 22px}.ledger-row{padding:18px 0;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.ledger-row:last-child{border:0}.ledger-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf4e3;color:#5d7c3a;flex-shrink:0}.ledger-row .details{flex:1}.ledger-row strong{font-size:13px;display:block}.ledger-row small{font-size:11px;color:var(--muted)}.ledger-row .positive{color:#4d702a}.profile-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.panel{border:1px solid var(--line);border-radius:24px;background:white;padding:24px}.panel h2{font-size:18px;margin:0 0 18px;letter-spacing:-.4px}.profile-summary{display:flex;gap:14px;align-items:center;margin-bottom:24px}.profile-summary .avatar{width:54px;height:54px;font-size:21px}.profile-summary h2{margin:0}.profile-summary p{margin:2px 0 0;color:var(--muted);font-size:12px}.field{display:block;margin-bottom:18px}.field>span,.field-label{display:block;font-size:12px;color:var(--muted);font-weight:650;margin-bottom:7px}.field input,.field select{width:100%;border:1px solid #cfd8cd;border-radius:12px;background:#fff;color:var(--ink);padding:13px;min-height:48px;font-size:16px}.field input:focus,.field select:focus{border-color:var(--navy)}.hint{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 20px}.settings-link{display:flex;align-items:center;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:18px 0;gap:12px;font-size:14px;text-decoration:none;text-align:left}.settings-link span{flex:1}.settings-link:last-child{border-bottom:0}.settings-link .icon{color:#6d7c6d}.demo-note{font-size:11px;color:var(--muted);text-align:center;margin-top:26px}.demo-note:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#91a874;margin-right:6px}.loading{display:flex;gap:12px;align-items:center;justify-content:center;padding:80px 0;color:var(--muted);font-size:14px}.loader{width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--navy);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid var(--line);padding:0;border-radius:28px;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 48px);color:var(--ink);background:var(--surface);box-shadow:0 32px 120px #06172735;overflow:auto}dialog::backdrop{background:#12282666;backdrop-filter:blur(3px)}.sheet-top{height:48px;position:sticky;top:0;background:white;z-index:3;border-radius:28px 28px 0 0}.sheet-handle{display:none}.close-sheet{position:absolute;right:12px;top:9px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#f1f3ed;min-width:40px}.icon-button .icon{width:19px;height:19px}#sheet-content{padding:2px 28px 28px}.sheet-heading{font-size:27px;line-height:1.15;letter-spacing:-.8px;font-weight:600;margin:6px 40px 9px 0}.sheet-subtitle{font-size:13px;color:var(--muted);margin:0 0 22px}.sheet-tags{margin-bottom:12px}.sheet-section{margin:22px 0}.sheet-section h3{font-size:15px;font-weight:650;margin:0 0 8px}.guest-stepper{display:flex;justify-content:space-between;align-items:center;background:#f4f6f0;border:1px solid var(--line);border-radius:17px;padding:15px 17px;gap:12px}.guest-stepper strong{font-size:16px}.guest-stepper small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.stepper-controls{display:flex;gap:14px;align-items:center}.stepper-controls output{font-size:21px;font-weight:600;min-width:20px;text-align:center}.stepper-controls button{width:42px;height:42px;border:1px solid #d4ddce;background:white;border-radius:12px;display:grid;place-items:center}.stepper-controls .icon{width:18px;height:18px}.guest-range{width:100%;accent-color:#79a32e;margin:18px 0 0;min-height:28px}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.summary-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:19px 0;margin-top:22px}.summary-total small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.summary-total strong{font-size:24px;letter-spacing:-.7px}.notice{display:flex;gap:8px;padding:12px 14px;border-radius:12px;background:#f3f6ec;color:#5e6e50;font-size:12px;margin:16px 0;line-height:1.5}.notice .icon{width:17px;height:17px;margin-top:1px}.inline-error{background:#fff0ee;border:1px solid #efc4bd;border-radius:12px;padding:12px 14px;color:#963f34;font-size:13px;margin:14px 0}.inline-error:empty{display:none}.button-stack{display:grid;gap:9px}.timer{font-size:12px;background:#f8f2df;color:#78652e;padding:9px 12px;border-radius:10px;display:flex;align-items:center;gap:7px;margin-bottom:18px}.timer .icon{width:16px;height:16px}.payment-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.payment-choice button{min-height:80px;border:1px solid var(--line);border-radius:15px;background:#f7f9f2;padding:14px;font-size:13px;font-weight:600;text-align:left}.payment-choice button .icon{display:block;margin-bottom:9px;color:#658238}.payment-choice button small{display:block;color:var(--muted);font-size:10px;font-weight:400}.qr-image{width:min(100%,260px);max-height:330px;object-fit:contain;display:block;margin:10px auto 20px;border:1px solid var(--line);border-radius:14px}.upload-label{display:flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #adbfa3;border-radius:13px;min-height:54px;padding:12px;background:#f8faf3;color:#536f3e;font-size:13px;font-weight:600;cursor:pointer}.upload-label input{position:absolute;width:1px;height:1px;opacity:0}.upload-label:focus-within{outline:3px solid #38669f;outline-offset:3px}.success-icon{display:grid;place-items:center;background:var(--soft-lime);color:#6e9235;border-radius:50%;width:66px;height:66px;margin:5px auto 19px}.success-icon .icon{width:29px;height:29px}.success{text-align:center;padding-top:6px}.success .sheet-heading{margin-right:0}.success p{font-size:14px;color:var(--muted);line-height:1.6}.success .primary{margin-top:24px}.duration-tabs,.time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.duration-tabs button,.time-grid button{border:1px solid var(--line);background:#fff;border-radius:11px;min-height:45px;font-size:13px}.duration-tabs button[aria-pressed=true],.time-grid button[aria-pressed=true]{background:var(--soft-lime);border-color:#9fbc69;color:#405829;font-weight:650}.toast{position:fixed;bottom:calc(var(--bottom) + 16px);left:50%;transform:translateX(-50%);z-index:50;background:#193647;color:white;border-radius:14px;padding:13px 22px;box-shadow:0 8px 24px #0002;max-width:calc(100% - 32px);font-size:13px}.toast[hidden]{display:none}.info-copy{font-size:14px;line-height:1.8;color:var(--muted)}.info-copy h3{color:var(--ink);font-size:15px}.mobile-only{display:none}
@media(min-width:1200px){.app-shell{margin:24px auto 0;border-radius:30px 30px 0 0;border:1px solid #dce3d7;border-bottom:0;min-height:calc(100dvh - 24px)}.app-header{border-radius:30px 30px 0 0}.bottom-nav{bottom:18px;max-width:620px;border:1px solid #dce2d6;border-radius:24px;min-height:78px;padding:8px 24px;box-shadow:0 8px 30px #25363012}}
@media(max-width:700px){body{background:var(--bg)}.app-header{padding:18px 20px}.brand strong{font-size:17px}.brand small{font-size:10px}.brand img{width:43px;height:43px;border-radius:12px}.header-actions{gap:6px}.avatar{width:34px;height:34px;min-width:34px}.language-button{gap:4px;font-size:11px}.language-button .icon{width:16px}.brand{gap:10px}main{padding:27px 20px calc(var(--bottom) + 32px)}.hero{margin-bottom:25px;gap:12px}.hero h1{font-size:37px;letter-spacing:-1.6px}.hero-copy>p:last-of-type{font-size:12px}.court-art{width:108px;height:126px;border-radius:20px;opacity:.98}.court-art svg{width:200px;right:-52px;top:13px}.court-art .label{font-size:7px;left:12px;letter-spacing:1.2px}.court-art .dot{right:18px;bottom:20px;width:32px;height:32px}.court-art .dot:before{inset:6px;border-width:3px}.eyebrow{font-size:9px;letter-spacing:1.5px}.location-pill{margin-top:14px;font-size:10px;padding:6px 9px}.format-tabs{border-radius:15px;margin-bottom:17px}.format-tabs button{font-size:12px;padding:8px 5px;min-height:42px}.filter-row{margin-bottom:23px}.pill{padding:8px 12px;font-size:11px;min-height:40px}.filter-pills{gap:6px}.filter-row .timezone{display:none}.session-grid,.booking-list,.profile-grid{grid-template-columns:1fr}.section-heading h2{font-size:17px}.section-heading small{font-size:10px}.session-card{padding:20px;border-radius:24px}.session-card h3{font-size:22px}.card-description{min-height:0;font-size:13px;margin-bottom:16px}.date-band strong{font-size:14px}.date-band .time strong{font-size:18px}.stat strong{font-size:14px}.badge{font-size:10px}.primary,.secondary{min-height:49px;font-size:14px}.bottom-nav{padding:8px 10px calc(8px + env(safe-area-inset-bottom));min-height:80px}.bottom-nav button{font-size:10px;padding:7px 10px;min-width:68px}.bottom-nav .icon{width:21px}.profile-grid .panel{padding:22px}.balance-panel{padding:25px}.balance-panel h2{font-size:37px}.page-heading h1{font-size:32px}.page-heading p{font-size:13px}dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:27px 27px 0 0;border-bottom:0;max-height:calc(100dvh - 30px)}.sheet-top{height:42px}.sheet-handle{display:block;width:34px;height:4px;background:#dbe1d6;border-radius:5px;position:absolute;top:12px;left:calc(50% - 17px)}.close-sheet{top:8px;right:10px}#sheet-content{padding:7px 24px calc(25px + env(safe-area-inset-bottom))}.sheet-heading{font-size:26px}.icon-button{width:36px;height:36px}.stepper-controls{gap:12px}.stepper-controls button{width:44px;height:44px}.guest-stepper{padding:14px}.guest-stepper strong{font-size:15px}.guest-stepper small{font-size:10px}.mobile-only{display:initial}}
@media(max-width:370px){main{padding-left:16px;padding-right:16px}.app-header{padding-left:16px;padding-right:16px}.hero h1{font-size:32px}.court-art{width:87px;height:116px}.brand strong{font-size:15px}.session-card{padding:17px}.date-band{padding:12px}.date-band strong{font-size:12px}.date-band .time strong{font-size:16px}.stat{padding:0 9px}.stat strong{font-size:12px}.format-tabs button{font-size:11px}.guest-stepper{gap:8px}.stepper-controls{gap:8px}.stepper-controls button{width:40px;height:44px}}
/* On phones the schedule has priority over decorative artwork. */
@media(max-width:700px){.court-art{display:none}.hero h1{font-size:36px}.hero-copy{width:100%}.hero{margin-bottom:24px}.eyebrow{font-size:10px}.format-tabs button,.pill{min-height:44px}.timezone{font-size:11px}.filter-row{flex-wrap:wrap;gap:9px}.filter-row .timezone{display:block}.section-heading small{font-size:11px}.date-band small,.stat small{font-size:10px;letter-spacing:.4px}.bottom-nav button{font-size:11px}.card-description,.hint{font-size:13px}.icon-button{min-width:44px;min-height:44px}}
@media(max-width:370px){.hero h1{font-size:32px}.brand strong{font-size:14px}.header-actions{gap:2px}.date-band{gap:8px}.date-band .time{padding-left:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Semantic surfaces keep every screen and interaction consistent in both themes. */
.community-pill{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;width:fit-content;max-width:100%;min-height:44px;margin-top:16px;padding:10px 14px;border:1px solid var(--green-border);border-radius:20px;background:var(--soft-lime);font-size:12px;line-height:1.5;text-align:left;cursor:pointer}
.community-active,.community-total{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.community-active{color:var(--green-ink)}
.community-dot{position:relative;width:5px;height:5px;flex:none;border-radius:50%;background:#36a86b;margin:0 5px 0 2px}.community-dot:after{content:"";position:absolute;inset:-3px;border:1px solid #36a86b;border-radius:50%;animation:community-pulse 2.4s ease-out infinite}@keyframes community-pulse{0%{transform:scale(.55);opacity:.65}80%,100%{transform:scale(1.5);opacity:0}}@media(prefers-reduced-motion:reduce){.community-dot:after{animation:none;opacity:.3}}
.community-pill strong{font-weight:650;font-variant-numeric:tabular-nums}
.community-total,.community-period{color:var(--green-ink);font-size:inherit;font-weight:inherit}
.community-period{margin-left:2px}
:root{
  --outside:#e9ece5;--subtle:#f0f3e9;--tabs:#e9ece3;--active-bg:#123854;
  --active-ink:#fff;--accent-ink:#203517;--green-ink:#486234;--green-border:#ceddaf;
  --notice-bg:#f1f6e8;--notice-ink:#536645;--amber-bg:#fff3d6;--amber-ink:#786025;
  --red-bg:#fff0ee;--red-ink:#963f34;--nav-bg:#fffffff5;--avatar-bg:#e6efdc;
  --focus:#38669f;--badge-bg:#eaf1fc;--badge-ink:#375f92;--balance-bg:#123854;
}
:root[data-theme=dark]{
  color-scheme:dark;--bg:#101c25;--outside:#09121a;--surface:#192933;
  --ink:#eef4f3;--muted:#acbcbf;--line:#3b515c;--navy:#bad5f3;
  --lime:#ccf572;--soft-lime:#283a2c;--subtle:#21333c;--tabs:#1c2d37;
  --active-bg:#ccf572;--active-ink:#1d301d;--accent-ink:#1d301d;
  --green-ink:#c9e8a0;--green-border:#4b6343;--notice-bg:#26382f;--notice-ink:#c1d5b6;
  --amber-bg:#403721;--amber-ink:#f1d890;--red-bg:#402a2b;--red-ink:#ffb9ad;
  --nav-bg:#14242ff5;--avatar-bg:#314339;--focus:#bbdafa;
  --badge-bg:#273d51;--badge-ink:#bedcff;--balance-bg:#18374c;--shadow:0 8px 30px #00000013;
}
body{background:var(--outside)}
.app-shell,.app-header,.bottom-nav,.format-tabs,.session-card,.panel,.ledger,.empty,dialog{border-color:var(--line)}
.session-card,.panel,.ledger,.empty,.sheet-top,.field input,.field select,.duration-tabs button,.time-grid button{background:var(--surface)}
.format-tabs{background:var(--tabs)}
.format-tabs button{color:var(--muted)}
.format-tabs button[aria-selected=true],.format-tabs button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
.session-card.featured{border-color:var(--green-border);box-shadow:inset 4px 0 var(--lime),var(--shadow)}
.date-band{background:var(--soft-lime);border-color:var(--green-border)}
.date-band small{color:var(--muted)}
.date-band .time{border-color:var(--green-border)}
.stat strong .unit{color:var(--muted)}
.badge{background:var(--badge-bg);color:var(--badge-ink)}
.badge.lime,.location-pill,.ledger-icon{background:var(--soft-lime);color:var(--green-ink)}
.location-pill{border-color:var(--green-border)}
.badge.muted{background:var(--subtle);color:var(--muted)}
.badge.amber,.timer{background:var(--amber-bg);color:var(--amber-ink)}
.badge.red,.danger-button,.inline-error{background:var(--red-bg);color:var(--red-ink)}
.inline-error{border-color:var(--red-ink)}
.venue{color:var(--badge-ink)}
.primary{background:var(--lime);color:var(--accent-ink)}
.secondary,.icon-button,.guest-stepper,.payment-choice button{background:var(--subtle);border-color:var(--line);color:var(--ink)}
.secondary:hover:not(:disabled){background:var(--tabs)}
.stepper-controls button{background:var(--surface);border-color:var(--line);color:var(--ink);min-width:44px;min-height:44px}
.guest-range{accent-color:#709730}
[data-theme=dark] .guest-range{accent-color:var(--lime)}
.notice{background:var(--notice-bg);color:var(--notice-ink)}
.upload-label,.photo-upload{background:var(--soft-lime);border-color:var(--green-border);color:var(--green-ink)}
.payment-choice button .icon,.success-icon,.ledger-row .positive{color:var(--green-ink)}
.bottom-nav{background:var(--nav-bg)}
.bottom-nav button{color:var(--muted)}
.bottom-nav button[aria-current=page]{background:var(--soft-lime);color:var(--green-ink)}
.bottom-nav button[aria-current=page] .icon{stroke:var(--green-ink)}
.settings-link .icon{color:var(--muted)}
.balance-panel{background:var(--balance-bg)}
.court-art{background:var(--balance-bg)}
[data-theme=dark] .format-tabs button[aria-pressed=true],[data-theme=dark] .format-tabs button[aria-selected=true]{background:var(--soft-lime);color:var(--green-ink);box-shadow:inset 0 0 0 1px var(--green-border)}
.duration-tabs button[aria-pressed=true],.time-grid button[aria-pressed=true]{background:var(--soft-lime);border-color:var(--green-border);color:var(--green-ink)}
.field input,.field select{border-color:var(--line)}
.field input:focus,.field select:focus{border-color:var(--focus)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.photo-upload:focus-within,.upload-label:focus-within{outline-color:var(--focus)}
[data-theme=dark] dialog::backdrop{background:#020810bd}
.sheet-handle{background:var(--line)}
.format-heading{display:flex;align-items:center;gap:8px;margin:22px 0 0}
.format-heading h2{font-size:23px;font-weight:600;letter-spacing:-.6px;line-height:1.25;margin:0}
.format-info{flex:0 0 44px;width:44px;height:44px;color:var(--muted);background:transparent}
.format-info:hover{background:var(--subtle);color:var(--ink)}
.schedule-note{font-size:12px;color:var(--muted);margin:3px 0 24px}
.date-section{margin-bottom:26px}
.date-heading{font-size:15px;font-weight:600;color:var(--muted);margin:0 0 12px;text-transform:capitalize;scroll-margin-top:24px}
.date-heading:focus-visible{outline:2px solid var(--focus);outline-offset:5px;border-radius:4px}
.more-dates{max-width:360px;margin:10px auto 0;border-style:dashed}
.more-caption{font-size:12px;text-align:center;color:var(--muted);margin:10px 0 0}
.private-panel{max-width:700px}
.private-panel h3{font-size:24px;line-height:1.25;margin:18px 0 10px;letter-spacing:-.6px}
.theme-toggle{min-width:44px;width:44px;height:44px;background:transparent;color:var(--muted)}
.theme-toggle:hover{background:var(--subtle);color:var(--ink)}
.theme-switch{flex:0 0 40px!important;width:40px;height:24px;border-radius:20px;background:var(--line);position:relative}
.theme-switch:after{content:'';width:18px;height:18px;position:absolute;left:3px;top:3px;border-radius:50%;background:var(--surface);transition:transform .15s}
.theme-switch[data-on=true]{background:var(--lime)}
.theme-switch[data-on=true]:after{background:#203517;transform:translateX(16px)}
.avatar{position:relative;display:grid;place-items:center;aspect-ratio:1;flex-shrink:0;overflow:hidden;padding:0;line-height:1;background:var(--avatar-bg);color:var(--ink);border:1px solid var(--green-border);box-shadow:none;width:44px;height:44px;min-width:44px}
.avatar-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar-image[hidden]{display:none}
.profile-summary{align-items:center;gap:16px;margin-bottom:16px}
.profile-summary .avatar{width:76px;height:76px;min-width:76px;font-size:30px}
.profile-identity{min-width:0}
.profile-identity h2{overflow-wrap:anywhere;font-size:22px;line-height:1.25}
.photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.photo-upload{position:relative;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--green-border);border-radius:12px;min-height:44px;padding:8px 14px;font-size:13px;cursor:pointer}
.photo-upload input{position:absolute;width:1px;height:1px;opacity:0}
.photo-upload .icon{width:18px;height:18px}
.photo-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 25px}
.avatar-preview{display:block;width:180px;height:180px;object-fit:cover;border-radius:50%;margin:26px auto;border:3px solid var(--green-border)}
.coming-soon{background:var(--soft-lime);border:1px solid var(--green-border);border-radius:18px;padding:18px;margin:4px 0 8px}
.coming-soon h3{font-size:18px;line-height:1.3;margin:12px 0 5px}
.coming-soon>strong{color:var(--green-ink);font-size:14px}
.coming-soon p{font-size:13px;color:var(--muted);line-height:1.6;margin:9px 0 0}
@media(max-width:700px){
  body{background:var(--bg)}
  .header-actions{gap:0}.brand{gap:8px;min-width:0}.brand strong{font-size:15px}
  .brand small{font-size:9px}.brand img{width:36px;height:36px}
  .language-button{min-width:44px;justify-content:center;padding:6px}
  .avatar{width:44px;height:44px;min-width:44px}
  .format-heading h2{font-size:21px}.date-heading{font-size:14px}
}
@media(max-width:370px){
  .app-header{padding:14px 12px;gap:4px}.brand strong{font-size:13px;letter-spacing:-.4px;max-width:88px}.brand small{display:none}.brand img{width:32px;height:32px}
  .header-actions{gap:0}.language-button .icon{display:none}
  .format-heading h2{font-size:20px}.profile-summary .avatar{width:64px;height:64px;min-width:64px}
  .profile-identity h2{font-size:19px}
}

.court-art .atomic-ball{position:absolute;width:112px;height:112px;right:20px;bottom:12px;left:auto;top:auto;transform:rotate(-12deg)}
.bank-details{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin-bottom:16px}
.slot-alternatives{grid-column:1/-1;display:grid;gap:10px}.slot-alternatives strong{font-size:14px}
#open-bank[hidden]{display:none}#open-bank{text-decoration:none;text-align:center;margin-bottom:12px}

@media(max-width:700px){.court-art .atomic-ball{width:74px;height:74px;right:4px;bottom:6px;top:auto}}

/* Equal visible circles and equal gaps, not only equal hit-area centres. */
.app-header .header-actions{display:grid;grid-template-columns:repeat(3,44px);align-items:center;justify-items:center;gap:8px;flex:0 0 auto}
.header-actions .theme-toggle,.header-actions .language-button,.header-actions #avatar{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}
.header-actions .theme-toggle,.header-actions .language-button{border:1px solid var(--line);border-radius:50%;background:var(--subtle)}
.header-actions #avatar{box-shadow:none}
.header-actions .language-button{gap:0;font-size:12px}
.header-actions .language-button .icon{display:none}
.header-actions .theme-toggle .icon{width:22px;height:22px}
.app-header .brand{min-width:0;flex:0 1 auto}
.app-header .brand>span{min-width:0}
.app-header .brand strong{line-height:1.2}
.format-heading{gap:4px;align-items:center}
.format-heading .format-info{flex:0 0 32px;width:32px;min-width:32px;height:32px;padding:0;display:grid;place-items:center;position:relative}
.format-heading .format-info:before{content:'';position:absolute;inset:-6px 0}
.format-heading .format-info .icon{width:18px;height:18px}
.card-participants{margin:0 0 20px}
.roster-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.roster-heading h3,.roster-heading h4{font-size:14px;font-weight:650;line-height:1.4;margin:0;letter-spacing:0}
.roster-heading>span{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.participant-list{padding:0;margin:0;list-style:none;display:grid;gap:12px}
.participant-row{display:flex;align-items:center;gap:10px;min-width:0}
.participant-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;font-size:13px;font-weight:650;text-transform:uppercase;background:var(--soft-lime);color:var(--green-ink);border:1px solid var(--green-border)}
.participant-detail{min-width:0;flex:1}
.participant-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.participant-name strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.participant-guests{font-size:11px;white-space:nowrap;color:var(--muted)}
.participant-detail small{display:block;font-size:11px;line-height:1.5;color:var(--muted)}
.participant-detail .participant-pending{color:var(--amber-ink)}
.roster-empty{font-size:12px;line-height:1.5;color:var(--muted);margin:0;padding:4px 0}
.participants-button{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 12px;text-align:left;font-size:13px}
.participants-button>span{flex:1}.participants-button>strong{font-size:12px;font-weight:600;color:var(--muted)}
.participants-button .icon{width:18px;height:18px;color:var(--muted)}
.participants-button:hover{background:var(--subtle)}
@media(max-width:700px){
  .app-header{padding:16px;gap:12px}
  .app-header .brand{gap:8px}
  .app-header .brand strong{font-size:15px;max-width:none}
  .app-header .brand small{font-size:9px}
  .app-header .brand img{width:36px;height:36px;flex:0 0 36px}
  .header-actions .language-button .icon{display:none}
}
@media(max-width:390px){
  .app-header{padding:14px 12px;gap:10px}
  .app-header .brand strong{font-size:13px;letter-spacing:-.3px}
  .app-header .brand small{display:none}
  .app-header .brand img{width:32px;height:32px;flex-basis:32px}
}

.roster-waitlist{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}
.roster-waitlist summary{cursor:pointer;font-size:13px;font-weight:600;min-height:44px;align-content:center}
.roster-waitlist summary span{color:var(--muted);font-weight:400;margin-left:6px}
.roster-waitlist .participant-avatar{background:var(--subtle);border-color:var(--line);color:var(--muted)}
.participants-button>span>small{display:block;color:var(--muted);font-weight:400;font-size:11px;margin-top:2px}

/* Community features extend the established Atomic cards, tokens and line icons. */
.app-header .header-actions{grid-template-columns:repeat(4,44px);gap:8px}
.header-actions .notification-button{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:var(--subtle);color:var(--ink);display:grid;place-items:center;padding:0;margin:0}
.notification-dot{position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:var(--green-ink);box-shadow:0 0 0 2px var(--bg)}
.notification-dot[hidden]{display:none}
.community-profile{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.community-profile>.player-card{grid-column:1/-1}
.community-profile .panel{margin:0;min-width:0}
.community-profile h1{font-size:28px;line-height:1.2;margin:0 0 8px;letter-spacing:-.8px;overflow-wrap:anywhere}
.community-profile h2{font-size:20px;line-height:1.3;margin:0;letter-spacing:-.5px}
.profile-identity small{font-size:12px;color:var(--muted)}
.profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px}
.profile-actions .secondary{width:auto;padding:12px 20px}
.player-about{font-size:14px;line-height:1.6;margin:16px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.player-title{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--green-ink);margin:12px 0 0}
.community-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.community-heading>small{font-size:11px;white-space:nowrap;color:var(--muted)}
.community-heading>.icon{color:var(--muted)}
.coach-badge{display:inline-flex;align-items:center;gap:6px;background:var(--navy);color:#f3f8ed;border:1px solid var(--line);border-radius:30px;font-size:12px;font-weight:650;padding:5px 10px;margin-bottom:6px}
.coach-badge .icon{width:14px;height:14px;color:var(--lime)}
.coach-tab{border-top:1px solid var(--line);margin-top:14px;padding-top:8px}
.coach-tab summary{cursor:pointer;min-height:44px;font-size:13px;font-weight:600;align-content:center}
.coach-tab summary>.icon{width:17px;height:17px;vertical-align:middle;margin:0 8px 0 3px}
.coach-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:4px}
.coach-row .coach-badge{margin:0}
.player-name{font-weight:600;font-size:13px;line-height:1.4;min-height:44px;text-align:left;background:none;border:0;color:var(--ink);padding:0;overflow-wrap:anywhere;max-width:100%}
.player-name:hover{text-decoration:underline;text-underline-offset:3px}
.participant-name{gap:0 8px}
.group-guarantee{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;color:var(--green-ink);background:var(--soft-lime);border-radius:12px;padding:12px;margin:0 0 20px}
.group-guarantee .icon{width:16px;height:16px;margin-top:1px}
.session-conditions{display:grid;gap:10px;list-style:none}
.session-conditions li{display:flex;align-items:flex-start;gap:8px}
.session-conditions .icon{flex:none}
.telegram-profile-link{margin:20px 0}
.feedback-entry{width:100%;margin-top:12px;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 16px;border-radius:16px}
.feedback-entry>.icon{width:20px;height:20px;flex:none}
.feedback-entry>span:first-of-type{flex:1;min-width:0}
.feedback-entry strong,.feedback-entry small{display:block}
.feedback-entry strong{font-size:14px;line-height:1.4}
.feedback-entry small{font-size:12px;line-height:1.5;font-weight:400;color:var(--muted)}
.feedback-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;background:var(--green-ink);color:var(--surface);border-radius:50%;font-size:12px;font-weight:700}
.feedback-list{display:grid;gap:16px}.feedback-card{margin:0}.feedback-card .row-between{gap:12px;align-items:flex-start}
.feedback-field{margin:18px 0}.feedback-field small,.feedback-goal>small{color:var(--muted);font-size:12px}.feedback-field p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;line-height:1.55}
.feedback-unread{border-color:var(--green-ink)}.feedback-empty>.icon{width:28px;height:28px;color:var(--green-ink)}
.feedback-templates{margin-bottom:24px}.feedback-history summary{overflow-wrap:anywhere}.feedback-entry:hover{border-color:var(--green-ink)}
.kudos-total{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.kudos-total>strong{font-size:36px;font-weight:600;line-height:1;letter-spacing:-1px}
.kudos-total>span{font-size:12px;max-width:180px;color:var(--muted)}
.kudos-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.kudos-chips>span{border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:var(--subtle);font-size:12px;line-height:1.5}
.kudos-chips b{margin-left:4px;color:var(--green-ink)}
.achievement-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.achievement-mini{border:1px solid var(--green-border);border-radius:16px;background:var(--soft-lime);color:var(--ink);padding:16px 8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-height:100px;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.achievement-mini>.icon{width:28px;height:28px;color:var(--green-ink)}
.nearest-goal{background:var(--subtle);border-radius:14px;padding:14px;margin:16px 0 0}
.nearest-goal small,.nearest-goal strong{display:block}.nearest-goal small{font-size:11px;color:var(--muted);margin-bottom:4px}.nearest-goal strong{font-size:14px;font-weight:600}
.award-progress{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:12px;color:var(--muted)}
.award-progress progress{appearance:none;border:none;flex:1;width:100%;height:6px;border-radius:6px;overflow:hidden;background:var(--line)}
.award-progress progress::-webkit-progress-bar{background:var(--line);border-radius:6px}.award-progress progress::-webkit-progress-value{background:var(--green-ink);border-radius:6px}.award-progress progress::-moz-progress-bar{background:var(--green-ink)}
.award-progress span{white-space:nowrap}
.award-list,.kudos-list{display:grid;gap:12px;margin-top:16px}
.award-card{display:flex;gap:12px;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--subtle)}
.award-card.earned{border-color:var(--green-border);background:var(--soft-lime)}
.award-card>.icon{color:var(--green-ink);margin-top:2px}.award-card>div{min-width:0;flex:1}
.award-card h3,.kudos-card h3{font-size:15px;margin:0 0 6px;font-weight:600;line-height:1.4}
.award-card p,.kudos-card p{font-size:13px;line-height:1.5;margin:10px 0}.award-card small{font-size:11px;color:var(--muted)}
.award-actions{display:flex;flex-wrap:wrap;gap:0 12px;margin-top:8px}.award-actions .text-button{font-size:12px;min-height:44px;padding:6px 0;text-align:left}
.kudos-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--subtle)}
.kudos-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.kudos-card strong{font-size:20px;color:var(--green-ink)}
.kudos-choices{display:grid;gap:8px;margin:16px 0}
.kudos-choices>label{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;cursor:pointer}
.kudos-choices>label:has(input:checked){background:var(--soft-lime);border-color:var(--green-border)}
.kudos-choices input{accent-color:var(--green-ink);flex-shrink:0;width:20px;height:20px;margin:2px 0 0}.kudos-choices strong,.kudos-choices small{display:block}.kudos-choices strong{font-size:14px}.kudos-choices small{font-size:12px;color:var(--muted);line-height:1.5;margin-top:4px}
.kudos-sent{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;border-top:1px solid var(--line);padding:10px 0}
.visit-stats>strong{font-size:32px;line-height:1.2;font-weight:600}.visit-stats strong small{font-size:13px;font-weight:400;color:var(--muted)}
.visit-stats>div{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:16px}.visit-stats>div>span{font-size:12px;color:var(--muted)}.visit-stats b{color:var(--ink);margin-left:4px}
.personal-links h2{margin-bottom:14px}.community-profile .text-button{min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:13px;margin-right:10px;padding:10px 0}
.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5;cursor:pointer}
.toggle-row input{width:24px;height:24px;accent-color:var(--green-ink);flex-shrink:0}.toggle-row:has(input:disabled){color:var(--muted)}
#notifications-form>.primary,#privacy-form>.primary{margin-top:22px}
.field textarea{font:inherit;font-size:15px;width:100%;resize:vertical;min-height:94px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px}
.account-id{display:block;font-size:13px;overflow-wrap:anywhere;padding:12px;background:var(--subtle);border-radius:10px}
.notification-tools{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.notification-tools .text-button{min-height:44px;font-size:13px}
.notification-list{display:grid;margin-top:12px}
.notification-item{display:flex;gap:12px;align-items:flex-start;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;width:100%;padding:20px 12px;color:var(--ink)}
.notification-item.unread{background:var(--soft-lime);border-radius:12px;border-top-color:transparent;margin:4px 0}
.notification-item>span{flex:1;min-width:0}.notification-item>span>strong,.notification-item>span>span,.notification-item>span>small{display:block}.notification-item strong{font-size:14px;font-weight:600}.notification-item>span>span{font-size:12px;color:var(--muted);white-space:pre-line;margin-top:6px;overflow-wrap:anywhere}.notification-item small{font-size:11px;color:var(--muted);margin-top:8px}
.notification-item>.icon{width:20px;height:20px;color:var(--muted);margin-top:2px}.notification-item>.icon:last-child{width:16px}
@media(max-width:700px){.community-profile{grid-template-columns:1fr;gap:16px}.community-profile h1{font-size:26px}.community-profile h2{font-size:19px}.community-profile>.player-card{grid-column:auto}.community-heading{margin-bottom:16px}}
@media(max-width:420px){.app-header .brand>span{display:none}.app-header .brand img{width:40px;height:40px;flex-basis:40px}.app-header{gap:12px}.community-profile .panel{padding:22px}.profile-actions{display:block}.profile-actions .secondary{width:100%}}
.visit-history-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:14px 0;border-top:1px solid var(--line)}
.visit-history-row strong{font-size:13px;font-weight:600}.visit-history-row small{font-size:12px;color:var(--muted)}

/* Community layout: isolated from booking and payment screens. */
.back-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;margin:0 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:14px;font-weight:600;line-height:1.4}
.back-link .icon{width:20px;height:20px;flex:none}.back-link:hover{background:var(--subtle)}
.community-profile{gap:24px;align-items:stretch}.community-profile>.panel{display:flex;flex-direction:column;padding:24px}
.community-profile>.player-card{display:block}.community-heading{align-items:center;gap:12px;margin-bottom:20px}.community-heading h2{min-width:0;text-wrap:balance}.community-heading>.icon,.community-heading>.badge{flex-shrink:0}.community-heading>small{white-space:normal;text-align:right}
.community-profile .profile-summary{align-items:center;gap:20px;margin:0}.community-profile .profile-identity{min-width:0}.community-profile .profile-identity h1{margin:0 0 10px;line-height:1.2}.community-profile .profile-identity p{margin:8px 0 4px;font-size:14px;line-height:1.5}.community-profile .profile-identity small{display:block;line-height:1.5}
.coach-badge{background:var(--balance-bg);color:#f3f8ed;line-height:1.4;margin-bottom:0;padding:6px 10px}.coach-badge .icon{color:#ccf572;flex:none}
.player-about{margin:20px 0 0}.shared-visits{margin:16px 0 0;font-size:13px;line-height:1.5}.profile-actions{gap:12px;margin:20px 0 0}.profile-actions .secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.5}.profile-actions .secondary>.icon{flex:none;width:20px;height:20px}
.community-profile .text-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;margin:0;padding:10px 0;text-align:left;font-size:13px;line-height:1.5;text-decoration:none}.community-profile .text-button:hover{text-decoration:underline;text-underline-offset:4px}.community-profile .text-button>.icon{width:18px;height:18px;flex:none}
.community-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}.kudos-panel>.community-actions,.achievements-panel>.community-actions{margin-top:auto}.kudos-panel>.kudos-chips,.kudos-panel>.community-empty,.achievements-panel>.achievement-showcase,.achievements-panel>.community-empty,.achievements-panel>.nearest-goal{margin-bottom:20px}
.kudos-summary{display:flex;align-items:center;gap:16px;margin-bottom:20px}.kudos-total{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:88px;min-height:84px;margin:0;padding:12px 16px;border:1px solid var(--green-border);border-radius:16px;background:var(--soft-lime)}.kudos-total>strong{font-size:32px;font-weight:650;line-height:1;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.kudos-total>span{font-size:12px;line-height:1.4;color:var(--green-ink)}.kudos-summary>p{font-size:14px;line-height:1.5;color:var(--muted);margin:0;max-width:220px}
.kudos-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}.kudos-chips>.kudos-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:8px 10px;border-radius:12px;line-height:1.4}.kudos-chip-name{font-size:13px;overflow-wrap:anywhere;min-width:0}.kudos-chip>b{display:grid;place-items:center;min-width:24px;min-height:24px;margin:0;border-radius:8px;background:var(--surface);font-size:12px;line-height:1;font-variant-numeric:tabular-nums;flex:none}
.kudos-emoji{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:24px;line-height:1}.kudos-chip .kudos-emoji{flex-basis:24px;width:24px;height:24px;font-size:20px}
.kudos-card{padding:16px}.kudos-card>.kudos-card-heading{display:flex;align-items:center;gap:12px}.kudos-card-heading h3{flex:1;min-width:0;margin:0;font-size:15px;line-height:1.4;overflow-wrap:anywhere}.kudos-card-heading .kudos-count{display:grid;place-items:center;flex:none;min-width:36px;min-height:36px;padding:4px 8px;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:16px;line-height:1;font-variant-numeric:tabular-nums}.kudos-card p{margin:12px 0 0}.kudos-choices>label{align-items:center;gap:12px}.kudos-choices input{margin:0}.kudos-choices>label>span:last-child{flex:1;min-width:0}.kudos-choices .kudos-emoji{align-self:flex-start;margin-top:2px}
.kudos-event-link>span{min-width:0}.kudos-event-link small{display:block;font-size:12px;line-height:1.5;margin-top:4px;color:var(--muted)}.kudos-event-link>strong{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}.kudos-sent{flex-wrap:wrap;gap:8px 16px;line-height:1.5}
.kudos-sent>span:not(.kudos-emoji){flex:1;min-width:100px}.kudos-success{display:flex;align-items:center;gap:12px;margin:20px 0;padding:16px;background:var(--soft-lime);border:1px solid var(--green-border);border-radius:16px}.kudos-success p{margin:0;line-height:1.5;overflow-wrap:anywhere}.kudos-success~.text-button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;margin:8px 0 0}
.achievement-showcase{gap:12px}.achievement-mini{padding:16px 8px;min-height:144px;justify-content:center;font-size:12px;line-height:1.5;overflow-wrap:normal}.achievement-mini>span:last-child{text-wrap:balance}.achievement-art{display:block;flex:none;width:80px;height:80px}.achievement-art img{display:block;width:100%;height:100%;object-fit:contain}.achievement-mini .achievement-art{width:72px;height:72px}.award-card>.achievement-art{width:72px;height:72px}.award-card>div{min-width:0}.award-card{align-items:flex-start;gap:16px;padding:20px}.award-card h3{font-size:16px;margin:0 0 6px;line-height:1.4;text-wrap:balance}.award-card p{margin:10px 0 0}.award-card small{display:block;font-size:12px;line-height:1.5}.award-card .award-progress+small{margin-top:12px}.award-actions{gap:8px 16px;margin-top:16px;padding-top:8px;border-top:1px solid var(--line)}.award-actions .text-button{margin:0;line-height:1.5}.award-card.locked:not(:has(.is-secret)) .achievement-art{filter:grayscale(1) brightness(.48);opacity:.8}.award-locked-label{display:inline-flex;align-items:center;gap:5px;margin:2px 0 8px;padding:3px 7px;border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:11px;font-weight:600}.award-locked-label .icon{width:12px;height:12px}
.community-empty{margin:0;font-size:14px;line-height:1.6}.tracking-note{margin:16px 0 0;font-size:12px;line-height:1.5}.nearest-goal{margin:20px 0 0}.personal-links .settings-link{gap:12px;min-height:52px;line-height:1.5}.personal-links .settings-link>span{min-width:0}.personal-links .settings-link>.icon{flex:none;width:20px;height:20px}
.award-detail .award-card{flex-direction:column;align-items:center;gap:20px;padding:24px;text-align:center}.award-detail .award-card>.achievement-art{width:160px;height:160px}.award-detail .award-card>div{width:100%}.award-detail .award-card h3{font-size:21px;line-height:1.3}.visit-stats>strong{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.visit-stats>div{gap:8px}.visit-stats>div>span{display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--subtle)}.visit-stats b{margin:0}
.notification-list{gap:8px}.notification-item,.notification-item.unread{margin:0;border:1px solid var(--line);border-radius:12px;padding:16px}.notification-item.unread{border-color:var(--green-border)}.notification-item>span>strong{line-height:1.5;overflow-wrap:anywhere}.notification-tools{gap:8px 20px}.notification-tools .text-button{margin:0;line-height:1.5;text-align:left}.toggle-row{gap:16px;padding:16px 0;line-height:1.5}.toggle-row>span{min-width:0}.toggle-row input{margin:0}.field textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
@media(max-width:700px){.community-profile{gap:16px}.community-profile>.panel{padding:24px}.community-heading{margin-bottom:16px}.community-profile .profile-summary{gap:16px}}
@media(max-width:480px){.achievement-showcase{grid-template-columns:1fr;gap:8px}.achievement-mini{flex-direction:row;justify-content:flex-start;text-align:left;gap:16px;padding:12px 16px;min-height:88px;font-size:14px}.achievement-mini .achievement-art{width:60px;height:60px}.achievement-mini>span:last-child{text-wrap:initial}.award-card{padding:16px;gap:12px}.award-card>.achievement-art{width:56px;height:56px}.award-actions{flex-direction:column;align-items:flex-start;gap:4px}.profile-actions{flex-direction:column;align-items:stretch}.profile-actions .text-button{justify-content:center}.community-profile .profile-avatar{width:64px;height:64px;min-width:64px;flex-basis:64px}.community-profile .profile-identity h1{font-size:23px}.kudos-choices>label{gap:8px;padding:12px}.kudos-choices .kudos-emoji{width:28px;height:28px;flex-basis:28px;font-size:22px}}
@media(max-width:360px){.community-profile>.panel{padding:20px}.community-profile .profile-summary{align-items:flex-start;gap:12px}.community-profile .profile-avatar{width:52px;height:52px;min-width:52px;flex-basis:52px}.community-profile .profile-identity h1{font-size:21px}.kudos-summary{gap:12px}.community-heading h2{font-size:18px}.kudos-summary>p{font-size:13px}}

/* Shared roster disclosure: the same geometry in cards and dialogs. */
.roster-disclosure{border:0;border-top:1px solid var(--line);margin:0;padding:0}
.roster-disclosure:first-child{border-top:0}
.roster-disclosure>summary{list-style:none;display:grid;grid-template-columns:22px minmax(0,1fr) auto 20px;align-items:center;gap:12px;padding:16px 0;min-height:58px;font-size:14px;font-weight:650;line-height:1.4;cursor:pointer}
.roster-disclosure>summary::-webkit-details-marker{display:none}
.roster-disclosure>summary>.icon,.roster-disclosure>summary>.roster-chevron>.icon{width:20px;height:20px;margin:0;color:var(--ink)}
.roster-disclosure>summary .roster-label{color:var(--ink);margin:0;font-weight:650}
.roster-disclosure>summary .roster-count{font-size:12px;font-weight:500;color:var(--muted);margin:0;font-variant-numeric:tabular-nums}
.roster-chevron{display:flex;transform:rotate(90deg);transition:transform 180ms ease}
.roster-disclosure[open]>summary .roster-chevron{transform:rotate(-90deg)}
.roster-content{padding:0 0 18px}.roster-content .hint{margin:8px 0 0}.roster-content .coach-row{margin:0;padding:4px 0}
.roster-disclosure>summary:focus-visible{outline:2px solid var(--blue-ink);outline-offset:2px;border-radius:8px}
.private-panel>.roster-disclosure{margin-bottom:18px}.card-participants>.text-button{display:flex;align-items:center;gap:8px}
.group-level-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px;max-width:520px}
.group-level-tabs button{min-height:46px;border:1px solid var(--line);border-radius:12px;padding:10px 14px;color:var(--ink);background:var(--subtle);font-size:14px;font-weight:600}
.group-level-tabs button[aria-pressed=true]{border-color:var(--green-border);background:var(--soft-lime);color:var(--green-ink)}
.achievement-showcase{grid-template-columns:repeat(var(--award-columns,3),minmax(0,1fr));align-items:stretch}
.achievement-showcase{gap:6px;margin-left:-8px;margin-right:-8px}
.achievement-mini{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:64px 2.8em;justify-content:stretch;justify-items:center;align-content:start;min-width:0;text-align:center;padding:14px 4px;gap:10px;font-size:12px;line-height:1.4;min-height:0}
.achievement-mini .achievement-art{width:64px;max-width:100%;height:64px;margin:0}
.achievement-mini>span:last-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-width:100%;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;margin:0}
.player-title{display:flex;align-items:center;gap:10px}.player-title .achievement-art{width:36px;height:36px}
.activity-comparison{display:block;text-align:center;padding:20px;background:var(--soft-lime);border:1px solid var(--green-border);border-radius:16px;margin-top:20px}
.activity-comparison>.icon{display:block;color:var(--green-ink);margin:0 auto 10px}.activity-comparison strong{display:block;font-size:15px;line-height:1.5;margin:8px 0}.activity-comparison p{margin:8px 0;font-size:14px;line-height:1.5}.activity-comparison small{display:block;font-size:12px;line-height:1.5;color:var(--muted)}
.atomic-splash{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 38%,#084784 0,#032040 42%,#000d1f 80%);color:white;padding:24px;text-align:center}
.atomic-splash-mark{width:min(65vw,280px);height:auto;overflow:visible}.atomic-wordmark{font-size:clamp(40px,10vw,62px);font-weight:900;letter-spacing:2px;line-height:1;margin-top:18px}.atomic-wordmark small{display:block;font-size:clamp(15px,3.8vw,23px);letter-spacing:7px;margin:12px -7px 0 0;font-weight:750}.atomic-splash p{color:#c1d4e6;font-size:13px;margin-top:36px;letter-spacing:.3px}
.atomic-satellite{offset-path:path('M 0 -100 A 38 100 0 1 1 0 100 A 38 100 0 1 1 0 -100');animation:atomic-orbit 3.4s linear infinite;offset-rotate:0deg}.orbit-two{animation-delay:-1.1s}.orbit-three{animation-delay:-2.2s}
@keyframes atomic-orbit{to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){.atomic-satellite{animation:none;offset-distance:18%}.orbit-two{offset-distance:50%}.orbit-three{offset-distance:80%}.roster-chevron{transition:none}}
@media(max-width:360px){.roster-disclosure>summary{gap:8px;font-size:13px}.achievement-mini{font-size:11px;padding:12px 6px}.activity-comparison{padding:14px}}

/* Quiet hero illustration and stable choice rows. */
.court-art{background:var(--balance-bg);border-radius:28px;height:180px}
.court-art svg{position:static;display:block;width:100%;height:100%;transform:none}
.kudos-choices>label{display:grid;grid-template-columns:20px 32px minmax(0,1fr);align-items:center;column-gap:12px;padding:16px}
.kudos-choices input{margin:0;align-self:center;justify-self:center}
.kudos-choices .kudos-emoji{align-self:center;justify-self:center;display:grid;place-items:center;width:32px;height:32px;margin:0;line-height:1;font-size:26px}
.kudos-choices>label>span:last-child{min-width:0;text-align:left}
.kudos-choices strong{line-height:1.4}.kudos-choices small{margin-top:6px}
@media(max-width:360px){.kudos-choices>label{grid-template-columns:20px 28px minmax(0,1fr);column-gap:8px;padding:12px}.kudos-choices .kudos-emoji{width:28px;font-size:24px}}
.attendance-chart{margin:24px 0;padding:20px 16px 16px;background:var(--subtle);border:1px solid var(--line);border-radius:18px}
.attendance-chart figcaption strong{display:block;font-size:16px}.attendance-chart figcaption small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.visit-bars{display:grid;grid-template-columns:repeat(var(--bar-count),minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:34px 0 0}
.visit-column{min-width:0;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
.visit-bar-track{height:120px;border-bottom:1px solid var(--line);display:flex;align-items:flex-end;justify-content:center;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,var(--line) 39px,var(--line) 40px)}
.visit-bar{display:block;position:relative;background:var(--green-ink);width:65%;max-width:44px;border-radius:5px 5px 0 0;min-height:0}
.visit-bar strong{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:5px;color:var(--ink);font-size:12px;font-weight:650}
.visit-bar-label{display:block;margin-top:9px;color:var(--muted);white-space:nowrap;font-size:10px}
.attendance-chart>.hint{margin:14px 0 0}

/* Club counts and player-provided DUPR profile links. */
.court-art svg{width:100%;height:100%;inset:0}
.community-counter{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;border:1px solid var(--line);border-radius:20px;background:var(--surface,#fff);padding:20px 24px;margin:0 0 26px}
.community-counter>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.community-counter>div+div{border-left:1px solid var(--line);padding-left:22px}
.community-counter small{font-size:13px;color:var(--muted)}
.community-counter strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.community-counter p{grid-column:1/-1;margin:0;font-size:12px;color:var(--muted)}
.level-badge{display:inline-flex;align-items:center;gap:8px;max-width:100%;font-size:12px;line-height:1.4}
.dupr-linked{padding:10px 12px;border:1px solid #748e41;border-radius:14px;background:#eff7db;color:#274229;text-decoration:none;min-height:44px}
.dupr-linked span{min-width:0}.dupr-linked strong,.dupr-linked small{display:block}.dupr-linked small{font-size:10px;color:#516633;margin-top:3px}.dupr-linked .icon{width:17px;height:17px}.dupr-linked .icon:last-child{margin-left:auto}
.dupr-connect-panel,.dupr-invite{border:1px solid var(--line);background:var(--bg);border-radius:18px;padding:18px;margin-bottom:20px}
.dupr-connect-panel>strong,.dupr-invite>strong{font-size:16px}.dupr-connect-panel p,.dupr-invite p{font-size:13px;color:var(--muted);margin:8px 0 16px}.dupr-connect-panel .hint{font-size:12px;margin-bottom:0}
[data-theme=dark] .community-counter{background:#192e38}
[data-theme=dark] .dupr-linked{background:#283d23;color:#e3f5c6;border-color:#718b42}
[data-theme=dark] .dupr-linked small{color:#bad39a}
@media(max-width:520px){.community-counter{padding:16px;gap:10px}.community-counter>div{flex-direction:column;align-items:flex-start;gap:6px}.community-counter>div+div{padding-left:16px}.community-counter small{font-size:12px}.dupr-linked{padding:8px 10px}.dupr-linked small{font-size:10px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Repeat play and private coach workspace reuse the club's theme tokens. */
.feature-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.feature-actions>*{flex:1;min-width:100px}.mixed-payment{margin-top:12px}.mixed-payment small{display:block}.coach-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0}.coach-stat{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--subtle)}.coach-stat small{display:block;color:var(--muted);line-height:1.5}.coach-stat strong{display:block;font-size:22px;margin-top:8px;overflow-wrap:anywhere}.coach-payment,.coach-person{padding:16px 0;border-top:1px solid var(--line)}.occupancy-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 0;align-items:center}.occupancy-row progress{width:100%;accent-color:var(--navy)}.occupancy-row strong{grid-column:1/-1;font-size:13px;color:var(--muted)}.coach-receipt{width:100%;height:auto;border-radius:12px}body:has([aria-current=page][data-value=coach]) .bottom-nav{opacity:1}@media(max-width:700px){.coach-stats{grid-template-columns:1fr 1fr}.coach-stat{padding:12px}.coach-stat strong{font-size:18px}}
.coach-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px}.coach-tabs button{width:100%;min-width:0;min-height:44px;padding:10px 6px;font-size:13px;line-height:1.2;white-space:nowrap}.coach-tabs button[aria-pressed=true]{background:var(--active-bg);color:var(--active-ink)}.coach-workspace-content section[hidden]{display:none}.coach-workspace-content details{border-top:1px solid var(--line);padding:14px 0}.coach-workspace-content summary{min-height:44px;cursor:pointer;font-weight:600}
.coach-tabs-limited{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:760px){.coach-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.coach-tabs-limited{grid-template-columns:repeat(4,minmax(0,1fr))}.coach-tabs button{font-size:14px;padding:12px 8px}}
.bottom-nav button{min-width:0;flex:1}.bottom-nav:has([data-value=coach]) button{padding-left:4px;padding-right:4px}
.invite-button{width:100%;min-height:48px;margin:16px 0;gap:10px}.guest-invite-panel{margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--subtle)}.guest-invite-panel h3{margin:0;font-size:18px}.guest-invite-panel .invite-button{margin-bottom:0}.invitation-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);line-height:1.6}.guest-event{margin-bottom:20px}
/* Time-sensitive decisions use the same semantic surfaces in both themes. */
.booking-deadline{margin:14px 0;padding:14px;border-radius:14px;background:var(--amber-bg);color:var(--amber-ink);font-size:13px;line-height:1.6}
.session-card>.notice{margin:16px 0;font-size:13px;line-height:1.6}

.coach-tools{margin-top:24px;padding:18px;border:1px solid var(--green-border);border-radius:18px;background:var(--soft-lime)}
.coach-tools .eyebrow{color:var(--green-ink);margin:0 0 12px}.coach-tools .hint{margin:12px 0 0}

.hero-pills{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}.hero-pills .location-pill{margin-top:0;min-height:40px}.first-visit-pill{cursor:pointer}.dupr-invite{margin-top:24px}

@media(max-width:360px){.hero-pills{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:stretch;width:100%}.hero-pills .location-pill{min-width:0;min-height:44px;padding:7px 8px;font-size:11px;line-height:1.35;white-space:normal}.hero-pills .first-visit-pill{text-align:left}}

.checkout-venue{margin:16px 0 20px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--subtle)}.checkout-venue .venue{display:flex;align-items:center;gap:8px;margin:0;min-height:24px;width:fit-content;font-size:13px}.checkout-venue .venue>.icon{flex:none;width:18px;height:18px}.mixed-payment{margin:12px 0 20px}

.success .guest-invite-panel{text-align:left}
/* One aligned grid for directions, first-visit help and community figures. */
.hero-copy{min-width:0;flex:1}.hero-pills{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%;align-items:stretch}.hero-pills .location-pill{justify-content:center;min-height:56px;padding:12px;font-size:13px;font-weight:600;line-height:1.45;border-radius:18px;text-align:left;white-space:normal}.hero-pills .icon{width:18px;height:18px}.location-pill.community-pill{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;margin-top:12px;gap:0;border-radius:18px;padding:16px 0;font-size:13px;font-weight:600;line-height:1.45}.community-stat{display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding:0 16px;min-width:0}.community-stat+.community-stat{border-left:1px solid var(--green-border)}.community-stat-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px;color:var(--green-ink);min-height:38px}.community-stat-title strong{font-size:inherit;font-weight:600}.community-stat-caption{font-size:12px;font-weight:400;color:var(--muted)}.community-stat .community-dot{margin:0 3px 0 0}.paddle-rental{display:flex;align-items:flex-start;gap:7px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:var(--subtle);color:var(--muted);font-size:12px;line-height:1.5;margin:14px 0}.paddle-rental .icon{width:16px;height:16px;margin-top:1px}@media(max-width:360px){.hero-pills{gap:8px}.hero-pills .location-pill{font-size:12px;padding:10px 8px;min-height:60px}.location-pill.community-pill{font-size:12px}.community-stat{padding:0 10px}.community-stat-caption{font-size:11px}}

.community-stat-title{min-height:24px}
/* Four independent controls share the same two-column geometry. */
.community-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:12px}.community-pair .community-pill{display:flex;align-items:center;justify-content:center;gap:9px;min-height:72px;margin:0;padding:12px;border-radius:18px;width:100%;font-size:13px}.community-pair .community-stat{padding:0;gap:3px;border:0;flex:0 1 auto}.community-pair .community-stat-title{min-height:0}.community-pair .icon{width:18px;height:18px}.community-icon{position:relative;display:flex;flex:none}.community-icon .community-dot{position:absolute;right:-2px;bottom:-2px;margin:0;width:4px;height:4px}.hero-pills .location-pill{justify-content:center}.community-pair .community-stat-caption{line-height:1.4}@media(min-width:701px){.hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:28px;align-items:stretch}.hero .court-art{width:100%;height:100%;min-height:240px;align-self:stretch;display:grid;place-items:center}.hero .court-art svg{width:100%;height:100%;object-fit:contain}}@media(max-width:360px){.community-pair{gap:8px;margin-top:8px}.community-pair .community-pill{font-size:12px;padding:10px 8px;gap:7px}.community-pair .community-stat-caption{font-size:11px}}
.community-pair .community-pill{flex-wrap:nowrap}.community-pair .community-stat-caption{min-height:2.8em}
/* Each hero control uses the same fixed icon column and centred copy. */
.hero-pills .location-pill,.community-pair .community-pill{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:9px;align-items:center;text-align:center;justify-content:initial;padding:12px 16px;min-height:76px}.hero-pills .location-pill>.icon,.community-pair .community-pill>.icon,.community-pair .community-icon{grid-column:1;justify-self:center;align-self:center}.community-pair .community-stat{grid-column:2;align-items:center;justify-self:stretch;gap:4px;text-align:center}.community-pair .community-stat-title{justify-content:center;width:100%}.community-pair .community-stat-caption{min-height:0;width:100%;text-align:center}.rental-payment{border:1px solid var(--line);border-radius:18px;padding:16px;margin-top:20px;background:var(--subtle)}.rental-toggle{display:flex;gap:16px;align-items:center;justify-content:space-between;cursor:pointer;position:relative;min-height:44px}.rental-toggle strong{display:block;font-size:14px}.rental-toggle small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.rental-toggle input{position:absolute;right:0;width:52px;height:44px;opacity:0;cursor:pointer;z-index:1}.rental-switch{width:51px;height:31px;border-radius:20px;background:#a8b2ae;position:relative;flex:none;transition:background .2s}.rental-switch:after{content:'';position:absolute;width:25px;height:25px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .2s}.rental-toggle input:checked+.rental-switch{background:#32ad69}.rental-toggle input:checked+.rental-switch:after{transform:translateX(20px)}.rental-toggle input:focus-visible+.rental-switch{outline:3px solid var(--focus);outline-offset:3px}.rental-toggle input:disabled+.rental-switch{opacity:.5}.rental-quantity{display:flex;align-items:center;gap:16px;margin-top:16px;font-size:13px}.rental-quantity[hidden]{display:none}.rental-quantity select{margin-left:auto;min-width:64px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:8px}.rental-fee{font-size:12px;color:var(--muted);margin:12px 0 0}@media(max-width:360px){.hero-pills .location-pill,.community-pair .community-pill{padding:10px 8px;column-gap:6px;grid-template-columns:18px minmax(0,1fr);min-height:78px}}@media(prefers-reduced-motion:reduce){.rental-switch,.rental-switch:after{transition:none}}
/* Left-aligned copy and compact icons, identical in all four controls. */
.hero-pills .location-pill,.community-pair .community-pill{grid-template-columns:20px minmax(0,1fr);column-gap:12px;text-align:left;min-height:84px}.hero-pills .location-pill>.icon,.community-pair .community-pill>.icon,.community-pair .community-icon .icon{width:20px;height:20px;stroke-width:1.5}.community-pair .community-icon{width:20px;height:20px}.community-pair .community-stat{align-items:flex-start;text-align:left}.community-pair .community-stat-title{justify-content:flex-start}.community-pair .community-stat-caption{text-align:left}.community-icon .community-dot{right:0;bottom:0}@media(max-width:360px){.hero-pills .location-pill,.community-pair .community-pill{grid-template-columns:20px minmax(0,1fr);column-gap:8px;padding:10px 8px;min-height:88px}.hero-pills .location-pill>.icon,.community-pair .community-pill>.icon,.community-pair .community-icon .icon{width:20px;height:20px}.community-pair .community-icon{width:20px;height:20px}}
/* Court comparison uses the existing light/dark theme tokens. */
.court-comparison{display:grid;gap:16px;margin-top:16px}
.court-option{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--surface);min-width:0}
.court-option .row-between{gap:12px;flex-wrap:wrap}
.court-option .badge{white-space:normal}
.court-option p{margin:8px 0;overflow-wrap:anywhere}
.court-option button{width:100%;min-height:44px;margin-top:12px}
.court-option button[aria-pressed=true]{border-color:var(--navy);background:var(--subtle);color:var(--ink)}
.court-price{font-weight:650;font-size:15px;color:var(--ink)}
.court-rule{font-size:14px;line-height:1.5;color:var(--ink)}
.court-links{display:flex;flex-wrap:wrap;gap:8px 16px}
.court-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--navy);font-size:14px;text-underline-offset:3px}
.court-toggle{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:12px 0;cursor:pointer}
.court-toggle input{width:22px;height:22px;flex:0 0 22px;margin:3px 0;accent-color:var(--navy)}
.court-toggle span{min-width:0;line-height:1.5}
.court-toggle strong,.court-toggle small{display:block}
.court-toggle small{font-size:14px;color:var(--muted);margin-top:4px}
#private-times>.hint{grid-column:1/-1}
#private-court-selection[hidden],#private-own-fields[hidden],#private-recommended[hidden]{display:none}
/* SBP uses the existing payment sheet, with explicit mixed-currency totals. */
.payment-choice{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}
.payment-choice button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0}
.payment-choice button small{margin-top:3px;line-height:1.45}
.sbp-rate{margin:12px 0 20px;color:var(--muted);font-size:13px;line-height:1.5}
.sbp-rate summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;color:var(--ink);padding:10px 0;text-decoration:underline;text-underline-offset:3px}
.sbp-rate summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.sbp-rate p{margin:4px 0 0;overflow-wrap:anywhere}
.sbp-breakdown{display:grid;gap:12px;margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--subtle)}
.sbp-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;font-size:14px}
.sbp-breakdown strong{font-variant-numeric:tabular-nums}
.sbp-order-status{margin-top:20px;width:100%}
.sbp-order-status+[data-act="calendar"],#resume-crypto+[data-act="calendar"]{margin-top:12px}
#calendar-google,#calendar-file{text-decoration:none;justify-content:center;text-align:center}
#sbp-form .hint a,#sheet-content>.hint a{color:var(--green-ink);text-underline-offset:3px}

/* Compact court selection and aligned feedback acknowledgement. */
.feedback-read-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 0;line-height:1.4}
.feedback-read-button .icon{display:block;flex:0 0 18px;width:18px;height:18px;margin:0}
.feedback-read-button span{display:block}
.court-separate-cost{display:block;margin-top:4px;font-weight:400;color:var(--muted);line-height:1.5}
.sbp-icon{object-fit:contain;display:block}
.welcome-gift{display:flex;flex-direction:column;align-items:center;gap:8px;margin:24px 0;padding:24px;background:var(--soft-lime);border-radius:20px;color:var(--ink)}
.welcome-gift>.icon{width:28px;height:28px;color:var(--green-ink)}
.welcome-gift>strong{font-size:36px;line-height:1.2;letter-spacing:-1px}.welcome-gift small{font-size:16px;letter-spacing:0}.welcome-gift>span{font-size:14px}.welcome-copy p{white-space:pre-line}

.court-picker-panel{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--surface)}
.court-picker-panel>.field{margin:0}.court-picker-panel .court-option{padding:0;border:0;border-radius:0;background:transparent}.court-picker-panel .court-comparison{margin-top:12px}

/* Readable occupancy cards with explicit figures alongside green progress. */
.occupancy-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:16px 0 28px}
.occupancy-chart .occupancy-row{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--green-border);border-radius:16px;background:var(--soft-lime)}
.occupancy-heading,.occupancy-caption{display:flex;align-items:center;justify-content:space-between;gap:12px}
.occupancy-heading>strong{font-size:14px}.occupancy-percent{font-size:24px;font-weight:700;color:var(--green-ink);font-variant-numeric:tabular-nums}.occupancy-percent small{font-size:14px;margin-left:2px}
.occupancy-caption{font-size:12px;color:var(--muted)}
.occupancy-chart progress{width:100%;height:10px;appearance:none;border:0;border-radius:99px;overflow:hidden;background:var(--line);accent-color:#32ad69}
.occupancy-chart progress::-webkit-progress-bar{background:var(--line);border-radius:99px}.occupancy-chart progress::-webkit-progress-value{background:linear-gradient(90deg,#269b5d,#65ce8b);border-radius:99px}.occupancy-chart progress::-moz-progress-bar{background:#32ad69;border-radius:99px}
.welcome-reopen{display:flex;align-items:center;gap:6px;font-size:12px;min-height:44px;padding:6px 0;text-align:left}.welcome-reopen .icon{width:14px;height:14px}
@media(max-width:480px){.occupancy-chart{grid-template-columns:1fr}.ledger-row .details{min-width:0}}

/* Keep party details separated from the price; stack when the sheet is narrow. */
.summary-total{column-gap:24px;row-gap:12px;flex-wrap:wrap;align-items:flex-start}.summary-total>div{flex:1 1 180px;min-width:0}.summary-total>strong{flex:0 0 auto;white-space:nowrap;text-align:right}.summary-total #party-summary{display:block;max-width:22ch;text-wrap:balance;line-height:1.45}.summary-total>div>small{display:block;margin-top:5px}
@media(max-width:560px){.summary-total>div{flex-basis:100%}.summary-total>strong{width:100%;text-align:left}.summary-total #party-summary{max-width:none}}

.pass-plans {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.pass-plan {display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);text-align:left;min-width:0}
.pass-plan[aria-pressed="true"] {border-color:#7fae32;background:var(--lime);color:#203019;box-shadow:inset 0 0 0 1px #7fae32}
.pass-plan span {font-weight:700}.pass-plan small {font-size:12px;overflow-wrap:anywhere}
.pass-calculation {padding:20px;border-radius:20px;background:var(--soft-lime);margin:16px 0}.pass-calculation p {font-size:14px;line-height:1.5;margin:6px 0}.pass-calculation>strong {display:block;font-size:30px;margin:12px 0;overflow-wrap:anywhere}
.pass-calculation strong small {font-size:16px}.pass-terms {margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:18px}.pass-terms summary {cursor:pointer;font-weight:600}.pass-terms .info-copy p {font-size:14px;line-height:1.6}
.pass-checkout {margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:18px}.pass-checkout .secondary {width:100%}.pass-checkout .hint {margin-bottom:0}
.party-pass-link {margin-top:12px}
.pass-wallet-caption {margin:-12px 0 20px;color:#cededc;font-size:14px}
.pass-wallet-list {display:grid;gap:10px;margin:0 0 20px}
.pass-wallet .pass-wallet-entry {justify-content:space-between;gap:16px;text-align:left;background:#ffffff12;border-color:#ffffff35;color:white;padding:16px 18px}
.pass-wallet-entry>span {min-width:0}.pass-wallet-entry strong {display:block;font-size:15px;font-weight:600;line-height:1.4}.pass-wallet-entry small {display:block;margin-top:6px;line-height:1.5}.pass-wallet .pass-wallet-entry:hover {background:#ffffff20}
.pass-wallet-empty {font-size:14px;line-height:1.6;color:#cededc;margin:0 0 20px}
.pass-wallet .balance-actions {max-width:none}
#pass-duration-field[hidden] {display:none}

/* Court selection shares the sheet's controls and spacing. */
.court-picker-panel{padding:0;border:0;background:transparent;box-shadow:none}
.court-comparison{margin-top:12px;gap:12px}
.court-option{background:var(--subtle);border:0;border-radius:16px;padding:16px}
.court-option .hint,.court-rule,.court-links a{font-size:12px;line-height:1.6}
.court-option .court-links{margin-top:8px}
.court-option button[data-court]{display:none}
.court-toggle.toggle-row{flex-direction:row-reverse;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:16px}
.court-toggle.toggle-row input{flex:0 0 44px;width:44px;height:26px;margin:0}
.court-toggle.toggle-row strong{font-size:14px}
.court-toggle.toggle-row small{font-size:12px}
.custom-terms-button{margin:12px 0 20px}
.field textarea{width:100%;resize:vertical;min-height:140px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:13px;font:inherit}
.balance-panel .balance-title{font-size:37px;line-height:1.15;letter-spacing:-1.2px;font-weight:500;margin:0 0 20px}
.ledger-row .details{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center}
.ledger-row .details>small{grid-column:1/-1;display:block}
.ledger-row .welcome-reopen{min-height:32px;margin:0;padding:4px 0;white-space:nowrap;font-size:11px}
.ledger-row>strong{flex-shrink:0;text-align:right}
.account-facts{margin:20px 0}.account-facts>div{padding:12px 0;border-bottom:1px solid var(--line)}.account-facts dt{color:var(--muted);font-size:12px}.account-facts dd{margin:4px 0 0;font-size:15px}
.custom-request-comment{white-space:pre-wrap;overflow-wrap:anywhere}

.court-toggle.toggle-row input{appearance:none;-webkit-appearance:none;border:0;border-radius:20px;background:var(--line);position:relative;transition:background .15s;cursor:pointer}.court-toggle.toggle-row input:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .15s}.court-toggle.toggle-row input:checked{background:#81a94b}.court-toggle.toggle-row input:checked:before{transform:translateX(18px)}

.court-picker-panel .court-option{padding:16px;border:0;border-radius:16px;background:var(--subtle)}.custom-requests{margin-bottom:20px}.coach-person>small{display:block;color:var(--muted);margin-top:4px}

.mixed-payment{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;font-size:14px;min-height:56px}.mixed-payment>span,.mixed-payment>small{white-space:nowrap;line-height:1.4}.mixed-payment>small{font-size:14px;font-weight:650;text-align:right;letter-spacing:0}.mixed-currency{font-size:11px;font-weight:500;color:var(--muted)}@media(max-width:360px){.mixed-payment{padding:14px 12px;gap:8px;font-size:12px}.mixed-payment>small{font-size:12px}}

.field[hidden]{display:none}

/* October player feedback: stable controls, focused calendar and pass cards. */
.icon{flex-shrink:0}
.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;position:relative;line-height:1.4;white-space:normal}
.primary>.icon,.secondary>.icon{position:absolute;left:16px;width:20px;height:20px}
.primary:has(>.icon),.secondary:has(>.icon){padding-left:46px;padding-right:46px}
.primary[hidden],.secondary[hidden]{display:none}
.field select,.rental-quantity select{appearance:none;-webkit-appearance:none;max-width:100%;min-width:0;width:100%;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23778078' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:20px}
.rental-quantity select{width:72px;flex:none}
.settings-link>span{min-width:0}.settings-link small{display:block;margin-top:5px;color:var(--muted);line-height:1.5}
.hero h1,.page-heading:has([data-act="history"]) h1{font-size:clamp(30px,6vw,42px);line-height:1.12;letter-spacing:-1.2px}
#main:has([data-act="history"])>.page-heading h1{font-size:clamp(30px,6vw,42px);line-height:1.12;letter-spacing:-1.2px}
.hero-copy>p:last-of-type,#main:has([data-act="history"])>.page-heading>p:last-of-type{font-size:14px;line-height:1.6;color:var(--muted)}
.ledger-row .details{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ledger-row .welcome-reopen{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:12px;background:var(--subtle);margin:0;text-align:center}
.pass-choice{display:grid;grid-template-columns:minmax(0,1fr) auto 22px;align-items:center;gap:14px;width:100%;margin:18px 0;padding:20px;border:1px solid var(--green-border);border-radius:22px;background:var(--soft-lime);color:var(--ink);text-align:left}
.pass-choice-copy{display:flex;flex-direction:column;gap:8px;min-width:0}.pass-choice-copy>small{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.pass-choice-copy>strong{font-size:17px;line-height:1.3}.pass-choice-copy>span{font-size:13px;line-height:1.5;color:var(--muted)}
.pass-choice-count{display:flex;align-items:baseline;gap:4px;font-size:30px;font-weight:700;color:var(--green-ink)}.pass-choice-count small{font-size:14px;font-weight:500}.pass-choice:hover{border-color:var(--green-ink)}
.format-heading{display:flex;align-items:center;gap:8px}.format-heading h2{flex:1;min-width:0}.format-heading .icon-button{flex:none;margin:0}
.schedule-calendar{border:1px solid var(--line);border-radius:24px;padding:18px;background:var(--surface);margin:18px 0 24px}
.calendar-months{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.calendar-months [aria-pressed=true],.audience-pages [aria-current=page]{background:var(--soft-lime);color:var(--green-ink);border-color:var(--green-border)}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-grid>small{text-align:center;color:var(--muted);padding:8px 0;font-size:11px}.calendar-day{min-width:0;min-height:48px;border:1px solid transparent;border-radius:13px;background:var(--subtle);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--ink)}.calendar-day:disabled{background:transparent;color:var(--muted);opacity:.45}.calendar-day[aria-pressed=true]{background:var(--lime);color:var(--accent-ink);border-color:var(--green-border)}.calendar-dots{display:flex;gap:3px;height:4px}.calendar-dots i{width:4px;height:4px;border-radius:50%;background:var(--green-ink)}.calendar-dots i.full{background:var(--muted)}
.schedule-end{text-align:center;color:var(--muted);line-height:1.7;font-size:13px;max-width:420px;margin:30px auto;padding:20px;border:1px dashed var(--line);border-radius:20px}
.audience-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}.audience-pages button{min-width:44px;min-height:44px}
.coach-member{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.coach-member>.settings-link{margin:0;border:0;padding:0}.coach-member>.secondary{width:auto;font-size:12px}.qr-save{margin:12px 0 20px}
@media(max-width:400px){.pass-choice{padding:16px;gap:9px}.pass-choice-copy>strong{font-size:15px}.pass-choice-count{font-size:26px}.schedule-calendar{padding:12px}.calendar-grid{gap:3px}.coach-member{grid-template-columns:minmax(0,1fr)}.coach-member>.secondary{width:100%}}

.primary:has(>.icon~.icon)>.icon:last-child,.secondary:has(>.icon~.icon)>.icon:last-child{left:auto;right:16px}
.calendar-day:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.schedule-view-toggle[aria-pressed=true]{background:var(--soft-lime);color:var(--green-ink)}

/* Review fixes: compact actions and predictable alignment at every viewport. */
.format-heading{margin-bottom:16px}
.balance-actions .primary>.icon,.balance-actions .secondary>.icon{position:static;inset:auto;margin:0;width:20px;height:20px}
.ledger-row .details{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;min-width:0}
.ledger-row .details>strong{min-width:0;overflow-wrap:anywhere}
.ledger-row .details>small{grid-column:1/-1}
.ledger-row .details>.welcome-reopen{margin:0;white-space:nowrap;min-height:44px;padding:6px 8px}
.audience-pages button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;line-height:1;font-variant-numeric:tabular-nums}
.mixed-payment,.mixed-payment>span,.mixed-payment>small,.mixed-payment .mixed-currency{font-weight:400}
.availability-list{display:grid;gap:12px;margin:18px 0}
.availability-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}
.availability-item>div{min-width:0}.availability-item small{display:block;color:var(--muted)}
.availability-item button{flex:none}

/* Friends and member search reuse the existing theme and controls. */
.player-search-results .settings-link{width:100%;text-align:left;min-height:56px}
.player-search-results small,.friend-row small{display:block;overflow-wrap:anywhere}
.friend-row{padding:12px 0;border-bottom:1px solid var(--line)}
.friend-row .settings-link{width:100%;text-align:left}
.friend-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.friend-actions button{min-height:44px}
.friends-banner{display:flex;align-items:center;gap:8px; padding:12px;border-radius:12px;background:var(--lime);color:#123854;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.friends-banner .icon{flex-shrink:0}
.browser-login{text-align:center;max-width:480px;margin:24px auto}
.browser-login>img{object-fit:contain;border-radius:20px}
.browser-login p{line-height:1.6}
#telegram-login-widget{min-height:48px;margin:24px 0}

.balance-actions>.primary,.balance-actions>.secondary{flex:1;min-width:0;width:auto;padding:12px 10px;gap:7px;font-size:13px}

.ledger-row .details{column-gap:6px}
.ledger-row .details>.welcome-reopen{font-size:11px;padding:6px 4px;gap:4px}
.ledger-row .details>.welcome-reopen .icon{width:12px;height:12px}
.ledger-row .details:has(>.welcome-reopen)>strong{white-space:nowrap;overflow-wrap:normal}

@media(max-width:360px){.ledger-row{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px 12px}.ledger-row>.ledger-icon{grid-row:1/3}.ledger-row>.details{grid-column:2}.ledger-row>strong{grid-column:2;justify-self:end}}

/* Player polish: matching controls, readable price alignment and QR viewer. */
.format-heading .format-info,.format-heading .schedule-view-toggle{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;border-radius:50%;padding:0;display:grid;place-items:center}
.format-heading .format-info:before{content:none}
.format-heading .format-info:hover,.format-heading .format-info:focus-visible,.schedule-view-toggle[aria-pressed=true]{background:var(--soft-lime);color:var(--green-ink)}
.stat .price-unit{letter-spacing:0;margin-top:3px}.stat:has(.price-unit)>strong{margin-top:3px}
.transfer-friends{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.transfer-friends h3,.transfer-friends .hint{width:100%;margin:0}.transfer-friends button{min-height:44px;white-space:normal}.transfer-friends small{display:block}
.notification-entry{border:1px solid var(--line);border-radius:12px;overflow:hidden}.notification-entry .notification-item{border:0;border-radius:0}.notification-close{display:block;margin:0 16px 8px;min-height:44px}
.notification-tools button[aria-pressed=true]{background:var(--soft-lime);color:var(--green-ink)}
/* Gift entries use two columns; the action stays below the timestamp. */
.ledger-row:has(.welcome-reopen){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px}
.ledger-row:has(.welcome-reopen) .ledger-icon{display:none}
.ledger-row:has(.welcome-reopen) .details{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.ledger-row:has(.welcome-reopen) .details>strong{white-space:normal;text-align:left}
.ledger-row:has(.welcome-reopen) .details>small{text-align:left}
.ledger-row:has(.welcome-reopen)>strong{text-align:right;font-size:13px;white-space:nowrap;grid-column:auto;grid-row:auto}
@media(max-width:360px){.ledger-row:has(.welcome-reopen){gap:10px}.ledger-row:has(.welcome-reopen)>strong{font-size:12px}}

.qr-expand{display:block;background:transparent;border:0;padding:0;margin:10px auto;width:min(100%,260px);cursor:zoom-in}.qr-expand .qr-image{margin:0;width:100%}
#qr-fullscreen{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));border:0;border-radius:0;background:var(--surface)}
#qr-fullscreen[open]{display:flex;flex-direction:column;align-items:center;gap:16px}#qr-fullscreen .qr-image{width:100%;max-width:900px;flex:1;min-height:0;max-height:none;object-fit:contain;margin:0;border:0;border-radius:0}#qr-fullscreen .qr-fullscreen-close{align-self:flex-end;flex-shrink:0;min-height:44px}

.profile-awards{border:0;padding:0;margin:20px 0}.profile-awards legend{font-weight:700}.profile-awards .toggle-row{min-height:44px;gap:12px}.profile-awards input{width:22px;height:22px;flex-shrink:0}
.profile-disclosure p{line-height:1.6}
.profile-disclosure .button-stack{margin-block:24px 16px}
.profile-disclosure-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-underline-offset:3px}
.privacy-request{padding-block:20px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.privacy-request textarea{min-height:100px}
.pass-shop-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:12px}
.pass-shop-back .icon{transform:rotate(180deg)}
.atomic-sbp{margin:22px 0;padding:22px;border:1px solid var(--line);border-radius:24px;background:radial-gradient(ellipse at 0 0,var(--soft-lime),transparent 70%),var(--surface);overflow:hidden}
.atomic-sbp-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.atomic-sbp-brand{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:750;letter-spacing:1px}.atomic-sbp-brand>span{font-weight:400;color:var(--muted)}.atomic-sbp-brand .sbp-icon{width:45px;height:26px}
.atomic-sbp-secure{font-size:11px;color:var(--muted)}
.atomic-sbp-total{display:flex;flex-direction:column;gap:6px;margin:24px 0;text-align:center}.atomic-sbp-total small{font-size:13px;color:var(--muted)}.atomic-sbp-total strong{font-size:38px;line-height:1.1;font-weight:650;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.atomic-sbp-total>span{font-size:12px;color:var(--muted)}
.atomic-sbp-body{display:grid;gap:20px;align-items:center}.atomic-sbp-qr{width:min(100%,260px);margin:0 auto;padding:12px;border-radius:22px;background:#fff;color:#182e36;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center}.atomic-sbp-qr .qr-image{border:0;border-radius:0;margin:0;width:100%;max-height:none}.atomic-sbp-qr .qr-expand{margin:0;width:100%}.atomic-sbp-qr .qr-save{margin:6px 0 0;font-size:12px;min-height:44px;background:#f2f5ec;color:#182e36;border-color:#dce3d4}.atomic-sbp-qr .hint{color:#52616a}.atomic-sbp-qr-unavailable{text-align:center;font-size:13px}.atomic-sbp-qr-unavailable>.icon{width:28px;height:28px}
.atomic-sbp-instructions h3{font-size:21px;font-weight:650;line-height:1.25;margin:0 0 10px;letter-spacing:-.4px}.atomic-sbp-instructions p{font-size:14px;line-height:1.6;margin:0 0 10px}.atomic-sbp-instructions .hint{font-size:12px;color:var(--muted)}
.atomic-sbp-banks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.sbp-bank{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);font:600 14px/1.3 inherit;text-decoration:none}.sbp-bank>.icon{width:16px;height:16px}.sbp-bank-mark{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:20px;font-weight:800;background:#ffdd2d;color:#17222a}.sbp-bank-s .sbp-bank-mark{background:#168f48;color:white}.sbp-bank:disabled{opacity:.5;cursor:default}.sbp-bank:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.atomic-sbp-fallback{font-size:12px;line-height:1.6;margin:14px 0}.atomic-sbp>.secondary{width:100%;text-align:center;min-height:48px;text-decoration:none}
@media(min-width:600px){.atomic-sbp-body{grid-template-columns:minmax(180px,1fr) minmax(0,1fr)}.atomic-sbp-total{text-align:left}.atomic-sbp-total strong{font-size:44px}}
@media(max-width:380px){.atomic-sbp{padding:16px}.atomic-sbp-banks{gap:8px}.sbp-bank{gap:6px;padding:10px 8px}.sbp-bank>.icon{display:none}}
.atomic-sbp{display:flex;flex-direction:column}.atomic-sbp-header{order:0}.atomic-sbp-total{order:1}.atomic-sbp-instructions .atomic-sbp-banks{margin:14px 0 18px}.atomic-sbp-body{order:3}.atomic-sbp-fallback{order:4}.atomic-sbp>.secondary{order:5}.sbp-bank{font-family:inherit;font-size:14px;font-weight:600;line-height:1.3}
@media(max-width:599px){.atomic-sbp-qr{width:min(100%,230px)}}
.sbp-bank{gap:8px;padding:12px 8px}.sbp-bank>span:nth-child(2){white-space:nowrap}.sbp-bank-mark{flex-shrink:0}
.sbp-bank-t .sbp-bank-mark,.sbp-bank-s .sbp-bank-mark{display:block;object-fit:contain;background:transparent;border-radius:0;width:30px;height:30px;flex-shrink:0}
@media(max-width:599px){.sbp-bank>.icon{display:none}}

/* Keep consent actions separated even when the submit button is inside a form. */
#sheet-content > :is(.primary,.secondary)+:is(.primary,.secondary),
#sheet-content .success > :is(.primary,.secondary)+:is(.primary,.secondary),
#sheet-content > form+:is(button.primary,button.secondary,a.primary,a.secondary){margin-top:12px}
#sheet-content .button-stack>:is(.primary,.secondary){margin-top:0}
.participant-avatar{position:relative;overflow:hidden}
.participant-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Approved gift option 2: a quiet filled action, placed below the timestamp. */
.ledger-row .details .welcome-reopen{display:flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;width:fit-content;min-height:44px;margin:12px 0 0;padding:8px 14px;border:0;border-radius:14px;background:var(--subtle);color:var(--navy);font-size:13px;font-weight:600;text-decoration:none;line-height:1.4}
.ledger-row .details .welcome-reopen:hover{background:var(--soft-lime)}
.ledger-row .details .welcome-reopen .icon{width:16px;height:16px}

.achievement-art picture{display:block;width:100%;height:100%}
