.vote-page .public-shell { padding-bottom: 34px; }

.featured-pull-callout{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:16px;padding:15px 17px;border:1px solid #8b5cf6;border-radius:16px;background:linear-gradient(135deg,#24112f,#5b21b6);color:#fff;text-decoration:none;box-shadow:0 10px 25px #4c1d9524;transition:transform .16s ease,box-shadow .16s ease}.featured-pull-callout:hover{transform:translateY(-2px);box-shadow:0 14px 30px #4c1d9538}.featured-pull-icon{display:grid;width:52px;height:52px;place-items:center;border:1px solid #ffffff35;border-radius:14px;background:#ffffff13;font-size:27px}.featured-pull-callout small,.featured-pull-callout strong,.featured-pull-callout em{display:block}.featured-pull-callout small{color:#d8c7ff;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.featured-pull-callout strong{margin-top:2px;font-size:17px}.featured-pull-callout em{margin-top:3px;color:#e8ddff;font-size:10px;font-style:normal}.featured-pull-callout>b{font-size:23px}

.vote-main { width: min(960px, 100%); margin: 0 auto; }
.vote-page .public-brand.without-logo { grid-template-columns: minmax(0, 1fr) !important; }

.vote-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.vote-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--public-purple-deep);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.vote-back-link:hover { text-decoration: underline; }

.vote-security-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7d7585;
    font-size: 11px;
    font-weight: 700;
}

.vote-security-note span { color: var(--public-purple); font-size: 8px; }

.vote-panel,
.vote-summary,
.draw-card {
    border: 1px solid var(--public-border);
    border-radius: 18px;
    background: var(--public-surface);
    box-shadow: 0 8px 28px #21152e0c;
}

.vote-panel { overflow: hidden; }

.vote-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 19px;
    border-bottom: 1px solid #ebe7ef;
    background: linear-gradient(180deg, #fff, #fdfcff);
}

.vote-panel-head h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 29px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.vote-panel-head p { max-width: 650px; margin: 6px 0 0; color: var(--public-muted); font-size: 13px; }

.vote-state-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.vote-state-pill::before { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; content: ""; }
.vote-state-pill.is-complete { background: var(--public-purple-soft); color: var(--public-purple-deep); }
.vote-state-pill.is-complete::before { background: var(--public-purple); }

.vote-poll-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 24px 0;
    scrollbar-width: thin;
}

