.mvr-root {
  --mvr-ink: #172033;
  --mvr-muted: #647084;
  --mvr-line: rgba(23, 32, 51, 0.1);
  --mvr-surface: rgba(255, 255, 255, 0.86);
  --mvr-panel-bg:
    radial-gradient(780px 320px at 94% -12%, rgba(212, 165, 116, 0.1), transparent 56%),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(247,243,236,0.82));
  --mvr-panel-soft: rgba(255, 255, 255, 0.68);
  --mvr-panel-shadow: 0 16px 44px rgba(20, 26, 39, 0.08);
  --mvr-gold: #d4a574;
  --mvr-blue: #3a7ca5;
  --mvr-green: #3d8060;
  --mvr-coral: #c75b48;
  display: grid;
  gap: 22px;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 24px clamp(14px, 2vw, 26px) 34px;
}

[data-theme="dark"] .mvr-root {
  --mvr-ink: #f4ead7;
  --mvr-muted: rgba(235, 226, 211, 0.72);
  --mvr-line: rgba(212, 165, 116, 0.2);
  --mvr-surface: rgba(12, 18, 31, 0.86);
  --mvr-panel-bg:
    radial-gradient(820px 360px at 92% -10%, rgba(216, 173, 104, 0.13), transparent 58%),
    radial-gradient(640px 300px at 10% 12%, rgba(74, 124, 138, 0.12), transparent 56%),
    linear-gradient(145deg, rgba(18, 28, 47, 0.95), rgba(8, 12, 23, 0.9));
  --mvr-panel-soft: rgba(255, 255, 255, 0.055);
  --mvr-panel-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --mvr-gold: #d8ad68;
  --mvr-blue: #82bddc;
  --mvr-green: #82d1a7;
  --mvr-coral: #ff9a82;
}

.mvr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--mvr-gold) 82%, #38220f);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mvr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.mvr-hero__copy,
.mvr-hero__panel,
.mvr-summary,
.mvr-style,
.mvr-empty,
.mvr-empty-filter {
  border: 1px solid var(--mvr-line);
  background: var(--mvr-panel-bg), var(--mvr-surface);
  box-shadow: var(--mvr-panel-shadow);
}

.mvr-hero__copy {
  min-height: 270px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.mvr-hero__copy::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: -46px;
  width: clamp(150px, 18vw, 240px);
  height: clamp(150px, 18vw, 240px);
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 116, 0.18);
  background: radial-gradient(circle at 50% 35%, rgba(212, 165, 116, 0.22), transparent 64%);
  pointer-events: none;
}

[data-theme="dark"] .mvr-hero__copy::after {
  border-color: rgba(216, 173, 104, 0.22);
  background: radial-gradient(circle at 50% 35%, rgba(216, 173, 104, 0.2), transparent 66%);
  opacity: 0.78;
}

.mvr-hero h1 {
  margin: 14px 0 12px;
  max-width: 760px;
  color: var(--mvr-ink);
  font-family: var(--lt26-serif, Georgia, serif);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 520;
  line-height: 0.94;
  letter-spacing: 0;
}

