:root {
    --brand: #34618b;
    --brand-dark: #284c6e;
    --brand-ink: #17324f;
    --brand-light: #edf4fa;
    --sky: #85b6de;
    --surface: #fff;
    --background: #f7fbff;
    --text: #2f4052;
    --muted: #64788e;
    --line: #d7e1ea;
    --success: #249b5a;
    --danger: #b42318;
    --shadow: 0 18px 50px rgba(23, 50, 79, .10);
    --radius: 22px;
}

.matchmaking-heading { position: relative; padding-right: 10rem; background: linear-gradient(135deg, #fff, #eef6fc 58%, #e7f6ef); }
.online-presence { width: fit-content; display: inline-flex; gap: .5rem; align-items: center; padding: .38rem .72rem; border: 1px solid rgba(36,155,90,.22); border-radius: 999px; color: #17653f; background: rgba(239,250,244,.94); box-shadow: 0 7px 20px rgba(36,155,90,.09); }
.online-presence[hidden] { display: none; }
.online-presence i { width: .62rem; height: .62rem; flex: 0 0 auto; border-radius: 50%; background: #27bd6b; box-shadow: 0 0 0 4px rgba(39,189,107,.13), 0 0 12px rgba(39,189,107,.9); animation: onlinePresenceGlow 1.8s ease-in-out infinite; }
.online-presence strong { font-size: .82rem; line-height: 1; }
.online-presence-hero { margin: -.35rem 0 1rem; }
.online-presence-heading { position: absolute; top: 1.4rem; right: 1.5rem; }
.matchmaking-stage { padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 50% 40%, rgba(52,97,139,.12), transparent 36%), white; box-shadow: var(--shadow); }
.matchmaking-profile-required { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; padding: clamp(1.2rem, 3vw, 1.6rem); align-items: center; color: #264d37; border: 2px solid #79bd91; border-radius: 22px; background: linear-gradient(135deg, #f7fff9, #e9f8ee); box-shadow: 0 16px 38px rgba(36,155,90,.13); }
.profile-required-icon { width: 54px; height: 54px; display: grid; place-items: center; color: white; border-radius: 17px; background: var(--success); box-shadow: 0 9px 22px rgba(36,155,90,.24); font-size: 1.5rem; font-weight: 900; }
.matchmaking-profile-required h2 { margin: .15rem 0 .25rem; color: #173f2b; font-size: 1.35rem; }
.matchmaking-profile-required p { margin: 0; color: #4f705d; font-size: .86rem; }
.profile-required-checks { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.profile-required-checks span { padding: .35rem .65rem; color: #6c5b1c; border-radius: 999px; background: #fff4c9; font-size: .7rem; font-weight: 800; }
.profile-required-checks span.is-complete { color: #17653f; background: #dff4e9; }
.matchmaking-profile-required > .button { white-space: nowrap; }
.matchmaking-controls { display: flex; justify-content: center; gap: .8rem; margin-bottom: 1.4rem; }
.matchmaking-controls label { min-width: min(280px, 100%); }
.matchmaking-controls label > span, .preference-row label > span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.matchmaking-cards { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(.7rem, 3vw, 2rem); align-items: center; max-width: 820px; margin-inline: auto; }
.match-player-card { position: relative; min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.4rem; overflow: hidden; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(155deg, #fff, #f5f9fc); box-shadow: 0 14px 36px rgba(28,57,82,.11); }
.match-player-card.is-own { border-color: rgba(52,97,139,.3); }
.match-player-card.is-candidate.is-found { border-color: #9dd7bb; background: linear-gradient(155deg, #fff, #effaf4); animation: matchCardFound .45s ease both; }
.match-card-label { position: absolute; top: 1rem; left: 1rem; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.match-avatar { width: 108px; height: 108px; display: grid; place-items: center; overflow: hidden; margin-bottom: 1rem; border: 5px solid white; border-radius: 50%; background: var(--brand-light); color: var(--brand); box-shadow: 0 10px 26px rgba(30,70,105,.18); font-size: 2.1rem; font-weight: 900; }
.match-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-player-card h2 { margin: 0 0 .35rem; font-size: 1.45rem; }
.match-player-card p { margin: 0; color: var(--brand); font-weight: 800; }
.match-player-card small { margin-top: .3rem; color: var(--muted); }
.match-versus { width: 82px; height: 82px; display: grid; place-items: center; filter: drop-shadow(0 9px 14px rgba(23,50,79,.2)); }
.match-versus img { width: 100%; height: 100%; display: block; object-fit: contain; }
.shuffle-stack { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.shuffle-stack i { position: absolute; inset: 20% 15%; border: 2px solid rgba(52,97,139,.2); border-radius: 22px; background: rgba(255,255,255,.72); }
.match-player-card.is-shuffling .shuffle-stack { opacity: 1; }
.match-player-card.is-shuffling .match-avatar, .match-player-card.is-shuffling h2, .match-player-card.is-shuffling p, .match-player-card.is-shuffling small { filter: blur(5px); opacity: .3; }
.match-player-card.is-shuffling .shuffle-stack i:nth-child(1) { animation: shuffleCardA .55s ease-in-out infinite alternate; }
.match-player-card.is-shuffling .shuffle-stack i:nth-child(2) { animation: shuffleCardB .65s ease-in-out infinite alternate; }
.match-player-card.is-shuffling .shuffle-stack i:nth-child(3) { animation: shuffleCardC .48s ease-in-out infinite alternate; }
.matchmaking-status { min-height: 1.4rem; margin: 1.2rem 0 .8rem; color: var(--muted); text-align: center; font-weight: 650; }
.matchmaking-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; }
.matchmaking-actions [data-open-match-request][hidden] { display: none !important; }
.match-request-composer { max-width: 620px; display: grid; gap: .8rem; margin: 1.2rem auto 0; padding: 1rem; border: 1px solid var(--line); border-radius: 17px; background: #f8fbfd; }
.match-request-composer[hidden] { display: none; }
.preference-row { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: end; }
.match-request-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.match-request-columns h3 { margin-top: 0; }
.match-request-list { display: grid; gap: .7rem; }
.match-request-list article { display: grid; gap: .55rem; padding: .9rem; border: 1px solid var(--line); border-radius: 15px; background: #fbfdff; }
.match-request-list article.is-pending { border: 2px solid #e2584d; background: linear-gradient(145deg, #fff, #fff5f4); box-shadow: 0 10px 26px rgba(180,35,24,.1); }
.match-request-list article > div:first-child { display: grid; gap: .2rem; }
.match-request-list span, .match-request-list p { color: var(--muted); font-size: .84rem; }
.match-request-list p { margin: .3rem 0 0; }
.request-status { width: fit-content; padding: .22rem .5rem; border-radius: 999px; background: #edf2f6; font-size: .72rem !important; font-weight: 800; }
.request-status.status-pending { background: #fff3cd; color: #715700; }
.request-status.status-accepted { background: #dff4e9; color: #17653f; }
.match-request-alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; padding: 1.15rem; align-items: center; color: #6f1d17; border: 2px solid #e2584d; border-radius: 20px; background: linear-gradient(135deg, #fff7f6, #ffeae7); box-shadow: 0 14px 34px rgba(180,35,24,.12); }
.match-request-alert-count { width: 52px; height: 52px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--danger); box-shadow: 0 7px 18px rgba(180,35,24,.25); font-size: 1.35rem; font-weight: 900; }
.match-request-alert h2 { margin: .15rem 0; color: #651a15; font-size: 1.2rem; }
.match-request-alert p { margin: 0; color: #8d3b35; font-size: .86rem; }
.match-request-alert .button { white-space: nowrap; background: var(--danger); border-color: var(--danger); }
.match-requests-panel.has-pending { border-color: rgba(180,35,24,.35); }
.match-request-head-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: flex-start; justify-content: flex-end; }
.match-request-head-actions .admin-status { color: #8e2119; background: #ffe8e5; }
.match-request-push { justify-items: end; }
.match-request-push-copy { margin: -.35rem 0 1.1rem; color: var(--muted); font-size: .78rem; text-align: right; }
.match-request-toast { position: fixed; z-index: 1000; top: clamp(5rem, 10vw, 7rem); right: clamp(1rem, 3vw, 2rem); width: min(540px, calc(100vw - 2rem)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem; padding: 1rem 3rem 1rem 1rem; align-items: center; color: var(--text); border: 2px solid #e2584d; border-radius: 18px; background: white; box-shadow: 0 22px 60px rgba(23,50,79,.28); animation: matchRequestToastIn .28s ease both; }
.match-request-toast[hidden] { display: none; }
.match-request-toast.is-leaving { opacity: 0; transform: translateY(-12px); transition: opacity .18s, transform .18s; }
.match-request-toast span, .match-request-toast strong, .match-request-toast p { display: block; }
.match-request-toast span { color: var(--danger); font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.match-request-toast strong { color: var(--brand-ink); }
.match-request-toast p { margin: .15rem 0 0; color: var(--muted); font-size: .78rem; }
.match-request-toast-actions { display: grid; gap: .45rem; justify-items: stretch; }
.match-request-toast-actions form { display: flex; gap: .4rem; margin: 0; }
.match-request-toast-actions .button { width: 100%; white-space: nowrap; }
.match-request-toast-close { position: absolute; top: .45rem; right: .55rem; width: 30px; height: 30px; padding: 0; color: var(--muted); border: 0; border-radius: 50%; background: var(--background); font-size: 1.1rem; cursor: pointer; }
@keyframes matchRequestToastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.matchmaking-lobby-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.2rem; align-items: start; }
.match-lobby-steps { display: grid; gap: .6rem; margin-top: 1.2rem; }
.match-lobby-steps span { padding: .7rem .8rem; border-radius: 12px; background: var(--brand-light); font-weight: 700; }
.match-lobby-messages { max-height: 420px; display: grid; gap: .7rem; margin-bottom: 1rem; overflow-y: auto; }
.match-lobby-message { max-width: 82%; padding: .7rem .8rem; border-radius: 14px 14px 14px 4px; background: var(--brand-light); }
.match-lobby-message.is-own { justify-self: end; border-radius: 14px 14px 4px 14px; background: #e4f5ec; }
.match-lobby-message p { margin: .25rem 0; }
.match-lobby-message small { color: var(--muted); }
@keyframes shuffleCardA { from { transform: translate(-38px, -9px) rotate(-7deg); } to { transform: translate(34px, 8px) rotate(6deg); } }
@keyframes shuffleCardB { from { transform: translate(30px, -12px) rotate(8deg); } to { transform: translate(-30px, 10px) rotate(-6deg); } }
@keyframes shuffleCardC { from { transform: translate(-10px, 28px) scale(.94); } to { transform: translate(12px, -25px) scale(1.03); } }
@keyframes matchCardFound { from { transform: scale(.96); opacity: .7; } to { transform: scale(1); opacity: 1; } }
@keyframes onlinePresenceGlow { 50% { box-shadow: 0 0 0 6px rgba(39,189,107,.07), 0 0 18px rgba(39,189,107,.95); } }
@media (prefers-reduced-motion: reduce) {
    .match-player-card.is-shuffling .shuffle-stack i { animation-duration: 1.5s; }
    .online-presence i { animation: none; }
}

@media (max-width: 760px) {
    .matchmaking-heading { padding-right: 1.2rem; }
    .online-presence-heading { position: static; margin-top: .9rem; }
    .matchmaking-controls, .preference-row { display: grid; grid-template-columns: 1fr; }
    .matchmaking-cards { grid-template-columns: 1fr; }
    .match-player-card { min-height: 280px; }
    .match-versus { width: 72px; height: 72px; margin: -.6rem auto; z-index: 1; }
    .match-request-columns, .matchmaking-lobby-grid { grid-template-columns: 1fr; }
    .match-request-alert { grid-template-columns: auto minmax(0, 1fr); }
    .match-request-alert .button { grid-column: 1 / -1; width: 100%; }
    .matchmaking-profile-required { grid-template-columns: auto minmax(0, 1fr); }
    .matchmaking-profile-required > .button { grid-column: 1 / -1; width: 100%; }
    .match-request-head-actions { width: 100%; justify-content: flex-start; }
    .match-request-push { justify-items: start; }
    .match-request-push-copy { text-align: left; }
    .match-request-toast { grid-template-columns: 1fr; }
    .match-request-toast .button { width: 100%; }
    .match-request-toast-actions form { display: grid; grid-template-columns: 1fr 1fr; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; min-height: 100dvh; display: flex; margin: 0; flex-direction: column; color: var(--text); background: var(--surface); font: 400 1rem/1.6 Roboto, system-ui, sans-serif; }
main { flex: 1 0 auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { margin: 0 0 .65rem; color: var(--brand-ink); font-family: Nunito, sans-serif; line-height: 1.12; }
h1 { font-size: clamp(2.25rem, 6vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2rem; }
button, input, select, textarea { font: inherit; }
.required-marker { margin-left: .12rem; color: var(--danger); font-weight: 900; }
.required-label-caption { width: fit-content; display: inline-flex; align-items: baseline; }
.is-invalid-field { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(180,35,24,.1) !important; }
.field-validation-message { display: block; margin-top: .4rem; color: var(--danger); font-size: .75rem; font-weight: 700; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { max-width: 560px; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(215,225,234,.8); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: .7rem; align-items: center; color: var(--brand-ink); font: 800 1.2rem Nunito, sans-serif; }
.brand strong { color: var(--brand); }
.brand-mark { width: 48px; height: 32px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(52,97,139,.2)); }
.sport-switcher { position: relative; margin-right: auto; margin-left: .75rem; color: var(--brand-ink); font-family: Inter, sans-serif; }
.sport-switcher summary { list-style: none; }
.sport-switcher summary::-webkit-details-marker { display: none; }
.sport-switcher-trigger { min-height: 40px; display: inline-flex; gap: .48rem; padding: .35rem .65rem; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .76rem; font-weight: 700; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.sport-switcher-trigger:hover, .sport-switcher[open] .sport-switcher-trigger { border-color: #a9bed1; background: #f8fbfd; box-shadow: 0 6px 18px rgba(23,50,79,.09); }
.sport-switcher-trigger:focus-visible { outline: 3px solid rgba(133,182,222,.35); outline-offset: 2px; }
.sport-switcher-chevron { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.sport-switcher[open] .sport-switcher-chevron { transform: rotate(180deg); }
.sport-switcher-menu { position: absolute; z-index: 60; top: calc(100% + .55rem); left: 0; width: 220px; overflow: hidden; padding: .45rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 16px 40px rgba(23,50,79,.16); }
.sport-switcher-label { display: block; padding: .45rem .65rem .35rem; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sport-switcher-menu a { display: flex; min-height: 40px; padding: .55rem .65rem; align-items: center; justify-content: space-between; color: var(--text); border-radius: 8px; font-size: .82rem; font-weight: 700; }
.sport-switcher-menu a:hover { color: var(--brand-ink); background: var(--brand-light); }
.sport-switcher-menu a[aria-current="page"] { color: var(--brand); background: #f2f7fb; }
.sport-switcher-menu small { color: var(--brand); font-size: .64rem; font-weight: 700; text-transform: uppercase; }
.sport-switcher-menu .sport-switcher-all { margin-top: .3rem; color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-size: .75rem; }
.main-nav { display: flex; align-items: center; gap: 1.35rem; font: 600 .92rem Inter, sans-serif; }
.landing-guest-actions { margin-left: auto; display: flex; gap: .75rem; align-items: center; font: 700 .92rem Inter, sans-serif; }
.main-nav form { margin: 0; }
.main-nav .matchmaking-nav-link { display: inline-flex; gap: .45rem; padding: .48rem .7rem; align-items: center; color: #355b28; border-radius: 10px; background: #edf5df; font-weight: 800; }
.main-nav .matchmaking-nav-link:hover { color: #203b2d; background: #e2efcd; }
.matchmaking-nav-link small { padding: .12rem .35rem; color: white; border-radius: 999px; background: #66894b; font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; }
.community-nav-link { display: inline-flex; align-items: center; gap: .4rem; }
.notification-badge { min-width: 20px; height: 20px; display: inline-grid; padding: 0 .32rem; place-items: center; color: white; border-radius: 999px; background: var(--danger); font-size: .68rem; font-weight: 800; }
.notification-badge[hidden] { display: none; }
.nav-link { padding: 0; color: var(--brand); border: 0; background: transparent; cursor: pointer; }
.nav-toggle { display: none; padding: .5rem .75rem; color: var(--brand); border: 1px solid var(--line); border-radius: 9px; background: white; }
.button { display: inline-flex; min-height: 46px; padding: .7rem 1.25rem; align-items: center; justify-content: center; color: white; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); box-shadow: 0 8px 20px rgba(52,97,139,.18); font: 700 .94rem Inter, sans-serif; cursor: pointer; transition: transform .2s, background .2s; }
.button-with-icon { gap: .55rem; }
.button-icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { color: white; background: var(--brand-dark); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: .5rem 1rem; }
.button-secondary { color: var(--brand); background: white; box-shadow: none; }
.button-secondary:hover { color: white; }
.button-danger { border-color: var(--danger); background: var(--danger); }
.button-full { width: 100%; }
.link-button { padding: 0; color: var(--brand); border: 0; background: transparent; font: 700 .78rem Inter, sans-serif; cursor: pointer; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.eyebrow { display: inline-block; margin-bottom: .75rem; color: var(--brand); font: 700 .76rem/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 1.16rem; }
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 74px); display: grid; align-items: center; background: radial-gradient(circle at 80% 30%, rgba(133,182,222,.3), transparent 27%), linear-gradient(145deg, #fff 30%, #edf4fa 100%); }
.sport-picker-section { min-height: calc(100vh - 74px); display: grid; padding-block: clamp(2.5rem, 6vw, 5rem); align-items: center; background: radial-gradient(circle at 50% 0, rgba(133,182,222,.2), transparent 38%), var(--background); }
.sport-picker-container { display: grid; gap: clamp(1.8rem, 4vw, 3rem); }
.sport-picker-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.sport-picker-heading h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
.sport-picker-heading p { margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.sport-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2.5vw, 1.5rem); }
.sport-choice-card { position: relative; min-width: 0; min-height: clamp(400px, 58vh, 610px); overflow: hidden; color: white; border: 1px solid rgba(23,50,79,.16); border-radius: clamp(18px, 3vw, 30px); background: var(--brand-ink); box-shadow: var(--shadow); isolation: isolate; }
.sport-choice-card img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.sport-choice-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(9,23,36,.05) 30%, rgba(9,23,36,.88) 100%); }
.sport-choice-copy { position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); left: clamp(1rem, 3vw, 2rem); display: grid; }
.sport-choice-copy small { margin-bottom: .25rem; color: #d8e5f0; font: 700 .72rem Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.sport-choice-copy strong { color: white; font: 800 clamp(2rem, 5vw, 4rem)/1 Nunito, sans-serif; letter-spacing: -.035em; }
.sport-choice-copy > span { margin-top: .8rem; color: white; font: 700 .86rem Inter, sans-serif; }
a.sport-choice-card:hover { color: white; transform: translateY(-4px); }
a.sport-choice-card:hover img { transform: scale(1.035); }
.sport-choice-card.is-coming { cursor: not-allowed; }
.sport-choice-card.is-coming img { filter: grayscale(1) contrast(.85); }
.sport-choice-card.is-coming .sport-choice-shade { background: linear-gradient(rgba(37,49,59,.52), rgba(37,49,59,.82)); }
.coming-soon-label { position: absolute; top: 50%; left: 50%; width: max-content; max-width: calc(100% - 1.5rem); padding: .7rem 1rem; color: var(--brand-ink); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(0,0,0,.15); font: 800 clamp(.72rem, 1.8vw, 1rem) Inter, sans-serif; letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: translate(-50%, -50%); }
.hero::before { content: ''; position: absolute; width: 500px; height: 500px; left: -320px; bottom: -280px; border: 90px solid rgba(52,97,139,.05); border-radius: 50%; }
.tennis-hero { background: radial-gradient(circle at 78% 25%, rgba(194,216,111,.34), transparent 28%), linear-gradient(145deg, #fff 28%, #f3f7e9 100%); }
.tennis-court-card { position: relative; min-height: 480px; display: grid; overflow: hidden; padding: clamp(1rem, 3vw, 2rem); place-items: center; border-radius: 30px; background: linear-gradient(145deg, #7f9d58, #547743); box-shadow: 0 25px 70px rgba(47,74,39,.24); }
.tennis-court-lines { position: absolute; inset: 6%; border: 3px solid rgba(255,255,255,.72); }
.tennis-court-lines::before, .tennis-court-lines::after, .tennis-court-lines i, .tennis-court-lines b { position: absolute; content: ''; background: rgba(255,255,255,.72); }
.tennis-court-lines::before { top: 50%; right: 0; left: 0; height: 3px; }
.tennis-court-lines::after { top: 0; bottom: 0; left: 50%; width: 3px; }
.tennis-court-lines i { top: 25%; right: 0; left: 0; height: 2px; }
.tennis-court-lines b { right: 0; bottom: 25%; left: 0; height: 2px; }
.tennis-match-preview { z-index: 1; width: min(100%, 340px); padding: 1.5rem; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 18px 45px rgba(25,43,20,.22); backdrop-filter: blur(12px); }
.tennis-match-preview p { color: var(--muted); }
.tennis-player-pair { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.tennis-player-pair span { width: 58px; height: 58px; display: grid; place-items: center; color: white; border-radius: 50%; background: #66894b; font: 800 .9rem Nunito, sans-serif; }
.tennis-player-pair span:last-child { color: #66894b; border: 2px dashed #66894b; background: #f2f7e9; }
.tennis-player-pair em { color: var(--muted); font: 800 .72rem Inter, sans-serif; }
.tennis-finder-teaser { color: #dfeacd; background: #203b2d; }
.tennis-finder-teaser h2 { color: white; }
.tennis-finder-teaser .lead { color: #c3d2bd; }
.tennis-finder-teaser .button-row { align-items: center; }
.tennis-finder-button { color: #203b2d; border-color: #dce9c2; background: #dce9c2; }
.tennis-finder-button:hover { color: #203b2d; background: #edf5df; }
.text-link-light { color: #e4efcf; font-weight: 800; }
.text-link-light:hover { color: white; }
.tennis-finder-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.finder-stack { position: relative; min-height: 300px; display: grid; place-items: center; }
.finder-stack span, .finder-stack strong { position: absolute; min-width: 180px; padding: 1rem 1.3rem; color: #203b2d; border-radius: 18px; background: #f7faef; box-shadow: 0 18px 40px rgba(0,0,0,.18); font: 800 1rem Nunito, sans-serif; text-align: center; transform: rotate(-8deg) translate(-38px, -62px); }
.finder-stack span:nth-child(2) { transform: rotate(6deg) translate(52px, 4px); }
.finder-stack span:nth-child(3) { transform: rotate(-3deg) translate(-48px, 70px); }
.finder-stack strong { color: white; background: #799d50; transform: rotate(3deg) translate(64px, 112px); }
.tennis-club-section { background: #f3f7e9; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: 5rem; }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.5rem; color: var(--muted); font-size: .88rem; }
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.sport-orbit { position: absolute; border: 1px dashed rgba(52,97,139,.28); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 330px; height: 330px; border-style: solid; border-color: rgba(133,182,222,.3); }
.lobby-card, .form-card, .slots-card, .group-card, .feature-card { position: relative; border: 1px solid rgba(215,225,234,.9); border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.lobby-card { z-index: 1; width: min(100%, 390px); padding: 1.6rem; }
.lobby-card-head, .card-top, .slots-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.lobby-card h2 { margin-top: .55rem; }
.sport-tag, .availability, .status-dot { display: inline-flex; padding: .38rem .75rem; border-radius: 999px; font: 700 .78rem Inter, sans-serif; }
.sport-tag { color: var(--brand); background: var(--brand-light); }
.availability, .status-dot { color: #1c7d48; background: #eaf8f0; }
.availability.is-full { color: var(--muted); background: #eef1f4; }
.availability.is-live, .status-dot.is-live { color: #8a5b00; background: #fff4d6; }
.mini-slots { display: flex; margin: 1.4rem 0; }
.mini-slot { width: 50px; height: 50px; display: grid; place-items: center; margin-right: -6px; color: var(--brand); border: 3px solid white; border-radius: 50%; background: var(--brand-light); font: 800 .82rem Nunito, sans-serif; }
.mini-slot.filled { color: white; background: linear-gradient(135deg, var(--brand), var(--sky)); }
.section, .page-section { padding-block: clamp(4rem, 8vw, 7rem); }
.light-section, .groups-section { background: var(--background); }
.section-heading { margin-bottom: 2.2rem; text-align: center; }
.steps-grid, .group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature-card { padding: 1.7rem; box-shadow: 0 10px 35px rgba(23,50,79,.07); }
.step-number { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 1.25rem; color: var(--brand); border-radius: 14px; background: var(--brand-light); font: 800 .84rem Inter, sans-serif; }
.package-section { background: #f2f7fb; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.package-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: white; }
.package-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.package-card h3 small { display: inline-flex; margin-left: .35rem; padding: .2rem .4rem; vertical-align: middle; color: #9a6100; border: 1px solid #f2c46d; border-radius: 999px; font: 700 .6rem Inter, sans-serif; }
.package-icon { width: 40px; height: 40px; display: grid; margin-bottom: 1rem; place-items: center; color: var(--success); border-radius: 12px; background: #e8f7ef; }
.package-icon svg { width: 23px; height: 23px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.padel-section { color: #d8e5f0; background: var(--brand-ink); }
.padel-section h2 { color: white; }
.padel-section .lead { color: #b9ccdd; }
.padel-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.padel-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.padel-benefits article { min-height: 150px; display: grid; align-content: center; gap: .35rem; padding: 1.35rem; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); }
.padel-benefits strong { color: white; font: 800 1.25rem Nunito, sans-serif; }
.padel-benefits span { color: #b9ccdd; font-size: .9rem; }
.vienna-cta { background: var(--background); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 5vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.cta-card p { margin-bottom: 0; color: var(--muted); }
.club-partner-promo { overflow: hidden; background: linear-gradient(145deg, #eef5fb, #fff); }
.club-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.club-promo-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.club-promo-features { display: grid; gap: .7rem; margin: 1.5rem 0; }
.club-promo-features span { position: relative; padding-left: 1.65rem; color: var(--brand-ink); font-weight: 600; }
.club-promo-features span::before { position: absolute; top: .2rem; left: 0; width: 18px; height: 18px; display: grid; content: '✓'; place-items: center; color: white; border-radius: 50%; background: var(--success); font-size: .65rem; }
.club-promo-console { padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 25px 70px rgba(23,50,79,.14); transform: rotate(1deg); }
.promo-console-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.promo-console-top > div { display: flex; align-items: center; gap: .7rem; }
.promo-console-top > span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.promo-console-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--sky)); font: 800 .78rem Nunito, sans-serif; }
.promo-console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 1rem 0; }
.promo-console-metrics article { display: grid; padding: .85rem; border-radius: 14px; background: var(--background); }
.promo-console-metrics span, .promo-console-metrics small { color: var(--muted); font-size: .68rem; }
.promo-console-metrics strong { color: var(--brand-ink); font: 800 1.3rem Nunito, sans-serif; }
.promo-console-event { display: grid; grid-template-columns: 1fr auto; gap: .6rem 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 15px; }
.promo-console-event .eyebrow { margin-bottom: .25rem; }
.promo-console-event strong { display: block; }
.promo-console-event > span { font-weight: 800; }
.promo-console-event i { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 99px; background: #e4ebf1; }
.promo-console-event b { width: 57%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--sky)); }
.promo-console-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1rem; }
.promo-console-actions span { padding: .65rem .3rem; color: var(--brand); border-radius: 10px; background: var(--brand-light); font-size: .7rem; font-weight: 700; text-align: center; }
.site-footer { padding: 3.5rem 0 1.5rem; color: #d8e5f0; background: var(--brand-ink); }
.footer-inner { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.footer-brand { display: grid; gap: .35rem; }
.footer-brand strong { color: white; font: 800 1.25rem Nunito, sans-serif; }
.footer-brand span { color: #b9ccdd; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-links > div { display: grid; align-content: start; gap: .65rem; }
.footer-links strong { margin-bottom: .2rem; color: white; font: 700 .78rem Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: #d8e5f0; font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 2.75rem; padding-top: 1.25rem; color: #9fb6c9; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.legal-hero { border-bottom: 1px solid var(--line); }
.legal-section { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.legal-content { max-width: 780px; }
.legal-content h2 { margin: 2.6rem 0 .8rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li, .legal-details { color: var(--muted); }
.legal-content li + li { margin-top: .4rem; }
.legal-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-details { display: grid; gap: 0; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 16px; background: white; }
.legal-details div { display: grid; grid-template-columns: minmax(150px, .65fr) 1fr; gap: 1rem; padding: .85rem 1rem; }
.legal-details div + div { border-top: 1px solid var(--line); }
.legal-details dt { color: var(--brand-ink); font-weight: 700; }
.legal-details dd { margin: 0; }
.legal-source-note { margin-top: 3rem; padding: 1rem 1.2rem; border-left: 4px solid var(--brand); border-radius: 8px; background: var(--brand-light); }
.auth-section { min-height: calc(100vh - 180px); background: radial-gradient(circle at 20% 15%, rgba(133,182,222,.25), transparent 30%), var(--background); }
.form-card { padding: clamp(1.5rem, 5vw, 2.5rem); }
.form-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.form-stack { display: grid; gap: 1.15rem; }
label { display: grid; gap: .42rem; color: var(--brand-ink); font: 600 .9rem Inter, sans-serif; }
label small { color: var(--muted); font-weight: 400; }
.field { display: grid; gap: .42rem; color: var(--brand-ink); font: 600 .9rem Inter, sans-serif; }
input, select, textarea { width: 100%; padding: .82rem .9rem; color: var(--text); border: 1px solid var(--line); border-radius: 12px; outline: none; background: white; transition: border .2s, box-shadow .2s; }
select { padding-right: 2.8rem; appearance: none; background-color: white; }
.select-shell { position: relative; display: block; width: 100%; }
.select-chevron { position: absolute; top: 50%; right: .75rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; pointer-events: none; transform: translateY(-50%); }
.select-chevron::before { width: 7px; height: 7px; content: ''; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.select-shell:has(select:open) .select-chevron::before { transform: translateY(2px) rotate(225deg); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(52,97,139,.1); }
textarea { resize: vertical; }
.form-footer { margin: 1.3rem 0 0; text-align: center; }
.error-list { margin-bottom: 1.2rem; padding: .9rem 1rem; color: #672126; border-left: 4px solid var(--danger); border-radius: 8px; background: #fff5f5; }
.error-list p { margin: 0; }
.flash-stack { position: fixed; z-index: 60; top: 90px; right: max(1rem, calc((100% - 1160px) / 2)); width: min(390px, calc(100% - 2rem)); }
.flash { display: flex; gap: .8rem; margin-bottom: .5rem; padding: .8rem .8rem .8rem 1rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); transition: opacity .28s ease, transform .28s ease; }
.flash > span { min-width: 0; flex: 1; }
.flash button { width: 30px; height: 30px; flex: 0 0 auto; padding: 0; color: var(--muted); border: 0; border-radius: 50%; background: var(--background); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.flash button:hover { color: var(--brand-ink); background: var(--brand-light); }
.flash.is-dismissing { opacity: 0; transform: translateX(24px); pointer-events: none; }
.flash-success { border-left: 4px solid var(--success); }
.flash-error { border-left: 4px solid var(--danger); }
.flash-info { border-left: 4px solid var(--brand); }
.content-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.content-grid h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.host-note { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--brand-light); }
.host-note p { margin: .25rem 0 0; color: var(--muted); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.skill-range-field { padding: 1rem; border: 1px solid #dbe6ef; border-radius: 18px; background: linear-gradient(145deg, #f6faff, #fff); }
.skill-range-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.skill-range-help { color: var(--muted); font-weight: 400; }
.skill-assessment-note { display: grid; gap: .15rem; margin-top: .15rem; padding: .65rem .75rem; border-left: 3px solid #66894b; border-radius: 0 10px 10px 0; background: #f3f8ea; }
.skill-assessment-note strong { color: #557c38; font-size: .7rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.skill-assessment-note small { color: var(--muted); font-size: .76rem; font-weight: 400; line-height: 1.45; }
.schedule-fields { display: grid; grid-template-columns: 1.25fr .75fr; gap: .85rem; padding: 1rem; border: 1px solid #dbe6ef; border-radius: 18px; background: linear-gradient(145deg, #f6faff, #fff); }
.date-picker { position: relative; min-width: 0; }
.date-picker-trigger { width: 100%; min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; padding: .72rem .9rem; align-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; outline: none; background: white; text-align: left; cursor: pointer; transition: border .2s, box-shadow .2s; }
.date-picker-trigger:hover, .date-picker-trigger:focus, .date-picker.is-open .date-picker-trigger { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(52,97,139,.1); }
.date-picker-trigger.has-value { color: var(--text); }
.date-picker-trigger.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(192,62,72,.1); }
.date-picker-chevron { width: 8px; height: 8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.date-picker.is-open .date-picker-chevron { transform: translateY(2px) rotate(225deg); }
.date-picker-panel { position: absolute; z-index: 90; top: calc(100% + .5rem); left: 0; width: min(350px, calc(100vw - 3rem)); padding: .9rem; color: var(--text); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 22px 60px rgba(23,50,79,.2); }
.date-picker-panel[hidden] { display: none; }
.date-picker-head { display: grid; grid-template-columns: 36px 1fr 36px; gap: .5rem; align-items: center; margin-bottom: .7rem; }
.date-picker-head strong { color: var(--brand-ink); font: 800 1rem Nunito, sans-serif; text-align: center; text-transform: capitalize; }
.date-picker-head button { width: 36px; height: 36px; padding: 0; color: var(--brand); border: 0; border-radius: 10px; background: var(--brand-light); cursor: pointer; }
.date-picker-head button:hover:not(:disabled) { color: white; background: var(--brand); }
.date-picker-head button:disabled { opacity: .35; cursor: not-allowed; }
.date-picker-weekdays, .date-picker-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; }
.date-picker-weekdays { margin-bottom: .3rem; color: var(--muted); font-size: .68rem; font-weight: 700; text-align: center; }
.date-picker-weekdays span { padding-block: .25rem; }
.date-picker-day, .date-picker-blank { aspect-ratio: 1; }
.date-picker-day { display: grid; padding: 0; place-items: center; color: var(--text); border: 0; border-radius: 10px; background: transparent; font-size: .82rem; cursor: pointer; }
.date-picker-day:hover:not(:disabled) { color: var(--brand); background: var(--brand-light); }
.date-picker-day.is-today { color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); font-weight: 800; }
.date-picker-day.is-selected { color: white; background: var(--brand); box-shadow: 0 6px 14px rgba(52,97,139,.25); font-weight: 800; }
.date-picker-day:disabled { color: #bdc8d1; cursor: not-allowed; }
.date-picker-footer { display: flex; gap: .8rem; margin-top: .7rem; padding-top: .7rem; align-items: center; border-top: 1px solid var(--line); }
.date-picker-footer button { padding: .4rem .65rem; color: var(--brand); border: 0; border-radius: 8px; background: var(--brand-light); font-size: .75rem; font-weight: 800; cursor: pointer; }
.date-picker-footer span { margin-left: auto; color: var(--muted); font-size: .7rem; }
.time-picker-field { min-width: 0; }
.time-picker-field .select-shell { height: 48px; }
.time-picker-field select { height: 48px; padding-left: .9rem; }
.time-picker-field select:invalid { color: var(--muted); }
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem); background: linear-gradient(145deg, #fff, var(--brand-light)); }
.compact-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.compact-hero p { margin-bottom: 0; color: var(--muted); font-size: 1.1rem; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.filter-bar { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: .8rem; align-items: end; margin-top: -6rem; margin-bottom: 2rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.filter-bar label span { font-size: .77rem; }
.filter-bar .field-label { font-size: .77rem; }
.venue-picker { position: relative; min-width: 0; }
.venue-input-wrap { position: relative; }
.venue-input-wrap input { padding-right: 2.8rem; }
.venue-toggle { position: absolute; top: 50%; right: .45rem; width: 2.1rem; height: 2.1rem; display: grid; padding: 0; place-items: center; color: var(--brand); border: 0; border-radius: 9px; background: transparent; cursor: pointer; transform: translateY(-50%); }
.venue-toggle::before { width: 7px; height: 7px; content: ''; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.venue-toggle.is-open::before { transform: translateY(2px) rotate(225deg); }
.venue-select-native { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.venue-picker-panel { position: absolute; z-index: 80; top: calc(100% + .45rem); right: 0; left: 0; max-height: 320px; padding: .45rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 18px 45px rgba(23,50,79,.18); }
.venue-picker-panel[hidden] { display: none; }
.venue-state-button, .venue-option { width: 100%; display: flex; align-items: center; padding: .72rem .75rem; color: var(--text); border: 0; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.venue-state-button { color: var(--brand-ink); font-weight: 700; }
.venue-state-button:hover, .venue-option:hover, .venue-option[aria-selected="true"] { background: var(--brand-light); }
.venue-option { padding-left: 1.15rem; font-weight: 500; }
.venue-option-all { padding-left: .75rem; color: var(--brand); font-weight: 700; }
.venue-count { margin-left: auto; padding: .12rem .45rem; color: var(--muted); border-radius: 999px; background: var(--background); font-size: .72rem; }
.venue-chevron { margin-left: .55rem; font-size: 1.2rem; transition: transform .2s; }
.venue-state-button[aria-expanded="true"] .venue-chevron { transform: rotate(90deg); }
.venue-state-heading { padding: .65rem .75rem .3rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.venue-empty { margin: 0; padding: .85rem .75rem; color: var(--muted); font-size: .82rem; font-weight: 400; }
.venue-booking-hint { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding: .9rem 1rem; align-items: center; border: 1px solid #bfe4cf; border-radius: 14px; background: linear-gradient(145deg, #f0fbf5, white); }
.venue-booking-hint[hidden] { display: none; }
.venue-booking-hint span, .venue-booking-hint strong { display: block; }
.venue-booking-hint span { color: var(--muted); font-size: .72rem; }
.venue-booking-hint strong { margin-top: .12rem; font-size: .9rem; }
.venue-booking-hint a { font-size: .82rem; font-weight: 800; text-align: right; }
.venue-booking-hint small { grid-column: 1 / -1; color: var(--muted); font-size: .68rem; }
.external-booking-note { display: block; margin-top: .65rem; color: var(--muted); font-size: .68rem; }
.group-grid { grid-template-columns: repeat(2, 1fr); }
.group-card { padding: 1.45rem; box-shadow: 0 10px 32px rgba(23,50,79,.07); }
.group-card h2 { margin-top: 1.3rem; }
.group-meta { display: grid; gap: .45rem; margin: 1rem 0; color: var(--muted); font-size: .92rem; }
.capacity { height: 7px; margin: 1.1rem 0 1.3rem; overflow: hidden; border-radius: 999px; background: #e6edf3; }
.capacity-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--sky)); }
.empty-state { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: white; }
.empty-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 1.2rem; color: var(--brand); border-radius: 20px; background: var(--brand-light); font: 800 1.1rem Nunito, sans-serif; }
.back-link { display: inline-block; margin-bottom: 2rem; }
.lobby-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.lobby-layout h1 { margin-top: .8rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.detail-list { display: grid; gap: .8rem; margin: 2rem 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.detail-list span { color: var(--muted); }
.action-stack { display: flex; flex-wrap: wrap; gap: .7rem; }
.group-description { margin: -.3rem 0 1.4rem; padding: 1rem 1.1rem; color: var(--muted); border-left: 3px solid var(--sky); border-radius: 0 12px 12px 0; background: rgba(234,245,255,.7); line-height: 1.6; }
.court-summary { margin: 0 0 1.5rem; padding: 1.15rem 1.2rem; border: 1px dashed var(--line); border-radius: 17px; background: rgba(255,255,255,.72); }
.court-summary.is-booked { border-style: solid; border-color: #bfe4cf; background: linear-gradient(145deg, #f0fbf5, white); box-shadow: 0 8px 24px rgba(37,130,81,.08); }
.court-summary h2 { margin: .45rem 0 .25rem; font-size: 1.2rem; }
.court-summary p { margin: .25rem 0; color: var(--muted); }
.court-summary .court-note { margin-top: .8rem; padding-top: .75rem; border-top: 1px solid rgba(37,130,81,.15); }
.court-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .9rem; font-weight: 800; font-size: .86rem; }
.waitlist-position { display: inline-flex; padding: .7rem 1rem; align-items: center; color: var(--brand); border-radius: 999px; background: var(--brand-light); font-weight: 800; }
.waitlist-count { display: block; margin-top: .35rem; color: var(--muted); font-weight: 700; }
.host-coordination-section { padding-top: 0; }
.host-coordination-head { margin-bottom: 1.3rem; }
.host-coordination-head h2 { margin: .45rem 0 .2rem; }
.host-coordination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.host-coordination-grid .form-card { width: auto; }
.host-coordination-grid h3 { margin: .45rem 0 0; font-size: 1.45rem; }
.optional-label { color: var(--muted); font-size: .76rem; font-weight: 500; }
.price-input { position: relative; }
.price-input input { padding-right: 2.5rem; }
.price-input span { position: absolute; top: 50%; right: 1rem; color: var(--muted); transform: translateY(-50%); }
.player-card-safety { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 1rem; padding-top: 1rem; align-items: flex-start; border-top: 1px solid var(--line); text-align: left; }
.player-card-safety[hidden] { display: none; }
.player-card-safety form { margin: 0; }
.player-report-details { flex: 1 1 100%; color: var(--muted); font-size: .86rem; }
.player-report-details summary { cursor: pointer; }
.player-report-details .form-stack { margin-top: .8rem; }
.chat-report-button { padding: .1rem .25rem; color: var(--muted); border: 0; background: transparent; font-size: .68rem; cursor: pointer; }
.chat-report-button:hover { color: var(--danger); }
.slots-card { padding: clamp(1.3rem, 4vw, 2rem); background: linear-gradient(180deg, var(--brand-light), white 34%); }
.slots-head { margin-bottom: 1.5rem; }
.slots-list { display: grid; gap: .8rem; }
.player-slot { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px dashed var(--line); border-radius: 16px; background: rgba(255,255,255,.75); }
.player-slot.occupied { border-style: solid; }
.player-slot.occupied { transition: border-color .2s, background .2s, box-shadow .2s; }
.player-slot.is-new-member { scroll-margin-top: 100px; border-color: #2faf68; background: #effbf4; outline: 4px solid rgba(47,175,104,.13); animation: newMemberGlow 1s ease-in-out 3; }
@keyframes newMemberGlow { 50% { box-shadow: 0 0 0 7px rgba(47,175,104,.11), 0 10px 30px rgba(47,175,104,.22); transform: scale(1.015); } }
.player-slot.occupied:has(.slot-player-trigger:hover), .player-slot.occupied:has(.slot-player-trigger:focus-visible), .player-slot.occupied:has(.slot-player-trigger:active) { border-color: var(--sky); background: #f1f8ff; box-shadow: 0 0 0 4px rgba(133,182,222,.16); }
.player-slot.available { transition: border-color .2s, background .2s; }
.player-slot.available:has(.slot-join-button:hover) { border-color: var(--sky); background: var(--brand-light); }
.avatar { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; color: var(--brand); border-radius: 50%; background: var(--brand-light); font: 800 1rem Nunito, sans-serif; }
.occupied .avatar { color: white; background: linear-gradient(135deg, var(--brand), var(--sky)); }
.player-slot strong, .player-slot span { display: block; }
.player-slot span { color: var(--muted); font-size: .85rem; }
.slot-copy { min-width: 0; flex: 1; }
.slot-player-trigger, .admin-player-trigger { min-width: 0; display: flex; flex: 1; gap: 1rem; padding: 0; align-items: center; color: inherit; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.slot-player-trigger .avatar, .admin-player-trigger .avatar { display: grid; place-items: center; color: var(--brand); font-size: 1rem; }
.slot-player-trigger .avatar { color: white; }
.slot-player-trigger:focus-visible, .admin-player-trigger:focus-visible { outline: 3px solid rgba(133,182,222,.5); outline-offset: 4px; }
.slot-join-button { padding: 0; border: 0; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.slot-join-button:hover { color: white; background: var(--brand); transform: scale(1.06); }
.slot-action { margin-left: auto; }
.kick-button { width: 34px; height: 34px; padding: 0; color: var(--danger); border: 1px solid transparent; border-radius: 50%; background: transparent; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.kick-button:hover { border-color: #f2caca; background: #fff1f1; }
.confirm-dialog { width: min(92vw, 520px); padding: 2rem; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 24px 70px rgba(23,50,79,.24); }
.confirm-dialog::backdrop { background: rgba(23,50,79,.52); backdrop-filter: blur(3px); }
.confirm-dialog h2 { margin: 1rem 2rem .35rem 0; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; padding: 0; color: var(--muted); border: 0; border-radius: 50%; background: var(--background); font-size: 1.3rem; cursor: pointer; }
.dialog-summary { display: grid; gap: .65rem; margin: 1.5rem 0; }
.dialog-summary div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.dialog-summary dt { color: var(--muted); }
.dialog-summary dd { margin: 0; font-weight: 700; text-align: right; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.dialog-actions form { margin: 0; }
.copy-field { display: flex; gap: .5rem; margin: 1.5rem 0 .8rem; }
.copy-status { min-height: 1.5rem; color: var(--success); }
.text-center { text-align: center; }
.compact-group-grid { grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.compact-group-card { padding: 1rem 1.05rem .85rem; border-radius: 17px; box-shadow: 0 7px 22px rgba(23,50,79,.06); }
.compact-group-card h2 { margin: .8rem 0 .08rem; overflow: hidden; font-size: 1.08rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.venue-state { margin: 0; color: var(--muted); font-size: .78rem; }
.card-status { display: grid; justify-items: end; gap: .25rem; }
.expiry-countdown { color: var(--danger); font: 700 .72rem Inter, sans-serif; white-space: nowrap; }
.compact-meta { display: flex; flex-wrap: wrap; gap: .25rem .7rem; margin: .75rem 0; color: var(--muted); font-size: .78rem; }
.inline-player-trigger { padding: .15rem .3rem; color: var(--brand); border: 0; border-radius: 7px; background: transparent; font: inherit; font-weight: 800; cursor: pointer; transition: color .2s, background .2s, box-shadow .2s; }
.inline-player-trigger:hover, .inline-player-trigger:focus-visible, .inline-player-trigger:active { color: var(--brand-ink); background: #eaf5ff; box-shadow: 0 0 0 3px rgba(133,182,222,.18); outline: 0; }
.card-link { display: flex; align-items: center; justify-content: space-between; padding-top: .65rem; border-top: 1px solid var(--line); font: 700 .82rem Inter, sans-serif; }
.profile-community-section, .profile-clubs-section, .profile-groups-section, .history-section { margin-top: 5rem; }
.player-portal { min-height: calc(100vh - 74px); padding-block: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(145deg, #f5f9fd, #eef5fa); }
.player-portal-shell { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.player-sidebar { position: sticky; top: 94px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 35px rgba(23,50,79,.08); }
.player-sidebar-user { width: 100%; display: flex; gap: .8rem; padding: 1.2rem; align-items: center; color: inherit; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: linear-gradient(145deg, var(--brand-light), white); text-align: left; cursor: pointer; transition: background .2s, box-shadow .2s; }
.player-sidebar-user:hover, .player-sidebar-user:focus-visible { background: #eaf5ff; box-shadow: inset 0 0 0 3px rgba(133,182,222,.22); outline: 0; }
.player-sport-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin: .7rem .7rem 0; padding: .25rem; border-radius: 12px; background: var(--background); }
.player-sport-switch a { padding: .48rem .6rem; color: var(--muted); border-radius: 9px; font: 700 .75rem Inter, sans-serif; text-align: center; }
.player-sport-switch a.is-active { color: white; background: var(--brand); box-shadow: 0 5px 14px rgba(52,97,139,.2); }
.player-sidebar-avatar { width: 44px; height: 44px; display: grid; flex: 0 0 auto; overflow: hidden; place-items: center; color: white; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--sky)); font: 800 1rem Nunito, sans-serif; }
.player-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-sidebar-user strong, .player-sidebar-user span { display: block; }
.player-sidebar-user strong { color: var(--brand-ink); }
.player-sidebar-user span { margin-top: .1rem; color: var(--muted); font-size: .75rem; }
.player-sidebar-nav { display: grid; gap: .25rem; padding: .7rem; }
.player-sidebar-nav a { min-height: 44px; display: flex; gap: .7rem; padding: .65rem .75rem; align-items: center; justify-content: space-between; color: var(--text); border-radius: 11px; font-size: .88rem; font-weight: 700; }
.player-sidebar-nav a:hover { color: var(--brand); background: var(--brand-light); }
.player-sidebar-nav a.is-active { color: white; background: var(--brand); box-shadow: 0 7px 18px rgba(52,97,139,.2); }
.player-sidebar-nav i { color: var(--muted); font-style: normal; }
.player-sidebar-nav a.is-active i { color: white; }
.player-sidebar-nav b { min-width: 22px; height: 22px; display: grid; padding: 0 .35rem; place-items: center; color: white; border-radius: 999px; background: var(--danger); font-size: .67rem; }
.player-sidebar-nav b[hidden], .player-sidebar-nav i[hidden] { display: none; }
.player-mobile-nav { display: none; }
.player-sidebar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; padding: .8rem; border-top: 1px solid var(--line); background: var(--background); }
.player-sidebar-actions a { padding: .55rem .4rem; color: var(--brand); border: 1px solid var(--line); border-radius: 9px; background: white; font-size: .7rem; font-weight: 800; text-align: center; }
.player-sidebar-actions a:hover { color: white; border-color: var(--brand); background: var(--brand); }
.player-portal-main { min-width: 0; display: grid; gap: 1.2rem; }
.player-portal-heading { min-height: 0; display: block; padding: clamp(1.25rem, 3vw, 1.7rem); border: 1px solid rgba(215,225,234,.8); border-radius: 22px; background: radial-gradient(circle at 92% 10%, rgba(133,182,222,.24), transparent 28%), white; box-shadow: 0 10px 30px rgba(23,50,79,.06); }
.player-portal-heading .eyebrow { display: block; margin-bottom: .55rem; }
.player-portal-heading h1 { max-width: 720px; margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.12; }
.player-portal-heading p { max-width: 680px; margin: .45rem 0 0; color: var(--muted); }
.player-community-heading > div { min-width: 0; }
.player-community-heading .button { margin-top: 1rem; }
.push-control { display: grid; justify-items: start; }
.push-control [data-push-status] { max-width: 320px; margin-top: .4rem; color: var(--muted); font-size: .72rem; }
.push-control .button.is-active { color: #187246; border-color: #b8e2ca; background: #e7f7ee; }
.player-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.player-metrics a { min-width: 0; display: grid; gap: .2rem; padding: 1rem; color: var(--text); border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 7px 22px rgba(23,50,79,.05); }
.player-metrics a:hover { color: var(--text); border-color: var(--sky); transform: translateY(-2px); }
.player-metrics span, .player-metrics small { overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.player-metrics strong { color: var(--brand-ink); font: 800 1.7rem Nunito, sans-serif; }
.player-metrics small { color: var(--brand); font-weight: 700; }
.player-metrics .player-points-metric { position: relative; overflow: hidden; border-color: #c8e5d2; background: linear-gradient(145deg, #fff, #f1fbf5); }
.player-points-metric::after { content: ""; position: absolute; width: 70px; height: 70px; right: -28px; top: -28px; border-radius: 50%; background: rgba(82, 190, 123, .12); box-shadow: 0 0 0 14px rgba(82, 190, 123, .05); }
.player-points-value { display: flex; gap: .35rem; align-items: baseline; }
.player-points-value em { color: var(--muted); font: 700 .72rem Inter, sans-serif; }
.player-points-progress { position: relative; width: 100%; height: 5px; overflow: hidden; border-radius: 999px; background: #dcebe2; }
.player-points-progress::after { content: ""; position: absolute; inset: 0; width: var(--points-progress); border-radius: inherit; background: linear-gradient(90deg, var(--brand), #57c77e); }
.player-overview-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: 1rem; }
.player-panel { padding: clamp(1.15rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 8px 26px rgba(23,50,79,.05); }
.player-panel + .player-panel { margin-top: 0; }
.player-panel h2 { margin-bottom: .5rem; font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.player-panel-head { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.player-panel-head > a:not(.button) { flex: 0 0 auto; color: var(--brand); font-size: .78rem; font-weight: 800; }
.player-next-panel, .player-profile-panel { min-height: 260px; }
.portal-upcoming-list { display: grid; gap: .6rem; }
.portal-upcoming-list > a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .8rem; padding: .75rem; align-items: center; color: var(--text); border: 1px solid var(--line); border-radius: 14px; }
.portal-upcoming-list > a:hover { color: var(--text); border-color: var(--sky); background: var(--background); }
.portal-upcoming-list time { display: grid; place-items: center; padding: .35rem; color: var(--brand); border-radius: 11px; background: var(--brand-light); text-align: center; }
.portal-upcoming-list time strong { font-size: 1.1rem; line-height: 1; }
.portal-upcoming-list time span { font-size: .62rem; text-transform: uppercase; }
.portal-upcoming-list div strong, .portal-upcoming-list div span { display: block; }
.portal-upcoming-list div span { margin-top: .15rem; color: var(--muted); font-size: .75rem; }
.portal-upcoming-list > a > b { color: var(--success); font-size: .7rem; }
.profile-completeness { height: 9px; margin: 1.2rem 0; overflow: hidden; border-radius: 99px; background: #e5edf3; }
.profile-completeness i { width: var(--profile-progress); height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--sky)); }
.player-profile-panel p { color: var(--muted); font-size: .85rem; }
.tennis-profile-setup { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: 1.5rem; margin-bottom: 1.2rem; padding: clamp(1.2rem, 3vw, 1.7rem); align-items: center; border: 1px solid #c9dda7; border-radius: 22px; background: linear-gradient(135deg, #fbfdf7, #edf5df); box-shadow: 0 10px 30px rgba(53,91,40,.08); }
.tennis-profile-setup p { margin: 0; color: #54704a; }
.tennis-profile-requirements { display: grid; gap: .55rem; }
.tennis-profile-requirements > span { padding: .55rem .7rem; color: #6d725f; border-radius: 10px; background: rgba(255,255,255,.76); font-size: .82rem; font-weight: 800; }
.tennis-profile-requirements > span.is-complete { color: #287147; }
.portal-avatar-row { display: flex; flex-wrap: wrap; align-items: center; }
.portal-avatar-row > button { width: 38px; height: 38px; display: grid; margin-right: -7px; padding: 0; place-items: center; color: var(--brand); border: 3px solid white; border-radius: 50%; background: var(--brand-light); font-size: .75rem; font-weight: 800; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.portal-avatar-row > button:hover, .portal-avatar-row > button:focus-visible { z-index: 1; box-shadow: 0 0 0 4px rgba(133,182,222,.3); outline: 0; transform: translateY(-2px); }
.portal-avatar-row p { margin: 0 0 0 1rem; color: var(--muted); font-size: .78rem; }
.player-quick-actions { display: grid; gap: .5rem; margin-top: 1rem; }
.player-quick-actions a { display: flex; padding: .7rem .8rem; align-items: center; justify-content: space-between; color: var(--text); border: 1px solid var(--line); border-radius: 11px; font-size: .82rem; font-weight: 700; }
.player-quick-actions a:hover { color: var(--brand); border-color: var(--sky); background: var(--background); }
.portal-empty { padding: 1.2rem; border: 1px dashed var(--line); border-radius: 14px; background: var(--background); }
.portal-empty p { margin: 0 0 .8rem; color: var(--muted); }
.portal-empty a:not(.button) { color: var(--brand); font-weight: 700; }
.player-form-panel { max-width: 760px; }
.player-form-panel form { margin-top: 1.5rem; }
.profile-photo-field { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--background); }
.profile-photo-preview { width: 92px; height: 92px; display: grid; overflow: hidden; place-items: center; color: white; border: 4px solid white; border-radius: 24px; background: linear-gradient(135deg, var(--brand), var(--sky)); box-shadow: 0 8px 24px rgba(52,97,139,.2); font: 800 1.7rem Nunito, sans-serif; }
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-preview [hidden] { display: none; }
.profile-photo-copy strong { color: var(--brand-ink); }
.profile-photo-copy p { margin: .2rem 0 .75rem; color: var(--muted); font-size: .75rem; }
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.profile-photo-actions .button { width: auto; cursor: pointer; }
.avatar-remove { display: flex; grid-template-columns: auto 1fr; gap: .4rem; align-items: center; color: var(--danger); font-size: .75rem; cursor: pointer; }
.avatar-remove input { width: auto; }
.profile-photo-filename { display: block; margin-top: .45rem; color: var(--muted); font-size: .7rem; overflow-wrap: anywhere; }
.avatar-editor-dialog { width: min(92vw, 560px); max-height: 92vh; padding: clamp(1.1rem, 4vw, 2rem); overflow-y: auto; color: var(--text); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 28px 80px rgba(23,50,79,.3); }
.avatar-editor-dialog::backdrop { background: rgba(23,50,79,.62); backdrop-filter: blur(5px); }
.avatar-editor-heading h2 { margin: .25rem 2.5rem .25rem 0; }
.avatar-editor-heading p { margin: 0 0 1rem; color: var(--muted); }
.avatar-editor-stage { position: relative; width: min(100%, 390px); aspect-ratio: 1; margin-inline: auto; overflow: hidden; border-radius: 24px; background: #dfe8ef; box-shadow: inset 0 0 0 1px rgba(23,50,79,.15); touch-action: none; user-select: none; }
.avatar-editor-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; outline: 0; }
.avatar-editor-stage canvas:active { cursor: grabbing; }
.avatar-editor-stage canvas:focus-visible { box-shadow: inset 0 0 0 4px var(--sky); }
.avatar-editor-frame { position: absolute; inset: 0; pointer-events: none; border: clamp(14px, 5vw, 26px) solid rgba(10,27,43,.38); border-radius: 24px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.avatar-editor-controls { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px auto; gap: .6rem; align-items: end; margin: 1rem 0 1.25rem; }
.avatar-editor-controls > button { min-height: 42px; padding: .45rem .7rem; color: var(--brand); border: 1px solid var(--line); border-radius: 11px; background: var(--background); font-size: 1.25rem; font-weight: 800; cursor: pointer; }
.avatar-editor-controls > button:hover { border-color: var(--sky); background: var(--brand-light); }
.avatar-editor-controls label { min-width: 0; display: grid; gap: .25rem; color: var(--muted); font-size: .72rem; font-weight: 700; }
.avatar-editor-controls input[type="range"] { width: 100%; min-height: 42px; margin: 0; padding: 0; cursor: pointer; }
.avatar-editor-controls .avatar-editor-reset { font-size: .75rem; }
.profile-visibility { padding: .35rem .6rem; color: var(--success); border-radius: 999px; background: #eaf8f0; font-size: .68rem; font-weight: 700; }
.form-actions { display: flex; justify-content: flex-end; padding-top: .5rem; }
.profile-friends-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.profile-friend-card { background: white; box-shadow: 0 7px 22px rgba(23,50,79,.06); }
.profile-club-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.profile-club-card { display: flex; padding: 1rem; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-top: 4px solid var(--club-accent); border-radius: 17px; background: white; box-shadow: 0 7px 22px rgba(23,50,79,.06); }
.profile-club-card > a:first-child { min-width: 0; display: flex; align-items: center; gap: .85rem; color: var(--text); }
.profile-club-card strong, .profile-club-card span { display: block; }
.profile-club-card span { color: var(--muted); font-size: .78rem; }
.history-heading { text-align: left; }
.profile-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.profile-group-card { padding: 1.2rem; color: var(--text); border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 7px 22px rgba(23,50,79,.06); }
.profile-group-card:hover { color: var(--text); border-color: var(--sky); transform: translateY(-1px); }
.profile-group-card h3 { margin: 1rem 0 .1rem; }
.profile-group-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 1rem 0; color: var(--muted); font-size: .82rem; }
.profile-group-footer { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .82rem; }
.profile-group-footer span { color: var(--brand); font-weight: 700; }
.history-list { display: grid; gap: .65rem; }
.history-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; color: var(--text); border: 1px solid var(--line); border-radius: 15px; background: white; }
.history-item:hover { color: var(--text); border-color: var(--sky); }
.history-item > div:first-child { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; align-items: center; }
.history-item > div:first-child > span:last-child { grid-column: 2; color: var(--muted); font-size: .82rem; }
.history-result { flex: 0 0 auto; text-align: right; }
.history-result strong, .history-result span { display: block; }
.history-result span { color: var(--muted); font-size: .78rem; }
.compact-empty { padding: 1.4rem; }
.compact-empty p { margin: 0; }
.closed-notice { display: inline-flex; padding: .8rem 1rem; color: var(--muted); border-radius: 12px; background: #eef1f4; }
.success-notice, .confirmation-done { display: inline-flex; padding: .8rem 1rem; color: #1c7d48; border-radius: 12px; background: #eaf8f0; }
.points-success-notice { gap: .2rem; align-items: flex-start; flex-direction: column; }
.points-success-notice a { color: #17673d; font-size: .75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.group-result-status { color: var(--brand-ink); font: 700 .8rem Inter, sans-serif; text-align: right; }
.community-page { padding-top: 2rem; }
.community-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 1.2rem; align-items: start; }
.community-main { display: grid; gap: 1.2rem; }
.community-card, .match-chat-card { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 32px rgba(23,50,79,.07); }
.community-card .section-heading { margin-bottom: 1.3rem; }
.community-search { display: grid; grid-template-columns: 1fr auto; gap: .7rem; margin-bottom: 1.2rem; }
.field-help { display: block; margin-top: .4rem; color: var(--muted); font-size: .72rem; font-weight: 400; }
.friend-suggestions-head, .community-results-label { display: flex; gap: .75rem; margin: 1.1rem 0 .75rem; align-items: center; justify-content: space-between; }
.friend-suggestions-head div, .friend-suggestions-head strong, .friend-suggestions-head span { display: block; }
.friend-suggestions-head div > span { margin-top: .15rem; color: var(--muted); font-size: .7rem; }
.friend-suggestions-head > span, .community-results-label > span { padding: .28rem .55rem; color: var(--brand); border-radius: 999px; background: var(--brand-light); font-size: .66rem; font-weight: 800; white-space: nowrap; }
.friend-suggestions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-bottom: 1.2rem; }
.friend-suggestion-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; padding: .75rem; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #fff, #f4f9fd); }
.friend-suggestion-card form { margin: 0; }
.friend-suggestion-person { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; padding: 0; align-items: center; color: inherit; border: 0; background: transparent; text-align: left; cursor: pointer; }
.friend-suggestion-person:focus-visible { outline: 3px solid rgba(133,182,222,.45); outline-offset: 3px; border-radius: 10px; }
.suggestion-avatar { width: 48px; height: 48px; display: grid; overflow: hidden; place-items: center; color: white; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--sky)); font-weight: 800; }
.suggestion-avatar img { width: 100%; height: 100%; object-fit: cover; }
.friend-suggestion-person strong, .friend-suggestion-person small, .friend-suggestion-person em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.friend-suggestion-person small { margin-top: .12rem; color: var(--muted); font-size: .68rem; }
.friend-suggestion-person em { margin-top: .3rem; color: var(--success); font-size: .64rem; font-style: normal; font-weight: 700; }
.people-list { display: grid; gap: .65rem; }
.person-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .85rem; border: 1px solid var(--line); border-radius: 15px; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.person-row:has(.player-identity-trigger:hover), .person-row:has(.player-identity-trigger:focus-visible), .person-row:has(.player-identity-trigger:active) { border-color: var(--sky); background: #f1f8ff; box-shadow: 0 0 0 4px rgba(133,182,222,.16), 0 8px 24px rgba(52,97,139,.08); transform: translateY(-1px); }
.person-row strong, .person-row span { display: block; }
.person-row span { color: var(--muted); font-size: .82rem; }
.player-identity-trigger { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: .2rem; align-items: center; color: inherit; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.player-identity-trigger:focus-visible { outline: 3px solid rgba(133,182,222,.5); outline-offset: 3px; }
.player-identity-copy { min-width: 0; }
.player-sidebar-user.player-identity-trigger { width: 100%; display: flex; gap: .8rem; padding: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; background: linear-gradient(145deg, var(--brand-light), white); }
.player-sidebar-user.player-identity-trigger:hover, .player-sidebar-user.player-identity-trigger:focus-visible, .player-sidebar-user.player-identity-trigger:active { background: #eaf5ff; box-shadow: inset 0 0 0 3px rgba(133,182,222,.22); outline: 0; }
.player-sidebar-avatar > span { margin: 0; color: white; font-size: 1rem; }
.player-sidebar-user .player-sidebar-avatar { margin-top: 0; color: white; font-size: 1rem; }
.person-row .avatar { display: grid; place-items: center; color: var(--brand); font-size: 1rem; }
.person-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem; }
.person-action form { margin: 0; }
.person-action .friend-state { color: var(--success); font-weight: 700; }
.player-list-avatar { overflow: hidden; }
.player-list-avatar img { width: 100%; height: 100%; object-fit: cover; }
.friends-directory-head { display: flex; gap: 1rem; margin-bottom: 1.3rem; align-items: flex-start; justify-content: space-between; }
.friends-directory-head h2 { margin: .15rem 0 .25rem; }
.friends-directory-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.friends-count { min-width: 42px; height: 42px; display: grid; place-items: center; color: var(--brand); border-radius: 14px; background: var(--brand-light); font: 800 1rem Nunito, sans-serif; }
.friends-directory-grid { display: grid; gap: .85rem; }
.friend-detail-card { padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fff, #f8fbfe); transition: border-color .2s, box-shadow .2s, transform .2s; }
.friend-detail-card:hover { border-color: var(--sky); box-shadow: 0 10px 28px rgba(52,97,139,.09); transform: translateY(-1px); }
.friend-detail-main { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 0; align-items: center; color: inherit; border: 0; background: transparent; text-align: left; cursor: pointer; }
.friend-detail-main:focus-visible { outline: 3px solid rgba(133,182,222,.45); outline-offset: 4px; border-radius: 12px; }
.friend-detail-avatar { width: 58px; height: 58px; display: grid; overflow: hidden; place-items: center; color: white; border-radius: 17px; background: linear-gradient(135deg, var(--brand), var(--sky)); font: 800 1.15rem Nunito, sans-serif; }
.friend-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.friend-detail-copy, .friend-detail-title, .friend-detail-copy > span { display: block; }
.friend-detail-title { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.friend-detail-title small { padding: .2rem .45rem; color: var(--success); border-radius: 999px; background: #eaf8f0; font-size: .65rem; font-weight: 800; }
.friend-location { margin-top: .15rem; color: var(--muted); font-size: .78rem; }
.friend-bio { display: -webkit-box; overflow: hidden; margin-top: .45rem; color: var(--text); font-size: .8rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.friend-sports { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.friend-sports span { padding: .3rem .55rem; color: var(--brand-ink); border-radius: 999px; background: var(--brand-light); font-size: .68rem; font-weight: 700; }
.friend-detail-footer { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .8rem; padding-top: .75rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .72rem; }
.friend-detail-footer strong { color: var(--brand-ink); }
.friend-detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .8rem; align-items: center; justify-content: space-between; }
.friend-detail-actions form { margin: 0; }
.player-card-dialog { width: min(92vw, 440px); padding: 2.2rem; color: var(--text); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 28px 80px rgba(23,50,79,.28); text-align: center; }
.player-card-dialog::backdrop { background: rgba(23,50,79,.55); backdrop-filter: blur(5px); }
.player-card-dialog .dialog-close { position: absolute; }
.player-card-avatar { width: 104px; height: 104px; display: grid; margin: 0 auto 1.2rem; overflow: hidden; place-items: center; color: white; border: 5px solid white; border-radius: 30px; background: linear-gradient(135deg, var(--brand), var(--sky)); box-shadow: 0 12px 32px rgba(52,97,139,.24); font: 800 2rem Nunito, sans-serif; }
.player-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-card-avatar [hidden] { display: none; }
.player-card-dialog h2 { margin: .1rem 0 .35rem; font-size: clamp(1.7rem, 5vw, 2.2rem); }
.player-card-sport { display: inline-flex; padding: .35rem .7rem; color: var(--brand); border-radius: 999px; background: var(--brand-light); font-size: .72rem; font-weight: 800; }
.player-card-status { min-height: 1.2rem; margin: .65rem 0 0; color: var(--muted); font-size: .78rem; }
.player-card-setup { margin: 1rem 0 0; padding: 1rem; color: #355b28; border: 1px solid #c9dda7; border-radius: 15px; background: #f3f8e9; text-align: left; }
.player-card-setup[hidden] { display: none; }
.player-card-setup strong { display: block; color: #203b2d; }
.player-card-setup p { margin: .25rem 0 .75rem; font-size: .82rem; }
.player-card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1.5rem 0 1rem; }
.player-card-facts div { padding: .85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--background); }
.player-card-facts div[hidden] { display: none; }
.player-card-facts dt { color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.player-card-facts dd { margin: .25rem 0 0; color: var(--brand-ink); font-weight: 800; }
.player-card-bio { padding: 1rem; border-radius: 14px; background: #f8fbfe; text-align: left; }
.player-card-bio > span { color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.player-card-bio p { margin: .45rem 0 0; color: var(--muted); font-size: .85rem; white-space: pre-line; }
.install-promo { position: fixed; z-index: 900; right: 1rem; bottom: 1rem; width: min(540px, calc(100vw - 2rem)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; padding: 1rem 2.8rem 1rem 1rem; align-items: center; color: var(--text); border: 2px solid #7da95b; border-radius: 22px; background: linear-gradient(135deg, #fff 20%, #f2f8e8); box-shadow: 0 20px 55px rgba(23,50,79,.28); animation: installPromoIn .35s ease both, installPromoGlow 2.6s ease-in-out 1s 2; }
.install-promo[hidden] { display: none; }
.install-promo img { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 8px 20px rgba(52,97,139,.2); }
.install-promo-copy { min-width: 0; display: grid; gap: .1rem; }
.install-promo-copy span { color: #557c38; font-size: .67rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.install-promo-copy strong { color: var(--brand-ink); font-size: .94rem; }
.install-promo-copy small { color: var(--muted); font-size: .74rem; line-height: 1.35; }
.install-promo-button { white-space: nowrap; border-color: #66894b; background: #66894b; }
.install-promo-button:hover { background: #4f7137; }
.install-promo-close { position: absolute; top: .35rem; right: .45rem; width: 30px; height: 30px; padding: 0; color: var(--muted); border: 0; border-radius: 50%; background: rgba(255,255,255,.8); font-size: 1.15rem; cursor: pointer; }
@keyframes installPromoIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes installPromoGlow { 50% { box-shadow: 0 22px 65px rgba(102,137,75,.42); transform: translateY(-2px); } }
.install-guide-dialog { width: min(92vw, 480px); padding: 2rem; color: var(--text); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 28px 80px rgba(23,50,79,.28); }
.install-guide-dialog::backdrop { background: rgba(23,50,79,.55); backdrop-filter: blur(5px); }
.install-guide-dialog h2 { margin: .55rem 2.5rem .5rem 0; }
.install-guide-dialog p { color: var(--muted); }
.install-guide-dialog ol { display: grid; gap: .75rem; margin: 1.2rem 0 0; padding-left: 1.4rem; }
.notification-modal { width: min(92vw, 540px); padding: clamp(1.4rem, 5vw, 2.2rem); color: var(--text); border: 2px solid var(--brand); border-radius: 28px; background: white; box-shadow: 0 32px 90px rgba(23,50,79,.34); }
.notification-modal::backdrop { background: rgba(12,31,49,.68); backdrop-filter: blur(6px); }
.notification-modal-icon { width: 72px; height: 72px; margin-bottom: 1rem; overflow: hidden; border-radius: 20px; box-shadow: 0 9px 24px rgba(52,97,139,.2); }
.notification-modal-icon img { width: 100%; height: 100%; display: block; }
.notification-modal h2 { margin: .25rem 2.5rem .4rem 0; color: var(--brand-ink); font-size: clamp(1.45rem, 5vw, 2rem); }
.notification-modal > p { margin: 0 0 1.35rem; color: var(--muted); font-size: 1rem; }
.notification-modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.notification-modal-actions form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.notification-modal-actions form[hidden] { display: none; }
.community-empty { margin: 1rem 0 0; }
.notifications-card { position: sticky; top: 94px; }
.notifications-head, .match-chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.notification-list { display: grid; gap: .55rem; }
.notification-item { display: grid; gap: .15rem; padding: .85rem; color: var(--text); border: 1px solid var(--line); border-radius: 13px; background: white; }
.notification-item:hover { color: var(--text); border-color: var(--sky); }
.notification-item.is-unread { border-left: 4px solid var(--brand); background: var(--brand-light); }
.notification-item.is-new-focus { position: relative; z-index: 1; border-color: var(--danger); outline: 4px solid rgba(180,35,24,.14); background: #fff4f2; animation: notificationFocusPulse 1s ease-in-out 3; }
.match-request-list article.is-new-focus { position: relative; z-index: 1; outline: 4px solid rgba(180,35,24,.14); animation: notificationFocusPulse 1s ease-in-out 3; }
@keyframes notificationFocusPulse { 50% { transform: scale(1.025); box-shadow: 0 10px 28px rgba(180,35,24,.2); } }
.notification-item strong, .notification-item span, .notification-item time { display: block; }
.notification-item span { color: var(--muted); font-size: .8rem; }
.notification-item time { color: var(--muted); font-size: .7rem; }
.match-chat-section { padding-top: 0; background: var(--background); }
.narrow-wide { max-width: 920px; }
.match-chat-card { box-shadow: var(--shadow); }
.beta-tag { display: inline-flex; margin-left: .35rem; padding: .2rem .45rem; vertical-align: middle; color: #9a6100; border: 1px solid #f2c46d; border-radius: 999px; font: 700 .62rem Inter, sans-serif; }
.live-indicator { display: inline-flex; gap: .4rem; align-items: center; color: var(--success); font: 700 .78rem Inter, sans-serif; }
.live-indicator i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(36,155,90,.12); }
.chat-messages { max-height: 430px; display: grid; gap: .8rem; margin: 1.2rem 0; padding: .3rem; overflow-y: auto; }
.chat-message { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; }
.chat-message > div:last-child { max-width: 78%; padding: .75rem .9rem; border-radius: 4px 15px 15px; background: var(--background); }
.chat-message.is-own { grid-template-columns: minmax(0, 1fr) auto; }
.chat-message.is-own .avatar { grid-column: 2; }
.chat-message.is-own > div:last-child { grid-row: 1; justify-self: end; color: white; border-radius: 15px 4px 15px 15px; background: var(--brand); }
.chat-message.is-own .chat-message-meta strong, .chat-message.is-own .chat-message-meta time { color: white; }
.chat-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chat-message-meta strong { color: var(--brand-ink); font-size: .8rem; }
.player-avatar-trigger { padding: 0; border: 0; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.player-avatar-trigger:hover, .player-avatar-trigger:focus-visible { box-shadow: 0 0 0 5px rgba(133,182,222,.25); outline: 0; transform: scale(1.04); }
.chat-player-name { padding: .1rem .25rem; color: var(--brand-ink); border: 0; border-radius: 6px; background: transparent; font: 800 .8rem Inter, sans-serif; cursor: pointer; }
.chat-player-name:hover, .chat-player-name:focus-visible { color: var(--brand); background: #eaf5ff; outline: 0; }
.chat-message.is-own .chat-player-name { color: white; }
.chat-message.is-own .chat-player-name:hover, .chat-message.is-own .chat-player-name:focus-visible { color: var(--brand-ink); background: #dcefff; }
.chat-message-meta time { color: var(--muted); font-size: .7rem; }
.chat-message p { margin: .2rem 0 0; overflow-wrap: anywhere; font-size: .9rem; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
.chat-status { min-height: 1.4rem; margin: .4rem 0 0; color: var(--danger); font-size: .78rem; }
.chat-retention-note { margin: .5rem 0 0; color: var(--muted); font-size: .7rem; }
.club-directory-hero { padding-block: clamp(3rem, 7vw, 6rem); color: white; background: radial-gradient(circle at 80% 20%, rgba(133,182,222,.35), transparent 25%), var(--brand-ink); }
.club-directory-heading, .club-admin-heading, .tournament-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.club-directory-heading h1, .club-admin-heading h1, .tournament-heading h1 { color: white; }
.club-directory-heading p, .club-admin-heading p, .tournament-heading p { max-width: 650px; margin: 0; color: #c3d3e1; }
.club-directory-section { padding-top: 2rem; background: var(--background); }
.club-search-bar { display: grid; grid-template-columns: .8fr 1.5fr 1fr auto; gap: .8rem; margin-top: -4.3rem; margin-bottom: 1.3rem; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.club-search-bar label { align-content: end; }
.missing-venue-report { margin: -0.45rem 0 1.3rem; }
.missing-venue-report summary { width: fit-content; color: var(--brand); font-size: .84rem; font-weight: 800; cursor: pointer; }
.missing-venue-report summary:hover { text-decoration: underline; }
.missing-venue-panel { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); gap: 1rem; margin-top: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--brand-light); }
.missing-venue-panel strong { color: var(--brand-ink); }
.missing-venue-panel p { margin: .25rem 0 0; color: var(--muted); font-size: .84rem; }
.missing-venue-panel form { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: end; }
.missing-venue-panel label span { display: block; margin-bottom: .35rem; font-size: .78rem; font-weight: 800; }
.missing-venue-report-inline { margin: -.45rem 0 0; }
.missing-venue-report-inline .missing-venue-panel { grid-template-columns: 1fr; }
.missing-venue-report-inline .missing-venue-panel > .button { justify-self: start; }
.venue-suggestion-linked { display: grid; gap: .25rem; margin-top: -.35rem; padding: .8rem .9rem; border: 1px solid #bfe4cf; border-radius: 14px; background: #f0fbf5; color: #1f6844; font-size: .84rem; }
.owned-clubs-bar { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1.2rem; padding: .9rem 1rem; align-items: center; border-radius: 14px; background: var(--brand-light); font-size: .85rem; }
.club-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.club-directory-card { position: relative; overflow: hidden; padding: 1.25rem; color: var(--text); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 8px 25px rgba(23,50,79,.06); transition: transform .2s, border-color .2s; }
.club-directory-card:hover { color: var(--text); border-color: var(--club-accent); transform: translateY(-2px); }
.club-card-accent { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--club-accent); }
.club-card-main { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.club-logo, .club-profile-logo { display: grid; place-items: center; overflow: hidden; color: var(--club-accent, var(--brand)); border: 1px solid color-mix(in srgb, var(--club-accent, var(--brand)) 22%, white); border-radius: 18px; background: color-mix(in srgb, var(--club-accent, var(--brand)) 10%, white); font: 800 1rem Nunito, sans-serif; }
.club-logo { width: 62px; height: 62px; }
.club-logo img, .club-profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.club-title-line { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.club-title-line h2 { margin: 0; font-size: 1.15rem; }
.club-card-main p { margin: .25rem 0 0; color: var(--muted); font-size: .8rem; }
.verified-badge { display: inline-flex; padding: .25rem .5rem; color: #187246; border-radius: 999px; background: #e7f7ee; font: 700 .66rem Inter, sans-serif; }
.club-card-stats { display: flex; gap: 1rem; margin-top: 1rem; padding-top: .85rem; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.club-card-stats strong { color: var(--brand-ink); }
.club-card-arrow { margin-left: auto; color: var(--brand); font-weight: 700; }
.club-onboarding-section { background: radial-gradient(circle at 15% 10%, rgba(133,182,222,.2), transparent 26%), var(--background); }
.club-onboarding-points { display: grid; gap: .6rem; margin-top: 1.5rem; color: var(--brand-ink); font-weight: 600; }
.club-profile-hero { position: relative; padding-top: clamp(9rem, 22vw, 15rem); background: var(--brand-ink); }
.club-cover { position: absolute; inset: 0 0 5rem; background: linear-gradient(rgba(23,50,79,.18), rgba(23,50,79,.8)), var(--club-cover, linear-gradient(135deg, var(--club-accent), var(--brand-ink))); background-position: center; background-size: cover; }
.club-profile-summary { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; padding: 1.3rem; align-items: center; border: 1px solid var(--line); border-radius: 24px 24px 0 0; background: white; box-shadow: var(--shadow); }
.club-profile-logo { width: 92px; height: 92px; font-size: 1.35rem; }
.club-profile-copy h1 { margin: .15rem 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.club-profile-copy p { margin: 0; color: var(--muted); }
.club-profile-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.club-profile-actions form { margin: 0; }
.club-profile-content, .club-chat-section { background: var(--background); }
.club-profile-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: 1rem; align-items: start; }
.club-profile-main { display: grid; gap: 1rem; }
.club-profile-aside { position: sticky; top: 94px; }
.club-content-card, .admin-panel, .tournament-panel { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 8px 28px rgba(23,50,79,.06); }
.club-content-card > p:last-child { margin-bottom: 0; }
.content-card-head, .admin-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.court-slot-list, .public-tournament-list, .admin-member-list, .admin-court-list, .admin-tournament-list { display: grid; gap: .65rem; }
.court-slot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem; border: 1px solid var(--line); border-radius: 14px; }
.court-slot > div { display: flex; gap: .7rem; align-items: center; }
.court-slot strong, .court-slot span { display: block; }
.court-slot span { color: var(--muted); font-size: .78rem; }
.public-tournament-list a, .admin-tournament-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem; color: var(--text); border: 1px solid var(--line); border-radius: 14px; }
.public-tournament-list strong, .public-tournament-list span, .admin-tournament-list strong, .admin-tournament-list span { display: block; }
.public-tournament-list div span, .admin-tournament-list div span { color: var(--muted); font-size: .78rem; }
.club-community-card { border-top: 5px solid var(--club-accent); }
.club-chat-section { padding-top: 0; }
.club-admin-hero, .tournament-hero { padding-block: 3rem; background: linear-gradient(135deg, var(--club-accent), var(--brand-ink)); }
.club-admin-section, .tournament-section { padding-top: 2rem; background: var(--background); }
.club-admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: -3.8rem; margin-bottom: 1.2rem; }
.club-admin-metrics a { display: grid; gap: .3rem; padding: 1rem; color: var(--text); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.club-admin-metrics span { color: var(--muted); font-size: .75rem; }
.club-admin-metrics strong { color: var(--brand-ink); }
.club-admin-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 1rem; align-items: start; }
.club-admin-nav { position: sticky; top: 94px; display: grid; padding: .6rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.club-admin-nav a { padding: .7rem .8rem; border-radius: 10px; font-weight: 700; }
.club-admin-nav a:hover { background: var(--brand-light); }
.club-admin-content { display: grid; gap: 1rem; }
.admin-status { display: inline-flex; padding: .35rem .65rem; color: var(--brand); border-radius: 999px; background: var(--brand-light); font: 700 .72rem Inter, sans-serif; }
.admin-member, .admin-court-list article { display: flex; align-items: center; gap: .85rem; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; }
.admin-member { transition: border-color .2s, background .2s, box-shadow .2s; }
.admin-member:has(.admin-player-trigger:hover), .admin-member:has(.admin-player-trigger:focus-visible), .admin-member:has(.admin-player-trigger:active) { border-color: var(--sky); background: #f1f8ff; box-shadow: 0 0 0 4px rgba(133,182,222,.16); }
.admin-member > div:nth-child(2), .admin-court-list article > div { min-width: 0; flex: 1; }
.admin-member strong, .admin-member span, .admin-court-list strong, .admin-court-list span { display: block; }
.admin-member span, .admin-court-list span { color: var(--muted); font-size: .78rem; }
.admin-member.is-blocked { opacity: .58; background: #f1f3f5; }
.member-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.danger-link { color: var(--danger); }
.admin-court-list { margin-top: 1.2rem; }
.tournament-create-section { background: var(--background); }
.tournament-hero .back-link { color: #d8e5f0; }
.tournament-hero .eyebrow { color: #d8e5f0; }
.tournament-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 1rem; align-items: start; }
.tournament-main { display: grid; min-width: 0; gap: 1rem; }
.tournament-main .tournament-panel { min-width: 0; }
.tournament-main, .tournament-aside { display: grid; gap: 1rem; }
.tournament-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0; }
.tournament-fact-grid > div { display: grid; gap: .2rem; padding: .85rem; border-radius: 12px; background: #f5f8fa; }
.tournament-fact-grid small, .set-score-fields small { color: var(--muted); }
.tournament-rule-fields { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.tournament-rule-fields legend { padding: 0 .35rem; font-weight: 800; }
.publish-choice { display: flex; align-items: center; gap: .6rem; align-self: end; min-height: 48px; }
.publish-choice input { width: auto; }
.tournament-discovery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; }
.tournament-discovery-card { display: grid; gap: .8rem; padding: 1.35rem; border: 1px solid var(--line); border-top: 4px solid var(--club-accent); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.tournament-discovery-card h2, .tournament-discovery-card p { margin: 0; }
.tournament-card-facts { display: flex; flex-wrap: wrap; gap: .4rem; }
.tournament-card-facts span { padding: .3rem .55rem; border-radius: 999px; background: #edf4f7; font-size: .82rem; }
.public-participant-list { display: grid; gap: .45rem; padding-left: 1.4rem; }
.waitlist-list { color: var(--muted); }
.registration-confirmation { margin: 1rem 0; padding: 1rem; border-radius: 12px; background: #ecf8f2; }
.set-score-fields { display: flex; flex-wrap: wrap; gap: .45rem; }
.set-score-fields label { display: grid; gap: .2rem; }
.set-score-fields label > span { display: flex; align-items: center; gap: .2rem; }
.set-score-fields input { width: 3.25rem; }
.match-set-summary { display: flex; gap: .4rem; margin: .5rem 0; font-weight: 800; }
.tournament-aside { position: sticky; top: 94px; }
.live-tournament-badge { display: inline-flex; padding: .7rem 1rem; align-items: center; color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 800; }
.completed-tournament-badge { display: inline-flex; padding: .7rem 1rem; align-items: center; color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 800; }
.participant-add-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .7rem; align-items: end; }
.team-add-form { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: .5rem; }
.team-add-form .team-name-field, .team-add-form > .button { grid-column: 1 / -1; }
.team-player-entry { display: grid; gap: .65rem; min-width: 0; margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.team-player-entry legend { padding: 0 .35rem; color: var(--brand); font-size: .8rem; font-weight: 800; }
.participant-chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.participant-chip-list > span { display: inline-flex; gap: .4rem; padding: .4rem .55rem .4rem .7rem; align-items: center; border-radius: 999px; background: var(--brand-light); font-size: .8rem; font-weight: 700; }
.participant-chip-list form { display: inline; }
.participant-chip-list button { width: 22px; height: 22px; padding: 0; color: var(--muted); border: 0; border-radius: 50%; background: white; cursor: pointer; }
.participant-chip-list .participant-player-trigger { width: auto; height: auto; padding: .15rem .3rem; color: var(--brand); border-radius: 6px; background: transparent; font: inherit; }
.participant-chip-list .participant-player-trigger:hover, .participant-chip-list .participant-player-trigger:focus-visible { color: var(--brand-ink); background: #dcefff; outline: 0; }
.tournament-format-hint { margin: .7rem 0 0; font-size: .8rem; }
.knockout-bracket-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin: .7rem 0 0; padding: .25rem; overscroll-behavior-inline: contain; }
.knockout-bracket { position: relative; display: flex; width: max-content; min-width: 100%; gap: 36px; isolation: isolate; }
.bracket-connectors { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bracket-connectors path { fill: none; stroke: #9bb4ca; stroke-width: 2; }
.bracket-column { position: relative; z-index: 1; display: grid; width: 210px; flex: 0 0 210px; grid-template-rows: auto 1fr; }
.bracket-column h3 { margin: 0 0 .65rem; color: var(--brand); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.bracket-column-matches { display: flex; height: max(420px, calc(var(--bracket-first-count) * 138px)); flex-direction: column; justify-content: space-around; gap: 1rem; }
.bracket-match { position: relative; padding: .75rem; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 8px 20px rgba(35,74,108,.07); }
.bracket-match.is-completed { background: #f8fcfa; }
.bracket-team { display: flex; min-height: 35px; padding: .45rem 2rem .45rem .55rem; align-items: center; justify-content: space-between; gap: .5rem; border-bottom: 1px solid var(--line); }
.bracket-team strong, .bracket-champion strong { min-width: 0; overflow-wrap: anywhere; }
.bracket-team:nth-of-type(2) { border-bottom: 0; }
.bracket-team.is-open { color: var(--muted); font-size: .78rem; font-style: italic; }
.bracket-score-form { flex-wrap: wrap; }
.bracket-score-form input { width: 55px; }
.bracket-score-form .button { margin-left: auto; }
.bracket-champion-column { width: 180px; flex-basis: 180px; }
.bracket-champion { display: flex; min-height: 74px; padding: 1rem; align-items: center; justify-content: center; flex-direction: column; gap: .35rem; text-align: center; border: 2px dashed #9bb4ca; border-radius: 16px; background: #f7fbff; }
.bracket-champion > span { font-size: 1.45rem; }
.bracket-champion.has-winner { color: white; border-style: solid; border-color: #28a779; background: linear-gradient(135deg, #28a779, #187a5a); box-shadow: 0 12px 24px rgba(40,167,121,.22); }
.tournament-save-status { min-height: 1.2em; margin: .3rem 0 0; color: var(--success); font-size: .78rem; font-weight: 700; }
.tournament-save-status.is-error { color: var(--danger); }
.tournament-rounds { display: grid; gap: 1rem; }
.placement-action { margin: .8rem 0 1.2rem; }
.tournament-round { display: grid; gap: .55rem; }
.tournament-round h3 { margin: .8rem 0 .15rem; font-size: 1rem; }
.tournament-match { position: relative; padding: 1rem; border: 1px solid var(--line); border-radius: 15px; }
.tournament-match.is-completed { background: #fbfdfc; }
.court-label { position: absolute; top: .75rem; right: .85rem; color: var(--muted); font-size: .7rem; }
.match-side { display: flex; min-height: 34px; padding-right: 5rem; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #edf1f4; }
.match-side:last-of-type { border-bottom: 0; }
.match-side span { font-size: 1.1rem; font-weight: 800; }
.score-form { display: flex; gap: .4rem; margin-top: .7rem; align-items: center; }
.score-form input { width: 70px; padding: .5rem; text-align: center; }
.standings-table { display: grid; font-size: .78rem; }
.standings-table > div { display: grid; grid-template-columns: 28px minmax(0, 1fr) 32px 28px 42px; gap: .35rem; padding: .55rem 0; align-items: center; border-bottom: 1px solid var(--line); }
.standings-head { color: var(--muted); font-weight: 700; }

@media (max-width: 800px) {
    .venue-picker.is-mobile-open { scroll-margin-top: 88px; }
    .venue-picker.is-mobile-open .venue-picker-panel { max-height: var(--venue-panel-mobile-height, min(320px, calc(100dvh - 190px))); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .install-promo { grid-template-columns: auto minmax(0, 1fr); }
    .install-promo-button { width: 100%; grid-column: 1 / -1; }
    .landing-guest-nav-wrap .brand span { display: none; }
    .landing-guest-actions { gap: .55rem; }
    .landing-guest-actions .button { min-height: 40px; padding: .5rem .85rem; }
    .sport-switcher { margin-left: .55rem; }
    .sport-switcher-trigger { min-height: 38px; padding: .3rem .45rem; }
    .tennis-finder-grid { grid-template-columns: 1fr; }
    .host-coordination-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-flex; }
    .main-nav { position: absolute; top: calc(100% + 1px); right: 1rem; left: 1rem; display: none; padding: 1rem; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav .button { width: 100%; }
    .hero-grid, .content-grid, .lobby-layout, .padel-grid, .community-layout, .club-promo-grid, .tennis-profile-setup { grid-template-columns: 1fr; }
    .notifications-card { position: static; }
    .club-search-bar { grid-template-columns: 1fr 1fr; }
    .missing-venue-panel { grid-template-columns: 1fr; }
    .club-directory-grid { grid-template-columns: 1fr; }
    .club-profile-summary { grid-template-columns: auto 1fr; }
    .club-profile-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .club-profile-grid, .tournament-layout, .tournament-fact-grid { grid-template-columns: 1fr; }
    .club-profile-aside, .tournament-aside { position: static; }
    .tournament-layout, .tournament-main, .tournament-panel { min-width: 0; max-width: 100%; }
    .knockout-bracket-scroll { overflow: visible; margin-top: .8rem; padding: 0; }
    .knockout-bracket { display: grid; width: 100%; min-width: 0; gap: 1.25rem; }
    .bracket-connectors { display: none; }
    .bracket-column, .bracket-champion-column { display: grid; width: 100%; min-width: 0; flex-basis: auto; }
    .bracket-column h3 { margin-bottom: .55rem; }
    .bracket-column-matches { height: auto; min-height: 0; justify-content: initial; gap: .75rem; }
    .bracket-match { width: 100%; }
    .bracket-champion { min-height: 82px; }
    .club-admin-metrics { grid-template-columns: repeat(2, 1fr); }
    .club-admin-layout { grid-template-columns: 1fr; }
    .club-admin-nav { position: static; display: flex; overflow-x: auto; }
    .participant-add-form { grid-template-columns: 1fr 1fr; }
    .participant-add-form .button { grid-column: 1 / -1; }
    .team-add-form { grid-template-columns: 1fr; }
    .team-add-form .team-name-field, .team-add-form > .button { grid-column: auto; }
    .footer-inner { grid-template-columns: 1fr; }
    .player-portal-shell { grid-template-columns: 1fr; }
    .player-sidebar { position: static; }
    .player-sidebar-nav { display: none; }
    .player-mobile-nav { display: grid; gap: .4rem; padding: .8rem; }
    .player-mobile-nav label { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
    .player-mobile-nav select { width: 100%; min-height: 46px; border-color: var(--line); border-radius: 12px; color: var(--brand-ink); background-color: var(--brand-light); font-weight: 800; }
    .player-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .player-overview-grid { grid-template-columns: 1fr; }
    .hero-grid { padding-block: 3.5rem; }
    .hero-visual { min-height: 400px; }
    .steps-grid, .group-grid, .profile-group-grid, .profile-friends-grid, .profile-club-grid, .package-grid { grid-template-columns: 1fr; }
    .compact-group-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-bar { grid-template-columns: 1fr 1fr; margin-top: -5rem; }
    .filter-bar .button { width: 100%; }
}

@media (max-width: 520px) {
    .friend-suggestions-grid { grid-template-columns: 1fr; }
    .friend-suggestion-card { grid-template-columns: minmax(0, 1fr) auto; }
    .brand { gap: .4rem; font-size: 1rem; }
    .brand-mark { width: 40px; height: 28px; }
    .sport-switcher { margin-left: .4rem; }
    .venue-booking-hint { grid-template-columns: 1fr; }
    .venue-booking-hint a { text-align: left; }
    .sport-picker-section { min-height: calc(100vh - 74px); padding-block: 2rem; align-items: start; }
    .sport-picker-container { gap: 1.5rem; }
    .sport-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .sport-choice-card { min-height: 390px; border-radius: 18px; }
    .sport-choice-copy { right: .85rem; bottom: 1rem; left: .85rem; }
    .sport-choice-copy strong { font-size: clamp(1.45rem, 8vw, 2.2rem); }
    .sport-choice-copy > span { font-size: .72rem; }
    .sport-choice-copy small { font-size: .58rem; }
    .hero-visual { min-height: 340px; }
    .sport-orbit { transform: scale(.78); }
    .split-heading, .cta-card { align-items: flex-start; flex-direction: column; }
    .footer-links { grid-template-columns: 1fr; }
    .legal-details div { grid-template-columns: 1fr; gap: .2rem; }
    .padel-benefits { grid-template-columns: 1fr; }
    .split-heading .button { width: 100%; }
    .filter-bar, .two-fields, .schedule-fields, .skill-range-fields { grid-template-columns: 1fr; }
    .compact-group-grid { grid-template-columns: 1fr; }
    .history-item { align-items: flex-start; }
    .copy-field { flex-direction: column; }
    .community-search, .chat-form { grid-template-columns: 1fr; }
    .person-row { grid-template-columns: minmax(0, 1fr); }
    .person-action { grid-column: 1 / -1; justify-content: flex-start; }
    .club-directory-heading, .club-admin-heading, .tournament-heading { align-items: flex-start; flex-direction: column; }
    .tournament-heading > div, .tournament-heading .button-row { width: 100%; min-width: 0; }
    .tournament-heading h1 { max-width: 100%; overflow-wrap: anywhere; }
    .tournament-heading .button-row > * { max-width: 100%; white-space: normal; }
    .tournament-panel { overflow-wrap: anywhere; }
    .club-search-bar { grid-template-columns: 1fr; margin-top: -3rem; }
    .missing-venue-panel form { grid-template-columns: 1fr; }
    .club-profile-summary { grid-template-columns: 1fr; text-align: center; }
    .club-profile-logo { margin-inline: auto; }
    .club-title-line, .club-profile-actions { justify-content: center; }
    .club-profile-actions .button, .club-profile-actions form { width: 100%; }
    .club-admin-metrics { grid-template-columns: 1fr 1fr; }
    .court-slot, .court-slot > div { align-items: flex-start; flex-direction: column; }
    .admin-member { align-items: flex-start; flex-wrap: wrap; }
    .member-actions { width: 100%; justify-content: flex-start; }
    .participant-add-form { grid-template-columns: 1fr; }
    .participant-add-form .button { grid-column: auto; }
    .score-form { flex-wrap: wrap; }
    .player-portal { padding-block: .8rem; }
    .player-portal-shell { gap: .8rem; }
    .player-sidebar-user { padding: .9rem; }
    .player-sidebar-actions { display: none; }
    .player-portal-heading { min-height: 0; padding: 1.2rem; align-items: flex-start; flex-direction: column; }
    .player-community-heading .button { width: 100%; }
    .player-metrics { gap: .5rem; }
    .player-metrics a { padding: .8rem; }
    .player-metrics strong { font-size: 1.4rem; }
    .portal-upcoming-list > a { grid-template-columns: 44px minmax(0, 1fr); }
    .portal-upcoming-list > a > b { grid-column: 2; }
    .player-panel-head { align-items: flex-start; flex-direction: column; }
    .player-panel-head .button { width: 100%; }
    .profile-photo-field { grid-template-columns: 1fr; }
    .profile-photo-preview { width: 84px; height: 84px; }
    .avatar-editor-controls { grid-template-columns: 42px minmax(0, 1fr) 42px; }
    .avatar-editor-controls .avatar-editor-reset { grid-column: 1 / -1; }
    .avatar-editor-dialog .dialog-actions { display: grid; grid-template-columns: 1fr; }
    .avatar-editor-dialog .dialog-actions .button { width: 100%; }
    .notification-modal-actions, .notification-modal-actions form { display: grid; grid-template-columns: 1fr; }
    .notification-modal-actions .button { width: 100%; }
    .player-card-dialog { padding: 1.6rem; }
    .player-card-facts { grid-template-columns: 1fr; }
}
