/* FutureIN Gamification Styles — Mascot Companion, Streaks, Live Badges & Celebrations */

:root {
  --fin-gold: #ffc93c;
  --fin-fire: #ff6b4a;
  --fin-violet: #8338ec;
  --fin-blue: #3aa8f0;
  --fin-green: #36c46b;
}

/* ---------- 1. Top HUD: Streak, Multiplier & Live Badges ---------- */
.fin-hud-wrap {
  width: 100%;
  max-width: 780px;
  margin: 4px auto 6px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(155, 107, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(47, 42, 74, 0.05);
  backdrop-filter: blur(8px);
  animation: finFadeIn 0.35s ease-out;
  position: relative;
  z-index: 10;
}

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

/* Row 1: Streak Flame & Combo Multiplier Bar */
.fin-hud-streak-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  padding: 2px 4px;
  border-radius: 999px;
  box-shadow: none;
  flex: 1 1 250px;
  min-width: 0;
}

.fin-hud-streak-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 2.1vw, 15px);
  color: #1e1338;
  white-space: nowrap;
}

.fin-hud-flame {
  font-size: 1.25em;
  display: inline-block;
  animation: finFlamePulse 1.2s infinite alternate;
  filter: drop-shadow(0 2px 4px rgba(255, 107, 74, 0.35));
}

@keyframes finFlamePulse {
  0% { transform: scale(1) rotate(-3deg); }
  100% { transform: scale(1.16) rotate(3deg); }
}

