.rp {
  --ct: #6ea2ff;
  --t: #f2b347;
  --bg: #08090b;
  --s1: #0e1013;
  --s2: #14161a;
  --s3: #1b1e23;
  --hair: rgba(255, 255, 255, 0.07);
  --hair-2: rgba(255, 255, 255, 0.13);
  --tx: #f3f4f6;
  --tx-2: #b9bdc4;
  --tx-3: #80858e;
  --tx-4: #5d6169;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1820px;
  margin: 0 auto;
  padding: 90px 18px 40px;
  min-height: 100vh;
  font-size: 13px;
  line-height: 1.4;
  color: var(--tx);
  font-variant-numeric: tabular-nums;
}
.rp[hidden] { display: none; }
.rp *, .rp *::before, .rp *::after { box-sizing: border-box; }
:where(.rp) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.rp ::selection { background: var(--signal); color: #03140a; }
.rp-good { color: var(--signal) !important; }
.rp-bad { color: var(--alert) !important; }
.rp-dim { color: var(--tx-3); }
.rp-num { font-variant-numeric: tabular-nums; }
.rp-i { width: 18px; height: 18px; flex: none; display: block; }
.rp-w { display: inline-block; flex: none; width: 30px; height: 14px; background: currentColor; -webkit-mask: var(--w) center / contain no-repeat; mask: var(--w) center / contain no-repeat; }
.rp-w-l { width: 52px; height: 18px; }
.rp-w-s { width: 15px; height: 15px; }
.rp-w-n { width: 11px; height: 15px; }
.rp-w-hs { width: 15px; height: 15px; }
.rp-side-tag { display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--side, var(--tx-3)); color: #07080a; font-size: 10.5px; font-weight: 900; letter-spacing: 0.04em; }
.rp-sh { margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: -0.005em; }

.rp-face { position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: var(--s3); color: var(--tx-2); font-weight: 800; }
.rp-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-face-s { width: 24px; height: 24px; font-size: 11px; }
.rp-face-m { width: 40px; height: 40px; font-size: 15px; }
.rp-face-l { width: 84px; height: 84px; font-size: 30px; }
.rp-lvl { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--s3); color: var(--tx-2); font-size: 10.5px; font-weight: 900; }
.rp-lvl-4 { color: #ffd25c; }
.rp-lvl-8 { color: #ff8a3d; }
.rp-lvl-10 { color: #ff4d2e; }

.rp-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rp-title { display: flex; align-items: baseline; gap: 12px; margin-right: auto; min-width: 0; }
.rp-title b { font-family: var(--display); font-size: 32px; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.rp-title span { color: var(--tx-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-tab { height: 34px; padding: 0 16px; border-radius: 999px; color: var(--tx-3) !important; font-weight: 700 !important; transition: color 150ms, background-color 150ms; }
.rp-tab:hover { color: var(--tx) !important; }
.rp-tab[aria-selected="true"] { background: var(--tx); color: var(--bg) !important; }
.rp-ghost { height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); font-weight: 700 !important; display: inline-flex; align-items: center; gap: 8px; transition: box-shadow 150ms; }
.rp-ghost:hover { box-shadow: inset 0 0 0 1px var(--tx); }
.rp-ghost .rp-i { width: 16px; height: 16px; }
.rp-cta { background: var(--signal) !important; color: #03140a !important; box-shadow: none !important; }
.rp-cta:hover { background: #fff !important; }
.rp button:focus-visible, .rp [tabindex]:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.rp-replay { display: grid; grid-template-columns: 296px minmax(0, 1fr) 296px; grid-template-areas: "score score score" "hudl stage hudr" "bar bar bar" "hist hist hist" "below below below"; gap: 10px; }
.rp-score { grid-area: score; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; }
.rp-sb-team { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 18px; border-radius: 12px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); min-width: 0; }
.rp-sb-m { flex-direction: row-reverse; }
.rp-sb-who { display: flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto; }
.rp-sb-m .rp-sb-who { margin-right: 0; margin-left: auto; flex-direction: row-reverse; }
.rp-sb-name { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-sb-score { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; color: var(--side); min-width: 1.2ch; text-align: center; }
.rp-pips { display: flex; gap: 4px; }
.rp-pips i { width: 6px; height: 18px; border-radius: 2px; background: var(--hair-2); }
.rp-pips i.on { background: var(--side); }
.rp-sb-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 200px; padding: 8px 20px; border-radius: 12px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-sb-round { color: var(--tx-3); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rp-sb-clock { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1.02; }
.rp-sb-c4 { width: 22px; height: 22px; color: var(--alert); }
.rp-sb-bomb .rp-sb-clock { color: var(--alert); }
.rp-sb-freeze .rp-sb-clock { color: var(--tx-3); }
.rp-sb-sub { color: var(--tx-2); font-size: 12px; white-space: nowrap; }

.rp-hud { display: flex; flex-direction: column; gap: 5px; min-height: 0; }
.rp-hud-l { grid-area: hudl; }
.rp-hud-r { grid-area: hudr; }
.rp-hud-h { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px; min-width: 0; }
.rp-hud-h b { font-size: 13px; color: var(--side); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-buy { margin-left: auto; color: var(--tx-3); font-size: 11.5px; white-space: nowrap; }
.rp-hud-r .rp-hud-h { flex-direction: row-reverse; }
.rp-hud-r .rp-buy { margin-left: 0; margin-right: auto; }
.rp-pl { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 64px; padding: 0 10px; border-radius: 10px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; text-align: left; isolation: isolate; transition: box-shadow 150ms, opacity 200ms; }
.rp-pl:hover { box-shadow: inset 0 0 0 1px var(--hair-2); }
.rp-pl.rp-sel { box-shadow: inset 0 0 0 1.5px var(--tx); }
.rp-pl-fill { position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--side) 15%, transparent); transform-origin: left center; transition: transform 220ms var(--ease); }
.rp-pl-fill.rp-low { background: rgba(255, 59, 85, 0.17); }
.rp-hud-r .rp-pl { grid-template-columns: auto minmax(0, 1fr) 40px; text-align: right; }
.rp-hud-r .rp-pl > .rp-face { grid-column: 3; grid-row: 1; }
.rp-hud-r .rp-pl-main { grid-column: 2; grid-row: 1; align-items: flex-end; }
.rp-hud-r .rp-pl-wpn { grid-column: 1; grid-row: 1; transform: scaleX(-1); }
.rp-hud-r .rp-pl-fill { transform-origin: right center; }
.rp-hud-r .rp-pl-top, .rp-hud-r .rp-pl-bot { flex-direction: row-reverse; }
.rp-pl > .rp-face { box-shadow: 0 0 0 2px var(--side); }
.rp-pl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rp-pl-top, .rp-pl-bot { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rp-pl-n { font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-pl-k { display: flex; gap: 1px; color: var(--tx); }
.rp-k-i { width: 13px; height: 13px; }
.rp-pl-hp { display: flex; align-items: center; min-width: 30px; font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1; }
.rp-dead-i { width: 18px; height: 18px; color: var(--tx-3); }
.rp-pl-gear, .rp-pl-nades { display: flex; align-items: center; gap: 3px; color: var(--tx-2); }
.rp-c4 { color: var(--alert); }
.rp-pl-cash { margin-left: auto; color: var(--signal); font-size: 12.5px; font-weight: 800; }
.rp-hud-r .rp-pl-cash { margin-left: 0; margin-right: auto; }
.rp-pl-wpn { display: flex; align-items: center; justify-content: center; min-width: 56px; color: var(--tx); }
.rp-pl.rp-dead { opacity: 0.5; }
.rp-pl.rp-dead > .rp-face { filter: grayscale(1); box-shadow: 0 0 0 2px var(--hair-2); }
.rp-pl.rp-blind { box-shadow: inset 0 0 0 1px var(--hair), inset 0 0 0 64px rgba(255, 255, 255, 0.12); }

.rp-stage { grid-area: stage; position: relative; min-width: 0; height: clamp(520px, calc(100vh - 300px), 980px); border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.rp-canvas { position: absolute; inset: 0; display: block; cursor: grab; touch-action: none; }
.rp-stage.rp-drawing .rp-canvas { cursor: crosshair; }
.rp-feed { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; max-width: calc(100% - 24px); }
.rp-kf { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 6px; background: rgba(8, 9, 11, 0.84); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); color: var(--tx); white-space: nowrap; transition: opacity 200ms; }
.rp-kf-me { box-shadow: inset 0 0 0 1.5px var(--alert), 0 2px 10px rgba(0, 0, 0, 0.35); }
.rp-kf-p { font-weight: 800; font-size: 12.5px; }
.rp-kf-plus { color: var(--tx-3); font-weight: 800; }
.rp-kf-w { width: 40px; height: 15px; }
.rp-kf-hs { width: 16px; height: 16px; }
.rp-kf-x { width: 12px; height: 15px; color: var(--tx-2); }
.rp-kf-tag { padding: 1px 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); color: var(--tx-2); font-size: 10.5px; font-weight: 700; }
.rp-tools { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.rp-ib { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--tx-2) !important; transition: background-color 150ms, color 150ms; }
.rp-ib:hover { background: rgba(255, 255, 255, 0.07); color: var(--tx) !important; }
.rp-ib[aria-pressed="true"] { background: var(--tx); color: var(--bg) !important; }
.rp-tools .rp-ib { background: rgba(8, 9, 11, 0.82); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-tools .rp-ib[aria-pressed="true"] { background: var(--tx); }
.rp-pens { display: flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 9px; background: rgba(8, 9, 11, 0.82); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-pens[hidden] { display: none; }
.rp-pen { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(8, 9, 11, 0.9); }
.rp-pen[aria-pressed="true"] { box-shadow: 0 0 0 2px rgba(8, 9, 11, 0.9), 0 0 0 4px var(--tx); }
.rp-pens .rp-ib { width: 30px; height: 30px; background: none; box-shadow: none; }

.rp-transport { grid-area: bar; display: flex; align-items: center; gap: 4px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-play { width: 44px !important; height: 44px !important; margin: 0 2px; border-radius: 50% !important; background: var(--signal) !important; color: #03140a !important; }
.rp-play:hover { background: #fff !important; }
.rp-play .rp-i { width: 20px; height: 20px; }
.rp-tl { position: relative; flex: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 0 14px; min-height: 64px; cursor: pointer; touch-action: none; }
.rp-tl:focus-visible { outline: none; }
.rp-tl:focus-visible .rp-tl-knob { box-shadow: 0 0 0 3px var(--s1), 0 0 0 5px var(--signal); }
.rp-tl-marks { position: absolute; left: 0; right: 0; top: 4px; height: 22px; }
.rp-tl-track { position: relative; height: 8px; margin-top: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); }
.rp-tl-fill { position: absolute; inset: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.26); transform-origin: left center; transform: scaleX(0); }
.rp-tl-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--tx); box-shadow: 0 0 0 3px var(--s1); }
.rp-tl-freeze { position: absolute; left: 0; top: 22px; height: 8px; border-radius: 4px 0 0 4px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 4px, transparent 4px 8px); }
.rp-tl-lab { position: absolute; top: 36px; transform: translateX(-50%); color: var(--tx-4); font-size: 10.5px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.rp-tl-lab.rp-tl-lab-on { color: var(--tx-2); }
.rp-mk { position: absolute; top: 0; display: grid; place-items: center; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--s1); color: var(--mk, var(--tx)); transition: transform 150ms; }
.rp-mk:hover { transform: scale(1.25); z-index: 2; }
.rp-mk-ct { --mk: var(--ct); }
.rp-mk-t { --mk: var(--t); }
.rp-mk-bomb { --mk: var(--alert); }
.rp-mk-i { width: 14px; height: 14px; }
.rp-mk .rp-w { width: 14px; height: 14px; }
.rp-mk.rp-past { opacity: 1; }
.rp-mk.rp-future { opacity: 0.45; }
.rp-speed { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--bg); }
.rp-sp { height: 30px; padding: 0 9px; border-radius: 7px; color: var(--tx-3) !important; font-weight: 800 !important; font-size: 12px !important; }
.rp-sp:hover { color: var(--tx) !important; }
.rp-sp[aria-pressed="true"] { background: var(--s3); color: var(--tx) !important; }

.rp-hist { grid-area: hist; padding: 12px 14px; border-radius: 12px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-hist-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.rp-hist-team { display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 26px; min-width: 0; }
.rp-hist-team span { font-weight: 800; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-hist-team b { font-family: var(--display); font-size: 22px; }
.rp-hist-grid > .rp-hist-team:first-child { grid-row: 1; }
.rp-hist-grid > .rp-hist-team:last-child { grid-row: 2; grid-column: 1; align-self: end; margin-bottom: 1px; }
.rp-hist-scroll { grid-row: 1 / span 2; grid-column: 2; display: grid; gap: 3px; overflow-x: auto; scrollbar-width: none; }
.rp-hist-scroll::-webkit-scrollbar { display: none; }
.rp-hist-row { display: flex; gap: 3px; }
.rp-hc { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); color: var(--c); }
.rp-hc:hover { background: rgba(255, 255, 255, 0.08); }
.rp-hc-win { background: color-mix(in srgb, var(--c) 16%, transparent); }
.rp-hc[data-on] { box-shadow: inset 0 0 0 1.5px var(--tx); }
.rp-ri { width: 15px; height: 15px; }
.rp-hc .rp-w { width: 15px; height: 15px; }
.rp-hist-nums { height: 14px; }
.rp-hn { flex: none; width: 26px; text-align: center; color: var(--tx-4); font-size: 10px; font-weight: 800; line-height: 14px; }
.rp-hn[data-on] { color: var(--tx); }
.rp-hist-gap { flex: none; width: 10px; }

.rp-below { grid-area: below; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: 10px; align-items: start; }
.rp-panel { padding: 18px; border-radius: 14px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); min-width: 0; }

.rp-rv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.rp-rv-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rp-rv-title h3 { margin: 0; font-size: 20px; font-weight: 800; }
.rp-rv-result { display: inline-flex; align-items: center; gap: 7px; color: var(--c); font-weight: 800; }
.rp-rv-result .rp-ri, .rp-rv-result .rp-w { width: 16px; height: 16px; }
.rp-rv-buys { display: flex; gap: 18px; color: var(--tx-3); font-size: 12px; }
.rp-rv-buys b { color: var(--tx-2); }
.rp-rv-story { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 7px; }
.rp-rv-story li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--tx-2); font-size: 13.5px; line-height: 1.5; }
.rp-rv-story li .rp-i { width: 16px; height: 16px; margin-top: 2px; color: var(--tx-3); }
.rp-rv-story b { color: var(--tx); font-weight: 700; }
.rp-adv { position: relative; height: 34px; margin: 4px 0 18px; }
.rp-adv-bar { position: absolute; left: 0; right: 0; top: 0; height: 18px; display: flex; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.rp-adv-seg { height: 100%; display: grid; place-items: center; color: #07080a; font-size: 10.5px; font-weight: 900; overflow: hidden; white-space: nowrap; }
.rp-adv-even { background: rgba(255, 255, 255, 0.12); color: var(--tx-2); }
.rp-adv-lab { position: absolute; top: 22px; color: var(--tx-4); font-size: 10.5px; font-weight: 700; transform: translateX(-50%); white-space: nowrap; }
.rp-adv-now { position: absolute; top: -3px; width: 2px; height: 24px; margin-left: -1px; border-radius: 1px; background: var(--tx); }

.rp-rv-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.rp-rv-col h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding-bottom: 8px; font-size: 12.5px; box-shadow: inset 0 -1px 0 var(--hair); }
.rp-rv-col h4 span:last-child { color: var(--side); }
.rp-rp { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.rp-rp:last-child { box-shadow: none; }
.rp-rp .rp-face { width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--side); }
.rp-rp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.rp-rp-name { font-weight: 800; font-size: 13.5px; }
.rp-rp-verdict { color: var(--tx-2); font-size: 12.5px; }
.rp-rp-stats { display: flex; align-items: center; gap: 10px; margin-top: 5px; color: var(--tx-3); font-size: 12px; }
.rp-rp-stats span { display: inline-flex; align-items: center; gap: 4px; }
.rp-rp-stats .rp-i { width: 13px; height: 13px; }
.rp-rp-stats .rp-w { width: 12px; height: 14px; }
.rp-rp-stats .rp-rp-gun { margin-left: auto; color: var(--tx); }
.rp-rp-stats .rp-rp-gun .rp-w { width: 58px; height: 22px; }
.rp-rp-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.rp-rp-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 7px; color: var(--tx-2); font-size: 12.5px; line-height: 1.45; }
.rp-rp-list .rp-i { width: 15px; height: 15px; margin-top: 1px; }
.rp-li-good .rp-i { color: var(--signal); }
.rp-li-bad .rp-i { color: var(--alert); }
.rp-li-tip { color: var(--tx) !important; }
.rp-li-tip .rp-i { color: #8fb8ff; }
.rp-rp-watch { margin-left: auto; }

.rp-moves { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.rp-mv { display: grid; grid-template-columns: 50px 22px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 34px; padding: 4px 8px; border-radius: 8px; cursor: pointer; transition: background-color 120ms; }
.rp-mv:hover { background: rgba(255, 255, 255, 0.05); }
.rp-mv.rp-future .rp-mv-x, .rp-mv.rp-future .rp-mv-i { opacity: 0.55; }
.rp-mv.rp-now { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.rp-mv.rp-now .rp-mv-t { color: var(--tx); }
.rp-mv-t { display: inline-flex; align-items: center; gap: 3px; color: var(--tx-3); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rp-mv-tb { color: #ff8a7a; }
.rp-mv-t .rp-mv-c4 { width: 11px; height: 11px; color: var(--alert); }
.rp-mv-i { display: grid; place-items: center; color: var(--c); }
.rp-mv-i .rp-i, .rp-mv-i .rp-w { width: 16px; height: 16px; }
.rp-mv-x { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--tx-2); font-size: 13px; min-width: 0; }
.rp-mv-x b { color: var(--tx); }
.rp-mv-x .rp-face { width: 20px; height: 20px; font-size: 9px; }
.rp-mv-x .rp-w { width: 34px; height: 14px; color: var(--tx); }
.rp-mv-x em { font-style: normal; color: var(--tx-3); font-size: 12px; }
.rp-mv-end .rp-mv-x { color: var(--c); font-weight: 800; }

.rp-buyt { width: 100%; border-collapse: collapse; }
.rp-buyt td, .rp-buyt th { padding: 7px 4px; text-align: left; box-shadow: inset 0 -1px 0 var(--hair); }
.rp-buyt th { padding-top: 14px; color: var(--tx-2); font-size: 12px; font-weight: 800; }
.rp-buyt tr:first-child th { padding-top: 0; }
.rp-buyt th:first-child { display: flex; align-items: center; gap: 8px; }
.rp-buyt td:last-child, .rp-buyt th:last-child { text-align: right; }
.rp-kit { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; color: var(--tx-2); }
.rp-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.rp-who > span, .rp-who > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rp-share { position: relative; }
.rp-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 340px; padding: 14px; border-radius: 14px; background: var(--s2); box-shadow: inset 0 0 0 1px var(--hair-2), 0 18px 48px rgba(0, 0, 0, 0.55); }
.rp-pop[hidden] { display: none; }
.rp-pop p { margin: 0 0 10px; color: var(--tx-3); font-size: 12px; }
.rp-pop-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.rp-pop-row:last-of-type { box-shadow: none; }
.rp-pop-row span { flex: 1; min-width: 0; font-weight: 700; }
.rp-pop-row small { display: block; color: var(--tx-3); font-weight: 500; }
.rp-copy { height: 32px; padding: 0 12px; border-radius: 8px; background: var(--s3); font-weight: 800 !important; font-size: 12px !important; }
.rp-copy:hover { background: var(--tx); color: var(--bg) !important; }
.rp-copy:disabled { opacity: 0.5; cursor: progress; }
.rp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--tx); color: var(--bg); font-weight: 800; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }

.rp-doc { display: flex; flex-direction: column; gap: 18px; }
.rp-board { padding: 18px; border-radius: 14px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-bh { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.rp-bh h2 { margin: 0; font-size: 20px; }
.rp-bh-score { font-family: var(--display); font-size: 52px; line-height: 1; }
.rp-scroll { overflow-x: auto; }
.rp-table { width: 100%; border-collapse: collapse; }
.rp-table th { padding: 9px 10px; color: var(--tx-3); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-align: right; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--hair-2); }
.rp-table td { padding: 10px; text-align: right; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--hair); }
.rp-table th:first-child, .rp-table td:first-child { text-align: left; }
.rp-table tbody tr { cursor: pointer; transition: background-color 120ms; }
.rp-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.rp-rating { font-size: 15px; }
.rp-table-s td, .rp-table-s th { padding: 8px 6px; }
.rp-wcell { display: inline-flex; align-items: center; gap: 9px; }
.rp-note { margin: 0; color: var(--tx-4); font-size: 12px; }
.rp-players { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.rp-plist { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.rp-plist-h { margin: 12px 10px 6px; color: var(--tx-3); font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.rp-plist-b { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-align: left; font-weight: 700 !important; transition: background-color 120ms; }
.rp-plist-b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-plist-b:hover { background: rgba(255, 255, 255, 0.04); }
.rp-plist-b[aria-pressed="true"] { background: var(--s2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.rp-pd { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.rp-pd-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.rp-pd-id h2 { margin: 0 0 4px; font-family: var(--display); font-size: 56px; line-height: 0.9; text-transform: uppercase; overflow-wrap: anywhere; }
.rp-line { display: flex; gap: 26px; margin: 0; }
.rp-line-i dt { color: var(--tx-3); font-size: 11.5px; }
.rp-line-i dd { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; }
.rp-notes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.rp-nt { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-nt-top { display: flex; align-items: center; gap: 8px; }
.rp-nt-i { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--tx-3); box-sizing: content-box; }
.rp-nt-good .rp-nt-i { background: rgba(30, 232, 122, 0.14); color: var(--signal); }
.rp-nt-bad .rp-nt-i { background: rgba(255, 59, 85, 0.14); color: var(--alert); }
.rp-nt b { font-size: 14px; }
.rp-nt p { margin: 0; color: var(--tx-2); font-size: 13px; line-height: 1.5; }
.rp-specgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rp-specs { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 14px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-specs-h { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 800; }
.rp-specs-h .rp-i, .rp-specs-h .rp-w { width: 17px; height: 17px; color: var(--tx-3); }
.rp-sv { display: flex; flex-direction: column; gap: 1px; }
.rp-sv-k { color: var(--tx-3); font-size: 12px; }
.rp-sv b { font-size: 21px; font-weight: 800; line-height: 1.2; }
.rp-sv-s { color: var(--tx-4); font-size: 11.5px; }
.rp-acts { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.rp-linkb { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--tx-3) !important; transition: background-color 120ms, color 120ms; }
.rp-linkb .rp-i { width: 15px; height: 15px; }
.rp-linkb:hover { background: var(--tx); color: var(--bg) !important; box-shadow: none; }
.rp-mini { margin: 0 0 10px; color: var(--tx-3); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.rp-rv-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-bottom: 18px; padding-bottom: 18px; box-shadow: inset 0 -1px 0 var(--hair); }
.rp-log { display: block; }
.rp-econ { position: sticky; top: 90px; }
.rp-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rp-heat-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rp-heat-h .rp-sh { margin: 0; }
.rp-heat { display: block; margin: 12px 0 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair); }
.rp-seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hair); }
.rp-seg button { height: 28px; padding: 0 12px; border-radius: 999px; color: var(--tx-3) !important; font-size: 12px !important; font-weight: 800 !important; }
.rp-seg button[aria-pressed="true"] { background: var(--tx); color: var(--bg) !important; }
.rp-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.rp-tag { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--tx-2); font-size: 11px; font-weight: 700; }
.rp-tag-good { background: rgba(30, 232, 122, 0.12); color: var(--signal); }
.rp-tag-bad { background: rgba(255, 59, 85, 0.12); color: #ff8697; }
.rp-evt td:nth-child(5) { white-space: normal; text-align: left; }
.rp-evt th:nth-child(5) { text-align: left; }
.rp-watch { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--tx-2) !important; font-weight: 800 !important; font-size: 12px !important; transition: background-color 120ms, color 120ms; }
.rp-watch .rp-i { width: 14px; height: 14px; }
.rp-watch:hover { background: var(--tx); color: var(--bg) !important; box-shadow: none; }
.rp-rounds td small { margin-left: 6px; color: var(--tx-4); }
.rp-rounds td:nth-child(7) { white-space: normal; text-align: left; max-width: 420px; }
.rp-rounds th:nth-child(7) { text-align: left; }
.rp-win { display: inline-flex; align-items: center; gap: 8px; color: var(--c); font-weight: 800; }
.rp-win .rp-ri, .rp-win .rp-w { width: 16px; height: 16px; }
.rp-rrow[aria-expanded="true"] td { box-shadow: none; }
.rp-rdetail td { padding: 0 10px 16px !important; text-align: left !important; white-space: normal !important; cursor: default; }
.rp-rdetail:hover { background: none !important; }

@media (max-width: 1360px) {
  .rp-replay { grid-template-columns: 262px minmax(0, 1fr) 262px; }
  .rp-specgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-pl-wpn { min-width: 44px; }
  .rp-w-l { width: 44px; height: 16px; }
}
@media (max-width: 1100px) {
  .rp-replay { grid-template-columns: 1fr 1fr; grid-template-areas: "score score" "stage stage" "bar bar" "hudl hudr" "hist hist" "below below"; }
  .rp-stage { height: min(78vh, 100vw); }
  .rp-below { grid-template-columns: 1fr; }
  .rp-players { grid-template-columns: 1fr; }
  .rp-plist { position: static; flex-direction: row; flex-wrap: wrap; }
  .rp-plist-h { width: 100%; }
  .rp-split, .rp-notes { grid-template-columns: 1fr; }
  .rp-pd-head { grid-template-columns: auto minmax(0, 1fr); }
  .rp-line { grid-column: 1 / -1; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .rp { padding: 80px 10px 30px; }
  .rp-replay { grid-template-columns: 1fr; grid-template-areas: "score" "stage" "bar" "hudl" "hudr" "hist" "below"; }
  .rp-score { grid-template-columns: 1fr; }
  .rp-sb-mid { order: -1; }
  .rp-transport { flex-wrap: wrap; }
  .rp-tl { order: 9; flex-basis: 100%; margin: 4px 6px 0; }
  .rp-rv-players, .rp-specgrid, .rp-rv-cols { grid-template-columns: 1fr; }
  .rp-pd-id h2 { font-size: 40px; }
  .rp-hist-grid { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rp *, .rp *::before, .rp *::after { transition-duration: 1ms !important; }
}
.rp-tl-lab-start { transform: none; }
.rp-pane[hidden] { display: none !important; }
