@media(max-width:750px){}
/* Refine the native manager board; retain its DOM, actions, rules and court topology. */
:root{--rm-ui-gap:8px;--rm-ui-section:20px;--rm-ui-page:24px;--rm-ui-radius:10px;--rm-ui-control:40px}
.rm-refined-ui{--font-body:Arial,Helvetica,sans-serif;--font-display:Arial,Helvetica,sans-serif;--shadow-sm:none;--tblr-card-border-radius:10px}
.rm-refined-ui .btn,.rm-refined-ui .bc-btn{min-height:40px;padding:8px 13px;font-size:13px;line-height:1.35;border-radius:7px;box-shadow:none;font-weight:600;gap:7px;align-items:center;justify-content:center;white-space:normal}
.rm-refined-ui .btn-sm,.rm-refined-ui .bc-btn-small{min-height:34px;padding:6px 10px;font-size:12px}
.rm-refined-ui .btn:disabled{cursor:not-allowed}.rm-refined-ui button:focus-visible,.rm-refined-ui a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.rm-refined-ui .form-control,.rm-refined-ui .form-select,.rm-refined-ui .bc-input{min-height:40px;border-radius:7px;font-size:14px;line-height:1.4;margin-bottom:0}
.rm-refined-ui .form-label{font-size:12px;font-weight:600;margin-bottom:7px}.rm-refined-ui .card{box-shadow:none;border-radius:10px}.rm-refined-ui .card-body{padding:20px}.rm-refined-ui .card-header{padding:16px 20px;gap:12px;min-height:0}
.rm-refined-ui .bc-header{padding:16px 24px;gap:20px;box-shadow:none}
.rm-refined-ui .bc-header.rm-header-timed{display:grid;grid-template-columns:minmax(225px,1fr) auto minmax(300px,1fr);align-items:center;gap:16px}
.rm-refined-ui .bc-title{font-size:25px;letter-spacing:-.025em;line-height:1.2}.rm-refined-ui .bc-title .rm-logo-header{width:40px;height:40px;margin-right:10px;border-radius:9px}.rm-refined-ui .bc-subtitle{margin-top:6px;font-size:12px}.rm-refined-ui .bc-credit{font-size:10px;line-height:1.4;margin-top:4px;color:#c6dbc9}
.rm-refined-ui .rm-header-timed>.rm-session-timing{gap:24px;justify-content:center;flex-wrap:nowrap;padding:0;margin:0}.rm-refined-ui .rm-session-timing .rm-time-label{font-size:10px;letter-spacing:.03em;color:#d2e1ce}.rm-refined-ui .rm-time-reading{gap:5px}.rm-refined-ui .rm-header-timed>.rm-session-timing .rm-time-reading time{font-size:30px;line-height:1.1;font-family:var(--font-body);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0}.rm-refined-ui .rm-header-timed>.rm-session-timing .bc-timer{font-size:36px;line-height:1.1;letter-spacing:.01em;font-variant-numeric:tabular-nums;min-width:0}.rm-refined-ui .rm-header-timed>.rm-session-timing .bc-timer-block{gap:12px}.rm-refined-ui .bc-timer-controls{gap:6px}.rm-refined-ui .rm-session-timing .bc-icon-btn-light{width:34px;height:36px;min-width:34px;min-height:36px;border-radius:6px}
.rm-refined-ui .bc-header-actions{gap:7px;justify-content:flex-end;align-items:center;margin:0;flex-wrap:wrap}.rm-refined-ui .bc-header .bc-icon-btn-light,.rm-refined-ui .bc-header .rm-header-account>.nav-link,.rm-refined-ui .bc-header .rm-header-account .avatar{width:36px;height:36px;min-width:36px;min-height:36px;border-radius:7px}.rm-refined-ui .bc-header .btn{min-height:36px;padding:8px 12px;font-size:12px}.rm-refined-ui .bc-header .rm-checkin-dock-trigger{height:36px;min-height:36px;border-radius:7px}
.rm-refined-ui #venue-fixture-status{margin:0;padding:9px 24px;max-width:none;border:0;border-bottom:1px solid #d4d9c5;border-radius:0;background:#e9eedf;color:#4a6240;font-size:11px;gap:12px;min-height:44px}.rm-refined-ui #venue-fixture-status .btn{font-size:11px;min-height:29px;padding:4px 9px}.rm-refined-ui .venue-session-sync-label,.rm-refined-ui .venue-session-control-label{font-size:11px}.rm-refined-ui .venue-session-avatar{width:27px;height:27px;font-size:10px}.rm-refined-ui #venue-fixture-status .venue-session-sync{margin-left:0}
.rm-refined-ui .bc-action-bar{max-width:1600px;width:100%;margin:0 auto;padding:18px 24px 14px;gap:16px;align-items:center}.rm-refined-ui .bc-action-left{gap:6px}.rm-refined-ui .bc-swap-hint{font-size:12px;color:#666b58}.rm-refined-ui .bc-history-nav{gap:7px}.rm-refined-ui .bc-history-btn{min-width:32px;min-height:32px;border-radius:6px}.rm-refined-ui .bc-history-label{font-size:11px;white-space:nowrap}.rm-refined-ui .bc-banner{width:calc(100% - 48px);max-width:1552px;margin:16px auto 0}
.rm-refined-ui .bc-courts{max-width:1600px;width:100%;margin:0 auto;padding:0 24px 20px;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.rm-refined-ui .bc-court-card{padding:0!important;box-shadow:none!important;border:1px solid var(--border);border-radius:10px!important;overflow:hidden;align-self:start;transition:none}.rm-refined-ui .bc-court-card:hover{box-shadow:none}.rm-refined-ui .bc-court-head{min-height:44px;padding:9px 12px;font-family:var(--font-body);font-size:12px;letter-spacing:.04em;gap:8px;flex-wrap:wrap}.rm-refined-ui .bc-court-admin-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.rm-refined-ui .bc-court-mini-btn{height:28px;min-height:28px;min-width:28px;padding:4px;border-radius:5px}.rm-refined-ui .bc-court-body{padding:0}.rm-refined-ui .bc-team{padding:12px;gap:8px}.rm-refined-ui .bc-team-label{font-size:10px;line-height:1.3;letter-spacing:.04em;margin:0;color:#626b55}.rm-refined-ui .bc-team-players{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.rm-refined-ui .bc-net{padding:0 12px}.rm-refined-ui .bc-net-label{font-size:9px;letter-spacing:.02em;padding:2px 6px}.rm-refined-ui .bc-net-line{height:1px}
.rm-refined-ui .bc-player-slot{min-width:0;position:relative;display:flex;align-items:stretch}.rm-refined-ui .bc-court-card .bc-player{min-height:48px;padding:8px 40px 8px 8px;gap:7px;border-width:1px;border-radius:6px;font-size:12px;line-height:1.35;margin:0;background-image:none;box-shadow:none;align-items:center}.rm-refined-ui .bc-court-card .bc-player .bc-player-name{white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:normal!important;display:block!important;line-height:1.35;max-height:none;-webkit-line-clamp:unset;font-size:12px}.rm-refined-ui .bc-court-card .bc-level-dot{width:20px;height:22px;min-width:20px;font-size:10px}.rm-refined-ui .bc-court-card .bc-info-dot{right:5px;top:50%;transform:translateY(-50%);width:28px;height:32px;min-width:28px;min-height:32px;display:flex;align-items:center;justify-content:center;border-radius:5px}.rm-refined-ui .rm-games-badge{font-size:8px;min-width:17px;padding:2px 3px}.rm-refined-ui .bc-court-card .rm-games-badge{position:absolute;right:33px;bottom:4px}.rm-refined-ui .bc-court-card .bc-player:has(.rm-games-badge){padding-right:38px;padding-bottom:13px}
.rm-refined-ui .bc-sitout{max-width:1552px;width:calc(100% - 48px);margin:0 auto 24px;padding:16px;border-radius:10px;background:#f6f4e8;border:1px solid var(--border)}.rm-refined-ui .bc-sitout-title{font-size:11px;letter-spacing:.03em;color:#65714f;margin-bottom:12px}.rm-refined-ui .bc-sitout-list{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.rm-refined-ui .bc-sitout .bc-player{min-height:42px;border-width:1px;padding:7px 36px 7px 9px;font-size:12px;border-radius:6px}.rm-refined-ui .bc-sitout .bc-info-dot{width:28px;height:30px;right:4px}.rm-refined-ui .rm-court-use{gap:10px;padding:12px;border-radius:8px;min-height:0}.rm-refined-ui .rm-court-use-actions{gap:8px}.rm-refined-ui .rm-court-use-option{min-height:42px;padding:8px 12px;border-radius:6px}.rm-refined-ui .rm-match-close,.rm-refined-ui .rm-preview-close,.rm-refined-ui .rm-team-tag-close{min-width:36px;min-height:36px;width:36px;height:36px;padding:0;border-radius:7px;background:#f5dfd7;color:#a1372c;display:inline-flex;justify-content:center;align-items:center}
.rm-refined-ui .bc-drawer{box-shadow:-10px 0 32px #18352524}.rm-refined-ui .bc-drawer-head{padding:17px 20px;min-height:68px;gap:14px}.rm-refined-ui .bc-drawer-head h2{font-family:var(--font-body);font-size:18px;text-transform:none;letter-spacing:-.02em;line-height:1.3}.rm-refined-ui .bc-drawer-body{padding:20px}.rm-refined-ui .bc-setting-row{padding:14px 0;gap:16px;align-items:center}.rm-refined-ui .bc-setting-label{font-size:13px;font-weight:600;margin:0}.rm-refined-ui .bc-setting-help{font-size:12px;line-height:1.6;color:#657055;margin-top:5px}.rm-refined-ui .bc-stepper{gap:7px;font-family:var(--font-body);font-size:14px}.rm-refined-ui .bc-stepper span{min-width:58px}.rm-refined-ui .bc-stepper button{width:34px;height:34px;border-width:1px;border-radius:6px}.rm-refined-ui .bc-setting-row.is-highlighted{margin:0;padding:13px;border-width:1px;border-radius:8px}.rm-refined-ui .bc-live-settings-intro{padding:0 0 16px;font-size:12px;line-height:1.7}.rm-refined-ui .bc-drawer-body>.card,.rm-refined-ui .bc-drawer-body>section.card{padding:18px;margin-top:16px}.rm-refined-ui .bc-drawer-body .card-title{font-size:16px;margin-bottom:14px}.rm-refined-ui .bc-drawer-body h3{font-size:16px;margin-top:0;margin-bottom:14px}.rm-refined-ui .bc-drawer-body .form-check{margin-bottom:12px}.rm-refined-ui .bc-drawer-body .table{font-size:12px}.rm-refined-ui .bc-drawer-body .table th,.rm-refined-ui .bc-drawer-body .table td{padding:9px 10px}.rm-refined-ui .bc-drawer-body details{margin-top:12px}.rm-refined-ui .bc-drawer-body summary{min-height:36px;font-size:12px;line-height:1.5}
.rm-refined-ui .rm-next-round-preview{border-radius:12px;overflow:hidden}.rm-refined-ui .rm-preview-header{padding:18px 20px;gap:16px}.rm-refined-ui .rm-preview-header h2{font-size:21px;margin:0 0 5px}.rm-refined-ui .rm-preview-header p{font-size:12px;line-height:1.6}.rm-refined-ui .rm-preview-context{padding:16px 20px 0}.rm-refined-ui .rm-preview-scroll{scrollbar-gutter:stable}.rm-refined-ui .rm-next-round-preview .bc-courts{padding:16px 20px;gap:14px}.rm-refined-ui .rm-preview-timing{gap:20px}.rm-refined-ui .rm-preview-timing .rm-time-label{color:#657055}.rm-refined-ui .rm-planner-tabs{gap:8px}.rm-refined-ui .rm-planner-tabs .btn{min-height:38px;font-size:12px;padding:8px 12px}
.rm-refined-ui .bc-setup{width:calc(100% - 48px);max-width:1552px;padding:20px 0;gap:20px}.rm-refined-ui .bc-setup-card,.rm-refined-ui .bc-live-card{padding:20px!important;border-radius:10px!important;box-shadow:none!important}.rm-refined-ui .bc-setup-card h2{font-size:17px;margin:0}.rm-refined-ui .bc-player-summary-grid{gap:20px}.rm-refined-ui .bc-main-roster-list{gap:8px}.rm-refined-ui .bc-live-head{gap:16px;margin-bottom:16px}.rm-refined-ui .bc-main-roster{padding-top:16px}.rm-refined-ui .bc-stat-row{gap:22px}.rm-refined-ui .bc-checkin-hero{padding:20px}
.rm-refined-ui.admin-page .rm-management-sidebar.offcanvas-lg{top:0;height:100dvh}.rm-refined-ui.admin-page .rm-sidebar-brand-row{padding:20px;min-height:86px}.rm-refined-ui.admin-page .rm-sidebar-nav{padding:12px}.rm-refined-ui.admin-page .rm-sidebar-nav .nav-link{min-height:42px;padding:10px 12px;font-size:13px;border-radius:7px}.rm-refined-ui.admin-page .rm-page-content{padding:24px;max-width:1600px}.rm-refined-ui.admin-page .rm-topbar{padding:12px 24px;min-height:64px;gap:12px}.rm-refined-ui.admin-page .rm-page-heading{margin-bottom:22px;gap:16px}.rm-refined-ui.admin-page .rm-page-heading h1{font-size:27px;letter-spacing:-.025em}.rm-refined-ui.admin-page .admin-console-body{padding:20px}.rm-refined-ui.admin-page .admin-console-form{gap:12px;margin:18px 0}.rm-refined-ui.admin-page .admin-console-body h3{font-size:16px;margin:22px 0 12px}.rm-refined-ui.admin-page .table td,.rm-refined-ui.admin-page .table th{padding:12px 14px;font-size:12px;vertical-align:middle}.rm-refined-ui.admin-page .table .btn{font-size:12px;min-height:34px;padding:6px 10px}.rm-refined-ui.admin-page .admin-console-cards{gap:12px;margin-bottom:20px}.rm-refined-ui.admin-page .admin-console-cards>div{padding:16px}.rm-refined-ui.admin-page .venue-settings-fields{gap:16px}.rm-refined-ui.admin-page .rm-actions,.rm-refined-ui.admin-page .btn-list{gap:8px}.rm-refined-ui.admin-page .rm-footer{padding:18px 24px}.rm-refined-ui .rm-team-tag-dialog,.rm-refined-ui .rm-match-dialog,.rm-refined-ui .rm-player-dialog{border-radius:12px;padding:22px}.rm-refined-ui .rm-team-tag-heading h2{font-size:22px}.rm-refined-ui .rm-team-tag-help{font-size:12px;line-height:1.7}.rm-refined-ui .rm-training-help{font-size:12px;line-height:1.6}
@media(min-width:1700px){.rm-refined-ui .bc-courts{grid-template-columns:repeat(3,minmax(0,1fr))}.rm-refined-ui .bc-header.rm-header-timed{grid-template-columns:1fr auto 1fr;gap:24px}.rm-refined-ui .bc-header-actions{flex-wrap:nowrap}}
@media(max-width:1240px){.rm-refined-ui .bc-header.rm-header-timed{grid-template-columns:minmax(200px,1fr) auto;gap:14px}.rm-refined-ui .rm-header-timed>.rm-session-timing{grid-column:2;grid-row:1/span 2;gap:22px}.rm-refined-ui .bc-header-actions{grid-column:1;justify-content:flex-start}.rm-refined-ui .bc-courts{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-refined-ui .bc-action-bar{flex-wrap:wrap}.rm-refined-ui .bc-header .bc-title{font-size:23px}.rm-refined-ui .rm-session-timing .rm-time-reading time{font-size:29px}.rm-refined-ui .rm-session-timing .bc-timer{font-size:34px}}
@media(max-width:1024px){html.rm-mobile-layout .rm-refined-ui:has(#app){display:flex;flex-direction:column;height:100dvh;min-height:0;padding:0;overflow:hidden;background:var(--bg)}html.rm-mobile-layout .rm-refined-ui #app{flex:1 1 0;min-height:0;height:auto;display:flex;flex-direction:column;overflow:hidden}html.rm-mobile-layout .rm-refined-ui .bc-header{padding:14px 18px;background:var(--green);border-radius:0;gap:12px}html.rm-mobile-layout .rm-refined-ui .bc-header-actions{width:auto;flex:0 1 auto;gap:7px}html.rm-mobile-layout .rm-refined-ui .bc-courts{padding:0 18px 18px;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}html.rm-mobile-layout .rm-refined-ui .bc-court-card{padding:0!important}html.rm-mobile-layout .rm-refined-ui .bc-action-bar{padding:16px 18px 14px}html.rm-mobile-layout .rm-refined-ui .bc-sitout{width:calc(100% - 36px);margin-bottom:18px;padding:14px}html.rm-mobile-layout .rm-refined-ui .rm-mobile-nav{border-radius:0;border-width:1px 0 0;box-shadow:none;padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}html.rm-mobile-layout .rm-refined-ui .rm-mobile-nav-logo{width:45px;height:45px;margin:0;border-width:0;border-radius:9px;box-shadow:none}html.rm-mobile-layout .rm-refined-ui .rm-mobile-nav-logo img{width:32px;height:32px}html.rm-mobile-layout .rm-refined-ui .rm-mobile-nav a,html.rm-mobile-layout .rm-refined-ui .rm-mobile-nav button{min-height:46px;font-size:10px;gap:3px}html.rm-mobile-layout .rm-refined-ui .rm-mobile-welcome{padding:18px;background:var(--green);border-radius:0}html.rm-mobile-layout .rm-refined-ui .rm-mobile-welcome h1{font-size:27px}html.rm-mobile-layout .rm-refined-ui .bc-setup{width:calc(100% - 36px);padding:18px 0;gap:16px}}
@media(max-width:750px){.rm-refined-ui .bc-header.rm-header-timed{grid-template-columns:1fr;gap:12px}.rm-refined-ui .bc-header.rm-header-timed>div:first-child{grid-row:1;grid-column:1}.rm-refined-ui .rm-header-timed>.rm-session-timing{grid-column:1;grid-row:3;justify-content:space-between;gap:18px;width:100%}.rm-refined-ui .bc-header-actions{grid-row:2;grid-column:1;justify-content:flex-start;gap:7px}.rm-refined-ui .bc-header .bc-credit{font-size:9px}.rm-refined-ui .bc-header .bc-subtitle{font-size:11px}.rm-refined-ui .bc-header .bc-title{font-size:22px}.rm-refined-ui .bc-header .bc-title .rm-logo-header{width:34px;height:34px}.rm-refined-ui .bc-header .btn{min-height:36px;font-size:11px}.rm-refined-ui .rm-session-timing .rm-time-reading time{font-size:26px!important}.rm-refined-ui .rm-session-timing .bc-timer{font-size:30px!important}.rm-refined-ui .rm-time-label{font-size:9px}.rm-refined-ui .bc-header .bc-header-actions>*{flex-shrink:0}.rm-refined-ui #venue-fixture-status{padding:8px 16px;gap:8px;flex-wrap:wrap;font-size:10px;min-height:38px}.rm-refined-ui .venue-session-sync-label,.rm-refined-ui .venue-session-control-label{font-size:10px}.rm-refined-ui .venue-session-control{gap:6px}.rm-refined-ui .bc-action-bar{gap:12px;padding:14px 16px;align-items:center}.rm-refined-ui .bc-action-bar>.d-flex{width:100%}.rm-refined-ui .bc-action-bar>.d-flex>.btn{flex:1;font-size:12px;min-height:42px}.rm-refined-ui .bc-swap-hint{font-size:11px}.rm-refined-ui .bc-history-nav{margin-left:auto}.rm-refined-ui .bc-courts,html.rm-mobile-layout .rm-refined-ui .bc-courts{grid-template-columns:1fr;padding:0 16px 16px;gap:16px}.rm-refined-ui .bc-court-head{padding:10px 12px;font-size:12px;min-height:46px}.rm-refined-ui .bc-court-mini-btn{min-width:32px;min-height:32px}.rm-refined-ui .bc-court-card .bc-team-players{grid-template-columns:1fr!important;gap:7px}.rm-refined-ui .bc-court-card .bc-team{padding:12px}.rm-refined-ui .bc-court-card .bc-player{min-height:42px;font-size:13px;padding:8px 42px 8px 9px}.rm-refined-ui .bc-court-card .bc-player .bc-player-name{font-size:13px}.rm-refined-ui .bc-court-card .bc-info-dot{min-width:32px;width:32px;height:36px;min-height:36px}.rm-refined-ui .bc-sitout,html.rm-mobile-layout .rm-refined-ui .bc-sitout{width:calc(100% - 32px);margin:0 auto 18px}.rm-refined-ui .bc-sitout-list{grid-template-columns:1fr;gap:8px}.rm-refined-ui .bc-sitout .bc-player{min-height:44px}.rm-refined-ui .bc-drawer-head{padding:16px;gap:12px}.rm-refined-ui .bc-drawer-body{padding:16px}.rm-refined-ui .bc-drawer-head h2{font-size:19px}.rm-refined-ui .bc-setting-row{gap:12px;padding:14px 0}.rm-refined-ui .bc-setting-label{font-size:13px}.rm-refined-ui .bc-setting-help{font-size:11px;line-height:1.7}.rm-refined-ui .bc-stepper{gap:4px}.rm-refined-ui .bc-stepper span{min-width:48px;font-size:13px}.rm-refined-ui .bc-stepper button{width:32px;height:36px}.rm-refined-ui .bc-drawer .btn{min-height:42px;font-size:12px}.rm-refined-ui .bc-drawer .form-control,.rm-refined-ui .bc-drawer .form-select{font-size:16px;min-height:44px}.rm-refined-ui .bc-drawer-body>.card{padding:16px}.rm-refined-ui .rm-preview-header{padding:16px;gap:12px}.rm-refined-ui .rm-preview-header h2{font-size:20px}.rm-refined-ui .rm-preview-header p{font-size:11px}.rm-refined-ui .rm-preview-header .rm-preview-timing{gap:14px;width:100%;order:3;margin:0}.rm-refined-ui .rm-next-round-preview .bc-courts{padding:14px}.rm-refined-ui .rm-next-round-preview .bc-court-card .bc-player{min-height:40px}.rm-refined-ui .rm-planner-tabs{gap:6px}.rm-refined-ui .rm-planner-tabs .btn{font-size:12px;min-height:40px}.rm-refined-ui .rm-team-tag-dialog,.rm-refined-ui .rm-match-dialog,.rm-refined-ui .rm-player-dialog{padding:18px;width:calc(100% - 20px);border-radius:12px}.rm-refined-ui.admin-page .rm-page-content{padding:20px 16px}.rm-refined-ui.admin-page .rm-topbar{padding:10px 16px;gap:10px}.rm-refined-ui.admin-page .rm-page-heading h1{font-size:25px}.rm-refined-ui.admin-page .admin-console-body{padding:16px}.rm-refined-ui.admin-page .admin-console-form{gap:12px}.rm-refined-ui.admin-page .venue-settings-fields{grid-template-columns:1fr;gap:14px}.rm-refined-ui.admin-page .table .btn{min-height:38px;font-size:11px}.rm-refined-ui.admin-page .rm-management-sidebar.offcanvas-lg{top:0;height:100dvh}.rm-refined-ui .bc-setup,html.rm-mobile-layout .rm-refined-ui .bc-setup{width:calc(100% - 32px);padding:16px 0;gap:16px;grid-template-columns:1fr}.rm-refined-ui .bc-setup-card,.rm-refined-ui .bc-live-card{padding:16px!important}.rm-refined-ui .bc-main-roster-list{grid-template-columns:1fr 1fr;gap:7px}.rm-refined-ui .bc-main-roster-list .bc-roster-row{font-size:11px;padding:7px;min-height:36px}.rm-refined-ui .bc-live-event-grid{gap:10px}}
@media(prefers-reduced-motion:reduce){.rm-refined-ui *{scroll-behavior:auto!important;transition:none!important}}
.rm-refined-ui .bc-court-card{align-self:stretch;display:flex;flex-direction:column}.rm-refined-ui .bc-court-body{flex:1}.rm-refined-ui .bc-court-card .rm-games-badge{position:static;right:auto;bottom:auto;align-self:center;margin-left:2px;font-size:9px;padding:2px 4px;line-height:1.2}.rm-refined-ui .bc-court-card .bc-player:has(.rm-games-badge){padding-bottom:8px;padding-right:36px}.rm-refined-ui .bc-sitout-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rm-refined-ui .bc-sitout-title>.bc-session-bin{position:static!important;inset:auto!important;float:none!important;margin:0 0 0 auto!important;width:36px;height:36px;min-width:36px;min-height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#fff7f0;border:1px solid #d7bca9}.rm-refined-ui .bc-session-bin .rm-trash-icon{width:20px!important;height:20px!important}.rm-refined-ui .bc-sitout-title>.bc-session-bin.is-over{background:#f6d5cf;border-color:#b63b30}
.rm-refined-ui .bc-session-drop-tools:not(:has(*)){display:none}.rm-refined-ui .rm-access-workspace{gap:16px}.rm-refined-ui .rm-access-workspace>.rm-team-workspace-nav{margin-bottom:0}.rm-refined-ui .rm-access-feedback:empty{display:none}.rm-refined-ui .bc-drawer-body>:first-child{margin-top:0!important}.rm-refined-ui .bc-drawer-head>button:last-child{background:#f5dfd7;color:#9b332b;width:36px;height:36px;min-width:36px;min-height:36px;border:0;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;padding:0}
.rm-refined-ui .bc-live-settings-intro{padding:10px 12px;margin:0 0 12px;border-radius:7px;line-height:1.6}
/* Settings tabs keep navigation fixed while only the chosen section scrolls. */
.rm-refined-ui #drawer-root .rm-settings-tabbed{display:flex;flex-direction:column;width:min(720px,100vw);max-width:100vw;height:100dvh;overflow:hidden}
.rm-refined-ui #drawer-root .rm-settings-tabbed>.bc-drawer-head{flex:0 0 auto;position:static}
.rm-refined-ui #drawer-root .rm-settings-tabbed>.bc-drawer-body{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;padding:0}
.rm-refined-ui .rm-settings-tabs{display:flex;flex:0 0 auto;gap:0;overflow:auto;position:relative;padding:0 20px;margin:0;border-bottom:1px solid var(--border);background:var(--surface);scrollbar-width:thin}
.rm-refined-ui .rm-settings-tabs [role=tab]{flex:1 0 auto;min-height:46px;padding:11px 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--ink-mid);font:600 13px/1.2 var(--font-body);white-space:nowrap;cursor:pointer}
.rm-refined-ui .rm-settings-tabs [role=tab][aria-selected=true]{color:var(--green);border-bottom-color:var(--green);background:var(--green-lt)}
.rm-refined-ui .rm-settings-tabs [role=tab]:hover{background:var(--card2)}
.rm-refined-ui .rm-settings-tabs [role=tab]:focus-visible{outline:2px solid var(--green);outline-offset:-4px}
.rm-refined-ui .rm-settings-panel{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px;scrollbar-gutter:stable}
.rm-refined-ui .rm-settings-panel[hidden]{display:none!important}
.rm-refined-ui .rm-settings-panel>.card{padding:18px;margin:0 0 16px}
.rm-refined-ui .rm-settings-panel>:last-child{margin-bottom:0}
.rm-refined-ui .rm-settings-panel>.bc-live-settings{margin-bottom:16px}
@media(max-width:699px){
 .rm-refined-ui .rm-settings-tabs{padding:0 8px}
 .rm-refined-ui .rm-settings-tabs [role=tab]{flex:0 0 auto;padding:11px 13px;min-height:46px;font-size:12px}
 .rm-refined-ui .rm-settings-panel{padding:16px}
 .rm-refined-ui .rm-settings-panel>.card{padding:16px}
}

.rm-refined-ui .rm-settings-panel>.card .d-flex.flex-wrap>.btn{flex:1 1 180px;min-height:44px}
/* Keep settings above the live board and its notices. */
.rm-refined-ui #drawer-root>.bc-drawer-backdrop:has(>.rm-settings-tabbed){z-index:80}
/* Board notices sit below open drawers and their navigation. */
.rm-refined-ui:has(#drawer-root>.bc-drawer-backdrop) .rm-plan-notice{display:none}
/* Tabler's shared 24-unit geometry gives navigation and action icons one weight. */
.rm-refined-ui .rm-tabler-icon{display:inline-block;vertical-align:middle;flex-shrink:0;stroke-width:2!important}
.rm-refined-ui .btn>.rm-tabler-icon{flex-shrink:0}

/* Bootstrap close buttons use the same Tabler X; their existing colour filters remain. */
.rm-refined-ui .btn-close{background-image:url("data:image/svg+xml,%3Csvg%0A%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20width%3D%2224%22%0A%20%20height%3D%2224%22%0A%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20fill%3D%22none%22%0A%20%20stroke%3D%22%23000%22%0A%20%20stroke-width%3D%222%22%0A%20%20stroke-linecap%3D%22round%22%0A%20%20stroke-linejoin%3D%22round%22%0A%20%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-x%22%0A%3E%0A%20%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M18%206l-12%2012%22%20%2F%3E%0A%20%20%3Cpath%20d%3D%22M6%206l12%2012%22%20%2F%3E%0A%3C%2Fsvg%3E")!important;background-size:16px 16px}

/* Keep form and match-report actions comfortable on touch screens. */
.rm-refined-ui .rm-login-dialog :is(button,input),.rm-refined-ui #ddlc-editor .btn{min-height:44px}

.rm-refined-ui :is(.rm-member-access,.rm-access-role-controls) .btn{min-height:44px}
.rm-refined-ui .rm-court-use{position:relative;z-index:2;flex-shrink:0}

.rm-refined-ui.admin-page .table .rm-member-access button{min-height:44px}

.rm-refined-ui.admin-page .rm-members-grid .rm-member-toggle{padding:0;gap:10px;justify-content:flex-start;min-height:44px}

.rm-refined-ui.admin-page .rm-members-grid .table :is(td,th){padding:12px 10px}
@media(min-width:768px){.rm-refined-ui.admin-page .rm-member-table-wrap>.table>thead>tr>th:first-child{padding-left:76px}}

.rm-refined-ui .rm-team-list li{flex-wrap:wrap;align-items:flex-start}
.rm-refined-ui .rm-team-list li>div:first-child{flex:1 1 140px}
.rm-refined-ui .rm-team-list li>.rm-team-profile-actions{display:flex;flex:0 1 auto;gap:6px;flex-wrap:wrap}
@media(max-width:699px){.rm-refined-ui .rm-team-profile-actions .btn{min-height:44px}}

.rm-refined-ui .rm-team-editor-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border,#e2ceb0);border-radius:14px;color:var(--ink,#173e32);background:var(--cream,#fffaf0)}
.rm-team-editor-dialog::backdrop{background:rgb(15 38 30 / .48)}
.rm-team-editor-dialog>header,.rm-team-editor-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}
.rm-team-editor-dialog h2{margin:0;font-size:22px}.rm-team-editor-dialog h3{font-size:17px;margin:18px 0 6px}.rm-team-editor-dialog fieldset{padding:0;border:0;min-width:0}.rm-team-editor-body{padding:0 20px;max-height:calc(100dvh - 215px);overflow-y:auto}.rm-team-editor-dialog footer{justify-content:flex-end}.rm-team-editor-dialog #team-save-result:empty{display:none}.rm-team-editor-dialog #team-save-result{margin:0;padding:0 20px 16px;color:var(--bs-danger,#b44040)}
.rm-selected-roster{list-style:none;margin:0 0 16px;padding:0}.rm-selected-roster li{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border,#e2ceb0)}.rm-selected-roster li>span{flex:1;min-width:0;overflow-wrap:anywhere}.rm-selected-roster label{display:flex;gap:6px;align-items:center;white-space:nowrap;min-height:44px}.rm-team-editor-dialog .btn-icon{min-width:40px;min-height:40px;padding:8px}.rm-team-editor-dialog .btn{min-height:40px}.rm-roster-results{max-height:220px;overflow-y:auto;margin:8px 0}.rm-roster-results p{font-size:13px;margin:8px 0}.rm-roster-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:8px 10px;color:inherit;background:transparent;border:0;border-bottom:1px solid var(--border,#e2ceb0);text-align:left}.rm-roster-result:hover,.rm-roster-result:focus-visible{background:var(--bs-primary-bg-subtle,#e5efe8)}.rm-roster-result small{display:block;font-size:12px}.rm-roster-result>span:last-child{font-weight:600}
@media(max-width:600px){.rm-refined-ui .rm-team-editor-dialog{max-height:calc(100dvh - 16px)}.rm-team-editor-dialog>header,.rm-team-editor-dialog footer{padding:14px 16px}.rm-team-editor-body{padding:0 16px}.rm-team-editor-dialog .btn{min-height:44px}.rm-selected-roster{font-size:13px}.rm-selected-roster li{gap:8px}}
