/* 📰 업데이트 카드뉴스 (features/news.js) — 휴대폰은 화면 가득, PC는 가운데 카드 */
.nw-back { position: fixed; inset: 0; z-index: 9000; background: rgba(28, 20, 18, .55); display: flex; align-items: center; justify-content: center; animation: nwIn .22s ease-out; }
.nw-back.out { opacity: 0; transition: opacity .22s; }
@keyframes nwIn { from { opacity: 0; } }
.nw { width: min(440px, 100vw); height: min(860px, 94dvh); background: var(--bg); color: var(--text); border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.nw-top { padding: 12px 16px 6px; }
.nw-bar { display: flex; gap: 3px; }
.nw-bar i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.nw-bar i.on { background: var(--accent); }
.nw-hd { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; }
.nw-pos { color: var(--muted); font-size: 13px; }
.nw-x { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 18px; cursor: pointer; }
.nw-stage { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 18px 8px; }
.nw-s { display: flex; flex-direction: column; gap: 14px; animation: nwSl .28s ease-out; }
@keyframes nwSl { from { opacity: 0; transform: translateX(14px); } }
.nw-media { position: relative; align-self: center; width: 100%; display: flex; justify-content: center; }
.nw-media video { height: min(44dvh, 440px); aspect-ratio: 390 / 540; max-width: 100%; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 6px 20px rgba(40, 28, 24, .12); }
.nw-live { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(28, 20, 18, .62); border-radius: 999px; padding: 3px 10px; pointer-events: none; }
.nw-txt small { color: var(--accent-text); font-weight: 700; font-size: 12.5px; }
.nw-txt h3 { margin: 4px 0 6px; font-size: 19px; line-height: 1.35; }
.nw-txt p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.nw-txt .nw-tip { margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 13.5px; }
.nw-ft { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.nw-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; }
.nw-btns .btn { height: 48px; font-size: 15.5px; justify-content: center; }
.nw-skip { border: 0; background: transparent; color: var(--muted); font-size: 13px; padding: 6px; cursor: pointer; }
.nw-skip small { font-size: 12px; }
/* 표 그림 장 (영상 대신) */
.nw-map { width: 100%; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.nw-mh { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; font-weight: 700; color: var(--accent-text); }
.nw-mh span:last-child { grid-column: 3; }
.nw-mr { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; align-items: center; }
.nw-mr span { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 5px 9px; display: flex; flex-direction: column; gap: 1px; overflow-wrap: anywhere; }
.nw-mr span:first-child { background: color-mix(in srgb, var(--ok) 10%, var(--panel)); }
.nw-mr small { color: var(--muted); font-size: 11px; }
.nw-mr i { font-style: normal; color: var(--accent); text-align: center; }
@media (max-width: 600px) {
  .nw-back { align-items: stretch; }
  .nw { width: 100vw; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .nw-back, .nw-s { animation: none; } }
