/* ============================================================================
   Alongside+ International Media Network - Coded Music Video Maker
   Luminous Pure-White / Pale-Sky-Blue / Royal-Blue / Honey-Gold Studio Styling
   Self-hosted Cormorant + Figtree fonts (SIL OFL 1.1)
   ============================================================================ */

.mvm-studio-section {
  position: relative;
  margin: 28px auto 160px;
  padding: 34px 32px 36px;
  max-width: 1320px;
  border-radius: 26px;
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(191, 219, 254, 0.45), transparent 62%),
    radial-gradient(760px 380px at 94% 8%, rgba(253, 230, 138, 0.34), transparent 58%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F9FF 55%, #FFFFFF 100%);
  border: 1.5px solid #CFE2FA;
  box-shadow:
    0 22px 54px rgba(15, 36, 74, 0.08),
    0 4px 16px rgba(30, 58, 138, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: #0F2347;
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  scroll-margin-top: 84px;
  overflow: hidden;
  box-sizing: border-box;
}

.mvm-studio-section *,
.mvm-studio-section *::before,
.mvm-studio-section *::after {
  box-sizing: border-box;
}

/* Hero Strip */
.mvm-hero {
  text-align: left;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #DCEBFE;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvm-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.mvm-gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFF5CC 0%, #F7D774 52%, #E5B443 100%);
  border: 1px solid #D99B26;
  color: #102447;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(217, 155, 38, 0.22);
}

.mvm-gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1D4ED8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.22);
}

.mvm-social-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E3A8A;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mvm-social-back-link:hover {
  background: #DBEAFE;
  border-color: #93C5FD;
  transform: translateY(-1px);
}

.mvm-hero-title {
  margin: 2px 0 0;
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  color: #0B1F44;
  letter-spacing: -0.01em;
}

.mvm-hero-sub {
  margin: 0;
  max-width: 860px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #2B4570;
}

/* 2-Column Studio Workbench */
.mvm-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.mvm-controls-col {
  background: #FFFFFF;
  border: 1.5px solid #D7E7FC;
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 28px rgba(15, 36, 74, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mvm-field-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mvm-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.mvm-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #10264D;
}

.mvm-hint {
  font-size: 12px;
  color: #55709C;
  font-weight: 500;
}

/* Dropzone + Sample Button */
.mvm-dropzone {
  position: relative;
  border: 2px dashed #93C5FD;
  border-radius: 16px;
  background: linear-gradient(180deg, #F5FAFF 0%, #EBF4FF 100%);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mvm-dropzone:hover,
.mvm-dropzone.is-dragover {
  border-color: #1D4ED8;
  background: #E4F0FF;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10);
}

.mvm-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.mvm-dropzone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  color: #FFFFFF;
  margin-bottom: 8px;
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.22);
}

.mvm-dropzone-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F2347;
}

.mvm-dropzone-sub {
  font-size: 12.5px;
  color: #4B6794;
  margin-top: 3px;
}

.mvm-audio-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.mvm-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid #D99B26;
  background: linear-gradient(135deg, #FFF9E4 0%, #FDE8A7 100%);
  color: #102447;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mvm-sample-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 155, 38, 0.26);
  background: linear-gradient(135deg, #FFF3C4 0%, #F9D976 100%);
}

.mvm-selected-file {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  font-size: 13px;
  color: #102447;
}

.mvm-selected-file.is-visible {
  display: flex;
}

.mvm-selected-file-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mvm-selected-file-name {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mvm-selected-file-clear {
  appearance: none;
  border: none;
  background: #DBEAFE;
  color: #1E3A8A;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

/* Inputs Grid */
.mvm-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mvm-input,
.mvm-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #C8DDF8;
  background: #FBFDFF;
  color: #0F2347;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 14px;
  padding: 10px 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mvm-input:focus,
.mvm-textarea:focus {
  outline: none;
  border-color: #1D4ED8;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(29, 78, 216, 0.14);
}

.mvm-textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

/* 5 Visual Theme Sequence Presets */
.mvm-theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.mvm-theme-card {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 13px;
  border: 2px solid #D7E7FC;
  background: #FFFFFF;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mvm-theme-card:hover {
  transform: translateY(-2px);
  border-color: #60A5FA;
}

.mvm-theme-card.is-active {
  border-color: #D99B26;
  box-shadow: 0 0 0 3px rgba(217, 155, 38, 0.25), 0 8px 18px rgba(15, 36, 74, 0.12);
}

.mvm-theme-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #E2EEFF;
}

.mvm-theme-name {
  padding: 7px 7px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: #0F2347;
  background: #FFFFFF;
}

.mvm-theme-card.is-active .mvm-theme-name {
  background: #FFF9E4;
  color: #0B1F44;
}

/* Network Checkbox */
.mvm-network-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFBEB 100%);
  border: 1.5px solid #BFDBFE;
  cursor: pointer;
}

.mvm-network-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1D4ED8;
  flex-shrink: 0;
  cursor: pointer;
}

.mvm-network-check-text {
  font-size: 13.5px;
  line-height: 1.45;
  color: #0F2347;
  font-weight: 600;
}

