.hcc-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 30%;
    min-width: 280px;
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
    z-index: 999999;
    background: rgba(165, 165, 165, 0.8);
    color: #ffffff;
    padding: 20px 22px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hcc-banner__text {
    margin: 0 0 18px;
}

.hcc-banner__link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hcc-banner__link:hover,
.hcc-banner__link:focus {
    color: #f0f0f0;
}

.hcc-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hcc-btn {
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 4px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hcc-btn--solid {
    background: #fe0000;
    color: #ffffff;
    border: 1px solid #fe0000;
}

.hcc-btn--solid:hover,
.hcc-btn--solid:focus {
    background: #cb0000;
    border-color: #cb0000;
}

.hcc-btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.hcc-btn--ghost:hover,
.hcc-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.08);
}

.hcc-settings {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
}

.hcc-settings[hidden] {
    display: none !important;
}

.hcc-settings__panel {
    width: 100%;
    max-width: 420px;
    max-height: min(90vh, 560px);
    overflow: auto;
    background: rgba(165, 165, 165, 0.8);
    color: #ffffff;
    padding: 22px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.hcc-settings__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.hcc-settings__intro {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #e8e8e8;
}

.hcc-settings__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.hcc-settings__item {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hcc-settings__item:first-child {
    border-top: none;
    padding-top: 0;
}

.hcc-settings__item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.hcc-settings__label {
    font-size: 14px;
    font-weight: 600;
}

.hcc-settings__desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #d0d0d0;
}

.hcc-settings__badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b8b8b8;
}

.hcc-toggle {
    width: 18px;
    height: 18px;
    accent-color: #fe0000;
    cursor: pointer;
}

.hcc-settings__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .hcc-banner {
        width: calc(100vw - 32px);
        left: 16px;
        bottom: 16px;
        min-width: 0;
    }

    .hcc-banner__actions .hcc-btn {
        flex: 1 1 calc(50% - 5px);
        text-align: center;
    }
}
