/* INTEA v5.01.09 – explicitní přepínač Den / Noc / Auto na hlavní stránce. */
.intea-theme-modes { display:flex; align-items:center; flex:0 0 auto; min-width:0; }
.intea-theme-modes .theme-mode-segments {
  display:flex; align-items:stretch; border:1px solid var(--border);
  border-radius:8px; overflow:hidden; background:var(--surface);
}
.intea-theme-modes .theme-mode-choice {
  display:inline-flex; align-items:center; justify-content:center; gap:5px;
  min-height:36px; padding:6px 9px; border:0; border-right:1px solid var(--border);
  border-radius:0; background:transparent; color:var(--text); cursor:pointer;
  font-family:'Jost',sans-serif; font-size:12px; font-weight:600;
  line-height:1.2; white-space:nowrap; touch-action:manipulation;
}
.intea-theme-modes .theme-mode-choice:last-child { border-right:0; }
.intea-theme-modes .theme-mode-choice:hover { background:rgba(201,68,154,.14); }
.intea-theme-modes .theme-mode-choice[aria-pressed="true"] {
  background:var(--accent); color:#fff; font-weight:700;
}
.intea-theme-modes .theme-mode-choice:focus-visible,
.intea-theme-modes .theme-mode-select:focus-visible {
  outline:2px solid var(--gold2); outline-offset:2px;
}
.intea-theme-modes .theme-mode-select {
  display:none; width:104px; min-height:38px; padding:7px 22px 7px 8px;
  border:1px solid var(--border); border-radius:8px;
  color:var(--text); background:var(--surface);
  font:600 13px/1.2 'Jost',sans-serif; cursor:pointer;
  color-scheme:dark; touch-action:manipulation;
}
body.light .intea-theme-modes .theme-mode-select { color-scheme:light; }
.intea-theme-modes .theme-mode-sr {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
/* Na tabletu/mobilu se 3 funkce přesunou do kompaktního viditelného výběru. */
@media(max-width:1180px) {
  .intea-theme-modes .theme-mode-segments { display:none; }
  .intea-theme-modes .theme-mode-select { display:block; }
}
@media(max-width:768px) {
  .intea-theme-modes .theme-mode-select { min-height:42px; font-size:14px; }
}
@media(max-width:420px) {
  .intea-theme-modes .theme-mode-select { width:96px; }
}
