:root {
  --bg: #131722; --bg-2: #0f121a; --panel: #1e222d; --panel-2: #262b37; --line: #2a2e39; --line-2: #363a45;
  --text: #d1d4dc; --text-strong: #f0f3fa; --muted: #787b86; --blue: #2962ff; --blue-hover: #1e53e5; --blue-soft: rgba(41, 98, 255, .15); --blue-text: #5b8def;
  --green: #089981; --green-bg: rgba(8, 153, 129, .15); --red: #f23645; --red-bg: rgba(242, 54, 69, .15); --orange: #ff9800; --orange-bg: rgba(255, 152, 0, .15);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
:root[data-theme="light"] {
  --bg: #f0f3fa; --bg-2: #e9edf5; --panel: #ffffff; --panel-2: #eef1f7; --line: #e0e3eb; --line-2: #c9cdd8;
  --text: #2a2e39; --text-strong: #131722; --muted: #6a6d78; --blue: #2962ff; --blue-hover: #1e53e5; --blue-soft: rgba(41, 98, 255, .1); --blue-text: #2962ff;
  --green: #089981; --green-bg: rgba(8, 153, 129, .12); --red: #f23645; --red-bg: rgba(242, 54, 69, .1); --orange: #e68a00; --orange-bg: rgba(255, 152, 0, .14);
  color-scheme: light;
}
.theme-btn { background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-strong); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px; display: grid; place-items: center; flex: none; }
.theme-btn:hover { border-color: var(--blue); }
.makej { font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--green); animation: makej 1.6s ease-in-out infinite; }
.timer.soon .makej { color: var(--orange); }
@keyframes makej { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .makej { animation: none; } }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif; background: var(--bg); color: var(--text); font-size: 13px; overflow-x: hidden; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- přihlášení ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: 100%; max-width: 380px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.login-card h1 { margin: 0; font-size: 22px; color: var(--text-strong); }
.login-card p { margin: 0; color: var(--muted); line-height: 1.5; }

/* ---------- horní lišta ---------- */
.topbar { position: sticky; top: 0; z-index: 20; height: 50px; display: flex; align-items: center; gap: 22px; padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.brand-name span { color: var(--blue); }
.tabs { display: flex; gap: 2px; height: 100%; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tab-btn { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 0 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; height: 100%; white-space: nowrap; }
.tab-btn:hover { color: var(--text-strong); }
.tab-btn.active { color: var(--text-strong); border-bottom-color: var(--blue); }
.badge { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 0 6px; line-height: 16px; }
.usermenu { position: relative; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; border: 0; cursor: pointer; }
.menu { position: absolute; right: 0; top: 38px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; padding: 6px; min-width: 190px; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.menu .who { padding: 6px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.menu .who b { display: block; color: var(--text-strong); font-size: 13px; }
.menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 8px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.menu button:hover { background: var(--panel-2); }

.app { max-width: none; margin: 0 auto; padding: 16px 16px 60px; }
.tab-content { display: flex; flex-direction: column; gap: 12px; }

/* ---------- obecné ---------- */
.hello { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 2px 6px; }
.hello h1 { margin: 0; font-size: 20px; font-weight: 700; color: var(--text-strong); }
.hello p { margin: 3px 0 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat-card { background: var(--panel); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat-label { font-size: 11.5px; color: var(--muted); }
.stat-value { font-size: 20px; font-weight: 700; color: var(--text-strong); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-foot { font-size: 11.5px; color: var(--muted); }
.positive { color: var(--green) !important; } .negative { color: var(--red) !important; } .warn { color: var(--orange) !important; }
.muted { color: var(--muted); } .small { font-size: 11.5px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 14px; min-width: 0; }
.panel h2 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--text-strong); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; align-items: start; }
.empty { color: var(--muted); padding: 18px 0; text-align: center; }

.btn-primary { background: var(--blue); color: #fff; border: 0; padding: 8px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-ghost { background: var(--panel-2); color: var(--text); border: 0; padding: 6px 12px; border-radius: 4px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-ghost:hover { background: var(--line-2); }
.btn-danger { background: none; color: var(--red); border: 1px solid transparent; padding: 6px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.btn-danger:hover { background: var(--red-bg); }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 4px; font-size: 12px; }
.icon-btn:hover { color: var(--text-strong); background: var(--panel-2); }
.chip { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 3px; white-space: nowrap; display: inline-block; }
.chip.good { background: var(--green-bg); color: var(--green); } .chip.bad { background: var(--red-bg); color: var(--red); } .chip.mid { background: var(--orange-bg); color: var(--orange); }
.chip.blue { background: var(--blue-soft); color: var(--blue-text); } .chip.none { background: var(--panel-2); color: var(--muted); }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--blue-soft); border: 1px solid rgba(41, 98, 255, .35); border-radius: 6px; padding: 10px 14px; color: var(--text-strong); }
.banner.warn { background: var(--orange-bg); border-color: rgba(255, 152, 0, .35); }

/* ---------- formuláře ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
label { font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
label.chk { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 12.5px; }
select, input, textarea { background: var(--bg); border: 1px solid var(--line-2); color: var(--text-strong); padding: 7px 10px; border-radius: 4px; font-size: 13px; font-family: inherit; min-width: 0; }
select, input:not([type=checkbox]):not([type=file]) { height: 34px; }
textarea { resize: vertical; line-height: 1.45; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--blue); }
details.adv > summary { cursor: pointer; color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
details.adv[open] > summary { margin-bottom: 10px; }

.drop { border: 1px dashed var(--line-2); border-radius: 6px; padding: 30px 20px; text-align: center; background: var(--bg); display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; margin-top: 12px; }
.drop:hover, .drop.over { border-color: var(--blue); background: rgba(41, 98, 255, .05); }
.drop svg { width: 32px; height: 32px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.drop b { font-size: 15px; color: var(--text-strong); }
.drop span { color: var(--muted); font-size: 12.5px; }

/* ---------- boti ---------- */
.bots { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.bot { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.bot:hover { border-color: var(--line-2); background: var(--panel-2); }
.bot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.bot h3 { margin: 0; font-size: 14px; color: var(--text-strong); }
.bot small { color: var(--muted); font-size: 11.5px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 4px; overflow: hidden; }
.mini-stats div { background: var(--panel); padding: 6px 8px; }
.mini-stats span { display: block; font-size: 10.5px; color: var(--muted); }
.mini-stats b { font-size: 14px; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.spark { height: 46px; width: 100%; display: block; }

/* ---------- watchlist ---------- */
.list { display: flex; flex-direction: column; margin: 0 -14px -14px; }
.list-head { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 10px; padding: 0 14px 6px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; color: inherit; font: inherit; text-align: left; width: 100%; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--panel-2); }
.row .t { font-weight: 600; font-size: 13px; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .m { font-size: 11.5px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pct { font-weight: 700; font-size: 13.5px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- úkoly ---------- */
.task-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 4px; }
.task-add textarea { flex: 1 1 320px; min-height: 38px; }
.hint { font-size: 11px; color: var(--muted); margin: 4px 0 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.filters button { background: var(--panel-2); border: 0; color: var(--muted); padding: 5px 11px; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; }
.filters button.on { background: var(--blue); color: #fff; }
.sec-title { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 2px; }
.task { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-bottom: 1px solid var(--line); margin: 0 -14px; }
.task:hover { background: var(--panel-2); }
.task.new { box-shadow: inset 3px 0 0 var(--orange); }
.check { width: 17px; height: 17px; border-radius: 3px; border: 1.5px solid var(--line-2); flex: none; margin-top: 1px; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; color: #fff; font-size: 11px; }
.check:hover { border-color: var(--blue); }
.check.done { background: var(--blue); border-color: var(--blue); }
.task .body { flex: 1; min-width: 0; }
.task .t { font-size: 13.5px; color: var(--text-strong); white-space: pre-wrap; overflow-wrap: anywhere; }
.task.done .t { color: var(--muted); text-decoration: line-through; }
.task .m { font-size: 11.5px; color: var(--muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.who-tag { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 3px; background: var(--blue-soft); color: var(--blue-text); }
.who-tag.me { background: var(--orange-bg); color: var(--orange); }
.task .acts { display: flex; gap: 2px; opacity: .6; }
.task:hover .acts { opacity: 1; }
.task .edit { display: flex; flex-direction: column; gap: 8px; }

/* ---------- soubory ---------- */
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.file { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.file:hover { border-color: var(--line-2); }
.ext { width: 38px; height: 38px; border-radius: 4px; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: var(--blue-soft); color: var(--blue-text); flex: none; text-transform: uppercase; overflow: hidden; }
.ext img { width: 100%; height: 100%; object-fit: cover; }
.file .info { flex: 1; min-width: 0; }
.file .t { font-weight: 600; font-size: 13px; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .m { font-size: 11.5px; color: var(--muted); }
.file .n { font-size: 12px; color: var(--text); margin-top: 2px; }
.file .acts { display: flex; flex-direction: column; gap: 2px; }

/* ---------- výsledek ---------- */
.progress { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; font-size: 13px; }
.progress .ok { color: var(--green); } .progress .now { color: var(--text-strong); font-weight: 600; } .progress .wait { color: var(--muted); }
.progress .err { color: var(--red); }
.verdict { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.verdict .big { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.verdict .big::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.verdict .v-good { color: var(--green); } .verdict .v-mid { color: var(--orange); } .verdict .v-bad { color: var(--red); }
.verdict p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.verdict-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.saved { color: var(--green); font-weight: 600; font-size: 12.5px; }
.chart { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.eq { width: 100%; height: auto; display: block; }
.eq text { fill: var(--muted); font-size: 11px; font-family: -apple-system, BlinkMacSystemFont, Roboto, sans-serif; }
.breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: right; color: var(--muted); font-weight: 500; font-size: 11px; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.tbl td { text-align: right; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.bar { display: inline-block; height: 6px; border-radius: 1px; vertical-align: middle; }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px 30px; overflow-y: auto; }
.modal { width: 100%; max-width: 860px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 16px; color: var(--text-strong); }
.modal-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.modal-body h3 { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-strong); padding: 10px 16px; border-radius: 6px; z-index: 60; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); font-size: 13px; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- časovač ---------- */
.timer { display: flex; align-items: center; gap: 4px; }
.timer-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-strong); height: 30px; padding: 0 12px; border-radius: 15px; font: 700 13.5px -apple-system, BlinkMacSystemFont, Roboto, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; }
.timer-btn:hover { border-color: var(--blue); }
.timer-ico { font-size: 10px; color: var(--green); }
.timer.run .timer-btn { background: var(--green-bg); border-color: rgba(8, 153, 129, .5); color: var(--green); }
.timer.run .timer-ico { color: var(--green); }
.timer.soon .timer-btn { background: var(--orange-bg); border-color: rgba(255, 152, 0, .5); color: var(--orange); }
.timer-stop { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; padding: 4px 6px; border-radius: 4px; }
.timer-stop:hover { color: var(--red); background: var(--red-bg); }
.break { position: fixed; inset: 0; z-index: 100; background: radial-gradient(circle at center, #1b2440 0%, #0b0d13 70%); display: grid; place-items: center; padding: 20px; }
.break.go { background: radial-gradient(circle at center, #0f3b30 0%, #0b0d13 70%); }
.break-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.break-title { font-size: clamp(64px, 16vw, 180px); font-weight: 800; letter-spacing: .04em; color: var(--blue-text); line-height: 1; }
.break.go .break-title { color: var(--green); }
.break-time { font-size: clamp(56px, 13vw, 150px); font-weight: 700; color: var(--text-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.break-sub { color: var(--muted); font-size: 16px; max-width: 480px; line-height: 1.5; }

/* ---------- výsledek: záložky + obchody ---------- */
.rtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
.rtabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.rtabs button:hover { color: var(--text-strong); }
.rtabs button.on { color: var(--text-strong); border-bottom-color: var(--blue); }
.tv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.tv-chart { height: 380px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.tv-k { height: 130px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 4px 4px; overflow: hidden; margin-top: -1px; }
.tv-list { max-height: 460px; overflow-y: auto; border: 1px solid var(--line); border-radius: 4px; }
.tv-list thead th { position: sticky; top: 0; background: var(--panel); }
.tr-click { cursor: pointer; }
.tr-click:hover { background: var(--panel-2); }
.tr-click.sel { background: var(--blue-soft); }

/* ---------- chybné obchody ---------- */
.flag-form { display: flex; flex-direction: column; gap: 8px; background: var(--red-bg); border: 1px solid rgba(242, 54, 69, .35); border-radius: 6px; padding: 10px; margin-top: 8px; }
.flags { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px; }
.flag { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.flag.done { opacity: .6; }
.flag img { width: 100%; display: block; background: #131722; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.flag .fb { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.flag .note { font-size: 13.5px; color: var(--text-strong); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.flag .meta { font-size: 11.5px; color: var(--muted); }
.flag .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.flag select { height: 28px; font-size: 12px; padding: 3px 8px; }
.img-full { max-width: 100%; border-radius: 6px; }
@media (max-width: 500px) { .flags { grid-template-columns: 1fr; } }

/* ---------- projekty ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.pj-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, transform .15s; }
.pj-card:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pj-card .top { height: 4px; }
.pj-card .in { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pj-card h3 { margin: 0; font-size: 15px; color: var(--text-strong); }
.pj-card .desc { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.pj-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.pj-card .counts { display: flex; gap: 12px; }
.prog { height: 4px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.prog > i { display: block; height: 100%; background: var(--green); border-radius: 2px; }
.pj-new { border: 1px dashed var(--line-2); background: none; color: var(--muted); display: grid; place-items: center; min-height: 150px; font-size: 14px; font-weight: 600; }
.pj-new:hover { color: var(--text-strong); border-color: var(--blue); }

.pj-head { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pj-head .band { height: 5px; }
.pj-head .in { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.crumb button { background: none; border: 0; color: var(--blue-text); cursor: pointer; padding: 0; font: inherit; }
.pj-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.pj-title input.name { font-size: 22px; font-weight: 700; color: var(--text-strong); background: transparent; border: 1px solid transparent; padding: 2px 6px; margin-left: -7px; height: auto; flex: 1; min-width: 200px; }
.pj-title input.name:hover { border-color: var(--line-2); }
.pj-title input.name:focus { border-color: var(--blue); background: var(--bg); }
.pj-desc { width: 100%; background: transparent; border: 1px solid transparent; color: var(--text); font-size: 13.5px; line-height: 1.55; padding: 6px; margin-left: -7px; min-height: 40px; resize: vertical; }
.pj-desc:hover { border-color: var(--line-2); }
.pj-desc:focus { border-color: var(--blue); background: var(--bg); }
.pj-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 12px; color: var(--muted); }
.swatches { display: flex; gap: 5px; }
.swatches button { width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.swatches button.on { border-color: var(--text-strong); }
.pj-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: start; }
.pj-side { display: flex; flex-direction: column; gap: 12px; }

.note { border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.note + .note { margin-top: 10px; }
.note-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.note-h b { color: var(--text-strong); font-size: 14px; }
.note-h .m { font-size: 11.5px; color: var(--muted); }
.note-b { padding: 12px 14px; font-size: 13.5px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.note-b h1, .note-b h2, .note-b h3 { color: var(--text-strong); margin: 12px 0 6px; line-height: 1.3; }
.note-b h1 { font-size: 18px; } .note-b h2 { font-size: 16px; } .note-b h3 { font-size: 14px; }
.note-b p { margin: 0 0 8px; } .note-b ul, .note-b ol { margin: 0 0 8px; padding-left: 20px; }
.note-b code { background: var(--panel-2); padding: 1px 5px; border-radius: 3px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.note-b pre { background: var(--panel-2); padding: 10px; border-radius: 4px; overflow-x: auto; font-size: 12px; }
.note-b a { color: var(--blue-text); }
.note-b blockquote { border-left: 3px solid var(--line-2); margin: 0 0 8px; padding-left: 10px; color: var(--muted); }
.note-edit { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.note-edit textarea { min-height: 220px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
.md-help { font-size: 11px; color: var(--muted); }

.step { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .t { flex: 1; font-size: 13px; color: var(--text-strong); overflow-wrap: anywhere; }
.step.done .t { color: var(--muted); text-decoration: line-through; }
.step .x { opacity: 0; } .step:hover .x { opacity: 1; }
.add-row { display: flex; gap: 6px; margin-top: 8px; }
.add-row input { flex: 1; }
.pfiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pfile { border: 1px solid var(--line); border-radius: 6px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; position: relative; }
.pfile:hover { border-color: var(--line-2); }
.pfile .th { height: 70px; display: grid; place-items: center; background: var(--panel-2); color: var(--blue-text); font-size: 11px; font-weight: 800; text-transform: uppercase; overflow: hidden; }
.pfile .th img { width: 100%; height: 100%; object-fit: cover; }
.pfile .nm { font-size: 11px; padding: 5px 6px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfile .del { position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 3px; font-size: 11px; padding: 1px 5px; cursor: pointer; opacity: 0; }
.pfile:hover .del { opacity: 1; }
.plink { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.plink:last-child { border-bottom: 0; }
.plink a { color: var(--blue-text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.plink a:hover { text-decoration: underline; }
.act { display: flex; gap: 8px; font-size: 12px; padding: 5px 0; color: var(--muted); }
.act b { color: var(--text); font-weight: 600; }
.mini-drop { border: 1px dashed var(--line-2); border-radius: 6px; padding: 10px; text-align: center; font-size: 12px; color: var(--muted); cursor: pointer; margin-top: 8px; }
.mini-drop:hover, .mini-drop.over { border-color: var(--blue); color: var(--text-strong); }
@media (max-width: 1000px) { .pj-body { grid-template-columns: 1fr; } }

/* ---------- nápady ---------- */
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.idea { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.idea h3 { margin: 0; font-size: 14px; color: var(--text-strong); }
.idea .txt { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.idea .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.idea select { height: 28px; font-size: 12px; padding: 3px 8px; }
.vers { width: 100%; }

@media (max-width: 1000px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .topbar { gap: 10px; padding: 0 10px; } .brand-name { font-size: 14px; } .tab-btn { padding: 0 9px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* komentáře k úkolům */
.tc-task { font-size: 16px; font-weight: 600; color: var(--text-strong); white-space: pre-wrap; margin-bottom: 4px; }
.tc-thread { display: flex; flex-direction: column; gap: 10px; max-height: 52vh; overflow-y: auto; padding: 4px 2px 8px; }
.tc { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; max-width: 88%; align-self: flex-start; }
.tc.me { align-self: flex-end; border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.tc-h { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.tc-h b { color: var(--text-strong); }
.tc-h .icon-btn { margin-left: auto; padding: 0 4px; }
.tc .note-b { padding: 0; }
.tc-img { display: block; max-width: 100%; max-height: 320px; border-radius: 6px; margin-top: 6px; cursor: zoom-in; background: var(--bg); min-height: 40px; }
.tc-file { display: inline-block; margin-top: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; color: var(--text); cursor: pointer; text-align: left; }
.tc-file:hover { border-color: var(--blue); }
.tc-compose { border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-top: 10px; }
.tc-compose.over { border-color: var(--blue); border-style: dashed; }
.tc-compose textarea { width: 100%; resize: vertical; border: 0; background: transparent; }
.tc-bar { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.tc-bar .btn-primary { margin-left: auto; }
.tc-pend { display: inline-flex; gap: 4px; align-items: center; background: var(--panel-2); border-radius: 4px; padding: 2px 6px; margin: 4px 4px 0 0; }
.tc-pend button { background: none; border: 0; color: var(--red); cursor: pointer; }

/* spuštění testu uložené verze */
.retest-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0 4px; }
.retest-row label { min-width: 240px; }
.retest-row .btn-primary { height: 34px; padding: 0 18px; }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 12px 0 8px; }
.or-line::before, .or-line::after { content: ''; flex: 1; border-top: 1px solid var(--line); }

/* legenda pod grafem obchodu */
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11.5px; color: var(--muted); margin: 6px 2px 0; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { display: inline-block; width: 8px; height: 12px; border-radius: 2px; }
.chart-legend i.ln { width: 16px; height: 0; border-top: 2px dashed; border-radius: 0; }
.chart-legend i.ln.dot { border-top-style: dotted; }

/* graf obchodu – lišta a režim přes celou obrazovku */
.tv-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 6px; }
.tv-bar .filters { margin: 0; }
.tv-bar-r { margin-left: auto; display: flex; gap: 6px; }
.tv-title { color: var(--text-strong); font-size: 14px; }
.tv-box.full { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 10px 16px 12px; display: flex; flex-direction: column; }
.tv-box.full .tv-chart { flex: 1 1 auto; height: auto; min-height: 0; }
.tv-box.full .tv-k { height: 27vh; flex: none; }
body.tv-fullscreen { overflow: hidden; }

/* detail testu přes celou šířku, lišta nad grafem v jednom řádku, velký graf */
.modal-bg.wide { padding: 12px; }
.modal.wide { max-width: none; width: calc(100vw - 24px); }
.tv-info { flex: 1 1 320px; font-size: 12.5px; color: var(--text); min-width: 0; }
.tv-bar .btn-ghost, .tv-bar .btn-danger { height: 30px; padding: 0 10px; }
.modal.wide .tv-chart { height: max(300px, calc(100vh - 560px)); }
.modal.wide .tv-k { height: 140px; }
.modal.wide .tv-box.full .tv-chart, .tv-box.full .tv-chart { height: auto; }
.modal.wide .tv-box.full .tv-k { height: 27vh; }

/* live účty */
.live h2 { display: flex; align-items: center; gap: 8px; }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.live .dot.on { background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); animation: livepulse 2s infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.steps-list { margin: 10px 0 4px; padding-left: 20px; line-height: 1.7; }
.steps-list code { background: var(--panel-2); padding: 1px 5px; border-radius: 3px; }
.live-eq .chart { max-width: 520px; }
.row-del { display: flex; align-items: center; gap: 6px; }
.row-del .row { flex: 1; min-width: 0; }

.live-toggle { margin: 12px 0 4px; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 6px 12px; color: var(--text-strong); font: inherit; font-size: 13px; cursor: pointer; }
.live-toggle:hover { background: var(--panel-2); }
.cp-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; margin: 2px 0 10px; }
.cp-line input { padding: 3px 6px; }

/* ===== Město botů ===== */
.city-host { margin: -16px -16px -60px; }
.city { position: relative; height: calc(100vh - 50px); height: calc(100dvh - 50px); min-height: 420px; background: #0b0a2a; overflow: hidden; color: #e8e6ff; }
.city-canvas, .city-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.city-labels { position: absolute; inset: 0; pointer-events: none; }
.city-label { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; white-space: nowrap; text-align: center; padding: 5px 9px; border-radius: 4px;
  background: rgba(14, 10, 48, .82); border: 1px solid rgba(124, 92, 255, .7); box-shadow: 0 0 14px rgba(124, 92, 255, .45); font-size: 12px; line-height: 1.35; }
.city-label b { display: block; color: #fff; letter-spacing: .3px; } .city-label span { display: block; font-weight: 700; font-size: 13px; }
.city-label i { display: block; font-style: normal; font-size: 10.5px; color: #b9b3ff; }
.city-label.sel { border-color: #35e0ff; box-shadow: 0 0 18px rgba(53, 224, 255, .7); } .city-label.off { opacity: .55; }
.city-label .positive { color: #4dffb0; } .city-label .negative { color: #ff6b9a; }
.city-top { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; pointer-events: none; }
.city-period { display: flex; gap: 4px; pointer-events: auto; }
.city-period button { background: rgba(14, 10, 48, .8); border: 1px solid rgba(124, 92, 255, .6); color: #cfc9ff; padding: 5px 12px; border-radius: 4px; cursor: pointer; font: inherit; font-size: 13px; }
.city-period button.on { background: #7c5cff; color: #fff; border-color: #7c5cff; }
.city-sum { background: rgba(14, 10, 48, .8); border: 1px solid rgba(124, 92, 255, .4); padding: 5px 12px; border-radius: 4px; font-size: 13px; }
.city-sum .positive { color: #4dffb0; } .city-sum .negative { color: #ff6b9a; }
.city-env { background: rgba(14, 10, 48, .8); border: 1px solid rgba(255, 201, 74, .45); padding: 5px 12px; border-radius: 4px; font-size: 13px; }
.city-env small { color: #b9b3ff; font-size: 11px; }
.city-label.vault { border-color: rgba(255, 201, 74, .8); box-shadow: 0 0 14px rgba(255, 201, 74, .35); } .city-label.vault b { color: #ffd77a; }
@media (max-width: 600px) { .city-env { font-size: 11.5px; padding: 4px 9px; } }
.city-msg { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); background: rgba(14, 10, 48, .85); padding: 10px 16px; border-radius: 6px; font-size: 14px; }
.city-hint { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: rgba(207, 201, 255, .6); pointer-events: none; }
.city-panel { position: absolute; right: 12px; top: 56px; width: 340px; max-height: calc(100% - 70px); overflow: auto; background: rgba(14, 10, 48, .97);
  z-index: 5; border: 1px solid rgba(124, 92, 255, .6); border-radius: 8px; padding: 14px; box-shadow: 0 0 30px rgba(124, 92, 255, .35); font-size: 13px; }
.city-panel .cp-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; margin-bottom: 4px; }
.city-panel .cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.city-panel .cp-grid div { background: rgba(124, 92, 255, .12); border-radius: 5px; padding: 7px 9px; }
.city-panel .cp-grid span { display: block; font-size: 11px; color: #b9b3ff; } .city-panel .cp-grid b { font-size: 14px; } .city-panel .cp-grid small { display: block; color: #b9b3ff; }
.city-panel .cp-pos { display: flex; gap: 6px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid rgba(124, 92, 255, .2); } .city-panel .cp-pos span { margin-left: auto; }
.city-panel .positive { color: #4dffb0; } .city-panel .negative { color: #ff6b9a; } .city-panel .muted { color: #a29cd8; }
.city-panel .sec-title { color: #b9b3ff; }
.dot-s { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #666; margin-right: 7px; vertical-align: 1px; } .dot-s.on { background: #4dffb0; box-shadow: 0 0 8px #4dffb0; }
@media (max-width: 700px) {
  .city { height: calc(100dvh - 50px); }
  .city-panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 62%; border-radius: 12px 12px 0 0; }
  .city-hint { display: none; }
  .city-label { font-size: 11px; padding: 4px 7px; }
}
.city .dot { width: 9px; height: 9px; border-radius: 50%; background: #666; display: inline-block; } .city .dot.on { background: #4dffb0; box-shadow: 0 0 0 3px rgba(77,255,176,.2); }
.city-panel .cp-exit { font-size: 11.5px; color: #cfc9ff; padding: 2px 0 6px; }

/* Účty: přepínač Město / Seznam */
.acc-switch { display: inline-flex; border: 1px solid var(--line-2, #363a45); border-radius: 6px; overflow: hidden; margin: 0 0 12px; }
.acc-switch button { font: inherit; font-size: 13px; padding: 6px 16px; border: 0; background: transparent; color: var(--muted, #787b86); cursor: pointer; }
.acc-switch button.on { background: var(--blue, #2962ff); color: #fff; }
.acc-switch button:disabled { opacity: .4; cursor: not-allowed; }
.city-top .acc-switch { margin: 0 0 0 auto; pointer-events: auto; border-color: rgba(124, 92, 255, .6); background: rgba(14, 10, 48, .8); }
.city-top .acc-switch button { color: #cfc9ff; } .city-top .acc-switch button.on { background: #7c5cff; color: #fff; }

/* ================= NEON (tmavý režim, vybral Nicolas 10.10.) =================
   Indigo noc jako Město, azurový a fialový akcent, písmo Sora + JetBrains Mono na čísla. Světlý režim beze změny. */
:root[data-theme="dark"] {
  --bg: #0b0a24; --bg-2: #090820; --panel: #17123f; --panel-2: #221a5a; --line: #2e2670; --line-2: #3d3390;
  --text: #dcdaf7; --text-strong: #f4f3ff; --muted: #9a95d0; --blue: #7c5cff; --blue-hover: #6a48f5; --blue-soft: rgba(124, 92, 255, .18); --blue-text: #a993ff;
  --green: #2fd6a0; --green-bg: rgba(47, 214, 160, .14); --red: #ff5d7e; --red-bg: rgba(255, 93, 126, .14); --orange: #ffb547; --orange-bg: rgba(255, 181, 71, .14);
  --cyan: #35e0ff; --glow: 0 0 22px rgba(53, 224, 255, .22); --card-shadow: 0 10px 34px rgba(6, 4, 30, .55);
}
:root[data-theme="dark"] body { font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(110% 60% at 85% -10%, rgba(124, 92, 255, .28), transparent 60%), radial-gradient(80% 50% at -10% 110%, rgba(53, 224, 255, .12), transparent 60%), var(--bg);
  background-attachment: fixed; }
:root[data-theme="dark"] .topbar { background: rgba(11, 10, 36, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
:root[data-theme="dark"] .brand-name span { color: var(--cyan); text-shadow: 0 0 14px rgba(53, 224, 255, .55); }
:root[data-theme="dark"] .tab-btn.active { border-bottom-color: var(--cyan); text-shadow: 0 0 12px rgba(53, 224, 255, .45); }
:root[data-theme="dark"] .panel { border-radius: 12px; box-shadow: var(--card-shadow); background: linear-gradient(180deg, rgba(34, 26, 90, .55), rgba(23, 18, 63, .9)), var(--panel); }
:root[data-theme="dark"] .stats-grid { border-radius: 12px; box-shadow: var(--card-shadow); }
:root[data-theme="dark"] .stat-value, :root[data-theme="dark"] .tbl td, :root[data-theme="dark"] .num { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: -.2px; }
:root[data-theme="dark"] .btn-primary { background: linear-gradient(135deg, #7c5cff, #4f7dff); border-radius: 8px; box-shadow: 0 4px 16px rgba(124, 92, 255, .35); }
:root[data-theme="dark"] .btn-primary:hover { background: linear-gradient(135deg, #8d71ff, #5f8bff); box-shadow: var(--glow); }
:root[data-theme="dark"] select, :root[data-theme="dark"] input, :root[data-theme="dark"] textarea { border-radius: 8px; background: var(--bg-2); }
:root[data-theme="dark"] input:focus, :root[data-theme="dark"] select:focus, :root[data-theme="dark"] textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53, 224, 255, .15); outline: none; }
:root[data-theme="dark"] .acc-switch { border-color: var(--line-2); border-radius: 999px; }
:root[data-theme="dark"] .acc-switch button.on { background: linear-gradient(135deg, #7c5cff, #4f7dff); }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }

.dd-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; }
.dd-head .stat-label { white-space: nowrap; }
.dd-seg { display: inline-flex; gap: 2px; padding: 2px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; }
.dd-seg button { font: inherit; font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 5px; padding: 2px 7px; cursor: pointer; white-space: nowrap; }
.dd-seg button:hover { color: var(--text-strong); }
.dd-seg button.on { background: var(--blue); color: #fff; }
/* Účty kompaktně (Nicolas 02.11.): menší karty, celý souhrn je klikací záložka */
.panel.live { padding: 8px 12px; margin-bottom: 8px; }
.panel.live .live-sum { cursor: pointer; border-radius: 8px; margin: -4px -6px; padding: 4px 6px; }
.panel.live .live-sum:hover { background: var(--blue-soft); }
.panel.live .panel-head { margin-bottom: 6px; } .panel.live .panel-head h2 { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.panel.live .live-car { color: var(--muted); font-size: 11px; width: 10px; }
.panel.live .stats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.panel.live .stat-card { padding: 6px 10px; gap: 1px; }
.panel.live .stat-label { font-size: 11px; } .panel.live .stat-foot { font-size: 10.5px; }
.panel.live .stat-value { font-size: 15px; }
.panel.live .live-more { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.panel.live.open .live-more { color: var(--blue-text); }
.panel.live .dd-seg button { padding: 1px 5px; font-size: 10.5px; }
@media (max-width: 1100px) { .panel.live .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* mobil (Michael 3. 11.): 3 sloupce byly na telefonu úzké – částky useknuté „10 000,0…“, přepínač Max DD se nevešel */
@media (max-width: 560px) { .panel.live .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel.live .stat-value { font-size: 14px; } .panel.live .dd-head { flex-direction: column; align-items: flex-start; } .panel.live .dd-seg { width: 100%; justify-content: space-between; } }
