/* DoubleYou PWA — Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --ink:       #1e1a0f;
  --ink-soft:  #3a3018;
  --ink-muted: #7a6a3a;
  --cream:     #fdf8f0;
  --warm:      #f5edda;
  --parchment: #e2cfa0;
  --clay:      #c67d06;
  --clay-dark: #a56605;
  --white:     #fefcf5;
  --border:    rgba(30,26,15,0.12);
  --nav-h:     64px;
  --radius:    8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  padding-bottom: var(--nav-h);
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.dy-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 100;
  border-bottom: 1px solid rgba(198,125,6,0.2);
  gap: 8px;
}
.dy-topbar-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--clay);
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dy-topbar-tagline {
  font-size: 9px;
  font-weight: 400;
  color: rgba(198,125,6,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: none;
}

/* Tagline tonen op bredere schermen */
@media (min-width: 400px) {
  .dy-topbar-tagline { display: inline; }
  .dy-topbar-brand { font-size: 13px; }
}

@media (min-width: 600px) {
  .dy-topbar-brand { font-size: 15px; }
  .dy-topbar-tagline { font-size: 10px; }
}
.dy-topbar-sub {
  font-size: 9px;
  color: rgba(252,248,239,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.dy-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dy-topbar-avatar {
  width: 32px; height: 32px;
  background: var(--clay);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

/* ── MAIN ── */
.dy-main {
  margin-top: 52px;
  min-height: calc(100vh - 56px - var(--nav-h));
  padding-bottom: 24px;
}

.dy-fade-in {
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── BOTTOM NAV ── */
.dy-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--ink);
  display: flex;
  border-top: 1px solid rgba(198,125,6,0.15);
  z-index: 100;
}
.dy-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: rgba(254,252,245,0.35);
  transition: color 0.2s;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
}
.dy-nav-item svg {
  width: 22px; height: 22px;
  fill: currentColor;
}
.dy-nav-item span {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dy-nav-item.active { color: var(--clay); }
.dy-nav-item:hover { color: rgba(198,125,6,0.7); }

/* ── AUTH ── */
.dy-auth-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  max-width: 440px;
  margin: 0 auto;
}
.dy-auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.dy-auth-w {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
}
.dy-auth-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--ink);
  text-transform: uppercase;
}
.dy-auth-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--clay);
}
.dy-auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dy-auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--ink);
}
.dy-auth-err {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: #c0392b;
}
.dy-auth-note {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 12px;
}

/* ── FORM ELEMENTEN ── */
.dy-field { display: flex; flex-direction: column; gap: 6px; }
.dy-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.dy-input, .dy-textarea {
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--parchment);
  border-radius: 4px;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.dy-input:focus, .dy-textarea:focus { border-color: var(--clay); }
.dy-textarea { resize: vertical; min-height: 120px; }

/* ── KNOPPEN ── */
.dy-btn {
  padding: 14px 20px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.dy-btn-primary {
  background: var(--clay);
  color: var(--ink);
}
.dy-btn-primary:hover { background: var(--clay-dark); }
.dy-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.dy-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-muted);
}
.dy-btn-ghost:hover { border-color: var(--clay); color: var(--clay); }
.dy-btn-link {
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  padding: 8px;
}
.dy-btn-uitloggen { margin-top: 24px; }

/* ── FEED ── */
.dy-feed-header {
  background: var(--ink);
  padding: 24px 16px 20px;
}
.dy-winkel-wrap .dy-feed-header {
  padding-bottom: 28px;
}
.dy-feed-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dy-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}
.dy-page-title em { font-style: italic; color: var(--clay); }
.dy-page-sub {
  font-size: 13px;
  color: rgba(254,252,245,0.45);
  margin-top: 4px;
  line-height: 1.5;
}
.dy-fab {
  width: 44px; height: 44px;
  background: var(--clay);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 16px;
  margin-top: 4px;
}
.dy-fab svg { width: 20px; height: 20px; fill: var(--ink); }
.dy-fab:hover { background: var(--clay-dark); }

