.card-access {
  --access-line: #33454b;
  --access-muted: #b7c3c7;
  --access-green: #74e589;
  --access-gold: #f3bf4e;
  margin: 0 auto;
  padding: 40px 28px 24px;
  max-width: 1320px;
  color: inherit;
  font-size: 16px;
  letter-spacing: 0;
}

.card-access .card-access-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.card-access .card-access-title-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; min-width: 0; }
.card-access #accessPageTitle { margin: 0; font-size: 32px; line-height: 1.3; }
.card-access .card-access-status-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--access-gold); }
.card-access #cardAccessSummary { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.card-access .card-access-status-badge .card-access-icon { filter: invert(81%) sepia(69%) saturate(580%) hue-rotate(343deg); }
.card-access[data-authenticated="true"] .card-access-status-badge { color: var(--access-green); }
.card-access[data-authenticated="true"] .card-access-status-badge .card-access-icon { filter: invert(85%) sepia(19%) saturate(1094%) hue-rotate(77deg); }
.card-access .card-access-return { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; font-size: 15px; line-height: 1.5; text-decoration: none; }
.card-access .card-access-return:hover { color: var(--access-green); }
.card-access .card-access-body { display: grid; grid-template-columns: 254px minmax(0, 1fr); gap: 36px; }
.card-access .card-access-main { min-width: 0; }
.card-access .card-access-workflow { min-width: 0; padding-right: 30px; border-right: 1px solid var(--access-line); }
.card-access h3 { margin: 0; font-size: 20px; line-height: 1.5; }
.card-access #cardAccessWorkflowTitle { margin-bottom: 28px; font-size: 22px; }
.card-access p { line-height: 1.7; overflow-wrap: anywhere; }
.card-access .card-access-steps, .card-access .card-access-benefits { list-style: none; padding: 0; margin: 0; }
.card-access .card-access-steps { display: grid; gap: 40px; }
.card-access .card-access-steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 16px; min-width: 0; }
.card-access .card-access-step-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #73858d; border-radius: 50%; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-access .card-access-steps strong { display: block; padding-top: 4px; font-size: 18px; line-height: 1.5; }
.card-access .card-access-steps p { margin: 6px 0 0; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-steps [data-state="active"] { color: var(--access-green); }
.card-access .card-access-steps [data-state="active"] .card-access-step-number { border: 2px solid var(--access-green); }
.card-access .card-access-steps [data-state="done"] .card-access-step-number { border-color: var(--access-green); color: var(--access-green); }
.card-access .card-access-benefits { display: grid; gap: 24px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--access-line); }
.card-access .card-access-benefits li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 14px; }
.card-access .card-access-benefits strong { display: block; font-size: 15px; line-height: 1.7; }
.card-access .card-access-benefits p { margin: 4px 0 0; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-icon { display: block; flex: 0 0 auto; object-fit: contain; filter: brightness(0) invert(1); }
.card-access .card-access-tabs { display: flex; gap: 24px; min-width: 0; margin-bottom: 18px; border-bottom: 1px solid var(--access-line); }
.card-access .card-access-tabs button { min-height: 50px; padding: 0 12px 12px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--access-muted); font-size: 20px; font-weight: 700; }
.card-access .card-access-tabs button[aria-pressed="true"] { border-bottom-color: var(--access-green); color: #f2f8f4; }
.card-access .card-access-tabs button:hover { background: transparent; color: #f2f8f4; transform: none; }
.card-access .card-access-trial-offer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; padding: 16px 18px; margin-bottom: 28px; border: 1px solid #397c50; border-radius: 6px; background: #0d1e1b; }
.card-access .card-access-trial-intro { display: flex; align-items: center; gap: 12px; min-width: 0; }
.card-access .card-access-trial-intro > div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card-access .card-access-trial-intro strong, .card-access .card-access-trial-intro span { font-size: 15px; line-height: 1.6; }
.card-access .card-access-trial-intro .card-access-icon { filter: invert(85%) sepia(19%) saturate(1094%) hue-rotate(77deg); }
.card-access .card-access-trial-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; max-width: 100%; }
.card-access .card-access-trial-code { display: flex; align-items: center; min-width: 0; max-width: 100%; min-height: 44px; border: 1px solid #4c6068; border-radius: 4px; background: #0b151b; }
.card-access #cardAccessTrialCode { min-width: 0; padding: 8px 12px; color: #f2f8f4; font-family: Consolas, "Courier New", monospace; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.card-access .card-access-trial-code .card-access-icon-button { border: 0; border-left: 1px solid var(--access-line); border-radius: 0 4px 4px 0; }
.card-access .card-access-trial-note { flex: 1 1 220px; min-width: 0; margin: 0; padding-left: 18px; border-left: 1px solid #34604b; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-text-button { min-height: 36px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: var(--access-green); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.card-access .card-access-text-button:hover { background: transparent; color: #b8f5c2; transform: none; }
.card-access .card-access-form-heading { margin: 28px 0 20px; }
.card-access #cardAccessFormTitle { margin: 0 0 6px; font-size: 26px; line-height: 1.4; }
.card-access #cardAccessFormHint { margin: 0; color: var(--access-muted); font-size: 16px; }
.card-access form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.card-access label { display: block; min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
.card-access .card-access-input-wrap { position: relative; min-width: 0; }
.card-access .card-access-input-wrap > .card-access-icon { position: absolute; top: 18px; left: 18px; pointer-events: none; }
.card-access #cardAccessCode { width: 100%; min-width: 0; height: 58px; padding: 12px 16px 12px 54px; border: 1px solid #536971; border-radius: 6px; background: #101a20; color: #f2f8f4; font: inherit; }
.card-access #cardAccessCode::placeholder { color: #aab9bf; opacity: 1; }
.card-access .card-access-input-hint { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 4px; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-input-hint .card-access-icon { margin-top: 1px; }
.card-access button { min-height: 44px; border-radius: 4px; padding: 8px 14px; box-shadow: none; line-height: 1.5; overflow-wrap: anywhere; }
.card-access .card-access-primary { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; min-height: 58px; padding: 12px 18px; border: 1px solid #f6ca6b; border-radius: 6px; background: var(--access-gold); color: #18180f; font-size: 18px; font-weight: 800; box-shadow: none; }
.card-access .card-access-primary .card-access-icon { filter: none; }
.card-access .card-access-primary:hover { border-color: #ffda87; background: #ffcf70; color: #18180f; transform: none; }
.card-access .card-access-verify-hint { margin: 0; color: var(--access-muted); font-size: 14px; }
.card-access button:disabled { opacity: .6; cursor: wait; transform: none; }
.card-access .card-access-terms { margin: 8px 0 0; padding: 14px 16px; border-left: 3px solid var(--access-green); background: #11221d; color: #dfefe5; font-size: 15px; }
.card-access .card-access-caption { margin: 0 0 12px; color: var(--access-muted); font-size: 14px; }
.card-access #cardAccessMessage { margin: 16px 0 0; color: var(--access-gold); font-size: 15px; }
.card-access .card-access-trial-dialog { box-sizing: border-box; width: 460px; max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; overflow-y: auto; border: 1px solid #65766d; border-top: 3px solid var(--access-gold); border-radius: 8px; background: #101b1c; color: #f2f8f4; box-shadow: 0 24px 64px #0008; }
.card-access .card-access-trial-dialog::backdrop { background: #000a; }
.card-access .card-access-trial-dialog[data-kind="success"] { border-top-color: var(--access-green); }
.card-access .card-access-trial-dialog-label { margin: 0 0 12px; color: var(--access-gold); font-size: 14px; }
.card-access .card-access-trial-dialog[data-kind="success"] .card-access-trial-dialog-label { color: var(--access-green); }
.card-access #cardAccessTrialDialogTitle { margin: 0; font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
.card-access #cardAccessTrialDialogMessage { margin: 16px 0 24px; color: var(--access-muted); font-size: 15px; }
.card-access #cardAccessTrialDialogClose { min-height: 48px; font-size: 16px; }
body:has(#cardAccessTrialDialog[open]) { overflow: hidden; }
.card-access .card-access-terms:empty, .card-access .card-access-caption:empty, .card-access #cardAccessMessage:empty { display: none; }
.card-access [hidden] { display: none !important; }
.card-access .card-access-rules { margin-top: 20px; padding-top: 8px; border-top: 1px solid var(--access-line); }
.card-access .card-access-rules details { border-bottom: 1px solid var(--access-line); }
.card-access .card-access-rules summary { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 12px 4px; color: #ecf3ee; font-size: 16px; line-height: 1.5; list-style: none; cursor: pointer; }
.card-access .card-access-rules summary::-webkit-details-marker { display: none; }
.card-access .card-access-chevron { margin-left: auto; transition: transform .16s ease; }
.card-access .card-access-rules details[open] .card-access-chevron { transform: rotate(90deg); }
.card-access .card-access-rules summary:hover { color: var(--access-green); }
.card-access .card-access-policy { padding: 0 4px 4px 42px; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-policy p { margin: 0 0 12px; }
.card-access .card-access-reports-guest, .card-access .card-access-report-heading { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 20px 4px; }
.card-access .card-access-reports-guest h3, .card-access .card-access-report-heading h3 { font-size: 17px; }
.card-access .card-access-reports-guest p { margin: 0 0 0 auto; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-report-heading .card-access-icon-button { margin-left: auto; }
.card-access .card-access-icon-button { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid var(--access-line); border-radius: 4px; background: transparent; }
.card-access .card-access-icon-button:hover { border-color: var(--access-green); background: #172920; transform: none; }
.card-access .card-access-report-list { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }
.card-access .card-access-report-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--access-line); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.card-access .card-access-report-list button { font-size: 14px; }
.card-access .card-access-disclaimer { margin: 24px 0 0; color: var(--access-muted); font-size: 14px; }
.card-access .card-access-member-stats { display: grid; grid-template-columns: 1.1fr minmax(0, 1.4fr) minmax(0, 1fr); margin: 0 0 16px; padding: 6px 0 26px; border-bottom: 1px solid var(--access-line); }
.card-access .card-access-member-stats > div { align-self: center; min-width: 0; padding: 6px 28px; border-left: 1px solid var(--access-line); }
.card-access .card-access-member-stats > div:first-child { padding-left: 0; border-left: 0; }
.card-access .card-access-member-stats dt { margin-bottom: 12px; color: var(--access-muted); font-size: 15px; }
.card-access .card-access-member-stats dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.card-access .card-access-balance dd { display: flex; align-items: baseline; gap: 12px; }
.card-access #cardAccessRemaining { color: var(--access-green); font-size: 44px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.card-access .card-access-balance dd > span { color: var(--access-muted); font-size: 16px; font-weight: 400; }
.card-access #cardAccessUsage { margin: 12px 0 0; color: var(--access-muted); font-size: 14px; font-weight: 400; }
.card-access[data-authenticated="true"] .card-access-body { grid-template-columns: minmax(0, 1fr); }
.card-access[data-authenticated="true"] #cardAccessWorkflow { display: none; }
.card-access[data-authenticated="false"] #cardAccessQuota { display: none; }
.card-access[data-authenticated="true"] .card-access-tabs { margin-top: 28px; }
.card-access :focus-visible { outline: 2px solid var(--access-green); outline-offset: 4px; }

@media (max-width: 1100px) {
  .card-access { padding-inline: 24px; }
  .card-access .card-access-body { grid-template-columns: 216px minmax(0, 1fr); gap: 28px; }
  .card-access .card-access-workflow { padding-right: 24px; }
  .card-access .card-access-steps li { gap: 12px; }
  .card-access .card-access-trial-note { flex-basis: 100%; padding: 12px 0 0; border-left: 0; border-top: 1px solid #34604b; }
  .card-access .card-access-trial-offer { justify-content: space-between; }
  .card-access .card-access-member-stats > div { padding-inline: 20px; }
}

@media (max-width: 760px) {
  .card-access { padding: 28px 18px 20px; }
  .card-access .card-access-heading { align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .card-access .card-access-title-group { gap: 10px 16px; }
  .card-access #accessPageTitle { font-size: 28px; }
  .card-access #cardAccessSummary { font-size: 14px; }
  .card-access .card-access-status-badge { gap: 8px; }
  .card-access .card-access-status-badge .card-access-icon { width: 20px; height: 20px; }
  .card-access .card-access-return { font-size: 14px; min-height: 36px; }
  .card-access .card-access-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .card-access .card-access-workflow { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--access-line); }
  .card-access #cardAccessWorkflowTitle { margin-bottom: 16px; font-size: 17px; }
  .card-access .card-access-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .card-access .card-access-steps li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .card-access .card-access-step-number { width: 32px; height: 32px; font-size: 14px; }
  .card-access .card-access-steps strong { padding: 0; font-size: 14px; }
  .card-access .card-access-steps p, .card-access .card-access-benefits { display: none; }
  .card-access .card-access-tabs { gap: 20px; }
  .card-access .card-access-tabs button { min-height: 44px; padding-inline: 8px; font-size: 18px; }
  .card-access .card-access-trial-offer { gap: 12px; padding: 14px; margin-bottom: 24px; }
  .card-access .card-access-trial-intro { flex-basis: 100%; }
  .card-access .card-access-trial-actions { align-items: stretch; width: 100%; }
  .card-access .card-access-trial-code { width: 100%; }
  .card-access #cardAccessTrialCode { flex: 1 1 auto; padding-inline: 10px; font-size: 15px; }
  .card-access .card-access-text-button { align-self: flex-end; min-height: 44px; }
  .card-access .card-access-trial-note { padding-top: 10px; }
  .card-access .card-access-form-heading { margin-top: 24px; }
  .card-access #cardAccessFormTitle { font-size: 24px; }
  .card-access #cardAccessFormHint { font-size: 14px; }
  .card-access #cardAccessCode { height: 54px; font-size: 16px; }
  .card-access .card-access-input-wrap > .card-access-icon { top: 16px; }
  .card-access .card-access-primary { min-height: 54px; gap: 12px; padding-inline: 12px; font-size: 16px; }
  .card-access .card-access-policy { padding-left: 4px; }
  .card-access .card-access-reports-guest { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px 12px; }
  .card-access .card-access-reports-guest p { grid-column: 2; margin: 0; }
  .card-access .card-access-report-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .card-access .card-access-report-list button { justify-self: start; }
  .card-access .card-access-member-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
  .card-access .card-access-member-stats > div { align-self: start; padding: 0; border-left: 0; }
  .card-access .card-access-member-stats .card-access-balance { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 1px solid var(--access-line); }
  .card-access .card-access-member-stats dd { font-size: 16px; }
  .card-access #cardAccessRemaining { font-size: 40px; }
}

@media (max-width: 380px) {
  .card-access { padding-inline: 12px; }
  .card-access .card-access-title-group { align-items: flex-start; flex-direction: column; gap: 8px; }
  .card-access .card-access-heading { gap: 8px; }
  .card-access .card-access-return { font-size: 14px; gap: 6px; }
  .card-access .card-access-member-stats { grid-template-columns: minmax(0, 1fr); }
  .card-access .card-access-member-stats .card-access-balance { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .card-access .card-access-chevron, .card-access button { transition: none; }
}

.card-prediction-locked { padding: 18px; border-block: 1px solid #71858b; color: inherit; line-height: 1.7; font-size: 13px; overflow-wrap: anywhere; }
.card-prediction-locked strong { font-size: 16px; }
.card-prediction-locked p { margin: 6px 0; }
.card-prediction-locked a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.card-prediction-locked a:focus-visible { outline: 2px solid #55bdb0; outline-offset: 3px; }

:root {
  color-scheme: light;
  --bg: #eaf0f7;
  --panel: #ffffff;
  --ink: #0f2138;
  --muted: #61728a;
  --line: #d4dfeb;
  --navy: #0e2542;
  --navy-2: #12365d;
  --blue: #1f61c2;
  --gold: #d8aa4b;
  --gold-soft: #fff2cc;
  --red: #c73535;
  --green: #0a8b63;
  --shadow: 0 18px 45px rgba(18, 46, 78, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 97, 194, .16), transparent 28%),
    linear-gradient(180deg, #dce8f5 0%, var(--bg) 42%, #f6f8fb 100%);
  color: var(--ink);
}

button, input, a { font: inherit; }

button, .primary-link, .ghost-link {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

button, .ghost-link {
  background: #fff;
  color: var(--ink);
}

button.primary, .primary-link, #runBtn {
  background: linear-gradient(135deg, #1d63cc, #123e83);
  border-color: #1d63cc;
  color: #fff;
}

.shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  min-height: 360px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(12, 26, 46, .96), rgba(17, 57, 96, .92)),
    url("data:image/svg+xml,%3Csvg width='900' height='420' viewBox='0 0 900 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d8aa4b' stroke-opacity='.26'%3E%3Cpath d='M0 330h900M110 0v420M790 0v420M260 110h380v200H260z'/%3E%3Ccircle cx='450' cy='210' r='64'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow, .section-title span {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
}

.hero-lead {
  max-width: 780px;
  color: #dce9f8;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-board {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-metric {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
}

.hero-metric.wide { grid-column: 1 / -1; }
.hero-metric strong { color: #ffdc73; font-size: 48px; }
.hero-metric span { color: #dbe8f5; font-weight: 800; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(235, 243, 251, .78);
  backdrop-filter: blur(10px);
}

.site-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.site-tab.active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: #6f4d00;
}

.risk-notice {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid #f0b5b5;
  border-radius: 16px;
  background: #fff1f1;
  color: var(--red);
  font-weight: 800;
  line-height: 1.8;
}

.data-health-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid #b9d7ee;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 26px rgba(28, 54, 88, .08);
}

.data-health-card.degraded {
  border-color: #f0d48a;
  background: #fff9e8;
}

.data-health-card span,
.data-health-card dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.data-health-card strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 18px;
}

.data-health-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.data-health-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 10px;
  margin: 0;
}

.data-health-card dl div {
  min-width: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.data-health-card dd {
  margin: 4px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.tab {
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 20px rgba(33, 64, 100, .08);
}

.tab.active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: #7c5400;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 14px;
}

.section-head h2, .section-title h2 {
  margin: 0;
  font-size: 28px;
}

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.league-stage, .standings-stage {
  margin-top: 28px;
}

.league-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.league-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 158px;
  align-items: stretch;
  overflow: hidden;
  min-height: 168px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(12, 35, 62, .96), rgba(22, 73, 117, .88)),
    linear-gradient(90deg, rgba(216,170,75,.22), transparent);
  color: #fff;
  box-shadow: var(--shadow);
}

.league-card-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.league-card-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.league-card-head h3 {
  margin: 6px 0;
  font-size: 30px;
}

.league-card-head b {
  color: #dce9f8;
  font-size: 13px;
}

.crest-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  align-content: center;
  align-items: center;
  gap: 10px 12px;
  padding: 18px;
}

.club-crest {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), rgba(255,255,255,.06) 34%, transparent 38%),
    linear-gradient(135deg, #f7d983, #1f61c2 52%, #0e2542);
  box-shadow: inset 0 0 0 3px rgba(14,37,66,.26);
}

.club-crest span {
  display: grid;
  place-items: center;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
}

.club-crest img {
  width: 66%;
  height: 66%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(5, 18, 34, .22));
}

.logo-crest {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), rgba(255,255,255,.5) 42%, rgba(198, 220, 241, .2) 72%),
    linear-gradient(135deg, #ffffff, #dce9f8);
}

.league-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: auto;
  background: rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.12);
}

.league-stats span {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #dbe8f5;
  font-size: 13px;
  font-weight: 800;
}

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

.standing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(28, 54, 88, .09);
}

.standing-card h3 {
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mini-crest {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.mini-crest img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.team-cell {
  display: flex;
  align-items: center;
  min-width: 0;
}

.team-cell > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.team-cell b {
  font-weight: 800;
}

.team-cell small {
  color: var(--muted);
  font-size: 11px;
}

.match-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.empty-state {
  padding: 22px;
  border: 1px dashed #b8c7d8;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  color: var(--muted);
  line-height: 1.7;
}

.empty-state.wide-empty {
  grid-column: 1 / -1;
  min-height: 214px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(246,249,253,.92)),
    linear-gradient(90deg, rgba(31,97,194,.09), rgba(216,170,75,.12));
}

.empty-state span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.empty-state h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 24px;
}

.empty-state p {
  max-width: 760px;
}

.match-banner {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(13, 36, 64, .97), rgba(25, 72, 116, .92)),
    linear-gradient(90deg, transparent, rgba(216, 170, 75, .22));
  color: #fff;
  box-shadow: var(--shadow);
}

.match-banner.active {
  outline: 2px solid var(--gold);
}

.match-banner::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 35%;
  height: 190px;
  transform: rotate(-10deg);
  background: rgba(255,255,255,.08);
}

.match-banner i {
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(255,255,255,.12);
  font-size: 72px;
  font-style: normal;
  font-weight: 900;
}

.banner-top, .banner-actions, .detail-versus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner-top span { color: #dbe8f5; font-size: 13px; font-weight: 800; }
.banner-top b { color: #ff7981; }

.banner-teams {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 28px 0 16px;
}

.banner-teams strong {
  font-size: 24px;
  line-height: 1.2;
}

.banner-teams strong:last-child { text-align: right; }
.banner-teams span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #17233b;
  font-weight: 900;
}

.match-banner p {
  position: relative;
  z-index: 1;
  color: #dbe8f5;
  line-height: 1.6;
}

.banner-actions {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
}

.panel, .match-detail {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(28, 54, 88, .09);
}

.match-detail {
  margin-top: 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  padding: 20px;
}

.detail-main {
  padding: 22px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(243,247,252,.92)),
    linear-gradient(90deg, rgba(216,170,75,.12), transparent);
}

.detail-main h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.detail-main > p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-versus {
  margin-top: 22px;
}

.detail-versus > div {
  flex: 1;
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.detail-versus span, .detail-facts span, .selected-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-versus strong {
  display: block;
  font-size: 28px;
}

.detail-versus em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.detail-versus small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.detail-versus > b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}

.detail-facts {
  display: grid;
  gap: 10px;
}

.detail-facts div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.detail-facts strong { display: block; }
.risk { color: var(--red); font-weight: 900; }
.wide-button { width: 100%; }

.workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 300px;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.panel {
  padding: 18px;
}

.fixture-panel, .console-panel, .side-panel {
  min-height: 640px;
}

.fixture-rail {
  display: grid;
  gap: 12px;
  max-height: 590px;
  overflow: auto;
  padding-right: 4px;
}

.fixture-card {
  display: grid;
  width: 100%;
  gap: 8px;
  padding: 14px;
  text-align: left;
  border-radius: 14px;
  background: #f8fbff;
}

.fixture-card.active {
  border-color: var(--gold);
  background: #fff7df;
}

.fixture-card.finished {
  border-color: #d9e4ef;
}

.fixture-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fixture-card-meta i {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.fixture-status-badge {
  flex: 0 0 auto;
  border: 1px solid #b8c6d4;
  border-radius: 999px;
  padding: 2px 7px;
  background: #edf3f8;
  color: #425466;
  font-size: 11px;
  font-weight: 900;
}

.finished-match-result,
.prediction-preview {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.finished-match-result {
  border-color: #bdd8ee;
  background: #f1f7fd;
}

.prediction-preview {
  border-color: #ead68f;
  background: #fff9e7;
}

.finished-match-result strong,
.prediction-preview strong {
  color: var(--navy);
  font-size: 14px;
}

.finished-match-result span,
.prediction-preview span,
.prediction-preview small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.fixture-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.fixture-card strong {
  color: var(--ink);
  font-size: 17px;
}

.fixture-card small, .fixture-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.fixture-card .finished-match-result span,
.fixture-card .prediction-preview span,
.fixture-card .prediction-preview small {
  color: var(--muted);
  font-size: 11px;
}

.messages {
  height: 520px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #f6f9fd;
}

.message {
  border-bottom: 1px solid var(--line);
  padding: 14px 2px;
  line-height: 1.7;
}

.message b { color: var(--blue); }

.message p {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-type {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.event-type.started {
  border-color: #edd38a;
  color: #715800;
}

.event-type.completed {
  border-color: #b9e8d1;
  color: #00805f;
}

.event-type.degraded {
  border-color: #edd38a;
  color: #8a6400;
}

.event-type.failed {
  border-color: #f0b5b5;
  color: #b13232;
}

.message.thinking {
  margin: 8px 0;
  padding: 14px;
  border: 1px solid #edd38a;
  border-radius: 13px;
  background: #fff5d6;
  color: #715800;
}

.message.agent {
  margin: 8px 0;
  padding: 14px;
  border: 1px solid #b9e8d1;
  border-radius: 13px;
  background: #e7f8ef;
  color: #143b30;
}

.message.degraded {
  margin: 8px 0;
  padding: 14px;
  border: 1px solid #edd38a;
  border-radius: 13px;
  background: #fff9e8;
  color: #624d00;
}

.message.system {
  color: var(--muted);
}

.message-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.source-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.action-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

#runBtn {
  min-width: 126px;
}

button:disabled,
#runBtn:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.agent-overview {
  display: grid;
  gap: 12px;
}

.selected-summary, .agent-step {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.selected-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.selected-summary small, .agent-step p {
  color: var(--muted);
  line-height: 1.65;
}

.agent-step b {
  color: var(--blue);
}

.final-report {
  margin-top: 18px;
}

.live-data-panel {
  margin-top: 18px;
}

.live-data-status {
  display: grid;
  gap: 12px;
}

.live-data-empty {
  color: var(--muted);
  line-height: 1.75;
}

.live-data-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.live-data-progress span,
.live-data-progress em,
.live-data-item small,
.live-data-item span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.live-data-progress strong {
  color: var(--blue);
  font-size: 18px;
}

.live-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.live-data-item {
  min-height: 124px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.live-data-item strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 18px;
}

.live-data-item p {
  margin: 8px 0;
  color: var(--ink);
  line-height: 1.55;
}

.live-data-item.collected {
  border-color: #b9e8d1;
  background: #f1fbf6;
}

.live-data-item.degraded {
  border-color: #edd38a;
  background: #fff9e8;
}

.live-data-item.missing {
  border-color: #f0b5b5;
  background: #fff5f5;
}

.live-data-missing {
  padding: 14px;
  border: 1px solid #edd38a;
  border-radius: 14px;
  background: #fffaf0;
  color: #6b5507;
}

.live-data-missing p {
  margin: 6px 0 0;
  line-height: 1.7;
}

.report-empty {
  color: var(--muted);
  line-height: 1.75;
}

.report-card {
  display: grid;
  gap: 14px;
  line-height: 1.75;
}

.report-card h3 {
  margin-bottom: 0;
  font-size: 28px;
}

.report-grid, .score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.score-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-grid section, .score-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #f8fbff;
}

.report-data-box {
  padding: 14px;
  border: 1px solid #b9d7ee;
  border-radius: 14px;
  background: #f8fbff;
}

.report-data-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.report-data-box strong {
  display: block;
  margin: 4px 0;
  color: var(--blue);
  font-size: 30px;
}

.report-data-box p {
  margin: 0;
  color: var(--muted);
}

.report-asian-odds p {
  overflow-wrap: anywhere;
}

.report-asian-odds small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.report-grid span, .score-card span {
  color: var(--muted);
  font-weight: 800;
}

.report-grid strong, .score-card strong {
  display: block;
  margin: 6px 0;
  color: var(--blue);
  font-size: 26px;
}

.history-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 22px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 35, 62, .97), rgba(20, 66, 108, .92)),
    linear-gradient(90deg, rgba(216,170,75,.18), transparent);
  color: #fff;
  box-shadow: var(--shadow);
}

.history-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
}

.history-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: #dce9f8;
  line-height: 1.8;
}

.history-hero dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.history-hero dl div {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
}

.history-hero dt {
  color: #dce9f8;
  font-size: 13px;
  font-weight: 900;
}

.history-hero dd {
  margin: 6px 0 0;
  color: #ffdc73;
  font-size: 38px;
  font-weight: 900;
}

.archive-stage {
  margin-top: 28px;
}

.fixtures-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 35, 62, .97), rgba(20, 66, 108, .92)),
    linear-gradient(90deg, rgba(31,97,194,.2), rgba(216,170,75,.16));
  color: #fff;
  box-shadow: var(--shadow);
}

