/* os-vijver.css — rustscherm van Mia OS (09-10). Eigen stijl: diep water, glas, één lichte inkt; los van het OS-thema
 * (het scherm is altijd donker, ook in het lichte thema). Alleen transform/opacity bewegen. */
.mvy { position: fixed; inset: 0; z-index: 2147483000; display: none; opacity: 0; background: #020b15; color: #dff7f7;
  cursor: none; outline: none; transition: opacity 1.4s cubic-bezier(.22,.61,.36,1); -webkit-tap-highlight-color: transparent;
  font-feature-settings: 'tnum' 1; }
.mvy.mvy-aan { display: block; }
.mvy.mvy-zicht { opacity: 1; }
.mvy.mvy-uit { opacity: 0; transition-duration: .4s; }
.mvy.mvy-wakker { cursor: default; }
.mvy canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mvy-water { image-rendering: auto; }
/* film: één grade over water én dieren — vignet in diep indigo, daarboven een vaste, heel zachte korrel
 * (stilstaand patroon: geen ruis-flikker; breekt ook de laatste banding in de donkere verlopen) */
.mvy canvas { z-index: 0; }
.mvy::before, .mvy::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.mvy::after { z-index: 1;
  background: radial-gradient(ellipse at 50% 44%, rgba(1,5,14,0) 34%, rgba(1,5,14,.05) 48%, rgba(1,5,14,.15) 61%, rgba(1,5,14,.3) 74%, rgba(1,4,12,.48) 87%, rgba(1,4,12,.62) 100%); }
