/* Carnival — animated world + location interiors */

.cv {
  --cv-accent: #f0b429;
  position: relative;
  min-height: calc(100vh - 2.5rem - 58px);
  color: #f4efe6;
  overflow: auto;
  background: #050508;
}

.cv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.05);
  animation: cv-bg-drift 22s ease-in-out infinite alternate;
}

.cv__bg--pan {
  animation: cv-bg-pan 28s linear infinite alternate;
}

.cv__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 8, 0.88) 0%, rgba(5, 5, 8, 0.55) 45%, rgba(5, 5, 8, 0.75) 100%),
    radial-gradient(700px 320px at 70% 20%, color-mix(in srgb, var(--cv-accent) 28%, transparent), transparent 60%);
}

.cv__veil--loc {
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.72) 0%, rgba(5, 5, 8, 0.45) 35%, rgba(5, 5, 8, 0.92) 100%),
    radial-gradient(600px 280px at 50% 0%, color-mix(in srgb, var(--cv-accent) 22%, transparent), transparent 55%);
}

.cv__lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 220, 140, 0.9), transparent),
    radial-gradient(2px 2px at 70% 20%, rgba(255, 180, 80, 0.8), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 85% 60%, rgba(255, 200, 100, 0.85), transparent),
    radial-gradient(2px 2px at 15% 80%, rgba(255, 160, 60, 0.75), transparent);
  background-size: 100% 100%;
  animation: cv-twinkle 3.5s ease-in-out infinite;
  opacity: 0.85;
}

.cv__lights--fast {
  animation-duration: 2.2s;
}

.cv__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.cv__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.cv-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.cv-head__eye {
  margin: 0;
  color: var(--cv-accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.cv-title {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  background: linear-gradient(90deg, #f8fafc, var(--cv-accent) 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cv-title-shine 4s ease-in-out infinite;
}

.cv-head__lead {
  margin: 0;
  max-width: 44ch;
  color: rgba(247, 241, 230, 0.72);
}

.cv-tickets {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--cv-accent) 50%, transparent);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.cv-tickets--pulse {
  animation: cv-ticket-pulse 2.8s ease-in-out infinite;
}

.cv-tickets span {
  grid-row: 1 / span 2;
  font-size: 1.6rem;
}

.cv-tickets b {
  font-size: 1.4rem;
}

.cv-tickets small {
  color: rgba(247, 241, 230, 0.55);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  gap: 0.9rem;
}

.cv-map {
  position: relative;
  min-height: min(64vh, 580px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cv-map--art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  width: 100%;
  max-height: min(82vh, 820px);
  aspect-ratio: auto;
  background: #050508;
  padding: 0;
}

/* Сцена = ровно кадр арта 1024×682; при лимите по высоте сужаем ширину */
.cv-map__stage {
  position: relative;
  width: min(100%, calc(min(82vh, 820px) * 1024 / 682));
  aspect-ratio: 1024 / 682;
  max-height: min(82vh, 820px);
  flex: 0 0 auto;
  overflow: hidden;
}

.cv-map__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  pointer-events: none;
  user-select: none;
  transform: none;
}

.cv-map__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(5, 5, 8, 0.2) 100%);
}

.cv-node {
  appearance: none;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 92px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  z-index: 2;
}

/* Клики по светящимся кольцам карты — без лишних белых точек */
.cv-node--pin {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  gap: 0;
}

.cv-node--pin .cv-node__hit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.cv-node--pin .cv-node__glow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  pointer-events: none;
}

.cv-node--pin:hover .cv-node__glow,
.cv-node--pin.is-sel .cv-node__glow,
.cv-node--pin.is-char .cv-node__glow {
  opacity: 1;
  transform: scale(1.15);
}

.cv-node--pin.is-sel .cv-node__glow {
  animation: cv-ring 1.8s ease-out infinite;
}

.cv-node--pin .cv-node__mark {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.cv-node--m-gold .cv-node__glow {
  border-color: #ffe08a;
  box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.35), 0 0 16px #f0b429;
}

.cv-node--m-purple .cv-node__glow {
  border-color: #e9d5ff;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35), 0 0 16px #a855f7;
}

.cv-node--m-blue .cv-node__glow {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35), 0 0 16px #3b82f6;
}

.cv-node--pin.cv-node--locked .cv-node__mark,
.cv-node--pin.cv-node--unknown .cv-node__mark {
  opacity: 0.95;
}

.cv-map--art .cv-hero {
  width: 40px;
  transform: translate(-50%, -100%);
  z-index: 3;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.65));
}

.cv-node__ring {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--cv-accent) 35%, transparent);
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.cv-node.is-sel .cv-node__ring,
.cv-node--open .cv-node__ring {
  opacity: 1;
  animation: cv-ring 2s ease-out infinite;
}

.cv-node__ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(12, 12, 18, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  z-index: 1;
}

.cv-node:hover .cv-node__ico {
  transform: scale(1.1) translateY(-2px);
}

.cv-node__name {
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  max-width: 10ch;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.cv-node__bar {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.cv-node__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5ddea0, var(--cv-accent));
}

.cv-node--open .cv-node__ico {
  border-color: #5ddea0;
  box-shadow: 0 0 0 4px rgba(93, 222, 160, 0.15), 0 12px 28px rgba(0, 0, 0, 0.45);
  animation: cv-node-bob 2.4s ease-in-out infinite;
}

.cv-node--locked .cv-node__ico {
  filter: grayscale(0.4);
  opacity: 0.7;
}

.cv-node--unknown .cv-node__ico {
  animation: cv-unknown 2.8s ease-in-out infinite;
}

.cv-node--star .cv-node__ico {
  border-color: #a78bfa;
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.3);
}

.cv-node--season .cv-node__ico {
  border-color: var(--cv-accent);
  animation: cv-season 2s ease-in-out infinite;
}

.cv-hero {
  position: absolute;
  transform: translate(-50%, -115%);
  width: 58px;
  z-index: 3;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1), top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6));
}

.cv-hero--bob img {
  animation: cv-hero-bob 2.6s ease-in-out infinite;
  width: 100%;
  display: block;
}

.cv-side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.cv-card {
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.cv-card--live {
  animation: cv-card-in 0.45s ease both;
}

.cv-card--welcome {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--cv-accent) 55%, transparent);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--cv-accent) 12%, transparent), transparent 45%),
    rgba(10, 10, 14, 0.86);
}

.cv-card--blink {
  animation: cv-welcome-blink 1.7s ease-in-out infinite;
}

.cv-card--week {
  border-color: color-mix(in srgb, var(--cv-accent) 70%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cv-accent) 25%, transparent);
}

.cv-tips {
  margin: 0 0 0.85rem;
  padding: 0 0 0 1.05rem;
  display: grid;
  gap: 0.35rem;
  color: rgba(247, 241, 230, 0.78);
  font-size: 0.88rem;
  line-height: 1.4;
}

.cv-tips li::marker {
  color: var(--cv-accent);
}

.cv-week-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cv-accent) 45%, transparent);
  background: color-mix(in srgb, var(--cv-accent) 14%, transparent);
  color: #fff3d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cv-node--pin.is-welcome .cv-node__glow,
.cv-node--pin.is-week .cv-node__glow {
  opacity: 1;
  transform: scale(1.2);
  animation: cv-ring 1.6s ease-out infinite;
}

.cv-node--pin.is-welcome .cv-node__hit {
  box-shadow: 0 0 0 2px color-mix(in srgb, #a855f7 45%, transparent);
}

.cv-node--pin.is-week .cv-node__hit {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cv-accent) 55%, transparent);
}

.cv-card__media {
  position: relative;
  height: 132px;
  overflow: hidden;
}

.cv-card__media-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  animation: cv-bg-pan 24s linear infinite alternate;
  filter: saturate(1.15) brightness(0.78);
}

.cv-card__media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(8, 8, 12, 0.92) 100%),
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--cv-accent) 28%, transparent), transparent 55%);
}

.cv-card__media-ico {
  position: absolute;
  right: 0.85rem;
  bottom: 0.65rem;
  font-size: 2.2rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
  animation: cv-hero-bob 2.8s ease-in-out infinite;
}

.cv-card__body {
  padding: 0.85rem 1.05rem 1.05rem;
}

.cv-card__kicker {
  margin: 0 0 0.35rem;
  color: var(--cv-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.cv-card p {
  margin: 0 0 0.55rem;
  color: rgba(247, 241, 230, 0.72);
  line-height: 1.45;
}

.cv-mood {
  font-style: italic;
  color: rgba(247, 241, 230, 0.5) !important;
}

.cv-loc-stat {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.5rem 0 0.9rem;
}

.cv-loc-stat b {
  font-size: 1.6rem;
  color: var(--cv-accent);
}

.cv-enter {
  width: 100%;
  animation: cv-cta 2.4s ease-in-out infinite;
}

.cv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.78rem;
  color: rgba(247, 241, 230, 0.7);
}

/* Location interior — map with 100 animated points */
.cv__inner--loc {
  max-width: 1280px;
}

.cv-loc-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cv-loc-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
}

.cv-loc-head p {
  margin: 0.2rem 0 0;
  color: rgba(247, 241, 230, 0.65);
  font-size: 0.9rem;
}

.cv-loc-progress {
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.cv-loc-progress__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}

.cv-loc-progress__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cv-loc-progress__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ddea0, var(--cv-accent), #fff3c4);
  box-shadow: 0 0 16px color-mix(in srgb, var(--cv-accent) 50%, transparent);
  transition: width 0.35s ease;
}

.cv-locmap {
  position: relative;
  min-height: min(72vh, 720px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  background: #08080c;
}

.cv-locmap--art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-height: min(78vh, 820px);
  padding: 0;
  background: #050508;
}

.cv-locmap__stage {
  position: relative;
  width: min(100%, calc(min(78vh, 820px) * 1024 / 682));
  max-height: min(78vh, 820px);
  aspect-ratio: 1024 / 682;
  flex: 0 0 auto;
  overflow: hidden;
}

.cv-locmap__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.cv-locmap__art-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 62%, rgba(5, 5, 8, 0.22) 100%);
}

.cv-mp--pin {
  width: 28px;
  height: 28px;
  margin: 0;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 2;
}

.cv-mp--pin .cv-mp__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.15);
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cv-mp--pin .cv-mp__pulse {
  width: 26px;
  height: 26px;
  opacity: 0;
}

.cv-mp--pin.cv-mp--open .cv-mp__dot,
.cv-mp--pin.cv-mp--done .cv-mp__dot,
.cv-mp--pin:hover .cv-mp__dot {
  opacity: 1;
}

.cv-mp--pin.cv-mp--open .cv-mp__dot {
  transform: scale(1.15);
  animation: cv-mp-bob 1.5s ease-in-out infinite;
}

.cv-mp--pin .cv-mp__cost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff8e8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  line-height: 1;
}

.cv-mp--pin.is-broke .cv-mp__dot {
  opacity: 0.7;
  filter: grayscale(0.35);
  border-color: #f87171 !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35), 0 0 10px rgba(248, 113, 113, 0.35) !important;
}

.cv-mp--pin.is-broke .cv-mp__cost {
  color: #fecaca;
}

.cv-locmap--art .cv-locmap__hint {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  z-index: 4;
  max-width: 90%;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(240, 180, 41, 0.35);
  color: rgba(247, 241, 230, 0.85);
  font-size: 0.74rem;
  white-space: nowrap;
}

.cv-mp--pin.cv-mp--open .cv-mp__pulse {
  opacity: 0.55;
}

.cv-mp--pin.cv-mp--done .cv-mp__dot {
  opacity: 0.55;
  filter: grayscale(0.2);
}

.cv-mp--pin.cv-mp--locked .cv-mp__dot,
.cv-mp--pin.cv-mp--unknown .cv-mp__dot {
  opacity: 0;
}

.cv-mp--pin.cv-mp--k-green.cv-mp--open .cv-mp__dot {
  border-color: #86efac;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35), 0 0 14px #22c55e;
}
.cv-mp--pin.cv-mp--k-blue.cv-mp--open .cv-mp__dot {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4), 0 0 14px #3b82f6;
}
.cv-mp--pin.cv-mp--k-purple.cv-mp--open .cv-mp__dot {
  border-color: #d8b4fe;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.4), 0 0 14px #a855f7;
}
.cv-mp--pin.cv-mp--k-red.cv-mp--open .cv-mp__dot {
  border-color: #fca5a5;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4), 0 0 14px #ef4444;
}
.cv-mp--pin.cv-mp--k-orange.cv-mp--open .cv-mp__dot {
  border-color: #fdba74;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.4), 0 0 14px #f97316;
}
.cv-mp--pin.cv-mp--k-gold.cv-mp--open .cv-mp__dot {
  border-color: #fde68a;
  box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.5), 0 0 18px #f0b429;
}

.cv-locmap--art .cv-loc-hero {
  width: 34px;
  z-index: 3;
}

.cv-locmap__bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  animation: cv-bg-pan 26s linear infinite alternate;
  filter: saturate(1.2) contrast(1.08) brightness(0.92);
}

.cv-locmap__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(5, 5, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.35) 0%, transparent 30%, rgba(5, 5, 8, 0.5) 100%);
  pointer-events: none;
}

