/* fonts are self-hosted (OFL): no requests to Google from visitors' browsers */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/static/fonts/jbmono-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/static/fonts/jbmono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0B1220; --card: #121B2E; --card-2: #0F1729; --line: #22304A; --line-2: #1A2640;
  --text: #E6EDF7; --text-2: #C6D1E2; --muted: #93A1B8; --dim: #6F7D95;
  --accent: #1E96F0; --accent-text: #5AB4F7; --on-accent: #06101F;
  --good: #3DDC97; --good-text: #7FEBC0; --good-bg: #12352A; --good-line: #2A6B52;
  --bad: #FF6B5C; --bad-text: #FFA79E; --bad-bg: #3A1A20; --bad-line: #6B2A33;
  --warn: #F5B942; --warn-text: #F5C76A; --warn-bg: #2A1B12; --warn-line: #5A3A1E;
  --radius: 14px; --max: 1180px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: #8FCBFA; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.good-t { color: var(--good-text); } .bad-t { color: var(--bad-text); } .warn-t { color: var(--warn-text); }

/* header */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 17px; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
nav.main { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.main a, .linkbtn { color: var(--muted); padding: 8px 12px; border-radius: 8px; font: inherit; background: none; border: 0; cursor: pointer; transition: background .15s, color .15s; }
nav.main a:hover, .linkbtn:hover { color: var(--text); background: var(--card); }
nav.main a.on { color: var(--text); background: var(--card); }
.who { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.who form { margin: 0; }
.who .nick { color: var(--muted); font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; font-size: 14px; border: 0; cursor: pointer;
  transition: filter .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { color: var(--on-accent); filter: brightness(1.1); }
.btn.secondary { background: var(--card); color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.btn.secondary:hover { border-color: var(--accent); filter: none; }
.btn.tiny { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn svg { flex: none; }
.btn.warn { background: var(--warn); color: #1E1405; }

/* generic blocks */
main.wrap { padding-top: 28px; padding-bottom: 64px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h2 { margin: 0 0 10px; font-size: 18px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 20px; }
.cols > .grow { flex: 999 1 560px; min-width: 0; }
.cols > .side { flex: 1 1 300px; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.tile .k { color: var(--muted); font-size: 13px; }
.tile .v { font-family: var(--mono); font-size: 28px; font-weight: 700; line-height: 1.3; }
.tile .v.accent { color: var(--accent-text); }
.tile .s { color: var(--muted); font-size: 13px; }
.tile .v.text { font-family: var(--font); font-size: 17px; margin-top: 4px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good-text); }
.pill.bad { background: var(--bad-bg); color: var(--bad-text); }
.pill.warn { background: #3A2D12; color: var(--warn-text); }
.pill.outline { border: 1px solid var(--accent); color: var(--accent-text); font-weight: 600; }
.empty { text-align: center; padding: 48px 16px; }
.empty h3 { margin: 0 0 8px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: right; font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
th:first-child, td:first-child { text-align: left; }
tr:last-child td { border-bottom: 0; }
td.l, th.l { text-align: left; }
.tbl { overflow-x: auto; }

/* landing */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 24px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin: 0 0 16px; font-weight: 800; letter-spacing: -.02em; }
.hero p.lead { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.section { padding: 28px 0; }
.section h2 { font-size: 26px; margin: 0 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid3 .card p { color: var(--muted); }
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 56px; position: relative; }
ol.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700; display: grid; place-items: center; }
code { background: var(--card-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 14px; font-family: var(--mono); }

/* page head */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.page-head h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.page-head .muted { font-size: 14px; }
.back { font-size: 14px; color: var(--muted); }

/* match list */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.on { background: #10233A; border-color: var(--accent); color: var(--text); }
.matches { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.busy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #10233A; border: 1px solid #1E4A73; border-radius: var(--radius); padding: 14px 18px; }
.busy .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 4px #17385A; animation: pulse 1.6s ease-in-out infinite; }
.busy .t { font-weight: 600; }
.busy .d { color: #A9C6E3; font-size: 14px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(23,56,90,.4); } }
.match { position: relative; display: grid; grid-template-columns: 6px minmax(110px, 1.1fr) minmax(130px, .9fr) minmax(110px, .7fr) minmax(0, 2fr) 150px;
  gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 12px 0;
  overflow: hidden; transition: border-color .15s, transform .15s; }
.match:hover { border-color: var(--accent); }
.match .match-link { position: absolute; inset: 0; z-index: 1; }
.match .bar { align-self: stretch; min-height: 44px; border-radius: 0 4px 4px 0; background: var(--bad); }
.match.win .bar { background: var(--good); }
.match .map { font-weight: 700; display: block; }
.match .date { color: var(--muted); font-size: 13px; }
.match .res { font-weight: 600; color: var(--bad-text); }
.match.win .res { color: var(--good-text); }
.match .impact { font-family: var(--mono); font-weight: 700; color: var(--accent-text); }
.match .problem { color: #AEB9CB; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match .row-actions { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.cta-row > div { flex: 999 1 400px; min-width: 0; }
.cta-row .btn { flex: 1 1 200px; }

/* match page */
.mhead { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.mhead .title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mhead h1 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.mhead .score { font-family: var(--mono); font-size: 30px; font-weight: 700; }
.mhead .meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.mhead .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mhead .actions form { margin: 0; }
.share-box { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: #10233A; border: 1px solid #1E4A73; border-radius: var(--radius); padding: 12px 16px; }
.share-box input { flex: 1 1 260px; min-width: 0; min-height: 40px; background: var(--card-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 0 12px; font: 14px var(--mono); }
.share-box form { margin: 0; }
.strip-card { margin-top: 16px; }
.strip-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.strip { display: flex; gap: 4px; }
.strip .r { flex: 1 1 0; min-width: 0; height: 44px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
  background: var(--bad-bg); color: var(--bad-text); border: 1px solid var(--bad-line); }
.strip .r.w { background: var(--good-bg); color: var(--good-text); border-color: var(--good-line); }
.strip .r b { font: 700 11px var(--mono); }
.strip .r span { font-size: 10px; opacity: .8; }
.strip .gap { flex: 0 0 6px; }
.problem-box { margin-top: 16px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 18px 20px; }
.problem-box > div { flex: 999 1 420px; min-width: 0; }
.problem-box .lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--warn); }
.problem-box .h { font-size: 20px; font-weight: 700; margin-top: 4px; }
.problem-box .p { color: #D8C9B5; margin-top: 2px; }
.problem-box .btn { flex: 1 1 200px; }

.tabs { margin-top: 28px; display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); border-bottom-color: var(--accent); }
.js .panel { display: none; }
.js .panel.on { display: block; animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.panel h2.ptitle { display: none; }
html:not(.js) .panel h2.ptitle { display: block; margin: 32px 0 0; font-size: 22px; }

.report p { margin: 0 0 10px; }
.report b { color: #fff; }
ul.flags { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.card h2.good-t, .card h2.bad-t { font-size: 16px; }
.ask { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: var(--card); border: 1px dashed var(--accent); color: var(--accent-text); font-weight: 600; }

.mech { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.mech .card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.mech .top { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.mech .val { display: flex; align-items: baseline; gap: 8px; }
.mech .val b { font: 700 28px var(--mono); }
.meter { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--good); }
.meter i.warn { background: var(--warn); } .meter i.bad { background: var(--bad); }
details.how { font-size: 13px; color: var(--muted); }
details.how summary { cursor: pointer; color: var(--accent-text); }
details.how div { margin-top: 6px; }

.moments { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
details.mgroup { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
details.mgroup summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--card-2); cursor: pointer; font-weight: 600; list-style: none; }
details.mgroup summary::-webkit-details-marker { display: none; }
details.mgroup summary::after { content: "▾"; color: var(--muted); margin-left: 10px; transition: transform .15s; }
details.mgroup[open] summary::after { transform: rotate(180deg); }
details.mgroup summary .cnt { margin-left: auto; color: var(--muted); font: 13px var(--mono); }
.mrow { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line-2); font-size: 14px; }
.mrow .rn { color: var(--muted); font-family: var(--mono); }

.radar-wrap { margin-top: 14px; max-width: 760px; }
.radar-wrap img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); }
.seg { display: flex; gap: 6px; }
.seg button { min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.seg button.on { border-color: var(--accent); background: #10233A; color: var(--text); }
.legend { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.zone { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.zone .n { width: 96px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.zone .b { flex: 1; height: 8px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.zone .b i { display: block; height: 100%; background: var(--bad); border-radius: 4px; }
.zone .c { width: 20px; text-align: right; font-family: var(--mono); }

.train { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 20px; }
.train .card { display: flex; flex-direction: column; gap: 8px; }
.train .tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--warn); }
.train .h { font-size: 17px; font-weight: 700; }
.train .why { color: var(--muted); font-size: 13px; }
.share-cta { margin-top: 28px; }

/* progress */
.chart { margin-top: 18px; height: 220px; position: relative; display: flex; gap: 10px; align-items: flex-end; border-bottom: 1px solid var(--line); }
.chart .one { position: absolute; left: 0; right: 0; bottom: 50%; border-top: 1px dashed #3A4C6E; }
.chart .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; position: relative; }
.chart .col b { font: 700 13px var(--mono); }
.chart .col i { display: block; width: 100%; max-width: 56px; border-radius: 8px 8px 0 0; background: var(--accent); }
.chart .col i.good { background: var(--good); } .chart .col i.bad { background: var(--bad); }
.chart-x { display: flex; gap: 10px; margin-top: 8px; }
.chart-x div { flex: 1 1 0; min-width: 0; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.3; overflow: hidden; }
.note-box { border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); background: var(--card); }
.note-box.good { background: var(--good-bg); border-color: var(--good-line); }
.note-box.bad { background: var(--bad-bg); border-color: var(--bad-line); }
.note-box .lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.note-box.good .lbl { color: var(--good-text); } .note-box.bad .lbl { color: var(--bad-text); } .note-box .lbl.w { color: var(--warn); }
.note-box div + div { margin-top: 2px; }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding: 20px 24px; color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .mhead h1 { font-size: 32px; }
  .match { grid-template-columns: 6px 1fr auto; row-gap: 4px; padding: 12px 12px 12px 0; }
  .match .bar { grid-row: 1 / 4; }
  .match .score, .match .problem { grid-column: 2 / 4; }
  .match .kd { display: none; }
  .match .row-actions { grid-column: 3; grid-row: 1; }
  .strip .r span { display: none; }
  .strip .r b { font-size: 10px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tabs a { white-space: nowrap; }
}

.legal h1 { margin: 0 0 4px; font-size: 30px; }
.legal h2 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.danger { border-color: var(--bad-line); }
.danger summary { cursor: pointer; color: var(--bad-text); font-weight: 600; }
.btn.bad { background: var(--bad); color: #1A0505; }
.notice { margin-top: 16px; background: var(--good-bg); border: 1px solid var(--good-line); border-radius: var(--radius); padding: 14px 18px; }
footer a { color: var(--muted); text-decoration: underline; }

img.avatar { object-fit: cover; }
.who-big { display: flex; align-items: center; gap: 16px; }
.who-big img, .avatar.big { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); flex: none; }
.avatar.big { font-size: 26px; }

/* 2D replay */
.rp { margin-top: 12px; }
.rp-rounds { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.rp-r { min-width: 30px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: var(--card-2); color: var(--muted); font: 600 12px var(--mono); cursor: pointer; }
.rp-r.w { border-color: var(--good-line); color: var(--good-text); }
.rp-r.l { border-color: var(--bad-line); color: var(--bad-text); }
.rp-r.on { background: #10233A; border-color: var(--accent); color: var(--text); }
.rp-main { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.rp-stage { position: relative; flex: 999 1 420px; min-width: 0; max-width: 760px; }
.rp-stage canvas { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); }
.rp-feed { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; pointer-events: none; }
.rp-feed div { background: rgba(11,18,32,.82); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; text-align: right; }
.rp-feed b.t, .rp-events b.t { color: #E8A33D; } .rp-feed b.ct, .rp-events b.ct { color: #5AA9F5; }
.rp-status { position: absolute; left: 12px; bottom: 10px; }
.rp.ready .rp-status { display: none; }
.rp-side { flex: 1 1 240px; min-width: 0; max-height: 560px; overflow: auto; }
.rp-events { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.rp-ev { display: flex; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.rp-ev:hover { border-color: var(--accent); }
.rp-ev.past { opacity: .55; }
.rp-ev .tm { font-family: var(--mono); color: var(--muted); min-width: 36px; }
.rp-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rp-seek { flex: 1 1 200px; accent-color: var(--accent); }
.rp-speed { background: var(--card-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; min-height: 36px; padding: 0 8px; font: inherit; }
.rp-lower.on { border-color: var(--accent); }