.mvr-hero h1 em {
  color: color-mix(in srgb, var(--mvr-gold) 78%, #41220d);
  font-style: italic;
}

[data-theme="dark"] .mvr-hero h1 {
  color: #f7ead4;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .mvr-hero h1 em {
  color: #e3b967;
}

.mvr-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--mvr-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.mvr-hero__actions,
.mvr-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mvr-action,
.mvr-chip,
.mvr-pill,
.mvr-tabs button,
.mvr-search,
.mvr-stat__icon {
  min-height: 44px;
}

.mvr-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.mvr-action:hover {
  transform: translateY(-1px);
}

.mvr-action--primary {
  background: #172033;
  color: #fff;
}

.mvr-action--secondary {
  background: color-mix(in srgb, var(--mvr-gold) 88%, #fff);
  color: #22170d;
}

.mvr-action--ghost {
  background: rgba(255,255,255,0.62);
  border-color: rgba(23, 32, 51, 0.12);
  color: var(--mvr-ink);
}

[data-theme="dark"] .mvr-action--primary {
  background: #e1b85e;
  color: #130d05;
  box-shadow: 0 12px 30px rgba(216, 173, 104, 0.18);
}

[data-theme="dark"] .mvr-action--secondary {
  background: rgba(216, 173, 104, 0.15);
  border-color: rgba(216, 173, 104, 0.28);
  color: #f6db9d;
}

[data-theme="dark"] .mvr-action--ghost {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
  color: #efe7da;
}

.mvr-hero__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  padding: 14px;
}

.mvr-stat {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 128px;
  border-radius: 18px;
  padding: 16px;
  background: var(--mvr-panel-soft);
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.mvr-stat__icon {
  width: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mvr-gold);
  background: rgba(212, 165, 116, 0.14);
}

.mvr-stat--blue .mvr-stat__icon {
  color: var(--mvr-blue);
  background: rgba(58, 124, 165, 0.13);
}

.mvr-stat--green .mvr-stat__icon {
  color: var(--mvr-green);
  background: rgba(61, 128, 96, 0.13);
}

.mvr-stat--coral .mvr-stat__icon {
  color: var(--mvr-coral);
  background: rgba(199, 91, 72, 0.13);
}

.mvr-stat__value {
  color: var(--mvr-ink);
  font-family: var(--lt26-serif, Georgia, serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.mvr-stat__label,
.mvr-stat__detail {
  color: var(--mvr-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.mvr-stat__detail {
  color: var(--mvr-coral);
}

[data-theme="dark"] .mvr-stat {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

[data-theme="dark"] .mvr-stat__value {
  color: #f8ead2;
}

[data-theme="dark"] .mvr-stat__label,
[data-theme="dark"] .mvr-stat__detail {
  color: rgba(235, 226, 211, 0.68);
}

[data-theme="dark"] .mvr-stat__detail {
  color: #ff9a82;
}

.mvr-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 20px;
  padding: 12px;
}

.mvr-summary > div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 14px;
  padding: 0 13px;
  color: var(--mvr-ink);
  background: var(--mvr-panel-soft);
  font-weight: 800;
}

[data-theme="dark"] .mvr-summary > div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2e8d7;
}

.mvr-showcase {
  margin-top: 0;
  --mvr-stage-bg:
    radial-gradient(1200px 600px at 10% 20%, rgba(212,165,116,.16), transparent 55%),
    radial-gradient(900px 520px at 90% 60%, rgba(238,92,110,.06), transparent 60%),
    linear-gradient(180deg,#14182a,#0b0d1a);
  --mvr-stage-glass: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.58));
  --mvr-stage-accent: #d4a574;
  --mvr-stage-accent-2: #e8c99a;
  background: var(--mvr-stage-bg) !important;
  border-color: color-mix(in srgb, var(--mvr-stage-accent) 32%, rgba(255,255,255,0.18)) !important;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mvr-showcase[data-theme-preset="sandstone_warm"] {
  --mvr-stage-accent: #e8c088;
  --mvr-stage-accent-2: #ffdca8;
  --mvr-stage-bg:
    radial-gradient(1100px 700px at 25% 12%, rgba(240,217,181,.30), transparent 58%),
    linear-gradient(180deg, rgba(208,152,112,.40), rgba(70,46,28,.50)),
    linear-gradient(180deg,#7a5638,#3d2a1a);
}

.mvr-showcase[data-theme-preset="neon_manga"] {
  --mvr-stage-accent: #ff2bd6;
  --mvr-stage-accent-2: #00f0ff;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 28% 28%, rgba(255,43,214,.22), transparent 60%),
    radial-gradient(900px 520px at 72% 62%, rgba(0,240,255,.18), transparent 62%),
    linear-gradient(180deg, rgba(10,4,32,.78), rgba(0,0,0,.55)),
    linear-gradient(180deg,#0a0420,#050210);
  box-shadow: 0 0 0 1px rgba(255,43,214,.24), 0 24px 90px -36px rgba(255,43,214,.55), 0 18px 90px -42px rgba(0,240,255,.45) !important;
}

.mvr-showcase[data-theme-preset="white_gallery"] {
  --mvr-stage-accent: #e8d9b0;
  --mvr-stage-accent-2: #ffe9a8;
  --mvr-stage-bg:
    radial-gradient(1200px 700px at 50% 0%, rgba(250,250,246,.20), transparent 58%),
    linear-gradient(180deg, rgba(210,206,196,.30), rgba(24,26,30,.50)),
    linear-gradient(180deg,#52514c,#202022);
}

.mvr-showcase[data-theme-preset="modern_museum"] {
  --mvr-stage-accent: #e8d9a0;
  --mvr-stage-accent-2: #ffe7a8;
  --mvr-stage-bg:
    radial-gradient(1200px 700px at 50% 0%, rgba(240,237,229,.20), transparent 58%),
    linear-gradient(180deg, rgba(200,192,158,.30), rgba(28,26,22,.52)),
    linear-gradient(180deg,#56524a,#23211c);
}

.mvr-showcase[data-theme-preset="ember_amber"] {
  --mvr-stage-accent: #ffa94d;
  --mvr-stage-accent-2: #ffce80;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 25% 35%, rgba(201,120,64,.24), transparent 62%),
    radial-gradient(1100px 700px at 80% 22%, rgba(255,206,128,.16), transparent 60%),
    linear-gradient(180deg, rgba(42,18,8,.78), rgba(0,0,0,.48)),
    linear-gradient(180deg,#2a1208,#150804);
}

.mvr-showcase[data-theme-preset="midnight_sapphire"] {
  --mvr-stage-accent: #6fb4ff;
  --mvr-stage-accent-2: #d4ecff;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 30% 30%, rgba(74,130,200,.22), transparent 60%),
    radial-gradient(900px 520px at 75% 68%, rgba(120,180,255,.12), transparent 62%),
    linear-gradient(180deg, rgba(10,26,53,.82), rgba(0,0,0,.46)),
    linear-gradient(180deg,#0a1a35,#050a18);
}

.mvr-showcase[data-theme-preset="forest"] {
  --mvr-stage-accent: #7fe6a0;
  --mvr-stage-accent-2: #d4f5d8;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 30% 32%, rgba(127,230,160,.16), transparent 60%),
    linear-gradient(180deg, rgba(26,40,32,.78), rgba(0,0,0,.45)),
    linear-gradient(180deg,#1a2820,#0c1410);
}

.mvr-showcase[data-theme-preset="ocean"] {
  --mvr-stage-accent: #4ecdc4;
  --mvr-stage-accent-2: #a9fff7;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 24% 28%, rgba(78,205,196,.20), transparent 60%),
    radial-gradient(900px 520px at 78% 62%, rgba(58,124,165,.18), transparent 62%),
    linear-gradient(180deg, rgba(5,38,54,.78), rgba(0,0,0,.50)),
    linear-gradient(180deg,#052636,#04131f);
}

.mvr-showcase[data-theme-preset="sunset"] {
  --mvr-stage-accent: #ffb86b;
  --mvr-stage-accent-2: #ff6b6b;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 24% 28%, rgba(255,184,107,.26), transparent 60%),
    radial-gradient(900px 520px at 78% 62%, rgba(255,107,107,.20), transparent 62%),
    linear-gradient(180deg, rgba(54,20,34,.78), rgba(0,0,0,.48)),
    linear-gradient(180deg,#361422,#170a16);
}

.mvr-showcase[data-theme-preset="loguetown"] {
  --mvr-stage-accent: #d4a017;
  --mvr-stage-accent-2: #f0c85a;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 24% 28%, rgba(212,160,23,.22), transparent 60%),
    radial-gradient(900px 520px at 78% 62%, rgba(37,99,235,.14), transparent 62%),
    linear-gradient(180deg, rgba(8,16,30,.88), rgba(0,0,0,.52)),
    linear-gradient(180deg,#08101e,#030712);
}

.mvr-showcase[data-theme-preset="midnight"] {
  --mvr-stage-accent: #c7d2fe;
  --mvr-stage-accent-2: #818cf8;
  --mvr-stage-bg:
    radial-gradient(900px 520px at 24% 28%, rgba(129,140,248,.18), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,.90), rgba(0,0,0,.56)),
    linear-gradient(180deg,#0f172a,#020617);
}

.mvr-showcase.vitrine-showcase--glass .vitrine-showcase-stage {
  z-index: 0;
}

.mvr-showcase.vitrine-showcase--glass .vitrine-showcase-glass {
  background:
    radial-gradient(900px 260px at 20% 0%, color-mix(in srgb, var(--mvr-stage-accent) 18%, transparent), transparent 60%),
    radial-gradient(900px 260px at 80% 0%, color-mix(in srgb, var(--mvr-stage-accent-2) 16%, transparent), transparent 62%),
    var(--mvr-stage-glass) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mvr-showcase .etagere::before,
.mvr-showcase .etagere::after {
  background: linear-gradient(90deg, transparent, var(--mvr-stage-accent-2), transparent) !important;
}

.mvr-showcase .slot {
  border-color: color-mix(in srgb, var(--mvr-stage-accent) 24%, rgba(255,255,255,0.10)) !important;
}

.mvr-showcase .slot__empty-icon,
.mvr-showcase .slot__remove {
  border-color: color-mix(in srgb, var(--mvr-stage-accent) 42%, rgba(255,255,255,0.18)) !important;
}

.mvr-showcase.vitrine-showcase--glass .vitrine-showcase-inner,
.mvr-showcase .vitrine-showcase-footer,
.mvr-showcase .vitrine-slots-form {
  position: relative;
  z-index: 1;
}

.mvr-showcase .vitrine-showcase-footer {
  filter: none !important;
  opacity: 1;
  text-shadow: none;
}

.mvr-showcase .vitrine-showcase-actions {
  align-items: center;
}

.mvr-showcase button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.mvr-style {
  border-radius: 22px;
  padding: 15px;
}

.mvr-style__head,
.mvr-style__actions,
.mvr-control__items,
.mvr-filterbar,
.mvr-tabs,
.vitrine-card-actions .btn-card-action,
.showcase-btn {
  display: flex;
  align-items: center;
}

.mvr-style__head {
  justify-content: space-between;
  gap: 16px;
}

.mvr-style__head strong {
  display: block;
  margin-top: 3px;
  color: var(--mvr-ink);
}

.mvr-style__status {
  display: block;
  margin-top: 4px;
  color: color-mix(in srgb, var(--mvr-gold) 78%, #38220f);
  font-size: 0.72rem;
  font-weight: 900;
}

[data-theme="dark"] .mvr-style__status {
  color: #e3b967;
}

.mvr-style__actions {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mvr-chip,
.mvr-pill,
.mvr-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  background: var(--mvr-panel-soft);
  color: var(--mvr-ink);
  cursor: pointer;
  font-weight: 800;
}

.mvr-chip {
  border-radius: 999px;
  padding: 0 14px;
}

.mvr-chip--save {
  background: #172033;
  color: #fff;
}

[data-theme="dark"] .mvr-chip,
[data-theme="dark"] .mvr-pill,
[data-theme="dark"] .mvr-tabs button {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: #f0e7d9;
}

[data-theme="dark"] .mvr-chip--save {
  background: #d8ad68;
  color: #130d05;
}

.mvr-style__body {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.mvr-control {
  display: grid;
  gap: 8px;
}

.mvr-control__title {
  color: var(--mvr-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mvr-control__items {
  flex-wrap: wrap;
  gap: 8px;
}

.mvr-pill {
  border-radius: 999px;
  padding: 0 13px;
  font-size: 0.82rem;
}

.mvr-pill.is-active,
.mvr-tabs button.is-active {
  border-color: color-mix(in srgb, var(--mvr-gold) 70%, #7b4b17);
  background: rgba(212, 165, 116, 0.18);
  color: #4d3218;
}

[data-theme="dark"] .mvr-pill.is-active,
[data-theme="dark"] .mvr-tabs button.is-active {
  border-color: rgba(216, 173, 104, 0.62);
  background: rgba(216, 173, 104, 0.18);
  color: #ffe3ad;
}

.mvr-inventory {
  margin-top: 0;
}

.mvr-inventory .vitrine-grid-head {
  grid-column: 1 / -1;
}

.mvr-filterbar {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mvr-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 310px);
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--mvr-panel-soft);
  color: var(--mvr-muted);
}

.mvr-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mvr-ink);
  font: inherit;
}

.mvr-tabs {
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.06);
}

[data-theme="dark"] .mvr-search {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(235, 226, 211, 0.7);
}

[data-theme="dark"] .mvr-search input::placeholder {
  color: rgba(235, 226, 211, 0.45);
}

[data-theme="dark"] .mvr-tabs {
  background: rgba(255, 255, 255, 0.045);
}

.mvr-tabs button {
  min-width: 74px;
  border-radius: 999px;
  padding: 0 12px;
}

.mvr-card .showcase-controls {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.mvr-card .showcase-controls-form,
.mvr-card .showcase-note-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mvr-card .showcase-note-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.mvr-card .showcase-note-input {
  min-height: 40px;
  min-width: 0;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 12px;
  padding: 0 12px;
  outline: 0;
}

[data-theme="dark"] .mvr-card .showcase-note-input {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: #f4ead7;
}

.showcase-btn,
.vitrine-card-actions .btn-card-action {
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border-radius: 12px;
  border: 0;
  padding: 0 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.showcase-btn {
  background: #172033;
  color: #fff;
}

.showcase-btn--light {
  background: var(--mvr-panel-soft);
  color: var(--mvr-ink);
  border: 1px solid rgba(23, 32, 51, 0.12);
}

[data-theme="dark"] .showcase-btn {
  background: #d8ad68;
  color: #130d05;
}

[data-theme="dark"] .showcase-btn--light {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: #f0e7d9;
}

.mvr-empty,
.mvr-empty-filter {
  display: grid;
  place-items: center;
  gap: 12px;
  border-radius: 24px;
  padding: 44px 20px;
  text-align: center;
  color: var(--mvr-ink);
}

.mvr-empty p,
.mvr-empty-filter span {
  max-width: 560px;
  margin: 0;
  color: var(--mvr-muted);
}

.mvr-empty-filter {
  grid-column: 1 / -1;
}

[data-theme="dark"] .mvr-empty,
[data-theme="dark"] .mvr-empty-filter {
  color: #f4ead7;
}

[data-theme="dark"] .mvr-empty p,
[data-theme="dark"] .mvr-empty-filter span {
  color: rgba(235, 226, 211, 0.7);
}

@media (max-width: 960px) {
  .mvr-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mvr-root {
    padding-inline: 12px;
  }

  .mvr-hero__copy {
    border-radius: 22px;
  }

  .mvr-hero__panel {
    grid-template-columns: 1fr;
  }

  .mvr-style__head,
  .mvr-filterbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mvr-style__actions,
  .mvr-search,
  .mvr-tabs {
    width: 100%;
  }

  .mvr-tabs button {
    flex: 1;
    min-width: 0;
  }

  .mvr-card .showcase-controls-form,
  .mvr-card .showcase-note-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
 * Mode nocturne — polish des cartes Inventaire (React)
 * Les règles de bundle-vitrine.css fixent le body, le titre, la date,
 * les boutons secondaires/danger et le placeholder en clair "en dur".
 * On les ré-aligne ici sur la palette lune (data-theme="dark") pour
 * éviter les bandeaux blancs et le texte gris illisible.
 * ============================================================ */
[data-theme="dark"] .mvr-card.vitrine-card {
  background: linear-gradient(180deg, rgba(23, 38, 56, 0.92), rgba(13, 22, 36, 0.96));
  border-color: rgba(216, 173, 104, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .mvr-card.vitrine-card:hover {
  border-color: rgba(216, 173, 104, 0.55);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(216, 173, 104, 0.18);
}

[data-theme="dark"] .mvr-card .vitrine-card-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.015) 100%);
  color: #f0e7d9;
}

/* Sous-bloc "Mettre en avant + Note + Enregistrer" : le bundle le rend
   blanc cassé (color-mix(white 92%, gold)). On le passe en panneau sombre. */
[data-theme="dark"] .mvr-card .showcase-controls {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(216, 173, 104, 0.22);
}

[data-theme="dark"] .mvr-card .showcase-note-input {
  background: rgba(8, 14, 26, 0.6);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f4ead7;
}

[data-theme="dark"] .mvr-card .showcase-note-input::placeholder {
  color: rgba(235, 226, 211, 0.42);
}

/* showcase-btn (clair) du bundle est blanc translucide : on l'aligne nuit. */
[data-theme="dark"] .mvr-card .showcase-btn {
  background: linear-gradient(135deg, #f0c842 0%, #d8ad68 60%, #b78a3e 100%);
  color: #130d05;
  border-color: transparent;
}

[data-theme="dark"] .mvr-card .showcase-btn--light {
  background: rgba(255, 255, 255, 0.06);
  color: #f0e7d9;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .mvr-card .showcase-btn--light:hover {
  background: rgba(216, 173, 104, 0.16);
  color: #ffe3ad;
  border-color: rgba(216, 173, 104, 0.4);
}

[data-theme="dark"] .mvr-card .vitrine-card-title a {
  color: #f4ead7;
}

[data-theme="dark"] .mvr-card .vitrine-card-title a:hover {
  color: #f0c842;
}

[data-theme="dark"] .mvr-card .vitrine-card-price {
  color: #f0c842;
}

[data-theme="dark"] .mvr-card .vitrine-card-date {
  color: rgba(235, 226, 211, 0.55);
}

[data-theme="dark"] .mvr-card .vitrine-card-image {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
}

[data-theme="dark"] .mvr-card .vitrine-card-placeholder {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  color: rgba(235, 226, 211, 0.55);
}

[data-theme="dark"] .mvr-card .btn-card-primary {
  background: linear-gradient(135deg, #f0c842 0%, #d8ad68 60%, #b78a3e 100%);
  color: #130d05;
}

[data-theme="dark"] .mvr-card .btn-card-primary:hover {
  background: linear-gradient(135deg, #ffd665 0%, #e1b85e 60%, #c79749 100%);
  color: #0d0903;
}

[data-theme="dark"] .mvr-card .btn-card-secondary {
  background: rgba(255, 255, 255, 0.055);
  color: #f0e7d9;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .mvr-card .btn-card-secondary:hover {
  background: rgba(216, 173, 104, 0.16);
  color: #ffe3ad;
  border-color: rgba(216, 173, 104, 0.4);
}

[data-theme="dark"] .mvr-card .btn-card-danger {
  color: #ff9a82;
  border-color: rgba(255, 154, 130, 0.5);
  background: transparent;
}

[data-theme="dark"] .mvr-card .btn-card-danger:hover {
  background: rgba(255, 154, 130, 0.12);
  color: #ffb39e;
  border-color: #ff9a82;
}

/* Badge "En ligne / Vendue / Hors ligne" : assombrir l'overlay pour
   garder du contraste sur fond foncé. */
[data-theme="dark"] .mvr-card .vitrine-card-active .vitrine-card-status,
[data-theme="dark"] .mvr-card.vitrine-card-active .vitrine-card-status {
  background: rgba(16, 185, 129, 0.82);
  color: #052017;
}

[data-theme="dark"] .mvr-card .vitrine-card-sold .vitrine-card-status,
[data-theme="dark"] .mvr-card.vitrine-card-sold .vitrine-card-status {
  background: rgba(75, 85, 99, 0.86);
  color: #f4ead7;
}

[data-theme="dark"] .mvr-card .vitrine-card-archived .vitrine-card-status,
[data-theme="dark"] .mvr-card.vitrine-card-archived .vitrine-card-status {
  background: rgba(120, 113, 108, 0.82);
  color: #f4ead7;
}

/* Récap d'inventaire — meilleur contraste sur fond nuit */
[data-theme="dark"] .mvr-summary > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border-color: rgba(216, 173, 104, 0.18);
}

[data-theme="dark"] .mvr-summary > div svg {
  color: #e3b967;
}

/* Titre/sous-titre Inventaire (le bundle ne les colore que sous .vitrine-page) */
[data-theme="dark"] .mvr-inventory .vitrine-grid-title {
  color: #f4ead7;
}

[data-theme="dark"] .mvr-inventory .vitrine-grid-subtitle {
  color: rgba(235, 226, 211, 0.62);
}

/* Footer du présentoir : le subtitle blanchâtre devenait dur sur les
   thèmes très sombres ; on adoucit légèrement. */
[data-theme="dark"] .mvr-showcase .vitrine-showcase-subtitle {
  color: rgba(244, 234, 215, 0.7);
}

/* ============================================================
 * Aperçu thème : pastille de couleur sur les pills + flash de
 * confirmation sur le présentoir quand on change un réglage.
 * ============================================================ */
.mvr-pill--theme {
  padding-left: 8px;
}

.mvr-pill__swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

[data-theme="dark"] .mvr-pill__swatch {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.6);
}

.mvr-pill--theme.is-active .mvr-pill__swatch {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(216, 173, 104, 0.5);
}

/* Swatch icône (utilisé pour les structures orbitales — picto SVG au lieu du gradient) */
.mvr-pill__swatch--icon {
  display: inline-grid;
  place-items: center;
  background: rgba(216, 173, 104, 0.12);
  color: var(--mvr-gold);
  border-color: rgba(216, 173, 104, 0.32);
}
.mvr-pill__swatch--icon svg {
  display: block;
}
[data-theme="dark"] .mvr-pill__swatch--icon {
  background: rgba(216, 173, 104, 0.18);
  color: #f0c842;
}
.mvr-pill--struct.is-active .mvr-pill__swatch--icon {
  background: rgba(216, 173, 104, 0.32);
  color: #fff8e1;
}

/* ============================================================
 * Sous-menus déployables (Vitrine / Galerie orbitale)
 * ============================================================ */
.mvr-collapse {
  border: 1px solid var(--mvr-line);
  border-radius: 14px;
  background: var(--mvr-panel-soft);
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease;
}

.mvr-collapse + .mvr-collapse {
  margin-top: 10px;
}

.mvr-collapse.is-open {
  border-color: color-mix(in srgb, var(--mvr-gold) 40%, var(--mvr-line));
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--mvr-gold) 5%, transparent),
    transparent 80%);
}

.mvr-collapse__head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--mvr-ink);
  font: inherit;
  text-align: left;
  transition: background 160ms ease;
}

.mvr-collapse__head:hover {
  background: color-mix(in srgb, var(--mvr-gold) 7%, transparent);
}

.mvr-collapse__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mvr-collapse__title strong {
  font-family: var(--lt26-serif, Georgia, serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--mvr-ink);
}

.mvr-collapse__subtitle {
  font-size: 0.74rem;
  color: var(--mvr-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mvr-collapse__chev {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mvr-gold) 14%, transparent);
  color: var(--mvr-gold);
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              background 200ms ease,
              color 200ms ease;
}

.mvr-collapse.is-open .mvr-collapse__chev {
  transform: rotate(180deg);
  background: var(--mvr-gold);
  color: #1a1206;
}

[data-theme="dark"] .mvr-collapse {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .mvr-collapse.is-open {
  border-color: rgba(216, 173, 104, 0.45);
  background: linear-gradient(180deg,
    rgba(216, 173, 104, 0.08),
    transparent 80%);
}

[data-theme="dark"] .mvr-collapse__chev {
  background: rgba(216, 173, 104, 0.16);
  color: #f0c842;
}

[data-theme="dark"] .mvr-collapse.is-open .mvr-collapse__chev {
  background: #d8ad68;
  color: #130d05;
}

.mvr-collapse__body {
  padding: 4px 16px 16px;
  display: grid;
  gap: 14px;
  border-top: 1px solid color-mix(in srgb, var(--mvr-line) 60%, transparent);
  animation: mvrCollapseFade 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mvrCollapseFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mvr-collapse__body[hidden] {
  display: none !important;
}

/* ----------------------------------------------------------------------------
 * Variante "content" : wrapper discret pour les blocs visuels riches
 *   (Galerie orbitale 3D, Présentoir cabinet). Pas de fond doré qui ferait
 *   tâche derrière le contenu cosmique. Header transparent, body sans padding.
 * -------------------------------------------------------------------------- */
.mvr-collapse--content {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.mvr-collapse--content.is-open {
  background: transparent;
  border: 0;
}

.mvr-collapse--content .mvr-collapse__head {
  padding: 6px 4px 10px;
  gap: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.mvr-collapse--content .mvr-collapse__head:hover {
  background: color-mix(in srgb, var(--mvr-gold) 6%, transparent);
}

.mvr-collapse--content .mvr-collapse__title strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mvr-gold);
  font-family: var(--lt-font-mono, ui-monospace, "Space Mono", monospace);
}

.mvr-collapse--content .mvr-collapse__subtitle {
  font-size: 0.78rem;
  color: var(--mvr-muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.mvr-collapse--content .mvr-collapse__chev {
  width: 26px;
  height: 26px;
  background: rgba(216, 173, 104, 0.1);
  border: 1px solid var(--mvr-line);
}

.mvr-collapse--content.is-open .mvr-collapse__chev {
  background: rgba(216, 173, 104, 0.22);
  color: var(--mvr-gold);
}

.mvr-collapse--content .mvr-collapse__body {
  padding: 0;
  border-top: 0;
  display: block;
  animation: mvrCollapseFadeContent 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mvrCollapseFadeContent {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-theme="dark"] .mvr-collapse--content .mvr-collapse__head:hover {
  background: rgba(216, 173, 104, 0.08);
}

[data-theme="dark"] .mvr-collapse--content .mvr-collapse__chev {
  background: rgba(216, 173, 104, 0.12);
  color: #e3b967;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .mvr-collapse--content.is-open .mvr-collapse__chev {
  background: rgba(216, 173, 104, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .mvr-collapse__chev,
  .mvr-collapse__body { transition: none !important; animation: none !important; }
}

/* Swatch mini-aperçu pour les skins de carte (D1-D8).
   Le swatch externe est un cadre vide ; le contenu est rendu par
   CardSkinSwatch en inline-style pour respecter le style natif de chaque skin. */
.mvr-pill__swatch--card {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 32px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

/* ============================================================
 * Avatar du sidebar — version photo (mêmes règles que le header)
 * ============================================================ */
.vitrine-side__avatar--img {
  background: var(--mvr-panel-soft, rgba(0, 0, 0, 0.2));
  overflow: hidden;
}
.vitrine-side__avatar--img > .vitrine-side__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.mvr-pill--card-skin.is-active .mvr-pill__swatch--card {
  filter: drop-shadow(0 0 6px rgba(216, 173, 104, 0.55));
}

/* Toggle on/off pour les effets booléens (F4/F5/F6/F7) */
.mvr-pill--toggle .mvr-pill__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: background 180ms ease, box-shadow 180ms ease;
  flex-shrink: 0;
}
.mvr-pill--toggle.is-active {
  border-color: color-mix(in srgb, var(--mvr-gold) 60%, transparent);
}

.mvr-showcase {
  scroll-margin-top: 80px;
}

.mvr-showcase--preview-flash {
  animation: mvrPreviewFlash 900ms ease-out;
}

@keyframes mvrPreviewFlash {
  0%   { box-shadow: 0 0 0 0 rgba(216, 173, 104, 0.55), 0 0 0 0 rgba(216, 173, 104, 0.0); }
  35%  { box-shadow: 0 0 0 4px rgba(216, 173, 104, 0.55), 0 0 36px 6px rgba(216, 173, 104, 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(216, 173, 104, 0), 0 0 0 0 rgba(216, 173, 104, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mvr-showcase--preview-flash { animation: none; }
}

/* ============================================================
 * Animations premium du présentoir
 *   - pulse de contour sur le cadre (couleur prise du thème)
 *   - scan de lumière sur les étagères
 *   - halo respirant derrière les pièces exposées
 *   - hover : éclat doux + légère élévation
 *   - "+" des cases vides en respiration discrète
 * Tout est scopé .mvr-showcase pour n'impacter que la vitrine React,
 * et respecte prefers-reduced-motion.
 * ============================================================ */
.mvr-showcase {
  position: relative;
  border-radius: 24px;
  isolation: isolate;
}

/* --- 1) Pulse de contour : double anneau qui respire avec
   la couleur d'accent du thème en cours. -------------------- */
.mvr-showcase::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 70%, transparent) 0%,
    color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 55%, transparent) 50%,
    color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 70%, transparent) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  animation: mvrFrameBreathe 6.5s ease-in-out infinite;
}

.mvr-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 22%, transparent),
    0 0 36px -4px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 40%, transparent),
    0 0 80px -10px color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 35%, transparent);
  animation: mvrHaloBreathe 6.5s ease-in-out infinite;
}

@keyframes mvrFrameBreathe {
  0%, 100% { opacity: 0.45; filter: blur(0px); }
  50%      { opacity: 0.85; filter: blur(0.4px); }
}

@keyframes mvrHaloBreathe {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 18%, transparent),
      0 0 28px -6px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 28%, transparent),
      0 0 60px -10px color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 22%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 38%, transparent),
      0 0 48px -2px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 50%, transparent),
      0 0 110px -10px color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 45%, transparent);
  }
}

/* --- 2) Scan de lumière qui balaye chaque étagère. ---------- */
.mvr-showcase .etagere {
  position: relative;
  overflow: hidden;
}

.mvr-showcase .etagere > .mvr-shelf-scan,
.mvr-showcase .etagere::before {
  /* on garde le ::before existant du bundle (rail lumineux statique),
     et on ajoute un calque animé via un ::marker sibling — ici on
     utilise un background-image animé en couche additionnelle. */
}

.mvr-showcase .etagere {
  background-image:
    linear-gradient(90deg,
      transparent 0%,
      color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 18%, transparent) 45%,
      color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 28%, transparent) 50%,
      color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 18%, transparent) 55%,
      transparent 100%
    );
  background-size: 28% 2px;
  background-position: -30% 100%;
  background-repeat: no-repeat;
  animation: mvrShelfScan 9s linear infinite;
}

.mvr-showcase .etagere:nth-child(2)  { animation-delay: -3s; }
.mvr-showcase .etagere:nth-child(3)  { animation-delay: -6s; }
.mvr-showcase .etagere:nth-child(4)  { animation-delay: -1.5s; }
.mvr-showcase .etagere:nth-child(5)  { animation-delay: -4.5s; }
.mvr-showcase .etagere:nth-child(6)  { animation-delay: -7.5s; }

@keyframes mvrShelfScan {
  0%   { background-position: -30% 100%; }
  100% { background-position: 130% 100%; }
}

/* --- 3) Halo respirant derrière chaque pièce exposée. ------- */
.mvr-showcase .slot:not(.slot--empty)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 78%;
  height: 60%;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 38%, transparent) 0%,
    color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 12%, transparent) 45%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0.55;
  z-index: 0;
  animation: mvrSlotHalo 5.5s ease-in-out infinite;
}

.mvr-showcase .slot:not(.slot--empty):nth-child(odd)::before { animation-delay: -2.7s; }
.mvr-showcase .slot:not(.slot--empty):nth-child(3n)::before  { animation-delay: -1.4s; }

@keyframes mvrSlotHalo {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) scale(0.92); }
  50%      { opacity: 0.78; transform: translateX(-50%) scale(1.04); }
}

