/* One-question visit poll: a quiet card above the bottom nav (z-44), below Settings (z-48),
   ceremonies (z-50) and modal cards (z-60). Not a modal: the app stays usable behind it. */
#visitPoll{position:fixed;left:50%;transform:translateX(-50%);z-index:46;width:min(420px,calc(100% - 24px));
  bottom:calc(max(6px,calc(env(safe-area-inset-bottom,0px) - 16px)) + 90px);
  background:linear-gradient(180deg,#221c2e,#17131f);border:1px solid #ffffff1f;border-top:2px solid var(--rank);
  border-radius:16px;padding:14px 14px 12px;box-shadow:0 18px 40px -12px #000c;font-family:'DM Sans',sans-serif;
  animation:vpIn .35s cubic-bezier(.2,.7,.2,1)}
#visitPoll[hidden]{display:none}
@keyframes vpIn{from{opacity:0;transform:translateX(-50%) translateY(12px)}}
.vp-head{display:flex;align-items:flex-start;gap:10px}
.vp-head p{flex:1;min-width:0;margin:0;font-size:14px;font-weight:700;color:var(--text);line-height:1.35}
.vp-head small{display:block;font-size:11.5px;font-weight:400;color:var(--muted);margin-top:3px}
.vp-close{flex:none;background:none;border:0;color:var(--muted);font-size:13px;font-family:inherit;padding:6px 8px;
  margin:-6px -6px 0 0;min-height:32px;cursor:pointer;border-radius:8px}
.vp-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}
.vp-choice{min-height:40px;border-radius:10px;border:1px solid #ffffff24;background:#ffffff08;color:var(--text);
  font:600 14px 'DM Sans',sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;touch-action:manipulation}
.vp-choice.on{border-color:var(--rank);background:var(--rank-soft)}
.vp-choice:disabled:not(.on){opacity:.4}
.vp-msg{min-height:1.3em;margin:8px 0 0;font-size:12px;color:var(--muted)}
.vp-done .vp-msg{color:var(--gain)}
#visitPoll button:focus-visible{outline:2px solid var(--rank);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.vp-choice:not(:disabled):hover{border-color:var(--rank)}.vp-close:hover{color:var(--text)}}
@media (prefers-reduced-motion:reduce){#visitPoll{animation:none}}
