/* Plan de hoy (420 x 300): la lista del día y la racha flotante. */

.pc-plan-hoy .plano {
  left: 0;
  top: 24px;
  width: 392px;
  height: 268px;
}

/* línea de leyenda, igual en todas las piezas de la fila */
.pc-plan-hoy .cab {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/20px var(--sans);
  color: var(--texto);
  white-space: nowrap;
}

.pc-plan-hoy .cab .ic {
  color: var(--texto-3);
}

.pc-plan-hoy .itens {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 56px;
}

.pc-plan-hoy .item {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-plan-hoy .item + .item::before {
  content: "";
  position: absolute;
  left: 36px;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--linha);
}

.pc-plan-hoy .caja {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 0 1.5px var(--linha-2) inset;
  transition:
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.16s var(--saida);
}

.pc-plan-hoy .caja svg {
  display: block;
}

.pc-plan-hoy .caja.hover {
  background: var(--fundo);
  box-shadow: 0 0 0 1.5px var(--tinta-2) inset;
}

.pc-plan-hoy .caja.on {
  background: var(--tinta);
  box-shadow: 0 0 0 1.5px var(--tinta) inset;
  animation: ph-pop 0.4s var(--mola);
}

@keyframes ph-pop {
  0% {
    transform: scale(0.8);
  }
}

.pc-plan-hoy .tilde {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.pc-plan-hoy .txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pc-plan-hoy .txt b {
  font: 600 14px/20px var(--sans);
  color: var(--texto);
  white-space: nowrap;
}

.pc-plan-hoy .tacha {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 56% / 0% 1.5px;
  transition:
    color 0.35s,
    background-size 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.pc-plan-hoy .item.hecho .tacha {
  color: var(--texto-3);
  background-size: 100% 1.5px;
}

.pc-plan-hoy .sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 400 12px/16px var(--sans);
  color: var(--texto-3);
  white-space: nowrap;
}

.pc-plan-hoy .sub .num b {
  font-weight: 700;
  color: var(--texto);
  transition: color 0.3s;
}

.pc-plan-hoy .item.hecho .sub .num b {
  color: var(--texto-3);
}

.pc-plan-hoy .barra {
  position: relative;
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: var(--neblina);
  overflow: hidden;
  margin-right: 4px;
}

.pc-plan-hoy .barra i {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--tinta);
  transform: scaleX(0.4);
  transform-origin: 0 50%;
  transition: background-color 0.3s;
}

.pc-plan-hoy .item.hecho .barra i {
  background: var(--texto-3);
}

/* la racha */
.pc-plan-hoy .racha {
  left: 228px;
  top: 0;
  width: 192px;
  height: 84px;
  border-radius: 12px;
  box-shadow: var(--sombra-2);
}

.pc-plan-hoy .racha::after {
  box-shadow: 0 0 0 1px rgba(16, 54, 80, 0.1) inset;
}

.pc-plan-hoy .r-top {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pc-plan-hoy .r-top .ic {
  color: var(--ouro);
}

.pc-plan-hoy .cont {
  position: relative;
  width: 22px;
  height: 24px;
  overflow: hidden;
  font: 500 20px/24px var(--serifa);
  color: var(--tinta);
}

.pc-plan-hoy .cont span {
  position: absolute;
  left: 0;
  top: 0;
  transition:
    transform 0.5s var(--saida),
    opacity 0.3s;
}

.pc-plan-hoy .cont .b {
  transform: translateY(100%);
  opacity: 0;
}

.pc-plan-hoy .cont.sube .a {
  transform: translateY(-100%);
  opacity: 0;
}

.pc-plan-hoy .cont.sube .b {
  transform: none;
  opacity: 1;
}

.pc-plan-hoy .r-txt {
  font: 600 13px/20px var(--sans);
  color: var(--texto);
}

.pc-plan-hoy .dias {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 44px;
  display: flex;
  justify-content: space-between;
}

.pc-plan-hoy .dia {
  width: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pc-plan-hoy .dia i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--linha-2) inset;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}

.pc-plan-hoy .dia.hecho i {
  background: var(--tinta);
  box-shadow: none;
}

.pc-plan-hoy .dia.hoy.hecho i {
  background: var(--ouro);
  box-shadow: 0 0 0 3px var(--ouro-claro);
  animation: ph-pop 0.45s var(--mola);
}

.pc-plan-hoy .dia span {
  font: 400 12px/16px var(--sans);
  color: var(--texto-3);
}

.pc-plan-hoy .dia.hoy span {
  font-weight: 700;
  color: var(--texto);
}

.pc-plan-hoy .chispa {
  position: absolute;
  left: -4px;
  top: -4px;
  z-index: 40;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ouro);
  box-shadow: 0 0 0 3px rgba(243, 230, 207, 0.7), 0 0 12px 2px rgba(184, 140, 80, 0.5);
  opacity: 0;
  pointer-events: none;
}
