:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --ink: #2c2a26;
  --ink-soft: #6b665c;
  --ink-faint: #a8a196;
  --line: #e9e1d3;
  --amber: #c98a3c;
  --amber-deep: #a86d28;
  --amber-soft: #f7ead6;
  --amber-faint: #fbf3e6;
  --danger: #b4543f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(60, 45, 20, 0.04), 0 8px 30px rgba(60, 45, 20, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.hidden { display: none !important; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- 品牌标记 ---------- */
.brand-mark { position: relative; width: 40px; height: 40px; margin: 0 auto 14px; }
.brand-orbit {
  position: absolute; inset: 6px; border: 1.5px solid var(--amber); border-radius: 50%;
  display: block;
}
.brand-dot {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  background: var(--amber); border-radius: 50%; transform: translate(-50%, -50%);
}
.brand-mark::after {
  content: ""; position: absolute; right: 6px; top: 8px; width: 6px; height: 6px;
  background: var(--amber-deep); border-radius: 50%;
}
.brand-mark.small { width: 26px; height: 26px; margin: 0; }
.brand-mark.small .brand-orbit { inset: 4px; border-width: 1.5px; }
.brand-mark.small .brand-dot { width: 7px; height: 7px; }
.brand-mark.small::after { right: 4px; top: 5px; width: 4px; height: 4px; }

/* ---------- 登录 ---------- */
.login-view { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card {
  width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 44px 36px 36px; text-align: center; box-shadow: var(--shadow);
}
.brand-title { font-size: 24px; font-weight: 600; letter-spacing: 4px; }
.brand-sub { color: var(--ink-soft); font-size: 13px; margin-top: 4px; margin-bottom: 30px; letter-spacing: 1px; }
#login-form input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; outline: none; transition: border-color .2s; background: #fff;
}
#login-form input:focus { border-color: var(--amber); }
.form-error { color: var(--danger); font-size: 13px; min-height: 20px; margin-top: 12px; }

/* ---------- 按钮 ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--amber); color: #fff; border-radius: 12px; padding: 13px 24px;
  font-size: 14px; font-weight: 500; transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--amber-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary.small { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
#login-form .btn-primary { width: 100%; margin-top: 14px; }
.text-btn { color: var(--ink-soft); font-size: 13px; padding: 6px 8px; border-radius: 8px; }
.text-btn:hover { color: var(--ink); background: var(--amber-faint); }
.icon-btn {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink-soft); transition: background .2s;
}
.icon-btn:hover { background: var(--amber-faint); color: var(--amber-deep); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 顶栏 ---------- */
.app-view { min-height: 100%; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 32px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 130px; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: 3px; }
.year-nav { display: flex; align-items: center; gap: 6px; }
.year-label { font-size: 22px; font-weight: 600; letter-spacing: 2px; min-width: 82px; text-align: center; font-variant-numeric: tabular-nums; }
.topbar-right { display: flex; align-items: center; gap: 12px; min-width: 130px; justify-content: flex-end; }
.year-stat { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }

/* ---------- 主体 ---------- */
.main { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 44px 32px 20px; }
.axis-section { margin-bottom: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.detail-section { padding-top: 4px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-title { font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.section-sub { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.play-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border: 1px solid var(--amber); color: var(--amber-deep); border-radius: 999px;
  font-size: 13px; transition: background .2s, color .2s; white-space: nowrap;
}
.play-btn:hover { background: var(--amber); color: #fff; }
.play-btn.playing { background: var(--amber); color: #fff; }
.play-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- 时间轴 ---------- */
.timeline-wrap { width: 100%; overflow-x: auto; padding: 8px 4px 4px; }
.timeline-track { position: relative; min-width: 720px; padding: 30px 0 0; }
.timeline-line {
  position: absolute; top: 48px; left: 0; right: 0; height: 2px;
  background: var(--line); border-radius: 2px;
}
.timeline-progress {
  position: absolute; top: 48px; left: 0; height: 2px; width: 0;
  background: var(--amber); border-radius: 2px; transition: width .15s linear;
}
.timeline-runner {
  position: absolute; top: 42px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--bg); box-shadow: 0 0 0 3px var(--amber-soft);
  transform: translateX(-7px); opacity: 0; pointer-events: none; transition: left .15s linear; z-index: 3;
}
.timeline-runner.active { opacity: 1; }
/* ---------- 年份主轴（横向滚动，1980-2050） ---------- */
.year-track { padding-top: 24px; min-width: max-content; }
.year-track .timeline-line,
.year-track .timeline-progress { left: 28px; right: 28px; }
.year-track .timeline-line { top: 40px; }
.year-track .timeline-progress { top: 40px; }
.year-track .timeline-runner { top: 34px; }
.axis-nodes { display: flex; position: relative; z-index: 2; padding: 0 4px; }
.year-node {
  flex: 0 0 56px; width: 56px; display: flex; flex-direction: column; align-items: center;
  cursor: pointer; padding: 0 2px;
}
.timeline-wrap::-webkit-scrollbar { height: 6px; }
.timeline-wrap::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.timeline-wrap::-webkit-scrollbar-thumb:hover { background: var(--amber); }
.year-node .year-node-inner {
  width: 18px; height: 18px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--line); transition: all .25s; margin-bottom: 12px;
}
.year-node.has-photo .year-node-inner { background: var(--amber); border-color: var(--amber); }
.year-node:hover .year-node-inner { transform: scale(1.2); }
.year-node.active .year-node-inner {
  background: var(--amber-deep); border-color: var(--amber-deep); transform: scale(1.45);
  box-shadow: 0 0 0 5px var(--amber-soft);
}
.year-label-main { font-size: 14px; font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.year-node.active .year-label-main { color: var(--amber-deep); font-weight: 600; }
.year-node.has-photo .year-label-main { color: var(--ink); }
.year-count { font-size: 10px; color: var(--ink-faint); margin-top: 1px; min-height: 14px; }
.year-empty-note { text-align: center; color: var(--ink-faint); font-size: 13px; padding: 20px 0; }

.months { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.month {
  flex: 1; display: flex; flex-direction: column; align-items: center; cursor: pointer;
  padding: 0 2px; position: relative;
}
.month-node {
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--line); transition: all .25s; margin-bottom: 14px;
}
.month.has-photo .month-node { background: var(--amber); border-color: var(--amber); }
.month:hover .month-node { transform: scale(1.25); }
.month.active .month-node {
  background: var(--amber-deep); border-color: var(--amber-deep); transform: scale(1.4);
  box-shadow: 0 0 0 5px var(--amber-soft);
}
.month-label { font-size: 12px; color: var(--ink-faint); transition: color .2s; white-space: nowrap; }
.month.active .month-label { color: var(--amber-deep); font-weight: 600; }
.month-dot {
  position: absolute; top: 34px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); opacity: 0; transition: opacity .3s, transform .3s; transform: scale(0);
}
.month.has-photo .month-dot { opacity: 1; transform: scale(1); }

/* ---------- 年份详情 ---------- */
.detail-head { margin-bottom: 20px; }
.detail-title { font-size: 21px; font-weight: 600; letter-spacing: .5px; }
.detail-sub { color: var(--ink-soft); font-size: 12px; margin-top: 3px; }
.month-track { padding-top: 22px; margin-bottom: 34px; }
.month-track .timeline-line { top: 38px; }
.month-track .timeline-progress { top: 38px; }

/* ---------- 照片 ---------- */
.photos-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.photos-title { font-size: 18px; font-weight: 600; }
.photos-count { color: var(--ink-soft); font-size: 12px; margin-top: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-slot {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.photo-card { width: 100%; height: 100%; position: relative; display: block; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.photo-card .photo-overlay {
  position: absolute; inset: auto 0 0 0; padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(30,25,15,.55)); color: #fff;
  font-size: 11px; opacity: 0; transition: opacity .2s; display: flex;
  justify-content: space-between; align-items: flex-end; gap: 6px;
}
.photo-card:hover .photo-overlay { opacity: 1; }
.photo-overlay .pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-overlay .del {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center;
}
.photo-overlay .del:hover { background: var(--danger); }
.photo-overlay .del svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.empty-slot {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; color: var(--ink-faint); cursor: pointer;
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.4);
  transition: all .2s;
}
.empty-slot:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-faint); }
.empty-slot svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.empty-slot span { font-size: 12px; }
.empty-slot.dragover { border-color: var(--amber); background: var(--amber-soft); color: var(--amber-deep); }
.hint { font-size: 12px; color: var(--ink-faint); margin-top: 14px; text-align: center; }
.footer { text-align: center; padding: 32px; font-size: 12px; color: var(--ink-faint); letter-spacing: 2px; }

/* ---------- 上传进度 ---------- */
.progress-pill {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85); z-index: 5; border-radius: var(--radius);
  font-size: 12px; color: var(--amber-deep);
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(28,24,18,.9); z-index: 100;
  display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px;
  animation: fadeIn .2s;
}
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-close svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.lightbox-meta { color: rgba(255,255,255,.7); font-size: 12px; margin-top: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 13px; z-index: 200; box-shadow: var(--shadow); animation: fadeUp .25s;
}
.toast.error { background: var(--danger); }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 10px) } to { opacity: 1; transform: translate(-50%, 0) } }
@keyframes photoIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.photo-card.animate { animation: photoIn .45s both; }