.cv-locmap__lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 18% 22%, rgba(255, 220, 140, 0.95), transparent),
    radial-gradient(2px 2px at 72% 18%, rgba(255, 180, 80, 0.85), transparent),
    radial-gradient(2px 2px at 44% 68%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(2px 2px at 88% 55%, rgba(255, 200, 100, 0.9), transparent),
    radial-gradient(2px 2px at 12% 78%, rgba(255, 160, 60, 0.8), transparent),
    radial-gradient(2px 2px at 55% 35%, rgba(255, 240, 180, 0.7), transparent);
  animation: cv-twinkle 2.4s ease-in-out infinite;
  opacity: 0.9;
}

.cv-locmap__mist {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(180px 120px at 80% 70%, rgba(8, 8, 14, 0.55), transparent),
    radial-gradient(220px 140px at 20% 30%, rgba(8, 8, 14, 0.4), transparent);
  animation: cv-mist 8s ease-in-out infinite alternate;
}

.cv-locmap__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cv-locmap__route {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.55;
  stroke-dasharray: 1.2 1.4;
  animation: cv-dash 14s linear infinite;
}

.cv-locmap__trail {
  stroke: color-mix(in srgb, var(--cv-accent) 80%, #fff);
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--cv-accent) 55%, transparent));
  stroke-dasharray: 240;
  stroke-dashoffset: 0;
  animation: cv-trail-draw 1.2s ease both;
}

.cv-mp {
  appearance: none;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
}

.cv-mp__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}

.cv-mp__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  background: rgba(10, 10, 16, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
  z-index: 1;
}

.cv-mp__n {
  position: absolute;
  bottom: -11px;
  font-size: 0.55rem;
  font-weight: 800;
  color: rgba(247, 241, 230, 0.55);
  text-shadow: 0 1px 4px #000;
  letter-spacing: 0.02em;
}

.cv-mp--open .cv-mp__dot {
  border-color: #5ddea0;
  background: linear-gradient(145deg, rgba(20, 40, 28, 0.95), rgba(10, 10, 16, 0.95));
  box-shadow: 0 0 0 3px rgba(93, 222, 160, 0.2), 0 0 18px rgba(93, 222, 160, 0.35);
  animation: cv-mp-bob 1.5s ease-in-out infinite;
}

.cv-mp--open .cv-mp__pulse {
  border-color: color-mix(in srgb, var(--cv-accent) 70%, #5ddea0);
  animation: cv-ring 1.6s ease-out infinite;
}

.cv-mp--open:hover .cv-mp__dot {
  transform: scale(1.18);
}

.cv-mp--done .cv-mp__dot {
  border-color: color-mix(in srgb, var(--cv-accent) 65%, #fff);
  opacity: 0.72;
  filter: saturate(0.85);
}

.cv-mp--done .cv-mp__dot::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cv-accent);
  box-shadow: 0 0 8px var(--cv-accent);
}

.cv-mp--locked .cv-mp__dot {
  width: 16px;
  height: 16px;
  border-width: 1px;
  opacity: 0.55;
  background: rgba(0, 0, 0, 0.55);
}

.cv-mp--locked .cv-mp__n {
  display: none;
}

.cv-mp--unknown {
  pointer-events: none;
}

.cv-mp--unknown .cv-mp__dot {
  width: 10px;
  height: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  animation: cv-fog-dot 3s ease-in-out infinite;
}

.cv-mp--unknown .cv-mp__n {
  display: none;
}

.cv-mp--mile.cv-mp--open .cv-mp__dot,
.cv-mp--mile.cv-mp--done .cv-mp__dot {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  border-color: #a78bfa;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.45);
}

.cv-mp.is-pop .cv-mp__dot {
  animation: cv-pt-pop 0.35s ease;
}

.cv-loc-hero {
  position: absolute;
  transform: translate(-50%, -118%);
  width: 48px;
  z-index: 4;
  pointer-events: none;
  transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1), top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.65));
}

.cv-loc-hero img {
  width: 100%;
  display: block;
}

.cv-locmap__hint {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 5;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: rgba(247, 241, 230, 0.75);
  backdrop-filter: blur(6px);
  pointer-events: none;
  animation: cv-hint 3s ease-in-out infinite;
}

.cv-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 95;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #fff3c4, var(--cv-accent));
  color: #14110a;
  font-weight: 800;
  animation: cv-toast 1.5s ease both;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Окно награды после мини-игры точки */
.cv-reward {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 6, 18, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-chal-in 0.22s ease both;
}

.cv-reward__panel {
  width: min(420px, 100%);
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(280px 120px at 80% 100%, rgba(244, 63, 94, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(30, 28, 53, 0.98), rgba(15, 15, 35, 0.98));
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.2);
}

.cv-reward__eye {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a78bfa;
}

.cv-reward__panel h3 {
  margin: 0.4rem 0 0.25rem;
  font-family: var(--font-display, "Russo One", sans-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #a78bfa 55%, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cv-reward__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.75);
}

.cv-reward__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.cv-reward__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(0, 0, 0, 0.28);
  animation: cv-reward-pop 0.35s ease both;
}

.cv-reward__item:nth-child(2) {
  animation-delay: 0.06s;
}
.cv-reward__item:nth-child(3) {
  animation-delay: 0.12s;
}
.cv-reward__item:nth-child(4) {
  animation-delay: 0.18s;
}

.cv-reward__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.25rem;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
}

.cv-reward__item b {
  display: block;
  font-size: 1rem;
  color: #f8fafc;
}

.cv-reward__item small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.55);
}

.cv-reward__cost {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: rgba(251, 113, 133, 0.9);
  font-weight: 700;
}

.cv-reward__ok {
  width: 100%;
  min-height: 48px;
}

@keyframes cv-reward-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-reward,
  .cv-reward__item {
    animation: none !important;
  }
}

/* Испытание · выбор карты */
.cv-chal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(8px);
  animation: cv-chal-in 0.22s ease both;
}
.cv-chal__panel {
  width: min(560px, 100%);
  padding: 1.25rem 1.2rem 1.1rem;
  border-radius: 20px;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(12, 16, 28, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.cv-chal__eye {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.cv-chal__panel h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: 1.45rem;
  color: #f8fafc;
}
.cv-chal__lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.4;
}
.cv-chal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cv-chal__card {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  background: rgba(8, 12, 22, 0.9);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-height: 132px;
  position: relative;
  overflow: hidden;
}
.cv-chal__card:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.2);
}
.cv-chal__card:disabled {
  cursor: default;
}
.cv-chal__card.is-hidden .cv-chal__face {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cv-chal__card.is-hidden .cv-chal__back {
  opacity: 1;
}
.cv-chal__card.is-revealed .cv-chal__back {
  opacity: 0;
  visibility: hidden;
}
.cv-chal__card.is-revealed .cv-chal__face {
  opacity: 1;
  visibility: visible;
  animation: cv-chal-flip 0.45s ease both;
}
.cv-chal__card.is-other {
  opacity: 0.72;
  filter: grayscale(0.25);
}
.cv-chal__card.is-picked {
  opacity: 1;
  filter: none;
  border-color: #f0b429;
  box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.45);
  transform: scale(1.04);
  z-index: 1;
}
.cv-chal__card.is-empty.is-revealed,
.cv-chal__chest.is-empty {
  border-color: rgba(148, 163, 184, 0.55);
}
.cv-chal__card.is-empty.is-picked {
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.35);
}
.cv-chal__card.is-trap.is-revealed,
.cv-chal__chest.is-trap {
  border-color: rgba(244, 63, 94, 0.65);
}
.cv-chal__chest.is-trap .cv-chal__chest-prize small {
  display: block;
  font-size: 0.65rem;
  color: rgba(254, 205, 211, 0.8);
}
.cv-chal__back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #7dd3fc;
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.35), transparent 45%),
    linear-gradient(145deg, #0f172a, #1e3a5f 55%, #0b1220);
  letter-spacing: 0.04em;
  transition: opacity 0.25s ease;
}
.cv-chal__face {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding: 0.95rem 0.7rem;
  min-height: 132px;
  align-content: center;
}
.cv-chal__face b {
  font-size: 1.85rem;
  line-height: 1;
}
.cv-chal__face img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.cv-chal__face strong {
  font-size: 0.92rem;
  color: #f8fafc;
}
.cv-chal__face small {
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.55);
}
@keyframes cv-chal-flip {
  from { transform: rotateY(90deg); opacity: 0; }
  to { transform: rotateY(0); opacity: 1; }
}
@keyframes cv-chal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 520px) {
  .cv-chal__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .cv-chal__card {
    min-height: 118px;
  }
}

.cv-chal--special .cv-chal__panel--wide {
  width: min(720px, 100%);
}
.cv-chal--special .cv-chal__eye {
  color: #fdba74;
}
.cv-chal--special .cv-chal__panel {
  background:
    radial-gradient(520px 200px at 50% 0%, rgba(249, 115, 22, 0.2), transparent 55%),
    rgba(18, 12, 8, 0.96);
  border-color: rgba(249, 115, 22, 0.4);
}
.cv-chal__count {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 237, 213, 0.8);
}
.cv-chal__count b {
  color: #fdba74;
}
.cv-chal__chests {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding: 0.15rem;
}
.cv-chal__chest {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  min-height: 78px;
  padding: 0.45rem;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(60, 32, 12, 0.95), rgba(20, 12, 8, 0.95));
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cv-chal__chest:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(253, 186, 116, 0.7);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}
.cv-chal__chest:disabled {
  cursor: default;
}
.cv-chal__chest.is-picked {
  border-color: #f0b429;
  box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.4);
}
.cv-chal__chest-lid {
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  min-height: 58px;
}
.cv-chal__chest-prize {
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  text-align: center;
  min-height: 58px;
  align-content: center;
}
.cv-chal__chest-prize b {
  font-size: 1.25rem;
  line-height: 1;
}
.cv-chal__chest-prize img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.cv-chal__chest-prize strong {
  font-size: 0.62rem;
  line-height: 1.2;
  color: #f8fafc;
  font-weight: 700;
}
@media (max-width: 640px) {
  .cv-chal__chests {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .cv-chal__chests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Босс · удар по слабому месту */
.cv-chal--boss .cv-chal__panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 200px at 50% 0%, rgba(220, 38, 38, 0.22), transparent 55%),
    rgba(16, 8, 10, 0.97);
  border-color: rgba(248, 113, 113, 0.45);
}
.cv-chal--boss .cv-chal__eye {
  color: #fca5a5;
}
.cv-chal--boss-art .cv-chal__panel {
  width: min(560px, 100%);
  min-height: 520px;
  border-color: rgba(74, 222, 128, 0.35);
  background: #050805;
}
.cv-chal--boss-art .cv-chal__eye {
  color: #86efac;
}
.cv-boss__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}
.cv-boss__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 6, 0.35) 0%, rgba(4, 8, 6, 0.55) 42%, rgba(4, 6, 8, 0.92) 100%),
    radial-gradient(ellipse at 50% 20%, transparent 20%, rgba(0, 0, 0, 0.45) 75%);
  pointer-events: none;
}
.cv-boss__content {
  position: relative;
  z-index: 1;
}
.cv-chal--boss-art .cv-boss__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
}
.cv-chal--boss-art .cv-boss__msg {
  color: #bbf7d0;
}
.cv-chal--boss-art .cv-boss__stats b {
  color: #86efac;
}
.cv-chal--boss-art .cv-boss__hp i {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
}
.cv-chal--boss-art .cv-boss__zone {
  background: linear-gradient(90deg, #16a34a, #a3e635);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.5);
}
.cv-boss__top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0.75rem;
}
.cv-boss__top h3 {
  margin: 0 0 0.35rem;
  text-align: left;
}
.cv-boss__top .cv-chal__lead {
  margin: 0;
  text-align: left;
}
.cv-boss__avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid rgba(248, 113, 113, 0.4);
  animation: cv-boss-pulse 1.4s ease-in-out infinite;
}
.cv-boss__stats {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  color: rgba(254, 226, 226, 0.75);
}
.cv-boss__stats b {
  color: #fecaca;
}
.cv-boss__hp {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}
.cv-boss__hp i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.55);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.cv-boss__hp i.is-gone {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  transform: scale(0.75);
  opacity: 0.45;
}
.cv-boss__track {
  position: relative;
  height: 28px;
  border-radius: 999px;
  margin: 0.4rem 0 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.cv-boss__zone {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dc2626, #f97316);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
}
.cv-boss__needle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: #f8fafc;
  box-shadow: 0 0 10px rgba(255, 248, 234, 0.8);
  border-radius: 2px;
}
.cv-boss__stake {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(253, 224, 71, 0.92);
  font-weight: 600;
}
.cv-boss__msg {
  min-height: 1.3em;
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: #fecaca;
}
.cv-boss__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
@keyframes cv-boss-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Финал локации */
.cv-chal--finale .cv-chal__panel {
  background:
    radial-gradient(520px 200px at 50% 0%, rgba(240, 180, 41, 0.22), transparent 55%),
    rgba(12, 10, 6, 0.97);
  border-color: rgba(240, 180, 41, 0.45);
}
.cv-chal--finale .cv-chal__eye {
  color: #f0b429;
}
.cv-finale__mark {
  font-size: 2rem;
  margin: 0.35rem 0 0.5rem;
}
.cv-finale__welcome {
  margin: 0.75rem 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(240, 180, 41, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.35);
  color: #fff3c4;
  font-size: 1.05rem;
  font-weight: 700;
}
.cv-finale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.cv-chal--onboard .cv-onboard__panel {
  max-width: 420px;
  text-align: center;
}
.cv-onboard__mark {
  font-size: 2.4rem;
  line-height: 1;
  margin: 0.35rem 0 0.55rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}
