body {
    margin: 0;
    padding: 32px 18px;
    background: #FFF0F5;
    color: #4A3C3F;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
    line-height: 1.85;
}

main {
    max-width: 780px;
    margin: 0 auto;
    background: #FFFDF9;
    border: 3px solid #FFB7C5;
    border-radius: 16px;
    padding: 28px;
}

h1, h2, h3 {
    color: #FF8DA1;
    line-height: 1.35;
}

h1 {
    font-size: clamp(1.7rem, 5vw, 2.35rem);
}

a {
    color: #FF6F9C;
    font-weight: 700;
}

ul {
    padding-left: 1.4em;
}

.lead {
    font-size: 1.05rem;
    font-weight: 700;
}

.article-list {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.article-link {
    display: block;
    padding: 16px;
    background: #FFF7FA;
    border: 2px solid #FFB7C5;
    border-radius: 12px;
    text-decoration: none;
}

.article-link span {
    display: block;
    color: #8B7B7E;
    font-weight: 500;
    margin-top: 6px;
}

.article-ad {
    display: none;
    margin: 28px 0;
    padding: 18px;
    min-height: 110px;
    background: #FFF7FA;
    border: 2px dashed #FFB7C5;
    border-radius: 12px;
    text-align: center;
}

.article-ad.active {
    display: block;
}

.ad-label {
    display: block;
    margin-bottom: 8px;
    color: #8B7B7E;
    font-size: 0.78rem;
    font-weight: 700;
}

.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    display: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    background: rgba(255, 253, 249, 0.98);
    border: 3px solid #FFB7C5;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(74, 60, 63, 0.18);
}

.consent-banner.active {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.consent-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.consent-btn {
    appearance: none;
    border: 2px solid #FFB7C5;
    border-radius: 999px;
    background: #FFFDF9;
    color: #4A3C3F;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
}

.consent-btn.primary {
    background: #FF8DA1;
    color: #FFF;
}

footer {
    max-width: 780px;
    margin: 22px auto 0;
    text-align: center;
    color: #8B7B7E;
}

@media (max-width: 640px) {
    body {
        padding: 18px 12px;
    }

    main {
        padding: 20px;
    }

    .consent-banner.active {
        flex-direction: column;
        align-items: stretch;
    }

    .consent-actions {
        justify-content: flex-end;
    }
}
