/* The rewards card on the home page (client/src/rewardsCard.ts, item 800): two tabs, TODAY and HAUNTED. Lean on purpose
   (owner, 2026-10-23): one-line rows, no bars, one pay line a tab. The shell (.daily, row-card) is daily.css and
   landing-home.css; the wheel is streak.css. */
.rc-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.rc-tab {
  padding: 5px 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 900 12px/1 var(--head);
  letter-spacing: 0.08em;
  cursor: pointer;
}
.rc-tab.on {
  background: var(--ink);
  color: var(--paper);
}
.rc-tab:not(.on):hover {
  background: #fff;
}
.rc-left {
  margin-left: auto;
  font: 700 11px var(--head);
  letter-spacing: 0.06em;
  color: var(--ink-soft, #4a4252);
}
.rc-rows {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 14px/1.2 var(--head);
}
.rc-tick {
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  font-size: 13px;
}
.rc-row.done .rc-tick {
  background: var(--green);
  color: #fff;
}
.rc-row.done .rc-text {
  text-decoration: line-through;
  opacity: 0.55;
}
.rc-text {
  flex: 1;
  min-width: 0;
}
.rc-count {
  flex: none;
  font: 800 12px ui-monospace, 'SF Mono', Menlo, monospace;
  font-style: normal;
  color: var(--ink-soft, #4a4252);
}
.rc-pay {
  margin: 0;
  font: 700 12px/1.35 var(--head);
  color: var(--ink-soft, #4a4252);
}
.rc-streak,
.rc-pass {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rc-label {
  flex: none;
  font: 900 11px var(--head);
  letter-spacing: 0.08em;
}
.rc-pips,
.rc-dots {
  display: grid;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc-pips {
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.rc-pip {
  display: grid;
  place-items: center;
  height: 20px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  font: 900 9px var(--head);
  letter-spacing: 0.04em;
}
.rc-pip.next {
  background: #fff3b0;
  border-style: dashed;
}
.rc-pip.done,
.rc-pip.today {
  background: var(--green);
  color: #fff;
}
.rc-pip.today {
  box-shadow: 0 0 0 3px #ffd23f;
}
.rc-dots {
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}
.rc-dot {
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}
.rc-dot.reached {
  background: #ffb347;
}
.rc-dot.given {
  background: var(--green);
}
.rc-spin {
  flex: none;
  animation: rc-pulse 1.4s ease-in-out infinite;
}
@keyframes rc-pulse {
  50% {
    transform: scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc-spin {
    animation: none;
  }
}