.cv-onboard__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 1rem 0 1.15rem;
}
.cv-onboard__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.cv-onboard__dots i.is-on {
  background: var(--cv-accent, #f0b429);
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.55);
  transform: scale(1.15);
}
.cv-onboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  align-items: center;
}

.cv-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cv-accent);
  box-shadow: 0 0 10px var(--cv-accent);
  animation: cv-spark 0.85s ease-out forwards;
}

@keyframes cv-bg-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}

@keyframes cv-bg-pan {
  from { transform: scale(1.1) translate3d(0, 0, 0); }
  to { transform: scale(1.15) translate3d(-3%, 2%, 0); }
}

@keyframes cv-twinkle {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

@keyframes cv-mist {
  from { opacity: 0.55; transform: translateX(0); }
  to { opacity: 0.9; transform: translateX(-2%); }
}

@keyframes cv-title-shine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

@keyframes cv-ticket-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cv-accent) 25%, transparent); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

@keyframes cv-map-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes cv-dash {
  to { stroke-dashoffset: -40; }
}

@keyframes cv-trail-draw {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@keyframes cv-ring {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes cv-node-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes cv-mp-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.06); }
}

@keyframes cv-fog-dot {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}

@keyframes cv-unknown {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes cv-season {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cv-accent) 40%, transparent); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes cv-hero-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes cv-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cv-welcome-blink {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--cv-accent) 35%, transparent),
      0 12px 28px rgba(0, 0, 0, 0.35);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--cv-accent) 85%, transparent),
      0 0 28px color-mix(in srgb, var(--cv-accent) 48%, transparent),
      0 14px 32px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
  }
}

@keyframes cv-cta {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cv-accent) 30%, transparent); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes cv-pt-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes cv-hint {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes cv-toast {
  from { opacity: 0; transform: translate(-50%, 14px); }
  15% { opacity: 1; transform: translate(-50%, 0); }
  to { opacity: 0; transform: translate(-50%, -10px); }
}

@keyframes cv-spark {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2); }
}

.cv-minis {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.cv-minis--daily .cv-minis__head {
  display: grid;
  gap: 0.4rem;
}

.cv-minis__sub {
  margin: 0;
  color: rgba(247, 241, 230, 0.62);
  font-size: 0.82rem;
}

.cv-minis__sub b {
  color: #ffe08a;
  font-variant-numeric: tabular-nums;
}

.cv-minis__meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.25);
  overflow: hidden;
}

.cv-minis__meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0b429, #ffd56a);
  transition: width 0.35s ease;
}

.cv-minis__grid--one {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.cv-mini.is-today {
  outline: 2px solid rgba(74, 222, 128, 0.65);
  outline-offset: 2px;
}
.cv-mini.is-today .cv-mini__badge {
  background: rgba(74, 222, 128, 0.92);
  color: #052e16;
}

.cv-mini.is-capped {
  opacity: 0.72;
  filter: grayscale(0.2);
}

.cv-mini.is-capped .cv-mini__go {
  color: #fca5a5;
}

.cv-minis__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cv-accent) 80%, #fff);
}

.cv-minis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.cv-mini {
  appearance: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--cv-accent) 42%, transparent);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  background: rgba(8, 8, 12, 0.72);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cv-mini:hover {
  transform: translateY(-3px);
  border-color: var(--cv-accent);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 28px color-mix(in srgb, var(--cv-accent) 18%, transparent);
}

.cv-mini__media {
  position: relative;
  min-height: 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cv-mini__media-bg {
  position: absolute;
  inset: -8%;
  background: url("assets/bolt/cyberpunk-bg.min.jpg") center / cover no-repeat;
  filter: saturate(1.2) contrast(1.05) brightness(0.62);
  animation: cv-bg-pan 22s linear infinite alternate;
}

.cv-mini__media-bg--lock {
  background-image: url("assets/bolt/pick-lock-bg.png");
}

.cv-mini__media-bg--boot {
  background-image: url("assets/bolt/boot-breaker-bg.png");
}

.cv-mini__media-bg--blimp {
  background-image: url("assets/bolt/blimp-jump-bg.png");
}

.cv-mini__media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(8, 8, 12, 0.75) 100%),
    radial-gradient(circle at 40% 50%, rgba(240, 180, 41, 0.22), transparent 60%);
}

.cv-mini__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #14110a;
  background: linear-gradient(120deg, #fff3c4, var(--cv-accent, #f0b429));
}

.cv-mini__ico {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55));
  animation: cv-hero-bob 2.6s ease-in-out infinite;
}

.cv-mini__content {
  display: grid;
  gap: 0.4rem;
  align-content: center;
  padding: 0.85rem 0.95rem 0.95rem;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.35), color-mix(in srgb, var(--cv-accent) 10%, rgba(0, 0, 0, 0.2)));
}

.cv-mini__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.cv-mini__top b {
  font-size: 1.05rem;
}

.cv-mini__content small {
  color: rgba(247, 241, 230, 0.68);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cv-mini__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cv-mini__tags span {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--cv-accent) 90%, #fff);
  border: 1px solid color-mix(in srgb, var(--cv-accent) 35%, transparent);
  background: rgba(0, 0, 0, 0.35);
}

.cv-mini__go {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cv-accent);
}

@media (max-width: 920px) {
  .cv-minis__grid {
    grid-template-columns: 1fr;
  }
}

/* Pick The Lock overlay */
.plk-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 30%, rgba(240, 180, 41, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}

.plk {
  width: min(540px, 100%);
}

.plk__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(240, 180, 41, 0.35);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(240, 180, 41, 0.08);
  color: #f4efe6;
}

.plk__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/pick-lock-bg.png") center / cover no-repeat;
  filter: saturate(1.08) contrast(1.05) brightness(0.7);
  pointer-events: none;
}

.plk__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 6, 18, 0.4) 0%, rgba(8, 6, 14, 0.55) 45%, rgba(6, 4, 10, 0.88) 100%),
    radial-gradient(520px 220px at 50% 15%, rgba(240, 180, 41, 0.12), transparent 55%);
  pointer-events: none;
}

.plk__panel-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 220, 140, 0.9), transparent),
    radial-gradient(2px 2px at 78% 14%, rgba(255, 180, 80, 0.75), transparent),
    radial-gradient(2px 2px at 88% 70%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(2px 2px at 22% 82%, rgba(255, 200, 100, 0.7), transparent);
  animation: cv-twinkle 3s ease-in-out infinite;
  opacity: 0.75;
}

.plk__panel-inner {
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.05rem 1.2rem;
}

.plk__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.plk__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0b429;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(240, 180, 41, 0.35);
}

.plk__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.55rem;
  background: linear-gradient(90deg, #f8fafc, #f0b429 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plk__hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.plk__stat {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.6rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(240, 180, 41, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plk__stat span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 241, 230, 0.5);
}

.plk__stat b {
  font-size: 1.25rem;
  line-height: 1;
}

.plk__stat b.is-low {
  color: #ff6b6b;
  animation: cv-mp-bob 0.6s ease-in-out infinite;
}

.plk__stat b.is-gain {
  color: #4da3ff;
  animation: cv-mp-bob 0.45s ease-in-out 2;
}

.plk__float {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 1.55rem;
  font-weight: 800;
  pointer-events: none;
  animation: plk-float 0.7s ease both;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.plk__float.is-hit { color: #f0b429; }
.plk__float.is-blue { color: #6cbcff; }
.plk__float.is-miss { color: #ff7a7a; }

@keyframes plk-float {
  from { opacity: 0; transform: translate(-50%, 10px) scale(0.85); }
  25% { opacity: 1; transform: translate(-50%, 0) scale(1.08); }
  to { opacity: 0; transform: translate(-50%, -18px) scale(1); }
}

.plk__stat small {
  font-size: 0.68rem;
  color: rgba(247, 241, 230, 0.45);
}

.plk__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 20px;
  border: 1px solid rgba(240, 180, 41, 0.28);
  overflow: hidden;
  transition: box-shadow 0.15s ease;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.45),
    0 12px 30px rgba(0, 0, 0, 0.35);
}

.plk__stage-bg {
  position: absolute;
  inset: -6%;
  background:
    url("assets/bolt/halloween-bg.min.jpg") center / cover no-repeat;
  filter: saturate(1.2) contrast(1.1) brightness(0.48);
  animation: cv-bg-pan 22s linear infinite alternate;
  pointer-events: none;
}

.plk__stage-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 18%, rgba(4, 4, 8, 0.55) 62%, rgba(4, 4, 8, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 35%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.plk__stage-glow {
  position: absolute;
  inset: 10% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.2), transparent 65%);
  animation: cv-map-glow 4.5s ease-in-out infinite;
  pointer-events: none;
}

.plk__stage.is-hit {
  box-shadow: inset 0 0 0 2px rgba(93, 222, 160, 0.55), 0 0 40px rgba(93, 222, 160, 0.2);
}

.plk__stage.is-blue {
  box-shadow: inset 0 0 0 2px rgba(90, 170, 255, 0.6), 0 0 40px rgba(90, 170, 255, 0.2);
}

.plk__stage.is-miss {
  box-shadow: inset 0 0 0 2px rgba(255, 90, 90, 0.55), 0 0 40px rgba(255, 90, 90, 0.18);
  animation: plk-shake 0.28s ease;
}

.plk__svg {
  position: relative;
  z-index: 1;
  width: min(280px, 74vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.plk__halo {
  fill: none;
  stroke: rgba(240, 180, 41, 0.12);
  stroke-width: 2;
  stroke-dasharray: 4 6;
  animation: cv-dash 12s linear infinite;
}

.plk__ring {
  fill: none;
  stroke: rgba(255, 245, 220, 0.18);
  stroke-width: 14;
}

.plk__core {
  stroke: rgba(240, 180, 41, 0.28);
  stroke-width: 2;
}

.plk__zone {
  fill: none;
  stroke-width: 14;
  stroke-linecap: butt;
  transition: stroke-width 0.05s linear;
}

.plk__zone--yellow {
  stroke: #f0b429;
}

.plk__zone--blue {
  stroke: #4da3ff;
}

.plk__needle {
  stroke: #f8fafc;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(255, 240, 180, 0.7));
}

.plk__tip {
  fill: #f8fafc;
  filter: drop-shadow(0 0 6px #f0b429);
}

.plk__hub {
  fill: #f0b429;
  stroke: #fff;
  stroke-width: 1.5;
}

.plk__lock-ico {
  position: absolute;
  z-index: 2;
  font-size: 1.9rem;
  pointer-events: none;
  animation: cv-hero-bob 2.4s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.plk__msg {
  position: absolute;
  z-index: 2;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: 90%;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(247, 241, 230, 0.88);
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.plk__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin: 0.75rem 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: rgba(247, 241, 230, 0.7);
  backdrop-filter: blur(6px);
}

.plk-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.plk-dot--y { background: #f0b429; box-shadow: 0 0 8px #f0b429; }
.plk-dot--b { background: #4da3ff; box-shadow: 0 0 8px #4da3ff; }

.plk__actions {
  display: grid;
  gap: 0.45rem;
}

.plk__go {
  width: 100%;
}

.plk__go--pulse {
  animation: cv-cta 1.6s ease-in-out infinite;
}

.plk__hint {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(247, 241, 230, 0.6);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

@keyframes plk-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Boot Breaker overlay */
.bb-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 30%, rgba(240, 180, 41, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}

.bb {
  width: min(560px, 100%);
}

.bb__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(240, 180, 41, 0.35);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: #f4efe6;
}

.bb__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/boot-breaker-bg.png") center / cover no-repeat;
  filter: saturate(1.08) contrast(1.05) brightness(0.72);
  pointer-events: none;
}

.bb__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 4, 18, 0.4) 0%, rgba(10, 4, 16, 0.55) 45%, rgba(6, 4, 12, 0.88) 100%),
    radial-gradient(520px 220px at 50% 15%, rgba(192, 38, 211, 0.14), transparent 55%);
  pointer-events: none;
}

.bb__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.15rem;
}

.bb__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.7rem;
}

.bb__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0b429;
  font-weight: 800;
}

.bb__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #f8fafc, #f0b429 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bb__hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.bb__stat {
  display: grid;
  gap: 0.1rem;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(240, 180, 41, 0.2);
  backdrop-filter: blur(8px);
}

.bb__stat span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 241, 230, 0.5);
}

.bb__stat b {
  font-size: 0.95rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bb__stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 180, 41, 0.28);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.bb__stage-bg {
  position: absolute;
  inset: -6%;
  background: url("assets/bolt/cash-hunt-halloween-bg.min.jpg") center / cover no-repeat;
  filter: saturate(1.1) brightness(0.42);
  animation: cv-bg-pan 20s linear infinite alternate;
  pointer-events: none;
}