/* ---------- 主轴控制：年份跳转 / 速度 / 播放 ---------- */
.axis-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.year-goto { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.year-goto input {
  width: 92px; border: none; outline: none; padding: 8px 10px; font-size: 13px;
  background: transparent; color: var(--ink); font-variant-numeric: tabular-nums;
}
.year-goto input::-webkit-inner-spin-button { -webkit-appearance: none; }
.year-goto button {
  border: none; background: var(--amber-faint); color: var(--amber-deep);
  font-size: 12px; padding: 8px 12px; cursor: pointer; border-left: 1px solid var(--line);
}
.year-goto button:hover { background: var(--amber-soft); }
.speed-group { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.speed-btn { padding: 8px 11px; font-size: 12px; color: var(--ink-soft); border-right: 1px solid var(--line); }
.speed-btn:last-child { border-right: none; }
.speed-btn:hover { background: var(--amber-faint); }
.speed-btn.active { background: var(--amber); color: #fff; }

/* ---------- 音乐播放器 ---------- */
.music-panel {
  position: fixed; right: 20px; bottom: 20px; width: 300px; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 40px rgba(60,45,20,.14); overflow: hidden;
}
.music-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 8px; }
.music-panel-toggle { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.music-panel-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.music-panel-toggle .chevron { width: 14px; height: 14px; transition: transform .2s; }
.music-panel.collapsed .chevron { transform: rotate(180deg); }
.music-play-toggle {
  width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.music-play-toggle.on { box-shadow: 0 0 0 3px var(--amber-soft); }
.music-play-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.music-now { flex: 1; font-size: 12px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-time { font-size: 10px; color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.music-progress { height: 3px; background: var(--line); cursor: pointer; }
.music-progress-fill { height: 100%; width: 0; background: var(--amber); }
.music-body { padding: 10px 12px 12px; }
.music-panel.collapsed .music-body { display: none; }
.music-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.music-controls button { display: flex; align-items: center; justify-content: center; }
.music-controls > button:not(.music-add) {
  width: 28px; height: 28px; border-radius: 50%; background: var(--amber-faint); color: var(--amber-deep);
}
.music-controls > button:not(.music-add):hover { background: var(--amber-soft); }
.music-controls svg { width: 14px; height: 14px; fill: currentColor; }
#music-volume { flex: 1; width: 60px; accent-color: var(--amber); height: 4px; }
.music-add { font-size: 11px; color: var(--amber-deep); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; white-space: nowrap; }
.music-add:hover { background: var(--amber-faint); }
.music-list { max-height: 150px; overflow-y: auto; border-top: 1px solid var(--line); }
.music-track {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 6px; font-size: 12px; color: var(--ink-soft); cursor: pointer; border-bottom: 1px solid var(--line);
}
.music-track:last-child { border-bottom: none; }
.music-track:hover { background: var(--amber-faint); color: var(--ink); }
.music-track.active { color: var(--amber-deep); font-weight: 500; background: var(--amber-faint); }
.music-track-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-del { font-size: 16px; line-height: 1; color: var(--ink-faint); padding: 0 4px; }
.music-del:hover { color: var(--danger); }
.music-empty { padding: 14px 6px; font-size: 12px; color: var(--ink-faint); text-align: center; }
.music-note { font-size: 10px; color: var(--ink-faint); margin-top: 8px; line-height: 1.5; }
.music-list::-webkit-scrollbar { width: 4px; }
.music-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

/* ---------- 起始时间选择 ---------- */
.start-picker { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 3px 6px; background: #fff; }
.start-picker label { font-size: 11px; color: var(--ink-soft); }
.start-picker input {
  width: 44px; border: none; outline: none; text-align: center; font-size: 12px;
  background: transparent; color: var(--ink); font-variant-numeric: tabular-nums; padding: 5px 2px;
}
.start-picker input::-webkit-inner-spin-button { -webkit-appearance: none; }
.start-picker input::placeholder { color: var(--ink-faint); }
.start-picker button { font-size: 11px; color: var(--amber-deep); padding: 5px 7px; border-radius: 7px; }
.start-picker button:hover { background: var(--amber-faint); }

/* ---------- 放映幕（时光流转） ---------- */
.projector { margin: 4px 0 22px; text-align: center; animation: projFade .5s both; }
.projector-screen {
  display: inline-block; position: relative; padding: 14px 14px 10px;
  background: #24211c; border-radius: 12px; box-shadow: 0 12px 40px rgba(30,25,15,.25);
}
.projector-frame {
  position: relative; width: min(560px, 72vw); height: min(315px, 40vw);
  border-radius: 4px; overflow: hidden; background: #000;
}
.projector-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.projector-frame.projecting img { animation: filmSlide .55s cubic-bezier(.2,.7,.3,1) both; }
.projector-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,.12) 0%, transparent 35%, transparent 65%, rgba(255,255,255,.06) 100%);
  animation: projFlicker 2.4s ease-in-out infinite;
}
.projector-film { display: flex; justify-content: space-between; margin-top: 8px; padding: 0 4px; }
.projector-film span { width: 9px; height: 7px; border-radius: 2px; background: #3d3830; }
.projector-caption {
  display: flex; justify-content: center; gap: 18px; align-items: center;
  margin-top: 12px; font-size: 13px; color: var(--ink-soft); letter-spacing: 1px;
}
#projector-count { font-variant-numeric: tabular-nums; color: var(--ink-faint); font-size: 12px; }
@keyframes filmSlide {
  0% { opacity: 0; transform: translateX(36px) scale(1.03); filter: brightness(1.5); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0) scale(1); filter: brightness(1); }
}
@keyframes projFlicker { 0%,100% { opacity: .85 } 50% { opacity: 1 } }
@keyframes projFade { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }

/* ---------- 批量上传预览弹窗 ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(28,24,18,.55); z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .2s;
}
.upload-modal {
  position: relative; width: 100%; max-width: 520px; background: var(--surface);
  border-radius: 20px; padding: 26px 28px; box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--amber-faint); }
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; }
.upload-modal-title { font-size: 17px; font-weight: 600; }
.upload-modal-info { font-size: 12px; color: var(--ink-soft); margin-top: 4px; margin-bottom: 18px; }
.upload-preview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.preview-cell { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.preview-cell img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.preview-cell span { font-size: 10px; color: var(--ink-faint); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.btn-ghost { padding: 10px 18px; font-size: 13px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 10px; }
.btn-ghost:hover { background: var(--amber-faint); }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .topbar { padding: 14px 18px; }
  .brand-name { font-size: 15px; letter-spacing: 2px; }
  .year-label { font-size: 19px; min-width: 70px; }
  .topbar-right { min-width: auto; }
  .year-stat { display: none; }
  .main { padding: 32px 18px 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .photo-slot { aspect-ratio: 4 / 5; }
  .section-title { font-size: 19px; }
  .axis-controls { justify-content: flex-start; }
  .music-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); max-width: 340px; }
  .start-picker { order: 5; }
  .projector-frame { width: 84vw; height: 56vw; }
  .upload-preview-grid { grid-template-columns: repeat(3, 1fr); }
}
