/* BA Voting 0.5.1 — native public voting + phase system */
.bpv-shell{
  --bpv-bg:#090b0f;
  --bpv-surface:rgba(15,18,24,.92);
  --bpv-surface-2:rgba(22,26,33,.94);
  --bpv-line:rgba(255,255,255,.11);
  --bpv-line-strong:rgba(255,255,255,.20);
  --bpv-text:#f7f7f8;
  --bpv-muted:#9ca3ad;
  --bpv-pink:#d83ca4;
  --bpv-orange:#f0a13a;
  --bpv-gradient:linear-gradient(90deg,var(--bpv-pink),var(--bpv-orange));
  width:100%;
  max-width:940px;
  margin:0 auto;
  padding:42px 20px 80px;
  color:var(--bpv-text);
  font-family:inherit;
  line-height:1.45;
}
.bpv-shell,.bpv-shell *{box-sizing:border-box}
.bpv-shell h1,.bpv-shell h2,.bpv-shell p{font-family:inherit;text-transform:none;letter-spacing:normal}
.bpv-shell button,.bpv-shell input{font:inherit}
.bpv-shell label{margin:0}

.bpv-hero{width:100%;max-width:760px;margin:0 auto 30px;text-align:center}
.bpv-hero-topline{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.bpv-hero-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.16em;color:#fff;opacity:.78}
.bpv-test-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border:1px solid rgba(240,161,58,.42);border-radius:999px;background:rgba(240,161,58,.10);color:#ffd59d;font-size:10px;font-weight:900;letter-spacing:.10em}
.bpv-hero h1{margin:0;font-size:clamp(40px,6vw,66px);line-height:.98;font-weight:900;color:#fff}
.bpv-hero h1::after{content:"";display:block;width:86px;height:4px;margin:16px auto 0;border-radius:999px;background:var(--bpv-gradient)}
.bpv-hero p{max-width:680px;margin:12px auto 0;color:var(--bpv-muted);font-size:15px}.bpv-hero .bpv-hero-tagline{margin-top:17px!important;color:#fff!important;font-size:clamp(17px,2.5vw,23px)!important;font-weight:850!important}.bpv-hero .bpv-hero-help{margin-top:8px!important;font-size:13px!important}

.bpv-form{display:grid;gap:18px;width:100%}
.bpv-category,.bpv-email,.bpv-state,.bpv-message,.bpv-review{
  position:relative;
  width:100%;
  min-width:0;
  border:1px solid var(--bpv-line);
  background:linear-gradient(180deg,rgba(20,23,30,.94),rgba(11,14,19,.96));
  border-radius:18px;
  box-shadow:0 16px 50px rgba(0,0,0,.18);
}
.bpv-category{padding:22px;overflow:hidden}
.bpv-category::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--bpv-gradient);opacity:.82}
.bpv-category-head{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.bpv-category-number{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.04);color:#c6c9cf;font-size:11px;font-weight:900;letter-spacing:.08em}
.bpv-category-head>div{min-width:0}
.bpv-category-title{margin:0!important;padding:0!important;color:#fff!important;font-size:21px!important;line-height:1.12!important;font-weight:850!important;text-align:left!important}
.bpv-category-head p{margin:4px 0 0!important;color:var(--bpv-muted)!important;font-size:12px!important;line-height:1.25!important}

.bpv-combobox{position:relative}
.bpv-select-field{position:relative;display:flex;align-items:center;width:100%;min-height:54px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:#0e1319;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.bpv-select-field:focus-within{border-color:rgba(216,60,164,.72);box-shadow:0 0 0 3px rgba(216,60,164,.12);background:#11171e}
.bpv-search-icon{position:relative;flex:0 0 44px;width:44px;height:52px}
.bpv-search-icon::before{content:"";position:absolute;left:15px;top:17px;width:13px;height:13px;border:2px solid rgba(255,255,255,.46);border-radius:50%}
.bpv-search-icon::after{content:"";position:absolute;left:27px;top:30px;width:7px;height:2px;border-radius:2px;background:rgba(255,255,255,.46);transform:rotate(45deg);transform-origin:left center}
.bpv-shell .bpv-search,.bpv-shell .bpv-email input{
  display:block;width:100%!important;min-width:0;height:52px!important;margin:0!important;border:0!important;border-radius:0!important;outline:none!important;background:transparent!important;color:#fff!important;box-shadow:none!important;line-height:1.2!important
}
.bpv-shell .bpv-search{padding:0 8px 0 0!important;font-size:15px!important;font-weight:650!important}
.bpv-shell .bpv-email input{padding:0 15px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:12px!important;background:#0e1319!important}
.bpv-shell .bpv-search::placeholder,.bpv-shell .bpv-email input::placeholder{color:#6f7883;opacity:1;font-weight:500}
.bpv-shell .bpv-email input:focus{border-color:rgba(216,60,164,.72)!important;box-shadow:0 0 0 3px rgba(216,60,164,.12)!important;background:#11171e!important}
.bpv-clear{display:grid!important;place-items:center;flex:0 0 44px;width:44px!important;height:44px!important;margin:4px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#b6beca!important;font-size:26px!important;font-weight:300!important;line-height:1!important;cursor:pointer}
.bpv-clear[hidden]{display:none!important}.bpv-clear:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
.bpv-combobox.is-selected .bpv-select-field{border-color:rgba(236,116,76,.54);background:linear-gradient(90deg,rgba(216,60,164,.11),rgba(240,161,58,.07)),#0e1319;box-shadow:0 0 0 1px rgba(216,60,164,.05) inset}
.bpv-combobox.is-selected .bpv-search{font-weight:850!important}.bpv-category.has-selection .bpv-category-number{border-color:rgba(240,161,58,.45);color:#ffd29a}
.bpv-suggestions{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:30;padding:6px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#111721;box-shadow:0 20px 52px rgba(0,0,0,.46)}
.bpv-suggestions[hidden]{display:none!important}
.bpv-suggestion{display:flex!important;align-items:center;gap:10px;width:100%;min-height:46px;padding:7px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#f7f7f8!important;text-align:left!important;cursor:pointer!important}
.bpv-suggestion:hover,.bpv-suggestion.is-active{background:#1b2230!important}
.bpv-suggestion-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(255,255,255,.09);border-radius:50%;background:linear-gradient(135deg,rgba(216,60,164,.24),rgba(240,161,58,.18));font-size:11px;font-weight:900}
.bpv-suggestion-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:750}
.bpv-suggestion-note{padding:11px 12px;color:var(--bpv-muted);font-size:13px;line-height:1.35}.bpv-suggestion-note.is-more{border-top:1px solid rgba(255,255,255,.07);margin-top:4px;font-size:11px}
.bpv-selection-error{margin:8px 2px 0!important;color:#ffb3cb!important;font-size:12px!important}.bpv-selection-error[hidden]{display:none!important}.bpv-category.is-invalid .bpv-select-field{border-color:rgba(255,88,118,.64);box-shadow:0 0 0 3px rgba(255,88,118,.10)}

.bpv-email{padding:22px}
.bpv-email label{display:block;margin:0 0 8px!important;color:#fff;font-size:14px;font-weight:800}
.bpv-email p{margin:10px 0 0!important;color:var(--bpv-muted)!important;font-size:12px!important}
.bpv-consent{display:flex;align-items:flex-start;gap:10px;padding:2px 4px;color:#c8cbd0;font-size:13px;line-height:1.45;cursor:pointer}
.bpv-consent input[type="checkbox"]{flex:0 0 18px;width:18px!important;height:18px!important;margin:1px 0 0!important;accent-color:#d83ca4}
.bpv-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.bpv-shell .bpv-submit,.bpv-shell .bpv-secondary{
  min-height:50px;
  border-radius:12px!important;
  padding:13px 20px!important;
  font-weight:850!important;
  font-size:14px!important;
  line-height:1.2!important;
  cursor:pointer;
  transition:transform .14s ease,filter .14s ease,border-color .14s ease,background .14s ease;
}
.bpv-shell .bpv-submit{border:0!important;background:var(--bpv-gradient)!important;color:#fff!important;box-shadow:0 10px 30px rgba(216,60,164,.16)}
.bpv-shell .bpv-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}
.bpv-shell .bpv-secondary{border:1px solid rgba(255,255,255,.13)!important;background:#141a21!important;color:#fff!important}
.bpv-shell .bpv-secondary:hover{border-color:rgba(255,255,255,.24)!important;background:#18212a!important}
.bpv-review-open{width:100%}

.bpv-state,.bpv-message{padding:22px;margin-bottom:18px}
.bpv-state h2{margin:0 0 7px!important;color:#fff!important}.bpv-state p,.bpv-message,.bpv-note{color:var(--bpv-muted)}
.bpv-countdown{font-weight:850;font-size:28px;margin-top:20px}

/* Mandatory review before final submission. */
.bpv-form.is-reviewing>.bpv-category,
.bpv-form.is-reviewing>.bpv-email,
.bpv-form.is-reviewing>.bpv-consent,
.bpv-form.is-reviewing>.bpv-review-open{display:none!important}
.bpv-review{padding:24px;scroll-margin-top:110px}
.bpv-review[hidden]{display:none!important}
.bpv-review-head span{display:block;color:#f0a13a;font-size:10px;font-weight:900;letter-spacing:.14em}
.bpv-review-head h2{margin:7px 0 8px!important;color:#fff!important;font-size:clamp(28px,4vw,42px)!important;line-height:1.05!important;font-weight:900!important}
.bpv-review-head p{margin:0 0 22px!important;color:var(--bpv-muted)!important;font-size:14px!important}
.bpv-review-list{display:grid;gap:9px}
.bpv-review-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 14px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.025)}
.bpv-review-copy span,.bpv-review-email span{display:block;color:#f0a13a;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.bpv-review-copy strong,.bpv-review-email strong{display:block;margin-top:4px;font-size:16px;color:#fff}
.bpv-review-edit{border:1px solid rgba(255,255,255,.14)!important;border-radius:9px!important;background:transparent!important;color:#fff!important;padding:8px 11px!important;font-weight:750!important;cursor:pointer}
.bpv-review-edit:hover{border-color:rgba(240,161,58,.55)!important;color:#ffd29a!important}
.bpv-review-email{margin:14px 0 0;padding:13px 14px;border:1px solid rgba(255,255,255,.09);border-radius:11px}
.bpv-review-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}

/* Private receipt / share card. */
.bpv-story-card{width:min(100%,540px);aspect-ratio:9/16;margin:24px auto;background:#000000;border:1px solid rgba(255,255,255,.13);border-radius:20px;padding:34px 28px;box-sizing:border-box;text-align:center;display:flex;flex-direction:column}
.bpv-story-kicker{font-weight:800;letter-spacing:.12em;font-size:13px}.bpv-story-title{font-size:42px;font-weight:900;margin:12px 0 4px}.bpv-story-list{display:grid;gap:10px;margin:28px 0}.bpv-story-list>div{text-align:left;border:1px solid rgba(255,255,255,.13);border-radius:11px;padding:12px 15px;background:rgba(255,255,255,.035)}.bpv-story-list span{display:block;color:#f0a13a;font-size:10px;font-weight:800;letter-spacing:.08em}.bpv-story-list strong{display:block;font-size:19px;margin-top:5px}.bpv-story-cta{margin-top:auto;font-weight:800}.bpv-story-url{color:#99a7b5;margin-top:10px}.bpv-receipt-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.bpv-note{text-align:center;font-size:13px}

@media(max-width:720px){
  .bpv-shell{padding:28px 13px 64px}
  .bpv-hero{margin-bottom:24px}
  .bpv-hero h1{font-size:clamp(38px,12vw,52px)}
  .bpv-category,.bpv-email,.bpv-review{padding:17px}
  .bpv-category-head{margin-bottom:13px}
  .bpv-suggestions{left:0;right:0}
  .bpv-suggestion{min-height:50px;padding:9px 10px!important}
  .bpv-review-row{grid-template-columns:1fr}
  .bpv-review-edit{justify-self:start}
  .bpv-review-actions{display:grid;grid-template-columns:1fr}
  .bpv-review-actions .bpv-submit,.bpv-review-actions .bpv-secondary{width:100%}
}

@media(prefers-reduced-motion:reduce){.bpv-shell *{scroll-behavior:auto!important;transition:none!important}}

/* BA Voting 0.4.3 — post-vote confirmation + private visual recap */
.bpv-confirmation-wrap{max-width:820px}
.bpv-confirmation{
  position:relative;
  overflow:hidden;
  width:100%;
  padding:34px;
  border:1px solid var(--bpv-line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(20,23,30,.96),rgba(11,14,19,.97));
  box-shadow:0 18px 60px rgba(0,0,0,.20);
  text-align:center;
}
.bpv-confirmation::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--bpv-gradient)}
.bpv-confirmation-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 17px;border:1px solid rgba(240,161,58,.34);border-radius:50%;background:linear-gradient(135deg,rgba(216,60,164,.16),rgba(240,161,58,.14));color:#fff;font-size:28px;font-weight:900}
.bpv-confirmation-kicker,.bpv-receipt-panel-head>span{display:block;color:#f0a13a;font-size:10px;font-weight:900;letter-spacing:.14em}
.bpv-confirmation h2{margin:8px 0 10px!important;color:#fff!important;font-size:clamp(28px,4vw,40px)!important;line-height:1.05!important;font-weight:900!important}
.bpv-confirmation>p{max-width:650px;margin:0 auto!important;color:var(--bpv-muted)!important;font-size:15px!important}
.bpv-confirmation-note{display:grid;gap:5px;max-width:650px;margin:24px auto 0;padding:16px 18px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.035);text-align:left}
.bpv-confirmation-note strong{color:#fff;font-size:14px}.bpv-confirmation-note span{color:var(--bpv-muted);font-size:13px;line-height:1.5}
.bpv-confirmation-help{margin-top:18px!important;font-size:12px!important;opacity:.88}

.bpv-receipt-wrap{max-width:940px}
.bpv-receipt-hero{margin-bottom:26px}
.bpv-receipt-panel,.bpv-share-panel{position:relative;overflow:hidden;width:100%;padding:24px;border:1px solid var(--bpv-line);border-radius:18px;background:linear-gradient(180deg,rgba(20,23,30,.94),rgba(11,14,19,.96));box-shadow:0 16px 50px rgba(0,0,0,.18)}
.bpv-receipt-panel::before,.bpv-share-panel::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--bpv-gradient);opacity:.82}
.bpv-share-panel{margin-top:18px}
.bpv-receipt-panel-head h2{margin:6px 0 6px!important;color:#fff!important;font-size:clamp(27px,4vw,38px)!important;line-height:1.05!important;font-weight:900!important}
.bpv-receipt-panel-head p{margin:0 0 20px!important;color:var(--bpv-muted)!important;font-size:13px!important}
.bpv-receipt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bpv-receipt-choice{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:14px;min-width:0;padding:9px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.03)}
.bpv-receipt-photo{display:grid;place-items:center;width:76px;aspect-ratio:1;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,rgba(216,60,164,.18),rgba(240,161,58,.15));color:#fff;font-size:24px;font-weight:900}
.bpv-receipt-photo img{display:block;width:100%;height:100%;object-fit:cover}
.bpv-receipt-copy{min-width:0}
.bpv-receipt-copy span{display:block;color:#f0a13a;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.bpv-receipt-copy strong{display:block;min-width:0;margin-top:5px;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:17px;line-height:1.2;white-space:nowrap}

@media(max-width:720px){
  .bpv-confirmation{padding:25px 18px}
  .bpv-receipt-panel,.bpv-share-panel{padding:17px}
  .bpv-receipt-grid{grid-template-columns:1fr}
  .bpv-receipt-choice{grid-template-columns:68px minmax(0,1fr)}
  .bpv-receipt-photo{width:68px}
}

/* BA Voting 0.4.4 — explicit mail-queue warning state */
.bpv-confirmation.is-warning .bpv-confirmation-icon{border-color:rgba(240,161,58,.62);background:rgba(240,161,58,.12);color:#f0a13a}


/* 0.5.0 — website phases + social CTA */
.bpv-state{overflow:hidden}.bpv-state::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--bpv-gradient);opacity:.82}.bpv-state-kicker{display:block;margin-bottom:7px;color:#f0a13a;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.bpv-state h2{font-size:clamp(26px,4vw,38px)!important}.bpv-phase-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px!important}.bpv-phase-actions a{text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center}
.bpv-socials{margin-top:22px;padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.025);text-align:center}.bpv-socials-label{display:block;margin-bottom:10px;color:#cfd4dc;font-size:12px;font-weight:800}.bpv-socials-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.bpv-social-link{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:#11171e;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:750}.bpv-social-link:hover{border-color:rgba(240,161,58,.45);background:#171e27}.bpv-social-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,rgba(216,60,164,.28),rgba(240,161,58,.22));color:#fff}.bpv-social-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bpv-social-icon svg .is-fill{fill:currentColor;stroke:none}.bpv-social-icon svg .is-fill-bg{fill:#11171e;stroke:none}.bpv-socials.is-compact{max-width:760px;margin:20px auto 0}
.bpv-phase-widget{--bpv-text:#f7f7f8;--bpv-muted:#9ca3ad;--bpv-pink:#d83ca4;--bpv-orange:#f0a13a;--bpv-gradient:linear-gradient(90deg,var(--bpv-pink),var(--bpv-orange));box-sizing:border-box;width:min(100%,760px);margin:0 auto;padding:24px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:linear-gradient(180deg,rgba(20,23,30,.94),rgba(11,14,19,.96));color:var(--bpv-text);text-align:center;font-family:inherit}.bpv-phase-widget *{box-sizing:border-box}.bpv-phase-widget-kicker{display:block;color:#f0a13a;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.bpv-phase-widget h2{margin:8px 0 7px!important;color:#fff!important;font-size:clamp(25px,4vw,38px)!important;line-height:1.06!important}.bpv-phase-widget>p{margin:0 auto 16px!important;color:var(--bpv-muted)!important}.bpv-phase-widget>.bpv-submit,.bpv-phase-widget>.bpv-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 19px!important;border-radius:11px!important;text-decoration:none!important;font-weight:850!important}.bpv-phase-widget>.bpv-submit{border:0!important;background:var(--bpv-gradient)!important;color:#fff!important}.bpv-phase-widget>.bpv-secondary{border:1px solid rgba(255,255,255,.13)!important;background:#141a21!important;color:#fff!important}.bpv-phase-widget .bpv-socials{margin-top:18px}
@media(max-width:720px){.bpv-social-link{flex:1 1 calc(50% - 8px);justify-content:center}.bpv-phase-widget{padding:18px}.bpv-suggestions{z-index:40}}


/* 0.5.1 — voting UX polish */
.bpv-native-voting-page .bpv-legacy-page-title{display:none!important}
.bpv-native-voting-page .bpv-shell{padding-top:24px}
.bpv-category{overflow:visible;z-index:1}
.bpv-category.has-open-combobox{z-index:80}
.bpv-suggestions{z-index:1000}
.bpv-suggestion-avatar{overflow:hidden}
.bpv-suggestion-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.bpv-combobox.is-selected .bpv-search-icon{display:none}
.bpv-combobox.is-selected .bpv-search{padding-left:15px!important}
.bpv-review-row{grid-template-columns:82px minmax(0,1fr) auto;padding:10px 12px;gap:15px}
.bpv-review-photo{display:grid;place-items:center;width:82px;aspect-ratio:1;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:linear-gradient(135deg,rgba(216,60,164,.18),rgba(240,161,58,.15));color:#fff;font-size:24px;font-weight:900}
.bpv-review-photo img{display:block;width:100%;height:100%;object-fit:cover}
.bpv-review-copy{min-width:0}
.bpv-review-copy span{font-size:10px}
.bpv-review-copy strong{margin-top:5px;font-size:20px;line-height:1.15;overflow:hidden;text-overflow:ellipsis}
.bpv-socials.is-compact{max-width:760px;padding:20px 22px}
.bpv-socials.is-compact .bpv-socials-label{font-size:13px;margin-bottom:12px}
.bpv-socials.is-compact .bpv-social-link{min-height:44px;padding:9px 14px;font-size:13px}
.bpv-socials.is-compact .bpv-social-icon{width:28px;height:28px}
.bpv-socials.is-compact .bpv-social-icon svg{width:17px;height:17px}
.bpv-confirmation-note + .bpv-confirmation-help{margin-top:22px!important}
@media(max-width:720px){
  .bpv-native-voting-page .bpv-shell{padding-top:18px}
  .bpv-review-row{grid-template-columns:64px minmax(0,1fr) auto;gap:10px;padding:9px}
  .bpv-review-photo{width:64px;border-radius:9px}
  .bpv-review-copy span{font-size:8px}
  .bpv-review-copy strong{font-size:17px;white-space:normal}
  .bpv-review-edit{padding:7px 9px!important;font-size:12px!important}
  .bpv-form + .bpv-socials{display:none!important}
}


/* 0.5.3 — selected thumbnails, page rhythm and recap readability */
body.bpv-native-voting-page .entry-header,
body.bpv-native-voting-page .page-header,
body.bpv-native-voting-page .wp-block-post-title,
body.bpv-native-voting-page .entry-title,
body.bpv-native-voting-page .page-title{display:none!important}
body.bpv-native-voting-page .bpv-shell{padding-top:var(--bam-public-page-top,12px)!important}
.bpv-selected-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;margin-left:7px;overflow:hidden;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:linear-gradient(135deg,rgba(216,60,164,.18),rgba(240,161,58,.15));color:#fff;font-size:12px;font-weight:900}
.bpv-selected-avatar[hidden]{display:none!important}.bpv-selected-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.bpv-combobox.is-selected .bpv-search{padding-left:10px!important}
.bpv-suggestion-avatar{border-radius:7px}
.bpv-suggestion-avatar img,.bpv-review-photo img,.bpv-receipt-photo img{object-position:center center}
.bpv-review-copy span{font-size:12px!important;line-height:1.15!important;letter-spacing:.11em!important}.bpv-review-copy strong{font-size:22px!important;line-height:1.12!important}
@media(max-width:720px){
  body.bpv-native-voting-page .bpv-shell{padding-top:var(--bam-public-page-top,10px)!important}
  .bpv-selected-avatar{flex-basis:36px;width:36px;height:36px;margin-left:7px}
  .bpv-review-copy span{font-size:10px!important}.bpv-review-copy strong{font-size:19px!important}
}

/* 0.5.4 — final public-test polish: compact top rhythm + profile-card image parity */
body.bpv-native-voting-page main,
body.bpv-native-voting-page .site-main,
body.bpv-native-voting-page .wp-site-blocks main,
body.bpv-native-voting-page .entry-content,
body.bpv-native-voting-page .wp-block-post-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.bpv-native-voting-page .bpv-shell{margin-top:0!important;padding-top:0!important}
.bpv-suggestion-avatar img,
.bpv-selected-avatar img,
.bpv-review-photo img,
.bpv-receipt-photo img{
  object-fit:cover;
  object-position:center center;
  filter:saturate(.9) contrast(1.03);
}
.bpv-retry-mail{margin-top:18px;text-align:center}
.bpv-retry-mail .bpv-submit{width:auto;min-width:280px;max-width:100%}
@media(max-width:720px){
  body.bpv-native-voting-page .bpv-shell{padding-top:0!important}
  .bpv-retry-mail .bpv-submit{width:100%;min-width:0}
}


/* 0.5.6 — exact public Profiles thumbnail parity + breathing room */
body.bpv-native-voting-page{--bam-public-page-top:52px}
body.bpv-native-voting-page main,
body.bpv-native-voting-page .site-main,
body.bpv-native-voting-page .wp-site-blocks main,
body.bpv-native-voting-page .entry-content,
body.bpv-native-voting-page .wp-block-post-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.bpv-native-voting-page .bpv-shell{
  margin-top:0!important;
  padding-top:var(--bam-public-page-top)!important;
}
/* Use the exact same image presentation contract as /profily/ for every entity type. */
.bpv-suggestion-avatar img,
.bpv-selected-avatar img,
.bpv-review-photo img,
.bpv-receipt-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(.9) contrast(1.03);
  transition:transform .28s ease,filter .28s ease;
}
@media(max-width:720px){
  body.bpv-native-voting-page{--bam-public-page-top:92px}
  body.bpv-native-voting-page .bpv-shell{padding-top:var(--bam-public-page-top)!important}
}

/* 0.5.6 — hard thumbnail centering parity with /profily/.
   The source image already matches the canonical profile index; this reset
   prevents theme/global img positioning, margins or transforms from shifting
   small voting thumbnails away from the true square center. */
.bpv-suggestion-avatar,
.bpv-selected-avatar,
.bpv-review-photo,
.bpv-receipt-photo{
  position:relative!important;
  overflow:hidden!important;
}
body.bpv-native-voting-page .bpv-suggestion-avatar>img,
body.bpv-native-voting-page .bpv-selected-avatar>img,
body.bpv-native-voting-page .bpv-review-photo>img,
body.bpv-native-voting-page .bpv-receipt-photo>img{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  max-width:none!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  transform:none!important;
  translate:none!important;
}

/* 0.5.8 — desktop selected-profile emphasis only.
   Keep the mobile presentation unchanged; on desktop make the confirmed choice
   read as a compact profile row rather than a tiny search input. */
@media (min-width:721px){
  .bpv-combobox.is-selected .bpv-select-field{
    min-height:60px;
  }
  .bpv-combobox.is-selected .bpv-selected-avatar{
    flex:0 0 46px;
    width:46px;
    height:46px;
    margin-left:7px;
    border-radius:8px;
  }
  .bpv-shell .bpv-combobox.is-selected .bpv-search{
    height:58px!important;
    font-size:16px!important;
    font-weight:850!important;
  }
}


/* 0.5.10 — consistency polish + richer CZ story card */
.bpv-category,.bpv-email,.bpv-state,.bpv-message,.bpv-review,.bpv-receipt-panel,.bpv-share-panel,.bpv-socials,.bpv-phase-widget{
  border-radius:16px;
}
.bpv-category::before,.bpv-receipt-panel::before,.bpv-share-panel::before{
  left:14px;
  right:14px;
  top:-1px;
  height:3px;
  border-radius:999px;
}
.bpv-select-field,
.bpv-shell .bpv-email input,
.bpv-suggestions,
.bpv-shell .bpv-submit,
.bpv-shell .bpv-secondary,
.bpv-review-row,
.bpv-review-edit,
.bpv-receipt-choice,
.bpv-social-link,
.bpv-receipt-actions .bpv-submit,
.bpv-receipt-actions .bpv-secondary{
  border-radius:11px!important;
}
.bpv-category-number,.bpv-clear,.bpv-suggestion,.bpv-selected-avatar,.bpv-suggestion-avatar,.bpv-review-photo,.bpv-receipt-photo,.bpv-story-item,.bpv-story-photo{
  border-radius:9px!important;
}
.bpv-suggestion-avatar,.bpv-selected-avatar,.bpv-review-photo,.bpv-receipt-photo,.bpv-story-photo{overflow:hidden!important}

.bpv-story-card{
  width:min(100%,540px);
  aspect-ratio:9/16;
  margin:24px auto;
  position:relative;
  overflow:hidden;
  background:#000000;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:24px 24px 26px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
}
.bpv-story-brand,.bpv-story-list,.bpv-story-cta,.bpv-story-url{position:relative;z-index:1}
.bpv-story-brand{text-align:center}
.bpv-story-logo{display:block;width:84px;max-width:30%;height:auto;margin:0 auto 10px;opacity:.95}
.bpv-story-kicker{font-weight:850;letter-spacing:.11em;font-size:12px;color:#f3f6fb;opacity:.92}
.bpv-story-title{font-size:40px;line-height:.94;font-weight:900;margin:10px 0 6px;color:#fff;text-transform:none}
.bpv-story-subtitle{font-size:12px;letter-spacing:.01em;color:#9eacba}
.bpv-story-list{display:grid;gap:10px;margin:24px 0 20px}
.bpv-story-item{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.035);
  backdrop-filter:blur(2px);
}
.bpv-story-photo{display:grid;place-items:center;width:56px;height:56px;background:linear-gradient(135deg,rgba(216,60,164,.18),rgba(240,161,58,.15));color:#fff;font-size:22px;font-weight:900}
.bpv-story-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.bpv-story-copy{min-width:0;text-align:left}
.bpv-story-copy span{display:block;color:#55c8ff;font-size:10px;font-weight:900;letter-spacing:.07em;line-height:1.1;text-transform:uppercase}
.bpv-story-copy strong{display:block;margin-top:5px;color:#fff;font-size:17px;line-height:1.12;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bpv-story-cta{margin-top:auto;text-align:center;font-weight:850;font-size:14px;color:#f8fafc}
.bpv-story-url{text-align:center;color:#95a3b2;margin-top:10px;font-size:12px}
@media(max-width:720px){
  .bpv-story-card{padding:22px 20px 24px;border-radius:16px}
  .bpv-story-logo{width:74px;margin-bottom:8px}
  .bpv-story-title{font-size:34px}
  .bpv-story-list{gap:8px;margin:20px 0 18px}
  .bpv-story-item{grid-template-columns:50px minmax(0,1fr);gap:10px;padding:9px}
  .bpv-story-photo{width:50px;height:50px}
  .bpv-story-copy strong{font-size:16px;white-space:normal}
}


/* 0.5.10 final radius contract — align native voting with BA public UI */
.bpv-category,.bpv-email,.bpv-state,.bpv-message,.bpv-review,.bpv-receipt-panel,.bpv-share-panel,.bpv-socials,.bpv-phase-widget{border-radius:8px!important}
.bpv-select-field,.bpv-shell .bpv-email input,.bpv-suggestions,.bpv-review-row,.bpv-receipt-choice,.bpv-social-link,.bpv-story-item{border-radius:6px!important}
.bpv-shell .bpv-submit,.bpv-shell .bpv-secondary,.bpv-review-edit,.bpv-clear,.bpv-suggestion{border-radius:5px!important}
.bpv-category-number,.bpv-selected-avatar,.bpv-suggestion-avatar,.bpv-review-photo,.bpv-receipt-photo,.bpv-story-photo{border-radius:5px!important}
.bpv-story-card{border-radius:8px!important}
@media(max-width:720px){.bpv-story-card{border-radius:8px!important}}

.bpv-story-card.has-custom-bg{
  background-color:#000000;
  background-image:var(--bpv-story-bg-image);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.bpv-share-event{margin-top:20px;padding:16px 18px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03)}
.bpv-share-event-kicker{display:block;margin-bottom:6px;color:#55c8ff;font-size:11px;letter-spacing:.12em;font-weight:900}
.bpv-share-event h3{margin:0 0 5px;font-size:21px;line-height:1.05}
.bpv-share-event p{margin:0 0 10px}
.bpv-share-event-meta{color:#9eacba;font-size:13px;font-weight:700}

/* 0.5.13 — focused post-vote Story page */
.bpv-share-panel-story{max-width:720px;margin:0 auto;padding:20px;background:linear-gradient(180deg,rgba(16,20,27,.90),rgba(8,11,16,.94));border-radius:10px}
.bpv-share-panel-story::before{display:none!important}
.bpv-share-panel-story .bpv-story-card{margin:0 auto 18px}
.bpv-receipt-wrap{max-width:900px}
.bpv-receipt-hero{max-width:720px;margin-bottom:20px}
.bpv-receipt-actions{margin-top:4px}
.bpv-receipt-wrap>.bpv-socials.is-compact{max-width:720px}
@media(max-width:720px){.bpv-share-panel-story{padding:12px}.bpv-receipt-hero{margin-bottom:16px}}

/* 0.5.14 — post-vote Story safe zones + JPEG-only download */
.bpv-story-card{padding:90px 42px 108px!important;border-radius:8px!important;box-sizing:border-box}
.bpv-story-brand{text-align:center}
.bpv-story-logo{width:74px!important;max-width:28%!important;margin:0 auto 7px!important}
.bpv-story-kicker{font-size:9px!important;letter-spacing:.10em!important}
.bpv-story-title{font-size:34px!important;line-height:.96!important;margin:7px 0 4px!important}
.bpv-story-subtitle{font-size:9px!important;letter-spacing:.04em!important}
.bpv-story-list{display:grid!important;gap:6px!important;width:92%;margin:15px auto 10px!important}
.bpv-story-item{grid-template-columns:58px minmax(0,1fr)!important;gap:14px!important;min-height:72px!important;padding:7px 12px!important;border-radius:6px!important}
.bpv-story-photo{width:58px!important;height:58px!important;border-radius:5px!important}
.bpv-story-copy span{font-size:9px!important}.bpv-story-copy strong{font-size:16px!important;line-height:1.1!important;margin-top:4px!important}
.bpv-story-cta{margin-top:auto!important;padding-bottom:2px;text-align:center;font-size:14px!important;line-height:1.3!important}
.bpv-story-url{display:none!important}
.bpv-story-mention{margin:12px 0 0!important;text-align:center;color:#c9d2db!important;font-size:13px!important}.bpv-story-mention strong{color:#fff}
.bpv-receipt-actions{display:flex;justify-content:center!important}.bpv-receipt-actions .bpv-submit{min-width:190px}
@media(max-width:720px){
  .bpv-story-card{padding:72px 34px 88px!important}
  .bpv-story-logo{width:66px!important}
  .bpv-story-title{font-size:30px!important}
  .bpv-story-list{width:94%;gap:5px!important;margin:13px auto 9px!important}
  .bpv-story-item{grid-template-columns:52px minmax(0,1fr)!important;gap:10px!important;min-height:66px!important;padding:7px 9px!important}
  .bpv-story-photo{width:52px!important;height:52px!important}
  .bpv-story-copy strong{font-size:15px!important;white-space:normal!important}
  .bpv-story-cta{font-size:12px!important}
}

/* 0.5.15 — final post-vote Story geometry from approved 9:16 layout */
.bpv-story-card{position:relative!important;padding:0!important;display:block!important;box-sizing:border-box!important}
.bpv-story-brand{position:absolute!important;inset:0!important;z-index:2!important;text-align:center!important;pointer-events:none}
.bpv-story-logo{position:absolute!important;top:1.8%!important;left:50%!important;transform:translateX(-50%)!important;width:22.5%!important;max-width:none!important;height:auto!important;margin:0!important;opacity:1!important}
.bpv-story-kicker{display:none!important}
.bpv-story-title{position:absolute!important;top:11.0%!important;left:5%!important;right:5%!important;margin:0!important;font-family:var(--font-headings,roc-grotesk,Arial,sans-serif)!important;font-size:clamp(28px,7.45vw,40px)!important;line-height:.94!important;font-weight:900!important;letter-spacing:-.035em!important;text-align:center!important;text-transform:uppercase!important;color:#fff!important}
.bpv-story-subtitle{position:absolute!important;top:15.25%!important;left:5%!important;right:5%!important;margin:0!important;font-family:var(--font-headings,roc-grotesk,Arial,sans-serif)!important;font-size:clamp(9px,2.25vw,12px)!important;line-height:1.05!important;font-weight:400!important;letter-spacing:.015em!important;text-align:center!important;text-transform:uppercase!important;color:rgba(255,255,255,.82)!important}
.bpv-story-list{position:absolute!important;z-index:2!important;top:22.80%!important;right:8.1%!important;bottom:14.40%!important;left:8.1%!important;width:auto!important;margin:0!important;display:grid!important;grid-template-rows:repeat(6,minmax(0,1fr))!important;gap:1.05%!important}
.bpv-story-item{min-height:0!important;height:auto!important;padding:0!important;gap:0!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:stretch!important;overflow:hidden!important;border-radius:7px!important;background:rgba(7,11,16,.50)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(3px)!important}
.bpv-story-photo{width:auto!important;height:100%!important;aspect-ratio:1/1!important;border-radius:6px 0 0 6px!important;font-size:21px!important}
.bpv-story-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important}
.bpv-story-copy{min-width:0!important;align-self:center!important;padding:0 13px 0 17px!important}
.bpv-story-copy span{font-family:inherit!important;font-size:clamp(8px,1.9vw,10px)!important;line-height:1!important;font-weight:800!important;letter-spacing:.055em!important;color:#55c8ff!important}
.bpv-story-copy strong{display:-webkit-box!important;margin-top:7px!important;font-family:inherit!important;font-size:clamp(14px,3.4vw,18px)!important;line-height:1.06!important;font-weight:850!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
.bpv-story-cta{position:absolute!important;z-index:2!important;left:5%!important;right:5%!important;bottom:3.8%!important;margin:0!important;padding:0!important;font-family:var(--font-headings,roc-grotesk,Arial,sans-serif)!important;text-align:center!important;text-transform:uppercase!important;color:#fff!important}
.bpv-story-cta-line1{display:block!important;font-size:clamp(10px,2.4vw,13px)!important;line-height:1!important;font-weight:700!important;letter-spacing:.055em!important}
.bpv-story-cta-line2{display:block;margin-top:7px;font-size:clamp(18px,4.25vw,22px)!important;line-height:1!important;font-weight:900!important;letter-spacing:-.01em!important}
.bpv-story-url{display:none!important}
@media(max-width:720px){.bpv-story-card{padding:0!important}.bpv-story-logo{width:22.5%!important}.bpv-story-list{width:auto!important;margin:0!important;gap:1.05%!important}.bpv-story-item{min-height:0!important;padding:0!important}.bpv-story-photo{width:auto!important;height:100%!important}.bpv-story-copy strong{white-space:normal!important}.bpv-story-cta{font-size:inherit!important}}

/* 0.5.17 — explicit empty text + independent CTA typography */
.bpv-story-card{container-type:inline-size}
.bpv-story-cta-line1{font-size:var(--bpv-story-cta1-size,2.4074cqw)!important}
.bpv-story-cta-line2{font-size:var(--bpv-story-cta2-size,3.7037cqw)!important}

/* 0.5.18 — Story image remains unmodified. Canvas uses the same center-cover crop. */