.bb__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  cursor: none;
  touch-action: none;
}

.bb__float {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 1.4rem;
  font-weight: 800;
  pointer-events: none;
  animation: plk-float 0.65s ease both;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.bb__float.is-hit { color: #ffb070; }
.bb__float.is-gold { color: #f0b429; }
.bb__float.is-life { color: #5ddea0; }
.bb__float.is-mult { color: #fff3c4; }
.bb__float.is-miss { color: #ff7a7a; }
.bb__float.is-blue { color: #6cbcff; }

.bb__msg {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  margin: 0;
  width: 92%;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(247, 241, 230, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.bb__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin: 0.7rem 0 0.8rem;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: rgba(247, 241, 230, 0.7);
}

.bb-brick {
  display: inline-block;
  width: 0.7rem;
  height: 0.55rem;
  border-radius: 2px;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.bb-brick--n { background: #c45c26; }
.bb-brick--g { background: linear-gradient(90deg, #f0b429, #ffe08a); }
.bb-brick--life { background: #3dba6e; }
.bb-brick--a { background: #9ca3af; }
.bb-brick--p { background: linear-gradient(90deg, #c084fc, #7c3aed); }
.bb-brick--b { background: #3b82f6; }

.bb__buffs {
  margin: -0.35rem 0 0.65rem;
  min-height: 1.1rem;
  font-size: 0.78rem;
  color: rgba(247, 241, 230, 0.75);
  letter-spacing: 0.02em;
}

.bb__actions { display: grid; gap: 0.4rem; }
.bb__go { width: 100%; }
.bb__hint {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(247, 241, 230, 0.6);
}

/* Blimp Jump overlay */
.dj-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 20%, rgba(56, 120, 200, 0.18), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}

.dj {
  width: min(460px, 100%);
}

.dj__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(240, 180, 41, 0.35);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: #f4efe6;
}

.dj__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/blimp-jump-bg.png") center / cover no-repeat;
  filter: saturate(1.08) contrast(1.05) brightness(0.72);
  pointer-events: none;
}

.dj__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 22, 0.38) 0%, rgba(6, 8, 18, 0.55) 45%, rgba(4, 6, 14, 0.88) 100%),
    radial-gradient(520px 220px at 50% 15%, rgba(56, 189, 248, 0.12), transparent 55%);
  pointer-events: none;
}

.dj__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}

.dj__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.7rem;
}

.dj__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0b429;
  font-weight: 800;
}

.dj__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #f8fafc, #f0b429 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dj__menu {
  display: grid;
  gap: 0.55rem;
}

.dj__lead {
  margin: 0 0 0.35rem;
  color: rgba(247, 241, 230, 0.75);
  line-height: 1.45;
  font-size: 0.9rem;
}

.dj__hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.dj__stat {
  display: grid;
  gap: 0.1rem;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(240, 180, 41, 0.2);
}

.dj__stat span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 241, 230, 0.5);
}

.dj__stat b {
  font-size: 0.95rem;
}

.dj__stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 180, 41, 0.28);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.dj__stage-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/blimp-jump-bg.png") center top / cover no-repeat;
  filter: saturate(1.05) brightness(0.55);
  pointer-events: none;
}

.dj__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
}

.dj__msg {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  margin: 0;
  width: 92%;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(247, 241, 230, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.dj__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.dj__go { width: 100%; }

.dj__hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.74rem;
  color: rgba(247, 241, 230, 0.6);
}

@media (max-width: 920px) {
  .cv-layout {
    grid-template-columns: 1fr;
  }
  .cv-loc-head {
    grid-template-columns: 1fr;
  }
  .cv-map {
    min-height: 0;
  }
  .cv-map--art {
    max-height: none;
    min-height: 0 !important;
  }
  .cv-map__stage {
    width: 100%;
    max-height: none;
  }
  .cv-locmap {
    min-height: 62vh;
  }
  .cv-locmap--art {
    max-height: none;
    min-height: 0;
  }
  .cv-locmap__stage {
    width: 100%;
    max-height: none;
  }
  .cv-mp {
    width: 30px;
    height: 30px;
  }
  .cv-mp__dot {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .cv-locmap--forest .cv-mp--pin {
    width: 40px;
    height: 40px;
  }
  .cv-locmap--forest .cv-mp--pin .cv-mp__dot {
    width: 26px;
    height: 26px;
    opacity: 1;
  }
  .cv-locmap--forest .cv-mp--pin.cv-mp--open .cv-mp__dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.35), 0 0 14px rgba(167, 139, 250, 0.45);
  }
  .cv-locmap--forest .cv-mp--pin .cv-mp__pulse {
    width: 38px;
    height: 38px;
    opacity: 0.45;
  }
  .cv-locmap--forest .cv-mp--pin .cv-mp__cost {
    font-size: 0.72rem;
  }
  .cv-locmap--forest .cv-mp--pin.cv-mp--fog .cv-mp__sil {
    width: 22px;
    height: 22px;
  }
  .cv-forest-progress__sum {
    font-size: 0.74rem;
  }
  .cv-forest-zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .cv-forest-zones__chip {
    min-height: 52px;
    padding: 0.45rem 0.5rem 0.55rem;
    font-size: 0.74rem;
  }
  .cv-forest-zones__stat {
    font-size: 0.7rem;
  }
  .cv-forest-fog {
    opacity: 0.92;
  }
  .cv-ticket-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cv-ticket-cta .btn {
    width: 100%;
  }
  .plk__hud {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .plk__stage {
    min-height: 270px;
  }
  .bb__hud {
    grid-template-columns: 1fr 1fr;
  }
  .cv-minis__grid {
    grid-template-columns: 1fr;
  }
}

/* Словобой */
.wr-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 20%, rgba(56, 189, 248, 0.16), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}
.wr {
  width: min(460px, 100%);
}
.wr__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: #f4efe6;
}
.wr__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/word-rush-bg.png") center / cover no-repeat;
  filter: saturate(1.08) contrast(1.05) brightness(0.72);
  pointer-events: none;
}
.wr__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 18, 0.35) 0%, rgba(6, 8, 16, 0.55) 42%, rgba(4, 6, 12, 0.88) 100%),
    radial-gradient(520px 220px at 50% 10%, rgba(168, 85, 247, 0.12), transparent 55%);
  pointer-events: none;
}
.wr__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}
.wr__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.7rem;
}
.wr__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  font-weight: 800;
}
.wr__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #f8fafc, #38bdf8 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wr__menu {
  display: grid;
  gap: 0.55rem;
}
.wr__lead,
.wr__hint {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.45;
}
.wr__hint {
  font-size: 0.82rem;
}
.wr__go {
  width: 100%;
}
.wr__hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.wr__stat {
  padding: 0.45rem 0.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.wr__stat span {
  display: block;
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.55);
}
.wr__stat b {
  font-size: 1.05rem;
  color: #7dd3fc;
}
.wr__stat b.is-low {
  color: #f87171;
}
.wr__stage {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  padding: 1rem 0.5rem 0.75rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-bottom: 0.65rem;
}
.wr__word {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  min-height: 1.4em;
  text-align: center;
}
.wr__word i {
  font-style: normal;
  color: rgba(248, 250, 252, 0.35);
}
.wr__word i.is-ok {
  color: #4ade80;
}
.wr__word i.is-bad {
  color: #f87171;
  text-decoration: underline;
}
.wr__ghost {
  display: none;
}
.wr__input {
  width: min(100%, 320px);
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(8, 16, 28, 0.9);
  color: #f8fafc;
  font: inherit;
  font-size: 1.15rem;
  text-align: center;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
}
.wr__input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.wr__msg {
  margin: 0;
  min-height: 1.2em;
  font-weight: 700;
  color: #bae6fd;
}
.wr__bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.wr__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #f0b429);
  transition: width 0.05s linear;
}
.wr__actions {
  display: grid;
  gap: 0.45rem;
}
.cv-mini__media-bg--words {
  background-image: url("assets/bolt/word-rush-bg.png");
}

.cv-mini__media-bg--robot {
  background-image: url("assets/bolt/robot-assembly-bg.png");
}

/* Робосборка */
.ra-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 20%, rgba(56, 189, 248, 0.16), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}
.ra {
  width: min(480px, 100%);
}
.ra__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: #f4efe6;
}
.ra__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/robot-assembly-bg.png") center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05) brightness(0.5);
  pointer-events: none;
}
.ra__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.55) 0%, rgba(6, 10, 20, 0.7) 50%, rgba(4, 6, 12, 0.9) 100%),
    radial-gradient(520px 220px at 50% 10%, rgba(56, 189, 248, 0.14), transparent 55%);
  pointer-events: none;
}
.ra__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}
.ra__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.7rem;
}
.ra__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  font-weight: 800;
}
.ra__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #f8fafc, #38bdf8 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ra__menu {
  display: grid;
  gap: 0.55rem;
}
.ra__lead,
.ra__hint {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.45;
  font-size: 0.9rem;
}
.ra__hint {
  font-size: 0.8rem;
  text-align: center;
}
.ra__go {
  width: 100%;
}
.ra__hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.ra__stat {
  padding: 0.4rem 0.3rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.ra__stat span {
  display: block;
  font-size: 0.66rem;
  color: rgba(226, 232, 240, 0.55);
}
.ra__stat b {
  font-size: 0.95rem;
  color: #7dd3fc;
}
.ra__buffs {
  min-height: 1.2em;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: #bae6fd;
  text-align: center;
}
.ra__stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(0, 0, 0, 0.35);
}
.ra__canvas {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.ra__msg {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.45rem;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.ra__touch.cv-touchpad {
  margin-top: 0.55rem;
}
.ra__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.cv-mini__media-bg--power {
  background-image: url("assets/bolt/power-flow-bg.png");
}

/* Проведение тока */
.pf-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}
.pf {
  width: min(440px, 100%);
}
.pf__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: #f4efe6;
}
.pf__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/power-flow-bg.png") center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05) brightness(0.48);
  pointer-events: none;
}
.pf__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.55) 0%, rgba(6, 10, 20, 0.72) 50%, rgba(4, 6, 12, 0.92) 100%),
    radial-gradient(520px 220px at 50% 10%, rgba(74, 222, 128, 0.12), transparent 55%);
  pointer-events: none;
}
.pf__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}
.pf__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.7rem;
}
.pf__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  font-weight: 800;
}
.pf__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
  background: linear-gradient(90deg, #f8fafc, #4ade80 40%, #38bdf8 75%, #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pf__menu {
  display: grid;
  gap: 0.55rem;
}
.pf__lead,
.pf__hint,
.pf__msg {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.45;
  font-size: 0.9rem;
}
.pf__hint {
  font-size: 0.78rem;
  text-align: center;
}
.pf__msg {
  min-height: 1.35em;
  margin: 0.45rem 0 0.35rem;
  text-align: center;
  font-weight: 600;
  color: #e2e8f0;
}
.pf__go {
  width: 100%;
}
.pf__hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.pf__stat {
  padding: 0.4rem 0.3rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.pf__stat span {
  display: block;
  font-size: 0.66rem;
  color: rgba(226, 232, 240, 0.55);
}
.pf__stat b {
  font-size: 1rem;
  color: #7dd3fc;
}
.pf__stat b.is-low {
  color: #f87171;
  animation: pf-pulse 0.7s ease-in-out infinite;
}
@keyframes pf-pulse {
  50% { opacity: 0.55; }
}
.pf__board-wrap {
  display: grid;
  place-items: center;
  padding: 0.35rem;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(0, 0, 0, 0.35);
  overflow: auto;
}
.pf__board {
  display: grid;
  grid-template-columns: repeat(var(--pf-n), var(--pf-cell));
  gap: 4px;
}
.pf__cell {
  width: var(--pf-cell);
  height: var(--pf-cell);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.pf__cell canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pf__cell:hover {
  transform: translateY(-1px);
}
.pf__cell.is-sel {
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35);
}
.pf__cell.is-on {
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.45));
}
.pf__cell.is-start {
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
}
.pf__cell.is-end {
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.35);
}
.pf__tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.pf__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
@media (max-width: 420px) {
  .pf__board {
    --pf-cell: 46px;
  }
}

.cv-mini__media-bg--print {
  background-image: url("assets/bolt/fingerprint-bg.png");
}

