@import url('../fonts/fredoka.css');

:root {
  --purple: #7C5CFC;
  --purple-dark: #6244e0;
  --pink: #FF5FA2;
  --yellow: #FFCE2E;
  --green: #28D17C;
  --green-dark: #1fae66;
  --orange: #FF9F1C;
  --blue: #36C5F0;
  --bg: #E9F5FF;
  --card: #FFFFFF;
  --ink: #36314F;
  --muted: #9A96B8;
  --line: #EBE6FF;
  --toy: 0 6px 0 rgba(124, 92, 252, 0.12);     /* sert "oyuncak" gölge */
  --shadow: 0 10px 26px rgba(124, 92, 252, 0.20);
  --shadow-sm: 0 5px 14px rgba(124, 92, 252, 0.14);
  --radius: 28px;
  font-size: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: 'Fredoka', -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--ink);
  overscroll-behavior: none;
  user-select: none;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 12px 12px, rgba(124,92,252,0.06) 2.5px, transparent 3px);
  background-size: 26px 26px;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Üst başlık ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 14px) 18px 14px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
}
.topbar { border-bottom-left-radius: 34px; border-bottom-right-radius: 34px; }
.topbar-left { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.topbar-greet { display: flex; flex-direction: column; line-height: 1.1; }
.atlas-avatar {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.95); object-fit: cover;
  background: #cfeaff; box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  animation: bobble 3s ease-in-out infinite;
}
.hi { font-size: 0.95rem; opacity: 0.9; font-weight: 500; }
.name { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.3px; }
@keyframes bobble { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }

/* Atlas konuşma balonu (anasayfa) */
.atlas-bubble { display: flex; align-items: flex-end; gap: 10px; justify-content: center; margin: 0 0 16px; }
.atlas-mini {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  border: 3px solid #fff; object-fit: cover; background: #cfeaff;
  box-shadow: var(--shadow-sm); animation: bobble 2.6s ease-in-out infinite;
}
.atlas-bubble .bubble {
  position: relative; background: #fff; border: 3px solid var(--line);
  border-radius: 18px; padding: 10px 16px; font-weight: 600; color: var(--purple);
  box-shadow: var(--toy); font-size: 1rem; max-width: 75%;
}
.atlas-bubble .bubble::before {
  content: ''; position: absolute; left: -11px; bottom: 12px;
  border: 8px solid transparent; border-right-color: var(--line);
}
.atlas-bubble .bubble::after {
  content: ''; position: absolute; left: -7px; bottom: 14px;
  border: 6px solid transparent; border-right-color: #fff;
}
.star-wallet {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.22);
  border: none; border-radius: 999px;
  padding: 8px 16px; color: #fff;
  font-size: 1.25rem; font-weight: 800;
  cursor: pointer; backdrop-filter: blur(4px);
}
.star-wallet:active { transform: scale(0.94); }
.star-icon { font-size: 1.3rem; }
#syncDot { position: absolute; top: calc(env(safe-area-inset-top) + 10px); right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #D9D5F2; box-shadow: 0 0 0 2px rgba(255,255,255,0.5); transition: background .3s; }
.star-count.pop { animation: pop 0.5s ease; }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.6)} 100%{transform:scale(1)} }

/* ---------- Sayfalar ---------- */
#screens { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.screen { display: none; padding: 16px 16px 90px; }
.screen.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

.section-head { text-align: center; margin: 8px 0 18px; }
.section-head h2 { margin: 0; font-size: 1.4rem; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Gün başlığı + ilerleme ---------- */
.day-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--toy); border: 3px solid var(--line);
  margin-bottom: 14px;
}
.day-banner-text { display: flex; flex-direction: column; }
.day-label { font-size: 1.3rem; font-weight: 800; }
.day-date { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.progress-ring { position: relative; width: 64px; height: 64px; }
.progress-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #ECE9FB; stroke-width: 8; }
.ring-fg {
  fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 214; stroke-dashoffset: 214;
  transition: stroke-dashoffset 0.6s ease;
}
.progress-pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: var(--green-dark);
}

.encourage {
  text-align: center; font-weight: 700; color: var(--purple);
  margin: 0 0 14px; min-height: 1.2em; font-size: 1rem;
}

