@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Prompt', sans-serif;
  background-color: #f8fafc;
  color: #334155;
}

.clean-comment-font {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

#look-list::-webkit-scrollbar { display: none; }
#look-list { -ms-overflow-style: none; scrollbar-width: none; }

.custom-scroll::-webkit-scrollbar { width: 4px; height: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.look-img-responsive {
  aspect-ratio: 4 / 4.4;
}
@media (min-width: 640px) {
  .look-img-responsive {
    aspect-ratio: 4 / 2.8;
  }
}

.modal-enter { animation: popIn 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pinkSparkleGlow {
  0%, 100% {
    border-color: #ec4899 !important;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.8), 0 0 24px rgba(244, 114, 182, 0.5), inset 0 0 8px rgba(236, 72, 153, 0.2);
  }
  50% {
    border-color: #f43f5e !important;
    box-shadow: 0 0 22px rgba(244, 63, 94, 0.95), 0 0 35px rgba(251, 113, 133, 0.7), inset 0 0 12px rgba(244, 63, 94, 0.3);
  }
}

.step-badge {
  position: absolute;
  top: -11px;
  left: 12px;
  background: #831843;
  color: #fbcfe8;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #f472b6;
  letter-spacing: 0.5px;
  z-index: 60;
}

.pink-highlight {
  position: relative;
  border: 2.5px solid #ec4899 !important;
  animation: pinkSparkleGlow 1.2s infinite ease-in-out !important;
  z-index: 50;
}

.tour-pointer-active {
  position: relative;
}
.tour-pointer-active::after {
  content: "↙";
  position: absolute;
  top: -18px;
  right: -12px;
  color: #f43f5e;
  font-size: 18px;
  font-weight: 900;
  animation: bounceArrow 0.8s infinite alternate ease-in-out;
  z-index: 100;
  text-shadow: 0 0 6px rgba(244, 63, 94, 0.8);
}

@keyframes bounceArrow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-4px, 4px); }
}

details summary::-webkit-details-marker { display: none; }

/* ===== MEDIA section theme: black + gold buttons, teal for success, white surfaces ===== */

