/* SHS Messenger — losse schermen: aanmelden, instellingen-rijen, juridisch. */

/* ------------------------------------------------------------------ aanmelden */

.login-page {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px 70px; overflow: auto;
}
.login-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.login-bg .petal {
  position: absolute; width: 420px; height: 1100px; border-radius: 50%;
  opacity: .16; filter: blur(2px); transform-origin: 50% 100%;
  animation: petal-sway 18s ease-in-out infinite alternate;
}
.login-bg .p1 { left: -6%; bottom: -55%; background: linear-gradient(#ffd659, #ffab1f); transform: rotate(-38deg); }
.login-bg .p2 { left: 4%; bottom: -60%; background: linear-gradient(#ff9a5c, #f2632f); transform: rotate(-14deg); animation-delay: -4s; }
.login-bg .p3 { right: 2%; bottom: -60%; background: linear-gradient(#7fe08f, #2fb35a); transform: rotate(14deg); animation-delay: -8s; }
.login-bg .p4 { right: -8%; bottom: -55%; background: linear-gradient(#7cc8ff, #2380e8); transform: rotate(38deg); animation-delay: -12s; }
@keyframes petal-sway { to { translate: 0 -40px; rotate: 4deg; } }

/* Y2K Messenger desktop venster */
.login-win {
  width: min(840px, 94vw);
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,255,.92));
  border: 1px solid rgba(160, 200, 250, .75);
  box-shadow: 0 24px 60px rgba(12, 46, 96, 0.22), 0 1px 0 rgba(255,255,255,.95) inset;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
}
:root[data-theme="nacht"] .login-win {
  background: linear-gradient(180deg, rgba(22,40,66,.96), rgba(15,28,48,.92));
  border-color: rgba(124,180,255,.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255,255,255,.1) inset;
}
.login-win.shake { animation: shake .45s; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

/* Messenger titelbalk (Windows Aero / Classic) */
.login-win-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px;
  background: linear-gradient(180deg, #2b78d8 0%, #1e5fad 50%, #174f96 100%);
  color: #fff; user-select: none;
  border-bottom: 1px solid rgba(15, 50, 100, .4);
}
:root[data-theme="nacht"] .login-win-bar {
  background: linear-gradient(180deg, #1c3960 0%, #122744 50%, #0d1e34 100%);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.login-win-title {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .2px; text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.login-win-ico { width: 18px; height: 18px; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.login-win-ver { font-size: 11px; opacity: .8; background: rgba(255,255,255,.18); padding: 1px 6px; border-radius: 999px; }
.login-win-actions { display: flex; align-items: center; gap: 4px; }
.login-win-btn {
  background: transparent; border: 1px solid transparent; color: #fff;
  border-radius: 4px; width: 28px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; transition: background .12s, border-color .12s;
}
.login-win-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); }
.login-win-btn.win-gear { width: 30px; height: 26px; }
.login-win-btn.win-gear .ic { width: 16px; height: 16px; pointer-events: none; }
.login-win-btn.win-close:hover { background: #d9383a; border-color: #ff5a5c; }
.login-win-sep { width: 1px; height: 14px; background: rgba(255,255,255,.3); margin: 0 4px; }

/* Desktop split layout */
.login-columns { display: flex; min-height: 480px; }
.login-hero {
  flex: 0 0 350px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(180deg, rgba(234, 244, 255, 0.7), rgba(215, 233, 255, 0.4));
  border-right: 1px solid var(--line-2);
}
:root[data-theme="nacht"] .login-hero {
  background: linear-gradient(180deg, rgba(28, 48, 76, 0.6), rgba(18, 32, 54, 0.4));
  border-right-color: rgba(124, 180, 255, 0.12);
}
.login-hero-brand { display: flex; flex-direction: column; gap: 8px; }
.login-logo { width: 220px; height: auto; display: block; }
:root[data-theme="nacht"] .login-logo { filter: brightness(1.4) saturate(1.1); }
.login-tagline { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.login-features { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.lf-item { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; }
.lf-icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.lf-item b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.lf-item small { color: var(--muted); font-size: 11.5px; display: block; }
.login-hero-downloads { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.login-hero-downloads .btn { justify-content: center; }

/* Rechter paneel / Aanmeldformulier */
.login-content { flex: 1 1 auto; padding: 28px 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.login-mobile-head { display: none; }
.login-body { display: flex; flex-direction: column; gap: 14px; max-width: 380px; width: 100%; margin: 0 auto; }
.login-dp { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.login-hello { font-size: 14px; color: var(--ink-2); text-align: center; }
.login-form { gap: 11px; }
.login-h { margin: 0; font-size: 19px; font-weight: 600; color: var(--navy); text-align: center; font-family: var(--font-display); }
:root[data-theme="nacht"] .login-h { color: var(--ink); }
.login-opts { justify-content: space-between; }
.status-pick {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink);
}
.status-pick:hover { border-color: var(--sel-line); background: var(--panel-2); }
.status-pick .ic { width: 14px; height: 14px; color: var(--muted); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--link); cursor: pointer; font-size: inherit; }
.linkbtn:hover { text-decoration: underline; }
.login-or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.panel-sso { gap: 9px; }
.panel-sso img.ic { width: 20px; height: 20px; }
.login-foot {
  position: fixed; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--muted);
}
.login-foot a { color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.login-foot .ic { width: 15px; height: 15px; }
.mfa-code { text-align: center; font-size: 22px; letter-spacing: 6px; font-family: var(--font-mono); }
.pwmeter { height: 5px; border-radius: 5px; background: var(--panel-3); overflow: hidden; }
.pwmeter span { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }

.signing-in { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 0 30px; }
.spin-petals { width: 120px; height: 120px; position: relative; display: flex; align-items: center; justify-content: center;
  border-radius: 28px; background: linear-gradient(180deg, #fff, #e8f2fd); box-shadow: var(--shadow), inset 0 0 0 1px rgba(47,127,214,.25); }
.spin-petals img { width: 86px; animation: petals-spin 1.4s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes petals-spin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.88); } 100% { transform: rotate(360deg) scale(1); } }

/* Mobiele weergave — schoon en vloeiend, NOOIT een nep-telefoon! */
@media (max-width: 760px) {
  .login-page { justify-content: flex-start; padding: calc(12px + env(safe-area-inset-top)) 12px 80px; }
  .login-win { width: 100%; border-radius: 12px; max-width: 480px; }
  .login-columns { flex-direction: column; min-height: auto; }
  .login-hero { display: none; }
  .login-mobile-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .login-logo-mobile { width: 170px; height: auto; }
  .login-content { padding: 18px 18px 24px; }
  .login-foot { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.85)); }
  :root[data-theme="nacht"] .login-foot { background: linear-gradient(180deg, rgba(15,27,43,0), rgba(15,27,43,.9)); }
}

/* ------------------------------------------------------------------ rijen met instellingen */

.set-row { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 6px 0; }
.set-row > div:first-child { min-width: 0; }
.set-row b { font-weight: 600; }

.legal h4 { margin: 14px 0 4px; color: var(--blue-d); }
.legal p, .legal ul { margin: 4px 0; }
.legal li { margin: 3px 0; }

/* ------------------------------------------------------------------ instellingen dialog */

.set-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 480px;
  max-height: 75vh;
  margin: -18px;
}
.set-nav {
  padding: 14px 10px;
  background: var(--panel-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
}
.set-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.set-nav button:hover { background: var(--hover); color: var(--ink); }
.set-nav button.on { background: var(--title); color: #fff; }
.set-nav button.on .ic { color: #fff; }
.set-nav button.danger { color: var(--red); }
.set-nav button.danger:hover { background: rgba(220, 53, 69, 0.1); }
.set-nav button.danger.on { background: var(--red); color: #fff; }
.set-nav .sep { height: 1px; background: var(--line); margin: 6px 0; }
.set-pane {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.set-pane h2 { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
:root[data-theme="nacht"] .set-pane h2 { color: #fff; }
.set-pane h3 { margin: 12px 0 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.set-section { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.set-section:last-child { border-bottom: 0; }

.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 6px; }
.preset-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: 2px solid transparent; border-radius: 10px; background: var(--panel-2); cursor: pointer; }
.preset-item:hover { border-color: var(--blue-l); background: var(--hover); }
.preset-item.on { border-color: var(--blue); background: var(--sel-bg, rgba(47,127,214,0.15)); }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 6px; }
.scene-item { height: 50px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 4px 6px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 2px #000; }
.scene-item.on { border-color: #fff; box-shadow: 0 0 0 2px var(--blue); }

.vol-meter { height: 10px; border-radius: 5px; background: var(--panel-3); overflow: hidden; margin-top: 4px; }
.vol-fill { height: 100%; width: 0; background: #28a745; transition: width .1s; }

@media (max-width: 760px) {
  .set-layout { grid-template-columns: 1fr; min-height: 0; margin: -14px; }
  .set-nav { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; padding: 6px; }
  .set-nav button { white-space: nowrap; padding: 6px 10px; font-size: 12px; }
  .set-pane { padding: 14px; }
}

/* ------------------------------------------------------------------ server rollen */

.roles-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  min-height: 400px;
}
.roles-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.role-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.role-item:hover { background: var(--hover); }
.role-item.on { background: var(--title); color: #fff; }
.role-item.on .role-dot { box-shadow: 0 0 0 2px #fff; }
.role-edit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
  overflow-y: auto;
  max-height: 60vh;
}
.perm-group {
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.perm-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--panel-2);
  margin-bottom: 4px;
  cursor: pointer;
}
.perm-switch:hover { background: var(--hover); }
.perm-switch .grow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.perm-switch small {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
}

/* ------------------------------------------------------------------ startpagina (home) */

.home-view, main > .home {
  height: 100%;
  overflow-y: auto;
  padding: 28px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-radius: var(--r-l, 20px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(225, 240, 255, 0.65) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  position: relative;
  overflow: hidden;
}
:root[data-theme="nacht"] .home-hero {
  background: linear-gradient(135deg, rgba(28, 52, 86, 0.88) 0%, rgba(18, 36, 62, 0.65) 100%);
  border-color: var(--line-2);
}

.hh-text h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
:root[data-theme="nacht"] .hh-text h1 { color: #fff; }

.hh-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.hh-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(17, 62, 120, 0.15));
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.qa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--r, 14px);
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .15s ease;
  box-shadow: 0 1px 3px rgba(17, 62, 120, 0.05);
}
.qa:hover {
  transform: translateY(-2px);
  background: var(--hover);
  box-shadow: var(--shadow-s);
}
.qa-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qa-ic .ic { width: 20px; height: 20px; }

.qa-blue .qa-ic { background: rgba(47, 127, 214, 0.15); color: #2f7fd6; }
.qa-green .qa-ic { background: rgba(46, 179, 90, 0.15); color: #2eb35a; }
.qa-orange .qa-ic { background: rgba(255, 122, 69, 0.15); color: #ff7a45; }
.qa-pink .qa-ic { background: rgba(255, 90, 176, 0.15); color: #ff5ab0; }
.qa-sky .qa-ic { background: rgba(124, 198, 255, 0.2); color: #1d7ad6; }
.qa-yellow .qa-ic { background: rgba(255, 194, 58, 0.2); color: #d98a12; }

.home-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.home-card {
  border-radius: var(--r, 14px);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 1px 3px rgba(17, 62, 120, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-card h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
:root[data-theme="nacht"] .home-card h3 { color: #fff; }
.home-card h3 .ic { width: 17px; height: 17px; color: var(--blue); }

.online-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
}
.og-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 11.5px;
  text-align: center;
  gap: 4px;
}
.og-item:hover { background: var(--hover); }
.og-item .ellipsis { max-width: 72px; }
.og-psm { font-size: 10px; color: var(--muted); }

.recent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  text-align: left;
}
.recent:hover { background: var(--hover); }
.recent .group-pic {
  display: flex;
  position: relative;
  width: 32px;
  height: 32px;
}
.recent .group-pic .dp { position: absolute; }
.recent .group-pic .dp:nth-child(1) { top: 0; left: 0; z-index: 3; }
.recent .group-pic .dp:nth-child(2) { top: 4px; left: 10px; z-index: 2; }
.recent .group-pic .dp:nth-child(3) { top: 8px; left: 16px; z-index: 1; }

.home-servers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.hs:hover { background: var(--hover); border-color: var(--sel-line); }
.hs .sicon { width: 22px; height: 22px; border-radius: 6px; }

.tip-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 4px;
}
.tip-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 194, 58, 0.25), rgba(255, 122, 69, 0.15));
  color: #d98a12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-ic .ic { width: 20px; height: 20px; }
.tip-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.home-foot {
  margin-top: auto;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.home-foot a { color: var(--ink-2); text-decoration: none; }
.home-foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .home-cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .home-view, main > .home { padding: 16px 14px 40px; gap: 16px; }
  .home-hero { padding: 18px 16px; }
  .hh-logo { width: 52px; height: 52px; }
  .home-actions { grid-template-columns: repeat(3, 1fr); }
  .roles-layout { grid-template-columns: 1fr; }
  .roles-list { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
}

/* ------------------------------------------------------------------ spelletjes */

.game-picker .body { padding-top: 6px; }
.gp-title { font: 700 12px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 2px 8px; }
.gp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.gp-card { display: flex; gap: 12px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--gloss), var(--panel-2); box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s, border-color .15s; }
.gp-card:hover { transform: translateY(-2px); border-color: var(--sel-line); box-shadow: var(--shadow); }
.gp-card > img { width: 64px; height: 64px; flex: none; border-radius: 14px; box-shadow: 0 2px 6px rgba(17, 62, 120, .25); }
.gp-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.gp-info b { font-size: 15px; }
.gp-info p { margin: 2px 0 6px; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.gp-players { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.gp-players .ic { width: 13px; height: 13px; }
.gp-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.gp-foot .btn { margin-left: auto; }
.gp-opt { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.gp-opt select { padding: 2px 4px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); }
.gp-list { display: flex; flex-direction: column; gap: 6px; }
.gp-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--panel); cursor: pointer; text-align: left; color: var(--ink); }
.gp-row:hover { background: var(--sel); border-color: var(--sel-line); }
.gp-row img { width: 34px; height: 34px; border-radius: 9px; }
.gp-row .grow { display: flex; flex-direction: column; min-width: 0; }
.gp-st { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--panel-3); color: var(--ink-2); }
.gp-st.lobby { background: #fff3cf; color: #8a5a00; }
.gp-st.playing { background: #dff5e6; color: #1d7a3d; }

.game-win { width: min(760px, 100%); }
.game-win .body { display: flex; flex-direction: column; gap: 10px; }
.gw-players { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-p { --pc: var(--blue); position: relative; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: var(--panel-2); border: 1.5px solid var(--line); min-width: 0; max-width: 240px; transition: border-color .2s, box-shadow .2s; }
.gw-p.turn { border-color: var(--pc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 22%, transparent); }
.gw-p.won { border-color: var(--petal-y); background: linear-gradient(180deg, #fff8dc, #ffeaa5); }
.gw-p.empty { border-style: dashed; opacity: .75; }
.gw-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--pc); color: #fff; font-weight: 700; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.gw-av img { width: 100%; height: 100%; object-fit: cover; }
.gw-pn { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.gw-pn b { font-size: 13px; }
.gw-pn small { font-size: 11px; display: inline-flex; align-items: center; gap: 3px; }
.gw-pn small .ic { width: 12px; height: 12px; }
.gw-pn .mk { width: 16px; height: 16px; }
.gw-score { margin-left: 4px; font: 800 15px/1 var(--font-display); color: var(--blue-d); background: #fff; border-radius: 99px; padding: 4px 8px; box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.gw-crown { position: absolute; top: -9px; left: 12px; color: #e7a800; }
.gw-crown .ic { width: 18px; height: 18px; fill: #ffd34d; }
.gw-st { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; }
.gw-st.mine { background: linear-gradient(180deg, #e9f7ee, #d4f0dd); border-color: #8fd3a5; color: #1d6b39; }
.gw-st.done { background: var(--panel-3); }
.gw-st.done.win { background: linear-gradient(180deg, #fff8dc, #ffe8a0); border-color: #f0c85a; color: #7a5300; }
.gw-st .ic { width: 18px; height: 18px; flex: none; }
.gw-clock { min-width: 34px; text-align: center; font: 800 16px/1 var(--font-mono); padding: 4px 8px; border-radius: 8px; background: #fff; color: var(--blue-d); box-shadow: inset 0 1px 3px rgba(0,0,0,.15); }
.gw-clock.low { color: var(--bad); animation: gwPulse .5s ease-in-out infinite alternate; }
@keyframes gwPulse { to { transform: scale(1.12); } }
.gw-stage { display: flex; flex-direction: column; align-items: center; min-height: 200px; }
.gw-lobby { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 10px 6px; }
.gw-lobby img { width: 110px; height: 110px; border-radius: 26px; box-shadow: var(--shadow); }
.gw-lobby p { margin: 0; max-width: 420px; }
.gw-lobby .row { margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.mk-x { color: #2f7fd6; }
.mk-o { color: #ff7a45; }

/* boter, kaas en eieren */
.ttt-board { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; padding: 10px; border-radius: 20px; background: linear-gradient(160deg, #cfe6ff, #a9cdf3); box-shadow: inset 0 2px 6px rgba(17,62,120,.25), var(--shadow-s); }
.ttt-cell { width: min(96px, 26vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; border: 0; background: var(--gloss), #fff; box-shadow: 0 2px 0 rgba(17,62,120,.18); cursor: default; padding: 10px; }
.ttt-board.live .ttt-cell:not(:disabled) { cursor: pointer; }
.ttt-board.live .ttt-cell:not(:disabled):hover { background: var(--gloss), #eaf5ff; transform: translateY(-1px); }
.ttt-cell .mk { width: 100%; height: 100%; animation: mkIn .25s cubic-bezier(.3,1.6,.6,1); }
.ttt-cell.win { background: var(--gloss), #fff4c4; box-shadow: 0 0 0 3px #ffc23a; }
@keyframes mkIn { from { transform: scale(.2) rotate(-30deg); opacity: 0; } }

/* vier op een rij */
.c4-wrap { --c4: min(46px, 10.5vw); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.c4-cols, .c4-board { display: grid; grid-template-columns: repeat(7, var(--c4)); gap: 6px; }
.c4-cols { padding: 0 10px; }
.c4-board { grid-template-rows: repeat(6, var(--c4)); padding: 10px; border-radius: 18px; background: linear-gradient(180deg, #4ea2f2, #1f63bd); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), var(--shadow); }
.c4-col { height: 34px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 10px; padding: 0; }
.c4-col:disabled, .c4-wrap:not(.live) .c4-col { cursor: default; visibility: hidden; }
.c4-col .c4-chip { opacity: 0; transform: translateY(6px); transition: .15s; }
.c4-col:hover .c4-chip { opacity: 1; transform: none; }
.c4-hole { display: block; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #0d3e7c, #0a2f5e); box-shadow: inset 0 3px 5px rgba(0,0,0,.45); }
.c4-chip { display: block; width: 28px; height: 28px; border-radius: 50%; }
.c4-chip.p1, .c4-hole.p1 { background: radial-gradient(circle at 35% 30%, #ff8b8b, #e5414a 55%, #a81d26); box-shadow: inset 0 -3px 4px rgba(0,0,0,.25); }
.c4-chip.p2, .c4-hole.p2 { background: radial-gradient(circle at 35% 30%, #fff1a8, #ffc23a 55%, #c98a00); box-shadow: inset 0 -3px 4px rgba(0,0,0,.2); }
.gw-pn .c4-chip { width: 14px; height: 14px; }
.c4-hole.drop { animation: c4Drop .35s cubic-bezier(.4,0,.7,1.4); }
.c4-hole.win { box-shadow: 0 0 0 3px #fff, 0 0 12px 3px #fff8; animation: c4Win .7s ease-in-out infinite alternate; }
@keyframes c4Drop { from { transform: translateY(calc(var(--r) * -56px)); } }
@keyframes c4Win { to { filter: brightness(1.25); } }

/* mijnenjacht */
.mj-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 100%; }
.mj-info { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.mj-info .mj-ic { width: 16px; height: 16px; color: var(--bad); }
.mj-board { --cs: min(26px, calc((100vw - 70px) / 16)); display: grid; grid-template-columns: repeat(var(--w), var(--cs)); grid-auto-rows: var(--cs); gap: 2px; padding: 6px; border-radius: 12px; background: linear-gradient(180deg, #7fb2e6, #3c78bd); box-shadow: var(--shadow-s); }
.mj-c { display: grid; place-items: center; border-radius: 4px; border: 0; padding: 0; font: 800 calc(var(--cs) * .55)/1 var(--font); }
button.mj-c { background: linear-gradient(180deg, #ffffff, #d7e8fa); box-shadow: inset 0 -2px 0 rgba(17,62,120,.25); cursor: default; }
.mj-board.live button.mj-c { cursor: pointer; }
.mj-board.live button.mj-c:hover { background: linear-gradient(180deg, #fff, #fff1c4); }
.mj-c.open { background: #eef4fb; box-shadow: inset 0 1px 2px rgba(17,62,120,.2); }
.mj-c.last { box-shadow: 0 0 0 2px #ffc23a; }
.mj-c .mj-ic { width: 80%; height: 80%; }
.mj-c.flag.f1 { color: #e5414a; }
.mj-c.flag.f2 { color: #2f7fd6; }
.mj-c.bomb { background: #ffd9d9; }
.mj-c.n1 { color: #2f7fd6; } .mj-c.n2 { color: #2f9e54; } .mj-c.n3 { color: #e5414a; } .mj-c.n4 { color: #1d3f8a; }
.mj-c.n5 { color: #a82a2a; } .mj-c.n6 { color: #138b8b; } .mj-c.n7 { color: #333; } .mj-c.n8 { color: #888; }

/* zeeslag */
.zs-last { font-weight: 600; font-size: 13px; margin-bottom: 8px; color: var(--ink-2); }
.zs-wrap { display: flex; gap: 18px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.zs-side { --zc: min(28px, calc((100vw - 90px) / 10)); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.zs-side.small { --zc: 17px; }
.zs-wrap.one .zs-side { --zc: min(30px, calc((100vw - 90px) / 10)); }
.zs-title { font-weight: 700; font-size: 13px; }
.zs-title small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.zs-frame { display: grid; grid-template-columns: 16px auto; grid-template-rows: 16px auto; }
.zs-ax { display: grid; font-size: 10px; color: var(--muted); font-weight: 700; }
.zs-ax.top { grid-column: 2; grid-row: 1; grid-template-columns: repeat(10, var(--zc)); gap: 1px; text-align: center; padding: 0 3px; }
.zs-ax.left { grid-column: 1; grid-row: 2; grid-template-rows: repeat(10, var(--zc)); gap: 1px; align-items: center; padding: 3px 0; }
.zs-ax i { font-style: normal; }
.zs-board { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(10, var(--zc)); grid-auto-rows: var(--zc); gap: 1px; padding: 3px; border-radius: 8px; background: linear-gradient(180deg, #2e7fd0, #164f93); box-shadow: inset 0 2px 6px rgba(0,0,0,.35); }
.zs-c { border: 0; padding: 0; border-radius: 3px; background: rgba(140, 200, 255, .22); position: relative; }
button.zs-c { cursor: crosshair; }
button.zs-c:hover { background: rgba(255, 220, 120, .55); }
.zs-c.schip { background: linear-gradient(180deg, #c9d3dd, #8494a6); }
.zs-c.mis::after { content: ''; position: absolute; inset: 35%; border-radius: 50%; background: rgba(255,255,255,.75); }
.zs-c.raak { background: linear-gradient(180deg, #ffb24d, #e5414a); }
.zs-c.raak::after { content: ''; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(#fff6, transparent 70%); }
.zs-c.gezonken { background: #5b1f24; }
.zs-c.last { box-shadow: 0 0 0 2px #ffe27a; z-index: 1; animation: zsHit .6s ease-out; }
@keyframes zsHit { from { transform: scale(1.6); } }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--panel-3); }
.pill.ok { background: #dff5e6; color: #1d7a3d; }
.pill .ic { width: 15px; height: 15px; }

/* krabbel */
.kr-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 10px; width: 100%; }
.kr-left { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kr-word { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); }
.kr-word b { font: 800 18px/1.1 var(--font-display); letter-spacing: .04em; color: var(--blue-d); }
.kr-hint { font: 800 18px/1.1 var(--font-mono); letter-spacing: .12em; }
.kr-word small { color: var(--muted); }
.kr-canvas { border-radius: 12px; overflow: hidden; border: 2px solid var(--line-2); box-shadow: var(--shadow-s); background: #fff; }
.kr-canvas canvas { display: block; width: 100%; height: auto; touch-action: none; }
.kr-wrap[data-drawer=true] canvas { cursor: crosshair; }
.kr-tools { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.kr-col { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; }
.kr-col.on { box-shadow: 0 0 0 2px var(--blue); transform: scale(1.12); }
.kr-sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 4px; }
.kr-size { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; cursor: pointer; padding: 0; }
.kr-size i { width: var(--s); height: var(--s); border-radius: 50%; background: var(--ink); }
.kr-size.on { border-color: var(--blue); background: var(--sel); }
.kr-right { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.kr-log { flex: 1; min-height: 160px; max-height: 360px; overflow-y: auto; padding: 6px 8px; border-radius: var(--r-s); background: var(--panel-2); border: 1px solid var(--line); font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.kr-l.ok { color: #1d7a3d; font-weight: 600; display: flex; gap: 4px; align-items: center; }
.kr-l.ok .ic { width: 14px; height: 14px; }
.kr-l.close i { color: var(--warn); font-style: normal; font-weight: 700; }
form.kr-guess { display: flex; gap: 4px; }
form.kr-guess input { flex: 1; min-width: 0; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); }

/* quiz */
.qz-wrap { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.qz-bar { height: 8px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #3ebf68, #ffc23a, #ff7a45); transition: width .25s linear; }
.qz-q { font: 700 19px/1.3 var(--font-display); text-align: center; padding: 10px 6px; }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qz-o { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 0; color: #fff; font: 600 14.5px/1.25 var(--font); text-align: left; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 rgba(0,0,0,.18); transition: transform .12s, filter .2s, opacity .2s; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.qz-o:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.08); }
.qz-o:disabled { cursor: default; }
.qz-o.o0 { background: var(--gloss), #e5414a; }
.qz-o.o1 { background: var(--gloss), #2f7fd6; }
.qz-o.o2 { background: var(--gloss), #e9a400; }
.qz-o.o3 { background: var(--gloss), #2f9e54; }
.qz-l { width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(255,255,255,.3); display: grid; place-items: center; font-weight: 800; }
.qz-o.mine { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.qz-opts:has(.right) .qz-o:not(.right) { opacity: .45; }
.qz-o.right { animation: qzRight .5s ease-out; opacity: 1; }
.qz-o.wrong { opacity: .7 !important; text-decoration: line-through; }
@keyframes qzRight { 40% { transform: scale(1.06); } }
.qz-foot { text-align: center; }
.qz-foot .ok { color: var(--ok); font-size: 15px; }
.qz-final { width: min(420px, 100%); display: flex; flex-direction: column; gap: 6px; }
.qz-rank { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.qz-pos { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--panel-3); }
.qz-rank.r1 { background: linear-gradient(180deg, #fff8dc, #ffe8a0); border-color: #f0c85a; }
.qz-rank.r1 .qz-pos { background: #ffc23a; color: #fff; }
.qz-rank.r2 .qz-pos { background: #b9c6d4; color: #fff; }
.qz-rank.r3 .qz-pos { background: #d09a62; color: #fff; }

/* spelbericht in de chat */
.msg.special.game .game-thumb { width: 34px; height: 34px; border-radius: 9px; flex: none; }

@media (max-width: 760px) {
  .kr-wrap { grid-template-columns: 1fr; }
  .kr-log { max-height: 140px; min-height: 90px; }
  .qz-opts { grid-template-columns: 1fr; }
  .zs-side.small { --zc: 15px; }
}

/* ------------------------------------------------------------------ ontdekken (discover) */

.discover-view, .workshop-view, .developer-view, .admin-view {
  height: 100%; display: flex; flex-direction: column; overflow-y: auto;
}
.discover-hero, .workshop-hero, .developer-hero, .admin-hero {
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.15));
  border-bottom: 1px solid var(--line);
  position: relative;
}
:root[data-theme="nacht"] .discover-hero,
:root[data-theme="nacht"] .workshop-hero,
:root[data-theme="nacht"] .developer-hero,
:root[data-theme="nacht"] .admin-hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}
.dh-content h1, .wh-content h1, .dev-content h1, .ah-content h1 {
  margin: 0 0 6px; font-size: 24px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px;
}
:root[data-theme="nacht"] .dh-content h1,
:root[data-theme="nacht"] .wh-content h1,
:root[data-theme="nacht"] .dev-content h1,
:root[data-theme="nacht"] .ah-content h1 { color: #fff; }
.dh-content p, .wh-content p, .dev-content p, .ah-content p {
  margin: 0 0 16px; color: var(--ink-2); font-size: 14px; max-width: 650px;
}
.dh-search, .wh-search {
  position: relative; max-width: 480px; width: 100%;
}
.dh-icon, .wh-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none;
}
.dh-input, .wh-input {
  width: 100%; padding-left: 38px; border-radius: 999px; height: 40px; background: var(--panel);
}

.discover-body, .workshop-body, .developer-body, .admin-body {
  padding: 24px 32px 60px; display: flex; flex-direction: column; gap: 20px;
}
.discover-tags, .workshop-tabs, .dev-tabs, .admin-tabs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.dtag, .wtab, .dtab, .atab {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel);
  font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: all .15s ease;
}
.dtag:hover, .wtab:hover, .dtab:hover, .atab:hover {
  background: var(--hover); color: var(--ink); border-color: var(--sel-line);
}
.dtag.sel, .wtab.sel, .dtab.sel, .atab.sel {
  background: var(--title); color: #fff; border-color: transparent; box-shadow: 0 2px 6px rgba(12, 115, 217, 0.3);
}
.dtag.sel .ic, .wtab.sel .ic, .dtab.sel .ic, .atab.sel .ic { color: #fff; }

.discover-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px;
}
.discover-card {
  border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 180px; gap: 12px; transition: transform .15s, box-shadow .15s;
}
.discover-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.discover-card.featured { border: 1.5px solid rgba(255, 171, 31, 0.4); background: linear-gradient(180deg, rgba(255, 248, 235, 0.6), var(--panel)); }
:root[data-theme="nacht"] .discover-card.featured { background: linear-gradient(180deg, rgba(255, 171, 31, 0.08), var(--panel)); }
.dc-top { display: flex; gap: 12px; align-items: flex-start; }
.dc-head { flex: 1; min-width: 0; }
.dc-title-row { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.dc-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
:root[data-theme="nacht"] .dc-name { color: #fff; }
.featured-badge { background: #ffab1f; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 999px; }
.dc-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 3px; }
.dc-desc { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dc-foot { margin-top: auto; padding-top: 6px; }

.discover-banner {
  border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 20px; background: linear-gradient(90deg, rgba(79, 148, 245, 0.12), rgba(35, 128, 232, 0.05));
}
.db-info h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
:root[data-theme="nacht"] .db-info h3 { color: #fff; }
.db-info p { margin: 0; font-size: 13px; color: var(--ink-2); }

.discover-empty, .workshop-empty, .dev-empty, .admin-empty, .admin-denied {
  grid-column: 1 / -1; padding: 48px 24px; text-align: center; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.de-icon, .we-icon, .ae-icon, .ad-icon { width: 44px; height: 44px; color: var(--muted); }
.de-icon.danger, .ae-icon.danger, .ad-icon.danger { color: var(--red); }
.ae-icon.success { color: #28a745; }

/* ------------------------------------------------------------------ werkplaats (workshop) */

.wh-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.workshop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.workshop-card {
  border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px; gap: 10px; transition: transform .15s, box-shadow .15s;
}
.workshop-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.wc-top { display: flex; align-items: center; justify-content: space-between; }
.wc-version { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.wc-title { margin: 2px 0 0; font-size: 16px; font-weight: 700; color: var(--navy); }
:root[data-theme="nacht"] .wc-title { color: #fff; }
.wc-summary { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wc-author { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.wc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.wc-installs { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.wc-actions { display: flex; align-items: center; gap: 6px; }

.badge.kind-theme { background: rgba(255, 171, 31, 0.15); color: #d97706; }
.badge.kind-plugin { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.badge.kind-bot { background: rgba(16, 185, 129, 0.15); color: #059669; }

.source-preview {
  background: var(--panel-3); border-radius: 8px; padding: 12px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.5; max-height: 320px;
}
.source-modal { max-width: 600px; display: flex; flex-direction: column; gap: 12px; }
.sm-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.sm-desc { font-size: 13.5px; line-height: 1.4; color: var(--ink); }

.mine-sections { display: flex; flex-direction: column; gap: 24px; }
.mine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 10px; }
.mine-card { padding: 14px; border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.mc-head { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.mc-head h4 { margin: 0; font-size: 14px; font-weight: 700; flex: 1; }
.mc-actions { margin-top: auto; display: flex; gap: 6px; justify-content: flex-end; }

/* ------------------------------------------------------------------ ontwikkelaars (developer) */

.dev-apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dev-app-card { border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dac-head { display: flex; align-items: center; gap: 12px; }
.dac-info { flex: 1; min-width: 0; }
.dac-info h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
:root[data-theme="nacht"] .dac-info h3 { color: #fff; }
.dac-desc { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.dac-meta { display: flex; flex-direction: column; gap: 4px; }
.dac-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }

.app-manage-modal { display: flex; flex-direction: column; gap: 14px; max-width: 540px; }
.cmd-list { display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto; }
.cmd-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-radius: 6px; background: var(--panel-2); font-size: 13px; }
.token-box { display: flex; gap: 8px; margin-top: 10px; }

/* ------------------------------------------------------------------ beheer (admin) */

.ah-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: #2563eb; background: rgba(37, 99, 235, 0.1); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.stat-card {
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden;
}
.stat-ic { position: absolute; right: 16px; top: 16px; width: 32px; height: 32px; opacity: .25; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--navy); font-family: var(--font-display); }
:root[data-theme="nacht"] .stat-num { color: #fff; }
.stat-lbl { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.stat-sub { font-size: 12px; color: var(--muted); }

.admin-panel { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.table-wrap { overflow-x: auto; width: 100%; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.admin-table th { padding: 10px 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 11px; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:hover td { background: var(--hover); }

.reports-list { display: flex; flex-direction: column; gap: 12px; }
.report-card { border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.rc-head { display: flex; align-items: center; justify-content: space-between; }
.rc-details { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink); }

@media (max-width: 760px) {
  .discover-hero, .workshop-hero, .developer-hero, .admin-hero { padding: 18px 16px; }
  .discover-body, .workshop-body, .developer-body, .admin-body { padding: 16px; }
  .discover-grid, .workshop-grid, .dev-apps-grid, .admin-stats-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ spraakkanaal en TeamSpeak */

.voice-room, .ts-room { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.voice-room .call-stage { flex: 1; min-height: 260px; }
.voice-lobby { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 30px 20px; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,255,255,.7), transparent 70%); }
.vl-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: 640px; }
.vl-p { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; font-size: 13px; font-weight: 600; }
.vl-p span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-2); }
.vl-empty img { width: 96px; height: 96px; opacity: .9; filter: drop-shadow(0 6px 14px rgba(17,62,120,.25)); animation: vlFloat 4s ease-in-out infinite; }
.vl-empty p { margin: 0; line-height: 1.5; }
@keyframes vlFloat { 50% { transform: translateY(-6px); } }

.ts-room { align-items: center; padding: 26px 16px; }
.ts-card { width: min(560px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--r-l); background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ts-load { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.ts-load .ic { width: 22px; height: 22px; animation: gwPulse .8s ease-in-out infinite alternate; }
.ts-top { display: flex; align-items: center; gap: 14px; }
.ts-top h2 { margin: 0 0 4px; font: 700 20px/1.2 var(--font-display); }
.ts-badge { width: 58px; height: 58px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--gloss), linear-gradient(180deg, #4a8fe0, #1d4f99); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), var(--shadow-s); }
.ts-badge.off { background: var(--gloss), linear-gradient(180deg, #a8b6c6, #6c7d92); }
.ts-badge .ic { width: 32px; height: 32px; }
.ts-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.ts-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--st-offline); }
.ts-state.on { color: var(--ok); }
.ts-state.on i { background: var(--st-online); box-shadow: 0 0 0 3px rgba(57,192,80,.2); }
.ts-state.off { color: var(--muted); }
.ts-people { border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); padding: 12px 14px; }
.ts-sub { font: 700 12px/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.ts-people ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ts-people li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; background: var(--panel); font-weight: 600; font-size: 13.5px; }
.ts-people li .ic { width: 15px; height: 15px; color: var(--bad); }
.ts-people li.away { opacity: .6; }
.ts-people p { margin: 0; }
.ts-dot { width: 10px; height: 10px; border-radius: 50%; background: #9fb3c8; flex: none; }
.ts-people li.talking .ts-dot { background: var(--st-online); box-shadow: 0 0 0 3px rgba(57,192,80,.25); }
.ts-join { align-self: center; text-decoration: none; }
.ts-facts { display: flex; flex-direction: column; gap: 6px; }
.ts-facts > div { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; border: 1px dashed var(--line-2); }
.ts-facts span { color: var(--muted); font-size: 12.5px; min-width: 120px; }
.ts-facts b { flex: 1; font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
.ts-help { margin: 0; line-height: 1.5; }

/* ------------------------------------------------------------------ winks */

.wink-stage { position: fixed; inset: 0; z-index: 9000; cursor: pointer; animation: wkIn .2s ease-out; }
.wink-stage canvas { position: absolute; inset: 0; display: block; }
.wink-stage.out { opacity: 0; transition: opacity .25s; }
.wink-banner { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px);
  padding: 6px 8px 6px 14px; border-radius: 99px; background: var(--gloss), var(--glass-strong); border: 1px solid var(--line-2); box-shadow: var(--shadow-l);
  font-size: 13.5px; color: var(--ink); animation: wkBanner .35s cubic-bezier(.2,1.4,.4,1); cursor: default; }
.wink-banner span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wink-banner .emo { width: 20px; height: 20px; }
.wink-still { position: absolute; left: 50%; top: 50%; width: min(240px, 50vw); transform: translate(-50%, -50%); border-radius: 28px; box-shadow: var(--shadow-l); }
@keyframes wkIn { from { opacity: 0; } }
@keyframes wkBanner { from { transform: translate(-50%, -30px); opacity: 0; } }

/* ------------------------------------------------------------------ instellingen: onderdelen */

.settings-dialog { width: min(1040px, 100%); }
.set-pane { position: relative; }
.set-head h2 { margin: 0; }
.set-head p { margin: 2px 0 0; font-size: 13px; }
.set-loading { height: 120px; border-radius: var(--r); background: linear-gradient(90deg, var(--panel-2), var(--panel-3), var(--panel-2)); background-size: 200% 100%; animation: setLoad 1.2s linear infinite; }
@keyframes setLoad { to { background-position: -200% 0; } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.ok-text { color: var(--ok); font-weight: 600; }
.warn-text { color: var(--warn); font-weight: 600; }
.tag.ok { background: #e3f6e8; color: #1d7a3d; border-color: #b5e2c2; }
.tag.panel { background: linear-gradient(180deg, #5d6c86, #364459); color: #fff; border: 0; }
.select.small { width: auto; min-height: 30px; padding: 4px 8px; font-size: 13px; }
.notice { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notice .ic { width: 18px; height: 18px; flex: none; }

.prof-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.prof-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.prof-preview { position: sticky; top: 0; }
.pp-label { margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 11px; }
.pp-card { position: relative; border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.pp-banner { height: 92px; background-size: cover; background-position: center; background-color: var(--blue); }
.pp-dp { position: absolute; top: 48px; left: 14px; }
.pp-dp .dp { box-shadow: 0 0 0 4px var(--panel); border-radius: 50%; }
.pp-body { padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--accent); margin-top: -4px; }
.pp-name { font: 700 18px/1.2 var(--font-display); }
.pp-psm { font-size: 13px; color: var(--ink-2); font-style: italic; display: flex; flex-direction: column; gap: 2px; }
.pp-bio { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.pp-feat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 10px; background: var(--panel-2); margin-top: 6px; }
.pp-feat .ic { width: 15px; height: 15px; }
.av-row { display: flex; align-items: center; gap: 16px; }
.av-row .col { gap: 6px; }
.up-progress { height: 5px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.up-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5aa7f2, #3ebf68); transition: width .2s; }
.preset-item img { width: 40px; height: 40px; border-radius: 50%; }
.scene-item.upload { background: var(--panel-2); border: 2px dashed var(--line-2); color: var(--ink-2); text-shadow: none; flex-direction: column; justify-content: center; align-items: center; gap: 2px; }
.scene-item.upload .ic { width: 18px; height: 18px; }
.scene-item.upload.on { border-style: solid; border-color: var(--blue); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line-2), inset 0 -3px 4px rgba(0,0,0,.15); cursor: pointer; padding: 0; position: relative; display: grid; place-items: center; }
.swatch.on { box-shadow: 0 0 0 2px var(--blue), inset 0 -3px 4px rgba(0,0,0,.15); transform: scale(1.12); }
.swatch.custom { background: conic-gradient(#e5414a, #ffc23a, #3ebf68, #2f95f2, #a46cff, #e5414a); color: #fff; }
.swatch.custom .ic { width: 13px; height: 13px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.swatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.set-savebar { position: sticky; bottom: -20px; margin: 0 -24px -20px; padding: 10px 24px; display: flex; align-items: center; gap: 8px; background: var(--gloss), var(--glass-strong); border-top: 1px solid var(--line-2); box-shadow: 0 -6px 18px rgba(17,62,120,.12); font-size: 13px; font-weight: 600; z-index: 3; }

.sess-list { display: flex; flex-direction: column; gap: 6px; }
.sess { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.sess.current { background: var(--sel); border-color: var(--sel-line); }
.sess-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--panel); color: var(--blue-d); box-shadow: var(--shadow-s); }
.sess-ic .ic { width: 20px; height: 20px; }
.conn-ic { overflow: hidden; }
.conn-ic img { width: 100%; height: 100%; object-fit: cover; }

.totp { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
.totp-qr { padding: 8px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-s), 0 0 0 1px var(--line); }
.totp-qr svg { display: block; width: 100%; height: auto; }
.totp-steps { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.totp-secret { display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 8px; border-radius: 8px; background: var(--panel-2); border: 1px dashed var(--line-2); font-size: 13px; letter-spacing: .06em; word-break: break-all; }
.totp-code { font-size: 22px; letter-spacing: .3em; text-align: center; max-width: 220px; }
.rec-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 15px; text-align: center; }

.range { width: min(240px, 100%); accent-color: var(--blue); }
.field .range { width: 100%; }
.mic-test { display: flex; align-items: center; gap: 10px; }
.mic-meter { position: relative; flex: 1; height: 14px; border-radius: 99px; background: var(--panel-3); box-shadow: inset 0 1px 3px rgba(0,0,0,.15); overflow: hidden; }
.mic-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #9fb3c8, #c7d4e2); transition: width .06s linear; }
.mic-meter.hot i { background: linear-gradient(90deg, #3ebf68, #a6e36a); }
.mic-thr { position: absolute; top: -2px; bottom: -2px; width: 3px; border-radius: 2px; background: var(--ink); opacity: .7; }
.cam-row { display: flex; gap: 16px; align-items: flex-start; }
.cam-prev { width: 240px; aspect-ratio: 16/9; border-radius: 12px; background: #0d1a2d; display: grid; place-items: center; overflow: hidden; flex: none; position: relative; }
.cam-prev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); opacity: 0; }
.cam-prev.on video { opacity: 1; }
.cam-prev span { display: inline-flex; align-items: center; gap: 6px; color: #8fa6c6; }
.cam-prev .ic { width: 16px; height: 16px; }

.theme-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.theme-tile { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 14px; border: 2px solid var(--line); background: var(--panel); text-align: left; cursor: pointer; color: var(--ink); }
.theme-tile.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,127,214,.18); }
.tt-prev { height: 64px; border-radius: 10px; display: grid; grid-template-columns: 22% 1fr; grid-template-rows: 14px 1fr; gap: 4px; padding: 5px; margin-bottom: 4px; }
.tt-prev.licht { background: linear-gradient(180deg, #e6f2fe, #cfe4fb); }
.tt-prev.nacht { background: linear-gradient(180deg, #13233a, #0f1b2b); }
.tt-prev i { border-radius: 4px; }
.tt-prev i:nth-child(1) { grid-column: 1 / -1; background: linear-gradient(180deg, #6bb5f8, #2a78d2); }
.tt-prev.licht i:nth-child(2), .tt-prev.licht i:nth-child(3) { background: rgba(255,255,255,.85); }
.tt-prev.nacht i:nth-child(2), .tt-prev.nacht i:nth-child(3) { background: rgba(124,180,255,.16); }

@media (max-width: 760px) {
  .prof-layout { grid-template-columns: 1fr; }
  .prof-preview { position: static; order: -1; }
  .grid2 { grid-template-columns: 1fr; }
  .totp { grid-template-columns: 1fr; justify-items: center; }
  .totp-qr { width: 200px; }
  .set-row.col-sm { flex-direction: column; align-items: flex-start; }
  .set-row.col-sm .seg { flex-wrap: wrap; border-radius: 14px; }
  .cam-row { flex-direction: column; }
  .cam-prev { width: 100%; }
  .set-savebar { margin: 0 -14px -14px; bottom: -14px; padding: 10px 14px; }
}

/* ------------------------------------------------------------------ scherm delen */

.cs-tile.screen { position: relative; padding: 0; background: #05080f; min-height: 260px; aspect-ratio: 16 / 9; max-height: 70vh; }
.cs-tile.screen video { border-radius: 10px; background: #000; }
.cs-tile.screen .cs-name { position: absolute; left: 10px; bottom: 10px; max-width: 60%; padding: 4px 10px; border-radius: 99px; background: rgba(5, 12, 24, .7); backdrop-filter: blur(6px); }
.cs-tile.screen.local .cs-name { background: linear-gradient(180deg, rgba(62,191,104,.9), rgba(29,122,61,.9)); color: #fff; }
.cs-tools { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; align-items: center; opacity: 0; transition: opacity .15s; }
.cs-tile.screen:hover .cs-tools, .cs-tile.screen:focus-within .cs-tools, .cs-tile.screen.local .cs-tools { opacity: 1; }
.cs-tools .ibtn { background: rgba(5, 12, 24, .7); color: #fff; backdrop-filter: blur(6px); }
.cs-q { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(5, 12, 24, .7); color: #fff; font: 600 12px/1 var(--font); cursor: pointer; backdrop-filter: blur(6px); }
.cs-q:hover { background: rgba(47, 127, 214, .85); }
.cs-q .ic { width: 15px; height: 15px; }
.cs-stats { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 8px; background: rgba(5, 12, 24, .75); color: #bfe0ff; font: 600 11.5px/1.35 var(--font-mono); pointer-events: none; }
.cs-tile.screen:fullscreen { aspect-ratio: auto; max-height: none; border-radius: 0; }
.cs-tile.screen:fullscreen video { border-radius: 0; }
.cs-tile.screen:fullscreen .cs-tools { opacity: 0; }
.cs-tile.screen:fullscreen:hover .cs-tools { opacity: 1; }

.ss-dialog { width: min(720px, 100%); }
.ss { display: flex; flex-direction: column; gap: 16px; }
.ss section { display: flex; flex-direction: column; gap: 8px; }
.ss h4 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ss p { margin: 0; }
.ss-surf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ss-s { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--gloss), var(--panel-2); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.ss-s:hover { transform: translateY(-1px); border-color: var(--sel-line); }
.ss-s.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,127,214,.16); }
.ss-s small { color: var(--muted); font-size: 11.5px; }
.ss-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--gloss), linear-gradient(180deg, #4ea2f2, #1f63bd); margin-bottom: 4px; }
.ss-ic .ic { width: 21px; height: 21px; }
.ss-presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ss-p { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px; border-radius: 12px; border: 2px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; text-align: center; }
.ss-p .ic { width: 20px; height: 20px; color: var(--blue-d); }
.ss-p b { font-size: 12.5px; }
.ss-p small { font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.ss-p.on { border-color: var(--blue); background: var(--sel); }
.ss-adv summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--link); padding: 4px 0; }
.ss-grid { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; align-items: center; padding-top: 8px; }
.ss-grid label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ss-grid .seg { justify-self: start; flex-wrap: wrap; }
.ss-grid .select { justify-self: start; }
.ss-est { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); border: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.ss-est .ic { width: 18px; height: 18px; flex: none; color: var(--blue-d); }
.ss-viewers { display: flex; flex-direction: column; gap: 4px; }
.ss-v { display: grid; grid-template-columns: minmax(80px, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.ss-v.paused { opacity: .6; }
.ss-num { font: 600 12px/1 var(--font-mono); color: var(--blue-d); white-space: nowrap; }

@media (max-width: 760px) {
  .ss-s { align-items: center; text-align: center; padding: 10px 6px; }
  .ss-s small { display: none; }
  .ss-presets { grid-template-columns: repeat(2, 1fr); }
  .ss-grid { grid-template-columns: 1fr; }
  .ss-v { grid-template-columns: 1fr; }
  .cs-tools { opacity: 1; }
}

/* ------------------------------------------------------------------ bots en ontwikkelaars */

.pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow-y: auto; }
.pick-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; text-align: left; font: inherit; }
.pick-row:hover:not(:disabled) { background: var(--sel); border-color: var(--sel-line); }
.pick-row:disabled { cursor: default; opacity: .75; }
.pick-row .ic { width: 18px; height: 18px; color: var(--blue-d); }
.pick-row.done { background: var(--panel-2); }
.red-text { color: var(--bad); }
.dev-steps { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.dev-docs h3 { margin: 18px 0 6px; }
.dev-docs code { font-family: var(--font-mono); font-size: .92em; background: var(--panel-3); padding: 1px 5px; border-radius: 5px; }
.dev-docs pre code { background: none; padding: 0; }
.dac-servers { display: inline-flex; align-items: center; gap: 4px; }
.dac-servers .ic { width: 13px; height: 13px; }
.dev-manage .cmd-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--panel-2); }
.dev-manage .cmd-list { display: flex; flex-direction: column; gap: 4px; }
.ac-item .ellipsis { min-width: 0; }

/* ------------------------------------------------------------------ meldingen-aanbod */

.notif-offer { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1200; width: min(560px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--gloss), var(--glass-strong);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-l); animation: wkBanner .35s cubic-bezier(.2,1.4,.4,1); }
.notif-offer img { width: 40px; height: 40px; flex: none; }
.notif-offer .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.notif-offer .grow span { color: var(--ink-2); line-height: 1.35; }
@media (max-width: 760px) {
  .notif-offer { flex-wrap: wrap; bottom: 76px; }
  .notif-offer .grow { flex-basis: calc(100% - 56px); }
  .notif-offer .btn { flex: 1; }
}
