:root {
  --bg: #fffaf6;
  --bg-warm: #f7efe8;
  --bg-soft: #fdece6;
  --surface: #ffffff;
  --ink: #2c2523;
  --muted: #6c615b;
  --border: #efe4da;
  --accent: #bf4d36;
  --accent-hover: #a33e29;
  --accent-ink: #9b3722;
  --accent-light: #eb9074;
  --success: #1b7a4a;
  --success-soft: #e3f5ec;
  --studio-1: #231c1a;
  --studio-2: #322622;
  --studio-ink: #fffaf6;
  --studio-muted: #d6c5bc;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(112, 68, 48, 0.08);
  --shadow-accent: 0 12px 28px rgba(217, 107, 82, 0.28);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.dt-container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.dt-muted { color: var(--muted); }

/* Header */
.dt-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.dt-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.dt-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-serif); font-size: 1.48rem; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1; color: var(--ink); flex-shrink: 0;
}
.dt-brand-mark { width: 38px; height: 38px; display: block; flex: none; }
.dt-brand-text { display: inline-block; transform: translateY(-1px); }
.dt-brand-footer { margin-bottom: 10px; font-size: 1.32rem; }
.dt-brand-footer .dt-brand-mark { width: 34px; height: 34px; }
.dt-brand-dot { color: var(--accent); }
.dt-links { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.dt-links a:hover, .dt-drop-trigger:hover { color: var(--accent); }
.dt-dropdown { position: relative; }
.dt-drop-trigger {
  background: none; border: none; padding: 8px 0; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 4px;
}
.dt-drop-menu {
  position: absolute; top: 100%; left: -12px; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 8px; box-shadow: var(--shadow); display: none; flex-direction: column; z-index: 60;
}
.dt-dropdown:hover .dt-drop-menu, .dt-dropdown:focus-within .dt-drop-menu { display: flex; }
.dt-drop-menu a {
  padding: 9px 12px; border-radius: 10px; font-size: 0.88rem; color: var(--ink); font-weight: 600;
}
.dt-drop-menu a:hover { background: var(--bg-soft); color: var(--accent-ink); }
.dt-auth { display: flex; align-items: center; gap: 10px; }
.dt-mobile-pricing {
  display: none; font-size: 0.86rem; font-weight: 700; color: var(--accent-ink);
  padding: 7px 11px; border-radius: 999px; background: var(--bg-soft); white-space: nowrap;
}
.dt-pill {
  background: var(--bg-soft); color: var(--accent-ink);
  padding: 6px 12px; border-radius: 999px; font-size: 0.84rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}

/* Buttons */
.dt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.94rem;
  white-space: nowrap;
  cursor: pointer; transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.dt-btn:hover { transform: translateY(-1px); }
.dt-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.dt-btn-primary { background: var(--accent); color: var(--surface); box-shadow: var(--shadow-accent); }
.dt-btn-primary:hover { background: var(--accent-hover); }
.dt-btn-dark { background: var(--ink); color: var(--surface); }
.dt-btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); padding: 8px 16px; font-size: 0.88rem; }
.dt-btn-lg { padding: 15px 32px; font-size: 1.02rem; border-radius: 16px; }
.dt-btn-full { width: 100%; }
.dt-nav-cta { padding: 9px 18px; font-size: 0.86rem; box-shadow: none; }