/* Next Media Link hero button (black with a gold shimmer) */
.next-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  cursor: pointer;
  text-align: left;
  color: #fde68a;
  background: #0f172a;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.85), 0 0 10px -5px rgba(251, 191, 36, 0.22);
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.next-hero:hover { border-color: #fbbf24; box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.9), 0 0 14px -4px rgba(251, 191, 36, 0.35); }
.next-hero:active { transform: scale(0.97); }
.next-hero-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.next-hero-shine::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(251, 191, 36, 0.38), rgba(255, 244, 200, 0.5), rgba(251, 191, 36, 0.38), transparent);
  transform: skewX(-18deg);
  animation: nextHeroShine 30s ease-in-out infinite;
}
@keyframes nextHeroShine {
  0%, 98% { left: -60%; }
  100% { left: 130%; }
}
.next-hero-plat {
  position: relative;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 16px;
}
.next-hero-text { position: relative; display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.2; }
.next-hero-kicker { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fbbf24; }
.next-hero-name { font-size: 14px; font-weight: 800; color: #fff3c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-hero-meta { font-size: 10px; font-weight: 700; color: #fbbf24; opacity: 0.85; margin-top: 1px; }
.next-hero-arrow { position: relative; flex: 0 0 auto; font-size: 18px; color: #fbbf24; transition: transform 0.2s ease; }
.next-hero:hover .next-hero-arrow { transform: translateX(3px); }
.next-hero-left.tick { display: inline-block; animation: nextHeroTick 0.4s ease; }
@keyframes nextHeroTick { 0% { transform: translateY(-60%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
/* Orm Boost link is next: stronger gold border and a slow glow */
.next-hero.is-boost { border-color: #fbbf24; animation: nextHeroGlow 8s ease-in-out infinite; }
@keyframes nextHeroGlow {
  0%, 100% { box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.85), 0 0 8px -4px rgba(251, 191, 36, 0.22); }
  50% { box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.85), 0 0 14px -3px rgba(251, 191, 36, 0.42); }
}
.next-hero.is-done { background: #0f766e; border-color: #5eead4; color: #ccfbf1; box-shadow: 0 6px 18px -8px rgba(15, 118, 110, 0.7); }
.next-hero.is-done .next-hero-kicker, .next-hero.is-done .next-hero-meta, .next-hero.is-done .next-hero-arrow { color: #99f6e4; }
.next-hero.is-done .next-hero-name { color: #f0fdfa; }
.next-hero.is-done .next-hero-plat { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); color: #f0fdfa; }
.next-hero.is-empty { background: #e2e8f0; border-color: #cbd5e1; color: #64748b; box-shadow: none; }
.next-hero.is-empty .next-hero-kicker, .next-hero.is-empty .next-hero-name, .next-hero.is-empty .next-hero-meta, .next-hero.is-empty .next-hero-arrow { color: #64748b; }
.next-hero.is-empty .next-hero-plat { background: #f1f5f9; border-color: #cbd5e1; color: #94a3b8; }
.next-hero.is-empty .next-hero-shine::before, .next-hero.is-done .next-hero-shine::before { display: none; }
@media (min-width: 640px) { .next-hero { width: 250px; flex: 0 0 auto; align-self: stretch; } }

/* Account / platform / Orm Boost chips: same look as the platform tabs (white, black when on) */
.mx-chip {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: #fff; color: #0f172a;
  border: 1px solid #e2e8f0; border-radius: 4px;
  padding: 5px 10px; font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.mx-chip:hover { border-color: #cbd5e1; }
/* Mobile header chips: all the same height so the two rows line up */
.mx-chip-sm { height: 30px; padding: 2px 9px; font-size: 10px; }
.mx-chip-sep { width: 1px; height: 14px; background: #e2e8f0; margin: 0 1px; flex-shrink: 0; }
.mx-row2 { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; width: 100%; }
.mx-row2 .mx-chip select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.mx-reset { cursor: pointer; color: #64748b; font-weight: 700; gap: 5px; }
.mx-reset i { font-size: 9px; color: #94a3b8; }
.mx-reset:hover { color: #e11d48; border-color: #fecdd3; }
.mx-reset:hover i { color: #e11d48; }
.mx-chip select { background: transparent; color: inherit; font-weight: 700; outline: none; cursor: pointer; }
.mx-chip i { color: #64748b; }
.mx-chip button { color: #64748b; }
.mx-chip button:hover { color: #0f172a; }
.mx-boost { cursor: pointer; }
.mx-boost span { color: inherit; }
.mx-boost i { color: #d97706; }
.mx-boost:has(input:checked) { background: #0f172a; border-color: #fbbf24; color: #fde68a; box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25); }
.mx-boost:has(input:checked) i { color: #fbbf24; }

/* Goal bar */
.goal { display: flex; flex-direction: column; gap: 6px; width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; padding: 7px 12px 9px; transition: background 0.3s ease, border-color 0.3s ease; }
.goal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.goal-title { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: #0f172a; }
.goal-title i { color: #d97706; font-size: 11px; }
.goal-count { font-size: 12px; font-weight: 800; color: #0f172a; white-space: nowrap; }
.goal-done { font-size: 16px; font-weight: 800; }
.goal-of, .goal-total { color: #64748b; font-weight: 700; }
.goal-pct { font-style: normal; margin-left: 8px; font-size: 10px; font-weight: 800; color: #0d9488; }
.goal-track { position: relative; height: 14px; background: #e2e8f0; border-radius: 999px; margin-right: 11px; }
.goal-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #fbbf24, #0d9488); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.goal-flag { position: absolute; right: -11px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #0f172a; color: #fbbf24; border: 2px solid #fff; font-size: 11px; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35); }
.goal.is-complete { background: #f0fdfa; border-color: #5eead4; }
.goal.is-complete .goal-fill { background: #0d9488; }
.goal.is-complete .goal-flag { background: #0d9488; color: #fff; }
.goal.is-complete .goal-title i { color: #0d9488; }

/* Link list */
.mx-list { max-height: 176px; overflow-y: auto; padding: 6px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; display: flex; flex-direction: column; gap: 4px; }
.mx-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; flex-shrink: 0; }
.mx-row:hover { border-color: #fbbf24; background: #fffbeb; }
.mx-row-icon { color: #0f172a; }
.mx-row-name { font-size: 11px; font-weight: 700; color: #1e293b; }
.mx-row.is-done { background: #f0fdfa; border-color: #99f6e4; }
.mx-row.is-done .mx-row-name { color: #64748b; }
.mx-row.is-next { border: 1.5px solid #fbbf24; background: #fffbeb; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18); }
.mx-row-done { display: flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: 10px; font-weight: 800; color: #0f766e; }
.mx-row-next { flex-shrink: 0; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: #78350f; background: #fde68a; border-radius: 4px; padding: 2px 8px; }
.mx-boost-badge { flex-shrink: 0; font-size: 8.5px; font-weight: 800; color: #fde68a; background: #0f172a; border-radius: 3px; padding: 1px 7px; }
.mx-boost-badge i { color: #fbbf24; font-size: 8px; }

@media (prefers-reduced-motion: reduce) {
  .next-hero-shine::before, .next-hero-left.tick, .next-hero.is-boost { animation: none; }
  .goal-fill { transition: none; }
}
