/* Shared visual rules: compact navigation, clear hierarchy, stable controls. */
:root{--primary:#2464a6;--primary-dark:#194e85;--surface:#fff;--surface-2:#f5f7fa;--ink:#17232f;--ink-soft:#526170;--ink-faint:#667584;--border:#dfe5eb;--shadow-xs:none;--shadow-sm:none;--shadow-md:none;--shadow-lg:0 8px 24px #162f4818}
body,body.home-app-body{background:#f6f7f9!important}
button,.btn,input,select,textarea{font-family:inherit}
button,.btn{background-image:none!important;box-shadow:none!important;border-radius:8px!important;scale:1!important;text-shadow:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease!important}
button:not(.secondary):not(.clay):not(.nav-logout-btn):not(.banner-dot):not(.mobile-round-tab):not(.home-status-card):not(.header-bell-btn):not(.nav-menu-btn){background-color:var(--primary);color:#fff}
button.secondary,.btn.secondary{background:#fff!important;color:var(--ink)!important;border:1px solid var(--border)!important}
button:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}
input,select,textarea{border-radius:8px!important;box-shadow:none!important}
.card,.tournament-item,.group-card,.quick-link,.modal-card,.home-status-card,.icon-tile,.champion-banner,.admin-view-bar{background-image:none!important;box-shadow:none!important;border-radius:12px!important}
.card{padding:18px}
h1,h2,h3{letter-spacing:-.03em}h2::before{display:none!important}
.site-header,body.home-app-body .site-header{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px!important;min-height:64px!important;background:#fff!important;box-shadow:none!important;border-bottom:1px solid var(--border);backdrop-filter:none}
.site-header .header-brand-area{display:flex!important;align-items:center;gap:10px;flex:0 0 auto;width:auto!important}
.site-header .brand{gap:8px;transform:none!important;white-space:nowrap}
.site-header .brand-mark{width:34px!important;height:34px!important;box-shadow:none!important;background:none!important}
.site-header .brand-word,body.home-app-body .brand-word{font-size:21px!important}
.site-header nav{display:flex!important;align-items:center;flex-wrap:nowrap!important;justify-content:flex-end!important;gap:10px!important;width:auto!important;min-width:0;flex:0 1 auto!important;margin:0!important}
.site-header .nav-me{display:flex!important;gap:6px;padding:0!important;min-width:0;box-shadow:none!important}
.site-header .nav-user-chip{width:34px!important;height:34px!important;min-width:34px;border-radius:50%;font-size:10px!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#edf2f7!important;color:#284763!important;box-shadow:none!important}
.site-header .nav-menu{margin:0!important}.nav-menu-btn{min-height:34px;background:#fff!important;border:1px solid var(--border)!important;color:var(--ink)!important}
.site-header .header-message-link{display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;padding:0!important;background:none!important;box-shadow:none!important;font-size:21px!important}
.site-header .header-bell-btn{width:32px!important;height:32px!important;border:0!important;background:#fff!important;font-size:19px!important}
.site-header .header-bell-panel{left:0}.header-bell-panel,.nav-menu-panel{box-shadow:0 5px 18px #17232f20!important;border-radius:10px!important}
.home-app .home-topline{margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.home-my-match,.home-ranking-link{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff!important;color:var(--ink)!important;border:1px solid var(--border);border-radius:8px!important;box-shadow:none!important;font-size:14px!important;text-decoration:none}
.home-my-match svg{width:23px;height:23px;fill:none;stroke:#2464a6;stroke-width:1.8}.home-ranking-link i{background:none!important;font-style:normal;box-shadow:none!important}
.home-app .banner-carousel,.home-app .hero{border-radius:12px!important;box-shadow:none!important}
.home-app .banner-slide{padding:24px!important}.home-app .banner-overlay{background:linear-gradient(90deg,#07172f95,transparent 90%)}
.home-app .banner-copy .eyebrow{display:none}.home-app .banner-copy h1{font-size:30px;line-height:1.25}.home-app .banner-btn{border-radius:7px!important;padding:9px 12px!important;font-size:13px!important;box-shadow:none!important;transform:none!important}
.home-section{margin-top:20px}.home-section-head{margin-bottom:10px}.home-section-head h2{font-size:19px}.home-section-head p{line-height:1.5}
.home-app .home-status-card{padding:14px!important;background:#fff!important;border:1px solid var(--border)!important;gap:10px;min-width:0}
.home-app .home-status-card.has-live-tournament{border:3px solid #c92c36!important;box-shadow:none!important;background:#fff!important}
.home-app .has-live-tournament .home-status-dot{border:0!important;outline:0!important;box-shadow:none!important}
.home-status-dot,.home-app .icon-tile-img{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;flex:0 0 auto}
.home-status-dot::before,.home-status-dot::after,.home-app .icon-tile-img::before,.home-app .icon-tile-img::after{display:none!important}
.home-status-art,.home-app .icon-tile-art,.home-app .icon-tile-img img{filter:none!important}
.home-app .icon-tile{min-height:116px!important;padding:14px!important;background:#fff!important;border:1px solid var(--border)!important;border-radius:12px!important}
.home-app .icon-tile-img{width:44px!important;height:44px!important;margin-bottom:10px!important}
.home-app .icon-tile-fallback{font-size:25px!important;text-shadow:none!important;transform:none!important;filter:none!important}
.home-app .icon-tile-label{font-size:14px!important}.home-status-card strong{font-weight:750}.home-status-card span{line-height:1.4}
.home-bottom-nav{background:#fff!important;border-top:1px solid var(--border)!important;box-shadow:none!important}.home-bottom-nav a{background:none!important;box-shadow:none!important;border-radius:0!important}
.tournament-guidelines-card{margin-top:0!important;padding:14px 16px!important}.tournament-guidelines-card h2{margin:0 0 10px!important}.guideline-file-actions{margin:0!important}
.tournament-top-links{margin-top:8px!important;padding:5px!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:9px!important}
.tournament-top-links button{border-radius:6px!important;min-height:36px!important}.tournament-action-links{margin-bottom:12px!important}.tournament-action-links button{padding:9px 5px!important;box-shadow:none!important}
.admin-view-bar{padding:10px 12px!important;background:#fff!important;border:1px solid var(--border);gap:10px}.admin-view-bar .btn{white-space:nowrap}.badge-admin{background:#edf2f7!important;color:#35506c!important}
.main-integrity-panel{padding:10px!important}.main-integrity-panel p:empty{display:none}
.applicant-list-head{padding:14px!important}.applicant-list .user-row{padding:12px}.preparing-refund-notice{font-size:13px!important;color:#b42332!important}
#main-mobile-bracket .mobile-main-list{gap:8px!important}
#main-mobile-bracket .mobile-main-match{padding:7px 9px!important;border-radius:8px!important;box-shadow:none!important;min-height:0!important}
#main-mobile-bracket .mobile-match-head{padding-bottom:5px;font-size:11px!important;line-height:16px;gap:6px}
#main-mobile-bracket .mobile-match-head>span{font-size:11px!important}
#main-mobile-bracket .mobile-player-row{min-height:27px!important;padding:5px 2px!important;gap:8px}
#main-mobile-bracket .mobile-player-name{font-size:15px!important;line-height:1.35!important;letter-spacing:-.02em}
#main-mobile-bracket .mobile-player-row small{font-size:10px!important;padding:3px 5px!important;border-radius:5px!important}
#main-mobile-bracket .mobile-match-foot{padding-top:5px!important;min-height:24px;gap:6px}
#main-mobile-bracket .mobile-match-foot>span:first-child{font-size:18px!important;line-height:24px;color:#bd2832;font-weight:800}
#main-mobile-bracket .mobile-state-time{font-size:11px!important;line-height:16px}
#main-mobile-bracket .mobile-main-match.live{border:2px solid #c92c36!important;background:#fff!important}
#main-mobile-bracket .mobile-round-tab{min-height:34px;padding:6px 11px;font-size:12px;border-radius:6px!important}
#main-mobile-bracket{touch-action:pan-x pan-y pinch-zoom}
.main-bracket-toolbar{margin-top:8px!important}.main-bracket-toolbar h3{display:none}.bracket-player-search{gap:6px!important;margin:8px 0 10px!important}.bracket-player-search input{font-size:14px!important;padding:9px!important}.bracket-player-search button{font-size:13px!important;padding:9px 11px!important}
#bracket-tab-main.full-view-open #main-full-view-wrap{border-radius:10px!important;margin-top:8px!important}
#bracket-tab-main.full-view-open #main-draw-viewport{min-height:300px!important}
.match-report-dialog{width:min(460px,calc(100vw - 24px));max-height:88dvh;overflow:auto;box-sizing:border-box;border:1px solid #dae2ea;border-radius:14px;padding:20px;color:var(--ink);background:#fff;overscroll-behavior:contain}
.match-report-dialog::backdrop{background:#14203388}.match-report-dialog:not([open]){display:none}
.match-report-dialog header{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.match-report-dialog h2{font-size:21px;line-height:1.4;margin:0;word-break:keep-all}
.match-report-dialog header button{flex:0 0 34px;width:34px;height:34px;padding:0;font-size:25px;background:#f4f6f8!important;color:#334155!important}
.report-event{font-size:13px;color:#536575;line-height:1.5;margin:10px 0 16px}.report-teams{font-size:16px;font-weight:700;line-height:1.5;margin:0 0 18px}
.report-call,#match-report-direct{display:block;box-sizing:border-box;text-align:center;padding:14px;border-radius:8px;width:100%;font-size:16px;font-weight:700;text-decoration:none}
.report-call{border:1px solid #ccd6e1;color:#254a71;margin-bottom:10px}#match-report-direct{background:#245d95;color:#fff}
.report-scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:12px}.report-team{border:1px solid #d9e2ea;border-top:3px solid #2464a6;border-radius:10px;padding:12px;text-align:center;min-width:0}.report-team:nth-child(2){border-top-color:#32835c}
.report-team h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere;min-height:45px;margin:0 0 10px}.report-team input{width:100%;min-width:0;box-sizing:border-box;text-align:center;font-weight:800;font-size:60px;border:0;background:#fff;padding:4px;color:#123354;appearance:textfield}.report-team input::-webkit-inner-spin-button{-webkit-appearance:none}.report-team input:disabled{opacity:1}
.report-stepper{display:flex;gap:12px;justify-content:center;margin-top:8px}.report-stepper button{min-width:44px;min-height:44px;font-size:25px;padding:0}.report-stepper button:first-child{background:#eef2f6!important;color:#334155!important}
.report-help{font-size:13px;line-height:1.5;color:#596a7b;margin:14px 0}.report-form-actions{display:flex;gap:10px}.report-form-actions button{flex:1;min-height:46px;padding:10px;font-size:15px}
#match-report-confirm{padding:12px;border:1px solid #c7dbca;background:#f3f8f4;border-radius:8px;line-height:1.5}#match-report-confirm p{font-size:13px;margin:6px 0 0}#match-report-error{color:#b42332;font-size:13px;line-height:1.5}
#match-report-picker{width:100%;margin:6px 0 12px;font-size:14px}.match-report-dialog [hidden]{display:none!important}
@media(max-width:700px){
 .site-header,body.home-app-body .site-header{padding:9px 12px!important;min-height:56px!important;gap:8px}
 .site-header .header-brand-area{gap:5px!important}.site-header .brand-word,body.home-app-body .brand-word{font-size:19px!important}.site-header .brand-mark{width:30px!important;height:30px!important}
 .site-header nav{gap:5px!important;flex:0 1 auto!important}.site-header .nav-user{display:none!important}.site-header .nav-menu-btn{width:32px;height:32px;min-height:32px;font-size:0;padding:0!important}.site-header .nav-menu-btn::after{content:'☰';font-size:19px}
 .site-header .nav-user-chip{width:30px!important;height:30px!important;min-width:30px}.site-header .header-message-link{width:28px!important;height:30px!important;font-size:19px!important}
 .site-header .nav-logout-btn{display:block!important;font-size:0!important;width:26px;height:32px;padding:0!important;background:none!important;color:#526170!important}.site-header .nav-logout-btn::after{content:'↪';font-size:21px}
 .site-header nav>a:not(.nav-me):not(.header-message-link):not(.cta){display:inline-flex!important;font-size:12px!important}.site-header nav .cta{padding:7px 9px!important;font-size:12px!important}
 .site-header .header-bell-btn{width:27px!important;height:30px!important;font-size:17px!important}.site-header .nav-menu-panel{right:0;left:auto;max-width:calc(100vw - 24px)}
 body.home-app-body main{padding-top:12px!important}.home-app .banner-copy h1{font-size:25px!important}.home-app .banner-copy p{font-size:13px!important}.home-app .banner-carousel,.home-app .banner-track,.home-app .banner-slide{min-height:200px!important}
 .home-app .home-status-card{padding:11px!important;gap:8px}.home-status-dot{width:32px!important;height:32px!important}.home-status-art{width:30px!important;height:30px!important;transform:none!important}.home-status-card strong{font-size:13px!important}.home-status-card span{font-size:11px!important}
 .home-app .home-status-grid{gap:9px!important}.home-section-head h2{font-size:18px!important}.home-section{margin-top:18px}.tournament-action-links i{font-size:17px!important}.tournament-action-links span{font-size:11px}.card{padding:14px}
 .match-report-dialog{padding:16px}.match-report-dialog h2{font-size:19px}.report-team{padding:10px}.report-team input{font-size:52px}
}
@media(prefers-reduced-motion:reduce){button,.btn,.nav-menu-panel,.banner-track{transition:none!important}}
.tournament-top-links button,.tournament-action-links button,.bracket-tab,.mobile-round-tab{background:#f3f5f8!important;color:var(--ink)!important}
.tournament-top-links button.active,.bracket-tab.active,.mobile-round-tab.active{background:var(--primary)!important;color:#fff!important}
.site-header .nav-logout-btn{color:var(--ink)!important;background:transparent!important}
.site-line-icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block;flex-shrink:0;color:#355c7d}
.header-message-link .site-line-icon,.header-bell-btn .site-line-icon{width:23px;height:23px}
.home-ranking-link .site-line-icon{width:22px;height:22px}.icon-tile-img .site-line-icon{width:32px;height:32px}
.site-header,body.home-app-body .site-header{height:auto!important;max-height:none!important}
#bracket-tab-main.full-view-open #main-full-view-wrap{max-height:none!important}
main,.card,.tournament-item,.group-card,.prelim-group-card,.icon-tile,.home-status-card,.champion-banner{animation:none!important}
.prelim-group-card:hover,.tournament-item:hover,.icon-tile:hover,.home-status-card:hover{transform:none!important;filter:none!important}
.nav-menu[data-ui-menu] .nav-menu-panel,.nav-menu[data-ui-menu] .nav-menu-panel a{transform:none!important;transition:opacity .14s ease,visibility .14s ease,background-color .14s ease!important;transition-delay:0s!important}
.badge.live{animation:none!important}
.home-app .hero{background:#edf2f7!important;color:var(--ink)!important;padding:24px!important;min-height:150px!important}
.home-app .hero h1{color:var(--ink)!important;font-size:28px!important}.home-app .hero p{color:var(--ink-soft)!important}.home-app .hero::after{display:none!important}
.report-stepper button[data-delta="1"]{background:#2b7a52!important;color:#fff!important}
.home-bottom-nav .site-line-icon{width:22px;height:22px;color:currentColor}.desktop-discovery-links a{display:inline-flex;align-items:center;gap:6px}.desktop-discovery-links .site-line-icon{width:20px;height:20px}
.tournament-action-links .site-line-icon{width:22px;height:22px;margin:0 auto 5px}.tournament-action-links button:hover .site-line-icon{color:currentColor}

/* 2026-10-26: smaller headings and centered icon boxes. */
main h1{font-size:24px!important;line-height:1.3!important;margin-top:12px}
main h2{font-size:18px!important;line-height:1.4!important}
main h3{font-size:15px!important;line-height:1.4!important}
.home-section-head h2{font-size:17px!important}
.home-app .banner-copy h1{font-size:26px!important}
.home-app .hero h1{font-size:24px!important}
.header-bell-head{padding:10px 12px!important;gap:8px}
.header-bell-head strong{font-size:14px!important}
.header-bell-head button,.header-bell-head .header-bell-read-all{font-size:12px!important;line-height:1.3!important;padding:6px 8px!important;min-height:28px}
#header-bell-close{width:28px;height:28px;display:grid;place-items:center;font-size:18px!important;padding:0!important}
.header-bell-item strong{font-size:13px!important}.header-bell-item span,.header-bell-empty{font-size:12px!important}.header-bell-actions button{font-size:12px!important}
.home-app .home-status-card>.home-status-dot{display:grid!important;place-items:center!important;align-self:center!important;margin:0!important;line-height:1!important;padding:0!important}
.home-app .home-status-dot>.site-line-icon{display:block!important;margin:0!important;transform:none!important;position:static!important}
.home-app .icon-tile{align-items:center!important;text-align:center!important}
.home-app .icon-tile-img{display:grid!important;place-items:center!important;align-self:center!important;margin:0 auto 10px!important;padding:0!important;line-height:1!important}
.home-app .icon-tile-img>.site-line-icon{display:block!important;margin:0!important;position:static!important;transform:none!important}
.home-app .icon-tile-label,.home-app .tournament-hub-mini{width:100%;text-align:center!important}
.site-line-icon{vertical-align:middle}
.score-edit-btn{font-size:10px!important;line-height:1!important;min-width:30px!important;width:auto!important;padding:4px!important}
.grade-placeholder{font-size:10px!important}
.status-tabs .status-tab,.format-tabs .format-tab{font-size:12px!important}
@media(max-width:700px){main h1{font-size:22px!important}main h2{font-size:17px!important}.home-section-head h2{font-size:16px!important}.home-app .banner-copy h1,.home-app .hero h1{font-size:22px!important}}

/* 2026-10-29: explicit control colors and legible result surfaces. */
a.btn:not(.secondary){background-color:var(--primary)!important;color:#fff!important}
button.clay{background-color:#b83440!important;color:#fff!important;border:1px solid #b83440!important}
button.ranking-line{background:#fff!important;color:var(--ink)!important;border-radius:0!important}
button.ranking-line:hover{background:#f0f5fb!important}.ranking-line .ranking-muted{color:#526170!important}.ranking-line .ranking-player,.ranking-line .ranking-point{color:#17232f!important}
button.score-winner-btn{background:#fff!important;color:#194e85!important;border:2px solid #2464a6!important}
button.score-winner-btn.selected{background:#16865c!important;color:#fff!important;border-color:#16865c!important}
button.score-winner-btn.selected .score-winner-name{color:#fff!important}
.site-header .nav-menu-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0}
.site-header .nav-menu-btn::after,body.home-app-body .nav-menu-btn::after{display:none!important;content:none!important}
.nav-menu-symbol{display:block!important;width:21px;height:21px;flex-shrink:0;fill:none;stroke:#17232f;stroke-width:2;stroke-linecap:round}
.icon-tile-label.registration-tile-label{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-height:2.8em;white-space:nowrap;word-break:keep-all}
.registration-tile-label>span{white-space:nowrap}.registration-tile-label>small{font-size:11px!important;line-height:1.2;color:#596b78!important;white-space:nowrap}
.applicant-club-text{font-size:13px!important;line-height:1.5;letter-spacing:0!important}
.applicant-club-text.is-long{font-size:11px!important;letter-spacing:0!important}
.champion-banner{display:flex!important;align-items:center;justify-content:center;gap:22px;padding:24px!important;margin:18px 0!important;border:2px solid #d5ac4d!important;background:linear-gradient(115deg,#122b46,#224b6c 55%,#102943)!important;color:#fff!important;text-align:center;position:relative;overflow:hidden}
.champion-banner[style*="display:none"],.champion-banner[style*="display: none"]{display:none!important}
.champion-banner .champion-eyebrow{color:#ffe29b!important;font-weight:800;letter-spacing:.3em;font-size:14px;text-shadow:none!important}
.champion-banner .champion-name{color:#fff!important;font-size:clamp(22px,4vw,32px)!important;line-height:1.45;font-weight:900;white-space:normal;overflow-wrap:anywhere;text-shadow:none!important}
.champion-banner .champion-crown{width:44px;height:44px;flex:0 0 44px;margin:0!important}
.champion-crown svg{width:100%;height:100%;fill:none;stroke:#f4cc6a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){.nav-menu-text{display:none}.champion-banner{padding:20px 14px!important;gap:12px}.champion-banner .champion-crown{width:34px;height:34px;flex-basis:34px}.applicant-club-text{font-size:13px!important}.applicant-club-text.is-long{font-size:11px!important}}

/* Court overview: 14 fixed-height rows; three waiting matches stay visible. */
#main-court-status-modal{padding:5px!important;align-items:stretch;justify-items:stretch}
#main-court-status-modal .main-court-status-dialog{width:100%!important;max-width:none;height:calc(100dvh - 10px)!important;max-height:none!important;box-sizing:border-box;border-radius:12px;padding:10px!important;display:flex;flex-direction:column;overflow:auto}
.main-court-status-dialog .main-court-status-head{margin-bottom:4px;align-items:center;flex-shrink:0}
.main-court-status-dialog .main-court-status-head h2{font-size:16px!important;margin:0!important}
.main-court-status-dialog .main-court-status-head p{font-size:10px;margin:2px 0!important}
.main-court-status-dialog .main-court-status-close{width:30px;height:30px;padding:0!important;font-size:20px}
.court-board-tools{display:flex;align-items:center;gap:6px;flex-shrink:0;margin:2px 0}.court-board-tools[hidden]{display:none!important}
.court-board-tools>span{flex:1;color:#526170;font-size:11px}.court-board-tools>button{font-size:11px;padding:6px 8px;white-space:nowrap}
.court-board-notice{font-size:10px!important;line-height:1.3;margin:3px 0 5px!important;min-height:1.3em;flex-shrink:0;color:#526170}.court-board-notice.error{color:#b42332}
.court-board-columns{display:grid;grid-template-columns:minmax(42px,.6fr) repeat(4,minmax(0,1fr));gap:4px;font-size:10px;font-weight:800;color:#526170;flex-shrink:0;text-align:center;margin-bottom:3px}
#main-court-status-summary{display:grid!important;grid-template-rows:repeat(14,minmax(0,1fr));gap:4px!important;flex:1;min-height:0}
#main-court-status-summary.has-extra-courts{grid-template-rows:none;grid-auto-rows:minmax(42px,1fr);min-height:600px}
.court-board-row{display:grid;grid-template-columns:minmax(42px,.6fr) minmax(0,1fr) minmax(0,3fr);gap:4px;min-height:0}
.court-board-label{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1e5c91;color:#fff;border-radius:7px;font-size:clamp(9px,1.4vw,14px);line-height:1.2}
.court-board-row.unused .court-board-label{background:#e7edf2;color:#596a78}
.court-waiting{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;min-height:0}
.court-cell{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;border:1px solid #d4e2ef;background:#f1f6fc;border-radius:7px}
.court-cell.current{background:#f9f1f1;border-color:#e7cccc}
button.court-game{display:flex;flex:1;min-width:0;min-height:0;width:100%;flex-direction:column;justify-content:center;gap:1px;padding:3px 6px!important;border:0!important;background:transparent!important;color:#17232f!important;text-align:left;border-radius:6px!important;line-height:1.15;overflow:hidden}
.court-game strong{font-size:clamp(7px,1.1vw,13px);font-weight:800;overflow-wrap:anywhere;line-height:1.2}
.court-game small{font-size:clamp(6px,.8vw,10px);line-height:1.15;color:#536a7d}.court-game-label{font-size:clamp(6px,.8vw,10px);color:#1e5c91;font-weight:800;line-height:1.1}.court-game.live .court-game-label{color:#b12232}
button.court-game.selected{background:#d2eddf!important;outline:2px solid #16865c!important;outline-offset:-2px}
button.court-game[draggable=true]{cursor:grab}button.court-game[draggable=true]:active{cursor:grabbing}
.court-place{display:none;font-size:9px!important;padding:2px!important;border-radius:3px!important;position:absolute;top:0;right:0;z-index:2}
.has-selection [data-drop-court]>.court-place{display:block}.has-selection [data-drop-court]{border:2px dashed #2c7f61;cursor:pointer}
.court-drop-over{outline:3px solid #16865c!important;background:#d2eddf!important}
.court-empty{font-size:clamp(6px,.8vw,10px);color:#6b7f8c;line-height:1.2;text-align:center;padding:2px}
button.court-expand{background:#fff!important;color:#1e5c91!important;padding:2px 3px!important;font-size:8px;line-height:1.1;margin-top:2px}
.court-board-row.expanded .court-waiting{overflow-x:auto;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 8px)/3);overscroll-behavior:contain}
.court-board-unassigned{flex-shrink:0;border:1px solid #dfe5eb;border-radius:8px;margin-top:6px;padding:5px 8px;font-size:11px}
.court-board-unassigned[hidden]{display:none}.court-board-unassigned>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:5px;max-height:140px;overflow:auto}.court-board-unassigned button.court-game{min-height:44px;background:#eef5fc!important}
@media(max-width:700px){#main-court-status-modal .main-court-status-dialog{padding:6px!important}.court-board-tools>span{font-size:9px}.court-board-tools>button{font-size:9px;padding:5px}.court-board-notice{font-size:8px!important}.main-court-status-dialog .main-court-status-head p{display:none}.court-board-columns{font-size:8px;gap:2px}.court-board-row,.court-waiting{gap:2px}#main-court-status-summary{gap:3px!important}.court-board-label{font-size:9px}button.court-game{padding:2px!important}.court-game strong{font-size:7px}.court-game small,.court-game-label{font-size:6px}.court-board-unassigned>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:520px){#main-court-status-summary{min-height:550px}.court-board-notice{margin-bottom:2px!important}}

/* 2026-11-01 */
#main-court-status-summary{grid-template-rows:repeat(var(--court-row-count,13),minmax(0,1fr))!important}
.court-add-label{display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.court-add-label select{width:48px;padding:4px;font-size:11px}
@media(max-width:700px){.court-board-tools{flex-wrap:wrap}.court-board-tools>span{flex-basis:100%}.court-add-label{font-size:9px}.court-add-label select{width:42px;font-size:9px}}
.guest-access-dialog{width:min(420px,calc(100vw - 28px));box-sizing:border-box;max-height:85dvh;border:1px solid #dfe5eb;border-radius:14px;background:#fff;color:#17232f;padding:22px;overflow:auto}
.guest-access-dialog:not([open]){display:none}.guest-access-dialog::backdrop{background:#10243888}
.guest-access-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:center}.guest-access-dialog h2{margin:0;font-size:19px}.guest-access-dialog header button{padding:0!important;min-width:30px;height:30px;background:#eef2f6!important;color:#17232f!important;font-size:22px}
.guest-access-dialog p{font-size:15px;line-height:1.7;word-break:keep-all;margin:18px 0}.guest-access-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.guest-access-actions a{padding:11px 16px;border-radius:8px;font-size:14px;font-weight:800}.guest-access-actions a:first-child{color:#526170;background:#edf2f7}
#signup-form #code-row{padding:12px;border:1px solid #bdd5ea;border-radius:9px;background:#f5f9fe;margin-top:4px}
#signup-form #code-input{min-width:0}#signup-form #phone-input{min-width:0}
