/* Vraag aan Bas (21-10-2026): de vaste knop rechtsonder en het venster. Zelfde palet als het zoekvenster (zoek.css).
   De knop staat vast (position: fixed): hij duwt niets opzij, dus geen verschuiving van de pagina. */
.vraagbalk{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:60;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 18px 0 14px;border:1px solid #5FB0FF;border-radius:999px;background:#0B1220;color:#E6EBF2;text-decoration:none;font:700 .9375rem/1 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif;box-shadow:0 10px 30px -10px #000C;cursor:pointer}
.vraagbalk::before{content:"";width:18px;height:14px;border:2px solid #5FB0FF;border-radius:6px 6px 6px 2px;box-sizing:border-box}
.vraagbalk:hover{background:#0B2545;color:#fff}
.vraagbalk:focus-visible{outline:2px solid #5FB0FF;outline-offset:3px}
.vraagbalk[data-stand="beantwoord"] .vraagbalk-t::after{content:"";display:inline-block;width:9px;height:9px;margin-left:8px;border-radius:50%;background:#FF8A3D;vertical-align:1px}
/* Bas (21-10): "een wolk". Een tekstwolk: ronde hoeken en een staartje; standaard rechtsonder, onder de missielog omhoog naar het overzicht. */
.vraagbalk::after,.basWolk::after{content:"";position:absolute;width:12px;height:12px;background:inherit;border:1px solid #5FB0FF;border-top:0;border-left:0;right:22px;bottom:-7px;transform:rotate(45deg)}
.vraagbalk.vraagbalk-onder{top:0;left:16px;right:auto;bottom:auto;justify-content:flex-start}
.vraagbalk.vraagbalk-onder::after{right:auto;left:22px;bottom:auto;top:-7px;transform:rotate(225deg)}
.vraagbalk.vraagbalk-klein::after{right:16px}
@media (max-width:480px){.vraagbalk{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));justify-content:center}}
/* telefoon in de 3D-wereld (vraag.js zet de klasse en de hoogte): een rond icoon rechts, boven de knoppen van de wereld */
.vraagbalk.vraagbalk-klein{left:auto;right:max(12px,env(safe-area-inset-right));width:52px;min-height:52px;padding:0;justify-content:center;gap:0}
.vraagbalk-klein .vraagbalk-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.basWolk{position:fixed;left:0;top:0;z-index:5;display:inline-flex;align-items:center;max-width:15rem;min-height:44px;padding:8px 14px;border:1px solid #5FB0FF;border-radius:20px;background:#0B1220;color:#E6EBF2;font:700 .875rem/1.25 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif;text-align:left;cursor:pointer;box-shadow:0 10px 30px -10px #000C}
.basWolk::after{right:auto;left:18px}
.basWolk.links::after{left:auto;right:18px}
.basWolk[hidden]{display:none}
.basWolk:hover{background:#0B2545}
.basWolk:focus-visible{outline:2px solid #5FB0FF;outline-offset:3px}
.basKeuze{position:fixed;z-index:61;display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #5FB0FF66;border-radius:12px;background:#0B1220;box-shadow:0 10px 30px -10px #000C}
.basKeuze button{min-height:44px;padding:0 16px;border:1px solid #5FB0FF66;border-radius:8px;background:transparent;color:#E6EBF2;font:600 .9375rem/1 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif;text-align:left;cursor:pointer}
.basKeuze button:hover,.basKeuze button:focus-visible{background:#0B2545;outline:2px solid #5FB0FF;outline-offset:1px}
@media print{.vraagbalk,.basWolk,.basKeuze{display:none}}
.vraagvenster{width:min(36rem,calc(100vw - 24px));max-height:calc(100vh - 48px);margin:auto 16px 16px auto;padding:0;border:1px solid #5FB0FF38;border-radius:14px;background:#0B1220;color:#E6EBF2;font:500 1rem/1.5 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif}
@media (max-width:480px){.vraagvenster{margin:auto auto 12px}}
.vraagvenster::backdrop{background:#060A12B3}
.vv-kop{display:flex;align-items:flex-start;gap:12px;padding:16px 16px 12px;border-bottom:1px solid #5FB0FF38}
.vv-kop h2{flex:1;margin:0;font-size:1.125rem;line-height:1.3}
.vv-wie{display:block;margin-top:4px;font-size:.8125rem;font-weight:500;color:#9AA4B2}
.vv-dicht{min-height:44px;padding:0 14px;border:1px solid #5FB0FF66;border-radius:8px;background:transparent;color:#E6EBF2;font:600 .875rem/1 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.vv-lijf{padding:14px 16px 16px;overflow:auto;max-height:calc(100vh - 160px)}
.vv-lijf p{margin:0 0 10px}
.vv-lijf label{display:block;margin:10px 0 4px;font-size:.875rem;font-weight:700}
.vv-lijf textarea,.vv-lijf input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #1F6FD6;border-radius:8px;background:#060C14;color:#E6EBF2;font:500 1rem/1.4 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif}
.vv-lijf textarea{min-height:110px;resize:vertical}
.vv-twee{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
@media (max-width:480px){.vv-twee{grid-template-columns:1fr}}
.vv-knop{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:0 18px;border:0;border-radius:8px;background:#FF7A1A;color:#111;font:700 .9375rem/1 Manrope,"Segoe UI",ui-sans-serif,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.vv-knop[disabled]{opacity:.6;cursor:wait}
.vv-knop.vv-rustig{background:transparent;color:#E6EBF2;border:1px solid #5FB0FF66}
.vv-lijf textarea:focus-visible,.vv-lijf input:focus-visible,.vv-knop:focus-visible,.vv-dicht:focus-visible,.vv-lijf a:focus-visible{outline:2px solid #5FB0FF;outline-offset:2px}
.vv-klein{font-size:.8125rem;color:#9AA4B2}
.vv-klein a,.vv-lijf a{color:#5FB0FF}
.vv-lijf a.vv-knop{color:#111}
.vv-lijf a.vv-knop.vv-rustig{color:#E6EBF2}
.vv-stand{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#0B2545;font-size:.9375rem}
.vv-stand[data-soort="fout"]{background:#3A1414}
.vv-antwoord{margin:12px 0 0;padding:12px 14px;border:1px solid #5FB0FF38;border-radius:10px;background:#101A2C;white-space:pre-wrap}
.vv-antwoord-wie{display:block;margin-bottom:6px;font-size:.8125rem;font-weight:700;color:#9AA4B2;white-space:normal}
.vv-acties{display:flex;flex-wrap:wrap;gap:8px}
.vv-bezig::after{content:"";display:inline-block;width:.9em;height:.9em;margin-left:8px;vertical-align:-2px;border:2px solid #5FB0FF;border-right-color:transparent;border-radius:50%;animation:vv-draai 1s linear infinite}
@keyframes vv-draai{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.vv-bezig::after{animation:none;border-right-color:#5FB0FF}}
.vv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
