/* ============================================================
   Lembrete — estilo próprio, mais vivo e moderno
   ============================================================ */

:root {
  --lb-gradient-1: linear-gradient(135deg, #DAA520 0%, #8B5A00 100%);
  --lb-gradient-2: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  --lb-gradient-3: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  --lb-gradient-4: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  --lb-gradient-5: linear-gradient(135deg, #a855f7 0%, #6b21a8 100%);
  --lb-gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
  --lb-glass: rgba(255, 255, 255, .04);
  --lb-glass-border: rgba(255, 255, 255, .08);
}

.lembrete-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1rem 5rem;
}

/* ===== Top bar ===== */
.top-bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--lb-glass-border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, .85);
  z-index: 10;
}
.top-bar .logo {
  font-weight: 800;
  font-size: 1.35rem;
  font-family: 'Plus Jakarta Sans';
  background: var(--lb-gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pts-pill {
  background: var(--lb-gradient-1);
  color: #0a0a0a;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem;
  box-shadow: 0 4px 14px rgba(218, 165, 32, .35);
  animation: pts-glow 2.5s ease-in-out infinite;
}
@keyframes pts-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(218, 165, 32, .35); }
  50% { box-shadow: 0 6px 22px rgba(218, 165, 32, .55); }
}

/* ===== Hero cards (topo de cada view) ===== */
.hero {
  position: relative;
  border-radius: 24px;
  padding: 1.4rem 1.3rem;
  margin-bottom: 1.2rem;
  background: var(--lb-gradient-hero);
  border: 1px solid var(--lb-glass-border);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(218, 165, 32, .2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-greeting {
  font-size: .78rem;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .2rem;
}
.hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  line-height: 1.1;
  margin-bottom: .4rem;
}
.hero-sub {
  font-size: .88rem;
  opacity: .8;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.2rem;
  position: relative;
}
.hero-stat {
  background: rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: .7rem;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hero-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
}
.hero-stat-label {
  font-size: .68rem;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ===== Task cards (modernas) ===== */
.task-card-v2 {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.task-card-v2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--text-dim);
  transition: all .25s;
}
.task-card-v2.pending::before { background: linear-gradient(180deg, #facc15, #eab308); }
.task-card-v2.accepted::before { background: linear-gradient(180deg, #60a5fa, #3b82f6); }
.task-card-v2.done::before { background: linear-gradient(180deg, #22c55e, #15803d); }
.task-card-v2.overdue::before { background: linear-gradient(180deg, #f87171, #dc2626); }
.task-card-v2.skipped::before { background: linear-gradient(180deg, #94a3b8, #64748b); }
.task-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  border-color: var(--gold-500);
}
.task-card-v2.done { opacity: .65; }
.task-card-v2 .t-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: .6rem;
}
.task-card-v2 h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
  line-height: 1.25;
}
.task-card-v2 .pts-badge {
  background: rgba(218, 165, 32, .15);
  color: var(--gold-400);
  padding: .3rem .65rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(218, 165, 32, .3);
}
.task-card-v2 .meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--text-dim);
}
.task-card-v2 .meta-chip {
  background: var(--bg-3);
  padding: .15rem .5rem;
  border-radius: 6px;
}
.task-card-v2 .actions {
  display: flex;
  gap: .5rem;
  margin-top: .9rem;
  flex-wrap: wrap;
}
.task-card-v2 .actions .btn {
  flex: 1;
  justify-content: center;
  font-size: .88rem;
  padding: .6rem;
}
.task-card-v2 .photo-thumb {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: .7rem;
  cursor: pointer;
}

/* ===== Tab bar ===== */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--lb-glass-border);
  display: flex;
  justify-content: space-around;
  padding: .5rem 0 max(.5rem, env(safe-area-inset-bottom));
  z-index: 20;
}
.tab-bar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .45rem .6rem;
  border: none;
  background: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 700;
  transition: all .2s;
  border-radius: 12px;
  position: relative;
}
.tab-bar .tab i {
  width: 22px;
  height: 22px;
  transition: transform .2s;
}
.tab-bar .tab:active { transform: scale(.92); }
.tab-bar .tab.active {
  color: var(--gold-400);
}
.tab-bar .tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 25%;
  right: 25%;
  height: 3px;
  border-radius: 3px;
  background: var(--lb-gradient-1);
}
.tab-bar .tab.active i { transform: scale(1.1); }

/* ===== Podium (ranking top 3) ===== */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: end;
  gap: .5rem;
  padding: 1.5rem 1rem .5rem;
  margin-bottom: 1rem;
}
.podium-step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  padding: 1rem .6rem;
  text-align: center;
  position: relative;
}
.podium-step .medal {
  font-size: 1.8rem;
  margin-bottom: .3rem;
}
.podium-step .name {
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.podium-step .pts {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  color: var(--gold-400);
  margin-top: .2rem;
}
.podium-step.p1 {
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 215, 0, .15), rgba(218, 165, 32, .05));
  border-color: rgba(255, 215, 0, .4);
  box-shadow: 0 0 40px rgba(255, 215, 0, .2);
}
.podium-step.p2 {
  height: 110px;
  background: linear-gradient(180deg, rgba(192, 192, 192, .12), rgba(128, 128, 128, .05));
  border-color: rgba(192, 192, 192, .3);
}
.podium-step.p3 {
  height: 90px;
  background: linear-gradient(180deg, rgba(205, 127, 50, .12), rgba(139, 69, 19, .05));
  border-color: rgba(205, 127, 50, .3);
}