/* Hero (Template A — SonglyGift Airy Coral Minimalist) */
.dt-hero-wrap {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 55%, var(--bg) 100%);
  padding: 52px 0 64px;
}
.dt-hero-center { text-align: center; max-width: 740px; margin: 0 auto 40px; }
.dt-eyebrow {
  display: inline-block; background: var(--bg-soft); color: var(--accent-ink);
  padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px;
}
.dt-hero-center h1 {
  font-family: var(--font-serif); font-size: clamp(2.25rem, 4.8vw, 3.45rem);
  line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.025em; font-weight: 600;
}
.dt-hero-center h1 em {
  font-style: italic; color: var(--accent); font-weight: 600;
}
.dt-lead { font-size: 1.12rem; color: var(--muted); max-width: 600px; margin: 0 auto 26px; line-height: 1.6; }
.dt-hero-cta-row { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.dt-hero-price-btn {
  padding: 15px 22px; font-size: 0.96rem; border-radius: 16px;
  background: var(--surface); border-color: var(--border);
}
.dt-hero-price-btn:hover { border-color: var(--accent); color: var(--accent); }
.dt-micro { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.dt-micro strong { color: var(--ink); }

/* Visual Stage: Real Editorial Photo MV + Borderless Elevated Builder */
.dt-stage-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 28px; align-items: start;
}
.dt-stage-grid > * { min-width: 0; max-width: 100%; }
.dt-stage-grid.is-preview-mode {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.dt-stage-grid.is-preview-mode .dt-mv-hero-card {
  display: none;
}
.dt-stage-grid.is-preview-mode .dt-builder {
  padding: 18px;
}
.dt-stage-grid.is-preview-mode .dt-saved-bar {
  margin-top: 0;
}
.dt-stage-grid.is-preview-mode .dt-preview-card {
  margin-top: 14px;
}
.dt-mv-hero-card {
  position: sticky; top: 88px;
  border-radius: 26px; overflow: hidden; height: 460px;
  box-shadow: var(--shadow); background: var(--ink);
}
.dt-mv-hero-img { width: 100%; height: 100%; object-fit: cover; }
.dt-mv-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: var(--ink); }
.dt-mv-inline-play {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--surface); border: none; border-radius: 999px;
  padding: 6px 14px; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: background 0.14s ease, transform 0.14s ease;
}
.dt-mv-inline-play:hover { background: var(--accent-hover); transform: translateY(-1px); }
.dt-mv-top-badge {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(28, 25, 23, 0.78); backdrop-filter: blur(10px);
  color: var(--surface); font-size: 0.78rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
}
.dt-dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dt-mv-glass-overlay {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(28, 25, 23, 0.76); backdrop-filter: blur(14px);
  border-radius: 20px; padding: 18px 20px; color: var(--surface);
}
.dt-mv-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dt-mv-chip { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bg-soft); }
.dt-mv-wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.dt-mv-wave span { width: 3px; border-radius: 99px; background: var(--bg-soft); animation: dtWave 1.1s ease-in-out infinite; }
.dt-mv-wave span:nth-child(1) { height: 6px; }
.dt-mv-wave span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.dt-mv-wave span:nth-child(3) { height: 14px; animation-delay: 0.3s; }
.dt-mv-wave span:nth-child(4) { height: 9px; animation-delay: 0.45s; }
@keyframes dtWave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1.15); } }
.dt-mv-lyric-active {
  font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.38; font-weight: 600; color: var(--surface);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.98rem;
}
.dt-mv-lyric-next {
  font-size: 0.84rem; color: var(--bg-soft); opacity: 0.85; margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dt-mv-progress { height: 4px; background: rgba(255, 255, 255, 0.22); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.dt-mv-progress span { display: block; height: 100%; background: var(--accent); transition: width 0.35s linear; }

/* Elevated White Builder */
.dt-builder {
  background: var(--surface); border-radius: 26px; padding: 30px;
  box-shadow: var(--shadow); scroll-margin-top: 86px;
  display: flex; flex-direction: column; justify-content: center;
}
.dt-builder-head { margin-bottom: 18px; }
.dt-builder-title { font-family: var(--font-serif); font-size: 1.38rem; font-weight: 700; margin-bottom: 12px; }
.dt-steps-bar { display: flex; gap: 8px; }
.dt-step-dot { flex: 1; height: 4px; border-radius: 999px; background: var(--border); transition: background 0.2s; }
.dt-step-dot.active { background: var(--accent); }
.dt-field { margin-bottom: 15px; }
.dt-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.dt-input, .dt-select, .dt-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 14px;
  padding: 12px 14px; font-family: var(--font-sans); font-size: 0.95rem;
  background: var(--bg-warm); color: var(--ink); transition: border-color 0.15s, background 0.15s;
}
.dt-input:focus, .dt-select:focus, .dt-textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.dt-textarea { min-height: 92px; resize: vertical; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.dt-chip {
  background: var(--bg-soft); border: none; color: var(--accent-ink);
  border-radius: 999px; padding: 5px 11px; font-size: 0.79rem; font-weight: 600; cursor: pointer;
}
.dt-chip:hover { background: var(--border); }
.dt-chip.is-used { background: var(--success-soft); color: var(--success); }
.dt-rel-pills {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px;
}
.dt-occ-pills {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px;
}
.dt-ico-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.dt-ico {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent);
  transition: transform 0.14s ease, color 0.14s ease;
}
.dt-occ-pill.is-selected .dt-ico, .dt-choice-pill.is-selected .dt-ico {
  color: var(--accent-ink);
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .dt-ico { transition: none; }
}
.dt-occ-pill, .dt-choice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  appearance: none;
  border: 1.5px solid var(--border);
  background: var(--bg-warm);
  color: var(--ink);
  border-radius: 13px;
  padding: 9px 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, transform 0.12s ease;
}
.dt-occ-pill:hover, .dt-choice-pill:hover {
  border-color: var(--accent);
  background: var(--bg-soft);
}
.dt-occ-pill.is-selected, .dt-choice-pill.is-selected {
  border-color: var(--accent);
  background: var(--bg-soft);
  color: var(--accent-hover);
  box-shadow: 0 0 0 1px var(--accent);
}
.dt-choice-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.dt-choice-grid.dt-choice-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dt-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dt-status { font-size: 0.88rem; color: var(--muted); margin: 12px 0 0; min-height: 1.2em; }
.dt-status:empty { display: none; }
.dt-status.is-loading, .dt-unlock-status.is-loading, .dt-pricing-status.is-loading {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600;
}
.dt-status.is-loading::before, .dt-unlock-status.is-loading::before, .dt-pricing-status.is-loading::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid rgba(198, 58, 47, 0.25); border-top-color: var(--accent);
  animation: dt-spin 0.8s linear infinite;
}
@keyframes dt-spin { to { transform: rotate(360deg); } }