.dy-filters {
  display: flex;
  gap: 0;
  padding: 12px 16px;
  background: var(--warm);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.dy-filter {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  margin-right: 8px;
  transition: all 0.2s;
}
.dy-filter.active {
  background: var(--clay);
  color: var(--ink);
  border-color: var(--clay);
}

.dy-verhalen-lijst { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.dy-leeg { text-align: center; padding: 48px 16px; color: var(--ink-muted); font-style: italic; }

/* ── KAART ── */
.dy-kaart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dy-kaart-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 0;
}
.dy-avatar {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--clay);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.dy-avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.dy-kaart-meta { flex: 1; }
.dy-kaart-naam { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.dy-kaart-tijd { font-size: 11px; color: var(--ink-muted); }
.dy-eigen-badge {
  font-size: 9px;
  padding: 2px 8px;
  white-space: nowrap;
  align-self: flex-start;
  margin-left: 36px;
}
.dy-kaart-foto {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: rgba(30,26,15,0.04);
  margin-top: 10px;
  border-radius: 6px;
}
.dy-kaart-body { padding: 12px 16px; }
.dy-kaart-tekst { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.dy-kaart-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 14px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.dy-like-btn, .dy-reactie-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--ink-muted);
  padding: 4px 8px;
  border-radius: 20px;
  transition: all 0.15s;
}
.dy-like-btn svg, .dy-reactie-btn svg { width: 16px; height: 16px; fill: currentColor; }
.dy-like-btn:hover { color: #e74c3c; }
.dy-like-btn.liked { color: #e74c3c; }
.dy-reactie-btn:hover { color: var(--clay); }
.dy-lees-btn {
  margin-left: auto;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  color: var(--clay);
  letter-spacing: 0.04em;
}

/* ── NIEUW VERHAAL FORM ── */
.dy-form-wrap {
  padding: 20px 16px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dy-form-header { display: flex; align-items: center; gap: 16px; }
.dy-back-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--clay);
  padding: 0;
}
.dy-dsp-tip {
  background: rgba(198,125,6,0.08);
  border: 1px solid rgba(198,125,6,0.2);
  border-radius: 4px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-muted);
}
.dy-dsp-tip-icon { color: var(--clay); font-size: 16px; flex-shrink: 0; }
.dy-dsp-tip strong { color: var(--clay); }
.dy-woordteller { font-size: 11px; color: var(--ink-muted); text-align: right; margin-top: 4px; }
.dy-foto-upload { border: 1px dashed var(--parchment); border-radius: 4px; overflow: hidden; }
.dy-foto-placeholder {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 24px;
  cursor: pointer; color: var(--ink-muted); font-size: 13px;
}
.dy-foto-placeholder svg { width: 28px; height: 28px; fill: var(--parchment); }
.dy-foto-preview { width: 100%; max-height: 200px; object-fit: cover; display: block; }
.dy-disclaimer { font-size: 12px; color: var(--ink-muted); font-style: italic; }

/* ── DETAIL ── */
.dy-detail-wrap { padding: 16px; max-width: 600px; margin: 0 auto; }
.dy-artikel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.dy-artikel-foto { width: 100%; border-radius: 4px; margin: 12px 0; }
.dy-artikel-tekst { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.dy-artikel-acties { padding-top: 12px; border-top: 1px solid var(--border); margin-top: 12px; }
.dy-reacties-sectie { margin-top: 8px; }
.dy-reacties-titel { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--ink); margin-bottom: 12px; }
.dy-reacties-lijst { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dy-reactie { display: flex; gap: 10px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.dy-reactie-avatar { width: 32px; height: 32px; background: var(--ink); color: var(--clay); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.dy-reactie-naam { font-size: 13px; font-weight: 700; display: block; }
.dy-reactie-tekst { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 2px 0; }
.dy-reactie-tijd { font-size: 11px; color: var(--ink-muted); }
.dy-reactie-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dy-login-prompt { font-size: 13px; color: var(--ink-muted); font-style: italic; text-align: center; padding: 16px; }
.dy-leeg-tekst { font-size: 13px; color: var(--ink-muted); font-style: italic; text-align: center; padding: 16px 0; }

/* ── PROFIEL ── */
.dy-profiel-wrap { padding: 0 0 32px; max-width: 600px; margin: 0 auto; }

.dy-profiel-hero {
  background: linear-gradient(180deg, #1e1a0f 0%, #2a2318 100%);
  padding: 36px 24px 32px;
  text-align: center;
  position: relative;
}

/* Subtiele W watermark */
.dy-profiel-hero::before {
  content: 'W';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px;
  font-weight: 300;
  color: rgba(255,255,255,0.018);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.dy-profiel-avatar-lg {
  width: 80px;
  height: 80px;
  background: var(--clay);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 auto 18px;
  border: 2px solid rgba(198,125,6,0.3);
}

.dy-profiel-naam {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.dy-profiel-niveau {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
}

.dy-niveau-emoji { font-size: 16px; }

.dy-niveau-naam {
  font-size: 11px;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(198,125,6,0.1);
  border: 1px solid rgba(198,125,6,0.2);
  border-radius: 20px;
  padding: 3px 12px;
}

.dy-profiel-email {
  font-size: 11px;
  color: rgba(254,252,245,0.5);
  margin-top: 0;
  text-decoration: underline;
  text-decoration-color: rgba(254,252,245,0.25);
  letter-spacing: 0.01em;
}

.dy-stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.dy-stat {
  background: var(--white);
  padding: 20px 12px;
  text-align: center;
}

.dy-stat-waarde {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 4px;
}

.dy-stat-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}

.dy-niveau-kaart, .dy-seizoen-kaart { margin: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.dy-niveau-kaart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.dy-niveau-pct { color: var(--clay); }
.dy-progress-bar { height: 4px; background: var(--parchment); border-radius: 2px; overflow: hidden; }
.dy-progress-fill { height: 100%; background: var(--clay); border-radius: 2px; transition: width 1s ease; }
.dy-niveau-voordelen { font-size: 12px; color: var(--ink-muted); margin-top: 8px; }

.dy-seizoen-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin-bottom: 4px; }
.dy-seizoen-tier { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; color: var(--ink); }
.dy-seizoen-voordelen { font-size: 12px; color: var(--ink-muted); margin: 4px 0 8px; }
.dy-seizoen-voortgang { font-size: 11px; color: var(--ink-muted); }

.dy-log-sectie { margin: 0 16px; }
.dy-log-titel { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 300; color: var(--ink); margin-bottom: 10px; }
.dy-log-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.dy-log-label { font-size: 13px; color: var(--ink-soft); }
.dy-log-pts { font-size: 13px; font-weight: 700; color: var(--clay); }

/* ── DSP PAGINA ── */
.dy-dsp-wrap { padding: 20px 16px; max-width: 600px; margin: 0 auto; }
.dy-dsp-uitleg-kaart { background: var(--ink); border-radius: var(--radius); padding: 16px; margin: 16px 0; display: flex; flex-direction: column; gap: 14px; }
.dy-dsp-uitleg-item { display: flex; gap: 12px; align-items: flex-start; }
.dy-dsp-uitleg-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.dy-dsp-uitleg-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.dy-dsp-uitleg-item p { font-size: 12px; color: rgba(254,252,245,0.5); line-height: 1.5; }

.dy-dsp-sectie-titel { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--ink); margin: 20px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }

.dy-dsp-niveaus { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.dy-dsp-niveau-rij { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 10px 14px; }
.dy-dsp-niveau-emoji { font-size: 18px; flex-shrink: 0; }
.dy-dsp-niveau-info { flex: 1; }
.dy-dsp-niveau-info strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.dy-dsp-niveau-info span { font-size: 11px; color: var(--clay); }
.dy-dsp-niveau-voordelen { font-size: 11px; color: var(--ink-muted); text-align: right; }

.dy-dsp-cat { margin-bottom: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.dy-dsp-cat-titel { padding: 10px 14px; background: var(--warm); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--border); }
.dy-dsp-actie-rij { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); gap: 12px; }
.dy-dsp-actie-rij:last-child { border-bottom: none; }
.dy-dsp-actie-label { font-size: 13px; color: var(--ink-soft); flex: 1; }
.dy-dsp-actie-rechts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dy-dsp-pts { font-size: 13px; font-weight: 700; color: var(--clay); white-space: nowrap; }
.dy-dsp-limit { font-size: 10px; color: var(--ink-muted); background: var(--warm); border: 1px solid var(--border); border-radius: 10px; padding: 2px 7px; white-space: nowrap; }
.dy-dsp-disclaimer { font-size: 11px; color: var(--ink-muted); font-style: italic; text-align: center; margin-top: 16px; line-height: 1.5; }

/* ── LOADER ── */
.dy-loader { display: flex; justify-content: center; padding: 48px; }
.dy-spinner { width: 28px; height: 28px; border: 2px solid var(--parchment); border-top-color: var(--clay); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOAST ── */
.dy-toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--ink);
  border: 1px solid rgba(198,125,6,0.4);
  border-radius: 28px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9998;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.dy-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dy-toast-pts {
  font-size: 16px;
  font-weight: 800;
  color: var(--clay);
  letter-spacing: -0.01em;
}
.dy-toast-label {
  font-size: 12px;
  color: rgba(254,252,245,0.75);
  letter-spacing: 0.02em;
}
/* Info toast (geen punten) */
.dy-toast-info {
  border-color: rgba(198,125,6,0.2);
}
.dy-toast-info .dy-toast-label {
  color: rgba(254,252,245,0.9);
  font-size: 13px;
}
/* Ontneem toast */
.dy-toast-ontneem {
  border-color: rgba(192,57,43,0.4);
}
.dy-toast-ontneem .dy-toast-pts {
  color: #e74c3c;
}

/* ── INSTALL BANNER ── */
.dy-install-banner {
  background: var(--clay);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dy-install-tekst { font-size: 13px; color: var(--ink); font-weight: 500; }
.dy-install-btn {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.dy-install-sluiten { background: none; border: none; color: var(--ink); cursor: pointer; font-size: 18px; padding: 0 4px; }

/* ── RESPONSIVE VERFIJNINGEN ── */
@media (min-width: 480px) {
  .dy-verhalen-lijst { padding: 16px; }
  .dy-form-wrap { padding: 24px 20px; }
}

.dy-kaart-titel {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Badge naast profielfoto */
.dy-profiel-avatar-container {
  position: relative;
  display: inline-block;
  margin: 0 auto 12px;
}
.dy-profiel-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  background: var(--clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--ink);
}

/* Niveau voortgang naar volgende */
.dy-niveau-next {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
}
.dy-niveau-next strong { color: var(--clay); }

/* Alle niveaus op profielpagina */
.dy-alle-niveaus { margin: 16px; }
.dy-niveau-rij {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.5;
}
.dy-niveau-rij.actief { opacity: 1; }
.dy-niveau-rij-emoji { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.dy-niveau-rij-info { flex: 1; }
.dy-niveau-rij-info strong { display: block; font-size: 13px; color: var(--ink); }
.dy-niveau-rij-info span { font-size: 11px; color: var(--ink-muted); }
.dy-niveau-rij-pts { font-size: 11px; color: var(--clay); font-weight: 700; white-space: nowrap; }
.dy-niveau-rij.actief .dy-niveau-rij-info strong { color: var(--clay); }

/* Artikel titel */
.dy-artikel-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 8px 0 12px;
  line-height: 1.3;
}

/* Media upload */
.dy-media-upload {
  border: 1px dashed var(--parchment);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
}
.dy-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 13px;
}
.dy-media-placeholder svg { width: 28px; height: 28px; fill: var(--parchment); }
.dy-media-remove {
  display: block;
  width: 100%;
  padding: 8px;
  background: rgba(30,26,15,0.06);
  border: none;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  cursor: pointer;
  text-align: center;
}
.dy-media-remove:hover { color: #c0392b; }

/* Upload voortgang */
.dy-upload-voortgang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.dy-upload-balk {
  flex: 1;
  height: 4px;
  background: var(--parchment);
  border-radius: 2px;
  overflow: hidden;
}
.dy-upload-fill {
  height: 100%;
  background: var(--clay);
  border-radius: 2px;
  transition: width 0.2s;
  width: 0%;
}
#upload-pct, #reactie-upload-pct {
  font-size: 11px;
  color: var(--clay);
  font-weight: 700;
  white-space: nowrap;
}

/* Reactie media */
.dy-reactie-media-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.dy-btn-media {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
}
.dy-btn-media:hover { border-color: var(--clay); color: var(--clay); }

.dy-reactie-foto {
  width: 100%;
  border-radius: 4px;
  max-height: 200px;
  object-fit: cover;
  margin: 6px 0;
}

/* Video in feed — geen controls, klikbaar */
.dy-kaart-video {
  display: block;
  pointer-events: auto;
}

/* ── WINKEL ── */
.dy-winkel-wrap { padding-bottom: 32px; }

.dy-winkel-dsp-banner {
  margin: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dy-winkel-dsp-niveau {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dy-winkel-dsp-emoji { font-size: 24px; }
.dy-winkel-dsp-niveau strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.dy-winkel-dsp-niveau span { font-size: 12px; color: var(--ink-muted); }
.dy-winkel-dsp-info p { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.dy-winkel-dsp-detail { color: var(--ink-muted) !important; font-size: 11px !important; margin-top: 4px; }
.dy-winkel-dsp-detail strong { color: var(--clay); }

.dy-winkel-acties {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  flex-wrap: wrap;
}
.dy-winkel-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--clay);
  color: var(--ink);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  min-width: 160px;
}
.dy-winkel-btn-primary svg { width: 16px; height: 16px; fill: var(--ink); }
.dy-winkel-btn-primary:hover { background: var(--clay-dark); }

.dy-winkel-btn-secondary {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  min-width: 140px;
}
.dy-winkel-btn-secondary:hover { border-color: var(--clay); color: var(--clay); }

.dy-winkel-cat-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  padding: 0 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.dy-winkel-categorien { margin: 8px 0 16px; }
.dy-winkel-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
}
.dy-winkel-cat-kaart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.dy-winkel-cat-kaart:hover { border-color: var(--clay); }
.dy-winkel-cat-icon { font-size: 24px; margin-bottom: 4px; }
.dy-winkel-cat-kaart strong { font-size: 13px; font-weight: 700; color: var(--ink); }
.dy-winkel-cat-kaart span { font-size: 11px; color: var(--ink-muted); }

.dy-bestellingen-wrap { padding: 0 0 16px; }
.dy-bestelling-kaart {
  margin: 0 16px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.dy-bestelling-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.dy-bestelling-nummer { font-size: 14px; font-weight: 700; color: var(--ink); }
.dy-bestelling-pts { font-size: 13px; font-weight: 700; color: var(--clay); }
.dy-bestelling-meta { display: flex; gap: 12px; font-size: 12px; color: var(--ink-muted); }
.dy-bestelling-leeg { margin: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.dy-bestelling-leeg p { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.dy-bestelling-leeg-sub { font-size: 12px; color: var(--ink-muted); }

.dy-winkel-dsp-uitleg { margin: 8px 0; }
.dy-winkel-dsp-tabel { margin: 0 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.dy-winkel-dsp-rij {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-soft);
}
.dy-winkel-dsp-rij:last-child { border-bottom: none; }
.dy-winkel-dsp-rij:nth-child(even) { background: var(--warm); }
.dy-winkel-dsp-pts { font-weight: 700; color: var(--clay); white-space: nowrap; }

/* ── IN-APP BROWSER ── */
.dy-webview-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.dy-webview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  height: 52px;
  background: var(--ink);
  border-bottom: 1px solid rgba(198,125,6,0.2);
  flex-shrink: 0;
}
.dy-webview-terug {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--clay);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  white-space: nowrap;
}
.dy-webview-url {
  flex: 1;
  font-size: 12px;
  color: rgba(254,252,245,0.4);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dy-webview-refresh {
  background: none;
  border: none;
  color: rgba(254,252,245,0.4);
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
}
.dy-webview-refresh:hover { color: var(--clay); }
.dy-webview-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  position: absolute;
  top: 52px;
  left: 0; right: 0;
  pointer-events: none;
}
.dy-webview-frame {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}
.dy-page-dsp-sub { font-size: 11px; letter-spacing: 0.08em; color: rgba(252,248,239,0.6); margin: 2px 0 0; }

/* ── DEEL KNOP ── */
.dy-deel-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  color: rgba(30,26,15,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  transition: color 0.2s;
}
.dy-deel-btn:hover { color: #1e1a0f; }
.dy-deel-btn svg { width: 18px; height: 18px; fill: currentColor; }
/* Deelknop in donkere kaart footer */
.dy-kaart-footer .dy-deel-btn { color: rgba(252,248,239,0.6); }
.dy-kaart-footer .dy-deel-btn:hover { color: #fcf8ef; }

/* ── DEEL MODAL ── */
.dy-deel-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
}
.dy-deel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.dy-deel-sheet {
  position: relative;
  width: 100%;
  background: #fcf8ef;
  border-radius: 20px 20px 0 0;
  padding: 16px 24px 40px;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.dy-deel-handle {
  width: 40px;
  height: 4px;
  background: rgba(30,26,15,0.2);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.dy-deel-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #1e1a0f;
  margin: 0 0 2px;
}
.dy-deel-sub {
  font-size: 12px;
  color: #c67d06;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}
.dy-deel-opties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dy-deel-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.dy-deel-opt span:last-child {
  font-size: 11px;
  color: #1e1a0f;
  font-weight: 500;
}
.dy-deel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dy-deel-icon svg { width: 26px; height: 26px; fill: white; }
.dy-deel-wa   { background: #25D366; }
.dy-deel-fb   { background: #1877F2; }
.dy-deel-ig   { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.dy-deel-tt   { background: #000000; }
.dy-deel-pin  { background: #E60023; }
.dy-deel-copy { background: #1e1a0f; }

/* ── ONTNEEM TOAST ── */


/* ── DETAIL TOPBAR ── */
.dy-detail-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dy-verwijder-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: rgba(30,26,15,0.4);
  transition: color 0.2s;
}
.dy-verwijder-btn:hover { color: #c0392b; }
.dy-verwijder-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ── REACTIE HEADER + VERWIJDER ── */
.dy-reactie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dy-reactie-verwijder {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  color: rgba(30,26,15,0.3);
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}
.dy-reactie-verwijder:hover { color: #c0392b; }

/* ════════════════════════════════════════════════
   RESPONSIVE & OVERFLOW FIXES
   ════════════════════════════════════════════════ */

/* Basis — tekst nooit buiten kaders */
* { box-sizing: border-box; }

.dy-kaart,
.dy-detail-wrap,
.dy-reactie,
.dy-dsp-wrap,
.dy-profiel-wrap,
.dy-form-wrap,
.dy-winkel-wrap {
  max-width: 100%;
  overflow: hidden;
}

/* Tekst altijd ombreken */
.dy-kaart-tekst,
.dy-kaart-titel,
.dy-artikel-tekst,
.dy-artikel-titel,
.dy-reactie-tekst,
.dy-dsp-actie-label,
.dy-dsp-niveau-info,
.dy-page-sub,
.dy-page-title {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

/* Kaart body padding veilig */
.dy-kaart-body {
  padding: 12px 16px;
  width: 100%;
  overflow: hidden;
}

/* Footer knoppen niet buiten kaart */
.dy-kaart-footer {
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px 12px;
}

.dy-lees-btn {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
}

/* Feedlijst — geen overflow */
.dy-verhalen-lijst {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  overflow-x: hidden;
}

/* Feed grid */
.dy-verhalen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .dy-verhalen-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 14px;
  }
}

/* Kaart aanpassingen voor grid */
.dy-verhalen-grid .dy-kaart {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
}

.dy-verhalen-grid .dy-kaart-body {
  flex: 1;
}

.dy-verhalen-grid .dy-kaart-tekst {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dy-verhalen-grid .dy-kaart-titel {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dy-verhalen-grid .dy-kaart-foto {
  aspect-ratio: 4/3;
  max-height: none;
  object-fit: contain;
  background: rgba(30,26,15,0.04);
}

.dy-verhalen-grid .dy-kaart-footer {
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 10px 10px;
}

.dy-verhalen-grid .dy-lees-btn {
  font-size: 11px;
}

/* Lees meer knop */
#dy-lees-meer-wrap {
  padding: 8px 16px 24px;
}

#btn-lees-meer {
  width: 100%;
  max-width: 320px;
}

/* Detail wrap — volledige breedte op mobiel */
.dy-detail-wrap {
  padding: 12px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.dy-artikel {
  width: 100%;
  overflow: hidden;
}

.dy-artikel-tekst {
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Topbar prullenbak + terugknop */
.dy-detail-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
}

/* Feed header responsive */
.dy-feed-header {
  width: 100%;
  overflow: hidden;
}

.dy-feed-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Profiel stats grid op klein scherm */
.dy-stats-rij {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}

/* DSP acties rij wrap */
.dy-dsp-actie-rij {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.dy-dsp-actie-label {
  flex: 1;
  min-width: 0;
}

.dy-dsp-actie-rechts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Deel modal — veilig op kleine schermen */
.dy-deel-opties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 360px) {
  .dy-deel-opties {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .dy-deel-icon {
    width: 44px;
    height: 44px;
  }
  .dy-deel-icon svg {
    width: 22px;
    height: 22px;
  }
  .dy-deel-opt span:last-child {
    font-size: 10px;
  }
}

/* Winkel wrap volledig */
.dy-winkel-wrap {
  width: 100%;
  overflow-x: hidden;
}

/* Reacties sectie */
.dy-reacties-sectie {
  width: 100%;
  overflow: hidden;
}

.dy-reactie {
  width: 100%;
  overflow: hidden;
}

.dy-reactie-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Formulier volledig breed */
.dy-form-wrap {
  width: 100%;
  max-width: 100%;
  padding: 16px;
}

.dy-textarea,
.dy-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Profiel wrap */
.dy-profiel-wrap {
  width: 100%;
  padding: 0 0 32px;
}

/* Niveau kaart tekst wrap */
.dy-niveau-kaart-header,
.dy-niveau-naam,
.dy-niveau-next {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Winkel banner */
.dy-winkel-dsp-banner {
  margin: 0 12px 16px;
}

.dy-winkel-dsp-info p {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Kleine schermen algemeen */
@media (max-width: 400px) {
  .dy-page-title {
    font-size: 28px;
  }
  .dy-kaart-footer {
    gap: 2px;
  }
  .dy-like-btn, .dy-reactie-btn {
    padding: 4px 6px;
    font-size: 12px;
  }
  .dy-deel-btn {
    padding: 4px 6px;
    font-size: 12px;
  }
  .dy-lees-btn {
    font-size: 11px;
    padding: 4px 8px;
  }
  .dy-detail-wrap {
    padding: 8px;
  }
  .dy-verhalen-lijst {
    padding: 6px;
    gap: 10px;
  }
}

/* ════════════════════════════════════════════════
   LOOKBOOK
   ════════════════════════════════════════════════ */

/* Grid */
.dy-look-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
}

@media (min-width: 480px) {
  .dy-look-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }
}

@media (min-width: 900px) {
  .dy-look-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 14px;
  }
}

/* Kaart */
.dy-look-kaart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dy-look-foto-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  background: rgba(30,26,15,0.05);
}

.dy-look-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.dy-look-kaart:hover .dy-look-foto {
  transform: scale(1.03);
}

.dy-look-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30,26,15,0.75));
  padding: 24px 10px 10px;
}

.dy-look-maten {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dy-look-maten span {
  font-size: 10px;
  font-weight: 600;
  color: #fcf8ef;
  background: rgba(30,26,15,0.4);
  border-radius: 10px;
  padding: 2px 7px;
  letter-spacing: 0.03em;
}

.dy-look-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
}

.dy-look-auteur {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
}

.dy-look-auteur span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 9px;
  flex-shrink: 0;
}

.dy-look-like {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 12px;
  padding: 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.dy-look-like svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dy-look-like:hover { color: #e74c3c; }
.dy-look-like.liked { color: #e74c3c; }

.dy-look-omschrijving {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 0 10px 10px;
  line-height: 1.5;
  word-break: break-word;
}

/* Detail view */
.dy-look-detail-foto {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.dy-look-detail-info {
  padding: 0 4px;
}

.dy-look-detail-auteur {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dy-look-detail-auteur strong {
  display: block;
  font-size: 15px;
}

.dy-look-detail-maten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.dy-maat-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

.dy-maat-badge span:first-child {
  font-size: 18px;
  flex-shrink: 0;
}

.dy-maat-badge small {
  display: block;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.dy-maat-badge strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.dy-look-detail-tekst {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
  word-break: break-word;
}

/* Nieuw look formulier */
.dy-form-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 16px;
}

.dy-maten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.dy-label-klein {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

/* Responsive lookbook */
@media (max-width: 320px) {
  .dy-look-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   BESTELLINGEN
   ════════════════════════════════════════════════ */

.dy-bestellingen-wrap {
  width: 100%;
  overflow: hidden;
}

.dy-best-container {
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Lege staat */
.dy-best-leeg {
  text-align: center;
  padding: 48px 24px;
}

.dy-best-leeg-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.dy-best-leeg h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.dy-best-leeg p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Bestelling kaart */
.dy-best-kaart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dy-best-kaart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}

.dy-best-nummer {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
}

.dy-best-datum {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.dy-best-bedrag {
  font-size: 17px;
  font-weight: 700;
  color: var(--clay);
  font-family: 'Cormorant Garamond', serif;
}

/* Statussen */
.dy-best-statussen {
  display: flex;
  gap: 12px;
  padding: 8px 16px;
  background: var(--warm);
}

.dy-best-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dy-best-verzend {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Producten */
.dy-best-producten {
  padding: 10px 16px;
}

.dy-best-product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(30,26,15,0.06);
}

.dy-best-product:last-child {
  border-bottom: none;
}

.dy-best-product-naam {
  flex: 1;
  font-size: 13px;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-best-product-qty {
  font-size: 12px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.dy-best-product-prijs {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.dy-best-meer {
  font-size: 11px;
  color: var(--ink-muted);
  padding-top: 4px;
  font-style: italic;
}

/* Footer */
.dy-best-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.dy-best-dsp {
  font-size: 12px;
  font-weight: 700;
  color: var(--clay);
  background: rgba(198,125,6,0.1);
  border: 1px solid rgba(198,125,6,0.2);
  border-radius: 20px;
  padding: 3px 10px;
}

.dy-best-acties {
  display: flex;
  gap: 12px;
}

.dy-btn-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.03em;
  padding: 4px 0;
  border-bottom: 1px solid var(--parchment);
  transition: border-color 0.2s;
}

.dy-btn-link:hover {
  border-color: var(--clay);
  color: var(--clay);
}

/* ── LOGIN PROMPT ── */
.dy-login-prompt-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 24px;
}

.dy-login-prompt-kaart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.dy-login-prompt-icon {
  font-size: 32px;
  color: var(--clay);
  margin-bottom: 12px;
}

.dy-login-prompt-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 8px;
}

.dy-login-prompt-reden {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dy-login-prompt-inline {
  padding: 16px;
  background: var(--warm);
  border-radius: var(--radius);
  text-align: center;
}

.dy-login-prompt-inline p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* Gast: verhaal like knop tonen maar subtiel */
.dy-like-btn:not(.liked) {
  opacity: 0.7;
}

/* ── PROFIELFOTO ── */
.dy-avatar-foto {
  object-fit: cover;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.dy-avatar-lg.dy-avatar-foto,
.dy-profiel-avatar-foto {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.dy-profiel-avatar-edit {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.dy-profiel-avatar-edit svg {
  width: 12px;
  height: 12px;
  fill: var(--ink-muted);
}

.dy-profiel-avatar-container:hover .dy-profiel-avatar-edit svg {
  fill: var(--clay);
}

/* ── PROFIEL BEWERKEN ── */
.dy-profiel-foto-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.dy-profiel-foto-upload:hover {
  background: var(--parchment);
}

.dy-profiel-foto-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dy-profiel-foto-initialen {
  font-size: 22px;
  font-weight: 700;
  color: var(--clay);
}

.dy-profiel-foto-label {
  flex: 1;
}

.dy-profiel-foto-label strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.dy-profiel-foto-label span {
  font-size: 11px;
  color: var(--ink-muted);
}

/* Naam wrap */
.dy-profiel-naam-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.dy-profiel-naam-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(252,248,239,0.4);
  transition: color 0.2s;
}

.dy-profiel-naam-edit-btn:hover {
  color: var(--clay);
}

.dy-profiel-naam-edit-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Profiel acties */
.dy-profiel-acties {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* ── DSP REGLEMENT KNOP IN PROFIEL ── */
.dy-dsp-reglement-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.dy-dsp-reglement-btn:hover {
  background: var(--warm);
}

.dy-dsp-reglement-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dy-dsp-reglement-icon {
  font-size: 18px;
  color: var(--clay);
  flex-shrink: 0;
}

.dy-dsp-reglement-links strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.dy-dsp-reglement-links span {
  font-size: 11px;
  color: var(--ink-muted);
}

.dy-dsp-reglement-btn > svg {
  width: 20px;
  height: 20px;
  fill: var(--ink-muted);
  flex-shrink: 0;
}

/* ── PUSH TOGGLE ── */
.dy-push-toggle-kaart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.dy-push-toggle-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dy-push-toggle-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.dy-push-toggle-links strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.dy-push-toggle-links span {
  font-size: 11px;
  color: var(--ink-muted);
}

.dy-push-toggle-btn {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-muted);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.dy-push-toggle-btn.actief {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--ink);
}

/* ── SEIZOEN KAART UITGEBREID ── */
.dy-seizoen-kaart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.dy-seizoen-pts {
  text-align: right;
}

.dy-seizoen-pts strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--clay);
  font-family: 'Cormorant Garamond', serif;
}

.dy-seizoen-pts span {
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dy-seizoen-alle-tiers {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dy-seizoen-tier-rij {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(30,26,15,0.03);
  opacity: 0.5;
}

.dy-seizoen-tier-rij.bereikt { opacity: 0.75; }
.dy-seizoen-tier-rij.actief {
  opacity: 1;
  background: rgba(198,125,6,0.08);
  border: 1px solid rgba(198,125,6,0.2);
}

.dy-seizoen-tier-dot {
  font-size: 12px;
  color: var(--clay);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.dy-seizoen-tier-info {
  flex: 1;
  min-width: 0;
}

.dy-seizoen-tier-info strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 2px;
}

.dy-seizoen-tier-info span {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.4;
  word-break: break-word;
}

.dy-seizoen-tier-pts {
  font-size: 11px;
  font-weight: 700;
  color: var(--clay);
  flex-shrink: 0;
}

/* ── ONBOARDING ── */
.dy-onboarding-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 28px 48px;
  transition: background 0.4s ease;
}

.dy-onboarding-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 32px;
}

.dy-onboarding-emoji {
  font-size: 56px;
  margin-bottom: 24px;
}

.dy-onboarding-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: #fcf8ef;
  line-height: 1.15;
  margin-bottom: 16px;
}

.dy-onboarding-tekst {
  font-size: 15px;
  color: rgba(252,248,239,0.75);
  line-height: 1.7;
  max-width: 320px;
}

.dy-onboarding-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dy-onboarding-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(252,248,239,0.3);
  transition: all 0.3s;
}

.dy-onboarding-dot.actief {
  background: #c67d06;
  width: 20px;
  border-radius: 3px;
}

.dy-onboarding-acties {
  display: flex;
  flex-direction: column;
}

.dy-onboarding-volgende {
  background: #c67d06 !important;
  color: #1e1a0f !important;
  font-size: 15px;
  padding: 14px;
}

/* ── INSTALL BANNER VERBETERD ── */
.dy-install-banner {
  position: fixed;
  bottom: calc(var(--nav-h) + 8px);
  left: 12px;
  right: 12px;
  background: var(--ink);
  border: 1px solid rgba(198,125,6,0.4);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dy-install-banner.dy-install-slide-in {
  transform: translateY(0);
  opacity: 1;
}

.dy-install-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.dy-install-icon { font-size: 24px; flex-shrink: 0; }

.dy-install-tekst strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fcf8ef;
}

.dy-install-tekst span {
  font-size: 11px;
  color: rgba(252,248,239,0.55);
}

.dy-install-acties {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dy-install-btn {
  background: #c67d06;
  color: #1e1a0f;
  border: none;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.dy-install-sluiten {
  background: none;
  border: none;
  color: rgba(252,248,239,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ── TRENDING ── */
.dy-trending-sectie {
  margin: 12px 8px 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dy-trending-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--warm);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.dy-trending-kaart {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.dy-trending-kaart:last-child { border-bottom: none; }
.dy-trending-kaart:hover { background: var(--warm); }

.dy-trending-rang { font-size: 18px; flex-shrink: 0; }

.dy-trending-info {
  flex: 1;
  min-width: 0;
}

.dy-trending-naam {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.dy-trending-preview {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-trending-likes {
  font-size: 12px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════ */
.dy-profiel-badges-wrap { padding: 0 16px; }

.dy-badges-sectie { margin-bottom: 16px; }

.dy-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.dy-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.dy-badge-emoji { font-size: 24px; }

.dy-badge-naam {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* Badge melding */
.dy-badge-melding {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--ink);
  border: 1px solid var(--clay);
  border-radius: 16px;
  padding: 12px 20px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.dy-badge-melding.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dy-badge-melding-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dy-badge-melding-emoji { font-size: 24px; }

.dy-badge-melding-inner strong {
  display: block;
  font-size: 12px;
  color: var(--clay);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dy-badge-melding-inner span {
  font-size: 14px;
  color: #fcf8ef;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   CHALLENGES
   ══════════════════════════════════════════════ */
.dy-challenges-wrap { width: 100%; }

.dy-challenges-lijst {
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dy-challenge-kaart {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.dy-challenge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dy-challenge-icon { font-size: 24px; }

.dy-challenge-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.dy-challenge-deadline {
  font-size: 11px;
  color: var(--ink-muted);
}

.dy-challenge-bonus {
  font-size: 12px;
  font-weight: 700;
  color: var(--clay);
  background: rgba(198,125,6,0.1);
  border-radius: 10px;
  padding: 2px 8px;
}

.dy-challenge-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}

.dy-challenge-omschrijving {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
  word-break: break-word;
}

.dy-challenge-btn { width: 100%; }

/* ══════════════════════════════════════════════
   LEADERBOARD
   ══════════════════════════════════════════════ */
.dy-leaderboard-wrap { width: 100%; }

.dy-leaderboard-lijst {
  padding: 12px 16px 32px;
}

.dy-leaderboard-periode {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 0 12px;
}

.dy-leaderboard-rij {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.dy-leaderboard-rij.jij {
  border-color: var(--clay);
  background: rgba(198,125,6,0.05);
}

.dy-leaderboard-rang {
  font-size: 20px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.dy-leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--clay);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.dy-leaderboard-info {
  flex: 1;
  min-width: 0;
}

.dy-leaderboard-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-leaderboard-info span {
  font-size: 11px;
  color: var(--ink-muted);
}

.dy-leaderboard-pts {
  font-size: 13px;
  font-weight: 700;
  color: var(--clay);
  flex-shrink: 0;
}

.dy-leaderboard-optin {
  margin-top: 20px;
  padding: 16px;
  background: var(--warm);
  border-radius: var(--radius);
  text-align: center;
}

.dy-leaderboard-optin p {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════ */
.dy-ster-beoordeling {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}

.dy-ster {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--border);
  padding: 0;
  transition: color 0.15s;
}

.dy-ster.actief { color: #f39c12; }
.dy-ster:hover { color: #f39c12; }

.dy-pasvorm-knoppen {
  display: flex;
  gap: 8px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.dy-pasvorm-btn {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink-muted);
  transition: all 0.15s;
}

.dy-pasvorm-btn.actief {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--ink);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   BERICHTEN / DM
   ══════════════════════════════════════════════ */
.dy-berichten-wrap { width: 100%; }

.dy-berichten-lijst {
  padding: 8px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dy-bericht-rij {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}

.dy-bericht-rij:hover { background: var(--warm); }

.dy-bericht-rij-info {
  flex: 1;
  min-width: 0;
}

.dy-bericht-rij-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.dy-bericht-rij-info span {
  font-size: 12px;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.dy-bericht-badge {
  background: var(--clay);
  color: var(--ink);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Chat view */
.dy-bericht-header {
  background: var(--ink);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 56px;
  z-index: 10;
}

.dy-bericht-chat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 60vh;
  padding-bottom: 80px;
}

.dy-bericht-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.dy-bericht-bubble.jij {
  align-self: flex-end;
  background: var(--clay);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}

.dy-bericht-bubble.ander {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.dy-bericht-input-wrap {
  position: fixed;
  bottom: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  z-index: 100;
}

.dy-bericht-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  resize: none;
  background: var(--warm);
  color: var(--ink);
  outline: none;
}

.dy-bericht-stuur-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clay);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dy-bericht-stuur-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
}

/* ── FEED NAV LINKS ── */
.dy-feed-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.dy-feed-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(252,248,239,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dy-feed-nav-btn:hover {
  color: var(--clay);
}

.dy-feed-nav-icon {
  color: var(--clay);
  font-size: 10px;
}

.dy-feed-nav-sep {
  color: rgba(252,248,239,0.25);
  font-size: 14px;
}

.dy-kaart-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 6px;
}

.dy-kaart-auteur {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.dy-kaart-meta {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.dy-kaart-naam {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.dy-kaart-tijd {
  font-size: 10px;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Grid kaart avatar kleiner op mobiel */
.dy-verhalen-grid .dy-avatar,
.dy-verhalen-grid .dy-avatar-foto {
  width: 28px;
  height: 28px;
  font-size: 10px;
  flex-shrink: 0;
}
/* ── INFINITE SCROLL SENTINEL ── */
.dy-feed-sentinel {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 32px;
}

/* ── GEBRUIKERSPROFIEL ── */
.dy-gebruiker-wrap { width: 100%; padding-bottom: 40px; }

.dy-gebruiker-hero {
  background: var(--ink);
  padding: 20px 20px 24px;
  text-align: center;
}

.dy-gebruiker-avatar-wrap {
  margin: 0 auto 12px;
  width: 72px;
  height: 72px;
}

.dy-gebruiker-avatar-wrap img,
.dy-gebruiker-avatar-wrap .dy-profiel-avatar-lg {
  width: 72px;
  height: 72px;
}

.dy-gebruiker-naam {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: #fcf8ef;
  margin-bottom: 4px;
}

.dy-gebruiker-niveau {
  font-size: 13px;
  font-weight: 600;
}

.dy-gebruiker-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.dy-gebruiker-badges-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-top: 4px;
}

/* ══════════════════════════════════════════════
   GEBRUIKERSPROFIEL — PREMIUM
   ══════════════════════════════════════════════ */
.dy-gebruiker-wrap {
  width: 100%;
  padding-bottom: 60px;
}

/* Hero */
.dy-gebruiker-hero {
  background: linear-gradient(180deg, #1e1a0f 0%, #2a2318 100%);
  padding: 0 20px 28px;
  text-align: center;
  position: relative;
}

.dy-gebruiker-terug {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: rgba(252,248,239,0.5);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 14px 0 20px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.dy-gebruiker-terug:hover { color: var(--clay); }

.dy-gebruiker-avatar-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #c67d06, #fcf8ef 50%, #c67d06);
}

.dy-gebruiker-avatar-ring .dy-profiel-avatar-lg,
.dy-gebruiker-avatar-ring img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid #1e1a0f;
}

.dy-gebruiker-naam {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: #fcf8ef;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  /* Geen afkappen — altijd volledige naam tonen */
  white-space: normal;
  word-break: break-word;
}

.dy-gebruiker-niveau {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Stats */
.dy-gebruiker-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.dy-gebruiker-stats-grid {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.dy-gebruiker-stat {
  flex: 1;
  text-align: center;
  padding: 18px 8px;
}

.dy-gebruiker-stat-sep {
  width: 1px;
  background: var(--border);
  margin: 12px 0;
}

.dy-gebruiker-stat-waarde {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 4px;
}

.dy-gebruiker-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dy-gebruiker-tier {
  padding: 10px 16px 14px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.dy-gebruiker-tier-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--clay);
  background: rgba(198,125,6,0.08);
  border: 1px solid rgba(198,125,6,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.04em;
}

/* DM knop */
.dy-gebruiker-dm-wrap {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

/* Badges sectie */
.dy-gebruiker-badges-sectie {
  padding: 16px 16px 4px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  margin-top: 8px;
}

/* Verhalen sectie */
.dy-gebruiker-verhalen-sectie {
  margin-top: 8px;
}

.dy-gebruiker-sectie-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  padding: 14px 16px 8px;
  letter-spacing: 0.02em;
}

.dy-gebruiker-leeg {
  font-size: 13px;
  color: var(--ink-muted);
  padding: 4px 0 12px;
}

/* Naam nooit afkappen in grid kaarten */
.dy-verhalen-grid .dy-kaart-naam {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: 11px;
  line-height: 1.3;
}

/* ══════════════════════════════════════════════
   TOPBAR ICOON KNOPPEN
   ══════════════════════════════════════════════ */
.dy-topbar-icon-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: background 0.15s;
}

.dy-topbar-icon-btn:hover { background: rgba(252,248,239,0.08); }

.dy-topbar-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: rgba(252,248,239,0.7);
}

.dy-topbar-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: #e74c3c;
  color: #fff;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1px solid var(--ink);
}

/* ══════════════════════════════════════════════
   ZOEKBALK
   ══════════════════════════════════════════════ */
.dy-zoekbalk-wrap {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--ink);
  border-bottom: 1px solid rgba(198,125,6,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-height: 80vh;
  overflow-y: auto;
}

.dy-zoekbalk-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.dy-zoek-icon {
  width: 18px;
  height: 18px;
  fill: rgba(252,248,239,0.4);
  flex-shrink: 0;
}

.dy-zoek-input {
  flex: 1;
  background: rgba(252,248,239,0.08);
  border: 1px solid rgba(198,125,6,0.2);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: #fcf8ef;
  outline: none;
}

.dy-zoek-input::placeholder { color: rgba(252,248,239,0.35); }
.dy-zoek-input:focus { border-color: var(--clay); }

.dy-zoek-sluit {
  background: none;
  border: none;
  color: rgba(252,248,239,0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  flex-shrink: 0;
}

.dy-zoek-resultaten { padding: 0 0 8px; }

.dy-zoek-sectie-titel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  padding: 10px 16px 4px;
}

.dy-zoek-rij {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s;
}

.dy-zoek-rij:hover { background: rgba(252,248,239,0.06); }

.dy-zoek-rij-info { flex: 1; min-width: 0; }

.dy-zoek-rij-info strong {
  display: block;
  font-size: 14px;
  color: #fcf8ef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-zoek-rij-info span {
  font-size: 12px;
  color: rgba(252,248,239,0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.dy-zoek-leeg {
  padding: 20px 16px;
  font-size: 13px;
  color: rgba(252,248,239,0.4);
  text-align: center;
}

/* ══════════════════════════════════════════════
   MELDINGEN
   ══════════════════════════════════════════════ */
.dy-melding-rij {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
  position: relative;
}

.dy-melding-rij.ongelezen { background: rgba(198,125,6,0.04); }
.dy-melding-rij:last-child { border-bottom: none; }

.dy-melding-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm);
  border-radius: 50%;
}

.dy-melding-info { flex: 1; min-width: 0; }

.dy-melding-tekst {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 2px;
}

.dy-melding-tijd {
  font-size: 11px;
  color: var(--ink-muted);
}

.dy-melding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}

/* ── TOPBAR PILL KNOPPEN ── */
.dy-topbar-pill {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(198,125,6,0.12);
  border: 1px solid rgba(198,125,6,0.25);
  border-radius: 20px;
  padding: 4px 8px 4px 6px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.dy-topbar-pill:hover {
  background: rgba(198,125,6,0.22);
  border-color: rgba(198,125,6,0.5);
}

.dy-topbar-pill:active {
  background: rgba(198,125,6,0.3);
}

.dy-topbar-pill svg {
  width: 12px;
  height: 12px;
  fill: var(--clay);
  flex-shrink: 0;
}

.dy-topbar-pill span:not(.dy-topbar-badge) {
  font-size: 9px;
  font-weight: 700;
  color: rgba(252,248,239,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dy-topbar-pill .dy-topbar-badge {
  position: static;
  margin-left: 2px;
  min-width: 14px;
  height: 14px;
  font-size: 8px;
  border: none;
}

/* Topbar rechts wat meer ruimte geven */
.dy-topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-shrink: 1;
  min-width: 0;
  padding: 0 4px 0 0;
}

.dy-topbar-right::-webkit-scrollbar { display: none; }

.dy-topbar-right::-webkit-scrollbar { display: none; }

/* Altijd tekst tonen — ook op kleine schermen */

/* ══════════════════════════════════════════════
   AI PASKAMER
   ══════════════════════════════════════════════ */
.dy-pk-wrap { width: 100%; }

/* Stap indicator */
.dy-pk-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.dy-pk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dy-pk-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(198,125,6,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink-muted);
  transition: all 0.3s;
  background: transparent;
}

.dy-pk-step.active .dy-pk-step-num {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--ink);
  font-weight: 700;
}

.dy-pk-step.done .dy-pk-step-num {
  background: #4a7c59;
  border-color: #4a7c59;
  color: #fff;
}

.dy-pk-step-lbl {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dy-pk-step.active .dy-pk-step-lbl { color: var(--clay); }
.dy-pk-step.done  .dy-pk-step-lbl { color: #4a7c59; }

.dy-pk-step-lijn {
  flex: 1;
  height: 1px;
  background: rgba(198,125,6,0.15);
  margin: 0 8px;
  margin-bottom: 14px;
  transition: background 0.3s;
}

.dy-pk-step-lijn.actief { background: var(--clay); }

/* Panels */
.dy-pk-panel { display: none; }
.dy-pk-panel.active { display: block; }

/* Geslacht grid */
.dy-pk-gender-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 16px;
}

.dy-pk-gender-kaart {
  border: 1px solid var(--border);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.dy-pk-gender-kaart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.dy-pk-gender-kaart:hover::before,
.dy-pk-gender-kaart.geselecteerd::before { transform: scaleX(1); }

.dy-pk-gender-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
}

.dy-pk-gender-icon svg { width: 100%; height: 100%; }

.dy-pk-gender-naam {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.dy-pk-gender-kaart:hover .dy-pk-gender-naam,
.dy-pk-gender-kaart.geselecteerd .dy-pk-gender-naam { color: var(--ink); }

/* Maten invoer */
.dy-pk-field-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.dy-pk-field-row:focus-within { border-color: var(--clay); }

.dy-pk-input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  outline: none;
}

.dy-pk-unit {
  padding: 10px 12px;
  background: var(--warm);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
}

/* Loading */
.dy-pk-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 24px;
}

.dy-pk-loading-tekst {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--ink-soft);
}

/* Resultaat */
.dy-pk-resultaat-hero {
  text-align: center;
  padding: 24px 16px 16px;
  background: var(--ink);
}

.dy-pk-maat-badge {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--ink);
  background: var(--clay);
  padding: 8px 24px;
  margin-bottom: 10px;
}

.dy-pk-maat-uitleg {
  font-size: 13px;
  color: rgba(252,248,239,0.65);
  line-height: 1.5;
}

.dy-pk-sectie {
  padding: 16px 16px 0;
}

.dy-pk-sectie-titel {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Fit bars */
.dy-pk-fit-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.dy-pk-fit-rij { display: flex; flex-direction: column; gap: 4px; }

.dy-pk-fit-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink);
}

.dy-pk-fit-status {
  font-size: 11px;
  font-weight: 600;
}

.dy-pk-fit-status.goed { color: #4a7c59; }
.dy-pk-fit-status.ok   { color: var(--clay); }
.dy-pk-fit-status.check { color: #c0392b; }

.dy-pk-fit-track {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.dy-pk-fit-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 1s ease;
}

.dy-pk-fit-fill.goed { background: #4a7c59; }
.dy-pk-fit-fill.ok   { background: var(--clay); }
.dy-pk-fit-fill.check { background: #c0392b; }

/* Lichaamstype */
.dy-pk-profiel-blok {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
  background: var(--white);
}

.dy-pk-profiel-naam {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--clay);
  margin-bottom: 2px;
}

.dy-pk-profiel-sub {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.dy-pk-profiel-tekst {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

.dy-pk-profiel-tips { display: flex; flex-direction: column; gap: 4px; }

.dy-pk-tip {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.dy-pk-tip { color: var(--clay); }

/* Advies */
.dy-pk-advies-blok {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--white);
}

.dy-pk-advies-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.dy-pk-advies-item:last-child { border-bottom: none; }

.dy-pk-advies-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.dy-pk-advies-dot.goed { background: #4a7c59; }
.dy-pk-advies-dot.warn { background: #e6a817; }

/* Maten samenvatting */
.dy-pk-maten-samenvatting {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.dy-pk-maat-item {
  text-align: center;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 6px;
}

.dy-pk-maat-val {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 4px;
}

.dy-pk-maat-lbl {
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

.dy-pk-maat-lbl small { display: block; color: rgba(30,26,15,0.35); }

/* ── BERICHTEN CHAT VERBETERD ── */
.dy-bericht-header {
  background: var(--ink);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 52px;
  z-index: 10;
  border-bottom: 1px solid rgba(198,125,6,0.2);
}

.dy-bericht-header-naam {
  font-size: 15px;
  font-weight: 700;
  color: #fcf8ef;
  text-align: center;
  flex: 1;
}

.dy-bericht-datum {
  text-align: center;
  font-size: 11px;
  color: var(--ink-muted);
  padding: 8px 0 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dy-bericht-bubble-wrap {
  display: flex;
  margin-bottom: 4px;
}

.dy-bericht-bubble-wrap.jij { justify-content: flex-end; }
.dy-bericht-bubble-wrap.ander { justify-content: flex-start; }

.dy-bericht-bubble {
  max-width: 75%;
  padding: 8px 12px;
  border-radius: 18px;
  word-break: break-word;
}

.dy-bericht-bubble.jij {
  background: var(--clay);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}

.dy-bericht-bubble.ander {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.dy-bericht-tekst {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.dy-bericht-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 3px;
}

.dy-bericht-tijd {
  font-size: 10px;
  opacity: 0.6;
}

.dy-bericht-vinkjes {
  display: flex;
  align-items: center;
}

.dy-bericht-vinkjes svg {
  width: 12px;
  height: 12px;
  fill: rgba(30,26,15,0.5);
}

.dy-bericht-vinkjes svg:last-child {
  margin-left: -6px;
}

.dy-bericht-vinkjes.gelezen svg {
  fill: #1a9de8;
}

/* Media in berichten */
.dy-bericht-media {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  display: block;
  margin-bottom: 4px;
}

/* Input wrap met media knop */
.dy-bericht-input-wrap {
  position: fixed;
  bottom: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  z-index: 100;
}

.dy-bericht-media-btn {
  width: 36px;
  height: 36px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.dy-bericht-media-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--ink-muted);
}

/* ── HOVER EFFECT C: SHIMMER SWEEP ── */
.dy-kaart {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

.dy-kaart .dy-img-wrap {
  position: relative;
  overflow: hidden;
}

.dy-kaart-foto {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.dy-kaart:hover .dy-kaart-foto {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.dy-kaart .dy-img-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(198,125,6,0.35) 50%,
    transparent 80%
  );
  z-index: 2;
  pointer-events: none;
  transition: none;
}

.dy-kaart:hover .dy-img-wrap::before {
  left: 160%;
  transition: left 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Lookbook foto ook shimmer */
.dy-look-kaart .dy-look-foto-wrap {
  position: relative;
  overflow: hidden;
}

.dy-look-kaart .dy-look-foto-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(198,125,6,0.35) 50%,
    transparent 80%
  );
  z-index: 2;
  pointer-events: none;
  transition: none;
}

.dy-look-kaart:hover .dy-look-foto-wrap::before {
  left: 160%;
  transition: left 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dy-look-kaart .dy-look-foto {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.dy-look-kaart:hover .dy-look-foto {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* ── FOTO LIGHTBOX ── */
.dy-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: background 0.25s ease;
}

.dy-lightbox.actief {
  background: rgba(0,0,0,0.92);
}

.dy-lightbox-media {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dy-lightbox.actief .dy-lightbox-media {
  opacity: 1;
  transform: scale(1);
}

.dy-lightbox-sluit {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.dy-lightbox-sluit:hover { background: rgba(255,255,255,0.2); }

/* Topbar links niet te breed */
.dy-topbar-links {
  flex-shrink: 1;
  min-width: 0;
}

.dy-topbar-brand {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dy-feed-intro {
  font-size: 13px;
  color: rgba(252,248,239,0.55);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 480px;
}

/* ── REVIEWS OVERZICHT ── */
.dy-reviews-sectie {
  padding: 0 0 32px;
}

.dy-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 12px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.dy-reviews-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.dy-reviews-gemiddeld {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dy-reviews-sterren-gem {
  color: #c67d06;
  font-size: 14px;
  letter-spacing: 1px;
}

.dy-reviews-gem-cijfer {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.dy-reviews-count {
  font-size: 12px;
  color: var(--ink-muted);
}

.dy-review-kaart {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.dy-review-kaart:first-of-type {
  border-top: 1px solid var(--border);
}

.dy-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.dy-review-auteur-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dy-review-naam {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.dy-review-tijd {
  font-size: 11px;
  color: var(--ink-muted);
}

.dy-review-sterren {
  font-size: 14px;
  color: #c67d06;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.dy-review-product {
  font-size: 12px;
  font-weight: 600;
  color: var(--clay);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dy-review-pasvorm {
  display: inline-block;
  font-size: 11px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2px 10px;
  margin-bottom: 8px;
  color: var(--ink);
}

.dy-review-tekst {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.dy-review-foto {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  display: block;
}

.dy-review-maten {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dy-review-maten span {
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--warm);
  padding: 3px 10px;
  border-radius: 10px;
}

/* ── BESTELLINGEN SHOPIFY BLOK ── */
.dy-best-shopify-blok {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  background: var(--white);
  margin-top: 16px;
}

.dy-best-shopify-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.dy-best-shopify-tekst {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.dy-best-dsp-overzicht {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.dy-best-dsp-totaal {
  background: var(--ink);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dy-best-dsp-getal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--clay);
  font-weight: 400;
}

.dy-best-dsp-label {
  font-size: 12px;
  color: rgba(252,248,239,0.6);
  letter-spacing: 0.04em;
}

.dy-best-dsp-rij {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.dy-best-dsp-rij:last-child { border-bottom: none; }
.dy-best-dsp-rij-label { color: var(--ink); }

/* ══════════════════════════════════════
   KLEDING CONFIGURATOR — VOLLEDIG RESPONSIEF
   ══════════════════════════════════════ */

/* Wrapper */
.dy-cfg-wrap {
  width: 100%;
  padding-bottom: 60px;
  background: var(--warm);
}

/* Tabs */
.dy-cfg-tabs-wrap {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.dy-cfg-tabs-wrap::-webkit-scrollbar { display: none; }

.dy-cfg-ks-tab {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  background: var(--white);
  color: var(--ink-muted);
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.dy-cfg-ks-tab.active {
  background: var(--ink);
  color: #fcf8ef;
  border-color: var(--ink);
}

/* Body layout */
.dy-cfg-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  min-height: 60vh;
}
@media (max-width: 900px) {
  .dy-cfg-body { grid-template-columns: 220px 1fr; }
}
@media (max-width: 680px) {
  .dy-cfg-body { grid-template-columns: 1fr; }
}

/* Links: Preview */
.dy-cfg-preview {
  background: linear-gradient(160deg, #1e1a0f 0%, #2e2a20 60%, #1a1608 100%);
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 49px;
  min-height: calc(100vh - 49px);
  overflow-y: auto;
  border-right: 1px solid rgba(198,125,6,0.12);
}
@media (max-width: 680px) {
  .dy-cfg-preview { position: static; min-height: auto; padding: 16px 12px; border-right: none; }
}

/* SVG */
.dy-cfg-svg-wrap {
  width: 180px;
  height: 300px;
  margin: 0 auto 16px;
  flex-shrink: 0;
  background: rgba(198,125,6,0.04);
  border: 1px solid rgba(198,125,6,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

/* Kleur dots */
.dy-cfg-kleuren {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 8px;
}
.dy-cfg-kleur {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s;
  border: 1px solid rgba(255,255,255,0.15);
}
.dy-cfg-kleur:hover { transform: scale(1.2); }

/* Samenvatting */
.dy-cfg-samenvatting {
  font-size: 10px;
  color: rgba(252,248,239,0.45);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 8px;
  min-height: 24px;
}

/* AI model — compact in preview */
.dy-cfg-model-wrap-klein {
  width: 100%;
  margin-bottom: 8px;
}
.dy-cfg-model-wrap-klein img,
.dy-cfg-model-wrap-klein .dy-cfg-model-foto {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  display: block;
}
.dy-cfg-model-wrap-klein .dy-cfg-model-acties {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.dy-cfg-model-wrap-klein .dy-cfg-model-opnieuw,
.dy-cfg-model-wrap-klein .dy-cfg-model-download {
  flex: 1;
  padding: 5px;
  font-size: 10px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  text-decoration: none;
  display: block;
}
.dy-cfg-model-wrap-klein .dy-cfg-model-opnieuw {
  background: rgba(252,248,239,0.08);
  border: 1px solid rgba(252,248,239,0.15);
  color: rgba(252,248,239,0.7);
}
.dy-cfg-model-wrap-klein .dy-cfg-model-download {
  background: var(--clay);
  border: none;
  color: var(--ink);
}
.dy-cfg-model-wrap-klein .dy-cfg-model-loading p {
  font-size: 10px;
  color: rgba(252,248,239,0.4);
}

/* Genereer model knop */
.dy-cfg-genereer-btn {
  width: 100%;
  margin-top: 6px;
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg,#c67d06,#a56505);
  color: var(--ink);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.dy-cfg-genereer-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Rechts: Panel wrap */
.dy-cfg-panel-wrap {
  background: var(--white);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.dy-cfg-panel {
  padding: 14px 14px 6px;
}

/* Secties */
.dy-cfg-sectie { margin-bottom: 18px; }
.dy-cfg-sectie-titel {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 6px;
  font-family: 'DM Sans', sans-serif;
}

/* Opties */
.dy-cfg-opties { display: flex; flex-direction: column; gap: 4px; }
.dy-cfg-optie {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: all 0.12s;
  background: var(--white);
  user-select: none;
}
.dy-cfg-optie:hover { background: var(--warm); border-color: var(--clay); }
.dy-cfg-optie.active {
  background: rgba(198,125,6,0.07);
  border-color: var(--clay);
  font-weight: 600;
}
.dy-cfg-check {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
}
.dy-cfg-optie.active .dy-cfg-check { background: var(--clay); border-color: var(--clay); }
.dy-cfg-optie.active .dy-cfg-check::after {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: var(--white);
}

/* Acties */
.dy-cfg-acties {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
}

/* Naaipatroon sectie */
.dy-cfg-patroon-sectie {
  border-top: 2px solid var(--clay);
  padding: 14px 14px;
  background: var(--warm);
}
.dy-cfg-patroon-header { margin-bottom: 8px; }
.dy-cfg-patroon-titel {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 3px;
}
.dy-cfg-patroon-sub {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.dy-cfg-patroon-loading { text-align: center; padding: 12px 0; }
.dy-cfg-patroon-loading p { font-size: 11px; color: var(--ink-muted); margin-top: 6px; }
.dy-cfg-patroon-fout {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  font-size: 13px;
  color: var(--ink);
  text-align: center;
  margin-top: 8px;
}
.dy-cfg-patroon-resultaat { margin-top: 8px; }
.dy-cfg-patroon-info {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 8px; padding: 8px 10px;
  background: var(--ink); border-radius: 4px;
}
.dy-cfg-patroon-naam { font-size: 12px; font-weight: 700; color: var(--clay); }
.dy-cfg-patroon-maten { font-size: 10px; color: rgba(252,248,239,0.5); }
.dy-cfg-patroon-svg {
  width: 100%; overflow: auto;
  background: white; border-radius: 4px;
  border: 1px solid var(--border); padding: 6px;
  margin-bottom: 8px; max-height: 350px;
}
.dy-cfg-patroon-svg svg { width: 100%; height: auto; }
.dy-cfg-patroon-acties { display: flex; gap: 6px; margin-bottom: 8px; }
.dy-cfg-patroon-disclaimer {
  font-size: 10px; color: var(--ink-muted);
  line-height: 1.5; border-top: 1px solid var(--border); padding-top: 6px;
}

/* AI chat */
.dy-cfg-ai-sectie {
  background: var(--ink);
  border-top: 1px solid rgba(198,125,6,0.3);
}
.dy-cfg-ai-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid rgba(198,125,6,0.2);
}
.dy-cfg-ai-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.dy-cfg-ai-sluit { background: none; border: none; color: rgba(252,248,239,0.4); font-size: 18px; cursor: pointer; }
.dy-cfg-ai-chat {
  min-height: 140px; max-height: 260px; overflow-y: auto;
  padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.dy-cfg-ai-msg { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.dy-cfg-ai-msg-gebruiker { background: var(--clay); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 3px; }
.dy-cfg-ai-msg-assistent { background: rgba(252,248,239,0.08); color: rgba(252,248,239,0.9); align-self: flex-start; border-bottom-left-radius: 3px; }
.dy-cfg-ai-typing { display: flex; align-items: center; gap: 4px; padding: 10px 14px; }
.dy-cfg-ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(198,125,6,0.6); animation: cfgTypingPulse 1.2s ease-in-out infinite; }
.dy-cfg-ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.dy-cfg-ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cfgTypingPulse { 0%,80%,100% { transform:scale(0.7);opacity:0.4; } 40% { transform:scale(1);opacity:1; } }
.dy-cfg-ai-input-wrap { display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid rgba(198,125,6,0.2); }
.dy-cfg-ai-input {
  flex: 1; background: rgba(252,248,239,0.07); border: 1px solid rgba(198,125,6,0.2);
  border-radius: 18px; padding: 8px 14px; font-size: 13px; color: #fcf8ef; outline: none;
  font-family: 'DM Sans', sans-serif;
}
.dy-cfg-ai-input::placeholder { color: rgba(252,248,239,0.3); }
.dy-cfg-ai-input:focus { border-color: var(--clay); }
.dy-cfg-ai-stuur {
  width: 36px; height: 36px; border-radius: 50%; background: var(--clay);
  color: var(--ink); border: none; font-size: 16px; cursor: pointer; flex-shrink: 0;
}

/* Community */
.dy-cfg-community-sectie { background: var(--white); border-top: 1px solid var(--border); padding: 18px 14px 28px; }
.dy-cfg-community-header { margin-bottom: 12px; }
.dy-cfg-community-titel { font-family: 'Cormorant Garamond',serif; font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 3px; }
.dy-cfg-community-sub { font-size: 12px; color: var(--ink-muted); }
.dy-cfg-community-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; padding: 0; }
@media (min-width: 480px) { .dy-cfg-community-grid { grid-template-columns: repeat(3,1fr); gap: 10px; } }
@media (min-width: 900px) { .dy-cfg-community-grid { grid-template-columns: repeat(4,1fr); gap: 12px; } }
.dy-cfg-community-kaart { position: relative; aspect-ratio: 4/5; overflow: hidden; cursor: pointer; background: rgba(30,26,15,0.05); border-radius: var(--radius); }
.dy-cfg-community-kaart:hover .dy-cfg-community-info { opacity: 1; }
.dy-cfg-community-foto-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: rgba(30,26,15,0.05); }
.dy-cfg-community-foto { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.3s ease; }
.dy-cfg-community-kaart:hover .dy-cfg-community-foto { transform: scale(1.03); }
.dy-cfg-community-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top,rgba(30,26,15,0.9) 0%,transparent 100%); padding: 16px 6px 6px; opacity: 0; transition: opacity 0.25s; }
.dy-cfg-community-naam { display: block; font-size: 10px; font-weight: 700; color: #fcf8ef; margin-bottom: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dy-cfg-community-maten { display: block; font-size: 9px; color: var(--clay); }
.dy-cfg-community-leeg { grid-column: 1/-1; text-align: center; padding: 28px 12px; color: var(--ink-muted); font-size: 13px; }

/* Atelier briefing */
.dy-cfg-brief { padding: 14px; }
.dy-cfg-brief-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dy-cfg-brief-check { width: 26px; height: 26px; border-radius: 50%; background: #2ecc71; color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.dy-cfg-brief-titel { font-family: 'Cormorant Garamond',serif; font-size: 16px; font-weight: 400; color: var(--ink); }
.dy-cfg-brief-datum { font-size: 10px; color: var(--ink-muted); }
.dy-cfg-brief-overzicht { background: var(--warm); border-radius: 4px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 12px; }
.dy-cfg-brief-rij { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--border); font-size: 12px; gap: 6px; }
.dy-cfg-brief-rij:last-child { border-bottom: none; }
.dy-cfg-brief-rij span { color: var(--ink-muted); flex-shrink: 0; }
.dy-cfg-brief-rij strong { color: var(--ink); text-align: right; font-weight: 600; }
.dy-cfg-brief-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); margin-bottom: 5px; font-family: 'DM Sans',sans-serif; }
.dy-cfg-brief-textarea { width: 100%; min-height: 65px; border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px; font-family: 'DM Sans',sans-serif; font-size: 13px; color: var(--ink); background: var(--white); resize: vertical; outline: none; box-sizing: border-box; margin-bottom: 12px; }
.dy-cfg-brief-textarea:focus { border-color: var(--clay); }
.dy-cfg-brief-acties { display: flex; flex-direction: column; gap: 6px; }

/* AI model algemeen */
.dy-cfg-model-loading { text-align: center; padding: 12px 0; }
.dy-cfg-model-dots { display: flex; justify-content: center; gap: 5px; margin-bottom: 8px; }
.dy-cfg-model-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); animation: cfgTypingPulse 1.2s ease-in-out infinite; }
.dy-cfg-model-dots span:nth-child(2) { animation-delay: 0.2s; }
.dy-cfg-model-dots span:nth-child(3) { animation-delay: 0.4s; }
.dy-cfg-model-fout { font-size: 11px; color: rgba(252,248,239,0.5); text-align: center; padding: 10px 0; }

/* ── INLINE MATEN FORMULIER ── */
.dy-cfg-maten-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
}

.dy-cfg-maten-form-titel {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.dy-cfg-maten-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dy-cfg-maat-veld {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dy-cfg-maat-label {
  font-size: 10px;
  color: var(--ink-muted);
  font-family: 'DM Sans', sans-serif;
}

.dy-cfg-maat-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--warm);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
  -moz-appearance: textfield;
}

.dy-cfg-maat-input::-webkit-outer-spin-button,
.dy-cfg-maat-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.dy-cfg-maat-input:focus {
  border-color: var(--clay);
  background: var(--white);
}

.dy-cfg-maten-opmerking {
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ── ADMIN PATROON SECTIE ── */
.dy-cfg-admin-blok {
  margin: 12px 0;
  padding: 14px;
  background: #1a1a2e;
  border-radius: var(--radius);
  border: 1px solid rgba(198,125,6,0.4);
}

.dy-cfg-admin-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a2e;
  background: #c67d06;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}

.dy-cfg-admin-titel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #fcf8ef;
  margin-bottom: 4px;
}

.dy-cfg-admin-sub {
  font-size: 11px;
  color: rgba(252,248,239,0.5);
  line-height: 1.5;
  margin-bottom: 10px;
}

.dy-cfg-admin-patroon-preview {
  background: white;
  border-radius: 4px;
  overflow: auto;
  max-height: 400px;
  margin-bottom: 8px;
  border: 1px solid rgba(198,125,6,0.2);
}

.dy-cfg-admin-patroon-preview svg {
  width: 100%;
  height: auto;
}