/* ===== Reward cards (moderno) ===== */
.reward-v2 {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.reward-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lb-gradient-3);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
  z-index: -1;
}
.reward-v2:hover {
  transform: translateY(-2px);
  border-color: var(--gold-400);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}
.reward-v2 .rw-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.reward-v2 .rw-icon.money { background: rgba(34, 197, 94, .15); }
.reward-v2 .rw-icon.item { background: rgba(236, 72, 153, .15); }
.reward-v2 .rw-icon.privilege { background: rgba(168, 85, 247, .15); }
.reward-v2 .rw-icon.custom { background: rgba(96, 165, 250, .15); }
.reward-v2 .rw-body { flex: 1; min-width: 0; }
.reward-v2 .rw-title { font-weight: 700; font-size: 1rem; }
.reward-v2 .rw-desc { font-size: .78rem; color: var(--text-dim); margin-top: .15rem; }
.reward-v2 .rw-value { font-size: .78rem; color: var(--success); margin-top: .2rem; font-weight: 600; }
.reward-v2 .rw-pts {
  background: var(--lb-gradient-1);
  color: #0a0a0a;
  padding: .5rem .9rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: .95rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(218, 165, 32, .3);
}
.reward-v2.locked .rw-pts {
  background: var(--bg-3);
  color: var(--text-dim);
  box-shadow: none;
}

/* ===== Shopping item ===== */
.shop-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .7rem 1rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  transition: all .2s;
}
.shop-item:hover { border-color: var(--gold-500); }
.shop-item.bought { opacity: .5; background: var(--bg); }
.shop-item.bought .shop-name { text-decoration: line-through; }
.shop-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s;
  flex-shrink: 0;
  background: transparent;
  color: var(--text-dim);
}
.shop-item.bought .shop-check {
  background: linear-gradient(135deg, #22c55e, #15803d);
  border-color: #22c55e;
  color: #fff;
}

/* ===== Event (timeline) ===== */
.ev-day {
  margin-bottom: 1.2rem;
}
.ev-day-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.ev-day-label.today { color: var(--gold-400); }
.ev-day-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ev-item {
  background: var(--bg-2);
  border-left: 4px solid var(--gold-400);
  border-radius: 14px;
  padding: .9rem 1.1rem;
  margin-bottom: .5rem;
  transition: all .2s;
}
.ev-item:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.ev-time {
  font-size: .75rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ===== Badge chips ===== */
.badge-chip {
  background: var(--bg-3);
  padding: .2rem .55rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--border);
}

/* ===== Empty states com vida ===== */
.empty-v2 {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-dim);
}
.empty-v2 .emoji {
  font-size: 4rem;
  margin-bottom: .5rem;
  animation: bounce-soft 2s ease-in-out infinite;
}
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.empty-v2 .title {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .3rem;
}

/* ===== Quick add (compras) ===== */
.quick-add {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .4rem;
  display: flex;
  gap: .4rem;
  margin-bottom: 1rem;
  transition: all .2s;
}
.quick-add:focus-within {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(218, 165, 32, .15);
}
.quick-add input {
  border: none;
  background: transparent;
  padding: .5rem;
  font-size: .95rem;
  color: var(--text);
  outline: none;
}
.quick-add .qa-name { flex: 1; }
.quick-add .qa-qty { width: 70px; text-align: center; }
.quick-add button {
  background: var(--lb-gradient-1);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  padding: .5rem .8rem;
  font-weight: 800;
  cursor: pointer;
}