/* Studio Crafting Progress Screen */
.dt-crafting-stage {
  background: linear-gradient(160deg, var(--studio-1) 0%, var(--studio-2) 100%);
  color: var(--studio-ink); border-radius: 22px; padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 86px;
}
.dt-craft-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px;
}
.dt-craft-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217, 107, 82, 0.22); color: var(--bg-soft);
  border: 1px solid rgba(217, 107, 82, 0.45);
  border-radius: 999px; padding: 5px 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
}
.dt-craft-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light);
  box-shadow: 0 0 0 0 rgba(240, 149, 121, 0.7); animation: dt-pulse 1.6s infinite;
}
@keyframes dt-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 149, 121, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(240, 149, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 149, 121, 0); }
}
.dt-craft-timer {
  font-variant-numeric: tabular-nums; font-size: 0.88rem; font-weight: 700;
  color: var(--bg-soft); background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px; border-radius: 999px;
}
.dt-craft-wave {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; margin: 4px 0 14px;
}
.dt-craft-wave span {
  width: 5px; height: 14px; border-radius: 99px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  animation: dt-eq 1.1s ease-in-out infinite;
}
.dt-craft-wave span:nth-child(2) { animation-delay: 0.12s; height: 24px; }
.dt-craft-wave span:nth-child(3) { animation-delay: 0.24s; height: 32px; }
.dt-craft-wave span:nth-child(4) { animation-delay: 0.36s; height: 20px; }
.dt-craft-wave span:nth-child(5) { animation-delay: 0.48s; height: 30px; }
.dt-craft-wave span:nth-child(6) { animation-delay: 0.6s; height: 22px; }
.dt-craft-wave span:nth-child(7) { animation-delay: 0.72s; height: 14px; }
@keyframes dt-eq {
  0%, 100% { transform: scaleY(0.45); opacity: 0.72; }
  50% { transform: scaleY(1.1); opacity: 1; }
}
.dt-craft-title {
  font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2;
  text-align: center; margin: 0 0 6px; color: var(--surface);
}
.dt-craft-meta {
  text-align: center; font-size: 0.84rem; color: var(--studio-muted); margin: 0 0 18px;
}
.dt-craft-progress {
  height: 7px; background: rgba(255, 255, 255, 0.12); border-radius: 999px;
  overflow: hidden; margin-bottom: 18px;
}
.dt-craft-bar {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transition: width 0.85s ease;
}
.dt-craft-steps { display: flex; flex-direction: column; gap: 10px; }
.dt-craft-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 13px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.56; transition: opacity 0.25s, background 0.25s, border-color 0.25s;
}
.dt-craft-step.is-active {
  opacity: 1; background: rgba(255, 255, 255, 0.1); border-color: rgba(240, 149, 121, 0.55);
}
.dt-craft-step.is-done {
  opacity: 0.92; background: rgba(27, 122, 74, 0.16); border-color: rgba(74, 222, 128, 0.35);
}
.dt-cstep-icon {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.12); color: var(--surface); margin-top: 1px;
}
.dt-craft-step.is-active .dt-cstep-icon { background: var(--accent); }
.dt-craft-step.is-done .dt-cstep-icon { background: var(--success); }
.dt-cstep-copy strong { display: block; font-size: 0.88rem; color: var(--surface); line-height: 1.3; }
.dt-cstep-copy span { display: block; font-size: 0.78rem; color: var(--studio-muted); margin-top: 2px; }
.dt-craft-note {
  text-align: center; font-size: 0.78rem; color: var(--studio-muted); margin: 16px 0 0;
}

