/*
============================================================
 OK7JN CSS CLEANER STUDIO - STYLE CLEAN
============================================================
 Bezpečný režim:
 - pořadí CSS zůstává zachované
 - duplicity nejsou automaticky mazány
 - report ukáže, co je potřeba projít a sloučit
============================================================
*/

:root{
  --bg:#07111f;
  --bg2:#0b1628;
  --bg3:#111c31;
  --panel:rgba(17,27,46,.92);
  --panel2:rgba(24,37,60,.88);
  --card:rgba(255,255,255,.060);
  --card2:rgba(255,255,255,.095);
  --line:rgba(148,163,184,.24);
  --line2:rgba(148,163,184,.36);
  --text:#f5f8ff;
  --muted:#c8d4e8;
  --green:#a3e635;
  --cyan:#38bdf8;
  --blue:#3b82f6;
  --yellow:#facc15;
  --pink:#ec4899;
  --violet:#a855f7;
  --red:#ef4444;
  --shadow:0 18px 48px rgba(0,0,0,.30);
  --radius:24px;
  --primary1:#4f8cff;
  --primary2:#2dd4bf;
  --buttonText:#ffffff;
}

[data-theme="daylight"]{
  --bg:#dcefff;
  --bg2:#eef7ff;
  --bg3:#dbe7f3;
  --panel:rgba(226,235,246,.94);
  --panel2:rgba(215,225,238,.90);
  --card:rgba(255,255,255,.86);
  --card2:rgba(255,255,255,.96);
  --line:rgba(15,23,42,.16);
  --line2:rgba(15,23,42,.24);
  --text:#071226;
  --muted:#334155;
  --green:#047857;
  --cyan:#0284c7;
  --blue:#2563eb;
  --yellow:#d97706;
  --pink:#db2777;
  --violet:#7c3aed;
  --shadow:0 18px 44px rgba(37,99,235,.13);
  --primary1:#4f8cff;
  --primary2:#35cdb9;
  --buttonText:#ffffff;
}

[data-theme="blue"]{
  --bg:#06142f;
  --bg2:#082447;
  --bg3:#0c2f5c;
  --panel:rgba(8,20,44,.92);
  --panel2:rgba(13,35,65,.88);
  --card:rgba(96,165,250,.08);
  --card2:rgba(96,165,250,.12);
  --line:rgba(147,197,253,.24);
  --line2:rgba(147,197,253,.36);
  --cyan:#60a5fa;
  --green:#38bdf8;
  --primary1:#38bdf8;
  --primary2:#2563eb;
}

[data-theme="outdoor"]{
  --bg:#06170d;
  --bg2:#0e2518;
  --bg3:#14341f;
  --panel:rgba(9,31,19,.92);
  --panel2:rgba(18,52,30,.88);
  --card:rgba(132,204,22,.075);
  --card2:rgba(132,204,22,.115);
  --line:rgba(132,204,22,.23);
  --line2:rgba(132,204,22,.34);
  --green:#a3e635;
  --cyan:#22c55e;
  --primary1:#84cc16;
  --primary2:#22c55e;
}

[data-theme="night"]{
  --bg:#07111f;
  --bg2:#0b1628;
  --bg3:#111c31;
  --panel:rgba(17,27,46,.92);
  --panel2:rgba(24,37,60,.88);
  --card:rgba(255,255,255,.060);
  --card2:rgba(255,255,255,.095);
  --line:rgba(148,163,184,.24);
  --line2:rgba(148,163,184,.36);
  --green:#a3e635;
  --cyan:#38bdf8;
  --primary1:#4f8cff;
  --primary2:#2dd4bf;
}

[data-theme="tactical"]{
  --bg:#0b0f12;
  --bg2:#151a1d;
  --bg3:#202529;
  --panel:rgba(20,24,27,.94);
  --panel2:rgba(39,44,47,.90);
  --card:rgba(229,231,235,.065);
  --card2:rgba(229,231,235,.095);
  --line:rgba(229,231,235,.20);
  --line2:rgba(229,231,235,.30);
  --green:#d9f99d;
  --cyan:#e5e7eb;
  --yellow:#f5f5dc;
  --primary1:#a3e635;
  --primary2:#d9f99d;
  --buttonText:#111827;
}

[data-theme="classic"]{
  --bg:#0b1220;
  --bg2:#172338;
  --bg3:#1e293b;
  --panel:rgba(15,23,42,.93);
  --panel2:rgba(51,65,85,.86);
  --card:rgba(255,255,255,.065);
  --card2:rgba(255,255,255,.095);
  --primary1:#38bdf8;
  --primary2:#22c55e;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:var(--text)}
body{min-height:100vh}
html{background:var(--bg)}
body{
  background:
    radial-gradient(circle at 10% -8%, color-mix(in srgb, var(--cyan) 20%, transparent), transparent 34rem),
    radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--green) 14%, transparent), transparent 32rem),
    linear-gradient(180deg,var(--bg),var(--bg2) 52%,var(--bg3));
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.wrap{width:min(100% - 34px,1540px);min-height:calc(100vh - 16px);margin:0 auto;padding:12px 0 10px;display:flex;flex-direction:column;gap:12px}

.topbar{
  position:sticky;top:8px;z-index:50;
  display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;
  min-height:58px;padding:8px 10px;border:1px solid var(--line);border-radius:999px;
  background:color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter:blur(18px);box-shadow:var(--shadow);
}
.brand{display:flex;align-items:center;justify-content:flex-start;gap:11px;white-space:nowrap}
.logo{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-weight:950;color:#062217;background:linear-gradient(135deg,var(--primary1),var(--primary2));box-shadow:0 0 0 8px color-mix(in srgb, var(--cyan) 12%, transparent);overflow:hidden}
.logo img,.logo-img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}

.lang{display:flex;gap:7px}
.lang button,.theme-btn{
  border:1px solid var(--line2);background:var(--card2);color:var(--text);
  min-width:44px;height:38px;border-radius:13px;font-weight:950;cursor:pointer;
}
.lang button.active{background:linear-gradient(135deg,var(--primary1),var(--primary2));color:var(--buttonText);border-color:transparent}
.theme-wrap{position:relative}
.theme-btn{width:42px;border-radius:50%;font-size:18px}
.theme-menu{
  display:none;position:absolute;right:0;top:48px;width:210px;padding:8px;border-radius:18px;
  background:color-mix(in srgb, var(--panel) 94%, transparent);border:1px solid var(--line);
  box-shadow:0 22px 54px rgba(0,0,0,.28);backdrop-filter:blur(20px);z-index:80;
}
.theme-menu.open{display:grid;gap:7px}
.theme-menu button{
  border:1px solid var(--line);background:var(--card);color:var(--text);
  text-align:left;border-radius:12px;padding:10px 12px;font-weight:900;cursor:pointer;
}
.theme-menu button:hover,.theme-menu button.active{background:var(--card2);border-color:var(--cyan)}


.brand-title{
  grid-column:2;
  justify-self:center;
  text-align:center;
  font-size:24px;
  line-height:1;
  font-weight:950;
  letter-spacing:.01em;
  color:var(--text);
  white-space:nowrap;
}
.top-controls{
  grid-column:3;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
}
.top-controls .lang{order:1}
.top-controls .theme-wrap{order:2}

main{display:flex;flex-direction:column;gap:14px}
.panel{
  border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:blur(18px);
}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(500px,.9fr);gap:14px;align-items:stretch}
.compact-hero{padding:22px;min-height:0;background:linear-gradient(180deg,var(--panel),var(--panel2))}
.compact-kicker,.kicker{
  width:max-content;max-width:100%;display:inline-flex;align-items:center;gap:8px;
  padding:9px 14px;margin-bottom:16px;border-radius:999px;border:1px solid color-mix(in srgb,var(--cyan) 45%,transparent);
  background:color-mix(in srgb,var(--card2) 78%,transparent);font-weight:950;color:var(--text);
}
.mission-button-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}
.mission-btn{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:76px;
  height:76px;
  padding:12px 16px;
  border-radius:17px;
  background:linear-gradient(180deg,var(--card2),var(--card));border:1px solid var(--line);
  color:var(--text);box-shadow:0 10px 24px rgba(0,0,0,.10);transition:.18s ease;
}
.mission-btn:hover{transform:translateY(-2px);border-color:var(--cyan);background:color-mix(in srgb,var(--card2) 80%,var(--cyan) 20%)}
.mission-primary{background:linear-gradient(135deg,var(--primary1),var(--primary2));color:var(--buttonText);border-color:transparent}
.mission-wide{grid-column:1/-1;min-height:60px}
.mb-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;background:color-mix(in srgb,var(--bg) 18%,transparent);font-size:22px}
.mb-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.mb-text strong{font-size:18px;line-height:1.05;font-weight:950;letter-spacing:.02em;color:inherit}
.mb-text small{font-size:12px;line-height:1.2;font-weight:800;color:var(--muted)}
.mission-primary .mb-text small{color:color-mix(in srgb,var(--buttonText) 75%,white 25%)}

