﻿:root {
    --court: #2c5aa0;
    --court-2: #6aa0d8;
    --court-deep: #173a6e;
    --night: #10261d;
    --surround: #2e6b4f;
    --surround-deep: #1d4a36;
    --ball: #e3f24b;
    --ball-deep: #b4c62a;
    --ink: #10261d;
    --muted: #586a62;
    --paper: #f4f6f1;
    --card: #ffffff;
    --line: #dde3dc;
    --line-strong: #c3cdc4;
    --clay: #d4673f;
    --cobalt: #2c5aa0;
    --olive: #2e6b4f;
    --ok: #1e8a55;
    --warn: #b7791f;
    --bad: #c2412d;
    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 18px;
    --shadow: 0 1px 2px rgba(16, 38, 29, .06), 0 10px 30px -14px rgba(16, 38, 29, .25);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Anybody", "Archivo", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --bs-body-font-family: var(--font);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-link-color-rgb: 44, 90, 160;
    --bs-border-color: var(--line);
}

@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }

::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }

@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

.site-nav, .acct-nav { view-transition-name: chrome; }

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-variation-settings: "wdth" 100;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
    font-family: var(--display);
    font-weight: 800;
    font-stretch: 88%;
    font-variation-settings: "wdth" 88;
    letter-spacing: -.01em;
    line-height: 1.02;
    color: inherit;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
h4 { font-size: .98rem; letter-spacing: 0; }
.mono { font-family: var(--mono); }

p { max-width: 68ch; }

a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--night); }

.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small-print { font-size: .86rem; color: var(--muted); }

:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.btn { font-weight: 700; border-radius: var(--radius-m); padding: .62rem 1.2rem; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s; border-width: 2px; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { padding: .38rem .85rem; font-size: .86rem; }
.btn-ball { background: var(--ball); color: var(--night); border-color: var(--ball); }
.btn-ball:hover, .btn-ball:focus-visible { background: #e4fb6a; border-color: #e4fb6a; color: var(--night); box-shadow: 0 8px 26px -8px rgba(214, 242, 74, .8); }
.btn-go { display: inline-flex; align-items: center; gap: 12px; padding: .62rem 1.25rem .62rem .7rem; }
.btn-go .go-ic { width: 24px; height: 24px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); box-shadow: inset -2px -3px 0 rgba(0, 0, 0, .12); position: relative; transition: transform .5s var(--ease); }
.btn-go .go-ic::after { content: ""; position: absolute; left: 6px; top: 6px; width: 3px; height: 3px; border-radius: 50%; background: rgba(90, 105, 10, .6); box-shadow: 7px 2px 0 rgba(90, 105, 10, .6), 3px 8px 0 rgba(90, 105, 10, .6), 10px 9px 0 rgba(90, 105, 10, .6); }
.btn-go:hover .go-ic { transform: translateX(4px) rotate(220deg); }
.btn-ball.btn-go .go-ic { background: var(--night); box-shadow: none; }
.btn-ball.btn-go .go-ic::after { background: var(--ball); box-shadow: 7px 2px 0 var(--ball), 3px 8px 0 var(--ball), 10px 9px 0 var(--ball); }
.btn-court { background: var(--court); color: #fff; border-color: var(--court); }
.btn-court:hover, .btn-court:focus-visible { background: var(--court-deep); border-color: var(--court-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-light-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-light-line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn-danger-soft { background: #fff; color: var(--bad); border-color: #f0c9c0; }
.btn-danger-soft:hover { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn-ok-soft { background: #fff; color: var(--ok); border-color: #bfe3cf; }
.btn-ok-soft:hover { background: var(--ok); color: #fff; border-color: var(--ok); }

.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: #fff; transition: background-color .35s, box-shadow .35s, transform .45s var(--ease); }
.site-nav.solid { background: var(--night); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.site-nav.tucked { transform: translateY(-100%); }
.site-nav .wrap { display: flex; align-items: center; gap: 26px; min-height: 70px; border-bottom: 2px solid rgba(255, 255, 255, .14); }
.site-nav.solid .wrap { border-bottom-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.35rem; letter-spacing: -.01em; text-transform: uppercase; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f1fb8a, var(--ball) 45%, var(--ball-deep)); position: relative; box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .12); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(200deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(110, 125, 10, .55); }
.brand-mark::before { left: 8px; top: 9px; box-shadow: 9px 2px 0 rgba(110, 125, 10, .55), 3px 9px 0 rgba(110, 125, 10, .55); }
.brand-mark::after { right: 6px; bottom: 6px; }
.site-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-links a { position: relative; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; padding: 23px 12px; transition: color .15s; }
.site-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--ball); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-links a:hover, .site-links a.active { color: #fff; }
.site-links a:hover::after, .site-links a.active::after { transform: none; }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; }

@media (max-width: 860px) {
    .site-nav { background: var(--night); }
    .site-nav .wrap { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
    .site-links a { padding: 10px 0; }
    .nav-toggle { display: block; }
    .site-links, .nav-actions { display: none; width: 100%; }
    .site-nav.open .site-links { display: flex; flex-direction: column; }
    .site-nav.open .nav-actions { display: flex; margin: 6px 0 10px; }
}

.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--court-deep) 0%, #163c86 60%, var(--court) 100%); color: #fff; min-height: min(88vh, 780px); display: flex; align-items: center; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: relative; z-index: 2; padding: 72px 0 96px; max-width: 600px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .96; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
.hero p.lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; margin-bottom: 30px; }
.hero-search { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 520px; box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .55); }
.hero-search input { flex: 1; border: 0; outline: 0; padding: 0 16px; font-size: 1rem; min-width: 0; color: var(--ink); background: transparent; }
.hero-search input:focus-visible { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--ball), 0 18px 50px -18px rgba(0, 0, 0, .55); }
.hero-meta { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta div { font-size: .92rem; color: rgba(255, 255, 255, .7); }
.hero-meta strong { display: block; font-size: 1.6rem; color: #fff; font-stretch: 120%; font-variation-settings: "wdth" 120; font-variant-numeric: tabular-nums; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 61, .82) 0%, rgba(10, 26, 61, .45) 42%, rgba(10, 26, 61, 0) 70%); pointer-events: none; z-index: 1; }

@media (max-width: 860px) {
    .hero::after { background: linear-gradient(180deg, rgba(10, 26, 61, .55) 0%, rgba(10, 26, 61, .82) 60%); }
    .hero-copy { padding: 56px 0 64px; }
}

.kitchen-rule { position: relative; height: 22px; margin: 0; border: 0; opacity: 1; background: none; }
.kitchen-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line-strong); }
.kitchen-rule::after { content: ""; position: absolute; left: 50%; top: 0; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--ball); box-shadow: inset -3px -3px 0 var(--ball-deep); }

.section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { margin: 8px 0 0; color: var(--muted); }

.open-list { border-top: 2px solid var(--ink); }
.open-row { display: grid; grid-template-columns: 148px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-strong); color: inherit; text-decoration: none; position: relative; }
.open-row:hover { color: inherit; }
.open-row:hover .open-art { transform: perspective(600px) rotateX(10deg) rotateY(-8deg) scale(1.03); }
.open-art { width: 148px; aspect-ratio: 5 / 3; border-radius: var(--radius-s); overflow: hidden; transition: transform .45s var(--ease); background: var(--court); }
.open-art svg, .open-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.open-row h3 { margin: 0 0 4px; font-size: 1.35rem; }
.open-row .where { color: var(--muted); font-size: .95rem; }
.next-slots { display: flex; gap: 6px; flex-wrap: wrap; }
.slot-pill { font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6f0e9; color: var(--surround-deep); font-variant-numeric: tabular-nums; }
.slot-pill.none { background: #eef1f6; color: var(--muted); }

@media (max-width: 860px) {
    .open-row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
    .open-art { width: 96px; }
    .open-row .next-slots, .open-row .go { grid-column: 2; }
}

.tour-list { display: grid; gap: 0; }
.tour-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); align-items: center; text-decoration: none; color: inherit; }
.tour-row:hover { color: inherit; }
.tour-row:hover .tour-date { background: var(--ball); color: var(--night); }
.tour-date { border-radius: var(--radius-m); background: var(--court-deep); color: #fff; text-align: center; padding: 10px 0 12px; transition: background-color .2s, color .2s; }
.tour-date b { display: block; font-size: 2rem; line-height: 1; font-stretch: 125%; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; }
.tour-date span { font-size: .8rem; font-weight: 700; opacity: .8; }
.tour-row h3 { margin: 0 0 4px; }
.tour-fee { text-align: right; font-weight: 800; font-size: 1.15rem; }
.tour-fee small { display: block; font-weight: 500; font-size: .82rem; color: var(--muted); }
.cap-bar { height: 6px; border-radius: 999px; background: #e3e9f3; overflow: hidden; margin-top: 10px; max-width: 280px; }
.cap-bar i { display: block; height: 100%; background: var(--surround); border-radius: inherit; transform-origin: left; animation: grow 1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

@media (max-width: 640px) {
    .tour-row { grid-template-columns: 72px minmax(0, 1fr); }
    .tour-fee { grid-column: 2; text-align: left; }
}

.split-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-l); overflow: hidden; }
.split-paths > div { padding: 48px; }
.path-player { background: var(--surround); color: #fff; }
.path-owner { background: var(--night); color: #fff; }
.split-paths ol { list-style: none; padding: 0; margin: 26px 0 30px; counter-reset: step; }
.split-paths li { counter-increment: step; position: relative; padding: 14px 0 14px 52px; border-top: 1px solid rgba(255, 255, 255, .18); }
.split-paths li::before { content: counter(step); position: absolute; left: 0; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.split-paths li strong { display: block; }
.split-paths li span { opacity: .78; font-size: .95rem; }

@supports (animation-timeline: view()) {
    .split-paths li { animation: line-in linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    @keyframes line-in { from { opacity: .15; transform: translateX(-14px); } }
}

@media (max-width: 860px) {
    .split-paths { grid-template-columns: 1fr; }
    .split-paths > div { padding: 32px 24px; }
}

.site-footer { background: var(--night); color: rgba(255, 255, 255, .72); padding: 56px 0 40px; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

.page-head { background: var(--surround-deep); color: #fff; padding: 140px 0 56px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; bottom: -110px; width: 520px; height: 260px; border: 3px solid rgba(255, 255, 255, .12); border-bottom: 0; transform: rotate(-8deg); }
.page-head::before { content: ""; position: absolute; right: 140px; bottom: -110px; width: 3px; height: 240px; background: rgba(255, 255, 255, .12); transform: rotate(-8deg); }
.page-head p { color: rgba(255, 255, 255, .78); margin: 10px 0 0; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: -26px 0 30px; position: relative; z-index: 2; background: #fff; border-radius: var(--radius-m); padding: 12px; box-shadow: var(--shadow); }
.filters .form-control, .filters .form-select { border-radius: 999px; min-width: 180px; flex: 1; }

.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; }
.fac-card { text-decoration: none; color: inherit; display: block; }
.fac-card:hover { color: inherit; }
.fac-card .art { aspect-ratio: 16 / 10; border-radius: var(--radius-m); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); background: var(--court); will-change: transform; }
.fac-card .art svg, .fac-card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fac-card:hover .art { box-shadow: 0 24px 40px -22px rgba(16, 44, 99, .55); }
.fac-card h3 { margin: 14px 0 2px; }
.fac-card .row-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .93rem; }

.stars { display: inline-flex; gap: 2px; vertical-align: -2px; }
.stars i { width: 14px; height: 14px; border-radius: 50%; background: #d8dfeb; }
.stars i.on { background: var(--ball-deep); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .08); }
.stars i.half { background: linear-gradient(90deg, var(--ball-deep) 50%, #d8dfeb 50%); }

.fac-hero { position: relative; height: clamp(320px, 46vw, 520px); overflow: hidden; background: var(--court-deep); }
.fac-hero svg, .fac-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fac-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 61, .55) 0%, rgba(10, 26, 61, 0) 35%, rgba(10, 26, 61, .82) 100%); }
.fac-title { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; color: #fff; }
.fac-title h1 { margin: 0 0 8px; }
.fac-title .where { color: rgba(255, 255, 255, .84); }

.fac-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding: 44px 0 80px; align-items: start; }
.fac-aside { position: sticky; top: 90px; }
@media (max-width: 960px) { .fac-layout { grid-template-columns: 1fr; } .fac-aside { position: static; } }

.block { margin-bottom: 44px; }
.block > h2 { font-size: 1.55rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }

.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.amenities li { padding: 6px 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: .9rem; font-weight: 600; }

.court-table { width: 100%; border-collapse: collapse; }
.court-table th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 0 12px 10px 0; }
.court-table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.court-table td:last-child, .court-table th:last-child { text-align: right; padding-right: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 36px 14px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }
.faq .cat { font-size: .78rem; font-weight: 700; color: var(--surround); margin-right: 8px; }

.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--court); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.avatar.alt { background: var(--surround); }
.rating-big { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.rating-big b { font-size: 3rem; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 1; }

.book-card { background: #fff; border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.book-card .price { font-size: 2rem; font-weight: 800; font-stretch: 120%; font-variation-settings: "wdth" 120; }
.book-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 18px 0; font-size: .94rem; }
.book-card dt { color: var(--muted); font-weight: 500; }
.book-card dd { margin: 0; text-align: right; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }

.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { position: relative; background: radial-gradient(120% 80% at 30% 20%, var(--court) 0%, var(--court-deep) 50%, var(--night) 100%); color: #fff; overflow: hidden; display: flex; align-items: flex-end; padding: 48px; }
.auth-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-art .quote { position: relative; z-index: 2; max-width: 420px; }
.auth-art .quote h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 110px 24px 48px; background: var(--paper); }
.auth-form .inner { width: min(440px, 100%); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { min-height: 260px; padding: 110px 24px 28px; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-control, .form-select { border-radius: var(--radius-s); border: 1.5px solid var(--line-strong); padding: .62rem .8rem; font-size: .98rem; background-color: #fff; transition: border-color .15s, box-shadow .15s; }
.form-control:focus, .form-select:focus { border-color: var(--court); box-shadow: 0 0 0 4px rgba(31, 86, 181, .15); }
textarea.form-control { min-height: 110px; }
.form-check-input:checked { background-color: var(--court); border-color: var(--court); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); font-size: .85rem; font-weight: 700; }
.err { color: var(--bad); font-size: .86rem; font-weight: 600; display: block; margin-top: 4px; }
.alert-inline { border-radius: var(--radius-s); padding: 12px 14px; font-weight: 600; font-size: .94rem; margin-bottom: 16px; border: 1.5px solid; }
.alert-inline.bad { background: #fdf0ed; border-color: #f2c7bd; color: #8f2b1b; }
.alert-inline.ok { background: #ecf7f0; border-color: #bfe3cf; color: #145c39; }
.alert-inline.info { background: #edf3fd; border-color: #c7d8f5; color: #183f86; }

.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: #eef1f6; color: var(--muted); }
.chip-confirmed, .chip-verified, .chip-approved, .chip-published, .chip-active, .chip-registered { background: #e3f4ea; color: #146a40; }
.chip-pending, .chip-submitted, .chip-draft { background: #fff4dc; color: #8a5a0a; }
.chip-unpaid { background: #fdeee6; color: #9a4317; }
.chip-cancelled, .chip-rejected, .chip-void, .chip-inactive, .chip-suspended, .chip-withdrawn, .chip-removed { background: #fbe9e6; color: #9b2c1c; }
.chip-completed, .chip-closed { background: #e6edf9; color: #1d4592; }

.toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: grid; gap: 10px; }
.toast-pop { background: var(--night); color: #fff; border-radius: var(--radius-m); padding: 14px 18px 14px 16px; min-width: 260px; max-width: 380px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); display: flex; gap: 12px; align-items: flex-start; animation: toast-in .45s var(--ease) both; font-weight: 600; }
.toast-pop::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); flex: none; margin-top: 6px; }
.toast-pop.warn::before { background: #f5b84a; }
.toast-pop.bad::before { background: #ff7a5c; }
.toast-pop.leaving { animation: toast-out .3s ease-in both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }

body.acct { background: var(--paper); --accent: var(--ball); --accent-ink: var(--night); --side-bg: #10261d; --side-2: #173a2b; --hero: var(--surround-deep); }
body.acct[data-role="owner"] { --accent: #8ec5ff; --accent-ink: #0e2347; --side-bg: #0f2347; --side-2: #173a6e; --hero: var(--court); }
body.acct[data-role="admin"] { --accent: #ff9d6e; --accent-ink: #2a1208; --side-bg: #16181d; --side-2: #23262e; --hero: #2a2d35; }

body.acct { --eyebrow: "Player account"; --art: url(img/hero-player.svg); }
body.acct[data-role="owner"] { --eyebrow: "Facility owner"; --art: url(img/hero-owner.svg); }
body.acct[data-role="admin"] { --eyebrow: "League office"; --art: url(img/hero-admin.svg); }
body.acct[data-page="reserve"], body.acct[data-page="reservations"], body.acct[data-page="courts"] { --art: url(img/art-booking.svg); }
body.acct[data-page="payments"], body.acct[data-page="paymentrecords"] { --art: url(img/art-payments.svg); }
body.acct[data-page="tournaments"], body.acct[data-page="participants"] { --art: url(img/art-tournament.svg); }
body.acct[data-page="messages"] { --art: url(img/art-messages.svg); }
body.acct[data-page="reviews"], body.acct[data-page="faqs"] { --art: url(img/art-reviews.svg); }
body.acct[data-page="reports"], body.acct[data-page="logs"] { --art: url(img/art-reports.svg); }
body.acct[data-page="profile"], body.acct[data-page="facility"], body.acct[data-page="status"], body.acct[data-page="settings"], body.acct[data-page="personnel"] { --art: url(img/art-profile.svg); }
body.acct[data-page="users"], body.acct[data-page="facilities"] { --art: url(img/hero-admin.svg); }

.acct-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(1200px 600px at 100% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), radial-gradient(900px 500px at 0 100%, color-mix(in srgb, var(--hero) 10%, transparent), transparent 60%); }
.acct-bg i { position: absolute; width: 760px; height: 346px; border: 2px solid color-mix(in srgb, var(--ink) 6%, transparent); background: linear-gradient(90deg, transparent calc(35% - 1px), color-mix(in srgb, var(--ink) 6%, transparent) calc(35% - 1px) 35%, transparent 35% calc(65% - 1px), color-mix(in srgb, var(--ink) 6%, transparent) calc(65% - 1px) 65%, transparent 65%), linear-gradient(90deg, transparent calc(50% - 2px), color-mix(in srgb, var(--ink) 9%, transparent) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); animation: bg-drift 46s ease-in-out infinite alternate; }
.acct-bg i:nth-child(1) { left: -220px; top: 52%; transform: rotate(-14deg); }
.acct-bg i:nth-child(2) { right: -260px; top: 22%; transform: rotate(18deg); animation-duration: 58s; }
.acct-bg i:nth-child(3) { left: 38%; top: 108%; transform: rotate(-4deg); animation-duration: 70s; animation-direction: alternate-reverse; }
@keyframes bg-drift { to { translate: 60px -90px; } }

.acct-nav { position: sticky; top: 0; z-index: 1000; background: var(--side-bg); color: rgba(255, 255, 255, .78); transition: box-shadow .3s; }
.acct-nav.solid { box-shadow: 0 14px 36px -22px rgba(0, 0, 0, .6); }
.acct-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent) 50%, var(--accent)); background-size: 200% 100%; animation: nav-line 9s linear infinite; }
.acct-nav::before { content: ""; position: absolute; bottom: -4px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); z-index: 2; animation: nav-ball 14s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes nav-line { to { background-position: -200% 0; } }
@keyframes nav-ball { from { transform: translateX(8px) rotate(0); } to { transform: translateX(calc(100vw - 30px)) rotate(900deg); } }
.acct-nav-in { max-width: 1360px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 18px; }
.acct-nav .brand { font-size: 1.2rem; flex: none; }
.acct-nav .brand-mark { width: 26px; height: 26px; }
.nav-role { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; color: rgba(255, 255, 255, .62); padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; flex: none; }
.role-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); } }
.tnav { flex: 1; min-width: 0; }
.tnav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.tnav-item { position: relative; }
.tnav-item > a, .tnav-item > button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px; border: 0; border-radius: 11px; background: transparent; color: rgba(255, 255, 255, .78); font: inherit; font-weight: 650; font-size: .9rem; text-decoration: none; white-space: nowrap; position: relative; transition: background-color .2s, color .2s; }
.tnav-item > a i, .tnav-item > button > i:first-child { font-size: 1rem; opacity: .8; transition: transform .35s var(--ease), color .2s; }
.tnav-item > a:hover, .tnav-item > button:hover, .nav-drop.open > button { background: rgba(255, 255, 255, .08); color: #fff; }
.tnav-item > a:hover i, .tnav-item > button:hover > i:first-child { transform: translateY(-2px) rotate(-8deg); color: var(--accent); }
.tnav-item > a.active, .nav-drop.active > button { background: var(--side-2); color: #fff; }
.tnav-item > a.active i, .nav-drop.active > button > i:first-child { color: var(--accent); opacity: 1; }
.tnav-item > a.active::after, .nav-drop.active > button::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: 22px; height: 4px; margin-left: -11px; border-radius: 4px 4px 0 0; background: var(--accent); }
.caret { font-size: .7rem !important; opacity: .6; transition: transform .3s var(--ease); }
.nav-drop.open .caret { transform: rotate(180deg); }
.badge-dot { background: var(--accent); color: var(--accent-ink); font-size: .68rem; font-weight: 800; border-radius: 6px; padding: 1px 6px; line-height: 1.4; }
.tnav-item > a .badge-dot, .tnav-item > button .badge-dot { animation: badge-pop 2.8s ease-in-out infinite; }
@keyframes badge-pop { 0%, 80%, 100% { transform: none; } 88% { transform: scale(1.25); } }

.drop { position: absolute; top: calc(100% + 12px); left: 0; min-width: 236px; padding: 7px; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(8, 20, 14, .45), 0 0 0 1px rgba(16, 38, 29, .06); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left; transition: opacity .2s, transform .28s var(--ease), visibility 0s .28s; z-index: 5; }
.drop::before { content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.nav-drop.open > .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .28s var(--ease), visibility 0s; }
.drop a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 650; font-size: .9rem; text-decoration: none; opacity: 0; transform: translateX(-6px); transition: background-color .15s, opacity .25s, transform .3s var(--ease); }
.nav-drop.open .drop a { opacity: 1; transform: none; }
.nav-drop.open .drop a:nth-of-type(2) { transition-delay: 0s, .04s, .04s; }
.nav-drop.open .drop a:nth-of-type(3) { transition-delay: 0s, .08s, .08s; }
.nav-drop.open .drop a:nth-of-type(4) { transition-delay: 0s, .12s, .12s; }
.drop a i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--hero) 10%, #fff); color: var(--hero); font-size: .95rem; flex: none; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.drop a:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--ink); }
.drop a:hover i { background: var(--side-bg); color: var(--accent); transform: rotate(-8deg) scale(1.06); }
.drop a.active { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.drop .badge-dot { margin-left: auto; background: var(--side-bg); color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.nav-clock { font-size: .72rem; color: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; gap: 8px; }
.appbar-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.umenu { position: relative; }
.umenu-btn { display: inline-flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-weight: 650; font-size: .86rem; transition: background-color .2s, border-color .2s; }
.umenu-btn:hover, .umenu.open .umenu-btn { background: rgba(255, 255, 255, .1); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.umenu-btn .avatar, .drop-head .avatar { width: 32px; height: 32px; font-size: .75rem; background: var(--accent); color: var(--accent-ink); }
.umenu-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-user { left: auto; right: 0; min-width: 260px; transform-origin: top right; }
.drop-user::before { left: auto; right: 22px; }
.drop-head { display: flex; gap: 10px; align-items: center; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.drop-head b { display: block; font-size: .92rem; line-height: 1.2; }
.drop-head small { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.drop a.drop-out i { background: #fbe9e6; color: #9b2c1c; }
.tnav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.tnav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.acct-nav.open .tnav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.acct-nav.open .tnav-toggle span:nth-child(2) { opacity: 0; }
.acct-nav.open .tnav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main { max-width: 1360px; margin: 0 auto; padding: 26px 24px 70px; min-width: 0; }

.acct .topbar, .acct .hello { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; min-height: 220px; padding: 34px 34px 30px; margin-bottom: 24px; border-radius: 24px; background: var(--side-bg); color: #fff; box-shadow: inset 0 -4px 0 var(--accent), 0 30px 60px -40px rgba(8, 20, 14, .6); }
.acct .hello { min-height: 270px; }
.acct .topbar::before, .acct .hello::before { content: ""; position: absolute; inset: -40px 0; z-index: -2; background: var(--art) right center / cover no-repeat; translate: 0 var(--py, 0); animation: art-drift 22s ease-in-out infinite alternate; }
.acct .topbar::after, .acct .hello::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--side-bg) 0, color-mix(in srgb, var(--side-bg) 82%, transparent) 30%, color-mix(in srgb, var(--side-bg) 20%, transparent) 62%, transparent 80%), repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .025) 22px 23px); }
@keyframes art-drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-2%); } }
.acct .topbar > *, .acct .hello > * { position: relative; }
.acct .topbar > div:first-child, .acct .hello > div:first-child { max-width: 580px; }
.acct .topbar > div:first-child::before, .acct .hello > div:first-child::before { content: var(--eyebrow); display: inline-flex; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; animation: rise .6s var(--ease) both; }
.topbar h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 78%; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .9; margin: 0; }
.acct .topbar h1, .acct .hello-title { color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); animation: title-in .8s var(--ease) .08s both; }
@keyframes title-in { from { opacity: 0; transform: translateX(-24px) skewX(-8deg); clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.topbar p { margin: 10px 0 0; color: var(--muted); }
.acct .topbar p, .acct .hello-sub { color: rgba(255, 255, 255, .8); animation: rise .7s var(--ease) .2s both; }
.acct .topbar .btn-court, .acct .hello .btn-court { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.acct .topbar .btn-court:hover, .acct .hello .btn-court:hover { background: #fff; border-color: #fff; color: var(--ink); }
.acct .topbar .btn-quiet, .acct .hello .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.acct .topbar .btn-quiet:hover, .acct .hello .btn-quiet:hover { background: #fff; color: var(--ink); border-color: #fff; }
.acct .topbar .btn, .acct .hello .btn { animation: rise .7s var(--ease) .3s both; }

@media (max-width: 1480px) { .nav-clock { display: none; } }
@media (max-width: 1440px) { .nav-role { display: none; } }
@media (max-width: 1320px) {
    .nav-role { display: none; }
    .acct-nav-in { gap: 12px; }
    .tnav-item > a, .tnav-item > button { padding: 0 10px; font-size: .87rem; }
}
@media (max-width: 1440px) { .tnav-item > a > i:first-child, .tnav-item > button > i:first-child { display: none; } }
@media (max-width: 1280px) { .umenu-name { display: none; } }
@media (max-width: 1180px) {
    .acct-nav-in { height: 60px; padding: 0 16px; gap: 12px; }
    .nav-role, .umenu-name { display: none; }
    .tnav-toggle { display: inline-flex; }
    .umenu-btn { padding: 3px; }
    .umenu-btn .caret { display: none; }
    .tnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--side-bg); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
    .acct-nav.open .tnav { max-height: calc(100vh - 60px); overflow-y: auto; }
    .tnav-list { flex-direction: column; align-items: stretch; padding: 10px 14px 18px; gap: 2px; }
    .tnav-item > a, .tnav-item > button { width: 100%; height: 46px; }
    .tnav-item > a > i:first-child, .tnav-item > button > i:first-child { display: inline-block; }
    .tnav-item > button .caret { margin-left: auto; }
    .tnav-item > a .badge-dot { margin-left: auto; }
    .tnav-item > a.active::after, .nav-drop.active > button::after { left: 0; top: 12px; bottom: 12px; width: 4px; height: auto; margin: 0; border-radius: 0 4px 4px 0; }
    .tnav .drop { position: static; min-width: 0; box-shadow: none; background: rgba(255, 255, 255, .04); border-radius: 12px; margin: 2px 0 6px; padding: 0 6px; max-height: 0; overflow: hidden; transform: none; opacity: 1; visibility: visible; transition: max-height .35s var(--ease), padding .35s; }
    .tnav .nav-drop.open > .drop { max-height: 400px; padding: 6px; }
    .tnav .drop::before { display: none; }
    .tnav .drop a { color: rgba(255, 255, 255, .85); }
    .tnav .drop a i { background: rgba(255, 255, 255, .08); color: var(--accent); }
    .tnav .drop a:hover, .tnav .drop a.active { background: rgba(255, 255, 255, .08); color: #fff; }
    .main { padding: 16px 14px 60px; }
}
@media (max-width: 640px) {
    .acct .topbar, .acct .hello { min-height: 200px; padding: 26px 20px 22px; border-radius: 20px; }
    .acct .topbar::after, .acct .hello::after { background: linear-gradient(180deg, color-mix(in srgb, var(--side-bg) 35%, transparent), color-mix(in srgb, var(--side-bg) 88%, transparent) 70%); }
    .acct .topbar::before, .acct .hello::before { background-position: 70% center; }
}

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; margin-bottom: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 82%; font-variation-settings: "wdth" 82; font-size: 1.2rem; letter-spacing: .005em; margin: 0; }
.panel-head .small-print, .panel-head a.small { font-family: var(--mono); font-size: .74rem; }
.panel.dark { background: var(--hero); border-color: transparent; color: #fff; }
.panel.dark .panel-head h2 { color: #fff; }
.panel.dark .small-print { color: rgba(255, 255, 255, .65); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--side-bg); color: #fff; border-radius: var(--radius-l); padding: 16px 18px; position: relative; overflow: hidden; text-decoration: none; border: 0; transition: transform .25s var(--ease); }
a.stat:hover { transform: translateY(-3px); color: #fff; }
.stat .k { font-family: var(--mono); font-size: .72rem; color: rgba(255, 255, 255, .6); font-weight: 400; }
.stat .v { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.6rem; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: .8rem; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.stat.lead { background: var(--accent); color: var(--accent-ink); }
.stat.lead .k, .stat.lead .d { color: color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.stat::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 70px; height: 70px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .14); }
.stat.lead::after { border-color: color-mix(in srgb, var(--accent-ink) 20%, transparent); }

.tbl-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { font-family: var(--mono); font-size: .7rem; color: var(--muted); font-weight: 400; text-align: left; padding: 0 14px 10px 0; white-space: nowrap; border-bottom: 2px solid var(--ink); }
.tbl td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background-color .15s; }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.tbl .actions { white-space: nowrap; text-align: right; }
.tbl .actions .btn { margin-left: 4px; }
.tbl .who b { display: block; }
.tbl .who small { color: var(--muted); }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .ball-ic { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); animation: bob 2.4s ease-in-out infinite; }
.empty b { display: block; color: var(--ink); font-size: 1.02rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.tabs-row { display: inline-flex; gap: 2px; flex-wrap: wrap; margin-bottom: 18px; padding: 4px; background: #e3e9e1; border-radius: 12px; }
.tabs-row a { padding: 7px 14px; border-radius: 9px; font-weight: 700; font-size: .86rem; text-decoration: none; color: var(--muted); transition: background-color .2s, color .2s; }
.tabs-row a:hover { color: var(--ink); }
.tabs-row a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 38, 29, .15); }
.filters .tabs-row { margin: 0; }

.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hello-title { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .86; margin: 0; }
.hello-sub { color: var(--muted); margin: 10px 0 0; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.grid-73 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; }
.grid-2 > .panel, .grid-73 > .panel { margin-bottom: 0; }
.stack { display: grid; gap: 22px; margin-bottom: 22px; }
@media (max-width: 1100px) { .grid-2, .grid-73 { grid-template-columns: minmax(0, 1fr); } }

.acct .rise { animation: rise .6s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.viz-area { width: 100%; height: auto; display: block; overflow: visible; }
.viz-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.viz-y, .viz-x { font-family: var(--mono); font-size: 10px; fill: var(--muted); }
.viz-y { text-anchor: end; }
.viz-x { text-anchor: middle; }
.viz-stop-a { stop-color: var(--hero); stop-opacity: .35; }
.viz-stop-b { stop-color: var(--hero); stop-opacity: 0; }
.viz-fill { fill: url(#vizFill); animation: fade-in 1s .3s both; }
.viz-line { fill: none; stroke: var(--hero); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.viz-end { fill: var(--accent); stroke: var(--hero); stroke-width: 3; animation: fade-in .4s 1.2s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-size: .86rem; }
.hbar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hbar-t { height: 10px; background: #e7ece6; border-radius: 6px; overflow: hidden; }
.hbar-t i { display: block; height: 100%; width: var(--w); background: var(--hero); border-radius: inherit; transform-origin: left; animation: grow .9s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 200ms); }
.hbar b { text-align: right; font-weight: 700; }
.panel.dark .hbar-t { background: rgba(255, 255, 255, .12); }
.panel.dark .hbar-t i { background: var(--accent); }

.ring { position: relative; width: 150px; height: 150px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-track { stroke: rgba(255, 255, 255, .14); }
.ring-val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--pct)); animation: ring-in 1.4s var(--ease) both; }
@keyframes ring-in { from { stroke-dashoffset: 100; } }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.6rem; line-height: 1; }
.ring-label span { font-weight: 800; }
.ring-label small { display: block; font-family: var(--mono); font-size: .64rem; opacity: .7; }

.cols { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 18px; }
.col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.col-stack { flex: 1; width: 100%; max-width: 46px; display: flex; flex-direction: column-reverse; justify-content: flex-start; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 18px, var(--line) 18px 19px); }
.col-stack i { display: block; width: 100%; transform-origin: bottom; animation: grow-y .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes grow-y { from { transform: scaleY(0); } }
.col-a { background: var(--hero); }
.col-b { background: var(--accent); }
.col-v { font-size: .78rem; font-weight: 700; }
.col-l { font-family: var(--mono); font-size: .66rem; color: var(--muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: clip; }
.legend { display: flex; gap: 16px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line-strong); background: #fff; border-radius: 10px; padding: 10px 6px; font-weight: 700; font-size: .9rem; text-align: center; cursor: pointer; transition: transform .15s var(--ease), background-color .15s, border-color .15s, color .15s; font-variant-numeric: tabular-nums; }
.slot small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.slot:hover:not(:disabled) { border-color: var(--court); transform: translateY(-2px); }
.slot.picked { background: var(--court); border-color: var(--court); color: #fff; }
.slot.picked small { color: rgba(255, 255, 255, .8); }
.slot:disabled { background: repeating-linear-gradient(135deg, #f1f4f9 0 6px, #e7ecf4 6px 12px); color: #9aa7bd; cursor: not-allowed; text-decoration: line-through; }
.slot.pop { animation: pop .3s var(--ease); }
@keyframes pop { 50% { transform: scale(1.08); } }

.court-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.court-opt { border: 2px solid var(--line); border-radius: var(--radius-m); padding: 14px 16px; cursor: pointer; display: block; transition: border-color .15s, box-shadow .15s; background: #fff; }
.court-opt input { position: absolute; opacity: 0; pointer-events: none; }
.court-opt:has(input:checked) { border-color: var(--court); box-shadow: 0 0 0 4px rgba(44, 90, 160, .14); }
.court-opt b { display: block; }
.court-opt span { font-size: .88rem; color: var(--muted); }

.summary-bar { position: sticky; bottom: 16px; background: var(--side-bg, var(--night)); color: #fff; border-radius: var(--radius-l); padding: 16px 20px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 20px 50px -20px rgba(10, 26, 61, .7); margin-top: 22px; }
.summary-bar .sum-k { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.summary-bar .sum-v { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.chat { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; overflow: hidden; height: calc(100vh - 170px); min-height: 520px; }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list a { display: flex; gap: 12px; padding: 14px 16px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); align-items: center; }
.chat-list a.on { background: #eef3fc; box-shadow: inset 4px 0 0 var(--court); }
.chat-list a:hover { background: #f6f8fc; }
.chat-list .meta { min-width: 0; flex: 1; }
.chat-list .meta b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list .meta small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread { background: var(--clay); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; padding: 1px 7px; }
.chat-thread { display: flex; flex-direction: column; min-height: 0; }
.chat-top { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #f8fafd, #fff); }
.bubble { max-width: min(72%, 520px); padding: 10px 14px; border-radius: 16px; background: #eef2f8; align-self: flex-start; border-bottom-left-radius: 4px; animation: bubble-in .3s var(--ease) both; white-space: pre-wrap; word-wrap: break-word; }
.bubble.me { align-self: flex-end; background: var(--court); color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.bubble time { display: block; font-size: .72rem; opacity: .65; margin-top: 4px; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.chat-send { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-send textarea { flex: 1; resize: none; min-height: 46px; max-height: 140px; border-radius: 22px; padding: 11px 16px; }
@media (max-width: 860px) {
    .chat { grid-template-columns: 1fr; height: auto; }
    .chat-list { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
    .chat-body { min-height: 360px; }
}

.chart-box { position: relative; height: 280px; }

.status-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 24px 0; }
.status-track div { padding: 14px 0 0; border-top: 4px solid var(--line-strong); font-weight: 700; font-size: .92rem; color: var(--muted); }
.status-track div.done { border-color: var(--surround); color: var(--ink); }
.status-track div.now { border-color: var(--ball-deep); color: var(--ink); }

.proof-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.modal-content { border-radius: var(--radius-l); border: 0; }
.modal-header { border-bottom: 1px solid var(--line); }

.legal { padding: 48px 0 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 32px; }

@media print {
    .acct-nav, .acct-bg, .topbar .btn, .no-print, .toast-host { display: none !important; }
    .acct .topbar, .acct .hello { min-height: 0; color: #000; background: none; box-shadow: none; padding: 0; }
    .acct .topbar::before, .acct .topbar::after, .acct .hello::before, .acct .hello::after { display: none; }
    .acct .topbar h1, .acct .hello-title, .acct .topbar p, .acct .hello-sub { color: #000; }
    .main { padding: 0; }
    .panel { border: 0; padding: 0; break-inside: avoid; }
    body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    @view-transition { navigation: none; }
}

html.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
body { overflow-x: clip; }

.label { font-size: .78rem; letter-spacing: .02em; color: var(--surround); margin-bottom: 12px; }
.sect-title { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 78%; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: .9; letter-spacing: -.01em; margin: 0; text-wrap: balance; }

.intro { position: fixed; inset: 0; z-index: 200; background: var(--surround-deep); color: #fff; display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .7s var(--ease), visibility .7s; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-call { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; }
.intro-call span { display: inline-block; opacity: 0; transform: translateY(40%) rotate(-8deg); animation: call-in .45s var(--ease) forwards; }
.intro-call span:nth-of-type(2) { animation-delay: .22s; }
.intro-call span:nth-of-type(3) { animation-delay: .44s; color: var(--ball); }
.intro-call i { width: .22em; height: .07em; background: rgba(255, 255, 255, .5); border-radius: 4px; }
@keyframes call-in { to { opacity: 1; transform: none; } }
.intro-note { font-size: .85rem; opacity: 0; animation: call-in .4s .7s forwards; }

.rally { position: relative; height: 420vh; background: #10261d; color: #fff; }
.rally-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.rally canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rally-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 38, 29, .9) 0%, rgba(16, 38, 29, .35) 34%, rgba(16, 38, 29, 0) 55%, rgba(16, 38, 29, .75) 100%); pointer-events: none; }
.rally-copy { position: relative; z-index: 2; padding-top: 110px; }
.rally-call { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.rally-call b { background: var(--ball); color: var(--night); padding: 3px 8px; border-radius: 4px; }
.rally-title { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: clamp(3.2rem, 9.5vw, 8.6rem); line-height: .84; letter-spacing: -.015em; margin: 0 0 18px; max-width: 9ch; }
.rally-sub { max-width: 46ch; font-size: 1.1rem; color: rgba(255, 255, 255, .82); margin-bottom: 24px; }
.rally-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rally-copy > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.ready .rally-copy > * { opacity: 1; transform: none; }
.ready .rally-copy > *:nth-child(2) { transition-delay: .08s; }
.ready .rally-copy > *:nth-child(3) { transition-delay: .16s; }
.ready .rally-copy > *:nth-child(4) { transition-delay: .24s; }
.meter { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; }
.meter-shots { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.meter-shots li { color: rgba(255, 255, 255, .45); transition: color .3s; }
.meter-shots b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1rem; letter-spacing: .01em; }
.meter-shots span { display: block; font-size: .82rem; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.meter-shots li.on { color: #fff; }
.meter-shots li.on b { color: var(--ball); }
.meter-shots li.on span { opacity: 1; transform: none; }
.meter-bar { height: 4px; background: rgba(255, 255, 255, .18); border-radius: 4px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 100%; background: var(--ball); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 760px) {
    .rally-copy { padding-top: 96px; }
    .rally-sub { font-size: 1rem; }
    .rally-cta .btn-light-line { display: none; }
    .meter-shots { grid-template-columns: 1fr; }
    .meter-shots li { display: none; }
    .meter-shots li.on { display: block; }
}

.ticker { display: flex; align-items: stretch; background: #0b1a14; color: var(--ball); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ticker-head { flex: none; display: flex; align-items: center; padding: 0 18px; background: var(--ball); color: var(--night); font-weight: 700; font-size: .8rem; }
.ticker-window { overflow: hidden; flex: 1; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; font-size: .86rem; animation: ticker 48s linear infinite; }
.ticker-track span { white-space: nowrap; color: rgba(227, 242, 75, .75); }
.ticker-track b { color: #fff; font-weight: 700; margin-right: 6px; }
.ticker-track em { font-style: normal; margin-left: 10px; }
.ticker-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--ball); flex: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.facts { background: var(--paper); padding: 120px 0; }
.facts-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.facts-lead { font-size: 1.15rem; color: var(--muted); margin-top: 22px; }
.facts-court { margin: 0; }
.facts-court svg { width: 100%; height: auto; display: block; }
.fc-surround { fill: var(--surround); }
.fc-court { fill: var(--court); }
.fc-kitchen { fill: var(--court-2); }
.fc-lines { fill: none; stroke: #fff; stroke-width: 3; }
.fc-net { stroke: var(--night); stroke-width: 4; stroke-dasharray: 3 3; }
.fc-dim { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.facts-court.in .fc-dim, html:not(.js) .fc-dim { stroke-dashoffset: 0; }
.fc-label { font-family: var(--mono); font-size: 13px; font-weight: 700; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.fc-label.sm { font-size: 11px; }
.fc-kitchen-label { font-family: var(--mono); font-size: 10px; fill: var(--night); text-anchor: middle; opacity: .7; }
.facts-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.facts-stats div { border-left: 4px solid var(--ball); padding-left: 12px; }
.facts-stats b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts-stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .facts-grid { grid-template-columns: 1fr; gap: 30px; } .facts { padding: 90px 0; } }

.passes, .listing { background: #e9eee6; padding: 110px 0 120px; }
.passes-head, .draw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.passes .hero-search { flex: 0 1 440px; box-shadow: var(--shadow); border-radius: var(--radius-m); }
.passes .hero-search .btn { border-radius: 9px; }
.pass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 128px; background: var(--card); border-radius: var(--radius-l); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pass:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(16, 38, 29, .45); }
.pass::before, .pass::after { content: ""; position: absolute; right: 116px; width: 24px; height: 24px; border-radius: 50%; background: #e9eee6; z-index: 2; }
.pass::before { top: -12px; }
.pass::after { bottom: -12px; }
.pass-main { display: flex; gap: 16px; padding: 14px; min-width: 0; }
.pass-art { flex: none; width: 112px; height: 112px; border-radius: 12px; overflow: hidden; background: var(--court); }
.pass-art svg, .pass-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.pass:hover .pass-art svg, .pass:hover .pass-art img { transform: scale(1.08) rotate(-2deg); }
.pass-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.pass-city { font-size: .74rem; color: var(--surround); }
.pass-name { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.45rem; line-height: 1; margin: 4px 0 10px; }
.pass-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; color: var(--muted); }
.pass-meta b { color: var(--ink); }
.pass-stub { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2px; padding: 14px 10px; border-left: 2px dashed var(--line-strong); background: var(--ball); border-radius: 0 var(--radius-l) var(--radius-l) 0; transition: transform .4s var(--ease); transform-origin: left center; }
.pass:hover .pass-stub { transform: rotate(-3deg) translateX(4px); }
.pass-stub .mono { font-size: .7rem; }
.pass-stub b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.6rem; line-height: 1; }
.pass-book { margin-top: 8px; font-size: .78rem; font-weight: 700; background: var(--night); color: var(--ball); padding: 4px 12px; border-radius: 999px; }
@media (max-width: 900px) { .pass-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .pass-art { display: none; } .pass { grid-template-columns: minmax(0, 1fr) 104px; } .pass::before, .pass::after { right: 92px; } }

.zones { background: var(--surround-deep); color: #fff; padding: 110px 0 120px; }
.zones .label { color: var(--ball); }
.zone-court { position: relative; margin-top: 44px; background: var(--court); border: 4px solid #fff; border-radius: 4px; box-shadow: 0 0 0 18px var(--surround), 0 30px 60px -20px rgba(0, 0, 0, .5); }
.zone-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr .9fr; }
.zone-steps li { padding: 70px 22px 26px; border-left: 3px solid #fff; opacity: .4; transition: opacity .5s, background-color .5s; }
.zone-steps li:first-child { border-left: 0; }
.zone-steps li:nth-child(3), .zone-steps li:nth-child(4) { background: rgba(106, 160, 216, .45); }
.zone-steps li:nth-child(4) { border-left: 6px dotted rgba(255, 255, 255, .7); }
.zone-steps li.lit { opacity: 1; }
.zone-steps li.lit:nth-child(3) { background: rgba(227, 242, 75, .22); }
.zone-steps .mono { font-size: .74rem; color: var(--ball); }
.zone-steps h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.35rem; margin: 6px 0 8px; }
.zone-steps p { font-size: .92rem; color: rgba(255, 255, 255, .85); margin: 0; }
.zone-ball { position: absolute; top: 22px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); box-shadow: 0 10px 12px -6px rgba(0, 0, 0, .5); transform: translateX(calc(var(--q, 0) * (min(1200px, 100vw - 32px) - 76px))) rotate(calc(var(--q, 0) * 900deg)); z-index: 2; }
.zone-ball::after { content: ""; position: absolute; left: 8px; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: rgba(90, 105, 10, .6); box-shadow: 9px 2px 0 rgba(90, 105, 10, .6), 3px 10px 0 rgba(90, 105, 10, .6), 12px 12px 0 rgba(90, 105, 10, .6); }
@media (max-width: 860px) {
    .zone-steps { grid-template-columns: 1fr; }
    .zone-steps li { border-left: 0; border-top: 3px solid #fff; padding: 22px 20px; }
    .zone-steps li:first-child { border-top: 0; padding-top: 64px; }
    .zone-steps li:nth-child(4) { border-left: 0; border-top: 6px dotted rgba(255, 255, 255, .7); }
    .zone-ball { transform: translateX(calc(var(--q, 0) * (100vw - 110px))) rotate(calc(var(--q, 0) * 900deg)); }
}

.draw { background: var(--paper); padding: 120px 0; }
.draw-sheet { position: relative; padding-left: 46px; }
.entry { position: relative; display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) 170px 90px; gap: 18px; align-items: center; padding: 16px 18px; margin-bottom: 12px; background: var(--card); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.entry:hover { color: var(--ink); border-color: var(--court); transform: translateX(6px); }
.entry::before { content: ""; position: absolute; left: -30px; top: 50%; width: 30px; border-top: 2px solid var(--line-strong); }
.entry:nth-child(odd)::after { content: ""; position: absolute; left: -30px; top: 50%; height: calc(100% + 12px); border-left: 2px solid var(--line-strong); }
.entry:last-child:nth-child(odd)::after { display: none; }
.entry-seed { font-size: .78rem; color: var(--muted); }
.entry-date { text-align: center; background: var(--surround-deep); color: #fff; border-radius: 10px; padding: 6px 0; }
.entry-date b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.6rem; line-height: 1; }
.entry-date small { font-size: .72rem; text-transform: uppercase; opacity: .8; }
.entry-main b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; }
.entry-main small { color: var(--muted); font-size: .86rem; }
.entry-slots { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.entry-slots .cap-bar { flex: 1; margin: 0; }
.entry-fee { font-weight: 800; text-align: right; }
@media (max-width: 860px) {
    .draw-sheet { padding-left: 26px; }
    .entry { grid-template-columns: 56px minmax(0, 1fr); gap: 8px 14px; }
    .entry::before { left: -20px; width: 20px; }
    .entry:nth-child(odd)::after { left: -20px; }
    .entry-seed { display: none; }
    .entry-date { grid-row: span 2; }
    .entry-slots, .entry-fee { grid-column: 2; text-align: left; }
}

.sheet { position: relative; overflow: hidden; background: var(--court); color: #fff; padding: 120px 0; }
.sheet .label { color: var(--ball); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sheet-list { list-style: none; padding: 0; margin: 26px 0 32px; }
.sheet-list li { border-top: 1px solid rgba(255, 255, 255, .25); padding: 12px 0; display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.sheet-list span { color: rgba(255, 255, 255, .8); }
.sheet-stack { position: relative; height: 520px; }
.slip { position: absolute; left: 50%; top: 50%; width: 300px; margin: -110px 0 0 -150px; background: var(--card); color: var(--ink); border-radius: 14px; padding: 20px 22px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .5); transition: transform .2s linear; }
.slip-kind { font-size: .72rem; color: var(--surround); }
.slip b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin: 6px 0 14px; }
.slip dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.slip dt { font-size: .72rem; color: var(--muted); font-weight: 500; }
.slip dd { margin: 0; font-weight: 700; }
.slip-pass { background: var(--ball); transform: translate(calc(var(--p, .5) * 110px + 10px), calc(130px - var(--p, .5) * 50px)) rotate(calc(-4deg + var(--p, .5) * 10deg)); }
.slip-receipt { transform: translate(calc(-50px - var(--p, .5) * 70px), calc(10px - var(--p, .5) * 30px)) rotate(calc(5deg - var(--p, .5) * 14deg)); }
.slip-entry { background: #f3efe6; transform: translate(calc(40px + var(--p, .5) * 40px), calc(-120px - var(--p, .5) * 40px)) rotate(calc(-8deg + var(--p, .5) * 4deg)); }
.slip-perf { display: block; border-top: 2px dashed rgba(16, 38, 29, .35); margin: 16px -22px 10px; }
.slip-foot { font-size: .74rem; }
.stamp { position: absolute; right: 16px; top: 14px; border: 2.5px solid var(--ok); color: var(--ok); font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; transform: rotate(8deg); }
@media (max-width: 860px) {
    .sheet-grid { grid-template-columns: 1fr; gap: 20px; }
    .sheet-stack { height: 380px; }
    .slip { width: 260px; margin-left: -130px; }
    .sheet-list li { grid-template-columns: 1fr; gap: 0; }
}

.owners { background: var(--surround-deep); color: #fff; padding: 110px 0; }
.owners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.owners .sect-title { color: var(--ball); }
.owners p { font-size: 1.15rem; color: rgba(255, 255, 255, .82); margin-bottom: 28px; }
@media (max-width: 760px) { .owners-grid { grid-template-columns: 1fr; } }

.site-footer { border-top: 6px solid var(--ball); }

.cursor-ball { position: fixed; left: 0; top: 0; z-index: 9999; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s; }
.cursor-ball.hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(227, 242, 75, .2); border: 2px solid var(--ball); }
.cursor-ball.gone { opacity: 0; }

.page-head h1 { font-weight: 900; font-style: italic; font-stretch: 78%; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .9; }

.p-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; margin-bottom: 22px; }
@media (max-width: 1100px) { .p-hero { grid-template-columns: minmax(0, 1fr); } }
.gpass { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr) 128px; background: var(--hero); color: #fff; border-radius: var(--radius-l); text-decoration: none; overflow: hidden; min-height: 210px; transition: transform .35s var(--ease); }
.gpass:hover { color: #fff; transform: translateY(-3px); }
.gpass::before, .gpass::after { content: ""; position: absolute; right: 116px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); z-index: 2; }
.gpass::before { top: -12px; }
.gpass::after { bottom: -12px; }
.gpass-scene { position: relative; overflow: hidden; perspective: 600px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .08), transparent 70%); }
.mini-court { position: relative; width: 96px; height: 156px; background: var(--court); border: 3px solid #fff; box-shadow: 0 0 0 10px var(--surround), 0 30px 40px rgba(0, 0, 0, .35); transform: rotateX(56deg) rotateZ(-28deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.gpass:hover .mini-court { transform: rotateX(48deg) rotateZ(-16deg); }
.mini-court i { position: absolute; }
.mc-k { left: 0; right: 0; top: 34%; bottom: 34%; background: var(--court-2); border-top: 3px solid #fff; border-bottom: 3px solid #fff; }
.mc-net { left: -8px; right: -8px; top: 50%; height: 4px; margin-top: -2px; background: var(--night); }
.mc-c1, .mc-c2 { left: 50%; width: 3px; margin-left: -1.5px; background: #fff; }
.mc-c1 { top: 0; height: 34%; }
.mc-c2 { bottom: 0; height: 34%; }
.mc-ball { position: absolute; left: 50%; top: 42%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); animation: mc-bounce 1.1s cubic-bezier(.5, 0, .5, 1) infinite alternate; z-index: 2; }
.mc-shadow { position: absolute; left: 50%; top: 58%; width: 22px; height: 8px; margin-left: -11px; border-radius: 50%; background: rgba(0, 0, 0, .4); animation: mc-shadow 1.1s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
@keyframes mc-bounce { from { transform: translateY(-46px); } to { transform: translateY(14px) scale(1.08, .92); } }
@keyframes mc-shadow { from { transform: scale(.5); opacity: .3; } to { transform: scale(1); opacity: .6; } }
.gpass-info { display: flex; flex-direction: column; justify-content: center; padding: 22px 18px; min-width: 0; }
.gpass-kicker { font-size: .72rem; color: var(--accent); }
.gpass-title { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 76%; font-variation-settings: "wdth" 76; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: .9; margin: 6px 0 4px; }
.gpass-where { color: rgba(255, 255, 255, .75); font-size: .92rem; }
.gpass-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.gpass-meta small { display: block; font-size: .66rem; color: rgba(255, 255, 255, .55); }
.gpass-meta b { font-size: .95rem; }
.gpass-stub { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; background: var(--accent); color: var(--accent-ink); border-left: 2px dashed rgba(0, 0, 0, .25); padding: 12px; }
.gpass-stub small { font-size: .68rem; }
.gpass-stub b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2rem; line-height: 1; }
@media (max-width: 640px) {
    .gpass { grid-template-columns: minmax(0, 1fr) 104px; }
    .gpass-scene { display: none; }
    .gpass-stub b { font-size: 1.45rem; }
    .cols { gap: 5px; }
    .col-l { font-size: .56rem; }
    .gpass::before, .gpass::after { right: 92px; }
}

.board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board-tile { position: relative; background: var(--side-bg); color: #fff; border-radius: var(--radius-l); padding: 14px 16px; text-decoration: none; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease); }
a.board-tile:hover { color: #fff; transform: translateY(-3px); }
.board-tile .mono { font-size: .68rem; color: rgba(255, 255, 255, .55); }
.board-tile b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.8rem; line-height: 1; margin: 6px 0 2px; color: var(--accent); font-variant-numeric: tabular-nums; }
.board-tile small { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.board-tile::after { content: ""; position: absolute; right: 12px; top: 12px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); }
.board-tile.hot { background: var(--clay); }
.board-tile.hot b { color: #fff; }
.board-tile.hot::after { background: #fff; border-color: #fff; animation: pulse 1.8s infinite; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 30px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 0; }
.tl-date { position: relative; z-index: 1; width: 52px; text-align: center; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 3px 0; }
.tl-date b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.3rem; line-height: 1; }
.tl-date small { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.tl-main b { display: block; }
.tl-main small { color: var(--muted); }

.slips { display: grid; gap: 10px; }
.rslip { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #f6f8f3; border: 1.5px dashed var(--line-strong); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s; }
.rslip:hover { color: var(--ink); transform: rotate(-.6deg) translateY(-2px); border-color: var(--surround); }
.rslip-l small { display: block; font-size: .68rem; color: var(--muted); }
.rslip-l b { display: block; }
.rslip-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rslip-r b { font-size: 1.05rem; }

.mini-draw { display: grid; gap: 10px; }
.mentry { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
a.mentry:hover { color: var(--ink); border-color: var(--hero); transform: translateX(4px); }
.mentry .entry-date { background: var(--hero); }
.mentry .entry-main b { font-size: 1.02rem; }
.mentry .cap-bar { max-width: 220px; margin-top: 6px; }

.v-of { font-size: 1.2rem; opacity: .55; margin-left: 2px; }
.pips { display: flex; gap: 5px; margin-top: 8px; }
.pips i { width: 18px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.pips i.on { background: var(--accent); }

.cboard-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px 6px; }
.cboard { position: relative; min-width: 720px; --name: 110px; }
.cb-row { display: grid; grid-template-columns: var(--name) minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px dashed var(--line); }
.cb-row:last-of-type { border-bottom: 0; }
.cb-name { font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-track { position: relative; display: grid; grid-template-columns: repeat(var(--span), minmax(0, 1fr)); height: 36px; align-items: stretch; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--span) - 1px), var(--line) calc(100% / var(--span) - 1px) calc(100% / var(--span))); }
.cb-hours { min-height: 26px; border-bottom: 2px solid var(--ink); }
.cb-hours .cb-track { height: 22px; background: none; }
.cb-h { font-size: .6rem; color: var(--muted); align-self: center; white-space: nowrap; overflow: hidden; }
.cb-row .cb-track > * { grid-row: 1; }
.cb-blk { margin: 4px 2px; border-radius: 8px; padding: 2px 8px; display: flex; flex-direction: column; justify-content: center; min-width: 0; overflow: hidden; font-size: .72rem; line-height: 1.1; color: #fff; transform-origin: left; animation: grow .7s var(--ease) both; }
.cb-blk b { font-size: .8rem; }
.cb-blk small { white-space: nowrap; opacity: .85; }
.cb-confirmed, .legend .cb-confirmed { background: var(--court); }
.cb-pending, .legend .cb-pending { background: repeating-linear-gradient(135deg, #e3a72f 0 6px, #d8981c 6px 12px); color: #2a1a00; }
.cb-blocked, .legend .cb-blocked { background: repeating-linear-gradient(45deg, #5b6470 0 5px, #4a525c 5px 10px); color: #fff; }
.cb-completed, .legend .cb-completed { background: var(--surround); }
.cb-closed, .legend .cb-closed { background: repeating-linear-gradient(135deg, #eef1ec 0 5px, #e2e7df 5px 10px); margin: 4px 0; border-radius: 6px; }
.cb-now { position: absolute; top: 0; bottom: 0; left: calc(var(--name) + 10px + (100% - var(--name) - 10px) * var(--now) / 100); width: 2px; background: var(--clay); pointer-events: none; }
.cb-now i { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); background: var(--clay); color: #fff; font-style: normal; font-size: .6rem; padding: 1px 6px; border-radius: 4px; }
.cb-now::after { content: ""; position: absolute; bottom: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); animation: pulse 2s infinite; }

.courts-viz { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
@media (max-width: 640px) { .courts-viz { flex-wrap: wrap; justify-content: center; } .iso-wrap { flex-basis: 100%; height: 150px; } .lboard li { grid-template-columns: 32px minmax(0, 1fr) 70px; } .lb-m { display: none; } .prism-wrap { height: 230px; } }
.iso-wrap { flex: 1; height: 170px; display: grid; place-items: center; perspective: 900px; }
.iso-stage { display: flex; gap: 30px; transform: rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d; }
.iso-court { position: relative; width: 32px; height: 66px; background: var(--court); border: 2px solid #fff; transform-style: preserve-3d; transform: translateZ(calc(var(--u) * .5px)); box-shadow: 0 0 0 5px var(--surround), calc(var(--u) * -.25px) calc(var(--u) * .35px) 6px rgba(0, 0, 0, .45); animation: iso-rise 1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
.iso-court::before { content: ""; position: absolute; inset: 0; background: var(--accent); opacity: calc(var(--u) / 140); }
.iso-court i { position: absolute; }
.ic-k { left: 0; right: 0; top: 36%; bottom: 36%; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.ic-net { left: -6px; right: -6px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--night); }
@keyframes iso-rise { from { transform: translateZ(0); opacity: 0; } }

.leader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: center; }
@media (max-width: 900px) { .leader { grid-template-columns: 1fr; } }
.prism-wrap { height: 300px; display: grid; place-items: center; perspective: 1100px; overflow: hidden; }
.prism-stage { position: relative; display: flex; gap: 22px; padding: 18px; border-radius: 6px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transform: rotateX(60deg) rotateZ(-40deg) translateY(40px); transform-style: preserve-3d; }
.prism { position: relative; width: 40px; height: 40px; transform-style: preserve-3d; }
.prism i { position: absolute; display: block; }
.pf-top { inset: 0; background: var(--accent); transform: translateZ(calc(var(--h) * 1px)); animation: prism-top 1.1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
.pf-front { left: 0; top: 100%; width: 40px; height: calc(var(--h) * 1px); background: color-mix(in srgb, var(--accent) 62%, #000); transform-origin: top; transform: rotateX(90deg); animation: prism-face 1.1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
.pf-side { left: 0; top: 0; width: calc(var(--h) * 1px); height: 40px; background: color-mix(in srgb, var(--accent) 40%, #000); transform-origin: left; transform: rotateY(-90deg); animation: prism-side 1.1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
.prism:first-child .pf-top { background: #fff; }
@keyframes prism-top { from { transform: translateZ(0); } }
@keyframes prism-face { from { transform: rotateX(90deg) scaleY(0); } }
@keyframes prism-side { from { transform: rotateY(-90deg) scaleX(0); } }
.lboard { list-style: none; margin: 0; padding: 0; }
.lboard li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 80px 100px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
.lboard li:last-child { border-bottom: 0; }
.lb-rank { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.8rem; color: var(--accent); line-height: 1; }
.lboard li:first-child .lb-rank { color: #fff; }
.lb-name b { display: block; }
.lb-name small, .lb-n small, .lb-m small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .55); }
.lb-n, .lb-m { text-align: right; }

.feed { list-style: none; margin: 0; padding: 0; position: relative; }
.feed::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.feed li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 9px 0; }
.feed-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--hero); margin-top: 3px; z-index: 1; }
.feed li:first-child .feed-dot { background: var(--accent); }
.feed-main b { display: block; }
.feed-main small { color: var(--muted); }
.feed-time { font-size: .72rem; color: var(--muted); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    .mc-ball, .mc-shadow, .role-dot, .acct-bg i, .acct-nav::before, .acct-nav::after, .acct .topbar::before, .acct .hello::before, .badge-dot, .stat::after { animation: none !important; }
    .row-in { animation: none !important; }
}

.acct .panel { position: relative; box-shadow: 0 1px 0 rgba(16, 38, 29, .03), 0 24px 44px -40px rgba(16, 38, 29, .55); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.acct .panel:not(.dark)::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--hero)); transform: scaleX(.12); transform-origin: left; transition: transform .6s var(--ease); }
.acct .panel:hover { box-shadow: 0 1px 0 rgba(16, 38, 29, .03), 0 34px 60px -38px rgba(16, 38, 29, .55); border-color: color-mix(in srgb, var(--hero) 22%, var(--line)); }
.acct .panel:hover::before { transform: scaleX(1); }
.acct .panel-head h2 { display: inline-flex; align-items: center; gap: 10px; }
.acct .panel-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); box-shadow: 0 3px 8px -2px rgba(120, 140, 10, .6); transition: transform .5s var(--ease); }
.acct .panel:hover .panel-head h2::before { transform: translateY(-3px) rotate(160deg); }
.acct .panel.dark { background: var(--hero) linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 50%); overflow: hidden; }
.acct .panel.dark::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .1); animation: spin 40s linear infinite; pointer-events: none; }

.acct .stat { transition: transform .35s var(--ease), box-shadow .35s var(--ease); background-image: radial-gradient(260px 120px at 100% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.acct .stat:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(8, 20, 14, .7); }
.acct .stat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.acct .stat:hover::before { transform: translateX(120%); }
.acct .stat::after { animation: spin 26s linear infinite; }
.acct .stat.lead { background-image: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.acct .tabs-row { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -20px rgba(16, 38, 29, .5); }
.acct .tabs-row a.on { background: var(--side-bg); color: #fff; box-shadow: none; }
.acct .tabs-row a:not(.on):hover { background: color-mix(in srgb, var(--accent) 18%, #fff); }

.row-in { animation: row-in .5s var(--ease) both; animation-delay: calc(var(--r, 14) * 35ms + 240ms); }
@keyframes row-in { from { opacity: 0; transform: translateX(-10px); } }
.acct .tbl tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

.acct .form-control:focus, .acct .form-select:focus { border-color: var(--hero); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.acct .btn { transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, color .2s, border-color .2s; }
.acct .btn:hover { transform: translateY(-2px); }
.acct .btn:active { transform: translateY(0) scale(.98); }
body.acct[data-page="messages"] .topbar, body.acct[data-page="reserve"] .topbar { min-height: 160px; }

.duty-chip { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: #fff; text-decoration: none; font-weight: 700; font-size: .82rem; line-height: 1.1; max-width: 220px; transition: background-color .2s, transform .25s var(--ease); }
.duty-chip i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); flex: none; }
.duty-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duty-chip small { display: block; font-family: var(--mono); font-size: .62rem; font-weight: 400; color: rgba(255, 255, 255, .6); }
.duty-chip:hover { background: color-mix(in srgb, var(--accent) 26%, transparent); color: #fff; transform: translateY(-1px); }
@media (max-width: 1320px) { .duty-chip small { display: none; } .duty-chip span { max-width: 110px; } }
@media (max-width: 640px) { .duty-chip span { display: none; } .duty-chip { padding: 5px; } }
.handled { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.handled i { color: var(--hero); }
.handled small { font-family: var(--mono); font-weight: 400; font-size: .68rem; color: var(--muted); margin-left: 4px; }
.duty-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius-l); padding: 18px 22px; margin-bottom: 22px; box-shadow: 0 24px 44px -40px rgba(16, 38, 29, .55); }
.duty-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--side-bg); color: var(--accent); font-size: 1.6rem; flex: none; animation: bob 3s ease-in-out infinite; }
.duty-main { flex: 1; min-width: 220px; }
.duty-main small { color: var(--muted); font-size: .7rem; }
.duty-main b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.duty-main span { color: var(--muted); font-size: .9rem; }

.fac-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 10px 24px -12px rgba(0, 0, 0, .5); }
.fac-logo.logo-lg { width: 64px; height: 64px; border-radius: 16px; }
.fac-logo.logo-sm { width: 22px; height: 22px; border-radius: 6px; margin-right: 8px; vertical-align: middle; box-shadow: none; }
.fac-logo-blank { display: inline-grid; place-items: center; background: var(--ball); color: var(--night); font-family: var(--display); font-style: italic; font-weight: 900; }
.detail-list dt { font-weight: 600; color: var(--muted); font-size: .86rem; }
.detail-list dd { margin-bottom: 10px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, #fff); font-size: .88rem; color: var(--muted); align-items: center; }
.mini-stats b { color: var(--ink); font-size: 1.05rem; margin-right: 4px; }
.reg-state { display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: #e6edf9; color: #1d4592; }
.reg-open { background: #e3f4ea; color: #146a40; }
.reg-upcoming { background: #fff4dc; color: #8a5a0a; }
.reg-full, .reg-closed { background: #eef1f6; color: #4d5a6b; }
.reg-cancelled { background: #fbe9e6; color: #9b2c1c; }
.cb-blocked b, .cb-blocked small { color: #fff; }

.qlinks { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 14px; scrollbar-width: thin; }
.qlinks a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 650; font-size: .86rem; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.qlinks a i { color: var(--hero); }
.qlinks a b { min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 7px; background: var(--side-bg); color: var(--accent); font-size: .75rem; }
.qlinks a:hover { transform: translateY(-2px); border-color: var(--hero); box-shadow: 0 12px 24px -18px rgba(8, 20, 14, .6); color: var(--ink); }
.mini-review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-review:last-child { border-bottom: 0; }
.mini-review .review-head { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }

.acct-bg i, .acct-nav::before { display: none; }
.acct-nav::after { animation: none; height: 2px; background: var(--accent); }
.tnav-item > a .badge-dot, .tnav-item > button .badge-dot { animation: none; }
.acct .topbar::before, .acct .hello::before { animation: none; transform: scale(1.03); }
.acct-nav-in { max-width: 1440px; }
.main { max-width: 1320px; }
.acct .topbar { min-height: 160px; padding: 28px 32px 26px; margin-bottom: 22px; }
.acct .hello { min-height: 240px; }
.acct .topbar h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.acct .topbar p { font-size: .98rem; }
.acct .topbar > div:first-child::before, .acct .hello > div:first-child::before { margin-bottom: 10px; }
.acct .panel-head h2::before { display: none; }
.acct .panel:not(.dark)::before { display: none; }
.acct .panel { padding: 24px; }

.hello-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hello-links { display: flex; gap: 18px; font-size: .9rem; }
.hello-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hello-links a:hover { color: #fff; border-color: #fff; }
.dash-pair { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; margin-bottom: 22px; }
.kpi-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 6px 20px; display: flex; flex-direction: column; justify-content: center; }
.kpi { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: transform .25s var(--ease); }
.kpi:last-child { border-bottom: 0; }
.kpi:hover { color: var(--ink); transform: translateX(4px); }
.kpi i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--hero) 12%, var(--card)); color: var(--hero); font-size: 1.05rem; }
.kpi span { font-weight: 600; font-size: .95rem; }
.kpi span small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.kpi b { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi.warn b { color: var(--accent); }

.ptab-bar { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: -6px 0 18px; }
.ptab { position: relative; border: 0; background: none; padding: 10px 14px 12px; font: inherit; font-weight: 700; font-size: .92rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.ptab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.ptab:hover { color: var(--ink); }
.ptab.on { color: var(--ink); }
.ptab.on::after { transform: scaleX(1); }
.ptab em { font-style: normal; font-size: .72rem; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, var(--card)); color: var(--ink); text-align: center; }
.ptab-pane { display: none; }
.ptab-pane.on { display: block; animation: rise .4s var(--ease) both; }
.pane-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ink); }
.pane-more:hover { color: var(--accent); }
.pane-more i { transition: transform .25s var(--ease); }
.pane-more:hover i { transform: translateX(4px); }
.pane-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: .9rem; }
.pane-note b { color: var(--ink); }
.trend { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.trend-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.trend-side .hbars { width: 100%; }
.trend .ring-track { stroke: var(--line); }
@media (max-width: 980px) {
    .dash-pair, .trend { grid-template-columns: minmax(0, 1fr); }
    .hello-actions { align-items: flex-start; }
}
@media (max-width: 640px) {
    .acct .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .acct .stat { padding: 14px; }
    .acct .stat .v { font-size: 1.9rem; }
    .acct .stat .d { font-size: .74rem; }
    .ptab { padding: 10px 10px 12px; font-size: .86rem; }
}

.backdrop { position: absolute; top: 0; left: 0; right: 0; height: var(--bd-h, 430px); z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop-img { position: absolute; inset: -8% 0 0; background: var(--photo) var(--photo-pos, center 45%) / cover no-repeat; filter: var(--photo-filter, none); transform: scale(1.06); animation: kenburns 40s ease-in-out infinite alternate; will-change: transform, translate; }
@keyframes kenburns { to { transform: scale(1.14) translateX(-1.5%); } }
.backdrop::after { content: ""; position: absolute; inset: 0; background: var(--bd-shade); }
body.acct[data-page="dashboard"] { --bd-h: 700px; }
.grain { position: fixed; inset: -50%; z-index: 1500; pointer-events: none; opacity: var(--grain, .06); mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain-shift 1.2s steps(4) infinite; }
@keyframes grain-shift { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

body.acct .topbar, body.acct .hello { background: none !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible; isolation: auto; min-height: 0; padding: 54px 2px 30px; margin-bottom: 18px; color: #fff; }
body.acct .topbar::before, body.acct .topbar::after, body.acct .hello::before, body.acct .hello::after { display: none !important; }
body.acct .topbar > div:first-child::before, body.acct .hello > div:first-child::before { content: none !important; }
body.acct .topbar h1, body.acct .hello-title { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); animation: none; }
body.acct .topbar p, body.acct .hello-sub { color: rgba(255, 255, 255, .86); text-shadow: 0 1px 14px rgba(0, 0, 0, .4); max-width: 620px; }
body.acct .hello { position: relative; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 330px; padding: 64px 2px 40px; }
body.acct .hello-title { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; }
body.acct .hello-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.ball3d, .acct .hello > .ball3d { position: absolute; right: 2%; top: 26px; width: 300px; height: 300px; z-index: 1; pointer-events: none; }
.ball3d canvas { position: relative; z-index: 1; width: 100% !important; height: 100% !important; }
.ball3d::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 2%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); filter: blur(4px); transform: scale(calc(1 - var(--bob, 0) * 2)); }
.ball3d:not(.live)::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 40%), var(--ball-fallback, #dcef45); box-shadow: inset -18px -24px 40px rgba(0, 0, 0, .25); }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.rv.in { opacity: 1; transform: none; }
.main .panel, .main .stat, .main .kpi-card, .main .gpass, .main .duty-card { position: relative; }
.main .panel::after, .main .stat::before, .main .kpi-card::after, .main .duty-card::after { pointer-events: none; }
.lit { background-image: radial-gradient(420px circle at var(--gx) var(--gy), var(--glare, rgba(255, 255, 255, .5)), transparent 60%) !important; }
.main .stat, .main .kpi-card, .main .gpass { transition: transform .5s var(--ease), box-shadow .4s var(--ease); transform-style: preserve-3d; }
@media (max-width: 980px) {
    body.acct .hello { min-height: 300px; padding: 64px 2px 34px; }
    .ball3d, .acct .hello > .ball3d { width: 170px; height: 170px; top: 6px; right: -6px; }
}
@media (max-width: 640px) {
    body.acct[data-page="dashboard"] { --bd-h: 560px; }
    body.acct .topbar { padding: 34px 2px 22px; }
    .ball3d, .acct .hello > .ball3d { width: 96px; height: 96px; top: 4px; right: 0; }
    body.acct .hello-title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
    .backdrop-img, .grain { animation: none !important; }
    .rv { opacity: 1; transform: none; }
}

body.acct {
    --accent: var(--ball); --accent-ink: var(--night); --side-bg: var(--night); --side-2: #173a2b; --hero: var(--surround-deep);
    --role-call: "Player account";
    --photo: url(img/photos/p-paddles.jpg); --photo-pos: center 58%; --photo-filter: saturate(.92);
    --bd-shade: linear-gradient(180deg, rgba(16, 38, 29, .66) 0, rgba(16, 38, 29, .38) 36%, rgba(16, 38, 29, .52) 66%, rgba(244, 246, 241, .92) 93%, var(--paper) 100%);
    --glare: rgba(227, 242, 75, .16); --grain: .05;
    overflow-x: clip;
}
body.acct[data-page="reserve"], body.acct[data-page="reservations"], body.acct[data-page="reviews"] { --photo: url(img/photos/p-corner.jpg); --photo-pos: center 55%; }
body.acct[data-page="payments"], body.acct[data-page="paymentrecords"] { --photo: url(img/photos/p-orange.jpg); --photo-pos: center 40%; }
body.acct[data-page="tournaments"], body.acct[data-page="participants"], body.acct[data-page="messages"] { --photo: url(img/photos/p-hero.jpg); --photo-pos: center 78%; }
body.acct[data-page="profile"], body.acct[data-page="settings"], body.acct[data-page="personnel"], body.acct[data-page="faqs"] { --photo: url(img/photos/x-lines.jpg); }

body.acct[data-role="owner"] {
    --accent: var(--court); --accent-ink: #fff; --side-bg: var(--night); --side-2: #173a2b; --hero: var(--court);
    --role-call: "Facility owner";
    --photo: url(img/photos/o-night.jpg); --photo-pos: center 40%; --photo-filter: saturate(.85);
    --bd-shade: linear-gradient(180deg, rgba(16, 38, 29, .6) 0, rgba(16, 38, 29, .34) 40%, rgba(16, 38, 29, .5) 68%, rgba(244, 246, 241, .92) 93%, var(--paper) 100%), linear-gradient(90deg, rgba(44, 90, 160, .32), transparent 60%);
    --glare: rgba(106, 160, 216, .14);
}
body.acct[data-role="owner"][data-page="reservations"], body.acct[data-role="owner"][data-page="courts"], body.acct[data-role="owner"][data-page="facility"], body.acct[data-role="owner"][data-page="status"] { --photo: url(img/photos/o-arena.jpg); }
body.acct[data-role="owner"][data-page="payments"], body.acct[data-role="owner"][data-page="paymentrecords"], body.acct[data-role="owner"][data-page="messages"], body.acct[data-role="owner"][data-page="profile"], body.acct[data-role="owner"][data-page="personnel"] { --photo: url(img/photos/o-fog.jpg); }
body.acct[data-role="owner"][data-page="tournaments"], body.acct[data-role="owner"][data-page="participants"], body.acct[data-role="owner"][data-page="faqs"], body.acct[data-role="owner"][data-page="reviews"] { --photo: url(img/photos/o-balls.jpg); --photo-pos: center 30%; --photo-filter: saturate(.7) brightness(.7); }

body.acct[data-role="admin"] {
    --accent: var(--clay); --accent-ink: #fff; --side-bg: var(--night); --side-2: #173a2b; --hero: var(--court);
    --role-call: "Administrator";
    --photo: url(img/photos/a-trees.jpg); --photo-pos: center 50%; --photo-filter: saturate(.85);
    --bd-shade: linear-gradient(180deg, rgba(16, 38, 29, .62) 0, rgba(16, 38, 29, .36) 40%, rgba(16, 38, 29, .5) 68%, rgba(244, 246, 241, .92) 93%, var(--paper) 100%), linear-gradient(90deg, rgba(23, 58, 110, .35), transparent 60%);
    --glare: rgba(212, 103, 63, .12);
}
body.acct[data-role="admin"][data-page="users"], body.acct[data-role="admin"][data-page="reports"], body.acct[data-role="admin"][data-page="logs"] { --photo: url(img/photos/a-clay.jpg); }

.acct-nav { background: rgba(16, 38, 29, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: #fff; }
.acct-nav.solid { background: var(--night); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
[data-night] .acct-nav.solid { background: #08140f; }
.acct-nav::after { height: 2px; background: rgba(255, 255, 255, .14); animation: none; }
.acct-nav .brand, .acct-nav .brand:hover { color: #fff; }
.acct-nav-in { height: 70px; }
.tnav-item > a, .tnav-item > button { background: transparent !important; color: rgba(255, 255, 255, .8); font-family: var(--font); font-weight: 600; font-size: .92rem; text-transform: none; letter-spacing: 0; border-radius: 0; height: 70px; padding: 0 12px; }
.tnav-item > a:hover, .tnav-item > button:hover, .nav-drop.open > button { color: #fff; }
.tnav-item > a i, .tnav-item > button > i:first-child { display: none; }
.tnav-item > a::after, .tnav-item > button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; margin: 0; width: auto; border-radius: 0; background: var(--ball); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); display: block !important; z-index: 2; }
.tnav-item > a:hover::after, .tnav-item > button:hover::after, .tnav-item > a.active::after, .nav-drop.active > button::after, .nav-drop.open > button::after { transform: none; }
.tnav-item > a.active, .nav-drop.active > button { color: #fff; }
.tnav-item .badge-dot { background: var(--ball); color: var(--night); }
.umenu-btn { background: transparent; border: 2px solid rgba(255, 255, 255, .4); border-radius: var(--radius-m); color: #fff; }
.umenu-btn:hover, .umenu.open .umenu-btn { background: rgba(255, 255, 255, .1); border-color: #fff; }
.umenu-btn .avatar, .drop-head .avatar { background: var(--ball); color: var(--night); }
.duty-chip { border-radius: var(--radius-m); }
.drop { background: #fff; border-radius: var(--radius-l); box-shadow: 0 30px 60px -24px rgba(8, 20, 14, .5), 0 0 0 1px rgba(16, 38, 29, .06); }
.drop::before { background: #fff; }
.drop a { color: var(--night); border-radius: var(--radius-m); }
.drop a i { background: #eef2ea; color: var(--surround); border-radius: 10px; }
.drop a:hover, .drop a.active { background: #f3f8d6; color: var(--night); }
.drop a:hover i { background: var(--night); color: var(--ball); }
.drop .badge-dot { background: var(--night); color: var(--ball); }
.drop-head b { color: var(--night); }
.drop-head small { color: #586a62; }
.drop-head { border-color: #dde3dc; }
@media (max-width: 1100px) {
    .tnav-item > a, .tnav-item > button { height: 48px; }
    .tnav-item > a::after, .tnav-item > button::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
    .tnav-item > a.active::after, .nav-drop.active > button::after { transform: none; }
    .tnav { background: var(--night); }
    .tnav .drop { background: rgba(255, 255, 255, .05); }
    .tnav .drop a { color: rgba(255, 255, 255, .85); }
    .tnav .drop a i { background: rgba(255, 255, 255, .08); color: var(--ball); }
}

body.acct .hello-title, body.acct .topbar h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; letter-spacing: -.01em; line-height: .86; color: #fff; }
body.acct .hello-title { font-size: clamp(3.2rem, 8vw, 7rem); }
body.acct .topbar h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
body.acct .hello .rally-call { margin-bottom: 16px; }
body.acct .topbar > div:first-child::before { content: var(--role-call) !important; display: block; font-family: var(--mono); font-size: .8rem; color: var(--ball); background: none; padding: 0; border-radius: 0; text-transform: none; letter-spacing: .02em; margin-bottom: 12px; animation: none; }
[data-role="admin"] .topbar > div:first-child::before { color: #ffb08f; }
body.acct .hello-links a { font-weight: 600; }
body.acct .hello .btn-quiet, body.acct .topbar .btn-quiet { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: none; }
body.acct .hello .btn-quiet:hover, body.acct .topbar .btn-quiet:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
body.acct .hello .btn-court, body.acct .topbar .btn-court { background: var(--ball); border-color: var(--ball); color: var(--night); }
body.acct .hello .btn-court:hover, body.acct .topbar .btn-court:hover { background: #e4fb6a; border-color: #e4fb6a; color: var(--night); box-shadow: 0 8px 26px -8px rgba(214, 242, 74, .8); }

.acct-ticker { width: 100vw; margin: 0 0 26px calc(50% - 50vw); position: relative; z-index: 1; }
.acct-ticker .ticker-track { animation-duration: 40s; }

body.acct .panel, body.acct .kpi-card, body.acct .stat:not(.lead), body.acct .tabs-row, body.acct .duty-card {
    background-color: rgba(255, 255, 255, .88); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 0; border-radius: var(--radius-l); box-shadow: var(--shadow);
}
body.acct .panel:hover { box-shadow: 0 24px 40px -24px rgba(16, 38, 29, .45); }
body.acct[data-night] .panel, body.acct[data-night] .kpi-card, body.acct[data-night] .stat:not(.lead), body.acct[data-night] .tabs-row, body.acct[data-night] .duty-card {
    background-color: rgba(18, 41, 31, .74); border: 1px solid rgba(227, 242, 75, .08); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .8);
}
body.acct .tabs-row { border-radius: var(--radius-m); padding: 5px; }
body.acct .tabs-row a { border-radius: 9px; font-weight: 600; }
body.acct .tabs-row a.on { background: var(--night); color: var(--ball); }
body.acct[data-night] .tabs-row a.on { background: var(--ball); color: var(--night); }
body.acct .tabs-row a:not(.on):hover { background: rgba(227, 242, 75, .25); color: var(--ink); }
[data-night] .tabs-row a:not(.on) { color: var(--muted); }

body.acct .panel-head h2 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 80%; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 1.45rem; line-height: 1; letter-spacing: 0; }
body.acct .panel-head .small, body.acct .panel-head .small-print { font-family: var(--mono); font-size: .76rem; }
body.acct .stat { border-radius: var(--radius-l); }
body.acct .stat .k { font-family: var(--mono); font-size: .74rem; text-transform: none; letter-spacing: .02em; }
body.acct .stat .v, body.acct .kpi b { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 80%; font-variation-settings: "wdth" 80; letter-spacing: 0; }
body.acct:not([data-night]) .stat:not(.lead) { color: var(--ink); }
body.acct:not([data-night]) .stat:not(.lead) .k, body.acct:not([data-night]) .stat:not(.lead) .d { color: var(--muted); }
body.acct .stat.lead { background: var(--accent); color: var(--accent-ink); box-shadow: 0 18px 40px -20px rgba(16, 38, 29, .5); }
body.acct .stat.lead .k, body.acct .stat.lead .d { color: inherit; opacity: .78; }
body.acct .stat::after { border-color: currentColor; opacity: .15; }
body.acct .kpi b { font-size: 2rem; }
body.acct .kpi i { background: rgba(227, 242, 75, .35); color: var(--night); border-radius: 50%; }
[data-night] .kpi i { background: rgba(227, 242, 75, .14); color: var(--ball); }
[data-role="admin"] .kpi i { background: rgba(212, 103, 63, .14); color: var(--clay); }
body.acct .ptab { font-weight: 600; }
body.acct .ptab::after { background: var(--accent); }
body.acct .ptab em { background: var(--ball); color: var(--night); }
body.acct .btn { border-radius: var(--radius-m); text-transform: none; letter-spacing: 0; font-size: 1rem; }
body.acct .btn-ball { background: var(--ball); border-color: var(--ball); color: var(--night); box-shadow: none; }
body.acct .btn-ball:hover { background: #e4fb6a; border-color: #e4fb6a; color: var(--night); box-shadow: 0 8px 26px -8px rgba(214, 242, 74, .8); }
body.acct .btn-ball.btn-go .go-ic { background: var(--night); }
body.acct .btn-ball.btn-go .go-ic::after { background: var(--ball); box-shadow: 7px 2px 0 var(--ball), 3px 8px 0 var(--ball), 10px 9px 0 var(--ball); }
body.acct .btn-court { background: var(--court); border-color: var(--court); color: #fff; }
body.acct .btn-court:hover { background: var(--court-deep); border-color: var(--court-deep); color: #fff; }
[data-night] .btn-court { background: var(--ball); border-color: var(--ball); color: var(--night); }
[data-night] .btn-quiet { color: var(--ink); border-color: var(--line-strong); }
[data-night] .btn-quiet:hover { background: var(--ink); color: var(--night); border-color: var(--ink); }

body.acct .gpass { background: linear-gradient(120deg, var(--surround), var(--surround-deep)); border-radius: var(--radius-l); }
body.acct .gpass-scene { background: url(img/photos/p-corner.jpg) center 55% / cover no-repeat; }
body.acct .gpass-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, rgba(29, 74, 54, .9)); }
body.acct .gpass-scene .mini-court, body.acct .gpass-scene .mc-ball, body.acct .gpass-scene .mc-shadow { display: none; }
body.acct .gpass-title { font-family: var(--display); font-style: italic; text-transform: uppercase; font-stretch: 78%; font-variation-settings: "wdth" 78; }
body.acct .gpass-stub { background: var(--ball); color: var(--night); }
body.acct .gpass-stub b { font-family: var(--display); font-style: italic; }
body.acct .gpass::before, body.acct .gpass::after { background: var(--paper); }
body.acct .gpass-kicker { color: var(--ball); }
body.acct .entry-date, body.acct .tl-date { border-radius: var(--radius-m); }
body.acct .entry-date b, body.acct .tl-date b { font-family: var(--display); font-style: italic; }
body.acct .entry-main b { font-family: var(--display); font-style: italic; text-transform: uppercase; font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 900; }
body.acct .rslip { border-radius: var(--radius-m); }
[data-role="admin"] .ptab-pane .leader { background: var(--night); border-radius: var(--radius-l); }

[data-night] .chip { background: rgba(255, 255, 255, .06); color: #cfe0d5; border: 1px solid rgba(255, 255, 255, .1); }
[data-night] .chip-confirmed, [data-night] .chip-verified, [data-night] .chip-approved, [data-night] .chip-published, [data-night] .chip-active, [data-night] .chip-registered { color: var(--ball); border-color: rgba(227, 242, 75, .35); }
[data-night] .chip-pending, [data-night] .chip-submitted, [data-night] .chip-draft, [data-night] .chip-unpaid { color: #ffd27a; border-color: rgba(255, 210, 122, .35); }
[data-night] .chip-cancelled, [data-night] .chip-rejected, [data-night] .chip-void, [data-night] .chip-inactive, [data-night] .chip-suspended, [data-night] .chip-withdrawn, [data-night] .chip-removed { color: #ff9c84; border-color: rgba(255, 156, 132, .35); }
[data-night] .chip-completed, [data-night] .chip-closed { color: var(--court-2); border-color: rgba(106, 160, 216, .4); }
[data-night] .entry-date { background: rgba(227, 242, 75, .1); color: var(--ball); }
[data-night] .hbar-t { background: rgba(255, 255, 255, .08); }
[data-night] .cb-closed, [data-night] .legend .cb-closed { background: repeating-linear-gradient(135deg, #10241b 0 5px, #163024 5px 10px); }
[data-night] .cb-confirmed, [data-night] .legend .cb-confirmed { background: var(--ball); color: var(--night); }
[data-night] .cb-confirmed b, [data-night] .cb-confirmed small { color: var(--night); }
[data-night] .cb-completed, [data-night] .legend .cb-completed { background: #2f5743; }
[data-night] .drop-out i { background: #fbe9e6; }
[data-night] .btn-ok-soft { background: rgba(227, 242, 75, .1); color: var(--ball); border-color: rgba(227, 242, 75, .35); }
[data-night] .btn-ok-soft:hover { background: var(--ball); color: var(--night); }
[data-night] .btn-danger-soft { background: rgba(255, 156, 132, .1); color: #ff9c84; border-color: rgba(255, 156, 132, .35); }
[data-night] .btn-danger-soft:hover { background: #ff9c84; color: var(--night); }
[data-night] .duty-ic { background: var(--ball); color: var(--night); }
[data-night] .chat-body { background: rgba(0, 0, 0, .2); }
[data-night] .bubble { background: #1b3a2c; color: var(--ink); }
[data-night] .bubble.me { background: var(--ball); color: var(--night); }
[data-night] .chat-list a.on { background: rgba(227, 242, 75, .08); box-shadow: inset 4px 0 0 var(--ball); }
[data-night] .alert-inline.bad { background: #2a1512; border-color: #5a2a22; color: #ffb3a6; }
[data-night] .alert-inline.ok { background: #18260f; border-color: #3a5212; color: #e3f24b; }
[data-night] .alert-inline.info { background: #10223a; border-color: #24446d; color: #b8d4ff; }
[data-night] .mini-stats { background: rgba(227, 242, 75, .06); }
[data-night] .tbl th { border-bottom-color: var(--line-strong); }
[data-night] .ball3d { filter: drop-shadow(0 0 28px rgba(227, 242, 75, .3)); }
.tnav-item > a.active::after, .nav-drop.active > button::after { left: 12px; right: 12px; bottom: -2px; width: auto; height: 2px; margin: 0; border-radius: 0; background: var(--ball); }
@media (max-width: 1100px) { .tnav-item > a.active::after, .nav-drop.active > button::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; } }

.site-footer { padding: 72px 0 28px; margin-top: 0; }
.site-footer .foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand { max-width: 420px; }
.foot-brand p { margin: 16px 0 0; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.foot-call { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .86; color: #fff; text-align: right; }
.foot-call span { display: block; color: var(--ball); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 36px 0; }
.foot-cols h3 { font-size: .74rem; font-weight: 700; color: var(--ball); margin: 0 0 14px; letter-spacing: .04em; text-transform: uppercase; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-cols a, .foot-cols span { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot-cols a:hover { color: var(--ball); text-decoration: none; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) {
    .site-footer .foot-top { flex-direction: column; align-items: flex-start; }
    .foot-call { text-align: left; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.back-row { position: absolute; top: 84px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.back-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(16, 38, 29, .45); border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s, border-color .2s, transform .25s var(--ease); }
.back-btn i { transition: transform .25s var(--ease); }
.back-btn:hover { color: var(--night); background: var(--ball); border-color: var(--ball); }
.back-btn:hover i { transform: translateX(-3px); }
body[data-page="login"] .back-row, body[data-page="register"] .back-row { top: 92px; }
body[data-page="login"] .back-row .wrap, body[data-page="register"] .back-row .wrap { width: auto; margin: 0 0 0 48px; }
@media (max-width: 900px) {
    .back-row { top: 76px; }
    body[data-page="login"] .back-row .wrap, body[data-page="register"] .back-row .wrap { margin-left: 24px; }
}

.main { position: relative; }
.back-ic { position: absolute; top: 34px; left: 24px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(16, 38, 29, .4); border: 1.5px solid rgba(255, 255, 255, .35); text-decoration: none; font-size: 1.1rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.back-ic:hover { background: var(--ball); border-color: var(--ball); color: var(--night); transform: translateX(-3px); }
body.acct .back-ic ~ form .topbar { padding-top: 96px; }
@media (max-width: 640px) { .back-ic { top: 22px; left: 16px; width: 38px; height: 38px; } body.acct .back-ic ~ form .topbar { padding-top: 76px; } }

.auth { margin-bottom: 0; }
.auth-art { background: var(--night); isolation: isolate; min-height: calc(100vh - 0px); }
.auth-photo { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; transform: scale(1.04); animation: kenburns 38s ease-in-out infinite alternate; }
.auth-art-login .auth-photo { background-image: url(img/photos/o-night.jpg); background-position: center 40%; }
.auth-art-reg .auth-photo { background-image: url(img/photos/p-hero.jpg); background-position: center 70%; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 38, 29, .55) 0%, rgba(16, 38, 29, .2) 40%, rgba(16, 38, 29, .88) 82%, var(--night) 100%), linear-gradient(90deg, rgba(23, 58, 110, .45), transparent 70%); }
.auth-lines { position: absolute; inset: 8% 10% 22% 18%; width: 72%; height: 70%; z-index: -1; opacity: .35; transform: perspective(900px) rotateX(52deg) rotateZ(-18deg); transform-origin: 50% 60%; }
.auth-lines path { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw-lines 2.4s .2s var(--ease) forwards; }
@keyframes draw-lines { to { stroke-dashoffset: 0; } }
.auth-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.af-card { position: absolute; background: rgba(255, 255, 255, .94); color: var(--night); border-radius: var(--radius-l); padding: 16px 18px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); transition: translate .5s var(--ease); animation: af-in .9s var(--ease) both; }
@keyframes af-in { from { opacity: 0; transform: translateY(24px) rotate(var(--r, 0deg)); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
.af-card small { display: block; font-size: .68rem; color: #586a62; }
.af-ticket { top: 17%; right: 9%; width: 250px; --r: 3deg; transform: rotate(3deg); border-left: 6px solid var(--ball); }
.af-ticket b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: .95; margin: 4px 0 2px; }
.af-ticket span { display: block; font-size: .86rem; color: #586a62; }
.af-ticket em { display: inline-block; margin-top: 10px; font-style: normal; font-size: .8rem; font-weight: 700; background: var(--night); color: var(--ball); padding: 3px 8px; border-radius: 6px; }
.af-stamp { position: absolute; right: 14px; bottom: 14px; font-style: normal; font-family: var(--mono); font-size: .66rem; font-weight: 700; text-transform: uppercase; color: #146a40; border: 2px solid #146a40; border-radius: 6px; padding: 2px 6px; transform: rotate(-8deg); }
.af-receipt { top: 44%; right: 26%; width: 210px; --r: -4deg; transform: rotate(-4deg); animation-delay: .15s; background: #fffdf2; border: 1.5px dashed #c3cdc4; }
.af-receipt b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.7rem; }
.af-ok { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: #146a40; }
.af-ball { position: absolute; top: 9%; left: 14%; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .12), 0 24px 40px -14px rgba(0, 0, 0, .6); animation: bob 3s ease-in-out infinite; transition: translate .5s var(--ease); }
.af-ball::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 34%, rgba(16, 38, 29, .55) 0 5px, transparent 6px), radial-gradient(circle at 60% 26%, rgba(16, 38, 29, .55) 0 5px, transparent 6px), radial-gradient(circle at 48% 58%, rgba(16, 38, 29, .55) 0 5px, transparent 6px), radial-gradient(circle at 74% 56%, rgba(16, 38, 29, .55) 0 4px, transparent 5px), radial-gradient(circle at 30% 74%, rgba(16, 38, 29, .55) 0 4px, transparent 5px); }
.af-steps { list-style: none; margin: 0; padding: 0; }
.af-steps .af-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; width: 270px; align-items: center; }
.af-steps .af-card span { grid-row: span 2; font-size: 1.5rem; font-weight: 700; color: var(--surround); }
.af-steps .af-card b { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.15rem; line-height: 1; }
.af-steps li:nth-child(1) { top: 14%; right: 10%; --r: 2deg; transform: rotate(2deg); }
.af-steps li:nth-child(2) { top: 31%; right: 24%; --r: -3deg; transform: rotate(-3deg); animation-delay: .12s; }
.af-steps li:nth-child(3) { top: 48%; right: 8%; --r: 1deg; transform: rotate(1deg); animation-delay: .24s; background: var(--ball); }
.auth-art .quote { max-width: 480px; }
.auth-title { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .86; color: #fff; margin: 0 0 14px; }
.auth-art .quote p:not(.rally-call) { color: rgba(255, 255, 255, .78); }
.auth-form { background: var(--paper); }
.auth-form h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 78%; font-variation-settings: "wdth" 78; text-transform: uppercase; }
@media (max-width: 1100px) { .af-receipt { right: 8%; top: 52%; } .af-steps li:nth-child(2) { right: 14%; } }
@media (max-width: 900px) {
    .auth-art { min-height: 380px; }
    .af-card, .af-steps { display: none; }
    .af-ball { top: auto; bottom: 34%; left: auto; right: 10%; width: 56px; height: 56px; }
}

.drop-file { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border: 2px dashed var(--line-strong); border-radius: var(--radius-m); background: color-mix(in srgb, var(--ball) 7%, var(--card)); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop-file:hover, .drop-file.has { border-color: var(--surround); background: color-mix(in srgb, var(--ball) 16%, var(--card)); }
.drop-file img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.drop-file-txt { display: grid; gap: 2px; min-width: 0; }
.drop-file-txt i { font-size: 1.6rem; color: var(--surround); }
.drop-file-txt b { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-file-txt small { color: var(--muted); font-size: .8rem; }
input.visually-hidden:focus-visible + .drop-file, .drop-file:focus-within { outline: 3px solid var(--court); outline-offset: 2px; }
.permit-view { display: grid; gap: 8px; margin-top: 16px; padding: 10px; border-radius: var(--radius-m); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); max-width: 360px; }
.permit-view img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
.permit-view span { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .9rem; }
.permit-view:hover { border-color: var(--surround); color: var(--ink); }

body.pub-acct .acct-nav { position: fixed; left: 0; right: 0; --side-bg: var(--night); --side-2: #173a2b; --accent: var(--ball); --accent-ink: var(--night); --hero: var(--surround-deep); }
body.pub-acct .acct-nav.solid { background: var(--night); }

.msg-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: var(--radius-m); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; border: 2px solid rgba(255, 255, 255, .22); transition: border-color .2s, background-color .2s, color .2s; }
.msg-btn i { font-size: 1.05rem; }
.msg-btn:hover, .msg-btn.active { color: var(--night); background: var(--ball); border-color: var(--ball); }
.msg-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: var(--ball); color: var(--night); font-family: var(--mono); font-size: .72rem; font-weight: 700; }
.msg-btn:hover .msg-count, .msg-btn.active .msg-count { background: var(--night); color: var(--ball); }
@media (max-width: 1280px) { .msg-btn-txt { display: none; } .msg-btn { padding: 0 10px; } }

.msg-fab { position: fixed; right: 22px; bottom: 22px; z-index: 1200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.msg-fab-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--night); color: var(--ball); font-size: 1.45rem; display: grid; place-items: center; box-shadow: 0 18px 36px -12px rgba(16, 38, 29, .7), 0 0 0 4px rgba(227, 242, 75, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.msg-fab-btn:hover { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 22px 40px -12px rgba(16, 38, 29, .8), 0 0 0 6px rgba(227, 242, 75, .35); }
.msg-fab-btn .msg-count { position: absolute; top: -4px; right: -4px; border: 2px solid var(--night); border-radius: 999px; animation: badge-pop 2.8s ease-in-out infinite; }
.msg-fab.open .msg-fab-btn { background: var(--ball); color: var(--night); transform: rotate(-12deg); }
.msg-fab-panel { width: min(340px, calc(100vw - 32px)); background: #fff; color: var(--night); border-radius: var(--radius-l); box-shadow: 0 40px 70px -30px rgba(8, 20, 14, .7), 0 0 0 1px rgba(16, 38, 29, .08); overflow: hidden; transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
.msg-fab.open .msg-fab-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.msg-fab-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 12px; background: var(--night); color: #fff; }
.msg-fab-head b { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.3rem; }
.msg-fab-head span { font-size: .72rem; color: var(--ball); }
.msg-fab-list { max-height: 300px; overflow-y: auto; }
.msg-fab-list a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; color: var(--night); text-decoration: none; border-bottom: 1px solid #edf0ea; }
.msg-fab-list a:hover { background: #f6f9e6; }
.msg-fab-list .avatar { width: 38px; height: 38px; font-size: .78rem; background: #e7ece5; color: var(--night); }
.msg-fab-list a.new .avatar { background: var(--ball); }
.mf-meta { min-width: 0; }
.mf-meta b, .mf-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mf-meta small { color: #586a62; font-size: .8rem; }
.msg-fab-list a.new .mf-meta small { color: var(--night); font-weight: 600; }
.msg-fab-list em { font-style: normal; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--night); color: var(--ball); font-size: .74rem; font-weight: 800; }
.msg-fab-list i { font-style: normal; font-size: .68rem; color: #8a9a92; }
.msg-fab-empty { padding: 18px; margin: 0; color: #586a62; font-size: .9rem; }
.msg-fab-all { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 700; color: var(--night); text-decoration: none; background: #f4f6f1; }
.msg-fab-all:hover { background: var(--ball); color: var(--night); }
@media (max-width: 640px) { .msg-fab { right: 14px; bottom: 14px; } .msg-fab-btn { width: 54px; height: 54px; } }

html.pk-lock { overflow: hidden; }
.pk-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(8, 20, 14, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.pk-modal.open { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }
.pk-modal-card { position: relative; width: min(440px, 100%); background: var(--paper); color: var(--night); border-radius: var(--radius-l); padding: 34px 28px 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border-top: 6px solid var(--ball); transform: translateY(18px) scale(.97); transition: transform .35s var(--ease); }
.pk-modal.open .pk-modal-card { transform: none; }
.pk-modal.danger .pk-modal-card { border-top-color: var(--clay); }
.pk-modal-ball { position: absolute; top: -26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); box-shadow: inset -5px -6px 0 rgba(0, 0, 0, .12), 0 12px 20px -8px rgba(0, 0, 0, .5); animation: bob 2.4s ease-in-out infinite; }
.pk-modal.danger .pk-modal-ball { background: radial-gradient(circle at 35% 30%, #ffc3a8, var(--clay) 50%, #a94a28); }
.pk-modal-kicker { margin: 0 0 6px; font-size: .74rem; color: #586a62; }
.pk-modal h2 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 78%; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: 2rem; line-height: .95; margin: 0 0 10px; }
.pk-modal p#pkmText { color: #3d5048; margin: 0 0 22px; line-height: 1.55; }
.pk-modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.pk-modal .btn-quiet { background: transparent; color: var(--night); border-color: #c3cdc4; }
.pk-modal .btn-quiet:hover { background: var(--night); color: #fff; border-color: var(--night); }
.pk-modal .btn-ball { background: var(--ball); border-color: var(--ball); color: var(--night); display: inline-flex; align-items: center; gap: 8px; }
.pk-modal.danger .btn-ball { background: var(--clay); border-color: var(--clay); color: #fff; }
.pk-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.busy .pk-spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.pk-load { position: fixed; inset: 0; z-index: 3100; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(16, 38, 29, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.pk-load.on { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.pk-load p { margin: 0; color: #fff; font-size: .85rem; }
.pk-load-court { position: relative; width: 160px; height: 90px; border-bottom: 3px solid rgba(255, 255, 255, .8); }
.pk-load-net { position: absolute; left: 50%; bottom: 0; width: 3px; height: 34px; margin-left: -1.5px; background: #fff; border-radius: 2px; }
.pk-load-ball { position: absolute; left: 8px; bottom: 3px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); animation: rally-x 1.1s ease-in-out infinite alternate, rally-y .55s cubic-bezier(.3, 0, .7, 1) infinite alternate; }
.pk-load-shadow { position: absolute; left: 8px; bottom: -6px; width: 22px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .35); animation: rally-x 1.1s ease-in-out infinite alternate; }
@keyframes rally-x { from { translate: 0 0; } to { translate: 122px 0; } }
@keyframes rally-y { from { bottom: 3px; } to { bottom: 64px; } }

.drawer { position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: flex-end; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 20, 14, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade-in .3s both; cursor: default; }
@keyframes fade-in { from { opacity: 0; } }
.drawer-sheet { position: relative; width: min(560px, 100%); height: 100%; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .6); animation: sheet-in .45s var(--ease) both; outline: 0; }
.drawer-wide .drawer-sheet { width: min(860px, 100%); }
@keyframes sheet-in { from { transform: translateX(60px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 20px; background: var(--night); color: #fff; position: relative; overflow: hidden; }
.drawer-head::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 120px; border: 3px solid rgba(255, 255, 255, .1); transform: rotate(-10deg); }
.drawer-kicker { margin: 0 0 8px; font-size: .74rem; color: var(--ball); }
.drawer-head h2 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 74%; font-variation-settings: "wdth" 74; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.8rem); line-height: .9; margin: 0; color: #fff; }
.drawer-sub { margin: 8px 0 0; color: rgba(255, 255, 255, .75); }
.drawer-sub a { color: #fff; }
.drawer-x { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); text-decoration: none; position: relative; z-index: 1; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.drawer-x:hover { background: var(--ball); color: var(--night); border-color: var(--ball); transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 28px; display: grid; gap: 18px; align-content: start; }
.drawer-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 28px 20px; border-top: 1px solid var(--line); background: var(--card); }
.drawer-foot .btn-danger-soft { margin-left: auto; }
.dw-ticket { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.dw-ticket > span { padding: 14px 16px; border-right: 1.5px dashed var(--line); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.dw-ticket > span:last-child { border-right: 0; }
.dw-ticket small { font-size: .68rem; color: var(--muted); }
.dw-ticket b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.35rem; line-height: 1; }
.dw-ticket em { font-style: normal; font-size: .8rem; color: var(--muted); }
.dw-note { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--court) 10%, var(--card)); font-size: .92rem; }
.dw-note.bad { background: color-mix(in srgb, var(--clay) 14%, var(--card)); }
.dw-list { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.dw-list dt { font-family: var(--mono); font-size: .72rem; font-weight: 400; color: var(--muted); padding-top: 3px; }
.dw-list dd { margin: 0; font-weight: 600; }
.dw-list dd small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.dw-box, .dw-form { padding: 18px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.dw-box h3, .dw-form h3 { font-size: .74rem; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.dw-fine { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.dw-proof { display: grid; gap: 8px; margin-top: 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; }
.dw-proof img { width: 100%; max-height: 260px; object-fit: contain; background: #e9ede6; border-radius: 10px; }
.dw-proof span { display: inline-flex; gap: 8px; align-items: center; }
.dw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: st; }
.dw-steps li { position: relative; padding: 26px 8px 0 0; font-size: .86rem; }
.dw-steps li::before { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2.5px solid var(--line-strong); z-index: 1; }
.dw-steps li::after { content: ""; position: absolute; top: 12px; left: 14px; right: 0; height: 2px; background: var(--line); }
.dw-steps li:last-child::after { display: none; }
.dw-steps li.done::before { background: var(--surround); border-color: var(--surround); }
.dw-steps li.done::after { background: var(--surround); }
.dw-steps li.now::before { background: var(--ball); border-color: var(--night); box-shadow: 0 0 0 4px rgba(227, 242, 75, .35); }
.dw-steps li.bad::before { background: var(--clay); border-color: var(--clay); }
.dw-steps b { display: block; }
.dw-steps small { color: var(--muted); font-size: .78rem; }
.dw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dw-pair > div { padding: 16px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.dw-pair small { font-size: .68rem; color: var(--muted); }
.dw-pair b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin: 6px 0 8px; }
.dw-pair p { margin: 0; font-size: .84rem; color: var(--muted); }
.drawer-panels { overflow-y: auto; padding: 22px; }
.drawer-panels .grid-73 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0 !important; }
.drawer-panels .panel { margin: 0 0 16px; box-shadow: none !important; }
.drawer-panels > .panel:first-child .panel-head, .drawer-panels .grid-73 > .panel:first-child .panel-head { position: sticky; top: -22px; z-index: 2; margin: -22px -22px 18px; padding: 22px 22px 16px; background: var(--night); color: #fff; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.drawer-panels .panel-head h2 { color: inherit; }
.drawer-panels .panel-head .drawer-x { width: 38px; height: 38px; }
.drawer-panels { background: var(--paper); }
body.acct .drawer-panels .panel { background-color: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.acct[data-night] .drawer-sheet { background: #0b1a14; }
body.acct[data-night] .drawer-panels .panel { background-color: #12291f; }
@media (max-width: 640px) {
    .drawer-head { padding: 22px 18px 16px; }
    .drawer-body { padding: 18px; }
    .drawer-foot { padding: 14px 18px 18px; }
    .drawer-foot .btn { flex: 1 1 auto; }
    .dw-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .dw-list dd { margin-bottom: 8px; }
    .dw-pair { grid-template-columns: minmax(0, 1fr); }
}

tr[data-href] { cursor: pointer; }
tr[data-href]:hover td { background: color-mix(in srgb, var(--ball) 9%, transparent); }
.tbl tr.hl td { background: color-mix(in srgb, var(--ball) 24%, transparent); }
.row-name { color: inherit; text-decoration: none; font-weight: 700; background-image: linear-gradient(var(--ball), var(--ball)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease); }
.row-name:hover, tr[data-href]:hover .row-name { color: inherit; background-size: 100% 2px; }
.who b a { color: inherit; text-decoration: none; }

.timeline li { display: block; padding: 4px 0; }
.tl-link { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 6px 10px 6px 0; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .2s, transform .25s var(--ease); }
.tl-link:hover { color: var(--ink); background: color-mix(in srgb, var(--ball) 18%, transparent); transform: translateX(4px); }
.tl-link:hover .tl-main b { text-decoration: underline; text-decoration-color: var(--ball-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.feed-main { color: var(--ink); text-decoration: none; }
a.feed-main:hover { color: var(--ink); }
a.feed-main:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--ball-deep); text-underline-offset: 3px; }

.tix { display: grid; gap: 12px; }
.tix-row { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1.2fr) minmax(0, 1fr) auto minmax(120px, auto) 28px; gap: 20px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; }
.tix-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--line-strong); }
.tix-row:has(.chip-confirmed)::before { background: var(--surround); }
.tix-row:has(.chip-pending)::before { background: #f5b84a; }
.tix-row:has(.chip-completed)::before { background: var(--court); }
.tix-row:has(.chip-cancelled)::before, .tix-row:has(.chip-rejected)::before { background: var(--clay); }
.tix-row:hover { color: var(--ink); transform: translateX(6px); box-shadow: 0 24px 40px -24px rgba(16, 38, 29, .45); }
.tix-row.hl { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.tix-date { text-align: center; background: var(--night); color: #fff; border-radius: var(--radius-m); padding: 8px 0 10px; }
.tix-date small { display: block; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; color: var(--ball); }
.tix-date b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2rem; line-height: 1; }
.tix-main b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.5rem; line-height: 1; }
.tix-main small { color: var(--muted); }
.tix-time { display: grid; gap: 8px; font-size: .86rem; }
.tix-ruler { position: relative; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 19)), color-mix(in srgb, var(--surround) 8%, var(--card)); }
.tix-ruler i { position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w); border-radius: 4px; background: var(--ball); box-shadow: inset 0 0 0 1.5px var(--ball-deep); }
.tix-amt { font-weight: 800; }
.tix-status { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tix-status small { font-size: .68rem; color: var(--muted); }
.tix-go { font-size: 1.2rem; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.tix-row:hover .tix-go { transform: translateX(4px); color: var(--ink); }
@media (max-width: 980px) {
    .tix-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 14px; }
    .tix-time { grid-column: 2 / 4; }
    .tix-amt { grid-row: 1; grid-column: 3; align-self: start; }
    .tix-status { grid-column: 2 / 4; flex-direction: row; align-items: center; }
    .tix-go { display: none; }
    .tix-date { grid-row: span 3; align-self: stretch; display: grid; align-content: center; }
}

.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; border-radius: var(--radius-l); overflow: hidden; background: var(--night); color: #fff; box-shadow: 0 24px 50px -30px rgba(16, 38, 29, .8); }
.ledger-cell { padding: 20px 22px; border-right: 1.5px dashed rgba(255, 255, 255, .16); }
.ledger-cell:last-child { border-right: 0; }
.ledger-cell small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.ledger-cell b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; margin: 4px 0 2px; }
.ledger-cell span { font-size: .84rem; color: rgba(255, 255, 255, .7); }
.ledger-cell.due { background: var(--ball); color: var(--night); }
.ledger-cell.due small, .ledger-cell.due span { color: rgba(16, 38, 29, .7); }
.rcpt-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.rcpt-tools .form-control { max-width: 340px; border-radius: 999px; padding-left: 18px; }
.receipts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.rcpt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; background: #fffef8; color: var(--night); text-decoration: none; border-radius: 6px 6px 0 0; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; margin-bottom: 10px; }
.rcpt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, #fffef8 0) 0 0 / 14px 10px repeat-x, linear-gradient(45deg, transparent 6px, #fffef8 0) 0 0 / 14px 10px repeat-x; filter: drop-shadow(0 3px 2px rgba(16, 38, 29, .08)); }
.rcpt:hover { color: var(--night); transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 26px 40px -24px rgba(16, 38, 29, .5); }
.rcpt.hl { outline: 3px solid var(--ball); outline-offset: 3px; }
.rcpt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1.5px dashed #d6dccf; margin-bottom: 8px; }
.rcpt-top small { font-size: .7rem; color: #586a62; }
.rcpt-name { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.3rem; line-height: 1; }
.rcpt-fac { font-size: .88rem; color: #586a62; }
.rcpt-amt { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 10px; border-top: 1.5px dashed #d6dccf; }
.rcpt-amt small { font-size: .7rem; color: #586a62; }
.rcpt-amt b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.6rem; }
.rcpt-foot { font-size: .72rem; color: #586a62; }
.rcpt-unpaid .rcpt-foot, .rcpt-rejected .rcpt-foot { color: var(--night); font-weight: 700; background: var(--ball); align-self: flex-start; padding: 3px 8px; border-radius: 6px; margin-top: 6px; }
.rcpt-rejected .rcpt-foot { background: var(--clay); color: #fff; }
.rcpt-void { opacity: .6; }
@media (max-width: 640px) { .ledger { grid-template-columns: minmax(0, 1fr); } .ledger-cell { border-right: 0; border-bottom: 1.5px dashed rgba(255, 255, 255, .16); } .rcpt-tools .form-control { max-width: none; } }

.my-draw { display: grid; gap: 14px; position: relative; }
.draw-card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 16px 22px 16px 16px; border-radius: var(--radius-l); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; }
.draw-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 26px 40px -24px rgba(16, 38, 29, .45); }
.draw-card.hl { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.draw-card.past { opacity: .62; }
.draw-date { text-align: center; padding: 12px 0; border-radius: var(--radius-m); background: var(--surround-deep); color: #fff; background-image: linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, .12) 49% 51%, transparent 52%); }
.draw-date b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.4rem; line-height: .9; color: var(--ball); }
.draw-date small { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; }
.draw-main small { font-size: .7rem; color: var(--muted); }
.draw-main b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 78%; font-variation-settings: "wdth" 78; font-size: 1.6rem; line-height: .95; margin: 3px 0; }
.draw-main span { color: var(--muted); font-size: .9rem; }
.draw-meta { display: flex; gap: 20px; }
.draw-meta small { display: block; font-size: .66rem; color: var(--muted); }
.draw-meta b { font-weight: 700; }
.draw-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.draw-status small { font-size: .68rem; color: var(--muted); }
@media (max-width: 860px) {
    .draw-card { grid-template-columns: 74px minmax(0, 1fr); gap: 10px 16px; }
    .draw-date { grid-row: span 3; }
    .draw-date b { font-size: 1.9rem; }
    .draw-status { flex-direction: row; align-items: center; }
}

.score-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.score-h { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; color: var(--ink); margin: 0 0 14px; }
.score-todo, .score-list { display: grid; gap: 14px; }
.score-card { position: relative; display: block; padding: 20px; border-radius: var(--radius-l); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); animation: rise .5s var(--ease) both; }
.score-card.todo { background: var(--night); color: #fff; overflow: hidden; transition: transform .3s var(--ease); }
.score-card.todo:hover { color: #fff; transform: translateY(-3px) rotate(-.5deg); }
.score-card.todo b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; padding-right: 60px; }
.score-card.todo small { display: block; color: rgba(255, 255, 255, .65); margin: 6px 0 14px; font-size: .74rem; }
.score-card.todo em { font-style: normal; font-weight: 700; color: var(--ball); }
.sc-ball { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); transition: transform .5s var(--ease); }
.score-card.todo:hover .sc-ball { transform: translateY(-6px) rotate(160deg); }
.score-card header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.score-card header span { font-size: .72rem; color: var(--muted); }
.sc-rating { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.sc-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.6rem; line-height: .9; }
.sc-of { color: var(--muted); font-size: .8rem; margin-right: 8px; }
.rate-pick label { background: #e2e8df !important; position: relative; }
.rate-pick label:hover, .rate-pick label:hover ~ label, .rate-pick input:checked ~ label { background: var(--ball) !important; box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .1); }
@media (max-width: 860px) { .score-wrap { grid-template-columns: minmax(0, 1fr); } }

body.acct .chat { border: 0; border-radius: var(--radius-l); box-shadow: var(--shadow); background: var(--card); }
body.acct .chat-list { background: var(--night); border-right: 0; }
body.acct .chat-list a { color: #fff; border-bottom-color: rgba(255, 255, 255, .08); }
body.acct .chat-list a:hover { background: rgba(255, 255, 255, .05); }
body.acct .chat-list a.on { background: rgba(227, 242, 75, .1); box-shadow: inset 4px 0 0 var(--ball); }
body.acct .chat-list .meta small, body.acct .chat-list small.muted { color: rgba(255, 255, 255, .55) !important; }
body.acct .chat-list .avatar { background: var(--ball); color: var(--night); }
body.acct .chat-list .unread { background: var(--ball); color: var(--night); }
body.acct .chat-list .empty, body.acct .chat-list .empty b { color: rgba(255, 255, 255, .75); }
body.acct .chat-top { background: var(--card); }
body.acct .chat-top b { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.3rem; }
body.acct .chat-body { background: linear-gradient(180deg, color-mix(in srgb, var(--surround) 6%, var(--paper)), var(--paper)); }
body.acct .bubble { background: var(--card); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(16, 38, 29, .4); }
body.acct .bubble.me { background: var(--night); color: #fff; }
body.acct .bubble.me time { color: var(--ball); opacity: .85; }
body.acct .chat-send { background: var(--card); }
body.acct .chat-send .btn-court { background: var(--ball); border-color: var(--ball); color: var(--night); border-radius: 50%; width: 48px; height: 48px; padding: 0; }
[data-night] .chat-list { background: #08140f; }
[data-night] .bubble { background: #1b3a2c; }
[data-night] .bubble.me { background: var(--ball); color: var(--night); }
[data-night] .bubble.me time { color: var(--night); }

body.acct .lit { background-image: none !important; }
body.acct .panel.lit:not(.ptabs), body.acct .kpi-card.lit, body.acct .duty-card.lit { background-image: radial-gradient(420px circle at var(--gx) var(--gy), var(--glare), transparent 60%) !important; }
body.acct .gpass, body.acct .gpass:hover { background: linear-gradient(120deg, var(--surround), var(--surround-deep)) !important; color: #fff; }
body.acct .gpass-where, body.acct .gpass-meta b { color: #fff; }
body.acct .gpass-meta small { color: rgba(255, 255, 255, .7); }

[data-night] .tix-row, [data-night] .draw-card { background: var(--card); }
[data-night] .dw-ticket, [data-night] .dw-box, [data-night] .dw-form, [data-night] .dw-pair > div { background: #12291f; border-color: var(--line); }
[data-night] .drawer-foot { background: #12291f; }
[data-night] .drop-file { background: rgba(227, 242, 75, .05); }

@media (prefers-reduced-motion: reduce) {
    .auth-photo, .af-ball, .pk-modal-ball, .pk-load-ball, .pk-load-shadow, .msg-fab-btn .msg-count { animation: none !important; }
    .auth-lines path { animation: none; stroke-dashoffset: 0; }
    .drawer-sheet, .drawer-scrim, .af-card, .tix-row, .rcpt, .draw-card, .score-card { animation: none !important; }
}
.drawer-body { display: flex; flex-direction: column; gap: 18px; }
.drawer-body > * { flex-shrink: 0; margin-top: 0; margin-bottom: 0; }
.drawer-foot { align-items: center; }
.drawer-foot .btn { padding: .5rem 1rem; font-size: .92rem; }
.drawer-foot .btn-danger-soft { margin-left: auto; }
.auth-form h1 { color: var(--night); }
.auth-lines { opacity: .22; }
.auth-art-login .auth-lines { inset: 30% 18% 26% 10%; }
.af-ball { top: auto; left: auto; right: 12%; bottom: 30%; }
.auth-art-reg .af-ball { right: 6%; bottom: 36%; }
@media (min-width: 901px) {
    body[data-page="login"] .site-nav:not(.solid) .nav-actions .btn-light-line, body[data-page="register"] .site-nav:not(.solid) .nav-actions .btn-light-line { color: var(--night); border-color: rgba(16, 38, 29, .35); }
    body[data-page="login"] .site-nav:not(.solid) .nav-actions .btn-light-line:hover, body[data-page="register"] .site-nav:not(.solid) .nav-actions .btn-light-line:hover { background: var(--night); color: #fff; border-color: var(--night); }
}
.pk-load-card { display: grid; justify-items: center; gap: 14px; padding: 26px 30px 20px; border-radius: var(--radius-l); background: var(--night); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); border-top: 5px solid var(--ball); animation: rise .35s var(--ease) both; }
.pk-load-card p { color: var(--ball); }
.pk-load-court { width: 200px; height: 96px; border-bottom: 0; border-radius: 6px; background: linear-gradient(180deg, transparent 60%, var(--court) 60%); }
.pk-load-court::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; border: 2px solid rgba(255, 255, 255, .8); border-radius: 4px; }
.pk-load-kit { position: absolute; left: 34%; right: 34%; bottom: 0; height: 40%; background: rgba(255, 255, 255, .12); border-left: 2px solid rgba(255, 255, 255, .8); border-right: 2px solid rgba(255, 255, 255, .8); }
.pk-load-net { height: 54px; bottom: 0; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.pk-load-ball { left: 14px; bottom: 30px; }
.pk-load-shadow { left: 14px; bottom: 26px; }
@keyframes rally-x { from { translate: 0 0; } to { translate: 150px 0; } }
@keyframes rally-y { from { bottom: 30px; } to { bottom: 86px; } }
@media (max-width: 640px) {
    .ledger { grid-template-columns: 1fr 1fr; }
    .ledger-cell { padding: 14px 16px; border-bottom: 0; }
    .ledger-cell.due { grid-column: 1 / -1; }
    .ledger-cell:nth-child(2) { border-right: 1.5px dashed rgba(255, 255, 255, .16); }
    .ledger-cell b { font-size: 1.35rem; }
}
.drawer-panels .panel-head .drawer-x { color: inherit; border-color: currentColor; opacity: .85; }
.drawer-panels .panel-head .drawer-x:hover { opacity: 1; color: var(--night); }
body.acct[data-night] .drawer-panels .grid-73 > .panel:first-child .panel-head, body.acct[data-night] .drawer-panels > .panel:first-child .panel-head { background: var(--ball); color: var(--night); }
body.acct[data-night] .drawer-panels .panel-head .drawer-x:hover { background: var(--night); color: var(--ball); border-color: var(--night); }
.tl-link { grid-template-columns: 56px minmax(0, 1fr) auto 18px; }
.tl-go { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.tl-link:hover .tl-go { transform: translateX(3px); color: var(--ink); }

body.acct .panel, body.acct .kpi-card, body.acct .stat:not(.lead), body.acct .tabs-row, body.acct .duty-card { backdrop-filter: none; -webkit-backdrop-filter: none; background-color: rgba(255, 255, 255, .96); }
body.acct[data-night] .panel, body.acct[data-night] .kpi-card, body.acct[data-night] .stat:not(.lead), body.acct[data-night] .tabs-row, body.acct[data-night] .duty-card { background-color: #12291f; }
.rv { transition-duration: .45s, .45s; transition-delay: calc(var(--d, 0) * 30ms); transform: translateY(14px); }
.acct .rise { animation-duration: .4s; animation-delay: calc(var(--d, 0) * 35ms); }
.acct .topbar h1, .acct .hello-title { animation-duration: .45s; animation-delay: 0s; }
.acct .topbar .btn, .acct .hello .btn { animation-duration: .4s; animation-delay: .08s; }
.grain { mix-blend-mode: normal; opacity: .035; }

.pk-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 3200; pointer-events: none; opacity: 0; }
.pk-bar.on { opacity: 1; }
.pk-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--ball-deep), var(--ball)); box-shadow: 0 0 12px rgba(227, 242, 75, .8); }
.pk-bar.on .pk-bar-fill { animation: bar-go 6s cubic-bezier(.08, .7, .2, 1) forwards; }
.pk-bar.done .pk-bar-fill { animation: none; width: 100%; transition: width .2s; }
.pk-bar.done { opacity: 0; transition: opacity .25s .15s; }
.pk-bar-ball { position: absolute; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 50%, var(--ball-deep)); box-shadow: 0 0 10px rgba(227, 242, 75, .9); left: 0; }
.pk-bar.on .pk-bar-ball { animation: bar-ball 6s cubic-bezier(.08, .7, .2, 1) forwards, spin .6s linear infinite; }
.pk-bar.done .pk-bar-ball { display: none; }
@keyframes bar-go { 0% { width: 0; } 20% { width: 45%; } 100% { width: 92%; } }
@keyframes bar-ball { 0% { left: 0; } 20% { left: calc(45% - 6px); } 100% { left: calc(92% - 6px); } }
.btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2.5px solid var(--night); border-right-color: transparent; animation: spin .6s linear infinite; }
.btn-danger-soft.busy::after, .btn-court.busy::after { border-color: currentColor; border-right-color: transparent; }
.pk-modal .btn.busy { color: inherit !important; }
.pk-modal .btn.busy::after { display: none; }

body.acct .topbar > div:first-child:has(.kicker)::before { display: none !important; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px !important; font-size: .78rem; color: var(--ball) !important; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 3px rgba(227, 242, 75, .25); }

.btn-line { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn-line:hover, .btn-line:focus-visible { background: var(--night); border-color: var(--night); color: var(--ball); }
body.acct .btn-quiet { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
body.acct .btn-quiet:hover { background: var(--night); border-color: var(--night); color: var(--ball); }
body.acct .btn-danger-soft { background: transparent; color: var(--clay); border-color: color-mix(in srgb, var(--clay) 55%, transparent); }
body.acct .btn-danger-soft:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
body.acct .btn-ok-soft { background: var(--ball); color: var(--night); border-color: var(--ball); }
body.acct .btn-ok-soft:hover { background: #e4fb6a; border-color: #e4fb6a; color: var(--night); }
body.acct .btn-court:not(.topbar .btn):not(.hello .btn) { background: var(--night); border-color: var(--night); color: var(--ball); }
body.acct .btn-court:not(.topbar .btn):not(.hello .btn):hover { background: var(--ball); border-color: var(--ball); color: var(--night); }
body.acct .topbar .btn-line, body.acct .hello .btn-line { color: #fff; border-color: rgba(255, 255, 255, .45); }
body.acct .topbar .btn-line:hover, body.acct .hello .btn-line:hover { background: #fff; color: var(--night); border-color: #fff; }
body.acct[data-night] .btn-line, body.acct[data-night] .btn-quiet { color: var(--ink); border-color: rgba(238, 243, 234, .3); }
body.acct[data-night] .btn-line:hover, body.acct[data-night] .btn-quiet:hover { background: var(--ball); border-color: var(--ball); color: var(--night); }
body.acct[data-night] .btn-danger-soft { color: #ff9d78; border-color: rgba(255, 157, 120, .5); }
body.acct[data-night] .btn-danger-soft:hover { background: var(--clay); color: #fff; border-color: var(--clay); }

body.acct .form-control, body.acct .form-select { border: 2px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 12px; background-color: #fff; color: var(--night); font-weight: 500; }
body.acct .form-control::placeholder { color: #7c8c84; opacity: 1; font-weight: 400; }
body.acct .form-control:focus, body.acct .form-select:focus { border-color: var(--night); box-shadow: 0 0 0 4px rgba(227, 242, 75, .45); }
body.acct[data-night] .form-control, body.acct[data-night] .form-select { background-color: #0b1a14; color: #eef3ea; border-color: rgba(238, 243, 234, .18); color-scheme: dark; }
body.acct[data-night] .form-control::placeholder { color: rgba(238, 243, 234, .45); }
body.acct[data-night] .form-control:focus, body.acct[data-night] .form-select:focus { border-color: var(--ball); box-shadow: 0 0 0 4px rgba(227, 242, 75, .2); background-color: #0e2018; color: #fff; }
body.acct[data-night] .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e3f24b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
body.acct[data-night] .form-select option { background: #0b1a14; color: #eef3ea; }
body.acct[data-night] .form-check-input { background-color: #0b1a14; border-color: rgba(238, 243, 234, .35); }
body.acct[data-night] .form-check-input:checked { background-color: var(--ball); border-color: var(--ball); }
body.acct[data-night] label, body.acct[data-night] legend { color: #eef3ea; }
body.acct[data-night] .hint, body.acct[data-night] .small-print { color: #9db3a6; }

.list-tools { display: flex; justify-content: flex-end; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.search-pill, .rcpt-tools { position: relative; width: min(380px, 100%); }
.search-pill i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search-pill input, .rcpt-tools .form-control, [data-filter].form-control { width: 100%; height: 46px; padding: 0 18px 0 44px !important; border-radius: 999px !important; border: 2px solid color-mix(in srgb, var(--ink) 14%, transparent) !important; background: var(--card) !important; color: var(--ink) !important; font: inherit; font-weight: 500; box-shadow: var(--shadow); outline: 0; transition: border-color .2s, box-shadow .2s; }
.rcpt-tools .form-control, [data-filter].form-control { padding-left: 18px !important; }
.search-pill input::placeholder, [data-filter]::placeholder { color: var(--muted); opacity: 1; }
.search-pill input:focus, [data-filter]:focus { border-color: var(--night) !important; box-shadow: 0 0 0 4px rgba(227, 242, 75, .45), var(--shadow) !important; }
[data-night] .search-pill input, [data-night] [data-filter] { background: #12291f !important; color: #eef3ea !important; border-color: rgba(238, 243, 234, .16) !important; }
[data-night] .search-pill input:focus, [data-night] [data-filter]:focus { border-color: var(--ball) !important; }
.search-pill input::-webkit-search-cancel-button { cursor: pointer; }
.hero-search .form-control, .filters .form-control, .filters .form-select { height: 50px; border: 2px solid rgba(16, 38, 29, .14); color: var(--night); font-weight: 500; }
.hero-search .form-control::placeholder, .filters .form-control::placeholder { color: #6d7d75; opacity: 1; }
.hero-search .form-control:focus, .filters .form-control:focus, .filters .form-select:focus { border-color: var(--night); box-shadow: 0 0 0 4px rgba(227, 242, 75, .5); }

.checkin-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(160px, 240px) auto; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 18px; border-radius: var(--radius-l); background: var(--ball); color: var(--night); box-shadow: 0 20px 40px -26px rgba(16, 38, 29, .7); }
.checkin-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--night); color: var(--ball); font-size: 1.4rem; }
.checkin-txt b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.checkin-txt span { font-size: .86rem; }
body.acct .checkin-bar .checkin-input { background: #fff !important; color: var(--night) !important; border-color: var(--night) !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; height: 46px; }
.checkin-bar .btn-ball { background: var(--night); color: var(--ball); border-color: var(--night); height: 46px; }
.checkin-bar .btn-ball:hover { background: #000; border-color: #000; color: var(--ball); }
@media (max-width: 760px) { .checkin-bar { grid-template-columns: auto minmax(0, 1fr); } .checkin-bar .checkin-input, .checkin-bar .btn { grid-column: 1 / -1; } }

.lane-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; scrollbar-width: none; }
.lane-tabs a { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; background: var(--card); transition: background-color .2s, border-color .2s, color .2s; }
.lane-tabs a b { min-width: 26px; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--ink) 10%, transparent); font-family: var(--mono); font-size: .76rem; }
.lane-tabs a b.hot { background: var(--clay); color: #fff; }
.lane-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.lane-tabs a.on { background: var(--night); border-color: var(--night); color: #fff; }
.lane-tabs a.on b { background: var(--ball); color: var(--night); }
[data-night] .lane-tabs a { background: #12291f; border-color: rgba(238, 243, 234, .14); }
[data-night] .lane-tabs a.on { background: var(--ball); color: var(--night); border-color: var(--ball); }
[data-night] .lane-tabs a.on b { background: var(--night); color: var(--ball); }

.desk { display: grid; gap: 8px; }
.desk-day { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; font-family: var(--mono); font-size: .8rem; font-weight: 400; color: var(--muted); }
.desk-day:first-child { margin-top: 0; }
.desk-day span { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; color: var(--ink); }
.desk-row { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1.4fr) minmax(0, 1fr) minmax(130px, auto) 96px 22px; gap: 18px; align-items: center; padding: 12px 18px 12px 12px; border-radius: var(--radius-l); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); border-left: 5px solid var(--line-strong); transition: transform .25s var(--ease), box-shadow .25s; }
.desk-row:hover { color: var(--ink); transform: translateX(5px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .55); }
.desk-row.st-pending { border-left-color: #f5b84a; }
.desk-row.st-confirmed { border-left-color: var(--ball); }
.desk-row.st-completed { border-left-color: var(--court-2); }
.desk-row.st-cancelled, .desk-row.st-rejected { border-left-color: var(--clay); opacity: .8; }
.desk-row.hl { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.desk-time { text-align: center; padding: 8px 0; border-radius: 12px; background: var(--night); color: #fff; }
.desk-time b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.25rem; line-height: 1; color: var(--ball); }
.desk-time small { font-family: var(--mono); font-size: .66rem; }
.desk-who b { display: block; font-size: 1.05rem; }
.desk-who small, .desk-pay small { color: var(--muted); font-size: .84rem; }
.desk-pay b { display: block; font-weight: 800; }
.desk-st { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.desk-st .in { font-size: .7rem; color: var(--ball-deep); }
.desk-code { font-size: .74rem; letter-spacing: .08em; color: var(--muted); }
.desk-go { color: var(--muted); transition: transform .2s; }
.desk-row:hover .desk-go { transform: translateX(3px); color: var(--ink); }
[data-night] .desk-row { background: #12291f; box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .8); }
[data-night] .desk-time { background: #08140f; }
[data-night] .desk-st .in { color: var(--ball); }
@media (max-width: 980px) {
    .desk-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px 14px; }
    .desk-pay { grid-column: 2; }
    .desk-st { grid-column: 3; grid-row: 1; }
    .desk-code { grid-column: 3; grid-row: 2; text-align: right; }
    .desk-go { display: none; }
    .desk-time { grid-row: span 2; }
}

.dw-note.ok { background: color-mix(in srgb, var(--ball) 26%, var(--card)); }
.dw-qr { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius-l); background: var(--night); color: #fff; }
.dw-qr .qr { width: 164px; height: 164px; padding: 8px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.dw-qr .qr img, .dw-qr .qr canvas { width: 148px !important; height: 148px !important; }
.dw-qr small { color: var(--ball); font-size: .72rem; }
.dw-qr b { display: block; font-size: 1.8rem; letter-spacing: .14em; margin: 4px 0 6px; }
.dw-qr p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .88rem; }
@media (max-width: 480px) { .dw-qr { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }

.cashier { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.cash-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: var(--radius-l); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.cash-card:hover { color: var(--ink); transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.cash-card.hl { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.cash-thumb { width: 96px; height: 120px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: #e9ede6; color: #5d6d65; font-size: 1.8rem; }
.cash-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cash-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cash-body small { font-size: .7rem; color: var(--muted); }
.cash-body > b { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.cash-body > span { font-size: .86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cash-amt { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.cash-amt b { font-size: 1.15rem; color: var(--ink); }
.cash-amt em { font-style: normal; font-size: .76rem; color: var(--muted); }
.cash-amt em.short { color: #fff; background: var(--clay); padding: 1px 6px; border-radius: 6px; }
.cash-ref { font-size: .7rem; }
[data-night] .cash-card { background: #12291f; }
[data-night] .cash-thumb { background: #0b1a14; color: #9db3a6; }
.cash-detail { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cash-proof { position: sticky; top: 0; border-radius: var(--radius-l); overflow: hidden; background: #0b1a14; min-height: 200px; display: grid; place-items: center; padding: 10px; }
.cash-proof img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 8px; }
.cash-facts { display: flex; flex-direction: column; gap: 16px; }
.dw-ticket b.short { color: var(--clay); }
@media (max-width: 760px) { .cash-detail { grid-template-columns: minmax(0, 1fr); } .cash-proof { position: static; } }

.court-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 30px; }
.court-card { display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: var(--card); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.court-card:hover { transform: translateY(-4px); }
.court-top { position: relative; display: block; height: 150px; padding: 16px; background: linear-gradient(180deg, var(--court-2), var(--court)); color: #fff; text-decoration: none; overflow: hidden; }
.court-top::before { content: ""; position: absolute; inset: 0; background: var(--surround-deep); clip-path: polygon(0 0, 14% 0, 14% 100%, 0 100%, 0 0, 100% 0, 100% 100%, 86% 100%, 86% 0); opacity: .9; }
.court-lines { position: absolute; inset: 14px 14%; border: 2px solid rgba(255, 255, 255, .9); }
.court-lines i { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .9); }
.court-lines i:first-child { left: 34%; }
.court-lines i:last-child { right: 34%; }
.court-lines::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.court-lines::after { content: ""; position: absolute; left: 0; right: 34%; top: 50%; height: 2px; background: rgba(255, 255, 255, .9); width: 34%; }
.court-top b { position: relative; z-index: 1; display: inline-block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.7rem; line-height: 1; background: var(--night); color: var(--ball); padding: 6px 10px; border-radius: 8px; transform: rotate(-3deg); margin-top: 38px; margin-left: 18%; }
.court-top em { position: absolute; z-index: 1; top: 12px; right: 12px; font-style: normal; font-size: .7rem; background: rgba(16, 38, 29, .7); padding: 3px 8px; border-radius: 999px; }
.court-shut { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(-45deg, rgba(16, 38, 29, .78) 0 14px, rgba(16, 38, 29, .62) 14px 28px); color: #ff9d78; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.court-card.closed .court-top { filter: grayscale(.5); }
.court-info { padding: 14px 16px 0; flex: 1; }
.court-info p { margin: 0 0 12px; color: var(--muted); font-size: .88rem; min-height: 2.6em; }
.court-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.court-info dt { font-size: .66rem; color: var(--muted); font-weight: 400; }
.court-info dd { margin: 0; font-weight: 700; }
.court-card footer { display: flex; gap: 8px; padding: 14px 16px 16px; flex-wrap: wrap; }
.court-add { display: grid; place-content: center; justify-items: center; gap: 10px; min-height: 300px; border-radius: var(--radius-l); border: 2.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); color: var(--muted); text-decoration: none; font-weight: 700; transition: border-color .2s, color .2s, background-color .2s; }
.court-add i { font-size: 2rem; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ball); color: var(--night); }
.court-add:hover { border-color: var(--ball); color: var(--ink); background: rgba(227, 242, 75, .06); }
[data-night] .court-card { background: #12291f; }
.block-zone { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.block-form .panel-head { margin-bottom: 8px; }
.block-list { display: grid; gap: 10px; }
.closure { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 14px; border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); background-image: repeating-linear-gradient(-45deg, transparent 0 16px, rgba(212, 103, 63, .06) 16px 32px); }
.closure-date { text-align: center; border-radius: 10px; padding: 6px 0; background: var(--clay); color: #fff; }
.closure-date b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.6rem; line-height: 1; }
.closure-date small { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; }
.closure-main b { display: block; }
.closure-main small { color: var(--muted); }
[data-night] .closure { background-color: #12291f; }
@media (max-width: 900px) { .block-zone { grid-template-columns: minmax(0, 1fr); } }

.duty-now { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 20px; border-radius: var(--radius-l); background: var(--ball); color: var(--night); overflow: hidden; box-shadow: 0 24px 44px -28px rgba(0, 0, 0, .8); }
.duty-now::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 3px solid rgba(16, 38, 29, .12); }
.duty-now-k { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .76rem; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #d4382b; box-shadow: 0 0 0 0 rgba(212, 56, 43, .6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(212, 56, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 56, 43, 0); } }
.duty-now-main b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: .95; }
.duty-now-main span { display: block; margin-top: 6px; font-size: .92rem; max-width: 560px; }
.duty-now-act { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.duty-now .btn-ball { background: var(--night); color: var(--ball); border-color: var(--night); }
.duty-now .btn-line { color: var(--night) !important; border-color: rgba(16, 38, 29, .45) !important; }
.duty-now .btn-line:hover { background: var(--night) !important; color: var(--ball) !important; }
.roster-week { margin-bottom: 20px; }
.week { display: grid; gap: 6px; }
.week-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; }
.week-day { font-size: .78rem; font-weight: 700; color: var(--muted); }
.week-row.today .week-day { color: var(--ink); }
.week-row.today .week-day::after { content: " today"; font-weight: 400; color: var(--ball-deep); }
[data-night] .week-row.today .week-day::after { color: var(--ball); }
.week-track { position: relative; display: grid; grid-template-columns: repeat(var(--span), minmax(0, 1fr)); min-height: 44px; border-radius: 10px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 7%, transparent) 0 1px, transparent 1px calc(100% / var(--span))); background-color: color-mix(in srgb, var(--ink) 4%, transparent); }
.week-row.today .week-track { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ball) 70%, transparent); }
.week-hours .week-track { min-height: 0; background: none; }
.week-hours .week-track span { font-size: .66rem; color: var(--muted); }
.week-shift { grid-row: 1; margin: 4px 1px; padding: 4px 8px; border-radius: 8px; background: hsl(var(--hue) 62% 42%); color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden; white-space: nowrap; min-width: 0; }
.week-shift b { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
.week-shift small { font-size: .66rem; opacity: .85; overflow: hidden; text-overflow: ellipsis; }
.week-now { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: var(--ball); border-radius: 2px; box-shadow: 0 0 10px rgba(227, 242, 75, .8); z-index: 2; }
.roster-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.roster-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.roster-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); border-top: 5px solid hsl(var(--hue) 62% 48%); }
.roster-card.now { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.roster-card.off { opacity: .6; }
.roster-card header { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.roster-card .avatar { width: 44px; height: 44px; background: hsl(var(--hue) 62% 42%); color: #fff; }
.roster-card header .row-name { display: block; font-size: 1.05rem; }
.roster-card header small { color: var(--muted); font-size: .82rem; }
.roster-stats { display: flex; gap: 14px; font-size: .74rem; color: var(--muted); }
.roster-stats b { color: var(--ink); font-size: .9rem; }
.shift-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.shift-chips li { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); font-size: .78rem; font-weight: 600; }
.shift-chips li.none { padding-right: 10px; color: var(--muted); font-weight: 400; }
.shift-x { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); text-decoration: none; }
.shift-x:hover { background: var(--clay); color: #fff; }
.roster-card footer { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.shift-form { position: sticky; top: 90px; }
.day-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.day-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day-pick label { min-width: 44px; padding: 7px 0; text-align: center; border-radius: 10px; border: 2px solid color-mix(in srgb, var(--ink) 16%, transparent); font-weight: 700; font-size: .84rem; cursor: pointer; user-select: none; }
.day-pick input:checked + label { background: var(--ball); border-color: var(--ball); color: var(--night); }
.day-pick input:focus-visible + label { outline: 3px solid var(--court-2); outline-offset: 2px; }
[data-night] .roster-card { background: #12291f; }
[data-night] .roster-stats b { color: #eef3ea; }
@media (max-width: 1100px) { .roster-grid { grid-template-columns: minmax(0, 1fr); } .shift-form { position: static; } }
@media (max-width: 640px) { .week-shift small { display: none; } .week-row { grid-template-columns: 40px minmax(0, 1fr); } .week-row.today .week-day::after { content: ""; } }

.draw-room { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.poster { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius-l); background: var(--night); color: #fff; overflow: hidden; box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .9); isolation: isolate; }
.poster::before { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); opacity: .18; z-index: -1; transition: transform .6s var(--ease); }
.poster:hover::before { transform: translate(-14px, 14px) rotate(80deg); opacity: .26; }
.poster.st-draft { background: #2a3a33; }
.poster.st-cancelled { background: #3a2a24; }
.poster.st-closed { background: var(--surround-deep); }
.poster-top { display: flex; justify-content: space-between; align-items: flex-start; }
.poster-date b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 3rem; line-height: .85; color: var(--ball); }
.poster-date small { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.poster-title { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-stretch: 76%; font-variation-settings: "wdth" 76; font-size: 1.8rem; line-height: .92; color: #fff; text-decoration: none; }
.poster-title:hover { color: var(--ball); }
.poster-cat { margin: 0; font-size: .74rem; color: var(--ball); }
.poster-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 4px 0 0; }
.poster-facts dt { font-size: .62rem; font-weight: 400; color: rgba(255, 255, 255, .55); }
.poster-facts dd { margin: 0; font-size: .82rem; font-weight: 600; }
.poster-slots span { font-size: .8rem; color: rgba(255, 255, 255, .8); }
.poster-slots b { color: var(--ball); font-size: 1rem; }
.poster-slots i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.poster-slots i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--ball); border-radius: 3px; }
.poster footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.poster .btn-line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.poster .btn-line:hover { background: var(--ball); color: var(--night); border-color: var(--ball); }
.poster .btn-danger-soft { color: #ff9d78; border-color: rgba(255, 157, 120, .5); background: transparent; }

.tour-pills { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.tour-pills a { flex: none; display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 12px 16px; border-radius: var(--radius-m); background: var(--card); color: var(--ink); text-decoration: none; border: 2px solid transparent; box-shadow: var(--shadow); }
.tour-pills a b { font-size: .95rem; }
.tour-pills a small { font-size: .7rem; color: var(--muted); }
.tour-pills a:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink); }
.tour-pills a.on { background: var(--ball); color: var(--night); }
.tour-pills a.on small { color: rgba(16, 38, 29, .7); }
[data-night] .tour-pills a { background: #12291f; }
[data-night] .tour-pills a.on { background: var(--ball); }
.ledger-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger-chip .chip { font-family: var(--font); font-style: normal; font-size: .9rem; }
@media (max-width: 760px) { .ledger-4 { grid-template-columns: 1fr 1fr; } }
.pentries { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.pentry { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; padding: 12px 14px; border-radius: var(--radius-l); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.pentry:hover { color: var(--ink); transform: translateY(-3px); }
.pentry.hl { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.pentry.out { opacity: .55; }
.pentry-lvl { grid-row: span 2; text-align: center; padding: 8px 0; border-radius: 12px; background: var(--night); color: var(--ball); }
.pentry-lvl b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.5rem; line-height: 1; }
.pentry-lvl small { font-size: .6rem; color: rgba(255, 255, 255, .6); }
.pentry-team b { display: block; }
.pentry-team small { color: var(--muted); font-size: .84rem; }
.pentry-pay { justify-self: end; }
.pentry-st { grid-column: 2; }
.pentry-when { grid-column: 3; justify-self: end; font-size: .7rem; color: var(--muted); }
[data-night] .pentry { background: #12291f; }
[data-night] .pentry-lvl { background: #08140f; }

.guest-score { position: sticky; top: 90px; padding: 24px; border-radius: var(--radius-l); background: var(--night); color: #fff; box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .9); }
.guest-k { margin: 0; font-size: .76rem; color: var(--ball); }
.guest-big { display: flex; align-items: baseline; gap: 8px; }
.guest-big b { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 5rem; line-height: .9; }
.guest-big span { font-family: var(--mono); color: rgba(255, 255, 255, .6); }
.guest-n { margin: 6px 0 16px; color: rgba(255, 255, 255, .7); }
.guest-dist { display: grid; gap: 8px; }
.guest-dist div { display: grid; grid-template-columns: 16px minmax(0, 1fr) 26px; gap: 10px; align-items: center; font-size: .8rem; }
.guest-dist i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.guest-dist em { display: block; height: 100%; background: var(--ball); border-radius: 4px; }
[data-night] .guest-score { background: #08140f; border: 1px solid rgba(227, 242, 75, .12); }
[data-night] .score-card { background: #12291f; }
@media (max-width: 860px) { .guest-score { position: static; } }

.faq-desk { display: grid; gap: 10px; }
.faq-card { border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.faq-card summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary b { font-size: 1.02rem; }
.faq-cat { font-size: .68rem; padding: 4px 9px; border-radius: 999px; background: var(--night); color: var(--ball); }
.faq-plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 8%, transparent); transition: transform .3s var(--ease), background-color .2s; }
.faq-card[open] .faq-plus { transform: rotate(45deg); background: var(--ball); color: var(--night); }
.faq-card[open] { box-shadow: 0 0 0 2px var(--ball), var(--shadow); }
.faq-card.draft { opacity: .75; }
.faq-answer { padding: 0 18px 16px; }
.faq-answer p { color: var(--muted); white-space: pre-line; }
.faq-actions { display: flex; gap: 8px; }
[data-night] .faq-card { background: #12291f; }
[data-night] .faq-cat { background: var(--ball); color: var(--night); }

.await { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 30px; padding: 40px; border-radius: var(--radius-l); background: var(--night); color: #fff; overflow: hidden; isolation: isolate; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); }
.await::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(img/photos/o-night.jpg) center / cover; opacity: .25; }
.await::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; z-index: -1; background: radial-gradient(circle at 35% 30%, #f6fca8, var(--ball) 45%, var(--ball-deep)); opacity: .9; animation: bob 4s ease-in-out infinite; }
.await h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .86; margin: 10px 0; color: #fff; }
.await-name { font-weight: 700; color: var(--ball); font-size: 1.15rem; margin: 0 0 10px; }
.await-copy p { color: rgba(255, 255, 255, .8); }
.await-copy .btn { margin: 8px 8px 0 0; }
.await-note { padding: 12px 14px; border-radius: 12px; background: rgba(212, 103, 63, .2); border-left: 4px solid var(--clay); }
.await-note b { display: block; font-size: .72rem; color: #ffb59a; margin-bottom: 4px; }
.await-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.await-steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.await-steps span { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .3); font-weight: 700; }
.await-steps b { font-size: 1.02rem; }
.await-steps small { color: rgba(255, 255, 255, .65); }
.await-steps li.done span { background: var(--surround); border-color: var(--surround); }
.await-steps li.now { background: rgba(227, 242, 75, .12); border-color: rgba(227, 242, 75, .5); }
.await-steps li.now span { background: var(--ball); color: var(--night); border-color: var(--ball); animation: live-b 1.8s infinite; }
@keyframes live-b { 70% { box-shadow: 0 0 0 10px rgba(227, 242, 75, 0); } 0% { box-shadow: 0 0 0 0 rgba(227, 242, 75, .6); } }
.await-steps li.bad span { background: var(--clay); border-color: var(--clay); }
.unlock { margin-top: 30px; }
.unlock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.unlock-grid div { padding: 18px; border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); display: grid; gap: 4px; }
.unlock-grid i { font-size: 1.5rem; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--night); color: var(--ball); margin-bottom: 6px; }
.unlock-grid b { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.2rem; }
.unlock-grid span { color: var(--muted); font-size: .88rem; }
[data-night] .unlock-grid div { background: #12291f; }
body.acct[data-page="status"] .back-ic ~ form .topbar { padding-top: 0; }
@media (max-width: 860px) { .await { grid-template-columns: minmax(0, 1fr); padding: 26px; } }

.league { display: grid; gap: 0; }
.league-head { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1.4fr) 110px; gap: 14px; padding: 0 6px 10px; font-size: .7rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.league-rows { list-style: none; margin: 0; padding: 0; }
.league-rows li { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1.4fr) 110px; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); animation: rise .4s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.lg-rank { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.8rem; line-height: 1; color: var(--clay); }
.league-rows li:first-child .lg-rank { color: var(--ink); background: var(--ball); border-radius: 8px; text-align: center; }
.lg-name { color: var(--ink); text-decoration: none; min-width: 0; }
.lg-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-name small { color: var(--muted); font-size: .8rem; }
.lg-name:hover b { text-decoration: underline; text-decoration-color: var(--ball-deep); text-decoration-thickness: 2px; }
.lg-bar { display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 10px; }
.lg-bar i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--court), var(--court-2)); }
.lg-bar b { font-family: var(--mono); font-size: .9rem; text-align: right; }
.lg-money { font-weight: 800; text-align: right; }
@media (max-width: 640px) {
    .league-head { display: none; }
    .league-rows li { grid-template-columns: 36px minmax(0, 1fr); row-gap: 6px; }
    .lg-bar { grid-column: 2; }
    .lg-money { grid-column: 2; text-align: left; font-size: .9rem; }
}
.go-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--night); color: var(--ball); font-size: .82rem; font-weight: 700; white-space: nowrap; transition: background-color .2s, color .2s; }
.mentry:hover .go-chip { background: var(--ball); color: var(--night); }
.mentry .entry-date { background: var(--clay); }

.free-now { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--night); color: var(--ball); font-size: .7rem; }
.free-now i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: live-g 1.6s infinite; }
@keyframes live-g { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.pass-art { position: relative; }

body.acct .tbl thead th { font-family: var(--mono); font-weight: 400; font-size: .72rem; color: var(--muted); text-transform: none; border-bottom: 2px solid var(--ink); }
body.acct .tbl td { border-color: var(--line); }
body.acct .tbl .who b { font-weight: 700; }
[data-night] .tbl thead th { border-bottom-color: rgba(238, 243, 234, .4); }
body.acct .chip { font-weight: 700; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
    .pk-bar-fill, .pk-bar-ball, .live-dot, .free-now i, .await::after, .await-steps li.now span, .league-rows li { animation: none !important; }
}

.clubs { display: grid; gap: 10px; }
.club { display: grid; grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--radius-l); background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); border-left: 5px solid var(--line-strong); transition: transform .25s var(--ease), box-shadow .25s; }
.club:hover { color: var(--ink); transform: translateX(5px); box-shadow: 0 22px 40px -24px rgba(16, 38, 29, .5); }
.club.hl { box-shadow: 0 0 0 3px var(--ball), var(--shadow); }
.club.st-pending { border-left-color: #f5b84a; }
.club.st-approved { border-left-color: var(--ball); }
.club.st-rejected, .club.st-suspended { border-left-color: var(--clay); }
.club-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--ball); font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.2rem; }
.club-main b { display: block; font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; }
.club-main small, .club-owner small { color: var(--muted); font-size: .8rem; display: block; }
.club-owner b { display: block; font-size: .95rem; }
.club-owner small.mono { font-size: .64rem; }
.club-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .74rem; color: var(--muted); }
.club-facts b { color: var(--ink); }
.club-st { justify-self: end; }
.club:hover .go-chip { background: var(--ball); color: var(--night); }
@media (max-width: 980px) { .club { grid-template-columns: 52px minmax(0, 1fr) auto; } .club-owner, .club-facts { grid-column: 2 / 4; } .club-st { grid-row: 1; grid-column: 3; } }

.who-av { display: flex; align-items: center; gap: 12px; }
.who-av .avatar { flex: none; width: 38px; height: 38px; font-size: .78rem; }
.avatar.av-player { background: var(--ball); color: var(--night); }
.avatar.av-owner { background: var(--court); color: #fff; }
.avatar.av-admin { background: var(--clay); color: #fff; }
.role-tag { display: inline-block; font-family: var(--mono); font-size: .72rem; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.role-tag.role-owner { background: rgba(44, 90, 160, .12); color: var(--court-deep); }
.role-tag.role-admin { background: rgba(212, 103, 63, .14); color: #a24a28; }
.role-tag.role-player { background: rgba(227, 242, 75, .4); color: var(--night); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rule { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow); border-top: 5px solid var(--clay); }
.rule-no { font-size: .7rem; color: var(--clay); }
.rule label { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.rule p { color: var(--muted); font-size: .9rem; margin: 0 0 8px; flex: 1; }
.rule-input { display: flex; align-items: center; gap: 10px; }
.rule-input .form-control { max-width: 110px; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.6rem; text-align: center; height: 58px; }
.rule-input span { color: var(--muted); font-size: .8rem; }
body.acct .duty-now .btn-ball { background: var(--night); color: var(--ball); border-color: var(--night); }
body.acct .duty-now .btn-ball:hover { background: #000; border-color: #000; color: var(--ball); box-shadow: none; }
.week-shift { background: hsl(var(--hue) 58% 40%); }
.roster-card .avatar { background: hsl(var(--hue) 58% 40%); }
.roster-card { border-top-color: hsl(var(--hue) 58% 46%); }
.slot.mine { background: repeating-linear-gradient(-45deg, rgba(227, 242, 75, .35) 0 8px, rgba(227, 242, 75, .15) 8px 16px); border-color: var(--ball-deep); color: var(--night); text-decoration: none; opacity: 1; }
.slot.mine small { font-weight: 800; color: var(--night); }
.book-error { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--clay) 14%, #fff); border-left: 5px solid var(--clay); color: var(--night); font-weight: 600; animation: rise .35s var(--ease) both; }
.book-error i { color: var(--clay); font-size: 1.15rem; }
.msg-fab { pointer-events: none; }
.msg-fab-btn, .msg-fab.open .msg-fab-panel { pointer-events: auto; }
.msg-fab-panel { pointer-events: none; }
body:has(.summary-bar) .msg-fab, body:has(.drawer) .msg-fab { bottom: 112px; }
body:has(.drawer) .msg-fab { display: none; }

:is(body.acct, body.pub:not([data-page="default"])) .btn {
    --ledge: color-mix(in srgb, var(--night) 22%, transparent);
    border-radius: 13px; border-width: 2px; font-weight: 800; letter-spacing: .005em;
    box-shadow: 0 3px 0 var(--ledge); transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .15s, border-color .15s, color .15s;
}
:is(body.acct, body.pub:not([data-page="default"])) .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ledge); }
:is(body.acct, body.pub:not([data-page="default"])) .btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ledge); }
:is(body.acct, body.pub:not([data-page="default"])) .btn:disabled, :is(body.acct, body.pub:not([data-page="default"])) .btn.disabled { box-shadow: none; transform: none; }
:is(body.acct, body.pub:not([data-page="default"])) .btn-ball { background: var(--ball); color: var(--night); border-color: var(--night); --ledge: var(--night); }
:is(body.acct, body.pub:not([data-page="default"])) .btn-ball:hover, :is(body.acct, body.pub:not([data-page="default"])) .btn-ball:focus-visible { background: #ecfa6c; color: var(--night); border-color: var(--night); }
:is(body.acct, body.pub:not([data-page="default"])) .btn-court { background: var(--court); color: #fff; border-color: var(--court-deep); --ledge: var(--court-deep); }
:is(body.acct, body.pub:not([data-page="default"])) .btn-court:hover { background: #3567b3; color: #fff; border-color: var(--court-deep); }
:is(body.acct, body.pub:not([data-page="default"])) :is(.btn-quiet, .btn-line) { background: var(--card); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
:is(body.acct, body.pub:not([data-page="default"])) :is(.btn-quiet, .btn-line):hover { background: var(--card); color: var(--ink); border-color: var(--ink); --ledge: var(--ink); }
:is(body.acct, body.pub:not([data-page="default"])) .btn-danger-soft { background: var(--card); color: var(--bad); border-color: #efc4ba; --ledge: #efc4ba; }
:is(body.acct, body.pub:not([data-page="default"])) .btn-danger-soft:hover { background: var(--bad); color: #fff; border-color: #8f2a1c; --ledge: #8f2a1c; }
:is(body.acct, body.pub:not([data-page="default"])) .btn-ok-soft { background: var(--card); color: var(--ok); border-color: #b5dfc7; --ledge: #b5dfc7; }
:is(body.acct, body.pub:not([data-page="default"])) .btn-ok-soft:hover { background: var(--ok); color: #fff; border-color: #145e3a; --ledge: #145e3a; }
:is(body.acct, body.pub:not([data-page="default"])) .btn-light-line { --ledge: rgba(255, 255, 255, .25); }
.btn-gcash { background: #0a6cff; color: #fff; border: 2px solid #0047b3; --ledge: #0047b3; display: inline-flex; align-items: center; gap: 8px; }
.btn-gcash:hover, .btn-gcash:focus-visible { background: #2a80ff; color: #fff; border-color: #0047b3; }
.drawer-foot .btn-danger-soft::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: currentColor; margin-right: 8px; vertical-align: 1px; transform: rotate(45deg); }

body.acct .kpi.warn b { color: var(--ink); position: relative; }
body.acct .kpi.warn b::after { content: ""; position: absolute; top: 4px; right: -10px; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 22%, transparent); }
body.acct .kpi.warn i { background: color-mix(in srgb, var(--clay) 16%, transparent); color: var(--clay); }

.drawer { justify-content: center; align-items: center; padding: 28px 20px; }
.drawer-sheet { width: min(620px, 100%); height: auto; max-height: min(88vh, 900px); border-radius: 24px; overflow: hidden; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(16, 38, 29, .08); animation: pop-in .26s var(--ease) both; }
.drawer-wide .drawer-sheet { width: min(940px, 100%); }
.drawer-sheet.drawer-panels, .drawer-panels { overflow-y: auto; }
.drawer-body { min-height: 0; }
.drawer-head { box-shadow: inset 0 -4px 0 var(--ball); padding-bottom: 24px; }
.drawer-scrim { background: rgba(8, 20, 14, .56); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.965); } }
@media (max-width: 640px) {
    .drawer { align-items: flex-end; padding: 0; }
    .drawer-sheet { border-radius: 22px 22px 0 0; max-height: 92vh; animation: sheet-up .3s var(--ease) both; }
    .drawer-head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255, 255, 255, .3); }
}
@keyframes sheet-up { from { transform: translateY(40%); opacity: .4; } }

.paycard { position: relative; border-radius: 20px; background: linear-gradient(145deg, #0a2e6e, #0a5ad6 70%, #2a86ff); color: #fff; padding: 20px 20px 18px; overflow: hidden; box-shadow: 0 22px 40px -24px rgba(10, 70, 200, .8); }
.paycard::after { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .07); pointer-events: none; }
.paycard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.paycard-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.paycard-brand i { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #0a5ad6; font-style: normal; font-weight: 900; display: grid; place-items: center; font-size: .95rem; }
.paycard-amt { text-align: right; }
.paycard-amt small, .paycard-num small { display: block; font-size: .66rem; opacity: .75; letter-spacing: .06em; text-transform: uppercase; }
.paycard-amt b { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.7rem; line-height: 1; }
.paycard-num { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 12px; }
.paycard-num small { grid-column: 1 / -1; }
.paycard-num b { font-family: var(--mono); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2.1rem); letter-spacing: .04em; line-height: 1.05; white-space: nowrap; }
.paycard-copy { display: inline-flex; align-items: center; gap: 6px; border: 2px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); color: #fff; font-weight: 800; font-size: .82rem; border-radius: 11px; padding: 6px 12px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.paycard-copy:hover { background: #fff; color: #0a4bb8; border-color: #fff; }
.paycard-copy.ok { background: var(--ball); color: var(--night); border-color: var(--ball); }
.paycard-copy.sm { padding: 2px 8px; font-size: .72rem; margin-left: 8px; border-width: 1.5px; vertical-align: 1px; }
.paycard-name, .paycard-tag { margin: 10px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.paycard-name b, .paycard-tag b { color: #fff; }
.paycard-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; position: relative; z-index: 1; }
.paycard .btn-gcash { background: #fff; color: #0a4bb8; border-color: #fff; box-shadow: 0 3px 0 rgba(0, 25, 80, .45); border-radius: 13px; font-weight: 800; padding: .55rem 1.1rem; }
.paycard .btn-gcash:hover { background: var(--ball); border-color: var(--ball); color: var(--night); transform: translateY(-1px); }
.paycard-qr summary { cursor: pointer; font-weight: 700; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.paycard-qr img { display: block; margin-top: 10px; width: 180px; max-width: 100%; border-radius: 12px; background: #fff; padding: 8px; }
.paycard-ins { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .3); font-size: .88rem; color: rgba(255, 255, 255, .85); }
.paycard-ins p { margin: 0 0 6px; }
.paycard-ins p:last-child { margin: 0; }
.pay-qr-own img { width: 160px; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); padding: 6px; background: #fff; }

.passes.listing, .listing { padding: 0 0 72px; }
.page-head:has(+ .listing .dock), .page-head:has(+ .wrap .dock-wrap) { padding-bottom: 86px; }
.dock { display: flex; align-items: stretch; background: var(--night); color: #fff; border-radius: 22px; padding: 8px; margin: -42px 0 14px; position: relative; z-index: 3; box-shadow: 0 26px 50px -26px rgba(8, 20, 14, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.dock-f { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 9px 18px; margin: 0; border-radius: 15px; cursor: text; position: relative; transition: background-color .18s; }
.dock-f + .dock-f::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: rgba(255, 255, 255, .14); }
.dock-f:hover { background: rgba(255, 255, 255, .05); }
.dock-f:focus-within { background: rgba(255, 255, 255, .08); box-shadow: inset 0 -3px 0 var(--ball); }
.dock-f:focus-within::before, .dock-f:focus-within + .dock-f::before { opacity: 0; }
.dock-q { flex: 2 1 0; }
.dock-l { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); }
.dock-in { appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: 0; box-shadow: none; color: #fff; font-weight: 600; font-size: 1rem; padding: 2px 0; width: 100%; min-width: 0; }
.dock-in::placeholder { color: rgba(255, 255, 255, .5); }
.dock-in::-webkit-search-cancel-button { filter: invert(1); cursor: pointer; }
select.dock-in { cursor: pointer; padding-right: 22px; background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e3f24b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") right center / 12px no-repeat; }
.dock-in option { color: var(--night); background: #fff; }
.dock .dock-go { align-self: center; margin-left: 8px; height: 54px; padding: 0 28px; border-radius: 16px; border-color: var(--ball); --ledge: var(--ball-deep); flex: none; }
.dock-count { font-size: .78rem; color: var(--muted); margin: 0 0 22px 8px; }
.dock-wrap { margin-bottom: 26px; }
.dock-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dock-chips .tabs-row { margin: 0; }
@media (max-width: 760px) {
    .dock { flex-wrap: wrap; padding: 6px; border-radius: 20px; }
    .dock-f { flex: 1 1 45%; }
    .dock-q { flex-basis: 100%; }
    .dock-f + .dock-f::before { display: none; }
    .dock .dock-go { flex: 1 1 100%; margin: 6px 0 0; height: 48px; }
}

.search-pill { width: min(400px, 100%); position: relative; }
.search-pill > i { left: 6px; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--ball); display: grid; place-items: center; font-size: .82rem; z-index: 1; transition: transform .3s var(--ease); }
.search-pill:focus-within > i { transform: rotate(-12deg) scale(1.06); }
.search-pill input, .search-pill input.form-control { height: 46px; padding: 0 44px 0 50px !important; border-radius: 15px !important; background: var(--card) !important; color: var(--ink) !important; border: 2px solid color-mix(in srgb, var(--ink) 16%, transparent) !important; box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 12%, transparent) !important; font-weight: 500; outline: 0; width: 100%; }
.search-pill input:focus { border-color: var(--night) !important; box-shadow: 0 3px 0 var(--night) !important; }
.search-pill::after { content: "/"; position: absolute; right: 12px; top: 50%; translate: 0 -55%; font-family: var(--mono); font-size: .72rem; line-height: 1; color: var(--muted); border: 1.5px solid var(--line-strong); border-bottom-width: 3px; border-radius: 6px; padding: 3px 7px 2px; pointer-events: none; transition: opacity .15s; }
.search-pill:focus-within::after, .search-pill:has(input:not(:placeholder-shown))::after { opacity: 0; }
.rcpt-tools.search-pill { margin-bottom: 18px; }

.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.chart-grid > .panel { margin: 0; min-width: 0; }
.chart-wide { grid-column: 1 / -1; }
.chart-grid .panel-head .small-print { padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--hero) 10%, transparent); color: var(--hero); }
.donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.donut { position: relative; width: 190px; height: 190px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; }
.donut-track { stroke: color-mix(in srgb, var(--ink) 7%, transparent); }
.donut-seg { stroke-linecap: butt; animation: donut-in .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes donut-in { from { stroke-dasharray: 0 100; } }
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-mid b { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 2.6rem; line-height: 1; }
.donut-mid small { font-family: var(--mono); font-size: .66rem; color: var(--muted); }
.donut-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; min-width: 180px; }
.donut-key li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 42px; gap: 10px; align-items: center; font-size: .9rem; }
.donut-key li i { width: 12px; height: 12px; border-radius: 4px; }
.donut-key li b { font-weight: 800; }
.donut-key li small { font-family: var(--mono); color: var(--muted); text-align: right; }
:is(.donut, .donut-key) .s0 { stroke: var(--surround); background: var(--surround); }
:is(.donut, .donut-key) .s1 { stroke: var(--court); background: var(--court); }
:is(.donut, .donut-key) .s2 { stroke: #e3a72f; background: #e3a72f; }
:is(.donut, .donut-key) .s3 { stroke: #9aa59f; background: #9aa59f; }
:is(.donut, .donut-key) .s4 { stroke: var(--clay); background: var(--clay); }
:is(.donut, .donut-key) .s5 { stroke: var(--ball-deep); background: var(--ball-deep); }
.heat { display: grid; grid-template-columns: 40px repeat(var(--cols), minmax(0, 1fr)); gap: 4px; align-items: center; }
.heat-h { font-size: .6rem; color: var(--muted); white-space: nowrap; overflow: visible; }
.heat-d { font-size: .7rem; color: var(--muted); }
.heat i { display: block; aspect-ratio: 1.5; border-radius: 5px; background: color-mix(in srgb, var(--court) calc(var(--a) * 100%), color-mix(in srgb, var(--ink) 5%, transparent)); transition: transform .15s; }
.heat i:hover { transform: scale(1.18); box-shadow: 0 0 0 2px var(--night); }
.heat-key { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .68rem; color: var(--muted); justify-content: flex-end; }
.heat-key i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--court) 12%, #fff), var(--court)); }
.ring-panel .ring-track { stroke: color-mix(in srgb, var(--ink) 8%, transparent); }
.ring-panel .ring-val { stroke: var(--surround); }
.ring-box { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ring-box p { flex: 1; min-width: 160px; margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .chart-grid { grid-template-columns: minmax(0, 1fr); } }

.cal-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; }
.cal-layout > .panel { margin: 0; min-width: 0; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 80%; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.cal-head h2 span { color: var(--muted); font-weight: 700; }
.cal-nav { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent); box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 12%, transparent); text-decoration: none; transition: transform .12s, background .15s; }
.cal-nav:hover { background: var(--night); color: var(--ball); border-color: var(--night); }
.cal-nav:active { transform: translateY(3px); box-shadow: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: .66rem; color: var(--muted); padding-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.cal-day-cell { position: relative; aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 7px 8px; text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--ink) 3.5%, transparent); border: 2px solid transparent; transition: transform .15s var(--ease), background .15s, border-color .15s; }
.cal-day-cell b { font-weight: 800; font-size: .92rem; line-height: 1; }
.cal-day-cell:hover { border-color: var(--night); color: var(--ink); transform: translateY(-2px); }
.cal-day-cell.past { color: var(--muted); background: transparent; }
.cal-day-cell.has { background: color-mix(in srgb, var(--court) 11%, var(--card)); }
.cal-day-cell.today { border-color: var(--court); }
.cal-day-cell.today b::after { content: "today"; display: block; font-family: var(--mono); font-size: .52rem; font-weight: 600; color: var(--court); margin-top: 2px; }
.cal-day-cell.on { background: var(--night); color: #fff; border-color: var(--night); box-shadow: 0 10px 22px -12px rgba(16, 38, 29, .8); }
.cal-day-cell.on b::after { color: var(--ball); }
.cal-n { align-self: flex-end; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: .7rem; background: var(--court); color: #fff; }
.cal-n.pend { background: #e3a72f; color: #2a1a00; }
.cal-day-cell.on .cal-n { background: var(--ball); color: var(--night); }
.cal-block { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 2px; background: repeating-linear-gradient(45deg, #5b6470 0 2px, #9aa3ad 2px 4px); }
.cal-key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .7rem; color: var(--muted); }
.cal-key i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal-key .k-book { background: var(--court); }
.cal-key .k-pend { background: #e3a72f; }
.cal-key .k-block { background: repeating-linear-gradient(45deg, #5b6470 0 2px, #9aa3ad 2px 4px); }
.cal-day .panel-head h2 small { display: block; font-family: var(--mono); font-style: normal; font-weight: 500; text-transform: none; font-size: .74rem; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.cal-day .legend { flex-wrap: wrap; }
.cal-day .legend i { width: 12px; height: 12px; }
@media (max-width: 1100px) { .cal-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cal-day-cell { padding: 5px; border-radius: 9px; } .cal-n { min-width: 18px; height: 18px; font-size: .62rem; padding: 0 4px; } .cal-day-cell.today b::after { display: none; } }
.heat i { aspect-ratio: auto; height: 24px; }
.chart-grid .viz-area { max-height: 300px; }
.ring-panel .ring { width: 170px; height: 170px; }
.ring-panel .ring-label { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: baseline; }
.ring-panel .ring-label small { flex-basis: 100%; max-width: 96px; margin: 6px auto 0; line-height: 1.25; }
.cal-day .cboard { min-width: 600px; }
.cal-day .cb-hours .cb-h:nth-child(even) { visibility: hidden; }
.drawer-head, .drawer-foot { flex-shrink: 0; }
.drawer-sheet { width: min(660px, 100%); }
.map-card { margin-top: 16px; border-radius: var(--radius-l); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 240px; border: 0; background: #e3e9e2; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 4px solid var(--ball); }
.map-foot b { display: block; font-size: .95rem; }
.map-foot small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.map-foot .btn { flex: none; }
.page-head:has(+ .help) { padding-bottom: 86px; }
.help-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: -23px 0 34px; position: relative; z-index: 3; }
.help-tools .search-pill input { box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 12%, transparent), 0 18px 34px -20px rgba(8, 20, 14, .5) !important; }
.help-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.help-topics a { font-weight: 700; font-size: .88rem; padding: 7px 14px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; border: 2px solid color-mix(in srgb, var(--ink) 12%, transparent); transition: background .15s, color .15s, border-color .15s; }
.help-topics a:hover { background: var(--night); color: var(--ball); border-color: var(--night); }
.help-list { display: grid; gap: 34px; max-width: 880px; }
.help-group { display: grid; gap: 10px; scroll-margin-top: 100px; }
.help-group h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 80%; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.help-group h2 span { font-family: var(--mono); font-style: normal; font-size: .78rem; font-weight: 600; color: var(--surround); padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--ball) 55%, transparent); }
.help .faq-card summary { grid-template-columns: minmax(0, 1fr) auto; }
.help .faq-answer p { white-space: normal; margin: 0 0 8px; }
.help-more { margin-top: 40px; max-width: 880px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 18px 20px; border-radius: var(--radius-l); background: var(--night); color: rgba(255, 255, 255, .8); border-left: 6px solid var(--ball); }
.help-more b { color: #fff; font-size: 1.05rem; }
.help-more a { color: var(--ball); }
