/* MSMN News — commercial slots + article comments */
.msmn-ad-mount { width: 100%; }
.msmn-ad-mount--sidebar { max-width: 22rem; }
.msmn-ad-mount--leaderboard,
.msmn-ad-mount--billboard { max-width: 75rem; margin: 1.25rem auto; padding: 0 1rem; }
.ad-slot {
    position: relative;
    display: grid;
    gap: .45rem;
    padding: .75rem;
    border: 1px solid rgba(240, 193, 75, .28);
    background: rgba(12, 14, 22, .72);
    color: #f4f1ea;
    border-radius: 12px;
    overflow: hidden;
}
/* Public visitors never see empty house-ad sell placeholders. */
.ad-slot--empty,
.msmn-ad-mount:empty {
    display: none !important;
}
.home-commercial-mid:not(:has(.ad-slot--active)),
.home-commercial-banner:not(:has(.ad-slot--active)),
.home-commercial-lower:not(:has(.ad-slot--active)) {
    display: none !important;
}
.ad-slot--active.is-live { box-shadow: 0 0 0 1px rgba(240, 193, 75, .18); }
.ad-slot.is-swap { animation: msmn-ad-swap .45s ease; }
@keyframes msmn-ad-swap {
    from { opacity: .65; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ad-slot.is-swap, .ad-slot--active.is-live { animation: none; }
}
.ad-kicker {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c9a227;
    font-weight: 700;
}
.ad-size-badge, .ad-size-side { font-size: .72rem; color: #94a3b8; }
.ad-empty-title { font-size: 1.15rem; color: #f0c14b; }
.ad-empty-copy, .ad-empty-contact { margin: 0; color: #94a3b8; font-size: .9rem; line-height: 1.4; }
.ad-empty-cta {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: .35rem; padding: .55rem 1rem; border-radius: 999px;
    background: #c9a227; color: #111; font-weight: 700; text-decoration: none;
}
.ad-creative img, .ad-slot img {
    width: 100%; height: auto; display: block; object-fit: contain;
    background: #05070c;
}
.msmn-ad-mount--sidebar .ad-creative img,
.msmn-ad-mount--sidebar .ad-slot img {
    aspect-ratio: var(--ad-w, 1080) / var(--ad-h, 1920);
    object-fit: contain;
}
.ad-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.ad-video-frame video,
.ad-video-frame iframe {
    width: 100%; height: 100%; object-fit: contain; display: block; background: #000; border: 0;
}
.ad-video-frame--youtube iframe { position: absolute; inset: 0; height: auto; bottom: 2.1rem; }
.ad-video-visit {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: block; padding: .35rem .5rem; font-size: .72rem; font-weight: 700;
    text-align: center; text-decoration: none; color: #111;
    background: rgba(240,193,75,.92);
}
.ad-video-hit { position: absolute; inset: 0 0 2.2rem 0; z-index: 1; }
.ad-video-bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; gap: .35rem; padding: .35rem;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.ad-video-bar button, .ad-video-bigplay {
    border: 0; border-radius: 6px; padding: .28rem .5rem;
    background: rgba(240,193,75,.92); color: #111; font: inherit; font-size: .72rem; cursor: pointer;
}
.ad-video-bigplay { position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 2.2rem; z-index: 2; }

.home-commercial-mid, .home-commercial-banner, .home-commercial-lower { margin: 0; }
.article-rail .msmn-ad-mount { max-width: 100%; margin-bottom: 1rem; }

.msmn-comments {
    margin-top: 1.75rem;
    padding: 1.1rem 0 0.2rem;
    border-top: 1px solid rgba(148,163,184,.2);
    max-width: 65ch;
}
.msmn-comments *,
.msmn-comment-form * { box-sizing: border-box; }
.msmn-comments-head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
    margin-bottom: .55rem;
}
.msmn-comments h2 { margin: 0; font-size: 1.45rem; }
.msmn-comments-sort { display: flex; gap: .4rem; align-items: center; font-size: .85rem; }
.msmn-comments-flash { color: #34d399; }
.msmn-comments-flash--err { color: #fb7185; }
.msmn-comment-list, .msmn-comment-replies { list-style: none; margin: 1rem 0 0; padding: 0; }
.msmn-comment { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid rgba(148,163,184,.16); border-radius: 12px; background: rgba(17,24,39,.45); }
.msmn-comment header { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.msmn-comment time, .msmn-comment .meta { color: #94a3b8; font-size: .8rem; }
.msmn-comment-body { margin: .55rem 0; line-height: 1.55; overflow-wrap: anywhere; }
.msmn-comment-body a { color: #38bdf8; }
.msmn-comment-actions { display: flex; gap: .75rem; margin: 0; }
.msmn-text-btn {
    background: none; border: 0; padding: 0; color: #f0c14b; font: inherit; cursor: pointer; font-weight: 600;
}
.msmn-comment-replies { margin-left: 1rem; padding-left: .75rem; border-left: 2px solid rgba(240,193,75,.25); }
.msmn-comment-compose {
    margin-top: 1.1rem; padding: .95rem 1rem 1.05rem;
    border: 1px solid rgba(240, 193, 75, .28); border-radius: 14px; background: rgba(12,14,22,.55);
}
.msmn-comment-form {
    display: flex; flex-direction: column; gap: .7rem; position: relative;
}
.msmn-comment-form h3 { margin: 0; font-size: 1.12rem; }
.msmn-comment-privacy { margin: 0; }
.msmn-comment-row { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }
.msmn-comment-grid { display: grid; gap: .65rem; grid-template-columns: 1fr 1fr; }
.msmn-field { display: flex; flex-direction: column; gap: .32rem; min-width: 0; width: 100%; }
.msmn-field label { display: block; font-size: .78rem; font-weight: 600; }
.msmn-comment-form label { font-size: .88rem; }
.msmn-comment-form input:not([type="checkbox"]):not([type="hidden"]),
.msmn-comment-form textarea,
.msmn-comment-form select {
    display: block; width: 100%; max-width: 100%; padding: .55rem .7rem; border-radius: 8px;
    border: 1px solid rgba(148,163,184,.28); background: #fff; color: #141820; font: inherit;
}
html[data-theme="dark"] .msmn-comment-form input:not([type="checkbox"]):not([type="hidden"]),
html[data-theme="dark"] .msmn-comment-form textarea,
html[data-theme="dark"] .msmn-comment-form select {
    background: #07080c; color: inherit;
}
.msmn-comment-form textarea { resize: vertical; min-height: 6.5rem; }
.msmn-check { display: flex !important; flex-direction: row; gap: .5rem; align-items: flex-start; font-size: .78rem; }
.msmn-check input[type="checkbox"] { width: auto; min-width: 1rem; margin-top: .15rem; flex: 0 0 auto; }
.msmn-comment-submit {
    align-self: flex-start; border: 0; border-radius: 999px; padding: .55rem 1.05rem;
    background: #c9a227; color: #fffdf8; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; font-size: .72rem; cursor: pointer;
}
.msmn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msmn-desk-pill { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #38bdf8; }
.msmn-comment-pages { display: flex; gap: .4rem; margin-top: .75rem; }
.msmn-comment-pages a { padding: .25rem .5rem; border-radius: 6px; border: 1px solid rgba(148,163,184,.25); }
.msmn-comment-pages .is-current { background: #c9a227; color: #111; }
.msmn-reply-form { margin-top: .65rem; padding: .75rem; }
@media (max-width: 720px) {
    .msmn-comment-row, .msmn-comment-grid { grid-template-columns: 1fr; }
    .msmn-comment-replies { margin-left: .4rem; }
    .msmn-ad-mount--sidebar { max-width: none; }
}
