/* The day-close poll pinned in the VIP lounge (js/daypoll.js): the floating icon over the VIP chat, and the window
   that shows the player his own clock, the league's closing time in his own zone and the three moments offered. */

/* The icon sits in the TOP corner of the VIP list, clear of the message box and of the scrollbar — at the bottom it
   landed on the send bar and was cut in half (the owner, 2026-11-15). The poll's real home is the Events screen,
   pinned under the game's rules for every player (js/menu.js pinnedCards): this is only a shortcut for the lounge. */
.dp-fab-slot { position: absolute; inset-inline-end: 14px; top: 10px; z-index: 6; pointer-events: none; }
.dp-fab-slot > * { pointer-events: auto; }
.dp-fab-slot[hidden] { display: none; }
.dp-fab {
  width: 38px; height: 38px; border: 0; border-radius: 50%; font-size: 19px; line-height: 1; cursor: pointer;
  background: linear-gradient(160deg, #7c4dff, #3d7bff); color: #fff; box-shadow: 0 3px 10px rgba(60, 40, 140, .45);
}
.dp-fab:hover { filter: brightness(1.1); }

.dp-body { padding: 4px 2px 14px; }
.dp-mine {
  display: grid; justify-items: center; gap: 2px; padding: 12px; margin-bottom: 12px; border-radius: 14px;
  background: rgba(124, 77, 255, .12); border: 1px solid rgba(124, 77, 255, .3);
}
.dp-mine small { opacity: .75; font-size: 12px; }
.dp-clock { font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: 1px; direction: ltr; }
.dp-zone { font-size: 11px; direction: ltr; }
.dp-q { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.dp-left { margin: 0 0 10px; font-size: 12px; font-weight: 700; color: #e8467c; }
.dp-today { margin: 0 0 12px; font-size: 13px; }
.dp-today p { margin: 0 0 3px; }
.dp-chain { opacity: .7; font-size: 12px; }
.dp-choose { font-size: 13px; opacity: .85; margin: 0 0 8px; }

.dp-choices { display: grid; gap: 8px; }
.dp-choice {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: start;
  border: 1px solid rgba(140, 140, 170, .35); background: rgba(255, 255, 255, .05); color: inherit;
}
.dp-choice.on { border-color: #7c4dff; background: rgba(124, 77, 255, .18); }
.dp-time { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; }
.dp-utc { font-size: 11px; opacity: .6; direction: ltr; }
/* the count chip: a small figure of a person and the NUMBER, nothing else — it must fit on a narrow phone in all
   seven languages, so no words in it (the long Russian strings were what broke the Leaders chips) */
.dp-count {
  display: inline-flex; align-items: center; gap: 3px; direction: ltr; white-space: nowrap;
  padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 1.5;
  background: rgba(124, 77, 255, .16); color: inherit;
}
.dp-count .dp-head { font-style: normal; font-size: 11px; opacity: .75; }
.dp-count b { font-size: 14px; font-variant-numeric: tabular-nums; }
.dp-count small { opacity: .6; font-size: 10px; }
.dp-choice.on .dp-count { background: rgba(124, 77, 255, .32); }
.dp-total { margin: 10px 0 0; font-size: 12px; opacity: .85; text-align: center; }
.dp-total.dp-bump { animation: dp-bump .45s ease-out; }
@keyframes dp-bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dp-total.dp-bump { animation: none; } }
.dp-bar { position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 3px; border-radius: 0 0 12px 12px; overflow: hidden; }
.dp-bar i { display: block; height: 100%; width: 0; background: #7c4dff; }
.dp-note { margin: 10px 0 0; font-size: 12px; opacity: .8; }
.dp-permanent { margin: 12px 0 0; font-size: 12px; font-weight: 700; color: #7c4dff; }

/* the poll's card pinned in the Events screen (js/menu.js pinnedCards), under the game's rules */
.nt-pin-poll .nt-pin-ico { font-size: 22px; }
