/*
  Część elementów jest oparta na Uiverse.io (licencja MIT, Copyright (c) 2023 Uiverse.io):
  pola logowania z ikonami: Praashoo7 (brave-moose-56), przycisk z rolowanym napisem: KINGFRESS (giant-deer-25),
  obramowanie pól: alexruix (slippery-snail-18), przełącznik: gharsh11032000 (green-liger-89),
  loader: JkHuger (ugly-shrimp-50), uniesienie przycisku: McHaXYT (fresh-turkey-35).
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software
  and associated documentation files, to deal in the Software without restriction (MIT License).
*/
:root {
  --bg: #07080b;
  --side: #0b0c11;
  --card: #111319;
  --card-2: #161820;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fill: rgba(255, 255, 255, .05);
  --fill-2: rgba(255, 255, 255, .09);
  --text: #eceef3;
  --muted: #959bab;
  --dim: #646a79;
  --blue: #3d6dff;
  --blue-hi: #5b85ff;
  --blue-soft: rgba(61, 109, 255, .14);
  --ice: #b9c9ff;
  --ok: #30d158;
  --warn: #ff9f0a;
  --bad: #ff453a;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; border-radius: 6px; }
.ic { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); font-size: .9em; }
.nowrap { white-space: nowrap; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.boot-text { color: var(--muted); }
.boot { flex-direction: column; gap: 18px; }

/* loader (JkHuger) */
.pix { display: grid; grid-template-columns: repeat(3, 9px); gap: 6px; }
.pix i { width: 9px; height: 9px; border-radius: 2px; background: var(--ice); animation: pix 675ms ease-in-out infinite; }
.pix i:nth-child(1) { animation-direction: alternate; }
.pix i:nth-child(2) { animation-delay: 75ms; animation-direction: alternate; }
.pix i:nth-child(3) { animation-delay: 150ms; }
.pix i:nth-child(4) { animation-delay: 225ms; }
.pix i:nth-child(5) { animation-delay: 300ms; background: var(--blue-hi); }
.pix i:nth-child(6) { animation-delay: 375ms; }
.pix i:nth-child(7) { animation-delay: 450ms; }
.pix i:nth-child(8) { animation-delay: 525ms; }
.pix i:nth-child(9) { animation-delay: 600ms; }
@keyframes pix { from { opacity: 0; } to { opacity: 1; } }

/* pola z ikona (Praashoo7) */
.pill { display: flex; align-items: center; gap: 11px; height: 50px; padding: 0 18px; border-radius: 999px; background: #111217; border: 1px solid transparent; box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .65); transition: border-color .2s, box-shadow .2s; cursor: text; }
.pill + .pill { margin-top: 12px; }
.pill .ic { width: 18px; height: 18px; color: var(--muted); transition: color .2s; }
.pill input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font-size: 15px; }
.pill input::placeholder { color: #6e7383; }
.pill:focus-within { border-color: rgba(61, 109, 255, .55); box-shadow: inset 2px 5px 10px rgba(0, 0, 0, .65), 0 0 0 3px rgba(61, 109, 255, .14); }
.pill:focus-within .ic { color: var(--ice); }
.pill.is-off { opacity: .6; cursor: default; }

/* przycisk z rolowanym napisem (KINGFRESS) */
.btn-roll { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15.5px; overflow: hidden; transition: background .2s, box-shadow .25s, transform .25s ease-out; }
.btn-roll:hover:not(:disabled) { background: var(--blue-hi); box-shadow: 0 12px 26px rgba(61, 109, 255, .38); transform: translateY(-2px); }
.btn-roll:disabled { opacity: .6; cursor: default; }
.btn-roll .row { display: flex; }
.btn-roll .row.b { position: absolute; }
.btn-roll .row span { display: inline-block; transition: transform .35s cubic-bezier(.4, 0, .2, 1); transition-delay: calc(var(--i) * 22ms); }
.btn-roll .row.b span { transform: translateY(-2.6em); }
.btn-roll:hover:not(:disabled) .row.a span { transform: translateY(2.6em); }
.btn-roll:hover:not(:disabled) .row.b span { transform: translateY(0); }

/* przelacznik (gharsh11032000) */
.sw-row { display: flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; user-select: none; }
.switch { position: relative; display: inline-block; flex: none; width: 2.9em; height: 1.65em; font-size: 15px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.slider { position: absolute; inset: 0; border-radius: 50px; background: rgba(255, 255, 255, .14); transition: all .4s cubic-bezier(.175, .885, .32, 1.275); }
.slider::before { content: ""; position: absolute; inset: 0; width: 1.65em; height: 1.65em; border-radius: 50px; background: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); transform: scale(.82); transition: all .4s cubic-bezier(.175, .885, .32, 1.275); }
.switch input:checked + .slider { background: var(--blue); }
.switch input:checked + .slider::before { transform: translateX(1.25em) scale(.82); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px rgba(61, 109, 255, .35); }
.switch input:disabled + .slider { opacity: .35; }
.sw-row:has(input:disabled) { cursor: not-allowed; color: var(--dim); }

/* podpowiedzi */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 40;
  padding: 6px 10px; border-radius: 8px; background: #20222b; border: 1px solid var(--line-2); color: var(--text);
  font: 500 12.5px/1.3 var(--font); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 4px) scale(.96); transition: opacity .15s, transform .15s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0) scale(1); }
