/* BrawlHood /bracket — broadcast page (DESIGN.md §5). Loaded after tokens.css and site.css; extends the shared
   components, never redefines them. Every value comes from the §2 tokens. */

:root {
  --match-w: 256px;
  --match-row: 30px;
  --match-gap: var(--space-2);
  --col-gap: var(--space-6);
}

/* =========================================================== header */
.bracket-head { padding-top: var(--space-6); }
.bracket-head .wrap { display: flex; flex-direction: column; gap: var(--space-5); }
.round-nav { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.round-nav .tabs__list { border-bottom: 0; }
.history-pick { display: flex; align-items: center; gap: var(--space-2); }
.history-pick .input { width: auto; min-width: 220px; height: 36px; }

.round-header { min-height: 220px; }
.round-header .card { display: flex; flex-direction: column; gap: var(--space-5); }
.round-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: var(--space-5) var(--space-6); align-items: start; }
.round-title { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.round-h1 { font-size: 56px; }
.round-title .row { gap: var(--space-2); }
.round-when { font-size: var(--text-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.proof-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.proof-pills .pill .icon { width: 11px; height: 11px; }

.round-title .countdown { margin-top: var(--space-2); }
.round-title .countdown__digits, .round-title .countdown__sep { font-size: 44px; }
.round-title .countdown-foot { font-size: var(--text-small); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.round-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); align-items: stretch; }
.figure { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--radius-2); min-width: 0; min-height: 120px; }
.figure--wide { grid-column: span 2; }
.figure .tile__value { font-size: 36px; }
.figure .tile__value small { font-size: var(--text-small); }
.figure .chart--ring svg { max-width: 112px; }
.figure .chart { align-items: center; }
.figure .countdown { align-self: flex-start; }
.figure .countdown__digits, .figure .countdown__sep { font-size: 34px; }
.figure .countdown__cell { min-width: 2em; }
.figure .countdown--inline { font-size: var(--text-body); }
.figure .progress__head { font-size: var(--text-small); }
.figure .figure__foot { font-size: var(--text-small); color: var(--ink-3); margin-top: auto; }
.figure .figure__foot .num { color: var(--ink-2); }

/* prize split: four mini bars */
.split { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.split__item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.split__place { font-size: var(--text-micro); text-transform: uppercase; letter-spacing: var(--tracking-micro); color: var(--ink-3); font-weight: 600; }
.split__bar { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.split__bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.split__item:not(:first-child) .split__bar i { background: var(--ink-3); }
.split__amt { font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-1); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.split__pct { font-size: var(--text-micro); color: var(--ink-3); }

/* podium */
.podium { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.podium__place { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--radius-2); min-width: 0; }
.podium__place--1 { border-color: rgba(242, 193, 78, 0.5); }
.podium__rank { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.podium__rank .display-num { font-size: 28px; color: var(--ink-3); }
.podium__place--1 .podium__rank .display-num { color: var(--gold); }
.podium__rank .pct { font-size: var(--text-micro); color: var(--ink-3); letter-spacing: var(--tracking-micro); text-transform: uppercase; font-weight: 600; }
.podium__who { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.podium__who .pf-pic { width: 44px; height: 44px; }
.podium__who .nameplate { flex: 1; }
.podium__who .nameplate .corner-bar { min-height: 32px; }
.podium__who .nameplate__id { font-size: 18px; }
.podium__who .nameplate__name { font-size: 18px; }
.podium__who button.nameplate { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.podium__who button.nameplate:hover .nameplate__name { color: var(--gold); }
.podium__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; font-size: var(--text-small); color: var(--ink-2); }
.podium__amt { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; color: var(--ink-1); }
.podium__place--1 .podium__amt { color: var(--gold); }
.podium__owner { font-size: var(--text-small); color: var(--ink-3); }
.podium__owner a { color: var(--ink-2); font-family: var(--font-mono); }

/* =========================================================== ticker */
.results-ticker .ticker__item { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; font-size: var(--text-small); cursor: pointer; }
.results-ticker .ticker__item:hover .win, .results-ticker .ticker__item:focus-visible .win { color: var(--gold); }
.results-ticker .ticker__item .def { color: var(--ink-3); }

/* =========================================================== roster (claims) */
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-2); }
.rcard { display: grid; grid-template-columns: 4px 32px 1fr; grid-template-rows: auto auto; gap: 2px var(--space-2); align-items: center; padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2); background: var(--bg-1); border: 1px solid var(--line-1); border-radius: var(--radius-1); min-width: 0; }
.rcard .corner-bar { grid-row: 1 / 3; min-height: 32px; background: var(--line-2); }
.rcard.is-claimed .corner-bar { background: var(--gold); }
.rcard .pf-pic { grid-row: 1 / 3; width: 32px; height: 32px; }
.rcard__name { font-weight: 600; font-size: var(--text-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-1); display: flex; align-items: center; gap: 6px; min-width: 0; }
.rcard__name .rid { font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-3); }
.rcard__name a { color: inherit; overflow: hidden; text-overflow: ellipsis; }
.rcard__meta { font-size: var(--text-micro); color: var(--ink-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rcard__meta .owner { font-family: var(--font-mono); color: var(--ink-2); }
.rcard__meta .renew { color: var(--ok); font-weight: 600; }
.rcard.is-house { opacity: 0.7; }
.roster-summary { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); font-size: var(--text-small); color: var(--ink-2); }

/* =========================================================== tree */
.jump { display: flex; gap: 6px; flex-wrap: wrap; }
.jump .chip { height: 32px; font-size: var(--text-small); }
.tree-wrap { margin-top: var(--space-2); }
.tree-scroll { padding: var(--space-2) var(--space-1) var(--space-5); scrollbar-color: var(--line-2) transparent; }
.tree { display: flex; align-items: stretch; width: max-content; min-width: 100%; }
.bcol { display: flex; flex-direction: column; width: var(--match-w); margin-right: var(--col-gap); flex: none; scroll-margin-left: var(--space-2); }
.bcol:last-child { margin-right: 0; }
.bcol__head { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 44px; margin-bottom: var(--space-3); font-size: var(--text-micro); font-weight: 600; letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--ink-3); text-align: center; }
.bcol__head small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-4); font-size: var(--text-micro); }
.bcol.is-active .bcol__head { color: var(--gold); }
.bcol__body { flex: 1; display: flex; flex-direction: column; }
.pair { flex: 1; display: flex; flex-direction: column; justify-content: space-around; position: relative; min-height: calc(2 * var(--match-h, 92px) + var(--space-4)); }
.pair.single { justify-content: center; }
.pair::before { content: ""; position: absolute; left: 100%; top: 25%; bottom: 25%; width: calc(var(--col-gap) / 2); border: 1px solid var(--line-2); border-left: 0; border-radius: 0 var(--radius-1) var(--radius-1) 0; pointer-events: none; }
.pair::after { content: ""; position: absolute; left: calc(100% + var(--col-gap) / 2); top: 50%; width: calc(var(--col-gap) / 2); border-top: 1px solid var(--line-2); pointer-events: none; }
.bcol.nolink .pair::before, .bcol.nolink .pair::after { display: none; }
.bcol.third { margin-left: var(--space-2); border-left: 1px dashed var(--line-2); padding-left: var(--space-5); }

