.bb-workspace{--bb-ink:#16324d;--bb-blue:#2463df;max-width:1560px;margin:auto;color:var(--bb-ink);font-size:14px}.bb-workspace *,.bb-screen *,.bb-book *{box-sizing:border-box}.bb-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;background:#fff;border:1px solid #e0e8f1;border-radius:16px;margin-bottom:18px}.bb-heading h1{font-size:24px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}.bb-heading p{margin:5px 0 0;color:#75859a}.bb-eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#b46a19}.bb-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bb-workspace .el-button+.el-button,.bb-dialog .el-button+.el-button{margin-left:0}.bb-summary{display:grid;grid-template-columns:repeat(4,1fr);background:#102d49;color:white;border-radius:14px;margin-bottom:18px;padding:20px}.bb-summary>div{padding:0 22px;border-right:1px solid #ffffff26;display:flex;flex-direction:column;gap:6px}.bb-summary>div:last-child{border:0}.bb-summary b{font-size:28px;font-variant-numeric:tabular-nums}.bb-summary b small{font-size:16px;color:#b1c3d7}.bb-summary span{font-size:12px;color:#b1c3d7}.bb-tabs,.bb-leader-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:16px;scrollbar-width:thin}.bb-tabs button,.bb-leader-tabs button{background:white;border:1px solid #dce5ef;border-radius:8px;padding:11px 20px;white-space:nowrap;cursor:pointer;color:#52677d}.bb-tabs button.active,.bb-leader-tabs button.active{background:#173b5e;color:white;border-color:#173b5e}.bb-panel{background:white;border:1px solid #e0e8f1;border-radius:14px;padding:22px;margin-bottom:18px;min-width:0}.bb-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.bb-panel h2{margin:0;font-size:17px}.bb-panel small{color:#7b8da1;line-height:1.6}.bb-panel-head small{display:block;margin-top:5px}.bb-table-wrap{overflow:auto;max-width:100%;border:1px solid #e1e8f1;border-radius:10px}.bb-table{width:100%;border-collapse:collapse;font-size:13px;text-align:center}.bb-table th{background:#f3f6fa;color:#657990;font-weight:600;padding:12px 8px;white-space:nowrap}.bb-table td{padding:12px 8px;border:1px solid #e7edf4;white-space:nowrap}.bb-table tr:nth-child(even){background:#fafcfe}.bb-table td small{display:block}.bb-inline{display:flex;justify-content:center;align-items:center;gap:4px;white-space:nowrap}.bb-tag{display:inline-block;border-radius:5px;padding:3px 8px;background:#eef2f7;color:#65758b;font-size:12px}.bb-tag[data-status=live],.bb-tag[data-status=pending]{background:#fff0da;color:#b26400}.bb-tag[data-status=approved],.bb-tag[data-status=final]{background:#e6f6f0;color:#16805f}.bb-tag[data-status=rejected]{background:#fff0ef;color:#c64541}.bb-emphasis{font-weight:800;color:#2260ce}.bb-empty{padding:65px 20px;text-align:center;color:#7e90a5;background:#fff;border-radius:12px}.bb-meet-list{display:grid;gap:12px}.bb-meet-list>button{display:flex;align-items:center;gap:20px;text-align:left;padding:24px;background:white;border:1px solid #e0e8f1;border-radius:14px;cursor:pointer;color:#173650}.bb-meet-list>button>div{flex:1}.bb-meet-list strong{display:block;font-size:18px}.bb-meet-list small{display:block;margin-top:8px;color:#8190a4}.bb-ball{color:#dc842e;font-size:42px}.bb-pagination{justify-content:center;margin:20px 0 0;flex-wrap:wrap}.bb-filter{display:flex;gap:10px;align-items:center;margin-bottom:16px}.bb-filter input{flex:1;max-width:400px}.bb-filter select{width:140px}.bb-filter span{margin-left:auto;color:#8190a4;white-space:nowrap}.bb-workspace input:not([type=checkbox]),.bb-workspace select,.bb-dialog input:not([type=checkbox]),.bb-dialog select,.bb-dialog textarea{width:100%;min-width:0;border:1px solid #d8e3ef;background:#fff;border-radius:7px;padding:9px 11px;font:inherit;color:#213f5a;outline:none}.bb-workspace input:focus,.bb-dialog input:focus,.bb-dialog textarea:focus,.bb-workspace select:focus{border-color:#5687e9;box-shadow:0 0 0 2px #2674ef15}.bb-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bb-form label{display:flex;flex-direction:column;gap:7px;color:#5b6f83;font-size:13px}.bb-form .bb-wide{grid-column:1/-1}.bb-form .bb-check{flex-direction:row;align-items:center}.bb-form input[type=checkbox]{width:auto}.bb-roster-editor{margin:20px 0}.bb-roster-editor>div{display:grid;grid-template-columns:65px 1fr 1.2fr 26px;gap:8px;margin-bottom:8px;align-items:center}.bb-roster-head{font-size:12px;color:#7b8da1}.bb-roster-editor button{border:0;background:transparent;color:#cf5e5e;font-size:22px;cursor:pointer}.bb-game-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bb-game-list article{border:1px solid #e2e9f1;border-radius:12px;padding:18px}.bb-game-meta{display:flex;justify-content:space-between;gap:10px;color:#7b8da1;font-size:12px}.bb-matchup{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;text-align:center;padding:24px 0}.bb-matchup strong{overflow-wrap:anywhere}.bb-matchup b{font-size:27px;white-space:nowrap;font-variant-numeric:tabular-nums}.bb-game-list footer{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#8291a2;border-top:1px solid #eef2f6;padding-top:12px}.bb-book-options{padding:40px}.bb-book-options h2{font-size:24px;margin-top:12px}.bb-book-options p{color:#64788d;line-height:1.8}.bb-book-options small{display:block;margin-top:18px}.bb-connection{display:flex;gap:10px;color:#23886b;font-size:12px;margin:0 3px 10px}.bb-connection span{color:#8291a2}.bb-connection.offline,.bb-screen-connection.offline{color:#e27c4f}.bb-scoreboard{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;text-align:center;background:linear-gradient(120deg,#0d2944,#183f62);color:white;padding:24px;border-radius:16px}.bb-score-team>span{font-size:20px;font-weight:600;display:block}.bb-score-team>strong{font-size:80px;line-height:1.35;font-variant-numeric:tabular-nums;display:block}.bb-score-team small{color:#b4c5d8;font-size:12px}.bb-score-team small b{color:#ffd37b}.bb-game-clock>span{font-size:13px;color:#bdd1e4}.bb-game-clock>strong{display:block;color:#ffcd72;font-size:58px;font-weight:700;font-variant-numeric:tabular-nums}.bb-game-clock>div{font-size:13px;color:#b7cadd;margin:6px 0}.bb-game-clock>div b{font-size:24px;color:white;margin:0 6px}.bb-game-clock>small{color:#adc1d5}.bb-clock-controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:16px 0}.bb-clock-controls button{padding:12px 22px;border:1px solid #d5e1ed;background:white;border-radius:8px;color:#274962;font:inherit;cursor:pointer}.bb-clock-controls .bb-primary{background:#1d69df;color:white;border-color:#1d69df;min-width:110px;font-weight:700}.bb-live-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.bb-team-switch{display:flex;gap:8px;margin-bottom:14px}.bb-team-switch button{flex:1;padding:12px;border:1px solid #dbe5ef;background:white;color:#61768c;border-radius:8px;font-weight:600;cursor:pointer}.bb-team-switch button.active{color:#215dc0;border-color:#9cbced;background:#edf4ff}.bb-roster-panel .bb-panel-head{font-size:12px;color:#8190a4}.bb-player-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.bb-player-grid button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 5px;border:1px solid #dde6f0;border-radius:9px;background:#fff;color:#36536d;cursor:pointer}.bb-player-grid button b{font-size:20px}.bb-player-grid button strong{font-size:13px}.bb-player-grid button.active{background:#173b5e;color:white;border-color:#173b5e}.bb-player-grid button small{font-size:10px}.bb-player-grid button.out{background:#fff0ed;color:#b65c49}.bb-stat-pad header{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.bb-stat-pad header>span{font-weight:700;font-size:18px}.bb-stat-pad>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bb-stat-pad button{border:1px solid #dce6ef;background:#f3f7fc;color:#24476b;border-radius:9px;min-height:52px;font:inherit;font-weight:600;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}.bb-stat-pad button.bb-made{background:#e8f7f1;color:#17845e;border-color:#b8e2d1}.bb-stat-pad button.bb-foul{color:#b76c29;background:#fff6e9;border-color:#f2ddbb}.bb-workspace button:disabled{opacity:.4;cursor:not-allowed}.bb-box-table{font-variant-numeric:tabular-nums}.bb-final-banner{display:flex;align-items:center;justify-content:center;gap:18px;padding:22px}.bb-event-list{list-style:none;margin:0;padding:0}.bb-event-list li{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #eef2f6;font-size:13px}.bb-event-list li>span:first-child{flex:1}.bb-event-list li.voided{color:#9ba7b5}.bb-event-list li.voided>span:first-child{text-decoration:line-through}.bb-forfeit{text-align:right}.bb-lineup-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bb-lineup-options label{display:flex;align-items:center;gap:7px;padding:12px;background:#f5f8fc;border-radius:7px}.bb-error{padding:14px;background:#fff1e1;color:#b46727;border-radius:8px}.bb-screen{min-height:100dvh;background:radial-gradient(ellipse at top,#1b3d60,#08182b 70%);color:#f4f7fb;padding:24px 4vw;font-family:system-ui,sans-serif}.bb-screen header{display:grid;grid-template-columns:1fr 3fr 1fr;align-items:center;gap:20px;border-bottom:1px solid #ffffff24;padding-bottom:18px}.bb-screen header>span{color:#ffbd65;letter-spacing:3px;font-size:12px;font-weight:700}.bb-screen h1{text-align:center;margin:0;font-size:clamp(18px,2vw,32px)}.bb-screen header button{justify-self:end;background:#ffffff0d;border:1px solid #ffffff30;padding:8px 14px;color:#bdcfe2;border-radius:8px;cursor:pointer}.bb-screen-connection{text-align:center;font-size:12px;color:#75c4a9;margin:12px}.bb-screen-score{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;text-align:center;gap:20px;padding:8px 0}.bb-screen-score h2{font-size:clamp(18px,2.7vw,44px);margin:10px}.bb-screen-score strong{font-size:clamp(65px,9vw,150px);font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums}.bb-screen-score p{color:#a3b8ce}.bb-screen-clock>b{display:block;font-size:clamp(40px,6vw,100px);color:#ffce7f;font-variant-numeric:tabular-nums}.bb-screen-clock>span{display:inline-block;border:1px solid #ffffff26;border-radius:6px;padding:6px 16px;color:#a9c0da}.bb-screen-periods{display:flex;gap:20px;justify-content:center;padding:14px;border-top:1px solid #ffffff1a;border-bottom:1px solid #ffffff1a;color:#9cafc5}.bb-screen-periods b{color:#fff;margin-left:8px}.bb-screen-players{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}.bb-screen-players>div{background:#ffffff05;border:1px solid #ffffff1a;border-radius:10px;overflow:hidden}.bb-screen-players h3{margin:0;padding:12px 18px;border-bottom:1px solid #ffffff1a;font-size:16px;color:#afc9e5}.bb-screen table{width:100%;border-collapse:collapse;text-align:center;font-size:clamp(12px,1.1vw,18px)}.bb-screen th{color:#89a5c2;font-weight:400}.bb-screen td,.bb-screen th{padding:6px 12px;border-bottom:1px solid #ffffff0d}.bb-screen td:first-child{text-align:left}.bb-screen td small{color:#f0b561;margin-right:8px}.bb-screen footer{display:flex;justify-content:space-between;color:#6e8aa8;font-size:12px;margin-top:20px}.bb-book{max-width:1000px;margin:auto;color:#17334e}.bb-print-toolbar{display:flex;align-items:center;gap:16px;justify-content:center;margin-bottom:20px}.bb-book-cover{background:linear-gradient(145deg,#112e4a,#1b4b70);color:white;text-align:center;min-height:900px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 50px}.bb-book-cover>div:first-child{letter-spacing:5px;font-size:12px;color:#e9b96f}.bb-book-ball{font-size:100px;color:#e9b96f;margin:30px}.bb-book-cover h1{font-size:38px;line-height:1.6}.bb-book-cover h2{font-size:26px;letter-spacing:10px;font-weight:400}.bb-book-cover p{margin:8px}.bb-book-cover footer{margin-top:70px;font-size:14px;line-height:2.4;color:#b3c9db}.bb-book-section{background:#fff;padding:40px;margin-top:20px}.bb-book-section h2{font-size:23px;border-bottom:2px solid #17334e;padding-bottom:16px}.bb-book-section pre{white-space:pre-wrap;font:inherit;line-height:2}.bb-book-section p,.bb-book-section li{line-height:1.8}.bb-book-section h3 small{font-weight:400;font-size:12px}.bb-book table{width:100%;border-collapse:collapse;font-size:12px;text-align:center}.bb-book td,.bb-book th{padding:7px 5px;border:1px solid #b9c7d3;overflow-wrap:anywhere}.bb-book th{background:#edf2f6}.bb-book article{margin-bottom:28px}.bb-signatures{margin-top:40px}.bb-book-roster{break-inside:avoid}
@media(max-width:900px){.bb-live-grid{grid-template-columns:1fr}.bb-player-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.bb-game-list{grid-template-columns:1fr}.bb-heading{align-items:flex-start}.bb-heading h1{font-size:20px}}
@media(max-width:600px){.bb-heading{padding:16px;gap:12px;flex-direction:column;margin-bottom:12px}.bb-heading h1{font-size:18px}.bb-heading p{font-size:12px}.bb-heading .bb-actions{width:100%}.bb-eyebrow{font-size:9px;letter-spacing:1px}.bb-summary{padding:14px 6px;margin-bottom:12px}.bb-summary>div{padding:0 8px}.bb-summary b{font-size:21px}.bb-summary b small{font-size:11px}.bb-summary span{font-size:10px}.bb-tabs{gap:6px;margin-bottom:12px}.bb-tabs button{font-size:12px;padding:10px 13px}.bb-panel{padding:14px;margin-bottom:12px;border-radius:12px}.bb-panel-head{gap:10px;flex-wrap:wrap;margin-bottom:12px}.bb-panel h2{font-size:16px}.bb-panel-head small{font-size:11px}.bb-meet-list>button{padding:16px;gap:12px}.bb-meet-list strong{font-size:16px}.bb-meet-list>button>span:last-child{font-size:11px}.bb-ball{font-size:30px}.bb-form{grid-template-columns:1fr}.bb-roster-editor>div{grid-template-columns:45px 1fr 1fr 22px;gap:5px}.bb-dialog{width:calc(100% - 24px)!important;max-width:720px}.bb-dialog .el-dialog__body{max-height:65dvh;overflow:auto}.bb-filter{flex-wrap:wrap}.bb-filter input{max-width:none;flex-basis:100%}.bb-filter select{width:140px}.bb-game-list article{padding:12px}.bb-matchup{gap:8px;padding:20px 0}.bb-matchup strong{font-size:13px}.bb-matchup b{font-size:23px}.bb-game-list footer{flex-wrap:wrap}.bb-leader-tabs button{font-size:12px;padding:8px 12px}.bb-book-options{padding:22px}.bb-book-options h2{font-size:20px}.bb-scoreboard{padding:15px 8px;grid-template-columns:1fr 1.15fr 1fr}.bb-score-team>span{font-size:13px;overflow-wrap:anywhere}.bb-score-team>strong{font-size:48px}.bb-score-team small{font-size:10px}.bb-score-team small b{display:block}.bb-game-clock>strong{font-size:34px}.bb-game-clock>span{font-size:11px}.bb-game-clock>small{font-size:9px}.bb-game-clock>div{margin:3px 0;font-size:11px}.bb-game-clock>div b{font-size:18px}.bb-clock-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 0}.bb-clock-controls button{padding:11px 6px;font-size:12px;min-width:0}.bb-clock-controls .bb-primary{min-width:0}.bb-player-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.bb-player-grid button{padding:7px 3px}.bb-player-grid button b{font-size:17px}.bb-player-grid button strong{font-size:12px}.bb-stat-pad button{font-size:13px;min-height:48px}.bb-stat-pad header>span{font-size:16px}.bb-event-list li{flex-wrap:wrap;gap:5px;font-size:12px}.bb-event-list li>span:first-child{flex-basis:100%}.bb-event-list li small{flex:1}.bb-lineup-options{gap:7px}.bb-lineup-options label{font-size:12px;padding:10px}.bb-table td,.bb-table th{padding:10px 7px;font-size:12px}.bb-screen{padding:16px 12px}.bb-screen header{grid-template-columns:1fr auto;gap:10px}.bb-screen header>span{display:none}.bb-screen h1{text-align:left;font-size:17px}.bb-screen-score{gap:4px}.bb-screen-score h2{font-size:14px;margin:5px}.bb-screen-score strong{font-size:54px}.bb-screen-clock>b{font-size:34px}.bb-screen-score p{font-size:11px}.bb-screen-players{grid-template-columns:1fr;gap:12px}.bb-screen-periods{gap:12px;flex-wrap:wrap;font-size:11px}.bb-screen footer{gap:12px}.bb-book-section{padding:16px}.bb-book-cover{min-height:650px;padding:30px 20px}.bb-book-cover h1{font-size:26px}.bb-book{overflow-x:auto}.bb-print-toolbar{flex-wrap:wrap}.bb-book table{font-size:10px}}
@media print{@page{size:A4;margin:14mm}.bb-print-view body{background:white}.bb-print-view .sidebar,.bb-print-view .topbar,.bb-print-view .mobile-bottom-nav,.bb-print-view .support-hub,.bb-print-view .bb-print-toolbar{display:none!important}.bb-print-view #app{display:block!important}.bb-print-view .bb-book{max-width:none;margin:0;width:100%}.bb-print-view .bb-book-cover{min-height:260mm;break-after:page;margin:0;padding:20mm;color:#17334e;background:white;border:2px solid #17334e}.bb-print-view .bb-book-cover footer{color:#17334e}.bb-print-view .bb-book-section{break-before:page;margin:0;padding:0}.bb-print-view table thead{display:table-header-group}.bb-print-view tr{break-inside:avoid}.bb-print-view .bb-book h2,.bb-print-view .bb-book h3{break-after:avoid}.bb-print-view .bb-book td,.bb-print-view .bb-book th{font-size:9pt;padding:5px 3px}.bb-print-view .bb-signatures{break-inside:avoid}}
@media print{body.bb-print-view .main-container{margin:0!important;padding:0!important;width:100%!important;height:auto!important;overflow:visible!important}body.bb-print-view .page-content{padding:0!important;margin:0!important;height:auto!important;overflow:visible!important;max-width:none!important}body.bb-print-view .mobile-tabbar,body.bb-print-view .topbar,body.bb-print-view .sidebar,body.bb-print-view [class^=support-]{display:none!important}body.bb-print-view,body.bb-print-view #app,body.bb-print-view #app>div{height:auto!important;overflow:visible!important;background:white!important}body.bb-print-view .bb-book{overflow:visible!important}}
.bb-award-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #f0dfbd;background:#fffaf0;border-radius:12px;padding:18px 8px;margin:0 0 20px}.bb-award-strip article{text-align:center;padding:0 14px;border-right:1px solid #ecdfc5;min-width:0}.bb-award-strip article:last-child{border:0}.bb-award-strip span{font-size:12px;color:#98722f}.bb-award-strip strong{display:block;font-size:34px;color:#996619;line-height:1.6}.bb-award-strip small{display:block;overflow-wrap:anywhere;color:#76684f}
@media(min-width:901px){.bb-screen{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:2vh 4vw}.bb-screen header{flex-shrink:0;padding-bottom:1.3vh}.bb-screen-score{flex-shrink:0;padding:0}.bb-screen-score strong{font-size:12vh}.bb-screen-score h2{font-size:3.2vh;margin:1vh}.bb-screen-clock>b{font-size:8vh}.bb-screen-score p{margin:1vh 0;font-size:1.5vh}.bb-screen-periods{padding:1vh;flex-shrink:0}.bb-screen-players{flex:1;min-height:0;margin-top:1.5vh;overflow:hidden}.bb-screen-players>div{display:flex;flex-direction:column;min-height:0}.bb-screen-players table{flex:1;height:100%;font-size:clamp(11px,1.8vh,21px)}.bb-screen-players h3{padding:1vh 16px;font-size:1.8vh}.bb-screen td,.bb-screen th{padding:.35vh 12px}.bb-screen footer{flex-shrink:0;margin-top:1.2vh}}
@media(max-width:600px){.bb-award-strip{padding:12px 2px}.bb-award-strip article{padding:0 6px}.bb-award-strip span,.bb-award-strip small{font-size:10px}.bb-award-strip strong{font-size:25px}.bb-score-workspace .bb-heading{padding:12px 14px}.bb-score-workspace .bb-heading h1{font-size:16px;margin:4px 0}.bb-score-workspace .bb-heading p{font-size:10px}}
.bb-device-panel p{line-height:1.7;color:#708399}.bb-device-form{display:flex;align-items:end;gap:12px;margin-bottom:18px;flex-wrap:wrap}.bb-device-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#60778c}.bb-device-form label:first-child{flex:1;min-width:180px}.bb-device-issued{padding:16px;background:#f1f7ff;border:1px solid #d8e5f7;border-radius:10px;margin-bottom:16px}.bb-device-issued strong{display:block;font-size:13px;margin-bottom:8px}.bb-device-issued .bb-actions{margin:12px 0}.bb-device-issued small{line-height:1.8;color:#6a8096}.bb-device-panel a{color:#2463df;text-decoration:none}
.bb-device-mobile-list{display:none}@media(max-width:600px){.bb-device-desktop-table{display:none}.bb-device-mobile-list{display:block}.bb-device-mobile-list article{padding:10px 0;border-bottom:1px solid #e0e8f1}.bb-device-mobile-list header,.bb-device-mobile-list article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.bb-device-mobile-list strong{font-size:14px;overflow-wrap:anywhere}.bb-device-mobile-list small{font-size:11px;color:#7a8d9f}.bb-device-mobile-list article>div{font-size:12px;line-height:2}.bb-device-mobile-list article>div>span{color:#318466}}
/* Standalone receivers do not inherit the application-wide border-box reset. */
.bb-screen{box-sizing:border-box}
.bb-api-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid #d9e4f2;border-radius:6px;color:#2463df;text-decoration:none;background:#fff;font-size:14px;white-space:nowrap}.bb-registration{margin-top:16px}.bb-registration-class{display:grid;gap:8px;max-width:100%;font-weight:600}.bb-registration-class .el-select{width:100%}.bb-registration-hint{font-size:12px;color:#748599;line-height:1.6;margin:10px 0}.bb-registration-photo,.bb-recognized{display:grid;gap:12px;background:#f3f7fd;border:1px solid #dbe7f5;border-radius:10px;padding:14px;margin-bottom:12px}.bb-registration-photo small{color:#718198;line-height:1.6}.bb-registration-photo input[hidden]{display:none}.bb-recognized ul{margin:0;padding-left:20px;line-height:1.8}.bb-student-search{display:flex;gap:10px;margin-bottom:14px}.bb-student-options{max-height:380px;overflow:auto;min-height:100px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.bb-student-options>label{padding:8px 6px;border-bottom:1px solid #edf1f7}.bb-student-options .el-checkbox{white-space:normal;height:auto;align-items:flex-start}.bb-student-options small{display:block;color:#8491a5;margin-top:4px}.bb-registration-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px;font-size:12px}.bb-registration-settings{grid-column:1/-1;display:grid;gap:8px}.bb-registration-settings .el-select{width:100%}@media(max-width:600px){.bb-student-options{grid-template-columns:1fr;max-height:46vh}.bb-registration-pager{gap:6px}.bb-registration-photo .bb-actions{flex-wrap:wrap}.bb-registration-photo .bb-actions>*{flex:1}.bb-api-link{font-size:12px;padding:7px 10px}}

.bb-period-editor{border:1px solid #dce5ee;border-radius:12px;padding:14px;margin-bottom:16px;min-width:0;background:#f8fafc}.bb-period-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.bb-period-head strong{font-size:14px}.bb-period-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.bb-period-row>span{width:66px;flex:none;font-size:13px}.bb-period-row .el-input-number{width:140px;max-width:100%}.bb-period-row>small{font-size:12px;color:#8191a3}.bb-period-hint{display:block;margin-top:10px;color:#8191a3;font-size:12px;line-height:1.6}.bb-period-add{margin-top:4px}.bb-period-row .el-button{margin-left:auto;padding:8px}.bb-period-editor .el-button+.el-button{margin-left:8px}@media(max-width:600px){.bb-period-editor{padding:12px}.bb-period-row{gap:6px}.bb-period-row>span{width:56px}.bb-period-row .el-input-number{width:110px;flex:1;min-width:70px}.bb-period-row .el-button{flex:none}.bb-period-head{gap:8px}.bb-period-hint{font-size:11px}}

/* Compact tournament overview; scoring desk and public screens keep their layout. */
.bb-mobile-tools,.bb-tab-short{display:none}
@media(max-width:600px){
.bb-tournament>.bb-heading{position:relative;display:flex;flex-direction:column;padding:12px 14px;gap:0;border-radius:12px;margin-bottom:10px}
.bb-tournament>.bb-heading>div:first-child{width:100%;min-width:0;padding-top:30px}
.bb-tournament>.bb-heading .bb-eyebrow,.bb-tournament>.bb-heading .bb-heading-actions{display:none}
.bb-tournament>.bb-heading h1{font-size:16px;line-height:1.45;margin:2px 0 6px}
.bb-tournament>.bb-heading p{font-size:12px;line-height:1.5;margin:0}
.bb-mobile-tools{position:absolute;top:4px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:center}
.bb-mobile-tools .el-button{height:32px;padding:6px;font-size:12px}
.bb-tournament>.bb-summary{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0 0;border-radius:12px;margin-bottom:10px;gap:10px 0}
.bb-tournament>.bb-summary>div{padding:0 10px;text-align:center;gap:3px}
.bb-tournament>.bb-summary>div:nth-child(3){border:0}
.bb-tournament>.bb-summary>div:last-child{grid-column:1/-1;flex-direction:row;align-items:baseline;justify-content:center;flex-wrap:wrap;padding:8px 12px;border-top:1px solid #ffffff20;gap:4px 8px;text-align:left}
.bb-tournament>.bb-summary>div:last-child b{font-size:12px;white-space:nowrap}
.bb-tournament>.bb-summary>div:last-child span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.bb-tournament>.bb-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:visible;border-bottom:1px solid #dce5ef;margin-bottom:10px}
.bb-tournament>.bb-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:10px 0;font-size:13px;min-width:0;color:#657990}
.bb-tournament>.bb-tabs button.active{background:transparent;color:#e56b36;border-bottom-color:#e56b36;font-weight:600}
.bb-tournament .bb-tab-full{display:none}.bb-tournament .bb-tab-short{display:inline}
.bb-tournament .bb-panel-head{align-items:center}.bb-teams-panel .bb-panel-head{flex-wrap:nowrap}
.bb-teams-panel .bb-panel-head h2{font-size:15px}.bb-teams-panel .bb-panel-head small{display:none}
.bb-teams-panel .bb-panel-head>.el-button{flex-shrink:0;padding:8px 12px;height:34px;font-size:12px}
.bb-tournament .bb-empty{padding:30px 8px;font-size:13px}
.bb-team-table{border:0;overflow:visible}.bb-team-table table,.bb-team-table tbody{display:block;width:100%}.bb-team-table thead{display:none}
.bb-team-table tr{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px 4px;border:1px solid #e1e8f1;border-radius:10px;padding:12px;margin-top:10px;background:#fff!important}
.bb-team-table td{display:block;border:0;padding:0!important;text-align:left;white-space:normal;min-width:0;overflow-wrap:anywhere}
.bb-team-table td:first-child{grid-column:1/3;grid-row:1;font-size:14px}.bb-team-table td:nth-child(5){grid-column:3;grid-row:1;text-align:right}
.bb-team-table td[data-label]{font-size:12px;color:#657990}.bb-team-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#8b9bad;margin-bottom:3px}
.bb-team-table td:last-child{grid-column:1/-1;border-top:1px solid #eef2f6;padding-top:6px!important}.bb-team-table .bb-inline{justify-content:flex-end;flex-wrap:wrap;gap:0}.bb-team-table .bb-inline .el-button{min-height:32px;padding:6px 10px}
}

.bb-registration-settings>span{font-size:13px;color:#5b6f83}.bb-dialog .bb-registration-settings .el-select__input{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;border-radius:0;min-height:0}

/* Explicit sizing prevents generic form rules from stretching schedule controls. */
.bb-tournament .bb-filter{display:grid;grid-template-columns:minmax(220px,420px) 150px auto;gap:10px;align-items:center}
.bb-tournament .bb-filter input,.bb-tournament .bb-filter select{width:100%;max-width:none;min-width:0;height:38px;font-size:13px}
.bb-tournament .bb-filter>span{margin-left:0;font-size:12px}
.el-message-box.bb-schedule-confirm{width:440px;max-width:calc(100vw - 32px);box-sizing:border-box;border:1px solid #e3eaf2;border-radius:16px;padding:24px;box-shadow:0 20px 70px #142a4533;text-align:left}
.bb-schedule-confirm .el-message-box__header{padding:0 28px 14px 0}.bb-schedule-confirm .el-message-box__title{font-size:18px;font-weight:600;color:#203951}.bb-schedule-confirm .el-message-box__content{padding:0;font-size:14px;line-height:1.8;color:#657990}.bb-schedule-confirm .el-message-box__btns{padding:22px 0 0;gap:10px}.bb-schedule-confirm .el-message-box__btns .el-button{margin:0;height:36px;padding:0 18px;border-radius:8px}.bb-schedule-confirm .el-message-box__headerbtn{top:18px;right:18px}
@media(max-width:600px){.bb-tournament .bb-filter{grid-template-columns:minmax(0,1fr) auto}.bb-tournament .bb-filter input{grid-column:1/-1}.bb-tournament .bb-filter select{width:140px}.bb-tournament .bb-filter>span{text-align:right}.el-message-box.bb-schedule-confirm{padding:20px}.bb-schedule-confirm .el-message-box__btns .el-button{flex:1}}

.bb-format-options{display:grid;gap:8px;margin-bottom:18px}.bb-format-options button{border:1px solid #dce5ef;border-radius:10px;padding:12px 14px;background:#fff;text-align:left;color:#29475f;cursor:pointer}.bb-format-options button.active{border-color:#3883d6;background:#f0f6ff;box-shadow:inset 3px 0 #3883d6}.bb-format-options strong{font-size:14px;display:block}.bb-format-options small{display:block;color:#7b8da1;margin-top:5px}.bb-schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px}.bb-schedule-fields>div{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#657990}.bb-schedule-fields .el-input-number{width:100%}.bb-schedule-teams{max-height:220px;overflow:auto;border:1px solid #e1e8f1;border-radius:8px;padding:0 12px}.bb-schedule-teams>div{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #edf1f6}.bb-schedule-teams>div>span{flex:1;min-width:0;font-size:13px;overflow-wrap:anywhere}.bb-schedule-teams .el-select{width:90px;flex:none}.bb-schedule-preview{padding:12px;background:#f4f7fb;border-radius:8px;font-weight:600;color:#24476b}.bb-schedule-note{display:block;color:#7b8da1;font-size:12px;line-height:1.7;margin-top:10px}.bb-format-caption{font-size:13px;color:#4e7294;margin-bottom:12px}.bb-dialog.bb-schedule-dialog .el-select__input{border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
@media(max-width:600px){.bb-schedule-dialog{margin-top:5vh!important}.bb-schedule-dialog .el-dialog__body{max-height:65dvh}.bb-schedule-fields{gap:10px}.bb-format-options button{padding:10px 12px}}
/* Professional recording console and competition programme. */
.bb-score-team{position:relative}.bb-score-logo{width:44px;height:44px;object-fit:contain;border-radius:8px;background:#ffffff12}.bb-team-logo{width:30px;height:30px;object-fit:contain;vertical-align:middle;margin-right:8px}.bb-team-logo-edit{display:flex;align-items:center;gap:12px}.bb-team-logo-edit>img,.bb-logo-placeholder{width:64px;height:64px;border-radius:12px;object-fit:contain;background:#eef3f8}.bb-logo-placeholder{display:grid;place-items:center;color:#91a0b0;font-size:13px}.bb-upload-button{border:1px solid #d7e2ed;border-radius:8px;padding:9px 12px;cursor:pointer}.bb-team-logo-edit input[hidden]{display:none!important}.bb-player-photo{width:48px;height:52px;object-fit:cover;border-radius:7px}.bb-player-initial{display:grid;place-items:center;width:48px;height:52px;border-radius:7px;background:#eaf0f6;color:#648199;font-size:22px}.bb-lineup-photo{width:30px;height:36px;object-fit:cover;border-radius:5px}.bb-foul-marks{color:#c87529!important;min-height:12px}.bb-possession{display:flex;justify-content:center;align-items:center;gap:10px!important}.bb-possession>b{font-size:28px!important;color:#46617a!important;line-height:1}.bb-possession>b.active{color:#ff5d51!important;text-shadow:0 0 12px #ff634d70}.bb-possession>span{font-size:11px}.bb-timeout-banner{display:flex;justify-content:center;align-items:center;gap:16px;margin:10px 0;border:1px solid #efd6a5;border-radius:12px;background:#fff7e8;color:#9c681b;padding:10px 16px}.bb-timeout-banner strong{font-size:32px;font-variant-numeric:tabular-nums}.bb-timeout-banner.ending{background:#fff0ed;border-color:#f0b3a9;color:#bf4533}.bb-points-flash{position:absolute;right:15%;top:28%;font-size:42px;font-weight:800;font-style:normal;color:#ffd474;pointer-events:none;animation:bb-points-rise 1.2s ease-out forwards}.bb-score-pop{animation:bb-score-pop .35s ease-out}@keyframes bb-score-pop{50%{transform:scale(1.12);color:#ffce7f}}@keyframes bb-points-rise{0%{transform:translateY(15px) scale(.7);opacity:0}20%{opacity:1}100%{transform:translateY(-35px) scale(1.1);opacity:0}}
.bb-clock-pad.el-dialog{border-radius:16px;max-width:calc(100vw - 24px)}.bb-clock-pad .el-dialog__body{text-align:center}.bb-pad-display{font:700 44px/1.4 system-ui;color:#173b5e;background:#edf3f9;border-radius:12px;letter-spacing:5px;margin-bottom:10px}.bb-clock-pad small{font-size:12px;color:#7b8da1}.bb-number-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.bb-number-pad button{font-size:24px;font-weight:600;border:1px solid #dbe4ed;border-radius:12px;background:#f7f9fc;color:#24476b;min-height:54px;cursor:pointer;touch-action:manipulation}.bb-number-pad button:active{background:#dfeafb;transform:scale(.97)}.bb-number-pad button:nth-last-child(3),.bb-number-pad button:last-child{font-size:16px}.bb-pad-error{font-size:12px;color:#c44738}.bb-foul-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.bb-foul-options button{display:flex;flex-direction:column;gap:6px;border:1px solid #e5cfad;background:#fff9ee;border-radius:10px;padding:12px;color:#915b1a;cursor:pointer}.bb-foul-options b{font-size:24px}.bb-foul-options span{font-size:12px}
.bb-desk-body .mobile-tabbar,.bb-desk-body [class^=support-]{display:none!important}.bb-score-workspace.bb-desk-active{position:fixed;inset:0;z-index:1900;max-width:none;margin:0;padding:8px;background:#edf2f7;overflow:auto;height:100dvh}.bb-desk-active>.bb-heading{padding:6px 10px;margin-bottom:5px;border-radius:8px;gap:8px}.bb-desk-active>.bb-heading .bb-eyebrow,.bb-desk-active>.bb-heading p,.bb-desk-active>.bb-connection{display:none}.bb-desk-active>.bb-heading h1{font-size:13px;margin:0}.bb-desk-active>.bb-heading .el-button{height:28px;padding:4px 8px;font-size:11px}.bb-desk-active>.bb-scoreboard{padding:7px;border-radius:10px}.bb-desk-active .bb-score-team>span{font-size:13px}.bb-desk-active .bb-score-team>strong{font-size:38px;line-height:1.15}.bb-desk-active .bb-score-logo{position:absolute;left:6px;top:4px;width:30px;height:30px}.bb-desk-active .bb-game-clock>strong{font-size:34px;line-height:1.2}.bb-desk-active .bb-game-clock>div{margin:0;font-size:11px}.bb-desk-active .bb-game-clock>div b{font-size:18px}.bb-desk-active .bb-game-clock>small{display:none}.bb-desk-active .bb-clock-controls{padding:6px 0;gap:6px}.bb-desk-active .bb-clock-controls button{padding:7px 14px;font-size:12px;min-height:34px}.bb-desk-active .bb-live-grid{grid-template-columns:1fr 1fr;gap:8px;min-height:210px;height:calc(100dvh - 210px)}.bb-desk-active .bb-live-grid>.bb-panel{padding:10px;margin:0;overflow:auto}.bb-desk-active .bb-team-switch{margin-bottom:8px}.bb-desk-active .bb-team-switch button{font-size:12px;padding:6px}.bb-desk-active .bb-panel-head{margin-bottom:8px}.bb-desk-active .bb-player-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:calc(100dvh - 330px);min-height:90px;overflow:auto;gap:5px;margin-bottom:8px}.bb-desk-active .bb-player-grid button{padding:5px;display:grid;grid-template-columns:28px 1fr;gap:3px;text-align:center}.bb-desk-active .bb-player-photo,.bb-desk-active .bb-player-initial{width:28px;height:34px;grid-row:1/3;font-size:16px}.bb-desk-active .bb-player-grid button b{font-size:15px}.bb-desk-active .bb-player-grid button strong{font-size:11px}.bb-desk-active .bb-player-grid button small{grid-column:1/-1;font-size:9px}.bb-desk-active .bb-stat-pad>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.bb-desk-active .bb-stat-pad button{min-height:38px;font-size:12px}.bb-desk-active .bb-stat-pad header{margin-bottom:9px}.bb-desk-active .bb-stat-pad header>span{font-size:15px}.bb-desk-active .bb-stat-pad header>small{display:none}.bb-desk-active>.bb-panel,.bb-desk-active>.bb-forfeit{display:none}.bb-desk-active.bb-desk-details>.bb-panel,.bb-desk-active.bb-desk-details>.bb-forfeit{display:block;margin-top:12px}.bb-desk-active .bb-timeout-banner{position:fixed;z-index:1;top:40%;left:20%;right:20%;box-shadow:0 10px 50px #16324d40;flex-wrap:wrap}
.bb-view-switch{display:flex;gap:4px;align-items:center;margin:12px 0}.bb-view-switch>button{padding:8px 16px;border:1px solid #dce5ef;background:#fff;color:#657990;cursor:pointer;border-radius:7px}.bb-view-switch>button.active{color:#2463df;background:#eef5ff;border-color:#adcaf1}.bb-view-switch>.el-button{margin-left:auto}.bb-schedule-sheet h2{text-align:center;line-height:1.7;margin:16px 0;font-size:22px}.bb-schedule-sheet table{width:100%;border-collapse:collapse;text-align:center;color:#18344c;font-size:13px}.bb-schedule-sheet th,.bb-schedule-sheet td{border:1px solid #8fa2b5;padding:12px 8px;min-width:65px}.bb-schedule-sheet th{background:#f2f5f8;white-space:nowrap}.bb-schedule-sheet .bb-editable-time{cursor:pointer;white-space:nowrap}.bb-schedule-sheet .bb-editable-time:hover{background:#edf5ff}.bb-schedule-sheet .bb-table-wrap{border:0;border-radius:0}
@media(max-width:600px){.bb-timeout-banner{gap:8px;font-size:12px;flex-wrap:wrap}.bb-timeout-banner strong{font-size:26px}.bb-player-photo,.bb-player-initial{width:36px;height:42px}.bb-score-logo{width:28px;height:28px}.bb-schedule-sheet h2{font-size:16px}.bb-schedule-sheet table{min-width:950px}.bb-score-workspace.bb-desk-active>.bb-heading{flex-direction:column}.bb-desk-active .bb-live-grid{grid-template-columns:1fr;height:auto}.bb-desk-active .bb-player-grid{max-height:220px}.bb-desk-active .bb-timeout-banner{left:8%;right:8%}.bb-view-switch>button{font-size:12px;padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.bb-score-pop,.bb-points-flash{animation:none}}
@media print{body.bb-print-schedule *{visibility:hidden!important}body.bb-print-schedule .bb-schedule-sheet,body.bb-print-schedule .bb-schedule-sheet *{visibility:visible!important}body.bb-print-schedule .bb-schedule-sheet{position:absolute;top:0;left:0;width:100%;background:#fff}body.bb-print-schedule .bb-schedule-sheet .bb-no-print{display:none!important}body.bb-print-schedule .bb-schedule-sheet .bb-table-wrap{overflow:visible}body.bb-print-schedule .bb-schedule-sheet table{min-width:0;font-size:10px}body.bb-print-schedule .bb-schedule-sheet td,body.bb-print-schedule .bb-schedule-sheet th{min-width:0;padding:7px 4px}body.bb-print-schedule .bb-schedule-sheet tr{break-inside:avoid}body.bb-print-schedule .bb-schedule-sheet thead{display:table-header-group}}
@media(min-width:601px) and (max-height:540px){.bb-desk-active>.bb-heading{padding:3px 8px;margin-bottom:4px}.bb-desk-active>.bb-heading .el-button{height:26px}.bb-desk-active>.bb-scoreboard{padding:5px}.bb-desk-active .bb-game-clock>span{font-size:11px;line-height:14px}.bb-desk-active .bb-game-clock>strong{font-size:30px;line-height:1.05}.bb-desk-active .bb-game-clock>div{line-height:18px}.bb-desk-active .bb-game-clock>div b{font-size:16px}.bb-desk-active .bb-game-clock .bb-possession>b{font-size:18px!important}.bb-desk-active .bb-score-team>strong{font-size:34px}.bb-desk-active .bb-live-grid{height:calc(100dvh - 178px);min-height:175px}.bb-desk-active .bb-live-grid>.bb-panel{padding:7px}.bb-desk-active .bb-stat-pad button{min-height:32px}.bb-desk-active .bb-stat-pad header{margin-bottom:6px}.bb-desk-active .bb-stat-pad>div{gap:5px}.bb-desk-active .bb-roster-panel .bb-actions .el-button{font-size:11px;height:28px;padding:5px 8px}}
.bb-screen-timeout{color:#ffcc7a!important;font-size:clamp(13px,2vh,26px)!important}.bb-screen .bb-lineup-photo{vertical-align:middle;margin-right:8px;width:25px;height:30px}.bb-screen .bb-score-logo{width:42px;height:42px}
.bb-form-field{display:flex;flex-direction:column;gap:7px;color:#5b6f83;font-size:13px;min-width:0}.bb-form-field .el-date-editor.el-input{width:100%}.bb-dialog .bb-form-field .el-input__inner{padding:0;border:0;background:transparent;box-shadow:none}
.bb-screen-score-cue{position:fixed;bottom:8vh;left:50%;transform:translateX(-50%);z-index:10;display:flex;align-items:center;gap:22px;max-width:90vw;padding:18px 32px;border:1px solid #f7c75e;border-radius:16px;background:linear-gradient(120deg,#112e4af2,#2c4f6bf5);box-shadow:0 0 40px #f8c75d40;color:#fff;pointer-events:none}.bb-screen-score-cue img{width:64px;height:74px;object-fit:cover;border-radius:8px}.bb-screen-score-cue strong{display:block;font-size:26px}.bb-screen-score-cue small{display:block;font-size:14px;color:#c5d9ec;margin-top:6px}.bb-screen-score-cue>b{font-size:56px;color:#ffd778;text-shadow:0 0 18px #ffcf4c66}.bb-cue-enter-active,.bb-cue-leave-active{transition:opacity .25s,margin-bottom .25s}.bb-cue-enter-from,.bb-cue-leave-to{opacity:0;margin-bottom:-20px}@media(max-width:600px){.bb-screen-score-cue{padding:12px 18px;gap:12px}.bb-screen-score-cue strong{font-size:18px}.bb-screen-score-cue small{font-size:11px}.bb-screen-score-cue>b{font-size:38px}.bb-screen-score-cue img{width:42px;height:48px}}
/* Switchable arena scoreboard: same live feed, larger typography without player tables. */
.bb-screen-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px}.bb-view-switch{display:flex;border:1px solid #ffffff26;border-radius:8px;overflow:hidden;flex-shrink:0}.bb-screen header .bb-view-switch button{border:0;border-radius:0;white-space:nowrap;padding:8px 10px}.bb-screen header .bb-view-switch button[aria-pressed=true]{background:#e8b663;color:#10243a}.bb-screen header{grid-template-columns:1fr 3fr auto}.bb-screen-team-meta{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}.bb-screen-scoreonly{min-height:100dvh;display:flex;flex-direction:column;padding:2vh 3vw}.bb-screen-scoreonly .bb-screen-score{flex:1;min-height:65vh;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr);gap:2vw}.bb-screen-scoreonly .bb-screen-score>div{min-width:0}.bb-screen-scoreonly .bb-screen-score h2{font-size:clamp(20px,3vw,58px);line-height:1.25;overflow-wrap:anywhere;margin:12px 0}.bb-screen-scoreonly .bb-screen-score strong{font-family:Arial,system-ui,sans-serif;font-size:clamp(90px,min(18vw,29vh),330px);line-height:1.1;letter-spacing:-.04em}.bb-screen-scoreonly .bb-screen-clock>b{font-family:Arial,system-ui,sans-serif;font-size:clamp(48px,min(9vw,16vh),170px);font-weight:800;line-height:1.3}.bb-screen-scoreonly .bb-screen-clock>span{font-size:clamp(16px,2vw,32px);padding:8px 24px}.bb-screen-scoreonly .bb-screen-shot{display:block;margin:12px auto;font-size:18px;color:#b7c8d9}.bb-screen-scoreonly .bb-screen-shot b{display:inline-block;font-size:clamp(36px,5vw,84px);color:#ff7069;line-height:1;vertical-align:middle;margin:0 6px;font-variant-numeric:tabular-nums}.bb-screen-scoreonly .bb-screen-team-meta{font-size:clamp(12px,1.4vw,26px);gap:12px}.bb-screen-scoreonly .bb-screen-team-meta b{font-size:1.5em;color:#fff;margin-left:6px}.bb-screen-scoreonly .bb-score-logo{width:clamp(48px,7vh,100px);height:clamp(48px,7vh,100px)}.bb-screen-scoreonly .bb-screen-periods{flex-wrap:wrap;font-size:clamp(14px,1.5vw,26px);padding:16px}.bb-screen-scoreonly .bb-screen-timeout{font-size:clamp(16px,1.8vw,30px);color:#ffcc7b}.bb-screen-scoreonly .bb-possession b{font-size:clamp(28px,4vw,60px)}.bb-screen-scoreonly footer{margin-top:12px}.bb-screen-scoreonly .bb-screen-connection{margin:8px;font-size:11px}
@media(max-width:700px){.bb-screen header{grid-template-columns:1fr;gap:10px}.bb-screen header>span{display:none}.bb-screen-tools{justify-content:center}.bb-screen-scoreonly .bb-screen-score{min-height:60vh;gap:8px}.bb-screen-scoreonly .bb-screen-score h2{font-size:18px}.bb-screen-scoreonly .bb-screen-score strong{font-size:clamp(64px,18vw,120px)}.bb-screen-scoreonly .bb-screen-clock>b{font-size:clamp(30px,9vw,60px)}.bb-screen-scoreonly .bb-screen-clock>span{font-size:14px;padding:6px}.bb-screen-scoreonly .bb-screen-team-meta{flex-direction:column;gap:4px}.bb-screen-scoreonly .bb-possession{gap:4px}.bb-screen-scoreonly .bb-possession span{font-size:10px}.bb-screen-scoreonly .bb-screen-shot{font-size:12px}.bb-screen-scoreonly .bb-screen-periods{gap:12px;padding:10px}}
/* A4 portrait match record, independent of the digital scoreboard layout. */
.bb-sheet-page{max-width:1100px;margin:auto;color:#20374d}.bb-sheet-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.bb-sheet-toolbar>span{font-size:12px;color:#778899}.bb-sheet-notices{font-size:12px;line-height:1.7;margin:10px 0}.bb-sheet-notices>span{display:block;color:#9a5b12}.bb-sheet-notices details{margin-top:6px}.bb-sheet-notices summary,.bb-sheet-audit summary{cursor:pointer}.bb-sheet-scroll{width:100%;overflow:auto;background:#e9edf2;padding:0}.bb-sheet-paper{box-sizing:border-box;width:760px;min-height:1050px;padding:20px 18px;background:white;color:#111;margin:0 auto 18px;font-family:Arial,'Microsoft YaHei',sans-serif;font-size:10px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.bb-sheet-paper *{box-sizing:border-box}.bb-sheet-paper h1{margin:0 0 4px;text-align:center;font-size:21px;letter-spacing:3px}.bb-sheet-subtitle{text-align:center;font-size:10px;margin-bottom:9px}.bb-sheet-match{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:13px;margin-bottom:7px}.bb-sheet-info{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;border:1px solid #333;padding:6px;line-height:1.6}.bb-sheet-info .wide{grid-column:1/-1}.bb-sheet-columns{display:grid;grid-template-columns:51% 49%;border:1px solid #222;border-top:0}.bb-sheet-left{border-right:1px solid #222;min-width:0}.bb-sheet-right{min-width:0}.bb-sheet-team h2,.bb-sheet-right h2{font-size:11px;text-align:center;padding:5px;margin:0;border-bottom:1px solid #222}.bb-sheet-team-top{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:6px;font-size:10px}.bb-sheet-box-row{display:flex;align-items:center;gap:3px;margin:3px 0}.bb-sheet-box-row>span{width:35px}.bb-sheet-box-row>i{display:inline-flex;width:18px;height:17px;align-items:center;justify-content:center;border:1px solid #333;font-style:normal;font-weight:bold}.bb-sheet-hcc{margin-top:5px;font-size:9px}.bb-sheet-paper table{border-collapse:collapse;width:100%;table-layout:fixed;text-align:center}.bb-sheet-roster th{font-size:9px;height:25px;font-weight:normal}.bb-sheet-roster td,.bb-sheet-roster th{border:1px solid #555;height:22px;padding:1px;overflow-wrap:anywhere}.bb-sheet-roster td{font-size:10px}.bb-sheet-roster .bb-sheet-player-name{text-align:left;padding-left:4px}.bb-sheet-roster .bb-sheet-player-name small{font-size:8px}.bb-sheet-roster .bb-half-divider{border-left:3px solid #222}.bb-sheet-team{border-bottom:1px solid #222}.bb-sheet-circle{display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:50%;min-width:16px;height:16px;font-weight:normal;line-height:1}.bb-sheet-officials{padding:7px;line-height:2.3;font-size:10px}.bb-sheet-officials>div{display:flex;justify-content:space-between;gap:4px}.bb-running-grid{display:grid;grid-template-columns:repeat(4,1fr)}.bb-running-table{border-right:1px solid #222}.bb-running-table:last-child{border-right:0}.bb-running-table th{height:20px;border:1px solid #555;font-size:10px}.bb-running-table td{height:18px;border:1px solid #888;padding:0;font-size:9px;position:relative;font-variant-numeric:tabular-nums}.bb-running-table .bb-running-number{width:25%}.bb-running-table .bb-running-score{background:#f5f5f5}.bb-running-score>span{position:relative;z-index:1}.bb-running-table .bb-period-end{border-bottom:2px solid currentColor}.bb-running-table .bb-final-end{border-bottom:3px double currentColor}.bb-running-table .bb-score-unused{background:linear-gradient(125deg,transparent 47%,#25436a 48%,#25436a 52%,transparent 53%)}.bb-running-table .bb-score-unused span{color:#aaa}.bb-mark-slash{position:absolute;left:20%;top:50%;width:65%;border-top:1.5px solid currentColor;transform:rotate(-55deg);z-index:2}.bb-mark-dot{position:absolute;width:6px;height:6px;border-radius:50%;background:currentColor;top:calc(50% - 3px);left:calc(50% - 3px);z-index:2}.bb-sheet-paper .ink-red{color:#bf1726}.bb-sheet-paper .ink-blue{color:#173d84}.bb-sheet-period-totals{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:7px;font-size:10px;border-top:1px solid #333}.bb-sheet-result{border-top:1px solid #333;padding:8px;line-height:2;font-size:11px}.bb-sheet-result b{font-size:15px}.bb-sheet-note{padding:7px 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.bb-sheet-paper footer{border-top:1px solid #777;padding-top:5px;font-size:8px;color:#555}.bb-sheet-audit{margin:15px 0}.bb-sheet-edit-team{margin:18px 0}.bb-sheet-licences{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.bb-sheet-licences label{font-size:12px}.bb-sheet-edit-team h3{font-size:14px}
@media(max-width:600px){.bb-sheet-toolbar{gap:6px}.bb-sheet-toolbar .el-button{padding:8px 10px;margin:0}.bb-sheet-toolbar strong{font-size:15px}.bb-sheet-licences{grid-template-columns:1fr 1fr}.bb-sheet-notices{font-size:11px}.bb-sheet-scroll{border-radius:6px}}
@media print{body.bb-sheet-print *{visibility:hidden}body.bb-sheet-print .bb-sheet-scroll,body.bb-sheet-print .bb-sheet-scroll *{visibility:visible}body.bb-sheet-print .bb-sheet-page{position:absolute!important;left:0!important;top:0!important;width:194mm!important;max-width:none!important;margin:0!important;padding:0!important}body.bb-sheet-print .bb-sheet-toolbar,body.bb-sheet-print .bb-sheet-notices,body.bb-sheet-print .bb-sheet-audit,body.bb-sheet-print .bb-error{display:none!important}body.bb-sheet-print .bb-sheet-scroll{overflow:visible!important;background:white!important;width:194mm!important}body.bb-sheet-print .bb-sheet-paper{zoom:1!important;width:194mm!important;min-height:0!important;margin:0!important;padding:0!important;break-after:page}body.bb-sheet-print .bb-sheet-paper:last-child{break-after:auto}body.bb-sheet-print .bb-sheet-columns{break-inside:avoid}body.bb-sheet-print .bb-sheet-note{font-size:9px}body.bb-sheet-print .bb-sheet-paper{font-size:10px}}
.bb-sheet-info{line-height:1.4;gap:2px;padding:5px}.bb-sheet-team h2,.bb-sheet-right h2{padding:4px}.bb-sheet-team-top{padding:4px;gap:6px}.bb-sheet-box-row{margin:2px 0;gap:2px}.bb-sheet-box-row>i{width:17px;height:14px}.bb-sheet-hcc{margin-top:3px}.bb-sheet-roster td{height:17px;font-size:9px}.bb-sheet-roster th{height:20px}.bb-sheet-circle{min-width:14px;height:14px}.bb-sheet-officials{line-height:1.8;padding:5px}.bb-sheet-paper h1{font-size:19px}.bb-sheet-info{font-size:9px}
@media print{body.bb-sheet-print .bb-sheet-paper{zoom:.9!important;width:215.5mm!important}}
.bb-running-block{position:relative;border-right:1px solid #222}.bb-running-block:last-child{border-right:0}.bb-running-block .bb-running-table{border-right:0}.bb-running-table .bb-score-unused{background:transparent}.bb-unused-score-line{position:absolute;pointer-events:none;left:0;top:21px;width:100%;height:calc(100% - 21px)}.bb-unused-score-line line{stroke:#173d84;stroke-width:1;vector-effect:non-scaling-stroke}
@media print{body.bb-sheet-print .sidebar,body.bb-sheet-print .topbar,body.bb-sheet-print .mobile-tabbar,body.bb-sheet-print .mobile-bottom-nav,body.bb-sheet-print [class^=support-]{display:none!important}body.bb-sheet-print,body.bb-sheet-print #app,body.bb-sheet-print #app>div,body.bb-sheet-print .main-container,body.bb-sheet-print .page-content{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:white!important;position:static!important;margin:0!important;padding:0!important;width:100%!important;transform:none!important}}

/* Three-player competition: independent rules and paper layout. */
.bb-format-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.bb-three-rules{line-height:1.9;color:#496178;margin:8px 0}.bb-sheet-three{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.bb-sheet-three-team{border:1px solid #111;padding:8px}.bb-sheet-three h2{font-size:14px;margin:3px 0 8px}.bb-sheet-three .bb-sheet-box-row{flex-wrap:wrap;margin:8px 0;gap:2px}.bb-sheet-three .bb-sheet-box-row i{height:35px;width:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-style:normal}.bb-sheet-three .bb-sheet-box-row i small{font-size:9px;color:#333}.bb-sheet-three .bb-sheet-box-row i b{font-size:13px}.bb-sheet-three .bb-penalty-cell{border-top:3px solid #333}.bb-sheet-three .bb-possession-cell{border-top:5px double #111}.bb-sheet-three table{width:100%;border-collapse:collapse;text-align:center;table-layout:fixed}.bb-sheet-three th,.bb-sheet-three td{border:1px solid #222;height:26px;font-size:12px}.bb-sheet-three-roster th:first-child{width:44%}.bb-three-running{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}.bb-three-score-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bb-sheet-three .bb-running-score{position:relative}.bb-sheet-three .bb-sheet-result{font-size:13px;line-height:1.8}.bb-sheet-three .bb-sheet-officials{font-size:12px;line-height:2.3}

/* Alternate action-first workflow preserves the existing score-board styling. */
.bb-board-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:14px;width:100%}.bb-board-buttons button{width:100%;border:1px solid #ffffff30;border-radius:8px;background:#ffffff0e;color:#edf5ff;padding:11px 5px;min-height:42px;font:inherit;font-size:13px;cursor:pointer}.bb-board-buttons>button:nth-child(-n+3){background:#245281;color:#fff;font-size:18px;font-weight:700}.bb-board-buttons .el-dropdown{display:block;min-width:0}.bb-board-buttons button:disabled{opacity:.4;cursor:not-allowed}.bb-clock-tap{border:0;border-radius:10px;background:transparent;color:#ffd166;font:inherit;font-weight:800;font-size:48px;line-height:1.2;padding:8px 12px;cursor:pointer}.bb-clock-tap small{display:block;font-size:11px;font-weight:400;color:#a8bed2;margin-top:5px}.bb-clock-tap:disabled{opacity:.5;cursor:default}.bb-possession-tap{cursor:pointer;border:1px solid #ffffff30;border-radius:8px;padding:5px}.bb-possession-tap:focus-visible,.bb-board-buttons button:focus-visible,.bb-clock-tap:focus-visible{outline:2px solid #ffd166;outline-offset:2px}.bb-pick-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-height:60dvh;overflow:auto}.bb-pick-roster>button{border:1px solid #dce5ef;border-radius:10px;background:#f5f8fc;color:#16324d;padding:10px 5px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer}.bb-pick-roster>button:disabled{opacity:.38;cursor:not-allowed}.bb-pick-roster img,.bb-pick-roster .bb-player-initial{height:54px;width:44px;object-fit:cover;border-radius:6px}.bb-pick-roster b{font-size:20px}.bb-pick-roster strong{font-size:13px}.bb-pick-roster small{font-size:11px}.bb-correction-hint{font-size:12px;color:#6d8197}.bb-correction-list{max-height:50dvh;overflow:auto;min-height:60px}.bb-correction-list>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:14px 10px;margin:6px 0;background:#f5f8fc;border:1px solid #dce5ef;border-radius:9px;color:#16324d;cursor:pointer}.bb-correction-list>button b{font-size:20px;color:#d35454}.bb-correction-list small{display:block;font-size:11px;color:#8190a4;margin-top:4px}.bb-action-first.bb-desk-active>.bb-scoreboard{min-height:calc(100dvh - 130px);align-items:center}.bb-action-first.bb-desk-active .bb-score-team>strong{font-size:64px}.bb-action-first.bb-desk-active .bb-clock-tap{font-size:40px}.bb-action-first.bb-desk-active .bb-board-buttons{margin-top:10px;gap:5px}.bb-action-first.bb-desk-active .bb-board-buttons button{font-size:12px;padding:8px 3px;min-height:36px}
@media(max-width:600px){.bb-action-first .bb-scoreboard{grid-template-columns:1fr 1fr;gap:14px}.bb-action-first .bb-game-clock{grid-column:1/-1;grid-row:1}.bb-board-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}.bb-board-buttons button{font-size:12px;padding:9px 3px}.bb-pick-roster{grid-template-columns:repeat(3,minmax(0,1fr))}.bb-action-first.bb-desk-active>.bb-scoreboard{min-height:0}.bb-action-first.bb-desk-active .bb-score-team>strong{font-size:42px}}
@media(orientation:landscape) and (max-height:500px){.bb-action-first.bb-desk-active>.bb-scoreboard{min-height:calc(100dvh - 100px)}.bb-action-first.bb-desk-active .bb-score-team>strong{font-size:52px}.bb-action-picker{margin-top:2vh!important;margin-bottom:2vh!important}.bb-action-picker .el-dialog__body{padding-top:6px;padding-bottom:6px}.bb-pick-roster{grid-template-columns:repeat(6,minmax(0,1fr));max-height:57dvh}.bb-pick-roster img,.bb-pick-roster .bb-player-initial{height:36px;width:30px}.bb-pick-roster>button{padding:6px 3px;gap:3px}.bb-pick-roster b{font-size:17px}}

/* Fullscreen desk follows the actual viewport, including browser chrome and safe areas. */
body.bb-desk-body{overflow:hidden}.bb-score-workspace.bb-desk-active{box-sizing:border-box;height:var(--bb-view-height,100dvh);padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));overscroll-behavior:contain}.bb-desk-active>.bb-heading{flex-shrink:0;min-width:0}.bb-desk-active>.bb-heading>div{min-width:0}.bb-desk-active>.bb-heading h1{max-width:28vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-desk-active>.bb-heading .bb-actions{justify-content:flex-end;gap:4px}.bb-action-first.bb-desk-active{display:flex;flex-direction:column;gap:5px}.bb-action-first.bb-desk-active>.bb-heading{margin-bottom:0}.bb-action-first.bb-desk-active>.bb-scoreboard{flex:1 0 auto;min-height:0;margin-bottom:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.85fr) minmax(0,1fr);gap:8px}.bb-action-first.bb-desk-active>.bb-clock-controls{flex-shrink:0;padding:0;gap:5px;margin:0}.bb-action-first.bb-desk-active .bb-score-team{min-width:0}.bb-action-first.bb-desk-active .bb-score-team>span{overflow-wrap:anywhere}.bb-action-first.bb-desk-active .bb-score-team>strong{font-size:clamp(42px,10vh,110px)}.bb-action-first.bb-desk-active .bb-clock-tap{font-size:clamp(32px,7vh,76px)}.bb-action-first.bb-desk-active .bb-board-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}.bb-action-first.bb-desk-active .bb-board-buttons button{min-height:36px;line-height:1.25;overflow-wrap:anywhere}.bb-action-first.bb-desk-active .bb-game-clock{min-width:0}.bb-action-first.bb-desk-active .bb-clock-controls button{flex:0 1 auto}.bb-action-picker,.bb-foul-dialog,.bb-clock-pad,.bb-lineup-dialog{max-height:calc(100dvh - 24px);display:flex;flex-direction:column}.bb-action-picker .el-dialog__body,.bb-foul-dialog .el-dialog__body,.bb-clock-pad .el-dialog__body,.bb-lineup-dialog .el-dialog__body{overflow:auto;min-height:0}.bb-action-picker .el-dialog__header,.bb-action-picker .el-dialog__footer,.bb-foul-dialog .el-dialog__header,.bb-foul-dialog .el-dialog__footer,.bb-clock-pad .el-dialog__header,.bb-clock-pad .el-dialog__footer,.bb-lineup-dialog .el-dialog__header,.bb-lineup-dialog .el-dialog__footer{flex-shrink:0}
@media(orientation:portrait) and (max-width:600px){.bb-action-first.bb-desk-active>.bb-scoreboard{grid-template-columns:1fr 1fr;align-content:start;gap:10px;padding:10px}.bb-action-first.bb-desk-active .bb-game-clock{grid-column:1/-1;grid-row:1}.bb-action-first.bb-desk-active .bb-board-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-desk-active>.bb-heading h1{max-width:85vw}.bb-desk-active>.bb-heading .bb-actions{justify-content:center}.bb-action-first.bb-desk-active .bb-score-team>strong{font-size:clamp(42px,8vh,72px)}}
@media(orientation:landscape) and (max-height:500px){.bb-desk-active>.bb-heading{flex-direction:row}.bb-desk-active>.bb-heading h1{max-width:18vw;font-size:12px}.bb-desk-active>.bb-heading .bb-actions{flex-wrap:wrap}.bb-desk-active>.bb-heading .el-button{font-size:10px;padding:4px 6px;min-height:26px}.bb-action-first.bb-desk-active>.bb-scoreboard{grid-template-columns:minmax(0,1fr) minmax(130px,.8fr) minmax(0,1fr);padding:6px;gap:6px;min-height:215px}.bb-action-first.bb-desk-active .bb-board-buttons{margin-top:7px;gap:4px}.bb-action-first.bb-desk-active .bb-score-team>strong{font-size:clamp(38px,12vh,60px)}.bb-action-first.bb-desk-active .bb-game-clock>span{font-size:10px}.bb-action-first.bb-desk-active .bb-clock-controls button{min-height:30px;padding:5px 9px;font-size:11px}.bb-action-first.bb-desk-active .bb-clock-tap{font-size:clamp(28px,10vh,44px);padding:4px}.bb-action-first.bb-desk-active .bb-game-clock{grid-column:auto;grid-row:auto}.bb-action-picker,.bb-foul-dialog,.bb-clock-pad,.bb-lineup-dialog{margin-top:10px!important;margin-bottom:10px!important}.bb-pick-roster{max-height:none}}

.bb-desk-toolbar{display:flex;align-items:center;gap:5px;flex-shrink:0}.bb-desk-toolbar .el-dropdown{display:flex}.bb-desk-active>.bb-heading{flex-direction:row!important}.bb-action-picker,.bb-foul-dialog,.bb-clock-pad,.bb-lineup-dialog{margin-top:12px;margin-bottom:12px}@media(max-width:380px) and (orientation:portrait){.bb-desk-active>.bb-heading{flex-wrap:wrap;justify-content:center}.bb-desk-active>.bb-heading h1{max-width:90vw}.bb-desk-toolbar{justify-content:center;width:100%;flex-wrap:wrap}}
@media(orientation:landscape){.bb-action-first.bb-desk-active>.bb-clock-controls{flex-wrap:nowrap}.bb-action-first.bb-desk-active>.bb-clock-controls button{width:auto!important;min-width:0;flex:1 1 0;white-space:nowrap}}
@media(orientation:landscape){.bb-action-first.bb-desk-active>.bb-clock-controls{display:flex;flex-wrap:nowrap}}

/* Some mobile browsers retain the portrait top inset after entering landscape fullscreen.
   The landscape cutout is on the sides; keep horizontal safe areas and a compact top gap. */
@media (orientation:landscape){
  .bb-score-workspace.bb-desk-active{padding-top:6px}
}


.bb-mobile-schedule{display:none}
@media screen and (max-width:600px){
.bb-tournament .bb-desktop-schedule,.bb-tournament .bb-schedule-sheet{display:none}
.bb-mobile-schedule{display:grid;gap:8px}
.bb-mobile-schedule article{border:1px solid #dfe8f0;border-radius:12px;padding:10px;background:white;min-width:0}
.bb-mobile-schedule header{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#537387}
.bb-mobile-schedule h3{font-size:15px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
.bb-mobile-schedule h3 small{color:#98a7b3;padding:0 4px}
.bb-mobile-schedule p{font-size:12px;color:#718498;margin:4px 0;overflow-wrap:anywhere}
.bb-mobile-schedule footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px;margin-top:6px}
.bb-mobile-schedule .el-button{margin:0;min-height:36px;padding:6px 8px}
.bb-tournament .bb-filter{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:6px}
.bb-tournament .bb-filter>input,.bb-tournament .bb-filter>select{width:100%;min-width:0;box-sizing:border-box}
.bb-tournament .bb-filter>span{grid-column:1/-1;font-size:11px}
.bb-tournament .bb-panel-head{gap:8px;margin-bottom:10px}.bb-tournament .bb-panel-head h2{font-size:16px}
.bb-tournament .bb-panel-head .bb-actions{flex-wrap:wrap;gap:5px}.bb-tournament .bb-panel-head .bb-actions .el-button{margin:0;min-height:36px;padding:6px 9px;font-size:12px}
.bb-tournament .bb-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
.bb-tournament .bb-matchup strong{overflow-wrap:anywhere;font-size:14px}.bb-tournament .bb-game-list article{padding:12px}
}

/* Registration photos and group-only draw. */
.bb-roster-editor>.bb-roster-head,.bb-roster-editor>div{grid-template-columns:64px 54px minmax(80px,1fr) 62px minmax(90px,1fr) 28px}.bb-player-photo{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}.bb-player-photo img{width:44px;height:54px;object-fit:cover;border-radius:5px;border:1px solid #dce5ef}.bb-player-photo-pick{display:block;padding:4px 8px;border:1px solid #dce5ef;border-radius:5px;cursor:pointer;font-size:12px;color:#2463df;background:#f5f8fc}.bb-player-photo button{font-size:11px;padding:2px;border:0;background:none;color:#b63d45}.bb-roster-editor select{width:100%;min-width:0;border:1px solid #dce5ef;border-radius:5px;padding:8px 4px;background:white}.bb-draw-count{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.bb-draw-results{list-style:none;padding:0;max-height:340px;overflow:auto;border:1px solid #dce5ef;border-radius:8px}.bb-draw-results li{display:flex;gap:18px;padding:10px 14px;border-bottom:1px solid #edf1f5}.bb-draw-results b{color:#245b91}.bb-draw-results li:last-child{border:0}
@media(max-width:600px){.bb-roster-editor{overflow-x:auto}.bb-roster-editor>.bb-roster-head,.bb-roster-editor>div{min-width:490px;grid-template-columns:58px 48px minmax(80px,1fr) 58px minmax(100px,1fr) 28px}}
/* Class-teacher registration and fully visible tournament settings. */
.bb-fill-entry{margin-bottom:18px;padding:20px;background:#fff;border:1px solid #dce5ef;border-radius:12px}.bb-fill-entry-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.bb-fill-entry h2{font-size:17px;color:#16324d;margin:0}.bb-fill-entry-heading>span,.bb-fill-empty{font-size:12px;color:#5b6f83}.bb-fill-meet{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #edf1f5}.bb-fill-meet>div{min-width:0}.bb-fill-meet h3{font-size:15px;line-height:1.6;margin:0 0 7px;overflow-wrap:anywhere}.bb-fill-meet p,.bb-fill-meet small{font-size:12px;color:#5b6f83;line-height:1.8;margin:0}.bb-fill-meet .el-button{flex-shrink:0;min-height:42px}.bb-fill-empty{margin:10px 0;line-height:1.8}
.el-dialog.bb-settings-dialog{width:min(940px,calc(100vw - 32px))!important;max-width:940px;margin:16px auto!important;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;padding:0;border-radius:12px;overflow:hidden}.bb-settings-dialog .el-dialog__header{padding:20px 24px 16px;margin:0;border-bottom:1px solid #e5ebf2;flex-shrink:0}.bb-settings-dialog .el-dialog__headerbtn{top:12px;right:12px}.bb-settings-dialog .el-dialog__body{padding:20px 24px;overflow:auto;min-height:0;max-height:none;flex:1}.bb-settings-dialog .el-dialog__footer{padding:14px 24px;background:#fff;border-top:1px solid #e5ebf2;flex-shrink:0}.bb-settings-dialog .bb-form{grid-template-columns:minmax(0,1fr);gap:14px}.bb-settings-dialog .bb-form>label:not(.bb-check){display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.bb-settings-dialog .bb-form>label>input:not([type=checkbox]),.bb-settings-dialog .bb-form>label>select,.bb-settings-dialog .bb-form>label>textarea{width:100%;min-width:0;box-sizing:border-box;line-height:1.6}.bb-settings-dialog .bb-form>label>textarea{resize:vertical}.bb-settings-dialog .bb-registration-settings{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:start;gap:12px;min-width:0}.bb-settings-dialog .bb-registration-settings>span{padding-top:9px}.bb-settings-dialog .bb-registration-settings .el-select{min-width:0;width:100%}.bb-settings-dialog .bb-registration-settings .el-select__wrapper{min-height:40px;height:auto}.bb-settings-dialog .el-input-number{width:160px;max-width:100%}.bb-settings-dialog .el-input-number .el-input__inner{border:0;padding:0;background:transparent;box-shadow:none}.bb-settings-dialog .bb-check{min-height:36px;gap:10px}.bb-settings-dialog .bb-period-editor{margin:0}.bb-registration-steps{background:#f0f5fb;padding:12px 14px;border-radius:8px;font-size:13px;line-height:1.8;color:#245b91;margin-bottom:18px}.bb-team-dialog .el-dialog__body{max-height:65dvh;overflow:auto}.bb-roster-editor{overflow:visible}.bb-roster-editor>.bb-roster-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px 20px;padding:16px;margin-bottom:12px;border:1px solid #dce5ef;border-radius:10px;min-width:0;background:#fff}.bb-player-identity{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #edf1f5;padding-bottom:10px}.bb-player-identity strong{font-size:16px;color:#16324d}.bb-player-identity small{font-size:12px;color:#5b6f83}.bb-player-identity button{margin-left:auto;font-size:12px;padding:5px 0;color:#b63d45}.bb-roster-row .bb-player-photo{display:flex;align-items:center;gap:8px}.bb-roster-row .bb-player-photo>img,.bb-photo-placeholder{width:72px;height:88px;object-fit:cover;border:1px solid #dce5ef;border-radius:6px}.bb-photo-placeholder{display:flex;align-items:center;justify-content:center;background:#f3f6fa;font-size:11px;color:#5b6f83}.bb-player-photo-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.bb-roster-row .bb-player-photo-pick{font-size:12px;min-height:32px;display:flex;align-items:center;justify-content:center}.bb-roster-row .bb-player-photo-actions button{font-size:11px}.bb-player-details{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:10px;min-width:0}.bb-player-details>label{display:flex;align-items:center;gap:12px;font-size:13px;color:#5b6f83;min-width:0}.bb-player-details>label>input,.bb-player-details>label>select{flex:1;min-width:0;width:100%;border:1px solid #dce5ef;border-radius:6px;padding:10px 12px;box-sizing:border-box}.bb-player-details>small{font-size:12px;line-height:1.8;color:#5b6f83}.bb-number-field>input{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:600px){.bb-fill-entry{padding:16px}.bb-fill-meet{align-items:stretch;flex-direction:column;gap:12px}.bb-fill-meet .el-button{align-self:flex-end}.el-dialog.bb-settings-dialog{width:calc(100vw - 16px)!important;margin:8px auto!important;max-height:calc(100dvh - 16px)}.bb-settings-dialog .el-dialog__header{padding:17px 16px 13px}.bb-settings-dialog .el-dialog__body{padding:16px}.bb-settings-dialog .el-dialog__footer{padding:12px 16px}.bb-settings-dialog .bb-form>label:not(.bb-check),.bb-settings-dialog .bb-registration-settings{grid-template-columns:minmax(0,1fr);gap:7px}.bb-settings-dialog .bb-registration-settings>span{padding-top:0}.bb-settings-dialog .bb-period-editor{padding:12px 10px}.bb-settings-dialog .bb-period-head>div{display:flex;gap:8px;flex-wrap:wrap}.bb-settings-dialog .bb-format-choice{align-items:flex-start;flex-direction:column}.bb-roster-editor>.bb-roster-row{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:12px}.bb-player-details>label{align-items:flex-start;flex-direction:column;gap:7px}.bb-player-details>label>input,.bb-player-details>label>select{flex:none;width:100%;padding:10px 8px}.bb-player-identity{gap:7px}.bb-player-identity small{font-size:11px}.bb-player-details>small{font-size:11px}.bb-registration-steps{font-size:12px}}
@media(min-width:800px){.bb-settings-dialog .bb-period-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bb-settings-dialog .bb-format-choice,.bb-settings-dialog .bb-period-head,.bb-settings-dialog .bb-period-hint,.bb-settings-dialog .bb-period-add{grid-column:1/-1}.bb-settings-dialog .bb-period-row{gap:6px;margin:0}.bb-settings-dialog .bb-period-row>span{width:54px}.bb-settings-dialog .bb-period-row .el-input-number{width:126px;min-width:80px}.bb-settings-dialog .bb-period-row .el-button{margin-left:0}.bb-settings-dialog .bb-period-add{justify-self:start}}
.bb-settings-dialog .el-dialog__footer .el-button{min-height:40px}.bb-roster-row .bb-player-photo-pick{min-height:40px}.bb-player-identity strong{overflow-wrap:anywhere}
.bb-student-options>.bb-student-option{min-width:0;padding:8px 10px;border:1px solid #e0e8f1;border-radius:7px;background:#fff}.bb-student-option .el-checkbox{height:auto;min-height:36px;max-width:100%;display:flex;align-items:center}.bb-student-option .el-checkbox__label{white-space:normal;line-height:1.7;overflow-wrap:anywhere}.bb-student-option small{font-size:11px;color:#5b6f83}
.bb-mixed-counts{display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap;padding:12px 14px;margin:12px 0;background:#f2f6fb;border:1px solid #dce5ef;border-radius:8px;font-size:13px;color:#245b91}.bb-mixed-counts>span{font-variant-numeric:tabular-nums}.bb-mixed-counts .invalid{color:#b64146}.bb-mixed-counts small{flex-basis:100%;color:#b64146}.bb-manual-groups{display:grid;gap:12px;max-height:50dvh;overflow:auto;margin:16px 0}.bb-manual-groups label{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:16px;align-items:center}.bb-manual-groups input{width:100%;min-width:0}.bb-team-logo-edit>img{object-fit:contain}