td.actions [data-tip]::after, .rows [data-tip]::after { left: auto; right: 0; transform: translate(0, 4px) scale(.96); }
td.actions [data-tip]:hover::after, .rows [data-tip]:hover::after { transform: translate(0, 0) scale(1); }
.sw-row[data-tip]::after { left: 0; transform: translate(0, 4px); }
.sw-row[data-tip]:hover::after { transform: translate(0, 0); }

/* przyciski i pola */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  background: var(--fill); border: 1px solid var(--line-2);
  transition: background .15s, border-color .15s, color .15s, opacity .15s, transform .25s ease-out, box-shadow .25s ease-out;
}
.btn:hover { background: var(--fill-2); }
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.btn:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hi); border-color: var(--blue-hi); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 22px rgba(61, 109, 255, .35); }
.btn-danger { color: #ff8a82; border-color: rgba(255, 69, 58, .35); background: rgba(255, 69, 58, .07); }
.btn-danger:hover { background: rgba(255, 69, 58, .15); }
.btn-solid-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-solid-danger:hover { background: #ff6259; }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13.5px; border-radius: 7px; }
.btn-sm .ic { width: 15px; height: 15px; }
.btn-icon { width: 32px; padding: 0; }
.btn-block { width: 100%; height: 44px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field + .field { margin-top: 14px; }
.field label, .label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; height: 42px; padding: 0 13px; border-radius: 11px;
  background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(255, 255, 255, .16); outline: 0;
  transition: border-color 150ms cubic-bezier(.4, 0, .2, 1), background 150ms, box-shadow 150ms;
}
textarea.input { height: auto; min-height: 88px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
select.input option { background: #16181f; }
.input:focus { border-color: var(--blue); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 3px rgba(61, 109, 255, .16); }
.field label { transition: color 150ms; }
.field:focus-within label { color: var(--ice); }
.input::placeholder { color: var(--dim); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.search { position: relative; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.search .input { padding-left: 38px; }

.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--fill); border: 1px solid var(--line); }
.seg button { height: 30px; padding: 0 13px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.seg button:hover { color: var(--text); }
.seg button.on { background: rgba(255, 255, 255, .12); color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--fill-2); color: var(--muted); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.ok { background: rgba(48, 209, 88, .12); color: #5fe083; }
.chip.bad { background: rgba(255, 69, 58, .12); color: #ff8a82; }
.chip.warn { background: rgba(255, 159, 10, .12); color: #ffb84d; }
.chip.blue { background: var(--blue-soft); color: var(--ice); }

/* logowanie */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(60% 50% at 50% 30%, rgba(61, 109, 255, .12), transparent 70%), var(--bg); }
.auth-box { width: 100%; max-width: 380px; }
.auth-logo { display: block; width: 170px; margin: 0 auto 18px; }
.auth-card {
  padding: 30px 28px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(rgba(30, 30, 34, .82), rgba(20, 21, 25, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px rgba(0, 0, 0, .4);
}
.auth-card h1 { font-family: var(--head); font-size: 26px; font-weight: 700; }
.auth-card .sub { margin: 6px 0 24px; color: var(--muted); font-size: 14.5px; }
.auth-card .btn-block { margin-top: 22px; }
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 69, 58, .1); color: #ff8a82; font-size: 14px; }
.auth-foot { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--dim); }
.auth-foot a:hover { color: var(--text); }

/* uklad */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--side); border-right: 1px solid var(--line); padding: 18px 12px 14px; overflow-y: auto; }
.side-logo { display: block; padding: 0 8px 14px; }
.side-logo img { height: 42px; width: auto; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label { margin: 16px 10px 6px; font-size: 12px; font-weight: 600; color: var(--dim); }
.side-nav a { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 8px; color: #b4b9c6; font-weight: 500; transition: background .12s, color .12s; }
.side-nav a:hover { background: var(--fill); color: var(--text); }
.side-nav a.on { background: var(--blue-soft); color: #fff; }
.side-nav a.on .ic { color: var(--ice); }
.side-nav .count { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.side-me { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.side-me b { display: block; font-weight: 600; }
.side-me span { font-size: 13px; color: var(--muted); }
.side-me nav { display: flex; gap: 6px; margin-top: 10px; }
.side-me nav a, .side-me nav button { flex: 1; }

.main { min-width: 0; display: flex; flex-direction: column; }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 28px; background: rgba(7, 8, 11, .94); border-bottom: 1px solid var(--line); }
.bar h1 { font-family: var(--head); font-size: 24px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 8px; align-items: center; justify-content: center; background: var(--fill); border: 1px solid var(--line); }
.view { padding: 24px 28px 48px; }

/* karty */
.card { border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.card-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-family: var(--head); font-size: 19px; font-weight: 600; }
.card-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-body { padding: 18px; }
.card + .card { margin-top: 18px; }
.grid-2 > .card, .grid-side > .card { margin-top: 0; }
.grid-2 > *, .grid-side > * { min-width: 0; }
.inline-form { display: flex; gap: 10px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grid-side { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.stack > * + * { margin-top: 18px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.stat p { font-size: 13.5px; color: var(--muted); }
.stat b { display: block; margin-top: 4px; font-family: var(--head); font-size: 30px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 18px; color: var(--muted); font-weight: 600; }

/* tabele */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-weight: 600; font-size: 13px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: rgba(255, 255, 255, .03); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub { display: block; font-size: 13px; color: var(--muted); }
td.actions { text-align: right; white-space: nowrap; }
td.long { overflow-wrap: anywhere; min-width: 220px; }
td.actions .btn + .btn { margin-left: 6px; }
.empty { padding: 34px 18px; text-align: center; color: var(--muted); }

/* lista wierszy */
.rows > li { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 0; }
.rows .grow { flex: 1; min-width: 0; }
.rows .sub { font-size: 13px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); }
.kv > div { display: contents; }
.kv dt, .kv dd { margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.kv dt { display: flex; align-items: center; color: var(--muted); font-size: 14px; padding-right: 0; }
.kv dd { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; }
.kv dd .btn { margin-left: auto; }
.kv > div:last-child dt, .kv > div:last-child dd { border-bottom: 0; }

/* gracz */
.player-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 24px; margin-bottom: 18px; }
.player-head h2 { font-family: var(--head); font-size: 32px; font-weight: 700; line-height: 1.05; }
.player-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.copy { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.copy:hover { color: var(--text); }
.copy .ic { width: 14px; height: 14px; }
.player-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { position: relative; height: 46px; padding: 0 12px; font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: #fff; }
.tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--blue); }
.tabs button small { margin-left: 4px; color: var(--dim); font-weight: 500; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.toolbar .right { margin-left: auto; display: flex; gap: 8px; }
.slot { width: 34px; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.lic { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; }

/* konsola */
.console { height: calc(100vh - 230px); min-height: 320px; overflow-y: auto; padding: 14px 16px; border-radius: 12px; background: #040506; border: 1px solid var(--line); font: 13px/1.55 var(--mono); }
.console p { white-space: pre-wrap; word-break: break-word; }
.console .t { color: var(--dim); margin-right: 8px; }
.console .ch { color: #7d93d6; margin-right: 6px; }
.console-input { display: flex; gap: 10px; margin-top: 12px; }
.console-input .input { font-family: var(--mono); font-size: 14px; }

/* skrypty */
.res-name { font-weight: 600; }
.res-cat { font-size: 13px; color: var(--dim); }

/* role */
.perm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }

/* modal */
.modal-back { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .6); animation: fade .15s ease; }
.modal {
  width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto;
  border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(rgba(32, 32, 36, .98), rgba(22, 23, 27, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .5);
  animation: pop .18s ease;
}
.modal.wide { max-width: 980px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; }
.modal-head h3 { font-family: var(--head); font-size: 22px; font-weight: 700; }
.modal-head button { margin-left: auto; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.modal-head button:hover { background: var(--fill); color: var(--text); }
.modal-body { padding: 16px 20px 4px; }
.modal-body p.text { color: #c9cdd6; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 20px 20px; }
.modal img.shot { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* powiadomienia */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 380px; padding: 11px 14px; border-radius: 10px; background: #1c1e25; border: 1px solid var(--line-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); font-size: 14.5px; animation: pop .18s ease; }
.toast .ic { color: var(--ok); }
.toast.err .ic { color: var(--bad); }

.loading { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 44px 20px; color: var(--muted); }
.note-text { white-space: pre-wrap; }

@media (max-width: 1200px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-side { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 70; width: 260px; transform: translateX(-100%); transition: transform .2s ease; }
  .shell.nav-open .side { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
  .menu-btn { display: inline-flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .bar { padding: 10px 16px; }
  .view { padding: 18px 16px 40px; }
  .perm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat b { font-size: 24px; }
  .row-2 { grid-template-columns: 1fr; }
  .bar h1 { font-size: 20px; }
  .bar-actions .btn .t { display: none; }
  .bar-actions .btn { padding: 0 10px; }
  .player-actions .btn { flex: 1 1 auto; }
  .kv { grid-template-columns: 110px minmax(0, 1fr); }
  .player-head h2 { font-size: 26px; }
}
