/* DuamOl web — sol menülü düzen, ferah dua blokları */
:root {
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --primary: #2F6B4F;
  --primary-dark: #234F3E;
  --primary-soft: #E5F0E9;
  --gold: #B8912B;
  --gold-soft: #F8F0DB;
  --text: #1C2A24;
  --text-2: #56635B;
  --border: #E9E6DE;
  --danger: #B4533A;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(34, 48, 42, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hidden { display: none !important; }
.muted { color: var(--text-2); }

/* ---------- Üst bar ---------- */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; box-shadow: var(--shadow); }
.logo-mark.big { width: 52px; height: 52px; border-radius: 15px; }
.logo-word { font-weight: 900; font-size: 22px; color: var(--text); letter-spacing: -0.5px; }
.logo-word em { font-style: normal; color: var(--primary); }

.nav-box { display: flex; align-items: center; gap: 10px; }
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.user-name { font-weight: 800; font-size: 14px; }

/* ---------- İki sütunlu düzen ---------- */

.layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 620px);
  gap: 28px;
  justify-content: center;
  width: 100%;
  padding: 24px 16px 80px;
  flex: 1;
}

.sidebar {
  position: sticky;
  top: 82px;
  height: fit-content;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
  text-align: left;
}
.nav-item svg { width: 23px; height: 23px; flex-shrink: 0; }
.nav-item:hover { background: rgba(47, 107, 79, 0.07); }
.nav-item.active { font-weight: 900; color: var(--primary); }
.nav-item.active svg { color: var(--primary); }

.sidebar-cta {
  width: 100%;
  margin-top: 18px;
  border-radius: 999px;
  font-size: 16px;
  padding: 14px;
}

.main-col { min-width: 0; }

/* ---------- Hero ---------- */

.hero { text-align: center; padding: 40px 12px 36px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
  color: var(--primary-dark);
}
.hero p { margin-top: 14px; font-size: 16px; font-weight: 600; line-height: 1.65; color: var(--text-2); }
.hero p strong { color: var(--gold); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.btn-hero { width: auto; min-width: 180px; margin-top: 0; }

/* ---------- Kart / başlıklar ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.card-title { font-size: 19px; font-weight: 900; margin-bottom: 12px; }
.feed-heading { font-size: 22px; font-weight: 900; margin: 2px 0 14px; }
.feed-heading-row { display: flex; align-items: center; justify-content: space-between; }
.feed-heading-row .feed-heading { margin: 0; }
.feed-refresh-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s, color .15s, transform .4s;
}
.feed-refresh-btn svg { width: 17px; height: 17px; }
.feed-refresh-btn:hover { border-color: var(--primary); color: var(--primary); }
.feed-refresh-btn.spinning svg { animation: feedSpin .7s linear infinite; }

.pull-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 0;
  overflow: hidden;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  transition: height .18s ease;
}
.pull-refresh-icon { width: 18px; height: 18px; transition: transform .1s; }
.pull-refresh.ready .pull-refresh-icon { transform: rotate(180deg); }
.pull-refresh.loading .pull-refresh-icon { animation: feedSpin .7s linear infinite; }
@keyframes feedSpin { to { transform: rotate(360deg); } }
.sub-heading { font-size: 16px; font-weight: 900; margin: 22px 0 10px; color: var(--text); }

/* ---------- Butonlar ---------- */

.btn-primary {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #38795B, var(--primary-dark));
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 15px;
  margin-top: 16px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 18px rgba(35, 79, 62, 0.22);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(35, 79, 62, 0.28); }
.btn-primary:disabled { opacity: .4; cursor: default; box-shadow: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}
.btn-outline:hover { background: var(--primary-soft); }

.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }

.btn-small {
  border: 0;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-small:hover { background: var(--primary-dark); }

/* ---------- Dua paylaşma ---------- */

#composeText {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  min-height: 104px;
  resize: vertical;
  outline: none;
  transition: border-color .15s;
}
#composeText:focus { border-color: var(--primary); }
.compose-meta { text-align: right; font-size: 12px; color: var(--text-2); margin-top: 5px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.filter-chips { margin: 0 0 18px; }
.chip {
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.anon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  margin-top: 14px;
  cursor: pointer;
}
.anon-label { font-weight: 800; font-size: 14px; }
.anon-label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-2); margin-top: 1px; }
.anon-row input { width: 18px; height: 18px; accent-color: var(--primary); }

/* ---------- Dua akışı: ferah bloklar, ekranda ~3 dua ---------- */

