#hero-vote{margin:12px 0 24px;padding:22px 30px 16px;border:1px solid #8b836449;background:linear-gradient(100deg,#0b1510eb,#18241abf),url('/assets/hero-vote/locals_bg.jpg') center 35%/cover;color:#eee4cb;position:relative;isolation:isolate}#hero-vote .hero-vote-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.hero-vote-kicker{color:#c7be9c;font-size:10px;letter-spacing:2px}#hero-vote-title{display:table;background:#060b08;padding:2px 14px 7px;margin:5px 0;font:clamp(27px,3vw,43px)/1.1 ValvePulp,Georgia,serif;transform:rotate(-1deg);color:#f4ebce}#hero-vote p{font-size:12px;color:#c9c5b4;margin:8px 0}.hero-vote-schedule{text-align:right;font-size:13px;color:#e0d4b3}.hero-vote-schedule b{display:block;font:23px ValvePulp,Georgia,serif}.hero-vote-schedule small{display:block;font-size:10px;margin-top:7px;color:#b5bcac}.hero-vote-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;max-width:1250px;margin:auto;padding:8px 0}.hero-vote-card{padding:0 0 8px!important;border:0!important;border-radius:0!important;min-width:0;background:#b6ac8d!important;color:#111a14!important;box-shadow:4px 5px 0 #0007;position:relative;transition:transform .15s,box-shadow .15s;transform:rotate(-1deg);text-align:center}.hero-vote-card:nth-child(even){transform:rotate(1deg)}.hero-vote-card:disabled{opacity:1;cursor:default}.hero-vote-card:has(.hero-vote-target:focus-visible){box-shadow:0 0 0 3px #eedaae,5px 7px 0 #0007}@media(hover:hover) and (pointer:fine){.hero-vote-card:not(.is-disabled):hover{transform:translateY(-5px);box-shadow:0 0 0 3px #eedaae,5px 7px 0 #0007}}.hero-portrait{display:block;height:clamp(145px,16vw,255px);position:relative;overflow:hidden;margin:5px 5px 0;background:#131a14}.hero-portrait>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.hero-lock{position:absolute;bottom:8px;right:7px;background:#111b17d9;border:1px solid #d8d4b2;border-radius:50%;width:34px;height:34px;color:#d8e1cb;padding:6px}.hero-lock svg{width:100%;height:100%}.hero-name{display:flex;align-items:center;justify-content:center;min-height:37px;font:clamp(13px,1.3vw,22px)/1.1 Georgia,serif;font-weight:bold;padding:4px}.hero-vote-count{display:block;background:#111a14;color:#e8dfc4;margin:0 9px;padding:4px;font-size:14px;font-variant-numeric:tabular-nums}.hero-vote-action{display:block;font-size:11px;font-weight:bold;letter-spacing:1px;text-transform:uppercase;margin-top:6px}.hero-vote-stamp:not(:empty){position:absolute;left:0;right:0;top:42%;padding:6px 2px;background:#0c1b16e6;color:#e7efcc;font:clamp(11px,1.2vw,20px) ValvePulp,Georgia,serif;transform:rotate(-7deg);border-block:2px solid #a4c884}.hero-vote-card.is-voted{background:#c1d69a!important;box-shadow:0 0 0 2px #bfdc9d,4px 5px 0 #0007}.hero-vote-card.is-released .hero-portrait>img{filter:grayscale(.8);opacity:.6}.hero-vote-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;margin-top:14px;color:#c5cdb9}.hero-vote-footer a{color:#daceaa}#hero-vote-status{min-height:16px}.hero-vote-owner{border-top:1px solid #a7b891;margin-top:12px;padding-top:8px}.hero-vote-owner[hidden]{display:none}.hero-vote-owner button{margin:4px;font-size:12px}.capture #hero-vote{display:none!important}@media(max-width:800px){#hero-vote{padding:15px}.hero-vote-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}.hero-portrait{height:185px}.hero-name{font-size:17px}.hero-vote-schedule{font-size:11px}.hero-vote-schedule small{max-width:170px}.hero-vote-kicker{letter-spacing:1px;font-size:8px}}@media(max-width:430px){.hero-portrait{height:150px}.hero-name{font-size:14px;min-height:40px}.hero-vote-count{font-size:12px;margin:0 5px}.hero-vote-schedule{max-width:125px}.hero-vote-schedule b{font-size:19px}.hero-lock{width:27px;height:27px;padding:4px}#hero-vote .hero-vote-heading{gap:8px}}@media(prefers-reduced-motion:reduce){.hero-vote-card{transition:none}.hero-vote-card:not(.is-disabled):hover{transform:rotate(-1deg)}.hero-vote-card:nth-child(even):not(.is-disabled):hover{transform:rotate(1deg)}}
/* Keep the graph row below the poll instead of applying its old item-strip overlap. */
#hero-vote~#content>.layout>.right,.shell:has(>.hero-vote-archive)>#content>.layout>.right{margin-top:0!important}
@media(min-width:801px){#hero-vote .hero-vote-heading{margin-bottom:-22px;position:relative;z-index:1}#hero-vote .hero-vote-cards{position:relative}}

.hero-last-vote{display:block;margin:7px 8px 0;padding-top:6px;border-top:1px solid #514d3f66;font-size:12px;font-weight:600;color:#20251c}.hero-last-vote[hidden]{display:none}#hero-vote .hero-vote-instructions{position:relative;margin:18px 0 0;text-align:center;font-size:12px}

/* Keep the schedule note above the portrait row while the title may overlap. */
@media(min-width:801px){#hero-vote .hero-vote-schedule{align-self:flex-start;transform:translateY(-18px)}}

.hero-vote-reference{flex-basis:100%;text-align:center;font-size:11px}.hero-vote-reference[hidden]{display:none}.hero-vote-reference summary{cursor:pointer;color:#daceaa}.hero-vote-reference input,.hero-vote-owner input{max-width:100%;box-sizing:border-box;padding:7px;background:#101e16;color:#eee4cb;border:1px solid #8c9d76;border-radius:4px}.hero-vote-reference input{width:260px;font:12px monospace}.hero-vote-reference button{margin-left:6px}.hero-vote-owner section{padding:8px 0;border-bottom:1px solid #8c9d7655}.hero-vote-owner h3{margin:4px 0}

/* Footer controls occupy dedicated cells instead of floating over the vote totals. */
#hero-vote .hero-vote-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);gap:10px 16px;align-items:start}
.hero-vote-total{grid-column:1;grid-row:1}#hero-vote-status{grid-column:2;grid-row:1;text-align:center}.hero-vote-footer>a{grid-column:3;grid-row:1;justify-self:end}.hero-vote-reference{grid-column:2;grid-row:2;min-width:0}.hero-vote-reference[open]{padding-top:2px}.hero-vote-reference input{width:min(260px,100%)}
@media(max-width:650px){#hero-vote .hero-vote-footer{grid-template-columns:minmax(0,1fr) auto;gap:12px}#hero-vote-status{grid-column:1/-1;grid-row:2}.hero-vote-footer>a{grid-column:2;grid-row:1}.hero-vote-reference{grid-column:1/-1;grid-row:4}#hero-vote .vote-chat-toggle{grid-column:1/-1;grid-row:3;justify-self:center}}

/* Released heroes display full artwork; vote history stays in the poll data. */
#hero-vote .hero-vote-card.is-released{padding:0!important;min-height:0}
#hero-vote .hero-vote-card.is-released .hero-portrait{position:absolute;inset:5px;height:auto;margin:0}
#hero-vote .hero-vote-card.is-released .hero-portrait>img{filter:none;opacity:1;object-fit:cover}
#hero-vote .hero-vote-card.is-released :is(.hero-name,.hero-vote-count,.hero-vote-action,.hero-last-vote,.hero-lock,.hero-vote-stamp){display:none!important}

#hero-vote .hero-vote-countdown{text-align:right;margin:5px 0 3px;color:#e2d2a4;font:600 16px/1.35 Arial,sans-serif;font-variant-numeric:tabular-nums}#hero-vote .hero-vote-countdown[hidden]{display:none}

.hero-vote-timezone{display:block;font-size:12px}#hero-vote .hero-vote-heading{margin-bottom:8px}@media(max-width:650px){#hero-vote .hero-vote-heading{flex-wrap:wrap}#hero-vote .hero-vote-schedule{max-width:none;width:100%;transform:none}#hero-vote .hero-vote-schedule small{max-width:none}#hero-vote .hero-vote-countdown{font-size:14px}}

.hero-vote-verification{max-width:calc(100vw - 40px);background:#14231b;color:#eee4cb;border:1px solid #a6b88a;padding:20px;border-radius:8px;font:14px/1.5 Arial,sans-serif}.hero-vote-verification::backdrop{background:#000b}.hero-vote-verification button{margin-top:14px;padding:8px 16px;background:#314435;color:#eee4cb;border:1px solid #94a77d;border-radius:4px}

#hero-vote .discord-community-shot{position:absolute;z-index:2;display:block;margin:0;padding:0;border:0;background:transparent;color:#daceaa;cursor:zoom-in;text-align:center;box-shadow:none}#hero-vote .discord-community-shot[hidden]{display:none!important}.discord-community-shot span{display:block;margin:0 0 7px;font:11px/1.3 Arial,sans-serif}.discord-community-shot img{display:block;width:100%;height:auto;border-radius:4px}.discord-community-viewer{box-sizing:border-box;position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:60px 24px 24px;border:0;background:#080d10f5;color:#eee4cb;overflow:auto}.discord-community-viewer[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.discord-community-viewer::backdrop{background:#000d}.discord-community-viewer img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 145px);object-fit:contain}.discord-community-viewer p{margin:0;font:13px/1.4 Arial,sans-serif;text-align:center}.discord-community-close{position:absolute;top:16px;right:20px;padding:8px 14px;background:#24382b;color:#eee4cb;border:1px solid #94a77d;border-radius:5px;cursor:pointer}@media(max-width:1050px){#hero-vote .discord-community-shot{display:none!important}}

/* Screenshot attribution stays out of the poll layout flow. */
#hero-vote .hero-vote-credit{position:absolute;top:10px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:5px;white-space:nowrap;color:#daceaa;font:11px/20px Arial,sans-serif;text-decoration:none}#hero-vote .hero-vote-credit img{display:block;width:20px;height:20px;object-fit:contain}#hero-vote .hero-vote-credit:hover{text-decoration:underline}@media(max-width:1100px){#hero-vote .hero-vote-credit{top:2px;font-size:10px;line-height:12px;gap:4px}#hero-vote .hero-vote-credit img{width:12px;height:12px}}

#hero-vote .hero-vote-card{box-sizing:border-box;font:13px/1.4 Retail,"Segoe UI",sans-serif}#hero-vote .hero-vote-target{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;color:inherit}#hero-vote .hero-vote-target:disabled{cursor:default}#hero-vote .hero-last-vote{position:relative;z-index:2;pointer-events:none}#hero-vote .hero-history-link{pointer-events:auto;display:inline;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#174b99;font:inherit;letter-spacing:inherit;cursor:pointer}#hero-vote .hero-history-link:hover{text-decoration:underline}.hero-history-viewer section{width:min(440px,100%);max-height:100%;overflow:auto}.hero-history-viewer h2{font:24px/1.3 Arial,sans-serif;margin:0 0 12px;text-align:center}.hero-history-viewer ul{list-style:none;padding:0;margin:24px 0 0}.hero-history-viewer li{padding:12px 0;border-bottom:1px solid #94a77d55;font:16px/1.5 Arial,sans-serif}

/* Compact, read-only poll archive below the main dashboard. */
#hero-vote.hero-vote-archive{padding:14px 18px;margin:24px 0 16px}
.hero-vote-archive .archive-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hero-vote-archive #hero-vote-title{font-size:24px;margin:4px 0 0;padding:2px 8px 4px}
.archive-round-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#c7be9c}
.archive-round-label select{max-width:100%;min-height:36px;background:#111e16;color:#eee4cb;border:1px solid #8b8364;padding:6px 9px;font:inherit}
#hero-vote .archive-cards{max-width:none;padding:0;gap:10px;grid-template-columns:repeat(6,minmax(0,1fr))}
.archive-hero{display:flex;align-items:center;gap:9px;min-width:0;padding:8px;background:#b6ac8d;color:#111a14;box-shadow:2px 3px 0 #0005}
.archive-hero>img{width:42px;height:58px;flex-shrink:0;object-fit:cover;object-position:top;background:#131a14}
.archive-hero-info{min-width:0}
#hero-vote .archive-hero h3{margin:0 0 4px;font:bold 13px/1.2 Georgia,serif;overflow-wrap:anywhere;color:#111a14}
.archive-count{display:block;font:12px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums}
#hero-vote .archive-hero .hero-history-link{font:11px/1.4 Arial,sans-serif;text-decoration:underline;margin-top:3px;min-height:24px}
#hero-vote .archive-hero .hero-history-link[hidden]{display:none}
#hero-vote.hero-vote-archive .hero-vote-footer{display:flex;justify-content:space-between;margin-top:12px;font-size:11px}
.hero-vote-archive :is(select,button):focus-visible{outline:2px solid #eee4cb;outline-offset:3px}
.hero-vote-archive .archive-hero button:focus-visible{outline-color:#173e2b}
@media(max-width:1100px){#hero-vote .archive-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){#hero-vote.hero-vote-archive{padding:12px}.hero-vote-archive .archive-heading{align-items:flex-start;flex-direction:column}#hero-vote .archive-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.archive-hero{gap:7px;padding:7px}.archive-hero>img{width:32px;height:48px}.hero-vote-archive .hero-vote-kicker{font-size:8px;letter-spacing:1px}}
