/* ==========================================================
   Readlog — beyaz zemin, mavi/lacivert + amber; liquid glass & neumorphism
   ========================================================== */
:root {
  --blue: #2353c5;
  --blue-strong: #16337e;
  --blue-light: #4f7df5;
  --blue-soft: #dbe6fd;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #17233f;
  --ink-soft: #57678a;
  --ink-faint: #8c9ab8;
  --danger: #dc2626;
  --success: #16a34a;
  --radius: 20px;
  --radius-sm: 13px;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .75);
  --neu-out: 8px 8px 18px rgba(23, 37, 84, .09), -8px -8px 18px rgba(255, 255, 255, .95);
  --neu-out-sm: 4px 4px 10px rgba(23, 37, 84, .09), -4px -4px 10px rgba(255, 255, 255, .9);
  --neu-in: inset 4px 4px 9px rgba(23, 37, 84, .10), inset -4px -4px 9px rgba(255, 255, 255, .95);
  --nav-h: 66px;
  --sidebar-w: 208px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; }
::selection { background: var(--blue-soft); }

/* ikonlar */
.ic-svg { vertical-align: -3px; flex-shrink: 0; }
.ic-svg.amber { color: var(--amber); }
.ic-svg.blue { color: var(--blue); }
.ic-svg.fill { fill: currentColor; }

/* arka plan ışık küreleri */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; }
.bg-orbs span:nth-child(1) { width: 420px; height: 420px; background: #bcd2fb; top: -120px; right: -80px; }
.bg-orbs span:nth-child(2) { width: 340px; height: 340px; background: #fde68a; bottom: 8%; left: -120px; }
.bg-orbs span:nth-child(3) { width: 260px; height: 260px; background: #93b4f9; top: 42%; right: 12%; opacity: .22; }

/* ---------- liquid glass & neumorphism yüzeyleri ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 34px rgba(23, 37, 84, .10);
}
.neu { background: var(--bg); border-radius: var(--radius); box-shadow: var(--neu-out); }
.neu-in { background: var(--bg); border-radius: var(--radius-sm); box-shadow: var(--neu-in); }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--neu-out-sm);
  border: 1px solid rgba(255, 255, 255, .8);
}

/* ---------- NAVİGASYON ---------- */
.nav { position: fixed; z-index: 90; }
.nav-logo { display: none; align-items: center; gap: 10px; }
.nav-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--blue-strong); letter-spacing: -.4px; }
.nav-items { display: flex; align-items: center; justify-content: space-around; width: 100%; }
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--ink-faint); font-size: 10.5px; font-weight: 500;
  padding: 6px 10px; border-radius: 14px; transition: color .25s, transform .25s;
}
.nav-item svg { width: 23px; height: 23px; }
.nav-item.active { color: var(--blue); }
.nav-item.active svg { filter: drop-shadow(0 3px 6px rgba(35, 83, 197, .45)); }
.nav-item:active { transform: scale(.92); }
.nav-plus {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-strong));
  color: #fff; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(35, 83, 197, .45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s, box-shadow .2s;
}
.nav-plus svg { width: 26px; height: 26px; }
.nav-plus:hover { transform: translateY(-3px) rotate(90deg); box-shadow: 0 14px 28px rgba(35,83,197,.5); }
.nav-plus:active { transform: scale(.9); }

/* mobil: altta sabit bar, + taşkın */
@media (max-width: 899px) {
  .nav {
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    height: var(--nav-h); border-radius: 24px;
    display: flex; align-items: center; padding: 0 6px;
  }
  .nav-plus { margin-top: -34px; }
  .app { padding: 18px 16px calc(var(--nav-h) + 46px); }
}
/* masaüstü: solda dikey sidebar */
@media (min-width: 900px) {
  .nav {
    top: 18px; left: 18px; bottom: 18px; width: var(--sidebar-w);
    border-radius: 26px; display: flex; flex-direction: column;
    padding: 26px 16px; gap: 30px;
  }
  .nav-logo { display: flex; padding-left: 8px; }
  .nav-items { flex-direction: column; align-items: stretch; gap: 6px; justify-content: flex-start; }
  .nav-item { flex-direction: row; gap: 13px; font-size: 14.5px; padding: 12px 14px; }
  .nav-item.active { background: var(--blue-soft); color: var(--blue-strong); font-weight: 600; }
  .nav-plus { width: 100%; height: 48px; border-radius: 15px; order: 5; margin-top: 14px; }
  .nav-plus:hover { transform: translateY(-2px); }
  .app { margin-left: calc(var(--sidebar-w) + 36px); padding: 30px 34px 60px; max-width: 1180px; }
}