.match { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: var(--space-1) var(--space-2) var(--space-2); margin: 0; background: var(--bg-1); border: 1px solid var(--line-1); border-radius: var(--radius-2); color: var(--ink-1); font: inherit; text-align: left; cursor: pointer; position: relative; z-index: 1; transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.match:hover { border-color: var(--line-2); background: var(--bg-2); }
.match:focus-visible { border-color: var(--gold); }
.match.is-selected { border-color: var(--gold); }
.match.is-pending { border-style: dashed; }
.match.is-final { border-color: var(--line-2); }
.match.is-latest { border-color: rgba(230, 57, 70, 0.55); }
.match__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); height: 18px; font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-3); }
.match__num { font-weight: 600; }
.match__when { font-variant-numeric: tabular-nums; }
.match__when.is-live { color: var(--red-2); }
.match__when .icon { width: 10px; height: 10px; margin-right: 3px; }

.fr { display: grid; grid-template-columns: 3px 28px minmax(0, 1fr) 6px 30px 26px 12px; gap: 0 5px; align-items: center; height: var(--match-row); padding-right: 2px; border-radius: var(--radius-1); min-width: 0; }
.fr .corner-bar { width: 3px; height: 22px; align-self: center; }
.fr__name { font-size: var(--text-small); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-1); min-width: 0; }
.fr__name .fid { font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-3); margin-right: 4px; }
.tier-dot { width: 6px; height: 6px; border-radius: 2px; background: var(--tier-color, var(--line-2)); display: inline-block; }
.fr__hp { position: relative; height: 4px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.fr__hp i { display: block; height: 100%; background: var(--ink-3); border-radius: 2px; }
.fr--red .fr__hp i { background: var(--red); }
.fr--blue .fr__hp i { background: var(--blue); }
.fr__num { font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.fr__mark { width: 12px; height: 12px; display: inline-flex; align-items: center; justify-content: center; }
.fr__mark .icon { width: 12px; height: 12px; color: var(--gold); stroke-width: 2.4; }
.fr.is-win .fr__name { font-weight: 700; }
.fr.is-win .fr__num { color: var(--ink-1); font-weight: 600; }
.fr.is-lose { opacity: 0.5; }
.fr.is-lose .fr__hp i { background: var(--ink-4); }
.fr.is-tbd .fr__name { color: var(--ink-3); font-style: italic; font-weight: 400; }
.fr.is-tbd .corner-bar { background: var(--line-2); }
.fr .skeleton { height: 12px; }
.fr .skeleton--pic { width: 28px; height: 28px; border-radius: 50%; }
.fr .skeleton--name { width: 80%; }
.fr .skeleton--hp { width: 30px; height: 4px; }
.match.is-final .fr.is-win .fr__hp i { background: var(--gold); }

/* portrait / avatar disc */
.pf-pic { position: relative; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2); flex: none; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-1); }
.pf-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.pf-pic.has-img img { opacity: 1; }
.pf-pic.has-img .pf-pic__init { visibility: hidden; }
.pf-pic--lg { width: 96px; height: 96px; font-size: 30px; border-width: 2px; }
.pf-pic--md { width: 56px; height: 56px; font-size: 18px; }
.pf-pic--red { border-color: var(--red); }
.pf-pic--blue { border-color: var(--blue); }
.pf-pic--gold { border-color: var(--gold); }

