.admin-scoring-mode {
  grid-template-columns: repeat(3, minmax(190px, 1fr));
}

.admin-scoring-mode .balance-mode-option {
  min-width: 0;
}

.balance-mode-active .balance-native-workbench {
  display: none !important;
}

.balance-graph-editor {
  width: 100%;
  min-width: 0;
  padding: 24px;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.interactive-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f2f4f7;
}

.interactive-mode-tabs button {
  display: grid;
  min-width: 0;
  min-height: 62px;
  padding: 10px 14px;
  align-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  text-align: left;
  cursor: pointer;
}

.interactive-mode-tabs button:hover {
  color: #101828;
}

.interactive-mode-tabs button.active {
  border-color: #d0d5dd;
  background: #fff;
  color: #101828;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.07);
}

.interactive-mode-tabs button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.interactive-mode-tabs span,
.interactive-mode-tabs small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interactive-mode-tabs span {
  font-size: 14px;
  font-weight: 900;
}

.interactive-mode-tabs small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 650;
}

.balance-editor-heading,
.balance-toolbar,
.balance-editor-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.balance-editor-heading h2,
.balance-modal-header h2 {
  margin: 3px 0 4px;
  color: #101828;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.balance-editor-heading p,
.balance-modal-header p {
  margin: 0;
  color: #667085;
  font-size: 13px;
}

.worldcup-editor-heading {
  margin-bottom: 18px;
}

.worldcup-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.worldcup-summary > div {
  display: grid;
  min-height: 84px;
  padding: 15px;
  align-content: center;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #f8fafc;
}

.worldcup-summary strong {
  overflow: hidden;
  color: #101828;
  font-size: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worldcup-summary span {
  margin-top: 2px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.worldcup-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.worldcup-candidate-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
}

.worldcup-candidate-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #eef2f6;
}

.worldcup-candidate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worldcup-candidate-image > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 750;
}