/* --- 4) Légère respiration des pièces + éclat au survol. ---- */
.mvr-showcase .slot__img {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 420ms ease;
  animation: mvrItemFloat 7s ease-in-out infinite;
  will-change: transform, filter;
}

.mvr-showcase .slot:nth-child(even) .slot__img { animation-delay: -3.5s; }
.mvr-showcase .slot:nth-child(3n)   .slot__img { animation-delay: -2s; }

@keyframes mvrItemFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1.012); }
}

.mvr-showcase .slot:not(.slot--empty):hover .slot__img {
  transform: translateY(-6px) scale(1.045);
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 45%, transparent))
    brightness(1.06)
    saturate(1.08);
}

.mvr-showcase .slot:not(.slot--empty):hover::before {
  opacity: 0.95;
  filter: blur(16px);
}

/* Reflet "shine" qui traverse la pièce au survol. */
.mvr-showcase .slot__link {
  position: relative;
  overflow: hidden;
}

.mvr-showcase .slot:not(.slot--empty) .slot__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 28%, transparent) 48%,
    color-mix(in srgb, #ffffff 55%, transparent) 50%,
    color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 28%, transparent) 52%,
    transparent 65%
  );
  transform: translateX(-130%);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.mvr-showcase .slot:not(.slot--empty):hover .slot__link::after {
  animation: mvrShine 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1;
}