.fin-hud-multiplier {
  background: linear-gradient(135deg, #ffc93c, #ff8a2a);
  color: #1e1338;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(255, 138, 42, 0.28);
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: transform 0.2s, background 0.3s;
}

.fin-hud-multiplier.super {
  background: linear-gradient(135deg, #ff007f, #7928ca, #ffc93c);
  color: #fff;
  animation: finSuperPulse 0.9s infinite alternate;
}

@keyframes finSuperPulse {
  0% { transform: scale(1); box-shadow: 0 2px 8px rgba(255, 0, 127, 0.45); }
  100% { transform: scale(1.06); box-shadow: 0 4px 14px rgba(255, 0, 127, 0.7); }
}

.fin-hud-meter {
  flex: 1;
  min-width: 48px;
  max-width: 140px;
  height: 7px;
  background: #eee6ff;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.fin-hud-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffc93c, #ff6b4a);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Row 2: Live Badges in Play / Quest Ribbon */
.fin-hud-badges-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  flex: 0 1 auto;
  padding: 0;
}

.fin-quest-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ffffff;
  border: 1.5px solid #dfd6f3;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #3b2d5a;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.fin-quest-chip.active {
  border-color: #36c46b;
  background: #f0fff4;
  color: #145a2b;
}

.fin-quest-chip.unlocked {
  border-color: #ffc93c;
  background: linear-gradient(135deg, #fff9e6, #fff0c2);
  color: #7a5000;
  box-shadow: 0 2px 8px rgba(255, 201, 60, 0.4);
  animation: finBadgeChipGlow 1.5s infinite alternate;
}

.fin-quest-chip.failed {
  opacity: 0.5;
  text-decoration: line-through;
}

@keyframes finBadgeChipGlow {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); border-color: #ff9a3c; }
}

.fin-quest-icon {
  font-size: 1.25em;
  line-height: 1;
}

.fin-quest-status {
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-weight: 800;
}

.fin-quest-chip.unlocked .fin-quest-status {
  background: #ffc93c;
  color: #000;
}

/* ---------- 2. Interactive Robot Mascot Companion ("Sparky") ---------- */
.fin-mascot-dock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fin-mascot-avatar {
  width: clamp(75px, 12vw, 100px);
  height: clamp(75px, 12vw, 100px);
  cursor: pointer;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: finMascotIdle 3s ease-in-out infinite;
}

.fin-mascot-avatar:hover {
  transform: scale(1.1) rotate(4deg);
}

.fin-mascot-avatar:active {
  transform: scale(0.92) rotate(-3deg);
}

@keyframes finMascotIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

.fin-mascot-avatar.jump {
  animation: finMascotJumpAnim 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes finMascotJumpAnim {
  0% { transform: scale(1) translateY(0); }
  35% { transform: scale(1.18, 0.85) translateY(10px); }
  60% { transform: scale(0.95, 1.15) translateY(-32px) rotate(-6deg); }
  85% { transform: scale(1.05) translateY(-5px) rotate(2deg); }
  100% { transform: scale(1) translateY(0); }
}

.fin-mascot-avatar.wobble {
  animation: finMascotWobble 0.6s ease-in-out;
}

@keyframes finMascotWobble {
  20%, 60% { transform: translateX(-8px) rotate(-5deg); }
  40%, 80% { transform: translateX(8px) rotate(5deg); }
  100% { transform: translateX(0); }
}

/* Mascot Speech Bubble */
.fin-mascot-bubble {
  position: relative;
  background: #ffffff;
  color: #1e1338;
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-size: clamp(12px, 2.2vw, 14px);
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 14px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 0 0 2.5px #ffc93c;
  max-width: clamp(180px, 32vw, 260px);
  text-align: left;
  animation: finBubblePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fin-mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 28px;
  border-width: 9px 8px 0 8px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

@keyframes finBubblePop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Mascot SVG Elements */
.fin-mascot-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
  .fin-mascot-dock {
    bottom: 12px;
    right: 12px;
  }
  .fin-mascot-bubble {
    max-width: 190px;
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* ---------- 3. Mid-Quiz Live Badge Unlock Banner ---------- */
.fin-badge-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1f0e4a, #2a0845);
  color: #fff;
  border: 3px solid #ffc93c;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 201, 60, 0.6);
  font-family: 'Fredoka', 'Lexend', sans-serif;
  animation: finBadgeDropIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

@keyframes finBadgeDropIn {
  from { transform: translate(-50%, -80px) scale(0.7); opacity: 0; }
  to { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

.fin-badge-toast-icon {
  font-size: 2em;
  filter: drop-shadow(0 2px 8px rgba(255, 201, 60, 0.8));
  animation: finIconSpin 0.6s ease;
}

@keyframes finIconSpin {
  0% { transform: rotate(-30deg) scale(0.5); }
  60% { transform: rotate(15deg) scale(1.3); }
  100% { transform: rotate(0) scale(1); }
}

.fin-badge-toast-content h4 {
  margin: 0;
  font-size: clamp(14px, 2.8vw, 17px);
  color: #ffc93c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fin-badge-toast-content p {
  margin: 2px 0 0;
  font-size: clamp(12px, 2.2vw, 14px);
  color: #f0e6ff;
  font-weight: 500;
}

/* ---------- 4. Canvas Confetti Overlay ---------- */
.fin-confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- 5. Finish Screen Badges Showcase ---------- */
.fin-badges-section {
  width: 100%;
  max-width: 680px;
  margin: 20px auto 0;
  text-align: center;
}

.fin-badges-title {
  font-family: 'Fredoka', 'Lexend', sans-serif;
  font-size: clamp(20px, 3.8vw, 26px);
  font-weight: 700;
  color: #ffc93c;
  margin: 0 0 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fin-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  justify-content: center;
}

.fin-badge-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 230, 255, 0.9));
  color: #1e1338;
  border: 3px solid #ffc93c;
  border-radius: 20px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: finBadgeUnlock 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.fin-badge-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 32px rgba(255, 201, 60, 0.35);
}

.fin-badge-icon {
  font-size: clamp(34px, 7vw, 44px);
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.fin-badge-name {
  font-family: 'Fredoka', 'Lexend', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 2.4vw, 15px);
  color: #2b1f47;
  margin: 0;
  line-height: 1.2;
}

.fin-badge-desc {
  font-size: 11px;
  color: #6a5a87;
  margin: 0;
  line-height: 1.25;
  font-weight: 500;
}

.fin-badge-tag {
  display: inline-block;
  background: #36c46b;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}

@keyframes finBadgeUnlock {
  0% { transform: scale(0.2) rotate(-15deg); opacity: 0; }
  60% { transform: scale(1.18) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ---------- "Did You Know?" Micro-Learning Card (Disabled to reduce screen clutter) ---------- */
.fin-dyk-card {
  display: none !important;
}

/* ---------- 7. TTS Active Speaking Glow & Audio Wave (Phase 2) ---------- */
.fin-speaking {
  animation: finSpeakingPulse 0.8s infinite alternate !important;
  border-color: #3aa8f0 !important;
  box-shadow: 0 0 22px rgba(58, 168, 240, 0.45) !important;
}

@keyframes finSpeakingPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.025); }
}

.say.fin-speaking-btn {
  animation: finBtnBounce 0.5s infinite alternate !important;
  background: #23974f !important;
  box-shadow: 0 0 16px rgba(35, 151, 79, 0.7), 0 5px 0 #1b743c !important;
}

@keyframes finBtnBounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-4px) scale(1.12); }
}

