/* Vote campaign: a stable editorial panel, never a floating interactive card. */
#sv-votes .sv-campaign {
    position: relative;
    isolation: isolate;
    max-width: 1184px;
    margin: 40px auto 48px;
    padding: 38px 40px;
    border: 1px solid #d8c6b2;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0%, #eedfd8 0%, transparent 58%), #fdf9f3;
    box-shadow: 0 12px 40px -28px #64483140;
}
#sv-votes .sv-campaign::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #96734d, #d6bda0, transparent);
    transform-origin: left;
    transition: transform .8s ease;
}
#sv-votes .sv-event, #sv-votes .sv-faq > * {
    translate: none;
    box-shadow: none;
    border-color: var(--line);
}
#sv-votes .sv-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 38px;
    align-items: center;
    padding: 0;
}
#sv-votes .sv-event > div:first-child { min-width: 0; }
#sv-votes .sv-event .sv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
    font-size: 10px;
    letter-spacing: .18em;
    color: #795a3e;
}
#sv-votes .sv-event .sv-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: #b18c60;
    clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
#sv-votes .sv-event h2 {
    max-width: 610px;
    font-size: clamp(32px, 3.2vw, 44px);
    line-height: 1.06;
    text-wrap: balance;
    margin-bottom: 18px;
}
#sv-votes #sv-rule { max-width: 610px; font-size: 14px; line-height: 1.85; color: #6c584b; }
#sv-votes .sv-clock {
    width: 100%;
    padding: 28px 24px;
    border: 1px solid #d8c2b9;
    border-radius: 18px;
    background: linear-gradient(145deg, #f4e7df, #f9f0e8);
    text-align: center;
}
#sv-votes .sv-clock-title {
    font-size: 10px;
    letter-spacing: .09em;
    line-height: 1.7;
    color: #755c4d;
    margin-bottom: 18px !important;
}
#sv-votes .sv-digits { justify-content: center; gap: 8px; flex-wrap: wrap; color: #4c382c; }
#sv-votes .sv-digits > span {
    flex: 1 1 42px;
    min-width: 42px;
    padding: 13px 3px 10px;
    border: 1px solid #e1d0c3;
    border-radius: 10px;
    background: #fffaf4;
    font-size: 36px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
#sv-votes .sv-digits small { margin-top: 10px; font-size: 8px; letter-spacing: .06em; color: #806857; }
#sv-votes .sv-heading h2 { position: relative; padding-top: 21px; text-wrap: balance; }
#sv-votes .sv-heading h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #a48157, #d7bfa3);
}
#sv-votes .sv-heading p:not(.sv-clock-title) { font-size: 14px; line-height: 1.75; }
#sv-votes .sv-faq { gap: 40px; }
#sv-votes .sv-faq > div { padding: 28px 0 0; border-top: 1px solid #ccb497; }
#sv-votes .sv-faq h3 { font-size: 30px; line-height: 1.15; }
#sv-votes .sv-faq p:not(.sv-kicker) { font-size: 14px; line-height: 1.85; }
#sv-votes .sv-candidate-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 22px;
}
#sv-votes .sv-show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 50px;
    padding: 14px 28px;
    border: 1px solid #9e7c56;
    border-radius: 32px;
    background: linear-gradient(120deg, #574131, #38291f);
    color: #fff8ec;
    font-size: 13px;
    box-shadow: 0 6px 18px -10px #5c3c2566;
    transition: background-color .2s, box-shadow .2s;
}
#sv-votes .sv-show-all:hover { box-shadow: 0 8px 24px -8px #5c3c2559; }
#sv-votes .sv-show-all svg { width: 18px; height: 18px; flex: none; }
#sv-votes .sv-show-count { margin: 0; font-size: 12px; color: #735d4a; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
    #sv-votes .sv-candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    #sv-votes .sv-show-all { padding: 14px 22px; font-size: 12px; max-width: 100%; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #sv-votes .sv-campaign:hover::before { transform: scaleX(1.7); }
}
@media (max-width: 1250px) {
    #sv-votes .sv-campaign { margin-left: 30px; margin-right: 30px; }
}
@media (max-width: 850px) {
    #sv-votes .sv-campaign { padding: 30px; }
    #sv-votes .sv-event { grid-template-columns: 1fr; gap: 26px; }
    #sv-votes .sv-clock { max-width: 440px; padding: 22px; justify-self: start; }
    #sv-votes .sv-event h2 { max-width: 600px; }
}
@media (max-width: 600px) {
    #sv-votes .sv-campaign { margin: 26px 16px 30px; padding: 25px 22px; border-radius: 20px; }
    #sv-votes .sv-campaign::before { left: 24px; }
    #sv-votes .sv-event .sv-kicker { font-size: 9px; letter-spacing: .12em; }
    #sv-votes .sv-event h2 { font-size: 34px; }
    #sv-votes #sv-rule { font-size: 13px; line-height: 1.8; }
    #sv-votes .sv-clock { padding: 20px 12px; border-radius: 14px; }
    #sv-votes .sv-clock-title { font-size: 9px; letter-spacing: .04em; }
    #sv-votes .sv-digits { gap: 6px; }
    #sv-votes .sv-digits > span { font-size: 31px; }
    #sv-votes .sv-digits small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    #sv-votes .sv-campaign::before { transition: none; }
}

/* A confirmed order becomes a clear receipt, without another purchase action. */
#sv-votes .sv-order-layout[hidden],
#sv-votes .sv-order-success[hidden] { display: none !important; }
#sv-votes .sv-order-complete .sbx-actions,
#sv-votes .sv-order-complete .sbx-share-panel,
#sv-votes .sv-order-complete .sbx-card-panel,
#sv-votes .sv-order-complete > .sbx-status,
#sv-votes .sv-order-complete .sbx-vote-details,
#sv-votes .sv-order-complete #sv-choose-pack { display: none !important; }
#sv-votes .sv-order-success {
    position: relative;
    max-width: 700px;
    margin: 4px auto 0;
    padding: 26px 32px 20px;
    border: 1px solid #d4bea2;
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 0, #efe1ca 0, #faf5ec 52%, #fffaf3 100%);
    text-align: center;
    color: #493728;
    box-shadow: inset 0 1px 0 #fff, 0 10px 30px -25px #74533180;
    outline: none;
    animation: sv-success-arrive .45s ease-out both;
}
#sv-votes .sv-success-seal { width: 56px; height: 56px; margin: 0 auto 12px; display: grid; place-items: center; color: #fff9ef; background: linear-gradient(135deg, #967348, #5e4328); border-radius: 50%; box-shadow: 0 0 0 6px #e6d8c180; }
#sv-votes .sv-success-seal svg { width: 40px; height: 40px; }
#sv-votes .sv-success-seal path { stroke-dasharray: 35; stroke-dashoffset: 0; animation: sv-success-check .55s ease-out both; }
#sv-votes .sv-success-eyebrow { margin: 0 0 6px; font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em; color: #806345; }
#sv-votes #sv-success-title { margin: 0; font: 40px/1.12 'Cormorant Garamond', Georgia, serif; color: #453326; }
#sv-votes .sv-success-votes { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 5px 12px; margin: 14px 0 0; }
#sv-votes .sv-success-votes strong { font: 600 60px/1 'Cormorant Garamond', Georgia, serif; letter-spacing: -.03em; }
#sv-votes .sv-success-votes span { font-size: 15px; }
#sv-votes .sv-success-candidate { margin: 6px 0 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
#sv-votes .sv-success-candidate strong { font-weight: 600; }
#sv-votes .sv-success-receipt { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #74604c; }
#sv-votes .sv-success-refresh { margin: 12px 0 0; padding: 10px; border: 1px solid #ddc49f; border-radius: 8px; font-size: 12px; line-height: 1.5; }
#sv-votes .sv-success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
#sv-votes .sv-success-actions button { min-height: 44px; padding: 11px 21px; border: 1px solid #b99c79; border-radius: 10px; background: #fffaf2; color: #573d28; font: inherit; font-size: 13px; cursor: pointer; }
#sv-votes #sv-success-ranking { background: linear-gradient(115deg, #795539, #3e2b1e); border-color: #5b3f2a; color: #fff9ef; }
#sv-votes .sv-success-actions button:hover { filter: brightness(1.08); }
#sv-votes .sv-success-actions button:focus-visible,
#sv-votes #sv-order-again:focus-visible { outline: 3px solid #a88b61; outline-offset: 3px; }
#sv-votes .sv-success-reference { margin: 16px 0 0; font-size: 10px; line-height: 1.5; color: #806d59; overflow-wrap: anywhere; }
#sv-votes .sv-order-success #sv-order-again { margin: 10px 0 0; padding: 5px 10px; min-height: 32px; border: 0; background: transparent; color: #725639; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes sv-success-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sv-success-check { from { stroke-dashoffset: 35; } to { stroke-dashoffset: 0; } }
@media (max-width: 600px) {
    #sv-votes .sv-order-success { padding: 21px 15px 14px; border-radius: 16px; }
    #sv-votes .sv-success-seal { width: 44px; height: 44px; margin-bottom: 12px; }
    #sv-votes .sv-success-seal svg { width: 34px; height: 34px; }
    #sv-votes #sv-success-title { font-size: 32px; }
    #sv-votes .sv-success-votes { margin-top: 12px; gap: 4px 10px; }
    #sv-votes .sv-success-votes strong { font-size: 54px; }
    #sv-votes .sv-success-votes span { font-size: 13px; }
    #sv-votes .sv-success-candidate { font-size: 14px; }
    #sv-votes .sv-success-receipt { margin-top: 10px; font-size: 12px; }
    #sv-votes .sv-success-actions { gap: 8px; margin-top: 16px; }
    #sv-votes .sv-success-actions button { flex: 1; padding: 10px; font-size: 12px; }
    #sv-votes .sv-success-reference { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    #sv-votes .sv-order-success, #sv-votes .sv-success-seal path { animation: none; }
}

