﻿/* sub-CSS는 index.html에서 병렬 <link>로 로드 (@import 순차 체인 제거 — 렌더블로킹 단축).
   이 파일은 story-media 잔여 룰만 보유. 로드 순서는 index.html <link> 순서로 보존. */

.story-media-add {
  width: 100%;
  min-height: 52px;
  border: 1.5px dashed #BAE6FD;
  border-radius: 14px;
  background: #F0F9FF;
  color: var(--coral-500);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.story-media-add:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.story-media-preview-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #F2F2F7;
  margin-bottom: 10px;
}

.story-media-preview {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  background: #111827;
}

.story-media-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(17,24,39,.72);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.story-media-meta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(17,24,39,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.story-video {
  display: block;
  background: #111827;
}
