.rcWrap{ position: relative; z-index: 3; padding-bottom: 96px; }
.rcState{ display: grid; justify-items: center; gap: 10px; padding: 48px 20px; border-radius: 26px; background: #fff; border: 1px solid var(--line); text-align: center; color: var(--ink-2); font-weight: 600; }
.rcState i{ font-size: 28px; color: var(--lav-500); }
.rcState p{ margin: 0; max-width: 420px; }

.rcGrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "best best total total"
    "best best rarity oreos"
    "macs social social streak";
  gap: 14px;
}
.rcTile{ position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 0 var(--lav-100); }
.rcLabel{ margin: 0 0 8px; color: #8A4FF0; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rcBig{ margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.rcBig span{ font-size: .6em; }
.rcMid{ margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); overflow-wrap: anywhere; }
.rcSub{ margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* mejor pull: la carta va sola, sin fondo, sombra ni recorte */
.rcBest{ grid-area: best; background: linear-gradient(160deg, #F3ECFF, #FFF 60%); }
.rcBestCard{ display: block; width: min(250px, 70%); height: auto; margin: 6px auto 14px; transform: rotate(-3deg); transition: transform .3s cubic-bezier(.23,1,.32,1); }
@media (hover: hover) and (pointer: fine){ .rcBest:hover .rcBestCard{ transform: rotate(0) translateY(-4px); } }
.rcBestText{ display: grid; gap: 2px; text-align: center; }
.rcBestText b{ font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.rcBestText span{ color: var(--ink-2); }
.rcChips{ display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.rcChip{ padding: 3px 10px; border-radius: 999px; background: var(--lav-100); color: #6A35D0; font-size: 13px; font-weight: 800; }

/* cartas por día: una sola serie, un solo color */
.rcTotal{ grid-area: total; }
.rcBars{ display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; align-items: end; height: 150px; margin-top: 16px; }
.rcBar{ position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; outline: none; }
.rcBarFill{ width: min(30px, 70%); border-radius: 4px 4px 0 0; background: #7B3FE4; transition: opacity .15s ease; }
.rcBar small{ margin-top: 6px; color: var(--ink-2); font-size: 12px; font-weight: 700; text-transform: capitalize; }
.rcBarTip{ position: absolute; bottom: calc(100% - 8px); left: 50%; z-index: 2; padding: 4px 8px; border-radius: 8px; background: var(--lav-900); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; transition: opacity .12s ease, transform .12s ease; }
.rcBar:hover .rcBarTip, .rcBar:focus .rcBarTip{ opacity: 1; transform: translate(-50%, 0); }
.rcBars:hover .rcBarFill{ opacity: .45; }
.rcBars .rcBar:hover .rcBarFill{ opacity: 1; }

/* rareza: barras horizontales del mismo color, la etiqueta dice cuál es */
.rcRarity{ grid-area: rarity; }
.rcSplit{ display: grid; gap: 10px; margin-top: 4px; }
.rcSplitRow{ display: grid; grid-template-columns: 56px minmax(0, 1fr) 42px; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.rcSplitRow b{ color: var(--ink); text-align: right; }
.rcSplitTrack{ height: 12px; border-radius: 4px; background: var(--lav-100); overflow: hidden; }
.rcSplitTrack span{ display: block; height: 100%; border-radius: 4px; background: #7B3FE4; }

.rcOreos{ grid-area: oreos; }
.rcMacs{ grid-area: macs; }
.rcSocial{ grid-area: social; }
.rcStreak{ grid-area: streak; }
.rcList{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rcList li{ display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.rcList i{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--lav-100); color: #7B3FE4; }
.rcList b{ color: var(--ink); font-size: 18px; }

.rcActions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* entrada escalonada de los cuadros */
.rcTile{ animation: rcIn .45s cubic-bezier(.23,1,.32,1) both; }
.rcTile:nth-child(2){ animation-delay: .05s; }
.rcTile:nth-child(3){ animation-delay: .1s; }
.rcTile:nth-child(4){ animation-delay: .15s; }
.rcTile:nth-child(5){ animation-delay: .2s; }
.rcTile:nth-child(6){ animation-delay: .25s; }
.rcTile:nth-child(7){ animation-delay: .3s; }
@keyframes rcIn{ from{ opacity: 0; transform: translateY(12px); } to{ opacity: 1; transform: none; } }

@media (max-width: 900px){
  .rcGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "best best" "total total" "rarity rarity" "oreos macs" "streak streak" "social social"; }
}
@media (max-width: 520px){
  .rcGrid{ gap: 10px; grid-template-areas: "best best" "total total" "rarity rarity" "oreos macs" "streak streak" "social social"; }
  .rcTile{ padding: 16px; border-radius: 22px; }
  .rcBars{ height: 120px; }
}
@media (prefers-reduced-motion: reduce){ .rcTile{ animation: none; } .rcBestCard{ transition: none; } }

/* semana pasada / esta semana */
.rcWeeks{ position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 22px; padding-top: 4px; }
.rcWeek{ display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 700 15px/1 var(--font-body, inherit); cursor: pointer; transition: transform .12s ease; }
.rcWeek:active{ transform: scale(.96); }
.rcWeek.active{ background: var(--lav-900); border-color: var(--lav-900); color: #fff; box-shadow: 0 4px 0 var(--lav-950); }

.rcCoin{ width: 22px; height: 22px; object-fit: contain; vertical-align: -6px; margin-right: 2px; }
.rcStreakIcon{ width: .8em; height: .8em; object-fit: contain; vertical-align: -.05em; }
.rcBar.isFuture small{ opacity: .45; }
.rcBar.isToday small{ color: #7B3FE4; }
.rcOreos .rcSub, .rcMacs .rcSub{ font-size: 13px; }
.rcBig{ white-space: nowrap; }