/* Saved Recent Songs Switcher & Paid Return Banner */
.dt-saved-bar {
  margin-top: 14px; padding: 10px 12px; border-radius: 14px;
  background: var(--bg-warm); border: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.dt-saved-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.dt-saved-pill {
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 5px 11px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.dt-saved-pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.dt-paid-banner {
  background: var(--success); color: var(--surface); border-radius: 12px;
  padding: 10px 14px; font-size: 0.86rem; font-weight: 700; margin: 10px 0 12px;
}

/* Playable 45s Preview + Unlock Pricing Inside Builder */
.dt-preview-card {
  margin-top: 20px; background: var(--ink); color: var(--surface);
  border-radius: 22px; padding: 24px; scroll-margin-top: 86px;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.dt-preview-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.dt-preview-badge {
  display: inline-block; background: var(--accent); color: var(--surface);
  font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.dt-preview-badge.is-unlocked { background: var(--success); }
.dt-new-song-btn {
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--studio-ink); border-radius: 999px; padding: 5px 12px; font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
}
.dt-new-song-btn:hover { background: rgba(255, 255, 255, 0.2); }
.dt-preview-title { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 8px; text-align: left; }
.dt-lyric-stage {
  background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 16px; min-height: 82px;
  margin: 12px 0; font-family: var(--font-serif); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.dt-audio { width: 100%; margin: 10px 0 16px; }
.dt-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dt-pricing-grid.is-single-plan { grid-template-columns: 1fr; max-width: 440px; margin: 16px auto 0; }
.dt-plan {
  background: var(--surface); color: var(--ink); border-radius: 18px; padding: 20px; position: relative;
}
.dt-plan.popular { box-shadow: 0 0 0 2px var(--accent); }
.dt-popular-tag {
  position: absolute; top: -11px; right: 14px; background: var(--accent); color: var(--surface);
  font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.dt-price-line { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; }
.dt-price { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; }
.dt-price-old { text-decoration: line-through; color: var(--muted); font-size: 0.92rem; }
.dt-plan ul { list-style: none; padding: 0; margin: 10px 0 16px; font-size: 0.88rem; color: var(--muted); }
.dt-plan li { margin-bottom: 7px; padding-left: 18px; position: relative; }
.dt-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.dt-upload-box {
  display: block; border: 2px dashed var(--accent); border-radius: 16px;
  padding: 20px 14px; text-align: center; background: var(--bg-warm); margin: 12px 0; cursor: pointer;
  transition: background 0.15s ease;
}
.dt-upload-box:hover { background: var(--bg-soft); }
.dt-upload-box strong { display: block; font-size: 0.94rem; color: var(--accent); margin-bottom: 3px; }
.dt-upload-box span { font-size: 0.8rem; }
.dt-mv-studio {
  margin-top: 16px; background: var(--surface); color: var(--ink);
  border-radius: 18px; padding: 20px; box-shadow: 0 0 0 2px var(--accent);
  scroll-margin-top: 86px;
}
.dt-mv-studio-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dt-mv-studio-eyebrow {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: 4px;
}
.dt-mv-studio h3 { font-family: var(--font-serif); font-size: 1.24rem; margin: 0; color: var(--ink); }
.dt-mv-count {
  flex: none; background: var(--bg-soft); color: var(--accent-ink);
  font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.dt-mv-studio-sub { font-size: 0.84rem; color: var(--muted); margin: 8px 0 4px; }
.dt-photo-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.dt-photo-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--bg-warm); }
.dt-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dt-photo-remove {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(44, 37, 35, 0.78); color: var(--surface); font-size: 0.85rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.dt-mv-studio-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; align-items: center; }
.dt-link-subtle {
  background: none; border: none; color: var(--muted); font-family: var(--font-sans);
  font-size: 0.8rem; text-decoration: underline; cursor: pointer; padding: 4px;
}
.dt-link-subtle:hover { color: var(--ink); }
.dt-unlock-status { font-size: 0.86rem; color: var(--bg-soft); margin: 12px 0 0; }
.dt-lyrics-sheet {
  margin: 4px 0 16px;
  background: rgba(255, 250, 246, 0.08);
  border: 1px solid rgba(255, 250, 246, 0.16);
  border-radius: 16px;
  overflow: hidden;
}
.dt-lyrics-sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; cursor: pointer; font-weight: 700; font-size: 0.9rem;
  color: var(--studio-ink); list-style: none;
}
.dt-lyrics-sheet-head::-webkit-details-marker { display: none; }
.dt-lyrics-sheet-hint { font-size: 0.76rem; font-weight: 600; color: var(--studio-muted); }
.dt-lyrics-sheet-body {
  margin: 0; padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 250, 246, 0.12);
  font-family: var(--font-serif); font-size: 0.96rem; line-height: 1.65;
  color: var(--studio-ink); white-space: pre-wrap; word-break: break-word;
  max-height: 280px; overflow-y: auto; text-align: left;
}
.dt-delivery-box {
  background: var(--surface); color: var(--ink); border-radius: 16px;
  padding: 18px; margin-top: 14px; min-width: 0; max-width: 100%;
}
.dt-delivery-box h3 { font-family: var(--font-serif); margin: 0 0 12px; font-size: 1.2rem; }
.dt-delivery-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dt-delivery-actions .dt-btn {
  white-space: normal; text-align: center; line-height: 1.3; max-width: 100%;
}
.dt-delivery-gift-link {
  margin: 14px 0 0; font-size: 0.9rem; overflow-wrap: anywhere; word-break: break-word;
}
.dt-delivery-gift-link a { text-decoration: underline; font-weight: 600; color: var(--accent-ink); }

/* 3 Real-Photo Sample Cards Strip */
.dt-samples-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.dt-sample-card {
  border: 2px solid transparent; background: var(--surface); border-radius: 20px; overflow: hidden;
  padding: 0; text-align: left; cursor: pointer; font-family: var(--font-sans); color: var(--ink);
  box-shadow: var(--shadow); transition: transform 0.16s ease, border-color 0.16s ease;
}
.dt-sample-card:hover { transform: translateY(-2px); }
.dt-sample-card.is-active { border-color: var(--accent); }
.dt-sample-card img { width: 100%; height: 136px; object-fit: cover; }
.dt-sample-info { padding: 14px 16px; }
.dt-sample-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.dt-sample-info strong { font-family: var(--font-serif); font-size: 1.05rem; }
.dt-sample-info > span { font-size: 0.82rem; color: var(--muted); }
.dt-play-chip {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0;
}
.dt-play-chip svg { display: block; }

/* Warm Keepsake Moments Strip */
.dt-moments-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.dt-moment-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.dt-moment-tag {
  display: inline-block; align-self: flex-start;
  background: var(--bg-soft); color: var(--accent-ink);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
}
.dt-moment-card blockquote {
  margin: 0; font-family: var(--font-serif); font-style: italic;
  font-size: 1.08rem; line-height: 1.48; color: var(--ink);
}
.dt-moment-card p { margin: 0; font-size: 0.88rem; }

/* Sections */
.dt-section { padding: 68px 0; }
.dt-section-warm { background: var(--bg-warm); }
.dt-section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.dt-section h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.dt-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dt-step-card, .dt-card {
  background: var(--surface); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.dt-step-num {
  display: inline-block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--accent); margin-bottom: 8px;
}
.dt-step-card h3, .dt-card h3 { font-family: var(--font-serif); font-size: 1.22rem; margin: 0 0 8px; }
.dt-card-featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }

/* Always-Visible Public Pricing Section */
.dt-public-pricing {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  max-width: 860px; margin: 0 auto; align-items: stretch;
}
.dt-pub-plan {
  position: relative; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.dt-pub-plan.is-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  box-shadow: 0 20px 50px rgba(217, 107, 82, 0.14);
}
.dt-pub-head h3 { font-family: var(--font-serif); font-size: 1.38rem; margin: 0 0 4px; color: var(--ink); }
.dt-pub-sub { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.dt-pub-price-row { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 16px; }
.dt-pub-price { font-family: var(--font-serif); font-size: 2.35rem; font-weight: 700; color: var(--ink); line-height: 1; }
.dt-pub-plan.is-popular .dt-pub-price { color: var(--accent); }
.dt-pub-old { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.dt-pub-list {
  list-style: none; padding: 0; margin: 0 0 24px; flex: 1;
  display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; color: var(--ink);
}
.dt-pub-list li { position: relative; padding-left: 22px; }
.dt-pub-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 700;
}
.dt-pricing-status {
  text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--accent);
  min-height: 1.4em; margin: 16px 0 0;
}
.dt-pricing-trust {
  text-align: center; font-size: 0.86rem; color: var(--muted); margin: 8px 0 0;
}
.dt-pricing-trust a { color: var(--accent); font-weight: 700; text-decoration: underline; }

/* Occasions Photo Cards */
.dt-occasions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dt-occ-card {
  display: grid; grid-template-columns: 160px 1fr; overflow: hidden;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.16s ease;
}
.dt-occ-card:hover { transform: translateY(-2px); }
.dt-occ-card img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.dt-occ-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.dt-occ-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); }
.dt-occ-body h3 { font-family: var(--font-serif); font-size: 1.2rem; margin: 0; }
.dt-occ-body p { font-size: 0.88rem; margin: 0; }
.dt-occ-link { font-size: 0.88rem; font-weight: 700; color: var(--accent); margin-top: auto; padding-top: 8px; }