.worldcup-candidate-image em {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 28px;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.worldcup-candidate-card > div:last-child {
  display: grid;
  min-width: 0;
  padding: 11px 12px 12px;
}

.worldcup-candidate-card strong,
.worldcup-candidate-card code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worldcup-candidate-card strong {
  color: #101828;
  font-size: 14px;
}

.worldcup-candidate-card code {
  margin-top: 3px;
  color: #98a2b3;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.worldcup-empty {
  display: grid;
  min-height: 250px;
  padding: 30px;
  place-content: center;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.worldcup-empty strong {
  color: #101828;
  font-size: 18px;
}

.worldcup-empty p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 12px;
}

.worldcup-admin-note {
  margin-top: 16px;
  padding: 15px 16px;
  border-left: 3px solid #2563eb;
  background: #eff6ff;
}

.worldcup-admin-note strong {
  color: #1d4ed8;
  font-size: 12px;
}

.worldcup-admin-note p {
  margin: 4px 0 0;
  color: #475467;
  font-size: 12px;
  line-height: 1.55;
}

.balance-eyebrow {
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.balance-editor-primary-actions,
.balance-toolbar-group,
.balance-modal-actions,
.balance-inline-field,
.balance-color-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.balance-button:hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

.balance-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.balance-button-primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.balance-button-primary:hover {
  border-color: #2563eb;
  background: #2563eb;
}

.balance-toolbar {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f8fafc;
}

.balance-save-status {
  overflow: hidden;
  max-width: 52%;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-save-status[data-tone="dirty"] {
  color: #b54708;
}

.balance-save-status[data-tone="saving"] {
  color: #175cd3;
}

.balance-save-status[data-tone="saved"] {
  color: #027a48;
}

.balance-save-status[data-tone="error"] {
  color: #b42318;
}

.balance-graph-viewport {
  position: relative;
  overflow: auto;
  width: 100%;
  height: 680px;
  margin-top: 14px;
  border: 1px solid #2a3441;
  border-radius: 14px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    #11161e;
  background-size:
    var(--balance-grid-size, 24px) var(--balance-grid-size, 24px),
    var(--balance-grid-size, 24px) var(--balance-grid-size, 24px);
  overscroll-behavior: contain;
}

.balance-graph-scroll-space {
  position: relative;
  min-width: 100%;
  min-height: 100%;
}

.balance-graph-stage {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 1200px;
  min-height: 720px;
  transform: scale(1);
  transform-origin: 0 0;
  will-change: transform;
}

.balance-connection-layer,
.balance-node-layer {
  position: absolute;
  inset: 0;
}

.balance-connection-layer {
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.balance-node-layer {
  z-index: 2;
}

.balance-link {
  fill: none;
  stroke: #4fd1c5;
  stroke-width: 3;
  filter: drop-shadow(0 0 4px rgba(79, 209, 197, 0.32));
}

.balance-link-b {
  stroke: #a78bfa;
  filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.32));
}

.balance-link-preview {
  stroke-dasharray: 8 7;
}

.balance-node {
  position: absolute;
  width: 272px;
  border: 1px solid #3b4655;
  border-radius: 12px;
  background: #202732;
  color: #eef2f7;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  user-select: none;
}

.balance-node.is-dragging {
  z-index: 8;
  border-color: #60a5fa;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48);
}

.balance-node-result {
  border-color: #6750a4;
  background: #282238;
}

.balance-node-header {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
}

.balance-node-header:active {
  cursor: grabbing;
}

.balance-node-header > div:first-child {
  min-width: 0;
}

.balance-node-header strong {
  display: block;
  overflow: hidden;
  max-width: 150px;
  margin-top: 2px;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-node-type {
  display: block;
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.balance-node-result .balance-node-type {
  color: #c4b5fd;
}

.balance-node-actions {
  display: flex;
  gap: 4px;
}

.balance-node-actions button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: #d0d5dd;
  font-size: 15px;
  cursor: pointer;
}

.balance-node-actions button:hover,
.balance-node-actions button.is-start {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.16);
  color: #fff;
}

.balance-node-prompt {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  margin: 0;
  padding: 11px 14px;
  color: #cfd6e2;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.balance-node-choices {
  padding: 0 0 7px;
}

.balance-node-choice {
  position: relative;
  display: grid;
  min-height: 38px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.balance-choice-letter {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  background: rgba(79, 209, 197, 0.15);
  color: #5eead4;
  font-size: 10px;
  font-weight: 900;
}

.balance-node-choice:nth-child(2) .balance-choice-letter {
  background: rgba(167, 139, 250, 0.16);
  color: #c4b5fd;
}

.balance-choice-label {
  overflow: hidden;
  color: #f2f4f7;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-target-chip {
  overflow: hidden;
  max-width: 82px;
  padding: 4px 7px;
  border: 0;
  border-radius: 5px;
  background: #303846;
  color: #98a2b3;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}

.balance-target-chip.connected {
  color: #d0d5dd;
  cursor: pointer;
}

.balance-target-chip.connected:hover {
  background: #49343a;
  color: #fda29b;
}

.balance-result-preview {
  display: grid;
  gap: 3px;
  padding: 14px;
}

.balance-result-preview span {
  color: #98a2b3;
  font-size: 10px;
}

.balance-result-preview strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-result-preview code {
  overflow: hidden;
  color: #c4b5fd;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-port {
  position: absolute;
  z-index: 4;
  display: block;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: crosshair;
}

.balance-port::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f97316;
  box-shadow:
    0 0 0 2px rgba(249, 115, 22, 0.26),
    0 0 7px rgba(249, 115, 22, 0.72);
  content: "";
  transform: translate(-50%, -50%);
  transition:
    box-shadow 120ms ease,
    transform 120ms ease;
}

.balance-port-input {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.balance-port-output {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}

.balance-port-output-a {
  top: 50%;
}

.balance-port-output-b {
  top: 50%;
}

.balance-port:hover::before,
.balance-connecting .balance-port-input::before {
  box-shadow:
    0 0 0 3px rgba(249, 115, 22, 0.3),
    0 0 10px rgba(249, 115, 22, 0.9);
  transform: translate(-50%, -50%) scale(1.25);
}

.balance-zoom-readout {
  min-width: 58px;
  font-variant-numeric: tabular-nums;
}

.balance-editor-legend {
  justify-content: flex-start;
  margin-top: 13px;
  color: #667085;
  font-size: 11px;
}

.balance-editor-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.balance-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f97316;
}

.balance-legend-dot.output-a {
  background: #f97316;
}

.balance-legend-dot.output-b {
  background: #f97316;
}

.balance-modal-overlay {
  position: fixed;
  z-index: 99999;
  display: grid;
  inset: 0;
  padding: 28px;
  place-items: center;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
}

.balance-modal {
  overflow: hidden;
  width: min(820px, 100%);
  max-height: min(860px, calc(100vh - 56px));
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.34);
}

.balance-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #eaecf0;
}

.balance-modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  border: 1px solid #e4e7ec;
  border-radius: 9px;
  background: #fff;
  color: #475467;
  font-size: 22px;
  cursor: pointer;
}

