/* Noční vzhled panelu. Zrušení: odebrat tento soubor z index.html. */
html:root, html body { --bg: #07080c; --panel: #0b0d13; --panel-2: #11141c; --border: rgb(148 163 200 / .12); --border-strong: rgb(148 163 200 / .2); --text: #eef1f8; --muted: #8b93a7; --accent: #3d8bfd; --radius: 12px; --sidebar-surface: #090a10; }
html body, html body .shell, html body .content, html body .workspace-shell { background-color: var(--bg) !important; }
html body .shell :is(aside, .sidebar) { background: var(--sidebar-surface) !important; border-color: var(--border) !important; }
html body .shell :is(.card, .stat, .stat-row) { background: var(--panel) !important; border-color: var(--border) !important; box-shadow: none !important; }
html body .shell .stat-row { gap: 10px; background: transparent !important; border: 0 !important; }
html body .shell .stat-row > .stat { border: 1px solid var(--border) !important; border-radius: var(--radius) !important; }
html body .shell .card { border-radius: var(--radius) !important; }
html body .shell .input, html body .modal .input { background: var(--panel-2) !important; border-color: var(--border) !important; }
html body .modal, html body .modal-card { background: var(--panel) !important; border: 1px solid var(--border-strong) !important; }
.fs-exp { display: grid; gap: .35rem; margin: .6rem 0; padding: .65rem .75rem; border: 1px solid rgb(245 180 60 / .35); border-radius: 10px; background: rgb(245 180 60 / .07); font-size: .8rem; }
.fs-exp p { margin: 0; color: var(--muted); }
.fs-exp code { display: block; user-select: all; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .74rem; }

/* Animace */
@keyframes night-rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
html body .shell .view-enter > * { animation: night-rise .5s cubic-bezier(.22, 1, .36, 1) backwards; }
html body .shell .view-enter > :nth-child(2) { animation-delay: .06s; }
html body .shell .view-enter > :nth-child(3) { animation-delay: .12s; }
html body .shell .view-enter > :nth-child(n+4) { animation-delay: .18s; }
html body .shell .stat-row > .stat { animation: night-rise .45s cubic-bezier(.22, 1, .36, 1) backwards; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
html body .shell .stat-row > .stat:nth-child(2) { animation-delay: .05s; }
html body .shell .stat-row > .stat:nth-child(3) { animation-delay: .1s; }
html body .shell .stat-row > .stat:nth-child(4) { animation-delay: .15s; }
html body .shell .stat-row > .stat:nth-child(5) { animation-delay: .2s; }
html body .shell .stat-row > .stat:hover { transform: translateY(-3px); border-color: rgb(69 153 255 / .4) !important; box-shadow: 0 14px 30px -18px rgb(69 153 255 / .7) !important; }
html body .shell .card { transition: border-color .25s ease; }
html body .shell .card:hover { border-color: rgb(69 153 255 / .28) !important; }
html body .shell :is(aside, .sidebar) :is(a, button) { transition: transform .18s ease, background-color .18s ease, color .18s ease; }
html body .shell :is(aside, .sidebar) a:hover { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { html body .shell *, html body .modal * { animation: none !important; transition: none !important; } }

/* Černé pozadí jako na hlavní stránce: hvězdy (stars.js) prosvítají panelem, k tomu jemná mřížka */
html:root, html body { --bg: var(--theme-bg); --panel: #0a0b10; --panel-2: #101218; --accent: #4599ff; --theme-primary: #4599ff; --sidebar-surface: #07080c; --border: rgb(255 255 255 / .08); --border-strong: rgb(255 255 255 / .14); }
html, html body { background-color: var(--theme-bg) !important; }
html body .shell { position: relative; background: transparent !important; }
html body .content, html body .workspace-shell, html body .content-inner, html body .shell :is(main, .main, header, .topbar) { background: transparent !important; }
html body .shell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44rem; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 3.5rem 3.5rem; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 55% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 55% 20%, #000, transparent 75%); }
html body .shell :is(aside, .sidebar) { background: rgb(32 32 32 / .92) !important; }
html body .shell :is(.card, .stat-row > .stat) { background: rgb(32 32 32 / .9) !important; }
html body .shell .stat-row { background: transparent !important; }

/* Paleta a font od majitele */
@font-face { font-family: "Lexend"; font-weight: 100 900; font-display: swap; src: url("/lexend-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Lexend"; font-weight: 100 900; font-display: swap; src: url("/lexend-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
html:root, html body { --theme-primary: #4599FF; --theme-primary-foreground: #fafafa; --theme-bg: #171717; --theme-card: #202020; --theme-text: #f5f5f5; --theme-muted-foreground: #a6a6a6; --theme-border: #333333; --theme-muted: #242424; --theme-chart-1: #4599FF; --theme-chart-2: #71b1ff; --theme-font: "Lexend", sans-serif; --theme-radius: 0.625rem;
  --bg: var(--theme-bg); --panel: var(--theme-card); --panel-2: var(--theme-muted); --text: var(--theme-text); --muted: var(--theme-muted-foreground); --border: var(--theme-border); --border-strong: #404040; --accent: var(--theme-primary); --radius: var(--theme-radius); --sidebar-surface: var(--theme-card); --font: var(--theme-font); }
html body, html body :is(button, input, select, textarea, h1, h2, h3, h4) { font-family: var(--theme-font) !important; }
html body :is(.shell, .modal) :is(.btn, .card, .input), html body .shell .stat-row > .stat, html body .modal { border-radius: var(--theme-radius) !important; }
html body :is(.shell, .modal, .modal-bg) *:not(code, pre, .mono, .mono *, code *, pre *) { font-family: var(--theme-font) !important; }

/* Komponenty: ploché, jemné okraje */
html body :is(.shell, .modal) .btn { height: 36px !important; min-height: 36px !important; padding: 0 14px !important; gap: 8px; border-radius: 8px !important; font-size: 13px !important; font-weight: 500 !important; background: transparent !important; border: 1px solid rgb(255 255 255 / .1) !important; color: var(--theme-text) !important; box-shadow: none !important; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease !important; }
html body :is(.shell, .modal) .btn.block { width: 100%; }
html body :is(.shell, .modal) .btn.sm { height: 30px !important; min-height: 30px !important; padding: 0 10px !important; font-size: 12px !important; }
html body :is(.shell, .modal) .btn:not(:disabled):hover { background: var(--theme-muted) !important; transform: none !important; }
html body :is(.shell, .modal) .btn:not(:disabled):active { transform: scale(.98) !important; }
html body :is(.shell, .modal) .btn.primary { background: var(--theme-primary) !important; border-color: transparent !important; color: var(--theme-primary-foreground) !important; }
html body :is(.shell, .modal) .btn.primary:not(:disabled):hover { background: rgb(69 153 255 / .85) !important; }
html body :is(.shell, .modal) .btn:is(.danger, .danger-outline) { background: rgb(239 68 68 / .15) !important; border-color: rgb(239 68 68 / .3) !important; color: #ef4444 !important; }
html body :is(.shell, .modal) .btn:is(.danger, .danger-outline):not(:disabled):hover { background: rgb(239 68 68 / .25) !important; }
html body :is(.shell, .modal) .btn:disabled { opacity: .5; }
html body .shell :is(.cf-key, .cf-all, .icon-btn) { border-radius: 8px !important; background: transparent; border: 1px solid transparent; color: var(--theme-muted-foreground); transform: none; box-shadow: none; transition: background-color .15s ease, color .15s ease; }
html body .shell :is(.cf-key, .cf-all, .icon-btn):hover { background: var(--theme-muted); color: var(--theme-text); transform: none; box-shadow: none; }
html body :is(.shell, .modal) :is(input.input, select.input, textarea.input, .cs-btn) { border-radius: 8px !important; background: rgb(36 36 36 / .4) !important; border: 1px solid rgb(255 255 255 / .1) !important; transition: border-color .15s ease, background-color .15s ease; }
html body :is(.shell, .modal) :is(input.input, textarea.input, .cs-btn):focus-visible { border-color: rgb(69 153 255 / .6) !important; background: rgb(36 36 36 / .6) !important; outline: none; }
html body :is(.cf-tabs, .seg, .bt-filter) { background: var(--theme-muted) !important; border: 0 !important; border-radius: 10px !important; padding: 3px !important; }
html body :is(.cf-tabs, .seg, .bt-filter) > button { border-radius: 8px !important; font-size: 12px !important; }
html body :is(.cf-tabs, .seg, .bt-filter) > button.on, html body .bt-filter > button[aria-pressed="true"] { background: var(--theme-bg) !important; }
html body .cf-tabs > .cf-ind { background: var(--theme-bg) !important; border: 1px solid rgb(255 255 255 / .1) !important; box-shadow: none !important; }
html body :is(.shell, .modal) .switch i { box-sizing: border-box; width: 36px !important; height: 20px !important; border: 0 !important; border-radius: 999px !important; background: var(--theme-muted) !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1) !important; transition: background-color .18s ease !important; }
html body :is(.shell, .modal) .switch i::after { width: 14px !important; height: 14px !important; top: 3px !important; left: 3px !important; border-radius: 50% !important; background: var(--theme-text) !important; box-shadow: none !important; transform: none; transition: transform .18s ease !important; }
html body :is(.shell, .modal) .switch input:checked + i { background: var(--theme-primary) !important; box-shadow: none !important; }
html body :is(.shell, .modal) .switch input:checked + i::after { transform: translateX(16px) !important; background: #fff !important; }
html body .shell :is(.card, .stat-row > .stat) { border-radius: 14px !important; border-color: rgb(255 255 255 / .07) !important; }
html body .shell .badge { border-radius: 999px; font-size: 11px; font-weight: 500; }
html body .modal, html body .modal-card { border-radius: 14px !important; background: var(--theme-bg) !important; border-color: rgb(255 255 255 / .1) !important; padding-block: 20px; animation: ui-pop .22s cubic-bezier(.34, 1.4, .5, 1) both !important; }
html body .cs-menu { border-radius: 10px; background: var(--theme-card); border: 1px solid rgb(255 255 255 / .1); animation: ui-pop .14s ease-out; }
@keyframes ui-pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
html body .modal textarea.input { min-height: 72px; }

/* Rozbalovací nabídky: jeden styl pro selecty, účet, jazyky a mapu */
html body :is(.cs-menu, .user-menu), html body .shell :is(.auth-lang-menu, .lm-pop) { padding: 4px !important; border-radius: 10px !important; background: #202020 !important; border: 1px solid rgb(255 255 255 / .1) !important; box-shadow: 0 10px 30px rgb(0 0 0 / .45) !important; backdrop-filter: none !important; font-family: Lexend, sans-serif; }
html body .shell .lm-pop { padding: 12px !important; }
html body .cs-menu .cs-opt, html body .user-menu :is(a, button[role=menuitem]), html body .shell .auth-lang-menu button { min-height: 32px; padding: 6px 8px !important; border-radius: 6px !important; font-size: 13px !important; font-weight: 400 !important; color: #f5f5f5; background: transparent !important; transform: none !important; transition: background-color .12s ease; }
html body .cs-menu .cs-opt + .cs-opt { margin-top: 2px; }
html body .cs-menu .cs-opt:is(.act, :hover), html body .user-menu :is(a, button[role=menuitem]):hover, html body .shell .auth-lang-menu button:hover { background: #2c2c2c !important; }
html body .cs-menu .cs-opt.sel, html body .shell .auth-lang-menu button[aria-checked="true"] { background: #242424 !important; color: #f5f5f5; }
html body .cs-menu .cs-opt.sel:hover { background: #2c2c2c !important; }
html body .cs-menu .cs-opt svg { color: #4599FF; width: 14px; height: 14px; }
html body .user-menu .danger:hover { background: rgb(239 68 68 / .15) !important; }
html body :is(.cs-menu, .user-menu), html body .shell .auth-lang-menu:not([hidden]) { animation: ui-pop .14s ease-out both; }
html body .cs-menu.out { animation: cs-out .12s ease-in both; }

/* Kicky a Varování: karta bez pozadí jako u banů, prázdný stav ve vlastním rámečku */
html body .shell .card:is(:has(> #plist), :has(> #blist), :has(> #klist)), html body .shell .card:is(:has(> #plist), :has(> #blist), :has(> #klist)):hover { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html body .shell :is(#blist, #klist) > .empty { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 220px; border-radius: 14px; background: #202020; border: 1px solid rgb(255 255 255 / .07); color: var(--theme-muted-foreground); }
html body .shell :is(#blist, #klist) > .empty > svg { box-sizing: content-box; width: 22px; height: 22px; padding: 12px; border-radius: 12px; background: rgb(69 153 255 / .1); border: 1px solid rgb(69 153 255 / .25); color: #4599FF; opacity: 1; margin: 0; }

/* Dialog admina */
html body .modal.adm-modal { width: min(32rem, 100%); padding: 0 !important; }
html body .adm-modal .adm-dh { padding: 18px 20px 14px; border-bottom: 1px solid rgb(255 255 255 / .07); }
html body .adm-modal .adm-dico { background: rgb(69 153 255 / .1); border: 1px solid rgb(69 153 255 / .25); border-radius: 10px; color: #4599FF; }
html body .adm-modal .adm-body { padding: 14px 20px 18px; gap: 8px; }
html body .adm-modal .adm-body > * { flex-shrink: 0; }
html body .adm-modal .adm-lbl { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--theme-text); margin-top: 6px; }
html body .adm-modal .adm-idfield > svg { color: var(--theme-muted-foreground); }
html body .adm-modal .adm-idfield .input { height: 38px !important; border-radius: 8px !important; background: rgb(36 36 36 / .4) !important; border: 1px solid rgb(255 255 255 / .1) !important; font-size: 13px; }
html body .adm-modal .adm-idfield .input:focus { border-color: rgb(69 153 255 / .6) !important; box-shadow: none !important; }
html body .adm-modal .adm-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html body .adm-modal .adm-preset { min-height: 0; padding: 9px 10px; gap: 8px; border-radius: 8px; background: transparent; border: 1px solid rgb(255 255 255 / .1); transition: background-color .15s ease, border-color .15s ease; }
html body .adm-modal .adm-preset:not(:disabled):hover { background: #242424; }
html body .adm-modal .adm-preset[aria-pressed="true"] { background: rgb(69 153 255 / .1); border-color: rgb(69 153 255 / .5); }
html body .adm-modal .adm-preset b { font-size: 12.5px; font-weight: 500; }
html body .adm-modal .adm-preset small { font-size: 11px; }
html body .adm-modal .adm-switch { padding: 10px 12px; border-radius: 10px; background: #202020; border: 1px solid rgb(255 255 255 / .07); }
html body .adm-modal .adm-switch b { font-size: 13px; font-weight: 500; }
/* .sw z jiného panelu (grid, min. výška 25rem) roztahoval přepínač přes celé okno */
html body .adm-modal .adm-switch .sw { display: block; min-height: 0; width: 36px; height: 20px; align-self: center; background: #2c2c2c; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
html body .adm-modal .adm-switch .sw::after { width: 14px; height: 14px; left: 3px; top: 3px; }
html body .adm-modal .adm-switch input:checked + .sw { background: #4599FF; }
html body .adm-modal .adm-switch input:checked + .sw::after { transform: translateX(16px); }
html body .adm-modal .adm-foot { padding: 12px 20px; background: transparent; border-top: 1px solid rgb(255 255 255 / .07); }

/* Záložky v detailu hráče, banu a kicku: ikona nad textem, posuvná linka */
html body :is(.bd-tabs, .pd-tabs) { display: flex !important; width: 100%; gap: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid rgb(255 255 255 / .08) !important; border-radius: 0 !important; box-shadow: none !important; }
html body :is(.bd-tabs, .pd-tabs) > button { flex: 1; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px !important; height: auto !important; padding: 12px 6px !important; border-radius: 0 !important; background: transparent !important; font-size: 12px !important; font-weight: 500 !important; color: var(--theme-muted-foreground); }
html body :is(.bd-tabs, .pd-tabs) > button:is(:hover, [aria-selected="true"]) { color: var(--theme-text); }
html body :is(.bd-tabs, .pd-tabs) > button svg { width: 18px !important; height: 18px !important; }
html body :is(.bd-tabs, .pd-tabs) > button[aria-selected="true"] svg { color: #4599FF; }
html body :is(.bd-tabs, .pd-tabs) > .tab-ind { background: transparent !important; border: 0 !important; border-bottom: 2px solid #4599FF !important; border-radius: 0 !important; box-shadow: none !important; }
html body :is(.bd-tabs, .pd-tabs):not(:has(> .tab-ind)) > button[aria-selected="true"] { box-shadow: inset 0 -2px 0 #4599FF !important; }
html body .modal.ban-dialog { padding: 0 !important; }
html body .modal.ban-dialog .bd-card { background: transparent; border: 1px solid rgb(255 255 255 / .08); border-radius: 10px; padding: 12px 14px; }
html body .modal.ban-dialog .bd-card small { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
html body .modal.ban-dialog .bd-card b { font-size: 13.5px; font-weight: 500; margin-top: 4px; }

/* Okno resource: nic se neuřízne a nevznikne vodorovný posuvník */
html body .modal:has(.rs-m) { width: min(510px, 100%) !important; max-width: 100%; overflow-x: hidden; }
html body .rs-m { width: 100%; min-width: 0; }
html body .rs-m-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .rs-m header > div { min-width: 0; }
html body .modal.ban-dialog .bd .bd-tabs > .tab-ind { background: transparent !important; border: 0 !important; border-bottom: 2px solid #4599FF !important; border-radius: 0 !important; box-shadow: none !important; }

/* Výběr akce Ban / Kick / Warn s ikonami */
html body :is(.cs-btn .cs-val, .cs-opt > span):has(> svg) { display: inline-flex; align-items: center; gap: 8px; }
html body :is(.cs-btn .cs-val, .cs-opt > span) > svg { width: 14px !important; height: 14px !important; flex: none; margin: 0; opacity: 1 !important; transform: none !important; color: currentColor !important; fill: none; stroke: currentColor; }
html body .cs-menu .cs-opt:has(> span > svg) { min-width: 8.5rem; gap: 14px; }
#detections-root .cf-actnote { color: #f59e0b; }

/* Dialog Upravit */
html body .modal:has(.xd) { width: min(32rem, 100%); }
.xd h3 { margin: 0; }
.xd > .muted { margin: 4px 0 14px; }
.xd .field { margin: 0 0 12px; }
.xd .field .input, .xd .cs { width: 100%; }
.xd-label { margin: 0 0 8px; font-size: 13px; font-weight: 500; }
.xd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xd-zones { display: grid; gap: 8px; max-height: 40vh; overflow: auto; }
.xd-zone { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 6px; align-items: center; }
.xd-zone .input { width: 100%; min-width: 0; }
.xd-tools { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.xd .xd-lua { width: 100%; margin-top: 8px; }
.xd-note { margin: 12px 0 0; font-size: 12px; color: #f59e0b; }
.xd .btns { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }

/* Vyhledávání hráče */
.lkx { gap: 14px; }
.lkx .stack { gap: 12px; }
.lkx-search { padding: 22px 24px; }
.lkx-search h3 { margin: 0 0 4px; font-size: 18px; }
.lkx-search p { margin: 0 0 16px; }
.lkx-search label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.lkx-search form { display: flex; gap: 8px; }
.lkx-search .input { flex: 1; min-width: 0; height: 40px; }
html body .shell .lkx-search form .btn { height: 40px !important; }
.lkx-count { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--muted); }
html body .shell .lkx .bc.bt-gban { border-color: rgb(239 68 68 / .5) !important; }
.lkx-note { margin: 0; padding: 0 16px 14px; font-size: 13px; color: #f59e0b; }
.lkx-h { margin: 8px 0 0; font-size: 16px; }
.lkx-user { display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.lkx-user img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.lkx-user div, .lkx-created div { display: grid; gap: 2px; min-width: 0; }
.lkx-user b { font-size: 16px; }
.lkx-user span, .lkx-user small, .lkx-created small { color: var(--muted); }
.lkx-created { display: flex; align-items: center; gap: 14px; padding: 16px 24px; }
.lkx-cheats { padding: 16px 24px; }
.lkx-cheats p { margin: 0; }
.lkx-bad { color: #f87171; }
.lkx-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.lkx-row span:nth-child(2) { flex: 1; color: var(--muted); font-size: 12px; }
html body .lkx-where { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lkx-where .lkx-srv { color: inherit; }
.lkx-ban .field { margin: 0 0 12px; }
.lkx-ban .field .input, .lkx-ban .cs { width: 100%; }
@media (max-width: 640px) {
  .lkx-search form { flex-direction: column; }
}
html body .shell .lkx-search form .btn.primary { background: var(--theme-primary) !important; color: var(--theme-primary-foreground) !important; }
@media (max-width: 640px) { .lkx-search .input { flex: none; width: 100%; height: 40px !important; min-height: 40px; } }
/* záznamy ve vyhledávání pod sebou: video vlevo, údaje vpravo */
html body .lkx .bc-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
html body .lkx .bc { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; }
html body .lkx .bc-media { aspect-ratio: 16 / 9; width: 100%; }
html body .lkx .bc-body { align-self: center; padding: 16px 22px; gap: 14px; }
html body .lkx .bc-txt { min-width: 0; }
html body .lkx .bc-txt b { font-size: 16px; white-space: normal; }
html body .lkx .bc-txt small { font-size: 13px; margin-top: 6px; display: block; white-space: normal; }
html body .lkx .bc:hover { transform: none !important; }
@media (max-width: 700px) { html body .lkx .bc { grid-template-columns: minmax(0, 1fr); } }

/* rychlá nápověda */
.fs-tip{position:fixed;z-index:9999;max-width:min(300px,calc(100vw - 16px));padding:9px 12px;border-radius:10px;background:#141a24;border:1px solid rgba(69,153,255,.35);color:#e8eef8;font-size:12.5px;line-height:1.5;box-shadow:0 12px 32px rgba(0,0,0,.5);pointer-events:none;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .09s ease,transform .09s ease}
.fs-tip.below{transform:translateY(-4px)}
.fs-tip.on{opacity:1;visibility:visible;transform:none}
.fs-tip::after{content:"";position:absolute;left:var(--ax,50%);top:100%;width:8px;height:8px;margin:-5px 0 0 -4px;background:#141a24;border:solid rgba(69,153,255,.35);border-width:0 1px 1px 0;transform:rotate(45deg)}
.fs-tip.below::after{top:0;margin-top:-4px;border-width:1px 0 0 1px}
.cf-info{cursor:help}
div.cf-row{cursor:default}

/* konzole herního serveru */
.lc-term.lc-raw{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;line-height:1.65}
.lc-term[hidden],.lc-filters[hidden],.lc-chips[hidden]{display:none!important}
.lc-rline{display:flex;gap:10px;padding:0 2px;white-space:pre-wrap;word-break:break-word}
.lc-rline[hidden]{display:none}
.lc-rline b{flex:none;width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:#6f8bb8}
.lc-rline span{min-width:0;color:#d5deea}
.lc-rline.err span{color:#ff8087}.lc-rline.warn span{color:#f5c264}.lc-rline.cmd span{color:#6fb0ff}
.lc-rnote{padding:8px 10px;margin-bottom:8px;border:1px dashed rgba(69,153,255,.35);border-radius:8px;color:#9fb2cd;font-family:var(--font,inherit)}
@media (max-width:640px){.lc-rline b{width:70px}}
/* Offline ban a spol.: po najetí zůstává červené (jiné pravidlo ho přebarvovalo na modro) */
html body :is(.shell, .modal) .btn.danger-outline.danger-outline:not(:disabled):hover { background: rgb(239 68 68 / .28) !important; border-color: rgb(239 68 68 / .55) !important; color: #ff6b6b !important; }
html body :is(.shell, .modal) .btn.danger-outline:not(:disabled):hover svg { color: #ff6b6b !important; }

/* logo: po najetí přeběhne po názvu lesk, nic se neposouvá */
html body .brand b { letter-spacing: normal !important; }
html body .brand:hover b, html body .lp .lp-nav .brand:hover b { letter-spacing: normal !important; background-image: linear-gradient(105deg, #fff 0 38%, #4599ff 47%, #a9d0ff 53%, #fff 62% 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; animation: fs-shine 1s cubic-bezier(.4,0,.2,1) both; }
html body .brand:hover .brand-mark img, html body .lp .lp-nav .brand:hover .brand-mark img { transform: scale(1.1) !important; filter: drop-shadow(0 0 8px rgb(69 153 255 / .75)) !important; }
html body .brand .brand-mark img { transition: transform .25s ease, filter .25s ease !important; }
@keyframes fs-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { html body .brand:hover b { animation: none; } }

.ha[hidden]{display:none!important}
/* Live vedle přepínače jazyka: stejná výška, drží u sebe i na mobilu */
html body .shell .topbar-end { display: flex; align-items: center; gap: 8px; }
html body .shell .topbar-end .live-pill { display: inline-flex !important; height: 36px; box-sizing: border-box; border-radius: 10px; padding: 0 12px; order: 8; }
html body .shell .topbar-end .lang-sw { order: 9; }
html body .shell .topbar-end .auth-lang-btn { height: 36px; box-sizing: border-box; }
@media (max-width: 480px) { html body .shell .topbar-end .live-pill { padding: 0 9px; gap: 5px; } }

/* informační bublina v barvách panelu (neutrální, ne modrá) */
html .fs-tip{background:#1c1c1e;border-color:rgba(255,255,255,.1);color:#ededed}
html .fs-tip::after{background:#1c1c1e;border-color:rgba(255,255,255,.1)}

/* Konzole serveru ve stylu txAdmin: neproporcionální písmo, sloupec se zdrojem, příkazový řádek dole */
.lc [hidden]{display:none!important}
html body .lc .lc-term.lc-raw,html body .lc .lc-term.lc-raw *{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,"DejaVu Sans Mono",monospace!important;font-variant-ligatures:none;letter-spacing:0}
html body .lc.tx .lc-term.lc-raw{height:calc(100vh - 340px);min-height:420px;max-height:none;padding:6px 0;background:#0b0b0c;font-size:12.5px;line-height:1.45;overflow:auto}
html body .lc.tx .lc-raw .lc-rline{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0;padding:0 12px 0 0;margin:0;border:0;animation:none}
html body .lc.tx .lc-raw .lc-rline:hover{background:rgba(255,255,255,.045)}
html body .lc.tx .lc-raw .lc-rline>b{text-align:right;padding:0 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600;color:#6ea8ff;border-right:2px solid #24324a}
html body .lc.tx .lc-raw .lc-rline.same>b{color:transparent}
html body .lc.tx .lc-raw .lc-rline>span{padding-left:10px;white-space:pre-wrap;overflow-wrap:anywhere;color:#d6d6d6}
html body .lc.tx .lc-raw .lc-rline.warn>span{color:#e8c15a}
html body .lc.tx .lc-raw .lc-rline.err>span{color:#ff6b6b}
html body .lc.tx .lc-raw .lc-rline.cmd>b{color:#5fd38d;border-right-color:#2c5a41}
html body .lc.tx .lc-raw .lc-rline.cmd.same>b{color:transparent}
html body .lc.tx .lc-raw .lc-rline.cmd>span{color:#8ff0b4}
html body .lc.tx .lc-rnote{padding:8px 14px}
@media (max-width:640px){html body .lc.tx .lc-raw .lc-rline{grid-template-columns:86px minmax(0,1fr);font-size:11px}}

/* konzole = jen txAdmin Live Console, přes celou výšku */
html body .lc.tx .lc-bar{display:none}
html body .lc.tx .lc-term.lc-raw{height:calc(100vh - 310px)}

.xd-allow { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; } .xd-allow label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; } .xd-allow input { accent-color: var(--accent, #4599ff); }

/* konzole v našem stylu: písmo panelu (jako zbytek AstroShield vzhledu), modrý akcent */
html body .lc .lc-term.lc-raw,html body .lc .lc-term.lc-raw *,html body .lc .lc-form input,html body .lc .lc-prompt{font-family:var(--font,Outfit,system-ui,sans-serif)!important}
html body .lc.tx .lc-shell{background:#121316;border:1px solid var(--border,#2a2a2e);border-radius:14px}
html body .lc.tx .lc-term.lc-raw{background:transparent;font-size:14px;line-height:1.6;padding:10px 0;height:calc(100vh - 280px)}
html body .lc.tx .lc-raw .lc-rline{grid-template-columns:170px minmax(0,1fr);padding:2px 14px 2px 0}
html body .lc.tx .lc-raw .lc-rline:hover{background:rgba(69,153,255,.07)}
html body .lc.tx .lc-raw .lc-rline>b{color:#4599ff;border-right:1px solid rgba(69,153,255,.18);font-weight:600}
html body .lc.tx .lc-raw .lc-rline.same>b{color:transparent}
html body .lc.tx .lc-raw .lc-rline>span{padding-left:14px;color:#dfe3ea}
html body .lc.tx .lc-raw .lc-rline.warn>span{color:#f5c264}
html body .lc.tx .lc-raw .lc-rline.err>span{color:#ff7b82}
html body .lc.tx .lc-form{background:#17181c;border-top:1px solid var(--border,#2a2a2e)}
@media (max-width:640px){html body .lc.tx .lc-raw .lc-rline{grid-template-columns:90px minmax(0,1fr);font-size:12px}}
/* okno pro seznamy (scripty, zbraně, výbuchy …) */
html body .xd textarea[name="items"]{height:140px!important;min-height:100px!important;max-height:50vh!important;resize:vertical}
/* konzole jako zbytek panelu: karta, štítek zdroje a řádky s oddělením */
html body .shell .lc.tx .lc-shell{background:#202020;border:1px solid rgb(255 255 255/.07);border-radius:14px}
html body .shell .lc.tx .lc-term.lc-raw{background:transparent;padding:8px;font-size:13px;line-height:1.55}
html body .shell .lc.tx .lc-raw .lc-rline{display:grid;grid-template-columns:168px minmax(0,1fr);align-items:start;gap:12px;padding:6px 10px;border-radius:8px;border-bottom:1px solid rgb(255 255 255/.045)}
html body .shell .lc.tx .lc-raw .lc-rline:hover{background:#262626}
html body .shell .lc.tx .lc-raw .lc-rline>b{justify-self:start;max-width:100%;border:0;text-align:left;padding:1px 9px;border-radius:999px;background:rgb(69 153 255/.12);color:#6fb0ff;font-size:11.5px;font-weight:500}
html body .shell .lc.tx .lc-raw .lc-rline.same>b{background:transparent;color:transparent}
html body .shell .lc.tx .lc-raw .lc-rline>span{padding:0}
html body .shell .lc.tx .lc-raw .lc-rline.warn{background:rgb(245 194 100/.06)}
html body .shell .lc.tx .lc-raw .lc-rline.err{background:rgb(239 68 68/.08)}
html body .shell .lc.tx .lc-raw .lc-rline.warn:not(.same)>b{background:rgb(245 194 100/.14);color:#f5c264}
html body .shell .lc.tx .lc-raw .lc-rline.err:not(.same)>b{background:rgb(239 68 68/.16);color:#ff7b82}
html body .shell .lc.tx .lc-raw .lc-rline.cmd:not(.same)>b{background:rgb(95 211 141/.14);color:#5fd38d}
html body .shell .lc.tx .lc-form{background:#242424;border-top:1px solid rgb(255 255 255/.07);padding:10px 12px}
@media (max-width:640px){html body .shell .lc.tx .lc-raw .lc-rline{grid-template-columns:96px minmax(0,1fr);gap:8px}}
