/*
 * Mauer-Kunst Custom Theme — theme.css
 * Piwigo lädt diese Datei automatisch.
 */

/* ══ RESET & BASE ═══════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0f0f0f;
  --bg2:      #1a1a1a;
  --bg3:      #222;
  --surface:  #2a2a2a;
  --border:   #333;
  --accent:   #00d4ff;
  --accent2:  rgba(0,212,255,.15);
  --text:     #f0f0f0;
  --muted:    #888;
  --radius:   10px;
  --gap:      16px;
  --max-w:    1400px;
  --header-h: 64px;
  --trans:    .2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
ul, ol { list-style: none; }
/* Nur unsere eigenen Buttons zurücksetzen – Piwigo-Admin-Buttons bleiben unberührt */
button { font-family: inherit; cursor: pointer; }
.hamburger,
.nav-search-btn { border: none; background: none; }

/* ══ CONTAINER ══════════════════════════════ */
.mk-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ══ HEADER ══════════════════════════════════ */
.hero-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,15,15,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
  gap: var(--gap);
}

.brand-logo {
  display: flex; flex-direction: column;
  line-height: 1.1; color: #fff; flex-shrink: 0;
}
.brand-name {
  font-size: .9rem; font-weight: 900;
  letter-spacing: .12em; color: #fff;
}
.brand-sub {
  font-size: .55rem; letter-spacing: .2em;
  color: var(--accent); text-transform: uppercase;
}

.main-nav {
  display: none;
  align-items: center; gap: 8px;
}
.main-nav.is-open { display: flex; }

.nav-link {
  padding: 8px 12px; border-radius: 6px;
  font-size: .875rem; font-weight: 500;
  color: #aaa;
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover { color: #fff; background: var(--surface); }

.nav-link--login {
  border: 1px solid var(--border);
  color: var(--accent);
}
.nav-link--login:hover {
  background: var(--accent2);
  border-color: var(--accent);
  color: var(--accent);
}
.nav-link--user { color: var(--muted); font-size: .8rem; }

/* ── Nav-Dropdown (Entdecken) ─ */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 6px;
  font-size: .875rem; font-weight: 500;
  color: #aaa;
  background: none; border: none;
  cursor: pointer;
  transition: color var(--trans), background var(--trans);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] { color: #fff; background: var(--surface); }
.nav-caret { font-size: .7em; line-height: 1; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 180px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 0;
  list-style: none; margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  z-index: 500;
}
.nav-dropdown-menu.is-open { display: block; }
.nav-dropdown-item {
  display: block; padding: 9px 16px;
  font-size: .875rem; color: #aaa;
  transition: color var(--trans), background var(--trans);
}
.nav-dropdown-item:hover { color: #fff; background: rgba(255,255,255,.06); }

.nav-search {
  display: flex; border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
}
.nav-search-input {
  background: var(--surface); color: var(--text);
  border: none; padding: 6px 12px; outline: none;
  font-size: .85rem; width: 180px;
}
.nav-search-btn {
  padding: 6px 10px; background: var(--accent);
  color: var(--bg); font-size: 1rem;
}

.hamburger {
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  border-radius: 6px;
  transition: background var(--trans);
}
.hamburger:hover { background: var(--surface); }
.hamburger span {
  display: block; height: 2px; background: #fff;
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ BREADCRUMB ═════════════════════════════ */
.mk-breadcrumb {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 10px var(--gap);
}
.mk-breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 6px;
  max-width: var(--max-w); margin: 0 auto;
  font-size: .78rem; color: var(--muted);
}
.mk-breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.mk-breadcrumb a { color: var(--muted); }
.mk-breadcrumb a:hover { color: var(--accent); }

/* ══ HERO (Startseite) ══════════════════════ */
.page-hero {
  min-height: 55vh;
  display: flex; align-items: center;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,212,255,.07) 0%, transparent 55%);
  pointer-events: none;
}

/* Subtiles Gittermuster */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .18; pointer-events: none;
}

.page-hero-inner {
  position: relative; z-index: 1;
  padding: 64px var(--gap);
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}

.page-hero-title {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 900; line-height: .95;
  letter-spacing: -.02em;
  color: #fff; margin-bottom: 20px;
}
.page-hero-title .accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(0,212,255,.4);
}

.page-hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: var(--muted);
}

/* ══ SECTION HEADING ═══════════════════════ */
.section-heading {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 800; color: #fff;
  padding: 32px 0 16px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}

/* ══ MASONRY GRID ═══════════════════════════ */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-bottom: 40px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 200px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  border-color: var(--accent);
}

/* Größenvarianten */
.grid-item--large { grid-column: span 2; grid-row: span 2; min-height: 380px; }
.grid-item--wide  { grid-column: span 2; }
.grid-item--tall  { grid-row: span 2; }
.grid-item--photo { min-height: 180px; }

.grid-item-link {
  display: block; height: 100%;
  position: relative; color: inherit;
}

.grid-item-img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .4s ease;
}

.grid-item:hover .grid-item-img {
  transform: scale(1.06);
}

.grid-item-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: inherit;
  font-size: 2.5rem; opacity: .3;
  background: var(--bg3);
}

