/* Bubble Watch (/cut) page-only styles. Shared look lives in /style.css; tokens fall back to rotk.app's values. */

.cut-hero .lead { max-width: 62ch; }
.cut-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.25rem; }
.cut-toolbar .field { display: flex; flex-direction: row; align-items: center; gap: .6rem; margin: 0; }   /* style.css .field stacks; here the label sits beside the select */
.cut-toolbar .select { width: auto; min-width: 9rem; }
.cut-toolbar p { margin: 0; }

/* countdown card */
.cut-count { font-size: clamp(2.5rem, 7vw, 4.25rem); line-height: 1; margin: .5rem 0 .25rem; font-variant-numeric: tabular-nums; }

/* gap calculator results */
.cut-match { padding: .9rem 0; border-top: 1px solid var(--line, rgba(238, 236, 228, .16)); }
.cut-match:first-child { margin-top: 1rem; }
.cut-match-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem .75rem; }
.cut-match-name { font-weight: 600; color: var(--paper, #eeece4); }
.cut-match-sentence { margin: .4rem 0 .25rem; color: var(--paper-dim, #c8c4ba); }
.cut-match-line { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0; }
.cut-match-line span { white-space: nowrap; }
.cut-match-line strong { font-weight: 600; }
.cut-match-actions { margin: .6rem 0 0; }

/* ladder */
.cut-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.cut-chips .chip[disabled] { opacity: .45; cursor: not-allowed; }
table.ladder tr.cut-line td { padding-top: .35rem; padding-bottom: .35rem; }

/* 24 h movers */
.cut-movers { list-style: none; margin: 0; padding: 0; }
.mover { display: grid; grid-template-columns: 3.75rem 1fr auto; gap: .75rem; align-items: baseline; padding: .45rem 0; border-top: 1px solid var(--line, rgba(238, 236, 228, .16)); }
.mover:first-child { border-top: 0; }
.mover-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mover-score { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The searched player's own row in the movers lists, matching the table's tr.me highlight. */
li.mover.me { background: rgba(238, 236, 228, .07); box-shadow: inset 3px 0 0 var(--paper, #eeece4); color: var(--paper, #eeece4); padding-left: .6rem; }

/* history chart: an inline SVG built by cut.js, sized to its container */
.cut-chart { display: block; width: 100%; height: auto; overflow: visible; }
.cut-chart .gridline { stroke: var(--line, rgba(238, 236, 228, .16)); stroke-width: 1; shape-rendering: crispEdges; }
.cut-chart .tick { stroke: var(--line-strong, rgba(238, 236, 228, .31)); stroke-width: 1; shape-rendering: crispEdges; }
.cut-chart .axis { fill: var(--muted, #96948d); font-size: 11px; }
.cut-chart .line-cut { stroke: var(--signal, #ee0101); stroke-width: 2; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.cut-chart .line-r1 { stroke: var(--paper-dim, #c8c4ba); stroke-width: 1.5; fill: none; opacity: .4; stroke-linejoin: round; }
.cut-chart .end-dot { fill: var(--signal, #ee0101); }
.cut-chart .end-label { fill: var(--paper, #eeece4); font-size: 12px; font-weight: 600; }
.legend-swatch { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: .35rem; background: var(--signal, #ee0101); }
.legend-swatch.r1 { background: var(--paper-dim, #c8c4ba); opacity: .5; }

/* notes */
.cut-note-list { margin: 0; padding-left: 1.1rem; }
.cut-note-list li { margin: .35rem 0; }

@media (max-width: 640px) {
  .mover { grid-template-columns: 3rem 1fr auto; }
  .cut-match-line { gap: .25rem .8rem; }
}
