/* ==========================================================================
   Kantoorgekkies.nl — hoofdstijl
   Neo-brutalistisch, oranje/bier-geel, dikke randen en harde schaduwen.
   ========================================================================== */

:root {
  --paper: #fff6e6;
  --paper-2: #ffeccc;
  --card: #ffffff;
  --ink: #17130e;
  --ink-soft: #5b5246;
  --line: #17130e;
  --shadow-c: #17130e;
  --oranje: #ff6a13;
  --oranje-d: #e0540a;
  --bier: #ffc21a;
  --schuim: #fffdf4;
  --blauw: #2f5bff;
  --roze: #ff5ea8;
  --groen: #14b86a;
  --paars: #8b5cf6;
  --rood: #ef3b2d;
  --focus: #2f5bff;

  --radius: 16px;
  --radius-s: 10px;
  --bw: 2.5px;
  --sh: 4px 4px 0 var(--shadow-c);
  --sh-l: 6px 6px 0 var(--shadow-c);
  --sh-s: 2px 2px 0 var(--shadow-c);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-meme: "Anton", Impact, "Arial Narrow Bold", sans-serif;

  --maxw: 1240px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15120e;
    --paper-2: #211c15;
    --card: #1e1a14;
    --ink: #f6eedf;
    --ink-soft: #b9ad99;
    --line: #f6eedf;
    --shadow-c: #000000;
    --schuim: #2a241b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15120e;
  --paper-2: #211c15;
  --card: #1e1a14;
  --ink: #f6eedf;
  --ink-soft: #b9ad99;
  --line: #f6eedf;
  --shadow-c: #000000;
  --schuim: #2a241b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bier); color: #17130e; padding: 10px 14px; border: var(--bw) solid #17130e; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* ---------- Header ---------- */
/* De wrapper is sticky; .site-header zelf zou binnen de even hoge wrapper niet kunnen plakken */
#kg-header { min-height: calc(var(--header-h) + var(--bw)); position: sticky; top: 0; z-index: 50; }
.site-header {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: var(--bw) solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; transform: rotate(-6deg); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.logo:hover .logo-mark { transform: rotate(8deg) scale(1.08); }
.logo-text { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; }
.logo-text b { color: var(--oranje); }
.logo-text small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.main-nav { display: none; gap: 4px; margin-left: 8px; }
.main-nav a {
  text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px;
  border: var(--bw) solid transparent; transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--paper-2); }
.main-nav a[aria-current="page"] { background: var(--bier); color: #17130e; border-color: var(--line); box-shadow: var(--sh-s); }
@media (min-width: 960px) { .main-nav { display: flex; } }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bier-pill {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--bier); color: #17130e; font-weight: 800; font-size: .92rem;
  padding: 7px 12px; border: var(--bw) solid var(--line); border-radius: 999px; box-shadow: var(--sh-s);
  font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.bier-pill:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--shadow-c); }