/* =========================================================== match dialog */
.match-dialog { width: min(960px, calc(100vw - 2 * var(--gutter))); }
.match-dialog .dialog__head { align-items: flex-start; }
.match-dialog .dialog__head .eyebrow { margin-bottom: 4px; }
.match-dialog .dialog__head h2 { font-size: 32px; }
.match-dialog .dialog__sub { font-size: var(--text-small); color: var(--ink-3); margin-top: 4px; display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.match-dialog .dialog__body { display: flex; flex-direction: column; gap: var(--space-5); }
.dlg-section { display: flex; flex-direction: column; gap: var(--space-3); }
.dlg-section > .eyebrow { margin: 0; }

.faceoff { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
.fo { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--radius-2); min-width: 0; position: relative; overflow: hidden; }
.fo--red { border-top: 3px solid var(--red); }
.fo--blue { border-top: 3px solid var(--blue); }
.fo.is-win { border-color: rgba(242, 193, 78, 0.45); }
.fo.is-lose { opacity: 0.72; }
.fo__top { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.fo__top .nameplate { flex: 1; min-width: 0; }
.fo__tags { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.fo__owner { font-size: var(--text-small); color: var(--ink-3); }
.fo__owner a { font-family: var(--font-mono); color: var(--ink-2); }
.fo__hp { font-size: var(--text-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fo__hp strong { color: var(--ink-1); }
.fo.is-tbd { justify-content: center; align-items: center; text-align: center; color: var(--ink-3); border-style: dashed; }
.fo-vs { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); text-align: center; padding: 0 var(--space-2); }
.fo-vs .vs { font-family: var(--font-display); font-size: 40px; letter-spacing: 0.1em; color: var(--ink-4); line-height: 1; }
.fo-vs .verdict-line { font-size: var(--text-small); color: var(--ink-2); max-width: 12ch; }
.fo-vs .verdict-line strong { color: var(--ink-1); display: block; }

.tape { min-width: 0; }
.tape table { min-width: 0; }
.tape td, .tape th { padding: 8px var(--space-3); }
.tape .lbl { text-align: center; color: var(--ink-3); font-size: var(--text-micro); text-transform: uppercase; letter-spacing: var(--tracking-micro); font-weight: 600; width: 26%; }
.tape .a { text-align: right; }
.tape .b { text-align: left; }
.tape td.a, .tape td.b { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tape td.better { color: var(--gold); font-weight: 600; }
.tape th.a, .tape th.b { color: var(--ink-1); font-size: var(--text-small); letter-spacing: 0; text-transform: none; white-space: normal; }
.tape th.a { border-right: 3px solid var(--red); }
.tape th.b { border-left: 3px solid var(--blue); }

/* replay */
.replay { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--radius-2); }
.replay__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.replay__controls { display: grid; grid-template-columns: auto auto minmax(120px, 1fr) auto; gap: var(--space-3); align-items: center; }
.replay__controls .chips { flex-wrap: nowrap; }
.scrub { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; cursor: pointer; }
.scrub:focus-visible { box-shadow: var(--focus); border-radius: var(--radius-1); }
.scrub::-webkit-slider-runnable-track { height: 6px; background: var(--bg-3); border-radius: 3px; }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg-0); }
.scrub::-moz-range-track { height: 6px; background: var(--bg-3); border-radius: 3px; }
.scrub::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg-0); }
.scrub:disabled { opacity: 0.45; cursor: not-allowed; }
.replay__pos { font-family: var(--font-mono); font-size: var(--text-small); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.replay__status { min-height: 22px; font-size: var(--text-small); color: var(--ink-2); display: block; line-height: 1.6; }
.replay__status strong { color: var(--ink-1); }
.replay__status .corner-bar { display: inline-block; height: 14px; width: 3px; vertical-align: middle; margin-right: var(--space-2); }
.replay__status.is-ko { color: var(--gold); }
.replay__status.is-ko strong { color: var(--gold); }
.feed { position: relative; list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; border: 1px solid var(--line-1); border-radius: var(--radius-1); background: var(--bg-1); scrollbar-width: thin; }
.feed__row { display: grid; grid-template-columns: 40px 3px minmax(0, 1fr) 64px 44px 90px; gap: 0 var(--space-2); align-items: center; height: 28px; padding: 0 var(--space-3); font-size: var(--text-small); border-bottom: 1px solid var(--line-1); font-variant-numeric: tabular-nums; cursor: pointer; }
.feed__row:last-child { border-bottom: 0; }
.feed__row .corner-bar { height: 16px; width: 3px; }
.feed__t { font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-3); }
.feed__who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.feed__res { font-family: var(--font-mono); font-size: var(--text-micro); font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); }
.feed__row.is-hit .feed__res { color: var(--ink-1); }
.feed__row.is-crit .feed__res { color: var(--gold); }
.feed__dmg { text-align: right; font-family: var(--font-mono); font-size: var(--text-small); color: var(--ink-3); }
.feed__row.is-hit .feed__dmg { color: var(--ink-1); }
.feed__hp { text-align: right; font-family: var(--font-mono); font-size: var(--text-micro); color: var(--ink-3); }
.feed__row.is-future { opacity: 0.4; }
.feed__row.is-current { background: var(--bg-3); }
.feed__row.is-current .feed__who { color: var(--ink-1); }
.feed__row.is-ko .feed__hp { color: var(--bad); font-weight: 600; }
.feed__row:hover { background: var(--bg-2); }
.replay__note { font-size: var(--text-micro); color: var(--ink-3); }

/* 3D duel stage (optional) */
.duel { display: none; position: relative; height: 320px; border-radius: var(--radius-2); overflow: hidden; background: var(--bg-0); border: 1px solid var(--line-1); }
.duel.is-on { display: block; }
.duel canvas { width: 100%; height: 100%; display: block; }
.duel .viewer-loading { position: absolute; left: 50%; bottom: var(--space-4); transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px var(--space-3); border-radius: var(--radius-pill); background: rgba(8, 8, 10, 0.75); border: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--text-small); font-weight: 600; pointer-events: none; white-space: nowrap; }
.duel .viewer-loading[hidden] { display: none; }
.duel .viewer-loading.error { color: var(--warn); border-color: var(--warn); }
.duel .viewer-loading.error .viewer-loading-dot { display: none; }
.duel .viewer-loading-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.duel__plates { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); display: flex; justify-content: space-between; gap: var(--space-3); pointer-events: none; }
.duel__plates .nameplate--overlay { padding: var(--space-2) var(--space-3); }
.duel__plates .nameplate__id { font-size: 20px; }
.duel__plates .nameplate__name { font-size: 18px; }

/* offscreen portrait renderer */
.portrait-stage { position: fixed; left: -4000px; top: 0; width: 240px; height: 320px; overflow: hidden; pointer-events: none; opacity: 0; }
.portrait-stage canvas { width: 240px; height: 320px; }
.portrait-stage .viewer-loading { display: none; }

