/* ============================================================
   OVA VIDEO INTERACTIVO – ESTILOS PRINCIPALES
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a1a url('../assets/background.jpg') center/cover no-repeat fixed;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ---------- Franja blanca para logo ---------- */
.logo-strip {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.logo-strip--compact {
  padding: 0.8rem 1rem;
  border-radius: 20px 20px 0 0;
  margin-bottom: 0;
}

.logo-strip__img {
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.logo-strip__img--xlarge {
  height: 90px;
}

.logo-strip__img--large {
  height: 70px;
}

.logo-strip__img--medium {
  height: 50px;
}

/* Logo en HUD del player */
.app-logo--hud {
  display: block;
  height: 30px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  margin: 0;
  flex-shrink: 0;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
}

/* ---------- VISTAS (sistema de pantallas) ---------- */
.view {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.view--active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* ============================================================
   LOGIN
   ============================================================ */
#login {
  background: linear-gradient(135deg, rgba(10, 10, 46, 0.6) 0%, rgba(13, 27, 62, 0.5) 50%, rgba(10, 10, 46, 0.6) 100%);
}

.login__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0, 188, 212, 0.08) 0%, transparent 60%);
  z-index: 1;
}

.login__container {
  position: relative;
  z-index: 2;
  max-width: 440px;
  width: 92%;
  border-radius: 24px;
  overflow: hidden;
  animation: scaleIn 0.6s ease forwards;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.login__card {
  background: rgba(20, 20, 60, 0.9);
  padding: 2rem 2.5rem 2rem;
  text-align: center;
}

.login__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login__subtitle {
  font-size: 0.9rem;
  color: #90a4ae;
  margin-bottom: 1.8rem;
}

.login__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login__field {
  position: relative;
}

.login__input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login__input::placeholder {
  color: #607d8b;
}

.login__input:focus {
  border-color: rgba(0, 188, 212, 0.5);
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.15);
}

.login__error {
  font-size: 0.85rem;
  color: #ef9a9a;
  min-height: 1.2em;
  transition: opacity 0.3s ease;
}

.login__error:empty {
  opacity: 0;
}

.login__btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7b2ff7, #00d4ff);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(123, 47, 247, 0.35);
}

.login__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 247, 0.5);
}

.login__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login__user-info {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.4s ease forwards;
}

.login__welcome {
  font-size: 1rem;
  color: #b2ebf2;
  margin-bottom: 0.3rem;
}

.login__welcome strong {
  color: #00e5ff;
}

.login__attempts {
  font-size: 0.9rem;
  color: #90a4ae;
}

.login__attempts strong {
  color: #ffd740;
}

/* ============================================================
   PORTADA
   ============================================================ */
#cover {
  background: transparent;
}

.cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 40, 0.6) 0%,
    rgba(10, 10, 40, 0.35) 50%,
    rgba(10, 10, 40, 0.6) 100%
  );
  z-index: 1;
}

.cover__container {
  position: relative;
  z-index: 2;
  max-width: 650px;
  width: 92%;
  border-radius: 24px;
  overflow: hidden;
  animation: fadeInUp 1s ease forwards;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cover__content {
  text-align: center;
  padding: 2rem 2.5rem 2.5rem;
  background: rgba(10, 10, 40, 0.75);
}

.cover__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cover__subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #b0bec5;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cover__description {
  font-size: 1.05rem;
  font-weight: 300;
  color: #cfd8dc;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cover__btn {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7b2ff7, #00d4ff);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 25px rgba(123, 47, 247, 0.4);
}

.cover__btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 35px rgba(123, 47, 247, 0.6);
}

.cover__btn:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================================
   PLAYER
   ============================================================ */
#player {
  background: rgba(0, 0, 0, 0.92);
}

.player__wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
}

/* ----- HUD (score & progreso) ----- */
.player__hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(15, 15, 35, 0.9);
  border-radius: 12px 12px 0 0;
}

.hud__progress {
  font-size: 0.9rem;
  color: #90a4ae;
  font-weight: 500;
}

.hud__score {
  font-size: 1rem;
  font-weight: 600;
  color: #ffd740;
}

.hud__score-icon {
  margin-right: 0.25rem;
}

/* ----- Contenedor de video ----- */
.player__video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.player__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ----- Overlay de pregunta ----- */
.player__question-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 100;
  overflow-y: auto;
}

