.welg-reaction-wrap {
    width: 100%;
    clear: both;
    margin: 22px 0;
}

.welg-reaction-card {
    width: 100%;
    padding: 22px 20px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.welg-reaction-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.welg-reaction-kicker {
    display: block;
    margin-bottom: 5px;
    color: #e11d2e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.welg-reaction-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
}

.welg-reaction-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff4fb;
    color: #3f5f9e;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.welg-reaction-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    min-height: 226px;
    padding: 10px 8px 0;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.welg-reaction-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 215px;
    margin: 0;
    padding: 0 2px 8px;
    border: 0;
    border-radius: 12px 12px 0 0;
    background: transparent;
    color: #334155;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, transform .18s ease;
}

.welg-reaction-column:hover,
.welg-reaction-column:focus-visible {
    background: #f8fafc;
    outline: none;
    transform: translateY(-2px);
}

.welg-reaction-column.is-selected,
.welg-reaction-column[aria-pressed="true"] {
    background: #fff5f5;
}

.welg-reaction-column:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.welg-reaction-count {
    display: block;
    min-height: 25px;
    margin-bottom: 7px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    line-height: 25px;
    text-align: center;
}

.welg-reaction-bar-stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 125px;
}

.welg-reaction-bar {
    display: block;
    width: min(54px, 82%);
    height: 8px;
    min-height: 8px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #5275ba 0%, #3f5f9e 100%);
    box-shadow: 0 4px 12px rgba(63, 95, 158, .18);
    transition: height .45s cubic-bezier(.22, .61, .36, 1), background .2s ease, transform .2s ease;
}

.welg-reaction-column:hover .welg-reaction-bar {
    transform: scaleX(1.05);
}

.welg-reaction-column.is-selected .welg-reaction-bar,
.welg-reaction-column[aria-pressed="true"] .welg-reaction-bar {
    background: linear-gradient(180deg, #ef3340 0%, #d7192d 100%);
    box-shadow: 0 4px 14px rgba(225, 29, 46, .28);
}

.welg-reaction-emoji {
    display: block;
    margin-top: 9px;
    font-size: 29px;
    line-height: 1;
    filter: saturate(.96);
    transition: transform .18s ease;
}

.welg-reaction-column:hover .welg-reaction-emoji,
.welg-reaction-column.is-selected .welg-reaction-emoji {
    transform: scale(1.12);
}

.welg-reaction-label {
    display: block;
    width: 100%;
    margin-top: 6px;
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.welg-reaction-column.is-selected .welg-reaction-count,
.welg-reaction-column.is-selected .welg-reaction-label {
    color: #d7192d;
}

.welg-reaction-status {
    min-height: 20px;
    margin: 13px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.welg-reaction-status.is-success { color: #15803d; }
.welg-reaction-status.is-error { color: #b91c1c; }

@media (max-width: 767px) {
    .welg-reaction-card {
        padding: 17px 8px 13px;
        border-radius: 15px;
    }

    .welg-reaction-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 0 6px;
        margin-bottom: 10px;
    }

    .welg-reaction-heading h2 { font-size: 18px; }

    .welg-reaction-chart {
        gap: 3px;
        min-height: 190px;
        padding: 5px 0 0;
    }

    .welg-reaction-column {
        height: 183px;
        padding: 0 0 6px;
        border-radius: 8px 8px 0 0;
    }

    .welg-reaction-count {
        min-height: 22px;
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 22px;
    }

    .welg-reaction-bar-stage { height: 101px; }

    .welg-reaction-bar {
        width: min(36px, 78%);
        min-height: 7px;
    }

    .welg-reaction-emoji {
        margin-top: 7px;
        font-size: 24px;
    }

    .welg-reaction-label {
        margin-top: 4px;
        font-size: 8px;
    }

    .welg-reaction-status {
        padding: 0 6px;
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .welg-reaction-label { display: none; }
    .welg-reaction-column { height: 164px; }
    .welg-reaction-chart { min-height: 171px; }
    .welg-reaction-bar-stage { height: 96px; }
    .welg-reaction-emoji { font-size: 23px; }
}
