/* OHub Replay */
body.rp { min-height: 100vh; }
.rp-top .in { max-width: none; gap: 16px; padding: 8px 20px; }
.rp-top nav.main a { padding: 8px 18px; font-size: 15px; }
.rp-top .rp-title:empty { display: none; }
.rp-uname { font-size: 14px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.rp-top .huser img, .rp-top .huser .noav { width: 34px; height: 34px; }
.rp-top .hlogin { height: 38px; padding: 0 18px; }
.rp-top .brand { font-size: 19px; gap: 9px; }
.rp-top .brand .logo { width: 34px; height: 34px; border-radius: 9px; }
.rp-top .brand .logo img { width: 34px; height: 34px; }
.rp-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 17px; color: var(--accent); padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--accent-soft); }
.rp-name:hover { text-decoration: none; }
.rp-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10px; padding-left: 2px; }
.rp-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.rp-title b { overflow: hidden; text-overflow: ellipsis; }
.rp-title select { padding: 4px 8px; }
main.rp-app { max-width: none; padding: 0; margin: 0; }

/* liste sayfası */
.rp-list { max-width: 1100px; margin: 0 auto; padding: 28px 20px 64px; }
.rp-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; margin-bottom: 22px; }
.rp-hero h1 { font-size: 34px; letter-spacing: -.02em; }
.rp-hero h1 em { font-style: normal; color: var(--accent); }
.rp-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rp-feat div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.rp-feat b { display: block; font-size: 14px; }
.rp-ev { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.rp-ev .races { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 820px) { .rp-hero { grid-template-columns: 1fr; } .rp-hero h1 { font-size: 27px; } }

/* oynatıcı */
body.rp { background: var(--bg); }
.rp-crumb { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--panel); border-bottom: 1px solid var(--line); min-width: 0; }
.rp-crumb a.muted { color: var(--muted); font-weight: 500; }
.rp-back { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--ink); }
.rp-back:hover { background: var(--soft); }
.rp-crumb svg, .rp-act svg, .rp-tb svg, .rp-ib svg, .rp-ltabs svg, .rp-info svg, .rp-search svg, .rp-stats svg, .rp-evcard svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rp-evname { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rp-pill { background: var(--accent-soft); color: var(--accent); border: 0; border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
select.rp-pill { width: auto; padding-right: 26px; }
.rp-act { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: 14px; white-space: nowrap; }
.rp-act:hover { border-color: var(--accent); color: var(--accent); }
.rp-act.ico { padding: 0; width: 40px; justify-content: center; }
.rp-act.rec { background: var(--bad); border-color: var(--bad); color: #fff; animation: rpblink 1.2s infinite; }
@keyframes rpblink { 50% { opacity: .75; } }
.rp-dd { position: relative; }
.rp-menu { display: none; position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; min-width: 220px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(16, 24, 40, .16); padding: 6px; }
.rp-menu.on { display: flex; flex-direction: column; }
.rp-menu.right { right: calc(100% + 8px); top: 0; }
.rp-menu a, .rp-menu button, .rp-menu label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; border: 0; background: none; text-align: left; width: 100%; justify-content: flex-start; font-weight: 500; cursor: pointer; white-space: nowrap; }
.rp-menu a:hover, .rp-menu button:hover, .rp-menu label:hover { background: var(--soft); text-decoration: none; }

.rp-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr) 390px; gap: 14px; padding: 14px; height: calc(100vh - 117px); height: calc(100dvh - 117px); min-height: 560px; }
.rp-card, .rp-left, .rp-center { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.rp-left { display: flex; flex-direction: column; min-height: 0; padding: 12px; gap: 12px; }
.rp-evcard { position: relative; border-radius: 12px; overflow: hidden; min-height: 132px; background: #2c3a2a url(/img/hero.jpg) center/cover; color: #fff; display: flex; align-items: flex-end; flex: none; }
.rp-evcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)); }
.rp-evcard .in { position: relative; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.rp-evcard b { font-size: 18px; line-height: 1.2; }
.rp-evcard span { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.rp-evcard span i { width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .7; margin: 0 2px; }
.rp-clsf { margin: 0; flex: none; }
.rp-clsf select { font-weight: 600; font-size: 15px; }
.rp-ltabs { display: flex; gap: 6px; flex: none; }
.rp-ltabs button { flex: 1; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; background: var(--panel); }
.rp-ltabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.rp-lpane { flex: 1; min-height: 0; overflow: auto; margin: 0 -4px; padding: 0 4px; }
.rp-search { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 10px; padding: 0 10px; color: var(--muted); margin-bottom: 6px; }
.rp-search input { border: 0; background: transparent; padding: 9px 0; box-shadow: none; outline: none; }
.rp-lhead, .rp-runner { display: grid; grid-template-columns: 18px 20px 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.rp-lhead { font-size: 12px; color: var(--muted); padding: 6px 6px; border-bottom: 1px solid var(--line); }
.rp-lhead span:last-child { text-align: right; }
.rp-runner { padding: 8px 6px; border-radius: 9px; font-size: 14px; border-bottom: 1px solid var(--line); }
.rp-runner[hidden] { display: none; }
.rp-runner:hover { background: var(--soft); }
.rp-runner.sel { background: var(--accent-soft); border-color: transparent; }
.rp-runner.notr .nm { color: var(--muted); }
.rp-runner input { margin: 0; width: 16px; height: 16px; }
.rp-runner .rk { font-size: 12px; color: var(--muted); text-align: center; font-weight: 600; }
.rp-runner .dot { width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; }
.rp-runner .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; font-weight: 500; }
.rp-runner .sub { font-size: 11px; color: var(--muted); white-space: normal; font-weight: 400; }
.rp-runner .tm { font: 600 13px ui-monospace, Menlo, monospace; text-align: right; }
.rp-lfoot { display: flex; gap: 6px; padding: 8px 0 2px; }
.rp-tools { background: var(--soft); border-radius: 10px; padding: 10px; margin: 6px 0 10px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.rp-tools .row { gap: 6px; flex-wrap: wrap; }

.rp-center { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.rp-mapcol { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; background: #dfe3e8; }
.rp-mapcol:fullscreen { background: #dfe3e8; }
.rp-mapcol.fs { position: fixed; inset: 0; z-index: 50; }
.rp-map { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; cursor: grab; }
.rp-map.drag { cursor: grabbing; }
.rp-map.pick { cursor: crosshair; }
.rp-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rp-overlay { position: absolute; left: 12px; top: 12px; right: 70px; z-index: 2; display: flex; flex-direction: column; gap: 8px; pointer-events: none; align-items: flex-start; }
.rp-info { pointer-events: auto; background: var(--panel); border-radius: 12px; box-shadow: 0 4px 16px rgba(16, 24, 40, .14); padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; min-width: 140px; }
.rp-info[hidden] { display: none; }
.rp-info .hd { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.rp-info .hd .muted { font-weight: 500; }
.rp-info .tag { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; }
.rp-info .tag svg { width: 15px; height: 15px; }
.rp-info > div:not(.hd) { display: flex; align-items: center; gap: 10px; }
.rp-info > div:not(.hd) svg { color: var(--accent); }
.rp-msg { display: flex; flex-direction: column; gap: 6px; }
.rp-msg > div { pointer-events: auto; max-width: 480px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; box-shadow: var(--shadow); }
.rp-msg .warn { border-color: #f0c36d; background: #fff8e6; }
.rp-msg button { margin-left: 6px; }
.rp-tools-r { position: absolute; right: 12px; top: 12px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.rp-tb { display: flex; flex-direction: column; background: var(--panel); border-radius: 12px; box-shadow: 0 4px 16px rgba(16, 24, 40, .14); }
.rp-tb > button, .rp-tb .rp-dd > button { width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; background: none; font-size: 22px; border-radius: 0; color: var(--ink); }
.rp-tb > * + * { border-top: 1px solid var(--line); }
.rp-tb button:hover { color: var(--accent); }
.rp-tb svg { width: 20px; height: 20px; }
.rp-menu label input { margin: 0; }
.rp-legbar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px; box-shadow: var(--shadow); font-size: 13px; }
.rp-legbar button { padding: 4px 10px; border-radius: 999px; }
.rp-scale { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font: 600 12px system-ui, sans-serif; color: #111; text-shadow: 0 0 3px #fff, 0 0 3px #fff; pointer-events: none; }
.rp-scale i { display: block; height: 6px; border: 2px solid #111; border-top: 0; box-shadow: 0 1px 0 rgba(255,255,255,.8); }

.rp-play { background: var(--panel); border-top: 1px solid var(--line); padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.rp-prow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rp-play .pp { width: 48px; height: 48px; border-radius: 50%; padding: 0; justify-content: center; background: var(--accent); border-color: var(--accent); color: #fff; font-size: 17px; flex: none; box-shadow: 0 4px 12px rgba(232, 89, 12, .3); }
.rp-tlw { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 2px; }
.rp-time { font: 600 15px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rp-time .muted { font-weight: 500; }
.rp-tlbox { position: relative; padding-bottom: 10px; }
.rp-tlbox input[type=range] { width: 100%; margin: 4px 0 0; accent-color: var(--accent); --p: 0%; }
.rp-ticks { position: absolute; left: 8px; right: 8px; bottom: 0; height: 10px; pointer-events: none; }
.rp-ticks i { position: absolute; top: 0; width: 2px; height: 8px; margin-left: -1px; background: var(--accent); border-radius: 1px; }
.rp-play select { width: auto; padding: 7px 28px 7px 10px; font-size: 14px; font-weight: 600; }
.rp-ib { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 10px; flex: none; }
.rp-play .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.rp-play .seg button { border: 0; border-radius: 0; padding: 8px 16px; font-size: 14px; font-weight: 600; background: var(--panel); }
.rp-play .seg button.on { background: var(--accent-soft); color: var(--accent); }
.rp-ctl { display: flex; gap: 6px; overflow-x: auto; min-width: 0; flex: 1; scrollbar-width: thin; padding-bottom: 2px; }
.rp-ctl button { min-width: 38px; height: 38px; padding: 0 8px; justify-content: center; border-radius: 9px; font-weight: 600; flex: none; }
.rp-ctl button.s { color: var(--accent); }
.rp-ctl button.on { background: var(--accent); border-color: var(--accent); color: #fff; }

.rp-right { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: auto; }
.rp-card { padding: 14px 16px; flex: none; }
.rp-card[hidden] { display: none; }
.rp-card h3 { margin: 0 0 10px; font-size: 16px; }
.rp-rcard { padding: 0; display: flex; flex-direction: column; }
.rp-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; padding: 0 6px; }
.rp-tabs button { flex: 1 0 auto; border: 0; border-radius: 0; padding: 13px 9px 11px; justify-content: center; font-size: 13.5px; font-weight: 600; background: none; border-bottom: 2.5px solid transparent; color: var(--ink); }
.rp-tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
.rp-pane { padding: 10px 12px 12px; }
.rp-pane .note { font-size: 13px; }
.rp-who { display: flex; align-items: center; gap: 8px; margin: 2px 4px 8px; font-size: 14px; flex-wrap: wrap; }
.rp-who .dot, .rp-tbl .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; flex: none; }
table.rp-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rp-tbl th { background: var(--soft); color: var(--ink); font-weight: 700; font-size: 13px; padding: 8px 8px; text-align: right; white-space: nowrap; }
.rp-tbl th:first-child { border-radius: 8px 0 0 8px; }
.rp-tbl th:last-child { border-radius: 0 8px 8px 0; }
.rp-tbl td { padding: 7px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rp-tbl .l { text-align: left; }
.rp-tbl td.l { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.rp-tbl td small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.rp-tbl.rp-splits td small { display: inline; margin-left: 4px; }
.rp-tbl tr[data-leg], .rp-tbl tr[data-sel] { cursor: pointer; }
.rp-tbl tbody tr:hover td { background: var(--soft); }
.rp-tbl tr.cur td, .rp-tbl tr.sel td { background: var(--accent-soft); }
.rp-tbl td.bad { color: var(--bad); }
.rp-tbl td.good { color: var(--ok); }
.rp-tbl td.best { color: var(--ok); font-weight: 700; }
.rp-legnav { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.rp-legnav > div { flex: 1; text-align: center; display: flex; flex-direction: column; }
.rp-legnav small { color: var(--muted); }

table.rp-split { border-collapse: collapse; font-size: 12px; width: max-content; min-width: 100%; }
table.rp-split th, table.rp-split td { padding: 4px 7px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.rp-split th { position: sticky; top: 0; background: var(--soft); cursor: pointer; font-weight: 700; z-index: 1; }
table.rp-split th.on { color: var(--accent); }
table.rp-split td.n, table.rp-split th.n { text-align: left; position: sticky; left: 0; background: var(--panel); max-width: 120px; overflow: hidden; text-overflow: ellipsis; cursor: pointer; z-index: 1; }
table.rp-split th.n { background: var(--soft); z-index: 2; }
table.rp-split tr.sel td.n { color: var(--accent); font-weight: 700; }
table.rp-split td .c { display: block; color: var(--muted); font-size: 11px; }
table.rp-split td.best { color: var(--ok); font-weight: 700; }
table.rp-split td.loss { background: var(--bad-soft); }
table.rp-split td.on { outline: 2px solid var(--accent); outline-offset: -2px; }
.rp-scroll { overflow: auto; max-height: 56vh; border: 1px solid var(--line); border-radius: 8px; }
.rp-chart { width: 100%; height: 200px; display: block; }
.rp-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; }
.rp-legend label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; }
.rp-legend input { margin: 0; width: 15px; height: 15px; }
.rp-stats { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; }
.rp-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; }
.rp-stats > div b { font-size: 15px; white-space: nowrap; }
.rp-stats > div small { color: var(--muted); font-size: 11.5px; }
.rp-stats .ic { color: var(--accent); }
.rp-stats .who { flex-direction: row; text-align: left; gap: 8px; align-items: center; }
.rp-stats .who b { font-size: 14px; white-space: normal; line-height: 1.2; display: block; }
.rp-stats .who small { display: block; }

.rp-up { display: flex; flex-direction: column; gap: 10px; }
.rp-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; cursor: pointer; }
.rp-drop.on { border-color: var(--accent); background: var(--accent-soft); }
.rp-help { font-size: 12px; color: var(--muted); }
.rp-help li { margin: 2px 0; }

@media (max-width: 1360px) {
  .rp-ltabs button { font-size: 12.5px; padding: 8px 4px; }
  .rp-wrap { grid-template-columns: 270px minmax(0, 1fr) 350px; gap: 10px; padding: 10px; height: calc(100dvh - 113px); }
  .rp-act span { display: none; }
  .rp-act { padding: 0; width: 40px; justify-content: center; }
  .rp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rp-stats .who { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .rp-wrap { grid-template-columns: minmax(0, 1fr) 330px; grid-template-rows: auto auto; height: auto; }
  .rp-center { grid-column: 1; grid-row: 1 / span 2; height: calc(100dvh - 130px); min-height: 520px; position: sticky; top: 70px; }
  .rp-left { grid-column: 2; grid-row: 1; max-height: 70vh; }
  .rp-right { grid-column: 2; grid-row: 2; overflow: visible; }
  .rp-top nav.main a { padding: 8px 10px; }
}
@media (max-width: 820px) {
  .rp-top nav.main, .rp-top .bname, .rp-uname { display: none; }
  .rp-top .in { gap: 8px; padding: 8px 12px; justify-content: space-between; }
  .rp-crumb { padding: 8px 10px; gap: 6px; }
  .rp-crumb > a.muted, .rp-crumb > span.muted { display: none; }
  .rp-evname { font-size: 15px; }
  .rp-wrap { display: flex; flex-direction: column; padding: 8px; gap: 8px; height: auto; min-height: 0; }
  .rp-center { height: auto; position: static; min-height: 0; }
  .rp-mapcol { height: auto; flex: none; }
  .rp-mapcol:not(.fs) .rp-map { flex: none; height: 58vh; height: 58dvh; min-height: 320px; }
  .rp-mapcol:fullscreen .rp-map { flex: 1; height: auto; }
  .rp-left { order: 2; max-height: none; }
  .rp-right { order: 3; overflow: visible; }
  .rp-lpane { overflow: visible; }
  .rp-evcard { display: none; }
  .rp-play { padding: 8px 10px; gap: 8px; }
  .rp-prow { gap: 8px; flex-wrap: wrap; }
  .rp-play .pp { width: 42px; height: 42px; }
  .rp-play select { padding: 6px 24px 6px 8px; font-size: 13px; }
  .rp-ib { display: none; }
  .rp-tlw { flex-basis: calc(100% - 60px); order: 0; }
  .rp-play .seg button { padding: 7px 10px; font-size: 13px; }
  .rp-ctl { flex-basis: 100%; }
  .rp-info { font-size: 13px; padding: 6px 10px; min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 4px 10px; max-width: 230px; }
  .rp-info .hd { flex-basis: 100%; font-size: 14px; }
  .rp-info .tag { width: 22px; height: 22px; }
  .rp-info svg { width: 14px; height: 14px; }
  .rp-info > div:not(.hd) { gap: 4px; }
  .rp-stats .who { justify-content: flex-start; }
  .rp-overlay { right: 62px; }
  .rp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- Video stüdyosu (replayvideo.js) ---- */
.rv-back { position: fixed; inset: 0; z-index: 200; background: rgba(10, 14, 22, .62); display: grid; place-items: center; padding: 16px; }
.rv-dlg { background: var(--panel); color: var(--ink); border-radius: 16px; width: min(1180px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.rv-head, .rv-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.rv-foot { border-bottom: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rv-head b { font-size: 17px; }
.rv-head .spacer, .rv-foot .spacer { flex: 1; }
.rv-x { border: 0; background: none; font-size: 18px; padding: 4px 8px; }
.rv-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; padding: 16px 18px; overflow: auto; }
.rv-prev { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rv-cvbox { background: #11151d; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; max-height: 64vh; aspect-ratio: 16 / 9; margin: 0 auto; width: 100%; cursor: pointer; }
.rv-cvbox.tall { height: 64vh; background: radial-gradient(ellipse at center, #232a38, #0d1016 75%); }
.rv-cvbox canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; box-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.rv-cvbox:fullscreen { max-height: none; height: 100vh; border-radius: 0; background: #000; }
.rv-scrub { display: flex; align-items: center; gap: 10px; }
.rv-play, .rv-fs { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 15px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.rv-play.on { background: #111827; }
.rv-fs { background: transparent; color: inherit; border: 1px solid var(--line); font-size: 17px; }
.rv-track { position: relative; flex: 1; min-width: 0; padding-bottom: 16px; }
.rv-track input { width: 100%; display: block; accent-color: var(--accent); }
.rv-ticks { position: absolute; left: 8px; right: 8px; top: 22px; height: 14px; pointer-events: none; }
.rv-ticks .ph { position: absolute; top: -12px; height: 4px; background: rgba(127, 127, 127, .35); border-radius: 2px; }
.rv-ticks b { position: absolute; transform: translateX(-50%); font: 700 10px/1 system-ui, sans-serif; color: #b5179e; }
.rv-ticks b::before { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 5px; background: #b5179e; }
.rv-at { min-width: 150px; text-align: right; }
.rv-opts { display: flex; flex-direction: column; gap: 10px; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-chks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 2px; }
.rv-chks label.f.inline { font-size: 13px; }
.rv-prog { flex-basis: 100%; height: 8px; border-radius: 4px; background: var(--soft, #eef0f3); overflow: hidden; }
.rv-prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.rv-share { margin-left: 10px; }
.rv-back.busy .rv-x { opacity: .4; }
.rv-opts [hidden] { display: none !important; }
.rv-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rv-presets > span { flex-basis: 100%; }
.rv-presets button { font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.rv-presets button.on { background: var(--accent); color: var(--accent-ink, #fff); border-color: var(--accent); }
.rv-mbtn { justify-content: flex-end; }
.rv-mbtn button { width: 100%; }
@media (max-width: 820px) {
  .rv-body { grid-template-columns: 1fr; }
  .rv-cvbox { max-height: 46vh; } .rv-cvbox.tall { height: 46vh; } .rv-at { min-width: 0; }
}

/* rota seçimi gruplama (Rota sekmesi) */
.rp-rcjump { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: -2px 0 10px; }
.rp-rcjump span { margin-right: 4px; }
.rp-rcjump button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 1px 8px; font-size: 12px; cursor: pointer; color: inherit; }
.rp-rcjump button.on { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.rp-rc { border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-bottom: 10px; }
.rp-rch { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rp-rcv { font-size: 13px; margin: 4px 0 6px; line-height: 1.35; }
.rp-rcl { display: flex; flex-direction: column; gap: 4px; }
.rp-rcg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 52px; align-items: center; gap: 8px; width: 100%; text-align: left; border: 1px solid var(--line); border-left: 4px solid var(--gc); background: var(--panel); color: inherit; border-radius: 8px; padding: 5px 8px; cursor: pointer; font: inherit; font-size: 13px; }
.rp-rcg:hover { background: var(--soft); }
.rp-rcg.on { background: var(--soft); box-shadow: 0 0 0 2px var(--gc) inset; }
.rp-rcg.off { opacity: .5; }
.rp-rcg .tag { width: 22px; height: 22px; border-radius: 50%; background: var(--gc); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 12px; }
.rp-rcg .nm { font-weight: 600; min-width: 0; }
.rp-rcg .nm i { font-style: normal; color: var(--ok); font-size: 11.5px; margin-left: 4px; }
.rp-rcg small { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }
.rp-rcg .tm { text-align: right; }
.rp-rcg .gn { text-align: right; font-weight: 700; font-size: 12.5px; }
.rp-rcg .gn.good { color: var(--ok); }
.rp-rcg .gn.bad { color: var(--bad); }
.rp-gtag { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 11px; }
.rp-tbl tr.dim td { opacity: .45; }
.rp-tscroll { overflow-x: auto; max-width: 100%; }
/* Garmin / Strava bağlantısı (İz yükle) */
.rp-sync { display: flex; flex-direction: column; gap: 8px; }
.sx-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.sx-btn { min-width: 0; display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: inherit; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-btn:hover, .sx-btn.on { border-color: var(--accent); }
.sx-btn.on { background: var(--accent-soft); }
.sx-btn.ghost { font-weight: 500; }
.sx-logo { width: 20px; height: 20px; border-radius: 5px; display: inline-grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.sx-logo.g { background: #111; }
.sx-logo.s { background: #fc4c02; }
.sx-list { display: flex; flex-direction: column; gap: 6px; }
.sx-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.sx-item span { font-size: 12px; opacity: .75; }
.sx-item:hover, .sx-item.sel { border-color: var(--accent); background: var(--accent-soft); }
.sx-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.rp-sync .linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
.sx-btn.soon { cursor: default; color: var(--muted); background: var(--soft, #f4f5f7); border-style: dashed; font-weight: 500; }
.sx-btn.soon .sx-logo { opacity: .55; }
.sx-btn .sx-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sx-soon { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); flex: none; }
.rp-ctl .rp-cm { flex: none; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.rp-ctl .rp-cm button { min-width: 0; height: 36px; padding: 0 10px; border: 0; border-radius: 0; font-weight: 600; }
.rp-ctl button.lg { min-width: 50px; font-variant-numeric: tabular-nums; }
.rp-tbl th.srt { cursor: pointer; white-space: nowrap; }
.rp-tbl th.srt:hover { color: var(--accent); }
.rp-tbl th.srt.on { color: var(--accent); }
.rp-tbl th.srt.on::after { content: ' ▲'; font-size: 9px; }
.rp-tbl.rp-leg th, .rp-tbl.rp-leg td { padding-left: 5px; padding-right: 5px; }
.rp-tbl.rp-leg th { font-size: 12px; }
.rp-tbl.rp-leg td.l { max-width: 118px; }
.rp-tbl.rp-leg td small { font-size: 10.5px; }
.rp-tbl td small.bad { color: var(--bad); }
/* paylaşım görseli (replayshare.js) */
.rs-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 14, 22, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rs-box { display: flex; gap: 18px; background: var(--card, #fff); color: var(--ink, #111827); border-radius: 18px; padding: 16px; max-width: 1080px; width: 100%; max-height: calc(100dvh - 32px); overflow: auto; }
.rs-view { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; background: #111827; border-radius: 12px; padding: 12px; }
.rs-view canvas { max-width: 100%; max-height: calc(100dvh - 90px); width: auto; height: auto; border-radius: 6px; display: block; }
.rs-ctl { width: 290px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.rs-head { display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.rs-x { border: 0; background: rgba(127, 127, 127, .15); color: inherit; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.rs-ctl > label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .65; margin-top: 6px; }
.rs-seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(127, 127, 127, .12); border-radius: 10px; padding: 3px; gap: 3px; }
.rs-seg button { border: 0; background: transparent; color: inherit; padding: 8px 6px; border-radius: 8px; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.rs-seg button.on { background: #fff; color: #e8590c; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.rs-chk { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.rs-btns { display: flex; gap: 8px; margin-top: 10px; } .rs-btns .btn { flex: 1; height: 44px; white-space: nowrap; }
.rs-hint { font-size: 12.5px; opacity: .7; margin: 0; }
@media (max-width: 760px) { .rs-box { flex-direction: column; } .rs-ctl { width: auto; } .rs-view canvas { max-height: 50dvh; } }
