.child-notice-card {
    --notice-accent: #409eff;
    --notice-border: rgba(64, 158, 255, 0.2);
    --notice-bg-top: rgba(64, 158, 255, 0.12);
    --notice-bg-bottom: rgba(64, 158, 255, 0.04);
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid var(--notice-border);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--notice-bg-top), var(--notice-bg-bottom));
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.05);
}

.child-notice-card.is-style-success {
    --notice-accent: #16a34a;
    --notice-border: rgba(22, 163, 74, 0.18);
    --notice-bg-top: rgba(22, 163, 74, 0.11);
    --notice-bg-bottom: rgba(22, 163, 74, 0.03);
}

.child-notice-card.is-style-warning {
    --notice-accent: #d97706;
    --notice-border: rgba(217, 119, 6, 0.2);
    --notice-bg-top: rgba(217, 119, 6, 0.12);
    --notice-bg-bottom: rgba(217, 119, 6, 0.04);
}

.child-notice-card.is-style-neutral {
    --notice-accent: #475569;
    --notice-border: rgba(71, 85, 105, 0.18);
    --notice-bg-top: rgba(71, 85, 105, 0.1);
    --notice-bg-bottom: rgba(71, 85, 105, 0.03);
}

.child-notice-card__main {
    flex: 1 1 auto;
    min-width: 0;
}

.child-notice-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
    color: #1f2937;
}

.child-notice-card__content {
    color: #5b6573;
    line-height: 1.8;
}

.child-notice-card__content > :first-child {
    margin-top: 0;
}

.child-notice-card__content > :last-child {
    margin-bottom: 0;
}

.child-notice-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.child-notice-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--notice-accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.child-notice-card__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #64748b;
    cursor: pointer;
}

.child-notice-card.is-hidden {
    display: none;
}

@media (max-width: 640px) {
    .child-notice-card {
        flex-direction: column;
    }

    .child-notice-card__actions {
        width: 100%;
        justify-content: space-between;
    }
}