/* Prose & Comparison Table */
.dt-prose { max-width: 840px; }
.dt-prose h2 { text-align: left; font-size: 1.65rem; margin: 32px 0 12px; }
.dt-prose h2:first-child { margin-top: 0; }
.dt-prose a { color: var(--accent); text-decoration: underline; }
.dt-prose table {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.92rem;
  background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.dt-prose th, .dt-prose td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.dt-prose th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }

/* FAQ & Final CTA */
.dt-faq { max-width: 780px; margin: 0 auto; }
.dt-faq details {
  background: var(--surface); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.dt-faq summary { font-weight: 700; cursor: pointer; }
.dt-faq p { margin: 10px 0 0; }

.dt-cta-banner {
  background: var(--ink); color: var(--surface); border-radius: 28px;
  padding: 48px 28px; text-align: center; box-shadow: var(--shadow);
}
.dt-cta-banner h2 { color: var(--surface); margin-bottom: 12px; }
.dt-cta-banner p { color: var(--bg-soft); max-width: 560px; margin: 0 auto 24px; }

/* Unified /gift Delivery Studio & /my-songs Account Library */
.dt-page-wrap { padding: 34px 0 64px; min-height: 70vh; }
.dt-mysongs-pill { background: var(--surface); border: 1.5px solid var(--border); color: var(--ink); }
.dt-mysongs-pill:hover { border-color: var(--accent); color: var(--accent-ink); }
.dt-gift-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.dt-gift-hero-panel { margin-top: 0; }
.dt-gift-main-title {
  font-family: var(--font-serif); font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  line-height: 1.15; margin: 6px 0 4px; color: var(--surface); text-align: left;
}
.dt-gift-subline { margin: 0 0 16px; font-size: 0.92rem; color: var(--studio-muted); }
.dt-gift-video-wrap {
  margin: 0 0 18px; padding: 14px; border-radius: 18px;
  background: rgba(255, 250, 246, 0.06); border: 1px solid rgba(255, 250, 246, 0.14);
}
.dt-video-aspect-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.dt-aspect-tab {
  appearance: none; border: 1px solid rgba(255, 250, 246, 0.25);
  background: rgba(255, 250, 246, 0.08); color: var(--studio-ink);
  border-radius: 999px; padding: 6px 14px; font-family: var(--font-sans);
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.dt-aspect-tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.dt-gift-video-player {
  width: 100%; max-height: 540px; border-radius: 14px; display: block;
  margin: 0 auto; background: var(--studio-1);
}
.dt-gift-media-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: start;
}
.dt-gift-audio-col, .dt-gift-poster-col { min-width: 0; max-width: 100%; }
.dt-poster-frame {
  background: rgba(255, 250, 246, 0.08); border: 1px solid rgba(255, 250, 246, 0.16);
  border-radius: 16px; padding: 12px; text-align: center;
}
.dt-poster-img {
  width: 100%; max-width: 280px; margin: 0 auto; border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.dt-poster-caption {
  margin: 10px 0 2px; font-size: 0.78rem; line-height: 1.45; color: var(--studio-muted);
}

.dt-mysongs-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.dt-mysongs-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0; line-height: 1.12;
}
.dt-mysongs-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.dt-mysong-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 20px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  min-width: 0;
}
.dt-mysong-cover {
  position: relative; width: 92px; height: 92px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(145deg, var(--studio-1) 0%, var(--studio-2) 60%, var(--accent-hover) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(44, 37, 35, 0.18); flex: none;
}
.dt-mysong-cover::before {
  content: ''; position: absolute; width: 66px; height: 66px; border-radius: 50%;
  border: 1.5px solid rgba(255, 250, 246, 0.22);
  box-shadow: inset 0 0 0 10px rgba(255, 250, 246, 0.05), inset 0 0 0 20px rgba(255, 250, 246, 0.04);
}
.dt-mysong-cover-label {
  position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--surface);
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.dt-mysong-cover.is-mv .dt-mysong-cover-label {
  background: var(--surface); color: var(--accent);
}
.dt-mysong-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dt-mysong-status {
  display: inline-block; align-self: flex-start; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--accent-ink);
}
.dt-mysong-status.is-unlocked { background: var(--success-soft); color: var(--success); }
.dt-mysong-body h3 {
  font-family: var(--font-serif); font-size: 1.22rem; margin: 0; line-height: 1.25;
}
.dt-mysong-meta { margin: 0; font-size: 0.84rem; color: var(--muted); }
.dt-mysong-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dt-mysong-actions .dt-btn { padding: 9px 15px; font-size: 0.84rem; }

/* Account Dropdown Menu */
.dt-account-wrap { position: relative; }
.dt-account-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: border-color 0.14s ease, background 0.14s ease;
}
.dt-account-trigger:hover, .dt-account-wrap.is-open .dt-account-trigger {
  border-color: var(--accent); background: var(--bg-soft);
}
.dt-account-avatar, .dt-account-fallback {
  width: 26px; height: 26px; border-radius: 50%; flex: none; object-fit: cover;
}
.dt-account-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--surface); font-size: 0.78rem; font-weight: 700;
}
.dt-account-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: none;
}
.dt-account-caret { font-size: 0.75rem; color: var(--muted); }
.dt-account-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 244px; max-width: calc(100vw - 24px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 8px; box-shadow: var(--shadow); z-index: 80;
  display: flex; flex-direction: column; gap: 2px;
}
.dt-account-info {
  padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px;
}
.dt-account-info strong {
  display: block; font-size: 0.9rem; color: var(--ink); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dt-account-info span {
  display: block; font-size: 0.76rem; color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dt-account-pass {
  margin: 4px 6px 6px; padding: 7px 10px; border-radius: 10px;
  background: var(--success-soft); color: var(--success);
  font-size: 0.78rem; font-weight: 700; text-align: center;
}
.dt-account-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 10px; border-radius: 10px; border: none; background: transparent;
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer;
}
.dt-account-item:hover { background: var(--bg-soft); color: var(--accent-ink); }
.dt-account-sep { height: 1px; background: var(--border); margin: 4px 6px; }
.dt-account-logout { color: var(--muted); }

/* Footer */
.dt-footer { background: var(--bg-warm); border-top: 1px solid var(--border); padding: 52px 0 28px; }
.dt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.9fr; gap: 32px; }
.dt-footer-title { font-size: 0.92rem; font-weight: 700; margin: 0 0 12px; }
.dt-footer ul { list-style: none; padding: 0; margin: 0; }
.dt-footer li { margin-bottom: 8px; font-size: 0.9rem; color: var(--muted); }
.dt-footer a:hover { color: var(--accent); }
.dt-support-line { font-size: 0.9rem; margin-top: 10px; }
.dt-support-line a { text-decoration: underline; }
.dt-footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.84rem; color: var(--muted); }

