/* Shared voting guide on the intro, main page and podcast. */
body.ep-vote-open { overflow: hidden; }
.ep-vote-dialog { width: min(620px,calc(100% - 32px)); max-width: none; max-height: calc(100svh - 32px); margin: auto; padding: 32px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(230,198,149,.35); border-radius: 20px; color: #f3fbff; background: radial-gradient(ellipse at top right,rgba(217,168,91,.11),transparent 65%),#0a1520; box-shadow: 0 24px 100px #0009; }
.ep-vote-dialog::backdrop { background: rgba(2,7,14,.78); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.ep-vote-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(230,198,149,.22); border-radius: 50%; color: #eddbbd; background: #ffffff05; font: 300 1.65rem/1 sans-serif; cursor: pointer; }
.ep-vote-close:hover { background: #ffffff10; }
.ep-vote-dialog :focus-visible { outline: 3px solid #caff8e; outline-offset: 4px; }
.ep-vote-dialog .ep-vote-title:focus { outline: none; }
.ep-vote-kicker { max-width: calc(100% - 38px); margin: 0 0 16px; color: #dec492; font: 700 .6rem/1.5 var(--mono,monospace); letter-spacing: .1em; }
.ep-vote-dialog .ep-vote-title { margin: 0 0 16px; font-size: clamp(1.85rem,4vw,2.6rem); line-height: 1.12; letter-spacing: -.015em; }
.ep-vote-title em { display: block; color: #ffe1a5; font-style: normal; }
.ep-vote-intro { margin: 0 0 23px; color: #bdcdd8; font-size: .95rem; line-height: 1.55; }
.ep-vote-intro strong { color: #ffe1a5; white-space: nowrap; }
.ep-vote-steps { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.ep-vote-steps li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 13px; }
.ep-vote-steps li > span { padding-top: 2px; color: #caff8e; font: 600 .8rem/1.5 var(--mono,monospace); }
.ep-vote-steps strong { color: #f1f5f6; font-size: .94rem; font-weight: 650; }
.ep-vote-steps p { margin: 4px 0 0; color: #aebecc; font-size: .85rem; line-height: 1.5; }
.ep-vote-note { margin-bottom: 24px; padding: 16px 18px; border-left: 2px solid #dfbd80; border-radius: 0 8px 8px 0; background: rgba(226,184,112,.07); }
.ep-vote-note > strong { color: #ecd5b0; font-size: .82rem; line-height: 1.5; }
.ep-vote-note p { margin: 6px 0 0; color: #bfc9d0; font-size: .8rem; line-height: 1.55; }
.ep-vote-note a { color: #e8d2ad; text-underline-offset: 3px; }
.ep-vote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ep-vote-actions .ep-vote-continue { min-height: 48px; padding: 13px 18px; border-color: #daffb7; border-radius: 6px; color: #142113; background: #caff8e; font-size: .85rem; }
.ep-vote-actions .ep-vote-continue:hover { background: #ddffb9; }
.ep-vote-back { min-height: 44px; padding: 8px 0; border: 0; color: #b9c7d0; background: none; font: inherit; font-size: .77rem; cursor: pointer; }
.ep-vote-back:hover { color: #fff0d6; }
.ep-vote-deadline { margin: 12px 0 0; color: #8da3b3; font-size: .68rem; line-height: 1.5; }
@media (max-width: 600px) {
  .ep-vote-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); padding: 28px 22px 22px; border-radius: 16px; }
  .ep-vote-kicker { font-size: .53rem; margin-bottom: 18px; }
  .ep-vote-dialog .ep-vote-title { font-size: 2rem; }
  .ep-vote-intro { font-size: .85rem; margin-bottom: 19px; }
  .ep-vote-intro strong { white-space: normal; }
  .ep-vote-steps { gap: 15px; margin-bottom: 20px; }
  .ep-vote-steps li { grid-template-columns: 26px minmax(0,1fr); gap: 8px; }
  .ep-vote-steps strong { font-size: .86rem; }
  .ep-vote-steps p { font-size: .79rem; }
  .ep-vote-note { padding: 13px 14px; margin-bottom: 18px; }
  .ep-vote-note > strong { font-size: .77rem; }
  .ep-vote-note p { font-size: .75rem; }
  .ep-vote-actions { flex-direction: column; align-items: stretch; gap: 0; }
  .ep-vote-actions .ep-vote-continue { width: 100%; }
  .ep-vote-deadline { margin-top: 5px; font-size: .63rem; }
}
