/* 테마 둘: glass(기본) · pop. 같은 마크업을 테마마다 다른 자리 · 모양으로 그린다. */
:root {
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --bg: #000000;
  --accent: #ffffff;
  --accent-fg: #000000;
  --surface: rgba(40, 40, 46, 0.32);
  --line: rgba(255, 255, 255, 0.28);
  --rec: #ff3b30;
  --display: 'Inter', 'Noto Sans KR', system-ui, sans-serif;
  --text: 'Noto Sans KR', 'Inter', system-ui, sans-serif;
}
body[data-theme="pop"] {
  --bg: #101010;
  --accent: #d4ff3a;
  --accent-fg: #0a0a0a;
  --surface: #262626;
  --line: #3a3a3a;
  --muted: #a8a8a8;
  --display: 'Unbounded', 'Noto Sans KR', system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--text);
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
}
button, input, a { font-family: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { opacity: 0.4; cursor: default; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
img { display: block; }

.screen { position: fixed; inset: 0; overflow: hidden; }

/* 공용 부품 */
.glassy {
  background: var(--surface);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
body[data-theme="pop"] .glassy { -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.primary {
  height: 48px; padding: 0 20px; border-radius: 24px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 15px; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
body[data-theme="pop"] .primary { border-radius: 22px; font-weight: 900; }
.btn-soft {
  height: 44px; padding: 0 18px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.14); color: var(--fg);
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.btn-soft.wide { width: 100%; }

/* ---------- 홈(촬영) ---------- */
.vf { position: absolute; inset: 0; background: #111; overflow: hidden; }
#preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#preview.mirror { transform: scaleX(-1); }
.cam-msg {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
}
.cam-msg p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

.rec-bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; opacity: 0; }
.rec-bar i { display: block; height: 100%; width: 0; background: var(--rec); }
body.recording .rec-bar { opacity: 1; }
body.recording .rec-bar i { width: 100%; transition: width var(--rec-dur, 1s) linear; }

.flip { position: absolute; right: 14px; top: calc(var(--safe-t) + 112px); color: #fff; }
.len-seg {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--safe-b) + 150px);
  padding: 3px; border-radius: 18px; display: flex; gap: 2px;
}
.len-seg button { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; font-weight: 600; color: #fff; }
.len-seg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.92); color: #000; font-weight: 700; }

.home-top {
  position: absolute; top: calc(var(--safe-t) + 12px); left: 14px; right: 14px;
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
.week-chip {
  height: 44px; padding: 0 16px; border-radius: 22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.week-chip .brand { display: none; }
.today-label { font-size: 15px; font-weight: 700; }
.dots { display: flex; gap: 5px; }
.dot { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); overflow: hidden; position: relative; }
.dot.on { background: #fff; }
.dot i, .dot img { display: none; }
.dot.today { outline: 1.5px solid rgba(255, 255, 255, 0.9); outline-offset: 1.5px; }

.dock {
  position: absolute; left: 14px; right: 14px; bottom: calc(var(--safe-b) + 24px);
  height: 100px; padding: 0 14px; border-radius: 50px;
  display: flex; align-items: center; justify-content: space-between;
}
.stack { min-width: 100px; height: 56px; display: flex; align-items: center; position: relative; }
.stack-imgs { display: flex; align-items: center; }
.stack-imgs img {
  width: 36px; height: 36px; border-radius: 18px; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9); margin-left: -14px;
}
.stack-imgs img:first-child { margin-left: 0; }
.stack-imgs .ph { width: 36px; height: 36px; border-radius: 18px; border: 1.5px dashed rgba(255, 255, 255, 0.5); }
.stack-badge { display: none; }

.shutter {
  width: 76px; height: 76px; border-radius: 38px; border: 3px solid rgba(255, 255, 255, 0.95);
  padding: 4px; display: flex; flex: none;
}
.shutter span { flex: 1; border-radius: 50%; background: #fff; transition: transform 0.18s ease, border-radius 0.18s ease, background 0.18s ease; }
body.recording .shutter span { transform: scale(0.55); border-radius: 10px; background: var(--rec); }

.day-btn {
  min-width: 100px; height: 44px; padding: 0 16px; border-radius: 22px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.day-btn svg { display: none; }

/* pop: 촬영 화면은 둥근 카드, 아래 단추는 카드 밖 */
body[data-theme="pop"] #home { display: flex; flex-direction: column; padding: calc(var(--safe-t) + 12px) 14px calc(var(--safe-b) + 24px); gap: 14px; }
body[data-theme="pop"] .home-top { position: static; order: 0; justify-content: space-between; padding: 0 4px; }
body[data-theme="pop"] .vf { position: relative; inset: auto; order: 1; flex: 1; min-height: 0; border-radius: 36px; }
body[data-theme="pop"] .dock { position: static; order: 2; height: auto; padding: 4px 10px 0; border-radius: 0; background: none; }
body[data-theme="pop"] .week-chip { height: 44px; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; flex: 1; justify-content: space-between; }
body[data-theme="pop"] .week-chip { gap: 10px; }
body[data-theme="pop"] .week-chip .brand { display: inline; font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
body[data-theme="pop"] .today-label { display: none; }
/* 360 폭에서도 today + 동그라미 7개 + 설정 단추가 한 줄에 들어가게 24px · 간격 3px(30px 이면 최소 폭 365) */
body[data-theme="pop"] .dots { gap: 3px; }
body[data-theme="pop"] .dot { width: 24px; height: 24px; border-radius: 12px; background: #262626; display: flex; align-items: center; justify-content: center; outline: 0; }
body[data-theme="pop"] .dot i { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
body[data-theme="pop"] .dot img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body[data-theme="pop"] .dot.today { box-shadow: inset 0 0 0 2px var(--accent); }
body[data-theme="pop"] .dot.today img { inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50%; }
body[data-theme="pop"] .home-top .icon-btn { background: #262626; margin-left: 8px; }
body[data-theme="pop"] .flip { top: 8px; right: 8px; background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body[data-theme="pop"] .len-seg { bottom: 16px; background: none; gap: 6px; padding: 0; }
body[data-theme="pop"] .len-seg button { height: 32px; padding: 0 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-weight: 700; }
body[data-theme="pop"] .len-seg button[aria-pressed="true"] { background: #fff; color: #0a0a0a; font-weight: 900; }
body[data-theme="pop"] .stack { min-width: 64px; width: 64px; height: 64px; display: block; }
body[data-theme="pop"] .stack-imgs { display: block; position: absolute; inset: 0; }
body[data-theme="pop"] .stack-imgs img, body[data-theme="pop"] .stack-imgs .ph {
  position: absolute; width: 46px; height: 56px; border-radius: 12px; margin: 0; border: 2px solid #101010;
}
body[data-theme="pop"] .stack-imgs > :nth-last-child(2) { left: 4px; top: 6px; transform: rotate(-10deg); }
body[data-theme="pop"] .stack-imgs > :last-child { left: 12px; top: 4px; transform: rotate(6deg); }
body[data-theme="pop"] .stack-imgs > :nth-last-child(n+3) { display: none; }
body[data-theme="pop"] .stack-imgs .ph { border: 2px dashed #3a3a3a; left: 9px; top: 4px; }
body[data-theme="pop"] .stack-badge {
  display: flex; position: absolute; right: -2px; top: -4px; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 12px; background: #fff; color: #0a0a0a; font-size: 13px; font-weight: 900; align-items: center; justify-content: center;
}
body[data-theme="pop"] .shutter { width: 88px; height: 88px; border-radius: 44px; border: 0; background: var(--accent); padding: 6px; }
body[data-theme="pop"] .shutter span { background: transparent; border: 3px solid #101010; }
body[data-theme="pop"].recording .shutter span { background: #101010; }
body[data-theme="pop"] .day-btn {
  min-width: 64px; width: 64px; height: 64px; padding: 0; border-radius: 22px; background: #262626; color: #fff;
  flex-direction: column; gap: 2px; font-size: 11px;
}
body[data-theme="pop"] .day-btn svg { display: block; }
body[data-theme="pop"] .rec-bar i { background: var(--accent); }

/* ---------- 하루 영상 ---------- */
.player { position: absolute; inset: 0; background: #0b0b0b; overflow: hidden; }
#dayVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.segs { position: absolute; top: calc(var(--safe-t) + 10px); left: 14px; right: 14px; display: flex; gap: 4px; z-index: 2; }
.segs div { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.segs i { display: block; height: 100%; width: 0; background: #fff; }
.stamp {
  position: absolute; left: 18px; bottom: calc(var(--safe-b) + 196px); z-index: 2;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); white-space: pre-line;
}
body.no-stamp .stamp { display: none; }
.count-badge { display: none; }
.empty-note { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); }

.day-top {
  position: absolute; top: calc(var(--safe-t) + 26px); left: 14px; right: 14px;
  display: flex; align-items: center; gap: 8px; z-index: 3;
}
.day-title { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 22px; display: flex; align-items: center; gap: 8px; }
.day-title b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.day-title span { font-size: 13px; color: var(--muted); }
.day-bottom {
  position: absolute; left: 14px; right: 14px; bottom: calc(var(--safe-b) + 24px);
  display: flex; flex-direction: column; gap: 10px; z-index: 3;
}
.memo { height: 48px; padding: 0 18px; border-radius: 24px; display: flex; align-items: center; }
.memo input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 16px; font-weight: 500; color: var(--fg);
  -webkit-user-select: text; user-select: text;
}
.memo input::placeholder { color: var(--muted); }
.day-bar { height: 84px; padding: 0 12px 0 16px; border-radius: 42px; display: flex; align-items: center; gap: 10px; }
.strip { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.strip::-webkit-scrollbar { display: none; }
.strip button { flex: none; width: 40px; height: 54px; border-radius: 10px; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip button[aria-current="true"] { box-shadow: 0 0 0 2px #fff; }

body[data-theme="pop"] #day { display: flex; flex-direction: column; gap: 12px; padding: calc(var(--safe-t) + 12px) 14px calc(var(--safe-b) + 24px); }
body[data-theme="pop"] .day-top { position: static; order: 0; }
body[data-theme="pop"] .day-top .icon-btn { background: #262626; }
body[data-theme="pop"] .day-title { background: none; justify-content: center; padding: 0; }
body[data-theme="pop"] .day-title b { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.5px; text-transform: lowercase; }
body[data-theme="pop"] .day-title span { display: none; }
body[data-theme="pop"] .player { position: relative; inset: auto; order: 1; flex: 1; min-height: 0; border-radius: 36px; }
body[data-theme="pop"] .segs { top: 16px; left: 16px; right: 16px; }
body[data-theme="pop"] .segs div { height: 4px; }
body[data-theme="pop"] .segs i { background: var(--accent); }
body[data-theme="pop"] .count-badge {
  display: flex; position: absolute; top: 32px; left: 16px; height: 30px; padding: 0 12px; border-radius: 15px; z-index: 2;
  background: var(--accent); color: var(--accent-fg); font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 800; align-items: center;
}
body[data-theme="pop"] .stamp { bottom: 16px; left: 16px; }
body[data-theme="pop"] .day-bottom { position: static; order: 2; }
body[data-theme="pop"] .memo { height: 52px; border-radius: 20px; background: #1c1c1c; }
body[data-theme="pop"] .day-bar { height: auto; padding: 0; border-radius: 0; background: none; flex-direction: column; align-items: stretch; gap: 12px; }
body[data-theme="pop"] .strip button { width: 54px; height: 72px; border-radius: 16px; }
body[data-theme="pop"] .strip button[aria-current="true"] { box-shadow: inset 0 0 0 3px var(--accent); }
body[data-theme="pop"] .strip button[aria-current="true"] img { padding: 3px; border-radius: 16px; }
body[data-theme="pop"] .day-bar .primary { height: 60px; font-size: 16px; }

/* ---------- 주간 다이어리 ---------- */
.week-bg { position: absolute; inset: -40px; background: #0b0d12 center / cover no-repeat; filter: blur(28px) saturate(140%); }
.week-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); }
.week-top {
  position: absolute; top: calc(var(--safe-t) + 14px); left: 16px; right: 14px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; z-index: 2;
}
.week-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.week-brand { display: none; }
.week-sub { font-size: 14px; color: var(--muted); }
.week-title { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.8px; white-space: nowrap; }
.week-nav { display: flex; gap: 6px; }
.week-list {
  position: absolute; left: 14px; right: 14px;
  top: calc(var(--safe-t) + 92px); bottom: calc(var(--safe-b) + 120px);
  overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; z-index: 1;
}
.week-cover { display: none; }
.week-row {
  flex: none; height: 64px; padding: 0 16px; border-radius: 22px; text-align: left;
  display: flex; align-items: center; gap: 14px;
}
.week-row .d { width: 30px; display: flex; flex-direction: column; align-items: center; flex: none; }
.week-row .d b { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.1; }
.week-row .d span { font-size: 11px; color: var(--muted); }
.week-row .t { display: flex; width: 84px; flex: none; }
.week-row .t img { width: 36px; height: 36px; border-radius: 18px; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.9); margin-left: -12px; }
.week-row .t img:first-child { margin-left: 0; }
.week-row .m { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week-row .s { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); flex: none; }
.week-row.empty .m { opacity: 0.8; }
.week-row .day-chip, .week-row .sec-badge, .week-row .cover-img { display: none; }
.week-bar {
  position: absolute; left: 14px; right: 14px; bottom: calc(var(--safe-b) + 24px); z-index: 2;
  height: 84px; padding: 0 12px 0 22px; border-radius: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.week-total { display: flex; flex-direction: column; min-width: 0; }
.week-total b { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.week-total span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.week-bar .primary { height: 56px; border-radius: 28px; padding: 0 22px; }

body[data-theme="pop"] .week-bg { display: none; }
body[data-theme="pop"] .week-top { top: calc(var(--safe-t) + 12px); }
body[data-theme="pop"] .week-brand { display: block; font-family: 'Unbounded', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
body[data-theme="pop"] .week-sub { font-size: 13px; order: 2; }
body[data-theme="pop"] .week-title { display: none; }
body[data-theme="pop"] .week-nav .icon-btn { background: #262626; }
body[data-theme="pop"] .week-list { top: calc(var(--safe-t) + 80px); bottom: calc(var(--safe-b) + 100px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
body[data-theme="pop"] .week-cover {
  display: flex; flex-direction: column; justify-content: space-between; height: 128px; border-radius: 26px; padding: 16px;
  background: var(--accent); color: var(--accent-fg);
}
body[data-theme="pop"] .week-cover b { font-family: 'Unbounded', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
body[data-theme="pop"] .week-cover span { font-size: 13px; font-weight: 700; }
body[data-theme="pop"] .week-row { position: relative; height: 128px; padding: 0; border-radius: 26px; overflow: hidden; background: #1c1c1c; display: block; }
body[data-theme="pop"] .week-row .d, body[data-theme="pop"] .week-row .t, body[data-theme="pop"] .week-row .m, body[data-theme="pop"] .week-row .s { display: none; }
body[data-theme="pop"] .week-row .cover-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body[data-theme="pop"] .week-row .day-chip {
  display: flex; position: absolute; top: 10px; left: 10px; height: 28px; padding: 0 10px; border-radius: 14px;
  background: #0a0a0a; color: #fff; font-size: 12px; font-weight: 700; align-items: center; gap: 4px;
}
body[data-theme="pop"] .week-row .day-chip b { font-family: 'Unbounded', sans-serif; font-weight: 800; }
body[data-theme="pop"] .week-row .sec-badge {
  display: flex; position: absolute; right: 10px; bottom: 10px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px;
  background: #fff; color: #0a0a0a; font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 800; align-items: center; justify-content: center;
}
body[data-theme="pop"] .week-row.empty { background: transparent; border: 2px dashed #3a3a3a; }
body[data-theme="pop"] .week-row.empty .sec-badge { display: none; }
body[data-theme="pop"] .week-bar { height: auto; padding: 0; border-radius: 0; background: none; }
body[data-theme="pop"] .week-total { display: none; }
body[data-theme="pop"] .week-bar .primary { flex: 1; height: 60px; border-radius: 22px; font-size: 16px; }

/* ---------- 설정 시트 · 내보내기 ---------- */
.sheet-wrap, .export-wrap { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.55); display: flex; align-items: flex-end; }
.sheet {
  width: 100%; padding: 22px 18px calc(var(--safe-b) + 18px); border-radius: 28px 28px 0 0;
  background: #17171a; display: flex; flex-direction: column; gap: 12px;
}
body[data-theme="pop"] .sheet { background: #1a1a1a; }
.sheet h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.sheet-label { margin: 0; font-size: 13px; color: var(--muted); }
.theme-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.theme-pick button {
  border-radius: 18px; padding: 12px; background: rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; text-align: left;
}
.theme-pick button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.tp { height: 64px; border-radius: 12px; display: block; }
.tp-glass { background: linear-gradient(160deg, #3a4a63, #0f1218); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.tp-pop { background: #101010; box-shadow: inset 0 0 0 1px #333; position: relative; }
.tp-pop::after { content: ''; position: absolute; left: 50%; bottom: 10px; width: 26px; height: 26px; margin-left: -13px; border-radius: 13px; background: #d4ff3a; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 15px; }
.toggle-row input { width: 22px; height: 22px; accent-color: var(--accent); }
.sheet-foot { margin: 0; font-size: 12px; color: var(--muted); }

.export-wrap { align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.82); }
.export { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.export-title { margin: 0; font-size: 17px; font-weight: 700; text-align: center; }
.export-prog { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.export-prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s linear; }
#exportVideo { width: 100%; max-height: 60vh; border-radius: 20px; background: #000; }
.export-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
