.bsr-screen{height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#234760,#091b2b 80%);color:#f0f6fb}.bsr-screen>.topbar{height:74px;min-height:0;box-sizing:border-box}.bsr-main{height:calc(100dvh - 74px);display:grid;grid-template-columns:190px minmax(0,1fr) 250px;gap:14px;padding:12px;box-sizing:border-box;max-width:1800px;margin:auto}.bsr-players,.bsr-controls{overflow:auto;min-height:0}.bsr-players h1{font-size:24px;margin:0 0 10px}.bsr-player{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #81a6bc55;border-radius:10px;margin-bottom:10px;background:#163347}.bsr-player.active{border-color:#ffd778;box-shadow:inset 3px 0 #ffd778}.bsr-player strong,.bsr-player small{display:block;overflow-wrap:anywhere}.bsr-player strong{font-size:13px}.bsr-player small{font-size:11px}.bsr-player .avatar,.bsr-player .ember-seat-avatar{width:44px;height:48px;flex:none}.bsr-player img{width:100%;height:100%;object-fit:contain}.bsr-centre{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;position:relative}.bsr-frame{position:relative;min-height:0;min-width:0;touch-action:none}.bsr-frame canvas{display:block;width:100%;height:100%;outline:none!important;-webkit-tap-highlight-color:transparent}.bsr-labels{display:flex;justify-content:space-around;gap:8px;font-size:13px;padding:5px;text-align:center}.bsr-labels strong{flex:1}.bsr-tabs{display:none}.bsr-result{padding:8px;text-align:center;min-height:32px;font-size:14px;color:#fff4c9;background:#12334c;border-radius:9px}.bsr-view{display:flex;justify-content:center;align-items:center;gap:5px;font-size:11px;padding:5px}.bsr-view button{padding:5px 8px;min-height:28px;font-size:11px}.bsr-view input{width:90px}.bsr-controls{padding:10px;background:#113044;border-radius:12px}.bsr-prompt{padding:10px;border-left:3px solid #ffcf7b;background:#2e5168;border-radius:7px;font-size:14px}.bsr-tray{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}.bsr-tray button{display:flex;flex-direction:column;align-items:center;min-width:0;padding:4px;touch-action:none;cursor:grab}.bsr-tray button.selected{border:2px solid #ffd47a}.bsr-tray img{width:100%;height:45px;object-fit:contain;pointer-events:none}.bsr-tray span{font-size:11px;pointer-events:none}.bsr-controls button{max-width:100%;font-size:12px;min-height:34px;padding:7px}.bsr-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.bsr-actions .primary{width:100%}.bsr-fire{width:100%;margin:12px 0}.bsr-drag-help,.bsr-own-label,.bsr-kids{font-size:12px;line-height:1.4}.bsr-legend{font-size:12px}.bsr-legend b{color:#ff6457}.bsr-legend span{color:#fff}.bsr-fleet-status{display:grid;gap:7px;margin:16px 0;font-size:12px}.bsr-fleet-status>span{display:flex;justify-content:space-between}.bsr-fleet-status small{color:#c5e2f6}.bsr-players>button{font-size:12px;padding:6px}.bsr-loading{position:absolute;top:40%;width:100%;text-align:center}.bsr-ghost{position:fixed;z-index:9999;pointer-events:none;background:#0e324ded;color:#fff;border:2px solid #8af3c1;border-radius:10px;padding:6px 10px;transform:translate(-50%,-150%);font-size:13px}.bsr-busy .bsr-controls button{opacity:.6}
@media(max-width:1000px){.bsr-main{grid-template-columns:145px minmax(0,1fr) 200px;gap:6px;padding:6px}.bsr-labels{font-size:11px}}
@media(max-width:960px) and (max-height:600px){.bsr-screen>.topbar{position:absolute;right:5px;top:4px;z-index:20;height:auto;min-height:0;background:none;border:0;padding:0;width:auto}.bsr-screen>.topbar .brand,.bsr-screen>.topbar .pill,.bsr-screen>.topbar .turn-announcement,.bsr-screen>.topbar [data-action=rules]{display:none}.bsr-screen>.topbar button{padding:5px 7px;font-size:11px;min-height:29px}.bsr-main{height:100dvh;grid-template-columns:90px minmax(0,1fr) 160px;gap:4px;padding:4px}.bsr-players h1{font-size:14px;margin:0 0 4px}.bsr-player{gap:3px;padding:4px;margin-bottom:5px}.bsr-player .avatar,.bsr-player .ember-seat-avatar{width:23px;height:29px}.bsr-player strong{font-size:9px}.bsr-player small{font-size:9px}.bsr-fleet-status{font-size:9px;gap:5px;margin:8px 0}.bsr-players>button{font-size:9px;padding:4px;min-height:25px}.bsr-centre{grid-template-rows:auto minmax(0,1fr) auto auto}.bsr-tabs{display:flex;justify-content:center;gap:4px}.bsr-tabs button{font-size:11px;padding:4px 12px;min-height:27px}.bsr-tabs button[aria-pressed=true]{background:#355e78;border-color:#ffd578}.bsr-labels{display:none}.bsr-result{font-size:10px;min-height:20px;padding:4px}.bsr-view{font-size:9px;padding:2px;gap:3px}.bsr-view button{font-size:9px;min-height:23px;padding:3px 5px}.bsr-view input{width:52px}.bsr-controls{padding:4px}.bsr-prompt{font-size:10px;padding:5px;margin-right:28px}.bsr-tray{gap:3px;margin:5px 0}.bsr-tray img{height:31px}.bsr-tray span{font-size:9px}.bsr-controls button{font-size:9px;min-height:27px;padding:4px}.bsr-drag-help,.bsr-own-label,.bsr-kids,.bsr-legend{font-size:9px;line-height:1.25;margin:5px 0}.bsr-actions{gap:3px;margin-top:4px}.bsr-fire{font-size:12px!important;min-height:36px!important}.bsr-placing .bsr-centre{grid-template-rows:minmax(0,1fr) auto auto}.bsr-view label{display:none}}
@media(max-width:600px) and (min-height:601px){.bsr-main{height:calc(100dvh - 60px);grid-template-columns:1fr;grid-template-rows:54px minmax(0,1fr) 180px}.bsr-screen>.topbar{height:60px}.bsr-players{display:flex;gap:5px}.bsr-players h1,.bsr-fleet-status,.bsr-players>button{display:none}.bsr-player{flex:1;margin:0;padding:4px}.bsr-player .avatar,.bsr-player .ember-seat-avatar{width:30px;height:36px}.bsr-tabs{display:flex;justify-content:center;gap:8px}.bsr-tabs button{padding:5px 15px;min-height:28px}.bsr-labels{display:none}.bsr-controls{display:flex;flex-wrap:wrap;align-content:start;gap:4px}.bsr-prompt{width:100%;font-size:11px;padding:5px}.bsr-tray{display:flex;width:100%;gap:3px;margin:0}.bsr-tray button{flex:1;padding:2px}.bsr-tray img{height:25px}.bsr-tray span{font-size:8px}.bsr-drag-help,.bsr-own-label{display:none}.bsr-actions{margin:0;flex:1}.bsr-actions .primary{width:auto;flex:1}.bsr-controls button{min-height:28px;font-size:10px;padding:4px}.bsr-legend{margin:3px;font-size:10px}.bsr-result{font-size:11px;padding:4px;min-height:22px}.bsr-view{padding:2px}.bsr-view label{display:none}.bsr-fire{margin:0}.bsr-placing .bsr-centre{grid-template-rows:minmax(0,1fr) auto auto}}

.bsr-access-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}.bsr-access-grid button{padding:5px 2px;font-size:11px;min-height:30px}

.bsr-tabs[hidden]{display:none!important}.bsr-placing .bsr-legend,.bsr-placing .bsr-own-label{display:none}
@media(max-width:960px) and (max-height:600px){.bsr-controls{padding-top:34px}.bsr-prompt{margin-right:0}.bsr-tray img{height:24px}.bsr-tray span{font-size:8px;white-space:nowrap}.bsr-actions button{flex:1}.bsr-actions .primary{width:auto}.bsr-drag-help{font-size:8px}}
