/* ===== sjednocení panelu: kurzory, společná tabulka, kopírování kódu, přechody, configy, owner přepínač ===== */

/* ---- kurzor: ruka na všem klikacím, všude stejně ---- */
button, [role="button"], [role="tab"], [role="switch"], [data-act], a[href], summary, select, label[for], label.switch, label.adm-check, label.demo-check,
input[type="checkbox"], input[type="radio"], input[type="range"], input[type="file"], input[type="submit"],
.btn, .icon-btn, .cs-btn, .cs-opt, .sh-card, .bt tbody tr, .bt-act button, .lw-pl, .srv-all, .owner-link, .own-srv-row .btn { cursor: pointer; }
input[type="text"], input[type="search"], input[type="number"], input[type="password"], input[type="email"], input[type="url"], textarea, .input:not(.cs-btn):not(select) { cursor: text; }
button:disabled, .btn:disabled, [disabled], [aria-disabled="true"], .cs-opt.dis { cursor: not-allowed; }
.btn.loading, .tile-busy { cursor: progress; }

/* ---- statistiky v Owner panelu ---- */
.grid4 > .card.card-pad:has(> .ac-big) { display: flex; flex-direction: column; gap: .3rem; }
.ac-big { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.grid4 > .card.card-pad > small { display: block; }

/* ---- společná tabulka (.bt) ---- */
.bt-filter { display: inline-flex; gap: .25rem; padding: .2rem; border-radius: 10px; background: #141414; border: 1px solid #2a2a2a; margin-left: auto; margin-right: .75rem; }
.bt-filter button { border: 0; background: transparent; color: #9aa7bd; font: inherit; font-size: .8rem; font-weight: 600; padding: .35rem .8rem; border-radius: 8px; transition: background .2s, color .2s; }
.bt-filter button:hover { color: #fff; }
.bt-filter button[aria-pressed="true"] { background: #2f6bff; color: #fff; }
.list-head { flex-wrap: wrap; gap: .6rem; }
.bt .bt-reason { max-width: 22rem; color: #cfd6e4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bt tr.bt-dim td:not(:last-child):not(:nth-child(4)):not(:nth-child(5)) { opacity: .62; }
.bt .badge svg { width: .8rem; height: .8rem; }
.bt tbody tr { border-left: 3px solid transparent; }
.bt tbody tr:hover { border-left-color: #2f6bff; }
.bt tbody tr:focus-visible { outline: 2px solid #2f6bff; outline-offset: -2px; }
.bt-players .bt-who { display: flex; align-items: center; gap: .65rem; }
.bt-players .bt-who > div { min-width: 0; }
.pt-av { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #1d3a7a; color: #cfe3ff; font-weight: 700; font-size: .8rem; }
.pt-meter { position: relative; display: inline-block; width: 6.5rem; height: 1.15rem; border-radius: 99px; background: #232323; overflow: hidden; vertical-align: middle; }
.pt-meter i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; transition: width .4s; }
.pt-meter.hp i { background: linear-gradient(90deg, #16a34a, #4ade80); } .pt-meter.ar i { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.pt-meter b { position: relative; display: block; text-align: center; font-size: .7rem; line-height: 1.15rem; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
.bt tr.tile-busy { opacity: .6; pointer-events: none; }
.lk-sec .bt-wrap { margin-top: .5rem; }
.lk-sec .bt { min-width: 640px; }

/* ---- kopírování kódu ---- */
.cp-wrap { position: relative; }
.cp-wrap pre.code { padding-right: 8.2rem; margin: .5rem 0; }
.cp-btn { position: absolute; top: .55rem; right: .55rem; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .65rem; border-radius: 8px; border: 1px solid #333; background: #1d1d1d; color: #b8c0d0; font: inherit; font-size: .75rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.cp-btn:hover { background: #262626; color: #fff; border-color: #444; }
.cp-btn:active { transform: scale(.95); }
.cp-btn.done { background: rgb(34 197 94 / .16); border-color: rgb(34 197 94 / .55); color: #6ee7a0; }
.cp-btn svg { flex: none; }
@media (max-width: 520px) { .cp-btn span { display: none; } .cp-wrap pre.code { padding-right: 3.2rem; } }

/* ---- přechody mezi stránkami / záložkami ---- */
.content-inner.view-enter { animation: pg-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.content-inner.pg-out { animation: pg-out .14s ease-in both !important; pointer-events: none; }
@keyframes pg-in { from { opacity: 0; transform: translateY(14px) scale(.994); } to { opacity: 1; transform: none; } }
@keyframes pg-out { to { opacity: 0; transform: translateY(-6px); } }
.sidebar .sub a.active, .sidebar .nav > a.active { animation: nav-pop .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes nav-pop { from { opacity: .4; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .content-inner.view-enter, .content-inner.pg-out, .sidebar .sub a.active { animation: none !important; } }

/* ---- owner: přepínač všech serverů ---- */
.srv-all { display: flex; align-items: center; gap: .55rem; width: calc(100% - 1rem); margin: .1rem .5rem .5rem; padding: .5rem .65rem; border-radius: 10px; border: 1px dashed #343434; background: transparent; color: #aab3c5; font: inherit; font-size: .78rem; text-align: left; transition: background .2s, border-color .2s, color .2s; }
.srv-all:hover { background: #1c1c1c; color: #fff; }
.srv-all svg { flex: none; width: 15px; height: 15px; color: #f5b83d; }
.srv-all span { flex: 1; line-height: 1.2; }
.srv-all-sw { position: relative; flex: none; width: 28px; height: 16px; border-radius: 99px; background: #333; transition: background .2s; }
.srv-all-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.srv-all.on { border-style: solid; border-color: #2f6bff; color: #fff; background: rgb(47 107 255 / .1); }
.srv-all.on .srv-all-sw { background: #2f6bff; } .srv-all.on .srv-all-sw::after { transform: translateX(12px); }
.srv-via { display: block; font-size: .66rem; font-weight: 500; color: #7f8aa0; margin-top: 1px; }
.server-toggle .server-label { min-width: 0; }
.own-srv { display: grid; gap: .45rem; margin-top: .6rem; max-height: 26rem; overflow: auto; }
.own-srv-row { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border: 1px solid #2a2a2a; border-radius: 10px; background: #161616; transition: border-color .2s, background .2s; }
.own-srv-row:hover { border-color: #3a4a6e; background: #1a1d24; }
.own-dot { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: #555; } .own-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / .18); }
.own-srv-main { flex: 1; min-width: 0; } .own-srv-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .own-srv-main small { color: #7f8aa0; }
.bk-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; } .bk-row .input { flex: 1; min-width: 12rem; }
.bk-files { margin: 0 0 .8rem; }

/* ---- Shared Configs: nové karty ---- */
.sh2 { overflow: hidden; }
.sh2::after { content: ''; position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sh-c) 22%, transparent), transparent 70%); pointer-events: none; transition: opacity .3s; opacity: .7; }
.sh2:hover::after { opacity: 1; }
.sh2-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.sh2-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.sh2-mine { color: #fbbf24; border-color: rgb(251 191 36 / .45); background: rgb(251 191 36 / .1); }
.sh2-ring { --p: 0; flex: none; position: relative; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: conic-gradient(var(--sh-c) calc(var(--p) * 1%), #2a2a2a 0); display: grid; place-items: center; z-index: 1; }
.sh2-ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #181818; }
.sh2-ring b { position: relative; font-size: .82rem; font-weight: 700; } .sh2-ring small { font-size: .55rem; opacity: .7; }
.sh2 .sh-title { min-height: 0 !important; font-size: 1.12rem; }
.sh2 .sh-desc { min-height: 3.2em !important; }
.sh2-stats { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .78rem; color: #8b94a7; }
.sh2-stats span { display: inline-flex; align-items: center; gap: .3rem; } .sh2-stats b { color: #e8ecf5; }
.sh2-stats i { width: .5rem; height: .5rem; border-radius: 50%; } .sh2-stats .on i { background: #22c55e; } .sh2-stats .off i { background: #ef4444; } .sh2-stats .all { margin-left: auto; }
.sh2 .sh-meter { margin-top: .1rem; } .sh2 .sh-meter i { height: 5px; } .sh2 .sh-meter u { transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.sh2 .sh-foot { align-items: center; gap: .6rem; } .sh2-dl { margin-left: auto; }
.sh2-imp { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: 8px; border: 1px solid var(--sh-c); background: color-mix(in srgb, var(--sh-c) 14%, transparent); color: #fff; font: inherit; font-size: .76rem; font-weight: 600; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s, background .2s; }
.sh2-imp svg { width: 13px; height: 13px; }
.sh2:hover .sh2-imp, .sh2:focus-within .sh2-imp { opacity: 1; transform: none; } .sh2-imp:hover { background: var(--sh-c); }
@media (hover: none) { .sh2-imp { opacity: 1; transform: none; } }

/* ---- náhled obrazovky: až 16 hráčů, vyskakovací okno ---- */
.lw-grid[data-count="3"], .lw-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lw-grid[data-count="5"], .lw-grid[data-count="6"], .lw-grid[data-count="7"], .lw-grid[data-count="8"], .lw-grid[data-count="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.lw-grid:is([data-count="10"], [data-count="11"], [data-count="12"], [data-count="13"], [data-count="14"], [data-count="15"], [data-count="16"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.lw-grid:is([data-count="5"], [data-count="6"], [data-count="7"], [data-count="8"], [data-count="9"], [data-count="10"], [data-count="11"], [data-count="12"], [data-count="13"], [data-count="14"], [data-count="15"], [data-count="16"]) .lw-name { font-size: .68rem; }
.lw-options { max-height: 30rem; overflow: auto; }
.demo-stream-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.demo-stream-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.demo-stream-grid:is([data-count="5"], [data-count="6"], [data-count="7"], [data-count="8"], [data-count="9"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.demo-stream-grid:is([data-count="10"], [data-count="11"], [data-count="12"], [data-count="13"], [data-count="14"], [data-count="15"], [data-count="16"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.demo-stream-scene { position: relative; }
.demo-pop { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 0; background: rgb(17 17 17 / .78); color: #fff; opacity: 0; transition: opacity .2s, background .2s; }
.demo-pop svg { width: 14px; height: 14px; }
.demo-stream:hover .demo-pop, .demo-pop:focus-visible { opacity: 1; } .demo-pop:hover { background: #2f6bff; }
.demo-stream-pick .demo-check { display: flex; }
.shell.popout .sidebar, .shell.popout .topbar, .shell.popout .demo-banner, .shell.popout .lw-side, .shell.popout .demo-stream-pick { display: none !important; }
.shell.popout .main { margin: 0 !important; width: 100% !important; max-width: none !important; }
.shell.popout .content { padding: .5rem !important; }
.shell.popout .lw, .shell.popout .demo-screen-ws { grid-template-columns: minmax(0, 1fr) !important; }
.shell.popout .lw-grid, .shell.popout .demo-stream-grid { grid-template-columns: minmax(0, 1fr) !important; }

/* ---- demo: ingame menu ---- */
.ig-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 900px) { .ig-wrap { grid-template-columns: minmax(0, 1fr); } }
.ig-screen { position: relative; aspect-ratio: 16 / 9; min-height: 20rem; border-radius: 14px; overflow: hidden; border: 1px solid #2a2a2a; background:
  radial-gradient(120% 70% at 20% 110%, #f59e0b33, transparent 60%), radial-gradient(90% 60% at 80% 0%, #2f6bff33, transparent 60%), linear-gradient(180deg, #0c1220 0%, #171c2e 55%, #261b1b 100%); }
.ig-screen::before { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: repeating-linear-gradient(90deg, #0a0d16 0 6%, #11162a 6% 9%, #0a0d16 9% 15%); clip-path: polygon(0 40%, 8% 18%, 14% 40%, 22% 10%, 30% 36%, 40% 6%, 52% 38%, 60% 14%, 70% 34%, 80% 8%, 90% 32%, 100% 16%, 100% 100%, 0 100%); opacity: .9; }
.ig-hud { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: flex-end; gap: .7rem; z-index: 1; }
.ig-mini { width: 5.6rem; height: 5.6rem; border-radius: 50%; border: 3px solid #ffffff55; background: radial-gradient(circle at 40% 40%, #3b5a3a, #1c2b24); box-shadow: 0 6px 20px #0008; }
.ig-bars { display: grid; gap: .3rem; width: 6.5rem; } .ig-bars i { display: block; height: .45rem; border-radius: 99px; background: #4ade80; } .ig-bars i + i { background: #60a5fa; }
.ig-time { position: absolute; left: 0; top: -1.6rem; color: #ffffffcc; font-size: .8rem; font-weight: 600; text-shadow: 0 1px 4px #000; }
.ig-menu { position: absolute; right: 3%; top: 6%; bottom: 6%; width: min(21rem, 52%); display: flex; flex-direction: column; border-radius: 12px; background: rgb(14 16 22 / .94); border: 1px solid #ffffff1f; box-shadow: 0 18px 50px #000a; backdrop-filter: blur(6px); overflow: hidden; z-index: 2; animation: pg-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.ig-menu header { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; border-bottom: 1px solid #ffffff14; background: linear-gradient(90deg, #2f6bff33, transparent); }
.ig-menu header span { font-size: .7rem; padding: .1rem .45rem; border-radius: 6px; border: 1px solid #ffffff33; color: #aab3c5; }
.ig-menu nav { display: flex; gap: .25rem; padding: .45rem .55rem 0; } .ig-menu nav button { flex: 1; border: 0; background: transparent; color: #8b94a7; font: inherit; font-size: .78rem; font-weight: 600; padding: .45rem; border-radius: 8px 8px 0 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s, background .2s; }
.ig-menu nav button:hover { color: #fff; } .ig-menu nav button[aria-selected="true"] { color: #fff; border-bottom-color: #2f6bff; background: #ffffff0a; }
.ig-body { flex: 1; overflow: auto; padding: .5rem .55rem; display: grid; gap: .3rem; align-content: start; }
.ig-body[hidden] { display: none; }
.ig-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .1rem .5rem; padding: .45rem .55rem; border-radius: 8px; background: #ffffff08; font-size: .8rem; transition: background .15s; }
.ig-row:hover { background: #ffffff12; } .ig-id { color: #6f7a90; font-size: .7rem; } .ig-row small { color: #7f8aa0; }
.ig-btns { grid-column: 1 / -1; display: flex; gap: .3rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .2s, opacity .2s; }
.ig-row:hover .ig-btns, .ig-row:focus-within .ig-btns { max-height: 2rem; opacity: 1; margin-top: .25rem; }
.ig-btns button { flex: 1; border: 1px solid #ffffff22; background: #ffffff0d; color: #dfe6f3; font: inherit; font-size: .7rem; padding: .22rem; border-radius: 6px; transition: background .15s; } .ig-btns button:hover { background: #2f6bff; border-color: #2f6bff; } .ig-btns .bad:hover { background: #ef4444; border-color: #ef4444; }
.ig-sw { display: flex; align-items: center; justify-content: space-between; padding: .45rem .6rem; border-radius: 8px; background: #ffffff08; font-size: .8rem; }
.ig-sw i { position: relative; width: 30px; height: 16px; border-radius: 99px; background: #3a3f4d; transition: background .2s; } .ig-sw i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ig-sw i.on { background: #2f6bff; } .ig-sw i.on::after { transform: translateX(14px); }
.ig-info { grid-template-columns: 1fr 1fr; } .ig-info div { padding: .7rem; border-radius: 8px; background: #ffffff08; } .ig-info small { display: block; color: #7f8aa0; font-size: .7rem; } .ig-info b { font-size: 1.1rem; }
.ig-kv { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; margin: .8rem 0; font-size: .85rem; } .ig-kv span { color: #8b94a7; } .ig-kv .ok { color: #4ade80; }
.ig-log { max-height: 11rem; overflow: auto; padding: .6rem .7rem; border-radius: 10px; background: #111; border: 1px solid #2a2a2a; font: .75rem/1.6 ui-monospace, monospace; color: #cfd6e4; } .ig-log time { color: #6f7a90; }

/* ---- přehrávač klipu (přehrání) ---- */
.clip { width: min(900px, 88vw); outline: 0; }
.clip-stage { border-radius: 14px; border: 1px solid #2a2a2a; box-shadow: 0 18px 50px rgb(0 0 0 / .5); background: #000; }
.clip-stage:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; }
.clip-load { gap: .7rem; grid-auto-flow: column; justify-content: center; background: rgb(0 0 0 / .55); backdrop-filter: blur(4px); z-index: 4; }
.clip-spin { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid #ffffff44; border-top-color: #4599FF; animation: clip-rot .8s linear infinite; }
@keyframes clip-rot { to { transform: rotate(360deg); } }
.clip-tag { display: inline-flex; align-items: center; gap: .4rem; z-index: 3; backdrop-filter: blur(6px); }
.clip-rec { width: .5rem; height: .5rem; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgb(239 68 68 / .25); animation: clip-pulse 1.6s ease-in-out infinite; }
@keyframes clip-pulse { 50% { opacity: .35; } }
.clip-big { z-index: 3; width: 4.6rem; height: 4.6rem; background: rgb(47 107 255 / .92); box-shadow: 0 0 0 10px rgb(47 107 255 / .2), 0 10px 30px rgb(0 0 0 / .5); transition: transform .2s, opacity .25s, box-shadow .25s; }
.clip-big svg { width: 30px; height: 30px; margin-left: 3px; }
.clip-big:hover { transform: scale(1.08); box-shadow: 0 0 0 14px rgb(47 107 255 / .25), 0 10px 30px rgb(0 0 0 / .5); }
.clip-ctl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 2.2rem .9rem .6rem; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .78)); transition: opacity .3s, transform .3s; }
.clip.hide-ctl .clip-ctl, .clip.hide-ctl .clip-tag { opacity: 0; transform: translateY(6px); } .clip.hide-ctl .clip-stage { cursor: none; }
.clip-track { position: relative; height: .9rem; display: flex; align-items: center; }
.clip-track::before { content: ''; position: absolute; left: 0; right: 0; height: 4px; border-radius: 99px; background: rgb(255 255 255 / .25); transition: height .15s; }
.clip-fill { position: absolute; left: 0; height: 4px; border-radius: 99px; background: linear-gradient(90deg, #2f6bff, #6aa5ff); transition: height .15s; pointer-events: none; }
.clip-fill::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px #0008; transform: scale(0); transition: transform .15s; }
.clip-track:hover::before, .clip-track:hover .clip-fill { height: 6px; } .clip-track:hover .clip-fill::after { transform: scale(1); }
.clip-seek { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.clip-row { display: flex; align-items: center; gap: .35rem; margin-top: .15rem; color: #fff; }
.clip-gap { flex: 1; }
.clip .clip-pp, .clip .clip-ic, .clip .clip-speed { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; border: 0; background: transparent; color: #fff; font-size: inherit; transition: background .15s, transform .12s; }
.clip .clip-pp:hover, .clip .clip-ic:hover, .clip .clip-speed:hover { background: rgb(255 255 255 / .16); } .clip .clip-pp:active, .clip .clip-ic:active { transform: scale(.9); }
.clip .clip-speed { width: auto; padding: 0 .65rem; font: 700 .78rem ui-monospace, monospace; }
.clip .clip-time { min-width: 0; margin-left: .4rem; color: #e8ecf5; font: 600 .78rem ui-monospace, monospace; text-align: left; }
@media (max-width: 520px) { .clip-ic[data-step] { display: none; } }

/* velká tlačítka (Stáhnout FusionShield.zip …): obsah přesně uprostřed */
.btn.block, .btn.brand.block { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 2.6rem; padding-block: 0; line-height: 1; }
.btn.block svg { flex: none; margin: 0; }

/* 3D mapa (Sketchfab) */
.map-mode { margin-bottom: .8rem; display: inline-flex; }
.map-mode button { display: inline-flex; align-items: center; gap: .4rem; }
.map-mode svg { width: 15px; height: 15px; }
.map3d { padding: 0; overflow: hidden; }
.map3d-frame { height: min(72vh, 680px); background: #0c0c0e; }
.map3d-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map3d-credit { padding: .6rem 1rem; margin: 0; font-size: .78rem; }
.map3d-credit a { color: var(--accent); }
#live-map-root[hidden] { display: none; }

/* Sdílené konfigurace v2: dlaždice se statistikami, vždy viditelné Importovat */
.sh2 .sh-title { font-size: 1.2rem; letter-spacing: -.01em; }
.sh2-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .2rem; }
.sh2-stats > div { display: grid; gap: .05rem; padding: .5rem .65rem; border-radius: 10px; background: rgb(255 255 255 / .035); border: 1px solid rgb(255 255 255 / .06); }
.sh2-stats > div b { font-size: 1.15rem; line-height: 1.2; }
.sh2-stats > div span { font-size: .7rem; color: #8b94a7; text-transform: uppercase; letter-spacing: .05em; }
.sh2-stats .on b { color: #4ade80; } .sh2-stats .off b { color: #f87171; } .sh2-stats .all { margin-left: 0; }
.sh2 .sh-foot { border-top: 1px solid rgb(255 255 255 / .07); padding-top: .75rem; margin-top: .15rem; }
.sh2-imp { opacity: 1; transform: none; background: var(--sh-c); border-color: var(--sh-c); box-shadow: 0 4px 14px color-mix(in srgb, var(--sh-c) 35%, transparent); }
.sh2-imp:hover { filter: brightness(1.12); }
.sh2-ring { width: 3.4rem; height: 3.4rem; box-shadow: 0 0 22px color-mix(in srgb, var(--sh-c) 30%, transparent); }

/* Sdílené konfigurace jako tabulka (styl banů) */
.sh-list { display: block; }
.bt-shared .sh-au { display: inline-flex; align-items: center; gap: .45rem; }
.bt-shared .sh-pct { min-width: 7.5rem; }
.bt-shared .bt-who small { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.bt-shared .sh-tag[data-tag=PvP] { color: #f87171; border-color: rgb(239 68 68 / .45); background: rgb(239 68 68 / .1); }
.bt-shared .sh-tag[data-tag=Roleplay] { color: #c084fc; border-color: rgb(168 85 247 / .45); background: rgb(168 85 247 / .1); }
.bt-shared .sh-tag[data-tag=Military] { color: #4ade80; border-color: rgb(34 197 94 / .45); background: rgb(34 197 94 / .1); }
.bt-shared .sh-tag[data-tag=Optimized] { color: #fbbf24; border-color: rgb(245 158 11 / .45); background: rgb(245 158 11 / .1); }
.bt-shared .sh-tag[data-tag=General] { color: #60a5fa; border-color: rgb(47 107 255 / .45); background: rgb(47 107 255 / .1); }
.bt-shared .bt-date svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: .2rem; }
.bt-act .sh-imp-btn { width: auto; display: inline-flex; align-items: center; gap: .35rem; padding: 0 .7rem; font-size: .76rem; font-weight: 600; color: #fff; background: #2f6bff; border-color: #2f6bff; }
.bt-act .sh-imp-btn svg { width: 13px; height: 13px; }
.bt-act .sh-imp-btn:hover { filter: brightness(1.12); }
.bt-act .sh-imp-btn { width: 2rem; padding: 0; justify-content: center; }
.bt-shared .sh-pct { min-width: 6.2rem; }
.bt-shared .bt-act { flex-wrap: nowrap; }

/* Detail sdílené konfigurace */
.shd { display: flex; flex-direction: column; max-height: min(82vh, 760px); min-width: 0; }
.shd-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.shd-hl { display: grid; gap: .3rem; justify-items: start; min-width: 0; } .shd-hl h3 { margin: .2rem 0 0; font-size: 1.3rem; }
.shd-hr { display: flex; align-items: flex-start; gap: .8rem; } .shd-hr .muted { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; padding-top: .3rem; }
.shd-hr svg { width: 14px; height: 14px; }
.shd .sh-tag[data-tag=PvP] { color: #f87171; border-color: rgb(239 68 68 / .45); background: rgb(239 68 68 / .1); }
.shd .sh-tag[data-tag=Roleplay] { color: #c084fc; border-color: rgb(168 85 247 / .45); background: rgb(168 85 247 / .1); }
.shd .sh-tag[data-tag=Military] { color: #4ade80; border-color: rgb(34 197 94 / .45); background: rgb(34 197 94 / .1); }
.shd .sh-tag[data-tag=Optimized] { color: #fbbf24; border-color: rgb(245 158 11 / .45); background: rgb(245 158 11 / .1); }
.shd .sh-tag[data-tag=General] { color: #60a5fa; border-color: rgb(47 107 255 / .45); background: rgb(47 107 255 / .1); }
.shd-scroll { overflow: auto; padding: 1rem .2rem .5rem 0; flex: 1; min-height: 0; }
.shd-desc { margin: 0 0 1rem; color: #aab2c3; }
.shd-meter { padding: 1rem 1.1rem; border-radius: 12px; background: rgb(255 255 255 / .03); border: 1px solid var(--border); display: grid; gap: .6rem; }
.shd-mt { display: flex; align-items: baseline; justify-content: space-between; } .shd-mt b { font-size: 1.7rem; } .shd-mt span:first-child { font-size: 1rem; color: #8b94a7; }
.shd-meter > i { display: block; height: 7px; border-radius: 99px; background: #2a2a2a; overflow: hidden; } .shd-meter u { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #4ade80); }
.shd-leg { display: flex; gap: 1.2rem; font-size: .8rem; color: #8b94a7; } .shd-leg span { display: inline-flex; align-items: center; gap: .35rem; } .shd-leg b { color: #e8ecf5; }
.shd-leg i { width: .5rem; height: .5rem; border-radius: 50%; } .shd-leg .on i { background: #22c55e; } .shd-leg .off i { background: #ef4444; }
.shd-h { margin: 1.2rem 0 .6rem; font-size: 1rem; }
.shd-bar { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; flex-wrap: wrap; } .shd-bar .search { flex: 1; min-width: 12rem; }
.shd-list { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.shd-row { display: flex; align-items: center; gap: .7rem; padding: .62rem .9rem; border-top: 1px solid var(--border); font-size: .88rem; }
.shd-row:first-child { border-top: 0; } .shd-row[hidden] { display: none; }
.shd-ic svg { width: 14px; height: 14px; vertical-align: -2px; } .shd-row.on .shd-ic { color: #22c55e; } .shd-row.off { color: #6b7280; } .shd-row.off .shd-ic { color: #6b7280; }
.shd-row b { font-weight: 600; flex: 1; min-width: 0; } .shd-row.off b { font-weight: 500; }
.shd-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 99px; border: 1px solid var(--border); font-size: .72rem; color: #aab2c3; }
.shd-pill svg { width: 11px; height: 11px; }
.shd-foot { border-top: 1px solid var(--border); padding-top: .9rem; display: grid; gap: .7rem; }
.shd-foot p { margin: 0; font-size: .82rem; }
.shd-act { display: flex; gap: .6rem; align-items: center; } .shd-act select { flex: 1; min-width: 0; } .shd-act .btn.primary { white-space: nowrap; }

/* Discord avatary hráčů */
.pt-av { overflow: hidden; } .pt-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-avatar { overflow: hidden; } .pd-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
