.hn-analytics-consent {
    position: fixed;
    z-index: 2147483000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: 680px;
    margin-inline: auto;
    padding: 18px;
    border: 1px solid #b9cfdd;
    border-radius: 14px;
    background: #fff;
    color: #203346;
    box-shadow: 0 14px 34px rgba(31, 53, 74, 0.2);
    font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.hn-analytics-consent p {
    margin: 0 0 8px;
}

.hn-analytics-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 8px;
}

.hn-analytics-consent button,
.hn-analytics-settings-button {
    min-height: 44px;
    padding: 8px 18px;
    border: 2px solid #1f354a;
    border-radius: 999px;
    background: #fff;
    color: #1f354a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hn-analytics-consent button:first-child {
    background: #1f354a;
    color: #fff;
}

.hn-analytics-consent button:focus-visible,
.hn-analytics-consent a:focus-visible,
.hn-analytics-settings-button:focus-visible {
    outline: 3px solid #075fa8;
    outline-offset: 3px;
}

@media (min-width: 720px) {
    .hn-analytics-consent {
        right: 24px;
        bottom: 24px;
        left: auto;
        width: min(520px, calc(100vw - 48px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hn-analytics-consent,
    .hn-analytics-consent * {
        scroll-behavior: auto !important;
    }
}