.fixtures-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
}

.fixtures-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: #dce9f8;
  line-height: 1.8;
}

.fixtures-hero dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.fixtures-hero dl div {
  display: grid;
  place-items: center;
  min-height: 116px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
}

.fixtures-hero dt {
  color: #dce9f8;
  font-size: 13px;
  font-weight: 900;
}

.fixtures-hero dd {
  margin: 6px 0 0;
  color: #ffdc73;
  font-size: 34px;
  font-weight: 900;
}

.fixtures-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(28, 54, 88, .08);
}

.fixtures-toolbar > div,
.fixtures-toolbar label {
  display: grid;
  gap: 8px;
}

.fixtures-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.standings-view {
  min-width: 0;
}

.standings-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 35, 62, .97), rgba(20, 66, 108, .92)),
    linear-gradient(90deg, rgba(44, 201, 92, .18), rgba(216,170,75,.18));
  color: #fff;
  box-shadow: var(--shadow);
}

.standings-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
}

.standings-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: #dce9f8;
  line-height: 1.8;
}

.standings-hero dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.standings-hero dl div {
  display: grid;
  place-items: center;
  min-height: 116px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  text-align: center;
}

.standings-hero dt {
  color: #dce9f8;
  font-size: 13px;
  font-weight: 900;
}

.standings-hero dd {
  margin: 6px 0 0;
  color: #ffdc73;
  font-size: 34px;
  font-weight: 900;
}

.standings-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: stretch;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(28, 54, 88, .08);
}

.standings-toolbar > div {
  display: grid;
  gap: 8px;
}

.standings-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.standings-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.standings-summary-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(248, 251, 255, .9);
}

.standings-summary-grid strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standing-table-wrap {
  overflow-x: auto;
}

.standing-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.standing-card h3 span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
}

.standing-points {
  color: var(--blue);
  font-weight: 900;
}

td.positive {
  color: #118a42;
  font-weight: 900;
}

td.negative {
  color: #c24141;
  font-weight: 900;
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segment {
  border-radius: 999px;
  padding: 9px 14px;
  background: #f8fbff;
}

.segment.active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: #765000;
}

.fixtures-list {
  display: grid;
  gap: 10px;
}

.fixture-overview-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 110px 220px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(28, 54, 88, .07);
}

.fixture-date {
  display: grid;
  gap: 5px;
}

.fixture-date span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.fixture-date strong {
  color: var(--navy);
}

.fixture-date small {
  color: var(--muted);
  line-height: 1.4;
}

.fixture-teams-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.fixture-teams-line > div {
  display: flex;
  align-items: center;
  min-width: 0;
}

.fixture-teams-line b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-teams-line > strong {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-size: 13px;
}

.fixture-state {
  display: flex;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
}

.status-pill.finished {
  background: #e7edf5;
  color: #50657f;
}

.status-pill.live {
  background: #e7f8ef;
  color: var(--green);
}

.status-pill.scheduled {
  background: #fff5d6;
  color: #715800;
}

.fixture-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.fixture-actions button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
}

.teams-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 35, 62, .97), rgba(20, 66, 108, .92)),
    linear-gradient(90deg, rgba(216,170,75,.2), rgba(31,97,194,.14));
  color: #fff;
  box-shadow: var(--shadow);
}

.teams-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
}

.teams-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: #dce9f8;
  line-height: 1.8;
}

.teams-hero dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.teams-hero dl div {
  display: grid;
  place-items: center;
  min-height: 116px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  text-align: center;
}

.teams-hero dt {
  color: #dce9f8;
  font-size: 13px;
  font-weight: 900;
}

.teams-hero dd {
  margin: 6px 0 0;
  color: #ffdc73;
  font-size: 24px;
  font-weight: 900;
}

.teams-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(28, 54, 88, .08);
}

.teams-toolbar > div {
  display: grid;
  gap: 8px;
}

.teams-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.teams-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.teams-list-panel,
.team-detail-panel {
  min-height: 640px;
}

.teams-list {
  display: grid;
  gap: 10px;
  max-height: 750px;
  overflow: auto;
  padding-right: 4px;
}

.team-list-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  text-align: left;
}

.team-list-card.active {
  border-color: var(--gold);
  background: #fff7df;
}

.team-list-card > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.team-list-card strong {
  overflow: hidden;
  color: var(--navy);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-list-card small,
.team-list-card em {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-list-card em {
  color: var(--blue);
  font-weight: 900;
}

.team-profile {
  display: grid;
  gap: 18px;
}

.team-profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, #fff, #f5f8fc),
    linear-gradient(90deg, rgba(216,170,75,.12), transparent);
}

.profile-crest {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), rgba(255,255,255,.5) 42%, rgba(198, 220, 241, .2) 72%),
    linear-gradient(135deg, #ffffff, #dce9f8);
}

.profile-crest img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.profile-crest span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.team-profile-head span,
.team-info-grid span,
.roster-section .section-title span,
.team-fixtures-section .section-title span,
.team-fixture-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.team-profile-head h2 {
  margin: 4px 0;
  color: var(--navy);
  font-size: 34px;
}

.team-profile-head p {
  margin: 0;
  color: var(--muted);
}

.team-profile-metrics,
.team-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.team-profile-metrics div,
.team-info-grid article {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.team-profile-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.team-profile-metrics dd,
.team-info-grid strong {
  display: block;
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.team-info-grid small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.team-profile-metrics dd.people-quality {
  font-size: 14px;
  line-height: 1.6;
}

.team-profile-metrics > div,
.team-info-grid > article,
.player-row,
.detail-versus > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.roster-section,
.team-fixtures-section {
  display: grid;
  gap: 12px;
}

.paid-people-meta,
.paid-people-note {
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.paid-people-meta strong,
.paid-people-meta span,
.paid-people-meta small {
  display: block;
}

.player-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.player-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.player-row strong,
.player-row span,
.player-row small {
  display: block;
}

.player-row strong {
  color: var(--navy);
}

.player-row span,
.player-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.roster-empty {
  border-radius: 14px;
}

.team-fixture-list {
  display: grid;
  gap: 10px;
}

.team-fixture-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.team-fixture-row > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.team-fixture-row strong {
  overflow: hidden;
  color: var(--navy);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-fixture-row small {
  color: var(--muted);
}

.team-fixture-row button {
  min-height: 38px;
  padding: 8px 12px;
}

.data-status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 22px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(12, 35, 62, .97), rgba(20, 66, 108, .92)),
    linear-gradient(90deg, rgba(216,170,75,.18), rgba(31,97,194,.14));
  color: #fff;
  box-shadow: var(--shadow);
}

.data-status-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
}

.data-status-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: #dce9f8;
  line-height: 1.8;
}