.player__question-overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* Variante clara del overlay */
.player__question-overlay--light {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

/* ----- Tarjeta de pregunta ----- */
.question-card {
  background: rgba(20, 20, 50, 0.97);
  border: 1px solid rgba(123, 47, 247, 0.3);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  animation: scaleIn 0.4s ease forwards;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.question-card__header {
  margin-bottom: 1rem;
}

.question-card__badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
}

.question-card__text {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #eceff1;
}

.question-card__answers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ----- Botones de respuesta ----- */
.answer-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.answer-btn:hover {
  background: rgba(123, 47, 247, 0.15);
  border-color: rgba(123, 47, 247, 0.5);
  transform: translateX(4px);
}

.answer-btn--correct {
  background: rgba(0, 188, 212, 0.3) !important;
  border-color: #00bcd4 !important;
  color: #fff !important;
  font-weight: 700 !important;
  transform: scale(1.04) !important;
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.5), inset 0 0 10px rgba(0, 188, 212, 0.15) !important;
  pointer-events: none;
  animation: correctPulseBtn 0.8s ease 2 !important;
}

.answer-btn--incorrect {
  background: rgba(244, 67, 54, 0.25) !important;
  border-color: #f44336 !important;
  color: #ef9a9a !important;
  pointer-events: none;
}

.answer-btn--disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* ----- Overlay de feedback ----- */
.player__feedback-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 101;
}

.player__feedback-overlay--visible {
  opacity: 1;
  visibility: visible;
}

.feedback {
  text-align: center;
  position: relative;
}

.feedback__icon {
  font-size: 6rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.feedback__text {
  font-size: 1.6rem;
  font-weight: 700;
}

.feedback__points {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0.3rem;
  opacity: 0;
}

/* --- Correcto: temática agua --- */
.feedback--correct .feedback__icon {
  color: #00bcd4;
  filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.6));
}

.feedback--correct .feedback__text {
  color: #b2ebf2;
  text-shadow: 0 0 12px rgba(0, 188, 212, 0.4);
}

.feedback--correct .feedback__points {
  color: #00e5ff;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
}

/* --- Incorrecto --- */
.feedback--incorrect .feedback__icon {
  color: #f44336;
  filter: drop-shadow(0 0 10px rgba(244, 67, 54, 0.4));
}

.feedback--incorrect .feedback__text {
  color: #ef9a9a;
}

/* --- Onda de agua (anillo expansivo) --- */
.water-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 3px solid rgba(0, 188, 212, 0.6);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: waterRingExpand 1.2s ease-out forwards;
}

/* --- Gotas de agua (partículas temáticas) --- */
.water-drop {
  position: absolute;
  pointer-events: none;
  font-size: 1.4rem;
  opacity: 0;
  animation: waterDropFall 1.2s ease-in forwards;
}

/* --- Flotante de +puntos sobre HUD --- */
.hud__float-points {
  position: absolute;
  right: 0;
  top: -5px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  pointer-events: none;
  animation: floatPointsUp 1.2s ease-out forwards;
  white-space: nowrap;
}

.hud__score {
  position: relative;
}

/* ----- Controles de video ----- */
.player__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(15, 15, 35, 0.95);
  border-radius: 0 0 12px 12px;
}

.controls__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  color: #cfd8dc;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.controls__btn:hover {
  background: rgba(123, 47, 247, 0.3);
  color: #fff;
}

.controls__time {
  font-size: 0.8rem;
  color: #90a4ae;
  white-space: nowrap;
  min-width: 90px;
}

.controls__progress-bar {
  position: relative;
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: default;
  pointer-events: none;
  overflow: visible;
}

.controls__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7b2ff7, #00d4ff);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.controls__interaction-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.interaction-marker {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #ffd740;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(255, 215, 64, 0.6);
}

.interaction-marker--done {
  background: #4caf50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

/* ============================================================
   RESUMEN FINAL
   ============================================================ */
#summary {
  background: linear-gradient(135deg, rgba(10, 10, 46, 0.6) 0%, rgba(26, 26, 62, 0.55) 100%);
  overflow-y: auto;
  padding: 1.5rem 0;
}

