/* Self-contained calendar layout for the production dashboard. */
.home-month-card,.home-season-card {
  position:relative; z-index:1; margin-top:12px; padding:16px 18px;
  border:1px solid var(--line-soft); border-radius:var(--radius-sm); background:rgba(var(--nav-rgb),.24);
}
.home-month-card.loading { opacity:.55; pointer-events:none; }
.home-month-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.home-month-head>span { display:flex; min-width:0; flex-direction:column; gap:5px; }
.home-month-head small,.home-season-card .home-heatmap-head small { color:#ff8eb2; font:700 9px/1 var(--mono); letter-spacing:.12em; }
.home-month-head b { color:var(--ink); font-size:15px; }
.home-month-nav { display:grid; grid-template-columns:34px minmax(128px,auto) 34px; align-items:center; gap:6px; }
.home-calendar-controls { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.home-calendar-tabs { display:flex; gap:3px; padding:3px; border:1px solid var(--line-soft); border-radius:10px; background:var(--surface-2); }
.home-calendar-tabs button { min-height:28px; padding:5px 10px; border:0; border-radius:7px; background:transparent; color:var(--muted); font:700 10px/1 var(--font); cursor:pointer; }
.home-calendar-tabs button.on { background:var(--surface); color:var(--accent); box-shadow:0 1px 3px rgba(0,0,0,.15); }
.home-calendar-tabs button:hover,.home-calendar-tabs button:focus-visible { color:var(--accent); outline:0; }
.home-month-nav button { display:grid; width:34px; height:34px; place-items:center; padding:0; border:1px solid var(--line); border-radius:9px; background:var(--surface-2); color:var(--ink); font:700 22px/1 var(--font); cursor:pointer; }
.home-month-nav button:hover,.home-month-nav button:focus-visible { border-color:#ff7ca8; color:#ff7ca8; outline:0; }
.home-month-nav strong { color:var(--ink-2); font:700 12px/1 var(--mono); text-align:center; white-space:nowrap; }
.home-month-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:9px; }
.home-month-summary em { color:var(--muted); font-size:10px; font-style:normal; }
.home-month-summary a { color:var(--accent); font-size:10px; white-space:nowrap; }
.home-month-weekdays,.home-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:7px; }
.home-month-weekdays { margin-top:13px; }
.home-month-weekdays span { color:var(--muted); font:600 9px/1 var(--mono); text-align:center; }
.home-month-grid { margin-top:7px; }
.home-week-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:7px; margin-top:13px; }
.home-week-grid .home-month-day { min-height:76px; grid-template-rows:auto 1fr; align-items:start; padding:9px 5px; }
.home-week-grid .home-month-day small { position:relative; z-index:2; color:var(--muted); font:600 9px/1 var(--mono); }
.home-week-grid .home-month-day b { align-self:center; font-size:18px; }
.home-month-day {
  position:relative; display:grid; min-height:54px; place-items:center; overflow:hidden; border:1px solid var(--line-soft);
  border-radius:10px; background:rgba(255,255,255,.018); color:var(--ink-2);
}
.home-month-day b { position:relative; z-index:2; font:700 13px/1 var(--mono); }
.home-month-day.adjacent { opacity:.38; }
.home-month-day.future { background:rgba(255,255,255,.01); }
.home-month-day.today { outline:2px solid #6d86ff; outline-offset:-3px; }
.home-month-day.done { border-color:rgba(255,92,145,.6); background:rgba(255,92,145,.08); }
.home-month-heart {
  position:absolute; inset:-1px; display:grid; place-items:center; color:#ff5c91;
  font:400 52px/.9 Georgia,serif; font-style:normal; filter:drop-shadow(0 4px 8px rgba(255,71,132,.24)); transform:scaleX(1.08);
}
.home-month-day.done b { color:#fff; font-weight:800; text-shadow:0 1px 2px rgba(114,16,52,.45); }
.home-month-day>em { position:absolute; right:6px; bottom:5px; z-index:3; width:5px; height:5px; border-radius:50%; background:var(--glass); box-shadow:0 0 5px rgba(var(--glass-rgb),.55); }
.home-month-legend { display:flex; align-items:center; gap:15px; margin-top:10px; color:var(--muted); font-size:9px; }
.home-month-legend span { display:flex; align-items:center; gap:5px; }
.home-month-legend .done { color:#ff7ca8; }
.home-month-legend .planned::before,.home-month-legend .today::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--glass); }
.home-month-legend .today::before { box-sizing:border-box; background:transparent; border:1px solid #6d86ff; }
.home-month-card.is-guest .home-month-grid { opacity:.58; }


@media(max-width:720px) {
  .home-month-card,.home-season-card { margin-top:9px; padding:13px 10px 11px; }
  .home-month-head { align-items:flex-start; flex-direction:column; gap:9px; }
  .home-month-nav { width:100%; grid-template-columns:36px minmax(0,1fr) 36px; }
  .home-calendar-controls { width:100%; align-items:stretch; flex-direction:column; gap:8px; }
  .home-calendar-tabs { width:100%; }
  .home-calendar-tabs button { flex:1; min-height:31px; }
  .home-month-nav button { width:36px; height:32px; }
  .home-month-summary { margin-top:8px; }
  .home-month-weekdays,.home-month-grid { gap:4px; }
  .home-month-weekdays { margin-top:11px; }
  .home-month-grid { margin-top:5px; }
  .home-week-grid { gap:4px; margin-top:10px; }
  .home-week-grid .home-month-day { min-height:61px; padding:7px 3px; }
  .home-week-grid .home-month-day b { font-size:15px; }
  .home-month-day { min-height:44px; border-radius:8px; }
  .home-month-day b { font-size:11px; }
  .home-month-heart { font-size:43px; }
  .home-month-day>em { right:4px; bottom:4px; width:4px; height:4px; }
  .home-month-legend { gap:10px; font-size:8px; }
}
/* SquashABC · Functional dashboard. Retains the original home information order. */
html[data-theme="lime"] {
  --bg:#f3f5f8; --bg-2:#edf1f7; --surface:#fff; --surface-2:#f5f7fb;
  --ink:#20354c; --ink-2:#516377; --muted:#748195;
  --line:#cdd6e3; --line-soft:#e0e6ef;
  --accent:#315bbb; --accent-dim:#264b9a; --accent-rgb:49,91,187;
  --accent-soft:#edf2fc; --accent-contrast:#fff;
  --glass-blue:#315bbb; --glass-blue-2:#264b9a; --glass-rgb:49,91,187;
  --court-line:#7294d6; --court-line-rgb:114,148,214;
  --court-wall:linear-gradient(145deg,#eef3fc,#c9d8f5);
  --radius:14px; --radius-sm:9px;
}
body,html[data-theme="lime"] body,html[data-theme="orange"] body { background-image:none; background-attachment:scroll; }
body { font-size:15px; }
.nav,html[data-theme="lime"] .nav { box-shadow:none; background:var(--surface); backdrop-filter:none; }
.nav-inner,.side-brand { height:68px; }
.side-nav { box-shadow:none; backdrop-filter:none; }
.side-link { min-height:44px; border-radius:9px; }
.side-link.on { box-shadow:none; }
.logo-name { letter-spacing:-.6px; }
.nav-cta,.btn { border-radius:8px; }
.btn { min-height:42px; padding:10px 17px; font-weight:650; }
html[data-theme="lime"] .btn.primary,html[data-theme="lime"] .home-hub .btn.primary { background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:none; }
html[data-theme="lime"] .btn.primary:hover,html[data-theme="lime"] .home-hub .btn.primary:hover { background:var(--accent-dim); border-color:var(--accent-dim); }
.wrap { padding-top:26px; }
a,button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
input,select,textarea { accent-color:var(--accent); }
.footer { margin-top:32px; }
.sport-dock,.sport-top-links { display:none; }
.home-page [hidden] { display:none!important; }
.home-page .wrap { max-width:1280px; }
.home-page .home-quick,.home-page .home-community-section,.home-page .home-news-section { visibility:visible; }
html[data-home-audience="guest"] .home-page .home-quick { display:grid!important; }
html[data-home-audience="guest"] .home-page .home-community-section,html[data-home-audience="guest"] .home-page .home-news-section { display:block!important; }
.home-hub { margin-bottom:16px; }
.home-member-hero { padding:25px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:0 3px 15px #20354c04; }
.home-member-hero::after { display:none; }
.home-member-head { grid-template-columns:58px minmax(0,1fr) auto; gap:14px; }
.home-member-avatar { width:58px; height:58px; border-color:var(--line); background:var(--surface-2); }
.home-member-identity>span { font:700 10px var(--mono); letter-spacing:1.4px; }
.home-member-identity h1 { margin-top:6px; font-size:25px; letter-spacing:-.5px; }
.home-member-identity p { color:var(--muted); font-size:12px; }
.home-member-actions .btn { min-height:44px; padding:11px 20px; font-size:14px; }
.home-member-summary.is-compact { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:22px; }
.home-member-summary>a { min-height:116px; padding:18px; background:var(--surface-2); border:1px solid var(--line-soft); border-radius:10px; }
.home-member-summary small { font-size:12px; }
.home-member-summary>a>b { margin-top:12px; font-size:32px; }
.home-member-summary>a>span { margin-top:10px; font-size:11px; }
.home-month-card { margin-top:14px; padding:18px; background:var(--surface); border-radius:11px; }
.home-month-head small { color:var(--muted); }
.home-month-head b { font-size:16px; }
.home-calendar-tabs button { min-height:32px; font-size:11px; }
.home-month-nav { grid-template-columns:36px minmax(148px,auto) 36px; }
.home-month-nav button { width:36px; min-height:36px; }
.home-month-nav button:hover,.home-month-nav button:focus-visible { color:var(--accent); border-color:var(--accent); }
.home-month-nav strong { font-size:13px; }
.home-month-summary { margin-top:12px; }
.home-month-summary em,.home-month-summary a { font-size:11px; }
.home-week-grid-detailed { min-width:672px; gap:8px; }
.home-week-grid .home-week-day { min-height:130px; padding:10px 8px; align-items:stretch; }
.home-week-day>header b { font-size:19px; }
.home-week-day>header small { font-size:11px; }
.home-month-day.today { outline-color:var(--accent); background:var(--accent-soft); }
.home-week-item { padding:6px; }
.home-week-item em { font-size:8px; }
.home-week-item span { font-size:11px; line-height:1.4; }
.home-month-legend { font-size:10px; margin-top:13px; }
.home-calendar-hint { display:none; }
html .home-page .home-quick { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding:0; border:0; background:none; margin:0 0 30px; }
.home-page .home-quick>a { display:flex; gap:12px; justify-content:flex-start; align-items:center; min-height:70px; padding:15px 18px; border:1px solid var(--line-soft); border-radius:10px; background:var(--surface); box-shadow:none; }
.home-page .home-quick>a:hover { border-color:var(--accent); background:var(--surface-2); }
.home-page .home-quick .ico,html[data-theme="lime"] .home-quick .ico { display:grid; place-items:center; margin:0; width:36px; height:36px; border-radius:10px; color:var(--accent); background:var(--accent-soft); font:500 22px var(--mono); }
.home-page .home-quick b { font-size:14px; font-weight:650; }
.home-section-head,.home-community-head { display:flex; align-items:end; justify-content:space-between; flex-direction:row; gap:16px; margin:0 0 14px; }
.hotv-kicker,.home-community-head>div>span { color:var(--muted); font:600 9px var(--mono); letter-spacing:1.4px; }
.home-section-head h2,.home-community-head h2 { margin-top:5px; font-size:21px; font-weight:700; }
.home-section-head>a,.home-community-head>a { color:var(--accent); font-size:12px; white-space:nowrap; }
.home-page .home-community-section { margin-bottom:26px; }
.home-compact-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.home-compact-item { padding:17px 14px; min-height:90px; border-radius:10px; }
.home-compact-copy em { font-size:9px; }.home-compact-copy>b { font-size:13px; }.home-compact-copy small { font-size:11px; }
.home-news-shell { border-radius:10px; background:var(--surface); border:1px solid var(--line-soft); padding:8px 20px 20px; }
.home-news-shell.home-news-compact { padding:0; }
.home-news-compact-item { padding:19px 20px; }
.home-news-compact-item em { color:var(--accent); font-size:10px; }
.home-news-compact-item b { font-size:15px; line-height:1.5; }
.home-news-compact-item small { margin-top:6px; font-size:11px; }
.home-news-empty { padding:20px; color:var(--muted); font-size:13px; }
.home-news-shell .feed-tabs { background:none; padding:8px 0; }
.feed-tabs button { min-height:42px; font-size:13px; }
.home-page .feed-item { padding:20px 0; }
.home-page .feed-item h4 { font-size:17px; }
.home-page .fi-sum { font-size:13px; }
.home-page .fi-thumb { width:136px; min-width:136px; height:94px; border-radius:7px; overflow:hidden; }
.fi-thumb>img { width:100%; height:100%; object-fit:cover; }
@media(min-width:961px) {
 html body:has(#side-nav),html[data-side-collapsed="1"] body:has(#side-nav) { padding-left:232px; }
 html body .side-nav,html[data-side-collapsed="1"] body .side-nav { width:232px; transform:none; }
 html body .side-collapse,html body .side-close,html body .nav-burger,html body .nav-mobile-logo { display:none; }
 html body.side-drawer-open .side-overlay { display:none; }
 .nav-inner { max-width:none; padding:0 30px; }
 .nav-page-title { display:block; font-size:15px; }
 .nav-tools { margin-left:auto; }
}
@media(max-width:960px) {
 body:has(.sport-dock) { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
 .nav-inner { height:60px; }
 .nav-burger { min-width:44px; min-height:44px; border:1px solid var(--line-soft); border-radius:8px; font-size:19px; }
 .sport-dock { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); position:fixed; z-index:105; inset:auto 0 0; padding:6px 8px calc(6px + env(safe-area-inset-bottom)); background:var(--surface); border-top:1px solid var(--line-soft); }
 .sport-dock>a { min-height:50px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; color:var(--muted); font-size:10px; }
 .sport-dock i { height:25px; font:400 24px/1 var(--mono); font-style:normal; }
 .sport-dock [aria-current="page"] { color:var(--accent); font-weight:750; }
 .sport-dock .sport-dock-log i { display:grid; place-items:center; width:43px; height:28px; background:var(--accent); color:var(--accent-contrast); border-radius:7px; font-size:26px; }
 body.side-drawer-open .sport-dock { visibility:hidden; }
 body:has(.vp-bar) .sport-dock,body:has(.bk-bar) .sport-dock,body:has(.ad-mobile-actions) .sport-dock { display:none; }
 .meetups-page .mu-post-btn { bottom:calc(82px + env(safe-area-inset-bottom)); }
 .toast { bottom:95px; }
 .sqscore-modal-backdrop { z-index:300; }
 .home-page .nav-mobile-logo .ball { display:block; }
}
@media(max-width:720px) {
 .home-page .wrap { padding:16px 14px 0; }
 .home-member-hero { padding:16px; border-radius:13px; }
 .home-member-head { grid-template-columns:44px minmax(0,1fr); gap:10px; }
 .home-member-avatar { width:44px; height:44px; }
 .home-member-identity h1 { font-size:19px; }
 .home-member-identity p { display:block; font-size:11px; line-height:1.6; }
 .home-member-actions { display:flex; grid-column:1/-1; }
 .home-member-actions .btn { width:100%; min-height:44px; font-size:14px; }
 .home-member-summary.is-compact { gap:8px; margin-top:14px; }
 .home-member-summary>a { min-height:105px; padding:12px; }
 .home-member-summary small,.home-member-summary>a>span { font-size:10px; }
 .home-member-summary>a>b { font-size:27px; }
 .home-month-card { padding:14px 10px; }
 .home-calendar-tabs button { min-height:36px; font-size:12px; }
 .home-month-nav { grid-template-columns:36px minmax(0,1fr) 36px; }
 .home-month-summary em,.home-month-summary a { font-size:10px; }
 .home-calendar-hint { display:block; margin-top:8px; text-align:right; color:var(--muted); font-size:10px; }
 html .home-page .home-quick { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-bottom:26px; }
 .home-page .home-quick>a { min-height:62px; padding:12px; gap:9px; }
 .home-page .home-quick b { font-size:12px; }
 .home-page .home-quick .ico,html[data-theme="lime"] .home-quick .ico { width:30px; height:30px; font-size:19px; }
 .home-section-head h2,.home-community-head h2 { font-size:19px; }
 .home-section-head>a,.home-community-head>a { font-size:11px; }
 .home-compact-list { grid-template-columns:1fr; gap:8px; }
 .home-compact-item { min-height:76px; padding:14px; }
 .home-news-shell { padding:4px 16px 16px; }
 .home-news-compact-item { padding:17px; }
 .home-news-compact-item b { font-size:14px; }
 .home-news-shell .feed-tabs { flex-wrap:nowrap; overflow:auto; gap:5px; }
 .feed-tabs button { flex-shrink:0; font-size:11px; padding:6px 10px; }
 .home-page .feed-item { gap:12px; padding:16px 0; }
 .home-page .feed-item h4 { font-size:14px; }
 .home-page .fi-thumb { width:78px; min-width:78px; height:72px; }
 .home-page .fi-meta { font-size:9px; gap:6px; flex-wrap:wrap; }
 .home-page .fi-sum { -webkit-line-clamp:2; font-size:11px; }
 .btn { min-height:44px; }
 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),select,textarea { font-size:16px; }
 html { scroll-padding-top:75px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

/* Full product workspace: persistent navigation, compact controls and clear content. */
.side-nav { background:#152d47!important; color:#edf3fc; border-right:0; }
.side-brand { padding:0 20px; border-color:#ffffff16; }
.side-brand .logo { color:#fff; }
.side-scroll { padding:20px 12px; }
.side-group { margin-bottom:23px; }
.side-group-label { color:#8faac6; font-size:10px; letter-spacing:1px; }
.side-home { border-color:#ffffff16; padding-bottom:16px; }
.side-nav .side-link,.side-nav .side-tool-link { color:#c1d0e1; border-radius:7px; }
.side-nav .side-link { min-height:44px; padding:11px 12px; }
.side-nav .side-link i,.side-nav .side-tool-link i { color:#91aecb; }
.side-nav .side-link:hover,.side-nav .side-tool-link:hover { color:#fff; background:#ffffff0c; }
.side-nav .side-link.on,.side-nav .side-tool-link.on { color:#fff; background:#315bbb; border-color:transparent; box-shadow:none; }
.side-nav .side-link.on i,.side-nav .side-tool-link.on i { color:#fff; }
.side-nav .side-tools summary b { color:#91aecb; }
.side-tool-list { border-color:#ffffff20; margin-left:24px; }
.side-nav .side-close { background:#ffffff0b; color:#fff; border-color:#ffffff30; }
.side-mobile-tools { border-color:#ffffff20; }
.side-mobile-tools .mobile-theme-btn,.side-mobile-tools .mobile-lang-btn { color:#d9e7f5; }
.wrap,.sqtools-page,.sqcheckin-page,.sqcal-page,.ghost-page { max-width:1260px; padding:28px 30px 48px; }
.page-head { margin-bottom:24px; padding:0 0 22px; border-bottom:1px solid var(--line); align-items:center; }
.page-head h1 { font-size:28px; line-height:1.25; letter-spacing:-.7px; }
.page-head .en { display:block; margin:8px 0 0; color:var(--muted); font:600 10px var(--mono); letter-spacing:1.4px; }
.page-head p { font-size:13px; line-height:1.7; color:var(--ink-2); }
.card,.widget,.vp-card { border:1px solid var(--line-soft); border-radius:12px; box-shadow:0 2px 4px #18324b03; }
.widget { padding:22px; }.widget h3 { font-size:17px; }
.chip,.chip-row button,.sort-group button { border-radius:7px; min-height:36px; }
.chip.on,.chip-row button.on,.sort-group button.on { background:var(--accent-soft); color:var(--accent); border-color:var(--accent); box-shadow:none; }
.search-box { min-height:44px; background:var(--surface); border:1px solid var(--line); border-radius:8px; }
.empty { padding:48px 24px; border:1px dashed var(--line); border-radius:12px; background:var(--surface); color:var(--muted); }
.modal { border-radius:16px; border:1px solid var(--line-soft); }
.modal input,.modal select,.modal textarea { border-radius:8px; }

/* Court discovery: group filters above photo-led cards. */
[data-page="venues"] .scope-row { padding:14px 16px 10px; background:var(--surface); border:1px solid var(--line-soft); border-bottom:0; border-radius:12px 12px 0 0; margin-bottom:0; }
[data-page="venues"] #city-chips,[data-page="venues"] #district-chips,[data-page="venues"] #vn-more-filters { background:var(--surface); border-left:1px solid var(--line-soft); border-right:1px solid var(--line-soft); margin:0; padding:7px 16px; }
[data-page="venues"] .venue-toolbar { padding:14px 16px; background:var(--surface); border:1px solid var(--line-soft); border-top:0; border-radius:0 0 12px 12px; margin-bottom:22px; }
.venue-grid { gap:18px; }
.venue-card { border-radius:12px; border:1px solid var(--line-soft); box-shadow:none; overflow:hidden; }
.venue-card:hover { transform:translateY(-2px); border-color:var(--accent); box-shadow:0 8px 24px #20354c0c; }
.venue-card .vc-cover { height:180px; }
.venue-card .vc-body { padding:18px; }
.venue-card .vc-name { font-size:17px; line-height:1.4; }
.venue-card .vc-foot { border-top:1px solid var(--line-soft); padding-top:12px; margin-top:14px; }
.venue-card .vc-tags span { border-radius:4px; background:var(--surface-2); }
.vp { max-width:1150px; padding:0 30px 40px; }.vp-card { padding:22px; }
.vp-top { border-top:3px solid var(--accent); }.vp-title { font-size:28px; }
.vp-tiles { gap:10px; }.vp-tile { background:var(--surface-2); border-radius:9px; }

/* Play & clubs: filters as one control area; readable activity rows. */
.mu-page { max-width:1260px; }
.mu-view-tabs { margin-bottom:18px; border-bottom:1px solid var(--line); padding:0; gap:24px; background:none; }
.mu-view-tabs button { border-radius:0; padding:12px 0; border:0; border-bottom:2px solid transparent; }
.mu-view-tabs button.on { color:var(--accent); background:none; border-bottom-color:var(--accent); }
.mu-toolbar { background:var(--surface); padding:16px; margin-bottom:0; border:1px solid var(--line-soft); border-bottom:0; border-radius:12px 12px 0 0; }
.mu-extra-filters { background:var(--surface); padding:0 16px 16px; border:1px solid var(--line-soft); border-top:0; border-radius:0 0 12px 12px; margin-top:0; margin-bottom:16px; }
.mu-extra-filters input,.mu-extra-filters select { min-height:44px; background:var(--surface-2); border-radius:8px; }
.mu-list { gap:14px; }.mu-card { border-radius:12px; padding:22px; border:1px solid var(--line-soft); box-shadow:none; }
.mu-card:hover { border-color:var(--accent); }.mu-card h3 { font-size:19px; }
.mu-weekday-filter { gap:8px; margin-bottom:18px; }
.ac-list { gap:18px; }.ac-card { border-radius:12px; box-shadow:none; }.ac-card h3 { font-size:20px; }
.ac-card-band { background:var(--accent); height:3px; }.ac-card-foot { background:var(--surface-2); }
.ad-hero { background:var(--surface); border-top:3px solid var(--accent); border-radius:12px; }
.ad-reading-card,.ad-action-card { border-radius:12px; box-shadow:none; }

/* Training tools: a usable two-column launcher instead of another billboard. */
.sqtools-hero { min-height:0; padding:0 0 24px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
.sqtools-hero::after,.sqtools-ball { display:none; }
.sqtools-hero h1 { margin-top:10px; font-size:30px; }
.sqtools-hero p:not(.sqtools-kicker) { margin-top:10px; font-size:13px; }
.sqtools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:24px; }
.sqtool-card { min-height:220px; padding:26px 24px 24px 124px; justify-content:center; border-radius:12px; }
.sqtool-card::after { display:none; }.sqtool-card:hover { box-shadow:0 8px 24px #20354c0b; transform:translateY(-2px); }
.sqtool-card h2 { font-size:21px; }.sqtool-card small { font-size:13px; }.sqtool-card>b { margin-top:15px; }
.sqtool-icon,.sqtool-assess-mark,.sqtool-checkin-mark,.sqtool-court,.sqtool-score-mark { left:24px!important; top:42px!important; }
.sqtool-court { width:76px; height:104px; }
.sqtool-score-mark { gap:3px; font-size:25px; }.sqtool-score-mark i { font-size:16px; }
.tp-profile-card { border-radius:12px; background:var(--surface); border:1px solid var(--line-soft); padding:22px; }
.tp-program-root { border-top:3px solid var(--accent); padding:24px; }
.skill-card { border-radius:12px; box-shadow:none; }.skill-copy h3 { font-size:24px; }
.ghost-layout { grid-template-columns:minmax(0,1fr) 300px; gap:20px; }
.ghost-stage { min-height:650px; }.ghost-settings { border-top:3px solid var(--accent); }
.ghost-head h1 { font-size:30px; }.ghost-court { box-shadow:none; background:linear-gradient(160deg,#203f59,#11293f); border-color:#829bb2; }
.court-message { color:#fff; }.court-message span { color:#a4c7ff; }.court-message small { color:#b4c6da; }
.ghost-btn.primary,.segmented button.on,.target.active,.t-mark.active { color:#fff; }
.ghost-btn { min-height:46px; }.segmented button { min-height:38px; }

/* Personal training records and calendars: compact summaries, spacious daily detail. */
.sqcheckin-head { padding:0 0 24px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
.sqcheckin-head::after { display:none; }.sqcheckin-head h1 { font-size:28px; }
.sqcheckin-head .btn { border-radius:8px; }.sqcheckin-stats { gap:14px; margin:22px 0; }
.sqcheckin-stat { padding:18px; border-radius:10px; background:var(--surface); border-top:3px solid var(--accent); }
.sqcheckin-stat b { font-size:30px; }.sqcheckin-stat span { font-size:12px; }
.sqcheckin-calendar,.sqcheckin-records,.sqcheckin-leaderboard,.sqcheckin-heatmap { border-radius:12px; box-shadow:none; }
.sqcheckin-record summary { padding:18px; }.sqcheckin-calendar-day { border-radius:8px; }
.sqcal-head { padding-bottom:22px; border-bottom:1px solid var(--line); }.sqcal-head h1 { font-size:28px; }
.sqcal-summary { gap:12px; }.sqcal-summary>div { background:var(--surface); border:1px solid var(--line-soft); border-radius:10px; padding:16px; }
.sqcal-card,.sqcal-agenda,.sqcal-followed { border-radius:12px; box-shadow:none; }
.sqcal-toolbar { padding:18px; background:var(--surface-2); }.sqcal-day.selected { background:var(--accent-soft); }
.sqeventcal-shell { border-radius:12px; border:1px solid var(--line-soft); }
.sqeventcal-head { background:var(--surface-2); padding:20px; }
.stat-strip { padding:18px; border:1px solid var(--line-soft); background:var(--surface); border-radius:12px; gap:18px; }
.event-card { margin-top:12px; padding:20px; }.ec-date { background:var(--accent-soft); color:var(--accent); border-radius:9px; padding:12px; }
.event-card h3 { font-size:18px; }.event-viewbar { margin:20px 0; }

/* Account, assessment and forms share the same clear panel system. */
[data-page="profile"] .home-grid { grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr); gap:20px; }
.pf-avatar-card { background:var(--surface-2); border-radius:10px; padding:18px; }
.info-grid>div { padding:12px; border-bottom:1px solid var(--line-soft); }
.auth-shell { max-width:480px; margin:24px auto; }.auth-card { padding:32px; border-top:3px solid var(--accent); }
.auth-tabs { gap:18px; border-bottom:1px solid var(--line); margin-bottom:24px; }.auth-tabs button { background:none; border-radius:0; padding:12px 4px; }
.auth-field input { min-height:48px; border-radius:8px; background:var(--surface-2); }
.assess-shell { max-width:860px; margin:0 auto; }.assess-card { border-radius:12px; box-shadow:none; }
.fr-summary { gap:14px; }.fr-panel,.fr-search,.fr-invite-entry { padding:22px; }
.pt-hero { border-radius:12px; background:var(--surface); border-top:3px solid var(--accent); }
.bk-venue { background:var(--surface); border-radius:12px; padding:20px; border:1px solid var(--line-soft); }
.bk-days { gap:9px; margin:20px 0; }.bk-days button { border-radius:9px; min-height:60px; }
.sqscore-modal-backdrop { z-index:300; }
.sqcheckin-calendar-grid .sqcheckin-calendar-day,.sqcheckin-calendar-grid .sqcheckin-calendar-blank { width:100%; min-width:0; height:auto; justify-self:stretch; }
.sqcheckin-calendar-day.is-checked { background:var(--accent); color:#fff; box-shadow:none; }
.sqcheckin-calendar-day.is-checked:hover { box-shadow:none; }
.sqcheckin-calendar-day.is-checked i { background:#20354c; color:#fff; border-color:var(--surface); }
.sqcheckin-stat em { display:block; margin-top:8px; color:var(--muted); font-size:11px; font-style:normal; }
.sqcheckin-heat-day { background:var(--surface-2); border-radius:5px; }
.sqcheckin-heat-day.is-checked { background:var(--accent-soft); }
.scorekeeper-page { background:#101e2e; }
.sqscore-setup { padding:28px; background:#182b40; border:1px solid #30445b; border-radius:14px; }
.sqscore-setup h1 { font-size:32px; }.sqscore-intro { color:#b8c8d9; }
.sqscore-settings-panel { margin-top:24px; border-color:#30445b; }
.sqscore-player-field,.sqscore-setting-row,.sqscore-rule { border-color:#30445b; }
.sqscore-player-field input { background:#112235; border-color:#38516b; }
.sqscore-pills { border-radius:8px; background:#101f31; }.sqscore-pills button { border-radius:7px; }
.sqscore-pills button.selected { background:#315bbb; }.sqscore-start { width:100%; height:54px; border-radius:8px; margin:24px 0 12px; box-shadow:none; }
.sqscore-start b { font-size:17px; }.sqscore-start small { display:none; }
.sqscore-history { padding:0 20px; background:#182b40; border:1px solid #30445b; border-radius:12px; }

@media(min-width:961px) and (max-width:1200px) {
 .venue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ghost-layout { grid-template-columns:minmax(0,1fr) 270px; gap:14px; }
 .ghost-settings { padding:16px; }.ghost-head { gap:16px; }
}
@media(max-width:960px) {
 .nav .nav-burger { position:static; inset:auto; order:-2; margin:0; }
 .nav-mobile-logo { order:-1; margin-right:auto; }
 .wrap,.sqtools-page,.sqcheckin-page,.sqcal-page,.ghost-page { padding:22px 18px 38px; }
 .ghost-layout { grid-template-columns:1fr; }
 .ghost-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 [data-page="profile"] .home-grid { grid-template-columns:1fr; }
}
@media(max-width:640px) {
 .wrap,.sqtools-page,.sqcheckin-page,.sqcal-page,.ghost-page { padding:20px 14px 32px; }
 .page-head { padding-bottom:18px; margin-bottom:18px; gap:14px; }
 .page-head h1,.sqtools-hero h1,.sqcheckin-head h1,.sqcal-head h1,.ghost-head h1 { font-size:24px; }
 .page-head .en { font-size:9px; }.page-head p { font-size:12px; }
 .sqtools-grid { grid-template-columns:1fr; gap:12px; margin-top:18px; }
 .sqtool-card { min-height:180px; padding:22px 18px 22px 105px; }
 .sqtool-assess-mark,.sqtool-checkin-mark { width:60px; height:60px; }
 .sqtool-icon,.sqtool-assess-mark,.sqtool-checkin-mark,.sqtool-court,.sqtool-score-mark { left:18px!important; top:30px!important; }
 .sqtool-court { width:65px; height:90px; }.sqtool-score-mark { font-size:21px; }
 .sqtool-card h2 { font-size:19px; }.sqtool-card small { font-size:12px; }
 .sqtool-card p { font-size:8px; }.sqtool-index { font-size:9px; }
 [data-page="venues"] .scope-row,[data-page="venues"] #city-chips,[data-page="venues"] #district-chips,[data-page="venues"] #vn-more-filters,[data-page="venues"] .venue-toolbar { padding-left:12px; padding-right:12px; }
 .venue-grid { gap:14px; }.venue-card .vc-cover { height:170px; }
 .mu-toolbar { padding:12px; gap:8px; }.mu-extra-filters { padding:0 12px 12px; gap:8px; }
 .mu-card { padding:16px; }.mu-card h3 { font-size:17px; }.mu-view-tabs { gap:18px; }
 .sqcheckin-stats { gap:8px; }.sqcheckin-stat { padding:13px 10px; }.sqcheckin-stat b { font-size:25px; }
 .sqcheckin-head { gap:12px; }.sqcheckin-record summary { padding:14px 10px; }
 .sqcal-summary>div { padding:12px; }.sqcal-summary { gap:8px; }.sqcal-toolbar { padding:12px; }
 .ghost-head { flex-direction:column; align-items:flex-start; gap:14px; }
 .ghost-head-actions { flex-direction:row; }.ghost-icon-btn { min-height:40px; }
 .ghost-stage { min-height:0; padding:12px; }.ghost-court { height:min(470px,65vh); max-width:100%; }
 .ghost-settings { display:block; }.ghost-btn { padding:12px 8px; }
 .vp { padding:0 14px 32px; }.vp-card { padding:18px; }.vp-title { font-size:24px; }
 .auth-card { padding:24px; }.auth-shell { margin:12px auto; }
 .event-card { padding:14px; }.ec-date { padding:9px; }
}

/* Final usability fixes from rendered page review. */
.vl-page { max-width:1120px; padding:28px 30px 48px; }
.vl-head { padding-bottom:22px; border-bottom:1px solid var(--line); margin-bottom:22px; }
.vl-head h1 { font-size:28px; }.vl-sec,.vl-card,.vl-home { border-radius:12px; box-shadow:none; }
.sp-hero { padding:24px; border-radius:12px; background:var(--surface); border:1px solid var(--line-soft); }
.sp-hero-orbit { display:none; }.sp-panel,.sp-rule-card { border-radius:12px; box-shadow:none; }
.pt-panel,.pt-rule-box { border-radius:12px; box-shadow:none; }.pt-tabs { border-bottom:1px solid var(--line); gap:18px; }
.pt-tabs button { border-radius:7px 7px 0 0; }.pt-panel-head { padding-bottom:16px; }
.art-shell { max-width:900px; margin:auto; }.art-page { background:var(--surface); padding:32px; border:1px solid var(--line-soft); border-radius:12px; }
.art-title { font-size:30px; line-height:1.45; }.art-body { font-size:16px; line-height:1.9; }
.art-share-actions { padding:16px 0; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); }
.vm-toolbar { background:var(--surface); border:1px solid var(--line-soft); border-radius:12px; padding:14px; }
.vm-results,.vm-map-panel { border-radius:12px; overflow:hidden; }.vd-grid { gap:18px; }
.sqcal-summary .dot.city,.sqcal-legend i.city,.sqcal-dots i.city,.sqcal-item.city .sqcal-item-dot { background:#438a90; }
.sqcal-pills i.city { background:#438a901a; color:#438a90; }
@media(min-width:961px) { .sqcal-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:640px) {
 .vl-page { padding:20px 14px 32px; }.vl-head h1 { font-size:24px; }
 .art-page { padding:20px 16px; }.art-title { font-size:23px; }.art-body { font-size:15px; }
 .sp-hero { padding:18px; }.vm-toolbar { padding:12px; }
}
.search-box:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.search-box input:focus-visible { outline:0; }
.vp-bar { background:var(--surface); border-color:var(--line); box-shadow:0 -4px 20px #18324b0a; }
@media(min-width:961px) { .vp-bar { left:calc(50% + 116px); width:min(720px,calc(100% - 270px)); } }
@media(max-width:640px) {
 .ghost-stage .run-controls { order:-1; margin-bottom:12px; }
 .sqscore-setup { padding:20px 16px; }.sqscore-start { width:100%; height:52px; margin:22px 0 12px; border-radius:8px; }
 .scorekeeper-page { padding-bottom:0!important; }
}