.data-status-hero dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.data-status-hero dl div {
  display: grid;
  place-items: center;
  min-height: 116px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  text-align: center;
}

.data-status-hero dt {
  color: #dce9f8;
  font-size: 13px;
  font-weight: 900;
}

.data-status-hero dd {
  margin: 6px 0 0;
  color: #ffdc73;
  font-size: 24px;
  font-weight: 900;
}

.data-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.status-metrics div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.status-metrics dt,
.probe-form span,
.probe-headline dt,
.probe-league-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.status-metrics dd {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.status-note {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #b9d7ee;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
  line-height: 1.7;
}

.status-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.status-note p {
  margin: 4px 0 0;
}

.probe-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px auto auto;
  align-items: end;
  gap: 10px;
  margin-top: 16px;
}

.football-data-form {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.probe-form label {
  display: grid;
  gap: 8px;
}

.probe-form input {
  width: 100%;
}

.probe-presets {
  display: flex;
  gap: 8px;
}

.probe-presets button,
#probeApiFootballBtn,
.football-data-form button {
  min-height: 46px;
  padding: 10px 14px;
}

.probe-summary {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
  line-height: 1.7;
}

.probe-summary.ok {
  border-color: #b9e8d1;
  background: #effaf4;
}

.probe-summary.partial,
.probe-summary.loading {
  border-color: #edd38a;
  background: #fff7df;
}

.probe-summary.failed {
  border-color: #f0b5b5;
  background: #fff1f1;
}

.probe-summary > span,
.probe-headline span {
  display: block;
  color: var(--blue);
  font-weight: 900;
}

.probe-summary p {
  margin: 6px 0 0;
}

.probe-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.probe-headline dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.probe-headline dl div {
  padding: 10px;
  border: 1px solid rgba(31,97,194,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
}

.probe-headline dd {
  margin: 4px 0 0;
  color: var(--blue);
  font-weight: 900;
}

.probe-league-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.probe-league-row {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) 96px 80px minmax(0, 1.5fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
}

.probe-league-row.ok {
  border-color: #b9e8d1;
}

.probe-league-row.failed {
  border-color: #f0b5b5;
}

.probe-league-row strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
}

.probe-league-row b {
  color: var(--blue);
}

.probe-league-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.probe-league-row p {
  margin: 0;
  color: var(--muted);
}

.season-access-list {
  margin-top: 14px;
}

.season-access-list h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 16px;
}

.season-access-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.season-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.season-chip.ok {
  border-color: #b9e8d1;
  color: var(--green);
}

.season-chip.failed,
.season-chip.partial {
  border-color: #f0b5b5;
  color: var(--red);
}

.archive-list {
  display: grid;
  gap: 12px;
}

.archive-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(28, 54, 88, .07);
}

.archive-meta {
  display: grid;
  gap: 4px;
}

.archive-meta span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.archive-meta strong {
  color: var(--navy);
}

.archive-meta small {
  color: var(--muted);
  line-height: 1.4;
}

.archive-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.archive-teams > div {
  display: flex;
  align-items: center;
  min-width: 0;
}

.archive-teams b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-teams > strong {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-size: 18px;
}