.bier-pill .pill-emoji { font-size: 1.1rem; display: inline-block; }
.bier-pill.is-nu { background: var(--groen); color: #fff; }
.bier-pill.is-nu .pill-emoji { animation: proost 1s ease-in-out infinite; }
@keyframes proost { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }
.bier-pill .pill-label { display: none; }
@media (min-width: 560px) { .bier-pill .pill-label { display: inline; } }

.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: var(--bw) solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--sh-s);
  transition: transform .15s;
}
.icon-btn:hover { transform: translate(-1px,-1px); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Bottom tab bar (mobiel) ---------- */
.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border: var(--bw) solid var(--line); border-radius: 20px; box-shadow: var(--sh);
  padding: 6px;
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 1px; text-decoration: none;
  font-size: .68rem; font-weight: 700; padding: 6px 2px; border-radius: 14px; color: var(--ink-soft);
}
.tabbar a span { font-size: 1.35rem; line-height: 1; }
.tabbar a[aria-current="page"] { background: var(--bier); color: #17130e; }
body { padding-bottom: 96px; }
@media (min-width: 960px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap;
  border-bottom: var(--bw) solid var(--line); font-weight: 700; font-size: .9rem;
}
.ticker-track { display: inline-flex; gap: 40px; padding: 8px 0; animation: tick 45s linear infinite; }
.ticker-track span { display: inline-flex; gap: 8px; align-items: center; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Buttons, chips, cards ---------- */
.btn {
  --b: var(--card); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.1;
  padding: 12px 18px; border: var(--bw) solid var(--line); border-radius: 14px;
  background: var(--b); color: var(--c); box-shadow: var(--sh);
  transition: transform .12s, box-shadow .12s, background .15s;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: var(--sh-l); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--shadow-c); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-oranje { --b: var(--oranje); --c: #fff; }
.btn-bier { --b: var(--bier); --c: #17130e; }
.btn-blauw { --b: var(--blauw); --c: #fff; }
.btn-groen { --b: var(--groen); --c: #fff; }
.btn-roze { --b: var(--roze); --c: #17130e; }
.btn-sm { padding: 8px 12px; font-size: .9rem; border-radius: 11px; box-shadow: var(--sh-s); }
.btn-sm:hover { box-shadow: 3px 3px 0 var(--shadow-c); }
.btn-lg { padding: 16px 24px; font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 13px; font-weight: 700; font-size: .92rem;
  border: var(--bw) solid var(--line); border-radius: 999px; background: var(--card);
  transition: background .15s, transform .12s;
}
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 800;
  padding: 3px 9px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper-2);
  text-transform: uppercase; letter-spacing: .04em;
}

.card {
  background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh);
}
.card-pad { padding: 20px; }
@media (min-width: 720px) { .card-pad { padding: 26px; } }

.sticker {
  display: inline-block; background: var(--roze); color: #17130e; font-weight: 800;
  padding: 4px 12px; border: var(--bw) solid var(--line); border-radius: 10px; box-shadow: var(--sh-s);
  transform: rotate(-3deg); font-size: .9rem;
}
.sticker.bier { background: var(--bier); }
.sticker.blauw { background: var(--blauw); color: #fff; }
.sticker.groen { background: var(--groen); color: #fff; }

.muted { color: var(--ink-soft); }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--oranje); margin-bottom: 8px; display: block; }

input[type="text"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; border: var(--bw) solid var(--line); border-radius: 12px;
  background: var(--card); font-size: 1rem; box-shadow: inset 2px 2px 0 color-mix(in srgb, var(--ink) 10%, transparent);
}
textarea { resize: vertical; min-height: 110px; }
label.lbl { display: block; font-weight: 800; margin-bottom: 6px; font-size: .95rem; }
input[type="range"] { width: 100%; accent-color: var(--oranje); height: 28px; }

/* ---------- Home hero ---------- */
.hero { padding: 28px 0 10px; }
.hero-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 28px; } }
.hero-title { font-size: clamp(2.3rem, 6.4vw, 4.6rem); margin: 10px 0 14px; }
.hero-title .hl { background: var(--bier); padding: 0 .12em; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; color: #17130e; }
.hero-title .wiggle { display: inline-block; animation: wiggle 2.8s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes wiggle { 0%,86%,100% { transform: rotate(0); } 89% { transform: rotate(-8deg); } 93% { transform: rotate(7deg); } 97% { transform: rotate(-3deg); } }
.hero-sub { font-size: 1.15rem; max-width: 36ch; color: var(--ink-soft); }

.search-big { position: relative; margin: 18px 0 14px; max-width: 560px; }
.search-big input {
  padding: 16px 18px 16px 52px; font-size: 1.1rem; border-radius: 16px; box-shadow: var(--sh);
}
.search-big svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; pointer-events: none; }
.search-big kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; font-weight: 700; padding: 2px 7px; border: 2px solid var(--line); border-radius: 6px; background: var(--paper-2); box-shadow: 1px 1px 0 var(--shadow-c); }

.quick-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Bier-widget op home */
.bier-widget {
  position: relative; overflow: hidden;
  background: var(--bier); color: #17130e;
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
}
.bier-widget > div:first-child { min-width: 0; }
.bier-widget h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 6px; }
.bier-widget .big-answer { font-family: var(--f-meme); font-size: clamp(2.6rem, 6.5vw, 4.6rem); white-space: nowrap; line-height: .9; letter-spacing: .01em; margin: 6px 0; }
.bier-widget .big-answer.long { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.bier-widget .countdown-mini { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.bier-widget .btn { margin-top: 12px; }
.bier-widget .glass-mini { width: 110px; }
@media (min-width: 900px) { .bier-widget .glass-mini { width: 140px; } }

/* ---------- Sectiekoppen ---------- */
.section { padding: 30px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 800; }

/* ---------- Feed layout ---------- */
.feed-layout { display: grid; gap: 24px; }
@media (min-width: 1020px) { .feed-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; } }
.sidebar { display: grid; gap: 20px; align-content: start; align-self: start; } /* align-self: anders rekt hij op tot de feedhoogte en kan hij niet plakken */
@media (min-width: 1020px) { .sidebar { position: sticky; top: calc(var(--header-h) + 18px); } }

.feed-controls {
  position: relative; z-index: 20;
  background: var(--paper);
  padding: 12px 10px; margin: 0 -14px 10px; display: grid; gap: 10px;
  border-bottom: var(--bw) solid transparent; transition: border-color .15s, box-shadow .15s, transform .25s ease, opacity .2s;
}
.feed-controls.is-hidden { transform: translateY(calc(-100% - 6px)); opacity: 0; pointer-events: none; }
@media (min-width: 720px) {
  .feed-controls { position: sticky; top: calc(var(--header-h) + var(--bw)); }
  .feed-controls.is-stuck { padding-top: 8px; padding-bottom: 8px; gap: 8px; border-bottom-color: var(--line); box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--ink) 8%, transparent); }
}
.sort-tabs { display: inline-flex; background: var(--card); border: var(--bw) solid var(--line); border-radius: 14px; padding: 4px; box-shadow: var(--sh-s); gap: 2px; }
.sort-tabs button { border: 0; background: transparent; font-weight: 800; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.sort-tabs button[aria-selected="true"] { background: var(--oranje); color: #fff; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 4px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { scroll-snap-align: start; }
.controls-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 4px; }
.feed-search { position: relative; flex: 1 1 220px; max-width: 360px; }
.feed-search input { padding: 10px 12px 10px 40px; border-radius: 12px; }
.feed-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; }

.feed { display: grid; gap: 22px; }
@media (min-width: 720px) and (max-width: 1019px) { .feed { grid-template-columns: 1fr 1fr; } }
.feed-empty { text-align: center; padding: 40px 20px; }
.feed-empty .big { font-size: 4rem; }
.feed-sentinel { height: 1px; }
.feed-more { display: flex; justify-content: center; padding: 18px 0; }