@media (max-width: 860px) {
  .dt-links, .dt-nav-cta, .dt-desktop-pass { display: none; }
  .dt-mobile-pricing { display: inline-flex; align-items: center; }
  .dt-stage-grid, .dt-samples-strip, .dt-pricing-grid, .dt-public-pricing, .dt-cards-3, .dt-moments-grid, .dt-occasions-grid, .dt-footer-grid, .dt-row-2, .dt-gift-media-grid, .dt-mysongs-grid {
    grid-template-columns: 1fr;
  }
  .dt-occ-card { grid-template-columns: 1fr; }
  .dt-occ-card img { height: 180px; }
  .dt-hero-wrap { padding: 28px 0 40px; }
  .dt-mv-hero-card { position: relative; top: auto; height: 320px; }
  .dt-hero-cta-row .dt-btn { width: 100%; max-width: 340px; }
}
@media (max-width: 480px) {
  .dt-container { padding: 0 14px; }
  .dt-nav { gap: 6px; height: 60px; }
  .dt-brand { font-size: 1.06rem; gap: 5px; }
  .dt-brand-mark { width: 25px; height: 25px; }
  .dt-auth { gap: 5px; }
  .dt-pill { padding: 5px 8px; font-size: 0.74rem; }
  .dt-btn-ghost { padding: 5px 9px; font-size: 0.75rem; }
  .dt-mobile-pricing { padding: 5px 8px; font-size: 0.75rem; }
  .dt-hero-center { margin-bottom: 22px; }
  .dt-rel-pills, .dt-occ-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-choice-grid.dt-choice-3 { grid-template-columns: 1fr; }
  .dt-stage-grid.is-preview-mode .dt-builder { padding: 14px; }
  .dt-preview-card { padding: 16px 14px; }
  .dt-delivery-box { padding: 16px 14px; }
  .dt-delivery-actions .dt-btn { width: 100%; padding: 12px 14px; font-size: 0.88rem; }
}
