:root {
    --bg-color: #f4f5f0;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --header-bg: #00a0e3;
    --header-text: #ffffff;
    --tab-bg: #0087c2;
    --row-border: #eee;
    --row-hover: #f0f4f8;
    --th-bg: #fafafa;
    --input-bg: #ffffff;
    --input-border: #ccc;
    --toggle-bg: rgba(255,255,255,0.22);
    --toggle-border: rgba(255,255,255,0.5);
    --toggle-text: rgba(255,255,255,0.88);
    --toggle-text-hover: #ffffff;
    --toggle-active-bg: #ffffff;
    --toggle-active-text: #0087c2;
    --primary-color: #00a0e3;
    --primary-hover: #0087c2;
    --success-bg: #27ae60;
  }

  [data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --card-bg: #1e1e1e;
    --border-color: #333333;
    --header-bg: #1a1a1a;
    --header-text: #e0e0e0;
    --tab-bg: #111111;
    --row-border: #2a2a2a;
    --row-hover: #2c3e50;
    --th-bg: #252525;
    --input-bg: #2c2c2c;
    --input-border: #444;
    --toggle-bg: #000000;
    --toggle-border: rgba(255,255,255,0.1);
    --toggle-text: #888888;
    --toggle-text-hover: #ffffff;
    --toggle-active-bg: #f37021;
    --toggle-active-text: #ffffff;
    --primary-color: #0087c2;
    --primary-hover: #00a0e3;
  }

  /* (v07.11.26.9) Moderne, slanke scrollbars (5px met afgeronde thumb) */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.38) transparent;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.65);
}
.tabs {
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.bell-dropdown {
  scrollbar-width: thin;
}

/* (v07.11.26.9) Logo TLD styling: cyaan in donkere modus, contrastrijke witte badge in lichte modus */
.logo-tld {
  color: #00a0e3;
  font-weight: 800;
  display: inline-block;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s, background 0.2s;
  vertical-align: baseline;
}
.logo-tld.morph-out {
  opacity: 0;
  transform: translateY(-4px) scale(0.88);
}
[data-theme="bright"] .logo-tld,
body:not([data-theme="dark"]) .logo-tld {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 0.82em;
  margin-left: 2px;
  vertical-align: 1px;
}

/* (v07.11.26.11) Thema-gestuurde slanke announcement bar */
.ann-bar-new {
  color: #ffffff;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 40;
}
.ann-bar-new[hidden] { display: none; }
.ann-theme-cyan { background: linear-gradient(90deg, #0077b6 0%, #0096c7 50%, #00b4d8 100%); }
.ann-theme-green, .ann-theme-update { background: linear-gradient(90deg, #15803d 0%, #16a34a 50%, #22c55e 100%); }
.ann-theme-orange { background: linear-gradient(90deg, #c2410c 0%, #ea580c 50%, #f97316 100%); }
.ann-theme-amber, .ann-theme-let-op { background: linear-gradient(90deg, #b45309 0%, #d97706 50%, #f59e0b 100%); color: #ffffff; }
.ann-theme-purple { background: linear-gradient(90deg, #6b21a8 0%, #7e22ce 50%, #9333ea 100%); }
.ann-theme-blue, .ann-theme-nieuws { background: linear-gradient(90deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%); }

.ann-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ann-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ann-theme-amber .ann-badge, .ann-theme-let-op .ann-badge {
  background: rgba(0, 0, 0, 0.18);
}
.ann-bar-msg {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.ann-changelog-btn {
  background: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.ann-changelog-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
}
.ann-theme-cyan .ann-changelog-btn { color: #0077b6; }
.ann-theme-green .ann-changelog-btn, .ann-theme-update .ann-changelog-btn { color: #15803d; }
.ann-theme-orange .ann-changelog-btn { color: #c2410c; }
.ann-theme-amber .ann-changelog-btn, .ann-theme-let-op .ann-changelog-btn { color: #92400e; }
.ann-theme-purple .ann-changelog-btn { color: #6b21a8; }
.ann-theme-blue .ann-changelog-btn, .ann-theme-nieuws .ann-changelog-btn { color: #1d4ed8; }

.ann-bar-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity .15s ease;
  margin-left: 4px;
}
.ann-bar-close:hover {
  opacity: 1;
}

/* (v07.11.26.9) Changelog Modal */
.ch-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.ch-overlay.open {
  display: flex;
}
.ch-box {
  background: #111a24;
  color: #f1f5f9;
  border: 1px solid #223246;
  border-radius: 14px;
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  padding: 24px;
  box-sizing: border-box;
}
[data-theme="bright"] .ch-box {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}
.ch-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}
[data-theme="bright"] .ch-close-x {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}
.ch-close-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}
[data-theme="bright"] .ch-close-x:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.ch-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.ch-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: inherit;
}
.ch-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  white-space: pre-line;
}
[data-theme="bright"] .ch-sub {
  color: #475569;
}
.ch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .ch-grid { grid-template-columns: 1fr; }
}
.ch-card {
  background: #172332;
  border: 1px solid #283a50;
  border-radius: 10px;
  padding: 12px 14px;
  box-sizing: border-box;
}
[data-theme="bright"] .ch-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.ch-card.highlight {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}
.ch-card-h {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.ch-card-p {
  font-size: 11.5px;
  line-height: 1.4;
  color: #94a3b8;
  margin: 0;
}
[data-theme="bright"] .ch-card-p {
  color: #64748b;
}
.ch-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}
.ch-cta-btn {
  background: #00a0e3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s;
}
.ch-cta-btn:hover {
  background: #0088cc;
  transform: scale(1.02);
}

/* (v07.11.26.9) Notificaties in belletjesmenu: groene + Mandje knop */
.notif-cart-btn {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-left: auto;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 4px rgba(22, 163, 74, 0.35);
  white-space: nowrap;
}
.notif-cart-btn:hover {
  background: #15803d;
  transform: scale(1.03);
}
.notif-cart-btn.on {
  background: #15803d;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

/* Announcement banner (set by the admin, top of the frontpage) */
  .ann { position: relative; color: #fff; background: linear-gradient(135deg, #075985, #0284c7); box-shadow: 0 2px 10px rgba(0,0,0,0.18); animation: annIn .45s ease-out both; }
  .ann[hidden] { display: none; }
  .ann-update { background: linear-gradient(135deg, #166534, #15803d); }
  .ann-let-op { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #3b2300; }
  .ann-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
  .ann-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,0.2); }
  .ann-let-op .ann-icon { background: rgba(59,35,0,0.12); }
  .ann-text { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.4; }
  .ann-title { display: block; font-size: 14px; font-weight: 800; letter-spacing: .01em; }
  .ann-msg { display: block; overflow-wrap: anywhere; }
  .ann-link { flex: none; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; background: #fff; color: #075985; }
  .ann-update .ann-link { color: #166534; }
  .ann-let-op .ann-link { color: #3b2300; background: rgba(255,255,255,0.8); }
  a.ann-link:hover { text-decoration: underline; }
  .ann-inline-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .ann-inline-link:hover { opacity: 0.85; text-decoration: underline; }
  .ann-close { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.18); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
  .ann-close:hover { background: rgba(255,255,255,0.32); }
  .ann-let-op .ann-close { background: rgba(59,35,0,0.1); }
  @keyframes annIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .ann { animation: none; } }
  @media (max-width: 640px) {
    .ann-inner { flex-wrap: wrap; padding: 10px 44px 10px 12px; gap: 8px 10px; }
    .ann-close { position: absolute; top: 8px; right: 8px; }
    .ann-link { margin-left: 46px; }
  }

  * { box-sizing: border-box; }
  body { font-family: -apple-system, Segoe UI, Roboto, sans-serif; background: var(--bg-color); margin: 0; color: var(--text-color); transition: background 0.3s, color 0.3s; }
  header { background: var(--header-bg); color: var(--header-text); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
  header h1 { margin: 0; font-size: 18px; }
  header p { margin: 2px 0 0; opacity: 0.9; font-size: 11px; }

  .theme-toggle-container { display: flex; background: var(--toggle-bg); border-radius: 20px; padding: 2px; align-items: center; gap: 2px; border: 1px solid var(--toggle-border); transition: background 0.3s, border-color 0.3s; }
  .theme-btn { background: transparent; color: var(--toggle-text); border: none; border-radius: 18px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all 0.2s; }
  .theme-btn:hover { color: var(--toggle-text-hover); }
  .theme-btn.active { background: var(--toggle-active-bg); color: var(--toggle-active-text); }

  .user-cluster { display: flex; align-items: center; gap: 10px; }
  .user-avatar { display: block; position: relative; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, #ffb300, #f37021); box-shadow: 0 0 0 2px rgba(255,179,0,0.55); }
  .user-avatar-fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; }
  .user-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
  .user-btn { background: #fff; color: #00a0e3; border: none; padding: 5px 14px; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 12px; text-decoration: none; }
  .user-out { color: #fff; font-size: 11px; text-decoration: none; opacity: 0.85; }
  .user-out:hover { opacity: 1; text-decoration: underline; }

  .tabs { display: flex; background: var(--tab-bg); padding: 0 20px; gap: 10px; transition: background 0.3s; }
  .tab-btn { background: none; border: none; color: rgba(255,255,255,0.7); padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; }
  .tab-btn.active { color: white; border-bottom-color: white; }
  .view-container { display: none; padding: 15px 20px; }
  .view-container.active { display: block; }
  .admin-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
  .admin-card { background: var(--card-bg); border-radius: 8px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid var(--border-color); }
  .admin-card h3 { margin-top: 0; font-size: 16px; color: var(--primary-color); border-bottom: 1px solid var(--border-color); padding-bottom: 8px; }
  .field { display: flex; flex-direction: column; gap: 3px; }
  .field label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
  input, select { padding: 6px 8px; border: 1px solid var(--input-border); border-radius: 6px; font-size: 13px; background: var(--input-bg); color: var(--text-color); }
  button.primary-btn { background: var(--primary-color); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; }
  button.primary-btn:hover { background: var(--primary-hover); }
  /* (v30.10.26.2) Scraper-diagnose tab + scraper switches */
  .sd-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; }
  .sd-switch input { opacity: 0; width: 0; height: 0; }
  .sd-switch span { position: absolute; inset: 0; background: #888; border-radius: 22px; cursor: pointer; transition: background .15s; }
  .sd-switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
  .sd-switch input:checked + span { background: #27ae60; }
  .sd-switch input:checked + span::before { transform: translateX(18px); }
  .sd-card { margin-bottom: 14px; }
  .sd-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
  .sd-tbl th, .sd-tbl td { padding: 5px 8px; border-bottom: 1px solid var(--border-color); text-align: left; vertical-align: top; }
  .sd-tbl th { font-size: 11px; color: var(--text-muted); font-weight: 700; white-space: nowrap; }
  .sd-tbl .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .sd-tbl tr.sd-off td { opacity: .55; }
  .sd-find { border-left: 4px solid var(--border-color); padding: 8px 12px; margin-bottom: 8px; border-radius: 4px; background: var(--bg-color); font-size: 13px; line-height: 1.5; }
  .sd-find.bad { border-left-color: #c0392b; } .sd-find.warn { border-left-color: #f57c00; } .sd-find.ok { border-left-color: #27ae60; } .sd-find.info { border-left-color: #2980b9; }
  .sd-find b { display: block; }
  .sd-find .sd-hint { color: var(--text-muted); font-size: 12px; margin-top: 3px; }
  .sd-chip { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 700; color: #fff; background: #888; margin: 0 4px 2px 0; white-space: nowrap; }
  .sd-bars { display: flex; align-items: flex-end; gap: 2px; height: 96px; overflow-x: auto; padding: 4px 2px 0 2px; }
  .sd-bar { flex: 1 0 6px; max-width: 18px; display: flex; flex-direction: column-reverse; min-height: 2px; cursor: help; }
  .sd-bar i { display: block; width: 100%; }
  .sd-pre { background: #121212; color: #4ade80; font-family: monospace; font-size: 11px; padding: 8px; border-radius: 4px; white-space: pre-wrap; word-break: break-word; max-height: 380px; overflow: auto; }
  .sd-sub { font-size: 11px; color: var(--text-muted); line-height: 1.55; margin-bottom: 10px; }
  .sd-slotbox { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

  .scan-btn-group { display: flex; flex-direction: column; gap: 10px; margin-top: 5px; }
  .scan-option-box { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
  .scan-option-box.recommended { border-color: var(--success-bg); background: rgba(39, 174, 96, 0.05); }
  .scan-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin: 0; }

  .controls { background: var(--card-bg); padding: 12px 16px; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; border-bottom: 1px solid var(--border-color); margin-bottom: 15px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
  .user-alerts-box { background: var(--card-bg); border-radius: 8px; padding: 10px 14px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border: 1px solid var(--border-color); }
  .ua-search-wrap { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--input-border); border-radius: 8px; background: var(--input-bg, var(--card-bg)); padding: 4px 6px 4px 10px; transition: border-color .15s, box-shadow .15s; }
  .ua-search-wrap:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(0,160,227,0.16); }
  .ua-search-wrap input { flex: 1; min-width: 0; border: none !important; background: transparent !important; outline: none !important; padding: 6px 4px !important; box-shadow: none !important; font-size: 13.5px; color: var(--text-color); }
  .adv-gear-btn { position: relative; display: none; align-items: center; justify-content: center; gap: 3px; background: var(--bg-color); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 9px; font-size: 14px; line-height: 1; cursor: pointer; flex-shrink: 0; transition: background .15s, border-color .15s, color .15s; }
  .adv-gear-btn:hover, .adv-gear-btn.open { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
  .adv-gear-btn .adv-cnt { font-size: 10px; font-weight: 800; background: var(--primary-color); color: #fff; border-radius: 99px; padding: 1px 5px; line-height: 1.3; }
  .adv-gear-btn.open .adv-cnt { background: #fff; color: var(--primary-color); }
  .alert-tag { background: #fbc02d; color: #111; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .alert-tag span { cursor: pointer; font-weight: bold; }

  .summary { display: none !important; }
  .card { background: var(--card-bg); border-radius: 8px; padding: 10px 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); min-width: 120px; cursor: pointer; transition: transform 0.1s ease, border-color 0.1s ease; border: 1px solid var(--border-color); }
  .card:hover { transform: translateY(-2px); border-color: var(--primary-color); }
  .card .num { font-size: 18px; font-weight: 700; color: var(--primary-color); }
  .card .lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .card { position: relative; }
  .card.active { border-color: var(--primary-color); background: rgba(0,160,227,.10); box-shadow: 0 0 0 1px var(--primary-color) inset; }
  .card.active::after { content: '✕'; position: absolute; top: 5px; right: 8px; font-size: 11px; font-weight: 700; color: var(--primary-color); }
  .preset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
  .preset-chip { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 16px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
  .preset-chip:hover { border-color: var(--primary-color); }
  .preset-chip.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
  .preset-chip.reset { background: transparent; border-style: dashed; color: var(--text-muted); font-weight: 500; }
  .preset-chip.save { background: transparent; border-color: var(--primary-color); color: var(--primary-color); }
  .preset-chip.save:hover { background: var(--primary-color); color: #fff; }
  .preset-chip.saved { background: transparent; border-color: #27ae60; color: #27ae60; cursor: default; }
  /* (v10.10.26.1) On a computer the advanced filters stay in the bar exactly as before (display: contents = the wrapper
     does not exist for the layout); the toggle and the extra phone-only presets are only shown on a phone. */
  .adv-filters { display: contents; }
  .adv-toggle { display: none; }
  .preset-chip.mob-only { display: none; }
  .preset-flash { font-size: 11px; color: var(--text-muted); }
  .how-box { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: 12px; line-height: 1.55; }
  .how-box summary { cursor: pointer; font-weight: 700; font-size: 13px; }
  .how-box ul { margin: 8px 0 0; padding-left: 18px; }
  .how-box li { margin-bottom: 6px; }
  .fav-state { display: inline-block; font-size: 11px; font-weight: 400; margin-top: 2px; line-height: 1.4; }
  .fav-state.ok { color: #27ae60; } .fav-state.wait { color: var(--text-muted); } .fav-state.gone { color: #c9a227; } .fav-state.warn { color: #c0392b; }
  .range-row .rm.grey { background: #7f8c8d; }

  .store-section { background: var(--card-bg); border-radius: 8px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow: hidden; border: 1px solid var(--border-color); }
  .store-header { background: var(--th-bg); padding: 12px 16px; border-bottom: 1px solid var(--row-border); display: flex; justify-content: space-between; align-items: center; }
  table { width: 100%; border-collapse: collapse; }
  th, td { text-align: left; padding: 8px 12px; font-size: 12px; border-top: 1px solid var(--row-border); vertical-align: middle; color: var(--text-color); }
  th { background: var(--th-bg); font-size: 10px; text-transform: uppercase; color: var(--text-muted); cursor: pointer; user-select: none; }
  th:hover { color: var(--primary-color); background: var(--row-hover); }
  tr:hover { background: var(--row-hover); }

  .product-cell { display: flex; align-items: center; gap: 8px; }
  .product-img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; background: white; border: 1px solid var(--row-border); flex-shrink: 0; }
  .product-img-placeholder { width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: transparent; padding: 0; flex-shrink: 0; }

  .cat-pill { color: white; padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 600; text-shadow: 0 1px 1px rgba(0,0,0,0.3); }
  .deal-pill { color: white; padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 700; }
  .bonus-pill { background: #0077c8; color: white; padding: 2px 6px; border-radius: 6px; font-size: 9px; font-weight: 700; display: inline-block; margin-top: 3px; }
  .pin-btn { background: none; border: none; cursor: pointer; font-size: 20px; line-height: 1; padding: 0 6px 0 0; color: var(--text-muted); vertical-align: middle; }
  .pin-btn:hover { color: #f0b400; }
  .pin-btn.on { color: #f0b400; }
  .pin-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #333; color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; z-index: 9999; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
  .country-pill { color: white; padding: 1px 6px; border-radius: 8px; font-size: 10px; font-weight: 700; display: inline-block; vertical-align: middle; margin-left: 4px; }
  .stock-badge { background: rgba(0, 119, 200, 0.1); color: #00a0e3; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; display: inline-block; margin-top: 2px; border: 1px solid rgba(0, 119, 200, 0.2); }
  .expiry-pill { padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 700; color: white; text-shadow: 0 1px 1px rgba(0,0,0,0.3); }
  .nutriscore-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: white; font-weight: 800; font-size: 11px; text-shadow: 0 1px 1px rgba(0,0,0,0.3); }
  .nova-badge { padding: 2px 6px; border-radius: 6px; color: white; font-size: 10px; font-weight: 700; text-shadow: 0 1px 1px rgba(0,0,0,0.3); }
  .empty { text-align: center; padding: 30px; color: var(--text-muted); font-size: 13px; }
  .progress-bar-container { background: var(--row-border); border-radius: 4px; height: 12px; width: 100%; margin: 8px 0; overflow: hidden; border: 1px solid var(--border-color); }
  .progress-bar-fill { background: var(--primary-color); height: 100%; width: 0%; transition: width 0.3s ease; }

  /* Notification bell */
  .bell-wrap { position: relative; }
  .bell-btn { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 15px; cursor: pointer; position: relative; line-height: 1; }
  .bell-btn:hover { background: rgba(255,255,255,0.22); }
  .bell-count { position: absolute; top: -6px; right: -6px; background: #d32f2f; color: #fff; border-radius: 10px; font-size: 10px; font-weight: 700; padding: 1px 5px; min-width: 16px; text-align: center; }
  .bell-dropdown { display: none; position: absolute; right: 0; top: 38px; width: 300px; max-height: 360px; overflow-y: auto; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.25); z-index: 60; color: var(--text-color); }
  .bell-dropdown.open { display: block; }
  .bell-dropdown-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--row-border); font-size: 12px; font-weight: 700; position: sticky; top: 0; background: var(--card-bg); z-index: 1; }
  .bell-dropdown-head .bell-head-actions { display: flex; align-items: center; gap: 10px; }
  /* (v01.11.26.2) a close button that is always inside the panel: on a phone the panel can cover the bell, so the bell was no way to close it */
  .bell-dropdown .bell-close { background: none; border: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
  .bell-dropdown .bell-login { position: relative; }
  .bell-guest-cta { border-top: 1px solid var(--row-border); padding: 12px; background: var(--input-bg); border-radius: 0 0 8px 8px; }
  .bell-guest-cta-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary-color); background: rgba(0, 160, 227, 0.12); padding: 2px 7px; border-radius: 999px; margin-bottom: 6px; }
  .bell-guest-cta-msg { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; }
  .bell-dropdown .bell-login .bell-close { position: absolute; top: 6px; right: 8px; }
  .bell-dropdown-head button { background: none; border: none; color: var(--primary-color); font-size: 11px; font-weight: 600; cursor: pointer; }
  .notif-item { padding: 8px 12px; border-bottom: 1px solid var(--row-border); font-size: 12px; line-height: 1.4; display: flex; gap: 10px; align-items: center; }
  .notif-item.clickable { cursor: pointer; }
  .notif-item.clickable:hover { background: var(--row-border); }
  .notif-item.unread { background: rgba(243,112,33,0.08); }
  .notif-item .notif-img { width: 40px; height: 40px; flex: none; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--row-border); }
  .notif-item .notif-img.ph { display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .notif-item .notif-body { flex: 1; min-width: 0; }
  .notif-item .notif-dot { width: 8px; height: 8px; border-radius: 50%; background: #d32f2f; flex: none; }
  .notif-item .notif-hint { color: var(--primary-color); font-size: 10px; font-weight: 600; margin-top: 2px; }
  @keyframes bellRing { 0%,100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
  .bell-btn.ring { animation: bellRing 0.9s ease-in-out; transform-origin: 50% 20%; }
  @media (prefers-reduced-motion: reduce) { .bell-btn.ring { animation: none; } }
  .user-cluster { position: relative; }
  .user-avatar-btn { background: none; border: none; padding: 0; cursor: pointer; line-height: 0; border-radius: 50%; }
  .user-avatar-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .user-menu-wrap { position: relative; display: inline-flex; align-items: center; }
  .user-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 292px; background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.25); z-index: 70; padding: 6px 0; }
  .user-menu.open { display: block; }
  .user-menu .um-x { position: absolute; top: 6px; right: 8px; background: none; border: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; z-index: 1; }
  .user-menu .um-x:hover { color: var(--text-color); }
  .user-menu .um-head { padding: 6px 14px 8px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
  .user-menu .um-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; font-size: 13px; }
  .user-menu .um-note { padding: 0 14px 8px; font-size: 11px; color: var(--text-muted); line-height: 1.4; }
  .user-menu .um-sep { border-top: 1px solid var(--row-border); margin: 4px 0; }
  .user-menu a.um-link { display: block; padding: 8px 14px; font-size: 13px; color: var(--text-color); text-decoration: none; }
  .user-menu a.um-link:hover { background: var(--row-border); }
  .um-switch { position: relative; width: 38px; height: 22px; flex: none; border: none; border-radius: 11px; background: #b0b4b8; cursor: pointer; transition: background 0.15s; padding: 0; }
  .um-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.15s; }
  .um-switch[aria-checked="true"] { background: #27ae60; }
  .um-switch[aria-checked="true"]::after { left: 18px; }
  .um-switch:disabled { opacity: 0.5; cursor: not-allowed; }
  .user-menu .um-btn { display: block; width: calc(100% - 28px); margin: 2px 14px 8px; padding: 7px 10px; font-size: 12px; font-weight: 600; background: var(--row-border); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; text-align: left; }
  .user-menu .um-btn[disabled] { opacity: 0.6; cursor: wait; }
  .user-menu .um-split-wrap { display: flex; width: calc(100% - 28px); margin: 2px 14px 8px; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; background: var(--row-border); }
  .user-menu .um-split-main { flex: 1; padding: 7px 10px; font-size: 12px; font-weight: 600; background: transparent; color: var(--text-color); border: none; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 6px; }
  .user-menu .um-split-main:hover, .user-menu .um-split-gear:hover { background: rgba(0, 160, 227, 0.12); }
  .user-menu .um-split-gear { flex: none; padding: 7px 10px; font-size: 12px; font-weight: 700; background: transparent; color: var(--text-color); border: none; border-left: 1px solid var(--border-color); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
  .user-menu .um-split-gear.open { background: rgba(0, 160, 227, 0.18); color: var(--primary-color); }
  .user-menu .um-gear-badge { font-size: 10px; font-weight: 700; background: var(--primary-color); color: #fff; border-radius: 999px; padding: 1px 5px; line-height: 1.2; }
  .user-menu .um-dev-box { margin: 0 14px 8px; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 7px; background: var(--input-bg); font-size: 11.5px; }
  .user-menu .um-dev-head { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
  .user-menu .um-dev-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0; border-top: 1px solid var(--row-border); }
  .user-menu .um-dev-row:first-of-type { border-top: none; padding-top: 2px; }
  .user-menu .um-dev-info { min-width: 0; flex: 1; }
  .user-menu .um-dev-name { font-weight: 600; color: var(--text-color); font-size: 11.5px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
  .user-menu .um-dev-this { font-size: 9.5px; font-weight: 700; color: #27ae60; background: rgba(39, 174, 96, 0.14); padding: 1px 5px; border-radius: 4px; }
  .user-menu .um-dev-meta { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
  .user-menu .um-dev-actions { display: flex; align-items: center; gap: 4px; flex: none; }
  .user-menu .um-dev-btn { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 5px; padding: 3px 7px; font-size: 10.5px; font-weight: 600; cursor: pointer; line-height: 1.2; }
  .user-menu .um-dev-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
  .user-menu .um-dev-btn.del:hover { border-color: #c0392b; color: #c0392b; }
  .user-menu .um-id { display: flex; align-items: center; gap: 12px; padding: 10px 14px 8px; }
  .um-ava { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #ffb300, #f37021); box-shadow: 0 0 0 2px rgba(255,179,0,0.55); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; }
  .um-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
  .um-id-text { min-width: 0; }
  .um-id-title { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
  .um-id-name { font-size: 15px; font-weight: 700; color: var(--text-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .user-menu .um-msg { padding: 0 14px 6px; font-size: 11px; line-height: 1.4; }
  .user-menu .um-msg.err { color: #c0392b; }
  .user-menu .um-msg.ok { color: #27ae60; }
  #installBanner { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: none; align-items: center; gap: 10px; background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.3); padding: 10px 12px; max-width: 520px; margin: 0 auto; }
  #installBanner img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
  #installBanner .ib-text { flex: 1; font-size: 12px; line-height: 1.4; min-width: 0; }
  #installBanner .ib-text b { display: block; font-size: 13px; }
  #installBanner .ib-close { background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; padding: 4px 6px; }
  header .brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
  header .brand-logo { width: 42px; height: 42px; border-radius: 10px; background: #fff; flex: none; }
  .seo-info { max-width: 900px; margin: 28px auto 8px; padding: 18px 22px; background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 10px; font-size: 13px; line-height: 1.65; }
  .seo-info h2 { font-size: 17px; margin: 18px 0 6px; } .seo-info h2:first-of-type { margin-top: 4px; }
  .seo-info h3 { font-size: 14px; margin: 14px 0 4px; }
  .seo-info p, .seo-info ol { margin: 6px 0; } .seo-info ol { padding-left: 20px; }
  .seo-info img.seo-logo { display: block; margin: 0 auto 6px; width: 190px; max-width: 55%; height: auto; background: #fff; border-radius: 16px; padding: 6px; }
  .notif-item:last-child { border-bottom: none; }
  .notif-item .t { color: var(--text-muted); font-size: 10px; margin-top: 2px; }
  .notif-empty { padding: 16px 12px; text-align: center; color: var(--text-muted); font-size: 12px; }

  /* Favorites panel */
  .fav-toggle-btn { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--input-border); border-radius: 6px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
  .fav-toggle-btn:hover { border-color: var(--primary-color); }
  .view-toggle-btn { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--input-border); padding: 7px 10px; font-size: 14px; cursor: pointer; }
  .view-toggle-btn:first-child { border-radius: 6px 0 0 6px; }
  .view-toggle-btn:last-child { border-radius: 0 6px 6px 0; border-left: none; }
  .view-toggle-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
  #watchForm { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 16px; margin-bottom: 15px; }
  .grid-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 12px 16px; }
  .grid-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.1s ease, border-color 0.1s ease; }
  .grid-card:hover { transform: translateY(-2px); border-color: var(--primary-color); }
  .grid-card-img { width: 100%; height: 110px; object-fit: contain; background: #fff; }
  .grid-card-img-placeholder { width: 100%; height: 110px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px 8px 0 0; background: transparent; padding: 0; box-sizing: border-box; }
  .grid-card-body { padding: 8px 10px; }
  .grid-card-title { font-size: 12px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; min-height: 31px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .grid-card-meta { display: flex; justify-content: space-between; align-items: center; }
  .grid-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
  .grid-was { font-size: 10px; color: var(--text-muted); font-weight: 400; }
  /* (v23.11.26.1) Native subtle partner deal card/row placed at the end of each store's product list */
  .grid-card.partner-deal-card { display: flex; flex-direction: column; border: 1px solid rgba(230, 126, 34, 0.42); background: linear-gradient(180deg, var(--card-bg) 0%, rgba(230, 126, 34, 0.045) 100%); position: relative; }
  .grid-card.partner-deal-card:hover { border-color: #e67e22; }
  .partner-deal-adv { position: absolute; top: 6px; right: 6px; background: rgba(15, 23, 42, 0.62); color: rgba(255, 255, 255, 0.92); font-size: 9px; font-weight: 600; padding: 2px 5px; border-radius: 4px; z-index: 2; text-transform: uppercase; letter-spacing: 0.4px; pointer-events: none; }
  .partner-deal-card .grid-card-img { object-fit: contain; background: #fff; padding: 4px; box-sizing: border-box; }
  .partner-deal-card .grid-card-body { flex: 1; display: flex; flex-direction: column; }
  .partner-deal-sub { font-size: 10.5px; color: var(--text-muted); line-height: 1.3; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .partner-deal-foot { margin-top: auto; }
  .partner-deal-card .grid-card-meta { gap: 4px; flex-wrap: wrap; }
  .partner-deal-cta { font-size: 11px; font-weight: 700; color: var(--primary-color); white-space: nowrap; }
  .partner-deal-tip { display: inline-block; background: rgba(230, 126, 34, 0.14); color: #e67e22; border: 1px solid rgba(230, 126, 34, 0.32); padding: 1px 6px; border-radius: 6px; font-size: 9px; font-weight: 700; }
  [data-theme="bright"] .partner-deal-tip { color: #c25e0a; background: rgba(230, 126, 34, 0.12); }
  tr.partner-deal-row { cursor: pointer; background: rgba(230, 126, 34, 0.04); }
  tr.partner-deal-row:hover td { background: rgba(230, 126, 34, 0.09); }
  tr.partner-deal-row td:first-child { border-left: 3px solid rgba(230, 126, 34, 0.55); }
  .partner-deal-adv-inline { display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 4px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-muted); border: 1px solid var(--border-color); vertical-align: middle; }
  /* (v11.10.26.1) tab "1+1 Gratis" */
  .bonus-head { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
  .bonus-head h2 { margin: 0 0 4px; font-size: 18px; color: var(--primary-color); }
  .bonus-sub { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  .bonus-ctrl { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 12px; }
  .bonus-weeks { margin-top: 12px; }
  .bonus-weeks button .wk-n { font-weight: 600; opacity: .9; }
  /* (v24.10.26.3) categories in the 1+1 tab */
  .bonus-group-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0 8px; padding: 8px 12px; background: var(--card-bg); border: 1px solid var(--border-color); border-left: 4px solid var(--primary-color); border-radius: 8px; font-weight: 700; font-size: 14px; }
  .bonus-group-h .n { font-size: 11px; font-weight: 600; color: var(--text-muted); }
  .bonus-tier { margin: 28px 0 2px; padding: 8px 2px 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); border-top: 2px dashed var(--border-color); }
  .bonus-more { display: block; margin: 10px auto 0; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border-color); background: var(--card-bg); color: var(--primary-color); font-weight: 600; cursor: pointer; font-size: 12px; }
  /* Price chart (v12.10.26.1): two series, validated colours (light: #0077c8 / #767676, dark: #4fb0f5 / #808080) */
  .ph-card { --ph-accent: #0077c8; --ph-gray: #767676; margin: 14px 0 4px; padding-top: 12px; border-top: 1px solid var(--row-border); }
  [data-theme="dark"] .ph-card { --ph-accent: #4fb0f5; --ph-gray: #808080; }
  .ph-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 4px; }
  .ph-title { font-size: 13px; font-weight: 700; }
  .ph-legend { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); }
  .ph-legend i { display: inline-block; width: 14px; height: 0; border-top: 2px solid; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
  .ph-legend .b i { border-color: var(--ph-accent); }
  .ph-legend .r i { border-color: var(--ph-gray); }
  .ph-wrap { position: relative; }
  .ph-svg { width: 100%; height: auto; display: block; touch-action: pan-y; outline: none; overflow: visible; }
  .ph-svg:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; border-radius: 4px; }
  .ph-svg text { fill: var(--text-muted); font-size: 11px; font-family: inherit; }
  .ph-grid { stroke: var(--row-border); stroke-width: 1; }
  .ph-axis { stroke: var(--border-color); stroke-width: 1; }
  .ph-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .ph-line.b { stroke: var(--ph-accent); }
  .ph-line.r { stroke: var(--ph-gray); }
  .ph-dot { stroke: var(--card-bg); stroke-width: 2; }
  .ph-dot.b { fill: var(--ph-accent); }
  .ph-dot.r { fill: var(--ph-gray); }
  .ph-cross { stroke: var(--text-muted); stroke-width: 1; }
  .ph-tip { position: absolute; top: 0; left: 0; pointer-events: none; background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 8px; font-size: 11px; line-height: 1.45; box-shadow: 0 2px 8px rgba(0,0,0,.18); white-space: nowrap; z-index: 2; }
  .ph-tip b { display: block; margin-bottom: 2px; }
  .ph-tip .sw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
  .ph-tip .sw.b { background: var(--ph-accent); }
  .ph-tip .sw.r { background: var(--ph-gray); }
  .ph-note { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-top: 4px; }
  .ph-table summary { font-size: 11px; color: var(--text-muted); cursor: pointer; margin-top: 6px; }
  .ph-table table { width: 100%; border-collapse: collapse; font-size: 11px; margin-top: 4px; }
  .ph-table th, .ph-table td { text-align: left; padding: 3px 4px; border-top: 1px solid var(--row-border); }
  .ph-table th { color: var(--text-muted); font-weight: 600; }
  /* Bonus Prediction & Buy Advice Card (v07.11.26.10) */
  .ph-advice-card { margin-top: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-card, rgba(255,255,255,0.03)); display: flex; flex-direction: column; gap: 5px; }
  .ph-advice-card.ph-adv-active { border-color: rgba(39, 174, 96, 0.45); background: rgba(39, 174, 96, 0.08); }
  .ph-advice-card.ph-adv-imminent { border-color: rgba(243, 156, 18, 0.45); background: rgba(243, 156, 18, 0.08); }
  .ph-advice-card.ph-adv-regular { border-color: rgba(0, 160, 227, 0.35); background: rgba(0, 160, 227, 0.06); }
  .ph-advice-card.ph-adv-learning { border-color: var(--row-border); background: rgba(128, 128, 128, 0.06); }
  .ph-adv-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
  .ph-adv-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 2px 7px; }
  .ph-adv-active .ph-adv-badge { background: #27ae60; color: #fff; }
  .ph-adv-imminent .ph-adv-badge { background: #d35400; color: #fff; }
  .ph-adv-regular .ph-adv-badge { background: #0077c8; color: #fff; }
  .ph-adv-learning .ph-adv-badge { background: #555; color: #eee; }
  .ph-adv-timing { font-size: 11px; font-weight: 600; color: var(--text-color); }
  .ph-adv-desc { font-size: 12px; line-height: 1.45; color: var(--text-color); opacity: 0.95; }
  .ph-adv-meta { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--text-muted); margin-top: 2px; flex-wrap: wrap; gap: 6px; }
  .ph-adv-conf { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
  .ph-adv-cycle { font-style: italic; }
  /* Live updates (v30.10.26.1): sold-out products fade away slowly, a changed discount is changed in place */
  .be-hint { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.4; padding: 10px 12px; margin: 0 0 10px; border: 1px solid var(--border-color); border-left: 4px solid #ED2939; border-radius: 8px; background: var(--card-bg); }
  .live-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); margin: 0 0 8px; cursor: pointer; user-select: none; flex-wrap: wrap; }
  .live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #27ae60; box-shadow: 0 0 0 0 rgba(39,174,96,.5); animation: lvPulse 2.4s infinite; }
  .live-badge.paused .dot { background: #999; animation: none; }
  .live-badge .chg { color: var(--text-color); font-weight: 600; }
  @keyframes lvPulse { 0% { box-shadow: 0 0 0 0 rgba(39,174,96,.5); } 70% { box-shadow: 0 0 0 7px rgba(39,174,96,0); } 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0); } }
  /* (v01.11.26.1) a product that is gone fades out in 10 seconds (linear, so the first seconds are as visible as the last), a new one fades in
     in 3 seconds. prefers-reduced-motion only removes the movement (scaling, pulses): the slow fade itself is an opacity change and stays. */
  .grid-card.lv-soldout, tr.lv-soldout > td { transition: opacity 10s linear, filter 1.5s ease; filter: grayscale(.85); pointer-events: none; }
  .grid-card.lv-gone, tr.lv-gone > td { opacity: 0; }
  .grid-card.lv-soldout { position: relative; }
  .grid-card.lv-soldout[data-lv="sold"]::after { content: 'Net uitverkocht'; position: absolute; left: 6px; top: 6px; background: #c0392b; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px; z-index: 2; }
  tr.lv-soldout[data-lv="sold"] .product-cell strong::after { content: ' · net uitverkocht'; color: #c0392b; font-weight: 600; font-size: 11px; }
  .grid-card.lv-new { animation: lvIn 3s ease-out both, lvFlash 4s ease-out; }
  tr.lv-new { animation: lvFlash 4s ease-out; }
  tr.lv-new > td { animation: lvFade 3s ease-out both; }
  .grid-card.lv-flash, tr.lv-flash { animation: lvFlash 2.6s ease-out; }
  .lv-flash .deal-pill, .lv-new .deal-pill { animation: lvPop .8s ease-out; }
  @keyframes lvIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
  @keyframes lvFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lvFlash { 0% { box-shadow: 0 0 0 3px rgba(39,174,96,.55); background-color: rgba(39,174,96,.14); } 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0); background-color: transparent; } }
  @keyframes lvPop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
  @media (prefers-reduced-motion: reduce) { .grid-card.lv-new { animation: lvFade 3s ease-out both; } tr.lv-new { animation: none; } .grid-card.lv-flash, tr.lv-flash, .lv-flash .deal-pill, .lv-new .deal-pill, .live-badge .dot { animation: none; } }
  /* Prijs-analyse (v29.10.26.1) */
  .pa-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
  .pa-btn { background: transparent; color: var(--primary-color); border: 1.5px solid var(--primary-color); border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
  .pa-btn:hover { background: var(--primary-color); color: #fff; }
  .pa-hint { font-size: 11px; color: var(--text-muted); }
  #analysisModal { z-index: 110; }   /* opens on top of the product and bonus pop-ups, which stay open underneath */
  .modal-box.pa-box { max-width: 560px; }
  .pa-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .pa-sub select { font-size: 12px; padding: 2px 4px; }
  .pa-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 8px 0 10px; }
  .pa-tile { border: 1px solid var(--border-color); border-radius: 8px; padding: 8px 10px; }
  .pa-tile b { display: block; font-size: 17px; line-height: 1.25; }
  .pa-tile span { font-size: 11px; color: var(--text-muted); line-height: 1.35; display: block; }
  .pa-bonus-next { border-left: 4px solid #0077c8; background: rgba(0, 119, 200, .12); border-radius: 6px; padding: 8px 10px; font-size: 12.5px; line-height: 1.5; margin: 6px 0 10px; }
  .pa-bonus-cmp { margin-top: 8px; padding: 7px 10px; border-radius: 6px; background: rgba(0, 119, 200, .1); font-size: 12.5px; line-height: 1.5; }
  .pa-advice { border-left: 4px solid var(--ph-accent, var(--primary-color)); background: var(--row-border); border-radius: 6px; padding: 8px 10px; font-size: 12.5px; line-height: 1.5; margin: 6px 0 10px; }
  .pa-card { --ph-accent: #0077c8; --ph-gray: #767676; margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--row-border); }
  [data-theme="dark"] .pa-card { --ph-accent: #4fb0f5; --ph-gray: #808080; }
  /* (v31.10.26.1) one colour per discount level: ~25% blue, ~40% amber, ~70% crimson (also repeated in the legend and tooltips, so colour is never the only clue) */
  #analysisModal { --pa-t0: #3b8fd9; --pa-t1: #f0a202; --pa-t2: #c2185b; }
  [data-theme="dark"] #analysisModal { --pa-t0: #6bb8ee; --pa-t1: #f5b83a; --pa-t2: #ec5b92; }
  .pa-svg rect.pa-t0 { fill: var(--pa-t0); } .pa-svg rect.pa-t1 { fill: var(--pa-t1); } .pa-svg rect.pa-t2 { fill: var(--pa-t2); }
  .pa-peakband { fill: var(--ph-accent); opacity: .1; }
  .pa-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; background: var(--ph-gray); }
  .pa-dot.t0 { background: var(--pa-t0); } .pa-dot.t1 { background: var(--pa-t1); } .pa-dot.t2 { background: var(--pa-t2); }
  .pa-dot.hatch { border-radius: 2px; background: repeating-linear-gradient(45deg, var(--ph-gray) 0 2px, transparent 2px 4px); border: 1px solid var(--ph-gray); width: 9px; height: 9px; }
  .pa-dot.band { border-radius: 2px; background: var(--ph-accent); opacity: .25; }
  .pa-table { width: 100%; border-collapse: collapse; font-size: 11.5px; margin: 4px 0 2px; }
  .pa-table th { text-align: left; font-weight: 600; color: var(--text-muted); font-size: 10.5px; padding: 3px 6px 3px 0; border-bottom: 1px solid var(--border-color); vertical-align: bottom; }
  .pa-table td { padding: 5px 6px 5px 0; border-bottom: 1px solid var(--row-border); vertical-align: top; }
  .pa-table small { color: var(--text-muted); font-size: 10px; }
  .pa-table td:first-child { white-space: nowrap; }
  .pa-scope { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; margin: -2px 0 8px; }
  .pa-scope-lab { font-weight: 600; }
  .pa-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--primary-color); cursor: pointer; text-decoration: underline; }
  .pa-pick { border: 1px solid var(--border-color); border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; max-height: 260px; overflow-y: auto; }
  .pa-pick-hint { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin-bottom: 6px; }
  .pa-st { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 12px; cursor: pointer; border-top: 1px solid var(--row-border); }
  .pa-st input { width: 16px; height: 16px; flex: none; margin: 0; }
  .pa-st.on { font-weight: 600; }
  .pa-st-n { flex: 1; min-width: 0; } .pa-st-n small { color: var(--text-muted); font-weight: 400; }
  .pa-st-m { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
  .pa-pick-act { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
  .pa-btn:disabled { opacity: .45; cursor: not-allowed; }
  .pa-btn:disabled:hover { background: transparent; color: var(--primary-color); }
  .pa-card h4 { margin: 0 0 4px; font-size: 13px; }
  .pa-svg { width: 100%; height: auto; display: block; overflow: visible; }
  .pa-svg text { fill: var(--text-muted); font-size: 9px; font-family: inherit; }
  .pa-svg text.v { fill: var(--text-color); font-weight: 700; }
  .pa-bar { fill: var(--ph-accent); opacity: .55; }
  .pa-bar.pk { opacity: 1; }
  .pa-bar.off { fill: var(--ph-gray); opacity: .25; }
  .pa-bonus { fill: var(--ph-gray); opacity: .55; }
  .pa-nat { fill: none; stroke: var(--ph-gray); stroke-width: 1.5; }
  .pa-axis { stroke: var(--border-color); stroke-width: 1; }
  .pa-seg { display: inline-flex; margin-left: 8px; vertical-align: 1px; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
  .pa-seg button { border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 10.5px; font-weight: 600; padding: 2px 8px; cursor: pointer; }
  .pa-seg button.on { background: var(--primary-color); color: #fff; }
  .pa-trail { fill: none; stroke-width: 1.7; stroke-linejoin: round; }
  .pa-trail.sold { stroke: #d32f2f; } .pa-trail.pulled { stroke: var(--ph-gray); } .pa-trail.open { stroke: var(--ph-accent); } .pa-trail.lost { stroke: var(--ph-gray); stroke-dasharray: 3 2; }
  .pa-ln { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--ph-gray); margin-right: 4px; vertical-align: 3px; border-radius: 0 !important; background: none !important; }
  .pa-ln.sold { border-color: #d32f2f; } .pa-ln.open { border-color: var(--ph-accent); } .pa-ln.lost { border-top-style: dashed; }
  .pa-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 10.5px; color: var(--text-muted); margin-top: 4px; }
  .pa-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 4px; border-radius: 2px; vertical-align: -1px; }
  .pa-list { margin: 4px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.6; }
  /* (v06.11.26.1) Gecombineerde Levensloop & Voorraad Grafiek conform Plaatje 2 */
  .pa-comb-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
  .pa-comb-title { font-size: 15px; font-weight: 700; color: var(--text-color); margin: 0; }
  .pa-sub-title { font-size: 13px; font-weight: 700; color: var(--text-color); margin: 10px 0 4px; display: flex; align-items: center; justify-content: space-between; }
  .pa-bonus-next { border: 1.5px solid #d97706; background: rgba(217, 119, 6, 0.14); border-radius: 8px; padding: 10px 14px; font-size: 12.5px; line-height: 1.5; margin: 4px 0 10px; color: #fef08a; }
  .pa-bonus-next b { color: #fff; }
  .pa-live-bar { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-color); background: rgba(255, 255, 255, 0.05); border-radius: 6px; padding: 6px 10px; margin: 6px 0 10px; }
  .pa-live-bar .pa-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: lvPulse 2.4s infinite; flex: none; }
  .pa-pills { display: flex; gap: 7px; flex-wrap: wrap; margin: 8px 0 8px; }
  .pa-pill { border: 1.5px solid var(--border-color); background: rgba(255,255,255,0.03); color: var(--text-muted); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: all .15s ease; display: inline-flex; align-items: center; gap: 5px; }
  .pa-pill:hover { border-color: var(--primary-color); color: var(--text-color); }
  .pa-pill.on { background: #22c55e; border-color: #22c55e; color: #fff; box-shadow: 0 2px 6px rgba(34, 197, 94, .3); }
  .pa-pill.nat { border: 1.5px dashed var(--primary-color); }
  .pa-pill.nat.on { background: var(--primary-color); border-color: var(--primary-color); color: #fff; border-style: solid; }
  .pa-pill-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: currentColor; }
  .pa-empty-store { border: 1.5px dashed var(--border-color); border-radius: 10px; padding: 18px 16px; text-align: center; margin: 10px 0; background: rgba(255,255,255,0.02); }
  .pa-empty-store h5 { font-size: 14px; margin: 0 0 6px; color: var(--text-color); }
  .pa-empty-store p { font-size: 12px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.5; }
  .pa-btn-nat { background: var(--primary-color); color: #fff; border: 0; border-radius: 8px; padding: 7px 16px; font-size: 12px; font-weight: 700; cursor: pointer; }
  .pa-svg-wrap { background: #12151c; border-radius: 10px; padding: 10px 6px 6px; border: 1px solid rgba(255,255,255,0.08); margin: 6px 0; box-shadow: inset 0 2px 8px rgba(0,0,0,0.3); }
  .pa-svg rect.pa-tg { fill: var(--ph-gray); }
  .pa-dot.hatch.gray { border-color: var(--ph-gray); }
  .pa-pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 6px; }
  .pa-pill { border: 1.5px solid var(--border-color); background: transparent; color: var(--text-color); border-radius: 999px; padding: 3px 11px; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
  .pa-pill:hover { border-color: var(--primary-color); }
  .pa-pill.on { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
  .pa-pill.nat { border-style: dashed; }
  .pa-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
  .pa-chip { border: 1px solid var(--border-color); border-radius: 8px; padding: 4px 9px; font-size: 11.5px; line-height: 1.4; }
  .pa-chip small { color: var(--text-muted); font-size: 10px; }
  .pa-live { border-left: 4px solid var(--pa-t0); background: var(--row-border); border-radius: 6px; padding: 7px 10px; font-size: 12.5px; line-height: 1.5; margin: 6px 0; }
  .pa-live small { color: var(--text-muted); font-size: 11px; }
  .pa-live-note { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }
  .pa-svg path.pa-area { stroke: none; opacity: .2; }
  .pa-svg path.pa-a0 { fill: var(--pa-t0); } .pa-svg path.pa-a1 { fill: var(--pa-t1); } .pa-svg path.pa-a2 { fill: var(--pa-t2); }
  .pa-svg path.pa-life { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
  .pa-svg path.pa-life.thin { stroke-width: 1.3; opacity: .75; }
  .pa-svg path.pa-l0 { stroke: var(--pa-t0); } .pa-svg path.pa-l1 { stroke: var(--pa-t1); } .pa-svg path.pa-l2 { stroke: var(--pa-t2); }
  .pa-svg path.pa-lgone { stroke: var(--ph-gray); stroke-dasharray: 3 2; }
  .pa-svg circle.pa-now.pa-l0 { fill: var(--pa-t0); } .pa-svg circle.pa-now.pa-l1 { fill: var(--pa-t1); } .pa-svg circle.pa-now.pa-l2 { fill: var(--pa-t2); }
  .pa-svg circle.pa-endp { fill: var(--ph-gray); opacity: .8; } .pa-svg circle.pa-endp.sold { fill: #d32f2f; }
  .pa-svg path.pa-restock { fill: var(--text-color); opacity: .75; }
  .pa-svg line.pa-midnight { stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
  .pa-svg text.pa-endlab { fill: var(--text-color); font-weight: 700; font-size: 9.5px; }
  .pa-tri { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid var(--text-color); margin-right: 4px; vertical-align: -1px; opacity: .75; border-radius: 0 !important; background: none !important; }
  .pa-badge { font-size: 10px; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border-color); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; }
  details.pa-more > summary { cursor: pointer; font-size: 13px; font-weight: 700; padding: 2px 0; }
  .pa-sub-h { font-size: 12.5px; font-weight: 700; margin: 10px 0 2px; }
  .seg { display: inline-flex; align-items: stretch; border: 1px solid var(--primary-color); border-radius: 8px; overflow-x: auto; overflow-y: hidden; box-sizing: border-box; height: 35px; max-width: 100%; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { background: transparent; color: var(--primary-color); border: 0; padding: 0 14px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; line-height: 1; box-sizing: border-box; white-space: nowrap; height: 100%; flex: 0 0 auto; }
  .seg button + button { border-left: 1px solid var(--primary-color); }
  .seg button.active { background: var(--primary-color); color: #fff; }
  /* (v12.10.26.1) Flags as small inline SVG pictures: emoji flags are shown as the letters "NL" / "BE" on Windows. */
  .flag { display: inline-block; width: 1.3em; height: .9em; vertical-align: -.1em; border-radius: 2px; background-size: 100% 100%; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(0,0,0,.22); flex: none; }
  .flag-nl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect width='9' height='6' fill='%2321468B'/%3E%3Crect width='9' height='4' fill='%23FFFFFF'/%3E%3Crect width='9' height='2' fill='%23AE1C28'/%3E%3C/svg%3E"); }
  .flag-be { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='3' height='2' fill='%23ED2939'/%3E%3Crect width='2' height='2' fill='%23FAE042'/%3E%3Crect width='1' height='2' fill='%23000000'/%3E%3C/svg%3E"); }
  .seg button .flag { margin-right: 6px; }
  .seg button .seg-ico { margin-right: 5px; font-size: 13px; line-height: 1; display: inline-block; vertical-align: middle; }
  .f-country { width: auto; max-width: max-content; align-items: flex-start; justify-self: start; }
  .seg.flag-seg, #feCountrySeg { align-self: flex-start; display: inline-flex; width: auto; max-width: max-content; height: 35px; }
  .seg.flag-seg button { padding: 0 12px; flex: 0 0 auto; width: auto; height: 100%; }
  .seg.flag-seg button .flag { margin: 0; width: 1.5em; height: 1.05em; }
  .seg.flag-seg button.active { box-shadow: inset 0 0 0 2px #fff; }
  .nieuw-pill-row { margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
  .bonus-card { cursor: pointer; }
  #bonusKinds { flex-wrap: wrap; overflow: visible; }   /* all kinds in view on a phone too (the preset rows scroll sideways there) */
  .bonus-card .bonus-big { background: #0077c8; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; display: inline-block; margin: 2px 0 4px; }
  .bonus-card .bonus-meta { font-size: 10px; color: var(--text-muted); line-height: 1.3; min-height: 13px; margin-bottom: 2px; }
  /* (v11.10.26.2) Favorieten + pop-up bij 1+1 */
  .fav-sec { margin: 18px 0 6px; font-size: 13px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .fav-sec .cnt { font-weight: 400; font-size: 11px; color: var(--text-muted); }
  .fav-intro { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-bottom: 10px; }
  .fp-search { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
  .fp-search input { flex: 1; min-width: 180px; }
  .fs-box { border: 1px solid var(--border-color); border-radius: 8px; padding: 2px 10px; background: var(--bg-color); max-height: 460px; overflow-y: auto; }
  .fs-row, .fp-card { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
  .fs-row + .fs-row { border-top: 1px solid var(--row-border); }
  .fp-wrap { border-top: 1px solid var(--row-border); padding: 4px 0 8px; }
  .fp-wrap:first-child { border-top: none; }
  .fp-img { width: 52px; height: 52px; flex: none; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--row-border); }
  .fp-img.ph { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; box-sizing: border-box; padding: 0; background: transparent; }
  .theme-light .fp-img.ph { background: #f8fafc; border: 1px solid #e2e8f0; }
  .cat-ph-agf { color: #16a34a !important; background: rgba(22, 163, 74, 0.08) !important; border-color: rgba(22, 163, 74, 0.25) !important; }
  .cat-ph-zuivel { color: #d97706 !important; background: rgba(217, 119, 6, 0.08) !important; border-color: rgba(217, 119, 6, 0.25) !important; }
  .cat-ph-vlees { color: #e11d48 !important; background: rgba(225, 29, 72, 0.08) !important; border-color: rgba(225, 29, 72, 0.25) !important; }
  .cat-ph-brood { color: #b45309 !important; background: rgba(180, 83, 9, 0.08) !important; border-color: rgba(180, 83, 9, 0.25) !important; }
  .cat-ph-maaltijd { color: #ea580c !important; background: rgba(234, 88, 12, 0.08) !important; border-color: rgba(234, 88, 12, 0.25) !important; }
  .cat-ph-diepvries { color: #0284c7 !important; background: rgba(2, 132, 199, 0.08) !important; border-color: rgba(2, 132, 199, 0.25) !important; }
  .cat-ph-pantry { color: #9333ea !important; background: rgba(147, 51, 234, 0.08) !important; border-color: rgba(147, 51, 234, 0.25) !important; }
  .cat-ph-snoep { color: #db2777 !important; background: rgba(219, 39, 119, 0.08) !important; border-color: rgba(219, 39, 119, 0.25) !important; }
  .cat-ph-drank { color: #2563eb !important; background: rgba(37, 99, 235, 0.08) !important; border-color: rgba(37, 99, 235, 0.25) !important; }
  .cat-ph-alcohol { color: #9f1239 !important; background: rgba(159, 18, 57, 0.08) !important; border-color: rgba(159, 18, 57, 0.25) !important; }
  .cat-ph-verzorging { color: #0d9488 !important; background: rgba(13, 148, 136, 0.08) !important; border-color: rgba(13, 148, 136, 0.25) !important; }
  .cat-ph-huishouden { color: #4f46e5 !important; background: rgba(79, 70, 229, 0.08) !important; border-color: rgba(79, 70, 229, 0.25) !important; }
  .cat-ph-baby { color: #f59e0b !important; background: rgba(245, 158, 11, 0.08) !important; border-color: rgba(245, 158, 11, 0.25) !important; }
  .cat-ph-huisdier { color: #c2410c !important; background: rgba(194, 65, 12, 0.08) !important; border-color: rgba(194, 65, 12, 0.25) !important; }
  .cat-ph-overig { color: #64748b !important; background: rgba(100, 116, 139, 0.08) !important; border-color: rgba(100, 116, 139, 0.25) !important; }
  .fp-img.sm { width: 38px; height: 38px; }
  .fp-img.sm.ph { font-size: 17px; }
  .fp-main { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; }
  .fp-sub { color: var(--text-muted); font-size: 11px; }
  .fp-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
  .fp-tag { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px; color: #fff; }
  .fp-actions { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
  .bonus-card .bonus-pr { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
  .bonus-card .bonus-pr .note { font-size: 9px; color: var(--text-muted); }
  #bonusModal { z-index: 100; }
  #favPanel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 16px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
  #favPanel h3 { margin: 0 0 10px; font-size: 14px; color: var(--primary-color); }
  .fav-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--row-border); font-size: 12px; }
  .fav-row:first-of-type { border-top: none; }
  .fav-row .name { flex: 1; cursor: pointer; }
  .fav-row .name:hover { color: var(--primary-color); }
  .fav-row .status { font-size: 10px; padding: 2px 7px; border-radius: 8px; font-weight: 700; color: #fff; }
  .pc-wrap { position: relative; display: flex; align-items: center; border: 1px solid var(--input-border); border-radius: 8px; background: var(--input-bg, var(--card-bg)); padding: 0 4px 0 8px; transition: border-color .15s, box-shadow .15s; }
  .pc-wrap:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(0,160,227,0.16); }
  .pc-wrap input { border: none !important; background: transparent !important; outline: none !important; box-shadow: none !important; padding: 7px 4px !important; min-width: 0; }
  .pc-gps-btn { background: var(--row-border); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; padding: 5px 8px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; flex-shrink: 0; transition: background .15s, border-color .15s; }
  .pc-gps-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
  .pc-suggest { display: none; position: absolute; left: 0; top: 100%; margin-top: 2px; min-width: 230px; max-width: 320px; z-index: 60; background: var(--card-bg); border: 1px solid var(--input-border); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); overflow: hidden; }
  .pc-suggest.open { display: block; }
  .pc-suggest .pc-note { padding: 6px 10px; font-size: 11px; color: var(--text-muted); border-bottom: 1px solid var(--row-border); }
  .pc-suggest button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: 0; color: var(--text-color); padding: 8px 10px; font-size: 13px; cursor: pointer; }
  .pc-suggest button:hover, .pc-suggest button.active { background: var(--row-border); }
  .pc-suggest .pc-num { font-weight: 700; min-width: 42px; }
  .watch-card { border-top: 1px solid var(--row-border); padding: 8px 0; }
  .watch-card:first-of-type { border-top: none; }
  .watch-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; }
  .watch-head .name { flex: 1; min-width: 160px; }
  .watch-btn { font-size: 10px; padding: 3px 9px; border-radius: 8px; font-weight: 700; color: #fff; cursor: pointer; border: 0; background: var(--primary-color); }
  .watch-btn.stop { background: #c0392b; }
  .watch-edit { margin-top: 8px; padding: 10px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-color); display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
  .watch-edit .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .range-box { max-height: 220px; overflow-y: auto; border: 1px solid var(--border-color); border-radius: 6px; background: var(--card-bg); }
  .range-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-top: 1px solid var(--row-border); font-size: 12px; }
  .range-row:first-child { border-top: none; }
  .range-row .rn { flex: 1; }
  .range-row .rd { color: var(--text-muted); white-space: nowrap; }
  .range-row .rm { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 8px; background: #27ae60; color: #fff; white-space: nowrap; }
  .watch-counter { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
  .acct-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
  .acct-tile { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 9px 12px; cursor: pointer; text-align: left; color: var(--text-color); }
  .acct-tile:hover { border-color: var(--primary-color); }
  .acct-tile b { display: block; font-size: 20px; line-height: 1.2; }
  .acct-tile span { font-size: 11px; color: var(--text-muted); }
  .acct-note { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
  .acct-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 12px; }
  .acct-filters input[type=search] { min-width: 190px; }
  .acct-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 8px; border-radius: 8px; background: var(--row-border); font-size: 12px; }
  .acct-wrap { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow-x: auto; }
  .acct-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 720px; }
  .acct-table th { text-align: left; padding: 8px 10px; font-size: 11px; color: var(--text-muted); border-bottom: 1px solid var(--border-color); white-space: nowrap; user-select: none; }
  .acct-table th.sortable { cursor: pointer; }
  .acct-table th.sortable:hover { color: var(--text-color); }
  .acct-table td { padding: 7px 10px; border-top: 1px solid var(--row-border); vertical-align: middle; }
  .acct-table tr.acct-banned td { opacity: .6; }
  .acct-info { float: right; background: none; border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; font-size: 12px; line-height: 1; padding: 3px 5px; margin-left: 8px; }
  .acct-info:hover { background: var(--row-border); }
  .modal-box.acct-box { max-width: 800px; }
  .acct-box h4 { margin: 14px 0 6px; font-size: 13px; }
  .acct-box .an-table { margin-bottom: 4px; }
  .acct-box .an-table td, .acct-box .an-table th { text-align: left; }
  .acct-box .an-mini { margin-bottom: 4px; }
  .acct-table .sub { display: block; font-size: 11px; color: var(--text-muted); }
  .acct-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; color: #fff; white-space: nowrap; margin: 1px 2px 1px 0; }
  .acct-badge.this { background: #0087c2; } .acct-badge.other { background: #e67e22; } .acct-badge.unknown { background: #7f8c8d; }
  .acct-badge.ok { background: #27ae60; } .acct-badge.warn { background: #c9a227; } .acct-badge.bad { background: #c0392b; } .acct-badge.adm { background: #8e44ad; }
  .acct-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0; font-size: 12px; }
  .acct-bulk { margin-top: 10px; font-size: 12px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 8px 12px; }
  .acct-bulk summary { cursor: pointer; font-weight: 700; }
  .acct-bulk .row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }

  /* Product detail modal */
  .product-cell.clickable { cursor: pointer; }
  .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; align-items: center; justify-content: center; padding: 16px; }
  .modal-overlay.open { display: flex; }
  /* (v20.11.26.1) Click-to-enlarge thumbnail + lightbox overlay */
  .pm-img-wrap { position: relative; display: none; width: 84px; height: 84px; min-width: 84px; flex-shrink: 0; cursor: zoom-in; border-radius: 10px; }
  .pm-img-wrap img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; border: 1px solid var(--border-color); display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .pm-img-wrap:hover img { transform: scale(1.03); box-shadow: 0 3px 12px rgba(0,0,0,0.28); }
  .pm-img-zoom-ico { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 999px; background: rgba(15,23,42,0.72); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; pointer-events: none; line-height: 1; }
  .img-zoomable { cursor: zoom-in; transition: transform 0.15s ease; }
  .img-zoomable:hover { transform: scale(1.015); }
  .img-lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
  .img-lightbox.open { display: flex; }
  .img-lightbox-card { position: relative; max-width: min(92vw, 480px); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: default; animation: imgLbIn 0.16s ease-out; }
  @keyframes imgLbIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
  .img-lightbox-card img { width: 100%; max-height: 74vh; object-fit: contain; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 18px 48px rgba(0,0,0,0.55); cursor: zoom-out; }
  .img-lightbox-close { position: absolute; top: -12px; right: -10px; width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(15,23,42,0.92); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
  .img-lightbox-cap { color: #f8fafc; font-size: 13.5px; font-weight: 700; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,0.7); max-width: 100%; }
  .img-lightbox-hint { color: rgba(255,255,255,0.68); font-size: 11.5px; }
  .modal-box { background: var(--card-bg); color: var(--text-color); border-radius: 10px; max-width: 420px; width: 100%; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; padding: 20px 20px max(22px, env(safe-area-inset-bottom)); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
  .modal-box h3 { margin: 0 0 4px; font-size: 16px; }
  .modal-close { float: right; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); line-height: 1; }
  .modal-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-top: 1px solid var(--row-border); }
  .modal-row:first-of-type { border-top: none; }
  .modal-status-badge { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; color: #fff; margin: 6px 0 10px; }
  .modal-fav-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--row-border); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .modal-fav-box input[type=number] { width: 60px; }
  .modal-fav-btn {
    background: var(--primary-color);
    color: #fff;
    border: 1.5px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s ease, transform .12s ease, background .15s ease, border-color .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .modal-fav-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 160, 227, 0.35);
  }
  .modal-fav-btn:active {
    transform: translateY(0);
  }
  .modal-fav-btn.remove {
    background: #dc2626;
    border-color: #dc2626;
  }
  .modal-fav-btn.alt {
    background: transparent !important;
    color: var(--text-color) !important;
    border: 1.5px solid var(--border-color) !important;
    box-shadow: none !important;
  }
  .modal-fav-btn.alt:hover {
    background: var(--row-hover, rgba(255, 255, 255, 0.06)) !important;
    border-color: var(--text-muted) !important;
    color: var(--text-color) !important;
    filter: none !important;
    transform: translateY(-1px);
  }
  /* Segmented buttons (v07.11.26.16) */
  .seg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
    text-align: center;
    user-select: none;
  }
  .seg-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
  }
  .seg-btn:active {
    transform: translateY(0);
  }
  .seg-btn.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 160, 227, 0.4);
  }
  .modal-msg { font-size: 11px; margin-top: 6px; }

  /* Product delen (v09.10.26.2) */
  .share-btn { background: none; border: 1px solid var(--border-color); color: var(--text-muted); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; margin-left: auto; transition: color .1s, border-color .1s; }
  .share-btn:hover, .share-btn:focus-visible { color: var(--primary-color); border-color: var(--primary-color); }
  .grid-card { position: relative; }
  .grid-card .share-btn { position: absolute; top: 6px; right: 6px; margin: 0; width: 32px; height: 32px; background: rgba(255,255,255,.94); color: #475569; border-color: rgba(0,0,0,.14); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
  .grid-card .share-btn:hover, .grid-card .share-btn:focus-visible { color: var(--primary-color); border-color: var(--primary-color); }
  .fav-row .share-btn { margin-left: 0; }
  .share-pill { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 10px 8px; vertical-align: middle; background: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 10px; padding: 3px 10px; font-size: 11px; font-weight: 700; cursor: pointer; font-family: inherit; }
  .share-pill:hover, .share-pill:focus-visible { background: var(--primary-color); color: #fff; }
  /* (v12.10.26.1) Deel + WhatsApp + Link kopiëren side by side in the product pop-ups */
  .share-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
  .share-row .share-pill { margin: 0; padding: 5px 12px; }
  #shareModal { z-index: 110; }
  .share-preview { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.55; background: var(--row-hover); border: 1px solid var(--row-border); border-radius: 8px; padding: 10px 12px; margin: 10px 0 12px; user-select: text; max-height: 40vh; overflow-y: auto; }
  .share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .share-opt { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; background: var(--primary-color); color: #fff; border: 1px solid var(--primary-color); border-radius: 8px; min-height: 40px; padding: 8px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
  .share-opt.alt { background: transparent; color: var(--primary-color); }
  .login-prompt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .login-prompt-actions .alt { background: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
  .bell-login { padding: 14px; font-size: 12px; line-height: 1.5; }
  .bell-login .bell-login-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
  .bell-login p { margin: 0 0 10px; color: var(--text-muted); }
  /* (v02.11.26.1) Gast-proefvolgen + aanmeldvenster */
  #signupModal { z-index: 120; }
  .su-box { max-width: 380px; }
  .su-box h3 { margin: 0 0 6px; font-size: 17px; padding-right: 24px; }
  .su-lead { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
  .su-perks { display: flex; flex-direction: column; gap: 3px; margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: rgba(0,135,237,.08); border: 1px solid rgba(0,135,237,.28); font-size: 12px; line-height: 1.4; }
  .su-box label { display: block; margin: 8px 0 3px; font-size: 12px; font-weight: 700; }
  .su-box label small { font-weight: 400; color: var(--text-muted); }
  .su-box input[type=email], .su-box input[type=password], .su-box input[type=text] { width: 100%; padding: 10px; font-size: 16px; box-sizing: border-box; }
  .su-hint { margin: 4px 0 0; font-size: 11px; line-height: 1.45; color: var(--text-muted); }
  .su-err { margin: 10px 0 0; padding: 8px 10px; border-radius: 6px; font-size: 12px; line-height: 1.45; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.45); color: #c0392b; }
  [data-theme="dark"] .su-err { color: #fca5a5; }
  .su-err button { background: none; border: none; padding: 0; margin-left: 4px; color: var(--primary-color); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
  .su-go { width: 100%; margin-top: 12px; padding: 11px; font-size: 14px; }
  .su-go[disabled] { opacity: .6; cursor: default; }
  .su-switch { margin: 12px 0 0; text-align: center; font-size: 12px; }
  .su-switch button { background: none; border: none; padding: 0; color: var(--primary-color); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
  .su-fine { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: var(--text-muted); text-align: center; }
  .su-fine a { color: var(--primary-color); }
  #suCaptcha { margin-top: 10px; min-height: 0; }
  .guest-note { padding: 8px 10px; border-radius: 8px; background: rgba(243,112,33,.09); border: 1px solid rgba(243,112,33,.4); font-size: 11px; line-height: 1.5; }
  /* (v02.11.26.2) simplified follow box: what you get, the distance, an estimate of how often, and the way to Meldingen */
  .fb-points { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.5; padding: 8px 10px; border-radius: 8px; background: var(--bg-color); border: 1px solid var(--row-border); }
  .fb-link { font-size: 12px; font-weight: 700; color: var(--primary-color); text-decoration: none; align-self: flex-start; }
  .fb-link:hover { text-decoration: underline; }
  .fb-more { border-top: 1px solid var(--row-border); padding-top: 8px; font-size: 12px; }
  .fb-more summary { cursor: pointer; font-weight: 700; color: var(--text-muted); }
  .est-box { padding: 8px 10px; border-radius: 8px; background: rgba(0,135,237,.07); border: 1px solid rgba(0,135,237,.3); font-size: 12px; line-height: 1.5; }
  .est-sub { font-size: 11px; color: var(--text-muted); font-weight: 400; }
  .est-load { color: var(--text-muted); font-size: 11px; }
  .est-tab { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: 12px; }
  .est-tab th { text-align: right; font-size: 10px; color: var(--text-muted); font-weight: 600; padding: 2px 4px; }
  .est-tab th:first-child, .est-tab td:first-child { text-align: left; }
  .est-tab td { text-align: right; padding: 3px 4px; border-top: 1px solid var(--row-border); }
  .guest-banner { margin-bottom: 14px; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, rgba(0,135,237,.12), rgba(39,174,96,.10)); border: 1px solid rgba(0,135,237,.4); }
  .guest-banner .gb-title { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
  .guest-banner .gb-text { font-size: 12px; line-height: 1.55; margin-bottom: 10px; }
  .guest-banner .gb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .guest-banner .gb-actions .alt { background: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
  .guest-tag { display: inline-block; margin-top: 2px; padding: 1px 7px; border-radius: 9px; font-size: 10px; font-weight: 700; background: rgba(243,112,33,.16); color: #c25a12; }
  [data-theme="dark"] .guest-tag { color: #f5a869; }
  .guest-counter { margin: 8px 0 0; font-size: 11px; color: var(--text-muted); }
  #view-meldingen:not(.guest-mode) #guestBox { display: none; }
  #view-meldingen.guest-mode #howBox, #view-meldingen.guest-mode .admin-grid { display: none; }
  footer.site-footer { max-width: 900px; margin: 30px auto 20px; padding: 16px; text-align: center; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-color); }
  footer.site-footer nav a { margin: 0 10px; color: var(--primary-color); text-decoration: none; }
  footer.site-footer nav a:hover { text-decoration: underline; }
  footer.site-footer p { margin: 8px 0 0; }
  footer.site-footer p.app-version { font-size: 11px; opacity: .7; }
  footer.site-footer .footer-social { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
  footer.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-color); color: var(--text-muted); margin: 0; }
  footer.site-footer .footer-social a:hover { color: var(--primary-color); border-color: var(--primary-color); text-decoration: none; }
  /* ---- Admin analytics tab ---- */
  /* (v31.10.26.1) Analytics: Statistieken | Live */
  .an-modes { display: flex; gap: 6px; margin-bottom: 12px; }
  .an-modes button { font-size: 13px; font-weight: 700; padding: 7px 14px; background: var(--row-border); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 7px; cursor: pointer; font-family: inherit; }
  .an-modes button.on { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
  .an-modes b { font-weight: 800; margin-left: 2px; }
  .an-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #27ae60; margin-right: 4px; vertical-align: 1px; animation: anPulse 1.8s ease-in-out infinite; }
  @keyframes anPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(39,174,96,.55); } 50% { box-shadow: 0 0 0 5px rgba(39,174,96,0); } }
  @media (prefers-reduced-motion: reduce) { .an-live-dot { animation: none; } }
  .an-live-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
  .an-live-head h2 { margin: 0; font-size: 18px; }
  .an-live-big { font-size: 34px; font-weight: 800; line-height: 1; color: #27ae60; }
  .an-live-state { font-size: 11px; color: var(--text-muted); margin-left: auto; }
  .an-live-state.stale { color: #c0392b; font-weight: 700; }
  .an-live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; margin-bottom: 14px; }
  .an-table.an-vis td, .an-table.an-vis th { text-align: left; white-space: nowrap; }
  .an-table.an-vis td.trail { white-space: normal; color: var(--text-muted); font-size: 11px; min-width: 140px; }
  .an-vis .st { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: #27ae60; }
  .an-vis tr.idle td { opacity: .6; } .an-vis tr.idle .st { background: #95a5a6; }
  .an-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
  .an-top h2 { margin: 0; font-size: 18px; }
  .an-top h2 small { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 6px; }
  .an-periods { display: flex; gap: 4px; margin-left: auto; }
  .an-periods button, .an-refresh { font-size: 12px; padding: 5px 11px; background: var(--row-border); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 5px; cursor: pointer; }
  .an-periods button.on { background: var(--primary-color); color: #fff; border-color: var(--primary-color); font-weight: 700; }
  .an-updated { font-size: 11px; color: var(--text-muted); }
  /* (v06.11.26.3) 4 views bar: Gecombineerd | Ingelogde accounts | Gasten | Vergelijking & Verschil */
  .an-views-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 6px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; }
  .an-view-pill { flex: 1 1 auto; min-width: 140px; padding: 9px 16px; font-size: 13px; font-weight: 700; text-align: center; border-radius: 7px; border: 1px solid transparent; background: transparent; color: var(--text-color); cursor: pointer; transition: all .15s ease; font-family: inherit; }
  .an-view-pill:hover { background: var(--row-border); }
  .an-view-pill.on { background: var(--primary-color); color: #fff; border-color: var(--primary-color); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
  .an-view-pill[data-view="member"].on { background: #e67e22; border-color: #e67e22; color: #fff; }
  .an-view-pill[data-view="guest"].on { background: #7f8c8d; border-color: #7f8c8d; color: #fff; }
  .an-view-pill[data-view="compare"].on { background: #27ae60; border-color: #27ae60; color: #fff; }
  .an-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
  .an-kpi { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 14px; }
  .an-kpi b { display: block; font-size: 24px; line-height: 1.1; color: var(--text-color); }
  .an-kpi span { display: block; font-size: 12px; font-weight: 600; margin-top: 4px; }
  .an-kpi small { display: block; font-size: 10px; color: var(--text-muted); margin-top: 2px; }
  .an-kpi.hot { border-color: #f37021; }
  .an-kpi.hot b { color: #f37021; }
  .an-sec { margin-bottom: 14px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; }
  .an-sec > summary { cursor: pointer; padding: 12px 16px; font-size: 15px; font-weight: 700; list-style: none; }
  .an-sec > summary::-webkit-details-marker { display: none; }
  .an-sec > summary::before { content: '▸'; display: inline-block; width: 16px; color: var(--text-muted); }
  .an-sec[open] > summary::before { content: '▾'; }
  .an-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; padding: 0 14px 14px; }
  .an-card { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 14px; min-width: 0; }
  .an-card.wide { grid-column: 1 / -1; }
  .an-card h4 { margin: 0 0 8px; font-size: 13px; color: var(--text-color); }
  .an-hint { margin: -4px 0 8px; font-size: 10.5px; color: var(--text-muted); line-height: 1.4; }
  .an-empty { font-size: 12px; color: var(--text-muted); padding: 6px 0; }
  .an-row { display: grid; grid-template-columns: minmax(70px, 38%) 1fr auto; align-items: center; gap: 8px; font-size: 12px; padding: 3px 0; }
  .an-lab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .an-lab.unk { color: var(--text-muted); font-style: italic; }
  .an-bar { background: var(--row-border); border-radius: 3px; height: 10px; overflow: hidden; }
  .an-bar i { display: block; height: 100%; background: var(--primary-color); border-radius: 3px; }
  .an-val { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
  .an-val small { font-weight: 400; color: var(--text-muted); margin-left: 5px; display: inline-block; min-width: 30px; }
  .an-chart { display: flex; align-items: flex-end; gap: 2px; height: calc(130px + (var(--rows, 1) - 1) * 11px); padding-top: calc((var(--rows, 1) - 1) * 11px); }   /* (v30.10.26.1) --rows: how many lines the numbers on top are spread over (anFitNums) */
  .an-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
  .an-stack { width: 100%; height: 100px; display: flex; flex-direction: column-reverse; }
  .an-col span { font-size: 9px; color: var(--text-muted); height: 22px; margin-top: 4px; white-space: nowrap; overflow: visible; }
  .an-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 10.5px; color: var(--text-muted); margin-top: 4px; }
  .an-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 4px; border-radius: 2px; }
  .an-num { font-size: 9.5px; font-weight: 700; color: var(--text-color); line-height: 1; margin-bottom: 3px; white-space: nowrap; position: relative; bottom: calc(var(--lift, 0) * 11px); font-variant-numeric: tabular-nums; }
  .an-num.z { color: var(--text-muted); font-weight: 400; }
  .an-total { font-size: 12px; margin: 0 0 8px; color: var(--text-muted); }
  .an-total b { font-size: 18px; color: var(--text-color); }
  .an-botsw { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; cursor: pointer; user-select: none; }
  .an-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 10px; }
  .an-mini div { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 6px; padding: 8px 10px; }
  .an-mini b { display: block; font-size: 18px; }
  .an-mini span { font-size: 10.5px; color: var(--text-muted); }
  .an-table { width: 100%; border-collapse: collapse; font-size: 12px; }
  .an-table th, .an-table td { padding: 5px 8px; border-bottom: 1px solid var(--border-color); text-align: right; }
  .an-table th:first-child, .an-table td:first-child { text-align: left; }
  .an-table th { color: var(--text-muted); font-weight: 600; }
  .an-note { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin: 0; }
  .an-drop { margin: 1px 0 3px; padding-left: 4px; font-size: 11px; color: #c0392b; }
  .an-scroll { overflow-x: auto; }
  .an-emb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 8px; }
  .an-emb b { font-size: 30px; color: #f37021; }

  /* ---- Mobile layout (v30.09.26.4) ---- */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  #authButtons { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
  @media (max-width: 720px) {
    header { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
    header h1 { font-size: 16px; }
    header .brand-logo { width: 34px; height: 34px; border-radius: 8px; }
    header > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 8px !important; flex-wrap: wrap; }
    .theme-toggle-container { margin-right: auto; }
    #authButtons { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
    .btn-auth-reg { padding: 5px 12px !important; font-size: 11.5px !important; }
    .btn-auth-login { padding: 5px 6px !important; font-size: 11.5px !important; }
    .theme-btn { padding: 4px 9px; }
    .tabs { padding: 0 8px; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tab-btn { white-space: nowrap; padding: 8px 10px; flex: none; }
    .view-container { padding: 10px 10px; }
    .admin-grid { grid-template-columns: 1fr; gap: 12px; }
    .admin-card { padding: 14px; }

    /* filter bar: sleek 2-row controls on mobile — full-width postcode w/ integrated GPS on row 1; flags + Zoeken + view toggle on row 2; gear icon sits inside search bar */
    .controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; }
    .controls .field, .controls > div { min-width: 0; }
    .controls .f-pc { flex: 1 1 100%; width: 100%; }
    .controls .f-pc .pc-wrap { width: 100%; padding: 2px 4px 2px 10px; }
    .controls .f-pc input#fe_postcode { width: 100% !important; flex: 1; font-size: 16px; padding: 7px 4px !important; }
    .controls .pc-gps-btn { padding: 6px 10px; font-size: 12px; }
    .controls > .f-country { order: 2; flex: none; margin-right: 2px; }
    .controls > .f-country label { display: none; }
    .controls > .fe-search-btn { order: 3; flex: 1; min-width: 110px; padding: 9px 14px; font-size: 14px; }
    .controls > .view-toggle { order: 4; margin-left: auto !important; flex: none; }
    .controls > .adv-filters { order: 5; }
    .controls .adv-filters { display: none; flex: 1 1 100%; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px 10px; align-items: end; padding-top: 8px; border-top: 1px dashed var(--border-color); }
    .controls.adv-open .adv-filters { display: grid; }
    .controls .adv-filters select { width: 100% !important; font-size: 15px; padding: 7px; }
    .preset-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
    .preset-row::-webkit-scrollbar { display: none; }
    .user-alerts-box { padding: 8px 10px; gap: 6px; margin-bottom: 10px; }
    .user-alerts-box .ua-lbl { display: none; }
    .ua-search-wrap { width: 100%; min-width: 0; padding: 3px 4px 3px 10px; gap: 5px; }
    .ua-search-wrap input { font-size: 16px !important; min-width: 0; padding: 7px 2px !important; }
    .ua-search-wrap .fav-toggle-btn { padding: 7px 10px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
    .ua-search-wrap .fav-btn-extra { display: none; }
    .adv-gear-btn { display: inline-flex; padding: 7px 9px; font-size: 15px; }
    #watchForm { padding: 10px 12px; }
    #watchForm input, #watchForm select { font-size: 16px; }

    .summary { display: none !important; }

    /* (v10.11.26.2) 1+1 Gratis mobile search bar & autocomplete dropdown */
    .bonus-ctrl { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; align-items: end !important; }
    .bonus-ctrl > .seg { grid-column: 1 / -1 !important; width: 100% !important; display: flex !important; }
    .bonus-ctrl > .seg button { flex: 1 1 50% !important; justify-content: center !important; text-align: center !important; }
    .bonus-ctrl > .bonus-search-field { grid-column: 1 / -1 !important; width: 100% !important; }
    .bonus-ctrl > .bonus-search-field input { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
    .bonus-ctrl > .field:not(.bonus-search-field) { grid-column: span 1 !important; width: 100% !important; }
    .bonus-ctrl > .field:not(.bonus-search-field) select { width: 100% !important; box-sizing: border-box !important; }

    .bonus-autocomplete-dropdown {
      position: absolute !important;
      top: calc(100% + 4px) !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      min-width: 0 !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      border-radius: 10px !important;
    }
    .bonus-ac-item { padding: 9px 10px !important; gap: 10px !important; }
    .bonus-ac-thumb { width: 38px !important; height: 38px !important; min-width: 38px !important; max-width: 38px !important; }
    .bonus-ac-info { min-width: 0 !important; flex: 1 1 auto !important; overflow: hidden !important; }
    .bonus-ac-title { font-size: 12.5px !important; line-height: 1.3 !important; word-break: break-word !important; }
    .bonus-ac-meta { font-size: 11px !important; }
    .bonus-ac-badge { font-size: 10px !important; padding: 3px 6px !important; max-width: 110px !important; white-space: normal !important; line-height: 1.2 !important; text-align: center !important; }

    .store-header { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 12px; }

    /* product table -> one compact card per product */
    .store-section table, .store-section tbody { display: block; width: 100%; }
    .store-section thead { display: none; }
    .store-section tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-top: 1px solid var(--row-border); }
    .store-section td { display: block; padding: 0; border: 0; font-size: 12px; }
    .store-section td:nth-child(1) { flex: 1 1 100%; }
    .store-section td:nth-child(8) { display: none; } /* stock is already shown under the product name */
    .store-section tr.partner-deal-row td.partner-deal-empty-td { display: none; }
    .product-img, .product-img-placeholder { width: 44px; height: 44px; }
    .grid-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
    .grid-card-img, .grid-card-img-placeholder { height: 96px; }

    .bell-wrap { position: static; }
    .bell-dropdown { position: fixed; left: 8px; right: 8px; top: 56px; width: auto; max-height: 70vh; }   /* top / max-height are set below the bell by placeBell() */
    .user-menu { position: fixed; left: 8px; right: 8px; top: 56px; width: auto; max-height: 80vh; overflow-y: auto; }   /* top / max-height are set below the avatar by placeUserMenu() */
    .modal-overlay { padding: 10px; }
    .modal-box { max-height: 92vh; max-height: 92dvh; padding: 16px 16px max(26px, env(safe-area-inset-bottom)); }
    footer.site-footer { margin: 20px 10px; }
    footer.site-footer nav a { display: inline-block; margin: 4px 8px; }
    .an-top { gap: 8px; } .an-periods { margin-left: 0; flex-wrap: wrap; }
    .an-grid { grid-template-columns: 1fr; }
    .an-kpis { grid-template-columns: repeat(2, 1fr); }
    tr.is-followed { outline: none; border: 2px solid #3b82f6 !important; border-radius: 8px; margin: 4px 8px; box-shadow: 0 2px 12px rgba(59, 130, 246, 0.22); }
    .meld-tabs { gap: 6px; }
    .meld-tab-btn { font-size: 12px; padding: 9px 8px; }
    .meld-wait-meta { max-width: 38%; }
    .uit-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uit-grid { grid-template-columns: 1fr; gap: 10px; }
  }

  /* ---- Uitgelicht overzicht (v17.11.26.2) ---- */
  .uit-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .uit-share-btn { padding: 7px 14px; font-size: 12.5px; border-radius: 8px; border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-color); font-weight: 700; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s; }
  .uit-share-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
  .uit-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
  .uit-kpi { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px 12px; }
  .uit-kpi .k-num { font-size: 19px; font-weight: 800; color: var(--primary-color); line-height: 1.15; }
  .uit-kpi .k-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .uit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 14px; padding: 14px 0; }
  .uit-card { position: relative; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: transform .12s, border-color .15s, box-shadow .15s; overflow: hidden; }
  .uit-card:hover { transform: translateY(-2px); border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(0,0,0,.07); }
  .uit-card.in-my-store { border-color: #16a34a; box-shadow: 0 0 0 1px rgba(22,163,74,.25) inset; }
  .uit-hero-wrap { position: relative; background: #fff; border: 1px solid var(--row-border); border-radius: 9px; height: 165px; display: flex; align-items: center; justify-content: center; padding: 10px; overflow: hidden; }
  .uit-hero-img { max-width: 100%; max-height: 145px; object-fit: contain; display: block; }
  .uit-hero-rank { position: absolute; top: 8px; left: 8px; z-index: 2; }
  .uit-hero-disc { position: absolute; top: 8px; right: 8px; z-index: 2; background: #c94b1c; color: #fff; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 7px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
  .uit-top { display: flex; gap: 10px; align-items: flex-start; }
  .uit-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 11.5px; font-weight: 800; background: var(--row-border); color: var(--text-color); flex-shrink: 0; }
  .uit-rank.top3 { background: linear-gradient(135deg,#f37021,#e67e22); color: #fff; }
  .uit-thumb { width: 58px; height: 58px; object-fit: contain; background: #fff; border: 1px solid var(--row-border); border-radius: 8px; flex-shrink: 0; padding: 2px; }
  .uit-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .uit-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--text-color); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .uit-sub { font-size: 11.5px; color: var(--text-muted); }
  .uit-badges { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
  .uit-mine { display: inline-flex; align-items: center; gap: 4px; background: rgba(22,163,74,0.14); color: #15803d; border: 1px solid rgba(22,163,74,0.35); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
  [data-theme="dark"] .uit-mine { color: #4ade80; background: rgba(74,222,128,0.14); border-color: rgba(74,222,128,0.35); }
  .uit-bar-wrap { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
  .uit-bar-track { width: 100%; height: 6px; background: var(--row-border); border-radius: 99px; overflow: hidden; }
  .uit-bar-fill { height: 100%; background: linear-gradient(90deg,#f37021,#00a0e3); border-radius: 99px; }
  .uit-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; gap: 6px; padding-top: 6px; border-top: 1px solid var(--row-border); }

  /* ---- (v04.11.26.2) Deel 1: Prijsalert Kaart, Deel 2: /meldingen overzicht, Deel 3: Gevolgd-indicator ---- */
  .fc-card { border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-color); overflow: hidden; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; }
  .fc-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 11px; }
  .fc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .fc-head-txt { flex: 1; min-width: 0; }
  .fc-title { font-size: 13.5px; font-weight: 800; line-height: 1.3; color: var(--text-color); }
  .fc-sub { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
  .fc-thumb { width: 44px; height: 44px; flex: none; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--row-border); padding: 2px; }
  .fc-store-block { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 8px; background: var(--card-bg); border: 1px solid var(--row-border); font-size: 12px; }
  .fc-store-lab { font-size: 10.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
  .fc-store-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; color: var(--text-color); line-height: 1.35; }
  .fc-stock-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: rgba(39, 174, 96, 0.14); color: #1e8449; border: 1px solid rgba(39, 174, 96, 0.35); font-size: 11px; font-weight: 700; white-space: nowrap; }
  [data-theme="dark"] .fc-stock-badge { color: #4ade80; background: rgba(74, 222, 128, 0.14); border-color: rgba(74, 222, 128, 0.35); }
  .fc-pct-block { display: flex; flex-direction: column; gap: 4px; }
  .fc-pct-row { display: flex; align-items: center; gap: 8px; }
  .fc-pct-lab { font-size: 12px; font-weight: 700; color: var(--text-color); white-space: nowrap; }
  .fc-pct-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
  .fc-pct-btn { padding: 7px 6px; border-radius: 8px; border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-color); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; transition: all 0.12s ease; }
  .fc-pct-btn:hover { border-color: var(--primary-color); }
  .fc-pct-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); box-shadow: 0 2px 6px rgba(0, 119, 200, 0.28); }
  .fc-pct-hint { font-size: 10.5px; color: var(--text-muted); text-align: right; line-height: 1.2; }
  .fc-split-btn { display: flex; align-items: stretch; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 119, 200, 0.25); }
  .fc-split-main { flex: 4 1 80%; border: none; background: var(--primary-color); color: #fff; font: inherit; font-size: 13.5px; font-weight: 800; padding: 10px 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; transition: filter 0.12s; }
  .fc-split-main:hover { filter: brightness(1.06); }
  .fc-split-gear { flex: 1 0 20%; max-width: 58px; border: none; border-left: 2px solid rgba(255, 255, 255, 0.45); background: rgba(0, 0, 0, 0.22); color: #ffffff !important; font: inherit; font-size: 16px; padding: 10px 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: filter 0.12s, background 0.12s; }
  .fc-split-gear svg { display: block; width: 19px; height: 19px; stroke: #ffffff !important; color: #ffffff !important; stroke-width: 2.6; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); transition: transform 0.22s ease; }
  .fc-split-gear:hover { filter: brightness(1.15); background: rgba(0, 0, 0, 0.35); }
  .fc-split-gear:hover svg { transform: rotate(45deg); }
  .fc-split-gear.open { filter: brightness(0.95); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.45); }
  .fc-split-gear.open svg { transform: rotate(90deg); }
  .fc-meta-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; flex-wrap: wrap; }
  .fc-unfollow-btn { background: none; border: none; padding: 0; color: #c0392b; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; text-decoration: underline; }
  [data-theme="dark"] .fc-unfollow-btn { color: #f87171; }
  .fc-adv { border-top: 1px dashed var(--border-color); padding-top: 10px; display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
  .fc-adv-title { font-weight: 700; font-size: 12px; color: var(--text-color); }
  .fc-radio-list { display: flex; flex-direction: column; gap: 6px; }
  .fc-radio { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 12px; line-height: 1.4; }
  .fc-radio input { margin: 2px 0 0; accent-color: var(--primary-color); flex: none; }
  .fc-rad-btns { display: flex; gap: 6px; flex-wrap: wrap; }
  .fc-rad-btn { flex: 1 1 auto; padding: 6px 8px; border-radius: 7px; border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-color); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-align: center; white-space: nowrap; }
  .fc-rad-btn:hover { border-color: var(--primary-color); }
  .fc-rad-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
  .fc-rad-btn .fc-rad-cnt { font-weight: 600; font-size: 11px; opacity: 0.92; margin-left: 3px; }
  .fc-route-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
  .fc-route-list { max-height: 190px; overflow-y: auto; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); }
  .fc-route-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--row-border); font-size: 12px; cursor: pointer; transition: opacity 0.15s; }
  .fc-route-item:first-child { border-top: none; }
  .fc-route-item.dimmed { opacity: 0.44; }
  .fc-route-item input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--primary-color); }
  .fc-route-name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; }
  .fc-route-dist { color: var(--text-muted); font-weight: 400; }
  .fc-pinned-block { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
  .fc-pinned-head { font-size: 11.5px; font-weight: 700; color: var(--text-color); display: flex; align-items: center; gap: 5px; }
  .fc-pin-list { max-height: 145px; }
  .fc-pin-item { background: transparent; }
  .fc-pin-item.is-on { background: rgba(56, 189, 248, 0.08); }
  .fc-pin-hint { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--border-color); color: var(--text-muted); white-space: nowrap; }
  .fc-pin-star { color: #f59e0b; font-size: 12px; margin-right: 3px; }
  .fc-pin-toggle-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.4);
    background: rgba(250, 204, 21, 0.09);
    color: var(--text-color); font: inherit; font-size: 11px; font-weight: 700;
    cursor: pointer; transition: filter 0.12s, background 0.12s;
  }
  .fc-pin-toggle-pill:hover { filter: brightness(1.1); background: rgba(250, 204, 21, 0.16); }
  .fc-pin-note { font-size: 11px; color: var(--text-muted); margin-top: 6px; line-height: 1.35; }
  .meld-store-chip.is-pin { border-color: rgba(250, 204, 21, 0.45); background: rgba(250, 204, 21, 0.08); color: var(--text-color); font-weight: 700; }
  .mb-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mb-grid3 .fc-pct-btn { font-size: 12px; padding: 7px 4px; }
  .fc-bonus-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; padding: 10px 14px; background: rgba(0, 119, 200, 0.08); border-top: 1px solid var(--border-color); font-size: 12.5px; font-weight: 700; color: var(--text-color); cursor: pointer; user-select: none; }
  [data-theme="dark"] .fc-bonus-bar { background: rgba(79, 176, 245, 0.12); }

  /* (v10.11.26.5) Meldingen Locatiebalk, Verhuis-modal & Smart Relocate Banner */
  .meld-loc-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg-color, #18191c);
    border: 1px solid var(--border-color, #2b3036);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 10px 0 14px 0;
    flex-wrap: wrap;
  }
  .meld-loc-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .meld-loc-icon { font-size: 20px; line-height: 1; flex: none; }
  .meld-loc-text { display: flex; flex-direction: column; gap: 2px; }
  .meld-loc-sub { font-size: 11px; color: var(--text-muted); }
  .meld-loc-pc { font-size: 13.5px; font-weight: 800; color: var(--primary-color, #00a0e3); }
  .meld-relocate-btn {
    background: transparent;
    color: var(--text-color);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .meld-relocate-btn:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
  }
/* (v11.11.26.1) Verhuis-vraag: alleen op de Meldingen-pagina (een kaart die zacht openklapt) en als vaste regel in het belletje */
  .rl-inline {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin: 0;
    visibility: hidden;
    transition: grid-template-rows .6s cubic-bezier(.25,.8,.25,1), opacity .5s ease, margin .6s cubic-bezier(.25,.8,.25,1), visibility 0s linear .6s;
  }
  .rl-inline.show {
    grid-template-rows: 1fr;
    opacity: 1;
    margin: 10px 0 4px;
    visibility: visible;
    transition-delay: 0s;
    animation: rlOpen .65s cubic-bezier(.25,.8,.25,1) backwards;
  }
  @keyframes rlOpen { from { grid-template-rows: 0fr; opacity: 0; margin: 0; } to { grid-template-rows: 1fr; opacity: 1; margin: 10px 0 4px; } }
  .rl-inline-clip { overflow: hidden; min-height: 0; }
  .rl-inline-card {
    display: flex;
    align-items: center;
    gap: 12px 14px;
    flex-wrap: wrap;
    background: var(--card-bg, #1e293b);
    border: 1.5px solid var(--primary-color, #00a0e3);
    border-radius: 12px;
    padding: 12px 16px;
  }
  .srb-icon { font-size: 26px; flex: none; }
  .srb-body { flex: 1; min-width: 200px; }
  .srb-title { font-size: 13.5px; font-weight: 800; color: var(--text-color); margin-bottom: 2px; }
  .srb-text { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }
  .srb-actions { display: flex; align-items: center; gap: 8px; flex: none; flex-wrap: wrap; }
  .srb-btn-yes { background: var(--primary-color); color: #fff; border: none; border-radius: 6px; padding: 6px 12px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
  .srb-btn-yes:hover { filter: brightness(1.1); }
  .srb-btn-yes:disabled { opacity: .6; cursor: default; filter: none; }
  .srb-btn-no { background: transparent; color: var(--text-muted); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 10px; font-size: 11px; cursor: pointer; }
  .srb-btn-no:hover { color: var(--text-color); border-color: var(--text-color); }
  .srb-btn-no:disabled { opacity: .6; cursor: default; }
  .bell-relocate { border-bottom: 1px solid var(--row-border); background: rgba(0,160,227,0.08); animation: rlFadeIn .35s ease; }
  .bell-relocate .notif-item { border-bottom: none; align-items: flex-start; }
  .rl-bell-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
  .rl-bell-link { background: none; border: none; color: var(--primary-color); font-size: 11px; font-weight: 700; cursor: pointer; padding: 4px 2px; }
  @media (max-width: 560px) { .srb-actions { width: 100%; } .srb-actions button { flex: 1 1 auto; white-space: normal; text-align: center; } .rl-bell-actions button { flex: 0 1 auto; } }
  @keyframes rlFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .rl-inline { transition: none; } .rl-inline.show { animation: none; } .bell-relocate { animation: none; } }

/* (v11.11.26.1) Meldingen: meerdere meldingen selecteren en in een keer aanpassen */
  .meld-selbar { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 12px 0 0; padding: 8px 12px; border: 1px dashed var(--border-color); border-radius: 10px; background: var(--bg-color); }
  .meld-selbar.on { position: sticky; top: 8px; z-index: 30; border: 1.5px solid var(--primary-color); background: var(--card-bg); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
  .meld-selbar-idle, .meld-selbar-active { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; width: 100%; }
  .meld-selbar-hint { font-size: 11.5px; color: var(--text-muted); flex: 1; min-width: 160px; }
  .meld-sel-start, .meld-sel-mini, .meld-sel-edit { font: inherit; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 6px 12px; cursor: pointer; border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-color); }
  .meld-sel-start:hover, .meld-sel-mini:hover { border-color: var(--primary-color); color: var(--primary-color); }
  .meld-sel-edit { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
  .meld-sel-edit:disabled { opacity: .45; cursor: default; }
  .meld-sel-count { font-size: 12.5px; font-weight: 800; margin-right: auto; }
  .meld-sel-box { display: inline-flex; align-items: center; justify-content: center; width: 34px; align-self: stretch; flex: none; cursor: pointer; }
  .meld-sel-box input { width: 20px; height: 20px; margin: 0; cursor: pointer; accent-color: var(--primary-color); }
  .meld-card-expanded.is-selected { outline: 2px solid var(--primary-color); outline-offset: -1px; background: rgba(0,119,200,0.06); }
  #view-meldingen.meld-selecting .meld-icon-btn.del { display: none; }
  #view-meldingen.meld-selecting .meld-ac-title { cursor: pointer; }
  .meld-cat-right { display: inline-flex; align-items: center; gap: 8px; }
  .meld-cat-sel { font: inherit; font-size: 11px; font-weight: 700; border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-color); border-radius: 999px; padding: 2px 9px; cursor: pointer; }
  .meld-cat-sel:hover { border-color: var(--primary-color); color: var(--primary-color); }
  .mb-sec { margin: 0 0 14px; }
  .mb-lbl { font-size: 12px; font-weight: 800; margin-bottom: 6px; color: var(--text-color); }
  .mb-grid4 { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 6px; }
  .mb-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .mb-grid4 .fc-pct-btn, .mb-grid2 .fc-pct-btn { font-size: 12px; padding: 7px 4px; }
  .mb-note { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; margin-top: 6px; }
  .mb-warn { color: #c0392b; font-weight: 700; }
  .mb-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
  .mb-sum { font-size: 12px; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--row-border); border-radius: 8px; padding: 8px 10px; margin-top: 4px; }


  /* Deel 2: /meldingen opgeschoond overzicht */
  .meld-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
  .meld-tab-btn { padding: 10px 12px; border-radius: 9px; border: 1.5px solid var(--border-color); background: var(--bg-color); color: var(--text-color); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; transition: all 0.12s; }
  .meld-tab-btn:hover { border-color: var(--primary-color); }
  .meld-tab-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); box-shadow: 0 2px 8px rgba(0, 119, 200, 0.25); }
  .meld-tab-cnt { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(0, 0, 0, 0.1); color: inherit; }
  [data-theme="dark"] .meld-tab-cnt { background: rgba(255, 255, 255, 0.14); }
  .meld-tab-btn.active .meld-tab-cnt { background: rgba(255, 255, 255, 0.24); color: #fff; }
  .meld-active-list { display: flex; flex-direction: column; gap: 10px; }
  .meld-cat-section { margin-bottom: 20px; }
  .meld-cat-header { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; font-weight: 800; color: var(--text-color); margin: 16px 0 8px; padding: 6px 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--row-border); border-radius: 8px; }
  .meld-cat-badge { font-size: 11px; font-weight: 800; color: var(--text-muted); background: var(--card-bg); border: 1px solid var(--border-color); padding: 1px 7px; border-radius: 999px; }
  .meld-card-expanded { border: 1px solid var(--border-color); border-radius: 10px; padding: 12px 14px; background: var(--card-bg); display: flex; flex-direction: column; gap: 8px; transition: border-color 0.15s; }
  .meld-card-expanded.is-active-deal { border-left: 4px solid #27ae60; }
  .meld-card-expanded.meld-flash { animation: meldFlash 2.4s ease-out 1; }
  .meld-diag { font-size: 11.5px; color: #f59e0b; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); border-radius: 6px; padding: 5px 9px; line-height: 1.35; }
  @keyframes meldFlash { 0%, 30% { box-shadow: 0 0 0 3px #3b82f6, 0 0 22px rgba(59,130,246,0.65); background: rgba(59,130,246,0.14); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }
  .meld-pill-btn { background: var(--bg-color); border: 1px solid var(--border-color); color: var(--text-muted); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 14px; cursor: pointer; transition: all 0.14s ease; font-family: inherit; }
  .meld-pill-btn:hover { color: var(--text-color); border-color: var(--text-muted); }
  .meld-pill-btn.active-lk { background: #0077c8 !important; color: #fff !important; border-color: #0077c8 !important; box-shadow: 0 1px 4px rgba(0,119,200,0.4); }
  .meld-pill-btn.active-bonus { background: #f97316 !important; color: #fff !important; border-color: #f97316 !important; box-shadow: 0 1px 4px rgba(249,115,22,0.4); }
  .meld-pill-btn.active-off { background: #475569 !important; color: #fff !important; border-color: #475569 !important; }
  .meld-active-card { border: 1px solid var(--border-color); border-left: 4px solid #27ae60; border-radius: 10px; padding: 12px 14px; background: var(--bg-color); display: flex; flex-direction: column; gap: 8px; }
  .meld-ac-top { display: flex; align-items: center; gap: 10px; }
  .meld-ac-main { flex: 1; min-width: 0; }
  .meld-ac-title { font-size: 13.5px; font-weight: 800; color: var(--text-color); cursor: pointer; }
  .meld-ac-title:hover { color: var(--primary-color); }
  .meld-ac-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
  .meld-deals { display: flex; flex-direction: column; gap: 5px; }
  .meld-deal-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 10px; border-radius: 7px; background: var(--card-bg); border: 1px solid var(--row-border); font-size: 12px; }
  .meld-stores-foot { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 11px; color: var(--text-muted); padding-top: 2px; }
  .meld-store-chip { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; background: var(--card-bg); border: 1px solid var(--row-border); font-size: 11px; color: var(--text-muted); }
  .meld-wait-note { padding: 9px 12px; border-radius: 8px; background: var(--bg-color); border: 1px solid var(--row-border); font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
  .meld-wait-list { border: 1px solid var(--border-color); border-radius: 9px; overflow: hidden; background: var(--card-bg); }
  .meld-wait-row { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-top: 1px solid var(--row-border); font-size: 12.5px; }
  .meld-wait-row:first-child { border-top: none; }
  .meld-wait-name { font-weight: 700; color: var(--text-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; flex: 1 1 auto; min-width: 90px; }
  .meld-wait-name:hover { color: var(--primary-color); }
  .meld-wait-meta { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48%; flex: 0 1 auto; }
  .meld-icon-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-color); font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; }
  .meld-icon-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
  .meld-icon-btn.del:hover { border-color: #c0392b; color: #c0392b; background: rgba(192, 57, 43, 0.08); }

  /* Deel 3: Visuele indicatie gevolgde producten op de hoofdpagina */
  .grid-card.is-followed { border: 2px solid #3b82f6; box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.16), 0 4px 14px rgba(59, 130, 246, 0.24); }
  .grid-card.is-followed:hover { border-color: #2563eb; box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.28), 0 6px 18px rgba(59, 130, 246, 0.32); }
  .followed-corner-badge { position: absolute; top: 84px; left: 6px; z-index: 2; background: #2563eb; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(37, 99, 235, 0.38); pointer-events: none; line-height: 1.3; letter-spacing: 0.01em; }
  .grid-card.lv-soldout .followed-corner-badge { display: none; }
  tr.is-followed { outline: 2px solid #3b82f6; outline-offset: -2px; background: rgba(59, 130, 246, 0.05); box-shadow: inset 0 0 12px rgba(59, 130, 246, 0.14); }
  .followed-inline-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #2563eb; color: #fff; font-size: 10px; font-weight: 800; vertical-align: middle; box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3); }

  /* (v04.11.26.3) Deelbaar Lijstje: + / ✓ selectieknoppen, groene glow & zwevend winkelmandje */
  .row-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
  .row-actions .share-btn { margin-left: 0; }
  .lijst-pick-btn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border-color); background: var(--card-bg); color: var(--text-color); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; box-sizing: border-box; transition: background 0.14s, color 0.14s, border-color 0.14s, transform 0.12s, box-shadow 0.14s; font-family: inherit; }
  .lijst-pick-btn svg { display: block; pointer-events: none; margin: 0; flex-shrink: 0; }
  .lijst-pick-btn:hover, .lijst-pick-btn:focus-visible { border-color: #16a34a; color: #16a34a; transform: scale(1.05); }
  .lijst-pick-btn.on { background: #16a34a; border-color: #16a34a; color: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 2px 7px rgba(22, 163, 74, 0.38); }
  .lijst-pick-btn.on:hover { background: #15803d; border-color: #15803d; color: #fff; }
  .grid-card .lijst-pick-btn { position: absolute; top: 6px; left: 6px; z-index: 3; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; box-sizing: border-box; background: rgba(255, 255, 255, 0.94); color: #1e293b; border-color: rgba(0, 0, 0, 0.15); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22); }
  [data-theme="dark"] .grid-card .lijst-pick-btn:not(.on) { background: rgba(30, 41, 59, 0.92); color: #f1f5f9; border-color: rgba(255, 255, 255, 0.22); }
  .grid-card .lijst-pick-btn.on { background: #16a34a; color: #fff; border-color: #16a34a; box-shadow: 0 2px 8px rgba(22, 163, 74, 0.45); }
  .grid-card.lv-soldout .lijst-pick-btn { display: none; }
  .grid-card.is-in-lijst { border: 2px solid #16a34a; box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.18), 0 4px 14px rgba(22, 163, 74, 0.26); }
  .grid-card.is-in-lijst:hover { border-color: #15803d; box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.28), 0 6px 18px rgba(22, 163, 74, 0.34); }
  tr.is-in-lijst { outline: 2px solid #16a34a; outline-offset: -2px; background: rgba(22, 163, 74, 0.06); box-shadow: inset 0 0 12px rgba(22, 163, 74, 0.14); }

  body.has-lijst-dock { padding-bottom: 84px; }
  body.has-lijst-dock #installBanner { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .lijst-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 210; max-width: 92vw; padding: 10px 16px; border-radius: 10px; background: #1e293b; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 22px rgba(0,0,0,0.34); text-align: center; pointer-events: none; }
  body.has-lijst-dock .lijst-toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

  #lijstBackdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.46); z-index: 94; }
  #lijstBackdrop.open { display: block; }
  #lijstDock { display: none; position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: calc(100% - 24px); max-width: 600px; z-index: 95; background: var(--card-bg); color: var(--text-color); border: 1.5px solid var(--border-color); border-radius: 14px; box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28); overflow: hidden; flex-direction: column; }
  #lijstDock.visible { display: flex; }
  .lj-drawer { display: none; flex-direction: column; border-bottom: 1px solid var(--border-color); max-height: 72vh; }
  #lijstDock.open .lj-drawer { display: flex; }
  .lj-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--row-border); background: var(--bg-color); }
  .lj-head-title { font-size: 14px; font-weight: 800; }
  .lj-head-actions { display: flex; align-items: center; gap: 8px; }
  .lj-clear-btn { background: transparent; color: #c0392b; border: 1px solid rgba(192, 57, 43, 0.4); border-radius: 7px; padding: 4px 10px; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
  .lj-clear-btn:hover { background: rgba(192, 57, 43, 0.1); }
  [data-theme="dark"] .lj-clear-btn { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }
  .lj-close-btn { background: none; border: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; }
  .lj-items-scroll { overflow-y: auto; max-height: 40vh; padding: 8px 14px; }
  .lj-store-grp + .lj-store-grp { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border-color); }
  .lj-store-title { font-size: 12px; font-weight: 800; color: var(--primary-color); margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
  .lj-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--row-border); font-size: 12.5px; }
  .lj-row:first-of-type { border-top: none; }
  .lj-thumb { width: 36px; height: 36px; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--row-border); flex: none; }
  .lj-thumb-ph { width: 36px; height: 36px; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); color: var(--text-muted); flex: none; }
  .lj-row-main { flex: 1; min-width: 0; }
  .lj-row-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lj-row-sub { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 1px; }
  .lj-rm-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-color); color: var(--text-muted); font-size: 12px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; }
  .lj-rm-btn:hover { color: #c0392b; border-color: #c0392b; background: rgba(192, 57, 43, 0.08); }
  .lj-share-box { padding: 10px 14px 12px; border-top: 1px solid var(--row-border); background: var(--bg-color); }
  .lj-share-status { font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .lj-share-status b { color: var(--text-color); }
  .lj-share-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .lj-sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--primary-color); background: var(--primary-color); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
  .lj-sbtn.wa { background: #1da851; border-color: #1da851; }
  .lj-sbtn.tg { background: #0088cc; border-color: #0088cc; }
  .lj-sbtn.alt { background: var(--card-bg); color: var(--primary-color); border-color: var(--primary-color); }
  .lj-sbtn.wide { grid-column: 1 / -1; }
  .lj-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--card-bg); }
  .lj-bar-count { font-size: 13px; font-weight: 800; color: var(--text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lj-bar-btns { display: flex; align-items: center; gap: 7px; flex: none; }
  .lj-view-btn { background: var(--bg-color); color: var(--text-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 8px 11px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
  .lj-view-btn:hover { border-color: var(--primary-color); }
  .lj-primary-btn { background: #16a34a; color: #fff; border: 1px solid #16a34a; border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap; box-shadow: 0 2px 8px rgba(22, 163, 74, 0.32); }
  .lj-primary-btn:hover { background: #15803d; border-color: #15803d; }
  .lj-primary-btn:disabled { opacity: 0.65; cursor: wait; }
  @media (max-width: 640px) {
    #lijstDock { left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none; border-radius: 16px 16px 0 0; border-bottom: none; padding-bottom: env(safe-area-inset-bottom, 0px); }
    .lj-bar { padding: 10px 12px; }
    .lj-bar-count { font-size: 12px; }
    .lj-view-btn { padding: 7px 9px; font-size: 11.5px; }
    .lj-primary-btn { padding: 7px 12px; font-size: 12px; }
  }

  /* (v09.11.26.1) Bonus Autocomplete Dropdown */
  .bonus-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 440px;
    max-width: 600px;
    width: max(100%, 440px);
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    max-height: 440px;
    overflow-y: auto;
    z-index: 99999;
  }
  @media (min-width: 768px) {
    .bonus-autocomplete-dropdown {
      min-width: 520px;
      max-width: 660px;
      width: max(100%, 520px);
    }
  }
  .bonus-ac-header {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #38bdf8;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.25);
  }
  .bonus-ac-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
  }
  .bonus-ac-item:hover, .bonus-ac-item:focus {
    background: rgba(2, 132, 199, 0.20) !important;
  }
  .bonus-ac-thumb {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    padding: 2px;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px;
    border: 1px solid rgba(0,0,0,0.08);
  }
  .bonus-ac-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }
  .bonus-ac-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.35 !important;
  }
  .bonus-ac-meta {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .bonus-ac-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  /* (v09.11.26.6) Prijs-analyse & Autocomplete Volledige Light Mode ([data-theme="bright"]) Compatibiliteit */
  .pa-sec-card {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
  }
  .pa-sec-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    flex-wrap: wrap;
  }
  .pa-sec-title-lk { margin: 0; font-size: 14px; font-weight: 700; color: #38bdf8; }
  .pa-sec-title-bonus { margin: 0; font-size: 14px; font-weight: 700; color: #4ade80; }
  .pa-sec-sub { font-size: 11px; color: var(--text-muted); margin-left: auto; }

  [data-theme="bright"] .pa-sec-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  }
  [data-theme="bright"] .pa-sec-head {
    border-bottom: 1px solid #e2e8f0;
  }
  [data-theme="bright"] .pa-sec-title-lk { color: #0284c7; }
  [data-theme="bright"] .pa-sec-title-bonus { color: #15803d; }
  [data-theme="bright"] .pa-tile {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
  }
  [data-theme="bright"] .pa-tile b { color: #0f172a; }
  [data-theme="bright"] .pa-tile span { color: #475569; }
  [data-theme="bright"] .pa-advice {
    background: #f0f9ff;
    border-left-color: #0284c7;
    color: #0f172a;
  }
  [data-theme="bright"] .pa-live-bar {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
  }
  [data-theme="bright"] .pa-bonus-next {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
  }
  [data-theme="bright"] .pa-bonus-next b { color: #78350f; }
  [data-theme="bright"] .pa-svg-wrap {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 1px 4px rgba(15, 23, 42, 0.04);
  }
  [data-theme="bright"] .pa-pill {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
  }
  [data-theme="bright"] .pa-pill.on {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
  }
  [data-theme="bright"] .pa-empty-store {
    background: #f8fafc;
    border-color: #cbd5e1;
  }
  [data-theme="bright"] #pmScarcityCard,
  [data-theme="bright"] #pmBonusCard {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
  }
  [data-theme="bright"] #pmAnalysisBtn {
    color: #0284c7 !important;
    border-color: #0284c7 !important;
    background: #f0f9ff !important;
  }
  [data-theme="bright"] .bonus-autocomplete-dropdown {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15) !important;
  }
  [data-theme="bright"] .bonus-ac-item {
    border-bottom-color: #f1f5f9 !important;
  }
  [data-theme="bright"] .bonus-ac-item:hover,
  [data-theme="bright"] .bonus-ac-item:focus {
    background: #f0f9ff !important;
  }
  [data-theme="bright"] .bonus-ac-title {
    color: #0f172a !important;
  }

  /* (v15.11.26.1) Diet badge, collapsible ingredients box, diet/exclusion modal & clickable 60-day store stats */
  .diet-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 700; padding: 3px 9px;
    border-radius: 6px; border: 1px solid rgba(148,163,184,0.35);
    background: rgba(148,163,184,0.14); color: var(--text-color);
    cursor: pointer; transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.25; font-family: inherit;
  }
  .diet-badge:hover { filter: brightness(1.12); transform: translateY(-1px); }
  .diet-badge.diet-vegan { background: rgba(34,197,94,0.18); border-color: rgba(74,222,128,0.55); color: #86efac; }
  .diet-badge.diet-vegetarian { background: rgba(16,185,129,0.16); border-color: rgba(52,211,153,0.48); color: #6ee7b7; }
  .diet-badge.diet-non_veg { background: rgba(249,115,22,0.16); border-color: rgba(251,146,60,0.48); color: #fdba74; }
  .diet-badge.diet-unknown { background: rgba(148,163,184,0.14); border-color: rgba(148,163,184,0.38); color: var(--text-muted); }
  .excl-warn-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px;
    background: rgba(239,68,68,0.18); border: 1px solid rgba(248,113,113,0.5); color: #fca5a5;
  }
  .diet-mini {
    display: inline-flex; align-items: center; gap: 2px;
    font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px;
    margin-left: 5px; vertical-align: middle; line-height: 1.3;
  }
  .diet-mini.diet-vegan { background: rgba(34,197,94,0.18); color: #4ade80; border: 1px solid rgba(74,222,128,0.35); }
  .diet-mini.diet-vegetarian { background: rgba(16,185,129,0.16); color: #34d399; border: 1px solid rgba(52,211,153,0.32); }
  .diet-mini.diet-non_veg { background: rgba(249,115,22,0.14); color: #fb923c; border: 1px solid rgba(251,146,60,0.28); }
  .diet-mini.diet-unknown { background: rgba(148,163,184,0.16); color: #cbd5e1; border: 1px solid rgba(148,163,184,0.35); }
  .pm-ing-box {
    margin: 8px 0 6px; padding: 10px 12px; border-radius: 10px;
    background: rgba(15,23,42,0.55); border: 1px solid var(--border-color);
    font-size: 12px; line-height: 1.5; color: var(--text-color);
  }
  .pm-ing-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-bottom: 6px; font-weight: 700; font-size: 12.5px;
  }
  .pm-ing-refresh {
    font-size: 11px; padding: 2px 8px; border-radius: 6px; cursor: pointer;
    border: 1px solid var(--border-color); background: transparent; color: var(--text-muted);
  }
  .pm-ing-refresh:hover { color: var(--text-color); border-color: var(--primary-color); }
  .pm-ing-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0; }
  .pm-tag {
    font-size: 11px; padding: 2px 7px; border-radius: 999px; font-weight: 600;
    background: rgba(56,189,248,0.12); color: #7dd3fc; border: 1px solid rgba(56,189,248,0.28);
  }
  .pm-tag.warn { background: rgba(239,68,68,0.16); color: #fca5a5; border-color: rgba(248,113,113,0.35); }
  .pm-ing-text { color: var(--text-color); font-size: 12px; word-break: break-word; }
  .pm-ing-sub { color: var(--text-muted); font-size: 11.5px; margin-top: 5px; }

  .diet-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
  .diet-seg-btn {
    padding: 9px 8px; border-radius: 9px; border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03); color: var(--text-color); font-size: 12.5px; font-weight: 700;
    cursor: pointer; text-align: center; transition: all 0.14s ease;
  }
  .diet-seg-btn:hover { border-color: #22c55e; }
  .diet-seg-btn.on { background: rgba(34,197,94,0.20); border-color: #22c55e; color: #86efac; }
  .excl-grid { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 12px; }
  .excl-pill {
    padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03); color: var(--text-color); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all 0.13s ease; user-select: none;
  }
  .excl-pill:hover { border-color: #f87171; }
  .excl-pill.on { background: rgba(239,68,68,0.22); border-color: #ef4444; color: #fca5a5; }
  .custom-words-row { display: flex; gap: 6px; margin-top: 6px; }
  .custom-words-row input {
    flex: 1; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--border-color);
    background: var(--bg-color); color: var(--text-color); font-size: 12.5px;
  }
  .custom-words-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 22px; }
  .custom-word-chip {
    display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600;
    padding: 3px 8px; border-radius: 999px; background: rgba(239,68,68,0.16);
    border: 1px solid rgba(248,113,113,0.4); color: #fca5a5;
  }
  .custom-word-chip button {
    border: none; background: none; color: inherit; cursor: pointer; font-weight: 800; padding: 0 2px; line-height: 1;
  }
  .diet-chk-row { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 12px; font-size: 12px; color: var(--text-muted); }
  .diet-chk-row label { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--text-color); }

  .store-header.clickable-store { cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
  .store-header.clickable-store:hover { background: rgba(56,189,248,0.08); }
  .store-header-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .store-stats-hint {
    font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 10px;
    background: rgba(56,189,248,0.12); color: #38bdf8; border: 1px solid rgba(56,189,248,0.28);
    white-space: nowrap;
  }
  .ss-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
  .ss-kpi-card {
    padding: 9px 10px; border-radius: 9px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color); min-width: 0;
  }
  .ss-kpi-val { font-size: 16px; font-weight: 800; color: var(--text-color); line-height: 1.25; }
  .ss-kpi-lab { font-size: 11px; color: var(--text-muted); margin-top: 2px; line-height: 1.3; }
  .ss-mode-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
  .ss-pills-wrap { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .ss-pill-group { display: inline-flex; gap: 4px; background: rgba(148,163,184,0.1); padding: 2px; border-radius: 999px; border: 1px solid var(--border-color); }
  .ss-chart-wrap {
    position: relative; border-radius: 10px; padding: 10px; background: rgba(15,23,42,0.55);
    border: 1px solid var(--border-color); overflow: hidden;
  }
  .ss-tooltip {
    margin-top: 6px; min-height: 20px; font-size: 12px; font-weight: 600; color: #38bdf8; text-align: center;
  }
  .ss-wd-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 8px; }
  .ss-wd-col {
    padding: 6px 4px; border-radius: 8px; border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.025); text-align: center;
  }
  .ss-wd-col.best { border-color: #22c55e; background: rgba(34,197,94,0.13); }
  .ss-wd-bar-bg { height: 42px; display: flex; align-items: flex-end; justify-content: center; margin: 4px 0; }
  .ss-wd-bar { width: 14px; border-radius: 4px 4px 0 0; background: #0284c7; min-height: 3px; }
  .ss-wd-col.best .ss-wd-bar { background: #22c55e; }
  .ss-peak-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
  .ss-peak-pill {
    display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(56,189,248,0.35);
    background: rgba(56,189,248,0.12); color: #7dd3fc; cursor: pointer;
  }
  .ss-peak-pill.best { border-color: rgba(34,197,94,0.5); background: rgba(34,197,94,0.15); color: #4ade80; }
  .ss-dayparts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0 8px; }
  .ss-daypart-card {
    padding: 7px 8px; border-radius: 8px; border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.025); text-align: center;
  }
  .ss-daypart-card.best { border-color: #22c55e; background: rgba(34,197,94,0.12); }
  .ss-hr-wrap {
    border-radius: 10px; padding: 10px 8px 8px; background: rgba(15,23,42,0.55);
    border: 1px solid var(--border-color);
  }
  .ss-hr-row { display: grid; gap: 3px; align-items: end; height: 92px; }
  .ss-hr-item {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    height: 100%; cursor: pointer; padding: 0; border: none; background: transparent; color: inherit;
    border-radius: 4px;
  }
  .ss-hr-item:hover .ss-hr-bar, .ss-hr-item.selected .ss-hr-bar { outline: 2px solid #f59e0b; outline-offset: 1px; }
  .ss-hr-bar-area { width: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 2px 0; }
  .ss-hr-bar { width: 100%; max-width: 18px; border-radius: 3px 3px 0 0; min-height: 3px; transition: opacity 0.12s ease; }
  .ss-hr-lbl { font-size: 9.5px; font-weight: 600; color: var(--text-muted); line-height: 1; margin-top: 4px; }
  .ss-hr-item.selected .ss-hr-lbl { color: #f59e0b; font-weight: 800; }
  .ss-hr-readout { margin-top: 8px; font-size: 12px; font-weight: 600; color: #38bdf8; text-align: center; min-height: 18px; }
  .pm-ing-legal {
    margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--border-color);
    font-size: 11px; color: var(--text-muted); line-height: 1.45;
  }
  .pm-ing-legal a { color: #38bdf8; text-decoration: underline; }
  @media (max-width: 600px) {
    .ss-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ss-wd-grid { gap: 3px; }
    .ss-hr-row { gap: 2px; height: 84px; }
    .ss-hr-lbl { font-size: 8.5px; }
  }

  [data-theme="bright"] .diet-badge { background: #f1f5f9; border-color: #cbd5e1; color: #0f172a; }
  [data-theme="bright"] .diet-badge.diet-vegan { background: #dcfce7; border-color: #22c55e; color: #15803d; }
  [data-theme="bright"] .diet-badge.diet-vegetarian { background: #d1fae5; border-color: #10b981; color: #047857; }
  [data-theme="bright"] .diet-badge.diet-non_veg { background: #ffedd5; border-color: #fb923c; color: #c2410c; }
  [data-theme="bright"] .diet-mini.diet-vegan { background: #dcfce7; color: #15803d; border-color: #86efac; }
  [data-theme="bright"] .diet-mini.diet-vegetarian { background: #d1fae5; color: #047857; border-color: #6ee7b7; }
  [data-theme="bright"] .diet-mini.diet-non_veg { background: #ffedd5; color: #c2410c; border-color: #fdba74; }
  [data-theme="bright"] .excl-warn-badge,
  [data-theme="bright"] .excl-pill.on,
  [data-theme="bright"] .custom-word-chip,
  [data-theme="bright"] .pm-tag.warn { background: #fee2e2; border-color: #f87171; color: #b91c1c; }
  [data-theme="bright"] .pm-ing-box,
  [data-theme="bright"] .ss-chart-wrap,
  [data-theme="bright"] .ss-hr-wrap { background: #f8fafc; border-color: #cbd5e1; }
  [data-theme="bright"] .ss-peak-pill { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
  [data-theme="bright"] .ss-peak-pill.best { background: #dcfce7; border-color: #4ade80; color: #15803d; }
  [data-theme="bright"] .ss-daypart-card.best { background: #dcfce7; border-color: #16a34a; }
  [data-theme="bright"] .ss-hr-readout { color: #0284c7; }
  [data-theme="bright"] .pm-ing-legal a { color: #0284c7; }
  [data-theme="bright"] .diet-seg-btn.on { background: #dcfce7; border-color: #16a34a; color: #15803d; }
  [data-theme="bright"] .store-header.clickable-store:hover { background: #f0f9ff; }
  [data-theme="bright"] .store-stats-hint { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }
  [data-theme="bright"] .ss-tooltip { color: #0284c7; }
  [data-theme="bright"] .ss-wd-col.best { background: #dcfce7; border-color: #16a34a; }
  #dietModal { z-index: 140; }
  #nieuwGrid .grid-card.is-diet-excluded { border-style: dashed !important; border-color: rgba(148, 163, 184, 0.42) !important; }
  [data-theme="bright"] #nieuwGrid .grid-card.is-diet-excluded { border-color: #94a3b8 !important; background: #f8fafc !important; }

  /* Greyed-out maar aanklikbare uitgesloten producten (dieet / allergie / trefwoord) */
  tr.is-diet-excluded td {
    opacity: 0.56;
    background: rgba(100, 116, 139, 0.06);
    transition: opacity 0.15s ease, background 0.15s ease;
  }
  tr.is-diet-excluded:hover td {
    opacity: 0.88;
    background: rgba(100, 116, 139, 0.12);
  }
  tr.is-diet-excluded .product-img,
  .grid-card.is-diet-excluded img {
    filter: grayscale(75%) opacity(0.82);
  }
  .grid-card.is-diet-excluded {
    opacity: 0.58;
    filter: saturate(0.35);
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.32);
    cursor: pointer;
    transition: opacity 0.15s ease, filter 0.15s ease;
  }
  .grid-card.is-diet-excluded:hover {
    opacity: 0.9;
    filter: saturate(0.8);
  }
  .diet-excl-chip {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; font-weight: 700;
    padding: 1px 6px; border-radius: 999px; margin-left: 5px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.42);
    color: #fca5a5;
    vertical-align: middle;
  }
  .diet-unk-chip {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; font-weight: 700;
    padding: 1px 6px; border-radius: 999px; margin-left: 5px;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.36);
    color: #cbd5e1;
    vertical-align: middle;
  }
  .pm-unk-banner {
    margin: 6px 0 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.36);
    color: var(--text-color);
    font-size: 12px;
    line-height: 1.45;
  }
  .diet-active-banner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    padding: 8px 12px; margin: 0 0 10px; border-radius: 9px;
    background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(74, 222, 128, 0.32);
    font-size: 12px; color: var(--text-color);
  }
  .diet-active-banner-btns { display: inline-flex; gap: 6px; align-items: center; }
  .diet-active-banner-btn {
    padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; cursor: pointer;
    border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-color);
  }
  .diet-active-banner-btn:hover { border-color: var(--primary-color); }
  .pm-pref-banner {
    margin: 6px 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.11);
    border: 1px solid rgba(248, 113, 113, 0.42);
    color: #fecaca;
    font-size: 12.5px;
    line-height: 1.45;
  }
  .pm-pref-banner-title {
    display: flex; align-items: center; gap: 6px;
    font-weight: 800; font-size: 12.5px;
    color: #fca5a5; margin-bottom: 4px;
  }
  .pm-pref-banner-list {
    margin: 4px 0 8px 16px;
    padding: 0;
    color: #fee2e2;
  }
  .pm-pref-banner-list li { margin: 2px 0; }
  .pm-pref-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .pm-pref-banner-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 7px;
    font-size: 11.5px; font-weight: 700; cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fee2e2;
  }
  .pm-pref-banner-btn:hover { background: rgba(248, 113, 113, 0.22); }

  [data-theme="bright"] .fc-pin-item.is-on { background: #fef3c7; border-color: #d97706; color: #92400e; }
  [data-theme="bright"] .meld-store-chip.is-pin { background: #fef3c7; border-color: #f59e0b; color: #92400e; }
  [data-theme="bright"] tr.is-diet-excluded td { background: rgba(148, 163, 184, 0.12); }
  [data-theme="bright"] tr.is-diet-excluded:hover td { background: rgba(148, 163, 184, 0.2); }
  [data-theme="bright"] .grid-card.is-diet-excluded { border-color: #94a3b8; background: #f8fafc; }
  [data-theme="bright"] .diet-excl-chip { background: #fee2e2; border-color: #f87171; color: #b91c1c; }
  [data-theme="bright"] .diet-unk-chip,
  [data-theme="bright"] .diet-mini.diet-unknown { background: #f1f5f9; border-color: #cbd5e1; color: #475569; }
  [data-theme="bright"] .pm-unk-banner { background: #f8fafc; border-color: #cbd5e1; color: #334155; }
  [data-theme="bright"] .diet-active-banner { background: #f0fdf4; border-color: #86efac; color: #166534; }
  [data-theme="bright"] .fc-pin-toggle-pill { background: #fef9c3; border-color: #f59e0b; color: #78350f; }
  [data-theme="bright"] .pm-pref-banner { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }
  [data-theme="bright"] .pm-pref-banner-title { color: #b91c1c; }
  [data-theme="bright"] .pm-pref-banner-list { color: #7f1d1d; }
  [data-theme="bright"] .pm-pref-banner-btn { background: #fff; border-color: #f87171; color: #b91c1c; }
  [data-theme="bright"] .pm-pref-banner-btn:hover { background: #fee2e2; }