@import url("./assets/fonts/misans/misans.css");
.score-desk-standalone-root,
.score-desk-standalone {
  min-width: 1100px;
}

.score-desk-standalone .topbar,
.score-desk-standalone .event-page,
.score-desk-standalone #tournamentView,
.score-desk-standalone #teamView,
.score-desk-standalone #rankingView,
.score-desk-standalone #publicationView,
.score-desk-standalone #displayView,
.score-desk-standalone #eventChatRail {
  display: none !important;
}

.score-desk-standalone #scoreboardView {
  display: grid !important;
  padding-top: 92px;
}

.score-desk-standalone-header {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto 0;
  min-height: 76px;
  padding: 11px 22px;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.35fr) auto;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #E2E2E2;
  box-shadow: 0 9px 28px rgba(35, 54, 86, .08);
  backdrop-filter: blur(16px);
}

.score-desk-product,
.score-desk-product > div,
.score-desk-assignment,
.score-desk-standalone-actions {
  min-width: 0;
}

.score-desk-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-desk-product img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(49, 82, 214, .2);
}

.score-desk-product strong,
.score-desk-product span,
.score-desk-assignment span,
.score-desk-assignment strong {
  display: block;
}

.score-desk-product strong { font-size: 20px; color: #111827; }
.score-desk-product span { margin-top: 3px; color: #717171; font-size: 13px; }

.score-desk-assignment {
  padding: 9px 15px;
  border: 1px solid #E3E3E3;
  border-radius: 13px;
  background: #F9F9F9;
  overflow: hidden;
}

.score-desk-assignment span { color: #727272; font-size: 12px; }
.score-desk-assignment strong { margin-top: 3px; color: #182238; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-desk-assignment b { color: #7F7F7F; margin: 0 8px; }

.score-desk-standalone-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.score-desk-network-state {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E0E0E0;
  border-radius: 11px;
  padding: 0 13px;
  color: #277a47;
  background: #F7F7F7;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.score-desk-network-state i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8E8E8E;
  box-shadow: 0 0 0 5px rgba(66, 168, 102, .12);
}

.score-desk-network-state.is-offline {
  color: #8b5e1a;
  border-color: #ecd6ad;
  background: #F9F9F9;
}
.score-desk-network-state.is-offline i { background: #d49b36; box-shadow: 0 0 0 5px rgba(212, 155, 54, .12); }

.score-desk-team-library {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  border: 0;
  padding: 0;
  border-radius: 20px;
  color: #172033;
  box-shadow: 0 30px 90px rgba(16, 27, 51, .28);
}

.score-desk-team-library::backdrop { background: rgba(15, 23, 42, .48); backdrop-filter: blur(5px); }
.score-desk-team-library-card { padding: 22px; background: #F8F8F8; }
.score-desk-team-library-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.score-desk-team-library-card > header span { color: #3152d6; font-weight: 800; font-size: 13px; }
.score-desk-team-library-card > header h2 { margin: 4px 0 4px; font-size: 25px; }
.score-desk-team-library-card > header p { margin: 0; color: #777777; }

.score-desk-library-projects {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 9px;
}

.score-desk-library-projects button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: #23304a;
  font: inherit;
  cursor: pointer;
}
.score-desk-library-projects button.is-active { color: #fff; border-color: #3152d6; background: #3152d6; box-shadow: 0 8px 24px rgba(49, 82, 214, .22); }
.score-desk-library-projects span { font-size: 12px; opacity: .78; }

.score-desk-library-add {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid #E2E2E2;
  border-radius: 13px;
  padding: 11px;
  background: #fff;
}
.score-desk-library-add label span { display: block; margin-bottom: 5px; color: #717171; font-size: 12px; font-weight: 700; }
.score-desk-library-add input { width: 100%; min-height: 40px; border: 1px solid #D5D5D5; border-radius: 9px; padding: 0 11px; background: #fff; font: inherit; box-sizing: border-box; }
.score-desk-library-add .button { min-height: 40px; }

.score-desk-library-tools {
  margin-top: 12px;
  padding: 11px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #E2E2E2;
  border-radius: 13px;
  background: #fff;
}
.score-desk-library-tools label { flex: 1; }
.score-desk-library-tools label span { display: block; margin-bottom: 5px; color: #717171; font-size: 12px; font-weight: 700; }
.score-desk-library-tools input { width: 100%; min-height: 38px; border: 1px solid #D5D5D5; border-radius: 9px; padding: 0 11px; background: #fff; font: inherit; }
.score-desk-library-tools > div { display: flex; gap: 8px; }

#scoreDeskLibraryFeedback { display: block; min-height: 34px; padding: 9px 4px 5px; color: #686868; font-size: 13px; }
#scoreDeskLibraryFeedback.is-error { color: #b24343; }
.score-desk-library-list { max-height: min(570px, calc(100vh - 390px)); overflow: auto; display: grid; gap: 7px; padding-right: 4px; }
.score-desk-library-row { min-height: 60px; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid #E2E2E2; border-radius: 12px; background: #fff; }
.score-desk-library-code { display: grid; grid-template-columns: 34px 1fr; align-items: center; overflow: hidden; border: 1px solid #bfd0ff; border-radius: 9px; background: #F6F6F6; }
.score-desk-library-code span { text-align: center; color: #3152d6; font-weight: 900; }
.score-desk-library-code input { min-width: 0; width: 100%; height: 40px; border: 0; padding: 0 8px; background: #fff; font: inherit; font-weight: 800; }
.score-desk-library-team strong, .score-desk-library-team span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-desk-library-team strong { font-size: 16px; }
.score-desk-library-team span { margin-top: 3px; color: #838383; font-size: 12px; }
.score-desk-library-side-actions { display: flex; gap: 7px; }
.score-desk-library-side-actions button { min-height: 38px; border: 0; border-radius: 9px; padding: 0 14px; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.score-desk-library-side-actions button:first-child { background: #c64c45; }
.score-desk-library-side-actions button:last-child { background: #315ed6; }
.score-desk-library-empty { padding: 48px; text-align: center; color: #858585; border: 1px dashed #D4D4D4; border-radius: 12px; background: #fff; }

@media (max-width: 1280px) {
  .score-desk-standalone-header { grid-template-columns: 270px minmax(280px, 1fr) auto; gap: 10px; padding-inline: 14px; }
  .score-desk-standalone-actions .button { padding-inline: 10px; }
}

.network-status.is-clickable { cursor: pointer; user-select: none; }
.network-status.is-offline { color: #92611c; border-color: #ecd6ad; background: #F9F9F9; }
.network-status.is-offline i { background: #d49b36; }
.network-status.is-online { color: #16784a; border-color: #E2E2E2; background: #F7F7F7; }
.network-status.is-online i { background: #8E8E8E; }

.event-sync-dialog {
  width: min(760px, calc(100vw - 40px));
  max-width: none;
  border: 0;
  border-radius: 20px;
  padding: 0;
  color: #172033;
  box-shadow: 0 30px 100px rgba(15, 23, 42, .34);
}
.event-sync-dialog::backdrop { background: rgba(15, 23, 42, .5); backdrop-filter: blur(6px); }
.event-sync-card { padding: 24px; background: #F9F9F9; }
.event-sync-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.event-sync-card > header span { color: #3152d6; font-size: 12px; font-weight: 900; }
.event-sync-card > header h2 { margin: 3px 0 5px; font-size: 27px; }
.event-sync-card > header p { max-width: 580px; margin: 0; color: #797979; line-height: 1.55; }
.event-sync-status { margin-top: 18px; min-height: 52px; display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 9px; border: 1px solid #ead9b8; border-radius: 12px; padding: 0 14px; color: #76521a; background: #F9F9F9; }
.event-sync-status i { width: 10px; height: 10px; border-radius: 50%; background: #d49b36; box-shadow: 0 0 0 5px rgba(212, 155, 54, .13); }
.event-sync-status strong { font-size: 14px; }
.event-sync-status span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8c7248; font-size: 12px; }
.event-sync-status.is-online { border-color: #DEDEDE; color: #246f43; background: #F7F7F7; }
.event-sync-status.is-online i { background: #8E8E8E; box-shadow: 0 0 0 5px rgba(66, 168, 102, .13); }
.event-sync-status.is-online span { color: #757575; }
.event-sync-fields { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.event-sync-fields label { min-width: 0; display: block; }
.event-sync-fields label.is-wide { grid-column: 1 / -1; }
.event-sync-fields label > span { display: block; margin: 0 0 5px 2px; color: #6B6B6B; font-size: 12px; font-weight: 800; }
.event-sync-fields input,
.event-sync-fields select { width: 100%; min-height: 43px; border: 1px solid #D7D7D7; border-radius: 10px; padding: 0 12px; color: #172033; background: #fff; font: inherit; box-sizing: border-box; }
.event-sync-fields input:focus,
.event-sync-fields select:focus { outline: 3px solid rgba(49, 82, 214, .12); border-color: #6f89e9; }
#eventSyncFeedback { display: block; min-height: 39px; padding: 11px 3px 6px; color: #696969; font-size: 13px; }
#eventSyncFeedback.is-error { color: #b24343; }
.event-sync-card > footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; border-top: 1px solid #E6E6E6; padding-top: 14px; }

@media (max-width: 700px) {
  .event-sync-fields { grid-template-columns: 1fr; }
  .event-sync-fields label.is-wide { grid-column: auto; }
  .event-sync-card > footer .button { flex: 1 1 46%; }
}

/* VP-070.5 scorer presentation, scoped to the original standalone scorer. */
body.score-desk-standalone{--score-ui-accent:#00e5be;--score-ui-ink:#323232;--score-ui-focus:#007d64;background:#F9F9F9;color:#1f2937}
body.score-desk-standalone .score-desk-standalone-header{background:#fff;border-bottom:1px solid #E1E1E1;box-shadow:0 3px 14px #32323208}
body.score-desk-standalone .score-desk-product strong{font-weight:750;letter-spacing:0}
body.score-desk-standalone .control-panel{background:#fff;border:1px solid #E1E1E1;border-radius:12px;box-shadow:none}
body.score-desk-standalone .panel-header{border-bottom-color:#EAEAEA;padding-bottom:12px;margin-bottom:14px;gap:12px}
body.score-desk-standalone .panel-header h2{color:#1f2937;font-size:18px;font-weight:750;font-style:normal}
body.score-desk-standalone :is(.button,.ghost-button,.icon-button,.hold-win-button,.text-style-toggle){border-radius:8px;box-shadow:none;touch-action:manipulation}
body.score-desk-standalone :is(.button.secondary,.ghost-button,.icon-button){background:#fff;color:#373737;border:1px solid #C5C5C5}
body.score-desk-standalone :is(.button.primary,.button.start){background:#00e5be;color:#323232;border:1px solid #007d64;font-weight:700;box-shadow:none}
body.score-desk-standalone :is(.button.primary,.button.start):hover:not(:disabled){background:#00cba8}
body.score-desk-standalone :is(.button.secondary,.ghost-button,.icon-button):hover:not(:disabled){background:#F5F5F5;border-color:#007d64}
body.score-desk-standalone :is(.button.warning,.button.danger){background:#fff1f0;color:#a92528;border:1px solid #d69595}
body.score-desk-standalone :is(.button.warning,.button.danger):hover:not(:disabled){background:#ffe1df}
body.score-desk-standalone :is(button,input,select,textarea):focus-visible{outline:3px solid #007d64;outline-offset:3px}
body.score-desk-standalone button:active:not(:disabled){filter:brightness(.96)}
body.score-desk-standalone button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
body.score-desk-standalone :is(input,select,textarea){border-color:#D3D3D3;border-radius:7px;accent-color:#007d64;font:inherit}
body.score-desk-standalone :is(.setting-row,.simple-counter,.simple-sound-item){color:#434343}
body.score-desk-standalone .score-control{background:#FAFAFA;border:1px solid #E1E1E1;border-radius:10px}
body.score-desk-standalone .red-control{border-top:3px solid #d8434e}
body.score-desk-standalone .blue-control{border-top:3px solid #287ddd}
body.score-desk-standalone .score-control-title{font-size:14px;font-weight:750}
body.score-desk-standalone .score-edit-input{background:#fff;font-variant-numeric:tabular-nums;font-weight:800;color:#282828;border:1px solid #D3D3D3}
body.score-desk-standalone .score-button{border-radius:8px;box-shadow:none}
body.score-desk-standalone .red-control .score-button{background:#bd3340;color:#fff}
body.score-desk-standalone .blue-control .score-button{background:#1d66b3;color:#fff}
body.score-desk-standalone .simple-counter-input{background:#fff;border-radius:7px}
body.score-desk-standalone .simple-counter-arrows{background:#F3F3F3}
body.score-desk-standalone .simple-sound-item{background:#FAFAFA;border-color:#E1E1E1}
body.score-desk-standalone :is(.match-nav-panel,.current-match-pill){background:#F6F6F6;border-color:#DDDDDD;color:#373737}
body.score-desk-standalone :is(.result-table,.simple-match-list) th{background:#F3F3F3;color:#434343;font-weight:700;border-color:#E1E1E1}
body.score-desk-standalone :is(.result-table,.simple-match-list) td{border-color:#EAEAEA;font-variant-numeric:tabular-nums}
body.score-desk-standalone :is(.result-table,.simple-match-list) tbody tr:hover{background:#F6F6F6}
body.score-desk-standalone .simple-match-list tr.is-current{background:#F3F3F3;box-shadow:inset 3px 0 #007d64}
body.score-desk-standalone .result-dialog{background:#fff;color:#1f2937;border:1px solid #D3D3D3;border-radius:12px}
body.score-desk-standalone .scoreboard-stage{background:repeating-linear-gradient(132deg,#ffffff21 0 1px,transparent 1px 9px),linear-gradient(118deg,#00e5be 0%,#00cbae 65%,#009b87 100%);color:#06382f}
body.score-desk-standalone .scoreboard-stage::before,body.score-desk-standalone .scoreboard-stage::after,body.score-desk-standalone .scoreboard-stage:not(.has-custom-bg) .stage-bg::after{display:none}
body.score-desk-standalone .scoreboard-stage .team-card{background:#063f36f5;border-color:#00e5be66;border-radius:10px;box-shadow:none}
body.score-desk-standalone .scoreboard-stage .red-card{border-left-color:var(--red)}
body.score-desk-standalone .scoreboard-stage .blue-card{border-right-color:var(--blue)}
body.score-desk-standalone .scoreboard-stage .score-value{color:#00e5be!important;text-shadow:none;font-variant-numeric:tabular-nums}
body.score-desk-standalone .scoreboard-stage .team-name{color:#f2f7f6!important;text-shadow:none}
body.score-desk-standalone .scoreboard-stage :is(.match-title,.round-title,.timer-value){color:#06382f!important;text-shadow:none}
body.score-desk-standalone .scoreboard-stage :is(.screen-upcoming-matches,.screen-carousel-line){background:#064a40;color:#f2f7f6!important;border-color:#00e5be66;border-radius:8px}
body.score-desk-standalone .scoreboard-stage .game-win-slots span.is-active{background:#00e5be;border-color:#00e5be;box-shadow:none}
@media(pointer:coarse){body.score-desk-standalone :is(.button,.icon-button,.score-button,.hold-win-button){min-height:44px}}

/* Scorer-only alignment with approved green v73 DOM, preserving state and controls. */
body.score-desk-standalone{--font-main:"MiSans VF",sans-serif;font-family:"MiSans VF",sans-serif;font-weight:300;font-synthesis:none}
body.score-desk-standalone :is(button,input,select,textarea,label,p,td,summary){font-family:"MiSans VF",sans-serif;font-weight:300;font-style:normal;font-synthesis:none}
body.score-desk-standalone :is(h1,h2,h3,strong,b,th,.button.primary,.button.start,.score-control-title){font-weight:600}
body.score-desk-standalone .scoreboard-stage{--red:#FF4D60;--blue:#4096FF;--board-ink:#06382F;--board-score:#00E5BE;--board-muted:#0A4A40;--board-panel:#063F36F5;--board-line:#D5FFEF40;background:repeating-linear-gradient(132deg,#FFFFFF16 0 1px,transparent 1px 7px),linear-gradient(55deg,#FFFFFF0B 0 18%,transparent 20% 78%,#FFFFFF08 81%,transparent 81%),linear-gradient(118deg,#00E5BE 0%,#00E5BE 34%,#00BFA1 68%,#008F7A 100%);font-family:"MiSans VF",sans-serif;font-synthesis:none}
body.score-desk-standalone .scoreboard-frame{border-radius:.7cqw}
body.score-desk-standalone .scoreboard-stage .score-zone{grid-template-columns:27cqw 28cqw 27cqw;gap:2cqw;min-height:21cqw;top:47%;left:0;right:0}
body.score-desk-standalone .scoreboard-stage .team-card{height:21cqw;min-height:21cqw;grid-template-rows:5.2cqw minmax(0,1fr);padding:1.5cqw 1.4cqw;box-sizing:border-box;border-radius:.45cqw;background:var(--board-panel);border-color:var(--board-line)}
body.score-desk-standalone .scoreboard-stage .red-card{border-left:.5cqw solid #FF4D60}
body.score-desk-standalone .scoreboard-stage .blue-card{border-right:.5cqw solid #4096FF}
body.score-desk-standalone .scoreboard-stage.is-reversed-teams .red-card{border-left:1px solid var(--board-line);border-right:.5cqw solid #FF4D60}
body.score-desk-standalone .scoreboard-stage.is-reversed-teams .blue-card{border-right:1px solid var(--board-line);border-left:.5cqw solid #4096FF}
body.score-desk-standalone .scoreboard-stage .team-identity{height:5.2cqw;min-height:5.2cqw;align-items:center;justify-content:center;gap:.7cqw}
body.score-desk-standalone .scoreboard-stage .team-copy{display:flex;align-items:center;justify-content:center;min-width:0;height:5.2cqw}
body.score-desk-standalone .scoreboard-stage .logo-slot:not(:has(img)){display:none!important}
body.score-desk-standalone .scoreboard-stage .logo-slot{width:3.2cqw;height:3.2cqw;min-width:3.2cqw;border:0;background:transparent}
body.score-desk-standalone .scoreboard-stage :is(.team-name,.team-name.fixed-name-slot){display:flex!important;align-items:center;justify-content:center;width:23cqw;max-width:100%;height:5.2cqw;min-height:5.2cqw;max-height:5.2cqw;padding:0 .6cqw;font-size:2cqw;font-weight:600;line-height:1.3;letter-spacing:0;white-space:normal!important;overflow:hidden;color:#F0FFF8!important}
body.score-desk-standalone .scoreboard-stage .team-name>.fixed-name-content{display:block;width:100%;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-wrap:balance;transform:skewX(-10deg)!important;transform-origin:center;will-change:auto}
body.score-desk-standalone .scoreboard-stage .team-name.scorer-name-overflow{overflow:auto!important}
body.score-desk-standalone .scoreboard-stage .match-title{max-width:84%;font-size:calc(var(--text-size,150)*.0226667cqw);font-weight:650;line-height:1.2;padding:0;text-align:center;transform:translate(-50%,-50%) skewX(-10deg)}
body.score-desk-standalone .scoreboard-stage .round-title{top:calc(var(--text-y,38%) - 2.38%);width:23cqw;max-width:84%;height:5.2cqw;display:flex;align-items:center;justify-content:center;font-size:calc(var(--text-size,80)*.025cqw);font-weight:600;line-height:1.3;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;padding:0 .6cqw;transform:translate(-50%,-50%) skewX(-10deg)}
body.score-desk-standalone .scoreboard-stage :is(.score-value,.timer-value){font-family:"MiSans VF",sans-serif;font-style:normal;font-synthesis:none;transform:skewX(-10deg);transform-origin:center;text-shadow:none;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
body.score-desk-standalone .scoreboard-stage .score-value{font-size:8.8cqw;font-weight:700;line-height:1;align-self:center;margin:0;padding:0;height:1.04em;min-height:1.04em;position:relative;top:-.065em;color:#00E5BE!important}
body.score-desk-standalone .scoreboard-stage .timer-value{font-size:8.2cqw;font-weight:650;line-height:1;margin:0;transition:font-size 850ms cubic-bezier(.22,.61,.36,1);color:#06382F!important}
body.score-desk-standalone .scoreboard-stage.scorer-final-ten .timer-value{font-size:9.4cqw}
body.score-desk-standalone .scoreboard-stage .timer-zone{background:transparent;border:0;box-shadow:none;min-height:21cqw}
body.score-desk-standalone .scoreboard-stage .custom-message{color:#0A4A40!important}
body.score-desk-standalone .scoreboard-stage .screen-upcoming-matches{top:calc(var(--text-y,86%) - 2%);width:max-content;min-width:0;max-width:84%;min-height:0;padding:.65cqw 1.8cqw;border-radius:.7cqw;background:#063F36E8;color:#F0FFF8!important;box-shadow:none;backdrop-filter:none}
body.score-desk-standalone .scoreboard-stage .screen-carousel-line{background:transparent;border:0;border-radius:0;font-size:calc(var(--text-size,65)*.0315385cqw);font-weight:500;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere;text-wrap:balance;color:inherit!important}
body.score-desk-standalone .scoreboard-stage :is(.game-win-slots span.is-active){border-color:#00E5BE;background:#00E5BE}
body.score-desk-standalone .scoreboard-stage :is(.match-title,.team-name,.round-title){font-family:"MiSans VF",sans-serif;font-style:normal;font-synthesis:none}
body.score-desk-standalone .scoreboard-stage .team-card.team-name-hidden{grid-template-rows:1fr}
@media(prefers-reduced-motion:reduce){body.score-desk-standalone .scoreboard-stage .timer-value{transition:none}}
body.score-desk-standalone .scoreboard-stage [hidden]{display:none!important}

/* Independent score-pool output only; approved viewer-scoreboard excluded. */
/* Scorer-only alignment with approved green v73 DOM, preserving state and controls. */
body.simple-audience:not(:has(.viewer-scoreboard)){--font-main:"MiSans VF",sans-serif;font-family:"MiSans VF",sans-serif;font-weight:300;font-synthesis:none}
body.simple-audience:not(:has(.viewer-scoreboard)) :is(button,input,select,textarea,label,p,td,summary){font-family:"MiSans VF",sans-serif;font-weight:300;font-style:normal;font-synthesis:none}
body.simple-audience:not(:has(.viewer-scoreboard)) :is(h1,h2,h3,strong,b,th,.button.primary,.button.start,.score-control-title){font-weight:600}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage{--red:#FF4D60;--blue:#4096FF;--board-ink:#06382F;--board-score:#00E5BE;--board-muted:#0A4A40;--board-panel:#063F36F5;--board-line:#D5FFEF40;background:repeating-linear-gradient(132deg,#FFFFFF16 0 1px,transparent 1px 7px),linear-gradient(55deg,#FFFFFF0B 0 18%,transparent 20% 78%,#FFFFFF08 81%,transparent 81%),linear-gradient(118deg,#00E5BE 0%,#00E5BE 34%,#00BFA1 68%,#008F7A 100%);font-family:"MiSans VF",sans-serif;font-synthesis:none}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-frame{border-radius:.7cqw}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .score-zone{grid-template-columns:27cqw 28cqw 27cqw;gap:2cqw;min-height:21cqw;top:47%;left:0;right:0}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-card{height:21cqw;min-height:21cqw;grid-template-rows:5.2cqw minmax(0,1fr);padding:1.5cqw 1.4cqw;box-sizing:border-box;border-radius:.45cqw;background:var(--board-panel);border-color:var(--board-line)}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .red-card{border-left:.5cqw solid #FF4D60}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .blue-card{border-right:.5cqw solid #4096FF}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage.is-reversed-teams .red-card{border-left:1px solid var(--board-line);border-right:.5cqw solid #FF4D60}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage.is-reversed-teams .blue-card{border-right:1px solid var(--board-line);border-left:.5cqw solid #4096FF}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-identity{height:5.2cqw;min-height:5.2cqw;align-items:center;justify-content:center;gap:.7cqw}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-copy{display:flex;align-items:center;justify-content:center;min-width:0;height:5.2cqw}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .logo-slot:not(:has(img)){display:none!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .logo-slot{width:3.2cqw;height:3.2cqw;min-width:3.2cqw;border:0;background:transparent}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage :is(.team-name,.team-name.fixed-name-slot){display:flex!important;align-items:center;justify-content:center;width:23cqw;max-width:100%;height:5.2cqw;min-height:5.2cqw;max-height:5.2cqw;padding:0 .6cqw;font-size:2cqw;font-weight:600;line-height:1.3;letter-spacing:0;white-space:normal!important;overflow:hidden;color:#F0FFF8!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-name>.fixed-name-content{display:block;width:100%;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-wrap:balance;transform:skewX(-10deg)!important;transform-origin:center;will-change:auto}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-name.scorer-name-overflow{overflow:auto!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .match-title{max-width:84%;font-size:calc(var(--text-size,150)*.0226667cqw);font-weight:650;line-height:1.2;padding:0;text-align:center;transform:translate(-50%,-50%) skewX(-10deg)}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .round-title{top:calc(var(--text-y,38%) - 2.38%);width:23cqw;max-width:84%;height:5.2cqw;display:flex;align-items:center;justify-content:center;font-size:calc(var(--text-size,80)*.025cqw);font-weight:600;line-height:1.3;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;padding:0 .6cqw;transform:translate(-50%,-50%) skewX(-10deg)}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage :is(.score-value,.timer-value){font-family:"MiSans VF",sans-serif;font-style:normal;font-synthesis:none;transform:skewX(-10deg);transform-origin:center;text-shadow:none;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .score-value{font-size:8.8cqw;font-weight:700;line-height:1;align-self:center;margin:0;padding:0;height:1.04em;min-height:1.04em;position:relative;top:-.065em;color:#00E5BE!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .timer-value{font-size:8.2cqw;font-weight:650;line-height:1;margin:0;transition:font-size 850ms cubic-bezier(.22,.61,.36,1);color:#06382F!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage.scorer-final-ten .timer-value{font-size:9.4cqw}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .timer-zone{background:transparent;border:0;box-shadow:none;min-height:21cqw}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .custom-message{color:#0A4A40!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .screen-upcoming-matches{top:calc(var(--text-y,86%) - 2%);width:max-content;min-width:0;max-width:84%;min-height:0;padding:.65cqw 1.8cqw;border-radius:.7cqw;background:#063F36E8;color:#F0FFF8!important;box-shadow:none;backdrop-filter:none}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .screen-carousel-line{background:transparent;border:0;border-radius:0;font-size:calc(var(--text-size,65)*.0315385cqw);font-weight:500;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere;text-wrap:balance;color:inherit!important}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage :is(.game-win-slots span.is-active){border-color:#00E5BE;background:#00E5BE}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage :is(.match-title,.team-name,.round-title){font-family:"MiSans VF",sans-serif;font-style:normal;font-synthesis:none}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-card.team-name-hidden{grid-template-rows:1fr}
@media(prefers-reduced-motion:reduce){body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .timer-value{transition:none}}
body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage [hidden]{display:none!important}
body.score-desk-standalone .scoreboard-stage .team-card,body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .team-card{grid-template-rows:6cqw minmax(0,1fr)}
body.score-desk-standalone .scoreboard-stage .timer-zone,body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .timer-zone{height:21cqw;grid-template-rows:6cqw minmax(0,1fr);padding:1.5cqw 0;align-content:stretch;box-sizing:border-box}
body.score-desk-standalone .scoreboard-stage .timer-value,body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .timer-value{grid-row:2;align-self:center}
body.score-desk-standalone .scoreboard-stage .score-effect-shell,body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .score-effect-shell{animation:none!important;transform:none;will-change:auto}
body.simple-audience:not(:has(.viewer-scoreboard)){background:#0E0E0E;color:#FBFBFB}

/* Normal CSS base lets WAAPI pulse the inner shell; outer score keeps its skew. */
body.score-desk-standalone .scoreboard-stage .score-effect-shell,body.simple-audience:not(:has(.viewer-scoreboard)) .scoreboard-stage .score-effect-shell{animation:none!important;transform:none;will-change:auto}
body.score-desk-standalone :is(.setting-row,.setting-row>span:first-child,.setting-hint,.team-autocomplete-option,.simple-counter label,.simple-more-settings,.timer-setting-row,.hotkey-row label,.toggle-row label,.sound-gain-control,.switch-control strong){font-family:"MiSans VF",sans-serif;font-weight:300!important;font-size:14px}
body.score-desk-standalone .setting-row :is(button,input,select,textarea){font-weight:300!important;font-size:14px;min-width:0;max-width:100%}
body.score-desk-standalone :is(.control-panel,.control-stack,.preview-panel,.pinned-controls,.score-control,.score-control-grid){min-width:0;max-width:100%;box-sizing:border-box}
body.score-desk-standalone .setting-row{grid-template-columns:minmax(72px,100px) minmax(0,1fr) auto;gap:8px}
body.score-desk-standalone .setting-row.text-setting-row{grid-template-columns:minmax(72px,100px) minmax(0,1fr) auto auto}
body.score-desk-standalone .setting-row.no-toggle{grid-template-columns:minmax(72px,100px) minmax(0,1fr)}
body.score-desk-standalone .score-desk-standalone-header{grid-template-columns:minmax(180px,1fr) auto;gap:12px}
body.score-desk-standalone .score-desk-standalone-actions{flex-wrap:wrap;min-width:0;justify-content:flex-end}
@media(max-width:1300px){body.score-desk-standalone .pinned-controls{grid-template-columns:minmax(0,1fr)}body.score-desk-standalone .score-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.score-desk-standalone .score-desk-standalone-header{grid-template-columns:minmax(0,1fr)}body.score-desk-standalone .score-desk-standalone-actions{justify-content:flex-start}body.score-desk-standalone .score-controls{grid-template-columns:minmax(0,1fr)}body.score-desk-standalone .simple-counter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.score-desk-standalone .setting-row,body.score-desk-standalone .setting-row.no-toggle,body.score-desk-standalone .setting-row.text-setting-row{grid-template-columns:minmax(0,1fr);gap:6px}}
@media(prefers-reduced-motion:reduce){body.score-desk-standalone .scoreboard-stage .score-effect-shell{transform:none}}
body.score-desk-standalone .score-control .score-edit-input{font-weight:700!important}
body.score-desk-standalone .text-style-popover,body.score-desk-standalone .text-style-popover :is(label,span,p,input,select,textarea,button){font-family:"MiSans VF",sans-serif;font-weight:300!important;font-size:14px}