/* ---------- Görev kartları ---------- */
.task-list, .reward-list { display: flex; flex-direction: column; gap: 12px; }
.task-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--toy);
  border: 3px solid var(--line); transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.12s ease;
  cursor: pointer;
}
.task-card:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(124,92,252,0.12); }
.task-emoji {
  font-size: 2.1rem; width: 60px; height: 60px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #F3EFFF; border: 2px solid var(--line); border-radius: 50%;
}
.task-body { flex: 1; min-width: 0; }
.task-title { font-weight: 600; font-size: 1.15rem; }
.task-stars { display: flex; align-items: center; gap: 3px; color: var(--orange); font-weight: 700; font-size: 0.9rem; margin-top: 2px; }
.task-status {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--bg); color: var(--muted);
  border: 2px dashed #D9D5F2;
}
.task-card.pending { border-color: var(--orange); }
.task-card.pending .task-status { background: #FFF3E0; border: none; color: var(--orange); }
.task-card.approved { border-color: var(--green); background: #F2FBF6; }
.task-card.approved .task-status { background: var(--green); border: none; color: #fff; }
.task-card.approved .task-title { text-decoration: line-through; color: var(--muted); }

/* Renkli emoji baloncukları (her kart farklı pastel) */
.task-list .task-card:nth-child(5n+1) .task-emoji { background: #FFE9F1; border-color: #FFB8D3; }
.task-list .task-card:nth-child(5n+2) .task-emoji { background: #E6F8EE; border-color: #A8E7C3; }
.task-list .task-card:nth-child(5n+3) .task-emoji { background: #FFF4DA; border-color: #FFD884; }
.task-list .task-card:nth-child(5n+4) .task-emoji { background: #E7F1FF; border-color: #AECdFF; }
.task-list .task-card:nth-child(5n+5) .task-emoji { background: #F1E9FF; border-color: #CBB6FF; }

.empty-note { text-align:center; color: var(--muted); padding: 40px 20px; }
.empty-note .big { font-size: 3rem; display:block; margin-bottom: 8px; }

/* ---------- Hafta sonu sayfası ---------- */
.weekend-hero {
  text-align: center;
  background: linear-gradient(160deg, #FFE29F 0%, #FFA99F 60%, #FF719A 100%);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  box-shadow: var(--shadow);
  color: #5a2b3a;
  margin-top: 6px;
}
.wk-emoji { font-size: 4.5rem; line-height: 1; animation: sunPulse 3s ease-in-out infinite; }
@keyframes sunPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12) rotate(8deg)} }
.wk-title { font-size: 2rem; font-weight: 900; margin-top: 6px; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.wk-day { font-weight: 700; opacity: 0.9; margin-top: 2px; }
.wk-card {
  background: rgba(255,255,255,0.92);
  border-radius: 20px; padding: 18px 16px; margin: 18px 0 16px;
  box-shadow: var(--shadow-sm);
}
.wk-card p { margin: 6px 0; font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.wk-icons { font-size: 1.9rem; letter-spacing: 4px; }
.wk-foot { margin-top: 16px; font-weight: 800; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.15); }

/* ---------- Rozet duvarı ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.badge-cell {
  background: var(--card); border: 3px solid var(--line); border-radius: 20px;
  padding: 12px 6px 10px; text-align: center; box-shadow: var(--toy);
}
.badge-cell.earned { border-color: #FFE08A; }
.badge-img-wrap { position: relative; width: 82px; height: 82px; margin: 0 auto 6px; }
.badge-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.badge-cell.locked .badge-img { filter: grayscale(1); opacity: 0.35; }
.badge-lock {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}
.badge-name { font-size: 0.78rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.badge-cell.locked .badge-name { color: var(--muted); }

/* ---------- Gizli görev butonu ---------- */
.secret-btn {
  width: 100%; display: flex; align-items: center; gap: 14px;
  border: none; cursor: pointer; text-align: left;
  background: linear-gradient(135deg, #2c2150, #6C5CE7 55%, #b06ab3);
  color: #fff; border-radius: var(--radius); padding: 14px 16px;
  margin-bottom: 14px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.secret-btn:active { transform: scale(0.98); }
.secret-btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -60%; } 55%, 100% { left: 140%; } }
.secret-env {
  font-size: 2rem; width: 56px; height: 56px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16); border-radius: 18px;
  animation: wiggle 2.5s ease-in-out infinite;
}
@keyframes wiggle { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.secret-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.secret-title { font-weight: 800; font-size: 1.15rem; }
.secret-sub { font-size: 0.85rem; opacity: 0.92; }
.secret-stars { font-size: 0.95rem; flex: none; }
.secret-btn.approved { background: linear-gradient(135deg, #1e7a4d, #2ECC71); }
.secret-btn.pending { background: linear-gradient(135deg, #b9742a, #FF9F43); }

/* ---------- Mektup (gizli görev sayfası) ---------- */
.letter { text-align: center; }
.letter-head { font-weight: 900; font-size: 1.2rem; color: var(--purple); }
.letter-seal { font-size: 2.8rem; margin: 4px 0 12px; animation: sealPop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes sealPop { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
.letter-body {
  background: #FFF8E7; border: 2px dashed #E0C98A; border-radius: 16px;
  padding: 18px 16px; color: #5a4a2a; font-size: 1.1rem; line-height: 1.5;
  font-weight: 600; margin-bottom: 16px;
}
.secret-status-note { font-weight: 800; color: var(--orange); padding: 10px; }
.secret-status-note.done { color: var(--green-dark); }

/* ---------- Gün sonu günlüğü ---------- */
.journal-form { text-align: left; margin-bottom: 6px; }
.journal-form .field { margin-bottom: 12px; }
.journal-form label { font-size: 0.92rem; }
.journal-read {
  background: var(--bg); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px;
  font-size: 0.92rem; line-height: 1.4;
}
.journal-read .jr-q { font-weight: 700; color: var(--purple); }
.journal-read .jr-a { color: var(--ink); }
.jarchive { text-align: left; }
.jarchive-day { background: #F7F4FF; border: 2px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 12px; }
.jarchive-date { font-weight: 800; color: var(--purple-dark); margin-bottom: 8px; }
.jarchive-day .journal-read { background: #fff; }

/* ---------- Ödül kartları ---------- */
.reward-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--toy); border: 3px solid var(--line);
}
.cost-line { margin-top: 4px; }
.reward-card .cost {
  display:inline-flex; align-items:center; gap:4px;
  background: var(--yellow); color: #7a5c00; font-weight: 800;
  padding: 8px 12px; border-radius: 999px; font-size: 0.95rem;
}
.reward-card.affordable { border-color: var(--green); }
.reward-buy {
  flex:none; border:none; border-radius: 16px; padding: 11px 16px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; color:#fff;
  background: var(--green); box-shadow: 0 4px 0 rgba(0,0,0,0.16);
}
.reward-buy:disabled { background: #D9D5F2; color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,0.08); }
.reward-buy:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.16); }

/* ---------- Alt menü ---------- */
.tabbar {
  display: flex; background: var(--card);
  padding: 8px 8px calc(env(safe-area-inset-bottom) + 8px);
  box-shadow: 0 -4px 20px rgba(108,92,231,0.12);
  border-top-left-radius: 24px; border-top-right-radius: 24px;
  position: relative; z-index: 5;
}
.tab {
  flex: 1; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0; border-radius: 16px; color: var(--muted);
  font-size: 0.75rem; font-weight: 700; transition: background 0.2s;
}
.tab-icon { font-size: 1.7rem; }
.tab.active { color: var(--purple); background: #F0EBFF; border: 2px solid var(--line); }

/* ---------- Şifre ekranı ---------- */
.lock-card { text-align: center; padding: 24px 16px; }
.lock-emoji { font-size: 3.5rem; }
.atlas-lock {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; background: #cfeaff;
  box-shadow: var(--toy); animation: bobble 3s ease-in-out infinite;
}
.lock-card h2 { margin: 8px 0 4px; }
.lock-card p { color: var(--muted); margin: 0 0 18px; }
.pin-dots { display:flex; justify-content:center; gap:16px; margin: 8px 0 22px; }
.pin-dots span { width:16px; height:16px; border-radius:50%; background:#D9D5F2; transition: background .15s; }
.pin-dots span.filled { background: var(--purple); }
.keypad { display:grid; grid-template-columns: repeat(3,1fr); gap:12px; max-width:280px; margin:0 auto; }
.key {
  background: var(--card); border:3px solid var(--line); box-shadow: var(--toy);
  border-radius:20px; padding:18px 0; font-size:1.6rem; font-weight:600;
  color: var(--ink); cursor:pointer;
}
.key:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(124,92,252,0.12); background: var(--bg); }
.key.wide { font-size: 1.1rem; }
.pin-error { color: var(--pink); font-weight:700; min-height:1.2em; margin-top:14px; }
.shake { animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-8px)} 40%,80%{transform:translateX(8px)} }

/* ---------- Ebeveyn paneli ---------- */
.panel-section { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--toy); border: 3px solid var(--line); }
.panel-section h3 { margin: 0 0 12px; font-size: 1.1rem; display:flex; align-items:center; gap:8px; }
.panel-section h3 .count-badge { background: var(--pink); color:#fff; font-size:0.75rem; padding:2px 9px; border-radius:999px; }
.approve-row, .manage-row {
  display:flex; align-items:center; gap:10px; padding:10px;
  background: var(--bg); border-radius:16px; margin-bottom:8px;
}
.approve-row .info, .manage-row .info { flex:1; min-width:0; }
.approve-row.done { opacity: 0.6; }
.delivered-tag { flex:none; font-size:0.8rem; font-weight:700; color:var(--green-dark); background:#E6F8EE; padding:8px 12px; border-radius:999px; }
.approve-row .info .t, .manage-row .info .t { font-weight:700; }
.approve-row .info .s, .manage-row .info .s { font-size:0.85rem; color:var(--muted); }
.btn {
  border:none; border-radius:16px; padding:11px 16px; font-weight:600;
  font-size:0.95rem; cursor:pointer; color:#fff;
  box-shadow: 0 4px 0 rgba(0,0,0,0.16);
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.16); }
.btn-green { background: var(--green); }
.btn-red { background: var(--pink); }
.btn-grey { background: #B9B5D6; }
.btn-purple { background: var(--purple); }
.btn-block { width:100%; padding:14px; font-size:1rem; border-radius:16px; }
.btn-sm { padding:8px 12px; font-size:0.85rem; }
.icon-btn { background:none; border:none; font-size:1.3rem; cursor:pointer; padding:4px; }
.stat-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; text-align:center; }
.stat { background: var(--bg); border-radius:16px; padding:12px 6px; }
.stat .v { font-size:1.5rem; font-weight:800; color:var(--purple); }
.stat .l { font-size:0.75rem; color:var(--muted); margin-top:2px; }

/* ---------- Modal / Form ---------- */
.modal { position: fixed; inset:0; background: rgba(45,42,69,0.5); display:flex; align-items:flex-end; justify-content:center; z-index: 30; backdrop-filter: blur(3px); }
.modal-card { background: var(--card); border-radius: 28px 28px 0 0; width:100%; max-width:520px; padding: 22px 18px calc(env(safe-area-inset-bottom) + 22px); animation: slideUp .25s ease; max-height: 90dvh; overflow-y:auto; }
@keyframes slideUp { from{transform:translateY(100%)} to{transform:none} }
.modal-card h3 { margin:0 0 16px; font-size:1.25rem; text-align:center; }
.field { margin-bottom:14px; }
.field label { display:block; font-weight:700; margin-bottom:6px; font-size:0.9rem; }
.field input, .field textarea {
  width:100%; padding:14px; border:2px solid #E5E1F7; border-radius:14px;
  font-size:1rem; background: var(--bg); color: var(--ink);
  font-family: inherit; resize: vertical;
}
.field input:focus, .field textarea:focus { outline:none; border-color: var(--purple); }
.emoji-pick { display:flex; flex-wrap:wrap; gap:8px; }
.emoji-pick button {
  font-size:1.5rem; width:48px; height:48px; border:2px solid transparent;
  background: var(--bg); border-radius:14px; cursor:pointer;
}
.emoji-pick button.sel { border-color: var(--purple); background:#EDE9FF; }
.modal-actions { display:flex; gap:10px; margin-top:6px; }
.modal-actions .btn { flex:1; }

/* ---------- Kutlama ---------- */
.celebrate { position: fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index: 40; background: rgba(45,42,69,0.35); }
.celebrate-card { text-align:center; animation: celebratePop .5s cubic-bezier(.2,1.4,.4,1); }
.celebrate-emoji { font-size: 6rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2)); }
.celebrate-text { font-size: 2rem; font-weight: 900; color:#fff; text-shadow: 0 3px 8px rgba(0,0,0,0.3); margin-top: 8px; }
@keyframes celebratePop { 0%{transform:scale(0) rotate(-20deg); opacity:0} 60%{transform:scale(1.2) rotate(8deg)} 100%{transform:scale(1) rotate(0); opacity:1} }

/* ---------- Yeni rozet kutlaması ---------- */
.badge-celebrate {
  position: fixed; inset: 0; z-index: 44;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,42,69,0.55); backdrop-filter: blur(3px);
}
.bc-card { text-align: center; animation: bcPop 0.55s cubic-bezier(.2,1.5,.4,1); }
@keyframes bcPop {
  0% { transform: scale(0) rotate(-18deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(6deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.bc-title { color: #fff; font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.bc-badge { position: relative; width: 220px; height: 220px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.bc-rays {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,228,130,0.55) 0deg 11deg, transparent 11deg 22deg);
  -webkit-mask: radial-gradient(closest-side, #000 58%, transparent 72%);
  mask: radial-gradient(closest-side, #000 58%, transparent 72%);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.bc-img {
  position: relative; width: 180px; height: 180px; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4));
  animation: bcFloat 2s ease-in-out infinite;
}
@keyframes bcFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.bc-name { color: #fff; font-weight: 700; font-size: 1.6rem; margin-top: 10px; text-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.bc-hint { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-top: 12px; }

/* ---------- Konfeti ---------- */
.confetti { position: fixed; inset:0; pointer-events:none; z-index:45; overflow:hidden; }
.confetti i {
  position:absolute; top:-20px; width:10px; height:14px; border-radius:2px;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0.9; }
}