/* ---------- genel yapı ---------- */
.app { animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-title { font-size: clamp(22px, 4vw, 30px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.section { margin-top: 30px; }
.section-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.section-title .ic-svg { color: var(--blue); }
.section-title .ic-svg.amber { color: var(--amber); }
.muted { color: var(--ink-soft); font-size: 13.5px; }
.tiny { color: var(--ink-faint); font-size: 12px; }

/* yatay kaydırma şeritleri */
.hscroll { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x proximity; }
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: #d3dcee; border-radius: 3px; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- kitap kapakları ---------- */
.bcover { position: relative; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, var(--blue-light), var(--blue-strong)); box-shadow: 0 8px 18px rgba(23,37,84,.18); }
.bcover img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.bcover .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: space-between; padding: 10px; color: #fff;
}
.bcover .ph::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.35); }
.bcover .ph b { font-family: var(--font-head); font-size: 12px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; padding-left: 8px; }
.bcover .ph i { font-style: normal; font-size: 9.5px; opacity: .85; padding-left: 8px; }
.bcover.amber { background: linear-gradient(160deg, #fbbf24, #d97706); }
.bcover.deep { background: linear-gradient(160deg, #16337e, #0e2354); }

.book-card { width: 118px; }
.book-card .bcover { width: 118px; height: 172px; margin-bottom: 8px; transition: transform .25s; }
.book-card:hover .bcover { transform: translateY(-4px) scale(1.02); }
.book-card b { font-size: 12.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book-card .tiny { display: block; margin-top: 2px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 14px;
  transition: transform .15s, box-shadow .2s, background .2s; user-select: none;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: linear-gradient(135deg, var(--blue-light), var(--blue-strong)); color: #fff; box-shadow: 0 8px 18px rgba(35,83,197,.35); }
.btn-primary:hover { box-shadow: 0 12px 24px rgba(35,83,197,.42); }
.btn-amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #7c4a03; box-shadow: 0 8px 18px rgba(245,158,11,.3); }
.btn-soft { background: var(--bg); box-shadow: var(--neu-out-sm); color: var(--ink); }
.btn-soft:hover { color: var(--blue-strong); }
.btn-soft.on { color: var(--blue-strong); box-shadow: var(--neu-in); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--blue); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 11px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- form ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 7px; }
.input {
  width: 100%; padding: 13px 16px; border: none; border-radius: var(--radius-sm);
  background: var(--bg); box-shadow: var(--neu-in); font-family: var(--font-body);
  font-size: 14.5px; color: var(--ink); outline: none; transition: box-shadow .2s;
}
.input:focus { box-shadow: var(--neu-in), 0 0 0 2.5px rgba(35, 83, 197, .35); }
.input::placeholder { color: var(--ink-faint); }
.err-text { color: var(--danger); font-size: 12.5px; margin-top: 6px; min-height: 16px; }

/* ---------- progress bar ---------- */
.pbar { height: 9px; border-radius: 6px; background: #e3e9f4; box-shadow: var(--neu-in); overflow: hidden; }
.pbar > i {
  display: block; height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  transition: width .6s cubic-bezier(.22, 1, .36, 1);
}
.pbar.amber > i { background: linear-gradient(90deg, #fbbf24, #f59e0b); }

/* ---------- boş / hata / yükleniyor durumları ---------- */
.state { text-align: center; padding: 34px 18px; color: var(--ink-soft); font-size: 14px; }
.state .ic { display: block; margin-bottom: 10px; color: var(--ink-faint); }
.skeleton { position: relative; overflow: hidden; background: #e7ecf6; border-radius: var(--radius-sm); }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.skel-row { display: flex; gap: 14px; }

/* ---------- CTA kartları ---------- */
.cta-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(120deg, var(--blue-soft), #fef9e7);
  border: 1.5px dashed var(--blue-light); transition: transform .2s;
}
.cta-card:hover { transform: translateY(-2px); }
.cta-card .ic { color: var(--blue); display: grid; place-items: center; }
.cta-card b { font-size: 14.5px; }

/* ---------- Ana sayfa ---------- */
.home-stats { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.home-stats .row { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.home-stats .row b { color: var(--blue-strong); font-weight: 700; }
.home-stats .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); flex-shrink: 0; }
.home-stats .dot.a { background: var(--amber); }

.continue-card { display: flex; gap: 18px; padding: 18px; margin-top: 18px; }
.continue-card .bcover { width: 92px; height: 134px; flex-shrink: 0; }
.continue-card .body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.continue-card h3 { font-size: 16.5px; margin-bottom: 2px; }
.continue-card .pages { font-size: 13px; color: var(--ink-soft); margin: 8px 0 6px; display: flex; justify-content: space-between; }
.continue-card .pages b { color: var(--blue-strong); }
.continue-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--ink-faint); padding-top: 10px; }
.continue-card .meta span { display: inline-flex; align-items: center; gap: 5px; }

/* aktivite kartı */
.activity-card { width: 240px; padding: 14px; display: flex; gap: 12px; }
.activity-card .bcover { width: 58px; height: 84px; flex-shrink: 0; }
.activity-card .who { font-size: 12.5px; color: var(--ink-soft); }
.activity-card .who b { color: var(--ink); }
.activity-card .bt { font-size: 13px; font-weight: 600; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.activity-card .desc { font-size: 12px; color: var(--ink-soft); line-height: 1.45; }
.activity-card .stars { color: var(--amber); font-size: 12px; letter-spacing: 1.5px; }
.activity-card .more { color: var(--blue); font-weight: 500; cursor: pointer; }
.activity-card .when { margin-top: 5px; }

/* ---------- Keşfet ---------- */
.searchbar { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 18px; border-radius: 18px; margin-bottom: 14px; }
.searchbar svg { width: 20px; height: 20px; color: var(--ink-faint); flex-shrink: 0; }
.searchbar input { flex: 1; border: none; outline: none; background: transparent; padding: 12px 0; font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.filter-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.ftab { padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 500; background: var(--bg); box-shadow: var(--neu-out-sm); color: var(--ink-soft); transition: all .2s; }
.ftab.active { background: linear-gradient(135deg, var(--blue-light), var(--blue-strong)); color: #fff; box-shadow: 0 6px 14px rgba(35,83,197,.35); }

.sh-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--neu-out-sm); margin-bottom: 10px; position: relative; overflow: hidden; touch-action: pan-y; transition: transform .25s ease, opacity .25s; }
.sh-item .q { flex: 1; font-size: 14px; cursor: pointer; }
.sh-item .x { color: var(--ink-faint); padding: 4px 8px; border-radius: 8px; }
.sh-item .x:hover { color: var(--danger); }
.sh-item.removing { transform: translateX(110%); opacity: 0; }

.result-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm); transition: background .15s; cursor: pointer; }
.result-row:hover { background: rgba(35,83,197,.06); }
.result-row .bcover { width: 46px; height: 66px; flex-shrink: 0; }
.result-row .rr-body b { font-size: 14px; }
.result-row .rr-body .tiny { margin-top: 2px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue-strong)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); font-size: 16px; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.chip { padding: 9px 18px; border-radius: 22px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--surface); box-shadow: var(--neu-out-sm); color: var(--ink-soft); transition: all .2s; flex-shrink: 0; }
.chip:hover { color: var(--blue-strong); }
.chip.active { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #7c4a03; font-weight: 600; box-shadow: 0 6px 14px rgba(245,158,11,.35); }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 14px; }
.book-grid .book-card { width: auto; }
.book-grid .bcover { width: 100%; aspect-ratio: 2/3; height: auto; }

/* ---------- Kitap detay ---------- */
.bd-hero { position: relative; border-radius: var(--radius); overflow: hidden; padding: 26px 22px; color: #fff; }
.bd-hero .bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) brightness(.55) saturate(1.2); transform: scale(1.15); }
.bd-hero .bg.solid { background: linear-gradient(140deg, #16337e, #0e2354); filter: none; }
.bd-hero .inner { position: relative; display: flex; gap: 20px; }
.bd-hero .bcover { width: 128px; height: 188px; flex-shrink: 0; box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.bd-hero h1 { font-size: clamp(20px, 3.4vw, 27px); line-height: 1.2; }
.bd-hero .by { opacity: .9; font-size: 14px; margin-top: 5px; }
.bd-hero .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.bd-hero .meta span { font-size: 11.5px; padding: 5px 11px; border-radius: 14px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 5px; }
.bd-desc { padding: 20px; margin-top: 18px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.bd-desc.clamped .txt { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.bd-desc .toggle { color: var(--blue); font-weight: 500; margin-top: 8px; }

.rating-box { display: flex; gap: 22px; padding: 20px; margin-top: 18px; align-items: center; }
.rbars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rbar { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--ink-faint); }
.rbar .track { flex: 1; height: 8px; border-radius: 5px; background: #e3e9f4; overflow: hidden; }
.rbar .track i { display: block; height: 100%; background: linear-gradient(90deg, #fbbf24, #f59e0b); border-radius: 5px; transition: width .7s ease; }
.ravg { text-align: center; min-width: 86px; }
.ravg .num { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--blue-strong); }
.ravg .stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }

.bd-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 700px) { .bd-actions { grid-template-columns: repeat(4, 1fr); } }
.bd-actions .btn.on .ic-svg { color: var(--amber); }

.my-rating { padding: 20px; margin-top: 18px; }
.star-input { display: flex; gap: 6px; font-size: 30px; color: #d3dcee; cursor: pointer; margin: 10px 0; }
.star-input span { transition: transform .15s, color .15s; }
.star-input span.on { color: var(--amber); }
.star-input span:hover { transform: scale(1.2); }
.review-item { padding: 15px 0; border-bottom: 1px solid #e8edf6; display: flex; gap: 12px; }
.review-item:last-child { border-bottom: none; }
.review-item .stars { color: var(--amber); font-size: 12.5px; letter-spacing: 1.5px; }
.review-item p { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.6; }

/* ---------- Günlük popup ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(14, 25, 55, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadein .25s ease;
}
.modal {
  width: 100%; max-width: 430px; max-height: 88vh; overflow-y: auto;
  border-radius: 26px; padding: 26px;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border); box-shadow: 0 24px 60px rgba(14,25,55,.25);
  animation: pop .35s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes pop { from { opacity: 0; transform: scale(.86) translateY(16px); } to { opacity: 1; transform: none; } }
.modal .close { position: sticky; top: 0; float: right; color: var(--ink-faint); font-size: 22px; padding: 2px 9px; border-radius: 10px; z-index: 5; }
.modal .close:hover { color: var(--danger); background: rgba(220,38,38,.08); }
.modal h2 { font-size: 19px; margin-bottom: 4px; }

.diary-book { display: flex; align-items: center; gap: 14px; margin: 14px 0 20px; }
.diary-book .bcover { width: 60px; height: 88px; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 18px 0 8px; }
.stepper .pm {
  width: 52px; height: 52px; border-radius: 50%; font-size: 24px; font-weight: 600;
  background: var(--bg); box-shadow: var(--neu-out-sm); color: var(--blue-strong);
  display: grid; place-items: center; transition: all .15s;
}
.stepper .pm:active { box-shadow: var(--neu-in); transform: scale(.94); }
.stepper input {
  width: 120px; text-align: center; font-family: var(--font-head); font-size: 30px; font-weight: 800;
  color: var(--blue-strong); border: none; outline: none; padding: 12px 8px;
  background: var(--bg); box-shadow: var(--neu-in); border-radius: 16px;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper input.done { color: var(--amber); font-size: 24px; }
.stepper input.bad { color: var(--danger); box-shadow: var(--neu-in), 0 0 0 2.5px rgba(220,38,38,.4); }
.diary-live { text-align: center; margin-top: 14px; }
.diary-live .frac { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.diary-live .frac b { color: var(--blue-strong); font-size: 17px; }
.diary-live .eta { margin-top: 8px; }

/* kutlama */
.celebrate { text-align: center; padding: 12px 4px; }
.celebrate .big { color: var(--amber); animation: bounce 1s ease infinite alternate; display: inline-block; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.celebrate h2 { margin: 10px 0 6px; }
.celebrate .nums { display: flex; justify-content: center; gap: 26px; margin: 18px 0; }
.celebrate .nums .n { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--blue-strong); }
.celebrate .nums .a { color: var(--amber); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: confall linear forwards; }
@keyframes confall { to { transform: translateY(105vh) rotate(720deg); opacity: .2; } }

/* başarı geçişi */
.saved-flash { text-align: center; padding: 30px 10px; animation: pop .4s ease; }
.saved-flash .ic { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-light), var(--blue-strong)); display: grid; place-items: center; color: #fff; box-shadow: 0 12px 28px rgba(35,83,197,.4); }

/* ---------- Profil ---------- */
.prof-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.prof-head .avatar { width: 76px; height: 76px; font-size: 28px; box-shadow: 0 10px 22px rgba(35,83,197,.35); }
.prof-head .names h2 { font-size: 21px; }
.prof-head .follows { display: flex; gap: 16px; margin-top: 5px; font-size: 13px; color: var(--ink-soft); }
.prof-head .follows b { color: var(--ink); }
.prof-head .follows span { cursor: pointer; }
.prof-head .acts { margin-left: auto; display: flex; gap: 9px; flex-wrap: wrap; }

.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
@media (min-width: 700px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { padding: 16px 14px; text-align: center; }
.stat-cell .n { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--blue-strong); }
.stat-cell .n small { font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.stat-cell .l { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }

/* heatmap */
.heatwrap { padding: 18px; margin-top: 14px; overflow-x: auto; }
.heatmap { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 11px); gap: 2.5px; width: max-content; }
.hcell { width: 11px; height: 11px; border-radius: 3px; background: #e3e9f4; position: relative; }
.hcell.l1 { background: #c7d9fb; } .hcell.l2 { background: #7ea6f7; }
.hcell.l3 { background: #2353c5; } .hcell.l4 { background: #16337e; }
.hcell:hover::after {
  content: attr(data-tip); position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 10.5px; padding: 4px 9px; border-radius: 7px;
  white-space: nowrap; z-index: 20; pointer-events: none;
}
.heat-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; gap: 8px; }
.heat-legend { display: flex; align-items: center; gap: 3px; }
.heat-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* hedef */
.goal-card { padding: 20px; margin-top: 14px; }
.goal-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.goal-card .frac { font-size: 14px; color: var(--ink-soft); margin-bottom: 9px; }
.goal-card .frac b { font-size: 19px; color: var(--blue-strong); font-family: var(--font-head); }

/* kütüphane */
.lib-row { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; padding: 15px 17px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--neu-out-sm); margin-bottom: 11px; transition: transform .18s; }
.lib-row:hover { transform: translateX(4px); }
.lib-row .em { display: grid; place-items: center; color: var(--blue); }
.lib-row .em.amber { color: var(--amber); }
.lib-row b { flex: 1; font-size: 14.5px; }
.lib-row .cnt { color: var(--blue-strong); font-weight: 700; font-family: var(--font-head); }
.lib-row .arr { color: var(--ink-faint); transition: transform .25s; }
.lib-row.open .arr { transform: rotate(90deg); }
.lib-panel { overflow: hidden; max-height: 0; transition: max-height .4s ease; margin-bottom: 11px; }
.lib-panel.open { max-height: 1200px; }
.lib-panel .inner { padding: 14px 4px; }

/* zaman çizelgesi */
.timeline { position: relative; padding-left: 26px; margin-top: 6px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue-light), var(--amber)); border-radius: 2px; opacity: .5; }
.tl-item { position: relative; padding: 10px 0 16px; }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 16px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 3.5px rgba(79,125,245,.22); }
.tl-item.amber::before { background: var(--amber); box-shadow: 0 0 0 3.5px rgba(245,158,11,.22); }
.tl-item .when { font-size: 11.5px; color: var(--ink-faint); }
.tl-item .what { font-size: 14px; margin-top: 3px; }
.tl-item .what b { font-weight: 600; }

/* avatar seçici */
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; max-height: 220px; overflow-y: auto; padding: 4px 2px; }
.av-opt { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; cursor: pointer; border: 2.5px solid transparent; background: var(--blue-soft); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--blue-strong); transition: transform .15s, border-color .15s; }
.av-opt img { width: 100%; height: 100%; object-fit: cover; }
.av-opt:hover { transform: scale(1.08); }
.av-opt.sel { border-color: var(--amber); box-shadow: 0 4px 12px rgba(245,158,11,.35); }

/* ---------- Topluluk ---------- */
.wip { text-align: center; padding: 70px 20px; }
.wip .ic { color: var(--amber); display: block; margin-bottom: 16px; animation: bounce 1.2s infinite alternate; }
.wip h2 { margin-bottom: 8px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; padding: 32px 28px; border-radius: 28px; }
.auth-card .logo { display: flex; align-items: center; gap: 11px; justify-content: center; margin-bottom: 8px; }
.auth-card .logo img { width: 44px; height: 44px; }
.auth-card .logo span { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--blue-strong); }
.auth-card .sub { text-align: center; margin-bottom: 24px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.auth-switch a { color: var(--blue); font-weight: 600; }
.kvkk { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 16px; cursor: pointer; }
.kvkk input { width: 17px; height: 17px; accent-color: var(--blue); margin-top: 1px; flex-shrink: 0; }
.forgot { display: block; text-align: right; font-size: 12.5px; color: var(--blue); margin: -8px 0 16px; }

/* hoş geldin popup */
.welcome-pop { text-align: center; padding: 14px 6px; }
.welcome-pop .ic { color: var(--amber); display: inline-block; animation: bounce .9s infinite alternate; }
.welcome-pop h2 { margin: 12px 0 8px; font-size: 22px; }

/* ---------- toast ---------- */
#toast-root { position: fixed; bottom: calc(var(--nav-h) + 30px); left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center; }
@media (min-width: 900px) { #toast-root { bottom: 30px; } }
.toast {
  padding: 12px 22px; border-radius: 16px; font-size: 13.5px; font-weight: 500; color: #fff;
  background: rgba(23, 35, 63, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(23,35,63,.3); animation: pop .3s ease;
}
.toast.err { background: rgba(185, 28, 28, .94); }
.toast.ok { background: rgba(35, 83, 197, .94); }
.toast.out { opacity: 0; transform: translateY(10px); transition: all .4s; }

/* takipçi liste modalı */
.fl-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.fl-row b { font-size: 14px; }

/* ---------- Ana sayfa hero ---------- */
.home-hero {
  position: relative; overflow: hidden; border-radius: 26px;
  padding: 30px 28px 28px; margin-bottom: 8px; color: #fff;
  background: linear-gradient(130deg, #16337e 0%, #2353c5 62%, #3565d8 100%);
  box-shadow: 0 18px 40px rgba(22, 51, 126, .35), inset 0 1px 0 rgba(255,255,255,.18);
}
.home-hero h1 {
  font-size: clamp(23px, 4.2vw, 32px); font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 12px; position: relative; text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.hh-line {
  position: relative; font-size: clamp(14px, 2.2vw, 16px); line-height: 1.75;
  color: rgba(255,255,255,.85); max-width: 640px;
}
.hh-line b {
  color: #fbbf24; font-family: var(--font-head); font-weight: 800;
  font-size: 1.2em; padding: 0 2px; text-shadow: 0 2px 10px rgba(245,158,11,.35);
}
.hh-btn { margin-top: 16px; position: relative; }
.hh-glow { position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.hh-glow.g1 { width: 300px; height: 300px; background: rgba(79,125,245,.55); top: -120px; right: -60px; }
.hh-glow.g2 { width: 230px; height: 230px; background: rgba(245,158,11,.25); bottom: -110px; left: -60px; }
.hh-mark {
  position: absolute; right: -18px; bottom: -34px; color: rgba(255,255,255,.10);
  pointer-events: none; transform: rotate(-12deg);
}
@media (max-width: 599px) { .hh-mark svg { width: 110px; height: 110px; } }

/* ---------- paylaşım kartviziti ---------- */
.share-preview { border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(23,37,84,.28); }
.share-canvas { width: 100%; height: auto; display: block; }
.share-btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.share-btns .btn { flex: 1; min-width: 130px; }
.bd-share {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: background .2s, transform .15s;
}
.bd-share:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }

/* ---------- Topluluk ---------- */
.lb-row { display: flex; align-items: center; gap: 13px; padding: 12px 6px; }
.lb-row + .lb-row { border-top: 1px solid #eef1f8; }
.lb-row b { flex: 1; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row.is-me { background: rgba(35,83,197,.05); border-radius: 10px; }
.lb-rank {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; flex-shrink: 0;
  background: #eef1f8; color: var(--ink-soft);
}
.lb-rank.r1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #7c4a03; box-shadow: 0 4px 10px rgba(245,158,11,.4); }
.lb-rank.r2 { background: #dbe3f2; color: #57678a; }
.lb-rank.r3 { background: #f3e2cd; color: #a16207; }
.lb-pages { font-family: var(--font-head); font-weight: 800; color: var(--blue-strong); font-size: 15px; }
.lb-pages small { font-weight: 500; color: var(--ink-faint); font-family: var(--font-body); }
.lb-row .avatar { width: 38px; height: 38px; font-size: 14px; }

.feed-item { display: flex; gap: 13px; padding: 15px 16px; margin-bottom: 12px; align-items: flex-start; }
.feed-item .avatar { width: 42px; height: 42px; font-size: 15px; }
.fi-body { flex: 1; min-width: 0; }
.fi-text { font-size: 13.8px; line-height: 1.55; color: var(--ink-soft); }
.fi-text b { color: var(--ink); }
.fi-book { color: var(--blue); font-weight: 600; }
.fi-stars { color: var(--amber); letter-spacing: 1px; }
.fi-quote { font-size: 13px; color: var(--ink-soft); background: var(--bg); border-left: 3px solid var(--blue-soft); border-radius: 0 10px 10px 0; padding: 8px 12px; margin-top: 8px; font-style: italic; }
.fi-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.fi-cover .bcover { width: 46px; height: 68px; }
.like-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px;
  border-radius: 16px; font-size: 12.5px; color: var(--ink-faint);
  background: var(--bg); box-shadow: var(--neu-out-sm); transition: all .18s;
}
.like-btn:hover { color: var(--danger); }
.like-btn.on { color: var(--danger); box-shadow: var(--neu-in); }
.like-btn:active { transform: scale(.9); }

/* arkadaşlık özeti modalı */
.fr-wrap { text-align: center; margin-top: 12px; }
.fr-avs { display: flex; align-items: center; justify-content: center; gap: 14px; }
.fr-avs .avatar { width: 66px; height: 66px; font-size: 24px; }
.fr-heart { color: var(--amber); display: grid; }
.fr-names { margin-top: 8px; }
.fr-pct { font-family: var(--font-head); font-weight: 800; font-size: 54px; color: var(--amber); margin-top: 10px; text-shadow: 0 4px 18px rgba(245,158,11,.35); }
.fr-chips { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.fr-chips span { font-size: 12px; padding: 6px 14px; border-radius: 15px; background: var(--blue-soft); color: var(--blue-strong); font-weight: 500; }
.fr-book { margin-top: 18px; }
.fr-book-row { display: flex; align-items: center; gap: 13px; text-align: left; margin-top: 9px; padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: var(--neu-out-sm); cursor: pointer; }
.fr-book-row .bcover { width: 52px; height: 76px; flex-shrink: 0; }
.fr-stars { color: var(--amber); font-size: 12.5px; }

/* ---------- topluluk v2: sidebar + zil + composer + spoiler ---------- */
.comm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.bell {
  position: relative; width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface); box-shadow: var(--neu-out-sm); color: var(--ink-soft);
  display: grid; place-items: center; transition: color .2s, transform .15s;
}
.bell:hover { color: var(--blue); }
.bell:active { transform: scale(.92); }
.bell-dot {
  position: absolute; top: 9px; right: 10px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--danger); border: 2px solid var(--surface);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }

.comm-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 980px) { .comm-grid { grid-template-columns: 1fr 292px; align-items: start; } }
.comm-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 18px; }
.side-card { padding: 16px; }
.side-card h3 { font-size: 14.5px; display: flex; align-items: center; gap: 7px; }
.mini-tabs { display: flex; align-items: center; gap: 5px; margin: 10px 0 6px; flex-wrap: wrap; }
.mtab { padding: 5px 11px; border-radius: 13px; font-size: 11.5px; font-weight: 500; background: var(--bg); box-shadow: var(--neu-out-sm); color: var(--ink-soft); }
.mtab.active { background: linear-gradient(135deg, var(--blue-light), var(--blue-strong)); color: #fff; }
.mt-sep { flex: 1; }
.side-card .lb-row { padding: 8px 4px; gap: 9px; }
.side-card .lb-row .avatar { width: 30px; height: 30px; font-size: 12px; }
.side-card .lb-rank { width: 24px; height: 24px; font-size: 11.5px; }
.side-card .lb-row b { font-size: 12.8px; }
.side-card .lb-pages { font-size: 13px; }
.trend-row { display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.trend-row + .trend-row { border-top: 1px solid #eef1f8; }
.trend-row .bcover { width: 34px; height: 50px; flex-shrink: 0; }
.trend-row b { font-size: 12.8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.trend-no { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--ink-faint); width: 16px; text-align: center; }

/* takip istekleri */
.req-card { padding: 16px 18px; margin-bottom: 18px; border-left: 4px solid var(--amber); }
.req-card h3 { font-size: 15px; display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.req-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.req-row + .req-row { border-top: 1px solid #eef1f8; }
.req-row .avatar { width: 40px; height: 40px; font-size: 14px; }

/* composer */
.composer { overflow: hidden; }
.comp-head { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; padding: 16px 18px; }
.comp-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--blue-soft); color: var(--blue-strong); display: grid; place-items: center; flex-shrink: 0; }
.comp-head .arr { margin-left: auto; color: var(--ink-faint); font-size: 20px; transition: transform .25s; display: inline-block; }
.comp-body { padding: 0 18px 18px; }
.comp-sug-row { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; cursor: pointer; }
.comp-sug-row:hover { background: rgba(35,83,197,.06); }
.comp-sug-row .bcover { width: 34px; height: 50px; flex-shrink: 0; }
.comp-sug-row b { font-size: 13px; }
.comp-sel { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 13px; background: var(--bg); box-shadow: var(--neu-in); margin-bottom: 12px; flex-wrap: wrap; }
.comp-sel .bcover { width: 40px; height: 58px; flex-shrink: 0; }
.comp-sel b { font-size: 13.5px; }

/* alıntı gönderisi + spoiler */
.post-item { position: relative; border-left: 4px solid var(--amber); }
.fi-bigquote {
  position: relative; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  line-height: 1.65; color: var(--ink); background: linear-gradient(120deg, var(--blue-soft), #fef3c7);
  border-radius: 13px; padding: 14px 16px 14px 38px; margin-top: 9px;
}
.fi-bigquote .qmark { position: absolute; left: 12px; top: 13px; color: var(--amber); }
.sp-overlay {
  position: absolute; inset: 0; z-index: 6; border-radius: var(--radius);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  background: rgba(244,246,251,.55);
  display: grid; place-items: center; text-align: center; padding: 18px;
}
.sp-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 340px; }
.sp-inner > span { color: var(--amber); }
.sp-inner b { font-size: 14.5px; }
.card-btn:hover { color: var(--blue) !important; }

/* bildirim listesi */
.notif-item { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 12px; cursor: pointer; }
.notif-item:hover { background: rgba(35,83,197,.05); }
.notif-item.unread { background: rgba(245,158,11,.09); }
.notif-item .avatar { width: 40px; height: 40px; font-size: 14px; }
.notif-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.notif-text b { color: var(--ink); }

/* ---------- admin içerik moderasyonu ---------- */
.ct-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #eef1f8; }
.ct-row:last-child { border-bottom: none; }
.ct-row.flagged { background: rgba(220,38,38,.05); border-radius: 10px; padding: 12px 10px; }
.ct-flag { font-size: 10.5px; font-weight: 600; color: #fff; background: var(--danger); padding: 2px 9px; border-radius: 9px; margin-left: 7px; vertical-align: 1px; }

/* ---------- topluluk v3: mobil tablar + öneriler + avatar yükleme ---------- */
.comm-tabs { display: none; gap: 7px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.ctab {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 15px; border-radius: 15px; font-size: 12.8px; font-weight: 600;
  background: var(--surface); box-shadow: var(--neu-out-sm); color: var(--ink-soft);
  transition: all .2s; flex-shrink: 0;
}
.ctab.active { background: linear-gradient(135deg, var(--blue-light), var(--blue-strong)); color: #fff; box-shadow: 0 6px 14px rgba(35,83,197,.35); }
@media (max-width: 979px) {
  .comm-tabs { display: flex; }
  .comm-main, .comm-side { display: none; }
  .comm-grid.tab-feed .comm-main { display: block; }
  .comm-grid.tab-stars .comm-side { display: flex; position: static; }
  .comm-grid.tab-stars .side-card.sugg { display: none; }
  .comm-grid.tab-friends .comm-side { display: flex; position: static; }
  .comm-grid.tab-friends .side-card.stars { display: none; }
}
.sugg-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; }
.sugg-row + .sugg-row { border-top: 1px solid #eef1f8; }
.sugg-row .avatar { width: 40px; height: 40px; font-size: 14px; }
.sugg-row b { font-size: 13.2px; }
.sugg-why { font-size: 11.8px; color: var(--ink-soft); margin-top: 2px; }
.sugg-pct { color: var(--amber); font-weight: 700; }
.sugg-row .btn-sm { padding: 7px 12px; font-size: 12px; }
.up-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }

/* ---------- yasal metin popup'ı + doğrulama rozetleri ---------- */
.legal-body { max-height: 46vh; overflow-y: auto; font-size: 13px; line-height: 1.7; color: var(--ink-soft); padding-right: 6px; }
.legal-body h4 { color: var(--ink); font-size: 13.5px; margin: 14px 0 6px; }
.legal-body h4:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 8px; }
.ok-badge { display: inline-block; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--success); padding: 2px 8px; border-radius: 9px; vertical-align: 1px; }
.warn-badge { display: inline-block; font-size: 10.5px; font-weight: 600; color: #7c4a03; background: var(--amber-soft); border: 1px solid var(--amber); padding: 1px 8px; border-radius: 9px; vertical-align: 1px; }

/* ---------- kitap sayfası: satın alma bağlantıları (affiliate) ---------- */
.buy-box { padding: 18px; margin-top: 16px; }
.buy-links { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.buy-link {
  position: relative; flex: 1; min-width: 130px;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: var(--neu-out-sm);
  border: 1.5px solid transparent; transition: transform .15s, border-color .15s;
}
.buy-link:hover { transform: translateY(-2px); border-color: var(--blue-soft); }
.buy-link b { font-size: 14px; }
.buy-link .go { font-size: 11.5px; color: var(--ink-faint); }
.buy-link.featured { border-color: var(--amber); background: linear-gradient(160deg, var(--amber-soft), var(--surface) 60%); }
.buy-link.featured .go { color: #7c4a03; }
.buy-link .deal {
  position: absolute; top: -9px; right: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .6px;
  color: #fff; background: var(--amber); padding: 2px 9px; border-radius: 9px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, .45);
}

/* ---------- hesap kapatma (profil düzenleme modalının altında, göze batmaz) ---------- */
.acc-close-link {
  display: block; text-align: center; margin-top: 20px;
  font-size: 11.5px; color: var(--ink-faint); opacity: .65;
  text-decoration: underline; cursor: pointer;
}
.acc-close-link:hover { opacity: 1; color: var(--danger); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }


