/* ==========================================================================
   Rainbow Six Siege on VERTEX.
   The page scripts still draw the components of the old network core
   (css/ui.css, layered); this sheet is unlayered, so it re-skins them in the
   VERTEX language without touching their markup: square surfaces with the
   chamfered vertex cut, mono index labels, readouts on tick rulers, Archivo
   + JetBrains Mono, the breach gold of the VERTEX palette (themes.css).
   Dropdowns, popovers, the phone sheet and the counter band keep whole
   corners (the network rule).
   ========================================================================== */

/* ---- tokens: the old names, the VERTEX values ------------------------------- */
:root {
  --f-ui: var(--f);
  --f-display: var(--f);
  --display-stretch: 112%;
  --num-stretch: 100%;
  --maxw: var(--wrap);
  --r-xs: 2px; --r-sm: 3px; --r-lg: 4px; --r-xl: 6px;
  --s4: #262b33; --s5: #323843;
  --acc-hi: #f3c252; --acc-lo: #c8901a; --acc-rgb: 230 173 46;
  --primary-color: var(--acc); --accent-color: var(--acc);
  --hi: #4aa8ff; --hi-ink: #031426;
  --up: var(--ok); --down: var(--bad);
  --edge: 0 0 0 0 transparent;
  --shadow-1: 0 1px 2px rgba(0,0,0,.3);
  --shadow-2: var(--shadow);
  --shadow-pop: var(--shadow), 0 0 0 1px var(--line-2);
  --lean: none;
  --cut-tr: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  --stripes: none;
  --tick: repeating-linear-gradient(90deg, var(--line-3) 0 1px, transparent 1px 7px);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --s4: #e4e2dc; --s5: #d6d3cc; --acc-hi: #c8901a; --acc-lo: #a87710; --hi: #2f7fd6; --hi-ink: #fff; }
}
:root[data-theme="light"] { --s4: #e4e2dc; --s5: #d6d3cc; --acc-hi: #c8901a; --acc-lo: #a87710; --hi: #2f7fd6; --hi-ink: #fff; }

body { font-family: var(--f); font-size: 15px; }
.skip-link:not(.vx-skip) { display: none; }
main { position: relative; flex: 1 0 auto; }
.wrap, .container { max-width: var(--wrap); }

/* ---- the page backdrop: VERTEX dot field + one soft accent light; the arena
   floor canvas and the stage beams go; the contestant art stays, quieter ---- */
.arena-floor, .hero-bg .beam, .hero-bg .floor { display: none !important; }
body > main::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 460px; z-index: -1; pointer-events: none; animation: none;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--acc) 9%, transparent), transparent) 100% -120px / 60% 560px no-repeat,
    radial-gradient(var(--dot) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 75% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 100% at 75% 0%, #000 10%, transparent 75%);
  -webkit-mask-composite: source-over; mask-composite: add;
}
body > main::after { opacity: .2; filter: saturate(.7); }
:root[data-theme="light"] body > main::after { opacity: .1; filter: grayscale(1); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) body > main::after { opacity: .1; filter: grayscale(1); } }

/* ---- page head (.phead) = the VERTEX page head ------------------------------ */
.phead { padding-block: 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 70%, transparent), transparent); }
.phead > .wrap { position: relative; padding-top: 34px; padding-bottom: 28px; }
.phead > .wrap.has-tabs, .phead > .wrap:has(> .tabs) { padding-bottom: 0; }
.phead > .wrap::before, .phead > .wrap::after { content: ''; position: absolute; top: 14px; width: 11px; height: 11px; background: var(--ink-4); -webkit-mask: var(--plus); mask: var(--plus); }
.phead > .wrap::before { left: calc(var(--gut) - 22px); }
.phead > .wrap::after { right: calc(var(--gut) - 22px); }
.crumbs { font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); transition: color var(--t); }
.crumbs a:hover { color: var(--acc-t); }
.crumbs > :last-child { color: var(--ink-2); }
.crumbs .i { font-size: 10px; color: var(--ink-4); }
.phead h1, .phead-title, .phead .phead-title {
  font: 780 clamp(30px, 4.3vw, 52px)/1.04 var(--f); font-stretch: 112%; letter-spacing: -.028em; text-transform: none; transform: none; text-wrap: balance;
}
.phead-sub { color: var(--ink-2); font-size: clamp(15px, 1.2vw, 16.5px); max-width: 66ch; margin-top: 14px; }
.phead-sub b { color: var(--ink); font-weight: 650; }
.phead .tabs { margin-top: 22px; border-bottom: 0; }
.phead-meta { font: 500 12px var(--f-mono); color: var(--ink-3); }

.eyebrow { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--ink-3); gap: 10px; }
.eyebrow::before { content: ''; width: 6px !important; height: 6px !important; clip-path: none !important; background: var(--acc); transform: rotate(45deg); border-radius: 0; }

/* section titles (.lt) = .vx-sec */
.lt { gap: 16px; margin: 44px 0 16px; }
.lt-title { font: 760 clamp(19px, 1.8vw, 23px)/1.15 var(--f); font-stretch: 110%; letter-spacing: -.02em; text-transform: none; }
.lt-title::before { display: none !important; }
.lt-line { position: relative; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.lt-line::before { content: ''; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; background: var(--acc); transform: rotate(45deg); }
.lt-link { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lt-link:hover { color: var(--acc-t); }
.sec-head, .sec-title { font-family: var(--f); }

/* ---- modules: .panel = .vx-mod ------------------------------------------------ */
main { counter-reset: mod; }
.panel {
  background: var(--s1); border-radius: 0; box-shadow: none; border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.panel::after { content: ''; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut); background: linear-gradient(to bottom left, transparent calc(50% - .7px), var(--line-2) calc(50% - .7px), var(--line-2) calc(50% + .7px), transparent calc(50% + .7px)); pointer-events: none; z-index: 3; }
.panel.is-round, .modal-panel .panel, .panel.is-flat { clip-path: none; }
.panel.is-round::after, .modal-panel .panel::after, .panel.is-flat::after { display: none; }
.panel.is-flat { background: transparent; }
.panel-h { position: relative; min-height: 52px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.panel-h::after { content: ''; position: absolute; left: -1px; bottom: -1px; width: 40px; height: 1px; background: var(--acc); }
.panel-h h2, .panel-h h3, .panel-t {
  display: flex; align-items: center; gap: 10px; font: 680 14.5px/1.2 var(--f); font-stretch: 100%; letter-spacing: -.005em; text-transform: none;
}
main .panel > .panel-h > h2::before, main .panel > .panel-h > .panel-t::before {
  counter-increment: mod; content: counter(mod, decimal-leading-zero);
  font: 600 10.5px/1 var(--f-mono); color: var(--acc-t); letter-spacing: .04em; padding-right: 10px; border-right: 1px solid var(--line-2);
}
.panel-h h2 .i, .panel-h h3 .i, .panel-t .i { font-size: 16px; color: var(--ink-3); }
.panel-h .meta, .panel-t .meta { font: 500 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.panel-b { padding: 18px 20px; }
.panel-f { padding: 12px 20px; }
[data-spot]::before { border-radius: 0; background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--acc) 7%, transparent), transparent 70%); }

/* ---- readouts: .kpi on a tick ruler; the counter band (.statband) whole-cornered ---- */
.kpi {
  border-radius: 0; box-shadow: none; border: 1px solid var(--line); padding: 16px 18px 24px;
  clip-path: polygon(0 0, calc(100% - var(--cut-s)) 0, 100% var(--cut-s), 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, transparent, var(--s1) 70%) left 18px bottom 10px / calc(100% - 36px) 6px no-repeat,
    var(--tick) left 18px bottom 10px / calc(100% - 36px) 6px no-repeat,
    var(--s1);
}
.kpi::after { content: ''; position: absolute; top: 0; right: 0; left: auto; width: var(--cut-s); height: var(--cut-s); opacity: 1; transform: none; background: linear-gradient(to bottom left, transparent calc(50% - .7px), var(--line-2) calc(50% - .7px), var(--line-2) calc(50% + .7px), transparent calc(50% + .7px)); }
.kpi-l { font: 600 10.5px/1.15 var(--f-mono); letter-spacing: .1em; color: var(--ink-3); }
.kpi-l .i { color: var(--ink-3); font-size: 13px; }
.kpi-v { font: 720 30px/1 var(--f); font-stretch: 108%; letter-spacing: -.02em; margin-top: 10px; }
.kpi-v small { font: 560 .48em/1 var(--f); color: var(--ink-3); }
.kpi-s { font-size: 12.5px; }
.kpi.is-acc { background:
    linear-gradient(90deg, transparent, var(--s1) 70%) left 18px bottom 10px / calc(100% - 36px) 6px no-repeat,
    var(--tick) left 18px bottom 10px / calc(100% - 36px) 6px no-repeat,
    linear-gradient(160deg, color-mix(in srgb, var(--acc) 16%, var(--s1)), var(--s1) 65%);
  border-color: color-mix(in srgb, var(--acc) 30%, var(--line)); box-shadow: none; }
.kpi.is-acc .kpi-v { color: var(--ink); }
.kpi.is-acc .kpi-l { color: var(--acc-t); }

/* ---- buttons, chips, tags ---------------------------------------------------- */
.btn {
  --c: var(--cut-s);
  border-radius: 0; height: 40px; padding: 0 18px; font-weight: 640; font-size: 13.5px;
  background: var(--b-bg); box-shadow: inset 0 0 0 1px var(--b-bd);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
  --b-bg: var(--s2); --b-bd: var(--line-2);
}
.btn::after { content: ''; position: absolute; right: 0; bottom: 0; width: var(--c); height: var(--c); background: linear-gradient(to top left, transparent calc(50% - .7px), var(--b-bd) calc(50% - .7px), var(--b-bd) calc(50% + .7px), transparent calc(50% + .7px)); pointer-events: none; }
.btn:hover { --b-bg: var(--s3); --b-bd: var(--line-3); }
.btn .i { font-size: 16px; }
.btn-primary, .btn-hi { --b-bg: var(--acc); --b-fg: var(--acc-ink); --b-bd: transparent; box-shadow: none; border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%); }
.btn-primary:hover { --b-bg: color-mix(in srgb, var(--acc) 88%, #fff); --b-bd: transparent; }
.btn-hi { --b-bg: var(--hi); --b-fg: var(--hi-ink); }
.btn-primary::after, .btn-hi::after { display: none; }
.btn-primary.btn-sm, .btn-hi.btn-sm { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%); }
.btn-ghost { --b-bg: transparent; }
.btn-ghost:hover { --b-bg: var(--s2); }
.btn-quiet { clip-path: none; }
.btn-quiet::after { display: none; }
.btn-sm { --c: 6px; height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 0; }
.btn-lg { --c: 10px; height: 48px; padding: 0 22px; font-size: 14.5px; }
.btn-icon { width: 40px; padding: 0; }
.btn-sm.btn-icon { width: 32px; }
.icon-btn { border-radius: 0; }

.chip { border-radius: 0; height: 26px; padding: 0 9px; font-size: 12px; font-weight: 560; background: var(--s2); box-shadow: none; border: 1px solid var(--line-2); }
a.chip:hover, button.chip:hover { background: var(--s3); border-color: var(--line-3); }
.chip.is-acc { background: color-mix(in srgb, var(--acc) 8%, transparent); color: var(--acc-t); border-color: color-mix(in srgb, var(--acc) 40%, transparent); box-shadow: none; }
.chip.is-up { border-color: color-mix(in srgb, var(--ok) 40%, transparent); box-shadow: none; }
.chip.is-down { border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.chip.is-hi { border-color: color-mix(in srgb, var(--hi) 40%, transparent); box-shadow: none; }
.club { border-radius: 0; box-shadow: none; border: 1px solid var(--line-2); background: var(--s2); font: 600 10.5px/1 var(--f-mono); letter-spacing: .06em; height: 21px; padding: 0 6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%); }
a.club:hover { background: color-mix(in srgb, var(--acc) 10%, transparent); color: var(--acc-t); border-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.live { clip-path: none; border-radius: 0; height: 20px; padding: 0 7px; color: var(--acc-t); background: color-mix(in srgb, var(--acc) 8%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); font: 600 9.5px/1 var(--f-mono); }
.live::before { border-radius: 0; width: 5px; height: 5px; background: var(--acc); }
.tag-new, .tag-pro { clip-path: none; border-radius: 0; font: 700 9px/1 var(--f-mono); letter-spacing: .06em; padding: 3px 5px; }
.tag-new { background: var(--acc); color: var(--acc-ink); }
.kbd, kbd { border-radius: 3px; font-family: var(--f-mono); }

/* ---- tables -------------------------------------------------------------------- */
.tbl { font-size: 13.5px; }
.tbl th { height: 40px; padding: 0 16px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-3); background: var(--s1); border-bottom: 1px solid var(--line); }
.tbl td { padding: 8px 16px; height: 54px; }
.tbl tbody tr:hover { background: var(--s2); }
.tbl tbody tr[data-href]:hover td:first-child, .tbl tr.is-me td:first-child { box-shadow: inset 2px 0 0 var(--acc); }
.tbl tbody tr[data-href]:hover .pc-name, .tbl tbody tr[data-href]:hover a.pc-name { color: var(--acc-t); }
.tbl .score, .rw-v { font: 700 14.5px/1 var(--f-mono); letter-spacing: -.01em; }
.tbl td.num { font-family: var(--f-mono); font-size: 13px; }
.tbl tr.is-me { background: color-mix(in srgb, var(--acc) 6%, transparent); }
@media (max-width: 720px) { .tbl td, .tbl th { padding-inline: 10px; } }

/* rank cell: mono squares, the podium in metal */
.pos { min-width: 26px; height: 22px; padding: 0 5px; border-radius: 0; font: 600 11px/1 var(--f-mono); color: var(--ink-3); background: var(--s2); border: 1px solid var(--line); }
.pos.p1, .pos.p2, .pos.p3, .pos.is-1, .pos.is-2, .pos.is-3 { color: #111; border-color: transparent; box-shadow: none; font-weight: 700; }
.pos.p1, .pos.is-1 { background: #ffd166; }
.pos.p2, .pos.is-2 { background: #d6dbe2; }
.pos.p3, .pos.is-3 { background: #e0915a; }
.pc-av, .s-av { border-radius: 0; background: var(--s3); border: 1px solid var(--line); font: 700 13px/1 var(--f); clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.pc-av.is-icon { background: none; border: 0; clip-path: none; }
.pc-name, .rw-t { font-weight: 620; }
.pn-tag { color: var(--ink-3); font-family: var(--f-mono); font-size: .8em; font-weight: 500; margin-left: 2px; }
.rw { padding: 10px 20px; }
.rw-n { font: 600 11px/1 var(--f-mono); color: var(--ink-3); }
.rw[data-href]:hover, a.rw:hover { background: var(--s2); box-shadow: inset 2px 0 0 var(--acc); }
.rw-head { font: 600 10.5px/1 var(--f-mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bar, .meter { border-radius: 0; background: var(--s3); height: 3px; }
.bar > i, .meter > i { border-radius: 0; }
.delta { font-family: var(--f-mono); font-size: .92em; }
.delta.up { color: var(--ok); } .delta.down { color: var(--bad); }

/* ---- tabs, segmented, pager ---------------------------------------------------- */
.tabs { gap: 4px; }
.tab { height: 46px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.tab:hover, .tab.is-on, .tab.active, .tab[aria-selected="true"] { color: var(--ink); }
.tab .i { font-size: 17px; }
.tab.is-on .i, .tab.active .i, .tab[aria-selected="true"] .i { color: var(--acc-t); }
.tab .count { border-radius: 0; font: 600 10.5px/1 var(--f-mono); background: var(--s2); border: 1px solid var(--line); }
.tabs-ink { height: 2px; border-radius: 0; box-shadow: none; }
.seg { border-radius: 0; background: var(--s1); box-shadow: none; border: 1px solid var(--line-2); padding: 3px; }
.seg > button, .seg > a { border-radius: 0; height: 32px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.seg > .is-on, .seg > [aria-pressed="true"], .seg > [aria-selected="true"] { background: var(--s3); color: var(--ink); box-shadow: inset 0 -2px 0 var(--acc); }
.seg small { font-family: var(--f-mono); }
.pager-btns .btn, .pager .btn { min-width: 32px; }
.pager-info { font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }

/* ---- forms ----------------------------------------------------------------------- */
.input, .field input, .field textarea, textarea.input, select.input {
  border-radius: 0; background: var(--s1); box-shadow: none; border: 1px solid var(--line-2); font-family: var(--f);
  transition: border-color var(--t), box-shadow var(--t);
}
.input:focus, .field input:focus, .field textarea:focus { border-color: color-mix(in srgb, var(--acc) 60%, var(--line-2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 14%, transparent); outline: 0; }
.label, .field-label { font: 600 10.5px/1.1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.switch, .switch * { border-radius: 0 !important; }

/* custom select (TF.enhanceSelects): the button like .vx-sel-btn; the menu with whole corners */
.sel-btn {
  --c: var(--cut-s);
  border-radius: 0; height: 40px; background: var(--s1); box-shadow: none; border: 1px solid var(--line-2); font: 600 13px/1 var(--f);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
}
.sel-btn:hover { background: var(--s2); border-color: var(--line-3); }
.sel.is-open .sel-btn, .sel-btn[aria-expanded="true"] { background: var(--s2); border-color: color-mix(in srgb, var(--acc) 60%, var(--line-2)); box-shadow: inset 0 -2px 0 var(--acc); }
.sel-menu, .pop {
  border-radius: 0; background: var(--s1); border: 1px solid var(--line-2); box-shadow: var(--shadow); padding: 4px 0; clip-path: none; animation: none;
}
.sel-menu *, .pop * { animation: none; }
.sel-opt { border-radius: 0; border-left: 2px solid transparent; padding: 9px 14px 9px 12px; font-size: 13.5px; font-weight: 560; transition: background .12s, color .12s; }
.sel-opt:hover, .sel-opt.is-active, .sel-opt[aria-selected="true"]:hover { background: var(--s2); color: var(--ink); border-left-color: var(--acc); }
.sel-opt[aria-selected="true"] { color: var(--ink); font-weight: 650; }
.sel-tick { color: var(--acc-t); }

/* ---- floating layers: tooltips, modals, the global search, toasts -------------- */
.tf-info-tooltip, .tip, [role="tooltip"] { border-radius: 0 !important; }
.modal-back { background: color-mix(in srgb, var(--bg) 60%, transparent); }
.modal-panel { border-radius: 0; background: var(--s1); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.7); }
.modal-h { padding: 14px 20px; position: relative; }
.modal-h::after { content: ''; position: absolute; left: -1px; bottom: -1px; width: 40px; height: 1px; background: var(--acc); }
.modal-h h2, .modal-h h3 { font: 700 16px/1.2 var(--f); text-transform: none; letter-spacing: -.01em; }

.cmdk-back { background: color-mix(in srgb, var(--bg) 60%, transparent) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cmdk-box {
  border-radius: 0 !important; background: var(--s1) !important; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.7) !important;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.cmdk-title { font-family: var(--f-mono); }
.cmdk-title span { font: 600 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cmdk-in { border-radius: 0 !important; }
.cmdk-in .i { color: var(--acc-t); }
.cmdk-group span { font: 600 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cmdk-group button { color: var(--acc-t); }
.cmdk-item { border-radius: 0 !important; border-left: 2px solid transparent; }
.cmdk-item.is-active { background: var(--s2) !important; border-left-color: var(--acc); }
.cmdk-ic { border-radius: 0 !important; background: var(--s3); border: 1px solid var(--line); }
.cmdk-end { font-family: var(--f-mono); }
.cmdk-adv { color: var(--acc-t); }
.toasts > * { border-radius: 0 !important; border-left: 2px solid var(--acc); }

/* ---- empty states, skeletons ------------------------------------------------------ */
.sk { border-radius: 0 !important; background: linear-gradient(90deg, var(--s2), var(--s3), var(--s2)); background-size: 200% 100%; }
.sk-av { clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.empty .i:first-child, .empty > .icon, .empty-ic {
  width: 54px; height: 54px; padding: 15px; color: var(--acc-t); background: color-mix(in srgb, var(--acc) 8%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.empty b, .empty h3, .empty strong { color: var(--ink); font-size: 16px; }
.boot-card, .boot-heading, .boot-line { border-radius: 0 !important; }
.emblem-none { border-radius: 0; }

/* ---- icons: Phosphor through the alias sprite ------------------------------------------ */
.i { fill: currentColor; }
/* R6 keeps the ligature spans: the sprite icon is drawn inside them (js/ui-core.js upgradeIcons) */

/* ---- links in running text ---------------------------------------------------------- */
main p a:not(.btn):not(.chip):not(.club):not(.lt-link) { color: var(--acc-t); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--acc-t) 40%, transparent); text-underline-offset: 3px; }
main p a:not(.btn):not(.chip):not(.club):not(.lt-link):hover { text-decoration-color: currentColor; }

/* header: six links + More, so the search button is compact */
.vx-find { min-width: 168px; }
/* the brand: the R6 tile */
.r6-brand .vx-brand-m { background: none; border: 0; padding: 0; clip-path: none; }
.r6-brand .vx-brand-m img { display: block; width: 34px; height: 34px; }
/* OBS render of the stream widget: no chrome at all */
.vx-bare .vx-net, .vx-bare .vx-hdr, .vx-bare .vx-dock, .vx-bare .vx-foot, .vx-bare .vx-sheet { display: none !important; }

.tf-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px; padding: 36px 40px 36px 40px; }
.tf-cta .vx-cta-act { margin-top: 20px; }
/* the overlay screenshot: a VERTEX card turned toward the copy in 3D, flattening on hover */
.tf-cta-shot { position: relative; perspective: 1200px; }
.tf-cta-shot::before { content: ''; position: absolute; inset: 10% 6% -6% 10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 34%, transparent), transparent); filter: blur(24px); pointer-events: none; }
.tf-shot {
  position: relative; margin: 0; background: var(--s1); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.75);
  transform: rotateY(-11deg) rotateX(4deg); transform-origin: 60% 50%; transition: transform .7s var(--ease-out);
}
.tf-cta:hover .tf-shot { transform: rotateY(-3deg) rotateX(1deg); }
.tf-shot img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .tf-shot { transition: none; } }
.tf-bot { margin-top: 16px; }
.tf-bot-cmds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tf-bot-cmds code { font-size: 12px; padding: 4px 8px; }
.tf-seo { margin-top: 24px; }
.tf-seo-lead { margin: -4px 0 18px; }
.tf-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.tf-feat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tf-faq-more { padding: 14px 20px; margin: 0; color: var(--ink-3); font-size: 13.5px; border-top: 1px solid var(--line); }
.vx-qa-a p { margin: 0; }

@media (max-width: 1100px) {
  .tf-feats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .tf-cta { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 28px 22px; }
  .tf-shot, .tf-cta:hover .tf-shot { transform: none; }
}
@media (max-width: 720px) {
}
/* 404: the code is a mono kicker, never a giant outlined word */
.nf-code {
  display: inline-flex !important; align-items: center; gap: 8px; margin-bottom: 18px; padding: 4px 8px 4px 7px;
  font: 600 11px/1 var(--f-mono) !important; letter-spacing: .12em !important; color: var(--acc-t) !important; -webkit-text-stroke: 0 !important; text-stroke: 0 !important;
  background: color-mix(in srgb, var(--acc) 8%, transparent) !important; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); opacity: 1 !important; transform: none !important;
}
.nf-code::before { content: 'Error'; }
.nf h1 { font: 780 clamp(36px, 5vw, 64px)/1.02 var(--f) !important; font-stretch: 112% !important; letter-spacing: -.03em !important; text-transform: none !important; font-style: normal !important; }
.nf-art { opacity: .5; }
/* no giant outlined words, no hazard stripes (network rule) */
.champ::after { content: none !important; }
:root { --stripes: none; }
/* floating notes over the overlay card (like the example profile on arenyze.com) */
.tf-cta-shot { padding: 26px 0 22px; }
.tf-toast {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px;
  background: var(--s2); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -18px rgba(0, 0, 0, .8);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); animation: tf-float 6s ease-in-out infinite;
}
.tf-toast b { display: block; font-size: 12.5px; font-weight: 680; white-space: nowrap; }
.tf-toast small { display: block; font: 500 11px var(--f-mono); color: var(--ink-2); margin-top: 2px; white-space: nowrap; }
.tf-toast-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; color: var(--acc-ink); background: var(--acc); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); }
.tf-toast-ic.is-ok { background: var(--ok); color: #06140d; }
.tf-toast-ic .ic { font-size: 17px; }
.tf-toast.is-a { left: -28px; top: 0; }
.tf-toast.is-b { right: 10px; bottom: 0; animation-delay: -3s; }
@keyframes tf-float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .tf-toast { animation: none; } }
@media (max-width: 860px) { .tf-toast.is-a { left: 8px; } }
@media (max-width: 720px) { .tf-toast { display: none; } .tf-cta-shot { padding: 0; } }

/* ==== home (public/_v/js/home.js) ====================================================== */
body[data-r6-page="index"] > main::before, body[data-r6-page="index"] > main::after { display: none; }
.r6-hero .vx-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; padding-block: 52px 36px; }
.r6-hero .vx-hero-t { font-size: clamp(42px, 5.6vw, 84px); text-transform: none; font-style: normal; }
.r6-hero .vx-hero-lead { margin-bottom: 26px; }
.r6-hero { overflow: visible; }
.r6-hero .vx-hero-main { position: relative; z-index: 6; }

/* the player search: one console line, the platform picker as its prompt */
.r6-hs { max-width: 640px; z-index: 30; }
.r6-hs .gsearch {
  height: 60px; padding: 0 8px; gap: 8px; border-radius: 0; background: var(--s1); box-shadow: none; border: 1px solid var(--line-2);
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: border-color var(--t), box-shadow var(--t);
}
.r6-hs .gsearch:focus-within, .r6-hs.is-open .gsearch { border-color: color-mix(in srgb, var(--acc) 60%, var(--line-2)); box-shadow: inset 0 -2px 0 var(--acc); }
.r6-hs .gsearch-plats { border: 0; margin: 0; padding: 0; height: 44px; gap: 2px; }
.r6-hs .gsearch-plat { width: 40px; height: 40px; border-radius: 0; color: var(--ink-3); background: transparent; border: 1px solid transparent; }
.r6-hs .gsearch-plat:hover { color: var(--ink); background: var(--s2); }
.r6-hs .gsearch-plat.is-on { background: var(--s2); border-color: var(--line-2); box-shadow: inset 0 -2px 0 var(--acc); }
.r6-hs-sep { width: 1px; height: 28px; background: var(--line-2); flex: none; }
.r6-hs .gsearch input { font: 500 16px/1 var(--f-mono); letter-spacing: -.01em; color: var(--ink); padding: 0 6px; }
.r6-hs .gsearch input::placeholder { color: var(--ink-3); }
.r6-hs .gsearch-go { width: auto; height: 44px; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; flex: none; background: var(--acc); color: var(--acc-ink); font-weight: 650; }
.r6-hs .gsearch-go .ic { width: 17px; height: 17px; }
/* the Recent / Favorites / Results panel: whole corners, over everything below */
.r6-hs .rf { border-radius: 0 !important; background: var(--s1) !important; border: 1px solid var(--line-2); box-shadow: var(--shadow) !important; clip-path: none !important; z-index: 40; }
.r6-hs .rf, .r6-hs .rf * { animation: none !important; }
.r6-hs .rf-tabs { border-bottom: 1px solid var(--line); gap: 2px; }
.r6-hs .rf-tab { border-radius: 0; font-weight: 600; color: var(--ink-3); }
.r6-hs .rf-tab .ic { width: 15px; height: 15px; }
.r6-hs .rf-tab.is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--acc); background: transparent; }
.r6-hs .rf-label { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.r6-hs .rf-row:hover, .r6-hs .rf-row.is-active { background: var(--s2); box-shadow: inset 2px 0 0 var(--acc); }
.r6-hs .rf-av { border-radius: 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.r6-hero .vx-hero-hint { margin-top: 14px; }
.r6-quick { margin-top: 14px; max-width: 640px; }
.r6-quick .gh-quick-label { font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.r6-quick .gh-chip { border-radius: 0; background: var(--s1); border: 1px solid var(--line-2); box-shadow: none; }
.r6-quick .gh-quick-fav { color: var(--acc-t); }
.r6-quick .gh-quick-fav .ic { width: 14px; height: 14px; }

/* the ranked top 5 beside the search */
.r6-lb .vx-mod-m { display: flex; align-items: center; gap: 8px; }
.r6-lb .seg { padding: 2px; }
.r6-lb .seg > button { height: 26px; padding: 0 10px; font-size: 12px; }
.r6-lb .list { margin: 0; padding: 0; }
.r6-lb .li { min-height: 58px; padding: 8px 18px; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none !important; background: none; }
.r6-lb .li::before { display: none !important; }
.r6-lb .li[data-href] { cursor: pointer; }
.r6-lb .li:hover { background: var(--s2); box-shadow: inset 2px 0 0 var(--acc) !important; }
.r6-lb .rank-pill { min-width: 26px; height: 22px; border-radius: 0; font: 600 11px/22px var(--f-mono); text-align: center; color: var(--ink-3); background: var(--s2); border: 1px solid var(--line); box-shadow: none; clip-path: none; transform: none; }
.r6-lb .rank-pill.is-1 { background: #ffd166; color: #111; border-color: transparent; }
.r6-lb .rank-pill.is-2 { background: #d6dbe2; color: #111; border-color: transparent; }
.r6-lb .rank-pill.is-3 { background: #e0915a; color: #111; border-color: transparent; }
.r6-lb .lb-av { border-radius: 0; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.r6-lb .li-title { font-weight: 640; }
.r6-lb .li-value { font: 700 14.5px/1 var(--f-mono); }
.r6-lb .li-note { font: 500 10px/1 var(--f-mono); color: var(--ink-3); }
.r6-lb-more { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 640; font-size: 13.5px; color: var(--ink); transition: background var(--t); }
.r6-lb-more span { flex: 1; font: 500 11px var(--f-mono); color: var(--ink-3); letter-spacing: .04em; }
.r6-lb-more .ic { width: 16px; height: 16px; color: var(--acc-t); flex: none; }
.r6-lb-more:hover { background: var(--s2); }

/* the counter band: five readouts on their rulers, whole corners */
.r6-tele { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.r6-tele .vx-ro-v { font-size: 30px; }
.r6-ro-mark { display: inline-grid; width: 14px; height: 14px; place-items: center; }
.r6-ro-mark svg, .r6-ro-mark img { width: 13px; height: 13px; }
.tf-live-dot { width: 6px; height: 6px; background: var(--ok); animation: vx-pulse 2s infinite; display: inline-block; margin-right: 2px; }
.r6-tele .is-season { background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 10%, transparent), transparent 70%); }

/* live modules */
.r6-home > .vx-sec:first-child { margin-top: 12px; }
.r6-home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.r6-home-grid > .vx-mod { display: flex; flex-direction: column; }
.r6-live-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.r6-kv { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 26px; border-right: 1px solid var(--line);
  background: var(--tick) left 20px bottom 10px / calc(100% - 40px) 6px no-repeat; }
.r6-kv:last-child { border-right: 0; }
.r6-kv-l { font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.r6-kv-v { font: 720 28px/1 var(--f); font-stretch: 108%; letter-spacing: -.02em; color: var(--ink); }
.r6-kv-s { font-size: 12px; color: var(--ink-3); }
.r6-pop-h { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px 6px; font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.r6-pop-h > :last-child { text-transform: none; letter-spacing: 0; font-weight: 500; }
.r6-pop { display: flex; flex-direction: column; padding-bottom: 8px; }
.r6-pop .no1 {
  display: grid; grid-template-columns: 34px 34px minmax(140px, 1.1fr) minmax(0, 2fr) 64px 54px; align-items: center; gap: 14px;
  min-height: 58px; padding: 6px 20px; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; clip-path: none; color: var(--ink);
  transition: background var(--t);
}
.r6-pop .no1 { grid-template-areas: none; row-gap: 0; }
.r6-pop .no1 > * { grid-area: auto; align-self: center; }
.r6-pop .no1:hover { background: var(--s2); box-shadow: inset 2px 0 0 var(--acc); }
.r6-pop .no1::before, .r6-pop .no1::after { display: none !important; }
.r6-pop .no1-badge { position: static; display: inline-flex; align-items: baseline; justify-content: center; min-width: 30px; height: 22px; padding: 0; clip-path: none; transform: none; border-radius: 0;
  font: 600 11px/22px var(--f-mono); color: var(--ink-3); background: var(--s2); border: 1px solid var(--line); }
.r6-pop .no1-badge small { font-size: 9px; color: var(--ink-4); }
.r6-pop .no1[data-pos="1"] .no1-badge { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.r6-pop .no1[data-pos="1"] .no1-badge small { color: inherit; opacity: .6; }
.r6-pop .no1-av { position: static; width: 34px; height: 34px; border-radius: 0; display: grid; place-items: center; background: var(--s2); border: 1px solid var(--line); margin: 0; }
.r6-pop .no1-av svg { width: 18px; height: 18px; }
.r6-pop .no1-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.r6-pop .no1-name { font: 680 14px/1.15 var(--f); text-transform: none; letter-spacing: -.005em; margin: 0; }
.r6-pop .no1-label { font-size: 12px; color: var(--ink-3); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r6-pop .no1-bar { position: static; height: 4px; margin: 0; border-radius: 0; background: var(--s3); overflow: hidden; }
.r6-pop .no1-bar i { display: block; height: 100%; border-radius: 0; background: var(--pc, var(--acc)); transition: width .8s var(--ease-out); }
.r6-pop .no1.is-pc .no1-bar i { background: var(--acc); }
.r6-pop .no1.is-psn .no1-bar i { background: #3d9bff; }
.r6-pop .no1.is-xbl .no1-bar i { background: #3fbf3f; }
.r6-pop .no1-val { position: static; font: 700 16px/1 var(--f-mono); color: var(--ink); text-align: right; margin: 0; }
.r6-pop .no1-share { position: static; font: 500 12px/1 var(--f-mono); color: var(--ink-3); text-align: right; margin: 0; }

.r6-tw-lead { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.r6-tw-lead > div { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 26px; background: var(--tick) left 20px bottom 10px / calc(100% - 40px) 6px no-repeat; }
.r6-tw-lead > div + div { border-left: 1px solid var(--line); }
.r6-tw-lead small { font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.r6-tw-lead b { font: 720 30px/1 var(--f); font-stretch: 108%; letter-spacing: -.02em; }
.r6-tw-lead > div:first-child b { color: var(--acc-t); }
.r6-tw-list { list-style: none; margin: 0; padding: 4px 0; }
.r6-tw-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.r6-tw-list li:last-child { border-bottom: 0; }
.r6-tw-list b { display: block; font-size: 13.5px; font-weight: 640; }
.r6-tw-list small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.r6-tw-v { font: 700 14.5px/1 var(--f-mono); }

.r6-index > .vx-idx:last-child { grid-column: auto; min-height: 128px; }
.r6-index .vx-idx { min-height: 128px; }
.r6-cta { margin-top: 44px; }
.r6-api { margin-top: 16px; }
.r6-seo { margin-top: 44px; }
[data-ssr-only] { display: none; }

/* the alert strip on top of the home */
.site-alert { border-radius: 0; background: color-mix(in srgb, var(--acc) 7%, var(--bg-2)); border-bottom: 1px solid color-mix(in srgb, var(--acc) 25%, var(--line)); }
.site-alert-inner { max-width: var(--wrap); }
.site-alert-close { clip-path: none !important; box-shadow: none !important; }
.site-alert-close::after { display: none !important; }

@media (max-width: 1100px) {
  .r6-hero .vx-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .r6-home-grid { grid-template-columns: minmax(0, 1fr); }
  .r6-tele { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r6-tele > .vx-ro:nth-child(3) { border-right: 0; }
  .r6-tele > .vx-ro:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .r6-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r6-live-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r6-kv:nth-child(2) { border-right: 0; }
  .r6-kv:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .r6-tele { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r6-tele > .vx-ro { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .r6-tele > .vx-ro:nth-child(2n) { border-right: 0; }
  .r6-tele > .vx-ro.is-season { grid-column: 1 / -1; border-bottom: 0; }
  .r6-tele .vx-ro-v { font-size: 24px; }
  .r6-hs .gsearch { height: 54px; }
  .r6-hs .gsearch input { font-size: 15px; }
  .r6-hs .gsearch-plats { display: flex; }
  .r6-hs .gsearch-plat { width: 34px; }
  .r6-hs .gsearch-go span { display: none; }
  .r6-hs .gsearch-go { padding: 0 13px; }
  .r6-index { grid-template-columns: minmax(0, 1fr); }
  .r6-index .vx-idx, .r6-index > .vx-idx:last-child { min-height: 0; }
  .r6-pop .no1 { grid-template-columns: 30px 30px minmax(0, 1fr) 56px; gap: 10px; padding-inline: 14px; }
  .r6-pop .no1-bar { grid-column: 3 / -1; grid-row: 2; margin-top: -6px; }
  .r6-pop .no1-share { display: none; }
  .r6-kv { padding: 14px 14px 24px; }
  .r6-kv-v { font-size: 22px; }
}
.r6-lb .vx-mod-h { flex-wrap: wrap; row-gap: 8px; }
.r6-lb .vx-mod-t { flex: 1 0 auto; white-space: nowrap; }
@media (max-width: 720px) { .r6-lb #homeLbMeta { display: none; } .r6-lb .li { padding-inline: 14px; } }

/* ==== R6 components (js/ui.js R6UI, the page scripts) in the VERTEX language ============ */
main { counter-reset: mod; }
/* page head (.banner, components/pageHeader.js) = the VERTEX page head */
.banner { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 70%, transparent), transparent); }
.banner::before { opacity: .12; filter: saturate(.4); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%); mask-image: linear-gradient(90deg, transparent 30%, #000 85%); }
.banner::after {
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--acc) 8%, transparent), transparent) 100% -120px / 60% 460px no-repeat,
    radial-gradient(var(--dot) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 75% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 100% at 75% 0%, #000 10%, transparent 75%);
}
.banner-inner { position: relative; max-width: var(--wrap); padding: 34px var(--gut) 28px; }
.banner-inner.has-tabs { padding-bottom: 0; }
.banner-inner::before, .banner-inner::after { content: ''; position: absolute; top: 14px; width: 11px; height: 11px; background: var(--ink-4); -webkit-mask: var(--plus); mask: var(--plus); }
.banner-inner::before { left: calc(var(--gut) - 22px); }
.banner-inner::after { right: calc(var(--gut) - 22px); }
.banner h1 { font: 780 clamp(30px, 4.3vw, 52px)/1.04 var(--f) !important; font-stretch: 112% !important; letter-spacing: -.028em !important; text-transform: none !important; font-style: normal !important; transform: none !important; text-wrap: balance; }
.banner-lead { color: var(--ink-2); font-size: clamp(15px, 1.2vw, 16.5px); max-width: 66ch; margin-top: 14px; }
.banner .tabs { margin-top: 22px; }
.crumbs .material-icons { width: 10px; height: 10px; color: var(--ink-4); }
.crumbs .material-icons .i, .crumbs .material-icons svg { width: 10px; height: 10px; }
h1, .h1 { font-style: normal; }

/* section titles */
.sec-title { font: 760 clamp(19px, 1.8vw, 23px)/1.15 var(--f); font-stretch: 110%; letter-spacing: -.02em; text-transform: none; }
.sec-title::before { width: 6px; height: 6px; align-self: center; background: var(--acc); transform: rotate(45deg); }
.sec-link { color: var(--ink-2); font-size: 13px; }
.sec-link:hover { color: var(--acc-t); }

/* cards (.card) = VERTEX modules, numbered */
.card { background: var(--s1); border: 1px solid var(--line); box-shadow: none; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.card::after { content: ''; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut); background: linear-gradient(to bottom left, transparent calc(50% - .7px), var(--line-2) calc(50% - .7px), var(--line-2) calc(50% + .7px), transparent calc(50% + .7px)); pointer-events: none; z-index: 3; }
.card-head { position: relative; min-height: 52px; padding: 10px 20px; }
.card-head::after { content: ''; position: absolute; left: -1px; bottom: -1px; width: 40px; height: 1px; background: var(--acc); }
.card-title { font: 680 14.5px/1.2 var(--f) !important; font-stretch: 100%; letter-spacing: -.005em !important; text-transform: none !important; align-items: center; }
main .card > .card-head > .card-title::before { counter-increment: mod; content: counter(mod, decimal-leading-zero); font: 600 10.5px/1 var(--f-mono); color: var(--acc-t); letter-spacing: .04em; padding-right: 10px; border-right: 1px solid var(--line-2); }
.card-meta { font: 500 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.card-foot a { background: var(--s2); color: var(--ink); border: 1px solid var(--line-2); font-weight: 620; }
.card-foot a:hover { background: var(--s3); }
.kpi-label { font: 600 10.5px/1.15 var(--f-mono) !important; letter-spacing: .1em !important; text-transform: uppercase; color: var(--ink-3) !important; }
.kpi-value { font: 720 30px/1 var(--f) !important; font-stretch: 108% !important; letter-spacing: -.02em !important; font-style: normal !important; }
.kpi-sub { font-size: 12.5px; color: var(--ink-3); }

/* catalogue: filter bar, tiles */
.cat-bar { background: var(--s1); border: 1px solid var(--line); padding: 10px 12px; }
.input-icon > .material-icons { width: 17px; height: 17px; left: 12px; z-index: 1; }
.input-icon > .material-icons svg { width: 17px; height: 17px; }
.input-icon .input { padding-left: 40px; height: 40px; }
.cat-count { font: 500 11.5px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.ent {
  background: var(--s1); border: 1px solid var(--line); box-shadow: none;
  clip-path: polygon(0 0, calc(100% - var(--cut-s)) 0, 100% var(--cut-s), 100% 100%, 0 100%);
  transition: border-color .2s, background .2s;
}
.ent:hover { transform: none; box-shadow: inset 2px 0 0 var(--acc); background: var(--s2); border-color: var(--line-2); }
.ent::before { width: 2px; opacity: 1; }
.ent.is-atk { --side: var(--acc); }
.ent.is-def { --side: var(--hi); }
.ent-ic { background: var(--s2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.ent-name { font: 700 16px/1.15 var(--f) !important; font-stretch: 105% !important; letter-spacing: -.01em !important; text-transform: none !important; }
.ent-sub { font-size: 12.5px; }
.ent-stats > span { font: 600 10px/1.2 var(--f-mono) !important; letter-spacing: .1em !important; color: var(--ink-3); }
.ent-stats b { font: 700 15px/1.1 var(--f-mono) !important; letter-spacing: 0 !important; margin-top: 4px; }
.ent-go { color: var(--ink-4); }
.ent:hover .ent-go { color: var(--acc-t); }
.chip-atk .material-icons, .chip-def .material-icons { width: 13px; height: 13px; }
.chip-atk { border-color: color-mix(in srgb, var(--acc) 40%, transparent); color: var(--acc-t); }
.chip-def { border-color: color-mix(in srgb, var(--hi) 45%, transparent); color: color-mix(in srgb, var(--hi) 80%, var(--ink)); }
.chip-acc { background: color-mix(in srgb, var(--acc) 8%, transparent); color: var(--acc-t); border-color: color-mix(in srgb, var(--acc) 40%, transparent); }

/* lists */
.list .li { border-radius: 0; }
.li-title { font-weight: 640; }
.li-value { font-family: var(--f-mono); font-weight: 700; }
.badge-live { border-radius: 0; clip-path: none; font: 600 9.5px/1 var(--f-mono); }


/* page-level titles of the standalone pages: upright, mixed case */
.pc-section-head h2, .pc-prose > h2 { font: 760 clamp(19px, 1.8vw, 23px)/1.15 var(--f) !important; font-stretch: 110% !important; letter-spacing: -.02em !important; text-transform: none !important; }
.pc-section-head h2::before { width: 6px !important; height: 6px !important; transform: rotate(45deg) !important; border-radius: 0 !important; }
.hero-copy h1 { text-transform: none !important; font-stretch: 112%; letter-spacing: -.035em !important; line-height: .98 !important; }

/* the overlay landing (r6-overlay.html): upright titles in mixed case, square tags */
.overlay-landing h1, .overlay-landing h2, .app-hero h1, .fact b, .section-intro h2, .chapter__text h2, .final-cta h2 { font-style: normal !important; text-transform: none !important; letter-spacing: -.025em !important; }
.how li::before, .chapter__num .n { font-style: normal !important; font-family: var(--f-mono) !important; font-weight: 600 !important; }
.chapter__tag { border-radius: 0 !important; }

/* the notification panel (/_v/js/r6acct.js): inbox / archive */
.r6-bellpop .vx-menu-h { gap: 6px; }
.r6-bellpop .vx-menu-h b { flex: 1; display: flex; align-items: center; gap: 8px; }
.r6-nt-count { font: 600 10px/1 var(--f-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; color: var(--acc-ink); background: var(--acc); }
.r6-acct-x { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink-3); }
.r6-acct-x:hover { color: var(--ink); background: var(--s2); }
.r6-acct-x .ic { width: 15px; height: 15px; }
.r6-nt-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.r6-nt-tabs button { position: relative; height: 38px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.r6-nt-tabs button:hover { color: var(--ink); }
.r6-nt-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--acc); }
.vx-noti-l { padding: 12px 16px 6px; font: 600 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* the player head stands on the cover art: it keeps the dark palette on the light theme */
:root[data-theme="light"] .pf-card.profile-banner {
  --bg: #0b0c0e; --bg-2: #0e1013; --s1: #121418; --s2: #171a1f; --s3: #1e2228;
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12); --line-3: rgba(255,255,255,.22);
  --ink: #eceef1; --ink-2: #a8adb6; --ink-3: #6e747e; --ink-4: #4a4f58; --acc-t: #f0bd45; color: var(--ink);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .pf-card.profile-banner {
    --bg: #0b0c0e; --bg-2: #0e1013; --s1: #121418; --s2: #171a1f; --s3: #1e2228;
    --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12); --line-3: rgba(255,255,255,.22);
    --ink: #eceef1; --ink-2: #a8adb6; --ink-3: #6e747e; --ink-4: #4a4f58; --acc-t: #f0bd45; color: var(--ink);
  }
}
.pf-band { background: var(--s2); }

/* the old row tokens on the VERTEX surfaces (they were fixed dark greys) */
:root { --row: var(--s1); --row-alt: color-mix(in srgb, var(--s2) 60%, var(--s1)); --row-hover: var(--s2); }
/* the network rail keeps its own light text on both themes */
.vx-net-home b { color: inherit; }
/* the player-count head stands on a dark wallpaper: dark palette on the light theme too */
:root[data-theme="light"] .pc-hero { --ink: #eceef1; --ink-2: #a8adb6; --ink-3: #6e747e; --bg: #0b0c0e; color: var(--ink); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .pc-hero { --ink: #eceef1; --ink-2: #a8adb6; --ink-3: #6e747e; --bg: #0b0c0e; color: var(--ink); } }
:root[data-theme="light"] .pc-hero h1, :root[data-theme="light"] .pc-hero p { color: var(--ink); }
/* the rest of the old tokens of style.css, on VERTEX values */
:root {
  --bg-soft: var(--bg-2); --band: var(--s2);
  --acc-a08: color-mix(in srgb, var(--acc) 8%, transparent); --acc-a16: color-mix(in srgb, var(--acc) 16%, transparent); --acc-a30: color-mix(in srgb, var(--acc) 30%, transparent);
  --gold: var(--acc-t); --cash: var(--acc-t);
}
/* module heads on phones: the title keeps its line, the meta drops below */
@media (max-width: 720px) {
  .r6-home-grid .vx-mod-h { flex-wrap: wrap; row-gap: 8px; }
  .r6-home-grid .vx-mod-t { flex: 1 0 auto; white-space: nowrap; }
  .pc-section-head h2 { white-space: normal !important; min-width: 0; }
  .pc-section-head { min-width: 0; }
}

/* Server-rendered player summary (lib/player-seo.js), under the live profile. */
.r6-ssr-player { max-width: 1240px; margin: 8px auto 40px; padding: 20px clamp(16px, 3vw, 28px); border: 1px solid var(--line); background: var(--s1); color: var(--ink-2, var(--ink)); }
.r6-ssr-player h2 { margin: 0 0 8px; font: 600 15px/1.3 var(--f-ui, inherit); color: var(--ink); }
.r6-ssr-player p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; max-width: 90ch; }
.r6-ssr-player a { color: var(--acc-t, var(--acc)); }
.r6-ssr-player table { width: 100%; border-collapse: collapse; margin: 4px 0 14px; font-size: 13px; font-variant-numeric: tabular-nums; }
.r6-ssr-player .r6-ssr-tw { overflow-x: auto; margin: 4px 0 14px; }
.r6-ssr-player .r6-ssr-tw table { margin: 0; }
.r6-ssr-player caption { text-align: left; padding: 0 0 6px; color: var(--ink-3, inherit); font-size: 12px; }
.r6-ssr-player th, .r6-ssr-player td { background: none; text-transform: none; letter-spacing: 0; font-size: 13px; padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.r6-ssr-player th[scope="row"], .r6-ssr-player thead th:first-child { text-align: left; }
.r6-ssr-player thead th { color: var(--ink-3, inherit); font-weight: 500; }
