/* 뉴스 쇼츠 (PC·모바일 공통). 세로 9:16 카드 · 재생 창 */
.sh-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 8px; overflow-x: auto; padding: 2px 2px 8px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sh-empty { color: var(--dim); font-size: 12.5px; padding: 12px 4px; }
.sh-thumb { position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 10px 9px; border-radius: 12px; border: 1px solid #ffffff1c; color: #fff; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 70% at 80% 0%, var(--c2) 0%, transparent 60%), linear-gradient(170deg, var(--c1), #05100c 92%);
  transition: transform .15s, border-color .15s; font: inherit; }
.sh-thumb:hover, .sh-thumb:focus-visible { transform: translateY(-2px); border-color: #ffffff66; }
.sh-thumb::after { content: ''; position: absolute; inset: auto -20% -30% -20%; height: 45%; background: repeating-linear-gradient(100deg, #ffffff10 0 2px, transparent 2px 14px);
  transform: skewY(-8deg); pointer-events: none; }
.sh-th-top { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: #ffffffcc; }
.sh-th-top i { font-style: normal; font-size: 13px; }
.sh-lv { margin-left: auto; font-size: 9.5px; padding: 1px 5px; border-radius: 5px; background: #00000055; border: 1px solid #ffffff33; }
.sh-thumb.lv4 .sh-lv, .sh-thumb.lv5 .sh-lv { background: #ff5a4fcc; border-color: transparent; }
.sh-th-hook { font-size: 14px; font-weight: 800; line-height: 1.32; letter-spacing: -.4px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden; text-shadow: 0 1px 6px #0008; margin-top: 4px; }
.sh-th-tags { font-size: 10.5px; color: #ffffffb0; margin-top: auto; }
.sh-th-foot { display: flex; align-items: center; gap: 5px; font-size: 11px; font-variant-numeric: tabular-nums; }
.sh-th-foot small { margin-left: auto; color: #ffffff99; font-size: 10px; }
.sh-play { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #111; font-size: 9px; font-style: normal; }

/* 카드 목록 (대시보드 "오늘의 중요 뉴스"): 위 16:9 썸네일 + 아래 글 */
.sh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.sh-card { display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: left; overflow: hidden; cursor: pointer; font: inherit; color: var(--text, #e8f2ee);
  border-radius: 12px; border: 1px solid var(--grid, #ffffff1c); background: var(--panel, #0d1b17); transition: transform .15s, border-color .15s, box-shadow .15s; }
.sh-card:hover, .sh-card:focus-visible { transform: translateY(-2px); border-color: var(--c2); box-shadow: 0 8px 22px #0007; }
.sh-card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c2), var(--c1)); overflow: hidden; }
.sh-card-img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.sh-card-img.ok { opacity: 1; }
/* 화면에 들어올 때 살짝 떠오르며 나타남 */
.sh-card:not(.in) { opacity: 0; transform: translateY(10px); }
.sh-card.in { animation: sh-card-in .4s ease var(--d, 0ms) backwards; }
@keyframes sh-card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sh-card.in { animation: none; } .sh-card-img { transition: none; } }
.sh-card-media .sh-vbadge { position: absolute; left: 8px; bottom: 8px; }
.sh-card-body { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; min-width: 0; flex: 1; }
.sh-card-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--dim, #9fb5ad); }
.sh-card-meta i { font-style: normal; }
.sh-card-meta .sh-lv { margin-left: 2px; color: #fff; }
.sh-card.lv4 .sh-lv, .sh-card.lv5 .sh-lv { background: #ff5a4fcc; border-color: transparent; }
.sh-card-meta small { margin-left: auto; font-size: 10.5px; }
.sh-card-title { font-size: 14.5px; font-weight: 800; line-height: 1.38; letter-spacing: -.3px; word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-card-sum { font-size: 12.5px; line-height: 1.5; color: var(--dim, #9fb5ad); word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-card-tags { margin-top: auto; font-size: 11px; color: var(--accent, #80d8a6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 재생 창 */
body.sh-open { overflow: hidden; }
.sh-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; gap: 18px; background: #000c; backdrop-filter: blur(6px); }
.sh-modal[hidden] { display: none; }
.sh-phone { position: relative; width: min(390px, 94vw, calc((100vh - 40px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px #000c, 0 0 0 1px #ffffff22; color: #fff; background: var(--c1, #0d1b17); }
.sh-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-bars { position: absolute; z-index: 3; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; }
.sh-bars i { flex: 1; height: 3px; border-radius: 3px; background: #ffffff40; overflow: hidden; }
.sh-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.sh-bars i.done b { width: 100% !important; transition: none !important; }
.sh-ctl { position: absolute; z-index: 4; top: 20px; left: 12px; right: 8px; display: flex; align-items: center; gap: 2px; font-size: 12px; }
.sh-ctl small { color: #ffffffaa; }
.sh-sp { flex: 1; }
.sh-ic { border: 0; background: #00000040; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 13px; cursor: pointer; }
.sh-ic:hover { background: #00000080; }
.sh-nav { border: 0; width: 46px; height: 46px; border-radius: 50%; background: #ffffff1f; color: #fff; font-size: 26px; cursor: pointer; }
.sh-nav:disabled { opacity: .25; cursor: default; }
.sh-tap { position: absolute; z-index: 2; top: 60px; bottom: 0; width: 34%; }
.sh-tap-l { left: 0; } .sh-tap-r { right: 0; }
.sh-stage { position: absolute; z-index: 1; inset: 62px 20px 22px; display: flex; }
.sh-scene { flex: 1; display: flex; flex-direction: column; gap: 14px; animation: shIn .5s ease both; }
.sh-phone.paused .sh-scene, .sh-phone.paused .sh-scene * { animation-play-state: paused !important; }
@keyframes shIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shPop { from { opacity: 0; transform: translateX(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.sh-cat { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.sh-cat i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #ffffff26; font-size: 16px; }
.sh-cat .sh-lv { font-size: 11px; padding: 2px 7px; }
.sh-intro { justify-content: center; }
.sh-hook { font-size: clamp(24px, 7.4vw, 31px); line-height: 1.3; font-weight: 900; letter-spacing: -1px; margin: 0; text-shadow: 0 2px 14px #0009;
  animation: shIn .7s .15s ease both; word-break: keep-all; }
.sh-tags { display: flex; flex-wrap: wrap; gap: 6px; animation: shIn .6s .5s ease both; }
.sh-tags span { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: #00000040; border: 1px solid #ffffff2e; }
.sh-when { font-size: 12px; color: #ffffffaa; animation: shIn .6s .7s ease both; }
.sh-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #ffffffcc; text-transform: uppercase; }
.sh-lines { justify-content: center; }
.sh-lines ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sh-lines li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 18px; line-height: 1.45; font-weight: 700;
  animation: shPop .55s ease both; word-break: keep-all; text-shadow: 0 1px 8px #0009; }
.sh-lines li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: #111; font-size: 14px; }
.sh-impact { justify-content: center; }
.sh-tone { font-size: 15px; font-weight: 800; padding: 8px 12px; border-radius: 10px; background: #00000045; }
.sh-tone.up { color: #ffb0ac; } .sh-tone.down { color: #b6d2ff; }
.sh-impact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sh-impact li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px;
  background: #0000004d; border: 1px solid #ffffff1f; animation: shPop .5s ease both; }
.sh-impact li b { display: block; font-size: 15px; }
.sh-impact li small { display: block; font-size: 11.5px; color: #ffffffaa; }
.sh-impact em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }
.sh-arrow { font-size: 20px; text-align: center; }
.sh-phone .up { color: #ff8b86; } .sh-phone .down { color: #8fbcff; } .sh-phone .flat { color: #ffffffaa; }
.sh-note { font-size: 11px; color: #ffffff88; margin: 0; }
.sh-outro { justify-content: center; }
.sh-take { font-size: 21px; font-weight: 800; line-height: 1.45; margin: 0; word-break: keep-all; animation: shIn .6s .2s ease both; }
.sh-event { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: #00000050; border: 1px solid #ffffff26; animation: shIn .6s .6s ease both; }
.sh-event small { color: #ffd76a; font-size: 11.5px; } .sh-event b { font-size: 15px; } .sh-event span { font-size: 12px; color: #ffffffbb; }
.sh-credit { margin: auto 0 0; font-size: 10.5px; color: #ffffff88; line-height: 1.5; }
@media (max-width: 640px) { .sh-nav { display: none; } .sh-modal { gap: 0; } .sh-phone { border-radius: 0; width: 100vw; height: 100vh; aspect-ratio: auto; } }

/* 영상 뉴스: GPU PC(MiniMax-H3)가 만든 AI 영상을 배경으로 (자막은 화면 글자로 얹음) */
.sh-thumb.has-vid { background: linear-gradient(180deg, #0009 0%, transparent 35%, transparent 55%, #000d 100%), var(--poster) center / cover, var(--c1); }
.sh-vbadge { align-self: flex-start; font: 800 9.5px/1 Inter, "Noto Sans KR", sans-serif; letter-spacing: .3px; padding: 3px 6px; border-radius: 4px; background: #e3262bdd; color: #fff; }
.sh-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.sh-vid-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #000a 0%, #0004 22%, #0003 50%, #000c 100%); }
.sh-phone.video .sh-scene { text-shadow: 0 1px 6px #000c; }
.sh-vlabel { position: absolute; z-index: 3; right: 12px; bottom: 12px; font-size: 9.5px; color: #ffffffaa; background: #0008; padding: 2px 6px; border-radius: 4px; pointer-events: none; }