@keyframes mvrShine {
  0%   { transform: translateX(-130%); opacity: 0; }
  20%  { opacity: 0.85; }
  100% { transform: translateX(130%); opacity: 0; }
}

/* --- 5) Respiration douce sur le "+" des cases vides --------- */
.mvr-showcase .slot--empty .slot__empty-icon {
  animation: mvrEmptyPulse 3.6s ease-in-out infinite;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.mvr-showcase .slot--empty:hover .slot__empty-icon {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 22%, transparent),
              0 0 24px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 45%, transparent);
}

@keyframes mvrEmptyPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 0%, transparent);
    opacity: 0.78;
  }
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 14%, transparent),
                0 0 14px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 30%, transparent);
    opacity: 1;
  }
}

/* --- 6) Coupe les animations si l'utilisateur le demande. ---- */
@media (prefers-reduced-motion: reduce) {
  .mvr-showcase::before,
  .mvr-showcase::after,
  .mvr-showcase .etagere,
  .mvr-showcase .slot:not(.slot--empty)::before,
  .mvr-showcase .slot__img,
  .mvr-showcase .slot--empty .slot__empty-icon {
    animation: none !important;
  }
}

/* ============================================================
 * Vitrine publique (boutique storefront) — wrapper centré.
 * Réutilise toutes les classes .mvr-showcase / .vitrine-showcase
 * pour bénéficier des animations et des thèmes.
 * ============================================================ */
