/* Wariant „toy” (29.10, ?theme=toy): powierzchnie interfejsu to sprite'y 9-slice z web/toy/*.webp (grafika wygenerowana w ChatGPT, cięta tools/toy_assets.py): jednolity czarny kontur ~8 px,
   ścięte narożniki, nity, płaskie fasety. Każda reguła z prefiksem html.own-toy (bez klasy nic nie robi). Pod spodem zostaje motyw Brawl (own_theme.css): czcionka Lilita One, kontur liter, układ. */
html.own-toy {
  --own-ink: #0d0d14;
  --own-yellow: #ffc61a; --own-orange: #f97c2d; --own-cyan: #13b6fc; --own-green: #58d32c; --own-red: #e53837; --own-violet: #5b60f4;
  --own-navy: #1b2846; --own-navy-light: #243559; --own-navy-dark: #131d36;
  --own-muted: #b9c6e4; --own-shadow: rgba(0, 0, 0, .35);
}

/* ---- wspólny mechanizm: warstwa ::before z border-image (slice … fill) pod treścią elementu; rozmiar rogów = wartość slice × --ts (skala obrysu: obrys motywu / 8 px sprite'a) ----
   --toy-img: url(), --t/--r/--b/--l: slice w pikselach sprite'a (góra / prawo / dół / lewo), --ts: skala */
html.own-toy :is([data-toy], .toy-skin) { position: relative; isolation: isolate; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
html.own-toy [data-toy]::after { display: none !important; } /* czarny obrys motywu Brawl (.own-ol::after) — obrys jest już w sprite'cie */
html.own-toy :is([data-toy], .toy-skin)::before {
  content: ""; position: absolute; inset: calc(var(--py, 0px) * -1) calc(var(--px, 0px) * -1) calc(var(--pb, var(--py, 0px)) * -1); z-index: -1; box-sizing: border-box; pointer-events: none;
  border-style: solid; border-color: transparent;
  border-width: calc(var(--ts, .5) * var(--t) * 1px) calc(var(--ts, .5) * var(--r) * 1px) calc(var(--ts, .5) * var(--b) * 1px) calc(var(--ts, .5) * var(--l) * 1px);
  border-image-source: var(--toy-img); border-image-slice: var(--t) var(--r) var(--b) var(--l) fill;
  border-image-width: calc(var(--ts, .5) * var(--t) * 1px) calc(var(--ts, .5) * var(--r) * 1px) calc(var(--ts, .5) * var(--b) * 1px) calc(var(--ts, .5) * var(--l) * 1px);
  border-image-repeat: stretch;
}
/* sprite'y: przyciski 288 × 148 (nity ~ 25 px od brzegu), kafle 329 × 304 (nity w rogach), okno 382 × 364 (pas tytułu u góry), karta 396 × 140, plakietka 255 × 89 */
html.own-toy [data-toy^="btn_"] { --t: 40; --r: 56; --b: 50; --l: 56; }
html.own-toy [data-toy="btn_yellow"], html.own-toy .toy-btn_yellow { --toy-img: url(toy/btn_yellow.webp); }
html.own-toy [data-toy="btn_cyan"], html.own-toy .toy-btn_cyan { --toy-img: url(toy/btn_cyan.webp); }
html.own-toy [data-toy="btn_green"], html.own-toy .toy-btn_green { --toy-img: url(toy/btn_green.webp); }
html.own-toy [data-toy="btn_red"], html.own-toy .toy-btn_red { --toy-img: url(toy/btn_red.webp); }
html.own-toy [data-toy="btn_gray"], html.own-toy .toy-btn_gray { --toy-img: url(toy/btn_gray.webp); }
html.own-toy [data-toy="btn_orange"], html.own-toy [data-toy="tile_orange"], html.own-toy .toy-btn_orange { --toy-img: url(toy/btn_orange.webp); --t: 62; --r: 62; --b: 62; --l: 62; }
html.own-toy [data-toy="btn_violet"], html.own-toy .toy-btn_violet { --toy-img: url(toy/btn_violet.webp); --t: 34; --r: 48; --b: 34; --l: 48; }
html.own-toy [data-toy="btn_navy"], html.own-toy .toy-btn_navy { --toy-img: url(toy/btn_navy.webp); --t: 40; --r: 60; --b: 45; --l: 60; }
html.own-toy [data-toy^="tile_"], html.own-toy .toy-tile { --t: 62; --r: 62; --b: 62; --l: 62; }
html.own-toy [data-toy="tile_cyan"], html.own-toy .toy-tile_cyan { --toy-img: url(toy/tile_cyan.webp); }
html.own-toy [data-toy="tile_yellow"], html.own-toy .toy-tile_yellow { --toy-img: url(toy/tile_yellow.webp); }
html.own-toy [data-toy="tile_green"], html.own-toy .toy-tile_green { --toy-img: url(toy/tile_green.webp); }
html.own-toy [data-toy="win"], html.own-toy .toy-win { --toy-img: url(toy/win.webp); --t: 90; --r: 44; --b: 44; --l: 44; }
html.own-toy [data-toy="card"], html.own-toy .toy-card { --toy-img: url(toy/card.webp); --t: 48; --r: 52; --b: 48; --l: 52; }
html.own-toy [data-toy="panel_tall"], html.own-toy .toy-panel_tall { --toy-img: url(toy/panel_tall.webp); --t: 75; --r: 40; --b: 40; --l: 40; }
html.own-toy [data-toy="slab"], html.own-toy .toy-slab { --toy-img: url(toy/slab.webp); --t: 36; --r: 50; --b: 36; --l: 50; }
html.own-toy [data-toy="bar_track"] { --toy-img: url(toy/bar_track.webp); --t: 30; --r: 44; --b: 30; --l: 44; }
html.own-toy [data-toy="bar_green"] { --toy-img: url(toy/bar_green.webp); --t: 26; --r: 30; --b: 26; --l: 30; }
html.own-toy [data-toy="bar_yellow"] { --toy-img: url(toy/bar_yellow.webp); --t: 26; --r: 30; --b: 26; --l: 30; }
html.own-toy [data-toy="bar_cyan"] { --toy-img: url(toy/bar_cyan.webp); --t: 26; --r: 30; --b: 26; --l: 30; }
html.own-toy [data-toy^="score_"] { --t: 50; --r: 50; --b: 50; --l: 50; }
html.own-toy [data-toy="score_blue"] { --toy-img: url(toy/score_blue.webp); }
html.own-toy [data-toy="score_yellow"] { --toy-img: url(toy/score_yellow.webp); }
html.own-toy [data-toy="score_red"] { --toy-img: url(toy/score_red.webp); }
html.own-toy [data-toy="keycap"] { --toy-img: url(toy/keycap.webp); --t: 56; --r: 56; --b: 56; --l: 56; }
html.own-toy [data-toy="timer"] { --toy-img: url(toy/timer.webp); --t: 44; --r: 62; --b: 44; --l: 62; }
html.own-toy .toy-chip_green { --toy-img: url(toy/chip_green.webp); --t: 34; --r: 48; --b: 34; --l: 48; }

/* przycisk 3D z motywu Brawl dostaje tylko hover / wciśnięcie (filter, translate) — cień i dolna krawędź są w sprite'cie */
html.own-toy .own-btn:active { box-shadow: none !important; }

/* ---- menu startowe (#card): okno + przyciski ze sprite'ów (A2 z makiety) ---- */
html.own-toy #menu { background: radial-gradient(ellipse at 50% 40%, rgba(30, 60, 140, .35), rgba(8, 14, 38, .85) 72%); }
html.own-toy #card { border: 0; background: none; box-shadow: none; border-radius: 0; padding: 40px 34px 30px; --ts: .6; }
html.own-toy #card { position: relative; isolation: isolate; }
html.own-toy #card::before, html.own-toy #card button::before, html.own-toy #card select::before {
  content: ""; position: absolute; inset: 0; z-index: -1; box-sizing: border-box; pointer-events: none;
  border-style: solid; border-color: transparent;
  border-width: calc(var(--ts) * var(--t) * 1px) calc(var(--ts) * var(--r) * 1px) calc(var(--ts) * var(--b) * 1px) calc(var(--ts) * var(--l) * 1px);
  border-image-source: var(--toy-img); border-image-slice: var(--t) var(--r) var(--b) var(--l) fill;
  border-image-width: calc(var(--ts) * var(--t) * 1px) calc(var(--ts) * var(--r) * 1px) calc(var(--ts) * var(--b) * 1px) calc(var(--ts) * var(--l) * 1px); border-image-repeat: stretch;
}
html.own-toy #card { --toy-img: url(toy/win.webp); --t: 90; --r: 44; --b: 44; --l: 44; }
html.own-toy #card button, html.own-toy #card select { position: relative; isolation: isolate; border: 0; border-radius: 0; box-shadow: none; --ts: .5; }
/* <select> nie ma pseudoelementów — sprite idzie jako border-image samego elementu BEZ „fill” (środek = zwykłe tło #243559 + strzałka, która inaczej leżałaby pod wypełnieniem sprite'a) */
html.own-toy #card select { padding: 10px 40px 10px 14px; border: 0 solid transparent; border-width: 20px 30px 22px 30px; border-image: url(toy/btn_navy.webp) 40 60 45 60 / 20px 30px 22px 30px stretch; margin: -8px 0;
  background: #243559 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M2 2l7 8 7-8' fill='none' stroke='%23ffc61a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat; background-clip: padding-box; }
