/* auth.js modalı — kurumsal/modern hesap deneyimi (açık tema, Beykoz bordo accent).
   Mobil 390px taşmasız. Neon/gaming yok; soft border + hafif shadow + hafif glass. */
:root { --bt-bordo: #7a242c; --bt-bordo2: #8c2c34; --bt-cizgi: #e7dee1; --bt-metin: #2a2025; --bt-soluk: #756a6e; }

#bt-auth-overlay {
  position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: rgba(26, 16, 19, .50); backdrop-filter: saturate(135%) blur(5px); padding: 18px; overflow-y: auto;
  animation: bt-fade .18s ease;
}
#bt-auth-overlay[hidden] { display: none; }
@keyframes bt-fade { from { opacity: 0 } to { opacity: 1 } }
.bt-auth-card {
  position: relative; width: 100%; max-width: 440px; margin: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbfc 100%);
  border: 1px solid rgba(122, 36, 44, .10); border-radius: 22px;
  box-shadow: 0 28px 80px -22px rgba(40, 18, 24, .44), 0 2px 8px rgba(40, 18, 24, .06);
  padding: 28px 30px 24px; color: var(--bt-metin); max-height: calc(100vh - 36px); overflow-y: auto;
  animation: bt-rise .22s cubic-bezier(.2, .8, .2, 1); transition: max-width .2s ease;
}
.bt-auth-card.bt-genis { max-width: 524px; }
@keyframes bt-rise { from { transform: translateY(10px); opacity: .6 } to { transform: none; opacity: 1 } }
.bt-auth-card::-webkit-scrollbar { width: 8px; }
.bt-auth-card::-webkit-scrollbar-thumb { background: #e2d6d9; border-radius: 8px; }
.bt-auth-kapat {
  position: absolute; top: 12px; right: 13px; width: 32px; height: 32px; border: 0; background: transparent;
  font-size: 23px; line-height: 1; color: #b3a4a8; cursor: pointer; border-radius: 9px; transition: .15s;
}
.bt-auth-kapat:hover { background: rgba(122, 36, 44, .08); color: var(--bt-bordo); }

/* Marka başlığı — kurumsal/premium */
.bt-auth-marka { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid #f1eaec; }
.bt-auth-logo {
  width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #93303a 0%, var(--bt-bordo) 55%, #5f1a21 100%); color: #fff; font-weight: 800;
  border-radius: 12px; font-size: 19px; letter-spacing: -.02em;
  box-shadow: 0 6px 16px -5px rgba(122, 36, 44, .7), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.bt-auth-marka-ad { font-weight: 800; font-size: 16px; color: var(--bt-metin); line-height: 1.1; letter-spacing: -.01em; }
.bt-auth-marka-ad small { display: block; font-weight: 600; font-size: 10px; color: var(--bt-bordo); letter-spacing: .09em; text-transform: uppercase; margin-top: 4px; opacity: .85; }

.bt-auth-bas { font-size: 21px; font-weight: 800; margin: 0 0 5px; color: var(--bt-metin); letter-spacing: -.015em; line-height: 1.22; }
.bt-auth-alt { font-size: 13px; color: var(--bt-soluk); margin: 0 0 16px; line-height: 1.5; }
.bt-auth-lbl { display: block; font-size: 12.5px; font-weight: 600; color: #5c5256; margin: 13px 0 5px; }
.bt-auth-lbl i { color: #a99ea2; font-style: normal; font-weight: 500; }
.bt-auth-input {
  width: 100%; box-sizing: border-box; border: 1px solid var(--bt-cizgi); border-radius: 11px; padding: 12px 13px;
  font-size: 14.5px; color: var(--bt-metin); background: #fff; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.bt-auth-input::placeholder { color: #b3a8ac; }
.bt-auth-input:focus { outline: 0; border-color: var(--bt-bordo); box-shadow: 0 0 0 3.5px rgba(122, 36, 44, .13); }
textarea.bt-auth-input { resize: vertical; min-height: 60px; }
select.bt-auth-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a242c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.bt-auth-otp { text-align: center; font-size: 26px; letter-spacing: .5em; font-weight: 700; padding: 14px 13px; }
.bt-auth-iki { display: flex; gap: 11px; }
.bt-auth-iki > div { flex: 1; min-width: 0; }

.bt-auth-btn {
  width: 100%; box-sizing: border-box; margin-top: 18px; border: 0; border-radius: 11px; padding: 13px 16px;
  font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; font-family: inherit;
  background: linear-gradient(180deg, var(--bt-bordo2), var(--bt-bordo)); box-shadow: 0 8px 20px -8px rgba(122, 36, 44, .55);
  transition: filter .15s, opacity .15s, transform .05s;
}
.bt-auth-btn:hover { filter: brightness(1.06); }
.bt-auth-btn:active { transform: translateY(1px); }
.bt-auth-btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.bt-auth-btn.ikincil { background: #f5eef0; color: var(--bt-bordo); box-shadow: none; border: 1px solid var(--bt-cizgi); }
.bt-auth-btn.ikincil:hover { background: #efe4e7; filter: none; }
.bt-auth-link { border: 0; background: transparent; color: var(--bt-bordo); font-size: 13px; cursor: pointer; padding: 4px 2px; font-family: inherit; }
.bt-auth-link:hover { text-decoration: underline; }
.bt-auth-link.orta { display: block; margin: 14px auto 0; }
.bt-auth-satir { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.bt-auth-satir.orta { justify-content: center; gap: 18px; margin-top: 14px; }
.bt-auth-ilink { border: 0; background: transparent; color: var(--bt-bordo); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; border-radius: 3px; }
.bt-auth-ilink:hover { text-decoration-thickness: 2px; }
.bt-auth-ilink:focus-visible { outline: 2px solid var(--bt-bordo); outline-offset: 2px; text-decoration: none; }
.bt-auth-hata { color: #b3261e; font-size: 13px; margin: 11px 0 0; min-height: 1px; line-height: 1.4; }

.bt-auth-ipucu { font-size: 12px; color: #7c6166; margin: 8px 0 0; display: flex; align-items: center; gap: 8px; line-height: 1.45; background: rgba(122, 36, 44, .055); border: 1px solid rgba(122, 36, 44, .12); border-radius: 10px; padding: 9px 12px; }
.bt-auth-ipucu svg { flex-shrink: 0; color: var(--bt-bordo); }
.bt-auth-ipucu b { color: var(--bt-bordo); font-weight: 700; }
.bt-auth-not { font-size: 12px; color: #7a6f73; background: #faf6f7; border: 1px solid #f0e7e9; border-radius: 9px; padding: 9px 11px; margin: 8px 0 0; line-height: 1.5; }
.bt-auth-guven { font-size: 11.5px; color: #8a7f83; margin: 16px 0 0; display: flex; align-items: flex-start; gap: 7px; line-height: 1.5; background: #faf7f8; border-radius: 10px; padding: 10px 12px; }
.bt-auth-guven svg { flex-shrink: 0; margin-top: 1px; color: var(--bt-bordo); }
.bt-auth-rozet { font-size: 11px; color: #9a8e92; margin: 14px 0 0; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }
.bt-auth-rozet svg { color: var(--bt-bordo); }
.bt-auth-demo { font-size: 11.5px; color: #9a8488; margin: 14px 0 0; text-align: center; background: #f7f4f5; border: 1px dashed #ddd1d4; border-radius: 8px; padding: 7px; }
.bt-auth-demo b { color: #7a5b16; letter-spacing: .12em; }
.bt-auth-tel-rozet { display: inline-flex; align-items: center; gap: 7px; background: #faf6f7; border: 1px solid #f0e7e9; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--bt-metin); margin: 4px 0 4px; letter-spacing: .04em; }
.bt-auth-tel-rozet svg { color: var(--bt-bordo); }

.bt-auth-ayrac { display: flex; align-items: center; gap: 11px; margin: 17px 0 4px; color: #b3a8ac; font-size: 12px; }
.bt-auth-ayrac::before, .bt-auth-ayrac::after { content: ""; flex: 1; height: 1px; background: #efe6e8; }
.bt-auth-google {
  width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--bt-cizgi); border-radius: 11px; padding: 12px 16px; background: #fff; color: #3a3236;
  font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 12px; font-family: inherit; transition: .15s;
}
.bt-auth-google:hover { background: #faf7f8; border-color: #d8cdd0; }
.bt-auth-google-yuva { margin-top: 12px; }
.bt-google-render { display: flex; justify-content: center; min-height: 44px; }
.bt-google-render > div { max-width: 100%; }
.bt-auth-google-not { font-size: 12.5px; color: #8a7f83; text-align: center; background: #faf7f8; border: 1px solid var(--bt-cizgi); border-radius: 11px; padding: 11px 14px; margin: 0; line-height: 1.45; }
.bt-auth-degis { font-size: 13px; color: var(--bt-soluk); text-align: center; margin: 18px -30px 0; padding: 16px 30px 2px; border-top: 1px solid #f1eaec; }
.bt-auth-degis button { border: 0; background: transparent; color: var(--bt-bordo); font-weight: 700; cursor: pointer; font: inherit; }

.bt-auth-onaylar { margin-top: 18px; background: #fbf8f9; border: 1px solid #efe6e8; border-radius: 14px; padding: 6px 16px 14px; }
.bt-auth-chk { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: #514750; margin: 0; padding: 13px 0; line-height: 1.55; cursor: pointer; border-bottom: 1px solid #f1eaec; }
.bt-auth-chk:last-child { border-bottom: 0; }
.bt-auth-chk input { margin-top: 1px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--bt-bordo); cursor: pointer; }
.bt-auth-chk b { color: var(--bt-bordo); font-weight: 700; white-space: nowrap; }
.bt-auth-chk i { color: #a99ea2; font-style: normal; }

/* Hesabım */
.bt-auth-prof { display: flex; align-items: center; gap: 14px; padding: 4px 2px 16px; border-bottom: 1px solid #f0e9eb; margin-bottom: 12px; }
.bt-auth-avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(135deg, var(--bt-bordo), var(--bt-bordo2)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; box-shadow: 0 6px 16px -6px rgba(122, 36, 44, .55); }
.bt-auth-prof-bilgi { min-width: 0; }
.bt-auth-ad { font-size: 16.5px; font-weight: 800; color: var(--bt-metin); }
.bt-auth-maske { font-size: 12.5px; color: var(--bt-soluk); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-auth-menu { display: flex; flex-direction: column; gap: 3px; }
.bt-auth-mi { display: flex; align-items: center; gap: 11px; width: 100%; border: 1px solid transparent; background: transparent; padding: 11px 12px; border-radius: 11px; font-size: 14px; color: #3a3236; cursor: pointer; font-family: inherit; text-align: left; transition: .14s; }
.bt-auth-mi:hover { background: #f7eff1; }
.bt-auth-mi.aktif { background: #faf3f4; border-color: rgba(122, 36, 44, .18); color: var(--bt-bordo); }
.bt-auth-mi-ik { color: var(--bt-bordo); flex-shrink: 0; }
.bt-auth-mi-t { flex: 1; }
.bt-auth-mi-ok { color: #c4b6ba; font-size: 18px; }
.bt-auth-liste { margin-top: 12px; }
.bt-auth-ul { list-style: none; margin: 0; padding: 0; max-height: 230px; overflow-y: auto; }
.bt-auth-ul li { padding: 9px 12px; border: 1px solid #f0e7e9; border-radius: 9px; margin-bottom: 6px; font-size: 13px; color: #3a3236; word-break: break-word; }
.bt-auth-bos, .bt-auth-yukle { font-size: 13px; color: #9a8e92; padding: 16px 4px; text-align: center; }

.bt-auth-izin { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid #f0e9eb; font-size: 13.5px; color: #3a3236; gap: 12px; }
.bt-auth-izin b { color: #15803d; font-size: 12.5px; }
.bt-auth-sw { position: relative; display: inline-block; width: 44px; height: 25px; flex-shrink: 0; }
.bt-auth-sw input { opacity: 0; width: 0; height: 0; }
.bt-auth-sw span { position: absolute; inset: 0; background: #d8cdd0; border-radius: 25px; transition: .2s; cursor: pointer; }
.bt-auth-sw span::before { content: ""; position: absolute; height: 19px; width: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.bt-auth-sw input:checked + span { background: var(--bt-bordo); }
.bt-auth-sw input:checked + span::before { transform: translateX(19px); }

/* Guest migration kutusu */
.bt-auth-mig { display: flex; gap: 13px; align-items: flex-start; background: #faf6f7; border: 1px solid #f0e7e9; border-radius: 14px; padding: 16px; }
.bt-auth-mig-ik { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: rgba(122, 36, 44, .09); color: var(--bt-bordo); display: flex; align-items: center; justify-content: center; }
.bt-auth-mig-bas { font-size: 14.5px; font-weight: 700; color: var(--bt-metin); line-height: 1.3; }
.bt-auth-mig-alt { font-size: 12.5px; color: var(--bt-soluk); margin-top: 4px; line-height: 1.45; }

@media (max-width: 560px) {
  #bt-auth-overlay { padding: 0; align-items: flex-end; }
  .bt-auth-card, .bt-auth-card.bt-genis { max-width: none; border-radius: 20px 20px 0 0; margin: 0; max-height: 95vh; padding: 22px 18px 16px; }
  .bt-auth-iki { display: block; }
  .bt-auth-bas { font-size: 19.5px; }
  .bt-auth-marka { margin-bottom: 16px; padding-bottom: 15px; }
  .bt-auth-lbl { margin-top: 12px; }
  .bt-auth-input { padding: 11px 13px; font-size: 16px; }   /* 16px → iOS zoom engeli */
  .bt-auth-otp { font-size: 24px; }
  .bt-auth-btn { margin-top: 16px; padding: 13px 16px; }
  .bt-auth-onaylar { margin-top: 14px; padding: 4px 13px 11px; }
  .bt-auth-chk { padding: 12px 0; font-size: 13px; }
  .bt-auth-degis { margin: 16px -18px 0; padding: 15px 18px 2px; }
  .bt-auth-ayrac { margin: 15px 0 4px; }
}

/* ============================================================
   HESABIM — header dropdown (blur/karartma YOK) + in-page profil sayfası
   ============================================================ */
.bt-acc-dd {
  position: absolute; top: calc(100% + 12px); right: 0; width: 320px; max-width: calc(100vw - 24px);
  background: rgba(255, 255, 255, .98); border: 1px solid rgba(122, 36, 44, .12); border-radius: 22px;
  box-shadow: 0 24px 70px -18px rgba(30, 20, 24, .26), 0 2px 8px rgba(30, 20, 24, .06);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  z-index: 300; padding: 10px; color: var(--bt-metin); animation: bt-dd-in .16s ease;
  text-align: left; font-size: 14px;
}
.bt-acc-dd[hidden] { display: none; }
@keyframes bt-dd-in { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
.bt-acc-kul { display: flex; align-items: center; gap: 11px; padding: 8px 10px 12px; }
.bt-acc-av {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--bt-bordo), var(--bt-bordo2)); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .4px;
}
.bt-acc-kbil { display: flex; flex-direction: column; min-width: 0; }
.bt-acc-kbil b { font-size: 14.5px; font-weight: 650; color: var(--bt-metin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-acc-kbil small { font-size: 12px; color: var(--bt-soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.bt-acc-cizgi { height: 1px; background: var(--bt-cizgi); margin: 4px 6px; }
.bt-acc-mi {
  display: flex; align-items: center; gap: 11px; width: 100%; border: 0; background: none; cursor: pointer;
  padding: 9px 12px; border-radius: 11px; font: inherit; font-size: 13.5px; color: var(--bt-metin); text-align: left;
  transition: background .14s ease, color .14s ease;
}
.bt-acc-mi svg { flex: 0 0 auto; color: var(--bt-bordo); opacity: .9; }
.bt-acc-mi:hover, .bt-acc-mi:focus-visible { background: rgba(122, 36, 44, .07); outline: none; }
.bt-acc-cikis { color: #a32430; }
.bt-acc-cikis svg { color: #a32430; }
.bt-acc-cikis:hover { background: rgba(163, 36, 48, .09); }

/* In-page profil sayfası */
.bt-hp {
  position: fixed; inset: 0; z-index: 30; background: #f5f1f2; overflow-y: auto;
  -webkit-overflow-scrolling: touch; animation: bt-fade .18s ease; color: var(--bt-metin);
}
.bt-hp[hidden] { display: none; }
.bt-hp-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px 48px; }
.bt-hp-bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 18px; }
.bt-hp-bas h1 { font-size: 24px; font-weight: 700; margin: 0; color: var(--bt-bordo); }
.bt-hp-bas p { margin: 6px 0 0; font-size: 14px; color: var(--bt-soluk); max-width: 560px; }
/* Modal "kapat" değil; sayfa dili: geri ok + Ana sayfa */
.bt-hp-anasayfa {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px;
  border-radius: 10px; border: 1px solid var(--bt-cizgi); background: #fff; color: var(--bt-metin);
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .14s, color .14s, border-color .14s;
}
.bt-hp-anasayfa svg { color: var(--bt-bordo); }
.bt-hp-anasayfa:hover { background: rgba(122, 36, 44, .06); border-color: rgba(122, 36, 44, .22); color: var(--bt-bordo); }
.bt-hp-govde { display: grid; grid-template-columns: 224px 1fr; gap: 24px; align-items: start; }
.bt-hp-yan { display: flex; flex-direction: column; gap: 3px; position: sticky; top: 14px; }
.bt-hp-tab {
  display: flex; align-items: center; gap: 11px; border: 0; background: none; cursor: pointer; width: 100%;
  min-height: 44px; padding: 0 16px; border-radius: 11px; font: inherit; font-size: 14px; color: var(--bt-metin); text-align: left;
  transition: background .14s, color .14s;
}
.bt-hp-tab svg { flex: 0 0 auto; color: var(--bt-bordo); opacity: .85; }
.bt-hp-tab:hover { background: rgba(122, 36, 44, .06); }
.bt-hp-tab.aktif { background: linear-gradient(135deg, var(--bt-bordo), var(--bt-bordo2)); color: #fff; box-shadow: 0 2px 8px -4px rgba(122, 36, 44, .42); }
.bt-hp-tab.aktif svg { color: #fff; opacity: 1; }
.bt-hp-icerik {
  background: #fff; border: 1px solid var(--bt-cizgi); border-radius: 18px; padding: 22px 24px; min-height: 300px;
  box-shadow: 0 10px 34px -18px rgba(40, 18, 24, .18);
}
.bt-hp-h2 { font-size: 17px; font-weight: 650; margin: 0 0 14px; color: var(--bt-metin); }
.bt-hp-h2 small { font-size: 13px; color: var(--bt-soluk); font-weight: 500; }
.bt-hp-h3 { font-size: 12.5px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--bt-soluk); margin: 20px 0 12px; }

/* Genel Bakış kullanıcı kartı (kompakt premium hesap özeti) */
.bt-hp-ukart {
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(122, 36, 44, .055), rgba(140, 44, 52, .02)); border: 1px solid rgba(122, 36, 44, .14);
}
.bt-hp-ukart-av {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--bt-bordo), var(--bt-bordo2)); color: #fff; font-weight: 700; font-size: 19px; letter-spacing: .5px;
  box-shadow: 0 8px 22px -8px rgba(122, 36, 44, .6);
}
.bt-hp-ukart-ic { flex: 1 1 auto; min-width: 0; }
.bt-hp-ukart-ad { font-size: 18px; font-weight: 700; color: var(--bt-metin); margin-bottom: 12px; overflow-wrap: anywhere; }
.bt-hp-ukart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bt-hp-uh { display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 74px; padding: 14px; border: 1px solid rgba(122, 36, 44, .1); border-radius: 12px; background: rgba(255, 255, 255, .72); }
.bt-hp-uh-et { font-size: 11.5px; color: var(--bt-soluk); }
.bt-hp-uh-deg { font-size: 14px; font-weight: 650; color: var(--bt-metin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-hp-uh .bt-hp-rozet { margin-top: auto; }
.bt-hp-rozet { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; align-self: flex-start; }
.bt-hp-rozet.ok { background: rgba(21, 128, 61, .12); color: #15803d; }
.bt-hp-rozet.no { background: rgba(180, 83, 9, .12); color: #b45309; }

/* Metrik kartları — 3 eşit kolon */
.bt-hp-kartlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bt-hp-kart {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  border: 1px solid var(--bt-cizgi); border-radius: 14px; padding: 16px; background: #fcfafb; cursor: pointer; font: inherit; min-height: 116px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
.bt-hp-kart:hover { border-color: rgba(122, 36, 44, .25); box-shadow: 0 8px 22px -14px rgba(122, 36, 44, .5); transform: translateY(-2px); }
.bt-hp-kart-ik { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(122, 36, 44, .08); color: var(--bt-bordo); }
.bt-hp-kart-ik svg { color: var(--bt-bordo); }
.bt-hp-kart-bas { font-size: 12.5px; color: var(--bt-soluk); }
.bt-hp-kart-deg { font-size: 22px; font-weight: 700; color: var(--bt-metin); line-height: 1; margin-top: auto; }
.bt-hp-kart-deg small { font-size: 12.5px; font-weight: 500; color: var(--bt-soluk); }

.bt-hp-satir { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bt-cizgi); font-size: 14px; }
.bt-hp-satir span { color: var(--bt-soluk); }
.bt-hp-satir b { font-weight: 600; text-align: right; }
.bt-hp-satir b i.ok { color: #15803d; font-style: normal; font-size: 12px; font-weight: 600; }
.bt-hp-not { font-size: 12.5px; color: var(--bt-soluk); margin: 12px 0 0; line-height: 1.5; }
.bt-hp-mesaj { font-size: 13px; color: #15803d; margin: 8px 0 0; min-height: 16px; }
.bt-hp-yukle { color: var(--bt-soluk); font-size: 14px; padding: 24px 4px; }

/* Boş durum: kompakt merkez blok (ikon + başlık + açıklama + CTA), ~10px yukarı */
.bt-hp-bos { text-align: center; padding: 24px 20px 36px; color: var(--bt-soluk); }
.bt-hp-bos-ik {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px;
  background: rgba(122, 36, 44, .08); color: var(--bt-bordo); margin-bottom: 14px;
}
.bt-hp-bos-ik svg { width: 24px; height: 24px; color: var(--bt-bordo); }
.bt-hp-bos-bas { font-size: 15.5px; font-weight: 650; color: var(--bt-metin); margin-bottom: 6px; }
.bt-hp-bos-ac { margin: 0 auto 16px; font-size: 13.5px; line-height: 1.55; max-width: 340px; }
.bt-hp-bos .bt-auth-btn { width: 220px; max-width: 100%; margin: 0 auto; }

.bt-hp-ul { list-style: none; margin: 0; padding: 0; }
.bt-hp-ul li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bt-cizgi); font-size: 14px; }
.bt-hp-sira { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(122, 36, 44, .08); color: var(--bt-bordo); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 650; }
.bt-hp-prog { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.bt-hp-sil { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--bt-cizgi); background: #fff; color: var(--bt-soluk); font-size: 17px; line-height: 1; cursor: pointer; }
.bt-hp-sil:hover { background: rgba(163, 36, 48, .08); color: #a32430; }
.bt-hp-ul.ai li { flex-direction: column; align-items: stretch; gap: 6px; }
.bt-hp-ai-sorgu { font-size: 14px; overflow-wrap: anywhere; }
.bt-hp-ai-alt { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--bt-soluk); }

@media (max-width: 760px) {
  /* Dropdown: okunaklı ama kontrollü (tam ekran modal DEĞİL) */
  .bt-acc-dd { width: 296px; padding: 10px; font-size: 15px; }
  .bt-acc-kul { padding: 8px 10px 11px; gap: 11px; }
  .bt-acc-av { width: 44px; height: 44px; font-size: 15px; }
  .bt-acc-kbil b { font-size: 14.5px; }
  .bt-acc-kbil small { font-size: 12px; }
  .bt-acc-mi { min-height: 44px; padding: 0 12px; font-size: 15px; gap: 11px; }
  .bt-acc-mi svg { width: 18px; height: 18px; }
  .bt-acc-cizgi { margin: 4px 6px; }
  .bt-hp-inner { padding: 0 14px 40px; }
  .bt-hp-bas { padding: 10px 0 14px; gap: 12px; }
  .bt-hp-bas h1 { font-size: 20px; }
  .bt-hp-bas p { font-size: 13px; }
  .bt-hp-anasayfa { height: 30px; font-size: 12px; padding: 0 11px 0 9px; gap: 5px; }
  .bt-hp-anasayfa svg { width: 14px; height: 14px; }
  .bt-hp-govde { grid-template-columns: 1fr; gap: 12px; }
  .bt-hp-yan { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .bt-hp-tab { flex: 0 0 auto; width: auto; min-height: 40px; padding: 0 13px; font-size: 13px; white-space: nowrap; }
  .bt-hp-icerik { padding: 18px 16px; }
  .bt-hp-ukart { gap: 14px; padding: 16px; align-items: flex-start; }
  .bt-hp-ukart-av { width: 46px; height: 46px; font-size: 17px; }
  .bt-hp-ukart-ad { font-size: 16px; margin-bottom: 10px; }
  .bt-hp-ukart-grid { grid-template-columns: 1fr; gap: 8px; }
  .bt-hp-uh { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 60px; gap: 6px 10px; padding: 11px 13px; }
  .bt-hp-uh .bt-hp-rozet { margin-top: 0; }
  .bt-hp-uh-deg { white-space: normal; }
  .bt-hp-kartlar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bt-hp-kart { min-height: 104px; }
}
@media (max-width: 480px) {
  /* Dar ekranda buton viewport kenarında değil → kont'a göre right:0 sola taşar.
     Bu yüzden viewport'a sabitle: header altında, iki yandan 12px boşluk, kontrollü genişlik. */
  .bt-acc-dd {
    position: fixed; top: calc(var(--ust-serit-h, 70px) + 6px); left: auto; right: 12px; width: min(300px, calc(100vw - 24px)); max-width: none;
  }
}
@media (max-width: 420px) {
  .bt-hp-kartlar { grid-template-columns: 1fr; }
}
