#poll{
    position: relative;
}
#poll .cityNav{
    width: 100%;
    margin: 0 auto 32px;
    padding: 16px;
    box-sizing: border-box;
    background: #E0EFF3;
    border: 1px solid #2786A2;
    border-radius: 16px;
}
#poll .cityNav .btn{
    display: none;
}
#poll .cityNav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
#poll .cityNav li{
    padding: 8px 12px;
    border-radius: 16px;
    overflow: hidden;
    color: #161719;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    white-space: nowrap;
    cursor: pointer;
}
#poll .cityNav li.act,
#poll .cityNav li:hover{
    background-color: #2786A2;
    color: #fff;
}
#poll .legend{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 24px;
}
#poll .legend .item{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#poll .legend .item .point{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}
#poll .legend .item span{
    color: #161719;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
}
#poll .chartBox{
    margin-bottom: 48px;
}
#poll .emptyBox{
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-bottom: 24px;
    padding: 48px 16px;
    border: 1px solid #2786A2;
    border-radius: 16px;
    background: #E0EFF3;
    color: #717880;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
}
#poll.is-empty .chartBox,
#poll.is-empty .chartNote,
#poll.is-empty .sourceBox{
    display: none;
}
#poll.is-empty .emptyBox{
    display: flex;
}
#poll_chart{
    width: 100%;
    overflow: hidden;
    position: relative;
}
#poll .pollChartSvg{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
#poll .pollChartSvg .grid{
    stroke: #000;
    stroke-width: 1;
}
#poll .pollChartSvg .grid-light{
    stroke: #858C94;
    stroke-width: 1.5;
}
#poll .pollChartSvg .yTick{
    fill: #5D646C;
    font-size: 12px;
    text-anchor: end;
}
#poll .pollChartSvg .xTick{
    fill: #000;
    font-size: 12px;
    text-anchor: middle;
}
#poll .pollChartSvg .waveGuide{
    pointer-events: none;
}
#poll .pollChartSvg .line{
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}
#poll .pollChartSvg .colHit{
    cursor: pointer;
}
#poll .pollChartSvg .pt{
    pointer-events: none;
}
#poll .pollChartSvg .pt.is-on{
    stroke: #161719;
    stroke-width: 2;
}
#poll .chartTip{
    display: none;
    position: absolute;
    z-index: 8;
    padding: 10px 12px;
    border-radius: 8px;
    background: #161719;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 8px));
}
#poll .chartTip.show{
    display: block;
}
#poll .chartTip .name{
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
#poll .chartTip .target{
    margin: 2px 0 6px;
    color: #B8BEC6;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}
#poll .chartTip .value{
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    line-height: 22px;
}
#poll .chartTip .value b{
    font-weight: 700;
}
#poll .chartTip .value i{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
#poll .chartNote{
    margin-bottom: 48px;
    color: #081B20;
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
}
#poll .sourceBox{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 16px 24px;
    border: 1px solid #2786A2;
    border-radius: 16px;
}
#poll .sourceBox .name{
    color: #161719;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
}
#poll .sourceList{
    display: flex;
    flex-direction: column;
    column-gap: 12px;
}
#poll .sourceList .row{
    display: flex;
    align-items: center;
    gap: 16px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    text-decoration: none;
    border-bottom: 1px solid #A2CCD8;
    padding: 12px;
}
#poll .sourceList a.row:hover,
#poll .sourceList .row.act{
    color: #2786A2;
    background-color: #E0EFF3;
}
#poll .sourceList .date{
    flex-shrink: 0;
    white-space: nowrap;
}
#poll .sourceList .txt{
    flex: 1;
    min-width: 0;
}
#poll .sourceList .line{
    height: 0;
    border-top: 1px solid #A2CCD8;
}
#poll .sourceOrg{
    color: #509DB4;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}
@media (max-width:1023px) {
    #poll .cityNav li:hover{
        background-color: transparent;
        color: #161719;
    }
    #poll .cityNav li.act,
    #poll .cityNav li.act:hover{
        background-color: #2786A2;
        color: #fff;
    }
}
@media (max-width:767px) {
    #poll .chartBox{
        margin-bottom: 24px;
    }
    #poll .cityNav{
        position: relative;
        width: 100%;
        margin: 0 auto 24px;
        padding: 16px;
        overflow: visible;
    }
    #poll .cityNav .btn{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #161719;
        font-family: inherit;
        font-size: 20px;
        font-weight: 700;
        line-height: 24px;
        cursor: pointer;
        white-space: nowrap;
        margin: 0 auto;
    }
    #poll .cityNav .arraw{
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        background: url("../images/triangle.svg") no-repeat center;
        background-size: 16px 16px;
        transition: transform 0.3s;
    }
    #poll .cityNav.open .arraw{
        transform: rotate(180deg);
    }
    #poll .cityNav ul{
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        min-width: 100%;
        max-height: 240px;
        overflow-y: auto;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 0;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(8, 27, 32, 0.12);
        z-index: 3;
    }
    #poll .cityNav.open ul{
        display: block;
    }
    #poll .cityNav li{
        padding: 8px 16px;
        border-radius: 0;
        color: #081B20;
        font-size: 16px;
        font-weight: 500;
        line-height: 23px;
        text-align: center;
    }
    #poll .cityNav li:hover{
        background-color: transparent;
        color: #081B20;
    }
    #poll .cityNav li.act,
    #poll .cityNav li.act:hover{
        background-color: transparent;
        color: #2786A2;
    }
    #poll .legend{
        margin-bottom: 16px;
    }
    #poll .legend .item span{
        font-size: 14px;
        line-height: 20px;
    }
    #poll_chart{
        overflow: visible;
    }
    #poll .xLabels{
        position: relative;
        height: 44px;
        margin-top: 2px;
    }
    #poll .xLabels span{
        position: absolute;
        top: 0;
        width: 0;
        height: 0;
        overflow: visible;
    }
    #poll .xLabels i{
        position: absolute;
        top: 0;
        right: 0;
        color: #000;
        font-size: 11px;
        font-style: normal;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
        transform: rotate(-45deg);
        transform-origin: top right;
    }
    #poll .chartNote{
        margin-bottom: 24px;
        text-align: left;
    }
    #poll .sourceBox{
        padding: 16px;
    }
    #poll .sourceList .row{
        align-items: flex-start;
    }
    #poll .sourceList .date{
        display: flex;
        align-items: center;
        width: 65px;
        height: 22px;
        font-size: 12px;
        line-height: 17px;
    }
    #poll .sourceList .txt{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    #poll .sourceOrg{
        font-size: 12px;
        line-height: 17px;
    }
}