/* Badge (Anzahl oben rechts) */
.grid-item-badge {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 99px;
}

/* Info-Overlay (unterer Bereich) */
.category-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, transparent 100%);
}

.grid-item-name {
  font-size: .95rem; font-weight: 700;
  color: #fff; margin-bottom: 4px;
}

.grid-item--large  .grid-item-name { font-size: 1.4rem; }
.grid-item--wide   .grid-item-name { font-size: 1.15rem; }

.grid-item-desc {
  font-size: .72rem; color: rgba(255,255,255,.55);
  margin-bottom: 6px; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-item-count {
  font-size: .7rem; color: var(--accent);
  font-weight: 600;
}

/* ══ CATEGORY HERO ══════════════════════════ */
.cat-hero {
  position: relative;
  min-height: 260px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--bg3);
  margin-bottom: 32px;
}

.cat-hero-bg {
  position: absolute; inset: 0;
}
.cat-hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(.35);
}
.cat-hero:after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,.95) 0%, rgba(15,15,15,.3) 100%);
}

.cat-hero-content {
  position: relative; z-index: 1;
  padding: 40px var(--gap);
  width: 100%;
}

.cat-hero-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.02em; margin-bottom: 10px;
}

.cat-hero-desc {
  font-size: .95rem; color: #aaa;
  max-width: 600px; margin-bottom: 12px;
}

.cat-hero-stats { display: flex; gap: 16px; }

.cat-stat {
  font-size: .85rem; color: var(--accent);
  font-weight: 600;
}

/* ══ SUBKATEGORIEN ══════════════════════════ */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px; margin-bottom: 32px;
}

.subcat-card {
  position: relative; border-radius: 8px;
  overflow: hidden; aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--trans), border-color var(--trans);
  display: block;
}
.subcat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.subcat-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.subcat-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 60%);
}
.subcat-name {
  font-size: .75rem; font-weight: 700; color: #fff;
}
.subcat-count {
  font-size: .65rem; color: var(--accent);
}

/* ══ PICTURE PAGE ═══════════════════════════ */
.picture-page {}

.picture-viewer {
  position: relative;
  min-height: 60vh;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}

.picture-stage {
  max-width: 1200px; width: 100%;
  padding: 16px; margin: 0 auto;
}

.picture-figure {
  text-align: center;
}

.picture-img {
  max-height: 80vh;
  width: auto; max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,.8);
  display: inline-block;
}

.picture-zoom {
  display: inline-block; position: relative;
}

.picture-caption {
  margin-top: 12px;
  font-size: .9rem; color: #888;
  font-style: italic;
}

/* Prev / Next arrows */
.pic-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  transition: background var(--trans), border-color var(--trans);
  z-index: 5;
}
.pic-nav--prev { left: 16px; }
.pic-nav--next { right: 16px; }
.pic-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* Metadata */
.picture-meta {
  display: flex; flex-wrap: wrap; gap: 32px;
  padding: 32px var(--gap);
  border-top: 1px solid var(--border);
}

.picture-meta-left { flex: 1; min-width: 240px; }
.picture-meta-right {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}

.picture-title {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 800; color: #fff; margin-bottom: 12px;
}

.picture-desc {
  color: #aaa; line-height: 1.7; margin-bottom: 16px;
}

.picture-date { font-size: .8rem; color: var(--muted); }

.picture-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.mk-tag {
  padding: 3px 12px;
  background: var(--accent2);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 99px; font-size: .75rem; font-weight: 500;
  transition: background var(--trans), color var(--trans);
}
.mk-tag:hover { background: var(--accent); color: #000; }

.picture-pos {
  display: flex; align-items: baseline; gap: 4px;
  color: var(--muted);
}
.pos-num { font-size: 2rem; font-weight: 800; color: var(--accent); }

/* Strip */
.picture-strip {
  padding: 24px var(--gap);
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.strip-scroll {
  display: flex; gap: 8px;
  overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}

.strip-item {
  flex-shrink: 0; width: 90px; height: 68px;
  border-radius: 6px; overflow: hidden;
  border: 2px solid transparent;
  scroll-snap-align: center;
  transition: border-color var(--trans);
}
.strip-item:hover, .strip-item--active { border-color: var(--accent); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ══ BUTTONS ════════════════════════════════ */
.mk-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 8px;
  font-size: .875rem; font-weight: 600;
  min-height: 44px; cursor: pointer;
  transition: all var(--trans);
}
.mk-btn--back {
  border: 1px solid var(--border); color: #aaa;
}
.mk-btn--back:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent2);
}
.mk-btn--dl {
  background: var(--accent); color: #000;
}
.mk-btn--dl:hover { background: #fff; color: #000; }

/* ══ PAGINATION ════════════════════════════ */
.mk-pagination {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 6px;
  padding: 32px 0;
}
.mk-pagination a,
.mk-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: .875rem; color: #aaa;
  transition: all var(--trans);
}
.mk-pagination a:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent2);
}
.mk-pagination .selected,
.mk-pagination .current {
  background: var(--accent); border-color: var(--accent);
  color: #000; font-weight: 700;
}

