/* Qeubo oscuro: aplicado exclusivamente en beta; sin invertir fotografías ni mapas. */
.qeubo-theme-control {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin: 20px 0 -14px; font-size: 13px; color: var(--muted);
}
.qeubo-theme-control label { font-weight: 750; }
.qeubo-theme-control select {
  min-height: 42px; max-width: 190px; border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 13px; background: var(--white); color: var(--ink);
  font: inherit; font-weight: 750;
}
@media (max-width: 470px) {
  .qeubo-theme-control { margin-top: 15px; margin-bottom: -10px; }
}
html[data-theme="dark"] {
  --ink: #edf5ee;
  --forest: #92d8b7;
  --forest2: #81c7a9;
  --coral: #e8866c;
  --cream: #141e19;
  --sand: #293a31;
  --lilac: #40364f;
  --line: #34473c;
  --muted: #b0c2b5;
  --white: #202c25;
  --shadow: 0 20px 60px #0006;
  background: var(--cream);
}
html[data-theme="dark"] body { background: var(--cream); color: var(--ink); }
html[data-theme="dark"] header { background: #17221eeF; border-color: var(--line); }
html[data-theme="dark"] .brand, html[data-theme="dark"] .navbtn,
html[data-theme="dark"] .header-action { color: var(--ink); }
html[data-theme="dark"] .navbtn.active { color: var(--forest); }
html[data-theme="dark"] .pill { background: #2d4839; color: #d3f0dc; }
html[data-theme="dark"] .demo { background: #463528; color: #ffc6a4; }
html[data-theme="dark"] .btn:not(.coral):not(.outline):not(.soft):not(.ink) { background: #315c48; color: #f9fff9; }
html[data-theme="dark"] .btn.ink { background: #345943; color: #f6fff6; }
html[data-theme="dark"] .btn.soft { background: var(--sand); color: var(--ink); }
html[data-theme="dark"] .btn.outline { background: transparent; border-color: #55725f; color: var(--ink); }
html[data-theme="dark"] .btn.coral { color: #291a16; }
html[data-theme="dark"] .textbutton, html[data-theme="dark"] .back-link,
html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .italic { color: var(--forest); }
html[data-theme="dark"] .hero-inner { background: #26382e; }
html[data-theme="dark"] .hero p, html[data-theme="dark"] .hero-copy p,
html[data-theme="dark"] .detail-description { color: #c5d5c9; }
html[data-theme="dark"] .hero-art { background: #3b6253; }
html[data-theme="dark"] .art-sticker { color: #172c22; }
html[data-theme="dark"] .finder, html[data-theme="dark"] .panel,
html[data-theme="dark"] .cat-tile, html[data-theme="dark"] .listing,
html[data-theme="dark"] .seller-card, html[data-theme="dark"] .manage-row,
html[data-theme="dark"] .empty, html[data-theme="dark"] .detail-facts span,
html[data-theme="dark"] .modal { background: var(--white); border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .listing-cover, html[data-theme="dark"] .large-cover { background: #304239; }
html[data-theme="dark"] .listing-title, html[data-theme="dark"] .listing-footer .view-ad,
html[data-theme="dark"] .cat-tile { color: var(--ink); }
html[data-theme="dark"] .listing-footer,
html[data-theme="dark"] .form-section, html[data-theme="dark"] .side-person,
html[data-theme="dark"] .footer { border-color: var(--line); }
html[data-theme="dark"] .listing-location, html[data-theme="dark"] .listing-meta,
html[data-theme="dark"] .listing-footer, html[data-theme="dark"] .cat-tile small { color: var(--muted); }
html[data-theme="dark"] .fav { background: #213328f0; color: #edfaef; }
html[data-theme="dark"] .fav.selected { color: #ff9a89; }
html[data-theme="dark"] #inicio .market-empty,
html[data-theme="dark"] .help-card { background: #223329; border-color: #40584a; color: var(--ink); }
html[data-theme="dark"] .help-card p, html[data-theme="dark"] .help-card li { color: var(--muted); }
html[data-theme="dark"] .feature-block.dark { background: #223c30; color: #f2f8f2; }
html[data-theme="dark"] .feature-block.lilac { background: #413751; color: #f4edf9; }
html[data-theme="dark"] .notice-strip { color: #241b16; }
html[data-theme="dark"] .notice-strip .eyebrow { color: #442920; }
html[data-theme="dark"] .filter-chip { background: #22332a; color: var(--ink); border-color: #3b5142; }
html[data-theme="dark"] .filter-chip.active,
html[data-theme="dark"] .mobilecats .navbtn.active { background: #507d65; color: #fff; border-color: #507d65; }
html[data-theme="dark"] .field label { color: #d0dfd3; }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea, html[data-theme="dark"] .result-bar select,
html[data-theme="dark"] .global-search input, html[data-theme="dark"] .global-search-box,
html[data-theme="dark"] #global-query, html[data-theme="dark"] #thread-area .chat-composer textarea {
  color: var(--ink); background: #19261f; border-color: #445949;
}
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #a4b7a9; opacity: 1; }
html[data-theme="dark"] .field input:focus, html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus { outline-color: #75b498; border-color: #75b498; }
html[data-theme="dark"] .upload-preview, html[data-theme="dark"] .photo-tile,
html[data-theme="dark"] .photo-upload-tile { background: #24372b; border-color: #4b6855; color: #d6eadb; }
html[data-theme="dark"] .avatar, html[data-theme="dark"] .cat-symbol { background: #315140; color: #baf0ce; }
html[data-theme="dark"] .close { background: #344a3b; color: var(--ink); }
html[data-theme="dark"] #toast { background: #304a39; color: #f3fff5; }
html[data-theme="dark"] .storage-notice { background: #433323; border-color: #6b4f36; color: #fbd6b4; }
html[data-theme="dark"] .mobilecats .navbtn { background: #293a30; color: #d5e9d9; }
html[data-theme="dark"] .bottom-nav { background: #192720; border-color: #36503e; box-shadow: 0 -8px 35px #0005; }
html[data-theme="dark"] .bottom-nav button { color: #b3c7ba; }
html[data-theme="dark"] .bottom-nav button.active { color: #b1f0ce; }
html[data-theme="dark"] #cuenta .account-tabs { background: #192920; border-color: #385241; }
html[data-theme="dark"] #cuenta .account-tabs button { color: #c4efd2; }
html[data-theme="dark"] #cuenta .account-tabs button:hover,
html[data-theme="dark"] #cuenta .account-tabs button:focus-visible { background: #314738; }
html[data-theme="dark"] #thread-area .chat-shell,
html[data-theme="dark"] #thread-area .chat-header,
html[data-theme="dark"] #thread-area .chat-composer,
html[data-theme="dark"] #draft-list .thread-row { background: #202d25; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] #thread-area .chat-messages { background: linear-gradient(160deg,#17251d,#233328); }
html[data-theme="dark"] #thread-area .chat-back { background: #314437; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] #thread-area .chat-bubble { background: #2d4234; color: #edf7ee; border-color: #49644e; }
html[data-theme="dark"] #thread-area .chat-message.mine .chat-bubble { background: #574238; color: #fff1e8; border-color: #795849; }
html[data-theme="dark"] #thread-area .chat-cover,
html[data-theme="dark"] #draft-list .thread-avatar { background: #3a5140; color: #d2f6de; }
html[data-theme="dark"] .qeubo-scan-trigger,
html[data-theme="dark"] #publicar .qeubo-gallery-picker { background: #284534; border-color: #567861; color: #d8ffe6; }
html[data-theme="dark"] .qeubo-scan-trigger:hover { background: #355841; }
html[data-theme="dark"] #publicar .qeubo-scan-inline .qeubo-scan-status { color: #a8ebc5; }
html[data-theme="dark"] .search-suggestions { background: #25372c; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .search-suggestions button { color: var(--ink); background: transparent; }
@media (forced-colors: active) {
  .qeubo-theme-control select { forced-color-adjust: auto; }
}