.vote-poll-nav a {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid #d9d2e1;
    border-radius: 999px;
    background: #fff;
    color: #544b5e;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.vote-poll-nav a:hover { border-color: #b692f6; background: #faf7ff; }
.vote-poll-nav a.active { border-color: var(--public-purple); background: var(--public-purple); color: #fff; }

.tiebreak-callout {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin: 14px 24px 0;
    padding: 14px 16px;
    border: 1px solid #fb923c;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #9a3412;
}

.tiebreak-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #f97316; color: #fff; font-size: 22px; }
.tiebreak-callout strong { display: block; font-size: 15px; }
.tiebreak-callout p { margin: 3px 0 0; font-size: 12px; line-height: 1.45; }

.vote-candidate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px 24px 24px;
}

.vote-empty { padding: clamp(34px, 7vw, 64px) 22px; text-align: center; }
.vote-empty h2 { margin: 0; font-size: 23px; }
.vote-empty p { max-width: 470px; margin: 8px auto 0; color: var(--public-muted); font-size: 13px; }

.vote-candidate-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #ddd7e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px #21152e0d;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.vote-candidate-card:hover { transform: translateY(-2px); border-color: #b9a8ca; box-shadow: 0 11px 25px #21152e14; }
.vote-candidate-card.chosen { border-color: var(--public-purple); box-shadow: 0 0 0 3px #7f56d91c, 0 11px 25px #21152e14; }

.vote-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f1edf5, #e7e0ec);
}

.vote-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.vote-photo-placeholder { color: #7d6f89; font-size: 52px; }
.vote-number { position: absolute; right: 11px; bottom: 11px; padding: 5px 8px; border: 1px solid #ffffff50; border-radius: 999px; background: #17131fd9; color: #fff; font-size: 11px; font-weight: 900; backdrop-filter: blur(5px); }
.chosen-mark { position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; background: #ecfdf3; color: #067647; font-size: 10px; font-weight: 900; box-shadow: 0 3px 10px #1018281f; }

.vote-details { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.vote-details h3 { margin: 0; color: #2b2432; font-size: 19px; line-height: 1.2; letter-spacing: -.015em; }
.vote-team { margin: 5px 0 0; color: var(--public-muted); font-size: 13px; }

.vote-result { margin: 14px 0 0; }
.vote-result-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: #6f6677; font-size: 11px; font-weight: 750; }
.vote-result-track { overflow: hidden; height: 6px; border-radius: 999px; background: #eee9f2; }
.vote-result-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--public-purple), #9b66ef); }

.vote-details form { margin-top: auto; padding-top: 16px; }
.public-vote-button { width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--public-purple), var(--public-purple-deep)); color: #fff; box-shadow: 0 7px 18px #6d28d925; font-size: 13px; font-weight: 850; cursor: pointer; }
.public-vote-button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px #6d28d938; }
.public-vote-button:disabled { background: #ebe7ef; color: #766d7e; box-shadow: none; cursor: default; }
.vote-candidate-card.chosen .public-vote-button:disabled { background: #dcfae6; color: #067647; }

.vote-summary { margin-top: 16px; padding: 16px 18px; text-align: center; }
.vote-summary strong { display: block; color: #342b3c; font-size: 14px; }
.vote-summary p { margin: 4px 0 0; color: var(--public-muted); font-size: 11px; }

.draw-card { margin-top: 16px; overflow: hidden; }
.draw-card-head { padding: 18px 20px 14px; border-bottom: 1px solid #ebe7ef; background: #fdfcff; }
.draw-card-head h2 { margin: 0; font-size: 20px; }
.draw-card-head p { margin: 5px 0 0; color: var(--public-muted); font-size: 12px; }
.draw-form { padding: 18px 20px 20px; }
.draw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.draw-form label { display: block; margin-bottom: 6px; color: #2e2836; font-size: 12px; font-weight: 800; }
.draw-form input[type="text"],.draw-form input[type="email"] { width: 100%; height: 47px; padding: 0 12px; border: 1px solid #ccc5d4; border-radius: 10px; outline: 0; font: inherit; }
.draw-form input:focus { border-color: #7f56d9; box-shadow: 0 0 0 4px #7f56d91c; }
.draw-consent { display: grid !important; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: start; margin: 14px 0 !important; color: #5f5867 !important; font-size: 11px !important; font-weight: 550 !important; line-height: 1.4; }
.draw-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--public-purple); }

@media (max-width: 650px) {
    .vote-toolbar { align-items: flex-start; flex-direction: column; }
    .vote-panel-head { display: block; padding: 18px 16px 16px; }
    .vote-state-pill { margin-top: 12px; }
    .vote-poll-nav { padding: 12px 16px 0; }
    .tiebreak-callout { margin: 12px 16px 0; }
    .vote-candidate-grid { grid-template-columns: 1fr; padding: 16px; }
    .vote-photo { aspect-ratio: 16 / 9; }
    .draw-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
    .vote-security-note { display: none; }
    .vote-photo { aspect-ratio: 4 / 3; }
}
@media(max-width:460px){.featured-pull-callout{grid-template-columns:45px minmax(0,1fr);padding:13px}.featured-pull-icon{width:44px;height:44px}.featured-pull-callout>b{display:none}.featured-pull-callout strong{font-size:14px}}
.vote-sponsor-area { width: min(100% - 36px, 900px); margin: 24px auto 0; }
.vote-sponsor-area .partner-spotlight { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(0,1fr); }
.vote-sponsor-area .partner-label,.vote-sponsor-area .partner-progress { grid-column: 1/-1; }
.vote-sponsor-area .partner-artwork { min-height: 210px; }
@media(max-width:640px){.vote-sponsor-area{width:min(100% - 24px,900px)}.vote-sponsor-area .partner-spotlight{display:block}.vote-sponsor-area .partner-artwork{height:190px;min-height:0}}

.vote-poll-nav a.is-done:not(.active){border-color:#73d69a;background:#eaf8ef;color:#176b37}
.class-vote-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid #ececf2;background:#fafafa;color:#42455a;font-size:14px}
.class-vote-progress a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:9px 13px;background:#5c2177;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}
.class-vote-progress span{color:#176b37;font-weight:800}
@media(max-width:640px){.class-vote-progress{align-items:stretch;flex-direction:column}.class-vote-progress a{text-align:center}}

/* Class voting progress and deadline */
.vote-deadline{display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;align-items:center;margin:16px 24px 0;padding:14px 16px;border:1px solid #d7c4f5;border-radius:15px;background:linear-gradient(135deg,#faf7ff,#f3edff);color:#3b2651}
.vote-deadline-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;background:#6d28d9;color:#fff;font-size:21px;box-shadow:0 8px 18px #6d28d928}
.vote-deadline small,.vote-deadline strong,.vote-deadline em{display:block}
.vote-deadline small{color:#76548e;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.vote-deadline strong{margin-top:2px;font-size:15px}
.vote-deadline em{margin-top:3px;color:#655570;font-size:11px;font-style:normal;line-height:1.35}
.class-vote-hub{margin:16px 24px 0;overflow:hidden;border:1px solid #dcd5e4;border-radius:16px;background:#fff;box-shadow:0 7px 20px #21152e0b}
.class-vote-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 18px 13px}
.class-vote-head h3{margin:2px 0 0;color:#2f2539;font-size:20px;letter-spacing:-.02em}
.class-vote-head p{max-width:610px;margin:5px 0 0;color:#6f6677;font-size:11px;line-height:1.45}
.class-vote-count{display:grid;min-width:68px;min-height:45px;place-items:center;border-radius:12px;background:#f1e9fb;color:#5c2177;font-size:15px;white-space:nowrap}
.class-vote-meter{height:8px;margin:0 18px;overflow:hidden;border-radius:999px;background:#ece7f0}
.class-vote-meter span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6d28d9,#12b76a);transition:width .3s ease}
.class-vote-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end;padding:15px 18px 17px}
.class-vote-picker label{grid-column:1/-1;color:#342b3c;font-size:12px;font-weight:850}
.class-vote-picker select{width:100%;min-height:49px;padding:0 42px 0 13px;border:1px solid #bfb5c9;border-radius:11px;background:#fff;color:#2f2935;font:inherit;font-size:13px;font-weight:750;outline:0}
.class-vote-picker select:focus{border-color:#7f56d9;box-shadow:0 0 0 4px #7f56d91c}
.next-class-button{display:inline-flex;min-height:49px;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:11px;background:#5c2177;color:#fff;font-size:12px;font-weight:850;text-decoration:none;white-space:nowrap}
.next-class-button:hover{background:#48185f}
.all-classes-complete{display:inline-flex;min-height:49px;align-items:center;padding:10px 14px;border-radius:11px;background:#eaf8ef;color:#176b37;font-size:12px;font-weight:850}
.current-class-ready{display:inline-flex;min-height:49px;align-items:center;padding:10px 14px;border-radius:11px;background:#f3edff;color:#5c2177;font-size:12px;font-weight:850}
.class-vote-checklist{border-top:1px solid #ebe7ef;background:#fcfbfd}
.class-vote-checklist summary{padding:13px 18px;color:#5c2177;font-size:12px;font-weight:850;cursor:pointer}
.class-vote-checklist>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 17px}
.class-vote-checklist a{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:45px;padding:8px 10px;border:1px solid #e0dae6;border-radius:10px;background:#fff;color:#3e3546;text-decoration:none}
.class-vote-checklist a>span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#f0ebf3;color:#74677d;font-size:11px;font-weight:900}
.class-vote-checklist a strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.class-vote-checklist a small{color:#7b7283;font-size:9px;font-weight:800;white-space:nowrap}
.class-vote-checklist a.is-done{border-color:#a7dfba;background:#f0fbf4}
.class-vote-checklist a.is-done>span{background:#12b76a;color:#fff}
.class-vote-checklist a.is-done small{color:#176b37}
.class-vote-checklist a.is-current{box-shadow:0 0 0 2px #7f56d938}
@media(max-width:640px){.vote-deadline,.class-vote-hub{margin-right:16px;margin-left:16px}.vote-deadline{grid-template-columns:40px minmax(0,1fr);padding:12px}.vote-deadline-icon{width:39px;height:39px}.class-vote-head{padding:15px 14px 12px}.class-vote-head p{font-size:10px}.class-vote-count{min-width:58px}.class-vote-meter{margin:0 14px}.class-vote-picker{grid-template-columns:1fr;padding:13px 14px 15px}.class-vote-picker label{grid-column:auto}.next-class-button,.all-classes-complete{width:100%}.class-vote-checklist>div{grid-template-columns:1fr;padding-right:14px;padding-left:14px}}


/* Build 24: keep every prediction-banner element readable on purple */
.featured-pull-callout,.featured-pull-callout:visited{color:#fff!important}
.featured-pull-callout small{color:#eadfff!important}
.featured-pull-callout strong{color:#fff!important}
.featured-pull-callout em{color:#f1eaff!important}
.featured-pull-callout b,.featured-pull-callout .featured-pull-icon{color:#fff!important}

/* Build 25: purple action buttons always use high-contrast white text */
.next-class-button,.next-class-button:visited,.next-class-button span,
.class-vote-progress a,.class-vote-progress a:visited{color:#fff!important}

/* Build 26: guided next step after class voting */
.journey-next-button{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;width:100%;margin-top:4px;padding:13px 15px;border-radius:12px;background:linear-gradient(135deg,#d54b0b,#8c2e09);color:#fff!important;text-decoration:none;box-shadow:0 8px 18px #8c2e0924}
.journey-next-button span{grid-column:1;color:#ffe7d5!important;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.journey-next-button strong{grid-column:1;color:#fff!important;font-size:14px;line-height:1.25}
.journey-next-button b{grid-column:2;grid-row:1/3;color:#fff!important;font-size:22px}
.journey-next-button.is-request{background:linear-gradient(135deg,#087a54,#065f46)}
.journey-next-button.is-thanks{background:linear-gradient(135deg,#5c2177,#3f1555)}