.balance-modal-form {
  overflow: auto;
  max-height: calc(100vh - 180px);
  padding: 22px 24px 24px;
}

.balance-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.balance-form-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.balance-field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.balance-field-wide {
  grid-column: 1 / -1;
}

.balance-field > span,
.balance-modal-section h3 {
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.balance-field input,
.balance-field textarea,
.balance-field select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 13px;
}

.balance-field textarea {
  resize: vertical;
}

.balance-field input:focus,
.balance-field textarea:focus,
.balance-field select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.balance-inline-field input {
  flex: 1 1 auto;
}

.balance-color-field input[type="color"] {
  width: 48px;
  flex: 0 0 48px;
  padding: 4px;
}

.balance-color-field input:not([type="color"]) {
  flex: 1 1 auto;
}

.balance-modal-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eaecf0;
}

.balance-modal-section h3 {
  margin: 0 0 12px;
}

.balance-modal-actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.balance-modal-warning {
  padding: 13px 15px;
  border-radius: 9px;
  background: #fff4ed;
  color: #b54708;
  font-size: 12px;
  font-weight: 700;
}

.balance-player-active .balance-native-player {
  display: none !important;
}

.balance-player {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 630px;
  isolation: isolate;
  background: var(--balance-question-bg, #f4f6f8);
  color: var(--balance-question-color, #111827);
}

.balance-player-background {
  position: absolute;
  z-index: -3;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}

.balance-player-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 24, 0.08) 0%,
    rgba(10, 15, 24, 0.02) 46%,
    rgba(10, 15, 24, 0.28) 100%
  );
}

.balance-player-topbar {
  position: absolute;
  display: grid;
  top: 20px;
  right: 18px;
  left: 18px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.48);
}

.balance-player-topbar > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.balance-player-topbar > small {
  font-size: 10px;
  font-weight: 700;
}

.balance-player-back {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.28);
  color: #fff;
  font-size: 18px;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.balance-player-back:disabled {
  opacity: 0.32;
  cursor: default;
}