html.own-toy #card select::before { content: none; }
html.own-toy #card button { padding: 14px 28px 18px; --t: 40; --r: 56; --b: 50; --l: 56; background: none; --toy-img: url(toy/btn_cyan.webp); }
html.own-toy #card button#play { --toy-img: url(toy/btn_yellow.webp); --ts: .78; padding: 12px 34px 24px; background: none; box-shadow: none; }
html.own-toy #card button#play:disabled { --toy-img: url(toy/btn_gray.webp); filter: none; }
html.own-toy #card button#settingsBtn { --toy-img: url(toy/btn_cyan.webp); background: none; box-shadow: none; }
html.own-toy #card button#lockerBtn { --toy-img: url(toy/btn_orange.webp); --t: 62; --r: 62; --b: 62; --l: 62; --ts: .36; background: none; box-shadow: none; }
html.own-toy #card button#adBtn { --toy-img: url(toy/btn_green.webp); --ts: .42; padding: 10px 26px 14px; background: none; box-shadow: none; }
html.own-toy #card button#adBtn:disabled { --toy-img: url(toy/btn_gray.webp); filter: none; }
html.own-toy #card button:active:not(:disabled) { box-shadow: none !important; }

/* ---- reszta widoków HTML: ta sama warstwa ::before z border-image; --toy-img / --t.. / --ts w regułach elementów ----
   statyczne elementy dostają position: relative (::before jest absolute), fixed zostają fixed (clickHint, toast) */
