:root, [data-theme="rose"] {
  --bg: #fff7f9;
  --card: #ffffff;
  --ink: #51424a;
  --ink-soft: #8b7a83;
  --ink-faint: #b7a7af;
  --rose: #ff8fa3;
  --rose-deep: #f26d8d;
  --rose-soft: #ffe3e9;
  --rose-faint: #fff0f3;
  --peach: #ffc49b;
  --peach-soft: #ffefe2;
  --lav: #b9a7f5;
  --lav-soft: #efebfd;
  --mint: #9ed8c8;
  --mint-soft: #e2f5ef;
  --sun: #ffd166;
  --sun-soft: #fff4d6;
  --danger: #e5484d;
  --danger-soft: #ffe5e5;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px color-mix(in srgb, var(--rose) 20%, transparent);
  --shadow-sm: 0 4px 14px color-mix(in srgb, var(--rose) 15%, transparent);
  --glow: 0 6px 16px color-mix(in srgb, var(--rose-deep) 45%, transparent);
  --glow-lg: 0 14px 34px color-mix(in srgb, var(--rose-deep) 42%, transparent);
  --grad-strong: linear-gradient(135deg, var(--rose), var(--rose-deep));
  --grad-soft: linear-gradient(135deg, color-mix(in srgb, var(--rose) 62%, #fff) 0%, var(--rose) 55%, color-mix(in srgb, var(--rose) 78%, var(--rose-deep)) 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bottom-nav-h: 74px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
/* Tema paletleri — her kullanıcı kendi temasını seçer (Ayarlar > Görünüm) */
[data-theme="lavanta"] {
  --bg: #faf8ff; --rose: #a88bf0; --rose-deep: #8a68e0; --rose-soft: #ece4fc; --rose-faint: #f6f2fe;
}
[data-theme="seftali"] {
  --bg: #fff8f4; --rose: #ffa27d; --rose-deep: #ef8049; --rose-soft: #ffe8dc; --rose-faint: #fff4ee;
}
[data-theme="nane"] {
  --bg: #f6fcfa; --rose: #4fc0a0; --rose-deep: #17896c; --rose-soft: #ddf3eb; --rose-faint: #eefaf5;
}
[data-theme="gunbatimi"] {
  --bg: #fff7f2; --rose: #ff8a6e; --rose-deep: #ef5d4c; --rose-soft: #ffe2d8; --rose-faint: #fff1ec;
}
[data-theme="deniz"] {
  --bg: #f5fafd; --rose: #5ba8ea; --rose-deep: #2f82cd; --rose-soft: #deedfb; --rose-faint: #f0f6fd;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button { font-family: inherit; border: 0; cursor: pointer; color: inherit; background: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: 16px; color: var(--ink); }
img { display: block; }
h1, h2, h3, p { margin: 0; }

.hidden { display: none !important; }

/* ---------- Ana kabuk ---------- */
#app { max-width: 640px; margin: 0 auto; min-height: 100dvh; }
.screen { padding: calc(18px + var(--safe-t)) 18px calc(var(--bottom-nav-h) + var(--safe-b) + 20px); animation: fadeIn .25s ease; }
.screen.plain { padding-bottom: 30px; }
/* Mesajlar: görev çubuğu bu ekranda gizlenir (geri dönüş için sohbetin kendi
   başlığındaki geri oku kullanılır), sohbet tam ekran olur. Zemin, sohbet
   sayfasının kendi rengiyle aynı tutulur. */
.screen.chat {
  padding: var(--safe-t) 0 var(--safe-b);
  background: #0b1120;
}
.chat-frame {
  display: block; width: 100%; border: 0; background: #0b1120;
  height: calc(100dvh - var(--safe-t) - var(--safe-b));
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.92) translateY(8px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

/* ---------- Üst bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.topbar .greet small { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.topbar .greet strong { font-size: 20px; }
.iconbtn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--rose-deep);
}
.iconbtn svg { width: 21px; height: 21px; }

/* ---------- Kartlar ---------- */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; margin-bottom: 14px;
}
.card-title { font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.card-title .em { font-size: 15px; }

/* Gün sayacı */
.counter-card {
  background: var(--grad-soft);
  color: #fff; text-align: center; padding: 26px 18px 22px; position: relative; overflow: hidden;
}
.counter-card::before, .counter-card::after {
  content: "♥"; position: absolute; opacity: .16; font-size: 90px; line-height: 1;
}
.counter-card::before { left: -14px; top: -6px; transform: rotate(-14deg); }
.counter-card::after { right: -12px; bottom: -26px; transform: rotate(12deg); }
.counter-card .days { font-size: 74px; font-weight: 900; line-height: 1; letter-spacing: -1px; text-shadow: 0 3px 12px rgba(180, 40, 80, .25); }
.counter-card .days-label { font-size: 16px; font-weight: 700; margin-top: 6px; opacity: .95; }
.counter-card .since { margin-top: 8px; font-size: 12.5px; opacity: .85; font-weight: 500; }
.counter-card .edit-mini {
  position: absolute; top: 12px; right: 14px; color: #fff; opacity: .8; font-size: 15px; background: rgba(255,255,255,.22);
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Geri sayım şeridi */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  background: var(--card); border: 1.5px solid var(--rose-soft); border-radius: 16px; padding: 10px 14px;
  min-width: 128px; box-shadow: var(--shadow-sm); white-space: nowrap; text-align: left;
}
.chip .t { font-size: 12.5px; font-weight: 700; color: var(--ink); display: block; }
.chip .d { font-size: 13.5px; font-weight: 800; color: var(--rose-deep); margin-top: 2px; display: block; }
.chip.soon { background: linear-gradient(135deg, #ffe9a8, #ffd166); border-color: #ffd166; }
.chip.soon .d { color: #8a6d00; }
.chip.today { background: linear-gradient(135deg, color-mix(in srgb, var(--rose) 65%, #fff), var(--rose)); border-color: var(--rose); }
.chip.today .t, .chip.today .d { color: #fff; }
.chip.empty-chip { border-style: dashed; color: var(--ink-faint); text-align: center; font-size: 13px; background: transparent; box-shadow: none; }

/* Ortak küçük ögeler */
.pill-btn {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14.5px;
  background: var(--grad-strong); color: #fff; border-radius: 999px; padding: 11px 20px;
  box-shadow: var(--glow); transition: transform .12s ease, opacity .12s ease;
}
.pill-btn:active { transform: scale(.96); }
.pill-btn:disabled { opacity: .5; box-shadow: none; }
.pill-btn.ghost { background: var(--rose-soft); color: var(--rose-deep); box-shadow: none; }
.pill-btn.lav { background: var(--lav); box-shadow: 0 6px 16px rgba(185, 167, 245, .4); }
.pill-btn.peach { background: var(--peach); box-shadow: 0 6px 16px rgba(255, 196, 155, .5); }
.pill-btn.danger { background: var(--danger-soft); color: var(--danger); box-shadow: none; }
.pill-btn.small { padding: 8px 14px; font-size: 13px; }
.textbtn { color: var(--rose-deep); font-weight: 700; font-size: 14px; }
.input, textarea.input, select.input {
  width: 100%; background: var(--rose-faint); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 13px 14px; outline: none; transition: border .15s;
}
.input:focus { border-color: var(--rose); background: #fff; }
textarea.input { resize: vertical; min-height: 84px; }
.label { display: block; font-size: 12.5px; font-weight: 800; color: var(--ink-soft); margin: 12px 0 6px; letter-spacing: .3px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; object-fit: cover; overflow: hidden; background: var(--lav);
}
.avatar.lg { width: 56px; height: 56px; font-size: 21px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Alt navigasyon ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 8px 10px calc(8px + var(--safe-b));
  display: flex; justify-content: center; pointer-events: none;
}
.bottomnav .bar {
  pointer-events: auto; background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border: 1px solid var(--rose-soft); border-radius: 24px; box-shadow: var(--shadow);
  display: flex; width: 100%; max-width: 440px; padding: 6px 6px;
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 2px 5px; border-radius: 18px; color: var(--ink-faint); font-size: 10.5px; font-weight: 800;
  letter-spacing: .2px; transition: color .15s, background .15s;
}
.nav-item svg { width: 22px; height: 22px; }
.nav-item.active { color: var(--rose-deep); background: var(--rose-soft); }
/* Görev çubuğunda 5 sekme: her iki grup eşit genişlikte pay alır, ortadaki
   yuvarlak buton tam ortada kalır; etiketler tek satıra sığsın. */
.nav-group { flex: 1; display: flex; min-width: 0; }
.nav-item span { white-space: nowrap; }

/* ---------- Toast ---------- */
.toast-root { position: fixed; top: calc(14px + var(--safe-t)); left: 0; right: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  background: rgba(65, 45, 55, .92); color: #fff; border-radius: 999px; padding: 11px 20px;
  font-size: 14px; font-weight: 600; max-width: 88vw; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  animation: popIn .25s ease; display: flex; gap: 8px; align-items: center; text-align: center;
}
.toast.rose { background: var(--grad-strong); }

/* ---------- Onboarding ---------- */
.ob-wrap { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; text-align: center; }
.ob-logo-img {
  width: 104px; height: 104px; border-radius: 30px; display: block;
  box-shadow: var(--glow-lg); animation: floaty 3.4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ob-wrap h1 { font-size: 30px; margin: 22px 0 6px; letter-spacing: -0.4px; }
.ob-wrap .sub { color: var(--ink-soft); font-size: 15px; max-width: 300px; line-height: 1.5; margin-bottom: 24px; }
.ob-card { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); padding: 24px; width: 100%; max-width: 400px; text-align: left; animation: popIn .3s ease; }
.ob-card h2 { font-size: 20px; margin-bottom: 4px; }
.ob-card .hint { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 10px; line-height: 1.45; }
.code-box {
  font-size: 34px; letter-spacing: 9px; font-weight: 900; color: var(--rose-deep); text-align: center;
  background: var(--rose-soft); border-radius: 18px; padding: 18px 8px; margin: 14px 0; font-variant-numeric: tabular-nums;
}
.code-in { text-transform: uppercase; text-align: center; letter-spacing: 6px; font-weight: 800; font-size: 22px !important; }
.field-err { color: var(--danger); font-size: 13px; font-weight: 700; margin-top: 8px; min-height: 0; }
.backlink { margin-top: 16px; display: inline-block; color: var(--ink-soft); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px dashed var(--ink-faint); }

/* ---------- Ana sayfa ögeleri ---------- */
.avatars-row { display: flex; align-items: center; }
.avatars-row .avatar + .avatar { margin-left: -12px; }
.avatars-row .amp { margin-left: 12px; font-weight: 900; font-size: 17px; color: var(--rose-deep); }
.members-line { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 16px; }
.invite-banner {
  background: linear-gradient(135deg, var(--sun-soft), var(--peach-soft)); border: 1.5px dashed var(--peach);
  border-radius: var(--radius-sm); padding: 12px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.invite-banner .tx { font-size: 13px; font-weight: 700; flex: 1; line-height: 1.4; }
.invite-banner .tx b { color: var(--rose-deep); letter-spacing: 2px; font-size: 15px; }
.notif-nudge { display: flex; align-items: center; gap: 10px; background: var(--lav-soft); border-radius: var(--radius-sm); padding: 11px 14px; margin-bottom: 14px; }
.notif-nudge .tx { flex: 1; font-size: 13px; font-weight: 700; line-height: 1.4; }

/* Kalp mesajı bölümü */
.heart-compose { background: linear-gradient(160deg, #fff 20%, var(--rose-faint) 100%); border: 1.5px solid var(--rose-soft); }
.preset-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.preset {
  background: #fff; border: 1.5px solid var(--rose-soft); color: var(--rose-deep); font-weight: 700; font-size: 13px;
  border-radius: 999px; padding: 7px 13px; transition: background .12s;
}
.preset:active { background: var(--rose-soft); }
.preset.used { background: var(--rose); border-color: var(--rose); color: #fff; }
.send-row { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.send-row .input { flex: 1; }
.send-btn {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--grad-strong); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px color-mix(in srgb, var(--rose-deep) 48%, transparent);
  transition: transform .15s;
}
.send-btn:active { transform: scale(.9); }
.heart-log { display: flex; flex-direction: column; gap: 8px; }
.heart-item { display: flex; align-items: center; gap: 9px; background: var(--rose-faint); border-radius: 14px; padding: 8px 12px; font-size: 13.5px; }
.heart-item .who { font-weight: 800; color: var(--rose-deep); white-space: nowrap; }
.heart-item .msg { font-weight: 600; flex: 1; }
.heart-item .when { color: var(--ink-faint); font-size: 11.5px; white-space: nowrap; }

/* Kalp yağmuru animasyonu */
.heart-rain { position: fixed; inset: 0; z-index: 99; pointer-events: none; overflow: hidden; }
.heart-rain span { position: absolute; animation: riseHeart 1.4s ease-out forwards; font-size: 26px; }
@keyframes riseHeart {
  0% { opacity: 0; transform: translateY(24px) scale(.5); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-46vh) scale(1.25) rotate(14deg); }
}

/* ---------- Günlük ---------- */
.filter-row { display: flex; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.fchip {
  font-size: 13px; font-weight: 800; padding: 8px 15px; border-radius: 999px; background: var(--card);
  border: 1.5px solid var(--rose-soft); color: var(--ink-soft);
}
.fchip.active { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 4px 12px rgba(255,143,163,.35); }
.composer { position: relative; }
.mood-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.mood {
  border-radius: 999px; background: #fff; border: 1.5px solid transparent; font-size: 22px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; transition: all .12s; position: relative;
}
.mood:hover { background: var(--rose-faint); }
.mood.on { border-color: var(--rose); background: var(--rose-soft); transform: scale(1.12); }
.mood .tip { position: absolute; bottom: -18px; font-size: 9px; font-weight: 800; color: var(--ink-faint); white-space: nowrap; }
.photo-preview { position: relative; margin-top: 12px; width: fit-content; }
.photo-preview img { width: 130px; height: 130px; object-fit: cover; border-radius: var(--radius-sm); }
.photo-preview .x {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--danger);
  color: #fff; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.add-photo {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; border: 1.5px dashed var(--peach);
  color: #b06a3a; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 8px 14px; background: var(--peach-soft);
}
.entry { animation: popIn .25s ease; }
.entry .head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.entry .who { font-weight: 800; font-size: 14.5px; }
.entry .when { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }
.entry .mood-big { font-size: 24px; margin-left: auto; }
.entry .body { white-space: pre-wrap; line-height: 1.6; font-size: 15px; overflow-wrap: anywhere; }
.entry .photo { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 11px; background: var(--rose-faint); }
.entry .del { margin-top: 10px; color: var(--ink-faint); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.empty-state { text-align: center; padding: 36px 16px; color: var(--ink-soft); }
.empty-state .big { font-size: 44px; margin-bottom: 10px; }

/* ---------- Sorular ---------- */
.q-card { border-left: 5px solid var(--lav); }
.q-date { font-size: 12px; font-weight: 800; color: var(--lav); text-transform: uppercase; letter-spacing: .8px; }
.q-text { font-size: 17.5px; font-weight: 800; line-height: 1.45; margin: 7px 0 12px; }
.q-status { font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 12px; display: flex; gap: 8px; align-items: center; }
.q-status.wait { background: var(--lav-soft); color: #7a64d6; }
.q-status.done { background: var(--sun-soft); color: #96750a; }
.reveal-pair { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.reveal-bubble { background: var(--rose-faint); border-radius: 18px; padding: 12px 14px; }
.reveal-bubble.partner { background: var(--lav-soft); }
.reveal-bubble .nm { font-size: 12.5px; font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 7px; }
.reveal-bubble .tx { font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.answer-mine-note { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--rose-faint); padding: 10px 12px; border-radius: 12px; line-height: 1.5; }
.arch-item { padding: 12px 0; border-bottom: 1px solid var(--rose-soft); }
.arch-item:last-child { border-bottom: 0; }
.arch-item .row1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.arch-item .qq { font-size: 13.5px; font-weight: 700; line-height: 1.4; flex: 1; }
.arch-item .badge { font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge.open { background: var(--rose-soft); color: var(--rose-deep); }
.badge.waiting { background: var(--lav-soft); color: #7a64d6; }
.badge.none { background: var(--ink-faint); color: #fff; }
.arch-item .mini-ans { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.mini-ans .who { font-weight: 800; font-size: 12px; color: var(--rose-deep); }
.mini-ans .who.p { color: #7a64d6; }
.mini-ans .txt { font-size: 13.5px; background: var(--rose-faint); border-radius: 11px; padding: 7px 11px; line-height: 1.45; }
.mini-ans .txt.p { background: var(--lav-soft); }
.month-h { font-size: 12.5px; font-weight: 900; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 1px; margin: 18px 0 6px; }
.inline-ans { margin-top: 9px; display: flex; gap: 8px; }
.inline-ans .input { flex: 1; min-height: 0; font-size: 14px; padding: 9px 12px; }

/* ---------- Albüm ---------- */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.album-grid .cell { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--rose-faint); border: 0; padding: 0; }
.album-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.album-grid .cell:active img { transform: scale(1.06); }
.album-grid .fav { position: absolute; top: 5px; right: 5px; font-size: 12px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.fab-wrap { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.lbox {
  position: fixed; inset: 0; background: rgba(30, 18, 26, .93); z-index: 80; display: flex; flex-direction: column;
  animation: fadeIn .18s ease;
}
.lbox .imgwrap { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 10px; }
.lbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lbox .meta { color: #fff; padding: 8px 18px calc(16px + var(--safe-b)); }
.lbox .cap { font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.lbox .det { font-size: 12.5px; color: rgba(255,255,255,.65); font-weight: 600; margin-top: 3px; }
.lbox .acts { display: flex; gap: 10px; margin-top: 10px; }
.lbox .act { background: rgba(255,255,255,.14); color: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.lbox .act.favd { background: var(--rose); }
.lbox .act.del { background: rgba(255,80,90,.25); }
.lbox-close { position: absolute; top: calc(12px + var(--safe-t)); right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; }

/* ---------- Ayarlar ---------- */
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--rose-faint); }
.set-row:last-child { border-bottom: 0; }
.set-row .ic { font-size: 22px; width: 40px; height: 40px; border-radius: 13px; background: var(--rose-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.set-row .tx { flex: 1; }
.set-row .tx b { display: block; font-size: 14.5px; }
.set-row .tx small { color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.back-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.back-head button { font-weight: 800; color: var(--rose-deep); font-size: 15px; display: flex; align-items: center; gap: 4px; }
.own-edit { display: flex; gap: 8px; align-items: flex-end; }
.own-edit .input { margin: 0; }
.day-list .day-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--rose-soft); }
.day-list .day-row:last-child { border-bottom: 0; }
.day-row .em { font-size: 26px; width: 44px; height: 44px; background: var(--rose-faint); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.day-row .tx { flex: 1; min-width: 0; }
.day-row .tx b { display: block; font-size: 14.5px; }
.day-row .tx small { color: var(--ink-soft); font-weight: 600; font-size: 12px; }
select.input.sel-inline { width: auto; padding: 6px 10px; font-size: 13px; border-radius: 10px; background: var(--rose-faint); font-weight: 700; }

.modal-bg {
  position: fixed; inset: 0; background: rgba(40, 20, 32, .45); z-index: 70; display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .15s ease;
}
.modal {
  background: var(--bg); width: 100%; max-width: 640px; border-radius: 28px 28px 0 0; padding: 22px 20px calc(22px + var(--safe-b));
  animation: sheetUp .25s ease; max-height: 86dvh; overflow-y: auto;
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 18px; margin-bottom: 4px; }
.modal .mhint { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.confetti-hearts { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.confetti-hearts span { position: absolute; font-size: 22px; animation: confetti 1.6s ease-out forwards; }
@keyframes confetti {
  0% { transform: translateY(20vh) scale(.4) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-20vh) scale(1.2) rotate(25deg); opacity: 0; }
}
.skeleton { color: var(--ink-faint); text-align: center; padding: 60px 0; font-size: 14px; }
.switch { position: relative; width: 46px; height: 27px; border-radius: 999px; background: #e7d9df; transition: background .15s; flex: none; }
.switch.on { background: var(--rose); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 2px 5px rgba(0,0,0,.18); }
.switch.on::after { left: 22px; }
.mini-spark { font-size: 11px; font-weight: 800; color: var(--rose-deep); background: var(--rose-soft); padding: 3px 9px; border-radius: 999px; }

.fchip.active { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--rose) 35%, transparent); }

/* ========== Yeni özellikler: durum, sarılma, zor gün, haftalık rapor, PIN, ses/video, uyum testi, özel sorular ========== */

/* ---------- Üye durum kartları (Ana Sayfa) ---------- */
.members-line { align-items: flex-start; }
.mem { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 108px; }
.mem .avatar { box-shadow: 0 0 0 3px var(--card), var(--shadow-sm); position: relative; }
.mem-name { font-size: 13.5px; font-weight: 800; max-width: 108px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mem-bio { font-size: 10.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.35; max-width: 108px; text-align: center; }
.my-motto { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); font-style: italic; }
.my-motto svg { width: 13px; height: 13px; flex: none; opacity: .7; }
.mem-st { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); background: var(--card); border: 1px solid var(--rose-soft); padding: 4px 10px; border-radius: 999px; max-width: 108px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mem-st .dot { width: 7px; height: 7px; border-radius: 50%; background: #c4bcc0; flex: none; }
.mem-st .dot.on { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .22); }
.members-line .amp { font-size: 19px; font-weight: 900; color: var(--rose-deep); margin-top: -26px; opacity: .8; }

/* ---------- Zor gün ---------- */
.hard-banner { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 16px; margin-bottom: 12px; background: var(--lav-soft); border: 1.5px solid var(--lav); font-size: 13px; font-weight: 700; line-height: 1.5; animation: popIn .3s ease; }
.hard-banner .hb-ic { font-size: 24px; flex: none; }
.hard-banner b { color: #7a64d6; }
.hard-banner.mine { background: var(--sun-soft); border: 1.5px dashed var(--sun); }
.hard-banner.mine b { color: #8a6d00; }
.hard-banner .hb-tx { flex: 1; }
.hard-banner .pill-btn { flex: none; }

/* ---------- Hızlı dokunuşlar (sarılma + zor gün) ---------- */
.quick-row { display: flex; gap: 10px; margin: 0 0 14px; }
.quick-card { flex: 1; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 1.5px solid transparent; min-width: 0; }
.quick-card .qc-em { font-size: 27px; transition: transform .18s; }
.quick-card b { font-size: 13px; color: var(--ink); }
.quick-card small { font-size: 10px; color: var(--ink-faint); font-weight: 800; text-align: center; line-height: 1.3; }
.quick-card:active .qc-em { transform: scale(1.3) rotate(-8deg); }
.quick-card.hugc { background: linear-gradient(160deg, #fff 20%, var(--rose-faint)); border-color: var(--rose-soft); }
.quick-card.hardc.on { background: linear-gradient(135deg, var(--sun-soft), #fff 70%); border-color: var(--sun); }
.quick-card.hardc.on b { color: #8a6d00; }
.quick-card:disabled { opacity: .55; filter: grayscale(.5); }

/* ---------- Haftalık rapor ---------- */
.weekly-card .card-title { gap: 0; }
.wk-range { margin-left: auto; font-size: 10px; font-weight: 800; color: var(--ink-faint); background: var(--rose-faint); padding: 3px 9px; border-radius: 999px; }
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.w-cell { background: var(--rose-faint); border-radius: 14px; padding: 10px 6px 9px; text-align: center; }
.w-cell .w-ic { font-size: 17px; }
.w-cell .w-num { font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.25; font-variant-numeric: tabular-nums; }
.w-cell .w-lb { font-size: 9.5px; font-weight: 800; color: var(--ink-soft); letter-spacing: .2px; }
.wk-foot { margin-top: 12px; display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.wk-foot .flame { font-size: 15px; }
.wk-foot .wk-best { color: var(--rose-deep); font-weight: 900; }

/* ---------- Sanal sarılma animasyonu ---------- */
.hug-overlay { position: fixed; inset: 0; z-index: 97; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--rose) 32%, transparent), rgba(40, 20, 32, .62)); animation: fadeIn .25s ease; }
.hug-core { position: relative; text-align: center; padding: 40px; }
.hug-core .hug-emoji { position: relative; font-size: 96px; display: inline-block; animation: hugPop .85s cubic-bezier(.34, 1.56, .64, 1) both; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .3)); }
.hug-core .ring { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .55); animation: ringPulse 1.5s ease-out infinite; pointer-events: none; }
.hug-core .ring.r2 { animation-delay: .45s; }
.hug-core .hug-tx { margin-top: 20px; color: #fff; font-weight: 900; font-size: 17px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); line-height: 1.5; }
@keyframes hugPop {
  0% { transform: scale(.2) rotate(-16deg); opacity: 0; }
  55% { transform: scale(1.18) rotate(3deg); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes ringPulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }

/* ---------- Özel gün kutlama ekranı ---------- */
.celebrate { position: fixed; inset: 0; z-index: 96; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: #fff; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rose) 60%, #fff), color-mix(in srgb, var(--rose-deep) 82%, #42131f)); animation: fadeIn .3s ease; }
.celebrate .cb-big { font-size: 74px; animation: hugPop .8s cubic-bezier(.34, 1.56, .64, 1) both; }
.celebrate h2 { font-size: 26px; margin: 14px 0 6px; font-weight: 900; letter-spacing: -.3px; }
.celebrate p { font-weight: 700; font-size: 14px; opacity: .92; line-height: 1.5; max-width: 300px; }
.celebrate .cb-fl { position: absolute; font-size: 20px; animation: confetti 2.2s ease-out forwards; }

/* ---------- Günlük: sesli not & video ---------- */
.med-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.med-row .add-photo { margin-top: 0; }
.med-row .add-photo:disabled { opacity: .45; }
.rec-box { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: var(--danger-soft); border: 1.5px solid var(--danger); border-radius: 14px; padding: 9px 12px; }
.rec-pulse { width: 13px; height: 13px; border-radius: 50%; background: var(--danger); animation: blink 1s ease infinite; flex: none; }
@keyframes blink { 50% { opacity: .2; } }
.rec-timer { font-weight: 900; color: var(--danger); font-variant-numeric: tabular-nums; font-size: 14px; }
.rec-note { font-size: 12px; font-weight: 800; color: var(--danger); }
.rec-stop { background: var(--danger); color: #fff; border-radius: 999px; padding: 7px 15px; font-size: 12px; font-weight: 800; margin-left: auto; box-shadow: 0 4px 12px rgba(229, 72, 77, .35); }
.rec-x { color: var(--danger); font-size: 17px; padding: 5px; font-weight: 900; }
.voice-pl { margin-top: 11px; background: var(--rose-faint); border-radius: 14px; padding: 9px 12px; display: flex; flex-direction: column; gap: 7px; }
.voice-pl .vl { font-size: 11.5px; font-weight: 800; color: var(--rose-deep); display: flex; align-items: center; gap: 6px; }
.voice-pl audio { width: 100%; height: 40px; }
.vid-prev { position: relative; margin-top: 12px; }
.vid-prev video { width: 100%; max-height: 250px; border-radius: var(--radius-sm); background: #000; display: block; }
.vid-prev .x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--danger); color: #fff; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.entry .video-clip { width: 100%; max-height: 380px; border-radius: var(--radius-sm); margin-top: 11px; background: #000; display: block; }
.voice-pl .textbtn { align-self: flex-end; font-size: 12px; }

/* ---------- Sorular: sekmeler, uyum testi, sor bana ---------- */
.q-seg { display: flex; gap: 4px; background: var(--rose-faint); border-radius: 999px; padding: 4px; margin-bottom: 13px; }
.q-seg button { flex: 1; font-size: 12.5px; font-weight: 800; padding: 9px 4px; border-radius: 999px; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; min-width: 0; }
.q-seg button.active { background: var(--card); color: var(--rose-deep); box-shadow: 0 2px 10px color-mix(in srgb, var(--rose) 28%, transparent); }
.quiz-sum { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 15px; margin-bottom: 12px; border-radius: 16px; background: linear-gradient(135deg, var(--rose-faint), var(--lav-soft)); }
.quiz-sum .qs-tx { font-size: 12.5px; font-weight: 800; color: var(--ink-soft); line-height: 1.5; }
.quiz-sum b { font-size: 16px; color: var(--ink); display: block; }
.quiz-sum .qs-big { font-size: 30px; }
.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { text-align: left; background: var(--rose-faint); border: 1.5px solid transparent; border-radius: 14px; padding: 11px 13px; font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 11px; transition: transform .1s ease; }
.quiz-opt:active { transform: scale(.97); border-color: var(--rose); }
.quiz-opt .ch { width: 25px; height: 25px; border-radius: 50%; background: #fff; color: var(--rose-deep); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex: none; border: 1.5px solid var(--rose-soft); }
.quiz-pair { display: flex; gap: 8px; margin-top: 6px; }
.pair-chip { flex: 1; text-align: center; padding: 10px 8px; border-radius: 14px; background: var(--rose-faint); font-size: 13px; font-weight: 700; line-height: 1.4; min-width: 0; }
.pair-chip.me { border: 1.5px solid var(--rose); background: color-mix(in srgb, var(--rose) 10%, #fff); }
.pair-chip.p { border: 1.5px solid var(--lav); background: var(--lav-soft); }
.pair-chip .who { font-size: 10.5px; font-weight: 800; color: var(--ink-soft); display: block; margin-bottom: 3px; }
.quiz-match { display: inline-flex; align-items: center; gap: 4px; margin-left: 5px; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; vertical-align: middle; }
.quiz-match.yes { background: var(--mint-soft); color: #1e8a6e; }
.quiz-match.no { background: var(--danger-soft); color: var(--danger); }
.cq-item { padding: 13px 0; border-bottom: 1px solid var(--rose-soft); }
.cq-item:last-child { border-bottom: 0; }
.cq-item .cq-q { font-size: 14px; font-weight: 800; line-height: 1.45; }
.cq-item .cq-meta { font-size: 11.5px; color: var(--ink-faint); font-weight: 700; margin: 3px 0 0; }
.cq-item .cq-ans-wrap { margin-top: 9px; display: flex; gap: 8px; align-items: flex-end; }
.cq-item .cq-ans-wrap .input { flex: 1; min-height: 0; font-size: 14px; padding: 10px 12px; }
.cq-wait { font-size: 12.5px; color: var(--ink-faint); font-weight: 700; display: flex; gap: 6px; align-items: center; padding: 9px 0 0; }
.cq-note { font-size: 11.5px; color: var(--ink-faint); font-weight: 700; margin-top: 8px; line-height: 1.5; }

/* ---------- Ayarlar: durum & tema ---------- */
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.st-chip { display: flex; align-items: center; gap: 9px; background: var(--rose-faint); border: 1.5px solid transparent; border-radius: 14px; padding: 10px 12px; font-size: 13px; font-weight: 800; color: var(--ink-soft); text-align: left; }
.st-chip .st-em { font-size: 19px; }
.st-chip.active { background: var(--grad-strong); color: #fff; box-shadow: var(--glow); }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 8px; }
.theme-swatch { border-radius: 16px; padding: 11px 6px; display: flex; flex-direction: column; align-items: center; gap: 7px; background: var(--rose-faint); border: 1.5px solid transparent; }
.theme-swatch .sw { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 -3px 8px rgba(0, 0, 0, .14), 0 3px 8px rgba(0, 0, 0, .08); }
.theme-swatch span { font-size: 11px; font-weight: 800; color: var(--ink-soft); }
.theme-swatch.active { border-color: var(--rose-deep); background: color-mix(in srgb, var(--rose) 8%, #fff); }
.theme-swatch.active span { color: var(--rose-deep); }

/* ---------- PIN ekranı ---------- */
.pin-screen { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px 26px calc(40px + var(--safe-b)); background: radial-gradient(120% 90% at 50% 0%, var(--rose-faint), var(--bg)); text-align: center; }
.pin-lock-ic { width: 88px; height: 88px; border-radius: 50%; background: var(--grad-strong); display: flex; align-items: center; justify-content: center; font-size: 40px; box-shadow: var(--glow-lg); animation: floaty 3.4s ease-in-out infinite; }
.pin-screen h1 { font-size: 22px; margin: 18px 0 3px; }
.pin-screen .sub { color: var(--ink-soft); font-weight: 600; font-size: 13.5px; }
.pin-dots { display: flex; gap: 11px; margin: 24px 0 6px; min-height: 15px; }
.pin-dots span { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ink-faint); transition: all .1s ease; }
.pin-dots span.f { background: var(--rose-deep); border-color: var(--rose-deep); transform: scale(1.15); }
.pin-dots.shake { animation: pinShake .4s ease; }
@keyframes pinShake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.pin-err { font-size: 12.5px; font-weight: 800; color: var(--danger); min-height: 17px; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 86px); gap: 11px; margin-top: 10px; }
.pin-key { width: 86px; height: 62px; border-radius: 20px; background: var(--card); font-size: 21px; font-weight: 800; color: var(--ink); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; }
.pin-key:active { transform: scale(.93); }
.pin-key svg { width: 22px; height: 22px; }
.pin-key.blank { background: transparent; box-shadow: none; pointer-events: none; }
.pin-out { margin-top: 26px; color: var(--ink-soft); font-size: 13px; font-weight: 800; text-decoration: underline; display: inline-flex; gap: 6px; align-items: center; }
.pin-in { text-align: center; font-size: 21px; letter-spacing: 9px; font-weight: 800; text-transform: none; font-variant-numeric: tabular-nums; }


/* ========== Tavşan maskotu (mascot.js) ========== */
/* Renkler tema değişkenlerinden türetilir; tema değişince maskot da uyum sağlar. */
.bunny { display: block; width: 100%; height: auto; }
.bunny .b-halo { fill: var(--rose-faint); }
.bunny .b-shadow { fill: color-mix(in srgb, var(--rose) 24%, #fff); opacity: .9; }
.bunny .b-fur { fill: #fff8f3; stroke: color-mix(in srgb, var(--rose-deep) 30%, #fff); stroke-width: 2; stroke-linejoin: round; }
.bunny .b-accent { fill: color-mix(in srgb, var(--rose) 30%, #fff); }
.bunny .b-blush { fill: color-mix(in srgb, var(--rose) 38%, #fff); opacity: .8; }
.bunny .b-tail { fill: #fffdfb; stroke: color-mix(in srgb, var(--rose-deep) 24%, #fff); stroke-width: 2; }
.bunny .b-line { fill: none; stroke: color-mix(in srgb, var(--ink) 72%, #b09aa4); stroke-width: 2.4; stroke-linecap: round; }
.bunny .b-line.thin { stroke-width: 2; }
.bunny .b-nose { fill: var(--rose-deep); opacity: .85; }
.bunny .b-mouth { fill: var(--rose-deep); opacity: .62; }
.bunny .b-eye { fill: color-mix(in srgb, var(--ink) 85%, #000); }
.bunny .b-eye-shine { fill: #fff; }
.bunny .b-spark { fill: var(--rose); opacity: .85; }
.bunny .b-heart { fill: var(--rose); }
.bunny .b-glint { fill: #fff; opacity: .55; }

/* Boş durum illüstrasyonu — hafif nefes alma animasyonu */
.bunny-art { width: 108px; margin: 0 auto 8px; }
.bunny-art.sm { width: 84px; }
.bunny-art .b-bob { animation: bunnyBob 3.6s ease-in-out infinite; }
@keyframes bunnyBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.empty-state.compact { padding: 14px 0 6px; }

/* Günün sorusu kartının köşesindeki maskot */
.q-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.q-head .q-date { flex: 1; padding-top: 5px; }
.bunny-corner { flex: none; width: 58px; height: 58px; margin: -15px -9px -6px 0; pointer-events: none; }
.bunny-corner svg { animation: bunnyPeek 3.4s ease-in-out infinite; }
@keyframes bunnyPeek { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3.5px); } }

/* Kalp gönderince: tavşan zıplayıp kalp bırakır */
.bunny-hop { position: fixed; inset: 0; z-index: 98; pointer-events: none; overflow: hidden; }
.bunny-hop .bh-bunny { position: absolute; left: 50%; bottom: 17%; width: 86px; margin-left: -43px; transform-origin: 50% 100%; animation: bunnyJump 1.85s cubic-bezier(.37, .06, .23, 1) both; }
.bunny-hop .bh-heart { position: absolute; left: 50%; bottom: 27%; font-size: 22px; opacity: 0; animation: bunnyHeartUp 1.5s ease-out both; }
.bunny-hop .bh-heart.h1 { animation-delay: .48s; margin-left: -48px; }
.bunny-hop .bh-heart.h2 { animation-delay: .72s; margin-left: 16px; font-size: 19px; }
.bunny-hop .bh-heart.h3 { animation-delay: .96s; margin-left: -14px; font-size: 16px; }
@keyframes bunnyJump {
  0% { transform: translateY(46px) scale(.86); opacity: 0; }
  12% { transform: translateY(0) scale(1.04, .92); opacity: 1; }
  16% { transform: translateY(2px) scale(1.08, .88); }
  46% { transform: translateY(-118px) scale(.95, 1.07); }
  74% { transform: translateY(0) scale(1.07, .9); }
  84% { transform: translateY(-17px) scale(.98, 1.03); }
  92% { transform: translateY(0) scale(1.02, .97); }
  96% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0; }
}
@keyframes bunnyHeartUp {
  0% { transform: translateY(12px) scale(.4); opacity: 0; }
  22% { opacity: 1; }
  100% { transform: translateY(-130px) scale(1.15) rotate(12deg); opacity: 0; }
}

/* ---------- Açılış ekranı (splash) ---------- */
#splash {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 50% 40%, var(--rose-faint) 0%, var(--bg) 64%);
  transition: opacity .5s ease, transform .5s ease;
}
#splash.hide { opacity: 0; transform: scale(1.035); pointer-events: none; }
.sp-scene { position: relative; width: 150px; height: 150px; display: flex; align-items: flex-end; justify-content: center; }
.sp-bunny { width: 126px; transform-origin: 50% 100%; animation: spBounce 1.2s ease-in-out infinite; }
.sp-h { position: absolute; font-size: 20px; opacity: 0; animation: spHeart 1.9s ease-out infinite; }
.sp-h.h1 { left: 2px; bottom: 56px; animation-delay: .15s; }
.sp-h.h2 { right: 0; bottom: 74px; font-size: 16px; animation-delay: .7s; }
.sp-h.h3 { left: 50%; bottom: 96px; font-size: 14px; animation-delay: 1.25s; }
@keyframes spHeart { 0% { transform: translateY(8px) scale(.5); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-56px) scale(1.1); opacity: 0; } }
@keyframes spBounce {
  0%, 100% { transform: translateY(0) scale(1.05, .96); }
  45% { transform: translateY(-20px) scale(.97, 1.05); }
  60% { transform: translateY(-16px) scale(.98, 1.03); }
}
.sp-name { font-size: 21px; font-weight: 900; letter-spacing: .4px; color: var(--ink); animation: spName .7s ease .12s both; }
.sp-logo { width: 62px; height: 62px; border-radius: 18px; box-shadow: var(--shadow-sm); animation: spName .7s ease .2s both; }
@keyframes spName { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .bunny-art .b-bob, .bunny-corner svg, .sp-bunny, .sp-h, .bunny-hop .bh-bunny, .bunny-hop .bh-heart { animation: none; }
  .bunny-hop .bh-heart { opacity: .9; }
  #splash { transition: opacity .25s ease; }
}

/* ---------- Sabit köşe maskotu: iltifat eden tavşan ---------- */
#corner-bunny {
  position: fixed; right: 12px; bottom: calc(84px + var(--safe-b)); z-index: 85;
  display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
  pointer-events: none; transition: opacity .3s ease;
}
#corner-bunny.cb-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
#corner-bunny .cb-btn {
  pointer-events: auto; width: 48px; height: 48px; padding: 3px; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease; transform-origin: 50% 100%;
}
#corner-bunny .cb-btn:active { transform: scale(.9); }
#corner-bunny .cb-btn .bunny { animation: cbBob 3.1s ease-in-out infinite; }
@keyframes cbBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45% { transform: translateY(-3.5px) rotate(-3deg); }
  60% { transform: translateY(-2.5px) rotate(2.5deg); }
}
#corner-bunny.peek .cb-btn { animation: cbPop .6s cubic-bezier(.34, 1.56, .5, 1); }
@keyframes cbPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.14, .9) translateY(1px); }
  65% { transform: scale(.96, 1.07) translateY(-4px); }
  100% { transform: scale(1); }
}
#corner-bunny .cb-bubble {
  position: relative; max-width: 186px; padding: 7px 11px; border-radius: 14px 14px 4px 14px;
  background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--rose-soft);
  font-size: 11.5px; font-weight: 700; line-height: 1.4; color: var(--ink);
  opacity: 0; transform: translateY(7px) scale(.92); transform-origin: 100% 100%;
  transition: opacity .28s ease, transform .28s cubic-bezier(.34, 1.4, .5, 1);
  pointer-events: none; text-align: right;
}
#corner-bunny.show .cb-bubble { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  #corner-bunny .cb-btn .bunny, #corner-bunny.peek .cb-btn { animation: none; }
  #corner-bunny .cb-bubble { transition: opacity .2s ease; transform: none; }
}

/* ---------- Alt menü ortasındaki yuvarlak buton (FAB) ---------- */
.bottomnav .bar { position: relative; }
.nav-gap { flex: 0 0 62px; }
.nav-fab {
  position: absolute; left: 50%; bottom: 100%; margin-left: -30px; margin-bottom: -30px;
  width: 60px; height: 60px; border-radius: 50%; padding: 0; overflow: hidden;
  background: var(--card); border: 3px solid var(--card);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--rose) 42%, transparent), 0 2px 6px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto; z-index: 41; transition: transform .16s ease;
}
.nav-fab img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.nav-fab:active { transform: scale(.92); }
.nav-fab[aria-expanded="true"] { transform: scale(.94); }

/* ---------- Hızlı menü ---------- */
.qmenu-bg {
  position: fixed; inset: 0; z-index: 95; background: rgba(60, 30, 45, .28);
  backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .18s ease;
}
.qmenu {
  width: 100%; max-width: 440px; max-height: 86dvh; overflow-y: auto;
  background: var(--card); border-radius: 26px 26px 0 0;
  padding: 16px 16px calc(20px + var(--safe-b));
  box-shadow: 0 -10px 40px rgba(120, 60, 90, .22);
  animation: sheetUp .26s cubic-bezier(.3, 1.2, .5, 1);
}
.qm-head { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--rose-soft); }
.qm-id { flex: 1; min-width: 0; }
.qm-id b { display: block; font-size: 16px; }
.qm-id small { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 600; margin-top: 2px; }
.qm-x { width: 32px; height: 32px; border-radius: 50%; background: var(--rose-soft); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.qm-x svg { width: 16px; height: 16px; }
.qm-sec { padding-top: 13px; }
.qm-lbl { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.qm-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 11px; border-radius: 16px; background: var(--bg-soft, var(--rose-faint)); margin-bottom: 7px; text-align: left; }
.qm-item:active { transform: scale(.985); }
.qm-ic { width: 34px; height: 34px; border-radius: 12px; background: var(--card); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow-sm); }
.qm-ic svg { width: 17px; height: 17px; }
.qm-tx { flex: 1; min-width: 0; }
.qm-tx b { display: block; font-size: 14px; }
.qm-tx small { display: block; color: var(--ink-soft); font-size: 11.5px; font-weight: 600; margin-top: 1px; }
.qm-item.danger .qm-ic { color: var(--danger); }
.qm-item.danger .qm-tx b { color: var(--danger); }
.qm-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.qm-sw { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border-radius: 15px; background: var(--bg-soft, var(--rose-faint)); font-size: 11px; font-weight: 800; color: var(--ink-soft); }
.qm-sw .sw { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.qm-sw.active { background: var(--rose-soft); color: var(--rose-deep); box-shadow: inset 0 0 0 2px var(--rose); }
.qm-status { display: flex; flex-wrap: wrap; gap: 7px; }