/* ===== Fade in animation ===== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.task-card-v2, .reward-v2, .shop-item, .ev-item {
  animation: fade-in-up .25s ease-out backwards;
}
.task-card-v2:nth-child(1) { animation-delay: 0ms; }
.task-card-v2:nth-child(2) { animation-delay: 40ms; }
.task-card-v2:nth-child(3) { animation-delay: 80ms; }
.task-card-v2:nth-child(4) { animation-delay: 120ms; }

/* ============================================================
   MODAIS — redesign moderno e consistente
   ============================================================ */

.modal-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, .65);
}

.modal {
  border-radius: 22px !important;
  border: 1px solid var(--lb-glass-border);
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  max-width: 560px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  padding: 0 !important;
  max-height: 100% !important;
  animation: modal-in .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal h2 {
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  padding: 1.3rem 1.4rem .3rem;
  margin: 0;
  font-size: 1.25rem;
}
.modal > *:not(.tpl-modal):not(.tpl-hero):not(.tpl-footer):not(.modal-hero):not(.modal-body):not(.modal-footer) {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}
.modal > *:last-child:not(.tpl-footer):not(.modal-footer) {
  padding-bottom: 1.3rem;
}
.modal .row.mt-2:last-child {
  padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom));
  margin: 1rem 0 0 !important;
  background: rgba(0, 0, 0, .3);
  border-top: 1px solid var(--lb-glass-border);
  position: sticky;
  bottom: 0;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.modal .input-group .label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-dim);
  margin-bottom: .3rem;
}
.modal .input {
  border-radius: 10px;
  transition: all .2s;
}
.modal .input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(218, 165, 32, .15);
}

/* ===== Templates modal (especial) ===== */
.tpl-modal { display: flex; flex-direction: column; min-height: 0; }
.tpl-modal > .tpl-hero { flex-shrink: 0; }
.tpl-modal > .tpl-footer { flex-shrink: 0; position: sticky; bottom: 0; z-index: 2; backdrop-filter: blur(8px); padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
.tpl-hero {
  background: linear-gradient(135deg, #2d1b4e 0%, #1e3a8a 100%);
  padding: 1.5rem 1.4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tpl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,215,0,.15) 0%, transparent 50%);
  pointer-events: none;
}
.tpl-cat-header {
  padding: .7rem 1rem;
  border-radius: 12px 12px 0 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .5rem;
  padding: .5rem;
  background: var(--bg-2);
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--border);
  border-top: none;
}
.tpl-card {
  position: relative;
  background: var(--bg-3);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: .6rem .7rem;
  cursor: pointer;
  transition: all .2s;
  font-size: .82rem;
}
.tpl-card:hover {
  background: var(--bg);
  border-color: var(--border);
}
.tpl-card.selected {
  border-color: var(--gold-400);
  background: rgba(218, 165, 32, .1);
  box-shadow: 0 4px 14px rgba(218, 165, 32, .2);
}
.tpl-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lb-gradient-1);
  color: #0a0a0a;
  display: none;
  place-items: center;
  font-weight: 800;
  font-size: .72rem;
}
.tpl-card.selected .tpl-card-check { display: grid; }
.tpl-card-title {
  font-weight: 700;
  margin-bottom: .15rem;
  padding-right: 24px;
  line-height: 1.2;
}
.tpl-card-pts {
  color: var(--gold-400);
  font-weight: 700;
  font-size: .75rem;
}
.tpl-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-top: .3rem;
  font-size: .68rem;
  color: var(--text-dim);
}
.tpl-card-meta span {
  background: rgba(0,0,0,.3);
  padding: .08rem .35rem;
  border-radius: 4px;
}
.tpl-assignees-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.tpl-assignee-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border: 2px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
  background: var(--bg-2);
}
.tpl-assignee-chip:hover { border-color: var(--gold-500); }
.tpl-assignee-chip.selected {
  border-color: var(--gold-400);
  background: rgba(218, 165, 32, .12);
  color: var(--gold-400);
}
.tpl-assignee-chip input { display: none; }
.tpl-assignee-emoji { font-size: 1.1rem; }
.tpl-footer {
  display: flex;
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, .3);
  border-top: 1px solid var(--lb-glass-border);
  align-items: center;
}

/* ============================================================
   INSTALL APP PROMPT — aparece em mobile/tablet
   ============================================================ */
.install-prompt {
  position: fixed;
  bottom: 80px;
  left: 1rem;
  right: 1rem;
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
  border: 1px solid var(--gold-500);
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 4px rgba(218, 165, 32, .1);
  z-index: 100;
  animation: install-in .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes install-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.install-prompt-top {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .5rem;
}
.install-prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lb-gradient-1);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.install-prompt h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}
.install-prompt p {
  font-size: .82rem;
  color: var(--text-dim);
  margin: .2rem 0 0;
  line-height: 1.3;
}
.install-prompt-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  padding: .2rem;
}
.install-prompt-actions {
  display: flex;
  gap: .5rem;
  margin-top: .7rem;
}
.install-prompt-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: .85rem;
  padding: .55rem;
}

