/* Canta, Cita o Actúa: all selectors are scoped to avoid Astra/theme collisions. */
.ccc-game,
.ccc-game * { box-sizing: border-box; }
.ccc-game {
  --ccc-blue: #22549d;
  --ccc-green: #29ac3d;
  --ccc-pink: #ec0875;
  --ccc-purple: #85199d;
  --ccc-black: #151515;
  width: 100%;
  min-width: 0;
  padding: clamp(10px, 2vw, 18px) 12px 42px;
  background: #fff;
  color: var(--ccc-black);
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  overflow: hidden;
}
.ccc-game__content { width: 100%; max-width: 460px; margin: 0 auto; }
.ccc-game__wheel-container {
  position: relative;
  width: min(100%, 410px);
  margin: 0 auto;
  padding-top: 12px;
}
.ccc-game__pointer {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
  border-top: 29px solid #080808;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.12));
}
.ccc-game__wheel {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  padding: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 15px rgba(0,0,0,.18);
}
.ccc-game__disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(
    from -60deg,
    var(--ccc-green) 0deg 120deg,
    var(--ccc-pink) 120deg 240deg,
    var(--ccc-blue) 240deg 360deg
  );
  transform: rotate(0deg);
  transition: transform 4.2s cubic-bezier(.13,.7,.12,1);
  will-change: transform;
}
.ccc-game__icon {
  position: absolute;
  z-index: 1;
  width: 23%;
  height: 23%;
  display: block;
  color: white;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ccc-game__icon svg,
.ccc-game__icon img { display: block; width: 100%; height: 100%; color: white; object-fit: contain; }
.ccc-game__icon--cita { left: 50%; top: 28%; }
.ccc-game__icon--actua { left: 72%; top: 65%; width: 24%; height: 24%; }
.ccc-game__icon--canta { left: 27%; top: 65%; }
.ccc-game__hub {
  position: absolute;
  z-index: 2;
  width: 15%; height: 15%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
}
.ccc-game__result {
  min-height: 1.35em;
  margin: clamp(12px, 3vw, 24px) 0 12px;
  color: #1e1e1e;
  font-size: clamp(31px, 7vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .1px;
}
.ccc-game__exclaim { color: var(--ccc-pink); }
.ccc-game .ccc-game__spin {
  display: block;
  width: min(76%, 285px);
  min-height: 69px;
  margin: 0 auto;
  padding: 13px 18px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  background: var(--ccc-purple);
  font: 800 25px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 4px;
  text-align: center;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}
.ccc-game .ccc-game__spin:hover,
.ccc-game .ccc-game__spin:focus-visible { color: #fff; background: #71148a; }
.ccc-game .ccc-game__spin:disabled { color: #fff; background: #9a79a3; cursor: wait; }
.ccc-game button:focus-visible { outline: 3px solid #22549d; outline-offset: 4px; }
.ccc-game__timer {
  margin: 28px auto 0;
  padding: 15px 18px 18px;
  max-width: 330px;
  border-radius: 16px;
  border: 1px solid #eee7f1;
  background: #faf9fc;
}
.ccc-game__timer-heading {
  color: #65586d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.ccc-game__clock {
  margin: 6px 0 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ccc-black);
  font-size: 39px;
  font-weight: 800;
  line-height: 1.1;
}
.ccc-game__timer-buttons { display: flex; justify-content: center; gap: 10px; }
.ccc-game .ccc-game__timer-buttons button {
  min-width: 0;
  flex: 1;
  padding: 10px 7px;
  border: 1px solid var(--ccc-purple);
  border-radius: 10px;
  background: var(--ccc-purple);
  color: #fff;
  font: 800 12px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: none;
}
.ccc-game .ccc-game__timer-buttons .ccc-game__reset {
  color: var(--ccc-purple);
  background: #fff;
}
.ccc-game__timer-status:empty { display: none; }
.ccc-game__timer-status { margin-top: 9px; color: #71148a; font-size: 12px; font-weight: 700; }
@media (max-width: 480px) {
  .ccc-game { padding: 10px 8px 30px; }
    .ccc-game__wheel-container { width: min(100%, 390px); }
  .ccc-game__wheel { padding: 6px; }
  .ccc-game .ccc-game__spin { min-height: 64px; }
  .ccc-game__timer { margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .ccc-game__disc { transition-duration: .01s; }
}
