.prem {
  max-width: 460px;
  margin: 0 auto 12px;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid #f5d58b;
  background:
    radial-gradient(circle at 50% 0%, rgb(245 213 139 / 28%), transparent 62%),
    linear-gradient(160deg, rgb(80 40 130 / 75%), rgb(255 122 46 / 14%));
  text-align: center;
  box-shadow: 0 0 22px rgb(245 213 139 / 18%);
}
.prem > b {
  display: block;
  color: #ffe9a8;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgb(245 213 139 / 60%);
}
.prem small {
  display: block;
  opacity: 0.85;
}
.prem > small {
  margin: 2px 0 8px;
}
.prem .btn {
  margin: 10px 0 0;
  padding: 12px 26px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  animation: ppulse 2s ease-in-out infinite;
}
.prem .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 55%) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: pshine 2.6s ease-in-out infinite;
}
.pcs {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
  padding: 10px 2px 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.pc {
  position: relative;
  flex: 0 0 96px;
  scroll-snap-align: center;
  padding: 16px 4px 6px;
  border-radius: 12px;
  border: 1px solid var(--rc, #f5d58b);
  background:
    radial-gradient(circle at 50% 38%, rgb(255 255 255 / 16%), transparent 65%), rgb(10 6 24 / 55%);
  box-shadow: 0 0 14px var(--rc, #f5d58b);
  animation: pfloat 3.2s ease-in-out infinite;
}
.pc canvas {
  display: block;
  width: 100%;
  height: 84px;
  filter: drop-shadow(0 0 8px var(--rc, #f5d58b));
}
.pcl {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 7px;
  border-radius: 8px;
  background: #f5d58b;
  color: #261a05;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.pc b {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.15;
  color: #fff3d0;
}
.pc small {
  font-size: 9px;
  font-weight: 800;
}
.pks {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pkk {
  flex: 1 1 0;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgb(0 0 0 / 30%);
  border: 1px solid rgb(245 213 139 / 30%);
}
.pkk b {
  display: block;
  font-size: 17px;
  color: #fff3d0;
}
.pkk small {
  font-size: 10px;
  color: #f5d58b;
}
.pkf {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pfloat 2.8s ease-in-out infinite;
}
.pkf .pk {
  width: 40px;
  height: 40px;
  animation: pspin 4s ease-in-out infinite;
}
.pco canvas,
.pco .coin {
  transform: scale(1.5);
}
.pk {
  overflow: visible;
  filter: drop-shadow(0 0 5px currentColor);
}
.pk-n {
  color: #e0a35a;
}
.pk-e {
  color: #c58bff;
}
.pk .kb,
.pk .ks {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}
.pk .kh {
  fill: #171323;
}
.pk .kg {
  fill: #ffd86b;
}
.pk-e .kb {
  stroke: #c58bff;
}
.pk-e .ks {
  stroke: #ffd86b;
}

/* pista horizontal: niveles arriba, gratis en medio, premium abajo */
.ptrk {
  display: flex;
  max-width: 520px;
  margin: 0 auto 8px;
  border-radius: 14px;
  border: 1px solid rgb(245 213 139 / 35%);
  background: rgb(8 5 20 / 55%);
  overflow: hidden;
}
.ptl {
  flex: 0 0 58px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 4px;
  background: rgb(20 12 40 / 95%);
  border-right: 1px solid rgb(245 213 139 / 35%);
  z-index: 1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  color: #cfc6ea;
}
.pl0,
.ptf,
.ptp {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl0 {
  height: 26px;
}
.ptf {
  height: 74px;
}
.ptp {
  height: 132px;
  color: #ffd86b;
  flex-direction: column;
}
.pts {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
}
.ptc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: max-content;
  padding: 6px 6px 2px;
}
.ptr {
  display: flex;
  gap: 6px;
}
.pl {
  flex: 0 0 76px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 13px;
  font-weight: 900;
  font-size: 13px;
  background: rgb(255 255 255 / 8%);
  color: #9b92b8;
  scroll-snap-align: start;
}
.pl.past {
  background: rgb(245 213 139 / 22%);
  color: #f5d58b;
}
.pl.now {
  background: #f5d58b;
  color: #261a05;
  animation: ppulse 1.6s ease-in-out infinite;
}
.pcell {
  position: relative;
  flex: 0 0 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  border-radius: 10px;
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 5%);
  color: #fff3d0;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.pcell.free {
  height: 74px;
}
.pcell.prm {
  height: 132px;
  border-color: rgb(245 213 139 / 55%);
  background: linear-gradient(180deg, rgb(245 213 139 / 14%), rgb(255 122 46 / 8%));
}
.pcell.prm.hit {
  border-width: 2px;
  box-shadow: 0 0 14px rgb(245 213 139 / 50%);
}
.pcell.prm canvas[data-cos] {
  width: 100%;
  height: 50px;
  filter: drop-shadow(0 0 6px rgb(245 213 139 / 70%));
  animation: pfloat 3s ease-in-out infinite;
}
.pin {
  font-size: 9px;
  line-height: 1.1;
}
.pcell .pck {
  display: inline-flex;
  gap: 2px;
  min-height: 18px;
}
.pcell .pck .pk {
  width: 18px;
  height: 18px;
}
.pcell i {
  font-style: normal;
  line-height: 0;
  opacity: 0.9;
}
.pcell.got {
  opacity: 0.55;
  border-color: #6fd38a;
}
.pcell.rdy {
  border-color: #ffe08a;
  box-shadow: 0 0 10px rgb(255 224 138 / 55%);
  animation: ppulse 1.6s ease-in-out infinite;
}
.pcell.lk {
  cursor: pointer;
  filter: saturate(0.55) brightness(0.85);
}
@keyframes pfloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes pspin {
  0%,
  100% {
    transform: rotate(-12deg) scale(1);
  }
  50% {
    transform: rotate(12deg) scale(1.1);
  }
}
@keyframes ppulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes pshine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc,
  .pkf,
  .pkf .pk,
  .pcell canvas,
  .pcell.rdy,
  .pl.now,
  .prem .btn,
  .prem .btn::after {
    animation: none;
  }
}

/* nivel y copias de los cosméticos */
.clv {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
  color: #cfc6ea;
}
.clv b {
  color: #f5d58b;
}
.sk .cbt {
  margin-top: 4px;
}

/* carrusel arrastrable: sin barra de desplazamiento */
.pts,
.pcs {
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.pts::-webkit-scrollbar,
.pcs::-webkit-scrollbar {
  display: none;
}
.pts.drag,
.pcs.drag {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.pts canvas,
.pcs canvas {
  pointer-events: none;
}