/* Action Buttons */
.mvm-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.mvm-btn-submit {
  flex: 1 1 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1.5px solid #C68B1B;
  background: linear-gradient(135deg, #FCE396 0%, #E7B243 55%, #D49622 100%);
  color: #0B1F44;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(212, 150, 34, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mvm-btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(212, 150, 34, 0.35);
}

.mvm-btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.mvm-btn-download {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 17px;
  border-radius: 14px;
  border: 1.5px solid #1E40AF;
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mvm-btn-download:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.30);
}

.mvm-btn-download:disabled {
  opacity: 0.65;
  cursor: wait;
}

.mvm-form-error {
  display: none;
  padding: 11px 14px;
  border-radius: 12px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  font-size: 13.5px;
  font-weight: 600;
}

.mvm-form-error.is-visible {
  display: block;
}

/* Right Column: Live 16:9 Animated Coded Music Video Stage */
.mvm-stage-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}

.mvm-stage-shell {
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid #C8DDF8;
  box-shadow:
    0 20px 44px rgba(15, 36, 74, 0.12),
    0 4px 12px rgba(30, 58, 138, 0.06);
}

.mvm-stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F2347;
  overflow: hidden;
  user-select: none;
}

.mvm-frame-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
  will-change: transform, opacity;
}

.mvm-frame-layer.is-visible {
  opacity: 1;
}

.mvm-frame-layer.kb-zoom-in { animation: mvmKbZoomIn 14s ease-in-out infinite alternate; }
.mvm-frame-layer.kb-pan-right { animation: mvmKbPanRight 16s ease-in-out infinite alternate; }
.mvm-frame-layer.kb-zoom-out { animation: mvmKbZoomOut 15s ease-in-out infinite alternate; }
.mvm-frame-layer.kb-pan-left { animation: mvmKbPanLeft 16s ease-in-out infinite alternate; }

@keyframes mvmKbZoomIn {
  0% { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}
@keyframes mvmKbPanRight {
  0% { transform: scale(1.10) translate(-2.5%, 0); }
  100% { transform: scale(1.10) translate(2.5%, -1%); }
}
@keyframes mvmKbZoomOut {
  0% { transform: scale(1.13) translate(1%, 0); }
  100% { transform: scale(1.02) translate(-1%, 0.5%); }
}
@keyframes mvmKbPanLeft {
  0% { transform: scale(1.10) translate(2.5%, 0); }
  100% { transform: scale(1.10) translate(-2.5%, 1%); }
}

.mvm-stage-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 245, 204, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(11, 31, 68, 0.44) 0%, rgba(11, 31, 68, 0.14) 38%, rgba(11, 31, 68, 0.66) 100%);
  pointer-events: none;
}

/* Floating Golden Light Motes */
.mvm-motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.mvm-mote {
  position: absolute;
  bottom: -14px;
  left: var(--x, 50%);
  width: var(--sz, 6px);
  height: var(--sz, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, #FFF8DC 0%, #F5C85B 60%, rgba(245, 200, 91, 0) 100%);
  box-shadow: 0 0 10px rgba(250, 214, 118, 0.85);
  opacity: 0;
  animation: mvmMoteRise var(--dur, 10s) linear var(--del, 0s) infinite;
}

@keyframes mvmMoteRise {
  0% { transform: translate(0, 0) scale(0.7); opacity: 0; }
  15% { opacity: 0.9; }
  80% { opacity: 0.72; }
  100% { transform: translate(var(--drift, 16px), -340px) scale(1.15); opacity: 0; }
}

/* Stage Top HUD */
.mvm-stage-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
}

.mvm-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 155, 38, 0.65);
  color: #0F2347;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(11, 31, 68, 0.22);
}

.mvm-hud-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D99B26;
}

.mvm-stage-viewport.is-playing .mvm-hud-pulse {
  background: #16A34A;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.28);
}

.mvm-hud-track {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 68, 0.76);
  border: 1px solid rgba(255, 240, 186, 0.42);
  color: #FFF7DC;
  font-size: 11.5px;
  font-weight: 700;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

/* Synced Lyric / Story Card Overlay */
.mvm-lyric-wrap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 52px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.mvm-lyric-card {
  max-width: 92%;
  padding: 13px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.90);
  border: 1.5px solid rgba(217, 155, 38, 0.72);
  box-shadow: 0 14px 32px rgba(11, 31, 68, 0.28);
  backdrop-filter: blur(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mvm-lyric-card.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}

.mvm-lyric-line {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 700;
  line-height: 1.18;
  color: #0B1F44;
}

.mvm-lyric-sub {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1E40AF;
}

/* Live Equalizer Bars at Bottom of Stage */
.mvm-eq-bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.mvm-eq-bar span {
  width: 6px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFF5CC 0%, #F4C553 55%, #D99B26 100%);
  box-shadow: 0 0 8px rgba(244, 197, 83, 0.55);
  transition: height 0.09s ease;
}

.mvm-stage-viewport.is-playing .mvm-eq-bar.is-css-fallback span {
  animation: mvmEqBounce var(--eq-dur, 0.65s) ease-in-out var(--eq-del, 0s) infinite alternate;
}