.prayer-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 18px;
  min-height: 218px;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.prayer-card:hover { border-color: #D8D4C8; }

.prayer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img, .nav-avatar img, .profile-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.avatar.c0 { background: #E5F0E9; color: #2F6B4F; }
.avatar.c1 { background: #F8F0DB; color: #B8912B; }
.avatar.c2 { background: #E8ECF7; color: #4A5FA5; }
.avatar.c3 { background: #F7E8E4; color: #B4533A; }
.avatar.c4 { background: #EDE8F5; color: #6D57A5; }
.avatar.anon { background: var(--bg); color: var(--text-2); border: 1.5px dashed var(--border); font-size: 15px; }

.prayer-author { font-weight: 800; font-size: 15px; }
.prayer-time { font-size: 12.5px; color: var(--text-2); margin-top: 1px; }
.prayer-cat {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}
.prayer-text { font-size: 16px; font-weight: 600; line-height: 1.7; color: var(--text); flex: 1; }

.prayer-actions { display: flex; gap: 10px; margin-top: 18px; }
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.action-btn svg { width: 16px; height: 16px; }
.action-btn:hover { border-color: var(--primary); color: var(--primary); }
.action-btn.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

/* ---------- Yorumlar ---------- */

.comments { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 14px; }
.comment { display: flex; gap: 10px; padding: 7px 0; }
.comment .avatar { width: 30px; height: 30px; font-size: 12.5px; }
.comment-body { flex: 1; }
.comment-head { display: flex; align-items: baseline; gap: 8px; }
.comment-author { font-weight: 800; font-size: 13px; }
.comment-time { font-size: 11.5px; color: var(--text-2); }
.comment-text { font-size: 14px; font-weight: 600; line-height: 1.55; color: var(--text); margin-top: 1px; }

.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  outline: none;
}
.comment-form input:focus { border-color: var(--primary); }
.comment-form button {
  border: 0;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.comment-login-note { font-size: 13px; color: var(--text-2); margin-top: 10px; text-align: center; }
.comment-login-note button { border: 0; background: none; font-family: inherit; font-weight: 800; font-size: 13px; color: var(--primary); cursor: pointer; }

/* ---------- Zikirmatik ---------- */

.zikir-panel { text-align: center; }
.zikir-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  margin-bottom: 8px;
}
.zikir-head h3 { font-size: 19px; font-weight: 900; }
.zikir-head .muted { font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.zikir-note { font-size: 12.5px; color: var(--gold); font-weight: 700; margin-top: 4px; }
.zikir-arabic { font-size: 26px; line-height: 1.5; color: var(--primary); white-space: nowrap; }

.zikir-tap {
  position: relative;
  width: 210px;
  height: 210px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin: 10px auto 0;
  display: block;
  -webkit-tap-highlight-color: transparent;
}
.zikir-tap:active { transform: scale(0.97); }
.zikir-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: var(--primary-soft); stroke: var(--border); stroke-width: 6; }
.ring-fg {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .2s;
}
.zikir-count-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.zikir-count-box b { font-size: 44px; font-weight: 900; color: var(--primary-dark); line-height: 1; }
.zikir-count-box small { font-size: 14px; font-weight: 700; color: var(--text-2); margin-top: 4px; }
.zikir-hint { font-size: 12.5px; color: var(--text-2); margin-top: 10px; }
.zikir-tap-pulse { animation: zikirPulse .3s ease; }
@keyframes zikirPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.zikir-stats { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.zikir-stat {
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 26px;
}
.zikir-stat b { font-size: 21px; font-weight: 900; color: var(--primary); }
.zikir-stat small { font-size: 12.5px; color: var(--text-2); margin-top: 1px; }
.zikir-panel-actions { margin-top: 12px; }
.qibla-perm-btn { margin-top: 12px; width: auto; padding: 10px 22px; }

.zikir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zikir-option {
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 13px 15px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s;
}
.zikir-option:hover { border-color: var(--primary); }
.zikir-option.active { border-color: var(--primary); background: var(--primary-soft); }
.zikir-option b { display: block; font-size: 14.5px; font-weight: 800; }
.zikir-option small { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.zikir-option .z-count { color: var(--primary); font-weight: 800; }

/* ---------- Salavatlar ---------- */

.salavat-header { display: flex; align-items: center; justify-content: space-between; }
.salavat-total {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 5px 14px;
  border-radius: 999px;
}
.salavat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.salavat-card h3 { font-size: 16.5px; font-weight: 900; }
.salavat-arabic { font-size: 22px; line-height: 1.9; color: var(--primary); text-align: right; margin-top: 10px; }
.salavat-latin { font-size: 14px; font-weight: 600; line-height: 1.65; font-style: italic; color: var(--text); margin-top: 10px; }
.salavat-divider { height: 1px; background: var(--border); margin: 12px 0; }
.salavat-meaning { font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--text-2); }
.salavat-card .action-btn { margin-top: 14px; }

/* ---------- Profil ---------- */

.profile-card { text-align: center; }
.profile-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 4px auto 10px;
  overflow: hidden;
}
.profile-name { font-size: 21px; font-weight: 900; }
.profile-bio { font-size: 14px; font-weight: 600; color: var(--text-2); margin-top: 2px; }
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.profile-stat b { display: block; font-size: 19px; font-weight: 900; }
.profile-stat small { font-size: 12.5px; color: var(--text-2); }

/* ---------- Modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 34, 29, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  z-index: 50;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto 0;
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  animation: pop .22s ease;
}
@keyframes pop { from { transform: scale(.96) translateY(8px); opacity: 0; } }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  border: 0;
  background: var(--bg);
  color: var(--text-2);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}
.modal-brand { display: flex; justify-content: center; margin-bottom: 18px; }

.auth-tabs { display: flex; background: var(--bg); border-radius: 13px; padding: 4px; margin-bottom: 18px; }
.auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-2);
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
}
.auth-tab.active { background: var(--surface); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.auth-form label { display: block; font-size: 13px; font-weight: 800; margin: 12px 0 5px; }
.auth-form input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s;
}
.auth-form input:focus { border-color: var(--primary); }

/* ---------- Diğer ---------- */

.empty-note { text-align: center; color: var(--text-2); padding: 40px 0; }
.error { color: var(--danger); font-size: 13px; font-weight: 700; margin-top: 10px; }

.footer { border-top: 1px solid var(--border); padding: 26px 16px 34px; text-align: center; }
.footer-mark { width: 30px; height: 30px; border-radius: 9px; opacity: .9; }
.footer p { margin-top: 10px; font-size: 13px; color: var(--text-2); }

/* ---------- Dua medyası (resim/video) ---------- */

.media-attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px dashed var(--border);
  background: var(--bg);
  color: var(--text-2);
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 12px;
  margin-top: 12px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.media-attach-btn svg { width: 18px; height: 18px; }
.media-attach-btn:hover { border-color: var(--primary); color: var(--primary); }

.compose-media-preview {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  max-height: 260px;
  border: 1px solid var(--border);
}
.compose-media-preview img, .compose-media-preview video {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}
.media-remove-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(24, 34, 29, 0.55);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.prayer-media {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 14px;
  display: block;
}

/* ---------- Profil fotoğrafı yükleme ---------- */

.avatar-upload-row { display: flex; align-items: center; gap: 16px; }
.avatar-upload-preview {
  width: 62px; height: 62px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar-upload-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.avatar-upload-col { flex: 1; }
.avatar-upload-btn { padding: 9px 16px; font-size: 13.5px; gap: 7px; }
.avatar-upload-btn svg { width: 16px; height: 16px; }
.avatar-upload-hint { font-size: 12px; color: var(--text-2); margin-top: 6px; }

/* ---------- Duayı sil ---------- */

.prayer-delete {
  border: 0;
  background: transparent;
  color: var(--text-2);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.prayer-delete svg { width: 16px; height: 16px; }
.prayer-delete:hover { background: rgba(180, 83, 58, 0.1); color: var(--danger); }

.delete-confirm { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.confirm-text { font-size: 13.5px; line-height: 1.55; color: var(--text); font-weight: 700; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.btn-danger {
  border: 0;
  background: var(--danger);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- Profil: ayar menüsü ---------- */

.menu-card { padding: 6px 22px; margin-bottom: 20px; }
.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  padding: 15px 0;
  cursor: pointer;
  transition: opacity .15s;
}
.menu-row:hover { opacity: .75; }
.menu-icon {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.menu-icon svg { width: 18px; height: 18px; }
.menu-label { flex: 1; font-weight: 800; font-size: 15px; color: var(--text); }
.menu-chevron { width: 18px; height: 18px; color: var(--text-2); flex-shrink: 0; }
.menu-divider { height: 1px; background: var(--border); }

/* ---------- Alttan açılan ayar panelleri ---------- */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 34, 29, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  z-index: 60;
}
.sheet {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: 26px 26px 0 0;
  padding: 14px 24px 30px;
  max-height: 86vh;
  overflow-y: auto;
  animation: sheetUp .22s ease;
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0; } }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: var(--border); margin: 0 auto 14px; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sheet-header h3 { font-size: 21px; font-weight: 900; }
.sheet-close {
  border: 0; background: var(--bg); color: var(--text-2);
  width: 32px; height: 32px; border-radius: 50%; font-size: 13px; cursor: pointer;
}
.sheet-section {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 20px 0 4px;
}
.sheet-hint { font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--text-2); margin-top: 16px; }

/* ---------- Açma/kapama anahtarı ---------- */

.switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.switch-row:last-child { border-bottom: 0; }
.switch-icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.switch-icon svg { width: 16px; height: 16px; }
.switch-text { flex: 1; }
.switch-text b { display: block; font-size: 14.5px; font-weight: 800; color: var(--text); }
.switch-text small { display: block; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--text-2); margin-top: 1px; }
.switch-toggle { position: relative; flex-shrink: 0; }
.switch-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track {
  display: block; width: 42px; height: 25px; border-radius: 999px;
  background: var(--border); position: relative; cursor: pointer; transition: background .2s;
}
.switch-thumb {
  position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s;
}
.switch-toggle input:checked ~ .switch-track { background: var(--primary); }
.switch-toggle input:checked ~ .switch-track .switch-thumb { transform: translateX(17px); }
.switch-toggle input:focus-visible ~ .switch-track { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Engellenenler / KVKK / bilgi satırları ---------- */

.blocked-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.blocked-row:last-child { border-bottom: 0; }
.btn-unblock { font-size: 12.5px; padding: 6px 12px; }
.empty-note-sm { font-size: 13.5px; color: var(--text-2); padding: 10px 0; }
.kvkk-text { font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--text-2); padding: 4px 0 12px; }
.info-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-row:last-child { border-bottom: 0; }
.info-row b { font-weight: 800; color: var(--text); }
.info-row span { color: var(--text-2); }
.data-request-row { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; font-family: inherit; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.kvkk-toggle-row { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; font-family: inherit; text-align: left; padding: 12px 0; cursor: pointer; }
.kvkk-toggle-row svg { width: 18px; height: 18px; color: var(--text-2); flex-shrink: 0; }

/* ---------- Hesap ayarları formu ---------- */

.field-label { display: block; font-size: 13px; font-weight: 800; color: var(--text); margin: 14px 0 5px; }
.field-label:first-child { margin-top: 0; }
#accountBody input[type="text"] {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .15s;
}
#accountBody input[type="text"]:focus { border-color: var(--primary); }
.btn-ghost.full { width: 100%; text-align: center; padding: 12px; margin-top: 6px; }
.danger-row {
  width: 100%; border: 0; background: transparent; color: var(--danger);
  font-family: inherit; font-weight: 800; font-size: 14.5px; text-align: left;
  padding: 14px 0; cursor: pointer;
}

/* ---------- Tema seçimi ---------- */

.theme-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 10px;
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s;
}
.theme-row.active { border-color: var(--primary); }
.theme-emoji { font-size: 20px; }
.theme-swatches { display: flex; gap: 4px; }
.theme-swatches .swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.theme-name { flex: 1; font-weight: 800; font-size: 14.5px; text-align: left; color: var(--text); }
.theme-check { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ---------- Kıble Pusulası ---------- */

.qibla-wrap { display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px; }
.qibla-compass { width: 100%; max-width: 240px; }
.qibla-svg { width: 100%; height: auto; }
.qibla-badge {
  margin-top: 14px; font-size: 14px; font-weight: 800; color: var(--primary);
  background: var(--primary-soft); padding: 8px 16px; border-radius: 999px; transition: all .2s;
}
.qibla-badge-ready { background: var(--primary); color: #fff; }
.qibla-hint { font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--text-2); text-align: center; margin-top: 10px; padding: 0 8px; }

/* ---------- Mobil: sol menü alt sekme çubuğuna dönüşür ---------- */

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
  .sidebar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: auto;
    z-index: 30;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }
  .side-nav { flex-direction: row; justify-content: space-around; gap: 0; }
  .nav-item {
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 12px;
  }
  .nav-item svg { width: 22px; height: 22px; }
  .sidebar-cta { display: none; }
  .user-name { display: none; }
  .prayer-card { padding: 18px; min-height: 0; }
  .zikir-grid { grid-template-columns: 1fr; }
  .zikir-head { flex-direction: column; }
  .zikir-arabic { white-space: normal; }
}