/* ============================================================
   ADMIN / CONFIGURAÇÃO — layout moderno
   ============================================================ */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .7rem;
  margin-bottom: 1rem;
}
.admin-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .85rem 1rem;
  text-align: center;
  transition: all .2s;
}
.admin-stat:hover { border-color: var(--gold-500); }
.admin-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  background: var(--lb-gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.admin-stat-label {
  font-size: .68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .1rem;
}

.admin-section {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all .2s;
}
.admin-section:hover { border-color: rgba(218, 165, 32, .3); }
.admin-section-header {
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.admin-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.admin-section-icon.routines { background: linear-gradient(135deg, rgba(218,165,32,.2), rgba(139,90,0,.1)); }
.admin-section-icon.rewards { background: linear-gradient(135deg, rgba(236,72,153,.2), rgba(190,24,93,.1)); }
.admin-section-icon.people { background: linear-gradient(135deg, rgba(96,165,250,.2), rgba(59,130,246,.1)); }
.admin-section-icon.admins { background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(107,33,168,.1)); }
.admin-section-icon.redemptions { background: linear-gradient(135deg, rgba(250,204,21,.2), rgba(202,138,4,.1)); animation: pulse-warn 2s ease-in-out infinite; }
.admin-section-icon.stats { background: linear-gradient(135deg, rgba(34,197,94,.2), rgba(21,128,61,.1)); }
.admin-section-icon.history { background: linear-gradient(135deg, rgba(148,163,184,.2), rgba(100,116,139,.1)); }
@keyframes pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, .4); }
  50% { box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
}
.admin-section-title {
  font-weight: 800;
  font-size: 1rem;
  flex: 1;
  font-family: 'Plus Jakarta Sans';
}
.admin-section-sub {
  font-size: .72rem;
  color: var(--text-dim);
  margin-top: .1rem;
}
.admin-section-body {
  padding: .9rem 1.2rem;
}
.admin-section-body.empty {
  text-align: center;
  color: var(--text-dim);
  padding: 2rem 1rem;
  font-size: .88rem;
}

.admin-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}
.admin-row:last-child { border-bottom: none; }
.admin-row-main {
  flex: 1;
  min-width: 0;
}
.admin-row-title {
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .12rem;
}
.admin-row-meta {
  font-size: .73rem;
  color: var(--text-dim);
}
.admin-row-actions {
  display: flex;
  gap: .3rem;
}
.admin-row-actions .btn {
  padding: .35rem;
  background: var(--bg-3);
}

/* Pending redemptions especial — destaque */
.pending-redemption-card {
  background: linear-gradient(135deg, rgba(250, 204, 21, .08), rgba(202, 138, 4, .03));
  border: 1px solid rgba(250, 204, 21, .3);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.pending-redemption-card .prc-icon {
  font-size: 1.8rem;
}

/* Person avatar chip (pessoas só-rotinas) */
.person-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* Mobile polish */
@media (max-width: 640px) {
  .lembrete-shell { padding: .5rem .7rem 5rem; }
  .hero { padding: 1.2rem 1.1rem; border-radius: 20px; }
  .hero-title { font-size: 1.35rem; }
  .podium { padding: 1rem .5rem .5rem; }
  .podium-step.p1 { height: 120px; }
  .podium-step.p2 { height: 95px; }
  .podium-step.p3 { height: 78px; }
}

/* Showcase de tarefa (modal de detalhe) */
.task-card-v2 { cursor: pointer; transition: transform .12s ease; }
.task-card-v2:active { transform: scale(.98); }
.task-showcase .ts-hero {
  background: linear-gradient(135deg, rgba(218,165,32,.18), rgba(218,165,32,.05));
  border: 1px solid rgba(218,165,32,.3);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: center;
  margin-bottom: .8rem;
}
.task-showcase .ts-pts {
  font-size: 2.6rem;
  font-weight: 800;
  color: #DAA520;
  line-height: 1;
}
.task-showcase .ts-pts span {
  font-size: .9rem;
  margin-left: .35rem;
  color: var(--text-dim);
  font-weight: 600;
}
.task-showcase .ts-status {
  margin-top: .5rem;
  font-weight: 600;
  color: var(--text);
}
.task-showcase .ts-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
}