/* ---------- Meme card ---------- */
.meme {
  background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 150px);
  animation: popin .35s cubic-bezier(.2,1.3,.5,1) both;
}
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.meme.is-highlight { box-shadow: 0 0 0 5px var(--bier), var(--sh-l); }
.meme-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.meme-head h3 { font-size: 1.08rem; margin: 0; flex: 1; line-height: 1.2; }
.meme-head h3 a { text-decoration: none; }
.meme-head h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.meme-meta { font-size: .8rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.meme-visual { border-top: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); position: relative; }
.meme-actions { display: flex; gap: 8px; padding: 10px 12px; align-items: center; flex-wrap: wrap; }
.meme-actions .spacer { flex: 1; }
.lach-btn {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-variant-numeric: tabular-nums;
  padding: 8px 13px; border: var(--bw) solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--sh-s);
  transition: transform .12s, background .15s;
}
.lach-btn .e { font-size: 1.2rem; transition: transform .3s cubic-bezier(.3,2,.5,1); }
.lach-btn[aria-pressed="true"] { background: var(--bier); color: #17130e; }
.lach-btn[aria-pressed="true"] .e { transform: scale(1.25) rotate(-10deg); }
.lach-btn:active { transform: scale(.95); }
.act-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: var(--bw) solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--sh-s);
  transition: transform .12s;
}
.act-btn:hover { transform: translate(-1px,-1px); }
.act-btn svg { width: 19px; height: 19px; }
.act-btn.wa { background: #25d366; color: #0b2e18; }

/* Meme van de dag */
.motd-bar { background: var(--bier); color: #17130e; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; text-align: center; padding: 6px; border-bottom: var(--bw) solid var(--line); }

/* ----- Meme visuals: klassiek ----- */
.mv { position: relative; overflow: hidden; }
.mv-klassiek {
  aspect-ratio: 1 / 1; display: grid; grid-template-rows: auto 1fr auto; text-align: center; padding: 16px 14px;
  color: #fff;
}
/* Vierkant en gecentreerd, nooit hoger dan wat onder de header past.
   De kaart blijft vol breed: ernaast staat een wazige, uitvergrote kopie van de meme. */
.mv-kwrap { --kmax: clamp(300px, calc(100vh - 230px), 560px); position: relative; overflow: hidden; display: grid; place-items: center; container-type: inline-size; isolation: isolate; }
.mv-kwrap .mv-klassiek { position: relative; z-index: 1; width: min(100%, var(--kmax)); box-shadow: 0 0 40px rgba(0,0,0,.35); }
.mv-blur { position: absolute; inset: -15%; z-index: 0; display: grid; place-items: center; font-size: 22rem; font-size: 62cqw; line-height: 1; filter: blur(34px) saturate(1.4); opacity: .85; pointer-events: none; }
.mv-kwrap::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.08) 50%, rgba(0,0,0,.28)); pointer-events: none; }
.mv-cap {
  font-family: var(--f-meme); text-transform: uppercase; font-size: clamp(1.45rem, 4.8vw, 2.25rem); line-height: 1.05; letter-spacing: .01em;
  -webkit-text-stroke: 2px #000; paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  overflow-wrap: anywhere; position: relative; z-index: 2;
}
.feed .mv-cap { font-size: clamp(1.35rem, 3.6vw, 2rem); }
.mv-emoji { display: grid; place-items: center; font-size: clamp(4.5rem, min(20vw, 16vh), 9rem); line-height: 1; filter: drop-shadow(4px 6px 0 rgba(0,0,0,.25)); position: relative; z-index: 1; }
.mv-emoji span { display: inline-block; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.mv-klassiek::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }

.bg-oranje { background: linear-gradient(145deg, #ff8a3d, #ff4d00); }
.bg-bier { background: linear-gradient(160deg, #ffd24d, #f59e0b); }
.bg-blauw { background: linear-gradient(150deg, #5b7cff, #2438c7); }
.bg-roze { background: linear-gradient(150deg, #ff85c0, #e0307d); }
.bg-groen { background: linear-gradient(150deg, #34d399, #0f8a55); }
.bg-paars { background: linear-gradient(150deg, #a78bfa, #6d28d9); }
.bg-nacht { background: linear-gradient(160deg, #334155, #0f172a); }
.bg-rood { background: linear-gradient(150deg, #ff6b5b, #c81e12); }
.bg-delfts { background: #f5f7ff; background-image: radial-gradient(#2f5bff 1.2px, transparent 1.5px), radial-gradient(#2f5bff 1.2px, transparent 1.5px); background-size: 26px 26px; background-position: 0 0, 13px 13px; }
.bg-delfts .mv-cap { color: #fff; }
.bg-regen { background: linear-gradient(180deg, #94a3b8, #475569); }

/* ----- drake ----- */
.mv-drake { display: grid; grid-template-columns: 38% 1fr; }
.mv-drake > div { display: grid; place-items: center; padding: 16px; min-height: 150px; }
.mv-drake .d-e { font-size: clamp(3.4rem, 10vw, 5rem); border-right: var(--bw) solid var(--line); }
.mv-drake .d-e.nee { background: #ffb4a8; }
.mv-drake .d-e.ja { background: #b6f0cf; border-top: var(--bw) solid var(--line); }
.mv-drake .d-t { font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.2; text-align: left; justify-items: start; background: #fff; color: #17130e; }
.mv-drake .d-t.ja { border-top: var(--bw) solid var(--line); background: #fffdf0; }
.mv-drake .d-t small { display: block; font-size: .7rem; letter-spacing: .12em; font-weight: 800; margin-bottom: 4px; opacity: .55; }

/* ----- verwachting vs werkelijkheid ----- */
.mv-vw { display: grid; grid-template-columns: 1fr 1fr; }
.mv-vw > div { padding: 16px 14px 18px; text-align: center; display: grid; align-content: start; gap: 8px; color: #17130e; }
.mv-vw .vw-a { background: #dff3ff; border-right: var(--bw) solid var(--line); }
.mv-vw .vw-b { background: #ffe1d1; }
.mv-vw h4 { font-family: var(--f-meme); font-weight: 400; font-size: 1.15rem; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.mv-vw .vw-e { font-size: clamp(3.6rem, 12vw, 5.5rem); line-height: 1.1; }
.mv-vw p { font-weight: 700; margin: 0; line-height: 1.3; font-size: .98rem; }
.mv-vw .vw-b .vw-e { transform: rotate(-6deg); }

/* ----- chat ----- */
.mv-chat { background: #efe6d6; background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1.5px); background-size: 16px 16px; color: #17130e; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #1f3b2d; color: #fff; }
.chat-top .av { width: 36px; height: 36px; border-radius: 50%; background: #ffc21a; display: grid; place-items: center; font-size: 1.1rem; }
.chat-top b { display: block; line-height: 1.1; }
.chat-top small { opacity: .75; font-size: .75rem; }
.chat-body { padding: 14px; display: grid; gap: 8px; }
.bub { max-width: 82%; padding: 8px 11px 6px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.15); line-height: 1.35; font-size: .98rem; position: relative; animation: bubin .4s both; }
.bub:nth-child(2) { animation-delay: .08s; } .bub:nth-child(3) { animation-delay: .16s; } .bub:nth-child(4) { animation-delay: .24s; } .bub:nth-child(5) { animation-delay: .32s; } .bub:nth-child(6) { animation-delay: .4s; }
@keyframes bubin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bub .who { display: block; font-size: .78rem; font-weight: 800; margin-bottom: 1px; }
.bub .t { float: right; font-size: .68rem; opacity: .55; margin: 7px 0 -3px 12px; line-height: 1; }
.bub::after { content: ""; display: block; clear: both; }
.bub.me { justify-self: end; background: #ffe9a8; border-bottom-right-radius: 4px; }
.bub:not(.me) { border-bottom-left-radius: 4px; }
.bub.sys { justify-self: center; background: #fff7df; font-size: .8rem; font-style: italic; padding: 5px 10px; max-width: 95%; text-align: center; }
.w1 { color: #d9480f; } .w2 { color: #1864ab; } .w3 { color: #2b8a3e; } .w4 { color: #9c36b5; } .w5 { color: #c2255c; }

/* ----- post (tweet-achtig) ----- */
.mv-post { padding: 18px; background: var(--card); }
.post-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.post-head .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; border: 2px solid var(--line); background: var(--paper-2); }
.post-head b { display: block; line-height: 1.1; }
.post-head small { color: var(--ink-soft); }
.post-text { font-size: clamp(1.12rem, 2.6vw, 1.32rem); line-height: 1.4; font-weight: 600; margin: 0 0 12px; white-space: pre-line; }
.post-foot { display: flex; gap: 18px; color: var(--ink-soft); font-size: .86rem; font-weight: 600; border-top: 1.5px solid color-mix(in srgb, var(--ink) 15%, transparent); padding-top: 10px; flex-wrap: wrap; }

/* ----- meter / stadia ----- */
.mv-meter { display: grid; }
.mv-meter .m-row { display: grid; grid-template-columns: 1fr 34%; align-items: stretch; min-height: 64px; }
.mv-meter .m-row + .m-row { border-top: var(--bw) solid var(--line); }
.mv-meter .m-t { padding: 12px 14px; font-weight: 800; display: flex; align-items: center; font-size: clamp(1rem, 2.4vw, 1.18rem); line-height: 1.25; background: #fff; color: #17130e; }
.mv-meter .m-e { display: grid; place-items: center; font-size: clamp(2.2rem, 7vw, 3.1rem); border-left: var(--bw) solid var(--line); }
.mv-meter .lvl0 .m-e { background: #fff3c4; }
.mv-meter .lvl1 .m-e { background: #ffd98a; }
.mv-meter .lvl2 .m-e { background: #ffb04d; }
.mv-meter .lvl3 .m-e { background: #ff7a1a; }
.mv-meter .lvl4 .m-e { background: #ef3b2d; }
.mv-meter .lvl3 .m-e span, .mv-meter .lvl4 .m-e span { animation: shake .5s ease-in-out infinite; display: inline-block; }
@keyframes shake { 0%,100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-2px) rotate(-4deg); } 75% { transform: translateX(2px) rotate(4deg); } }
.mv-meter .m-title { padding: 10px 14px; font-family: var(--f-meme); letter-spacing: .04em; text-transform: uppercase; font-size: 1.2rem; background: var(--ink); color: var(--paper); }

/* ---------- Sidebar widgets ---------- */
.widget h3 { display: flex; align-items: center; gap: 8px; }
.top-list { list-style: none; margin: 0; padding: 0; counter-reset: top; display: grid; gap: 4px; }
.top-list li { counter-increment: top; }
.top-list a { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; text-decoration: none; padding: 8px 6px; border-radius: 10px; font-weight: 700; line-height: 1.25; font-size: .95rem; }
.top-list a:hover { background: var(--paper-2); }
.top-list a::before { content: counter(top); font-family: var(--f-meme); font-size: 1.5rem; color: var(--oranje); text-align: center; }
.top-list .n { font-size: .8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.mini-games { display: grid; gap: 10px; }
.mini-game { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 10px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper-2); font-weight: 800; transition: transform .12s; line-height: 1.2; }
.mini-game:hover { transform: translateX(3px); }
.mini-game .e { font-size: 1.7rem; width: 44px; height: 44px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 10px; flex-shrink: 0; }
.mini-game small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .8rem; }

/* ---------- Game grid ---------- */
.game-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.game-card { text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.game-card:hover { transform: translate(-3px,-3px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--shadow-c); }
.game-card .gc-art { aspect-ratio: 16/10; display: grid; place-items: center; font-size: 4.6rem; border-bottom: var(--bw) solid var(--line); position: relative; }
.game-card .gc-art span { transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
.game-card:hover .gc-art span { transform: scale(1.15) rotate(-8deg); }
.game-card .gc-body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; align-content: start; }
.game-card h3 { margin: 0; }
.game-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.game-card .gc-badge { position: absolute; top: 12px; right: 12px; font-size: .78rem; }

/* ---------- Page hero (subpagina's) ---------- */
.page-hero { padding: 30px 0 8px; }
.page-hero h1 { margin-top: 8px; }
.page-hero p { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.crumbs { font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.game-shell { display: grid; gap: 22px; }
@media (min-width: 980px) { .game-shell.two { grid-template-columns: minmax(0, 1fr) 320px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 50px; border-top: var(--bw) solid var(--line); background: var(--ink); color: var(--paper); padding: 40px 0 30px; }
.site-footer a { color: var(--paper); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-grid h4 { font-size: 1rem; margin-bottom: 10px; color: var(--bier); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; font-size: .86rem; opacity: .8; }
.site-footer .logo-text small { color: rgba(255,255,255,.6); }
.nix { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; background: #fff; color: #17130e; padding: 4px 10px; border-radius: 8px; font-size: .8rem; }
:root[data-theme="dark"] .site-footer, :root[data-theme="dark"] .ticker { background: #0b0906; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer, :root:not([data-theme="light"]) .ticker { background: #0b0906; } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
@media (min-width: 960px) { .toast-wrap { bottom: 28px; } }
.toast { background: var(--ink); color: var(--paper); font-weight: 800; padding: 11px 16px; border-radius: 12px; border: var(--bw) solid var(--line); box-shadow: var(--sh); animation: toast 2.4s ease both; text-align: center; }
@keyframes toast { 0% { opacity: 0; transform: translateY(12px) scale(.96); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

/* Confetti canvas */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 95; width: 100vw; height: 100vh; }

/* ---------- Diversen ---------- */
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stack { display: grid; gap: 14px; align-content: start; }
.center { text-align: center; }
.hide { display: none !important; }
.divider-wave { height: 18px; background: radial-gradient(circle at 10px -4px, transparent 12px, var(--oranje) 13px) 0 0 / 20px 18px repeat-x; margin: 10px 0; opacity: .9; }
.cta-band { background: var(--oranje); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .btn { --b: #fff; --c: #17130e; }
.faq details { border: var(--bw) solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 16px; }
.faq details + details { margin-top: 10px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-soft); }

/* ==========================================================================
   Spel: Is het al tijd voor bier?
   ========================================================================== */
.bier-stage {
  display: grid; gap: 10px 24px; padding: 22px; overflow: hidden; position: relative;
  background: var(--card);
  background-image: radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--bier) 45%, transparent), transparent 55%);
}
@media (min-width: 720px) { .bier-stage { grid-template-columns: 1fr 230px; padding: 34px; } }
.bier-q { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0; }
.bier-big {
  font-family: var(--f-meme); font-size: clamp(5rem, 17vw, 10rem); line-height: .9; margin: 14px 0 8px; letter-spacing: .01em;
  color: var(--rood); -webkit-text-stroke: 3px var(--line); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--shadow-c);
  overflow-wrap: anywhere;
}
.bier-big.long { font-size: clamp(3.4rem, 9.5vw, 6.2rem); }
.bier-big[data-state="ja"] { color: var(--groen); animation: jump .9s cubic-bezier(.3,1.8,.5,1) infinite alternate; transform-origin: 20% 90%; }
.bier-big[data-state="bijna"] { color: var(--bier); }
@keyframes jump { from { transform: rotate(-2deg) scale(1); } to { transform: rotate(2deg) scale(1.04); } }
.bier-sub { font-size: 1.2rem; font-weight: 700; max-width: 34ch; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.countdown > div { background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 6px 8px; text-align: center; box-shadow: var(--sh-s); border: var(--bw) solid var(--line); }
.countdown b { display: block; font-family: var(--f-meme); font-weight: 400; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.bier-stage-glass { display: grid; justify-items: center; align-content: center; gap: 10px; }
.glass-big { width: min(200px, 55vw); filter: drop-shadow(6px 6px 0 var(--shadow-c)); }
.glass-meter { font-weight: 700; text-align: center; }
.glass-meter b { font-family: var(--f-meme); font-weight: 400; font-size: 1.6rem; color: var(--oranje); display: block; line-height: 1; }
.bier-line { grid-column: 1 / -1; margin: 6px 0 0; padding: 12px 14px; background: var(--paper-2); border: 2px dashed var(--line); border-radius: 12px; font-weight: 700; text-align: center; }

/* ==========================================================================
   Spel: Vergaderbingo
   ========================================================================== */
.bingo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.bingo-title { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; flex: 1; max-width: 360px; }
.bingo-title span { font-family: var(--f-meme); font-size: 2rem; text-align: center; background: var(--blauw); color: #fff; border: var(--bw) solid var(--line); border-radius: 10px; line-height: 1.3; }
.bingo-title span:nth-child(2) { background: var(--oranje); } .bingo-title span:nth-child(3) { background: var(--bier); color: #17130e; }
.bingo-title span:nth-child(4) { background: var(--roze); color: #17130e; } .bingo-title span:nth-child(5) { background: var(--groen); }
.bingo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 720px) { .bingo { gap: 10px; } }
.bingo-cell {
  aspect-ratio: 1 / 1; border: var(--bw) solid var(--line); border-radius: 10px; background: var(--card);
  font-weight: 700; font-size: clamp(.58rem, 1.9vw, .92rem); line-height: 1.15; padding: 4px; overflow-wrap: anywhere; hyphens: auto;
  position: relative; transition: transform .12s, background .15s; box-shadow: var(--sh-s);
}
.bingo-cell:hover { transform: translateY(-2px); }
.bingo-cell.on { background: var(--bier); color: #17130e; }
.bingo-cell.on::after {
  content: ""; position: absolute; inset: 12%; border: 4px solid var(--rood); border-radius: 50%; transform: rotate(-12deg);
  animation: stamp .25s cubic-bezier(.3,1.8,.5,1) both; opacity: .85;
}
@keyframes stamp { from { transform: scale(1.8) rotate(-30deg); opacity: 0; } }
.bingo-cell.free { background: var(--ink); color: var(--paper); }
.bingo-cell.free::after { display: none; }
.bingo.win { animation: winshake .6s; }
@keyframes winshake { 20% { transform: rotate(-1.5deg) scale(1.02); } 40% { transform: rotate(1.5deg); } 60% { transform: rotate(-1deg); } 80% { transform: rotate(.5deg); } }
.bingo-status { font-weight: 800; min-height: 1.5em; margin: 16px 0; font-size: 1.05rem; }

/* ==========================================================================
   Spel: Wie haalt de koffie?
   ========================================================================== */
.rad-stage { display: grid; gap: 18px; }
.rad-wrap { position: relative; width: min(460px, 100%); margin: 0 auto; }
.rad-wrap canvas { width: 100%; aspect-ratio: 1 / 1; cursor: pointer; filter: drop-shadow(5px 6px 0 var(--shadow-c)); }
.rad-pointer {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%); z-index: 2;
  width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid var(--ink);
  filter: drop-shadow(0 2px 0 var(--paper));
}
.rad-wrap.tick .rad-pointer { animation: flick .12s; }
@keyframes flick { 50% { transform: translateX(-50%) rotate(-14deg); } }
.rad-result { text-align: center; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .4s cubic-bezier(.3,1.8,.5,1); min-height: 20px; }
.rad-result.show { opacity: 1; transform: none; }
.rad-winner { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.rad-winner b { background: var(--bier); color: #17130e; padding: 0 .2em; border-radius: 8px; border: var(--bw) solid var(--line); }

/* ==========================================================================
   Spel: Smoesjesgenerator
   ========================================================================== */
.smoes-card { background: var(--card); }
.smoes-text {
  margin: 0; padding: 22px 22px 22px 58px; position: relative; min-height: 130px; display: flex; align-items: center;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem); font-weight: 800; line-height: 1.3;
  background: var(--paper-2); border: var(--bw) solid var(--line); border-radius: 16px;
}
.smoes-text::before { content: "“"; position: absolute; left: 14px; top: -4px; font-family: var(--f-meme); font-size: 5rem; color: var(--paars); line-height: 1; }
.smoes-text.in { animation: popin .4s cubic-bezier(.2,1.3,.5,1); }
.smoes-meter { height: 20px; border: var(--bw) solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.smoes-meter span { display: block; height: 100%; width: var(--g, 50%); background: linear-gradient(90deg, var(--rood), var(--bier), var(--groen)); background-size: 460px 100%; transition: width .6s cubic-bezier(.3,1.4,.5,1); border-right: var(--bw) solid var(--line); }

/* ==========================================================================
   Spel: Doe alsof je werkt
   ========================================================================== */
.daw { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; }
.daw-hud { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: var(--bw) solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.daw-hud b { font-family: var(--f-meme); font-weight: 400; font-size: 1.4rem; }
.daw-office {
  position: relative; display: grid; grid-template-columns: 30% 1fr; gap: 16px; align-items: end; padding: 20px 16px 26px; min-height: 300px;
  background: linear-gradient(180deg, #e9dcc5 0 70%, #b88a5a 70% 100%);
}
:root[data-theme="dark"] .daw-office { background: linear-gradient(180deg, #3b3226 0 70%, #5c4127 70% 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .daw-office { background: linear-gradient(180deg, #3b3226 0 70%, #5c4127 70% 100%); } }
.daw-door { position: relative; height: 240px; border: var(--bw) solid #17130e; border-bottom: 0; background: #2a1f14; border-radius: 6px 6px 0 0; overflow: hidden; }
.daw-door-panel { position: absolute; inset: 0; background: #a0673a; border-right: 3px solid #17130e; transform-origin: left; transition: transform .25s; z-index: 2; background-image: linear-gradient(#0000 0 12%, #0002 12% 13%, #0000 13% 87%, #0002 87% 88%, #0000 88%); }
.daw-door-panel .knob { position: absolute; right: 12%; top: 52%; width: 14px; height: 14px; border-radius: 50%; background: var(--bier); border: 2px solid #17130e; }
.daw.warn .daw-door-panel { animation: rattle .18s infinite; }
@keyframes rattle { 50% { transform: perspective(300px) rotateY(-8deg); } }
.daw.open .daw-door-panel { transform: perspective(300px) rotateY(-70deg); animation: none; }
.daw-visitor { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 110%); font-size: 5.5rem; line-height: 1; z-index: 1; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.daw-visitor.in { transform: translate(-50%, 8%); }
.daw-monitor { position: relative; height: 210px; border: 5px solid #17130e; border-radius: 14px; background: #fff; box-shadow: var(--sh); overflow: hidden; }
.daw-monitor::after { content: ""; position: absolute; left: 50%; bottom: -30px; width: 60px; height: 26px; transform: translateX(-50%); background: #17130e; }
.daw-screen { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; color: #17130e; transition: opacity .08s; }
.daw-screen.chill { opacity: 0; background: #fff0f7; }
.daw.chill .daw-screen.chill { opacity: 1; }
.xl-bar { background: #1d7a46; color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-grid { display: grid; grid-template-columns: 1.2fr 1fr .6fr; font-size: .82rem; font-variant-numeric: tabular-nums; }
.xl-grid span { border-right: 1px solid #cfd8dc; border-bottom: 1px solid #cfd8dc; padding: 5px 8px; white-space: nowrap; overflow: hidden; }
.xl-grid span:nth-child(3n+1) { font-weight: 700; background: #f3f6f4; }
.daw-feed { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; padding: 10px; font-size: 2.2rem; overflow: hidden; }
.daw-feed span { animation: popin .3s cubic-bezier(.2,1.6,.5,1); }
.daw-warn { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); font-weight: 800; font-size: 1.1rem; background: var(--card); border: var(--bw) solid var(--line); padding: 4px 12px; border-radius: 10px; white-space: nowrap; z-index: 3; }
.daw-warn:empty { display: none; }
.daw.warn .daw-warn { background: var(--bier); color: #17130e; animation: shake .3s infinite; }
.daw.look .daw-warn { background: var(--rood); color: #fff; }
.daw.caught .daw-office { filter: grayscale(.6); }
.daw-overlay { position: absolute; inset: 0; top: 56px; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(3px); z-index: 5; padding: 20px; text-align: center; }
.daw-over-e { font-size: 4rem; line-height: 1; }
.daw-over h2 { font-family: var(--f-meme); font-weight: 400; font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 6px 0; letter-spacing: .02em; }
.daw-quote { font-weight: 800; font-size: 1.15rem; font-style: italic; }
.daw-hold { width: 100%; padding: 22px; font-size: 1.25rem; touch-action: none; -webkit-touch-callout: none; }
.daw-hold[aria-pressed="true"] { transform: translate(4px,4px); box-shadow: 0 0 0 var(--shadow-c); background: var(--bier); }
@media (max-width: 520px) { .daw-office { grid-template-columns: 34% 1fr; min-height: 250px; } .daw-door { height: 190px; } .daw-monitor { height: 170px; } .daw-visitor { font-size: 4.2rem; } }

/* ==========================================================================
   WC-verdiener + Vergadermeter
   ========================================================================== */
.wc-result { background: var(--groen); color: #fff; }
.wc-big { font-family: var(--f-meme); font-size: clamp(3.2rem, 9vw, 5rem); line-height: 1; margin: 4px 0 14px; -webkit-text-stroke: 2px #17130e; paint-order: stroke fill; text-shadow: 4px 4px 0 #17130e; font-variant-numeric: tabular-nums; }
.wc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wc-stats > div { background: rgba(0,0,0,.18); border-radius: 12px; padding: 10px; border: 2px solid rgba(0,0,0,.25); }
.wc-stats b { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.wc-stats span { font-size: .78rem; opacity: .9; }
.wc-dingen { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; font-weight: 700; }
.wc-live { font-family: var(--f-meme); font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.wc-live small { display: block; font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: var(--ink-soft); margin-top: 6px; }
.vm-stage { text-align: center; display: grid; justify-items: center; gap: 6px; padding-top: 34px; padding-bottom: 34px; }
.vm-big { font-family: var(--f-meme); font-size: clamp(3.6rem, 13vw, 7.5rem); line-height: 1; color: var(--rood); -webkit-text-stroke: 3px var(--line); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--shadow-c); font-variant-numeric: tabular-nums; }
.vm-time { font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.vm-msg { min-height: 1.6em; font-weight: 700; font-size: 1.1rem; margin: 10px 0 16px; }
.vm-msg.in { animation: popin .4s cubic-bezier(.2,1.3,.5,1); }

/* ==========================================================================
   Playlists
   ========================================================================== */
.pl-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.pl-card { overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.pl-cover { display: flex; gap: 16px; align-items: center; padding: 20px; border-bottom: var(--bw) solid var(--line); position: relative; overflow: hidden; }
.pl-cover::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(0,0,0,.12) 0 2px, transparent 2px 7px); }
.pl-e { font-size: 3.4rem; width: 84px; height: 84px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255,255,255,.35); border: var(--bw) solid #17130e; border-radius: 18px; box-shadow: 3px 3px 0 #17130e; transform: rotate(-4deg); }
.pl-cover h2 { font-size: 1.55rem; margin: 2px 0 4px; }
.pl-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.pl-count { font-size: .85rem; font-weight: 700; opacity: .9; }
.pl-body { padding: 16px 18px 18px; }
.pl-body > p { margin-bottom: 10px; font-size: .96rem; }
.pl-embed { width: 100%; height: 352px; border: 0; border-radius: 12px; margin-bottom: 12px; }
.pl-tracks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; }
.pl-tracks li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; align-items: center; padding: 7px 4px; border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.pl-tracks li.extra { display: none; }
.pl-card.open .pl-tracks li.extra { display: grid; }
.pl-n { font-family: var(--f-meme); color: var(--ink-soft); text-align: center; }
.pl-t { min-width: 0; line-height: 1.2; }
.pl-t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-t small { color: var(--ink-soft); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-play { width: 34px; height: 34px; display: grid; place-items: center; text-decoration: none; font-weight: 800; font-size: .8rem; border: 2px solid var(--line); border-radius: 50%; background: var(--card); transition: transform .12s; }
.pl-play:hover { transform: scale(1.1); }
.pl-play.sp { background: var(--groen); color: #fff; }
.vibe-scale { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.np { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.np .btn-row { grid-column: 1 / -1; }
.np.in { animation: popin .4s cubic-bezier(.2,1.3,.5,1); }
.np-disc { font-size: 3.4rem; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.np-info b { display: block; font-size: 1.3rem; line-height: 1.15; }
.np-info > span:last-child { color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   Meme maker
   ========================================================================== */
.mm-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .mm-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .mm-preview { position: sticky; top: calc(var(--header-h) + 16px); } }
.mm-preview canvas { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius); }
.mm-preview.drag canvas { outline: 4px dashed var(--oranje); outline-offset: 6px; }
.mm-bgs { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-swatch { width: 44px; height: 44px; border-radius: 12px; border: var(--bw) solid var(--line); box-shadow: var(--sh-s); cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; background: var(--card); }
.mm-swatch[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.mm-emojis { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-emo { width: 42px; height: 42px; font-size: 1.4rem; border: 2px solid var(--line); border-radius: 10px; background: var(--card); transition: transform .12s; }
.mm-emo:hover { transform: scale(1.12) rotate(-6deg); }
input[type="file"] { font-size: .9rem; max-width: 100%; }

/* ==========================================================================
   Mobiele verfijningen
   ========================================================================== */
.chip { text-decoration: none; color: inherit; }
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .site-header .wrap { gap: 8px; }
  .logo { gap: 7px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 1.12rem; }
  .logo-text small { display: none; }
  .site-footer .logo-text small { display: block; }
  .icon-btn { width: 38px; height: 38px; border-radius: 10px; }
  .bier-pill { padding: 6px 10px; font-size: .85rem; }
  .hero { padding-top: 18px; }
  .hero-sub { font-size: 1.02rem; }
  .quick-links { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
  .quick-links::-webkit-scrollbar { display: none; }
  .search-big input { font-size: 1rem; padding: 14px 14px 14px 46px; }
  .search-big svg { left: 15px; }
  .bier-widget { grid-template-columns: 1fr 84px; }
  .bier-widget .glass-mini { width: 84px; }
  .page-hero p { font-size: 1.02rem; }
  .meme-head { flex-wrap: wrap; row-gap: 2px; }
  .meme-head h3 { flex-basis: 100%; }
}
.hero-grid > *, .feed-layout > *, .game-shell > *, .grid-2 > *, .mm-layout > * { min-width: 0; }
@media (max-width: 379px) { #kg-theme { display: none; } }

/* ==========================================================================
   Video's (Kantoorklassiekers)
   ========================================================================== */
.vid-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.vid-controls .chips-scroll { flex: 1 1 320px; min-width: 0; }
.vid-note { font-size: .88rem; color: var(--ink-soft); font-weight: 600; margin: 10px 0 18px; }
.vid-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.vid-card { overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 20px); }
.vid-card.is-highlight { box-shadow: 0 0 0 5px var(--bier), var(--sh-l); }
.vid-frame { position: relative; aspect-ratio: 16 / 9; background: #0b0906; border-bottom: var(--bw) solid var(--line); }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #0b0906; cursor: pointer; overflow: hidden; }
.vid-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, filter .2s; }
.vid-play:hover img { transform: scale(1.04); filter: brightness(.85); }
.vid-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; padding-left: 5px; color: #17130e;
  background: var(--bier); border: var(--bw) solid #17130e; box-shadow: 3px 3px 0 #17130e; transition: transform .15s cubic-bezier(.3,1.8,.5,1);
}
.vid-play:hover .vid-btn { transform: translate(-50%, -50%) scale(1.12); }
.vid-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.78); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 8px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.vid-body { padding: 14px 16px 14px; display: grid; gap: 6px; flex: 1; align-content: start; }
.vid-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.2; }
.vid-body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.vid-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-top: 6px; }
.vid-acts { display: inline-flex; gap: 8px; align-items: center; }
.vid-acts .act-btn { width: 34px; height: 34px; }
.vid-src { font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--oranje); }

/* Videotip bovenin de meme-feed bij een zoekopdracht */
.video-tip { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; text-decoration: none; background: var(--paper-2); transition: transform .12s; }
.video-tip:hover { transform: translate(-2px,-2px); }
.video-tip img { width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; border: 2px solid var(--line); }
.video-tip b { display: block; line-height: 1.2; }
.video-tip small { display: block; color: var(--ink-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video-tip span { min-width: 0; }
.video-tip-go { font-size: 1.4rem; font-weight: 800; }

/* Zoekteller onder het hero-zoekveld */
.search-hint { margin: -4px 0 14px 4px; font-size: .95rem; min-height: 1.4em; }
.search-hint a { font-weight: 800; }

/* Video-widget in de zijbalk */
.mini-vid { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; text-decoration: none; font-weight: 800; line-height: 1.2; padding: 6px; border-radius: 12px; }
.mini-vid:hover { background: var(--paper-2); }
.mini-vid small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.mini-vid-img { position: relative; display: block; }
.mini-vid-img img { width: 92px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; border: 2px solid var(--line); }
.mini-vid-img span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
#video-widget { display: grid; gap: 4px; margin-bottom: 12px; }

/* Meme maker: voorbeeld nooit hoger dan het scherm */
@media (min-width: 900px) { .mm-preview canvas { max-width: min(100%, calc(100vh - var(--header-h) - 150px)); margin: 0 auto; display: block; } }
.wc-sum { margin: 0; padding: 10px 14px; border: 2px dashed var(--line); border-radius: 12px; font-weight: 700; background: var(--paper-2); }
.wc-sum b { font-family: var(--f-meme); font-weight: 400; font-size: 1.4rem; color: var(--groen); }

/* Pop-upspeler voor video's */
.vid-dialog { width: min(1000px, calc(100vw - 24px)); max-width: none; padding: 0; border: var(--bw) solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: var(--sh-l); overflow: hidden; }
.vid-dialog::backdrop { background: rgba(10, 8, 5, .78); backdrop-filter: blur(3px); }
.vid-dialog-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: var(--bw) solid var(--line); }
.vid-dialog-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.05rem; }
.vid-dialog-frame { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 150px); background: #0b0906; }
@media (max-width: 720px) { .vid-dialog-frame { aspect-ratio: auto; height: min(62vh, calc(56.25vw + 160px)); } }
.vid-dialog-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-dialog-note { margin: 0; padding: 8px 16px; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
/* Middelgrote schermen: compacter menu zodat alles op één regel past */
.main-nav .l-short { display: none; }
@media (min-width: 960px) and (max-width: 1239px) {
  .main-nav { margin-left: 2px; }
  .main-nav a { padding: 8px 9px; }
  .main-nav .l-long { display: none; }
  .main-nav .l-short { display: inline; }
  .site-header .logo-text small { display: none; }
  .bier-pill .pill-label { display: none; }
}
/* Kleine telefoons: chat- en stadia-memes compacter, zodat ze in één scherm passen */
@media (max-width: 560px) {
  .chat-top { padding: 8px 12px; }
  .chat-top .av { width: 30px; height: 30px; font-size: .95rem; }
  .chat-body { padding: 10px 12px; gap: 6px; }
  .bub { font-size: .92rem; padding: 6px 10px 5px; }
  .bub .who { font-size: .74rem; }
  .mv-meter .m-row { min-height: 54px; }
  .mv-meter .m-t { padding: 8px 12px; font-size: .98rem; }
  .mv-meter .m-e { font-size: 2rem; }
  .mv-meter .m-title { padding: 8px 12px; font-size: 1.05rem; }
  .meme-head { padding: 10px 12px; }
  .meme-actions { padding: 8px 10px; }
  .lach-btn { padding: 6px 11px; }
  .act-btn { width: 36px; height: 36px; }
}
