.cc-notice-dialog {
    width: min(500px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    overflow: hidden;
    color: var(--cc-text, #29251f);
    background: var(--cc-surface-1, #fffdf9);
    border: 1px solid var(--cc-border, #ddcdb9);
    border-radius: 12px;
    box-shadow: 0 20px 64px rgb(48 33 15 / 28%);
}

.cc-notice-dialog::backdrop {
    background: rgb(30 25 18 / 48%);
    backdrop-filter: blur(2px);
}

.cc-notice-content {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 24px 18px;
}

.cc-notice-icon {
    display: grid;
    width: 36px;
    aspect-ratio: 1;
    place-items: center;
    color: var(--cc-accent, #ad4b0a);
    background: var(--cc-surface-2, #f5efe6);
    border: 1px solid var(--cc-border, #ddcdb9);
    border-radius: 9px;
    font-size: 18px;
    font-weight: 800;
}

.cc-notice-dialog[data-kind="danger"] .cc-notice-icon {
    color: var(--cc-danger, #a52d25);
    background: var(--cc-danger-soft, #fff0ed);
}

.cc-notice-copy {
    min-width: 0;
}

.cc-notice-eyebrow {
    margin: 0 0 6px;
    color: var(--cc-accent, #ad4b0a);
    font-size: 10px;
    font-weight: 800;
}

.cc-notice-dialog h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.cc-notice-message {
    margin: 10px 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.cc-notice-input {
    display: block;
    width: 100%;
    min-height: 42px;
    margin-top: 14px;
    padding: 8px 10px;
    color: inherit;
    background: var(--cc-surface-1, #fffdf9);
    border: 1px solid var(--cc-border, #ddcdb9);
    border-radius: 7px;
    font: inherit;
}

.cc-notice-input[hidden] {
    display: none;
}

.cc-notice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 24px 22px;
}

.cc-notice-actions .button {
    min-width: 96px;
    min-height: 40px;
}

@media (max-width: 520px) {
    .cc-notice-content {
        padding: 20px 18px 16px;
    }

    .cc-notice-actions {
        padding: 0 18px 18px;
    }

    .cc-notice-actions .button {
        flex: 1;
        min-width: 0;
    }
}