/* ═══════════════════════════════════════════════════════════════
   TROPHY ROOM — Motivational Stats Dashboard
   Premium, modern, data-driven design
   ═══════════════════════════════════════════════════════════════ */

.trophy-room {
  position: relative;
  min-height: 100dvh;
  padding: 0;               /* header & content handle their own padding */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-width: var(--app-max-width);
  margin: 0 auto;
}

/* ── Background effects ──────────────────────────────── */
.tr-bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tr-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
}

.tr-bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tr-bg-particle {
  position: absolute;
  top: 0;
  left: var(--tr-p-x);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.4);
  animation: trParticleFloat var(--tr-p-dur) ease-in-out infinite;
  animation-delay: var(--tr-p-delay);
}

@keyframes trParticleFloat {
  0% { transform: translateY(100vh) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-20px) scale(0); opacity: 0; }
}

/* ── Top bar ─────────────────────────────────────────── */
.tr-top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  gap: 12px;
  width: 100%;
}

.tr-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.tr-back-btn:active {
  transform: scale(0.92);
}

.tr-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ── Content ─────────────────────────────────────────── */
.tr-content {
  max-width: var(--app-max-width);
  margin: 0 auto;
  padding: 0 16px 40px;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   HERO CARD — Player Rank & Stars
   ══════════════════════════════════════════════════════ */
.tr-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: trFadeIn 0.5s ease;
}

.tr-hero-glow {
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-color) 15%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.tr-hero-rank-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--rank-color) 20%, transparent), color-mix(in srgb, var(--rank-color) 8%, transparent));
  border: 2px solid color-mix(in srgb, var(--rank-color) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 0 40px color-mix(in srgb, var(--rank-color) 25%, transparent);
  animation: trRankPulse 3s ease-in-out infinite;
}

@keyframes trRankPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px color-mix(in srgb, var(--rank-color, #6366f1) 20%, transparent); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px color-mix(in srgb, var(--rank-color, #6366f1) 35%, transparent); }
}

.tr-hero-rank-emoji {
  font-size: 32px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.tr-hero-rank-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tr-hero-star-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.tr-hero-star-icon {
  font-size: 36px;
  animation: pulse 2s ease-in-out infinite;
}

.tr-hero-star-count {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #FBBF24;
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.4);
  line-height: 1;
}

.tr-hero-star-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Milestone progress bar */
.tr-hero-milestone {
  width: 100%;
  max-width: 260px;
}

.tr-hero-ms-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.tr-hero-ms-fill {
  height: 100%;
  background: linear-gradient(90deg, #FBBF24, #F97316);
  border-radius: 3px;
  transition: width 1s ease;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.tr-hero-ms-text {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  display: block;
}

/* ══════════════════════════════════════════════════════
   KPI GRID — Key Performance Indicators
   ══════════════════════════════════════════════════════ */
.tr-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.tr-kpi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: trSlideUp 0.4s ease both;
}

.tr-kpi-card:nth-child(1) { animation-delay: 0.1s; }
.tr-kpi-card:nth-child(2) { animation-delay: 0.15s; }
.tr-kpi-card:nth-child(3) { animation-delay: 0.2s; }
.tr-kpi-card:nth-child(4) { animation-delay: 0.25s; }

/* Donut chart */
.tr-donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr-kpi-donut-val {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

/* Stat number cards */
.tr-kpi-card--stat {
  justify-content: center;
}

.tr-kpi-big-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.tr-kpi-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.tr-kpi-sub {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   SECTION BLOCKS — Common header style
   ══════════════════════════════════════════════════════ */
.tr-section-block {
  margin-bottom: 28px;
  animation: trSlideUp 0.4s ease both;
}

.tr-section-block:nth-child(3) { animation-delay: 0.3s; }
.tr-section-block:nth-child(4) { animation-delay: 0.4s; }
.tr-section-block:nth-child(5) { animation-delay: 0.5s; }

.tr-block-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tr-block-icon {
  font-size: 20px;
}

/* ══════════════════════════════════════════════════════
   MINI BAR CHART
   ══════════════════════════════════════════════════════ */
.tr-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 4px;
  margin-bottom: 18px;
  height: 80px;
}

.tr-mini-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.tr-mini-bar-track {
  flex: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.tr-mini-bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  transition: height 1s ease;
}

.tr-mini-bar-label {
  font-size: 12px;
  line-height: 1;
}

/* ── Section detail list ──────────────────────────────── */
.tr-section-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-section-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.tr-section-emoji {
  font-size: 22px;
  flex-shrink: 0;
}

.tr-section-info {
  flex: 1;
  min-width: 0;
}

.tr-section-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.tr-section-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.tr-section-pct-val {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--tr-accent);
}

.tr-section-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.tr-section-fill {
  height: 100%;
  background: var(--tr-accent, #6366f1);
  border-radius: 3px;
  transition: width 0.8s ease;
  box-shadow: 0 0 6px color-mix(in srgb, var(--tr-accent, #6366f1) 40%, transparent);
}

.tr-section-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   ACHIEVEMENTS — Crowns & Bosses
   ══════════════════════════════════════════════════════ */
.tr-achieve-sub {
  margin-bottom: 12px;
}

.tr-achieve-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3px;
}

.tr-achieve-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Crown grid */
.tr-crown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}

.tr-crown-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}

.tr-crown-card.earned {
  border-color: color-mix(in srgb, var(--tr-accent) 50%, transparent);
  background: color-mix(in srgb, var(--tr-accent) 8%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--tr-accent) 20%, transparent);
}

.tr-crown-card.locked {
  opacity: 0.35;
  filter: grayscale(1);
}

.tr-crown-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tr-accent, #fff) 10%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.tr-crown-emoji {
  font-size: 28px;
}

