/* vote-banner-1.css : 기존 화면의 분리된 스타일. 적용 순서와 기능을 유지합니다. */

html .eh-vote-banner .eh-vote-flow {
    --vf-dark:var(--theme-dark);
    --vf-main:var(--theme-main);
    --vf-mid:var(--theme-palette-level3,var(--theme-border));
    --vf-light:var(--theme-divider);
    --vf-soft:var(--theme-light);
    --vf-head:var(--theme-dark);
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--theme-surface,#fff);
    min-height: 300px;
}
.eh-vote-flow .vf-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--theme-header-bg,transparent);
    background: color-mix(in srgb,var(--theme-header-bg,transparent) 12%,var(--theme-surface,#fff));
    color: var(--vf-head);
    padding: 8px 10px;
    min-height: 72px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--eh-border-level4,var(--theme-divider));
}
.eh-vote-flow .vf-header:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 310px;
    height: 190px;
    right: -110px;
    top: -125px;
    border: 1px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 11px transparent,0 0 0 12px currentColor,0 0 0 23px transparent,0 0 0 24px currentColor;
    opacity: .07;
    transform: rotate(-20deg);
    pointer-events: none;
}
.eh-vote-flow .vf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 700;
}
.eh-vote-flow .vf-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 20px;
    padding: 4px 7px;
    background: #fff;
    color: var(--vf-dark);
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid var(--eh-border-level4,var(--theme-divider));
}
.eh-vote-flow .vf-status:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b98a5;
}
.eh-vote-flow .vf-status[data-state="active"]:before {
    background: #d44343;
}
.eh-vote-flow .vf-sub {
    font-size: 10px;
    margin-top: 4px;
    opacity: .9;
}
.eh-vote-flow .vf-question {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    margin-top: 4px;
}
.eh-vote-flow .vf-body {
    padding: 7px 10px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
    background: var(--theme-surface,#fff);
    color: var(--vf-dark);
}
.eh-vote-flow .vf-heading {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
}
.eh-vote-flow .vf-heading small {
    font-size: 10px;
    color: var(--vf-main);
}
.eh-vote-flow .vf-chart {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    flex: none;
}
.eh-vote-flow .vf-chart svg {
    display: block;
    width: 100%;
    height: 100%;
}
.eh-vote-flow .vf-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1.3;
}
.eh-vote-flow .vf-center strong {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    color: var(--vf-dark);
}
.eh-vote-flow .vf-c0 {
    --vf-segment:var(--vf-main);
}
.eh-vote-flow .vf-c1 {
    --vf-segment:var(--vf-mid);
}
.eh-vote-flow .vf-c2 {
    --vf-segment:var(--vf-light);
}
.eh-vote-flow .vf-c3 {
    --vf-segment:var(--vf-dark);
}
.eh-vote-flow .vf-c4 {
    --vf-segment:var(--vf-soft);
}
.eh-vote-flow .vf-c5 {
    --vf-segment:var(--vf-mid);
}
.eh-vote-flow .vf-legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.eh-vote-flow .vf-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.4;
}
.eh-vote-flow .vf-row i {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--vf-segment);
}
.eh-vote-flow .vf-row span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.eh-vote-flow .vf-row b {
    white-space: nowrap;
}
html .eh-vote-flow a.vf-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 7px 10px;
    background: var(--vf-main)!important;
    color: #fff!important;
    text-decoration: none!important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}
.eh-vote-flow .vf-empty {
    font-size: 12px;
    margin: 12px 0;
}
html .eh-vote-banner {
    min-height: 350px;
    box-sizing: border-box;
}