@media (max-width: 1180px) {
  .hero, .detail-card, .workspace, .history-hero, .fixtures-hero, .standings-hero, .teams-hero, .teams-layout, .data-status-hero, .data-status-grid {
    grid-template-columns: 1fr;
  }

  .hero-board {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-metric.wide {
    grid-column: auto;
  }

  .match-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .league-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .league-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 0;
  }

  .standings-grid {
    grid-template-columns: 1fr;
  }

  .archive-row {
    grid-template-columns: 1fr;
  }

  .fixture-overview-row {
    grid-template-columns: 1fr;
  }

  .probe-headline,
  .probe-league-row {
    grid-template-columns: 1fr;
  }

  .live-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fixture-state,
  .fixture-actions {
    justify-content: flex-start;
  }

  .fixture-panel, .console-panel, .side-panel {
    min-height: auto;
  }

  .fixture-rail {
    max-height: none;
  }

  .teams-list-panel,
  .team-detail-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 14px;
  }

  .hero {
    min-height: 0;
    padding: 24px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-board, .match-banners, .detail-versus, .report-grid, .score-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .live-data-grid {
    grid-template-columns: 1fr;
  }

  .live-data-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    border-radius: 20px;
  }

  .site-tab {
    flex: 1 1 calc(50% - 8px);
  }

  .data-health-card {
    align-items: stretch;
    flex-direction: column;
  }

  .data-health-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-hero {
    padding: 22px;
  }

  .fixtures-hero {
    padding: 22px;
  }

  .standings-hero {
    padding: 22px;
  }

  .teams-hero {
    padding: 22px;
  }

  .data-status-hero {
    padding: 22px;
  }

  .history-hero dl,
  .fixtures-hero dl,
  .standings-hero dl,
  .teams-hero dl,
  .data-status-hero dl,
  .status-metrics,
  .probe-form,
  .probe-headline dl,
  .team-profile-metrics,
  .team-info-grid,
  .player-list,
  .team-fixture-row {
    grid-template-columns: 1fr;
  }

  .fixtures-toolbar,
  .teams-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .standings-toolbar {
    grid-template-columns: 1fr;
  }

  .team-profile-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .league-overview-grid {
    grid-template-columns: 1fr;
  }

  .league-card {
    grid-template-columns: 1fr;
  }

  .league-card-head {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .crest-wall {
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 10px 8px;
    padding: 16px 16px 22px;
  }

  .club-crest {
    width: 42px;
    height: 42px;
  }

  .league-stats {
    grid-template-columns: 1fr;
  }

  .standing-card {
    overflow-x: auto;
  }

  table {
    min-width: 520px;
  }

  .detail-versus > b {
    justify-self: center;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .banner-teams {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .banner-teams strong:last-child {
    text-align: left;
  }

  .banner-teams span {
    width: 40px;
    height: 40px;
  }

  .archive-teams,
  .fixture-teams-line {
    grid-template-columns: 1fr;
  }

  .archive-teams > strong,
  .fixture-teams-line > strong {
    width: 100%;
  }

  .fixture-actions {
    flex-direction: column;
  }

  .action-row {
    flex-direction: column;
  }

  #runBtn {
    width: 100%;
  }

  .messages {
    height: 480px;
  }
}

/* matchday-command-room visual direction */
body[data-design="matchday-command-room"] {
  color-scheme: dark;
  --command-bg: #081015;
  --command-shell: #0d151b;
  --command-panel: #111b22;
  --command-panel-2: #16262f;
  --command-elevated: #1b303a;
  --command-line: #2b3c46;
  --command-line-strong: #40535e;
  --command-text: #f2f8f4;
  --command-soft: #c3d1cc;
  --command-muted: #8398a3;
  --command-green: #62df74;
  --command-green-soft: rgba(98, 223, 116, .14);
  --command-amber: #eabf50;
  --command-red: #f15d66;
  --command-blue: #3288ff;
  --bg: var(--command-bg);
  --panel: var(--command-panel);
  --ink: var(--command-text);
  --muted: var(--command-muted);
  --line: var(--command-line);
  --navy: #0c151b;
  --navy-2: #142630;
  --blue: var(--command-blue);
  --gold: var(--command-amber);
  --gold-soft: rgba(234, 191, 80, .16);
  --red: var(--command-red);
  --green: var(--command-green);
  --shadow: 0 18px 42px rgba(0, 0, 0, .28);
  min-height: 100vh;
  background:
    linear-gradient(180deg, #071015 0%, #0c151b 46%, #101820 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 120px);
  color: var(--command-text);
}

body[data-design="matchday-command-room"] * {
  letter-spacing: 0;
}

body[data-design="matchday-command-room"] button,
body[data-design="matchday-command-room"] .primary-link,
body[data-design="matchday-command-room"] .ghost-link {
  border-radius: 6px;
  border-color: var(--command-line);
  background: #101a21;
  color: var(--command-text);
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

body[data-design="matchday-command-room"] button:hover,
body[data-design="matchday-command-room"] .primary-link:hover,
body[data-design="matchday-command-room"] .ghost-link:hover {
  border-color: var(--command-green);
  background: #15252e;
  transform: translateY(-1px);
}

body[data-design="matchday-command-room"] button.primary,
body[data-design="matchday-command-room"] .primary-link,
body[data-design="matchday-command-room"] #runBtn {
  border-color: rgba(234, 191, 80, .9);
  background: linear-gradient(180deg, #f0c861, #d29c32);
  color: #1b1608;
  box-shadow: 0 10px 22px rgba(234, 191, 80, .18);
}

body[data-design="matchday-command-room"] .shell {
  width: min(1510px, calc(100% - 28px));
  padding: 16px 0 24px;
}

body[data-design="matchday-command-room"] .hero {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 96px;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid var(--command-line);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, #0c151b 0%, #142631 72%, #10181f 100%);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .hero-copy {
  justify-content: center;
}

body[data-design="matchday-command-room"] .hero .eyebrow,
body[data-design="matchday-command-room"] .eyebrow,
body[data-design="matchday-command-room"] .section-title span {
  color: var(--command-amber);
  font-size: 12px;
}

body[data-design="matchday-command-room"] .hero h1 {
  max-width: none;
  margin-bottom: 6px;
  color: var(--command-text);
  font-size: 28px;
  line-height: 1.15;
}

body[data-design="matchday-command-room"] .hero-lead {
  max-width: 780px;
  margin: 0;
  color: var(--command-soft);
  font-size: 14px;
  line-height: 1.55;
}

body[data-design="matchday-command-room"] .hero-actions {
  display: none;
}

body[data-design="matchday-command-room"] .hero-board {
  display: flex;
  align-self: center;
  justify-content: flex-end;
  gap: 10px;
}

body[data-design="matchday-command-room"] .hero-metric {
  min-width: 120px;
  min-height: 72px;
  padding: 10px 14px;
  border-color: var(--command-line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: none;
}

body[data-design="matchday-command-room"] .hero-metric.wide {
  min-width: 176px;
}

body[data-design="matchday-command-room"] .hero-metric strong {
  color: var(--command-amber);
  font-size: 34px;
  line-height: 1;
}

body[data-design="matchday-command-room"] .hero-metric span {
  color: var(--command-soft);
  font-size: 13px;
}

body[data-design="matchday-command-room"] .site-nav {
  top: 0;
  gap: 0;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--command-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(13, 21, 27, .96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

body[data-design="matchday-command-room"] .site-tab {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .site-tab.active {
  border-bottom-color: var(--command-green);
  background: var(--command-green-soft);
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .risk-notice {
  margin: 14px 0;
  padding: 11px 14px;
  border-color: #59353a;
  border-radius: 6px;
  background: #141a1e;
  color: #efb7bd;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

body[data-design="matchday-command-room"] .data-health-card {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-color: var(--command-line);
  border-left: 4px solid var(--command-green);
  border-radius: 8px;
  background: var(--command-panel);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .data-health-card.degraded {
  border-color: var(--command-line);
  border-left-color: var(--command-amber);
  background: #171a19;
}

body[data-design="matchday-command-room"] .data-health-card strong {
  color: var(--command-text);
  font-size: 18px;
}

body[data-design="matchday-command-room"] .data-health-card p,
body[data-design="matchday-command-room"] .data-health-card span,
body[data-design="matchday-command-room"] .data-health-card dt {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .data-health-card dl div {
  border-color: var(--command-line);
  border-radius: 6px;
  background: #0c141a;
}

body[data-design="matchday-command-room"] .data-health-card dd {
  color: var(--command-green);
}

body[data-design="matchday-command-room"] .section-head {
  align-items: end;
  margin: 26px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--command-line);
}

body[data-design="matchday-command-room"] .section-head h2,
body[data-design="matchday-command-room"] .section-title h2 {
  color: var(--command-text);
  font-size: 24px;
}

body[data-design="matchday-command-room"] .section-head p {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .panel,
body[data-design="matchday-command-room"] .match-detail,
body[data-design="matchday-command-room"] .standing-card,
body[data-design="matchday-command-room"] .fixtures-toolbar,
body[data-design="matchday-command-room"] .standings-toolbar,
body[data-design="matchday-command-room"] .teams-toolbar {
  border-color: var(--command-line);
  border-radius: 8px;
  background: var(--command-panel);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .league-stage,
body[data-design="matchday-command-room"] .standings-stage {
  margin-top: 24px;
}

body[data-design="matchday-command-room"] .league-card {
  grid-template-columns: 190px minmax(0, 1fr) 158px;
  min-height: 148px;
  border-color: var(--command-line);
  border-radius: 8px;
  background: linear-gradient(112deg, #111b22 0%, #18313e 68%, #214a5f 100%);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .league-card-head {
  border-right-color: var(--command-line);
}

body[data-design="matchday-command-room"] .league-card-head h3 {
  color: var(--command-text);
  font-size: 30px;
}

body[data-design="matchday-command-room"] .league-card-head b,
body[data-design="matchday-command-room"] .league-stats span {
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .crest-wall {
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 10px 14px;
  padding: 16px 18px;
}

body[data-design="matchday-command-room"] .club-crest,
body[data-design="matchday-command-room"] .mini-crest,
body[data-design="matchday-command-room"] .profile-crest {
  border-color: rgba(255, 255, 255, .72);
  background: #eef4f2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .24);
}

body[data-design="matchday-command-room"] .logo-crest span[hidden] {
  display: none;
}

body[data-design="matchday-command-room"] .club-crest span,
body[data-design="matchday-command-room"] .profile-crest span {
  background: #0f1a21;
  color: var(--command-amber);
}

body[data-design="matchday-command-room"] .league-stats {
  border-left-color: var(--command-line);
  background: rgba(255, 255, 255, .055);
}

body[data-design="matchday-command-room"] .empty-state {
  border-color: var(--command-line-strong);
  border-radius: 8px;
  background: #101820;
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .empty-state.wide-empty {
  background: #101820;
}

body[data-design="matchday-command-room"] .empty-state h3 {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .standing-card h3 {
  background: #101820;
  border-bottom: 1px solid var(--command-line);
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .standing-card h3 span {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .standing-points,
body[data-design="matchday-command-room"] td.positive {
  color: var(--command-green);
}

body[data-design="matchday-command-room"] td.negative {
  color: #ff6b7a;
}

body[data-design="matchday-command-room"] .standings-summary-grid article {
  border-color: var(--command-line);
  border-radius: 6px;
  background: #0c141a;
}

body[data-design="matchday-command-room"] .standings-summary-grid strong {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] table {
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] th,
body[data-design="matchday-command-room"] td {
  border-bottom-color: var(--command-line);
}

body[data-design="matchday-command-room"] th {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .team-cell b,
body[data-design="matchday-command-room"] .archive-meta strong,
body[data-design="matchday-command-room"] .fixture-date strong,
body[data-design="matchday-command-room"] .team-list-card strong,
body[data-design="matchday-command-room"] .team-profile-head h2,
body[data-design="matchday-command-room"] .team-fixture-row strong,
body[data-design="matchday-command-room"] .player-row strong {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .team-cell small,
body[data-design="matchday-command-room"] .fixture-date small,
body[data-design="matchday-command-room"] .archive-meta small,
body[data-design="matchday-command-room"] .team-list-card small,
body[data-design="matchday-command-room"] .team-list-card em,
body[data-design="matchday-command-room"] .team-profile-head p,
body[data-design="matchday-command-room"] .team-fixture-row small,
body[data-design="matchday-command-room"] .player-row span,
body[data-design="matchday-command-room"] .player-row small {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .match-banners {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-design="matchday-command-room"] .match-banner {
  min-height: 196px;
  border-color: var(--command-line);
  border-radius: 8px;
  background: linear-gradient(126deg, #101820, #18313e);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .match-banner::after {
  display: none;
}

body[data-design="matchday-command-room"] .match-banner.active {
  outline: 1px solid var(--command-green);
}

body[data-design="matchday-command-room"] .banner-top span,
body[data-design="matchday-command-room"] .match-banner p {
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .banner-top b {
  color: var(--command-red);
}

body[data-design="matchday-command-room"] .banner-teams span,
body[data-design="matchday-command-room"] .fixture-teams-line > strong,
body[data-design="matchday-command-room"] .archive-teams > strong,
body[data-design="matchday-command-room"] .detail-versus > b {
  border-radius: 6px;
  background: #071015;
  color: var(--command-amber);
}

body[data-design="matchday-command-room"] .fixtures-hero,
body[data-design="matchday-command-room"] .standings-hero,
body[data-design="matchday-command-room"] .teams-hero,
body[data-design="matchday-command-room"] .history-hero,
body[data-design="matchday-command-room"] .data-status-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  min-height: auto;
  margin-top: 16px;
  padding: 20px 22px;
  border-color: var(--command-line);
  border-radius: 8px;
  background: linear-gradient(112deg, #101820 0%, #18313e 100%);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .fixtures-hero h2,
body[data-design="matchday-command-room"] .standings-hero h2,
body[data-design="matchday-command-room"] .teams-hero h2,
body[data-design="matchday-command-room"] .history-hero h2,
body[data-design="matchday-command-room"] .data-status-hero h2 {
  color: var(--command-text);
  font-size: 32px;
}

body[data-design="matchday-command-room"] .fixtures-hero p,
body[data-design="matchday-command-room"] .standings-hero p,
body[data-design="matchday-command-room"] .teams-hero p,
body[data-design="matchday-command-room"] .history-hero p,
body[data-design="matchday-command-room"] .data-status-hero p {
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .fixtures-hero dl div,
body[data-design="matchday-command-room"] .standings-hero dl div,
body[data-design="matchday-command-room"] .teams-hero dl div,
body[data-design="matchday-command-room"] .history-hero dl div,
body[data-design="matchday-command-room"] .data-status-hero dl div {
  min-height: 84px;
  border-color: var(--command-line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

body[data-design="matchday-command-room"] .fixtures-hero dd,
body[data-design="matchday-command-room"] .standings-hero dd,
body[data-design="matchday-command-room"] .teams-hero dd,
body[data-design="matchday-command-room"] .history-hero dd,
body[data-design="matchday-command-room"] .data-status-hero dd {
  color: var(--command-amber);
  font-size: 26px;
}

body[data-design="matchday-command-room"] .fixtures-toolbar,
body[data-design="matchday-command-room"] .standings-toolbar,
body[data-design="matchday-command-room"] .teams-toolbar {
  margin: 14px 0;
  padding: 14px;
}

body[data-design="matchday-command-room"] .fixtures-toolbar span,
body[data-design="matchday-command-room"] .standings-toolbar span,
body[data-design="matchday-command-room"] .teams-toolbar span {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .segment,
body[data-design="matchday-command-room"] .tab {
  border-radius: 6px;
  background: #0c141a;
  color: var(--command-soft);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .segment.active,
body[data-design="matchday-command-room"] .tab.active {
  border-color: var(--command-green);
  background: var(--command-green-soft);
  color: var(--command-text);
}

body[data-design="matchday-command-room"] input,
body[data-design="matchday-command-room"] select {
  border-color: var(--command-line);
  border-radius: 6px;
  background: #0c141a;
  color: var(--command-text);
}

body[data-design="matchday-command-room"] input::placeholder {
  color: #6f838e;
}

body[data-design="matchday-command-room"] .fixture-overview-row,
body[data-design="matchday-command-room"] .archive-row,
body[data-design="matchday-command-room"] .team-fixture-row {
  border-color: var(--command-line);
  border-radius: 8px;
  background: var(--command-panel);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .fixture-overview-row:hover,
body[data-design="matchday-command-room"] .archive-row:hover,
body[data-design="matchday-command-room"] .team-fixture-row:hover {
  border-color: var(--command-line-strong);
  background: var(--command-panel-2);
}

body[data-design="matchday-command-room"] .status-pill {
  border-radius: 999px;
}

body[data-design="matchday-command-room"] .status-pill.finished {
  background: rgba(131, 152, 163, .18);
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .status-pill.live {
  background: var(--command-green-soft);
  color: var(--command-green);
}

body[data-design="matchday-command-room"] .status-pill.scheduled {
  background: rgba(234, 191, 80, .16);
  color: var(--command-amber);
}

body[data-design="matchday-command-room"] .tabs {
  gap: 8px;
  margin: 14px 0;
  padding: 8px;
  border: 1px solid var(--command-line);
  border-radius: 8px;
  background: #0d151b;
}

body[data-design="matchday-command-room"] .workspace {
  grid-template-columns: 360px minmax(0, 1fr) 380px;
  gap: 14px;
  margin-top: 14px;
}

body[data-design="matchday-command-room"] .panel {
  padding: 16px;
}

body[data-design="matchday-command-room"] .fixture-panel,
body[data-design="matchday-command-room"] .console-panel,
body[data-design="matchday-command-room"] .side-panel {
  min-height: calc(100vh - 220px);
}

body[data-design="matchday-command-room"] .fixture-rail {
  gap: 8px;
  max-height: calc(100vh - 316px);
}

body[data-design="matchday-command-room"] .fixture-card {
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--command-line);
  border-radius: 6px;
  background: #0d151b;
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .fixture-card.active {
  border-color: var(--command-green);
  background: linear-gradient(90deg, rgba(98, 223, 116, .18), #101a21 68%);
}

body[data-design="matchday-command-room"] .fixture-card.finished {
  border-color: rgba(234, 191, 80, .32);
  background: #101820;
}

body[data-design="matchday-command-room"] .fixture-card strong {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .fixture-card small,
body[data-design="matchday-command-room"] .fixture-card em {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .fixture-status-badge {
  border-color: rgba(234, 191, 80, .46);
  background: rgba(234, 191, 80, .12);
  color: var(--command-gold);
}

body[data-design="matchday-command-room"] .finished-match-result,
body[data-design="matchday-command-room"] .prediction-preview {
  border-radius: 6px;
  background: #0b1319;
}

body[data-design="matchday-command-room"] .finished-match-result {
  border-color: rgba(85, 166, 255, .34);
}

body[data-design="matchday-command-room"] .prediction-preview {
  border-color: rgba(234, 191, 80, .34);
}

body[data-design="matchday-command-room"] .finished-match-result strong,
body[data-design="matchday-command-room"] .prediction-preview strong {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .fixture-card .finished-match-result span,
body[data-design="matchday-command-room"] .fixture-card .prediction-preview span,
body[data-design="matchday-command-room"] .fixture-card .prediction-preview small {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .messages {
  height: calc(100vh - 346px);
  min-height: 480px;
  border-color: var(--command-line);
  border-radius: 6px;
  background: #080f14;
}

body[data-design="matchday-command-room"] .message {
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid var(--command-line);
  border-radius: 6px;
  background: #101820;
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .message.system {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .message.thinking {
  border-color: rgba(234, 191, 80, .42);
  background: rgba(234, 191, 80, .09);
  color: #f0d794;
}

body[data-design="matchday-command-room"] .message.agent {
  border-color: rgba(98, 223, 116, .42);
  background: rgba(98, 223, 116, .09);
  color: #c9f5d0;
}

body[data-design="matchday-command-room"] .message.degraded {
  border-color: rgba(234, 191, 80, .42);
  background: rgba(234, 191, 80, .08);
  color: #ead19a;
}

body[data-design="matchday-command-room"] .message b,
body[data-design="matchday-command-room"] .message-head b {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .event-type,
body[data-design="matchday-command-room"] .source-chip {
  border-color: var(--command-line);
  background: #0c141a;
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .event-type.started {
  border-color: rgba(50, 136, 255, .5);
  color: var(--command-blue);
}

body[data-design="matchday-command-room"] .event-type.completed {
  border-color: rgba(98, 223, 116, .5);
  color: var(--command-green);
}

body[data-design="matchday-command-room"] .event-type.degraded {
  border-color: rgba(234, 191, 80, .5);
  color: var(--command-amber);
}

body[data-design="matchday-command-room"] .event-type.failed {
  border-color: rgba(241, 93, 102, .5);
  color: var(--command-red);
}

body[data-design="matchday-command-room"] .action-row {
  align-items: center;
}

body[data-design="matchday-command-room"] #runBtn {
  min-width: 150px;
}

body[data-design="matchday-command-room"] .agent-overview {
  gap: 8px;
  max-height: calc(100vh - 278px);
  overflow: auto;
  padding-right: 4px;
}

body[data-design="matchday-command-room"] .selected-summary,
body[data-design="matchday-command-room"] .agent-step {
  border-color: var(--command-line);
  border-radius: 6px;
  background: #0d151b;
}

body[data-design="matchday-command-room"] .selected-summary {
  border-color: rgba(98, 223, 116, .5);
}

body[data-design="matchday-command-room"] .selected-summary strong {
  color: var(--command-text);
}

body[data-design="matchday-command-room"] .selected-summary small,
body[data-design="matchday-command-room"] .agent-step p {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .agent-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 74px;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  padding: 8px 10px;
}

body[data-design="matchday-command-room"] .agent-step b {
  overflow: hidden;
  color: var(--command-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .agent-step p {
  margin: 2px 0 0;
  font-size: 12px;
}

body[data-design="matchday-command-room"] .agent-step-index {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .07);
  color: var(--command-soft);
  font-weight: 900;
}

body[data-design="matchday-command-room"] .agent-step.active {
  border-color: rgba(50, 136, 255, .72);
  background: rgba(50, 136, 255, .12);
}

body[data-design="matchday-command-room"] .agent-step.done {
  border-color: rgba(98, 223, 116, .62);
  background: rgba(98, 223, 116, .1);
}

body[data-design="matchday-command-room"] .agent-step.degraded {
  border-color: rgba(216, 189, 121, .72);
  background: rgba(216, 189, 121, .12);
}

body[data-design="matchday-command-room"] .agent-step.failed {
  border-color: rgba(241, 93, 102, .76);
  background: rgba(241, 93, 102, .12);
}

body[data-design="matchday-command-room"] .agent-step em {
  justify-self: end;
  min-width: 64px;
  padding: 5px 8px;
  border: 1px solid var(--command-line-strong);
  border-radius: 5px;
  color: var(--command-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

body[data-design="matchday-command-room"] .agent-step.active em {
  border-color: rgba(50, 136, 255, .85);
  color: #70adff;
}

body[data-design="matchday-command-room"] .agent-step.done em {
  border-color: rgba(98, 223, 116, .85);
  color: #94eba1;
}

body[data-design="matchday-command-room"] .agent-step.degraded em {
  border-color: rgba(216, 189, 121, .9);
  color: #e7c96f;
}

body[data-design="matchday-command-room"] .agent-step.failed em {
  border-color: rgba(241, 93, 102, .9);
  color: #ff8b92;
}

body[data-design="matchday-command-room"] .live-data-panel,
body[data-design="matchday-command-room"] .final-report {
  margin-top: 14px;
}

body[data-design="matchday-command-room"] .live-data-progress,
body[data-design="matchday-command-room"] .live-data-item,
body[data-design="matchday-command-room"] .live-data-missing,
body[data-design="matchday-command-room"] .team-profile-head,
body[data-design="matchday-command-room"] .team-profile-metrics div,
body[data-design="matchday-command-room"] .team-info-grid article,
body[data-design="matchday-command-room"] .player-row {
  border-color: var(--command-line);
  border-radius: 6px;
  background: #0d151b;
}

body[data-design="matchday-command-room"] .live-data-item.collected {
  border-color: rgba(98, 223, 116, .48);
  background: rgba(98, 223, 116, .08);
}

body[data-design="matchday-command-room"] .live-data-item.degraded {
  border-color: rgba(234, 191, 80, .48);
  background: rgba(234, 191, 80, .08);
}

body[data-design="matchday-command-room"] .live-data-item.missing {
  border-color: rgba(241, 93, 102, .48);
  background: rgba(241, 93, 102, .07);
}

body[data-design="matchday-command-room"] .live-data-progress strong,
body[data-design="matchday-command-room"] .live-data-item strong,
body[data-design="matchday-command-room"] .team-profile-metrics dd,
body[data-design="matchday-command-room"] .team-info-grid strong {
  color: var(--command-green);
}

body[data-design="matchday-command-room"] .live-data-item p,
body[data-design="matchday-command-room"] .live-data-missing,
body[data-design="matchday-command-room"] .report-empty {
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .report-card {
  color: var(--command-soft);
}

body[data-design="matchday-command-room"] .report-card h3,
body[data-design="matchday-command-room"] .report-card h4 {
  color: var(--command-text);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details {
  --report-text: #dde5e8;
  --report-muted: #aabbc4;
  --report-number: #8abaf0;
  --report-warning: #e1c16a;
  --report-collected: #8cd5ab;
  display: grid;
  gap: 16px;
  min-width: 0;
  background: #172126;
  color: var(--report-text);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-data-box,
body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-grid section {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #405058;
  border-radius: 6px;
  background: #243239;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-grid {
  gap: 16px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-data-box > span,
body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-grid span {
  color: var(--report-muted);
  font-size: 14px;
  font-weight: 700;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-data-box > strong,
body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-grid strong {
  margin: 6px 0 10px;
  color: var(--report-number);
  line-height: 1.35;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-data-box > strong {
  font-size: 32px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-asian-odds > strong {
  font-size: 18px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details p {
  margin: 0;
  color: var(--report-text);
  font-size: 15px;
  line-height: 1.8;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-missing-title,
body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-risk-metric strong {
  color: var(--report-warning);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-data-complete {
  color: var(--report-collected);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-missing-list {
  gap: 0;
  margin-top: 8px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-missing-list li {
  padding: 9px 0;
  border-bottom: 1px solid #405058;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-missing-list li::marker {
  color: var(--report-warning);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-missing-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details h4 {
  margin: 8px 0 0;
  color: var(--report-text);
  font-size: 16px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-collection-list {
  gap: 0;
  padding: 0;
  list-style: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-collection-list li {
  padding: 12px 0;
  border-top: 1px solid #405058;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-collection-list li > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 4px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-collection-list span {
  color: var(--report-warning);
  font-size: 14px;
  font-weight: 700;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-details .report-collection-list .collected span {
  color: var(--report-collected);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-core-board {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(98, 223, 116, .36);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(15, 44, 31, .72), rgba(10, 18, 24, .96) 52%, rgba(8, 16, 22, .98)),
    radial-gradient(circle at 92% 0%, rgba(234, 191, 80, .16), transparent 36%);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-core-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-core-head span {
  color: #e1c16a;
  font-size: 13px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-core-head b {
  color: #8fa0a8;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-core-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr);
  gap: 16px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 172px;
  padding: 20px;
  border: 1px solid rgba(98, 223, 116, .42);
  border-left: 4px solid #62df74;
  border-radius: 5px;
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict.draw {
  border-color: rgba(225, 193, 106, .45);
  border-left-color: #e1c16a;
  background: rgba(225, 193, 106, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict.away {
  border-color: rgba(50, 136, 255, .45);
  border-left-color: #3288ff;
  background: rgba(50, 136, 255, .1);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict span,
body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict strong {
  color: #f7fbf7;
  font-size: 42px;
  line-height: 1;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict p,
body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict small {
  margin: 0;
  line-height: 1.5;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict p {
  color: #f1f7f4;
  font-size: 17px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict small {
  color: #a9bbc1;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race {
  display: grid;
  gap: 10px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 8px 12px;
  align-items: center;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #30414a;
  border-radius: 5px;
  background: rgba(255, 255, 255, .032);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race article.active {
  border-color: rgba(98, 223, 116, .72);
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race span {
  color: #cfdadb;
  font-size: 13px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race strong {
  justify-self: end;
  color: #f7fbf7;
  font-size: 22px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race i {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #28353d;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-probability-race em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62df74, #e1c16a);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 138px;
  padding: 16px;
  border: 1px solid #31444d;
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid article.primary {
  border-color: rgba(98, 223, 116, .7);
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid article.upset {
  border-color: rgba(234, 191, 80, .55);
  background: rgba(234, 191, 80, .06);
}

body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid strong {
  color: #f7fbf7;
  font-size: 36px;
  line-height: 1;
}

body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid p {
  margin: 0;
  color: #9eafb4;
  font-size: 12px;
  line-height: 1.5;
}

body[data-design="matchday-command-room"] .report-grid,
body[data-design="matchday-command-room"] .score-grid {
  gap: 10px;
}

body[data-design="matchday-command-room"] .team-list-card {
  border: 1px solid var(--command-line);
  border-radius: 6px;
  background: #0d151b;
}

body[data-design="matchday-command-room"] .team-list-card.active {
  border-color: var(--command-green);
  background: rgba(98, 223, 116, .12);
}

body[data-design="matchday-command-room"] .team-profile {
  gap: 14px;
}

body[data-design="matchday-command-room"] .player-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  body[data-design="matchday-command-room"] .hero,
  body[data-design="matchday-command-room"] .workspace,
  body[data-design="matchday-command-room"] .fixtures-hero,
  body[data-design="matchday-command-room"] .standings-hero,
  body[data-design="matchday-command-room"] .teams-hero,
  body[data-design="matchday-command-room"] .history-hero,
  body[data-design="matchday-command-room"] .data-status-hero,
  body[data-design="matchday-command-room"] .teams-layout,
  body[data-design="matchday-command-room"] .detail-card {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .hero-board {
    justify-content: stretch;
  }

  body[data-design="matchday-command-room"] .hero-metric {
    flex: 1 1 0;
  }

  body[data-design="matchday-command-room"] .fixture-panel,
  body[data-design="matchday-command-room"] .console-panel,
  body[data-design="matchday-command-room"] .side-panel {
    min-height: auto;
  }

  body[data-design="matchday-command-room"] .fixture-rail,
  body[data-design="matchday-command-room"] .agent-overview {
    max-height: none;
  }

  body[data-design="matchday-command-room"] .messages {
    height: 520px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid,
  body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid,
  body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-design="matchday-command-room"] .shell {
    width: min(100% - 16px, 1510px);
    padding: 8px 0 18px;
  }

  body[data-design="matchday-command-room"] .hero {
    padding: 16px;
  }

  body[data-design="matchday-command-room"] .hero h1 {
    font-size: 24px;
  }

  body[data-design="matchday-command-room"] .hero-board,
  body[data-design="matchday-command-room"] .match-banners,
  body[data-design="matchday-command-room"] .live-data-grid,
  body[data-design="matchday-command-room"] .player-list {
    grid-template-columns: 1fr;
    display: grid;
  }

  body[data-design="matchday-command-room"] .hero-metric {
    min-width: 0;
  }

  body[data-design="matchday-command-room"] .site-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 8px;
  }

  body[data-design="matchday-command-room"] .site-tab {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 16px;
  }

  body[data-design="matchday-command-room"] .data-health-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-design="matchday-command-room"] .league-card {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .league-card-head {
    border-right: 0;
    border-bottom: 1px solid var(--command-line);
  }

  body[data-design="matchday-command-room"] .fixture-teams-line,
  body[data-design="matchday-command-room"] .archive-teams {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .fixture-actions,
  body[data-design="matchday-command-room"] .action-row {
    flex-direction: column;
  }

  body[data-design="matchday-command-room"] .messages {
    min-height: 420px;
    height: 420px;
  }
}

body[data-design="matchday-command-room"] .hero {
  grid-template-columns: minmax(260px, .72fr) minmax(520px, 620px) minmax(360px, 408px);
  align-items: center;
}

body[data-design="matchday-command-room"] .hero .site-nav {
  position: static;
  align-self: stretch;
  align-items: stretch;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--command-line);
  border-radius: 6px;
  background: rgba(4, 10, 14, .36);
  box-shadow: none;
}

body[data-design="matchday-command-room"] .hero .site-tab {
  min-height: 62px;
  padding: 0 14px;
  font-size: 15px;
}

body[data-design="matchday-command-room"] .hero-board {
  grid-template-columns: minmax(130px, 1fr) 70px 70px 98px;
  gap: 8px;
}

body[data-page="predict"][data-design="matchday-command-room"] {
  padding-bottom: 44px;
}

body[data-page="predict"][data-design="matchday-command-room"] .hero {
  min-height: 86px;
}

body[data-page="predict"][data-design="matchday-command-room"] .hero-lead {
  display: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .data-health-card {
  display: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .risk-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  margin: 0;
  padding: 8px 18px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  white-space: nowrap;
  overflow-x: auto;
  text-overflow: ellipsis;
}

body[data-page="predict"][data-design="matchday-command-room"] .tabs {
  margin: 12px 0 10px;
}

body[data-page="predict"][data-design="matchday-command-room"] .workspace {
  margin-top: 0;
}

@media (max-width: 1320px) {
  body[data-design="matchday-command-room"] .hero {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .hero .site-nav {
    overflow-x: auto;
  }

  body[data-design="matchday-command-room"] .hero-board {
    justify-content: stretch;
  }
}

body[data-design="matchday-command-room"] .agent-match-preview {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--command-line);
  border-radius: 8px;
  background: #0c141a;
}

body[data-design="matchday-command-room"] .agent-match-empty {
  color: var(--command-muted);
}

body[data-design="matchday-command-room"] .agent-match-meta,
body[data-design="matchday-command-room"] .agent-match-signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--command-muted);
  font-size: 12px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .agent-match-meta b {
  color: var(--command-green);
}

body[data-design="matchday-command-room"] .agent-match-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

body[data-design="matchday-command-room"] .agent-match-team,
body[data-design="matchday-command-room"] .agent-match-center {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
}

body[data-design="matchday-command-room"] .agent-match-team strong {
  overflow: hidden;
  max-width: 100%;
  color: var(--command-text);
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .agent-match-team span,
body[data-design="matchday-command-room"] .agent-match-center span,
body[data-design="matchday-command-room"] .agent-match-center small {
  color: var(--command-muted);
  font-size: 12px;
}

body[data-design="matchday-command-room"] .agent-match-center {
  padding: 10px;
  border: 1px solid var(--command-line);
  border-radius: 6px;
  background: #081015;
}

body[data-design="matchday-command-room"] .agent-match-center strong {
  color: var(--command-amber);
  font-size: 21px;
}

body[data-design="matchday-command-room"] .agent-match-signals {
  justify-content: flex-start;
}

body[data-design="matchday-command-room"] .agent-match-signals span {
  padding: 5px 8px;
  border: 1px solid var(--command-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--command-soft);
}

body[data-page="predict"][data-design="matchday-command-room"] .messages {
  height: 360px;
  min-height: 360px;
}

@media (max-width: 760px) {
  body[data-design="matchday-command-room"] .agent-match-board {
    grid-template-columns: 1fr;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .messages {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 1180px) {
  body[data-page="predict"][data-design="matchday-command-room"] .fixture-rail {
    max-height: 430px;
    overflow: auto;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-overview {
    max-height: 560px;
    overflow: auto;
  }
}

body[data-design="matchday-command-room"] {
  overflow-x: hidden;
}

body[data-page="home"][data-design="matchday-command-room"] {
  min-height: 100vh;
  overflow-y: auto;
}

body[data-design="matchday-command-room"] .shell {
  width: min(1760px, calc(100% - 32px));
  padding: 0 13px 56px;
}

body[data-page="home"][data-design="matchday-command-room"] .shell {
  min-height: 100vh;
}

body[data-design="matchday-command-room"] .hero {
  grid-template-columns: minmax(260px, .72fr) minmax(520px, 620px) minmax(360px, 408px);
  column-gap: 18px;
  min-height: 86px;
  margin: 0 -13px;
  padding: 18px 19px 12px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: linear-gradient(90deg, #0b1116 0%, #111a20 55%, #151d23 100%);
}

body[data-design="matchday-command-room"] .hero-copy {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

body[data-design="matchday-command-room"] .brand-mark {
  width: 45px;
  height: 48px;
  object-fit: contain;
}

body[data-design="matchday-command-room"] .brand-copy {
  min-width: 0;
}

body[data-design="matchday-command-room"] .hero h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .hero-lead {
  display: block;
  margin-top: 4px;
  color: #b8c2c8;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .top-disclaimer-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin: 0 -13px;
  padding: 13px 60px 14px;
  border-bottom: 1px solid rgba(243, 196, 78, .2);
  background:
    linear-gradient(90deg, rgba(55, 15, 20, .86), rgba(13, 20, 26, .82) 32%, rgba(8, 14, 19, .5) 100%);
}

body[data-design="matchday-command-room"] .disclaimer-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  align-self: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 226, 130, .82);
  border-radius: 4px;
  background: linear-gradient(180deg, #ffe282, #f1bd3d);
  color: #2d0a0f;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(243, 196, 78, .22);
  cursor: pointer;
}

body[data-design="matchday-command-room"] .disclaimer-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(243, 196, 78, .28);
}

body[data-design="matchday-command-room"] .disclaimer-trigger:focus-visible,
body[data-design="matchday-command-room"] .disclaimer-close:focus-visible {
  outline: 2px solid #fff2bd;
  outline-offset: 3px;
}

body[data-design="matchday-command-room"] #disclaimer {
  margin: 0;
  color: #fff2c9;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  white-space: normal;
}

body[data-design="matchday-command-room"] .hero .site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-self: start;
  width: min(720px, 100%);
  height: 68px;
  border-radius: 4px;
  background: rgba(8, 15, 20, .56);
  overflow: hidden;
}

body[data-design="matchday-command-room"] .hero .site-tab {
  flex: 0 0 auto;
  min-height: 68px;
  padding: 0 14px;
  font-size: 15px;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .hero-board {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 70px 70px 98px;
  align-items: stretch;
  justify-content: end;
  gap: 8px;
}

body[data-design="matchday-command-room"] .hero-metric {
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border-color: #33444e;
  background: rgba(20, 30, 37, .92);
}

body[data-design="matchday-command-room"] .hero-metric strong {
  font-size: 28px;
}

body[data-design="matchday-command-room"] .hero-metric span,
body[data-design="matchday-command-room"] .hero-metric small {
  display: block;
  color: #c5d1d4;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

body[data-design="matchday-command-room"] .hero-metric.status-metric {
  place-items: start;
  padding-left: 38px;
  background-image:
    url("/static/assets/command-logo.png"),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  background-position: 10px center, 0 0;
  background-repeat: no-repeat;
  background-size: 24px 26px, auto;
}

body[data-design="matchday-command-room"] .hero-metric.status-metric span {
  color: #96a6ad;
  text-align: left;
}

body[data-design="matchday-command-room"] .hero-metric.status-metric strong {
  margin-top: 2px;
  color: var(--command-green);
  font-size: 13px;
}

body[data-design="matchday-command-room"] .hero-metric.status-metric small {
  max-width: 112px;
  margin-top: 2px;
  overflow: hidden;
  color: #7edb89;
  font-size: 11px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .hero-metric.time-metric strong {
  color: var(--command-text);
  font-size: 15px;
}

body[data-design="matchday-command-room"] .hero-metric.time-metric span {
  margin-top: 3px;
  color: #c5d1d4;
}

body[data-design="matchday-command-room"] #dataHealth {
  display: none;
}

body[data-design="matchday-command-room"] .home-view {
  min-height: calc(100vh - 142px);
}

body[data-design="matchday-command-room"] .grand-home-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  margin: 0 -13px;
  padding: 46px 50px 0;
  overflow: hidden;
  border-bottom: 1px solid #182931;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, .96) 0%, rgba(3, 9, 13, .78) 36%, rgba(6, 12, 17, .44) 66%, rgba(4, 9, 13, .9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(3, 8, 12, .45) 68%, #071016 100%),
    url("/static/assets/home-hero-stadium.png") center / cover no-repeat;
  color: var(--command-text);
  isolation: isolate;
}

body[data-design="matchday-command-room"] .grand-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #071016 78%);
}

body[data-design="matchday-command-room"] .grand-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 450px);
  align-items: start;
  gap: 48px;
  width: min(1640px, 100%);
  margin: 0 auto;
}

body[data-design="matchday-command-room"] .grand-hero-copy {
  display: grid;
  align-content: center;
  min-height: 390px;
}

body[data-design="matchday-command-room"] .grand-kicker {
  margin: 0 0 16px;
  color: #67e878;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-design="matchday-command-room"] .grand-hero-copy h2 {
  margin: 0;
  color: #f8fbf6;
  font-size: 86px;
  line-height: .98;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, .62);
}

body[data-design="matchday-command-room"] .grand-hero-copy h2 span {
  color: #d8b866;
}

body[data-design="matchday-command-room"] .grand-hero-copy p:not(.grand-kicker) {
  margin: 18px 0 0;
  color: #dce4df;
  font-size: 21px;
  font-weight: 800;
}

body[data-design="matchday-command-room"] .grand-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

body[data-design="matchday-command-room"] .grand-primary-link,
body[data-design="matchday-command-room"] .grand-secondary-link,
body[data-design="matchday-command-room"] .radar-cta,
body[data-design="matchday-command-room"] .home-briefing-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

body[data-design="matchday-command-room"] .grand-primary-link {
  border: 1px solid rgba(106, 236, 120, .78);
  background: linear-gradient(180deg, rgba(57, 162, 82, .94), rgba(18, 94, 43, .94));
  color: #f7fff8;
  box-shadow: 0 16px 40px rgba(30, 153, 72, .26);
}

body[data-design="matchday-command-room"] .grand-secondary-link {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(7, 13, 17, .58);
  color: #f2f6f3;
}

body[data-design="matchday-command-room"] .grand-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

body[data-design="matchday-command-room"] .grand-hero-badges span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 124px;
  color: #c8d1cc;
  font-size: 12px;
  font-weight: 800;
}

body[data-design="matchday-command-room"] .grand-hero-badges b {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(216, 184, 102, .42);
  border-radius: 50%;
  background: rgba(216, 184, 102, .12);
  color: #eac766;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .home-matchday-radar {
  display: grid;
  align-self: start;
  gap: 12px;
  max-height: 430px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(211, 231, 223, .18);
  border-radius: 8px;
  background:
    linear-gradient(170deg, rgba(19, 31, 37, .95), rgba(7, 15, 20, .92)),
    radial-gradient(circle at 100% 0%, rgba(98, 223, 116, .16), transparent 42%);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .36);
  backdrop-filter: blur(8px);
}

body[data-design="matchday-command-room"] .radar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-design="matchday-command-room"] .radar-head > div,
body[data-design="matchday-command-room"] .radar-pattern {
  min-width: 0;
}

body[data-design="matchday-command-room"] .radar-head span,
body[data-design="matchday-command-room"] .radar-section-label {
  display: block;
  margin-bottom: 5px;
  color: #d8b866;
  font-size: 13px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .radar-head strong {
  color: #f8fbf6;
  font-size: 22px;
  line-height: 1.16;
}

body[data-design="matchday-command-room"] .radar-head small {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(216, 184, 102, .35);
  border-radius: 999px;
  color: #e7d398;
  font-size: 12px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .radar-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: rgba(5, 11, 15, .46);
}

body[data-design="matchday-command-room"] .radar-stats div {
  padding: 9px 8px;
  background: rgba(255, 255, 255, .045);
}

body[data-design="matchday-command-room"] .radar-stats dt,
body[data-design="matchday-command-room"] .radar-pattern small {
  color: #95a3a4;
  font-size: 11px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .radar-stats dd {
  margin-top: 2px;
  color: #f5fbf6;
  font-size: 20px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .radar-patterns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

body[data-design="matchday-command-room"] .radar-patterns .radar-section-label {
  grid-column: 1 / -1;
}

body[data-design="matchday-command-room"] .radar-pattern {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 104px;
  padding: 12px 12px 11px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  color: #f5fbf6;
  text-decoration: none;
}

body[data-design="matchday-command-room"] .radar-pattern::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #62df74;
}

body[data-design="matchday-command-room"] .radar-pattern.upset::before {
  background: #d8b866;
}

body[data-design="matchday-command-room"] .radar-pattern.goals::before {
  background: #55a8ff;
}

body[data-design="matchday-command-room"] .radar-pattern span,
body[data-design="matchday-command-room"] .radar-pattern strong,
body[data-design="matchday-command-room"] .radar-pattern small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .radar-pattern span {
  color: #d8b866;
  font-size: 11px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .radar-pattern strong {
  color: #f8fbf6;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .radar-pattern b {
  justify-self: start;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(100, 233, 118, .1);
  color: #64e976;
  font-size: 12px;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .radar-empty {
  color: #cbd5d0;
  line-height: 1.7;
}

body[data-design="matchday-command-room"] .radar-cta {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .045);
  color: #e3ebe5;
}

body[data-design="matchday-command-room"] .league-showcase-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  align-self: end;
  min-height: 196px;
  margin: 24px -50px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #050b0f;
  isolation: isolate;
}

body[data-design="matchday-command-room"] .league-showcase-card {
  position: relative;
  display: grid;
  align-content: end;
  min-width: 0;
  min-height: 196px;
  padding: 24px 28px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .46)),
    url("/static/assets/home-league-panorama.png");
  background-position: center, var(--panorama-position) center;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, 500% auto;
  color: #f8fbf6;
  isolation: isolate;
  text-decoration: none;
}

body[data-design="matchday-command-room"] .league-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, var(--league-wash), rgba(4, 10, 14, .08) 54%, rgba(4, 10, 14, .46));
  opacity: .74;
  z-index: 0;
  transition: opacity .2s ease;
}

body[data-design="matchday-command-room"] .league-showcase-card:hover::before {
  opacity: .88;
}

body[data-design="matchday-command-room"] .league-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 11, 15, .56), rgba(5, 11, 15, 0) 32px, rgba(5, 11, 15, 0) calc(100% - 48px), rgba(5, 11, 15, .9));
  pointer-events: none;
  z-index: 0;
}

body[data-design="matchday-command-room"] .league-showcase-card.premier {
  --panorama-position: 0%;
  --league-wash: rgba(72, 31, 116, .64);
}

body[data-design="matchday-command-room"] .league-showcase-card.serie {
  --panorama-position: 25%;
  --league-wash: rgba(15, 62, 111, .62);
}

body[data-design="matchday-command-room"] .league-showcase-card.laliga {
  --panorama-position: 50%;
  --league-wash: rgba(140, 32, 30, .58);
}

body[data-design="matchday-command-room"] .league-showcase-card.bundesliga {
  --panorama-position: 75%;
  --league-wash: rgba(168, 126, 24, .58);
}

body[data-design="matchday-command-room"] .league-showcase-card.ligue {
  --panorama-position: 100%;
  --league-wash: rgba(15, 62, 111, .62);
}

body[data-design="matchday-command-room"] .league-showcase-card > * {
  position: relative;
  z-index: 1;
}

body[data-design="matchday-command-room"] .league-showcase-mark {
  display: grid;
  place-items: center;
  width: 54px;
  min-height: 54px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(3, 8, 12, .45);
  color: #fff;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .league-showcase-card strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

body[data-design="matchday-command-room"] .league-showcase-card small {
  margin-top: 3px;
  color: #cfd9d5;
  font-weight: 800;
}

body[data-design="matchday-command-room"] .league-showcase-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

body[data-design="matchday-command-room"] .league-showcase-card dt {
  color: #b9c8c2;
  font-size: 11px;
  font-weight: 800;
}

body[data-design="matchday-command-room"] .league-showcase-card dd {
  margin: 5px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .home-briefing-strip {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) auto 96px;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin: 16px 0 0;
  border: 1px solid rgba(98, 223, 116, .32);
  border-radius: 5px;
  background: rgba(8, 38, 24, .62);
  color: #cde0d7;
}

body[data-design="matchday-command-room"] .home-briefing-strip strong {
  display: grid;
  place-items: center;
  align-self: stretch;
  background: rgba(98, 223, 116, .15);
  color: #62df74;
  font-size: 14px;
}

body[data-design="matchday-command-room"] .home-briefing-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .home-briefing-strip time {
  color: #bac8c4;
  font-size: 12px;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .home-briefing-strip a {
  min-height: 38px;
  padding: 0 16px;
  color: #62df74;
}

body[data-design="matchday-command-room"] .command-dashboard {
  display: grid;
  grid-template-columns: 392px minmax(0, 1fr) 392px;
  gap: 14px;
  min-height: calc(100vh - 142px);
  padding-top: 16px;
}

body[data-design="matchday-command-room"] .command-panel,
body[data-design="matchday-command-room"] .command-center > *,
body[data-design="matchday-command-room"] .command-data-card,
body[data-design="matchday-command-room"] .command-metrics-card {
  border: 1px solid #33424b;
  border-radius: 4px;
  background:
    linear-gradient(160deg, rgba(25, 36, 44, .96), rgba(15, 24, 30, .96)),
    #111b22;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

body[data-design="matchday-command-room"] .command-panel {
  min-height: calc(100vh - 158px);
  padding: 14px;
}

body[data-design="matchday-command-room"] .command-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

body[data-design="matchday-command-room"] .command-panel-head h2 {
  margin: 0;
  color: var(--command-text);
  font-size: 17px;
  line-height: 1.2;
}

body[data-design="matchday-command-room"] .command-icon-button,
body[data-design="matchday-command-room"] .command-run-link {
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #33424b;
  border-radius: 4px;
  background: #111b22;
  color: #b9c7ca;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body[data-design="matchday-command-room"] .command-schedule-rail {
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 256px);
  overflow: auto;
  padding-right: 3px;
  scrollbar-color: #455762 transparent;
  scrollbar-width: thin;
}

body[data-design="matchday-command-room"] .command-schedule-rail::-webkit-scrollbar,
body[data-design="matchday-command-room"] .command-agent-timeline::-webkit-scrollbar {
  width: 6px;
}

body[data-design="matchday-command-room"] .command-schedule-rail::-webkit-scrollbar-thumb,
body[data-design="matchday-command-room"] .command-agent-timeline::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #455762;
}

body[data-design="matchday-command-room"] .command-schedule-rail::-webkit-scrollbar-track,
body[data-design="matchday-command-room"] .command-agent-timeline::-webkit-scrollbar-track {
  background: transparent;
}

body[data-design="matchday-command-room"] .command-league-group {
  display: grid;
  gap: 0;
}

body[data-design="matchday-command-room"] .command-league-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #2b3a43;
}

body[data-design="matchday-command-room"] .command-league-head strong {
  color: var(--command-text);
  font-size: 15px;
}

body[data-design="matchday-command-room"] .command-league-head span {
  color: #c5d1d4;
  font-size: 14px;
}

body[data-design="matchday-command-room"] .command-fixture-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 45px;
  padding: 6px 8px;
  border: 0;
  border-bottom: 1px solid #273640;
  border-radius: 0;
  background: transparent;
  color: #dbe6e4;
  text-align: left;
}

body[data-design="matchday-command-room"] .command-fixture-row:hover,
body[data-design="matchday-command-room"] .command-fixture-row.active {
  background: rgba(98, 223, 116, .17);
  box-shadow: inset 0 0 0 1px rgba(98, 223, 116, .45);
  transform: none;
}

body[data-design="matchday-command-room"] .command-fixture-row time {
  color: #d9e3e3;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-row-team {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}

body[data-design="matchday-command-room"] .command-row-team b {
  overflow: hidden;
  color: #f5faf7;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .command-fixture-row em {
  color: #9aaab0;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

body[data-design="matchday-command-room"] .command-fixture-row .mini-crest {
  width: 26px;
  height: 26px;
  margin-right: 0;
}

body[data-design="matchday-command-room"] .command-fixture-row .mini-crest img {
  width: 20px;
  height: 20px;
}

body[data-design="matchday-command-room"] .command-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  margin: 10px -14px -14px;
  border-top: 1px solid #33424b;
  color: #dbe6e4;
  font-weight: 900;
  text-decoration: none;
}

body[data-design="matchday-command-room"] .command-center {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

body[data-design="matchday-command-room"] .command-match-hero {
  min-height: 248px;
  padding: 18px 18px 0;
}

body[data-design="matchday-command-room"] .command-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c3d1cc;
  font-size: 14px;
}

body[data-design="matchday-command-room"] .command-breadcrumb b {
  color: #f5faf7;
}

body[data-design="matchday-command-room"] .command-versus-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px 18px 24px;
}

body[data-design="matchday-command-room"] .command-team-block,
body[data-design="matchday-command-room"] .command-kickoff-block {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

body[data-design="matchday-command-room"] .command-team-block h3 {
  margin: 0;
  overflow: hidden;
  max-width: 100%;
  color: #f7fbf9;
  font-size: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .command-team-block > span {
  color: #a5b5ba;
  font-size: 14px;
}

body[data-design="matchday-command-room"] .command-team-crest {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: #edf4f2;
}

body[data-design="matchday-command-room"] .command-team-crest img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

body[data-design="matchday-command-room"] .command-team-crest span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #111b22;
  color: var(--command-amber);
  font-weight: 900;
}

body[data-design="matchday-command-room"] .command-form-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
}

body[data-design="matchday-command-room"] .command-form-line small {
  margin-right: 4px;
  color: #a5b5ba;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-form-chip {
  display: grid;
  place-items: center;
  width: 21px;
  height: 22px;
  border: 1px solid #475861;
  border-radius: 4px;
  color: #f7fbf9;
  font-size: 12px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .command-form-chip.win {
  background: rgba(98, 223, 116, .48);
  border-color: rgba(98, 223, 116, .8);
}

body[data-design="matchday-command-room"] .command-form-chip.draw {
  background: rgba(160, 171, 178, .28);
}

body[data-design="matchday-command-room"] .command-form-chip.loss {
  background: rgba(241, 93, 102, .55);
  border-color: rgba(241, 93, 102, .85);
}

body[data-design="matchday-command-room"] .command-form-empty {
  color: #a5b5ba;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-kickoff-block strong {
  color: #f7fbf9;
  font-size: 42px;
  line-height: .95;
}

body[data-design="matchday-command-room"] .command-kickoff-block span,
body[data-design="matchday-command-room"] .command-kickoff-block p,
body[data-design="matchday-command-room"] .command-kickoff-block small {
  margin: 0;
  color: #c3d1cc;
}

body[data-design="matchday-command-room"] .command-subtabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 56px;
  overflow: hidden;
  border: 1px solid #33424b;
  border-radius: 4px;
  background: #151f26;
}

body[data-design="matchday-command-room"] .command-subtabs button {
  min-height: 56px;
  border: 0;
  border-right: 1px solid #33424b;
  border-radius: 0;
  background: transparent;
  color: #b7c6c9;
  font-size: 14px;
}

body[data-design="matchday-command-room"] .command-subtabs button:last-child {
  border-right: 0;
}

body[data-design="matchday-command-room"] .command-subtabs button.active {
  border-bottom: 2px solid var(--command-green);
  background: rgba(98, 223, 116, .12);
  color: var(--command-green);
}

body[data-design="matchday-command-room"] .command-tab-content {
  min-height: 116px;
  padding: 16px 18px;
}

body[data-design="matchday-command-room"] .command-tab-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

body[data-design="matchday-command-room"] .command-tab-heading strong {
  color: var(--command-text);
  font-size: 17px;
}

body[data-design="matchday-command-room"] .command-tab-heading span {
  color: #9fb0b6;
  font-size: 13px;
  text-align: right;
}

body[data-design="matchday-command-room"] .command-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-design="matchday-command-room"] .command-mini-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-design="matchday-command-room"] .command-mini-fact {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #2c3c45;
  border-radius: 4px;
  background: rgba(255, 255, 255, .025);
}

body[data-design="matchday-command-room"] .command-mini-fact span {
  display: block;
  overflow: hidden;
  color: #8da0a7;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .command-mini-fact strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #f4faf7;
  font-size: 14px;
  overflow-wrap: anywhere;
  white-space: normal;
}

body[data-design="matchday-command-room"] .command-mini-fact small {
  display: block;
  margin-top: 6px;
  color: #9fb0b6;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body[data-design="matchday-command-room"] .command-history-list {
  display: grid;
  gap: 8px;
}

body[data-design="matchday-command-room"] .command-history-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #2c3c45;
  border-radius: 4px;
  background: rgba(255, 255, 255, .025);
}

body[data-design="matchday-command-room"] .command-history-list time,
body[data-design="matchday-command-room"] .command-history-list span {
  color: #9fb0b6;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-history-list strong {
  overflow: hidden;
  color: #f4faf7;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .command-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body[data-design="matchday-command-room"] .command-data-card {
  min-height: 260px;
  padding: 20px 18px;
}

body[data-design="matchday-command-room"] .command-data-card h3,
body[data-design="matchday-command-room"] .command-data-card h4,
body[data-design="matchday-command-room"] .command-metrics-card h3 {
  margin: 0;
  color: var(--command-text);
  font-size: 17px;
}

body[data-design="matchday-command-room"] .command-metrics-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

body[data-design="matchday-command-room"] .command-metrics-head span {
  max-width: 46%;
  color: #9fb5c1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

body[data-design="matchday-command-room"] .command-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

body[data-design="matchday-command-room"] .command-progress span {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #26343d;
}

body[data-design="matchday-command-room"] .command-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--command-green);
}

body[data-design="matchday-command-room"] .command-progress b {
  color: var(--command-green);
  font-size: 16px;
}

body[data-design="matchday-command-room"] .command-coverage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
}

body[data-design="matchday-command-room"] .command-coverage-list span {
  color: #c5d1d4;
  font-size: 14px;
  font-weight: 800;
}

body[data-design="matchday-command-room"] .command-coverage-list span.collected {
  color: #94eba1;
}

body[data-design="matchday-command-room"] .command-coverage-list span.missing {
  color: #d8bd79;
}

body[data-design="matchday-command-room"] .command-update-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

body[data-design="matchday-command-room"] .command-update-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid #33424b;
}

body[data-design="matchday-command-room"] .command-update-list dt {
  color: #8398a3;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-update-list dd {
  margin: 6px 0 0;
  color: #f1f7f4;
  font-size: 15px;
}

body[data-design="matchday-command-room"] .command-metrics-card {
  min-height: 278px;
  padding: 18px;
}

body[data-design="matchday-command-room"] .command-metric-table {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 18px;
}

body[data-design="matchday-command-room"] .command-side-crest {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #edf4f2;
}

body[data-design="matchday-command-room"] .command-side-crest img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

body[data-design="matchday-command-room"] .command-side-crest span {
  color: #111b22;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .command-metric-rows {
  display: grid;
  gap: 13px;
}

body[data-design="matchday-command-room"] .command-metric-row {
  display: grid;
  grid-template-columns: 52px minmax(90px, 1fr) 72px minmax(90px, 1fr) 52px;
  align-items: center;
  gap: 12px;
}

body[data-design="matchday-command-room"] .command-metric-row strong {
  color: #f7fbf9;
  font-size: 16px;
}

body[data-design="matchday-command-room"] .command-metric-row strong:last-child {
  text-align: right;
}

body[data-design="matchday-command-room"] .command-metric-row span {
  color: #f7fbf9;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

body[data-design="matchday-command-room"] .command-bar {
  height: 8px;
  border-radius: 0;
  background: #26343d;
}

body[data-design="matchday-command-room"] .command-bar i {
  display: block;
  height: 100%;
}

body[data-design="matchday-command-room"] .command-bar.home i {
  margin-left: auto;
  background: #ff5964;
}

body[data-design="matchday-command-room"] .command-bar.away i {
  background: #3288ff;
}

body[data-design="matchday-command-room"] .command-agent {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
}

body[data-design="matchday-command-room"] .command-agent-timeline {
  position: relative;
  display: grid;
  gap: 7px;
  max-height: calc(100vh - 270px);
  overflow: auto;
  padding-left: 20px;
  padding-right: 4px;
  scrollbar-color: #455762 transparent;
  scrollbar-width: thin;
}

body[data-design="matchday-command-room"] .command-agent-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #60707a;
}

body[data-design="matchday-command-room"] .command-agent-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 6px;
  border: 1px solid #33424b;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
}

body[data-design="matchday-command-room"] .command-agent-step::before {
  content: "";
  position: absolute;
  left: -17px;
  width: 9px;
  height: 9px;
  border: 2px solid #c7d3d7;
  border-radius: 50%;
  background: #141e25;
}

body[data-design="matchday-command-room"] .command-agent-step.active::before {
  border-color: #3288ff;
  background: #3288ff;
}

body[data-design="matchday-command-room"] .command-agent-step span {
  display: grid;
  place-items: center;
  min-height: 24px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  color: #dce6e7;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .command-agent-step b {
  overflow: hidden;
  color: #dce6e7;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-design="matchday-command-room"] .command-agent-step em {
  justify-self: end;
  min-width: 58px;
  padding: 4px 7px;
  border: 1px solid #445661;
  border-radius: 4px;
  color: #aab8bd;
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

body[data-design="matchday-command-room"] .command-agent-step small {
  grid-column: 2 / 3;
  color: #81939a;
  font-size: 11px;
}

body[data-design="matchday-command-room"] .command-agent-step.active em {
  border-color: #3288ff;
  color: #70adff;
}

body[data-design="matchday-command-room"] .command-agent-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #aab8bd;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-agent-legend span {
  position: relative;
}

body[data-design="matchday-command-room"] .command-agent-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #87959c;
}

body[data-design="matchday-command-room"] .command-agent-legend span[data-state="active"]::before {
  background: #3288ff;
}

body[data-design="matchday-command-room"] .command-agent-legend span[data-state="done"]::before {
  background: var(--command-green);
}

body[data-design="matchday-command-room"] .command-start-button {
  width: 100%;
  min-height: 58px;
  border-color: rgba(234, 191, 80, .9);
  border-radius: 4px;
  background: linear-gradient(180deg, #edc85f, #d6a033);
  color: #281a05;
  font-size: 18px;
  font-weight: 900;
}

body[data-design="matchday-command-room"].disclaimer-modal-open {
  overflow: hidden;
}

body[data-design="matchday-command-room"] .disclaimer-modal[hidden] {
  display: none;
}

body[data-design="matchday-command-room"] .disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

body[data-design="matchday-command-room"] .disclaimer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .68);
  cursor: pointer;
}

body[data-design="matchday-command-room"] .disclaimer-dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: min(74vh, 640px);
  overflow: auto;
  border: 1px solid rgba(255, 226, 130, .46);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(29, 15, 18, .98), rgba(9, 15, 20, .98)),
    linear-gradient(90deg, rgba(243, 196, 78, .2), transparent);
  color: #fff7de;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}

body[data-design="matchday-command-room"] .disclaimer-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 226, 130, .24);
}

body[data-design="matchday-command-room"] .disclaimer-dialog span {
  color: #f3c44e;
  font-size: 12px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .disclaimer-dialog h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

body[data-design="matchday-command-room"] .disclaimer-close {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 226, 130, .48);
  border-radius: 4px;
  background: rgba(255, 226, 130, .12);
  color: #ffe7a6;
  font-weight: 900;
}

body[data-design="matchday-command-room"] #disclaimerModalText {
  margin: 0;
  padding: 22px 24px 26px;
  color: #fff3cf;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.8;
}

body[data-design="matchday-command-room"] .command-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 52px;
  padding: 12px 0 18px;
  color: #b8c7ca;
  font-size: 13px;
}

body[data-design="matchday-command-room"] .command-footer nav {
  display: flex;
  gap: 24px;
}

body[data-design="matchday-command-room"] .command-footer a {
  color: #b8c7ca;
  font-weight: 800;
  text-decoration: none;
}

body[data-design="matchday-command-room"] #commandFooterUpdated {
  color: #ccebd0;
  font-size: 13px;
  font-weight: 900;
}

body[data-design="matchday-command-room"] .command-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #aab8bd;
}

body[data-design="matchday-command-room"] .command-empty strong {
  color: var(--command-text);
}

@media (min-width: 1081px) and (max-width: 1360px) {
  body[data-design="matchday-command-room"] .hero {
    grid-template-columns: minmax(260px, .7fr) minmax(420px, 1fr);
    grid-template-areas:
      "brand metrics"
      "nav nav";
    row-gap: 10px;
    min-height: 122px;
  }

  body[data-design="matchday-command-room"] .hero-copy {
    grid-area: brand;
  }

  body[data-design="matchday-command-room"] .hero .site-nav {
    grid-area: nav;
    justify-self: stretch;
    width: 100%;
    height: 52px;
  }

  body[data-design="matchday-command-room"] .hero .site-tab {
    min-height: 52px;
    padding: 0 22px;
  }

  body[data-design="matchday-command-room"] .hero-board {
    grid-area: metrics;
  }

  body[data-design="matchday-command-room"] .command-dashboard {
    grid-template-columns: 330px minmax(0, 1fr) 330px;
  }

  body[data-design="matchday-command-room"] .command-panel {
    padding: 12px;
  }
}

@media (max-width: 1080px) {
  body[data-design="matchday-command-room"] .hero,
  body[data-design="matchday-command-room"] .grand-hero-main,
  body[data-design="matchday-command-room"] .command-dashboard {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .hero {
    margin: 0;
  }

  body[data-design="matchday-command-room"] .grand-home-hero {
    padding: 46px 28px 0;
  }

  body[data-design="matchday-command-room"] .top-disclaimer-strip {
    padding-right: 28px;
    padding-left: 28px;
  }

  body[data-design="matchday-command-room"] .home-matchday-radar {
    max-width: 560px;
  }

  body[data-design="matchday-command-room"] .league-showcase-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: -28px;
    margin-left: -28px;
  }

  body[data-design="matchday-command-room"] .hero .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  body[data-design="matchday-command-room"] .hero-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-design="matchday-command-room"] .command-panel {
    min-height: auto;
  }

  body[data-design="matchday-command-room"] .command-schedule-rail,
  body[data-design="matchday-command-room"] .command-agent-timeline {
    max-height: 430px;
  }
}

@media (max-width: 760px) {
  body[data-design="matchday-command-room"] .shell {
    padding-bottom: 56px;
  }

  body[data-design="matchday-command-room"] .hero-copy {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body[data-design="matchday-command-room"] .hero h1 {
    white-space: normal;
  }

  body[data-design="matchday-command-room"] .top-disclaimer-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 18px 12px;
  }

  body[data-design="matchday-command-room"] .grand-home-hero {
    min-height: auto;
    padding: 34px 18px 0;
  }

  body[data-design="matchday-command-room"] .grand-hero-copy {
    min-height: 330px;
  }

  body[data-design="matchday-command-room"] .grand-hero-copy h2 {
    font-size: 46px;
  }

  body[data-design="matchday-command-room"] .grand-hero-copy p:not(.grand-kicker) {
    font-size: 16px;
  }

  body[data-design="matchday-command-room"] .grand-hero-actions,
  body[data-design="matchday-command-room"] .grand-hero-badges,
  body[data-design="matchday-command-room"] .radar-head {
    display: grid;
  }

  body[data-design="matchday-command-room"] .grand-primary-link,
  body[data-design="matchday-command-room"] .grand-secondary-link {
    width: 100%;
  }

  body[data-design="matchday-command-room"] .home-matchday-radar {
    padding: 18px;
  }

  body[data-design="matchday-command-room"] .radar-pattern,
  body[data-design="matchday-command-room"] .league-showcase-rail,
  body[data-design="matchday-command-room"] .league-showcase-card dl,
  body[data-design="matchday-command-room"] .home-briefing-strip {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .radar-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-design="matchday-command-room"] .radar-pattern b {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
  }

  body[data-design="matchday-command-room"] .league-showcase-rail {
    margin: 26px -18px 0;
  }

  body[data-design="matchday-command-room"] .league-showcase-card {
    min-height: 170px;
  }

  body[data-design="matchday-command-room"] .home-briefing-strip {
    gap: 0;
    padding-bottom: 10px;
  }

  body[data-design="matchday-command-room"] .home-briefing-strip span,
  body[data-design="matchday-command-room"] .home-briefing-strip time {
    padding: 8px 14px;
    white-space: normal;
  }

  body[data-design="matchday-command-room"] .hero-board,
  body[data-design="matchday-command-room"] .command-data-grid,
  body[data-design="matchday-command-room"] .command-versus-stage,
  body[data-design="matchday-command-room"] .command-metric-table {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .disclaimer-trigger {
    justify-self: start;
    width: 100%;
    max-width: 180px;
  }

  body[data-design="matchday-command-room"] #disclaimer {
    font-size: 12px;
    line-height: 1.55;
  }

  body[data-design="matchday-command-room"] .disclaimer-modal {
    padding: 16px;
  }

  body[data-design="matchday-command-room"] .disclaimer-dialog {
    width: calc(100vw - 32px);
    max-height: 78vh;
  }

  body[data-design="matchday-command-room"] .disclaimer-dialog header {
    display: grid;
    padding: 18px;
  }

  body[data-design="matchday-command-room"] .disclaimer-dialog h2 {
    font-size: 23px;
  }

  body[data-design="matchday-command-room"] #disclaimerModalText {
    padding: 18px;
    font-size: 14px;
  }

  body[data-design="matchday-command-room"] #commandFooterUpdated {
    font-size: 12px;
  }

  body[data-design="matchday-command-room"] .command-footer nav {
    display: none;
  }

  body[data-design="matchday-command-room"] .command-subtabs {
    display: flex;
    overflow-x: auto;
  }

  body[data-design="matchday-command-room"] .command-subtabs button {
    flex: 0 0 auto;
    padding: 0 14px;
  }

  body[data-design="matchday-command-room"] .command-tab-heading {
    display: grid;
  }

  body[data-design="matchday-command-room"] .command-tab-heading span {
    text-align: left;
  }

  body[data-design="matchday-command-room"] .command-mini-grid,
  body[data-design="matchday-command-room"] .command-mini-grid.three,
  body[data-design="matchday-command-room"] .command-history-list div {
    grid-template-columns: 1fr;
  }

  body[data-design="matchday-command-room"] .command-match-hero,
  body[data-design="matchday-command-room"] .command-subtabs,
  body[data-design="matchday-command-room"] .command-tab-content,
  body[data-design="matchday-command-room"] .command-data-grid,
  body[data-design="matchday-command-room"] .command-data-card,
  body[data-design="matchday-command-room"] .command-metrics-card {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  body[data-design="matchday-command-room"] .command-fixture-row {
    grid-template-columns: 44px minmax(0, 1fr) 28px minmax(0, 1fr);
  }

  body[data-design="matchday-command-room"] .command-metric-row {
    grid-template-columns: 44px minmax(70px, 1fr) 58px minmax(70px, 1fr) 44px;
    gap: 7px;
  }
}

/* Agent prediction desk visual refresh */
body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk {
  display: grid;
  grid-template-columns: 320px minmax(640px, 1fr) 330px;
  gap: 0;
  min-height: calc(100vh - 188px);
  margin-top: 0;
  overflow: hidden;
  border: 1px solid #263640;
  border-radius: 4px;
  background: #080d11;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk > .panel {
  min-height: calc(100vh - 188px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(18, 27, 34, .96), rgba(10, 16, 21, .96)),
    #0b1116;
  box-shadow: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk > .panel + .panel,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk > .side-panel {
  border-left: 1px solid #263640;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk .section-title {
  min-height: 68px;
  padding: 18px 16px 12px;
  border-bottom: 1px solid #22313a;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk .section-title h2 {
  margin: 4px 0 0;
  color: #f5faf7;
  font-size: 18px;
  line-height: 1.2;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk .section-title span {
  color: #94a5ad;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .fixture-rail {
  display: grid;
  gap: 0;
  max-height: calc(100vh - 278px);
  padding: 0;
  overflow: auto;
  scrollbar-color: #42525b transparent;
  scrollbar-width: thin;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-list-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 50px 74px;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid #22313a;
  border-radius: 0;
  background: transparent;
  color: #dfe8e8;
  text-align: left;
  box-shadow: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-list-row:hover,
body[data-page="predict"][data-design="matchday-command-room"] .match-list-row.active {
  background: rgba(50, 136, 255, .2);
  box-shadow: inset 3px 0 0 #3288ff;
  transform: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-time {
  color: #c7d4d7;
  font-size: 13px;
  font-weight: 800;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-main {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-main i {
  overflow: hidden;
  color: #7f929b;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-main strong {
  overflow: hidden;
  color: #f5faf7;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-score {
  justify-self: center;
  color: #f5faf7;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-status {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-row-status small {
  overflow: hidden;
  max-width: 100%;
  color: #80929b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-list-row.finished {
  grid-template-columns: 52px minmax(0, 1fr) 44px;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-list-row.finished .match-row-main strong {
  white-space: normal;
  overflow-wrap: anywhere;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-list-row.finished .match-row-status {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-items: start;
  width: 100%;
}

.finished-prediction-summary {
  display: grid;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
}

.finished-public-preview {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.finished-public-preview-head,
.finished-public-preview-prediction {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.finished-public-preview span,
.finished-public-preview p {
  color: var(--muted);
  font-size: 13px;
}

.finished-public-preview strong {
  color: var(--ink);
  font-size: 20px;
}

.finished-public-preview-prediction {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.finished-public-preview-prediction strong {
  color: var(--gold);
  font-size: 18px;
}

.finished-public-preview p {
  margin: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .finished-prediction-summary small,
body[data-page="predict"][data-design="matchday-command-room"] small.finished-prediction-summary {
  white-space: normal;
  overflow-wrap: anywhere;
  color: #b8c7ca;
}

body[data-page="predict"][data-design="matchday-command-room"] .fixture-status-badge {
  border-color: #3d4d55;
  border-radius: 4px;
  background: #18242b;
  color: #b8c7ca;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-list-row.finished .fixture-status-badge,
body[data-page="predict"][data-design="matchday-command-room"] .stage-heading .fixture-status-badge {
  border-color: rgba(98, 223, 116, .36);
  background: rgba(98, 223, 116, .14);
  color: #74e685;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-match-preview {
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .match-command-stage {
  display: grid;
  gap: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-heading div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-heading span,
body[data-page="predict"][data-design="matchday-command-room"] .stage-heading small {
  color: #93a4ab;
  font-size: 14px;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-heading strong {
  overflow: hidden;
  color: #f5faf7;
  font-size: 24px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, .92fr) 188px minmax(0, .92fr);
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 0 28px 18px;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team,
body[data-page="predict"][data-design="matchday-command-room"] .stage-score {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team {
  grid-template-rows: 64px minmax(24px, auto) auto;
  align-content: start;
  row-gap: 9px;
  min-height: 108px;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team-crest {
  display: grid;
  place-items: center;
  align-self: start;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  background: #edf4f2;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team-crest img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team-crest span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #111b22;
  color: #eabf50;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: min(170px, 100%);
  min-height: 28px;
  color: #f8fbf8;
  font-size: 18px;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-team > .stage-team-rank,
body[data-page="predict"][data-design="matchday-command-room"] .stage-score span,
body[data-page="predict"][data-design="matchday-command-room"] .stage-score small {
  color: #8fa0a8;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .stage-score strong {
  color: #f6fbf8;
  font-size: 46px;
  line-height: .95;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-board {
  container-type: inline-size;
  container-name: agent-workspace;
  scroll-margin-bottom: 56px;
  display: grid;
  gap: 12px;
  margin: 10px 24px 18px;
  padding: 22px;
  border: 1px solid rgba(98, 223, 116, .45);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(11, 41, 30, .92), rgba(8, 17, 23, .98) 44%, rgba(11, 19, 24, .98)),
    linear-gradient(90deg, rgba(98, 223, 116, .08), rgba(50, 136, 255, .07));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-board.running {
  border-color: rgba(50, 136, 255, .62);
  background:
    linear-gradient(135deg, rgba(10, 32, 57, .94), rgba(8, 17, 23, .98) 44%, rgba(11, 19, 24, .98)),
    linear-gradient(90deg, rgba(50, 136, 255, .11), rgba(98, 223, 116, .08));
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-board.completed {
  border-color: rgba(98, 223, 116, .7);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head div {
  display: grid;
  gap: 6px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head span,
body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-head span,
body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-summary span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head strong {
  color: #f6fbf8;
  font-size: 27px;
  line-height: 1.12;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head b {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(98, 223, 116, .4);
  border-radius: 999px;
  background: rgba(98, 223, 116, .08);
  color: #72e784;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: clamp(340px, 44vh, 440px);
  gap: 16px;
  align-items: stretch;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-panel,
body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-panel {
  min-width: 0;
  border: 1px solid #31434b;
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px 12px;
  border-bottom: 1px solid #2c3c45;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-head b {
  color: #9fb1b7;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-stream {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding: 14px 16px 16px;
  scrollbar-color: #42525b transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid #31444d;
  border-left: 4px solid #62df74;
  border-radius: 5px;
  background: rgba(255, 255, 255, .038);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.thinking {
  border-left-color: #3288ff;
  background: rgba(50, 136, 255, .08);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.system {
  border-left-color: #e1c16a;
  background: rgba(225, 193, 106, .07);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.degraded {
  border-left-color: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card-head b {
  overflow: hidden;
  color: #f6fbf8;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card p {
  margin: 0;
  color: #d8e5e4;
  font-size: 15px;
  line-height: 1.65;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  gap: 8px;
  padding: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-summary {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2c3c45;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-summary strong {
  overflow: hidden;
  color: #f5faf7;
  font-size: 20px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-summary p {
  margin: 0;
  color: #9fb1b7;
  font-size: 13px;
  line-height: 1.5;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid article {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 10px;
  border: 1px solid #31444d;
  border-radius: 5px;
  background: rgba(255, 255, 255, .032);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid article.active {
  border-color: rgba(50, 136, 255, .7);
  background: rgba(50, 136, 255, .12);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid article.done,
body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid article.degraded {
  border-color: rgba(98, 223, 116, .55);
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid span {
  color: #7f929b;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid strong {
  color: #f5faf7;
  font-size: 16px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid small {
  color: #9fb1b7;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] #agentActionDock {
  scroll-margin-top: 120px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-action-dock {
  position: sticky;
  bottom: 48px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 12px;
  align-items: end;
  padding: 8px 0 2px;
  background: #0b171c;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-action-query {
  display: grid;
  gap: 8px;
  min-width: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-action-query span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-action-dock input {
  width: 100%;
  min-height: 52px;
  border-color: #31444d;
  border-radius: 5px;
  background: rgba(8, 17, 23, .92);
  color: #f5faf7;
  font-weight: 800;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-action-dock #runBtn {
  min-height: 52px;
  border-radius: 5px;
  font-size: 17px;
  box-shadow: 0 12px 30px rgba(225, 193, 106, .18);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-board {
  position: relative;
  display: grid;
  gap: 15px;
  margin: 10px 24px 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(98, 223, 116, .36);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(15, 44, 31, .82), rgba(10, 18, 24, .96) 46%, rgba(8, 16, 22, .98)),
    radial-gradient(circle at 84% 0%, rgba(234, 191, 80, .18), transparent 34%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-board.empty {
  border-color: rgba(234, 191, 80, .4);
  background: linear-gradient(135deg, rgba(43, 34, 16, .78), rgba(10, 18, 24, .96));
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-board.running {
  border-color: rgba(50, 136, 255, .42);
  background:
    linear-gradient(135deg, rgba(13, 35, 59, .82), rgba(10, 18, 24, .96) 48%, rgba(8, 16, 22, .98)),
    radial-gradient(circle at 86% 0%, rgba(50, 136, 255, .22), transparent 35%);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-head,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-head span,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-head span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-head b,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-head b {
  color: #8fa0a8;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-layout {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(250px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(98, 223, 116, .42);
  border-left: 4px solid #62df74;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(98, 223, 116, .14), rgba(255, 255, 255, .035));
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero.draw {
  border-color: rgba(225, 193, 106, .46);
  border-left-color: #e1c16a;
  background: linear-gradient(135deg, rgba(225, 193, 106, .14), rgba(255, 255, 255, .035));
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero.away {
  border-color: rgba(50, 136, 255, .46);
  border-left-color: #3288ff;
  background: linear-gradient(135deg, rgba(50, 136, 255, .14), rgba(255, 255, 255, .035));
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero.empty {
  border-color: rgba(234, 191, 80, .42);
  border-left-color: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero.running {
  border-color: rgba(50, 136, 255, .5);
  border-left-color: #3288ff;
  background: linear-gradient(135deg, rgba(50, 136, 255, .16), rgba(255, 255, 255, .035));
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero span {
  color: #a9bbc1;
  font-size: 13px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero strong {
  color: #f7fbf7;
  font-size: 58px;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero p,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero small {
  margin: 0;
  color: #cdd9d9;
  line-height: 1.5;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero p {
  font-size: 19px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero small {
  color: #8fa0a8;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero small,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race {
  display: grid;
  gap: 10px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 10px 14px;
  align-items: center;
  min-height: 56px;
  padding: 13px 15px;
  border: 1px solid #30414a;
  border-radius: 5px;
  background: rgba(255, 255, 255, .032);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race article.active {
  border-color: rgba(98, 223, 116, .72);
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race b {
  overflow: hidden;
  color: #f3faf7;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race strong {
  justify-self: end;
  color: #f7fbf7;
  font-size: 26px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow-head span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow-head b {
  color: #9fb1b7;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article {
  display: grid;
  gap: 5px;
  min-height: 62px;
  padding: 9px 8px;
  border: 1px solid #30414a;
  border-radius: 5px;
  background: rgba(255, 255, 255, .032);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article.active {
  border-color: rgba(50, 136, 255, .7);
  background: rgba(50, 136, 255, .12);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article.done,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article.degraded {
  border-color: rgba(98, 223, 116, .52);
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article.failed {
  border-color: rgba(255, 93, 118, .7);
  background: rgba(255, 93, 118, .1);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article.locked {
  opacity: .72;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow span {
  color: #80939c;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow strong {
  color: #f3faf7;
  font-size: 15px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow small {
  color: #9eafb4;
  font-size: 11px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race article.pending strong {
  color: #9eafb4;
  font-size: 15px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race i {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #28353d;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62df74, #e1c16a);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid article,
body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid.empty {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 124px;
  padding: 15px;
  border: 1px solid #31444d;
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid article.primary {
  border-color: rgba(98, 223, 116, .7);
  background: rgba(98, 223, 116, .09);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid article.upset {
  border-color: rgba(234, 191, 80, .55);
  background: rgba(234, 191, 80, .06);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid span {
  color: #e1c16a;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid strong {
  color: #f7fbf7;
  font-size: 36px;
  line-height: 1;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid b {
  color: #62df74;
  font-size: 14px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid p {
  margin: 0;
  color: #9eafb4;
  font-size: 12px;
  line-height: 1.5;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 24px;
  border-top: 1px solid #263640;
  border-bottom: 1px solid #263640;
  background: rgba(255, 255, 255, .025);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px 20px;
  border-right: 1px solid #263640;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip article:nth-child(2n) {
  border-right: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip article:nth-child(-n + 2) {
  border-bottom: 1px solid #263640;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip article:last-child {
  border-right: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip span {
  color: #92a3aa;
  font-size: 13px;
  font-weight: 800;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip b {
  overflow: hidden;
  color: #7fe58e;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip strong {
  overflow: hidden;
  color: #f4faf7;
  font-size: 24px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip .watch b {
  color: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip .deviation b {
  color: #ff6871;
  font-size: 28px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 0;
  margin: 24px;
  border-top: 1px solid #263640;
  border-bottom: 1px solid #263640;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-grid.secondary {
  grid-template-columns: 1fr;
  margin-top: 0;
  background: rgba(255, 255, 255, .018);
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 148px;
  padding: 20px 22px;
  border-right: 1px solid #263640;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-card:last-child {
  border-right: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-list {
  border-right: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-head span {
  color: #d9e4e4;
  font-size: 15px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-head b {
  color: #7fe58e;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-bar {
  display: flex;
  height: 34px;
  overflow: hidden;
  border-radius: 4px;
  background: #26333b;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-bar i {
  display: block;
  min-width: 8px;
  height: 100%;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-bar .home {
  background: #3288ff;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-bar .draw {
  background: #8998a0;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-bar .away {
  background: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-legend span {
  color: #b8c7ca;
  font-size: 13px;
  font-weight: 800;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-legend b {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #3288ff;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-legend span:nth-child(2) b {
  background: #8998a0;
}

body[data-page="predict"][data-design="matchday-command-room"] .wdl-stack-legend span:nth-child(3) b {
  background: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items article {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 72px;
  border: 1px solid #32424b;
  border-radius: 4px;
  background: rgba(255, 255, 255, .03);
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items strong {
  color: #f5faf7;
  font-size: 22px;
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items small {
  color: #e1c16a;
  font-size: 11px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items article.upset {
  border-color: rgba(234, 191, 80, .55);
  background: rgba(234, 191, 80, .06);
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items span,
body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items p,
body[data-page="predict"][data-design="matchday-command-room"] .wdl-probability-stack p {
  color: #8fa0a8;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .score-scenario-items p {
  grid-column: 1 / -1;
  max-width: 280px;
  line-height: 1.6;
}

body[data-page="predict"][data-design="matchday-command-room"] .intelligence-completeness {
  grid-column: 1 / -1;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  min-height: 118px;
  border-top: 1px solid #263640;
  border-right: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .intelligence-completeness .prediction-data-head {
  grid-column: 1 / -1;
}

body[data-page="predict"][data-design="matchday-command-room"] .completeness-ring {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111b22 0 52%, transparent 54%),
    conic-gradient(#62df74 var(--completeness), #26343d 0);
}

body[data-page="predict"][data-design="matchday-command-room"] .completeness-ring strong {
  color: #f5faf7;
  font-size: 18px;
}

body[data-page="predict"][data-design="matchday-command-room"] .missing-source-stack {
  display: grid;
  gap: 7px;
}

body[data-page="predict"][data-design="matchday-command-room"] .missing-source-stack span {
  padding: 6px 8px;
  border: 1px solid #3c4445;
  border-radius: 4px;
  color: #e1c16a;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="predict"][data-design="matchday-command-room"] .messages {
  height: 226px;
  min-height: 226px;
  margin: 0 24px 18px;
  border: 0;
  border-top: 1px solid #263640;
  border-radius: 0;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .console-panel > .messages {
  display: none;
}

body[data-page="predict"][data-design="matchday-command-room"] .message {
  border-color: #263640;
  background: rgba(255, 255, 255, .026);
}

body[data-page="predict"][data-design="matchday-command-room"] .action-row {
  margin: 0 24px 24px;
}

body[data-page="predict"][data-design="matchday-command-room"] .action-row input {
  min-height: 48px;
  border-radius: 4px;
  background: #0b1318;
}

body[data-page="predict"][data-design="matchday-command-room"] #runBtn {
  min-height: 48px;
  border-radius: 4px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-overview {
  display: grid;
  gap: 0;
  max-height: calc(100vh - 256px);
  overflow: auto;
  padding: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #22313a;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-summary div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-summary span {
  color: #8fa0a8;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-summary strong {
  overflow: hidden;
  color: #f5faf7;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-summary b {
  flex: 0 0 auto;
  color: #62df74;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding: 14px 14px 20px 28px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #354750;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 18px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-stage-heading {
  position: relative;
  margin: 0 0 5px;
  color: #62df74;
  font-size: 17px;
  line-height: 1.2;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-stage-heading::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3288ff;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.validate .agent-stage-heading {
  color: #8fb6ff;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.validate .agent-stage-heading::before {
  background: #8fb6ff;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.wdl .agent-stage-heading {
  color: #62df74;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.wdl .agent-stage-heading::before {
  background: #62df74;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.score .agent-stage-heading {
  color: #e1c16a;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.score .agent-stage-heading::before {
  background: #e1c16a;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.challenge .agent-stage-heading {
  color: #eabf50;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.challenge .agent-stage-heading::before {
  background: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.summary .agent-stage-heading {
  color: #a875ff;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-stage.summary .agent-stage-heading::before {
  background: #a875ff;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step {
  grid-template-columns: 38px minmax(0, 1fr) 66px;
  min-height: 40px;
  padding: 5px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step:hover {
  background: rgba(255, 255, 255, .035);
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step-index {
  min-height: 26px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .07);
  color: #dce6e7;
  font-size: 12px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step b {
  color: #dce6e7;
  font-size: 13px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step p {
  margin-top: 1px;
  color: #7f929b;
  font-size: 11px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step em {
  min-width: 58px;
  padding: 4px 6px;
  border-color: #33444e;
  border-radius: 4px;
  background: #111b22;
  color: #8fa0a8;
  font-size: 11px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step.locked em {
  color: #eabf50;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-step.done em {
  color: #62df74;
}

body[data-page="predict"][data-design="matchday-command-room"] .live-data-panel,
body[data-page="predict"][data-design="matchday-command-room"] .final-report {
  margin-top: 14px;
  border-radius: 4px;
}

@media (max-width: 1380px) {
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk {
    grid-template-columns: 290px minmax(560px, 1fr) 300px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-layout {
    grid-template-columns: minmax(190px, .85fr) minmax(230px, 1.15fr);
    gap: 12px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-board {
    margin: 10px 18px 16px;
    padding: 18px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-board {
    margin: 10px 18px 16px;
    padding: 18px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head strong {
    font-size: 24px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card p {
    font-size: 14px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero {
    min-height: 166px;
    padding: 20px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero strong {
    font-size: 50px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid article,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid.empty {
    min-height: 110px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid strong {
    font-size: 32px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race article {
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 48px;
    padding: 9px 11px;
    gap: 6px 10px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-probability-race strong {
    font-size: 22px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow article {
    min-height: 54px;
    padding: 7px 6px;
    gap: 3px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-agent-flow strong {
    font-size: 13px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid article,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid.empty {
    padding: 12px;
    gap: 6px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid p {
    -webkit-line-clamp: 1;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .match-list-row {
    grid-template-columns: 58px minmax(0, 1fr) 48px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .match-row-status {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-items: start;
  }
}

@media (max-width: 1180px) {
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk {
    grid-template-columns: 1fr;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk > .panel,
  body[data-page="predict"][data-design="matchday-command-room"] .fixture-panel,
  body[data-page="predict"][data-design="matchday-command-room"] .console-panel,
  body[data-page="predict"][data-design="matchday-command-room"] .side-panel {
    min-height: auto;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk > .panel + .panel,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-desk > .side-panel {
    border-top: 1px solid #263640;
    border-left: 0;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .fixture-rail,
  body[data-page="predict"][data-design="matchday-command-room"] .agent-overview {
    max-height: 460px;
  }
}

@media (max-width: 760px) {
  body[data-page="predict"][data-design="matchday-command-room"] .stage-heading,
  body[data-page="predict"][data-design="matchday-command-room"] .agent-workchain-summary,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-head,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-head,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-head {
    display: grid;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .stage-heading strong {
    white-space: normal;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .stage-scoreboard,
  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-layout,
  body[data-page="predict"][data-design="matchday-command-room"] .agent-action-dock,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-layout,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-score-command-grid,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-grid,
  body[data-page="predict"][data-design="matchday-command-room"] .intelligence-completeness,
  body[data-page="predict"][data-design="matchday-command-room"] .report-core-layout,
  body[data-page="predict"][data-design="matchday-command-room"] .report-score-command-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .stage-score strong {
    font-size: 46px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-core-board {
    margin: 0 16px 18px;
    padding: 16px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-board {
    margin: 0 16px 18px;
    padding: 16px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-head {
    display: grid;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-panel {
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-stream {
    min-height: 0;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-stage-grid article {
    min-height: 58px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero {
    min-height: 154px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-verdict-hero strong {
    font-size: 38px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .report-core-board {
    padding: 16px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .report-core-head {
    display: grid;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .report-final-verdict strong {
    font-size: 36px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip article,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-card {
    border-right: 0;
    border-bottom: 1px solid #263640;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .prediction-review-strip article:last-child,
  body[data-page="predict"][data-design="matchday-command-room"] .prediction-data-card:last-child {
    border-bottom: 0;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .messages {
    height: 260px;
    min-height: 260px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .action-row {
    display: grid;
  }
}

body[data-design="matchday-command-room"] .hero .site-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(132px, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  width: 100%;
  overflow: visible;
}

body[data-design="matchday-command-room"] .hero .site-tab {
  min-width: 0;
  padding: 0 6px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

body[data-design="matchday-command-room"] .hero .site-tab[href="/predict"] {
  align-self: center;
  min-height: 56px;
  margin: 0 4px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 226, 130, .82);
  border-radius: 4px;
  background: linear-gradient(180deg, #ffe282, #f1bd3d);
  color: #2d0a0f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(243, 196, 78, .22);
}

body[data-design="matchday-command-room"] .hero .site-tab[href="/predict"].active {
  box-shadow: inset 0 -4px 0 #9c650b, 0 0 22px rgba(243, 196, 78, .22);
}

body[data-design="matchday-command-room"] .hero .site-tab[href="/predict"]:hover {
  filter: brightness(1.06);
}

body[data-design="matchday-command-room"] .hero .site-tab[href="/predict"]:focus-visible {
  outline: 2px solid #fff2bd;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body[data-design="matchday-command-room"] .hero .site-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(104px, 1.6fr);
    grid-auto-rows: minmax(52px, auto);
    height: auto;
    padding: 0;
  }

  body[data-design="matchday-command-room"] .hero .site-tab {
    min-height: 52px;
    padding: 6px 4px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  body[data-design="matchday-command-room"] .hero .site-tab[href="/predict"] {
    min-height: 44px;
    margin-inline: 2px;
    padding: 6px 4px;
    font-size: 15px;
  }

  body[data-page="access"][data-design="matchday-command-room"] .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "nav";
  }

  body[data-page="access"][data-design="matchday-command-room"] .hero-board {
    display: none;
  }
}

body[data-page="predict"] .agent-work-notice {
  margin: 0;
  color: #a8bcc1;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body[data-page="predict"] .agent-follow-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 12px;
  color: #c9d9dc;
  cursor: pointer;
}

body[data-page="predict"] .agent-follow-control input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  accent-color: #62df74;
}

body[data-page="predict"] .agent-mobile-directory {
  display: none;
}

body[data-page="predict"] .agent-directory {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #42525b transparent;
}

body[data-page="predict"] .agent-directory-group h4 {
  margin: 10px 0 5px;
  color: #e1c16a;
  font-size: 12px;
}

body[data-page="predict"] .agent-directory-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 6px;
  width: 100%;
  padding: 8px 6px;
  border: 0;
  border-left: 2px solid transparent;
  border-bottom: 1px solid #25383d;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  text-align: left;
  color: #dfebed;
  font-size: 12px;
  line-height: 1.4;
}

body[data-page="predict"] .agent-directory-item b {
  font-size: 13px;
  overflow-wrap: anywhere;
}

body[data-page="predict"] .agent-directory-item small {
  grid-column: 2;
  color: #96aeb6;
}

body[data-page="predict"] .agent-directory-item.done small {
  color: #72e784;
}

body[data-page="predict"] .agent-directory-item.degraded small {
  color: #f2cc70;
}

body[data-page="predict"] .agent-directory-item.failed small {
  color: #ff9a9f;
}

body[data-page="predict"] .agent-directory-item[aria-pressed="true"],
body[data-page="predict"] .agent-directory-item:hover {
  background: #20373c;
  border-left-color: #62df74;
}

body[data-page="predict"] .agent-workflow-summary strong small {
  color: #a8bcc1;
  font-size: 12px;
  font-weight: 400;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

body[data-page="predict"] .agent-detail-number {
  color: #e1c16a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

body[data-page="predict"] .agent-workfeed-card-head h3 {
  margin: 3px 0 0;
  color: #f6fbf8;
  font-size: 17px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body[data-page="predict"] .agent-workfeed-card-head small {
  color: #a8bcc1;
  font-size: 11px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.pending,
body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.locked {
  border-left-color: #536870;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.active {
  border-left-color: #3288ff;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card.failed {
  border-left-color: #ff6674;
}

body[data-page="predict"] .agent-evidence-section {
  padding-top: 12px;
  border-top: 1px solid #30444c;
  min-width: 0;
}

body[data-page="predict"] .agent-evidence-section h4 {
  margin: 0 0 8px;
  color: #e1c16a;
  font-size: 13px;
}

body[data-page="predict"] .agent-evidence-section ul {
  margin: 0;
  padding-left: 18px;
  color: #d8e5e4;
  font-size: 14px;
  line-height: 1.7;
}

body[data-page="predict"] .agent-evidence-section li + li {
  margin-top: 6px;
}

body[data-page="predict"] .agent-evidence-list {
  margin: 0;
}

body[data-page="predict"] .agent-evidence-item + .agent-evidence-item {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #293c43;
}

body[data-page="predict"] .agent-evidence-item dt {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  color: #e7f0ef;
  font-size: 14px;
  font-weight: 700;
}

body[data-page="predict"] .agent-evidence-item dt span {
  font-size: 11px;
  color: #80e694;
}

body[data-page="predict"] .agent-evidence-item.missing dt span,
body[data-page="predict"] .agent-evidence-item.degraded dt span {
  color: #f2cc70;
}

body[data-page="predict"] .agent-evidence-item dd {
  margin: 5px 0 0;
  color: #d0dfe1;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body[data-page="predict"] .agent-evidence-item dd small {
  display: block;
  margin-top: 4px;
  color: #97adb6;
  font-size: 11px;
}

body[data-page="predict"] .agent-findings h4,
body[data-page="predict"] .agent-findings li {
  color: #a0ecad;
}

body[data-page="predict"] .agent-limitations li {
  color: #d4bf8c;
}

body[data-page="predict"] .agent-limitations summary {
  color: #d4bf8c;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}

body[data-page="predict"] .agent-limitations summary::-webkit-details-marker {
  display: none;
}

body[data-page="predict"] .agent-limitations summary::before {
  content: "＋";
  display: inline-block;
  width: 18px;
  color: #e1c16a;
}

body[data-page="predict"] .agent-limitations[open] summary::before {
  content: "－";
}

body[data-page="predict"] .agent-limitations[open] summary {
  margin-bottom: 8px;
}

body[data-page="predict"][data-design="matchday-command-room"] .agent-detail-muted {
  color: #95aab1;
  font-size: 12px;
}

body[data-page="predict"] .agent-dependencies {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid #30444c;
  color: #97adb6;
  font-size: 12px;
}

body[data-page="predict"] .agent-dependencies button {
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  color: #94c3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}

body[data-page="predict"] .agent-workfeed-card :is(p, li) {
  overflow-wrap: anywhere;
  white-space: pre-line;
}

body[data-page="predict"] :is(.agent-directory-item, .agent-step, .agent-workfeed-card, .agent-dependencies button):focus-visible {
  outline: 2px solid #94c3ff;
  outline-offset: -2px;
}

body[data-page="predict"][data-design="matchday-command-room"] button.agent-step {
  width: 100%;
  text-align: left;
  box-shadow: none;
}

@container agent-workspace (max-width: 660px) {
  body[data-page="predict"][data-design="matchday-command-room"] .agent-work-command-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workflow-panel {
    display: none;
  }

  body[data-page="predict"] .agent-mobile-directory {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: #e1c16a;
    font-size: 12px;
  }

  body[data-page="predict"] .agent-mobile-directory select {
    min-width: 0;
    width: 100%;
    padding: 8px;
    font-size: 13px;
  }
}

@container agent-workspace (max-width: 380px) {
  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-head {
    flex-wrap: wrap;
    padding: 12px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-stream {
    padding: 10px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card {
    padding: 12px;
  }

  body[data-page="predict"][data-design="matchday-command-room"] .agent-workfeed-card-head {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
  }

  body[data-page="predict"] .agent-workfeed-card-head .event-type {
    grid-column: 2;
    justify-self: start;
  }
}