/* Отпечаток */
.fp-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(800px 420px at 50% 20%, rgba(74, 222, 128, 0.14), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  animation: cv-card-in 0.25s ease both;
}
.fp {
  width: min(560px, 100%);
}
.fp__panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  color: #f4efe6;
}
.fp__panel-bg {
  position: absolute;
  inset: 0;
  background: url("assets/bolt/fingerprint-bg.png") center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05) brightness(0.45);
  pointer-events: none;
}
.fp__panel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.55) 0%, rgba(6, 10, 20, 0.75) 50%, rgba(4, 6, 12, 0.92) 100%),
    radial-gradient(520px 220px at 70% 20%, rgba(125, 211, 252, 0.12), transparent 55%);
  pointer-events: none;
}
.fp__inner {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
}
.fp__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.7rem;
}
.fp__eye {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86efac;
  font-weight: 800;
}
.fp__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
  background: linear-gradient(90deg, #f8fafc, #4ade80 50%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fp__menu {
  display: grid;
  gap: 0.7rem;
}
.fp__steps {
  margin: 0;
  padding: 0.75rem 0.75rem 0.75rem 1.6rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.5;
  font-size: 0.92rem;
  display: grid;
  gap: 0.45rem;
}
.fp__steps b {
  color: #f8fafc;
}
.fp__howto {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.85);
}
.fp__howto-l {
  color: #fbbf24;
}
.fp__howto-r {
  color: #7dd3fc;
}
.fp__msg {
  min-height: 1.35em;
  margin: 0.45rem 0 0.35rem;
  text-align: center;
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.35;
}
.fp__go {
  width: 100%;
}
.fp__rings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.fp__ring-btn {
  display: grid;
  grid-template-columns: 10px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.4rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: #f4efe6;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.fp__ring-btn i {
  grid-row: 1 / 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.fp__ring-btn span {
  font-size: 0.78rem;
  font-weight: 800;
}
.fp__ring-btn b {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.7);
}
.fp__ring-btn.is-bad {
  border-color: rgba(248, 113, 113, 0.55);
}
.fp__ring-btn.is-bad b {
  color: #fca5a5;
}
.fp__ring-btn.is-ok {
  border-color: rgba(74, 222, 128, 0.55);
  opacity: 0.85;
  cursor: default;
}
.fp__ring-btn.is-ok b {
  color: #86efac;
}
.fp__ring-btn.is-sel:not(.is-ok) {
  outline: 2px solid rgba(251, 191, 36, 0.65);
  outline-offset: 1px;
}
.fp__ring-btn:not(:disabled):hover {
  transform: translateY(-1px);
}
.fp__ring-btn:disabled {
  cursor: default;
}
.fp__hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.fp__stat {
  padding: 0.4rem 0.3rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.fp__stat span {
  display: block;
  font-size: 0.66rem;
  color: rgba(226, 232, 240, 0.55);
}
.fp__stat b {
  font-size: 1rem;
  color: #86efac;
}
.fp__stat b.is-low {
  color: #f87171;
  animation: pf-pulse 0.7s ease-in-out infinite;
}
.fp__stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: rgba(0, 0, 0, 0.35);
}
.fp__col {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}
.fp__col-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(226, 232, 240, 0.7);
}
.fp__col-label--play {
  color: #fbbf24;
}
.fp__col-label--target {
  color: #7dd3fc;
}
.fp__canvas {
  width: min(220px, 38vw);
  height: auto;
  border-radius: 18px;
  cursor: pointer;
  touch-action: manipulation;
}
.fp__canvas--target {
  cursor: default;
  opacity: 0.95;
}
.fp__vs {
  font-size: 1.25rem;
  color: rgba(148, 163, 184, 0.7);
  font-weight: 800;
}
.fp__meter {
  margin-top: 0.55rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.fp__meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4ade80, #38bdf8);
  transition: width 0.2s ease;
}
.fp__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
@media (max-width: 520px) {
  .fp__stage {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .fp__vs {
    display: none;
  }
  .fp__canvas {
    width: min(200px, 70vw);
  }
}

/* ——— Мобильная оптимизация мини-игр ——— */
html.cv-mini-lock,
html.cv-mini-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.cv-touchpad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.55rem;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.cv-touchpad:has(.cv-touchpad__action) {
  grid-template-columns: 1fr 1.2fr 1fr;
}
.cv-touchpad__btn {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  color: #f8fafc;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cv-touchpad__btn:active {
  background: rgba(56, 189, 248, 0.35);
  transform: scale(0.98);
}
.cv-touchpad__action {
  min-height: 52px;
  font-weight: 800;
}

.ra__canvas,
.dj__canvas,
.bb__canvas,
.plk__stage,
.pf__board,
.fp__canvas {
  touch-action: none;
}

.plk-overlay,
.bb-overlay,
.dj-overlay,
.wr-overlay,
.ra-overlay,
.pf-overlay,
.fp-overlay {
  padding:
    max(0.5rem, env(safe-area-inset-top))
    max(0.5rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom))
    max(0.5rem, env(safe-area-inset-left));
  min-height: 100dvh;
  align-items: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.plk,
.bb,
.dj,
.wr,
.ra,
.pf,
.fp {
  width: min(560px, 100%);
  margin: 0 auto;
}

.plk__panel,
.bb__panel,
.dj__panel,
.wr__panel,
.ra__panel,
.pf__panel,
.fp__panel {
  max-height: calc(100dvh - 1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dj__canvas,
.ra__canvas,
.bb__canvas {
  max-height: min(58dvh, 520px);
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .cv-minis__grid--one {
    max-width: none;
  }
  .cv-mini__content small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .plk__head h2,
  .bb__head h2,
  .dj__head h2,
  .wr__head h2,
  .ra__head h2,
  .pf__head h2,
  .fp__head h2 {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
  }

  .plk__hud,
  .bb__hud,
  .dj__hud,
  .wr__hud,
  .ra__hud,
  .pf__hud,
  .fp__hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .ra__hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plk__stat,
  .bb__stat,
  .dj__stat,
  .wr__stat,
  .ra__stat,
  .pf__stat,
  .fp__stat {
    padding: 0.35rem 0.25rem;
  }

  .plk__stat b,
  .bb__stat b,
  .dj__stat b,
  .wr__stat b,
  .ra__stat b,
  .pf__stat b,
  .fp__stat b {
    font-size: 0.92rem;
  }

  .bb__legend {
    display: none;
  }

  .dj__canvas,
  .ra__canvas,
  .bb__canvas {
    max-height: min(50dvh, 420px);
  }

  .pf__board {
    --pf-cell: 44px;
  }

  .fp__rings {
    grid-template-columns: 1fr;
  }

  .fp__ring-btn {
    min-height: 48px;
  }

  .wr__input,
  .wr input,
  .wr__field input {
    font-size: 16px; /* без zoom iOS */
  }
}

@media (max-width: 420px) {
  .pf__board {
    --pf-cell: 38px;
  }
  .dj__canvas,
  .ra__canvas,
  .bb__canvas {
    max-height: min(46dvh, 360px);
  }
  .cv-touchpad__btn,
  .cv-touchpad__action {
    min-height: 56px;
  }
}

/* Forest zones + point minis */
.cv-forest-progress {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.45rem;
}
.cv-forest-progress__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  font-size: 0.78rem;
  color: rgba(232, 226, 214, 0.72);
}
.cv-forest-progress__sum b {
  color: #c4b5fd;
}
.cv-forest-zones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}
.cv-forest-zones__chip {
  position: relative;
  display: grid;
  gap: 0.1rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem 0.45rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(232, 226, 214, 0.78);
  cursor: pointer;
  overflow: hidden;
}
.cv-forest-zones__num {
  color: #a78bfa;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}
.cv-forest-zones__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-forest-zones__stat {
  font-size: 0.64rem;
  color: rgba(226, 232, 240, 0.55);
}
.cv-forest-zones__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.cv-forest-zones__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.cv-forest-zones__chip.is-on {
  border-color: rgba(124, 58, 237, 0.55);
  background: rgba(124, 58, 237, 0.16);
  color: #ddd6fe;
}
.cv-forest-zones__chip.is-on .cv-forest-zones__stat {
  color: #c4b5fd;
}
.cv-forest-zones__chip.is-done {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(22, 101, 52, 0.22);
}
.cv-forest-zones__chip.is-done .cv-forest-zones__stat {
  color: #86efac;
}
.cv-forest-zones__chip.is-fog {
  opacity: 0.55;
  filter: saturate(0.35);
  border-color: rgba(140, 160, 170, 0.25);
  color: rgba(200, 210, 220, 0.55);
}
.cv-forest-zones__chip.is-revealing {
  opacity: 1;
  filter: none;
  animation: cv-zone-chip-reveal 1.4s ease-out both;
  border-color: rgba(255, 210, 120, 0.75);
  background: rgba(255, 190, 80, 0.22);
  color: #ffe6a8;
  box-shadow: 0 0 18px rgba(255, 200, 90, 0.35);
}
@media (max-width: 720px) {
  .cv-forest-zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes cv-zone-chip-reveal {
  0% {
    transform: scale(0.92);
    filter: blur(2px);
    opacity: 0.4;
  }
  55% {
    transform: scale(1.06);
    filter: blur(0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Forest fog patches over map */
.cv-forest-fog-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.cv-locmap--forest .cv-loc-hero {
  z-index: 4;
}

.cv-locmap--forest .cv-locmap__hint {
  z-index: 5;
}

.cv-forest-fog {
  position: absolute;
  border-radius: 42% 58% 48% 52% / 52% 45% 55% 48%;
  background:
    radial-gradient(ellipse at 40% 45%, rgba(180, 195, 205, 0.42) 0%, transparent 62%),
    radial-gradient(ellipse at 65% 55%, rgba(120, 140, 155, 0.38) 0%, transparent 58%),
    linear-gradient(160deg, rgba(70, 85, 95, 0.55), rgba(30, 40, 48, 0.35));
  box-shadow: inset 0 0 40px rgba(200, 220, 230, 0.12);
  filter: blur(1.5px);
  animation: cv-fog-drift 7s ease-in-out infinite alternate;
  overflow: hidden;
}

.cv-forest-fog::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.14) 0%, transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(180, 200, 210, 0.18) 0%, transparent 40%);
  animation: cv-fog-swirl 9s linear infinite;
}

.cv-forest-fog > i {
  position: absolute;
  border-radius: 50%;
  background: rgba(210, 225, 235, 0.2);
  filter: blur(8px);
  animation: cv-fog-blob 5.5s ease-in-out infinite alternate;
}

.cv-forest-fog > i:nth-child(1) {
  width: 45%;
  height: 40%;
  left: 10%;
  top: 20%;
}

.cv-forest-fog > i:nth-child(2) {
  width: 50%;
  height: 45%;
  right: 5%;
  bottom: 15%;
  animation-delay: -2s;
}

.cv-forest-fog > i:nth-child(3) {
  width: 35%;
  height: 30%;
  left: 40%;
  top: 50%;
  animation-delay: -3.5s;
}

.cv-forest-fog.is-clearing {
  animation: cv-fog-clear 1.65s ease-out forwards;
}

.cv-forest-fog.is-clearing::before,
.cv-forest-fog.is-clearing > i {
  animation: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

@keyframes cv-fog-drift {
  from {
    transform: translate(-1.5%, 0.5%) scale(1);
  }
  to {
    transform: translate(1.5%, -1%) scale(1.03);
  }
}

@keyframes cv-fog-swirl {
  from {
    transform: rotate(0deg) translate(1%, 0);
  }
  to {
    transform: rotate(360deg) translate(-1%, 0);
  }
}

@keyframes cv-fog-blob {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  to {
    transform: translate(8%, -6%) scale(1.15);
    opacity: 0.75;
  }
}

@keyframes cv-fog-clear {
  0% {
    opacity: 1;
    filter: blur(1.5px);
    transform: scale(1);
  }
  40% {
    opacity: 0.7;
    filter: blur(3px);
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.35);
    visibility: hidden;
  }
}

/* Fogged balloon silhouettes on art map */
.cv-mp--pin.cv-mp--fog {
  pointer-events: none;
}

.cv-mp--pin.cv-mp--fog .cv-mp__dot {
  opacity: 0.55;
  background: rgba(40, 50, 58, 0.55);
  border-color: rgba(160, 180, 190, 0.35);
  box-shadow: 0 0 10px rgba(140, 160, 175, 0.25);
  filter: blur(0.6px) saturate(0.2);
  animation: cv-fog-dot 3s ease-in-out infinite;
}

.cv-mp--pin.cv-mp--fog .cv-mp__sil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 18px;
  transform: translate(-50%, -58%);
  border-radius: 50% 50% 45% 45% / 55% 55% 40% 40%;
  background: rgba(55, 65, 75, 0.65);
  box-shadow: 0 0 8px rgba(150, 170, 185, 0.3);
  filter: blur(0.5px);
  pointer-events: none;
}

.cv-mp--pin.cv-mp--fog .cv-mp__sil::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 2px;
  height: 5px;
  transform: translateX(-50%);
  background: rgba(70, 80, 90, 0.7);
}

.cv-mp--fog:not(.cv-mp--pin) .cv-mp__dot {
  opacity: 0.4;
  filter: blur(1px) grayscale(0.6);
  box-shadow: none;
  background: rgba(80, 95, 105, 0.5);
}

.cv-mp.is-zone-lit {
  z-index: 4;
}

.cv-mp.is-zone-lit .cv-mp__dot,
.cv-mp.is-zone-lit.cv-mp--pin .cv-mp__dot {
  opacity: 1;
  filter: none;
  animation: cv-zone-lights-on 0.9s ease-out both;
}

.cv-mp.is-zone-lit .cv-mp__sil {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cv-mp.is-zone-lit.cv-mp--pin.cv-mp--open .cv-mp__dot,
.cv-mp.is-zone-lit.cv-mp--pin.cv-mp--locked .cv-mp__dot {
  opacity: 1;
  box-shadow: 0 0 14px rgba(255, 210, 100, 0.65), 0 0 28px rgba(255, 180, 60, 0.35);
}

@keyframes cv-zone-lights-on {
  0% {
    transform: scale(0.7);
    filter: brightness(0.4);
    box-shadow: none;
  }
  60% {
    transform: scale(1.25);
    filter: brightness(1.3);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

/* ——— Forest mini-games · immersive shell ——— */
.cv-fmini--forest {
  padding: 0;
  place-items: stretch;
  background: #05080a;
  backdrop-filter: none;
  overflow: hidden;
}

.cv-fmini__world {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cv-fmini__bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center 35%;
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.06);
  animation: cv-fmini-bg-drift 28s ease-in-out infinite alternate;
}

.cv-fmini__bg-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 12, 0.35) 0%, rgba(4, 10, 14, 0.55) 45%, rgba(2, 6, 10, 0.82) 100%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(34, 120, 70, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(124, 58, 237, 0.18), transparent 55%);
}

.cv-fmini__rays {
  position: absolute;
  inset: -10%;
  background: conic-gradient(
    from 200deg at 70% 0%,
    transparent 0deg,
    rgba(250, 240, 180, 0.07) 18deg,
    transparent 36deg,
    rgba(167, 243, 208, 0.05) 55deg,
    transparent 80deg
  );
  animation: cv-fmini-rays 16s linear infinite;
  mix-blend-mode: soft-light;
}

.cv-fmini__mist {
  position: absolute;
  left: -20%;
  right: -20%;
  height: 45%;
  bottom: -5%;
  background: radial-gradient(ellipse at center, rgba(180, 210, 190, 0.14), transparent 70%);
  filter: blur(24px);
  opacity: 0.7;
}

.cv-fmini__mist--a {
  animation: cv-fmini-mist 18s ease-in-out infinite alternate;
}

.cv-fmini__mist--b {
  height: 30%;
  bottom: 20%;
  opacity: 0.4;
  animation: cv-fmini-mist 22s ease-in-out infinite alternate-reverse;
}

.cv-fmini__fireflies {
  position: absolute;
  inset: 0;
}

.cv-fmini__fireflies i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 10px 3px rgba(253, 224, 71, 0.65);
  left: calc(8% + (var(--i) * 7.2%));
  top: calc(15% + (var(--i) * 5.5%));
  animation: cv-fmini-fly 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.45s);
  opacity: 0.55;
}