@keyframes mvmEqBounce {
  0% { height: 5px; }
  100% { height: var(--eq-max, 24px); }
}

/* Center Big Play Overlay when paused */
.mvm-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  z-index: 4;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #FFF5CC;
  background: linear-gradient(135deg, rgba(252, 227, 150, 0.96), rgba(217, 155, 38, 0.96));
  color: #0B1F44;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(11, 31, 68, 0.42);
  transition: transform 0.2s ease, opacity 0.25s ease;
}

.mvm-center-play:hover {
  transform: translate(-50%, -62%) scale(1.07);
}

.mvm-stage-viewport.is-playing .mvm-center-play {
  opacity: 0;
  pointer-events: none;
}

.mvm-center-play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 3px;
}

/* Transport Controls Strip */
.mvm-transport {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: linear-gradient(180deg, #F8FBFF 0%, #EEF6FF 100%);
  border-top: 1px solid #D7E7FC;
}

.mvm-ctl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
  color: #1E3A8A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mvm-ctl-btn.is-primary {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%);
  border-color: #1E3A8A;
  color: #FFFFFF;
}

.mvm-ctl-btn:hover {
  transform: translateY(-1px);
  border-color: #1D4ED8;
}

.mvm-ctl-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.mvm-scrub-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mvm-scrub {
  width: 100%;
  accent-color: #1D4ED8;
  cursor: pointer;
  height: 6px;
}

.mvm-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #355280;
}

.mvm-stage-caption {
  padding: 10px 16px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E5F0FF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #3E5A88;
}

.mvm-stage-caption strong {
  color: #0F2347;
}

/* Sunlit Confirmation Card */
.mvm-confirm-card {
  display: none;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFDF4 0%, #EFF6FF 100%);
  border: 2px solid #D99B26;
  box-shadow: 0 12px 30px rgba(217, 155, 38, 0.16);
}

.mvm-confirm-card.is-visible {
  display: block;
}

.mvm-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mvm-confirm-title {
  margin: 10px 0 6px;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #0B1F44;
  line-height: 1.15;
}

.mvm-confirm-body {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #26426E;
}

.mvm-confirm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mvm-confirm-chip {
  padding: 5px 11px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #CFE2FA;
  font-size: 12px;
  font-weight: 700;
  color: #102447;
}

.mvm-confirm-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mvm-confirm-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.mvm-confirm-links a.is-gold {
  background: linear-gradient(135deg, #FCE396, #D99B26);
  color: #0B1F44;
}

.mvm-confirm-links a.is-blue {
  background: #1E3A8A;
  color: #FFFFFF;
}

/* Recording Toast / Progress */
.mvm-rec-status {
  display: none;
  padding: 10px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  color: #1E3A8A;
  font-size: 13px;
  font-weight: 700;
}

.mvm-rec-status.is-visible {
  display: block;
}

/* Submitted Tracks List */
.mvm-submissions-card {
  display: none;
  padding: 18px 20px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #D7E7FC;
  box-shadow: 0 8px 20px rgba(15, 36, 74, 0.05);
}

.mvm-submissions-card.is-visible {
  display: block;
}

.mvm-submissions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mvm-submissions-title {
  margin: 0;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  color: #0B1F44;
}

.mvm-sub-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvm-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  background: #F6FAFF;
  border: 1px solid #DCEBFE;
}

.mvm-sub-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mvm-sub-item-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F2347;
}

.mvm-sub-item-meta {
  font-size: 12px;
  color: #4D6A97;
}

.mvm-sub-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
  font-size: 11.5px;
  font-weight: 800;
}

/* Gently tuck the bottom Image/Video prompt dock away while working inside Coded Music Video Maker */
body.mvm-maker-focused #hfComposerShell {
  transform: translateY(130%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform 0.28s ease, opacity 0.24s ease;
}

/* Responsive Breakpoints (0px horizontal overflow guaranteed) */
@media (max-width: 1040px) {
  .mvm-workbench {
    grid-template-columns: 1fr;
  }
  .mvm-stage-col {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .mvm-studio-section {
    margin: 18px 8px 136px;
    padding: 20px 14px 22px;
    border-radius: 20px;
  }
  .mvm-controls-col {
    padding: 16px 14px 18px;
  }
  .mvm-inputs-grid {
    grid-template-columns: 1fr;
  }
  .mvm-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mvm-gold-pill {
    font-size: 10.5px;
    padding: 6px 11px;
  }
  .mvm-lyric-wrap {
    left: 10px;
    right: 10px;
    bottom: 42px;
  }
  .mvm-lyric-card {
    padding: 9px 13px;
    max-width: 96%;
  }
  .mvm-lyric-line {
    font-size: 17px;
  }
  .mvm-stage-hud {
    top: 8px;
    left: 8px;
    right: 8px;
  }
  .mvm-hud-badge,
  .mvm-hud-track {
    font-size: 10px;
    padding: 4px 9px;
  }
  .mvm-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .mvm-btn-submit,
  .mvm-btn-download {
    width: 100%;
    flex: none;
  }
}