/* pending match in the dialog */
.dlg-pending { display: flex; flex-direction: column; gap: var(--space-3); }
.dlg-pending .countdown { align-self: flex-start; }

/* log table */
.log-table { min-width: 0; font-family: var(--font-mono); }
.log-table th, .log-table td { padding: 6px var(--space-3); }
.log-table tr.miss td { color: var(--ink-3); }
.log-table tr.hit td.res { color: var(--ink-1); font-weight: 600; }
.log-table tr.crit td.res { color: var(--gold); font-weight: 600; }
.log-table td.ko { color: var(--bad); font-weight: 600; }
.dlg-log summary { cursor: pointer; color: var(--ink-3); font-size: var(--text-micro); text-transform: uppercase; letter-spacing: var(--tracking-micro); font-weight: 600; min-height: var(--target); display: flex; align-items: center; list-style: none; }
.dlg-log summary::-webkit-details-marker { display: none; }
.dlg-log summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(-45deg); margin-right: var(--space-2); transition: transform var(--dur-2) var(--ease); }
.dlg-log[open] summary::before { transform: rotate(45deg); }

/* =========================================================== verify panel */
.verify-panel { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); min-height: 24px; }
.verify-status { margin: 0; }
.verify-verdict { align-items: flex-start; font-size: var(--text-body); }
.verify-verdict .icon { width: 18px; height: 18px; margin-top: 1px; }
.verify-verdict .verdict__title { font-weight: 600; color: var(--ink-1); }
.verify-verdict .verdict__round { color: var(--ink-3); font-size: var(--text-small); margin-left: var(--space-2); }
.verify-verdict p { margin: 4px 0 0; color: var(--ink-2); font-size: var(--text-small); }
.vsteps { display: grid; gap: var(--space-2); }
.vstep { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-2) var(--space-3); padding: var(--space-3) var(--space-4); background: var(--bg-1); border: 1px solid var(--line-1); border-radius: var(--radius-2); }
.vstep--bad { border-color: rgba(255, 77, 109, 0.5); }
.vstep--ok { border-left: 3px solid var(--ok); }
.vstep--pending { border-left: 3px solid var(--warn); }
.vstep--skip { border-left: 3px solid var(--line-2); }
.vmark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--bg-3); color: var(--ink-3); margin-top: -1px; }
.vmark .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.vmark--ok { background: rgba(61, 220, 132, 0.15); color: var(--ok); }
.vmark--bad { background: rgba(255, 77, 109, 0.15); color: var(--bad); }
.vmark--pending { background: rgba(255, 176, 32, 0.15); color: var(--warn); }
.vstep__head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; min-height: 24px; }
.vstep__name { font-weight: 600; }
.vstep__head .vsrc { margin-left: auto; }
.vstep__body { grid-column: 2; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px var(--space-3); margin: 0; font-size: var(--text-small); }
.vstep__body:empty { display: none; }
.vstep__body dt { color: var(--ink-3); font-size: var(--text-micro); text-transform: uppercase; letter-spacing: var(--tracking-micro); font-weight: 600; padding-top: 4px; }
.vstep__body dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--ink-2); display: flex; align-items: flex-start; gap: var(--space-2); }
.vstep__body dd .vval { flex: 1; min-width: 0; }
.vstep__body dd code, .vstep__body dd .hash { font-family: var(--font-mono); font-size: var(--text-small); color: var(--ink-1); overflow-wrap: anywhere; word-break: break-all; }
.vstep__body dd a code { color: var(--ink-1); }
.vstep__body dd .copy { flex: none; width: 28px; height: 28px; margin-top: -4px; }
.vstep__body dd .copy .icon { width: 14px; height: 14px; }
.vlinks { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.vlinks .pill .icon { width: 11px; height: 11px; }
.diff-table { min-width: 0; margin: var(--space-2) 0; }
.diff-table td.mono { overflow-wrap: anywhere; white-space: normal; }
.verify-sources { font-size: var(--text-small); color: var(--ink-3); }
.protocol summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--target); }
.protocol summary::-webkit-details-marker { display: none; }
.protocol summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform var(--dur-2) var(--ease); flex: none; margin-right: 4px; }
.protocol[open] summary::after { transform: rotate(-135deg); }
.protocol-steps { margin: var(--space-3) 0 var(--space-3); padding-left: 20px; color: var(--ink-2); font-size: var(--text-small); display: grid; gap: var(--space-2); }
.protocol-steps b { color: var(--ink-1); }
.protocol-steps code { color: var(--ink-2); }
.source-links { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* =========================================================== responsive */
@media (max-width: 1199px) {
  .round-top { grid-template-columns: 1fr; }
  .podium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  :root { --match-w: 236px; --col-gap: var(--space-5); }
  .bracket-head { padding-top: var(--space-5); }
  .round-h1 { font-size: 44px; }
  .round-figures { grid-template-columns: 1fr; }
  .figure--wide { grid-column: auto; }
  .figure { min-height: 0; }
  .round-title .countdown__digits, .round-title .countdown__sep { font-size: 36px; }
  .history-pick { width: 100%; }
  .history-pick .input { flex: 1; min-width: 0; }
  .podium { grid-template-columns: 1fr; }
  .faceoff { grid-template-columns: 1fr; }
  .fo-vs { flex-direction: row; justify-content: center; gap: var(--space-4); }
  .fo-vs .vs { font-size: 28px; }
  .fo-vs .verdict-line { max-width: none; }
  .replay__controls { grid-template-columns: auto auto; }
  .replay__controls .scrub { grid-column: 1 / -1; }
  .replay__controls .replay__pos { grid-column: 2; justify-self: end; }
  .feed__row { grid-template-columns: 34px 3px minmax(0, 1fr) 56px 40px; }
  .feed__hp { display: none; }
  .vstep__body { grid-template-columns: 1fr; gap: 2px; }
  .vstep__head .vsrc { margin-left: 0; }
  .tree-scroll { padding-bottom: var(--space-4); }
  .duel { height: 260px; }
}