.cv-fmini__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}

.cv-fmini__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 340px) minmax(0, 560px);
  gap: 1.1rem;
  align-items: end;
  justify-content: center;
  width: min(1020px, 100%);
  margin: auto;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
  min-height: 100%;
  box-sizing: border-box;
}

.cv-fmini__mascot {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  pointer-events: none;
  animation: cv-fmini-mascot-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cv-fmini__mascot-glow {
  position: absolute;
  bottom: 6%;
  width: 78%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(57, 255, 120, 0.55), transparent 70%);
  filter: blur(22px);
  animation: cv-fmini-glow 3.2s ease-in-out infinite alternate;
}

.cv-fmini__mascot-aura {
  position: absolute;
  inset: 8% 12% 12%;
  border-radius: 40% 40% 36% 36%;
  background: radial-gradient(circle at 50% 40%, rgba(57, 255, 120, 0.22), transparent 62%);
  filter: blur(16px);
  animation: cv-fmini-glow 2.6s ease-in-out infinite alternate-reverse;
}

.cv-fmini__mascot-img {
  position: relative;
  width: min(100%, 340px);
  max-height: min(72vh, 520px);
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
  filter:
    drop-shadow(0 0 18px rgba(57, 255, 120, 0.35))
    drop-shadow(0 22px 32px rgba(0, 0, 0, 0.65));
  animation: cv-fmini-breathe 4.5s ease-in-out infinite;
}

.cv-fmini__mascot-cap {
  margin: 0.35rem 0 0;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.75);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cv-fmini--forest .cv-fmini__panel {
  position: relative;
  max-width: none;
  width: 100%;
  padding: 1.35rem 1.3rem 1.15rem;
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(18, 32, 24, 0.92) 0%, rgba(10, 16, 20, 0.94) 55%, rgba(8, 12, 18, 0.96) 100%);
  border: 1px solid rgba(74, 222, 128, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(34, 197, 94, 0.12);
  backdrop-filter: blur(14px);
  animation: cv-fmini-panel-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cv-fmini__panel-frame {
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px solid rgba(253, 230, 138, 0.12);
  pointer-events: none;
}

.cv-fmini--forest .cv-chal__eye {
  color: #86efac;
  letter-spacing: 0.12em;
}

.cv-fmini__h {
  margin: 0.2rem 0 0.4rem;
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  color: #f0fdf4;
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.35);
}

.cv-fmini--forest .cv-chal__lead {
  color: rgba(220, 235, 225, 0.78);
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cv-fmini__body {
  margin: 0.85rem 0;
}

.cv-fmini__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cv-fmini__cta {
  min-width: 160px;
  box-shadow: 0 0 24px rgba(244, 63, 94, 0.35);
}

.cv-fmini__score {
  margin: 0.55rem 0 0;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.92rem;
  color: rgba(187, 247, 208, 0.85);
}

.cv-fmini__score b {
  color: #fde68a;
}

.cv-fmini__tip {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.cv-ticket-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(240, 180, 41, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.35);
  color: #fff3c4;
}
.cv-ticket-cta p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  flex: 1 1 200px;
}
.cv-minis--daily.is-pulse {
  animation: cv-mini-cta-pulse 0.9s ease-in-out 2;
  border-radius: 14px;
  outline: 2px solid rgba(240, 180, 41, 0.55);
}
@keyframes cv-mini-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); }
  50% { box-shadow: 0 0 0 6px rgba(240, 180, 41, 0.2); }
}

.cv-fmini--forest.is-win .cv-fmini__panel {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.2) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(34, 197, 94, 0.35);
}

.cv-fmini--forest.is-lose .cv-fmini__panel {
  border-color: rgba(244, 63, 94, 0.4);
}

.cv-fmini--forest.is-win .cv-fmini__mascot-img {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55)) brightness(1.12) saturate(1.15);
}

.cv-fmini__stage {
  position: relative;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.cv-fmini__stage--sky {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(34, 120, 70, 0.35), transparent 55%),
    linear-gradient(180deg, #1a3a4a 0%, #0c1a22 45%, #071018 100%);
}

.cv-fmini__stage--sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(253, 224, 71, 0.08), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.1), transparent 28%);
  pointer-events: none;
}