.summary__card {
  background: rgba(20, 20, 60, 0.85);
  border: 1px solid rgba(123, 47, 247, 0.2);
  border-radius: 24px;
  overflow: hidden;
  max-width: 550px;
  width: 92%;
  text-align: center;
  animation: scaleIn 0.6s ease forwards;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.summary__card > *:not(.logo-strip) {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.summary__card > .summary__details {
  padding-left: 2rem;
  padding-right: 2rem;
}

.summary__card > .summary__btn {
  margin: 0 2.5rem 2.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.summary__user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00e5ff;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.summary__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summary__stars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.summary__star {
  font-size: 2.8rem;
  color: #37474f;
  transition: color 0.4s ease, transform 0.4s ease;
}

.summary__star--filled {
  color: #ffd740;
  text-shadow: 0 0 15px rgba(255, 215, 64, 0.5);
}

.summary__star--half {
  position: relative;
  color: #37474f;
}

.summary__star--half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #ffd740;
  text-shadow: 0 0 15px rgba(255, 215, 64, 0.5);
}

.summary__score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.summary__score-value {
  font-size: 3rem;
  font-weight: 800;
  color: #00d4ff;
}

.summary__score-separator {
  font-size: 1.5rem;
  color: #546e7a;
}

.summary__score-total {
  font-size: 1.5rem;
  font-weight: 600;
  color: #90a4ae;
}

.summary__score-label {
  font-size: 0.9rem;
  color: #78909c;
  margin-left: 0.3rem;
}

.summary__percentage {
  font-size: 1.2rem;
  font-weight: 600;
  color: #b0bec5;
  margin-bottom: 2rem;
}

.summary__details {
  margin-bottom: 2rem;
  text-align: left;
}

.summary__detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.summary__detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.summary__detail-icon--correct {
  color: #4caf50;
}

.summary__detail-icon--incorrect {
  color: #f44336;
}

.summary__detail-question {
  color: #cfd8dc;
  flex: 1;
}

.summary__btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7b2ff7, #00d4ff);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(123, 47, 247, 0.35);
}

.summary__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 247, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .logo-strip__img--xlarge { height: 70px; }
  .logo-strip__img--large { height: 55px; }
  .logo-strip__img--medium { height: 40px; }
  .logo-strip { padding: 0.9rem 1rem; }

  .login__card {
    padding: 1.5rem 1.5rem;
  }

  .login__title {
    font-size: 1.3rem;
  }

  .cover__content {
    padding: 1.5rem 1.5rem 2rem;
  }

  .cover__title {
    font-size: 2rem;
  }

  .cover__subtitle {
    font-size: 0.95rem;
  }

  .cover__description {
    font-size: 0.9rem;
  }

  .question-card {
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
  }

  .question-card__text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .question-card__header {
    margin-bottom: 0.7rem;
  }

  .answer-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }

  .summary__card > *:not(.logo-strip) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .summary__card > .summary__btn {
    margin: 0 1.5rem 1.5rem;
  }

  .summary__user-name {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    padding-top: 0.8rem;
  }

  .summary__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .summary__stars {
    gap: 0.3rem;
    margin-bottom: 0.8rem;
  }

  .summary__star {
    font-size: 2rem;
  }

  .summary__score {
    margin-bottom: 0.3rem;
  }

  .summary__score-value {
    font-size: 2rem;
  }

  .summary__score-separator {
    font-size: 1.1rem;
  }

  .summary__score-total {
    font-size: 1.1rem;
  }

  .summary__percentage {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .summary__details {
    margin-bottom: 1rem;
  }

  .summary__detail-item {
    padding: 0.4rem 0;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .summary__detail-icon {
    font-size: 1rem;
    width: 22px;
  }
}

@media (max-width: 480px) {
  .logo-strip__img--xlarge { height: 55px; }
  .logo-strip__img--large { height: 45px; }
  .logo-strip__img--medium { height: 35px; }
  .logo-strip { padding: 0.7rem 0.8rem; }

  .login__container,
  .cover__container,
  .summary__card {
    width: 96%;
  }

  .cover__title {
    font-size: 1.6rem;
  }

  .cover__content {
    padding: 1.2rem 1rem 1.5rem;
  }

  .login__card {
    padding: 1.2rem 1rem;
  }

  .player__question-overlay {
    padding: 0.5rem;
  }

  .question-card {
    padding: 1.2rem 0.9rem;
    border-radius: 14px;
    max-height: 92vh;
  }

  .question-card__badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
  }

  .question-card__text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .question-card__answers {
    gap: 0.5rem;
  }

  .answer-btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
  }

  .feedback__icon {
    font-size: 4rem;
  }

  .feedback__text {
    font-size: 1.2rem;
  }

  .summary__card > *:not(.logo-strip) {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .summary__card > .summary__btn {
    margin: 0 1rem 1.2rem;
  }

  .summary__user-name {
    font-size: 0.85rem;
    padding-top: 0.6rem;
  }

  .summary__title {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }

  .summary__stars {
    margin-bottom: 0.6rem;
  }

  .summary__star {
    font-size: 1.6rem;
  }

  .summary__score-value {
    font-size: 1.7rem;
  }

  .summary__score-separator,
  .summary__score-total {
    font-size: 0.95rem;
  }

  .summary__score-label {
    font-size: 0.75rem;
  }

  .summary__percentage {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
  }

  .summary__details {
    margin-bottom: 0.8rem;
  }

  .summary__detail-item {
    padding: 0.35rem 0;
    font-size: 0.75rem;
    gap: 0.4rem;
  }

  .summary__detail-icon {
    font-size: 0.9rem;
    width: 20px;
  }

  .summary__btn {
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
  }

  .player__hud {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .player__controls {
    padding: 0.4rem 0.5rem;
    gap: 0.4rem;
  }

  .controls__time {
    font-size: 0.7rem;
    min-width: 70px;
  }
}
