.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.voting-section { position: relative; background: #f2e7d4; border-top: 1px solid #ddc9a5; }
.voting-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.voting-intro h2 em { color: var(--red); }
.voting-intro-copy { position: relative; padding-left: 77px; }
.voting-intro-copy > p { color: #80684f; font-size: 13px; line-height: 1.9; margin: 0 0 22px; }
.voting-emblem { position: absolute; top: 4px; left: 0; width: 55px; height: 64px; display: grid; place-items: center; border: 1px solid #c49a5d; border-radius: 40px 40px 8px 8px; color: var(--red); font-size: 21px; background: #f8efdeda; }
.voting-emblem > span { position: absolute; top: -12px; right: -8px; color: #af833c; background: #f2e7d4; padding-inline: 4px; font-size: 20px; }
.voting-rules { display: flex; flex-wrap: wrap; gap: 12px 21px; color: #886638; font-size: 10px; }
.voting-rules > span { display: inline-flex; align-items: center; gap: 7px; }
.voting-status { display: flex; align-items: center; gap: 19px; padding: 24px 28px; border: 1px solid #d8bd91; border-radius: 13px; background: #fbf5e9; }
.voting-status-icon { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border: 1px solid #dfc69d; border-radius: 50%; color: #a3793c; font-size: 21px; }
.voting-status h3 { font-family: var(--display-font); font-size: 24px; font-weight: 400; line-height: 1.3; letter-spacing: -.7px; color: #7f3030; margin: 0 0 7px; }
.voting-status p { color: #8b7358; font-size: 12px; line-height: 1.8; margin: 0; }
.voting-status-copy { min-width: 0; }
.voting-status-action { margin-left: auto; flex-shrink: 0; padding: 12px 19px; border: 1px solid #b58b50; border-radius: 30px; background: transparent; color: #7f3030; font-size: 11px; font-weight: 600; transition: background .2s; }
.voting-status-action:hover { background: #e8cf9e40; }
.voting-status.is-success { border-color: #8e9d73; background: #f2f4e9; }
.voting-status.is-success h3 { color: #536744; }
.voting-status.is-success .voting-status-icon { color: #536744; border-color: #b6c39e; }
.voting-status.is-unavailable { border-style: dashed; }
.voting-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 43px 0 26px; }
.voting-toolbar .eyebrow { font-size: 8px; letter-spacing: 1.7px; margin-bottom: 8px; }
#voting-results-count { color: #8b7358; font-size: 12px; margin: 0; }
.voting-search { display: flex; align-items: center; gap: 13px; min-width: 320px; padding: 0 18px; border: 1px solid #d6bc90; border-radius: 30px; background: #faf5e9; color: #a28558; }
.voting-search:focus-within { outline: 2px solid #ac853f; outline-offset: 3px; }
.voting-search > i { font-size: 13px; }
.voting-search input { min-width: 0; width: 100%; padding: 16px 0; outline: none; border: 0; background: transparent; color: var(--ink); font-size: 12px; }
.voting-search input:focus-visible { outline: none; }
.voting-search input::placeholder { color: #9a8365; opacity: 1; }
.voting-search input:disabled { opacity: .55; cursor: not-allowed; }
.voting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.voting-card { overflow: hidden; border: 1px solid #d9bf94; border-radius: 15px; background: #fffaf0; box-shadow: 0 10px 22px #76502d07; transition: transform .3s, box-shadow .3s; }
.voting-card:hover { transform: translateY(-5px); box-shadow: 0 15px 25px #76502d13; }
.voting-card.is-voted { border-color: #7f9366; box-shadow: 0 0 0 2px #8b9f6c2b; }
.voting-card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9dac0; }
.voting-card-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.voting-card:hover .voting-card-photo > img { transform: scale(1.035); }
.voting-photo-fallback { position: absolute; inset: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; border: 1px solid #c6a56d70; border-radius: 100px 100px 7px 7px; background: #f3e7d0; }
.voting-photo-fallback > i { color: #ba965b; font-size: 43px; }
.voting-photo-fallback > span { font-family: var(--display-font); font-size: 17px; font-style: italic; color: #9a7446; text-align: center; padding-inline: 15px; }
.voting-voted-tag { position: absolute; z-index: 1; left: 16px; bottom: 14px; padding: 8px 12px; border: 1px solid #b1c09b; border-radius: 25px; background: #f7f9ecf2; color: #536744; font-size: 10px; font-weight: 600; }
.voting-card-copy { display: flex; flex-direction: column; min-height: 192px; padding: 25px; }
.voting-card-label { color: #a1865f; font-size: 8px; letter-spacing: 1.5px; line-height: 1.6; }
.voting-card h3 { font-family: var(--display-font); font-size: 26px; font-weight: 400; letter-spacing: -.8px; line-height: 1.25; overflow-wrap: anywhere; color: #713a31; margin: 9px 0; }
.voting-card-address { color: #9a8165; font-size: 11px; line-height: 1.8; margin: 0 0 19px; overflow-wrap: anywhere; }
.voting-card-button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; margin-top: auto; padding: 13px 0 0; border: 0; border-top: 1px solid #dcc6a3; background: transparent; color: var(--red); font-size: 11px; font-weight: 600; text-align: left; }
.voting-card-button > span { font-size: 18px; }
.voting-card-button:disabled { color: #a08e73; }
.voting-card.is-voted .voting-card-button { color: #536744; }
.voting-empty { grid-column: 1 / -1; text-align: center; padding: 35px 25px; border: 1px dashed #d2b889; border-radius: 12px; color: #927751; font-size: 13px; line-height: 1.8; }
.voting-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10px; line-height: 1.7; color: #a08662; text-align: center; margin: 27px 0 0; }
.voting-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 40px 35px 30px; border: 1px solid #c8a365; border-radius: 20px; background: #fcf7eb; color: var(--ink); box-shadow: 0 25px 90px #2e0f2740; text-align: center; }
.voting-dialog:not([open]) { display: none; }
.voting-dialog::backdrop { background: #32121abf; backdrop-filter: blur(7px); }
body:has(.voting-dialog[open]) { overflow: hidden; }
.voting-dialog-star { display: block; font-size: 36px; color: #bb9352; margin-bottom: 18px; }
.voting-dialog .eyebrow { justify-content: center; font-size: 8px; letter-spacing: 1.5px; }
.voting-dialog h2 { font-family: var(--display-font); font-size: 39px; font-weight: 400; line-height: 1.1; letter-spacing: -1.7px; margin: 0; }
.voting-dialog h2 em { color: var(--red); }
.voting-confirm-store { padding: 19px; margin: 24px 0 19px; border-block: 1px solid #dcc8a5; color: #8b3432; font-family: var(--display-font); font-size: 28px; line-height: 1.25; overflow-wrap: anywhere; }
#voting-confirm-description { max-width: 330px; margin: 0 auto; font-size: 12px; line-height: 1.9; color: #92765b; }
.voting-confirm-feedback { min-height: 21px; margin: 14px 0 0; font-size: 11px; line-height: 1.8; color: #9f5a2d; }
.voting-dialog-actions { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 20px; }
.voting-cancel { padding: 13px 0; background: transparent; border: 0; color: #8c7157; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.voting-dialog .button { min-height: 50px; font-size: 11px; padding: 12px 19px; }
.voting-dialog button:disabled { opacity: .55; }
@media (max-width: 1100px) {
    .voting-intro { gap: 30px; }
    .voting-intro-copy { padding-left: 0; }
    .voting-emblem { display: none; }
    .voting-grid { gap: 18px; }
    .voting-card-copy { padding: 21px; }
    .voting-card h3 { font-size: 23px; }
    .voting-status { padding: 23px; }
    .voting-status h3 { font-size: 22px; }
    .voting-status-action { padding-inline: 15px; }
}
@media (max-width: 767px) {
    .voting-intro { grid-template-columns: 1fr; gap: 23px; margin-bottom: 30px; text-align: center; }
    .voting-intro .eyebrow { justify-content: center; }
    .voting-intro-copy > p { max-width: 360px; margin: 0 auto 19px; font-size: 12px; }
    .voting-rules { justify-content: center; font-size: 9px; gap: 15px; }
    .voting-status { flex-wrap: wrap; align-items: flex-start; gap: 13px; padding: 20px; }
    .voting-status-icon { width: 30px; height: 30px; font-size: 17px; }
    .voting-status-copy { flex: 1; min-width: 190px; }
    .voting-status h3 { font-size: 22px; }
    .voting-status p { font-size: 11px; }
    .voting-status-action { margin-left: 43px; font-size: 10px; }
    .voting-toolbar { flex-direction: column; align-items: stretch; gap: 19px; padding-top: 30px; }
    .voting-search { min-width: 0; }
    .voting-toolbar .eyebrow { font-size: 7px; }
    .voting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .voting-card { border-radius: 11px; }
    .voting-card-copy { min-height: 179px; padding: 17px 13px; }
    .voting-card-label { font-size: 6px; letter-spacing: .8px; }
    .voting-card h3 { font-size: 22px; }
    .voting-card-address { font-size: 10px; margin-bottom: 15px; }
    .voting-card-button { font-size: 10px; }
    .voting-photo-fallback { inset: 8px; gap: 7px; }
    .voting-photo-fallback > i { font-size: 26px; }
    .voting-photo-fallback > span { font-size: 12px; }
    .voting-voted-tag { left: 8px; bottom: 8px; padding: 6px 8px; font-size: 8px; }
    .voting-footnote { font-size: 9px; align-items: flex-start; }
    .voting-footnote > i { margin-top: 3px; }
    .voting-dialog { padding: 30px 22px 25px; }
    .voting-dialog h2 { font-size: 34px; }
    .voting-dialog-actions { flex-direction: column-reverse; gap: 15px; }
    .voting-dialog .button { width: 100%; }
    .voting-dialog .eyebrow { font-size: 7px; }
}
@media (max-width: 360px) {
    .voting-grid { grid-template-columns: 1fr; }
    .voting-status-copy { min-width: 0; }
    .voting-status h3 { font-size: 20px; }
    .voting-card-copy { padding: 22px; min-height: 175px; }
    .voting-card-label { font-size: 8px; }
    .voting-card h3 { font-size: 26px; }
    .voting-photo-fallback > i { font-size: 40px; }
    .voting-photo-fallback > span { font-size: 17px; }
}