/* Shared champagne details for the candidates, ranking and order dialog. */
#sv-votes .sv-candidate {
    border-color: #d7c6b3;
    border-radius: 16px;
    background: #fffaf4;
    box-shadow: 0 5px 16px -13px #5d3f2c66;
}
#sv-votes .sv-candidate:hover {
    border-color: #ac8961;
    box-shadow: 0 9px 22px -12px #5d3f2c40;
}
#sv-votes .sv-candidate img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 15px 15px 0 0; }
#sv-votes .sv-candidate img[data-ready="false"] { opacity: 0; }
#sv-votes .sv-candidates > .sv-candidate:nth-child(n+21) { display: none; }
#sv-votes .sv-candidate, #sv-votes .sbx-candidate-wrap { animation: none; }
@media (max-width: 767px) { #sv-votes .sv-candidates > .sv-candidate:nth-child(n+7) { display: none; } }
#sv-votes .sv-candidate-info { padding: 16px 14px 18px; }
#sv-votes .sv-candidate h3 { font-size: 21px; line-height: 1.15; color: #443227; }
#sv-votes .sbx-heart {
    top: 10px;
    right: 10px;
    border-color: #e6d8c9;
    background: #fffaf3f2;
    color: #725337;
    box-shadow: 0 3px 12px #40302415;
}
#sv-votes .sbx-heart[aria-pressed="true"] { color: #fff9ee; background: #664a35; border-color: #664a35; }
#sv-votes .sv-candidate-tools input {
    min-height: 48px;
    border-radius: 12px;
    padding: 13px 17px;
    border-color: #cbb69e;
    background: #fffcf8;
    font-size: 14px;
}
#sv-votes .sv-candidate-tools label { font-size: 13px; color: #624a38; }
#sv-votes .sbx-tools .sbx-button { border-radius: 24px; padding: 10px 18px; font-size: 12px; }
#sv-votes .sbx-tools .sbx-button[aria-pressed="true"] { background: #594130; border-color: #594130; color: #fff8ec; }