/* Auto-Read Toggle Button */
.fin-autoread-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 2px solid #bfe6ff;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(11px, 2vw, 13px);
  font-weight: 700;
  color: #1e1338;
  cursor: pointer;
  box-shadow: 0 3px 0 #bfe6ff;
  transition: all 0.2s ease;
}

.fin-autoread-btn:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
}

.fin-autoread-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

.fin-autoread-btn.on {
  border-color: #36c46b;
  background: #f0fff4;
  color: #145a2b;
  box-shadow: 0 3px 0 #289b53;
}

/* ---------- 8. Diagram & Image Zoom Inspection (Phase 2) ---------- */
.prompt-img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prompt-img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.fin-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(14, 0, 44, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: finFadeIn 0.25s ease;
  cursor: zoom-out;
}

.fin-zoom-content {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  max-width: min(540px, 92vw);
  max-height: 85vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 4px #ffc93c;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: finCardPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fin-zoom-content svg, .fin-zoom-content img {
  width: 100%;
  height: auto;
  max-height: 55vh;
  display: block;
}

.fin-zoom-close {
  background: #ff6b9a;
  color: #ffffff;
  border: none;
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 0 #d6457a;
}

/* ---------- 9. Responsive Compact Kids Dock on Mobile ---------- */
@media (max-width: 640px) {
  .fin-hud-wrap {
    padding: 7px 10px;
    gap: 6px;
    border-radius: 16px;
  }
  .fin-hud-badges-row {
    width: 100%;
    justify-content: space-between;
  }
  .fin-hud-badges-row #chipSpeedStar {
    display: none;
  }
  .fin-quest-chip, .fin-autoread-btn {
    font-size: 11px;
    padding: 4px 8px;
  }
  .fin-mascot-dock {
    bottom: 8px;
    right: 8px;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
  }
  .fin-mascot-avatar {
    width: 56px;
    height: 56px;
    pointer-events: auto;
  }
  .fin-mascot-bubble {
    max-width: 170px;
    font-size: 11px;
    padding: 6px 10px;
    margin-bottom: 6px;
    border-radius: 14px;
    pointer-events: auto;
  }
  .fin-mascot-bubble::after {
    display: none;
  }
}

/* ---------- 10. Mature Scholar Mode (Year 7 - Year 12) ---------- */
html[data-stage="teen"] .fin-mascot-dock {
  display: none !important;
}