.balance-player-question {
  position: absolute;
  top: 94px;
  right: 20px;
  left: 20px;
  padding: 18px 19px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.balance-player-question > span {
  display: block;
  margin-bottom: 8px;
  color: #0f766e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.balance-player-question h1 {
  margin: 0;
  color: var(--balance-question-color, #111827);
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: pre-wrap;
}

.balance-player-choices {
  position: absolute;
  display: flex;
  right: 14px;
  bottom: 42px;
  left: 14px;
  align-items: stretch;
  justify-content: center;
  gap: var(--balance-choice-gap, 10px);
  transform: translateY(var(--balance-choice-offset-y, 0));
}

.balance-player-choices button {
  display: grid;
  overflow: hidden;
  width: min(
    var(--balance-choice-width, 176px),
    calc(50% - var(--balance-choice-gap, 10px) / 2)
  );
  min-width: 0;
  height: var(--balance-choice-height, 64px);
  padding: 8px 10px;
  place-content: center;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: var(--balance-choice-bg, #fff);
  color: var(--balance-choice-color, #111827);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  font-family: var(--balance-choice-font-family, Pretendard, sans-serif);
  cursor: pointer;
}

.balance-player-choices button:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 15px 28px rgba(37, 99, 235, 0.18);
}

.balance-player-choices button > span {
  margin-bottom: 2px;
  color: #64748b;
  font-size: 9px;
  font-weight: 900;
}

.balance-player-choices button > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--balance-choice-font-size, 15px);
  font-weight: var(--balance-choice-font-weight, 700);
  line-height: 1.3;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.balance-player.is-transitioning {
  opacity: 0.45;
  transition: opacity 150ms ease;
}

.worldcup-player {
  padding: 20px 14px 18px;
  background: #0d1016;
  color: #f8fafc;
}

.worldcup-player-header {
  display: grid;
  min-height: 100px;
  align-content: start;
  text-align: center;
}

.worldcup-player-header > span {
  color: #60a5fa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.worldcup-player-header h1 {
  overflow: hidden;
  margin: 5px 10px 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worldcup-player-header > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.worldcup-player-header strong,
.worldcup-player-header small {
  padding: 4px 8px;
  border: 1px solid #334155;
  border-radius: 5px;
  background: #161b24;
}

.worldcup-player-header strong {
  color: #f8fafc;
  font-size: 11px;
}

.worldcup-player-header small {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
}

.worldcup-match {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  height: 445px;
}

.worldcup-choice {
  position: relative;
  display: grid;
  overflow: hidden;
  min-width: 0;
  padding: 0 0 13px;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid #303846;
  border-radius: 10px;
  background: #171c25;
  color: #fff;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.worldcup-choice:hover {
  z-index: 2;
  border-color: #60a5fa;
  transform: translateY(-4px);
}

.worldcup-choice-image {
  display: grid;
  overflow: hidden;
  min-height: 0;
  place-items: center;
  background: #232a35;
}

.worldcup-choice-image img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  object-position: center;
}

.worldcup-choice-image i {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.worldcup-choice > strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 45px;
  padding: 11px 10px 0;
  place-self: center stretch;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.worldcup-versus {
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #0d1016;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.worldcup-player-guide {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.balance-player-empty {
  display: grid;
  height: 100%;
  padding: 36px;
  place-content: center;
  text-align: center;
}

.balance-player-empty strong {
  font-size: 22px;
}

.balance-player-empty p {
  max-width: 320px;
  margin: 9px auto 20px;
  color: #667085;
  font-size: 13px;
}

@media (max-width: 900px) {
  .admin-scoring-mode {
    grid-template-columns: 1fr;
  }

  .balance-editor-heading,
  .balance-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .balance-editor-primary-actions {
    flex-wrap: wrap;
  }

  .balance-save-status {
    max-width: 100%;
  }

  .balance-graph-editor {
    padding: 14px;
    border-radius: 12px;
  }

  .balance-graph-viewport {
    height: 620px;
  }

  .worldcup-editor-heading {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .interactive-mode-tabs {
    gap: 5px;
  }

  .interactive-mode-tabs button {
    min-height: 56px;
    padding: 8px 10px;
  }

  .interactive-mode-tabs span {
    font-size: 12px;
  }

  .interactive-mode-tabs small {
    font-size: 9px;
  }

  .worldcup-summary {
    gap: 6px;
  }

  .worldcup-summary > div {
    min-height: 72px;
    padding: 10px;
  }

  .worldcup-summary strong {
    font-size: 17px;
  }

  .worldcup-candidate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .balance-modal-overlay {
    padding: 10px;
  }

  .balance-modal {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .balance-modal-form {
    max-height: calc(100vh - 150px);
    padding: 16px;
  }

  .balance-modal-header {
    padding: 18px 16px 14px;
  }

  .balance-form-grid,
  .balance-form-grid-4 {
    grid-template-columns: 1fr;
  }

  .balance-player-question h1 {
    font-size: 22px;
  }

  .balance-player-topbar > small {
    display: none;
  }

  .balance-player-topbar {
    grid-template-columns: 42px 1fr;
  }

  .worldcup-match {
    height: 442px;
  }

  .worldcup-choice > strong {
    font-size: 14px;
  }
}