/* ══ BEWERTUNG ══════════════════════════════ */
.picture-rating {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--border);
  margin-top: 12px;
}
.rating-score { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.rating-count { font-size: .8rem; color: var(--muted); }
.rating-form { display: flex; gap: 4px; }
.rating-star {
  font-size: 1.4rem; color: var(--muted);
  background: none; border: none; cursor: pointer;
  transition: color var(--trans), transform var(--trans);
  padding: 2px;
}
.rating-star:hover,
.rating-star.active { color: var(--accent); transform: scale(1.2); }

/* ══ KOMMENTARE ═════════════════════════════ */
.picture-comments {
  padding: 32px var(--gap);
  border-top: 1px solid var(--border);
}
.comment-form {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 600px; margin-top: 24px;
}
.comment-input,
.comment-textarea {
  background: var(--bg2); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-family: inherit; font-size: .9rem;
  outline: none; resize: vertical;
  transition: border-color var(--trans);
}
.comment-input:focus,
.comment-textarea:focus { border-color: var(--accent); }

/* ══ FOOTER ═════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px var(--gap);
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-brand {
  font-size: 1rem; font-weight: 900;
  letter-spacing: .1em; color: #fff; margin-bottom: 8px;
}
.footer-copy { font-size: .78rem; color: var(--muted); }

/* ══ UTILITIES ══════════════════════════════ */
.mk-empty {
  text-align: center; padding: 60px 20px;
  color: var(--muted); font-size: .95rem;
}

/* ══ RESPONSIVE ═════════════════════════════ */
@media (min-width: 480px) {
  .masonry-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Auf kleinen Screens: Dropdown nicht absoluut, sondern als Block im Menü */
@media (max-width: 767px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.04);
    border-radius: 6px;
    padding: 4px 0 4px 12px;
    margin-top: 2px;
  }
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .masonry-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .grid-item--photo { min-height: 200px; }
  .cat-hero { min-height: 340px; }
  .subcat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (min-width: 1024px) {
  .masonry-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .cat-hero { min-height: 400px; }
  .pic-nav { width: 60px; height: 60px; }
  .pic-nav--prev { left: 32px; }
  .pic-nav--next { right: 32px; }
}

@media (min-width: 1280px) {
  .masonry-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ══ ANIMATIONEN ════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.grid-item {
  animation: fadeUp .4s ease both;
}
.grid-item:nth-child(2)  { animation-delay:  40ms; }
.grid-item:nth-child(3)  { animation-delay:  80ms; }
.grid-item:nth-child(4)  { animation-delay: 120ms; }
.grid-item:nth-child(5)  { animation-delay: 160ms; }
.grid-item:nth-child(6)  { animation-delay: 200ms; }
.grid-item:nth-child(n+7){ animation-delay: 240ms; }

/* ══ PIWIGO TOOLBAR (#ato_header) ═══════════
   Anzeigen als / Anzeigeschema / Sprache –
   Hover-Menü mit nativem <select> darunter.
   ══════════════════════════════════════════ */
#ato_header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 8px var(--gap);
  margin-bottom: 16px;
}

#ato_header > ul {
  display: flex; flex-wrap: wrap; gap: 4px;
  max-width: var(--max-w); margin: 0 auto;
  list-style: none;
  align-items: center;
}

#ato_header li {
  list-style: none;
  position: relative;
}

#ato_header li.right { margin-left: auto; }

#ato_header a,
#ato_header > ul > li > span,
#ato_header li.parent > a,
#ato_header li.parent {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  color: #aaa;
  font-size: .85rem;
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
  cursor: pointer;
}

#ato_header a:hover,
#ato_header li.parent:hover {
  color: #fff;
  background: var(--surface);
}

/* Untermenüs – standardmäßig versteckt */
#ato_header li.parent > ul {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  z-index: 9999;
  min-width: 200px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
  list-style: none;
}

/* Rechtsbündige Menüs öffnen nach links */
#ato_header li.parent.right > ul {
  left: auto; right: 0;
}

/* Hover öffnet das Untermenü */
#ato_header li.parent:hover > ul,
#ato_header li.parent:focus-within > ul {
  display: block;
}

/* Submenü-Items */
#ato_header li.parent > ul li {
  padding: 0;
  margin: 2px 0;
}
#ato_header li.parent > ul a {
  display: block;
  padding: 6px 10px;
  color: var(--text);
  font-size: .85rem;
}
#ato_header li.parent > ul a:hover {
  background: var(--accent2);
  color: var(--accent);
}

/* Native <select> innerhalb der Toolbar */
#ato_header select,
#ato_header select.switcher {
  width: 100%;
  background-color: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 28px 6px 10px;
  border-radius: 6px;
  font-size: .85rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  /* eigener Dropdown-Pfeil, weil wir appearance:none setzen */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%2300d4ff' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  min-height: 32px;
}
#ato_header select:focus,
#ato_header select:hover { border-color: var(--accent); }

/* Optionen müssen explizit gestylt werden – sonst übernehmen sie
   teils die Theme-Farben (unsichtbar) statt OS-Default                */
#ato_header select option {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 4px 8px;
}