.hall6-panel{padding:20px;background:linear-gradient(180deg,var(--panel),var(--panel2))}
.title{display:flex;align-items:center;gap:10px;font-size:21px;line-height:1.1;font-weight:950;letter-spacing:.02em}
.hall6-panel>.title{margin-bottom:14px}
.hall6-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hall6-box{border:1px solid var(--line2);border-radius:15px;background:linear-gradient(180deg,var(--card2),var(--card));padding:10px 12px;min-height:88px}
.hall6-box h3{margin:0 0 8px;font-size:13px;color:var(--text)}
.hall6-row{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;margin:6px 0;font-size:13px;font-weight:900}
.hall6-row b{color:color-mix(in srgb,var(--green) 82%,#eaffc8 18%)}
.hall6-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.hall6-link,.live-open{
  display:flex;align-items:center;justify-content:center;border-radius:15px;min-height:42px;padding:11px 16px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--blue) 60%,var(--panel)),color-mix(in srgb,var(--primary2) 60%,var(--panel)));
  border:1px solid color-mix(in srgb,var(--cyan) 35%,transparent);font-size:16px;font-weight:950;color:#fff;
}
.hall6-link:hover,.live-open:hover{filter:brightness(1.08);transform:translateY(-1px)}

.mission{padding:14px 18px 12px;background:linear-gradient(180deg,var(--panel),var(--panel2))}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 12px;border-radius:999px;background:color-mix(in srgb,var(--green) 18%,transparent);color:color-mix(in srgb,var(--green) 82%,white 18%);font-size:12px;font-weight:950;white-space:nowrap}
.dot{width:12px;height:12px;border-radius:50%;background:var(--green);box-shadow:0 0 18px color-mix(in srgb,var(--green) 65%,transparent)}
.mission-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(430px,.95fr);gap:14px;align-items:stretch}
.hf-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.status-card{min-height:68px;padding:10px 12px;border-radius:16px;border:1px solid var(--line2);background:linear-gradient(180deg,var(--card2),var(--card))}
.status-label{font-size:12px;font-weight:950;color:var(--muted);letter-spacing:.03em;margin-bottom:6px}
.status-value{font-size:26px;line-height:1;font-weight:950;color:var(--text)}
.status-note{font-size:12px;line-height:1.2;font-weight:850;color:var(--muted);margin-top:5px}
.band-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.band{min-height:68px;padding:9px 8px;border-radius:14px;border:1px solid var(--line);background:var(--card);text-align:center}
.band span{font-size:11px;font-weight:950;color:var(--text)}
.band b{display:block;margin:4px 0 2px;font-size:16px;line-height:1;font-weight:950}
.band small{display:block;font-size:9.5px;line-height:1.12;font-weight:850;color:var(--muted)}
.c-green{border-color:#22c55e}.c-green b{color:#22c55e}
.c-yellow{border-color:#facc15}.c-yellow b{color:#facc15}
.c-amber{border-color:#f59e0b}.c-amber b{color:#d97706}
.c-teal{border-color:#14b8a6}.c-teal b{color:#0f766e}
.c-cyan{border-color:#22d3ee}.c-cyan b{color:#22d3ee}
.c-violet{border-color:#a855f7}.c-violet b{color:#a855f7}
.c-pink{border-color:#ec4899}.c-pink b{color:#ec4899}
.hf-under-muf-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;min-height:32px;margin-top:9px;padding:7px 10px;border-radius:14px;border:1px solid var(--line);background:var(--card);font-size:12px;font-weight:950;color:var(--text)}
.hf-under-muf-row b{color:var(--cyan)}.hf-under-muf-row strong{color:color-mix(in srgb,var(--green) 85%,white 15%)}

.live-panel{height:100%;padding:14px;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--panel),var(--panel2))}
.live-panel .panel-head{margin-bottom:10px}
.live-list{flex:1 1 auto;min-height:58px}
.empty{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:14px;border:1px solid var(--line2);background:linear-gradient(180deg,var(--card2),var(--card));font-size:16px;font-weight:900;color:var(--text)}
.live-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:var(--card);margin-bottom:8px}
.live-call{font-weight:950}.live-sub{color:var(--muted);font-weight:850;font-size:12px}.live-band{font-weight:950;color:var(--cyan)}
.live-open{margin-top:auto;min-height:42px;padding:10px 14px}

.footer{display:flex;align-items:center;gap:20px;min-height:36px;padding:8px 16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,var(--panel),var(--panel2));color:var(--muted);font-size:13px}

/* Daylight: čitelné a bez šedých disabled přepisů */
[data-theme="daylight"] .topbar{
  background:rgba(255,255,255,.78);
  box-shadow:0 12px 36px rgba(37,99,235,.12);
}
[data-theme="daylight"] .panel,
[data-theme="daylight"] .compact-hero,
[data-theme="daylight"] .hall6-panel,
[data-theme="daylight"] .mission,
[data-theme="daylight"] .live-panel,
[data-theme="daylight"] .footer{
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.70);
}
[data-theme="daylight"] .mission-btn,
[data-theme="daylight"] .hall6-box,
[data-theme="daylight"] .status-card,
[data-theme="daylight"] .empty,
[data-theme="daylight"] .live-row,
[data-theme="daylight"] .hf-under-muf-row{
  background:linear-gradient(180deg,var(--card2),var(--card));
  border-color:var(--line);
  color:var(--text);
  box-shadow:0 8px 22px rgba(30,64,175,.07);
}
[data-theme="daylight"] .mission-primary{
  background:linear-gradient(135deg,var(--primary1),var(--primary2));
  color:white;
}
[data-theme="daylight"] .mission-primary .mb-text small{color:rgba(255,255,255,.88)}
[data-theme="daylight"] .hall6-row b{color:#047857}
[data-theme="daylight"] .hf-under-muf-row strong{color:#047857}
[data-theme="daylight"] .c-green{background:#ecfdf5}.c-green b{color:#22c55e}
[data-theme="daylight"] .c-yellow{background:#fffbeb}.c-yellow b{color:#eab308}
[data-theme="daylight"] .c-amber{background:#fff7e6}.c-amber b{color:#c56a00}
[data-theme="daylight"] .c-teal{background:#ecfdf8}.c-teal b{color:#0f766e}
[data-theme="daylight"] .c-cyan{background:#ecfeff}.c-cyan b{color:#06b6d4}
[data-theme="daylight"] .c-violet{background:#f5f3ff}.c-violet b{color:#8b5cf6}
[data-theme="daylight"] .c-pink{background:#fdf2f8}.c-pink b{color:#ec4899}
[data-theme="daylight"] .theme-menu{
  background:rgba(255,255,255,.92);
  box-shadow:0 22px 52px rgba(37,99,235,.16);
}
[data-theme="daylight"] .theme-menu button{background:rgba(255,255,255,.62);color:#071226}
[data-theme="daylight"] .theme-menu button:hover,[data-theme="daylight"] .theme-menu button.active{background:#dbeafe}

/* Dark themes: žádné disabled/přesvětlené karty */
html:not([data-theme="daylight"]) .mission-btn,
html:not([data-theme="daylight"]) .hall6-box,
html:not([data-theme="daylight"]) .status-card,
html:not([data-theme="daylight"]) .empty,
html:not([data-theme="daylight"]) .live-row,
html:not([data-theme="daylight"]) .hf-under-muf-row{
  background:linear-gradient(180deg,var(--card2),var(--card));
  color:var(--text);
  border-color:var(--line2);
}
html:not([data-theme="daylight"]) .mission-primary{
  background:linear-gradient(135deg,var(--primary1),var(--primary2));
  color:var(--buttonText);
}
html:not([data-theme="daylight"]) .mission-primary .mb-text small{color:rgba(255,255,255,.86)}




/* ===== CLEAN ALIGN FIX ===== */

/* všechny horní dlaždice stejně vysoké */
.mission-button-grid{
  align-items:stretch;
}

.mission-btn{
  align-self:stretch;
}

/* stejné odsazení textu */
.mb-text{
  justify-content:center;
}

/* spodní sekce - odstranit falešný obdélník pod boxy */
.mission-clean{
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
}

.mission-grid{
  align-items:stretch;
}

.hf-panel-card,
.live-panel{
  margin:0;
  position:relative;
}

/* odstranění spodního světlého pruhu */
.hf-panel-card::after,
.live-panel::after{
  display:none !important;
  content:none !important;
}

/* stejné zaoblení a okraje */
.hf-panel-card,
.live-panel,
.hall6-panel.panel,
.compact-hero{
  border-radius:28px;
}

/* stejné vnitřní okraje */
.hf-panel-card{
  padding:18px 18px 16px 18px;
}

.live-panel{
  padding:18px;
}

/* ===== JARDA FIX: sjednocené hlavní boxy / žádné hranaté nebo vnořené nesmysly ===== */

/* Horní pravý HALL panel: stejný vzhled jako TOTA Mission Control */
.hall6-panel.panel{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(18px);
}

/* Horní dlaždice: jemný, ale viditelný stejný rámeček všude */
.mission-btn{
  border:1px solid color-mix(in srgb, var(--text) 14%, transparent);
}

/* Spodní část už není jeden velký společný box.
   Každý blok má vlastní zaoblenou kartu: HF vlevo, LIVE vpravo. */
.mission-clean{
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}

.hf-panel-card{
  padding:18px;
  min-height:100%;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
}

.live-panel{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.04);
}

/* Ve světlém tématu ať jsou všechny hlavní panely stejně „měkké“ */
[data-theme="daylight"] .hall6-panel.panel,
[data-theme="daylight"] .hf-panel-card,
[data-theme="daylight"] .live-panel{
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  border-color:var(--line);
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.70);
}

@media (min-width:1000px) and (max-height:900px){
  .wrap{gap:12px;padding-top:10px;padding-bottom:10px}
  main{gap:12px}
  .topbar{min-height:54px}
  .logo{width:42px;height:42px}
  .compact-hero{padding:20px}
  .hall6-panel{padding:16px}
  .mission{padding:16px}
  .mission-btn{min-height:62px}
  .mission-wide{min-height:56px}
  .status-card{min-height:72px}
  .band{min-height:72px}
  .footer{min-height:36px;padding:8px 16px}
}

@media (max-width:1250px){
  .hero-grid{grid-template-columns:1fr}
  .mission-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .topbar{grid-template-columns:auto 1fr;gap:10px;border-radius:24px}
  .brand-title{grid-column:2;justify-self:start;font-size:22px}
  .top-controls{grid-column:1/-1;justify-self:end;flex-wrap:wrap}
  .lang{justify-content:flex-end}
  .mission-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mission-wide{grid-column:span 2}
  .hall6-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hf-status{grid-template-columns:repeat(2,minmax(0,1fr))}
  .band-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:620px){
  .wrap{width:min(100% - 20px,1540px)}
  .brand-title{font-size:19px}
  .top-controls{justify-self:center}
  .lang{gap:5px}
  .lang button,.theme-btn{min-width:38px;height:34px;border-radius:12px;font-size:13px}
  .topbar{position:relative;top:0}
  .mission-button-grid,.hall6-grid,.hf-status,.band-grid{grid-template-columns:1fr}
  .mission-wide{grid-column:span 1}
  .hall6-actions{grid-template-columns:1fr}
  .panel-head{align-items:flex-start;flex-direction:column}
  .footer{flex-wrap:wrap}
}


/* Clean menu, unified across themes */
.theme-menu{
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  border-color:var(--line2);
}
.theme-menu button{
  background:var(--card);
  color:var(--text);
  border-color:var(--line);
}
.theme-menu button:hover,.theme-menu button.active{
  background:color-mix(in srgb,var(--card2) 70%,var(--primary1) 30%);
  border-color:var(--primary1);
}

/* ===== JARDA FIX 2: spodní boxy přesně podle horních sloupců ===== */

/* Horní i spodní dvojice používají stejné dělení stránky */
.hero-grid,
.mission-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(500px,.9fr);
  gap:14px;
  align-items:stretch;
}

/* Spodní sekce bez vlastního falešného pozadí, jen čistý grid */
.mission-clean{
  width:100%;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* HF panel a LIVE panel přesně stejná karta jako nahoře */
.hf-panel-card,
.live-panel{
  width:100%;
  height:100%;
  min-height:300px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(18px);
}

/* Spodní levý box má stejný vnitřní nádech jako TOTA Mission Control */
.hf-panel-card{
  padding:18px;
}

/* Spodní pravý box už nemá být opticky jiný */
.live-panel{
  padding:18px;
}

/* Obsah uvnitř HF nesmí box roztahovat jinak než horní sloupec */
.hf-status{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.band-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}

/* Zarovnání tlačítka v LIVE panelu dolů, ale bez rozbití výšky */
.live-list{
  flex:1 1 auto;
}

/* Na menších displejích obě řady stejně pod sebe */
@media (max-width:1250px){
  .hero-grid,
  .mission-grid{
    grid-template-columns:1fr;
  }
}

/* Mobilní zobrazení zachovat čisté */
@media (max-width:900px){
  .mission-grid{
    grid-template-columns:1fr;
  }
}


/* ===== JARDA: Mission Control překlady + čitelnější názvy ===== */
.mb-text strong{
  font-size:17px;
  line-height:1.02;
  text-wrap:balance;
}
.mb-text small{
  font-size:11.5px;
  line-height:1.10;
  text-wrap:pretty;
}




/* celý horní řádek HF panelu */
.hf-headline{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  flex-wrap:nowrap !important;
  margin-bottom:12px !important;
}

.hf-title{
  flex:0 1 auto;
  min-width:max-content;
}

.hf-updated{
  flex:1 1 auto;
  min-width:190px;
  text-align:right;
  white-space:nowrap;
  font-size:18px;
  font-weight:950;
  color:var(--muted);
}

/* tlačítko na propagation */
.hf-source-btn{
  flex:0 0 auto;
  min-height:42px;
  padding:10px 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(135deg,var(--primary1),var(--primary2));
  color:var(--buttonText);
  border:1px solid color-mix(in srgb,var(--cyan) 35%,transparent);
  font-size:17px;
  font-weight:950;
  line-height:1;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  white-space:nowrap;
}

.hf-source-btn:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}

/* NTB / větší zoom: zůstane jeden řádek, ale vše je kompaktnější */
@media (min-width:1000px) and (max-width:1450px){
  .hf-headline{gap:8px !important}
  .hf-title{font-size:19px !important}
  .hf-title .pill{padding:6px 10px;min-height:30px;font-size:12px}
  .hf-updated{font-size:15px;min-width:150px}
  .hf-source-btn{min-height:36px;padding:9px 13px;font-size:14px}
}

/* když už fakt není místo, necháme datum pod řádkem místo překrývání */
@media (max-width:999px){
  .hf-headline{
    flex-wrap:wrap !important;
    align-items:flex-start !important;
  }
  .hf-updated{
    order:3;
    flex-basis:100%;
    text-align:left;
  }
  .hf-source-btn{
    margin-left:auto;
  }
  .hf-panel-card::before{
    width:min(95%,520px) !important;
    opacity:.06 !important;
  }
}






/* ===== GLOBAL TOTA BACKGROUND WATERMARK =====
   Jarda nápověda:
   - opacity = síla/viditelnost loga
   - width/height = velikost loga
   - top/left = poloha loga na stránce
*/
body{
  position:relative;
}

/* Velké TOTA logo jako pozadí CELÉ stránky, ne jednotlivého boxu */
body::before{
  content:"";
  position:fixed;
  left:50%;
  top:50%;
width:min(42vw,620px);
height:min(42vw,620px);
  transform:translate(-50%,-50%);
  background:url("TOTA.png") center/contain no-repeat;
  opacity:.20;
  pointer-events:none;
  z-index:0;
  filter:contrast(1.08) saturate(1.05);
  mix-blend-mode:multiply;
}

/* Webový obsah zůstává nad watermarkem */
.wrap{
  position:relative;
  z-index:1;
}

/* Ve světlém tématu může být logo výraznější */
[data-theme="daylight"] body::before{
  opacity:.23;
  mix-blend-mode:multiply;
}

/* V tmavších tématech měkčí, aby nerušilo text */
html:not([data-theme="daylight"]) body::before{
  opacity:.12;
  mix-blend-mode:soft-light;
}

@media (max-width:1000px){
  body::before{
    width:min(110vw,860px);
    height:min(110vw,860px);
    opacity:.13;
  }
}

@media (max-width:620px){
  body::before{
    width:130vw;
    height:130vw;
    opacity:.10;
  }
}


/* ============================================================
   TOTA PREMIUM DAYLIGHT THEME v6
   - pouze motiv Daylight je laděný do moderního TOTA / rozhledny stylu
   - ostatní motivy zůstávají beze změny
   ============================================================ */

[data-theme="daylight"]{
  --bg:#f5d98d;
  --bg2:#fff0c6;
  --bg3:#f2c870;

  --panel:rgba(255,246,218,.92);
  --panel2:rgba(255,235,174,.82);

  --card:rgba(255,248,226,.78);
  --card2:rgba(255,244,208,.94);

  --line:rgba(182,126,30,.34);
  --line2:rgba(182,126,30,.50);

  --text:#24190f;
  --muted:#5f4a2c;

  --green:#2f7d32;
  --cyan:#0b62bd;
  --blue:#055ec4;
  --yellow:#c48a14;
  --pink:#b84a75;
  --violet:#7b55b3;
  --red:#b83b2e;

  --primary1:#0b74e8;
  --primary2:#0056b8;
  --buttonText:#ffffff;

  --shadow:0 14px 34px rgba(126,78,16,.12);
  --radius:16px;
}

[data-theme="daylight"] html,
html[data-theme="daylight"]{
  background:#f6dda0;
}

[data-theme="daylight"] body{
  background:
    radial-gradient(circle at 8% -10%, rgba(255,255,255,.55), transparent 32rem),
    radial-gradient(circle at 92% 0%, rgba(190,126,26,.24), transparent 34rem),
    linear-gradient(135deg,#fff2c9 0%,#f6d78d 46%,#e1ad55 100%);
  color:var(--text);
}

[data-theme="daylight"] .wrap{
  width:min(100% - 4px,1660px);
  padding-top:4px;
  gap:0;
}

/* horní lišta jako moderní TOTA web */
[data-theme="daylight"] .topbar{
  top:4px;
  min-height:112px;
  border-radius:10px 10px 0 0;
  border:1px solid rgba(188,134,40,.26);
  border-bottom-color:rgba(188,134,40,.45);
  background:
    radial-gradient(circle at 50% -40%, rgba(255,255,255,.70), transparent 28rem),
    linear-gradient(180deg,rgba(255,241,194,.96),rgba(255,226,151,.92));
  box-shadow:0 8px 24px rgba(140,93,24,.10);
  backdrop-filter:none;
  padding:10px 26px;
}

[data-theme="daylight"] .logo{
  width:84px;
  height:84px;
  box-shadow:none;
  background:transparent;
}

[data-theme="daylight"] .brand-title{
  font-size:35px;
  font-weight:950;
  letter-spacing:.01em;
  color:#20252d;
  text-shadow:0 2px 2px rgba(255,255,255,.50);
}

[data-theme="daylight"] .lang button,
[data-theme="daylight"] .theme-btn{
  min-width:46px;
  height:42px;
  border-radius:7px;
  border:1px solid #0b74e8;
  background:linear-gradient(180deg,#fff8de,#ffe9a5);
  color:#075dbb;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
}

[data-theme="daylight"] .lang button.active{
  background:linear-gradient(180deg,#087cff,#005fc8);
  color:#fff;
  border-color:#0069df;
  box-shadow:0 6px 14px rgba(0,95,200,.20);
}

[data-theme="daylight"] .theme-btn{
  width:46px;
  border-radius:8px;
  font-size:19px;
}

[data-theme="daylight"] main{
  gap:20px;
  padding:36px 38px 22px;
  border-top:1px solid rgba(178,121,26,.32);
  background:
    radial-gradient(circle at 25% 10%, rgba(255,255,255,.46), transparent 26rem),
    linear-gradient(180deg,rgba(255,245,209,.70),rgba(255,233,171,.34));
}

/* hlavní panely */
[data-theme="daylight"] .panel,
[data-theme="daylight"] .compact-hero,
[data-theme="daylight"] .hall6-panel,
[data-theme="daylight"] .hf-panel-card,
[data-theme="daylight"] .live-panel,
[data-theme="daylight"] .footer{
  border:1px solid rgba(194,132,31,.48);
  border-radius:16px;
  background:
    radial-gradient(circle at 40% 0%, rgba(255,255,255,.58), transparent 22rem),
    linear-gradient(180deg,rgba(255,249,229,.92),rgba(255,235,180,.84));
  box-shadow:0 10px 28px rgba(121,78,17,.10), inset 0 1px 0 rgba(255,255,255,.76);
  backdrop-filter:none;
}

[data-theme="daylight"] .hero-grid{
  grid-template-columns:minmax(0,1.42fr) minmax(500px,.95fr);
  gap:24px;
}

[data-theme="daylight"] .compact-hero,
[data-theme="daylight"] .hall6-panel{
  padding:28px;
}

[data-theme="daylight"] .kicker,
[data-theme="daylight"] .compact-kicker{
  border:0;
  background:transparent;
  color:#3b2514;
  padding:0;
  margin-bottom:24px;
  font-size:26px;
  font-weight:950;
}

[data-theme="daylight"] .title{
  color:#3b2514;
  font-size:24px;
}

/* dlaždice - trochu prémiové, méně dashboardové */
[data-theme="daylight"] .mission-button-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

[data-theme="daylight"] .mission-btn,
[data-theme="daylight"] .hall6-box,
[data-theme="daylight"] .status-card,
[data-theme="daylight"] .empty,
[data-theme="daylight"] .live-row,
[data-theme="daylight"] .hf-under-muf-row,
[data-theme="daylight"] .band{
  border:1px solid rgba(203,141,39,.52);
  border-radius:9px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.62), transparent 8rem),
    linear-gradient(180deg,rgba(255,249,229,.94),rgba(255,236,181,.76));
  box-shadow:0 4px 12px rgba(122,77,15,.07), inset 0 1px 0 rgba(255,255,255,.70);
  color:#24190f;
}

[data-theme="daylight"] .mission-btn{
  min-height:146px;
  height:146px;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  gap:14px;
  padding:18px 14px;
}

[data-theme="daylight"] .mission-btn:hover{
  transform:translateY(-1px);
  border-color:#0b74e8;
  background:linear-gradient(180deg,#fff9df,#ffe4a2);
}

[data-theme="daylight"] .mission-primary{
  background:linear-gradient(180deg,#fff9df,#ffe4a2);
  color:#24190f;
  border-color:rgba(203,141,39,.52);
}

[data-theme="daylight"] .mission-primary .mb-text small{
  color:#5f4a2c;
}

[data-theme="daylight"] .mb-icon{
  width:58px;
  height:58px;
  border-radius:10px;
  background:transparent;
  font-size:44px;
  filter:drop-shadow(0 2px 1px rgba(255,255,255,.7));
}

[data-theme="daylight"] .mb-text{
  align-items:center;
}

[data-theme="daylight"] .mb-text strong{
  font-size:18px;
  color:#0059bd;
  letter-spacing:0;
}

[data-theme="daylight"] .mb-text small{
  margin-top:6px;
  font-size:14px;
  line-height:1.35;
  color:#2b2016;
  font-weight:750;
}

/* žebříčky */
[data-theme="daylight"] .hall6-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

[data-theme="daylight"] .hall6-box{
  min-height:116px;
  padding:14px 16px;
}

[data-theme="daylight"] .hall6-box h3{
  font-size:16px;
  margin-bottom:10px;
  color:#35210f;
}

[data-theme="daylight"] .hall6-row{
  font-size:15px;
  color:#1f2933;
}

[data-theme="daylight"] .hall6-row b{
  color:#153f70;
}

[data-theme="daylight"] .hall6-actions{
  margin-top:16px;
}

[data-theme="daylight"] .hall6-link,
[data-theme="daylight"] .live-open,
[data-theme="daylight"] .hf-source-btn{
  border:1px solid #0b74e8;
  border-radius:8px;
  background:linear-gradient(180deg,#fff7d8,#ffe59a);
  color:#075dbb;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
}

[data-theme="daylight"] .hall6-link:hover,
[data-theme="daylight"] .live-open:hover,
[data-theme="daylight"] .hf-source-btn:hover{
  background:linear-gradient(180deg,#0b7cff,#005fc8);
  color:#fff;
}

/* HF / live spodní panely */
[data-theme="daylight"] .mission-clean{
  padding:0;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

[data-theme="daylight"] .mission-grid{
  gap:22px;
}

[data-theme="daylight"] .hf-status{
  gap:12px;
}

[data-theme="daylight"] .status-value{
  color:#0d3157;
}

[data-theme="daylight"] .band-grid{
  gap:10px;
}

[data-theme="daylight"] .band small,
[data-theme="daylight"] .status-note,
[data-theme="daylight"] .live-sub{
  color:#6a5635;
}

[data-theme="daylight"] .pill{
  background:rgba(255,230,150,.76);
  color:#5b3705;
  border:1px solid rgba(203,141,39,.45);
}

[data-theme="daylight"] .dot{
  background:#2f7d32;
  box-shadow:0 0 12px rgba(47,125,50,.35);
}

/* theme dropdown podle návrhu: Daylight světlý, ostatní tmavé */
[data-theme="daylight"] .theme-menu{
  width:230px;
  padding:0;
  gap:0;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(196,137,35,.65);
  background:#263442;
  box-shadow:0 18px 36px rgba(79,50,11,.22);
}

[data-theme="daylight"] .theme-menu button{
  height:56px;
  border:0;
  border-bottom:1px solid rgba(232,196,82,.58);
  border-radius:0;
  background:linear-gradient(180deg,#2c3b48,#1f2b36);
  color:#fff;
  padding:0 18px;
  font-size:18px;
  font-weight:850;
}

[data-theme="daylight"] .theme-menu button:first-child,
[data-theme="daylight"] .theme-menu button[data-theme-choice="daylight"]{
  background:linear-gradient(180deg,#fff0bd,#ffe096);
  color:#25190e;
}

[data-theme="daylight"] .theme-menu button:hover,
[data-theme="daylight"] .theme-menu button.active{
  filter:brightness(1.06);
}

/* footer */
[data-theme="daylight"] .footer{
  margin:0 38px 4px;
  border-radius:0 0 10px 10px;
  background:linear-gradient(180deg,rgba(255,231,154,.82),rgba(255,220,126,.78));
  color:#2d2115;
}

@media (max-width:1250px){
  [data-theme="daylight"] .hero-grid,
  [data-theme="daylight"] .mission-grid{grid-template-columns:1fr}
}

@media (max-width:900px){
  [data-theme="daylight"] .topbar{min-height:auto;border-radius:12px;padding:12px}
  [data-theme="daylight"] .logo{width:58px;height:58px}
  [data-theme="daylight"] .brand-title{font-size:24px}
  [data-theme="daylight"] main{padding:18px 14px}
  [data-theme="daylight"] .mission-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-theme="daylight"] .hall6-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:620px){
  [data-theme="daylight"] .mission-button-grid,
  [data-theme="daylight"] .hall6-grid{grid-template-columns:1fr}
  [data-theme="daylight"] .mission-btn{height:auto;min-height:120px}
  [data-theme="daylight"] .footer{margin:0 14px 4px}
}


/* ============================================================
   JARDA FIX v7 - Daylight kompaktnější jako rozhledny.eu
   - pouze motiv Daylight
   - ostatní motivy zůstávají beze změny
   - zmenšená hlavička, panely, dlaždice a žebříčky pro NTB
   ============================================================ */

[data-theme="daylight"] .wrap{
  width:min(100% - 8px,1560px);
  gap:8px;
  padding-top:4px;
}

/* hlavička už nepřekrývá obsah při scrollu */
[data-theme="daylight"] .topbar{
  position:relative;
  top:0;
  min-height:82px;
  padding:8px 24px;
  border-radius:9px 9px 0 0;
}

[data-theme="daylight"] .logo{
  width:66px;
  height:66px;
}

[data-theme="daylight"] .brand-title{
  font-size:30px;
  line-height:1.05;
}

[data-theme="daylight"] .lang{
  gap:8px;
}

[data-theme="daylight"] .lang button,
[data-theme="daylight"] .theme-btn{
  min-width:42px;
  height:36px;
  border-radius:7px;
  font-size:15px;
}

[data-theme="daylight"] .theme-btn{
  width:42px;
  font-size:17px;
}

[data-theme="daylight"] main{
  gap:14px;
  padding:18px 28px 16px;
}

[data-theme="daylight"] .hero-grid{
  grid-template-columns:minmax(0,1.32fr) minmax(460px,.92fr);
  gap:16px;
}

[data-theme="daylight"] .compact-hero,
[data-theme="daylight"] .hall6-panel{
  padding:18px;
}

[data-theme="daylight"] .kicker,
[data-theme="daylight"] .compact-kicker,
[data-theme="daylight"] .title{
  font-size:20px;
  margin-bottom:14px;
}

[data-theme="daylight"] .mission-button-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

[data-theme="daylight"] .mission-btn{
  min-height:104px;
  height:104px;
  gap:8px;
  padding:12px 10px;
  border-radius:8px;
}

[data-theme="daylight"] .mb-icon{
  width:42px;
  height:42px;
  font-size:32px;
}

[data-theme="daylight"] .mb-text strong{
  font-size:15px;
  line-height:1.05;
}

[data-theme="daylight"] .mb-text small{
  margin-top:3px;
  font-size:12px;
  line-height:1.25;
  font-weight:750;
}

[data-theme="daylight"] .hall6-grid{
  gap:11px;
}

[data-theme="daylight"] .hall6-box{
  min-height:94px;
  padding:11px 13px;
  border-radius:8px;
}

[data-theme="daylight"] .hall6-box h3{
  font-size:14px;
  margin-bottom:7px;
}

[data-theme="daylight"] .hall6-row{
  font-size:13px;
  margin:5px 0;
}

[data-theme="daylight"] .hall6-actions{
  margin-top:12px;
  gap:10px;
}

[data-theme="daylight"] .hall6-link,
[data-theme="daylight"] .live-open,
[data-theme="daylight"] .hf-source-btn{
  min-height:36px;
  padding:8px 12px;
  font-size:14px;
  border-radius:7px;
}

[data-theme="daylight"] .theme-menu{
  width:205px;
  top:42px;
}

[data-theme="daylight"] .theme-menu button{
  height:44px;
  padding:0 14px;
  font-size:15px;
}

[data-theme="daylight"] .mission-grid{
  gap:14px;
}

[data-theme="daylight"] .hf-panel-card,
[data-theme="daylight"] .live-panel{
  padding:14px;
}

[data-theme="daylight"] .status-card{
  min-height:58px;
  padding:8px 10px;
}

[data-theme="daylight"] .status-value{
  font-size:22px;
}

[data-theme="daylight"] .band{
  min-height:58px;
  padding:7px 6px;
}

[data-theme="daylight"] .footer{
  margin:0 28px 4px;
  min-height:32px;
  padding:7px 14px;
  font-size:12px;
}

@media (min-width:1000px) and (max-height:900px){
  [data-theme="daylight"] .topbar{min-height:76px;padding:7px 22px}
  [data-theme="daylight"] .logo{width:60px;height:60px}
  [data-theme="daylight"] .brand-title{font-size:28px}
  [data-theme="daylight"] main{padding:14px 26px 14px;gap:12px}
  [data-theme="daylight"] .compact-hero,
  [data-theme="daylight"] .hall6-panel{padding:16px}
  [data-theme="daylight"] .mission-btn{min-height:94px;height:94px;padding:10px 8px}
  [data-theme="daylight"] .mb-icon{width:38px;height:38px;font-size:29px}
  [data-theme="daylight"] .mb-text strong{font-size:14px}
  [data-theme="daylight"] .mb-text small{font-size:11px;line-height:1.2}
  [data-theme="daylight"] .hall6-box{min-height:86px;padding:10px 12px}
  [data-theme="daylight"] .hall6-row{font-size:12.5px;margin:4px 0}
}

@media (max-width:1250px){
  [data-theme="daylight"] .hero-grid,
  [data-theme="daylight"] .mission-grid{grid-template-columns:1fr}
}

@media (max-width:900px){
  [data-theme="daylight"] .wrap{width:min(100% - 12px,1560px)}
  [data-theme="daylight"] .topbar{min-height:auto;border-radius:10px;padding:10px 12px}
  [data-theme="daylight"] .logo{width:54px;height:54px}
  [data-theme="daylight"] .brand-title{font-size:23px}
  [data-theme="daylight"] main{padding:14px 10px}
  [data-theme="daylight"] .mission-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-theme="daylight"] .mission-btn{height:auto;min-height:92px}
  [data-theme="daylight"] .hall6-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ============================================================
   JARDA v8 - Daylight přeskupení pro NTB / přehlednější plocha
   Cíl: žádné obří prázdné boxy, kompaktnější karty, menší výšky.
   Ostatní motivy zůstávají beze změny.
============================================================ */

@media (min-width: 901px){
  [data-theme="daylight"] main{
    padding:12px 22px 12px;
    gap:10px;
  }

  /* Horní dva hlavní boxy se už NENATAHUJÍ na stejnou výšku.
     Levý panel tak nemá obří prázdné místo pod dlaždicemi. */
  [data-theme="daylight"] .hero-grid{
    grid-template-columns:minmax(0,1.38fr) minmax(420px,.92fr);
    align-items:start !important;
    gap:12px;
  }

  [data-theme="daylight"] .compact-hero,
  [data-theme="daylight"] .hall6-panel{
    min-height:0 !important;
    height:auto !important;
    padding:14px;
  }

  [data-theme="daylight"] .compact-kicker,
  [data-theme="daylight"] .kicker{
    margin-bottom:11px;
    padding:6px 10px;
    font-size:15px;
  }

  /* TOTA Mission Control - dlaždice menší a přehlednější */
  [data-theme="daylight"] .mission-button-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:9px;
  }

  [data-theme="daylight"] .mission-btn{
    min-height:74px !important;
    height:74px !important;
    padding:8px 7px !important;
    border-radius:7px;
    gap:6px;
  }

  [data-theme="daylight"] .mb-icon{
    width:30px !important;
    height:30px !important;
    font-size:22px !important;
    margin-bottom:2px;
  }

  [data-theme="daylight"] .mb-text strong{
    font-size:12.5px !important;
    line-height:1.05;
    letter-spacing:.01em;
  }

  [data-theme="daylight"] .mb-text small{
    font-size:9.5px !important;
    line-height:1.15;
    margin-top:2px;
    font-weight:700;
  }

  /* Žebříčky - 3 sloupce, ale menší boxy */
  [data-theme="daylight"] .hall6-panel > .title{
    font-size:18px;
    margin-bottom:10px;
  }

  [data-theme="daylight"] .hall6-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
  }

  [data-theme="daylight"] .hall6-box{
    min-height:74px !important;
    padding:8px 10px !important;
    border-radius:7px;
  }

  [data-theme="daylight"] .hall6-box h3{
    font-size:11.5px !important;
    margin:0 0 5px;
  }

  [data-theme="daylight"] .hall6-row{
    font-size:11px !important;
    margin:3px 0 !important;
    gap:5px;
  }

  [data-theme="daylight"] .hall6-actions{
    margin-top:9px;
    gap:8px;
  }

  [data-theme="daylight"] .hall6-link{
    min-height:30px !important;
    padding:6px 10px !important;
    font-size:12px !important;
  }

  /* Spodní část: HF a LIVE mají menší vnitřní výšku */
  [data-theme="daylight"] .mission-grid{
    grid-template-columns:minmax(0,1.45fr) minmax(360px,.80fr);
    gap:12px;
    align-items:start !important;
  }

  [data-theme="daylight"] .hf-panel-card,
  [data-theme="daylight"] .live-panel{
    padding:12px !important;
    min-height:0 !important;
    height:auto !important;
  }

  [data-theme="daylight"] .panel-head{
    margin-bottom:8px;
  }

  [data-theme="daylight"] .title{
    font-size:17px;
  }

  [data-theme="daylight"] .hf-status{
    gap:8px;
    margin-bottom:8px;
  }

  [data-theme="daylight"] .status-card{
    min-height:48px !important;
    padding:6px 9px !important;
    border-radius:7px;
  }

  [data-theme="daylight"] .status-label{
    font-size:9.5px;
    margin-bottom:3px;
  }

  [data-theme="daylight"] .status-value{
    font-size:18px !important;
  }

  [data-theme="daylight"] .status-note{
    font-size:9.5px;
    margin-top:2px;
  }

  [data-theme="daylight"] .band-grid{
    gap:7px;
  }

  [data-theme="daylight"] .band{
    min-height:48px !important;
    padding:5px 5px !important;
    border-radius:7px;
  }

  [data-theme="daylight"] .band span{
    font-size:9px;
  }

  [data-theme="daylight"] .band b{
    font-size:13px;
    margin:2px 0;
  }

  [data-theme="daylight"] .band small{
    font-size:7.8px;
    line-height:1.05;
  }

  [data-theme="daylight"] .hf-under-muf-row{
    min-height:26px;
    padding:5px 8px;
    font-size:10.5px;
    gap:5px;
  }

  [data-theme="daylight"] .empty{
    min-height:34px;
    padding:7px 10px;
    font-size:12px;
    border-radius:7px;
  }

  [data-theme="daylight"] .live-open,
  [data-theme="daylight"] .hf-source-btn{
    min-height:30px !important;
    padding:6px 10px !important;
    font-size:12px !important;
  }

  [data-theme="daylight"] .footer{
    margin:0 22px 4px;
    min-height:27px;
    padding:5px 12px;
    font-size:10.5px;
  }
}

/* NTB 1366×768 / 150 %: ještě o chlup kompaktnější */
@media (min-width: 1000px) and (max-height: 820px){
  [data-theme="daylight"] .wrap{padding-top:4px;gap:8px;}
  [data-theme="daylight"] .topbar{min-height:64px !important;padding:6px 20px !important;}
  [data-theme="daylight"] .logo{width:48px !important;height:48px !important;}
  [data-theme="daylight"] .brand-title{font-size:24px !important;}
  [data-theme="daylight"] .lang button,
  [data-theme="daylight"] .theme-btn{min-width:34px;height:30px;font-size:12px;border-radius:6px;}
  [data-theme="daylight"] .theme-menu{top:34px;width:178px;}
  [data-theme="daylight"] .theme-menu button{height:35px;font-size:13px;padding:0 10px;}

  [data-theme="daylight"] main{padding:10px 20px 10px;gap:9px;}
  [data-theme="daylight"] .compact-hero,
  [data-theme="daylight"] .hall6-panel{padding:12px;}
  [data-theme="daylight"] .mission-btn{min-height:66px !important;height:66px !important;}
  [data-theme="daylight"] .mb-icon{width:26px !important;height:26px !important;font-size:19px !important;}
  [data-theme="daylight"] .mb-text strong{font-size:11.5px !important;}
  [data-theme="daylight"] .mb-text small{font-size:8.7px !important;}
  [data-theme="daylight"] .hall6-box{min-height:66px !important;padding:7px 9px !important;}
  [data-theme="daylight"] .hall6-box h3{font-size:10.5px !important;}
  [data-theme="daylight"] .hall6-row{font-size:10px !important;}
  [data-theme="daylight"] .title{font-size:15px;}
  [data-theme="daylight"] .status-card{min-height:43px !important;}
  [data-theme="daylight"] .band{min-height:42px !important;}
}


/* ============================================================
   JARDA FIX v9 — sjednocení mřížky a velikostí boxů
   Zdroj: plný funkční CSS z v8 + tyto úpravy na konci.
   Cíl:
   - horní i spodní řada mají stejnou šířku levého/pravého sloupce
   - pravý spodní LIVE panel začíná přesně pod pravým horním žebříčkem
   - HF panel končí přesně pod levým Mission Control
   - top panely mají sjednocenou logiku výšky
   ============================================================ */

html[data-theme="daylight"]{
  --jarda-left-col:minmax(0, 1.56fr);
  --jarda-right-col:minmax(430px, .96fr);
  --jarda-grid-gap:12px;
}

/* Obě řady mají STEJNÉ sloupce = srovnané hrany nahoře/dole */
html[data-theme="daylight"] .hero-grid,
html[data-theme="daylight"] .mission-grid{
  display:grid !important;
  grid-template-columns:var(--jarda-left-col) var(--jarda-right-col) !important;
  gap:var(--jarda-grid-gap) !important;
  align-items:stretch !important;
}

/* Horní řada: oba hlavní boxy stejně vysoké */
html[data-theme="daylight"] .compact-hero,
html[data-theme="daylight"] .hall6-panel{
  height:100% !important;
  min-height:228px !important;
  box-sizing:border-box !important;
}

/* Spodní řada: oba boxy srovnané do jedné výškové logiky */
html[data-theme="daylight"] .hf-panel-card,
html[data-theme="daylight"] .live-panel{
  height:100% !important;
  min-height:228px !important;
  box-sizing:border-box !important;
}

/* Horní levý panel už není tak prázdný */
html[data-theme="daylight"] .compact-hero{
  display:flex !important;
  flex-direction:column !important;
}

html[data-theme="daylight"] .mission-button-grid{
  flex:1 1 auto !important;
  align-content:start !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:9px !important;
}

html[data-theme="daylight"] .mission-btn{
  min-height:64px !important;
  height:64px !important;
  padding:7px 8px !important;
}

/* Dlaždice trochu sjednocené — méně skákání výšek textů */
html[data-theme="daylight"] .mb-icon{
  width:25px !important;
  height:25px !important;
  font-size:18px !important;
}

html[data-theme="daylight"] .mb-text strong{
  font-size:12px !important;
  line-height:1.02 !important;
}

html[data-theme="daylight"] .mb-text small{
  font-size:8.6px !important;
  line-height:1.05 !important;
}

/* Žebříčky: kompaktně, ale bez deformace */
html[data-theme="daylight"] .hall6-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
}

html[data-theme="daylight"] .hall6-box{
  min-height:70px !important;
  padding:7px 9px !important;
}

html[data-theme="daylight"] .hall6-actions{
  margin-top:8px !important;
}

/* LIVE panel: obsah nahoře, tlačítko dole, ale panel drží výšku HF */
html[data-theme="daylight"] .live-panel{
  display:flex !important;
  flex-direction:column !important;
}

html[data-theme="daylight"] .live-list{
  flex:1 1 auto !important;
  min-height:92px !important;
  overflow:auto !important;
}

html[data-theme="daylight"] .live-open{
  margin-top:auto !important;
}

/* HF panel: lehce kompaktnější, aby opticky seděl k LIVE */
html[data-theme="daylight"] .hf-status{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:7px !important;
}

html[data-theme="daylight"] .status-card{
  min-height:50px !important;
}

html[data-theme="daylight"] .band-grid{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:6px !important;
}

html[data-theme="daylight"] .band{
  min-height:48px !important;
}

/* Nadpisy sjednotit */
html[data-theme="daylight"] .compact-kicker,
html[data-theme="daylight"] .kicker{
  margin-bottom:10px !important;
}

html[data-theme="daylight"] .panel-head{
  min-height:30px !important;
}

/* Na NTB udržet srovnání a nechat méně prázdna */
@media (min-width:1000px) and (max-height:850px){
  html[data-theme="daylight"]{
    --jarda-left-col:minmax(0, 1.56fr);
    --jarda-right-col:minmax(420px, .96fr);
    --jarda-grid-gap:10px;
  }

  html[data-theme="daylight"] .compact-hero,
  html[data-theme="daylight"] .hall6-panel{
    min-height:208px !important;
  }

  html[data-theme="daylight"] .hf-panel-card,
  html[data-theme="daylight"] .live-panel{
    min-height:206px !important;
  }

  html[data-theme="daylight"] .mission-btn{
    min-height:58px !important;
    height:58px !important;
  }

  html[data-theme="daylight"] .hall6-box{
    min-height:62px !important;
  }

  html[data-theme="daylight"] .live-list{
    min-height:76px !important;
  }
}

/* Tablet / užší šířka: vrátit do jednoho sloupce čistě */
@media (max-width:1250px){
  html[data-theme="daylight"] .hero-grid,
  html[data-theme="daylight"] .mission-grid{
    grid-template-columns:1fr !important;
  }

  html[data-theme="daylight"] .compact-hero,
  html[data-theme="daylight"] .hall6-panel,
  html[data-theme="daylight"] .hf-panel-card,
  html[data-theme="daylight"] .live-panel{
    min-height:0 !important;
    height:auto !important;
  }
}



/* ============================================================
   JARDA v11 — VĚTŠÍ A VZDUŠNĚJŠÍ DESKTOP VERZE
   ============================================================ */

html[data-theme="daylight"] .hero-grid{
  grid-template-columns:minmax(0,1.48fr) minmax(500px,.96fr) !important;
  gap:16px !important;
}

html[data-theme="daylight"] .mission-grid{
  grid-template-columns:minmax(0,1.48fr) minmax(500px,.96fr) !important;
  gap:16px !important;
}

html[data-theme="daylight"] .compact-hero,
html[data-theme="daylight"] .hall6-panel,
html[data-theme="daylight"] .hf-panel-card,
html[data-theme="daylight"] .live-panel{
  padding:18px !important;
}

html[data-theme="daylight"] .mission-button-grid{
  gap:14px !important;
}

html[data-theme="daylight"] .mission-btn{
  min-height:110px !important;
  height:110px !important;
  padding:12px 12px !important;
  border-radius:10px !important;
  gap:10px !important;
}

html[data-theme="daylight"] .mb-icon{
  width:40px !important;
  height:40px !important;
  font-size:30px !important;
}

html[data-theme="daylight"] .mb-text strong{
  font-size:16px !important;
  line-height:1.1 !important;
}

html[data-theme="daylight"] .mb-text small{
  font-size:11px !important;
  line-height:1.2 !important;
}

html[data-theme="daylight"] .hall6-grid{
  gap:12px !important;
}

html[data-theme="daylight"] .hall6-box{
  min-height:96px !important;
  padding:12px !important;
}

html[data-theme="daylight"] .hall6-box h3{
  font-size:14px !important;
}

html[data-theme="daylight"] .hall6-row{
  font-size:13px !important;
}

html[data-theme="daylight"] .hall6-link,
html[data-theme="daylight"] .live-open,
html[data-theme="daylight"] .hf-source-btn{
  min-height:38px !important;
  font-size:14px !important;
}

html[data-theme="daylight"] .status-card{
  min-height:66px !important;
  padding:10px 12px !important;
}

html[data-theme="daylight"] .status-label{
  font-size:11px !important;
}

html[data-theme="daylight"] .status-value{
  font-size:28px !important;
}

html[data-theme="daylight"] .status-note{
  font-size:11px !important;
}

html[data-theme="daylight"] .band{
  min-height:64px !important;
  padding:8px 8px !important;
}

html[data-theme="daylight"] .band span{
  font-size:11px !important;
}

html[data-theme="daylight"] .band b{
  font-size:17px !important;
}

html[data-theme="daylight"] .band small{
  font-size:8.5px !important;
}

html[data-theme="daylight"] .hf-under-muf-row{
  min-height:34px !important;
  font-size:12px !important;
}

html[data-theme="daylight"] .empty{
  min-height:52px !important;
  font-size:16px !important;
  border-radius:10px !important;
}

html[data-theme="daylight"] .live-open{
  margin-top:18px !important;
}



/* ============================================================
   JARDA v12 — úplné odstranění průsvitného čtverce / watermarku
   Problém nebyl v PNG, ale ve velkém pseudo-elementu a pozadích.
   ============================================================ */

/* 1) Vypnout všechny možné watermark pseudo-elementy */
html[data-theme="daylight"] body::before,
html[data-theme="daylight"] body::after,
html[data-theme="daylight"] .wrap::before,
html[data-theme="daylight"] .wrap::after,
html[data-theme="daylight"] main::before,
html[data-theme="daylight"] main::after,
body::before,
body::after,
.wrap::before,
.wrap::after,
main::before,
main::after{
  content:none !important;
  display:none !important;
  opacity:0 !important;
  background:none !important;
  filter:none !important;
  backdrop-filter:none !important;
  mix-blend-mode:normal !important;
}

/* 2) Odstranit velkou mléčnou plochu za boxy, nechat jen čistý zlatý web background */
html[data-theme="daylight"] main{
  background:transparent !important;
}

/* 3) Panely necháme čisté, bez vnitřních pseudo efektů */
html[data-theme="daylight"] .panel::before,
html[data-theme="daylight"] .panel::after,
html[data-theme="daylight"] .compact-hero::before,
html[data-theme="daylight"] .compact-hero::after,
html[data-theme="daylight"] .hall6-panel::before,
html[data-theme="daylight"] .hall6-panel::after,
html[data-theme="daylight"] .hf-panel-card::before,
html[data-theme="daylight"] .hf-panel-card::after,
html[data-theme="daylight"] .live-panel::before,
html[data-theme="daylight"] .live-panel::after{
  content:none !important;
  display:none !important;
  opacity:0 !important;
  background:none !important;
}

/* 4) Jemnější čisté pozadí stránky bez loga */
html[data-theme="daylight"] body{
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.42), transparent 28rem),
    linear-gradient(135deg,#fff1bf 0%, #f4d68e 48%, #dfab50 100%) !important;
}


/* ============================================================
   JARDA v13 — TOTA DESIGN: tmavší zlatý motiv
   Interní identifikátor motivu zůstává "daylight", mění se pouze název
   v nabídce a výsledná barevnost. Tento blok je záměrně poslední.
   ============================================================ */
html[data-theme="daylight"]{
  --bg:#bd812b !important;
  --bg2:#e1b95f !important;
  --bg3:#a96f20 !important;
  --panel:rgba(239,216,160,.96) !important;
  --panel2:rgba(221,184,105,.94) !important;
  --card:rgba(244,225,179,.96) !important;
  --card2:rgba(229,198,129,.98) !important;
  --line:rgba(151,91,15,.50) !important;
  --line2:rgba(128,72,8,.66) !important;
  --muted:#51412c !important;
  --shadow:0 14px 34px rgba(82,45,5,.25) !important;
}

html[data-theme="daylight"],
html[data-theme="daylight"] body{
  background:
    radial-gradient(circle at 10% 0%,rgba(255,239,190,.28),transparent 29rem),
    radial-gradient(circle at 88% 5%,rgba(255,214,117,.18),transparent 25rem),
    linear-gradient(135deg,#dfbd69 0%,#c99037 48%,#a96e20 100%) fixed !important;
}

html[data-theme="daylight"] .topbar{
  border-color:#a96f1d !important;
  background:
    radial-gradient(circle at 50% -35%,rgba(255,246,211,.42),transparent 27rem),
    linear-gradient(180deg,#efd590 0%,#d9ad51 100%) !important;
  box-shadow:0 8px 24px rgba(83,48,7,.24),inset 0 1px 0 rgba(255,255,255,.55) !important;
}

html[data-theme="daylight"] .panel,
html[data-theme="daylight"] .compact-hero,
html[data-theme="daylight"] .hall6-panel,
html[data-theme="daylight"] .hf-panel-card,
html[data-theme="daylight"] .live-panel{
  border-color:#aa711f !important;
  background:
    radial-gradient(circle at 40% 0%,rgba(255,247,214,.35),transparent 22rem),
    linear-gradient(180deg,#efdcaa 0%,#ddb86f 100%) !important;
  box-shadow:0 11px 28px rgba(82,47,7,.22),inset 0 1px 0 rgba(255,255,255,.48) !important;
}

html[data-theme="daylight"] .mission-btn,
html[data-theme="daylight"] .hall6-box,
html[data-theme="daylight"] .status-card,
html[data-theme="daylight"] .empty,
html[data-theme="daylight"] .live-row,
html[data-theme="daylight"] .hf-under-muf-row,
html[data-theme="daylight"] .band{
  border-color:#b77c27 !important;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,248,219,.32),transparent 8rem),
    linear-gradient(180deg,#f2dfad 0%,#e2bd72 100%) !important;
  box-shadow:0 4px 12px rgba(83,47,6,.15),inset 0 1px 0 rgba(255,255,255,.44) !important;
}

html[data-theme="daylight"] .mission-btn:hover,
html[data-theme="daylight"] .mission-primary{
  background:linear-gradient(180deg,#f4dda0,#dca848) !important;
}

html[data-theme="daylight"] .footer{
  border-color:#a96f1d !important;
  background:linear-gradient(180deg,#e7c66f,#c99538) !important;
  color:#2d2115 !important;
  box-shadow:0 7px 18px rgba(78,44,5,.21),inset 0 1px 0 rgba(255,255,255,.40) !important;
}

/* Aktivní TOTA design už není bledě žlutý. */
html[data-theme="daylight"] .theme-menu button:first-child,
html[data-theme="daylight"] .theme-menu button[data-theme-choice="daylight"]{
  background:linear-gradient(180deg,#e8c86f,#c99435) !important;
  color:#21170d !important;
}

html[data-theme="daylight"] .theme-menu button[data-theme-choice="daylight"].active{
  background:linear-gradient(180deg,#f0d57f,#c58b27) !important;
  box-shadow:inset 4px 0 0 #0b74e8 !important;
}

/* ============================================================
   JARDA v14 — stabilní logo, jemnější text a jednotný theme box
   Pouze lokální úpravy projektu /tota/. Žádné sdílené CSS.
   ============================================================ */

/* Originální logo se při změně motivu nikdy nefiltruje ani nepřebarvuje. */
.logo{
  background:#0b1b34 !important;
  box-shadow:0 0 0 7px rgba(73,139,215,.12) !important;
  isolation:isolate;
}
.logo img,.logo-img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  mix-blend-mode:normal !important;
  image-rendering:auto !important;
  background:transparent !important;
}
html[data-theme="daylight"] .logo{
  background:#f4e0a7 !important;
  box-shadow:0 0 0 7px rgba(154,100,24,.14) !important;
}

/* Tmavé motivy: ne plošně ostrá bílá, ale příjemnější odstíny. */
html[data-theme="blue"]{--text:#e7eef9;--muted:#aebdd3}
html[data-theme="outdoor"]{--text:#e6f0e8;--muted:#abc0ae}
html[data-theme="night"]{--text:#e5ebf4;--muted:#a9b5c8}
html[data-theme="tactical"]{--text:#e4e7e1;--muted:#adb3aa}
html[data-theme="classic"]{--text:#e4edf7;--muted:#a9bbce}

html:not([data-theme="daylight"]) .brand-title,
html:not([data-theme="daylight"]) .title,
html:not([data-theme="daylight"]) .mb-text strong,
html:not([data-theme="daylight"]) .status-value,
html:not([data-theme="daylight"]) .empty,
html:not([data-theme="daylight"]) .live-call{
  color:#f1f5fb !important;
}
html:not([data-theme="daylight"]) .mb-text small,
html:not([data-theme="daylight"]) .status-label,
html:not([data-theme="daylight"]) .status-note,
html:not([data-theme="daylight"]) .live-sub,
html:not([data-theme="daylight"]) .footer{
  color:var(--muted) !important;
}

/* Nabídka motivů má ve všech motivech stejný elegantní Radio Blue box. */
.theme-menu,
html[data-theme="daylight"] .theme-menu{
  width:220px !important;
  padding:9px !important;
  gap:6px !important;
  border-radius:18px !important;
  border:1px solid #365b88 !important;
  background:linear-gradient(180deg,rgba(12,31,58,.985),rgba(8,22,43,.985)) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter:blur(18px) !important;
  overflow:hidden;
}
.theme-menu button,
html[data-theme="daylight"] .theme-menu button,
html[data-theme="daylight"] .theme-menu button:first-child,
html[data-theme="daylight"] .theme-menu button[data-theme-choice="daylight"]{
  min-height:43px !important;
  margin:0 !important;
  padding:10px 12px !important;
  border:1px solid transparent !important;
  border-radius:12px !important;
  background:transparent !important;
  color:#e7eef9 !important;
  box-shadow:none !important;
  font-weight:900 !important;
}
.theme-menu button:hover,
html[data-theme="daylight"] .theme-menu button:hover{
  background:#17375f !important;
  border-color:#3d6fa8 !important;
  color:#ffffff !important;
}
.theme-menu button.active,
html[data-theme="daylight"] .theme-menu button.active,
html[data-theme="daylight"] .theme-menu button[data-theme-choice="daylight"].active{
  background:linear-gradient(135deg,#2f76b4,#287fa1) !important;
  border-color:#59b9e9 !important;
  color:#ffffff !important;
  box-shadow:inset 3px 0 0 #7dd3fc,0 4px 13px rgba(0,0,0,.20) !important;
}

/* ============================================================
   JARDA v15 — barevná typografie všech tmavých motivů
   TOTA Design zůstává beze změny. Každý motiv má vlastní akcent,
   aby nebyly všechny nadpisy, názvy dlaždic a hodnoty jen bílé.
   ============================================================ */
html[data-theme="blue"]{
  --theme-accent:#73d7ff;
  --theme-accent-2:#60a5fa;
  --theme-heading:#d8ebff;
  --theme-secondary:#9fb8d5;
}
html[data-theme="outdoor"]{
  --theme-accent:#b7f34a;
  --theme-accent-2:#59d36f;
  --theme-heading:#d9f7df;
  --theme-secondary:#9fbea5;
}
html[data-theme="night"]{
  --theme-accent:#f6c85f;
  --theme-accent-2:#67c7ff;
  --theme-heading:#e8edf6;
  --theme-secondary:#a6b3c7;
}
html[data-theme="tactical"]{
  --theme-accent:#d8d29d;
  --theme-accent-2:#b7c77b;
  --theme-heading:#e3e1d2;
  --theme-secondary:#aaaF9f;
}
html[data-theme="classic"]{
  --theme-accent:#63d8e8;
  --theme-accent-2:#4fa8ff;
  --theme-heading:#d8ecf7;
  --theme-secondary:#9eb9c9;
}

/* Názvy dlaždic a hlavní hodnoty dostanou barvu motivu. */
html:not([data-theme="daylight"]) .mission-btn:not(.mission-primary) .mb-text strong,
html:not([data-theme="daylight"]) .status-value,
html:not([data-theme="daylight"]) .hall6-row b,
html:not([data-theme="daylight"]) .live-band,
html:not([data-theme="daylight"]) .hf-under-muf-row b{
  color:var(--theme-accent) !important;
}

/* Hlavní nadpisy nejsou čistě bílé, ale lehce tónované podle motivu. */
html:not([data-theme="daylight"]) .brand-title,
html:not([data-theme="daylight"]) .title,
html:not([data-theme="daylight"]) .hall6-box h3,
html:not([data-theme="daylight"]) .live-call,
html:not([data-theme="daylight"]) .empty{
  color:var(--theme-heading) !important;
}

/* Popisy a pomocné údaje mají vlastní klidnější odstín. */
html:not([data-theme="daylight"]) .mb-text small,
html:not([data-theme="daylight"]) .status-label,
html:not([data-theme="daylight"]) .status-note,
html:not([data-theme="daylight"]) .live-sub,
html:not([data-theme="daylight"]) .footer,
html:not([data-theme="daylight"]) .hall6-row{
  color:var(--theme-secondary) !important;
}

/* Primární tlačítka musí zůstat dobře čitelná na gradientu. */
html:not([data-theme="daylight"]) .mission-primary .mb-text strong,
html:not([data-theme="daylight"]) .mission-primary .mb-text small,
html:not([data-theme="daylight"]) .hall6-link,
html:not([data-theme="daylight"]) .live-open,
html:not([data-theme="daylight"]) .hf-source-btn{
  color:var(--buttonText) !important;
}

/* Jemné barevné akcenty pro LIVE prvky a drobné odkazy. */
html:not([data-theme="daylight"]) .pill,
html:not([data-theme="daylight"]) .hf-under-muf-row strong{
  color:var(--theme-accent) !important;
}