.mvy::before { z-index: 2; opacity: .14; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='192' height='192'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='2 0 0 0 -.5  2 0 0 0 -.5  2 0 0 0 -.5  0 0 0 0 1'/></filter><rect width='100%' height='100%' filter='url(%23k)'/></svg>"); }
.mvy-klok, .mvy-label, .mvy-werk, .mvy-hint { z-index: 3; }

/* klok */
.mvy-klok { position: absolute; left: clamp(28px, 4.2vw, 64px); top: clamp(24px, 5vh, 56px); pointer-events: none; user-select: none;
  text-shadow: 0 1px 24px rgba(0,30,40,.5); }
.mvy-tijd { font-size: clamp(52px, 7.4vw, 112px); font-weight: 200; letter-spacing: -.035em; line-height: .92; color: rgba(226,250,250,.9); }
.mvy-dag { margin-top: 12px; font-size: clamp(11px, .95vw, 13px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(180,232,236,.55); }

/* naamkaartje bij een axolotl */
.mvy-label { position: absolute; left: 0; top: 0; max-width: 300px; padding: 5px 10px; border-radius: 999px; pointer-events: none;
  font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #e9fbfb; background: rgba(6,28,40,.62); border: 1px solid rgba(170,240,245,.16);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  opacity: 0; transition: opacity .25s ease; will-change: transform; }
.mvy-label.aan { opacity: 1; }

/* hint (alleen als de muis beweegt) */
.mvy-hint { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(18px, 3vh, 32px); display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(200,238,240,.6); pointer-events: none; opacity: 0; transform: translateY(6px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1); }
.mvy-hint kbd { font: inherit; font-size: 11px; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(170,240,245,.22); color: rgba(220,248,248,.75); }
.mvy.mvy-wakker .mvy-hint { opacity: 1; transform: none; }

/* lopend werk: pil + uitklaplijst */
.mvy-werk { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(18px, 3vh, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  cursor: default; }
.mvy-pil { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 10px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 500; color: rgba(226,250,250,.88);
  background: rgba(6,26,38,.42); border: 1px solid rgba(170,240,245,.13);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  opacity: .5; transition: opacity .5s ease, background-color .2s ease, border-color .2s ease; }
.mvy.mvy-wakker .mvy-pil, .mvy.mvy-lijst-open .mvy-pil, .mvy-pil:hover, .mvy-pil:focus-visible { opacity: 1; }
.mvy-pil:hover { background: rgba(10,38,52,.6); border-color: rgba(170,240,245,.24); }
.mvy-pil:focus-visible { outline: 2px solid rgba(120,240,245,.7); outline-offset: 2px; }
.mvy-stippen { display: inline-flex; }
.mvy-stippen i { width: 12px; height: 12px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 2px rgba(6,26,38,.9); }
.mvy-stippen i + i { margin-left: -4px; }
.mvy-stippen i:first-child { box-shadow: 0 0 0 2px rgba(6,26,38,.9), 0 0 10px rgba(95,240,245,.6); }
.mvy-pil-tekst { font-variant-numeric: tabular-nums; }
.mvy-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .6;
  transform: rotate(0deg); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.mvy.mvy-lijst-open .mvy-chev { transform: rotate(180deg); }

.mvy-lijst { width: min(360px, calc(100vw - 40px)); max-height: min(56vh, 520px); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: rgba(5,22,33,.55); border: 1px solid rgba(170,240,245,.12);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55);
  transform-origin: 18px 100%; animation: mvy-in .42s cubic-bezier(.22,.61,.36,1); }
.mvy-lijst[hidden] { display: none; }
@keyframes mvy-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.mvy-lijst-kop { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px 8px; }
.mvy-lijst-titel { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(190,236,240,.62); }
.mvy-lijst-tel { font-size: 12px; color: rgba(190,236,240,.5); font-variant-numeric: tabular-nums; }
.mvy-rijen { overflow-y: auto; padding: 0 6px 10px; scrollbar-width: thin; scrollbar-color: rgba(170,240,245,.18) transparent; }
.mvy-groep { display: flex; align-items: center; gap: 9px; padding: 10px 10px 4px; font-size: 12px; font-weight: 600; color: rgba(226,250,250,.86); }
.mvy-groep i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--k), var(--g)); flex: none; }
.mvy-groep span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvy-groep b { font-weight: 500; font-size: 11px; color: rgba(190,236,240,.45); font-variant-numeric: tabular-nums; }
.mvy-rij { display: flex; align-items: center; gap: 9px; min-height: 30px; padding: 0 10px 0 29px; border-radius: 9px; font-size: 12.5px;
  color: rgba(214,244,246,.8); transition: background-color .15s ease, color .15s ease; }
.mvy-rij:hover { background: rgba(160,236,242,.07); color: #effcfc; }
.mvy-rij.mvy-jong { padding-left: 45px; font-size: 12px; color: rgba(200,236,240,.62); }
.mvy-st { width: 6px; height: 6px; border-radius: 50%; flex: none; background: #6EE7EC; box-shadow: 0 0 8px rgba(110,231,236,.7); animation: mvy-adem 2.8s ease-in-out infinite; }
.mvy-rij[data-st="wacht"] .mvy-st { background: #FFB85C; box-shadow: 0 0 8px rgba(255,184,92,.7); }
.mvy-rij[data-st="fout"] .mvy-st { background: #F07A6E; box-shadow: none; animation: none; }
@keyframes mvy-adem { 50% { opacity: .35; } }
.mvy-naam { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mvy-duur { flex: none; font-size: 11.5px; color: rgba(190,236,240,.45); font-variant-numeric: tabular-nums; }
.mvy-rij[data-st="wacht"] .mvy-duur { color: rgba(255,200,130,.8); }
.mvy-leeg { margin: 4px 12px 8px; font-size: 12.5px; line-height: 1.5; color: rgba(200,236,240,.6); }

/* profielmenu-icoon */
.pm-vijver-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; flex: none; }

@media (max-width: 640px) {
  .mvy-klok { left: 22px; top: 22px; }
  .mvy-hint { display: none; }
  .mvy-werk { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .mvy, .mvy-lijst, .mvy-st { transition: none; animation: none; }
}