.sf-vitrine-wrap {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.sf-vitrine-wrap .mvr-showcase {
  border-radius: 28px;
  overflow: visible;
}

/* En public on retire la possibilité de cliquer le "+" (vide) qui ouvre
   un menu d'ajout — réservé au propriétaire. */
.sf-section--vitrine .slot--empty .slot__empty-icon,
.sf-section--vitrine .slot--empty .slot__add-menu {
  display: none;
}

.sf-section--vitrine .slot--empty {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 640px) {
  .sf-vitrine-wrap .mvr-showcase {
    border-radius: 20px;
  }
}

/* ============================================================
 * LOOK APP — présentoir aligné sur l'application mobile
 * (cadre or + capitonnage losanges, étagères-barres lumineuses,
 *  cartes pleines avec pastille prix, en-tête collection,
 *  carte "Curée par"). Mobile-first : base 360px, min-width only.
 * Chargé en dernier → priorité sur bundle-vitrine.css.
 * ============================================================ */

/* --- En-tête collection (au-dessus du présentoir) ------------ */
.mvr-showcase .mvr-case-head {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(18px, 4vw, 34px) 16px 6px;
}

.mvr-showcase .mvr-case-eyebrow {
  margin: 0 0 10px;
  font-size: var(--lt-text-xs, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 80%, #ffffff);
  opacity: 0.85;
}

.mvr-showcase .mvr-case-eyebrow::before { content: "—  "; }
.mvr-showcase .mvr-case-eyebrow::after  { content: "  —"; }

.mvr-showcase .mvr-case-count {
  margin: 0;
  font-family: var(--lt26-serif, "Cinzel", Georgia, "Times New Roman", serif);
  font-style: italic;
  font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.6rem);
  line-height: 1.15;
  color: color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 85%, #ffffff);
  text-shadow: 0 2px 18px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 35%, transparent);
}

