.bracket-match-dialog{position:fixed;inset:auto;z-index:100020;box-sizing:border-box;width:min(96vw,460px);max-width:460px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:0;padding:12px;border:1px solid #cbd8e7;border-radius:14px;background:#f3f6fa;color:#172f4e;overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 54px #09152d66;color-scheme:light}
.bracket-match-dialog::backdrop{background:transparent}
.bracket-match-dialog *{box-sizing:border-box}
.bracket-match-dialog-heading{position:sticky;top:-12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-12px -12px 0;padding:10px 12px;background:#f3f6fa;border-bottom:1px solid #dce4ee}
.bracket-match-dialog-heading h2{flex:1;min-width:0;margin:0;font-size:18px;font-weight:800;line-height:1.35}
.bracket-match-dialog-close{min-width:66px;min-height:44px;padding:8px 10px;border:1px solid #c7d5e5;border-radius:8px;background:#fff;color:#244f7d;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.bracket-match-dialog-context{margin:9px 0;font-size:12px;line-height:1.5;color:#61768e;overflow-wrap:anywhere}
.bracket-match-dialog-status{margin:8px 0;color:#9b3f32;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.bracket-match-dialog-status:empty{display:none}
.bracket-match-dialog-card{min-width:0}
.bracket-match-dialog-card :is(.match,.champ){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;column-gap:0;min-width:0;width:100%;margin:0;padding:8px;border:1px solid #d4deea;border-radius:9px;background:#fff}
.bracket-match-dialog-card :is(.match,.champ)>:not(.player){grid-column:1/-1;min-width:0}
.bracket-match-dialog-card .player{position:relative;grid-column:1;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:stretch;min-width:0;min-height:44px;padding:0;border:0;border-top:2px solid #2865ad}
.bracket-match-dialog-card .player+.player{grid-column:2;border-top-color:#c43843;border-left:1px solid #dce3ec}
.bracket-match-dialog-card .player>.player-choice{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;align-items:start;gap:2px;width:100%;min-width:0;min-height:48px;margin:0;padding:5px 4px;text-align:center;font-size:13px;line-height:1.25}
.bracket-match-dialog-card .player-choice>span,.bracket-match-dialog-card .player b,.bracket-match-dialog-card .player small{width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.bracket-match-dialog-card .player small{margin-top:2px;font-size:10px;line-height:1.3}
.bracket-match-dialog-card .player .player-result{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;white-space:normal}
.bracket-match-dialog-card .player .player-points{font-size:17px;line-height:1.15}
.bracket-match-dialog-card .player .player-status{max-width:100%;margin-left:0;padding:1px 3px;white-space:normal;overflow-wrap:anywhere}
.bracket-match-dialog-card .has-inline-score>.player-choice{min-height:66px;padding-right:32px;text-align:left}
.bracket-match-dialog-card .has-inline-score .player-result{justify-content:flex-start}
.bracket-match-dialog-card .player>.player-score-controls{position:absolute;top:4px;right:3px;display:grid;grid-template-columns:26px;gap:2px;width:26px;margin:0;padding:0;z-index:1}
.bracket-match-dialog-card .player-score-controls>button{display:flex;align-items:center;justify-content:center;width:26px;min-width:26px;height:26px;min-height:26px;margin:0;padding:0;font-size:12px;line-height:1;touch-action:manipulation}
.bracket-match-dialog-card .player>.card-score-status{margin:2px 3px;min-width:0;font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.bracket-match-dialog-card .card-score-status:empty{display:none}
.bracket-match-dialog-card .player>.edit-player-information{width:calc(100% - 6px);min-width:0;min-height:36px;margin:3px;padding:4px 2px;font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.bracket-match-dialog-card .player>.player-status-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:2px 3px 4px}
.bracket-match-dialog-card .player-status-actions button{min-width:0;min-height:36px;padding:4px 1px;font-size:11px;line-height:1.25;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
.bracket-match-dialog-card .match-head{flex-wrap:wrap;gap:5px;margin-bottom:4px;font-size:12px}
.bracket-match-dialog-card .match-actions{gap:4px;margin-top:5px}
.bracket-match-dialog-card .match-actions button{min-height:40px}
.bracket-match-dialog-card .match-actions--live-video>button{flex:1 1 0;min-width:0;min-height:44px;margin:0;padding:5px 3px;font-size:clamp(11px,3.3vw,13px);line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.bracket-match-dialog-card .match-actions--live-video>button[hidden]{display:none}
.bracket-match-dialog-card .match-actions--live-video>.bookmark-launch{background:#101d35;color:#fff}
.bracket-match-dialog-card .video-edit .card-video-extra-actions:empty{display:none}
.bracket-match-dialog-card .match-card-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:4px;margin-top:5px}
.bracket-match-dialog-card .match-card-tools .member-match-controls{grid-column:1;grid-row:1;min-width:0;flex-wrap:nowrap}
.bracket-match-dialog-card .match-card-tools .match-video{grid-column:2;grid-row:1;min-width:0;margin:0;justify-content:flex-end}
.bracket-match-dialog-card .match-card-tools button{width:100%;min-width:0;min-height:32px;margin:0;padding:4px 5px;font-size:11px;line-height:1.25}
.bracket-match-dialog-card .video-edit{grid-template-columns:minmax(0,1fr) auto auto;margin-top:5px;padding:5px;gap:4px}
.bracket-match-dialog-card .video-edit input{min-width:0;width:100%;padding:7px;font-size:13px;min-height:38px}
.bracket-match-dialog-card .video-edit button{min-height:38px;padding:5px;font-size:12px}
.bracket-match-dialog-card .video-edit .bookmark-launch{grid-column:1/-1;min-height:42px}
.bracket-match-dialog-card :is(button,input,select,a):focus-visible{outline:3px solid #f2b641;outline-offset:2px}
.bracket-match-dialog :is(button,a){touch-action:manipulation}
@media(max-width:359px){.bracket-match-dialog{width:calc(100vw - 12px);padding:8px}.bracket-match-dialog-heading{top:-8px;margin:-8px -8px 0;padding:8px}.bracket-match-dialog-context{font-size:11px}.bracket-match-dialog-card :is(.match,.champ){padding:6px}.bracket-match-dialog-card .player>.player-choice{font-size:12px}.bracket-match-dialog-card .video-edit{grid-template-columns:minmax(0,1fr) auto auto}.bracket-match-dialog-card .video-edit input[type=url]{grid-column:1/-1}}

.bracket-match-dialog-card .bracket-match-card-status{margin:8px 0 0;font-size:12px;line-height:1.5;color:#9b3f32;overflow-wrap:anywhere}
.bracket-match-dialog-card .bracket-match-card-status:empty{display:none}

.bracket-match-dialog-heading :is(.bracket-match-dialog-drag-handle,.bracket-match-dialog-center){min-height:44px;border:1px solid #c7d5e5;border-radius:8px;background:#fff;color:#244f7d;font:inherit;font-weight:750;line-height:1.3}.bracket-match-dialog-heading .bracket-match-dialog-drag-handle{display:block;width:100%;min-width:0;margin:0;padding:5px 7px;text-align:left;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;border-color:transparent;background:transparent;font-size:16px}.bracket-match-dialog-drag-handle small{display:block;margin-top:3px;font-size:10px;line-height:1.2;font-weight:500;color:#61768e}.bracket-match-dialog-heading .bracket-match-dialog-center{min-width:50px;padding:7px 6px;font-size:11px;cursor:pointer}.bracket-match-dialog.is-dragging .bracket-match-dialog-drag-handle{cursor:grabbing}.bracket-match-dialog-heading :is(button):focus-visible{outline:3px solid #f2b641;outline-offset:2px}@media(max-width:359px){.bracket-match-dialog-heading{gap:5px}.bracket-match-dialog-heading .bracket-match-dialog-drag-handle{font-size:14px;padding-left:3px}.bracket-match-dialog-heading .bracket-match-dialog-close{min-width:58px;padding:7px 6px}}

.record-clock{margin:6px 0 9px;padding:7px 10px;border:1px solid #cfdae7;border-radius:9px;background:#fff;color:#17334f}
.record-clock[hidden]{display:none}
.record-clock-bar{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.record-clock-title,.record-clock-settings{font-size:12px;font-weight:700}
.record-clock-time{margin-right:auto;font:800 24px/1.1 system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.015em}
.record-clock[data-state=running] .record-clock-time{color:#135935}.record-clock[data-state=ended] .record-clock-time{color:#ad2431}
.record-clock button{width:auto;min-height:38px;margin:0;padding:4px 10px;border:1px solid #bdcddb;border-radius:7px;background:#f3f7fc;color:#244966;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer}
.record-clock .record-clock-primary{background:#174b82;border-color:#174b82;color:#fff;min-width:65px}
.record-clock button:disabled{opacity:.55;cursor:default}
.record-clock-settings{margin-top:3px}.record-clock-settings summary{width:fit-content;min-height:27px;padding:5px 0;cursor:pointer}
.record-clock-form{display:flex;align-items:center;gap:6px;margin:3px 0}
.record-clock-form label{font-size:12px}.record-clock-form input{width:68px;min-width:0;min-height:38px;padding:3px 7px;font:inherit}
.record-clock-note{display:block;font-size:12px;color:#8a381c}.record-clock-note:empty{display:none}
