/* ================================================================================================
   ПИКСЕЛЬНЫЙ ИНТЕРФЕЙС. Подключается после style.css и переопределяет вид, не трогая раскладку.
   Рамки — картинки из uikit.js (переменные --bx-*), один «пиксель» = 2×2 точки экрана.
   Фон элемента — обычный CSS-фон, обрезанный по внутренней кромке рамки (padding-box).
   ================================================================================================ */
html.pxui, html.pxui * { font-family: "Handjet", "Segoe UI", system-ui, sans-serif !important; }
html.pxui :is(h1, .roomcode, #banner, .endtitle, .box h2, .box h2 *, h1 *) { font-family: "Press Start 2P", "Handjet", monospace !important; font-weight: 400 !important; }
html.pxui body { font-size: 19px; letter-spacing: .3px; cursor: var(--cur, default); }
.pxui :is(h1, h2, h3, h4, .roomcode, .btn, #timer, .endtitle, #gold, #banner, #setpanel b, #v3hint b, summary b) { font-weight: 700; }
.pxui .small { font-size: 17px; }
.pxui :is(.btn, .card, .spell, .fac, .maps.host .mapc, .slot .x, #mini, summary, #verbtn, #upd, #help, [role=button], button, label.chk, input[type=range], input[type=checkbox], a) { cursor: var(--cur-hand, pointer); }
.pxui .btn:disabled { cursor: var(--cur, default) !important; }
img.px.ui { image-rendering: pixelated; vertical-align: -3px; }

/* --- окна */
.pxui :is(.panel, .box) { border: 10px solid transparent; border-image: var(--bx-panel) 10; border-radius: 0; background: rgba(19, 22, 34, .96); background-clip: padding-box;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; filter: drop-shadow(0 8px 0 rgba(4, 5, 10, .45)); }
.pxui .panel { padding: 22px; } .pxui #menu .panel { padding: 24px 24px 18px; } .pxui .box { padding: 18px 22px; }
.pxui #lobby .lobfoot { margin: 16px -22px -22px; padding: 12px 22px 14px; border-radius: 0; border-top: 2px solid #15111d; box-shadow: inset 0 2px 0 #414b6c; background: #171b2a; bottom: -16px; }
.pxui :is(#notes, #codex, #gmenu, #score, #end, #dmg, #help) { -webkit-backdrop-filter: none; backdrop-filter: none;
  background: repeating-conic-gradient(rgba(6, 8, 14, .82) 0 25%, rgba(6, 8, 14, .58) 0 50%) 0 0 / 4px 4px; }
.pxui .box.notes { padding: 16px 4px 10px 18px; } .pxui .box.codex { padding: 14px 4px 8px 16px; } .pxui .box.gmenu { padding: 16px 18px; }
.pxui h1, .pxui .hero h1 { font-size: 22px; line-height: 1.5; letter-spacing: 0; margin: 12px 0 10px; text-shadow: 0 4px 0 #8a5a14, 0 8px 0 #15111d; }
.pxui .roomcode { font-size: 30px; letter-spacing: 6px; padding-bottom: 8px; text-shadow: 0 4px 0 #8a5a14, 0 8px 0 #15111d; }
.pxui h3 { font-size: 20px; letter-spacing: 2px; color: #b6bfd8; }
.pxui .team h2 { font-size: 26px; text-shadow: 0 2px 0 #15111d; } .pxui .box h2 { font-size: 16px; line-height: 1.6; text-shadow: 0 2px 0 #8a5a14, 0 4px 0 #15111d; }
.pxui .endtitle { font-size: clamp(24px, 4.4vw, 40px); letter-spacing: 0; line-height: 1.5; } .pxui #banner { font-size: clamp(13px, 2.5vw, 34px); letter-spacing: 0; max-width: 96vw; }
.pxui .endtitle { text-shadow: 0 4px 0 #15111d, 0 8px 0 rgba(0, 0, 0, .5); }
.pxui .endtitle.win { animation: none; color: var(--gold); text-shadow: 0 4px 0 #8a5a14, 0 8px 0 #15111d; }
.pxui .endtitle.lose { text-shadow: 0 4px 0 #7a1f1b, 0 8px 0 #15111d; }
.pxui #banner, .pxui #banner.fury, .pxui #banner.bad, .pxui #banner.evt { text-shadow: 0 4px 0 var(--bsh, #8a5a14), 4px 0 0 #15111d, -4px 0 0 #15111d, 0 -4px 0 #15111d, 4px 4px 0 #15111d, -4px 4px 0 #15111d, 0 10px 0 #15111d; }
.pxui #banner.fury { --bsh: #7a1a0c; } .pxui #banner.bad { --bsh: #4a1640; } .pxui #banner.evt { --bsh: #6b4a0c; }
.pxui #logo { filter: drop-shadow(0 6px 0 rgba(4, 5, 10, .5)); }

/* --- тонкие рамки: подсказки, плашки боя */
.pxui :is(#tip, #pop) { border: 6px solid transparent; border-image: var(--bx-tip) 6; border-radius: 0; background-clip: padding-box; box-shadow: none; padding: 8px 10px; font-size: 17px; }
.pxui #pop::before { display: none; }
.pxui :is(.chp, #clock, #res, #hint, #net, #owners, #cards, #xcards, #spells, #fortbar, #setpanel, .helpbox, #v3hint, #crewpanel, #brstrip) { border: 6px solid transparent; border-image: var(--bx-hud) 6; border-radius: 0; background: rgba(20, 24, 37, .94); background-clip: padding-box; box-shadow: none; }
.pxui #wheelbox, .pxui #lumbox, .pxui #broodbox { border: 6px solid transparent; border-image: var(--bx-hudgold) 6; border-radius: 0; background: rgba(34, 26, 10, .94); background-clip: padding-box; padding: 12px 6px 16px 12px; }
.pxui .chp { padding: 2px 8px; } .pxui #clock { padding: 0 10px 2px; } .pxui #res { padding: 2px 10px; } .pxui #hint { padding: 1px 6px; font-size: 16px; } .pxui #net { padding: 0 6px; font-size: 16px; }
.pxui #owners { padding: 3px 6px; font-size: 16px; } .pxui #cards { padding: 4px; } .pxui #spells, .pxui #fortbar { padding: 12px 6px 4px 12px; gap: 12px; } .pxui #setpanel { padding: 10px 12px; } .pxui .helpbox { padding: 12px 16px; font-size: 18px; }
.pxui :is(.chp.mine, #hint.act, #net.warn, #v3hint) { border-image-source: var(--bx-hudgold); box-shadow: none; }
.pxui #net.bad { border-image-source: var(--bx-hudred); }
.pxui .chp .who { bottom: -17px; border-radius: 0; border: 2px solid #15111d; font-size: 14px; line-height: 13px; padding: 0 5px; }
.pxui .chp .bar { border-radius: 0; height: 14px; box-shadow: 0 0 0 2px #15111d; }
.pxui .chp .bar i { transition: width .25s steps(6); }
.pxui .t0 .bar i { background: linear-gradient(#cfe6ff 0 2px, #6fb1ff 2px 6px, #2f74e0 6px 10px, #1b3f8a 10px); }
.pxui .t1 .bar i { background: linear-gradient(#ffd9d2 0 2px, #ff8d82 2px 6px, #d6362a 6px 10px, #8a1f1b 10px); }
.pxui #pop .hpb { border-radius: 0; height: 10px; box-shadow: 0 0 0 2px #15111d; margin: 6px 2px 4px; } .pxui #pop .hpb i { background: linear-gradient(#d6ffc4 0 2px, #8be87a 2px 6px, #3fae3a 6px); }
.pxui #net i { border-radius: 0; box-shadow: 0 0 0 2px #15111d; width: 8px; height: 8px; }
.pxui #timer { font-size: 25px; line-height: 24px; } .pxui #inc { font-size: 15px; } .pxui #army, .pxui #furyline, .pxui #evline { font-size: 16px; }
.pxui #gold { font-size: 29px; text-shadow: 0 2px 0 #6b4a0c; } .pxui #income { font-weight: 700; }
.pxui #mini { border: 0; border-radius: 0; box-shadow: 0 0 0 2px #15111d, 0 0 0 4px #5d688f, 0 0 0 6px #15111d; top: 12px; right: 12px; }
.pxui #vig { background: radial-gradient(ellipse at center, transparent 58%, rgba(4, 8, 14, .42) 100%); }

/* --- кнопки */
.pxui .btn, .pxui #verbtn, .pxui #setbtn, .pxui #menubtn, .pxui #notesX, .pxui #codexX { border: solid transparent; border-width: 4px 4px 8px; border-image: var(--bx-btn) 4 4 8 4; border-radius: 0;
  background: #3d4768; background-clip: padding-box; color: var(--text); text-shadow: 0 2px 0 rgba(0, 0, 0, .5); transition: none; box-shadow: none; }
.pxui .btn { padding: 9px 14px 7px; font-size: 19px; }
.pxui :is(.btn, #verbtn, #setbtn, #menubtn, #notesX, #codexX):hover:not(:disabled) { filter: brightness(1.16); }
.pxui :is(.btn, #verbtn, #setbtn, #menubtn, #notesX, #codexX):active:not(:disabled) { border-image-source: var(--bx-btnd); background-color: #343d5b; transform: translateY(2px); filter: none; }
.pxui .btn:disabled { opacity: 1; filter: grayscale(.7) brightness(.7); }
.pxui .btn.gold, .pxui .box.gmenu .btn.primary { border-image-source: var(--bx-gold); background: #eeb640; background-clip: padding-box; color: #2a1c02; text-shadow: 0 2px 0 rgba(255, 244, 200, .55); box-shadow: none; }
.pxui .btn.gold:active:not(:disabled), .pxui .box.gmenu .btn.primary:active { border-image-source: var(--bx-goldd); background-color: #d99a22; }
.pxui .btn.gold { margin-top: 12px; } .pxui :is(.crdtabs, .brloot) .btn.gold { margin-top: 0; } .pxui .mform .btn.gold { margin: 0; padding: 12px 16px 10px; font-size: 23px; letter-spacing: .5px; }
.pxui .btn.big { font-size: 27px; padding: 10px 40px 8px; margin: 0; }
.pxui .btn.ghost { background: #262d45; background-clip: padding-box; color: #c5cce0; }
.pxui .box.gmenu .btn.danger, .pxui #pop .btn.sell.sure { border-image-source: var(--bx-danger); background: #8a2b26; background-clip: padding-box; color: #ffe1de; }
.pxui .box.gmenu .btn.danger.sure, .pxui .box.gmenu .btn.danger:hover { background: #b3362c; background-clip: padding-box; color: #fff; }
.pxui .box.gmenu .btn.danger:active { border-image-source: var(--bx-dangerd); }
.pxui .team .acts .btn { padding: 5px 6px 3px; font-size: 17px; } .pxui #pop .btn { padding: 4px 4px 2px; font-size: 16px; } .pxui #pop .btn small { font-size: 15px; }
.pxui .gmrow .btn { padding: 8px 6px 6px; font-size: 18px; } .pxui .clvl .btn { padding: 4px 10px 2px; font-size: 17px; }
.pxui #verbtn { left: 12px; bottom: 12px; padding: 4px 10px 2px; font-size: 17px; font-weight: 400; color: #c5cce0; }
.pxui #verbtn:hover { color: var(--gold); }
.pxui #setbtn, .pxui #menubtn { width: 40px; height: 42px; padding: 0; align-items: center; justify-content: center; font-size: 0; }
.pxui #setbtn, .pxui body.ingame #menubtn { display: flex; }
.pxui #setbtn .off, .pxui #setbtn.off .on { display: none; } .pxui #setbtn.off .off { display: inline; } .pxui #setbtn.off { text-decoration: none; }
.pxui #notesX, .pxui #codexX { right: 10px; top: 10px; width: 34px; height: 36px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 0; }
.pxui .mlink { padding: 6px 8px 4px; background: #2b3350; background-clip: padding-box; } .pxui .mlink:hover { background: #343e5e; background-clip: padding-box; filter: none; }
.pxui .mlink b { font-size: 19px; } .pxui .mlink small { font-size: 16px; } .pxui .mlink small i { border-radius: 0; font-size: 14px; }
.pxui .mfoot { border-top: 2px solid #15111d; box-shadow: inset 0 2px 0 #414b6c; padding-top: 16px; }
.pxui .mform .or::before, .pxui .mform .or::after { height: 2px; background: #414b6c; box-shadow: 0 2px 0 #15111d; } .pxui .mform .or { font-size: 16px; }
.pxui .mform .row .btn { padding: 8px 18px 6px; }
.pxui .k { border-radius: 0; background: #e9ecf5; color: #15111d; text-shadow: none; box-shadow: inset -2px -2px 0 #97a0b8, 0 0 0 2px #15111d; margin: 0 5px 0 3px; min-width: 18px; line-height: 16px; font-weight: 700; font-size: 16px; }
.pxui .box.gmenu .btn.primary .k { background: #fff3c9; color: #2a1c00; box-shadow: inset -2px -2px 0 #c9a04a, 0 0 0 2px #15111d; }

/* --- поля ввода, ползунки, флажки, полосы прокрутки */
.pxui input:not([type=range]):not([type=checkbox]) { border: 6px solid transparent; border-image: var(--bx-inp) 6; border-radius: 0; background: #0d1018; background-clip: padding-box; padding: 7px 9px; font-size: 20px; }
.pxui input:not([type=range]):not([type=checkbox]):focus { border-image-source: var(--bx-inpf); }
.pxui label { font-size: 17px; }
.pxui #chatin { padding: 4px 8px; font-size: 18px; }
.pxui input[type=range] { -webkit-appearance: none; appearance: none; height: 20px; background: transparent; margin-top: 2px; }
.pxui input[type=range]::-webkit-slider-runnable-track { height: 8px; background: #0d1018; box-shadow: 0 0 0 2px #15111d, inset 0 2px 0 #07080e, 0 4px 0 #414b6c; }
.pxui input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 20px; margin-top: -6px; background: #f2c14e; box-shadow: 0 0 0 2px #15111d, inset -2px -2px 0 #b9831c, inset 2px 2px 0 #fff0b0; }
.pxui input[type=range]::-moz-range-track { height: 8px; background: #0d1018; box-shadow: 0 0 0 2px #15111d; }
.pxui input[type=range]::-moz-range-thumb { width: 12px; height: 20px; border: 0; border-radius: 0; background: #f2c14e; box-shadow: 0 0 0 2px #15111d, inset -2px -2px 0 #b9831c, inset 2px 2px 0 #fff0b0; }
.pxui input[type=checkbox] { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0 2px; padding: 0; background: #0d1018; box-shadow: 0 0 0 2px #15111d, inset 2px 2px 0 #07080e, inset -2px -2px 0 #414b6c; flex: none; }
.pxui input[type=checkbox]:checked { background: #f2c14e; box-shadow: 0 0 0 2px #15111d, inset 0 0 0 4px #0d1018; }
.pxui ::-webkit-scrollbar { width: 14px; height: 14px; } .pxui ::-webkit-scrollbar-track { background: #0d1018; box-shadow: inset 2px 0 0 #15111d; }
.pxui ::-webkit-scrollbar-thumb { background: #5d688f; border: 2px solid #15111d; box-shadow: inset -2px -2px 0 #2a3250, inset 2px 2px 0 #8f9abf; } .pxui ::-webkit-scrollbar-thumb:hover { background: #7481ab; }
.pxui ::-webkit-scrollbar-corner { background: #0d1018; }

/* --- лобби */
.pxui :is(.slot, .mapc, .fac, .ccard, .chead, .gmsound) { border: 6px solid transparent; border-image: var(--bx-slot) 6; border-radius: 0; background: rgba(8, 10, 18, .5); background-clip: padding-box; box-shadow: none; transition: none; }
.pxui .slot { padding: 3px 8px; } .pxui .slot.me { outline: 0; border-image-source: var(--bx-slotgold); background-color: rgba(60, 46, 14, .5); }
.pxui .slot .nm { font-weight: 400; font-size: 20px; } .pxui .slot .nm img { margin: 0 3px; }
.pxui .mapc { padding: 4px 6px; } .pxui .mapc svg { border-radius: 0; box-shadow: 0 0 0 2px #15111d; margin: 2px; } .pxui .maps.host .mapc:hover { filter: brightness(1.2); }
.pxui .mapc.on { border-image-source: var(--bx-slotgold); background-color: rgba(70, 52, 14, .55); }
.pxui .fac { padding: 8px 10px; } .pxui .fac:hover { transform: translateY(-2px); filter: brightness(1.1); }
.pxui .fac.on { border-image-source: var(--bxo, var(--bx-slotgold)); box-shadow: none; background-color: color-mix(in srgb, var(--fc) 16%, rgba(8, 10, 18, .6)); }
.pxui .fac b { font-size: 22px; text-shadow: 0 2px 0 #15111d; } .pxui .fac .fs { border-radius: 0; border-width: 2px; font-size: 15px; }
.pxui .team { border: 6px solid transparent; border-radius: 0; background-clip: padding-box; padding: 10px; }
.pxui .team.t0 { border-image: var(--bx-blue) 6; background-color: rgba(30, 62, 120, .34); } .pxui .team.t1 { border-image: var(--bx-red) 6; background-color: rgba(120, 36, 30, .34); }
.pxui .team .empty { border-radius: 0; border: 2px dashed #59648a; }
.pxui .gmsound { padding: 0 10px 8px; }
.pxui #menuMsg, .pxui #toast, .pxui #netwarn { border: 6px solid transparent; border-image: var(--bx-hudred) 6; border-radius: 0; background: #3a1418; background-clip: padding-box; padding: 5px 12px; font-weight: 400; box-shadow: none; }
.pxui #toast.ok { border-image-source: var(--bx-hudgreen); background-color: #14301c; }
.pxui #upd { font-weight: 700; box-shadow: inset 0 -4px 0 #b9831c, 0 2px 0 #15111d; } .pxui body.ingame #upd { border-radius: 0; box-shadow: 0 0 0 2px #15111d; }

/* --- бой: карточки зданий и заклинания */
.pxui .card { border: solid transparent; border-width: 4px 4px 8px; border-image: var(--bx-card) 4 4 8 4; border-radius: 0; background: #343e5e; background-clip: padding-box; padding-top: 2px; height: 100px; transition: none; box-shadow: none; }
.pxui .card:hover { transform: translateY(-3px); filter: brightness(1.14); } .pxui .card:active { transform: translateY(1px); }
.pxui .card.special { border-image-source: var(--bx-cardsp); background-color: #6b5220; } .pxui .card.common { border-image-source: var(--bx-cardcm); background-color: #4b4272; }
.pxui .card.on { border-image-source: var(--bx-cardgold); background-color: #5b4a1c; transform: translateY(-5px); box-shadow: none; }
.pxui .card.poor { filter: grayscale(.85) brightness(.62); }
.pxui .card .key { top: 0; left: 2px; font-size: 15px; color: #c5cce0; } .pxui .card .lim { top: 0; right: 2px; font-size: 14px; }
.pxui .card .nm { font-size: 14px; padding: 0 1px; } .pxui .card .cost { font-size: 18px; line-height: 15px; text-shadow: 0 2px 0 #15111d; } .pxui .card .ic { margin-top: 8px; height: 40px; }
.pxui .spell { border: solid transparent; border-width: 6px 6px 10px; border-image: var(--bxk, var(--bx-wheel)) 6 6 10 6; border-radius: 0; background: #241d40; background-clip: padding-box; width: 62px; height: 66px; transition: none; box-shadow: none; }
.pxui .spell:hover { transform: translateY(-2px); filter: brightness(1.15); box-shadow: none; } .pxui .spell:active { transform: translateY(2px); }
.pxui .spell.on { border-image-source: var(--bx-keygold); background-color: #4a3a14; transform: translateY(-4px); box-shadow: none; }
.pxui .spell .cdv { border-radius: 0; inset: 0; }
.pxui .spell .cdt { font-size: 23px; font-weight: 700; text-shadow: 0 2px 0 #15111d, 2px 0 0 #15111d, -2px 0 0 #15111d, 0 -2px 0 #15111d; }
.pxui .spell .key { top: -16px; left: -14px; border-radius: 0; border: 0; background: #e9ecf5; color: #15111d; box-shadow: inset -2px -2px 0 #97a0b8, 0 0 0 2px #15111d; font-size: 16px; line-height: 16px; min-width: 20px; }
.pxui .spell.on .key { background: var(--gold); box-shadow: inset -2px -2px 0 #b9831c, 0 0 0 2px #15111d; }
.pxui .spell.wbtn { background: #4a3410; background-clip: padding-box; } .pxui .spell.wbtn:hover { box-shadow: none; }
.pxui .wbtn .wcost { bottom: -24px; border-radius: 0; border: 2px solid #15111d; background: #f2c14e; color: #2a1c00; font-size: 15px; line-height: 13px; }
.pxui #wheelres .wr { border-radius: 0; border-width: 2px; box-shadow: 0 0 0 2px #15111d, 0 6px 0 rgba(0, 0, 0, .4); font-size: 20px; } .pxui #wheelres .wr small { font-size: 16px; }

/* --- чат, таблицы, справочник, летопись */
.pxui #chatlog div { border-radius: 0; background: rgba(12, 14, 24, .82); border-left: 4px solid #5d688f; padding: 2px 8px 3px; font-size: 17px; }
.pxui #chat { bottom: calc(max(132px, var(--padb, 0px) + 8px) / var(--hs, 1)); width: 320px; zoom: var(--hs, 1); }
.pxui :is(.tag, .ptag, .fresh, #verbtn i, .rank, .only, .fx, .odot, #owners i, .ab, .no, table.dmg td, .cport, #owners span[data-p]) { border-radius: 0 !important; }
.pxui .ptag { font-size: 15px; box-shadow: 0 0 0 2px #15111d; } .pxui #notesBody li { grid-template-columns: 100px 1fr; font-size: 18px; gap: 12px; }
.pxui #notesBody details { border-top: 2px solid #15111d; box-shadow: inset 0 2px 0 #414b6c; } .pxui #notesBody summary b { font-size: 23px; } .pxui .pd { font-size: 16px; }
.pxui .cport { box-shadow: 0 0 0 2px #15111d; } .pxui .ccard { padding: 8px; } .pxui .chead { padding: 8px 10px; }
.pxui .cinfo { font-size: 17px; } .pxui .cinfo h4, .pxui #pop h4, .pxui #tip h4 { font-size: 21px; font-weight: 700; }
.pxui .ctab { padding: 4px 10px 2px; background: #262d45; background-clip: padding-box; box-shadow: none; }
.pxui .ctab.on { border-image-source: var(--bx-gold); background: var(--fc); background-clip: padding-box; color: #15111d; text-shadow: 0 2px 0 rgba(255, 255, 255, .3); box-shadow: none; }
.pxui table.dmg td { box-shadow: 0 0 0 2px #15111d; font-size: 19px; } .pxui table.dmg { border-spacing: 6px; }
.pxui #tip { width: 300px; } .pxui #tip .no { border-width: 2px; } .pxui .vs, .pxui .st.inc, .pxui #popFx .fx, .pxui #pop .sub2 { font-size: 16px; }
.pxui th { font-size: 16px; } .pxui table { font-size: 18px; }
.pxui .chp.hit { animation: chpHit .9s steps(4) both; }

/* --- мелкий текст: Handjet уже обычного шрифта, поэтому подписи крупнее, чем были */
.pxui :is(.cfrom, .ab, .clvl, #owners small, .wtab, .csp, .cs, .crules, .hpt, .st, #tip .d, #notesBody p, .gmnote, .cspec, .lobfoot .small, #lobHint) { font-size: 15px; }
.pxui :is(.tag, .rank, .only, .fresh, #owners b, .chp b, .mlink small i, #verbtn i) { font-size: 13px; }
.pxui .chp b { min-width: 96px; font-size: 15px; } .pxui .crules { line-height: 1.5; }
.pxui #pop { width: 290px; } .pxui #pop .ab, .pxui #tip .ab, .pxui .cinfo .ab { border-left-width: 4px; padding: 3px 8px; }
.pxui .chp b { min-width: 86px; font-size: 14px; } .pxui #evline, .pxui #furyline { font-size: 14px; } .pxui #top { gap: 10px; }
.pxui .slot .nm { white-space: nowrap; min-width: 0; }
.pxui #top .chp b { min-width: 86px; font-size: 14px; }
.pxui { scrollbar-color: #5d688f #0d1018; }
@supports selector(::-webkit-scrollbar) { .pxui { scrollbar-color: auto; } }

/* --- читаемость мелкого текста (docs/ui-rules.md, «Шрифт»). У Handjet ширина букв от толщины не зависит, поэтому толщина раскладку не двигает.
   Обычный текст — 500 вместо 400; всё, что мельче 17px, — 600 (иначе штрих тоньше точки экрана и буква сереет); мельче 15px текста нет. */
html.pxui body { font-weight: 500; }
.pxui :is(.cfrom, .ab, .clvl, #owners small, .wtab, .csp, .cs, .crules, .hpt, .st, #tip .d, #notesBody p, .gmnote, .cspec, .lobfoot .small, #lobHint, #inc, #v3hint, .hs, #menuMsg, #setpanel label, .gmsound label, #net, #netwarn small, .team .empty, #hint, .pd, .fac .fs, .mlink small, #pop .btn small, #wheelres .wr small, .or, #fhint .fhx, .fupt .d, .fupc, th, .vs, .sub2, #popFx .fx) { font-size: 16px; font-weight: 600; }
.pxui :is(.tag, .rank, .only, .fresh, #owners b, .mlink small i, #verbtn i, #tip .no, #blastn, .card .nm, .card .lim, .chp .who, #upd, #upd small, .ptag, #evline, #furyline) { font-size: 15px; font-weight: 700; }
.pxui #top .chp b, .pxui .chp b { font-size: 15px; } .pxui .card .nm { font-weight: 600; }
.pxui :is(#chatlog div, .cinfo, .team .acts .btn, #pop, #tip) { font-weight: 600; }
.pxui .card .nm { font-size: 14px; font-weight: 700; } .pxui #verbtn { font-weight: 600; }
.pxui :is(#toast, .slot .nm, #army, #owners span) { font-weight: 600; }

/* режим «Выводок»: читаемость мелкого текста — те же размеры, что у остальных мелких подписей */
.pxui :is(.gch small, .brped small, .brpart, .crdfoot .small, .brgo .small) { font-size: 15px; font-weight: 600; }
.pxui :is(.brsp em, .gch em, #brstrip > b) { font-size: 15px; font-weight: 700; }
.pxui .brsp { border-radius: 0; }