.tr-crown-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.tr-crown-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 16px;
  animation: trCrownBob 2s ease-in-out infinite;
}

@keyframes trCrownBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Boss grid */
.tr-boss-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-boss-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}

.tr-boss-card.earned {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.tr-boss-card.locked {
  opacity: 0.3;
}

.tr-boss-emoji {
  font-size: 24px;
}

.tr-boss-info {
  flex: 1;
}

.tr-boss-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.tr-boss-stars {
  margin-top: 2px;
}

.tr-star-on {
  color: #FBBF24;
  font-size: 14px;
}

.tr-star-off {
  color: rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════
   MILESTONE TRACK — Connected node timeline
   ══════════════════════════════════════════════════════ */
.tr-milestone-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 8px;
}

.tr-milestone-node {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding-bottom: 20px;
}

.tr-milestone-node:last-child {
  padding-bottom: 0;
}

.tr-milestone-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.tr-milestone-node.earned .tr-milestone-circle {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
}

.tr-milestone-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tr-milestone-value {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.tr-milestone-label {
  font-size: 11px;
  font-weight: 600;
}

.tr-milestone-node.earned .tr-milestone-label {
  color: #FBBF24;
}

.tr-milestone-node:not(.earned) .tr-milestone-label {
  color: var(--text-muted);
}

/* Mini progress bar */
.tr-milestone-mini-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  max-width: 120px;
}

.tr-milestone-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #FBBF24, #F97316);
  border-radius: 2px;
  transition: width 1s ease;
}

/* Connecting line */
.tr-milestone-line {
  position: absolute;
  left: 21px;
  top: 44px;
  width: 2px;
  height: calc(100% - 44px);
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.tr-milestone-line.earned {
  background: linear-gradient(to bottom, rgba(251, 191, 36, 0.4), rgba(251, 191, 36, 0.1));
}

/* ══════════════════════════════════════════════════════
   MOTIVATION CARD
   ══════════════════════════════════════════════════════ */
.tr-motivation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.15);
  text-align: center;
  overflow: hidden;
  animation: trSlideUp 0.4s ease 0.6s both;
}

.tr-motivation-glow {
  position: absolute;
  top: -50%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.tr-motivation-emoji {
  font-size: 36px;
  margin-bottom: 12px;
  animation: trRocketFloat 3s ease-in-out infinite;
}

@keyframes trRocketFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.tr-motivation-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  position: relative;
}

.tr-motivation-text strong {
  color: #a5b4fc;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════ */
@keyframes trFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes trSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ═══ Responsive ═════════════════════════════════════ */
@media (max-width: 360px) {
  .tr-kpi-grid { gap: 8px; }
  .tr-kpi-card { padding: 14px 8px 12px; }
  .tr-hero-star-count { font-size: 42px; }
  .tr-mini-bars { height: 60px; }
}

/* ─── RESPONSIVE — Tablet (600px – 1023px) ──────────────── */
@media (min-width: 600px) and (max-width: 1023px) {
  .trophy-room { max-width: none; }
  .tr-top-bar { padding: 14px clamp(20px, 4vw, 40px); }
  .tr-content { max-width: none; padding: 0 clamp(20px, 4vw, 40px) 40px; }
}

/* ══════════════════════════════════════════════════════
   DAILY CHALLENGE SECTION
   ══════════════════════════════════════════════════════ */
.tr-dc-block {
  background: linear-gradient(145deg, rgba(251,191,36,0.05), rgba(249,115,22,0.03));
  border: 1px solid rgba(251,191,36,0.15);
  border-radius: 24px;
  padding: 20px 16px;
  animation-delay: 0.28s;
}
.tr-dc-block .tr-block-title {
  margin-bottom: 18px;
  color: #FBBF24;
}

/* ── Stat row ── */
.tr-dc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.tr-dc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.tr-dc-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.tr-dc-stat-streak { color: #FBBF24; }
.tr-dc-stat-total  { color: #34D399; }
.tr-dc-stat-rewards{ color: #FB7185; }
.tr-dc-stat-fire { font-size: 20px; }
.tr-dc-stat-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ── Today's status card ── */
.tr-dc-today {
  border-radius: 16px;
  border: 1.5px solid rgba(251,191,36,0.2);
  background: rgba(251,191,36,0.06);
  padding: 14px;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.tr-dc-today.done {
  border-color: rgba(52,211,153,0.3);
  background: rgba(52,211,153,0.06);
}
.tr-dc-today-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tr-dc-today-icon { font-size: 26px; flex-shrink: 0; }
.tr-dc-today-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr-dc-today-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #FBBF24;
}
.tr-dc-today.done .tr-dc-today-title { color: #34D399; }
.tr-dc-today-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}
/* Level pips inside today card */
.tr-dc-today-pips {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tr-dc-pip {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.tr-dc-pip.done {
  background: #FBBF24;
  border-color: #FBBF24;
  box-shadow: 0 0 5px rgba(251,191,36,0.45);
}
.tr-dc-pip.active {
  background: rgba(251,191,36,0.4);
  border-color: #FBBF24;
  animation: trDCPipPulse 1.4s ease-in-out infinite;
}
@keyframes trDCPipPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; box-shadow: 0 0 8px rgba(251,191,36,0.6); }
}

/* ── Calendar header ── */
.tr-dc-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.tr-dc-cal-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.tr-dc-cal-hint {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* ── 28-day calendar grid ── */
.tr-dc-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 16px;
}
.tr-dc-day {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.tr-dc-day.done {
  background: rgba(251,191,36,0.22);
  border-color: rgba(251,191,36,0.4);
  box-shadow: 0 0 6px rgba(251,191,36,0.2);
}
.tr-dc-day.today {
  border-color: rgba(251,191,36,0.7);
  outline: 2px solid rgba(251,191,36,0.3);
}
.tr-dc-day.today:not(.done) {
  background: rgba(251,191,36,0.08);
}
.tr-dc-day-star {
  font-size: 9px;
  line-height: 1;
}

/* ── History list ── */
.tr-dc-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.tr-dc-history-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  display: block;
}
.tr-dc-history-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.tr-dc-history-date {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex: 1;
}
.tr-dc-history-time {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.tr-dc-history-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.tr-dc-hist-claimed {
  background: rgba(251,191,36,0.15);
  color: #FBBF24;
  border: 1px solid rgba(251,191,36,0.25);
}
.tr-dc-hist-pending {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.08);
}