html.own-toy :is(.lk-win, .lk-root button, .lk-card, .lk-input, .own-card, .own-hbtn, .own-banner, .own-chat, .own-feedrow, .own-prompt, .own-toast, .lv-btn, .lv-inp, .lv-invite, #msg, #clickHint.on, #touchMenu) {
  isolation: isolate; background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
}
html.own-toy :is(.lk-win, .lk-root button, .lk-card, .lk-input, .own-card, .own-hbtn, .own-banner, .own-chat, .own-feedrow, .lv-btn, .lv-inp, .lv-invite, #msg) { position: relative; }
html.own-toy :is(.lk-win, .lk-root button, .lk-card, .lk-input, .own-card, .own-hbtn, .own-banner, .own-chat, .own-feedrow, .own-prompt, .own-toast, .lv-btn, .lv-inp, .lv-invite, #msg, #clickHint.on, #touchMenu)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; box-sizing: border-box; pointer-events: none; border-style: solid; border-color: transparent;
  border-width: calc(var(--ts) * var(--t) * 1px) calc(var(--ts) * var(--r) * 1px) calc(var(--ts) * var(--b) * 1px) calc(var(--ts) * var(--l) * 1px);
  border-image-source: var(--toy-img); border-image-slice: var(--t) var(--r) var(--b) var(--l) fill;
  border-image-width: calc(var(--ts) * var(--t) * 1px) calc(var(--ts) * var(--r) * 1px) calc(var(--ts) * var(--b) * 1px) calc(var(--ts) * var(--l) * 1px); border-image-repeat: stretch;
}
/* „Click to play” w hali: żółty przycisk z nitami (makieta A1) */
html.own-toy #clickHint.on { --toy-img: url(toy/btn_yellow.webp); --t: 40; --r: 56; --b: 50; --l: 56; --ts: 1; top: 37%; padding: 24px 72px 38px; font-size: 42px; text-transform: uppercase; letter-spacing: .02em; }
html.own-toy #touchMenu { --toy-img: url(toy/btn_cyan.webp); --t: 40; --r: 56; --b: 50; --l: 56; --ts: .3; }
/* komunikat, okno połączenia, banery, czat, kill feed, podpowiedzi, toasty: plakietka / karta */
html.own-toy :is(#msg, .own-banner, .own-chat, .own-feedrow, .lv-invite) { --toy-img: url(toy/slab.webp); --t: 36; --r: 50; --b: 36; --l: 50; --ts: .5; padding-left: 22px; padding-right: 22px; }
html.own-toy :is(.own-prompt, .own-toast) { --toy-img: url(toy/slab.webp); --t: 36; --r: 50; --b: 36; --l: 50; --ts: .5; }
html.own-toy .own-card { --toy-img: url(toy/win.webp); --t: 90; --r: 44; --b: 44; --l: 44; --ts: .5; padding-top: 52px; }
html.own-toy .own-feedrow { padding-top: 6px; padding-bottom: 6px; }
html.own-toy :is(.own-hbtn, .lv-btn) { --toy-img: url(toy/btn_cyan.webp); --t: 40; --r: 56; --b: 50; --l: 56; --ts: .42; padding: 8px 30px 14px !important; }
html.own-toy .own-hbtn.own-go { --toy-img: url(toy/btn_green.webp); }
html.own-toy :is(.lv-inp, .lk-input) { --toy-img: url(toy/btn_navy.webp); --t: 40; --r: 60; --b: 45; --l: 60; --ts: .36; padding-left: 22px; padding-right: 22px; }
html.own-toy .lk-root { background: rgba(8, 12, 30, .82); }
/* Locker (lk-*): okno ze sprite'a, przyciski granatowe, zakładka aktywna żółta, Close czerwony, Claim / Free / Redeem zielone */
html.own-toy .lk-win { --toy-img: url(toy/win.webp); --t: 90; --r: 44; --b: 44; --l: 44; --ts: .55; padding: 62px 40px 36px; }
html.own-toy .lk-card { --toy-img: url(toy/slab.webp); --t: 36; --r: 50; --b: 36; --l: 50; --ts: .45; padding-left: 28px; padding-right: 28px; }
html.own-toy .lk-root button { --toy-img: url(toy/btn_navy.webp); --t: 40; --r: 60; --b: 45; --l: 60; --ts: .4; padding: .55em 1.3em .75em; }
html.own-toy .lk-root .lk-tab.lk-on { --toy-img: url(toy/btn_yellow.webp); --t: 40; --r: 56; --b: 50; --l: 56; }
html.own-toy .lk-root #lkClose { --toy-img: url(toy/btn_red.webp); --t: 40; --r: 56; --b: 50; --l: 56; }
html.own-toy .lk-root :is(#lkClaim:not(:disabled), #lkFree, #lkRedeem) { --toy-img: url(toy/btn_green.webp); --t: 40; --r: 56; --b: 50; --l: 56; }
html.own-toy .lk-root button:disabled { filter: grayscale(.8) brightness(.8); }
html.own-toy .lk-skin, html.own-toy .lk-tier { border-radius: 10px; } /* karty z kolorem rzadkości zostają w stylu Brawl (obrys + pierścień koloru) */

/* klawisze podpowiedzi (#help kbd, Locker): sprite keycap zamiast półprzezroczystego chipa */
html.own-toy kbd { background: none; border: 6px solid transparent; border-image: url(toy/keycap.webp) 56 fill / 6px stretch; border-radius: 0; padding: 1px 4px; margin: 0 2px; color: #fff; line-height: 1.1; }
/* „Click to play”: pasy ostrzegawcze po bokach żółtego przycisku (makieta A1) */
html.own-toy #clickHint.on::after { content: ""; position: absolute; left: 24px; right: 24px; top: 14px; bottom: 24px; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #14141c 0 6px, #ffc61a 6px 12px) left / 34px 100% no-repeat, repeating-linear-gradient(-45deg, #14141c 0 9px, #ffc61a 9px 18px) right / 34px 100% no-repeat; }

/* ---- sprite'y D (30.10): ramki kart wg rzadkości, okrągłe przyciski, sloty gadżetów, ramki awatarów, ikony ---- */
html.own-toy [data-toy^="rar_"] { --t: 92; --r: 30; --b: 40; --l: 30; }
html.own-toy [data-toy="rar_common"] { --toy-img: url(toy/rar_common.webp); }
html.own-toy [data-toy="rar_uncommon"] { --toy-img: url(toy/rar_uncommon.webp); }
html.own-toy [data-toy="rar_rare"] { --toy-img: url(toy/rar_rare.webp); }
html.own-toy [data-toy="rar_epic"] { --toy-img: url(toy/rar_epic.webp); }
html.own-toy [data-toy="rar_legendary"] { --toy-img: url(toy/rar_legendary.webp); }
/* okrągłe i prawie kwadratowe sprite'y skalujemy w całości (bez 9-slice) */
html.own-toy :is([data-toy^="rnd_"], [data-toy^="avatar_"], [data-toy^="slot_"])::before { border: 0; border-image: none; background: var(--toy-img) center / 100% 100% no-repeat; }
html.own-toy [data-toy="avatar_yellow"] { --toy-img: url(toy/avatar_yellow.webp); }
html.own-toy [data-toy="avatar_blue"] { --toy-img: url(toy/avatar_blue.webp); }
html.own-toy [data-toy="avatar_red"] { --toy-img: url(toy/avatar_red.webp); }
html.own-toy [data-toy="avatar_gray"] { --toy-img: url(toy/avatar_gray.webp); }
html.own-toy [data-toy="slot_cyan"] { --toy-img: url(toy/slot_cyan.webp); }
html.own-toy [data-toy="slot_yellow"] { --toy-img: url(toy/slot_yellow.webp); }
html.own-toy [data-toy="slot_orange"] { --toy-img: url(toy/slot_orange.webp); }
html.own-toy [data-toy="slot_green"] { --toy-img: url(toy/slot_green.webp); }
/* ikona z lewej w obszarze padu (data-toy-icon): serce przy HP, nabój przy amunicji (makieta A3) */
html.own-toy [data-toy][data-toy-icon]::after { display: block !important; content: ""; z-index: 50; position: absolute; left: calc(var(--px, 0px) * -1 + 5px); width: calc(var(--px, 0px) - 8px);
  top: calc(var(--py, 0px) * -1 + 7px); bottom: calc(var(--py, 0px) * -1 + 7px); pointer-events: none; background: center / contain no-repeat; border: 0; }
html.own-toy [data-toy][data-toy-icon="heart"]::after { background-image: url(toy/i_heart.webp); }
html.own-toy [data-toy][data-toy-icon="bullets"]::after { background-image: url(toy/pip_on.webp); }
/* celowniki: sprite w całości (contain), dzieci rysowane przez dane (Tick_*, Dot) chowamy */
html.own-toy [data-toy^="cross_"]::before { border: 0; border-image: none; background: var(--toy-img) center / contain no-repeat; }
html.own-toy [data-toy="cross_gap"] { --toy-img: url(toy/cross_gap.webp); }
html.own-toy [data-toy="cross_dot"] { --toy-img: url(toy/cross_dot.webp); }
html.own-toy [data-toy="cross_ring"] { --toy-img: url(toy/cross_ring.webp); }
html.own-toy [data-toy="cross_brackets"] { --toy-img: url(toy/cross_brackets.webp); }
html.own-toy [data-toy^="cross_"] > * { display: none !important; }
/* menu startowe (A2): ikony przy listach wyboru i pas ostrzegawczy na Play */
html.own-toy #card select { padding-left: 50px; }
html.own-toy #card select#arena { background: url(toy/i_target.webp) left 10px center / 28px 28px no-repeat, #243559 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M2 2l7 8 7-8' fill='none' stroke='%23ffc61a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat; background-clip: padding-box; }
html.own-toy #card select#biome { background: url(toy/i_star.webp) left 10px center / 28px 28px no-repeat, #243559 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M2 2l7 8 7-8' fill='none' stroke='%23ffc61a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat; background-clip: padding-box; }
html.own-toy #card select#mode { background: url(toy/i_trophy.webp) left 10px center / 28px 28px no-repeat, #243559 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M2 2l7 8 7-8' fill='none' stroke='%23ffc61a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat; background-clip: padding-box; }
html.own-toy #card select#gadget { background: url(toy/i_bomb.webp) left 10px center / 28px 28px no-repeat, #243559 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='M2 2l7 8 7-8' fill='none' stroke='%23ffc61a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat; background-clip: padding-box; }
html.own-toy #card button#play::after { content: ""; position: absolute; right: 52px; bottom: 22px; width: 96px; height: 16px; pointer-events: none; background: repeating-linear-gradient(-45deg, #14141c 0 6px, #ffc61a 6px 12px); }
html.own-toy [data-toy="rnd_yellow"] { --toy-img: url(toy/rnd_yellow.webp); }
html.own-toy [data-toy="rnd_cyan"] { --toy-img: url(toy/rnd_cyan.webp); }
html.own-toy [data-toy="rnd_green"] { --toy-img: url(toy/rnd_green.webp); }
html.own-toy [data-toy="rnd_red"] { --toy-img: url(toy/rnd_red.webp); }
html.own-toy [data-toy="rnd_orange"] { --toy-img: url(toy/rnd_orange.webp); }
html.own-toy [data-toy="rnd_gray"] { --toy-img: url(toy/rnd_gray.webp); }
html.own-toy [data-toy^="rnd_"]:active { filter: brightness(.82); }
/* pasek poziomu w hali (A1): bez podpisu XP i nagrody pod torem (dane ich nie chowają — widok sam ustawia display) */
html.own-toy body:not(.touch) [data-n="Level"] > :is([data-n="Reward"], [data-n="Progress"]) { display: none !important; }
/* karty skórek w Locker (A4): ramki rzadkości z D1; nazwa rzadkości w pasku nagłówka karty */
html.own-toy .lk-skin { background: none !important; border: 0 !important; border-radius: 0; position: relative; isolation: isolate; --ts: .42; --t: 92; --r: 30; --b: 40; --l: 30; --toy-img: url(toy/rar_common.webp); padding: 46px 20px 26px; }
html.own-toy .lk-skin::before { content: ""; position: absolute; inset: 0; z-index: -1; box-sizing: border-box; pointer-events: none; border-style: solid; border-color: transparent;
  border-width: calc(var(--ts) * var(--t) * 1px) calc(var(--ts) * var(--r) * 1px) calc(var(--ts) * var(--b) * 1px) calc(var(--ts) * var(--l) * 1px);
  border-image-source: var(--toy-img); border-image-slice: var(--t) var(--r) var(--b) var(--l) fill;
  border-image-width: calc(var(--ts) * var(--t) * 1px) calc(var(--ts) * var(--r) * 1px) calc(var(--ts) * var(--b) * 1px) calc(var(--ts) * var(--l) * 1px); border-image-repeat: stretch; }
html.own-toy .lk-skin.lk-r-uncommon { --toy-img: url(toy/rar_uncommon.webp); }
html.own-toy .lk-skin.lk-r-rare { --toy-img: url(toy/rar_rare.webp); }
html.own-toy .lk-skin.lk-r-epic { --toy-img: url(toy/rar_epic.webp); }
html.own-toy .lk-skin:is(.lk-r-legendary, .lk-r-secret, .lk-r-mythic) { --toy-img: url(toy/rar_legendary.webp); }
html.own-toy .lk-skin .lk-rar { position: absolute; top: 7px; left: 0; right: 0; text-align: center; color: #fff !important; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; -webkit-text-stroke: 3px #0d0d14; paint-order: stroke fill; }
html.own-toy .lk-skin.lk-eq { filter: drop-shadow(0 0 5px #fff); }
/* menu startowe (A2): ikony Settings / Locker / Free coins */
html.own-toy #card :is(#settingsBtn, #lockerBtn, #adBtn)::after { content: ""; position: absolute; top: 46%; width: 30px; height: 30px; transform: translateY(-50%); pointer-events: none; background: center / contain no-repeat; }
html.own-toy #card #settingsBtn::after { left: 17%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' stroke='%230d0d14' stroke-width='1.7' stroke-linejoin='round' paint-order='stroke' fill-rule='evenodd' d='M12 8.2a3.8 3.8 0 100 7.6 3.8 3.8 0 000-7.6zM21 13.6v-3.2l-2.5-.6a7.4 7.4 0 00-.8-1.9l1.4-2.2-2.3-2.3-2.2 1.4a7.4 7.4 0 00-1.9-.8L12.9 3H9.7l-.6 2.5a7.4 7.4 0 00-1.9.8L5 4.9 2.7 7.2l1.4 2.2a7.4 7.4 0 00-.8 1.9L1 10.4v3.2l2.5.6c.2.7.5 1.3.8 1.9l-1.4 2.2 2.3 2.3 2.2-1.4c.6.3 1.2.6 1.9.8l.6 2.5h3.2l.6-2.5c.7-.2 1.3-.5 1.9-.8l2.2 1.4 2.3-2.3-1.4-2.2c.3-.6.6-1.2.8-1.9z'/%3E%3C/svg%3E"); }
html.own-toy #card #lockerBtn::after { left: 17%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' stroke='%230d0d14' stroke-width='1.7' stroke-linejoin='round' paint-order='stroke' d='M8.5 3L2.5 6.5l2.3 4.2L7 9.5V21h10V9.5l2.2 1.2 2.3-4.2L15.5 3c-.5 1.7-1.8 2.6-3.5 2.6S9 4.7 8.5 3z'/%3E%3C/svg%3E"); }
html.own-toy #card #adBtn::after { left: 7%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='4' fill='%2358d32c' stroke='%230d0d14' stroke-width='1.8'/%3E%3Cpath fill='white' stroke='%230d0d14' stroke-width='1.7' stroke-linejoin='round' paint-order='stroke' d='M9.5 7l8 5-8 5z'/%3E%3C/svg%3E"); }
/* menu startowe nad halą: plakietka poziomu (A1) wchodziłaby na logo karty — chowamy ją, dopóki karta jest otwarta; karta lekko niżej */
html.own-toy.own-menu-open body:not(.touch) :is([data-n="Level"], [data-n="Daily"], [data-n="Bottom"]) { visibility: hidden; } /* klasa own-menu-open z main.js (MutationObserver na #menu) — :has() na html kosztował ~9 ms na klatkę (pomiar 30.10) */ /* karta startowa sama na scenie jak w A2: dok i zadania wystawały spod jej dolnej krawędzi */
@media (min-height: 700px) { html.own-toy body:not(.touch) #card { zoom: 1.18; } } /* A2: karta zajmuje prawie całą wysokość (96 %), nie 75 % */
html.own-toy #card { margin-top: 26px; }
/* zadania dzienne (A1): ikona zadania w ośmiokącie z lewej strony wiersza (kolejność wierszy, nie treść zadania) */
html.own-toy body:not(.touch) [data-n="Daily"] :is([data-n="Row1"], [data-n="Row2"], [data-n="Row3"])::after { content: ""; position: absolute; left: 4px; top: 12%; height: 76%; aspect-ratio: 1; z-index: 20; pointer-events: none; background: center / contain no-repeat; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row1"]::after { background-image: url(toy/i_target.webp); }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row2"]::after { background-image: url(toy/i_bolt.webp); }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row3"]::after { background-image: url(toy/i_star.webp); }
/* liczba monet w hali (A1): duża (pole tekstu zostaje na 14 px — dopasowanie TextScaled nie biegnie dla ukrytego paska) */
html.own-toy body:not(.touch) [data-n="Top"] [data-n="main"] { font-size: 40px !important; -webkit-text-stroke: 5px #0d0d14; paint-order: stroke fill; display: flex; align-items: center; }
@media (max-height: 520px) { html.own-toy #card select { padding-left: 40px; padding-right: 28px; font-size: 13px; } } /* telefon: etykiety list (Voxel world…, Biome: auto) mieściły się tylko w 5 znakach */

/* Daily Contracts jak A1: duży napis nagłówka z grubym obrysem, nazwy zadań wersalikami */
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Header"] [data-n="Title"] { text-transform: uppercase; color: #fff !important; -webkit-text-stroke: 6px #0d0d14; paint-order: stroke fill; letter-spacing: .02em; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Rows"] [data-n="Title"] { text-transform: uppercase; color: #fff !important; -webkit-text-stroke: 3px #0d0d14; paint-order: stroke fill; }

/* Podpowiedzi klawiszy jak A1: keycap + ciemna plakietka z opisem, dwie kolumny w lewym dolnym rogu (pod panelem Daily, na lewo od docka) */
html.own-toy #help { display: grid; grid-template-columns: repeat(2, max-content); gap: 5px 10px; bottom: 36px; line-height: 1; }
html.own-toy #help br { display: none; }
html.own-toy #help .hk { display: flex; align-items: center; margin: 0; position: relative; }
html.own-toy #help kbd { z-index: 2; min-width: 30px; text-align: center; font: 400 13px "Lilita One", system-ui, sans-serif; text-transform: uppercase; padding: 5px 3px; margin: 0; -webkit-text-stroke: 0; }
html.own-toy #help .hk b { margin-left: -8px; padding: 0 9px 0 14px; font: 400 14px/1.9 "Lilita One", system-ui, sans-serif; text-transform: uppercase; color: #fff; border: 7px solid transparent; border-image: url(toy/slab.webp) 36 50 36 50 fill / 7px 10px stretch; -webkit-text-stroke: 3px #0d0d14; paint-order: stroke fill; line-height: 1.05; }
/* poniżej 1500 px dok (lewy brzeg x ≈ 328 przy 1280) zasłoniłby drugą kolumnę: zostaje jedna kolumna z czterema podstawowymi (E / Q / F pokazują i tak podpowiedzi w HUD) */
@media (max-width: 1500px) { html.own-toy #help { grid-template-columns: max-content; } html.own-toy #help .hk:nth-of-type(n+5) { display: none; } }

/* dok jak A1: podpisy wersalikami z grubym obrysem; liczba monet biała */
html.own-toy body:not(.touch) [data-n="Bottom"] :is([data-n="ItemsButton"], [data-n="ShopButton"], [data-n="BattlePassButton"], [data-n="GadgetsButton"]) [data-n="Title"] { text-transform: uppercase; font-size: 15px !important; white-space: nowrap; -webkit-text-stroke: 4px #0d0d14; paint-order: stroke fill; color: #fff !important; display: flex; align-items: center; justify-content: center; }
html.own-toy body:not(.touch) [data-n="Top"] [data-n="main"] { color: #fff !important; }

/* Kontrakty w meczu (A3): ikona portalu z lewej wiersza, nazwy wersalikami; w meczu chowamy ściągę klawiszy z hali (E / Q mają własne plakietki) */
html.own-toy body:not(.touch) [data-n="Contracts"] [data-n="Row1"]::before { content: ""; position: absolute; left: 6px; top: 8%; height: 84%; aspect-ratio: 1; z-index: 20; pointer-events: none; background: url(toy/ico_portal.webp) center / contain no-repeat; }
html.own-toy body:not(.touch) [data-n="Contracts"] [data-n="Header"] { text-transform: uppercase; -webkit-text-stroke: 5px #0d0d14; paint-order: stroke fill; }
html.own-toy body:not(.touch) [data-n="Contracts"] [data-n="Row1"] [data-n="Title"] { text-transform: uppercase; -webkit-text-stroke: 4px #0d0d14; paint-order: stroke fill; }
html.own-toy.own-in-match #help { display: none; } /* klasa own-in-match z main.js (zmiana hub / mecz) zamiast :has() na body */

/* podpowiedzi E / Q w meczu (A3): napisy wersalikami, mniejsze */
html.own-toy body:not(.touch) :is([data-n="PortalHint"], [data-n="CloseHint"]) [data-n="Label"] { text-transform: uppercase; font-size: 15px !important; -webkit-text-stroke: 4px #0d0d14; paint-order: stroke fill; }

/* karta startowa (A2): PLAY dużo większy i wersalikami, przyciski dodatkowe też */
html.own-toy body:not(.touch) #card button#play { color: #fff; font-size: 46px; text-transform: uppercase; letter-spacing: .02em; -webkit-text-stroke: 7px #0d0d14; paint-order: stroke fill; padding-top: 18px; }
html.own-toy body:not(.touch) #card :is(#settingsBtn, #lockerBtn, #adBtn) { text-transform: uppercase; font-size: 22px; -webkit-text-stroke: 5px #0d0d14; paint-order: stroke fill; }

/* okna (A4): tytuł wersalikami, grubszy obrys */
html.own-toy body:not(.touch) [data-n="Window"] [data-n="Header"] > [data-n="Title"] { text-transform: uppercase; -webkit-text-stroke: 8px #0d0d14; paint-order: stroke fill; color: #fff !important; letter-spacing: .02em; }

/* cena w sklepie (A4): biała liczba z obrysem na żółtej pigułce */
html.own-toy [data-n="RS_PricePill"] ~ [data-n="Price"] { color: #fff !important; -webkit-text-stroke: 5px #0d0d14; paint-order: stroke fill; }

/* kill feed (A3): płytka slab z hełmami drużyn i sylwetką broni */
html.own-toy .own-feedrow-toy { background: url(toy/plate_feed.webp) center / 100% 100% no-repeat !important; border: 0 !important; border-image: none !important; border-radius: 0 !important; width: 100% !important; aspect-ratio: 4.62; box-sizing: border-box; padding: 0 7% !important; gap: 4px !important; justify-content: space-between; margin: 0 0 6px auto !important; } /* płyta wiersza z A3 (plate_feed) */
/* ikony HUD wycięte z makiety A3 (mk_*): serce i cztery naboje */
html.own-toy [data-toy][data-toy-icon="heart"]::after { background-image: url(toy/mk_heart.webp); }
html.own-toy [data-toy][data-toy-icon="bullets"]::after { background-image: url(toy/mk_bullets.webp); }
/* kafle wyników FFA: hełm w kolorze kafla zamiast awatara-bota (A3) */
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Card"] [data-n="Avatar"] { background-color: transparent !important; background-size: 78% auto !important; background-position: center 38% !important; background-repeat: no-repeat !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot1"] [data-n="Avatar"], html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot4"] [data-n="Avatar"] { background-image: url(toy/h_blue.webp) !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot2"] [data-n="Avatar"] { background-image: url(toy/h_yellow.webp) !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot3"] [data-n="Avatar"], html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot5"] [data-n="Avatar"] { background-image: url(toy/h_red.webp) !important; }
/* zadania dzienne (A1): ośmiokątne ikony z makiety */
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row1"]::after { background-image: url(toy/q_flag.webp); }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row2"]::after { background-image: url(toy/q_target.webp); }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row3"]::after { background-image: url(toy/q_skull.webp); }

/* kafle wyników FFA (A3): odznaka z hełmem wycięta z makiety (badge_*), liczba zabójstw na jej płytce */
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Card"] { background: center / contain no-repeat !important; background-image: url(toy/badge_blue.webp) !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot1"] [data-n="Card"], html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot4"] [data-n="Card"] { background-image: url(toy/badge_blue.webp) !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot2"] [data-n="Card"] { background-image: url(toy/badge_yellow.webp) !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot3"] [data-n="Card"], html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Slot5"] [data-n="Card"] { background-image: url(toy/badge_red.webp) !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Card"] > :not([data-n="Dead"]) { visibility: hidden; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Card"] [data-n="Dead"] { background: none !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Card"].own-dead { filter: grayscale(.9) brightness(.55); } /* klasa z ffa_strip_view.js */
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Kills"] { left: 50% !important; width: 64% !important; top: 97px !important; height: 30px !important; transform: translate(-50%, -50%) !important; background: none !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Kills"]::before { display: none !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Kills"] span { font-size: 28px !important; color: #fff !important; -webkit-text-stroke: 6px #0d0d14; paint-order: stroke fill; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Card"] { box-shadow: none !important; border: 0 !important; outline: 0 !important; border-radius: 0 !important; }
html.own-toy body:not(.touch) [data-n="FFAStrip"] [data-n="Kills"] [data-n="Count"] { width: 100% !important; text-align: center; display: flex; justify-content: center; }

/* Locker → Weapons (A4): nazwa wersalikami, przycisk EQUIP żółty (EQUIPPED zielony) jak cena w sklepie */
html.own-toy .lk-skin > b { text-transform: uppercase; color: #fff; -webkit-text-stroke: 4px #0d0d14; paint-order: stroke fill; font-size: 14px; }
html.own-toy .lk-skin button.lk-mt { --toy-img: url(toy/btn_yellow.webp); --t: 40; --r: 56; --b: 50; --l: 56; --ts: .34; color: #fff; text-transform: uppercase; -webkit-text-stroke: 4px #0d0d14; paint-order: stroke fill; font-size: 14px; min-width: 70%; }
html.own-toy .lk-skin.lk-eq button.lk-mt, html.own-toy .lk-skin button.lk-mt:disabled { --toy-img: url(toy/btn_green.webp); filter: none; }

/* elementy wycięte z makiet: pierścień gadżetu F (A1), plakietka podpowiedzi E / Q (A3), baner pod logo karty startowej (A2) */
html.own-toy [data-toy="avatar_ring"] { --toy-img: url(toy/avatar_ring.webp); }
html.own-toy [data-toy="hint"] { --toy-img: url(toy/hint_plate.webp); --t: 30; --r: 28; --b: 30; --l: 100; }
html.own-toy body:not(.touch) :is([data-n="PortalHint"], [data-n="CloseHint"]) [data-n="Key"] { background: none !important; box-shadow: none !important; border: 0 !important; }
html.own-toy body:not(.touch) #menuLogo { background: url(toy/banner.webp) center / 100% 100% no-repeat; padding: 18px 70px 26px; box-sizing: content-box; }

/* płyty HUD wycięte z makiety A3 (tools/mock_plate.py): sprite rozciągnięty na cały element, bez 9-slice */
html.own-toy [data-toy^="plate_"]::before { border: 0; border-image: none; background: var(--toy-img) center / 100% 100% no-repeat; }
html.own-toy [data-toy="plate_hp"] { --toy-img: url(toy/plate_hp.webp); }
html.own-toy [data-toy="plate_ammo"] { --toy-img: url(toy/plate_ammo.webp); }
html.own-toy [data-toy="plate_timer"] { --toy-img: url(toy/plate_timer.webp); }
html.own-toy [data-toy="plate_contracts"] { --toy-img: url(toy/plate_contracts.webp); }
html.own-toy [data-toy="plate_hp"]::after { border: 0 !important; box-shadow: none !important; display: block !important; content: ""; position: absolute; left: 6.4%; top: 22.5%; width: 10.4%; height: 54%; z-index: 50; pointer-events: none; background: url(toy/mk_heart.webp) center / contain no-repeat; }
html.own-toy body:not(.touch) [data-n="Health"] [data-n="Fill"] { background-image: linear-gradient(rgba(255, 255, 255, .22) 0 44%, rgba(0, 0, 0, .1) 44% 100%) !important; border-radius: 0 !important; box-shadow: none !important; }
html.own-toy body:not(.touch) [data-n="Contracts"] [data-n="Row1"]::before { left: 8.1%; top: 9.6%; height: 66%; background-image: url(toy/q_portal.webp); }
html.own-toy [data-toy="plate_level"] { --toy-img: url(toy/plate_level.webp); }
html.own-toy [data-toy="plate_coins"] { --toy-img: url(toy/plate_coins.webp); }
html.own-toy body:not(.touch) [data-n="Level"] [data-n="Fill"] { background-image: linear-gradient(rgba(255, 255, 255, .2) 0 44%, rgba(0, 0, 0, .08) 44% 100%) !important; border-radius: 0 !important; box-shadow: none !important; }
html.own-toy body:not(.touch) [data-n="Level"] :is([data-n="Caption"], [data-n="NextLevel"]) { color: #fff !important; -webkit-text-stroke: 5px #0d0d14; paint-order: stroke fill; text-transform: none; }
html.own-toy [data-toy="plate_daily"] { --toy-img: url(toy/plate_daily.webp); }
html.own-toy [data-toy="plate_qrow"] { --toy-img: url(toy/plate_qrow.webp); }
html.own-toy [data-toy="plate_qreward"] { --toy-img: url(toy/plate_qreward.webp); }
html.own-toy [data-toy="plate_qtrack"] { --toy-img: url(toy/plate_qtrack.webp); }
html.own-toy body:not(.touch) [data-n="Daily"] :is([data-n="Row1"], [data-n="Row2"], [data-n="Row3"])::after { left: 4.3%; top: 8.6%; height: 74%; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Bar"] [data-n="Fill"] { top: 14% !important; height: 72% !important; border-radius: 0 !important; box-shadow: none !important; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row1"] [data-n="Fill"] { background: linear-gradient(#ff9a3a 0 45%, #f27d12 45%) !important; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row2"] [data-n="Fill"] { background: linear-gradient(#3fcdfb 0 45%, #17a5e0 45%) !important; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row3"] [data-n="Fill"] { background: linear-gradient(#7ae23b 0 45%, #55c21f 45%) !important; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row1"] [data-n="Title"], html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row2"] [data-n="Title"], html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Row3"] [data-n="Title"] { -webkit-text-stroke: 4px #0d0d14; }
html.own-toy body:not(.touch) [data-n="Daily"] :is([data-n="Row1"], [data-n="Row2"], [data-n="Row3"])[data-toy]::after { display: block !important; position: absolute; z-index: 20; aspect-ratio: 1; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: contain; width: auto; }
html.own-toy body:not(.touch) [data-n="Daily"] [data-n="Bar"] [data-n="Count"] { color: #fff !important; -webkit-text-stroke: 4px #0d0d14; paint-order: stroke fill; z-index: 12; }
html.own-toy [data-toy="dock_blue"] { --toy-img: url(toy/dock_blue.webp); }
html.own-toy [data-toy="dock_yellow"] { --toy-img: url(toy/dock_yellow.webp); }
html.own-toy [data-toy="dock_orange"] { --toy-img: url(toy/dock_orange.webp); }
html.own-toy [data-toy="dock_green"] { --toy-img: url(toy/dock_green.webp); }
html.own-toy [data-toy^="dock_"]::before { border: 0; border-image: none; background: var(--toy-img) center / 100% 100% no-repeat; }
html.own-toy body:not(.touch) [data-toy^="dock_"] > :is([data-n="Glyph"], [data-n="GlyphShadow"], [data-n="IconGlow"]) { visibility: hidden; }

/* ===== HUD „lite” w meczu (30.10, Michał: prostszy i przezroczysty): płaskie granatowe pigułki ~42 % krycia, bez ramek, nitów i pasków ostrzegawczych;
   pełne kolory tylko na liczbach, ikonach i paskach. Układ (pozycje i rozmiary elementów) zostaje z makiety A3. ?hud=full przywraca płyty. ===== */
html.own-toy.own-hud-lite.own-in-match body :is([data-toy="plate_hp"], [data-toy="plate_ammo"], [data-toy="plate_timer"], [data-toy="plate_contracts"], [data-toy="hint"], [data-toy="avatar_ring"])::before {
  background: rgba(10, 16, 32, .42) !important; border: 0 !important; border-image: none !important; box-shadow: none !important; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="plate_hp"]::before { inset: 20% 2% 20% 3% !important; border-radius: 999px; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="plate_ammo"]::before { inset: 20% 4% 20% 4% !important; border-radius: 999px; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="plate_ammo"]::after { display: block !important; content: ""; position: absolute; left: 11%; top: 24%; width: 26%; height: 52%; z-index: 50; pointer-events: none; background: url(toy/mk_bullets.webp) center / contain no-repeat; border: 0 !important; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="plate_timer"]::before { inset: 10% 16% 8% 16% !important; border-radius: 22px; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="plate_contracts"]::before { inset: 4% 3% 6% 3% !important; border-radius: 18px; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="hint"]::before { inset: 10% 0 10% 22% !important; border-radius: 999px; }
html.own-toy.own-hud-lite.own-in-match body [data-toy="avatar_ring"]::before { inset: 6% !important; border-radius: 50%; }
html.own-toy.own-hud-lite.own-in-match body :is([data-n="PortalHint"], [data-n="CloseHint"]) [data-n="Key"] { background: #fff !important; border-radius: 9px !important; color: #0d0d14 !important; box-shadow: 0 2px 0 rgba(0, 0, 0, .35) !important; }
html.own-toy.own-hud-lite.own-in-match body :is([data-n="PortalHint"], [data-n="CloseHint"]) [data-n="Key"] * { color: #0d0d14 !important; -webkit-text-stroke: 0 !important; }
html.own-toy.own-hud-lite.own-in-match body [data-n="Health"] [data-n="Track"] { background: rgba(0, 0, 0, .35) !important; border-radius: 999px !important; overflow: hidden; }
html.own-toy.own-hud-lite.own-in-match body [data-n="Health"] [data-n="Fill"] { border-radius: 999px !important; }
html.own-toy.own-hud-lite.own-in-match .own-feedrow-toy { background: rgba(10, 16, 32, .42) !important; border-radius: 999px !important; }
html.own-toy.own-hud-lite.own-in-match body [data-n="Contracts"] [data-n="Row1"] [data-n="Face"] { visibility: hidden; }
html.own-toy.own-hud-lite.own-in-match body :is([data-n="PortalHint"], [data-n="CloseHint"]) [data-n="Key"]::before { display: none !important; } /* klawisz dostawał sprite slab z heurystyki — w lite biały chip */
html.own-toy.own-hud-lite.own-in-match .own-feedrow-toy::before { display: none !important; } /* ramka sprite z ogólnej reguły .own-feedrow — w lite sama pigułka */