.cv-fmini__stage--tir {
  background:
    radial-gradient(ellipse at 50% 80%, rgba(180, 80, 40, 0.25), transparent 50%),
    linear-gradient(180deg, #3a2418 0%, #1a100c 50%, #0a0806 100%);
}

.cv-fmini__ball {
  position: absolute;
  bottom: -20px;
  width: 42px;
  height: 48px;
  border: 0;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  cursor: pointer;
  animation: cv-fmini-float linear forwards;
  box-shadow:
    inset -6px -8px 0 rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.cv-fmini__ball.is-bad {
  filter: grayscale(0.4);
  transform: scale(0.85);
}

@keyframes cv-fmini-float {
  to {
    transform: translateY(-260px);
    opacity: 0.15;
  }
}

.cv-fmini__claw-track {
  position: relative;
  height: 88px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20, 40, 28, 0.9), rgba(8, 14, 12, 0.95)),
    rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(110, 231, 183, 0.25);
  margin-bottom: 0.75rem;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.cv-fmini__prize {
  position: absolute;
  bottom: 12px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fde68a, #f59e0b 50%, #b45309);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.55);
}

.cv-fmini__prize.is-ghost {
  opacity: 0.85;
}

.cv-fmini__prize.is-hidden {
  opacity: 0;
}

.cv-fmini__claw {
  position: absolute;
  top: 4px;
  width: 4px;
  height: 56px;
  margin-left: -2px;
  background: linear-gradient(180deg, #86efac, #4ade80);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.65);
}

.cv-fmini__claw::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: -8px;
  width: 20px;
  height: 12px;
  border: 2px solid #86efac;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.cv-fmini__ring-field,
.cv-fmini__basket {
  position: relative;
  height: 200px;
  border-radius: 16px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(34, 120, 70, 0.3), transparent 55%),
    linear-gradient(180deg, #15241c, #0a1210);
  overflow: hidden;
}

.cv-fmini__bottle {
  position: absolute;
  bottom: 12px;
  width: 28px;
  height: 48px;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(180deg, rgba(167, 243, 208, 0.35), rgba(34, 197, 94, 0.5));
  border: 1px solid rgba(167, 243, 208, 0.4);
}

.cv-fmini__basket i {
  position: absolute;
  bottom: 12px;
  width: 28px;
  height: 48px;
  margin-left: -14px;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(180deg, rgba(167, 243, 208, 0.35), rgba(34, 197, 94, 0.5));
  border: 1px solid rgba(167, 243, 208, 0.4);
}

.cv-fmini__bball {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.55rem;
  border: 1px solid rgba(110, 231, 183, 0.25);
  background:
    linear-gradient(180deg, rgba(8, 20, 28, 0.2) 0 58%, rgba(120, 72, 32, 0.35) 58% 100%),
    linear-gradient(180deg, #1a3344 0%, #0d1a22 55%, #1a120c 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.cv-fmini__bball-sky {
  position: absolute;
  inset: 0 0 42%;
  background:
    radial-gradient(circle at 20% 30%, rgba(253, 224, 71, 0.08), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(74, 222, 128, 0.1), transparent 26%);
  pointer-events: none;
}

.cv-fmini__bball-hoop {
  position: absolute;
  top: 28px;
  width: 64px;
  height: 78px;
  margin-left: -32px;
  z-index: 2;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.cv-fmini__bball-board {
  position: absolute;
  top: 0;
  left: 50%;
  width: 54px;
  height: 40px;
  margin-left: -27px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f8fafc, #cbd5e1);
  border: 2px solid rgba(244, 63, 94, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.cv-fmini__bball-board::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 18px;
  height: 14px;
  margin-left: -9px;
  border: 2px solid #f43f5e;
  border-radius: 2px;
}

.cv-fmini__bball-rim {
  position: absolute;
  top: 36px;
  left: 50%;
  width: 36px;
  height: 10px;
  margin-left: -18px;
  border: 3px solid #f97316;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.55);
  z-index: 2;
}

.cv-fmini__bball-net {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 4px,
      rgba(248, 250, 252, 0.45) 4px,
      rgba(248, 250, 252, 0.45) 5px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(248, 250, 252, 0.35) 4px,
      rgba(248, 250, 252, 0.35) 5px
    );
  clip-path: polygon(8% 0, 92% 0, 78% 100%, 22% 100%);
  opacity: 0.85;
}

.cv-fmini__bball-hoop.is-score {
  transform: scale(1.06);
  filter: drop-shadow(0 0 14px rgba(74, 222, 128, 0.7));
}

.cv-fmini__bball-hoop.is-miss {
  filter: grayscale(0.25);
}

.cv-fmini__bball-ball {
  position: absolute;
  left: 10%;
  bottom: 18px;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  z-index: 3;
  background:
    radial-gradient(circle at 32% 28%, #fed7aa, transparent 28%),
    radial-gradient(circle at 50% 50%, #ea580c, #9a3412 70%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
}

.cv-fmini__bball-ball::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
  border-left-color: transparent;
  border-right-color: transparent;
}

.cv-fmini__bball-ball.is-fly {
  animation: cv-fmini-bball-fly 0.8s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.cv-fmini__bball-ball.is-score {
  filter: brightness(1.15);
}

.cv-fmini__bball-ball.is-miss {
  filter: grayscale(0.3);
}

.cv-fmini__bball-scale {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12px;
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.25);
  z-index: 2;
}

.cv-fmini__bball-scale b {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.35), rgba(253, 186, 116, 0.85), rgba(249, 115, 22, 0.35));
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.35);
}

.cv-fmini__bball-scale em {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: #f43f5e;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
  transition: left 0.05s linear;
}

.cv-fmini__bball-readout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  margin: 0;
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  color: rgba(220, 235, 225, 0.85);
  z-index: 2;
  pointer-events: none;
}

.cv-fmini__bball-readout strong {
  color: #fdba74;
}

@keyframes cv-fmini-bball-fly {
  0% {
    left: 10%;
    bottom: 18px;
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  45% {
    opacity: 1;
    transform: translateY(-118px) rotate(140deg) scale(1.08);
  }
  100% {
    left: calc(var(--to, 50) * 1%);
    bottom: 18px;
    opacity: 1;
    transform: translateY(-128px) rotate(260deg) scale(0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-fmini__bball-ball.is-fly {
    animation-duration: 0.01ms !important;
  }
}

.cv-fmini__power {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.2);
  overflow: hidden;
  margin: 0.55rem 0;
}

.cv-fmini__power i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4ade80, #fde68a, #f43f5e);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}

.cv-fmini__cups,
.cv-fmini__pads,
.cv-fmini__pairs,
.cv-fmini__tarot,
.cv-fmini__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.cv-fmini__cup-stage {
  position: relative;
  width: calc(var(--cup-slots, 3) * var(--cup-slot, 88px));
  height: 110px;
  margin: 0.25rem auto 0.75rem;
}

.cv-fmini__cup-ball {
  position: absolute;
  bottom: 10px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7a8, #f43f5e 55%, #9f1239);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
  transition: left 0.35s ease;
}

.cv-fmini__cup,
.cv-fmini__pad,
.cv-fmini__pair,
.cv-fmini__card {
  width: 68px;
  height: 76px;
  border-radius: 14px;
  border: 1px solid rgba(110, 231, 183, 0.28);
  background:
    linear-gradient(165deg, rgba(32, 48, 38, 0.95), rgba(12, 18, 16, 0.98));
  color: #ecfdf5;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cv-fmini__cup:hover:not(:disabled),
.cv-fmini__pad:hover:not(:disabled),
.cv-fmini__pair:hover:not(:disabled),
.cv-fmini__card:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), 0 0 16px rgba(74, 222, 128, 0.2);
}

.cv-fmini__cup-stage .cv-fmini__cup {
  position: absolute;
  top: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  margin-left: calc((var(--cup-slot, 88px) - 64px) / 2);
  width: 64px;
  background: linear-gradient(180deg, #2d4a38 0%, #142018 100%);
  border-color: rgba(167, 243, 208, 0.4);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: left 0.42s cubic-bezier(0.4, 0.1, 0.2, 1), transform 0.28s ease;
}

.cv-fmini__cup-stage .cv-fmini__cup.is-lifted {
  transform: translateY(-28px);
}

.cv-fmini__cup-stage .cv-fmini__cup.is-swap {
  z-index: 4;
  filter: brightness(1.15);
}

.cv-fmini__cup-stage .cv-fmini__cup:disabled {
  cursor: default;
  opacity: 1;
}

.cv-fmini__cup-cap {
  font-size: 1.6rem;
  line-height: 1;
  pointer-events: none;
}

.cv-fmini__pad.is-on,
.cv-fmini__pair.is-open {
  background: rgba(74, 222, 128, 0.28);
  border-color: rgba(167, 243, 208, 0.55);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.cv-fmini__duet {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.cv-fmini__duet-side {
  padding: 0.55rem 0.5rem 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background: rgba(8, 16, 12, 0.65);
}

.cv-fmini__duet-label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.6);
  text-align: center;
}

.cv-fmini__duet-hint {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fde047;
}

.cv-fmini__pads--grid {
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 0.45rem;
  justify-content: center;
}

.cv-fmini__pad--duet {
  display: grid;
  place-items: center;
  gap: 0.1rem;
  width: 72px;
  height: 72px;
  border-color: color-mix(in srgb, var(--pad, #86efac) 55%, transparent);
  background: linear-gradient(160deg, rgba(16, 28, 22, 0.95), rgba(8, 14, 12, 0.98));
}

.cv-fmini__pad--duet span {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pad, #fff);
  line-height: 1;
}

.cv-fmini__pad--duet small {
  font-size: 0.62rem;
  color: rgba(226, 232, 240, 0.45);
  line-height: 1;
}

.cv-fmini__pad--duet.is-on {
  background: color-mix(in srgb, var(--pad, #86efac) 42%, #0c1612);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--pad, #86efac) 70%, transparent),
    0 0 18px color-mix(in srgb, var(--pad, #86efac) 45%, transparent);
  transform: scale(1.04);
}

.cv-fmini__pad--duet.is-echo {
  outline: 2px dashed rgba(253, 224, 71, 0.7);
  outline-offset: 2px;
}

.cv-fmini__pad--duet:disabled {
  cursor: default;
  opacity: 1;
}

.cv-fmini__pair.is-match {
  opacity: 0.45;
  pointer-events: none;
}

.cv-fmini__target {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: radial-gradient(circle, #e74c3c 30%, transparent 32%),
    radial-gradient(circle, #fff 45%, transparent 47%), #e74c3c;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.45);
}

.cv-fmini__meter {
  position: relative;
  height: 160px;
  width: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.25);
  overflow: hidden;
}

.cv-fmini__meter i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #86efac, #f43f5e);
}

.cv-fmini__meter em {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #fde68a;
}

.cv-fmini__dart-line {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(110, 231, 183, 0.2);
  margin: 1rem 0;
  overflow: hidden;
}

.cv-fmini__dart-line i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #fde68a;
  box-shadow: 0 0 10px rgba(253, 224, 71, 0.6);
}

.cv-fmini__dart-stage {
  position: relative;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background:
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(34, 120, 70, 0.28), transparent 55%),
    linear-gradient(180deg, #1c3a48 0%, #0d1a22 55%, #081218 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.cv-fmini__dart-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(253, 224, 71, 0.1), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(167, 139, 250, 0.1), transparent 24%);
  pointer-events: none;
}

.cv-fmini__dart-balloon {
  position: absolute;
  top: 28px;
  width: 54px;
  height: 64px;
  margin-left: -27px;
  z-index: 2;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.cv-fmini__dart-balloon span {
  display: block;
  width: 100%;
  height: 52px;
  border-radius: 50% 50% 48% 48%;
  background:
    radial-gradient(circle at 35% 28%, #fff7ed, transparent 28%),
    radial-gradient(circle at 50% 45%, #fb7185, #be123c 70%, #7f1d1d);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), 0 0 16px rgba(244, 63, 94, 0.35);
  animation: cv-fmini-balloon-bob 2.4s ease-in-out infinite;
}

.cv-fmini__dart-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50px;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: rgba(253, 230, 138, 0.7);
}

.cv-fmini__dart-balloon.is-pop span {
  animation: cv-fmini-balloon-pop 0.35s ease forwards;
}

.cv-fmini__dart-balloon.is-safe {
  filter: brightness(1.05);
}

.cv-fmini__dart-flight {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 52px;
  z-index: 3;
  pointer-events: none;
}

.cv-fmini__dart-flight i {
  position: absolute;
  left: 8%;
  bottom: 8px;
  width: 28px;
  height: 10px;
  margin-left: -14px;
  border-radius: 3px 10px 10px 3px;
  background: linear-gradient(90deg, #a7f3d0, #fde68a 55%, #f59e0b);
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.7);
  transform: rotate(-28deg);
  opacity: 0;
}

.cv-fmini__dart-flight i::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  border-left: 10px solid #fbbf24;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.cv-fmini__dart-flight i::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 3px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: rgba(253, 224, 71, 0.55);
  filter: blur(1px);
  opacity: 0;
}

.cv-fmini__dart-flight i.is-fly {
  animation: cv-fmini-dart-fly 0.78s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.cv-fmini__dart-flight i.is-fly::after {
  animation: cv-fmini-dart-trail 0.78s ease forwards;
}

.cv-fmini__dart-flight i.is-miss {
  filter: grayscale(0.35);
}

.cv-fmini__dart-scale {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.25);
  z-index: 2;
}

.cv-fmini__dart-scale b {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.35), rgba(167, 243, 208, 0.75), rgba(74, 222, 128, 0.35));
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
}

.cv-fmini__dart-scale em {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: #f43f5e;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
  transition: left 0.08s linear;
}

.cv-fmini__dart-readout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  margin: 0;
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  color: rgba(220, 235, 225, 0.8);
  z-index: 2;
  pointer-events: none;
}

.cv-fmini__dart-readout strong {
  color: #fde68a;
}

.cv-fmini__dart-range {
  width: 100%;
  margin: 0.15rem 0 0.75rem;
  accent-color: #f43f5e;
  cursor: pointer;
}

@keyframes cv-fmini-balloon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes cv-fmini-balloon-pop {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.35); opacity: 0.9; filter: brightness(1.4); }
  100% { transform: scale(0.2); opacity: 0; }
}

@keyframes cv-fmini-dart-fly {
  0% {
    left: 8%;
    bottom: 12px;
    opacity: 1;
    transform: translateY(0) rotate(-42deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-105px) rotate(-6deg) scale(1.1);
  }
  100% {
    left: calc(var(--to, 50) * 1%);
    bottom: 12px;
    opacity: 1;
    transform: translateY(-118px) rotate(12deg) scale(0.96);
  }
}

@keyframes cv-fmini-dart-trail {
  0% { opacity: 0; transform: scaleX(0.4); }
  40% { opacity: 0.85; transform: scaleX(1.2); }
  100% { opacity: 0; transform: scaleX(0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .cv-fmini__dart-balloon span,
  .cv-fmini__dart-flight i.is-fly {
    animation-duration: 0.01ms !important;
  }
}

.cv-fmini__wheel-wrap {
  position: relative;
  width: 200px;
  margin: 0.35rem auto 0.85rem;
  padding-top: 36px;
}

.cv-fmini__wheel-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: 36px;
  margin-left: -18px;
  display: grid;
  justify-items: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

.cv-fmini__wheel-pointer em {
  order: -1;
  margin-bottom: 2px;
  font-family: "Chakra Petch", sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fecdd3;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
}

.cv-fmini__wheel-pointer i {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid #f43f5e;
  animation: cv-fmini-pointer-pulse 1.1s ease-in-out infinite;
}

.cv-fmini__wheel {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid rgba(253, 224, 71, 0.45);
  background:
    radial-gradient(circle at center, rgba(8, 16, 12, 0.92) 0 28%, transparent 29%),
    conic-gradient(
      #4ade80 0deg,
      #bbf7d0 calc(var(--green, 48deg) * 0.45),
      #22c55e var(--green, 48deg),
      #1a2e22 var(--green, 48deg),
      #243b2e 140deg,
      #0f1a14 220deg,
      #1f3328 300deg,
      #14532d 360deg
    );
  transform: rotate(var(--a, 0deg));
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.35),
    0 0 36px rgba(34, 197, 94, 0.28),
    inset 0 0 28px rgba(0, 0, 0, 0.4);
  position: relative;
}

.cv-fmini__wheel-label {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Russo One", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: #052e16;
  background: rgba(187, 247, 208, 0.92);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
}

.cv-fmini__wheel-hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  color: rgba(187, 247, 208, 0.8);
}

.cv-fmini__wheel.is-win {
  box-shadow:
    0 0 0 3px rgba(74, 222, 128, 0.55),
    0 0 48px rgba(34, 197, 94, 0.55),
    inset 0 0 28px rgba(0, 0, 0, 0.4);
}

.cv-fmini__wheel.is-miss {
  filter: saturate(0.75);
}

@keyframes cv-fmini-pointer-pulse {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50% { transform: translateY(3px); filter: brightness(1.25); }
}

.cv-fmini__balance {
  position: relative;
  height: 150px;
  margin-bottom: 0.55rem;
}

.cv-fmini__balance-stage {
  position: relative;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background:
    radial-gradient(ellipse at 50% 80%, rgba(34, 120, 70, 0.22), transparent 55%),
    linear-gradient(180deg, #15241c, #0a1210);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.cv-fmini__plat {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 58%;
  height: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #3f6212, #a3e635 45%, #86efac 50%, #a3e635 55%, #3f6212);
  transform-origin: center center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: filter 0.2s ease;
}

.cv-fmini__plat.is-win {
  filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.7));
}

.cv-fmini__balance-fulcrum {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 0;
  height: 0;
  margin-left: -14px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 22px solid rgba(253, 224, 71, 0.55);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.cv-fmini__balance-ball,
.cv-fmini__balance i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #fff, #fb7185 42%, #be123c 75%);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.55), 0 4px 8px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -110%);
  z-index: 2;
}

.cv-fmini__balance-ball.is-fall {
  animation: cv-fmini-ball-fall 0.4s ease-in forwards;
}

@keyframes cv-fmini-ball-fall {
  to {
    transform: translate(calc(-50% + var(--fall-x, 0px)), 70px) scale(0.85);
    opacity: 0.35;
  }
}

.cv-fmini--forest .cv-boss__track {
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(0, 0, 0, 0.4);
}

.cv-fmini--forest .cv-boss__zone {
  background: linear-gradient(90deg, #16a34a, #a3e635);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.5);
}

@keyframes cv-fmini-bg-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

@keyframes cv-fmini-rays {
  to { transform: rotate(360deg); }
}

@keyframes cv-fmini-mist {
  from { transform: translateX(-4%); opacity: 0.45; }
  to { transform: translateX(4%); opacity: 0.75; }
}

@keyframes cv-fmini-fly {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate3d(12px, -18px, 0) scale(1.35); opacity: 0.9; }
}

@keyframes cv-fmini-glow {
  from { opacity: 0.55; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes cv-fmini-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes cv-fmini-mascot-in {
  from { opacity: 0; transform: translateY(28px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cv-fmini-panel-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ——— Forest mini UX polish: claw / rings / tir / strength / scales / drums / tarot ——— */
.cv-fmini__balloon-target {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 auto 0.55rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c, #86efac) 55%, transparent);
  background: color-mix(in srgb, var(--c, #86efac) 18%, rgba(0, 0, 0, 0.45));
  color: #f0fdf4;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.85rem;
}

.cv-fmini__balloon-target b {
  color: var(--c, #86efac);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cv-fmini__ball.is-pop {
  animation: none;
  transform: scale(1.4);
  opacity: 0;
  transition: 0.15s ease;
}

.cv-fmini__claw-stage {
  position: relative;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(110, 231, 183, 0.25);
  background:
    linear-gradient(180deg, #1a2e38 0%, #0d161c 55%, #1a120c 100%);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.cv-fmini__claw-rail {
  position: absolute;
  top: 18px;
  left: 6%;
  right: 6%;
  height: 6px;
  border-radius: 999px;
  background: rgba(167, 243, 208, 0.25);
}

.cv-fmini__claw-sweet {
  position: absolute;
  bottom: 18px;
  height: 42px;
  margin-left: 0;
  transform: translateX(-50%);
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.22);
  border: 1px dashed rgba(253, 186, 116, 0.65);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
}

.cv-fmini__claw-prize {
  position: absolute;
  bottom: 22px;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #fde68a, #f59e0b 55%, #b45309);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.55);
  font-size: 1.2rem;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cv-fmini__claw-prize.is-caught {
  transform: translateY(-48px) scale(0.85);
  opacity: 0.9;
}

.cv-fmini__claw-prize.is-safe {
  filter: brightness(1.1);
}

.cv-fmini__claw-arm {
  position: absolute;
  top: 8px;
  width: 8px;
  margin-left: -4px;
  z-index: 3;
  transition: top 0.35s ease;
}

.cv-fmini__claw-arm i {
  display: block;
  width: 8px;
  height: 44px;
  margin: 0 auto;
  background: linear-gradient(180deg, #a7f3d0, #4ade80);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.55);
  border-radius: 4px;
}

.cv-fmini__claw-arm b {
  display: block;
  width: 28px;
  height: 16px;
  margin: -2px 0 0 -10px;
  border: 3px solid #86efac;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.cv-fmini__claw-arm.is-drop {
  top: 58px;
}

.cv-fmini__claw-arm.is-win i {
  filter: brightness(1.3);
}

.cv-fmini__claw-arm.is-miss {
  filter: grayscale(0.4);
}

.cv-fmini__claw-readout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(220, 235, 225, 0.85);
  font-family: "Chakra Petch", sans-serif;
}

.cv-fmini__ring-stage {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.55rem;
  border: 1px solid rgba(110, 231, 183, 0.25);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(34, 120, 70, 0.28), transparent 55%),
    linear-gradient(180deg, #1a3340, #0a1418 60%, #1a120c);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.cv-fmini__ring-bottle {
  position: absolute;
  bottom: 48px;
  width: 36px;
  margin-left: -18px;
  z-index: 2;
}

.cv-fmini__ring-bottle span {
  display: block;
  width: 28px;
  height: 58px;
  margin: 0 auto;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(180deg, rgba(167, 243, 208, 0.45), rgba(34, 197, 94, 0.55));
  border: 1px solid rgba(167, 243, 208, 0.5);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.3);
}

.cv-fmini__ring-bottle em {
  display: block;
  width: 18px;
  height: 10px;
  margin: -4px auto 0;
  border-radius: 3px;
  background: rgba(253, 224, 71, 0.7);
}

.cv-fmini__ring-bottle.is-score {
  filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.7));
  transform: scale(1.06);
}

.cv-fmini__ring-disc {
  position: absolute;
  left: 10%;
  bottom: 20px;
  width: 34px;
  height: 12px;
  margin-left: -17px;
  border: 3px solid #fde68a;
  border-radius: 50%;
  z-index: 3;
  opacity: 0;
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.55);
}

.cv-fmini__ring-disc.is-fly {
  animation: cv-fmini-ring-fly 0.78s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.cv-fmini__ring-disc.is-score {
  border-color: #4ade80;
}

.cv-fmini__ring-disc.is-miss {
  filter: grayscale(0.4);
}

.cv-fmini__ring-scale {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12px;
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.25);
  z-index: 2;
}

.cv-fmini__ring-scale b {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.35), rgba(167, 243, 208, 0.8), rgba(74, 222, 128, 0.35));
}

.cv-fmini__ring-scale em {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: #f43f5e;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
  transition: left 0.05s linear;
}

.cv-fmini__ring-readout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(220, 235, 225, 0.85);
  font-family: "Chakra Petch", sans-serif;
  z-index: 2;
  pointer-events: none;
}

.cv-fmini__ring-readout strong {
  color: #fde68a;
}

@keyframes cv-fmini-ring-fly {
  0% {
    left: 10%;
    bottom: 20px;
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-90px) rotate(180deg);
  }
  100% {
    left: calc(var(--to, 50) * 1%);
    bottom: 20px;
    opacity: 1;
    transform: translateY(-78px) rotate(320deg);
  }
}

.cv-fmini__tir {
  position: relative;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 183, 0.25);
  background: linear-gradient(180deg, #3a2418 0%, #1a100c 50%, #0a0806 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.cv-fmini__tir-back {
  position: absolute;
  inset: 12% 8% 18%;
  border-radius: 12px;
  border: 2px solid rgba(253, 224, 71, 0.2);
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    ),
    rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.cv-fmini__tir-hud {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  margin: 0;
  text-align: center;
  z-index: 3;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.9rem;
  color: #fde68a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.cv-fmini__tir-hud .is-low {
  color: #fb7185;
}

.cv-fmini__tir-target {
  position: absolute;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle, #fff 12%, #ef4444 13% 28%, #fff 29% 42%, #ef4444 43% 58%, #fff 59% 72%, #111 73%);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.45);
  animation: cv-fmini-target-in 0.2s ease both;
  z-index: 2;
}

.cv-fmini__tir-target i {
  display: none;
}

.cv-fmini__tir-target.is-hit {
  transform: scale(1.35);
  opacity: 0;
  transition: 0.2s ease;
  filter: brightness(1.5);
}

.cv-fmini__tir-target.is-gone {
  opacity: 0;
  transform: scale(0.6);
  transition: 0.18s ease;
}

@keyframes cv-fmini-target-in {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cv-fmini__str {
  margin-bottom: 0.55rem;
}

.cv-fmini__str-meter {
  position: relative;
  height: 180px;
  width: 56px;
  margin: 0 auto 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(110, 231, 183, 0.28);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.cv-fmini__str-sweet {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(253, 224, 71, 0.55), rgba(250, 204, 21, 0.35));
  box-shadow: 0 0 14px rgba(253, 224, 71, 0.35);
}

.cv-fmini__str-meter i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #86efac, #f43f5e);
  transition: filter 0.1s ease;
}

.cv-fmini__str-meter i.is-hot {
  filter: brightness(1.25);
  box-shadow: 0 0 16px rgba(253, 224, 71, 0.55);
}

.cv-fmini__str-meter i.is-win {
  background: linear-gradient(180deg, #4ade80, #22c55e);
}

.cv-fmini__str-meter i.is-miss {
  filter: grayscale(0.4);
}

.cv-fmini__str-mark {
  position: absolute;
  right: calc(100% + 6px);
  transform: translateY(50%);
  font-size: 0.65rem;
  font-family: "Chakra Petch", sans-serif;
  color: #fde68a;
  white-space: nowrap;
  font-style: normal;
  font-weight: 700;
}

.cv-fmini__str-readout {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(220, 235, 225, 0.85);
}

.cv-fmini__scales {
  position: relative;
  height: 140px;
  margin-bottom: 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  background: linear-gradient(180deg, #15241c, #0a1210);
  overflow: hidden;
}

.cv-fmini__scales-beam {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 48%;
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, #a78bfa, #fde68a, #a78bfa);
  transform-origin: center;
  transition: transform 0.08s linear;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.cv-fmini__scales-pan {
  position: absolute;
  top: -36px;
  width: 48px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(15, 23, 20, 0.9);
  border: 1px solid rgba(167, 243, 208, 0.35);
  color: #fde68a;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
}

.cv-fmini__scales-pan.is-l { left: 4%; }
.cv-fmini__scales-pan.is-r { right: 4%; }

.cv-fmini__scales-fulcrum {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 0;
  height: 0;
  margin-left: -12px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 18px solid rgba(253, 224, 71, 0.55);
}

.cv-fmini__scales-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(220, 235, 225, 0.75);
}

.cv-fmini__scales-hint.is-close {
  color: #86efac;
  font-weight: 700;
}

.cv-fmini__drums {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.cv-fmini__drum {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(167, 243, 208, 0.4);
  background: radial-gradient(circle at 40% 35%, #3f2a1a, #1a100c 70%);
  color: #fde68a;
  font-family: "Russo One", sans-serif;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.cv-fmini__drum:disabled {
  cursor: default;
  opacity: 1;
}

.cv-fmini__drum.is-on {
  transform: scale(1.08);
  border-color: #fde68a;
  box-shadow: 0 0 22px rgba(253, 224, 71, 0.55);
  color: #fff;
}

.cv-fmini__drum.is-miss {
  border-color: #f43f5e;
}

.cv-fmini__tarot-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.cv-fmini__tarot-card {
  appearance: none;
  min-height: 110px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: linear-gradient(160deg, #1e1530, #0f0a18);
  color: #e9d5ff;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
  place-items: center;
  padding: 0.7rem 0.4rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cv-fmini__tarot-card:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: rgba(253, 224, 71, 0.5);
}

.cv-fmini__tarot-back,
.cv-fmini__tarot-face {
  font-size: 1.8rem;
  font-weight: 800;
}

.cv-fmini__tarot-card small {
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.55);
}

.cv-fmini__tarot-card.is-good {
  border-color: rgba(74, 222, 128, 0.7);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.3);
}

.cv-fmini__tarot-card.is-bad {
  border-color: rgba(244, 63, 94, 0.7);
}

.cv-fmini__tarot-card.is-picked {
  transform: scale(1.04);
}

.cv-fmini__stations {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.85rem 0.65rem 1.4rem;
  text-align: left;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(110, 231, 183, 0.2);
  color: #e8fff4;
  font-size: 0.92rem;
  line-height: 1.55;
}
.cv-fmini__stations li b {
  color: #86efac;
  margin-right: 0.25rem;
}

.cv-fmini--finale .cv-fmini__mascot-img {
  animation: cv-fmini-boss-pulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(240, 180, 41, 0.45));
}
.cv-fmini--finale .cv-fmini__panel {
  border-color: rgba(240, 180, 41, 0.4);
  box-shadow: 0 0 40px rgba(240, 180, 41, 0.12);
}
.cv-fmini__arena {
  display: grid;
  gap: 0.75rem;
}
.cv-fmini__arena-hp {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.cv-fmini__arena-hp span {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(240, 180, 41, 0.25);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.cv-fmini__arena-hp span.is-on {
  background: linear-gradient(90deg, #86efac, #f0b429);
  box-shadow: 0 0 12px rgba(240, 180, 41, 0.45);
}
.cv-fmini__arena-phase {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: #fde68a;
  letter-spacing: 0.02em;
}
.cv-fmini__arena-stage {
  min-height: 140px;
  padding: 0.75rem;
  border-radius: 14px;
  background:
    radial-gradient(420px 120px at 50% 0%, rgba(240, 180, 41, 0.14), transparent 60%),
    rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(110, 231, 183, 0.22);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cv-fmini__arena-stage.is-hit {
  border-color: rgba(74, 222, 128, 0.7);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.25);
}
.cv-fmini__arena-stage.is-miss {
  border-color: rgba(244, 63, 94, 0.7);
  box-shadow: 0 0 24px rgba(244, 63, 94, 0.22);
}
.cv-fmini__arena-track {
  margin-bottom: 0.85rem;
}
.cv-fmini__arena-roots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.5rem 0 0.75rem;
}
.cv-fmini__arena-root {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 2px solid rgba(110, 231, 183, 0.35);
  background: rgba(12, 22, 18, 0.85);
  color: #bbf7d0;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cv-fmini__arena-root.is-on {
  background: rgba(240, 180, 41, 0.35);
  border-color: #f0b429;
  box-shadow: 0 0 18px rgba(240, 180, 41, 0.45);
  transform: scale(1.06);
}
.cv-fmini__arena-root:disabled {
  opacity: 0.85;
  cursor: default;
}
.cv-fmini__arena-hint {
  margin: 0.35rem 0 0.75rem;
  text-align: center;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.9rem;
}
.cv-fmini__arena-slam-bar {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(240, 180, 41, 0.3);
  margin: 1rem 0 0.5rem;
  overflow: hidden;
}
.cv-fmini__arena-slam-bar b {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(253, 224, 71, 0.45);
  border-left: 1px solid #fde68a;
  border-right: 1px solid #fde68a;
}
.cv-fmini__arena-slam-bar em {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 4px;
  margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 10px #f0b429;
  border-radius: 2px;
}
.cv-fmini__arena-victory {
  font-size: 2.6rem;
  text-align: center;
  margin: 0.5rem 0;
  animation: cv-fmini-boss-pulse 1.1s ease-in-out infinite;
}
.cv-fmini__arena-victory-txt {
  text-align: center;
  margin: 0;
  font-weight: 700;
  color: #fde68a;
}
@keyframes cv-fmini-boss-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}

@media (max-width: 820px) {
  .cv-fmini__layout {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }

  .cv-fmini__mascot {
    order: -1;
  }

  .cv-fmini__mascot-img {
    max-height: min(34vh, 240px);
    width: min(200px, 48vw);
  }

  .cv-fmini__mascot-cap {
    display: none;
  }

  .cv-fmini__stage,
  .cv-fmini__tir,
  .cv-fmini__claw-stage,
  .cv-fmini__ring-stage {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-fmini__bg,
  .cv-fmini__rays,
  .cv-fmini__mist,
  .cv-fmini__fireflies i,
  .cv-fmini__mascot-img,
  .cv-fmini__mascot-glow {
    animation: none !important;
  }
}