.mvr-showcase .mvr-case-count strong {
  font-weight: 600;
  color: #f6f1e4;
}

.mvr-showcase .mvr-case-theme {
  margin: 8px 0 0;
  font-style: italic;
  font-size: var(--lt-text-sm, 0.9rem);
  color: rgba(214, 222, 235, 0.55);
}

/* --- Le coffret : capitonnage losanges sur le fond ----------- */
.mvr-showcase.vitrine-showcase--glass .vitrine-showcase-glass {
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 26px,
      color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 7%, transparent) 26px,
      color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 7%, transparent) 27px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 26px,
      color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 7%, transparent) 26px,
      color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 7%, transparent) 27px
    ),
    radial-gradient(900px 260px at 50% 0%, color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 14%, transparent), transparent 62%),
    var(--mvr-stage-glass, linear-gradient(180deg, #0b1120, #060a14)) !important;
}

/* --- Neutralise le meuble "armoire" du bundle ----------------- */
.mvr-showcase .vitrine,
.mvr-showcase .vitrine.vitrine--mosaic {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  width: 100% !important;
  padding: clamp(6px, 1.5vw, 18px) clamp(4px, 1.5vw, 16px) !important;
  margin: 0 !important;
}

/* --- Étagères : rangée de pièces posées sur une barre d'or ---- */
.mvr-showcase .etagere {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-evenly !important;
  gap: clamp(10px, 2.5vw, 22px) !important;
  position: relative;
  overflow: visible !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: clamp(170px, 42vw, 250px);
  padding: 18px clamp(8px, 2vw, 18px) 34px !important;
  margin: 0 0 10px !important;
}

.mvr-showcase .etagere::before {
  display: none !important;
}

.mvr-showcase .etagere::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 8px 14px 8px !important;
  height: 5px !important;
  width: auto !important;
  border-radius: 4px !important;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--mvr-stage-accent, #c89a3f) 0%, transparent),
    color-mix(in srgb, var(--mvr-stage-accent, #c89a3f) 90%, #7a5a18) 12%,
    color-mix(in srgb, var(--mvr-stage-accent-2, #f3d98b) 95%, #ffffff) 50%,
    color-mix(in srgb, var(--mvr-stage-accent, #c89a3f) 90%, #7a5a18) 88%,
    color-mix(in srgb, var(--mvr-stage-accent, #c89a3f) 0%, transparent)
  ) !important;
  box-shadow:
    0 1px 6px color-mix(in srgb, var(--mvr-stage-accent-2, #f3d98b) 65%, transparent),
    0 8px 22px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 38%, transparent),
    0 20px 44px color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 16%, transparent) !important;
}

/* --- Cartes pièces : visuel plein + coins arrondis ------------ */
.mvr-showcase .slot {
  position: relative;
  flex: 0 1 30% !important;
  width: auto !important;
  min-width: 0 !important; /* le bundle force un min-width → débordement à 3 colonnes sur mobile */
  max-width: 200px !important;
  aspect-ratio: 4 / 7 !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #141c31, #0b1220) !important;
  border: 1px solid color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 24%, rgba(255, 255, 255, 0.1)) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5) !important;
}

.mvr-showcase .slot__link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

.mvr-showcase .slot__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* --- Pastille prix (comme l'app) ------------------------------ */
.mvr-showcase .slot__price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 9px;
  background: rgba(7, 10, 18, 0.82);
  border: 1px solid color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 30%, transparent);
  color: color-mix(in srgb, var(--mvr-stage-accent-2, #f3dfae) 85%, #ffffff);
  font-size: var(--lt-text-sm, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Cases vides : discrètes, pointillé or -------------------- */
.mvr-showcase .slot--empty {
  background: transparent !important;
  border: 1px dashed color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 32%, transparent) !important;
  box-shadow: none !important;
  opacity: 0.8;
}

/* --- Carte "Curée par" ----------------------------------------- */
.mvr-showcase .mvr-curator {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px clamp(8px, 2vw, 18px) clamp(12px, 2vw, 20px);
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(13, 18, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mvr-showcase .mvr-curator__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--mvr-stage-accent, #d4a574) 45%, transparent);
}

.mvr-showcase .mvr-curator__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lt26-serif, "Cinzel", Georgia, serif);
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 85%, #ffffff);
  background: linear-gradient(180deg, #18203a, #0d1322);
}

.mvr-showcase .mvr-curator__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mvr-showcase .mvr-curator__eyebrow {
  font-size: var(--lt-text-xs, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--mvr-stage-accent-2, #e8c99a) 75%, #ffffff);
  opacity: 0.8;
}

.mvr-showcase .mvr-curator__name {
  font-family: var(--lt26-serif, "Cinzel", Georgia, serif);
  font-size: var(--lt-text-lg, 1.125rem);
  color: #f6f1e4;
  overflow-wrap: break-word;
}

/* --- Confort à partir de la tablette --------------------------- */
@media (min-width: 768px) {
  .mvr-showcase .slot {
    max-width: 220px !important;
  }

  .mvr-showcase .etagere {
    min-height: 270px;
  }
}

/* ============================================================
 * MA VITRINE 2026 — interface de gestion claire et responsive
 * Ce bloc reste scope a .mvr-root afin de ne pas modifier la
 * vitrine publique, qui reutilise plusieurs composants ci-dessus.
 * ============================================================ */
.mvr-root {
  /* Les variables de fond (--mvr-ink, --mvr-surface, --mvr-panel-bg…) viennent de
     l'en-tête de cette feuille : palette claire par défaut, palette sombre via
     [data-theme="dark"] .mvr-root. Ce bloc ne définit que ses variables propres,
     en clair ici et en sombre juste en dessous : les encadrés suivent ainsi le
     thème choisi au lieu d'être toujours sombres. */
  --mvr-gold-deep: #b8871f;
  --mvr-h1: #172033;
  --mvr-h1-em: #9a6f12;
  --mvr-lead: #5b6678;
  --mvr-kicker: #9a6f12;
  --mvr-glow: rgba(212, 165, 116, 0.18);
  --mvr-tile-bg: rgba(23, 32, 51, 0.03);
  --mvr-tile-line: rgba(23, 32, 51, 0.09);
  --mvr-stat-value: #172033;
  --mvr-stat-label: #647084;
  --mvr-summary-text: #26324a;
  --mvr-summary-icon: #a87a16;
  --mvr-act-secondary-bg: rgba(184, 135, 31, 0.1);
  --mvr-act-secondary-line: rgba(184, 135, 31, 0.34);
  --mvr-act-secondary-text: #7a5610;
  --mvr-act-ghost-bg: rgba(23, 32, 51, 0.035);
  --mvr-act-ghost-line: rgba(23, 32, 51, 0.14);
  --mvr-act-ghost-text: #26324a;
  --mvr-empty-icon: #a87a16;
  --mvr-empty-text: #647084;
  --mvr-ctl-bg: #ffffff;
  --mvr-ctl-line: rgba(23, 32, 51, 0.14);
  --mvr-ctl-text: #26324a;
  --mvr-ctl-on-bg: rgba(184, 135, 31, 0.12);
  --mvr-ctl-on-line: rgba(184, 135, 31, 0.5);
  --mvr-ctl-on-text: #7a5610;
  --mvr-title: #172033;
  --mvr-subtitle: #647084;
  --mvr-card-bg: #ffffff;
  --mvr-card-line: rgba(23, 32, 51, 0.12);
  --mvr-card-line-hover: rgba(184, 135, 31, 0.45);
  --mvr-card-shadow: 0 10px 26px rgba(20, 26, 39, 0.08);
  --mvr-card-shadow-hover: 0 16px 34px rgba(20, 26, 39, 0.14);
  --mvr-card-text: #26324a;
  --mvr-card-title: #172033;
  --mvr-card-date: #647084;
  width: 100%;
  max-width: 1240px;
  gap: 16px;
  padding: 18px 20px 38px;
}

[data-theme="dark"] .mvr-root {
  --mvr-gold-deep: #b88a21;
  --mvr-h1: #f7f2e8;
  --mvr-h1-em: #e6be57;
  --mvr-lead: #aab4c2;
  --mvr-kicker: #dcb54d;
  --mvr-glow: rgba(227, 185, 77, 0.13);
  --mvr-tile-bg: rgba(255, 255, 255, 0.025);
  --mvr-tile-line: rgba(255, 255, 255, 0.07);
  --mvr-stat-value: #f6efdf;
  --mvr-stat-label: #8f9bac;
  --mvr-summary-text: #dce3ec;
  --mvr-summary-icon: #ddb650;
  --mvr-act-secondary-bg: rgba(227, 185, 77, 0.09);
  --mvr-act-secondary-line: rgba(227, 185, 77, 0.32);
  --mvr-act-secondary-text: #f0cf78;
  --mvr-act-ghost-bg: rgba(255, 255, 255, 0.035);
  --mvr-act-ghost-line: rgba(255, 255, 255, 0.11);
  --mvr-act-ghost-text: #e7ecf2;
  --mvr-empty-icon: #dcb54d;
  --mvr-empty-text: #97a4b4;
  --mvr-ctl-bg: rgba(255, 255, 255, 0.035);
  --mvr-ctl-line: rgba(255, 255, 255, 0.1);
  --mvr-ctl-text: #dfe5ec;
  --mvr-ctl-on-bg: rgba(227, 185, 77, 0.13);
  --mvr-ctl-on-line: rgba(227, 185, 77, 0.55);
  --mvr-ctl-on-text: #f0cf78;
  --mvr-title: #f4efe4;
  --mvr-subtitle: #97a4b4;
  --mvr-card-bg: #101b28;
  --mvr-card-line: rgba(227, 185, 77, 0.17);
  --mvr-card-line-hover: rgba(227, 185, 77, 0.42);
  --mvr-card-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  --mvr-card-shadow-hover: 0 18px 38px rgba(0, 0, 0, 0.25);
  --mvr-card-text: #e9edf2;
  --mvr-card-title: #f3eee4;
  --mvr-card-date: #8592a3;
}

.mvr-root .mvr-hero {
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.82fr);
  gap: 16px;
}

.mvr-root .mvr-hero__copy,
.mvr-root .mvr-hero__panel,
.mvr-root .mvr-summary,
.mvr-root .mvr-style,
.mvr-root .mvr-empty,
.mvr-root .mvr-empty-filter {
  border-color: var(--mvr-line);
  background: var(--mvr-panel-bg);
  box-shadow: var(--mvr-panel-shadow);
}

.mvr-root .mvr-hero__copy {
  min-height: 246px;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: 18px;
  isolation: isolate;
}

.mvr-root .mvr-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 8%, var(--mvr-gold) 34%, var(--mvr-gold-deep) 72%, transparent 94%);
}

.mvr-root .mvr-hero__copy::after {
  right: -58px;
  bottom: -96px;
  width: 260px;
  height: 260px;
  border-color: var(--mvr-glow);
  background: radial-gradient(circle, var(--mvr-glow), transparent 66%);
  z-index: -1;
}

.mvr-root .mvr-kicker {
  color: var(--mvr-kicker);
  font-size: 0.69rem;
  letter-spacing: 0.22em;
}

.mvr-root .mvr-hero h1 {
  max-width: 660px;
  margin: 12px 0 10px;
  color: var(--mvr-h1);
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1;
  text-shadow: none;
}

.mvr-root .mvr-hero h1 em {
  color: var(--mvr-h1-em);
}

.mvr-root .mvr-hero p {
  max-width: 590px;
  color: var(--mvr-lead);
  font-size: 0.96rem;
  line-height: 1.55;
}

.mvr-root .mvr-hero__actions,
.mvr-root .mvr-empty__actions {
  gap: 8px;
  margin-top: 20px;
}

.mvr-root .mvr-action {
  min-height: 43px;
  border-radius: 9px;
  padding: 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.mvr-root .mvr-action--primary {
  background: linear-gradient(135deg, #efcc68, #cea13a);
  color: #121923;
  box-shadow: 0 8px 22px rgba(206, 161, 58, 0.16);
}

.mvr-root .mvr-action--secondary {
  border-color: var(--mvr-act-secondary-line);
  background: var(--mvr-act-secondary-bg);
  color: var(--mvr-act-secondary-text);
}

.mvr-root .mvr-action--ghost {
  border-color: var(--mvr-act-ghost-line);
  background: var(--mvr-act-ghost-bg);
  color: var(--mvr-act-ghost-text);
}

.mvr-root .mvr-action:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 185, 77, 0.5);
}

.mvr-root .mvr-hero__panel {
  gap: 8px;
  border-radius: 18px;
  padding: 10px;
}

.mvr-root .mvr-stat {
  min-height: 112px;
  gap: 6px;
  border: 1px solid var(--mvr-tile-line);
  border-radius: 12px;
  padding: 14px;
  background: var(--mvr-tile-bg);
}

.mvr-root .mvr-stat__icon {
  width: 38px;
  min-height: 38px;
  border-radius: 9px;
}

.mvr-root .mvr-stat__value {
  color: var(--mvr-stat-value);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.mvr-root .mvr-stat__label,
.mvr-root .mvr-stat__detail {
  color: var(--mvr-stat-label);
  font-size: 0.7rem;
  line-height: 1.25;
}

.mvr-root .mvr-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-radius: 14px;
  padding: 8px;
}

.mvr-root .mvr-summary > div {
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--mvr-tile-line);
  border-radius: 9px;
  padding: 0 12px;
  background: var(--mvr-tile-bg);
  color: var(--mvr-summary-text);
  font-size: 0.8rem;
}

.mvr-root .mvr-summary > div svg {
  flex: 0 0 auto;
  color: var(--mvr-summary-icon);
}

.mvr-root .mvr-empty,
.mvr-root .mvr-empty-filter {
  border-radius: 16px;
  padding: 46px 20px;
  color: var(--mvr-ink);
}

.mvr-root .mvr-empty > svg,
.mvr-root .mvr-empty-filter > svg {
  color: var(--mvr-empty-icon);
}

.mvr-root .mvr-empty h2 {
  margin: 2px 0 0;
  font-family: var(--lt26-serif, Georgia, serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
}

.mvr-root .mvr-empty p,
.mvr-root .mvr-empty-filter span {
  color: var(--mvr-empty-text);
}

.mvr-root .mvr-style {
  border-radius: 16px;
  padding: 18px;
}

.mvr-root .mvr-search,
.mvr-root .mvr-tabs,
.mvr-root .mvr-pill,
.mvr-root .mvr-chip {
  border-radius: 9px;
}

.mvr-root .mvr-search,
.mvr-root .mvr-pill,
.mvr-root .mvr-tabs button,
.mvr-root .mvr-chip {
  border-color: var(--mvr-ctl-line);
  background: var(--mvr-ctl-bg);
  color: var(--mvr-ctl-text);
}

.mvr-root .mvr-pill.is-active,
.mvr-root .mvr-tabs button.is-active {
  border-color: var(--mvr-ctl-on-line);
  background: var(--mvr-ctl-on-bg);
  color: var(--mvr-ctl-on-text);
}

.mvr-root .vitrine-grid-head {
  gap: 16px;
  border-radius: 16px;
}

.mvr-root .vitrine-grid-title {
  color: var(--mvr-title);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.mvr-root .vitrine-grid-subtitle {
  color: var(--mvr-subtitle);
}

.mvr-root .mvr-card.vitrine-card {
  overflow: hidden;
  border-radius: 14px;
  border-color: var(--mvr-card-line);
  background: var(--mvr-card-bg);
  box-shadow: var(--mvr-card-shadow);
}

.mvr-root .mvr-card.vitrine-card:hover {
  transform: translateY(-3px);
  border-color: var(--mvr-card-line-hover);
  box-shadow: var(--mvr-card-shadow-hover);
}

.mvr-root .mvr-card .vitrine-card-body {
  color: var(--mvr-card-text);
  background: var(--mvr-card-bg);
}

.mvr-root .mvr-card .vitrine-card-title a {
  color: var(--mvr-card-title);
}

.mvr-root .mvr-card .vitrine-card-date {
  color: var(--mvr-card-date);
}

.mvr-root .mvr-card .vitrine-card-actions .btn-card-action,
.mvr-root .mvr-card .showcase-btn,
.mvr-root .mvr-card .showcase-note-input {
  border-radius: 8px;
}

@media (max-width: 1080px) {
  .mvr-root .mvr-hero {
    grid-template-columns: 1fr;
  }

  .mvr-root .mvr-hero__panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mvr-root {
    gap: 12px;
    padding: 10px 10px 28px;
  }

  .mvr-root .mvr-hero {
    gap: 12px;
  }

  .mvr-root .mvr-hero__copy {
    min-height: 0;
    border-radius: 14px;
    padding: 23px 20px 20px;
  }

  .mvr-root .mvr-hero__copy::after {
    right: -98px;
    bottom: -118px;
  }

  .mvr-root .mvr-hero h1 {
    margin-top: 9px;
    font-size: clamp(2rem, 10.5vw, 2.75rem);
    line-height: 1.02;
  }

  .mvr-root .mvr-hero p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .mvr-root .mvr-hero__actions,
  .mvr-root .mvr-empty__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 100%;
    margin-top: 18px;
  }

  .mvr-root .mvr-hero__actions .mvr-action,
  .mvr-root .mvr-empty__actions .mvr-action {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
  }

  .mvr-root .mvr-hero__actions .mvr-action:first-child,
  .mvr-root .mvr-empty__actions .mvr-action:first-child {
    grid-column: 1 / -1;
  }

  .mvr-root .mvr-hero__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    border-radius: 14px;
    padding: 7px;
  }

  .mvr-root .mvr-stat {
    min-height: 100px;
    padding: 12px;
  }

  .mvr-root .mvr-stat__icon {
    width: 34px;
    min-height: 34px;
  }

  .mvr-root .mvr-stat__value {
    font-size: 1.35rem;
  }

  .mvr-root .mvr-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }

  .mvr-root .mvr-summary > div {
    flex-direction: column;
    gap: 4px;
    min-height: 62px;
    padding: 8px 4px;
    font-size: 0.68rem;
    text-align: center;
  }

  .mvr-root .mvr-empty,
  .mvr-root .mvr-empty-filter {
    border-radius: 14px;
    padding: 34px 16px;
  }

  .mvr-root .mvr-style {
    border-radius: 14px;
    padding: 14px;
  }

  .mvr-root .mvr-filterbar,
  .mvr-root .mvr-style__head {
    align-items: stretch;
    flex-direction: column;
  }

  .mvr-root .mvr-search,
  .mvr-root .mvr-tabs,
  .mvr-root .mvr-style__actions {
    width: 100%;
  }

  .mvr-root .mvr-tabs button,
  .mvr-root .mvr-style__actions .mvr-chip {
    flex: 1;
    min-width: 0;
  }

  .mvr-root .mvr-card .showcase-controls-form,
  .mvr-root .mvr-card .showcase-note-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .mvr-root .mvr-showcase .mvr-case-head {
    padding: 18px 12px 4px;
  }

  .mvr-root .mvr-showcase .mvr-case-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .mvr-root .mvr-showcase .mvr-case-count {
    font-size: 1.65rem;
  }

  .mvr-root .mvr-showcase .etagere {
    gap: 7px !important;
    min-height: 170px;
    padding-inline: 4px !important;
  }

  .mvr-root .mvr-showcase .slot {
    border-radius: 10px !important;
  }

  .mvr-root .mvr-showcase .slot__price {
    left: 5px;
    right: 5px;
    bottom: 6px;
    overflow: hidden;
    padding: 3px 5px;
    font-size: 0.66rem;
    text-align: center;
    text-overflow: ellipsis;
  }

  .mvr-root .mvr-showcase .mvr-curator {
    margin-inline: 8px;
    padding: 11px 12px;
    border-radius: 12px;
  }
}

@media (max-width: 390px) {
  .mvr-root .mvr-hero__actions {
    grid-template-columns: 1fr;
  }

  .mvr-root .mvr-hero__actions .mvr-action:first-child {
    grid-column: auto;
  }
}