#sv-votes .sv-ranking {
    position: relative;
    background: radial-gradient(ellipse at 10% 0%, #f7e9e0, transparent 60%), #eee3d5;
    border-top-color: #cbb79e;
    border-bottom: 1px solid #d6c3ab;
}
#sv-votes .sv-ranking-title {
    font: 400 25px/1.25 'Cormorant Garamond', Georgia, serif !important;
    color: #755638;
    padding: 0 0 10px;
}
#sv-votes .sv-ranking-list { grid-template-columns: minmax(0, 1fr); gap: 10px 18px; margin: 20px 0; }
#sv-votes .sv-ranking-row {
    min-width: 0;
    grid-template-columns: 28px 52px minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 15px;
    border-radius: 15px;
    border-color: #deceba;
    background: #fffbf5;
    box-shadow: 0 3px 12px -10px #5f43274a;
}
#sv-votes .sv-ranking-place {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1e8dd;
    color: #806347;
    font: 600 12px/1 Inter, sans-serif;
}
#sv-votes .sv-ranking-row img { width: 50px; height: 60px; border-radius: 9px; grid-column: 2; grid-row: 1 / 3; }
#sv-votes .sv-ranking-name { min-width: 0; font-size: 12px; line-height: 1.5; color: #4f3b2c; overflow-wrap: anywhere; grid-column: 3; grid-row: 1; }
#sv-votes .sv-ranking-total { grid-column: 4; grid-row: 1; color: #795633; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
#sv-votes .sv-ranking-track { grid-column: 3 / 5; grid-row: 2; height: 5px; background: #eee3d5; align-self: start; }
#sv-votes .sv-ranking-fill { background: linear-gradient(90deg, #a48460, #cfb590); }
#sv-votes .sv-ranking-row.leader { border-color: #b28c55; background: linear-gradient(115deg, #fcf3e3, #fffaf3); }
#sv-votes .sv-ranking-row.leader .sv-ranking-place { color: #fff8eb; background: #8a6539; }
#sv-votes .sv-ranking-row.counts-hidden { grid-template-columns: 28px 52px minmax(0, 1fr) auto; }
#sv-votes .sv-ranking-row.counts-hidden img { grid-row: 1 / 3; }
#sv-votes .sv-count-mask { display: inline-block; filter: blur(3px); user-select: none; pointer-events: none; letter-spacing: .12em; opacity: .7; }
#sv-votes .sv-count-mask-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#sv-votes .sv-ranking-note, #sv-votes .sv-ranking-message { font-size: 13px; line-height: 1.7; color: #705942; }
#sv-votes .sv-ranking-podium { gap: 22px; margin: 28px 0; align-items: stretch; }
#sv-votes .sv-ranking-podium.one { width: min(100%, 620px); max-width: 620px; margin-inline: auto; }
#sv-votes .sv-ranking-leader {
    display: grid;
    grid-template-columns: minmax(136px, 36%) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 14px 24px;
    align-items: start;
    padding: 22px;
    min-width: 0;
    overflow: clip;
    border: 1px solid #ccb18d;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0%, #ead8ba77, transparent 70%), linear-gradient(135deg, #fffcf7, #f6ecdd);
    box-shadow: 0 15px 35px -25px #80582966, inset 0 1px 0 #ffffff;
    text-align: left;
}
#sv-votes .sv-ranking-leader img {
    grid-column: 1; grid-row: 1 / 4; align-self: center;
    width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 260px;
    margin: 0; border: 4px solid #fffdf8; border-radius: 36px 16px 16px 16px;
    object-fit: cover; object-position: center 24%;
    box-shadow: 0 0 0 1px #d8c0a0, 0 12px 20px -14px #5e402c88;
}
#sv-votes .sv-ranking-leader .sv-crown { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 14px; margin-top: 6px; font: 500 26px/1.2 'Cormorant Garamond', Georgia, serif; color: #947044; letter-spacing: .04em; overflow-wrap: anywhere; }
#sv-votes .sv-ranking-leader .sv-crown::after { content: ''; flex: 1; min-width: 12px; height: 1px; background: linear-gradient(90deg, #b4966c, transparent); }
#sv-votes .sv-leader-heading { grid-column: 2; grid-row: 2; align-self: center; min-width: 0; }
#sv-votes .sv-ranking-leader h3 { min-width: 0; margin: 0; color: #503b27; font-size: clamp(27px, 2.7vw, 36px); line-height: 1.08; overflow-wrap: anywhere; }
#sv-votes .sv-ranking-leader small { grid-column: 2; grid-row: 3; display: block; padding-top: 12px; border-top: 1px solid #ddc9ad; color: #765735; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
#sv-votes .sv-ranking-leader:not(:has(img)) { grid-template-columns: 1fr; }
#sv-votes .sv-ranking-leader:not(:has(img)) > * { grid-column: 1; }
#sv-votes .sv-winner-label { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 10px; margin: 0 0 12px; border: 1px solid #d1ae74; border-radius: 8px; background: #ecd6ad; color: #654521; font: 600 11px/1.5 Inter, sans-serif; }
#sv-votes .is-winner .sv-winner-label::before { content: ''; flex: none; width: 18px; height: 18px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h8v5a4 4 0 0 1-8 0V3ZM8 5H4v2a4 4 0 0 0 4 4m8-6h4v2a4 4 0 0 1-4 4M12 12v6m-4 3h8m-7-3h6v3H9z'/%3E%3C/svg%3E") center / contain no-repeat; }
#sv-votes .sv-ranking-leader.is-winner { border-color: #b48b4e; background: radial-gradient(ellipse at 100% 0%, #e7c48480, transparent 75%), linear-gradient(135deg, #fffdf7, #f4e5c9); box-shadow: 0 16px 40px -25px #93682280, inset 0 1px 0 #fff; }
#sv-votes .sv-ranking-leader.is-winner img { box-shadow: 0 0 0 1px #b58c4d, 0 12px 24px -14px #805b32aa; }
#sv-votes .sv-ranking-leader.is-tied .sv-winner-label { background: #f0e9de; border-color: #c8b9a1; color: #6f604b; }
#sv-votes .sv-ranking-leader.is-celebrating { animation: sv-winner-arrival 1.1s cubic-bezier(.16, 1, .3, 1) both; }
#sv-votes .sv-ranking-leader.is-celebrating::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 9% 25%, #bb8d40 0 2px, transparent 3px), radial-gradient(ellipse at 29% 12%, #e6c984 0 3px, transparent 4px), radial-gradient(ellipse at 47% 32%, #c5a261 0 2px, transparent 3px), radial-gradient(ellipse at 69% 18%, #c1994b 0 3px, transparent 4px), radial-gradient(ellipse at 89% 41%, #e8cf99 0 3px, transparent 4px), radial-gradient(ellipse at 95% 12%, #b88a3c 0 2px, transparent 3px), radial-gradient(ellipse at 58% 4%, #d7b46c 0 2px, transparent 3px); animation: sv-winner-sparkles 2.6s .2s ease-out both; }
#sv-votes .sv-ranking-leader.is-celebrating .sv-winner-label { animation: sv-winner-badge 1.5s .25s ease-out both; }
@keyframes sv-winner-arrival { from { opacity: 0; transform: translateY(22px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes sv-winner-sparkles { 0% { opacity: 0; transform: translateY(25px) scale(.9); } 20% { opacity: .95; } 100% { opacity: 0; transform: translateY(-45px) scale(1.12); } }
@keyframes sv-winner-badge { 0% { opacity: 0; transform: translateY(5px); } 40% { opacity: 1; } 100% { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    #sv-votes .sv-ranking-leader.is-celebrating, #sv-votes .sv-ranking-leader.is-celebrating .sv-winner-label { animation: none; }
    #sv-votes .sv-ranking-leader.is-celebrating::after { display: none; }
}

#sv-votes .sv-ranking-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 44px; align-items: center; margin-bottom: 32px; }
#sv-votes .sv-ranking-intro { min-width: 0; }
#sv-votes .sv-ranking-intro p { margin-top: 16px; max-width: 510px; font-size: 13px; line-height: 1.8; }
#sv-votes .sv-ranking-heading:has(.sv-ranking-countdown[hidden]) { grid-template-columns: 1fr; }
/* Both countdowns inherit the shared .sv-clock and .sv-digits appearance. */
#sv-votes .sv-ranking-countdown { justify-self: end; margin: 0; }
#sv-votes .sv-ranking-countdown[hidden] { display: none; }
@media (max-width: 780px) {
    #sv-votes .sv-ranking-heading { grid-template-columns: 1fr; gap: 24px; }
    #sv-votes .sv-ranking-countdown { justify-self: end; }
}
@media (max-width: 900px) {
    #sv-votes .sv-ranking-podium { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

#sv-votes .sv-pack-dialog {
    width: min(1000px, calc(100% - 32px));
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 24px) !important;
    padding: 26px;
    border: 1px solid #d7bfa1;
    border-radius: 28px;
    background: radial-gradient(ellipse at 0 0, #f4deda88, transparent 56%), linear-gradient(145deg, #fffdf9, #f4eadc);
    box-shadow: 0 35px 110px #25180f50, inset 0 1px 0 #ffffff;
    overscroll-behavior: contain;
    scrollbar-color: #bba183 #f4eadc;
}
#sv-votes .sv-pack-dialog::backdrop { background: #2d2019b3; backdrop-filter: blur(8px); }
#sv-votes .sv-dialog-close { right: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #d7c0a8; border-radius: 50%; background: #fffcf7; color: #62472f; line-height: 1; }
#sv-votes .sv-dialog-heading { align-items: center; gap: 22px; margin-bottom: 14px; padding: 0 40px 16px 0; border-bottom: 1px solid #dac6af; }
#sv-votes .sv-dialog-heading img { width: 80px; height: 96px; flex: none; border: 3px solid #fffdf8; border-radius: 17px; box-shadow: 0 8px 22px -10px #76523d55, 0 0 0 1px #dec8af; }
#sv-votes .sv-dialog-heading h2 { font-size: 36px; line-height: 1.04; }
#sv-votes .sv-dialog-heading .sv-kicker { margin-bottom: 6px !important; font-size: 10px; letter-spacing: .15em; color: #94704c; }
#sv-votes .sv-pack-dialog .sv-note { font-size: 13px; line-height: 1.45; color: #725a47; }
#sv-votes .sv-dialog-heading .sv-note { margin-top: 6px !important; }
#sv-votes .sbx-actions { gap: 8px; margin-bottom: 18px; padding-bottom: 0; border: 0; }
#sv-votes .sbx-actions .sbx-button { min-height: 40px; border-radius: 22px; padding: 9px 15px; font-size: 12px; background: #ffffff8c; border-color: #d8c3a9; }
#sv-votes .sbx-actions .sbx-button:hover { background: #fffaf2; border-color: #ad8b62; }
#sv-votes .sbx-actions .sbx-button[aria-pressed="true"] { background: #e8d5bb; color: #51381f; border-color: #a88457; }
#sv-votes .sv-order-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, 1fr); gap: 22px; align-items: stretch; }
#sv-votes .sv-pack-dialog .sv-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--sv-pack-rows, 4), auto); grid-auto-flow: column; gap: 10px; align-content: start; }
#sv-votes .sv-pack-dialog .sv-pack { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 6px; min-height: 70px; padding: 12px 14px; border-radius: 15px; border: 1px solid #d8c2a8; background: linear-gradient(140deg, #fffdf9, #faf3e9); box-shadow: 0 4px 10px -8px #61452945, inset 0 1px 0 #fff; text-align: left; transition: border-color .18s, background .18s, box-shadow .18s; }
#sv-votes .sv-pack-dialog .sv-pack b { font-family: Inter, Arial, sans-serif; font-size: 28px; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
#sv-votes .sv-pack-dialog .sv-pack span { font-size: 12px; color: #725b45; }
#sv-votes .sv-pack-dialog .sv-pack em { margin-top: 0; padding: 6px 8px; border: 1px solid #e1cdb3; border-radius: 20px; background: #f4e9d9; font-size: 16px; line-height: 1.2; font-weight: 500; white-space: nowrap; color: #63482e; }
#sv-votes .sv-pack-dialog .sv-pack:hover:not(:disabled) { border-color: #ae895b; box-shadow: 0 6px 16px -10px #61452960; }
#sv-votes .sv-pack-dialog .sv-pack[aria-pressed="true"] { border-color: #9a744b; background: linear-gradient(135deg, #edd7c4, #f7ead8); box-shadow: inset 0 0 0 1px #9a744b, 0 5px 15px -10px #61452960; }
#sv-votes .sv-pack-dialog .sv-pack[aria-pressed="true"] em { background: #76563b; border-color: #76563b; color: #fff9ef; }
#sv-votes .sv-pack-dialog .sv-pack:disabled { opacity: .65; cursor: not-allowed; }
#sv-votes .sv-pack-dialog .sv-summary { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; align-items: center; gap: 12px; margin: 0; padding: 21px; border: 1px solid #ccb08b; border-radius: 20px; background: radial-gradient(ellipse at 100% 0, #fffdf6, transparent 75%), linear-gradient(150deg, #f1e2cc, #f8f0e5); box-shadow: inset 0 1px 0 #fff, 0 10px 25px -23px #67472980; }
#sv-votes .sv-summary-kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a6741; }
#sv-votes .sv-summary label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #6b5039; }
#sv-votes .sv-summary input { width: 62px; min-height: 42px; margin: 0; padding: 6px 8px; border-radius: 10px; background: #fffefa; border-color: #c8af8e; font-size: 16px; }
#sv-votes .sv-summary output { grid-row: 2; font-size: 31px; line-height: 1.12; white-space: normal; overflow-wrap: anywhere; color: #4c3523; }
#sv-votes .sv-vote-projection { border: 0; border-top: 1px solid #d8c1a1; border-radius: 0; padding: 10px 0 0; background: transparent; }
#sv-votes .sv-pack-dialog .sv-vp-after { margin-top: 4px; font-size: 13px; line-height: 1.45; }
#sv-votes .sv-vp-current { font-size: 13px; }
#sv-votes .sv-vote-projection small { font-size: 11px; line-height: 1.4; color: #796248; }
#sv-votes .sv-summary button { min-height: 48px; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
#sv-votes #sv-purchase:not(:disabled) { color: #fff8eb; border-color: #5b3f2a; background: linear-gradient(115deg, #795539, #3e2b1e); cursor: pointer; box-shadow: 0 7px 19px -13px #52351ccc; }
#sv-votes #sv-purchase:not(:disabled):hover { background: #735237; }
#sv-votes #sv-order-status { padding: 15px 17px; border: 1px solid #c7ad88; border-radius: 12px; background: #fff9ee; color: #533c28; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
#sv-votes .sv-payment-mode { margin: 0 0 16px; padding: 10px 14px; border: 1px solid #b99c79; border-radius: 10px; background: #f8eddc; color: #533c28; font-size: 13px; line-height: 1.5; }
#sv-votes .sv-customer-email-field { display: grid; gap: 5px; width: 100%; margin: 10px 0; }
#sv-votes .sv-summary .sv-customer-email-field { grid-column: 1 / -1; }
#sv-votes .sv-customer-email-field label { font-size: 13px; line-height: 1.4; }
#sv-votes .sv-summary .sv-customer-email-field input { width: 100%; min-height: 42px; padding: 9px 11px; margin: 0; border: 1px solid #c7ad88; border-radius: 8px; background: #fffdf8; color: #453326; font: 16px/1.4 Inter, sans-serif; }
#sv-votes .sv-customer-email-field small { font-size: 11px; line-height: 1.4; color: #705942; }
#sv-votes #sv-order-again { margin-top: 12px; border-radius: 24px; font-size: 13px; }
#sv-votes .sbx-vote-details { margin: 14px 0 0; border-color: #d4bfa5; }
#sv-votes .sbx-vote-details summary { min-height: 44px; padding: 10px 0; font-size: 13px; }
#sv-votes .sv-pack-dialog .sv-vote-info { font-size: 12px; line-height: 1.75; }

@media (max-width: 950px) {
    #sv-votes .sv-ranking-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    #sv-votes .sv-candidate { border-radius: 13px; }
    #sv-votes .sv-candidate img { border-radius: 12px 12px 0 0; }
    #sv-votes .sv-candidate-info { padding: 13px 11px 15px; }
    #sv-votes .sv-candidate h3 { font-size: 19px; }
    #sv-votes .sv-ranking-row { padding: 12px; grid-template-columns: 23px 42px minmax(0, 1fr) auto; gap: 7px 9px; }
    #sv-votes .sv-ranking-place { width: 23px; height: 23px; font-size: 11px; }
    #sv-votes .sv-ranking-row img { width: 40px; height: 50px; }
    #sv-votes .sv-ranking-name { font-size: 11px; }
    #sv-votes .sv-ranking-total { font-size: 11px; }
    #sv-votes .sv-ranking-row.counts-hidden { grid-template-columns: 23px 42px minmax(0, 1fr) auto; }
    #sv-votes .sv-ranking-podium { grid-template-columns: 1fr; }
    #sv-votes .sv-ranking-leader { grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 10px 18px; padding: 16px; border-radius: 20px; }
    #sv-votes .sv-ranking-leader img { border-width: 3px; border-radius: 28px 13px 13px 13px; }
    #sv-votes .sv-ranking-leader .sv-crown { margin-top: 2px; font-size: 23px; }
    #sv-votes .sv-ranking-leader h3 { font-size: 25px; }
    #sv-votes .sv-ranking-leader small { padding-top: 9px; font-size: 12px; }
    #sv-votes .sv-winner-label { padding: 5px 7px; margin-bottom: 8px; font-size: 10px; }
}
@media (max-width: 380px) {
    #sv-votes .sv-ranking-row { grid-template-columns: 20px 34px minmax(0, 1fr) auto; gap: 7px; padding: 11px 9px; }
    #sv-votes .sv-ranking-row img { width: 34px; height: 44px; }
    #sv-votes .sv-ranking-row.counts-hidden { grid-template-columns: 20px 34px minmax(0, 1fr) auto; }
    #sv-votes .sv-ranking-leader { grid-template-columns: minmax(104px, 40%) minmax(0, 1fr); gap: 9px 13px; padding: 13px; }
    #sv-votes .sv-ranking-leader h3 { font-size: 23px; }
}

@media (max-width: 760px) {
    #sv-votes .sv-pack-dialog { width: min(580px, calc(100% - 16px)); max-width: calc(100% - 16px); max-height: calc(100dvh - 16px) !important; padding: 16px; border-radius: 22px; }
    #sv-votes .sv-dialog-heading { gap: 13px; padding: 0 28px 12px 0; margin-bottom: 10px; }
    #sv-votes .sv-dialog-heading img { width: 56px; height: 72px; border-radius: 12px; }
    #sv-votes .sv-dialog-heading h2 { font-size: 27px; }
    #sv-votes .sv-dialog-heading .sv-kicker { font-size: 9px; letter-spacing: .1em; }
    #sv-votes .sv-dialog-heading .sv-note { margin-top: 4px !important; font-size: 12px; line-height: 1.3; }
    #sv-votes .sv-dialog-close { top: 10px; right: 10px; width: 34px; height: 34px; }
    #sv-votes .sbx-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
    #sv-votes .sbx-actions .sbx-button { min-height: 38px; padding: 7px 6px; font-size: 12px; line-height: 1.2; }
    #sv-votes .sv-order-layout { display: block; }
    #sv-votes .sv-pack-dialog .sv-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    #sv-votes .sv-pack-dialog .sv-pack { grid-template-columns: auto 1fr auto; column-gap: 4px; min-height: 49px; padding: 8px 10px; border-radius: 12px; }
    #sv-votes .sv-pack-dialog .sv-pack b { font-size: 22px; }
    #sv-votes .sv-pack-dialog .sv-pack span { font-size: 11px; }
    #sv-votes .sv-pack-dialog .sv-pack em { padding: 4px 5px; font-size: 12px; }
    #sv-votes .sv-pack-dialog .sv-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; }
    #sv-votes .sv-summary-kicker { display: none; }
    #sv-votes .sv-summary label { justify-content: start; gap: 6px; font-size: 12px; }
    #sv-votes .sv-summary label span { max-width: 90px; line-height: 1.3; }
    #sv-votes .sv-summary input { width: 50px; flex: none; }
    #sv-votes .sv-summary output { grid-row: auto; min-width: 0; font-size: 25px; text-align: right; }
    #sv-votes .sv-vote-projection, #sv-votes .sv-summary button { grid-column: 1 / -1; }
    #sv-votes .sv-vp-current { font-size: 12px; }
    #sv-votes .sv-vote-projection { padding-top: 7px; }
    #sv-votes .sv-vote-projection small { line-height: 1.35; }
    #sv-votes .sbx-vote-details { margin-top: 10px; }
}
@media (max-width: 760px) and (max-height: 740px) {
    #sv-votes .sv-pack-dialog { padding: 10px 12px; }
    #sv-votes .sv-dialog-heading { gap: 10px; padding-bottom: 9px; margin-bottom: 8px; }
    #sv-votes .sv-dialog-heading img { width: 48px; height: 62px; }
    #sv-votes .sv-dialog-heading h2 { font-size: 24px; }
    #sv-votes .sv-dialog-heading .sv-kicker { margin-bottom: 4px !important; }
    #sv-votes .sbx-actions { gap: 4px; margin-bottom: 9px; }
    #sv-votes .sbx-actions .sbx-button { min-height: 34px; padding: 5px 6px; font-size: 11px; }
    #sv-votes .sv-pack-dialog .sv-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    #sv-votes .sv-pack-dialog .sv-pack { grid-template-columns: auto 1fr auto; row-gap: 2px; min-height: 48px; padding: 5px 9px; }
    #sv-votes .sv-pack-dialog .sv-pack b { font-size: 20px; }
    #sv-votes .sv-pack-dialog .sv-pack em { grid-column: auto; justify-self: end; padding: 3px 5px; font-size: 11px; }
    #sv-votes .sv-pack-dialog .sv-summary { margin-top: 9px; padding: 8px 11px; gap: 4px 8px; }
    #sv-votes .sv-summary output { font-size: 23px; }
    #sv-votes .sv-summary button { min-height: 44px; padding: 9px 12px; }
    #sv-votes .sv-vote-projection { padding-top: 6px; }
    #sv-votes .sbx-vote-details { margin-top: 8px; }
    #sv-votes .sbx-vote-details summary { min-height: 40px; padding-block: 8px; }
}

@media (max-width: 760px) {
    #sv-votes .sv-dialog-heading { padding-bottom: 9px; margin-bottom: 8px; }
    #sv-votes #sv-choose-pack { display: none; }
    #sv-votes .sbx-actions { margin-bottom: 9px; }
    #sv-votes .sv-pack-dialog .sv-summary { gap: 6px 10px; margin-top: 9px; padding: 10px 12px; }
    #sv-votes .sv-summary .sv-customer-email-field { margin: 0; gap: 4px; }
    #sv-votes .sv-summary .sv-customer-email-field small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    #sv-votes .sv-pack-dialog:has(#sv-customer-email-field:not([hidden])) > [data-t="packNote"] { display: none; }
    #sv-votes .sbx-vote-details { margin-bottom: 0; }
}
@media (max-width: 760px) and (max-height: 740px) {
    #sv-votes .sv-dialog-heading .sv-kicker { display: none; }
    #sv-votes .sv-pack-dialog .sv-summary { margin-top: 7px; padding: 8px 11px; gap: 4px 8px; }
}
@media (max-width: 480px) {
    #sv-votes .sv-pack-dialog .sv-pack { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 3px; row-gap: 0; min-height: 50px; padding: 5px 6px; }
    #sv-votes .sv-pack-dialog .sv-pack b { grid-column: 1; grid-row: 1; font-size: 20px; }
    #sv-votes .sv-pack-dialog .sv-pack span { grid-column: 2; grid-row: 1; font-size: 11px; }
    #sv-votes .sv-pack-dialog .sv-pack em { grid-column: 3; grid-row: 1; justify-self: end; padding: 3px 4px; font-size: 12px; }
    #sv-votes .sv-pack-dialog .sv-summary { grid-template-columns: minmax(0, 1fr); }
    #sv-votes .sv-summary output { grid-column: 1; grid-row: 1; font-size: 23px; text-align: left; }
    #sv-votes .sv-summary > label { grid-column: 1; grid-row: 2; justify-content: space-between; }
    #sv-votes .sv-summary > label span { max-width: none; }
}
@media (max-width: 380px) {
    #sv-votes .sv-pack-dialog .sv-pack { column-gap: 2px; padding-inline: 5px; }
    #sv-votes .sv-pack-dialog .sv-pack b { font-size: 18px; }
    #sv-votes .sv-pack-dialog .sv-pack span { font-size: 10px; }
    #sv-votes .sv-pack-dialog .sv-pack em { font-size: 11px; }
    #sv-votes .sv-candidate-info { padding: 11px 8px 13px; }
    #sv-votes .sv-candidate h3 { font-size: 18px; }
}
@media (max-width: 360px) {
    #sv-votes:lang(nl) .sv-pack-dialog .sv-pack { grid-template-columns: minmax(0, 1fr) auto; }
    #sv-votes:lang(nl) .sv-pack-dialog .sv-pack span { grid-column: 1; grid-row: 2; }
    #sv-votes:lang(nl) .sv-pack-dialog .sv-pack em { grid-column: 2; grid-row: 1 / 3; }
}
#sv-votes .sbx-card-panel { margin: 14px 0 22px; padding: 20px; border: 1px solid #d6c4ad; border-radius: 18px; background: linear-gradient(140deg, #fffaf2, #ede1cf); }
#sv-votes .sbx-card-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
#sv-votes .sbx-card-header h3 { margin: 0; font-size: 28px; }
#sv-votes .sbx-card-header button { min-height: 38px; padding: 8px 13px; border-radius: 20px; }
#sv-votes .sbx-card-panel .sbx-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#sv-votes .sbx-card-panel .sbx-formats .sbx-button { min-height: 44px; border-radius: 24px; padding: 10px 16px; font-size: 13px; }
#sv-votes .sbx-card-panel .sbx-formats [aria-pressed="true"] { background: #684b35; color: #fffaf2; border-color: #684b35; }
#sv-votes .sbx-card-panel .sbx-help { text-align: center; font-size: 13px; }
#sv-votes .sbx-card-preview { max-width: 100%; max-height: 600px; max-height: min(70dvh, 600px); margin: 18px auto; border-radius: 0; box-shadow: 0 12px 38px #513b2426; }
@media (max-width: 600px) {
    #sv-votes .sbx-card-panel { padding: 12px; }
    #sv-votes .sbx-card-header h3 { font-size: 25px; }
    #sv-votes .sbx-card-preview { max-height: 65dvh; }
    #sv-votes .sbx-card-panel .sbx-formats .sbx-button { flex: 1 1 auto; padding-inline: 12px; font-size: 12px; }
}