.fin-hud-wrap.fin-teen {
  max-width: 840px;
  margin: 0 auto 8px;
  padding: 8px 14px;
  background: var(--card, #ffffff);
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

.fin-hud-wrap.fin-teen .fin-hud-streak-pill {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.fin-hud-wrap.fin-teen .fin-hud-flame {
  animation: none;
  filter: none;
  font-size: 1.05em;
  color: var(--indigo, var(--blue, #4f46e5));
}

.fin-hud-wrap.fin-teen .fin-hud-meter {
  background: rgba(148, 163, 184, 0.22);
  height: 6px;
}

.fin-hud-wrap.fin-teen .fin-hud-meter-fill {
  background: linear-gradient(90deg, var(--indigo, var(--blue, #4f46e5)), #10b981);
}

.fin-hud-wrap.fin-teen .fin-hud-multiplier {
  background: var(--bg1, #eef2ff);
  color: var(--ink, #1e293b);
  border: 1px solid var(--border, #cbd5e1);
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
}

.fin-hud-wrap.fin-teen .fin-hud-multiplier.super {
  background: #0f172a;
  color: #f8fafc;
  border-color: #334155;
  animation: none;
  box-shadow: none;
}

.fin-hud-wrap.fin-teen .fin-quest-chip {
  background: var(--bg1, #f8fafc);
  border: 1px solid var(--border, #cbd5e1);
  color: var(--ink, #334155);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  box-shadow: none;
}

.fin-hud-wrap.fin-teen .fin-quest-chip.active {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.09);
  color: #047857;
}

.fin-hud-wrap.fin-teen .fin-quest-chip.unlocked {
  border-color: rgba(79, 70, 229, 0.45);
  background: rgba(79, 70, 229, 0.1);
  color: var(--indigo, var(--blue, #4338ca));
  animation: none;
  box-shadow: none;
}

.fin-hud-wrap.fin-teen .fin-quest-chip.unlocked .fin-quest-status {
  background: var(--indigo, var(--blue, #4f46e5));
  color: #fff;
}

.fin-hud-wrap.fin-teen .fin-quest-chip.failed {
  opacity: 0.78;
  text-decoration: none;
}

.fin-hud-wrap.fin-teen .fin-autoread-btn {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg1, #f8fafc);
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 8px;
  color: var(--ink, #1e293b);
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
}

.fin-hud-wrap.fin-teen .fin-autoread-btn.on {
  border-color: var(--indigo, var(--blue, #4f46e5));
  background: rgba(79, 70, 229, 0.1);
  color: var(--indigo, var(--blue, #3730a3));
  box-shadow: none;
}

.fin-badge-toast.fin-teen {
  background: #0f172a;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.32);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  padding: 10px 18px;
}

.fin-badge-toast.fin-teen .fin-badge-toast-icon {
  font-size: 1.4em;
  filter: none;
  animation: none;
}

.fin-badge-toast.fin-teen .fin-badge-toast-content h4 {
  color: #38bdf8;
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: 0;
}

.fin-badge-toast.fin-teen .fin-badge-toast-content p {
  font-size: 12.5px;
  color: #cbd5e1;
}

.fin-badges-section.fin-teen .fin-badges-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--ink, #0f172a);
  text-shadow: none;
  font-size: 18px;
  margin-bottom: 12px;
}

.fin-badges-section.fin-teen .fin-badge-card {
  background: var(--card, #ffffff);
  border: 1.5px solid var(--border, #cbd5e1);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  color: var(--ink, #0f172a);
  padding: 14px 12px;
}

.fin-badges-section.fin-teen .fin-badge-icon {
  font-size: 24px;
  filter: none;
}

.fin-badges-section.fin-teen .fin-badge-name {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--ink, #0f172a);
  font-size: 14px;
}

.fin-badges-section.fin-teen .fin-badge-desc {
  color: var(--soft, #64748b);
}

.fin-badges-section.fin-teen .fin-badge-tag {
  background: var(--bg1, #eef2ff);
  color: var(--indigo, var(--blue, #4338ca));
  border-radius: 6px;
}

html[data-stage="teen"][data-theme="dark"] .fin-hud-wrap.fin-teen,
html[data-stage="teen"][data-theme="dark"] .fin-badges-section.fin-teen .fin-badge-card {
  background: #161f33;
  border-color: #2a3754;
  color: #f8fafc;
}

@media (prefers-color-scheme: dark) {
  html[data-stage="teen"]:not([data-theme="light"]) .fin-hud-wrap.fin-teen,
  html[data-stage="teen"]:not([data-theme="light"]) .fin-badges-section.fin-teen .fin-badge-card {
    background: #161f33;
    border-color: #2a3754;
    color: #f8fafc;
  }
  html[data-stage="teen"]:not([data-theme="light"]) .fin-hud-wrap.fin-teen .fin-quest-chip,
  html[data-stage="teen"]:not([data-theme="light"]) .fin-hud-wrap.fin-teen .fin-autoread-btn,
  html[data-stage="teen"]:not([data-theme="light"]) .fin-hud-wrap.fin-teen .fin-hud-multiplier {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
  }
  html[data-stage="teen"]:not([data-theme="light"]) .fin-hud-wrap.fin-teen .fin-quest-chip.active {
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
  }
  html[data-stage="teen"]:not([data-theme="light"]) .fin-badges-section.fin-teen .fin-badge-name {
    color: #f8fafc;
  }
  html[data-stage="teen"]:not([data-theme="light"]) .fin-badges-section.fin-teen .fin-badge-desc {
    color: #94a3b8;
  }
}
