/* Kaydettiklerim — pastel, aura, telefon odaklı */

:root {
  --bg: #FCF9FF;
  --ink: #2A2440;
  --ink2: #6B6485;
  --ink3: #9A94B2;
  --line: rgba(42, 36, 64, .09);
  --card: #FFFFFF;
  --lila: #B79CF5;
  --pembe: #F59CC8;
  --seftali: #FFB48A;
  --danger: #D9486B;
  --grad: linear-gradient(135deg, #B79CF5 0%, #F59CC8 62%, #FFB48A 100%);
  --shadow: 0 6px 22px rgba(120, 90, 170, .13);
  --shadow-s: 0 2px 10px rgba(120, 90, 170, .10);
  --r: 22px;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
  touch-action: manipulation;
  overflow: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 32% at 100% 0%, rgba(245, 156, 200, .26), transparent 70%),
    radial-gradient(50% 30% at 0% 6%, rgba(183, 156, 245, .28), transparent 70%),
    radial-gradient(70% 36% at 50% 100%, rgba(255, 196, 160, .26), transparent 70%);
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; font-size: 16px; color: var(--ink); }
input::placeholder { color: var(--ink3); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.ico { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }

/* ---------- açılış / hata ---------- */
.boot { position: fixed; inset: 0; display: grid; place-items: center; }
.boot-spark {
  width: 54px; height: 54px; border-radius: 18px; background: var(--grad);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(.86) rotate(8deg); opacity: .7; } }

.center-msg {
  position: fixed; inset: 0; padding: 32px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 14px;
}
.center-msg h2 { font-size: 26px; }
.center-msg p { color: var(--ink2); line-height: 1.5; max-width: 320px; }
.center-msg code { background: #fff; padding: 2px 6px; border-radius: 6px; font-size: 14px; }

/* ---------- giriş ---------- */
.auth {
  position: fixed; inset: 0; overflow-y: auto; padding: calc(var(--st) + 56px) 28px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.auth .logo {
  width: 84px; height: 84px; border-radius: 28px; background: var(--grad); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 22px;
}
.auth .logo .ico { width: 42px; height: 42px; }
.auth h1 { font-size: 34px; }
.auth .sub { color: var(--ink2); margin: 6px 0 28px; }
.auth form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.field {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 18px; border: 1.5px solid transparent;
  background: #fff; box-shadow: var(--shadow-s); outline: none;
}
.field:focus { border-color: var(--lila); }
.err { color: var(--danger); font-size: 14px; min-height: 20px; }
.link-btn { color: var(--ink2); font-size: 15px; padding: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- düğmeler ---------- */
.btn {
  height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  transition: transform .12s, opacity .12s;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(183, 140, 230, .38); }
.btn.soft { background: #fff; box-shadow: var(--shadow-s); }
.btn.danger { background: #FFE9EE; color: var(--danger); }
.btn.armed { background: var(--danger); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink2); }
.btn.small { height: 40px; font-size: 14px; width: auto; padding: 0 16px; }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .8);
  display: grid; place-items: center; box-shadow: var(--shadow-s);
}
.icon-btn:active { transform: scale(.94); }
.badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--bg);
}

/* ---------- ana kabuk ---------- */
#main { position: fixed; inset: 0; display: flex; flex-direction: column; }
.top {
  padding: calc(var(--st) + 14px) 20px 10px; display: flex; align-items: center; justify-content: space-between;
}
.top-title { display: flex; align-items: center; gap: 10px; }
.top-title h1 { font-size: 32px; }
.spark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff;
  display: grid; place-items: center;
}
.spark .ico { width: 20px; height: 20px; }
.top-actions { display: flex; gap: 10px; }
.scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 6px 16px calc(150px + var(--sb));
}

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  height: calc(76px + var(--sb)); padding-bottom: var(--sb);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, .84); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink3); font-size: 12px; font-weight: 600; }
.tab .pill { width: 54px; height: 32px; border-radius: 16px; display: grid; place-items: center; transition: background .2s; }
.tab.on { color: var(--ink); }
.tab.on .pill { background: linear-gradient(135deg, #E9DDFB, #FBD9EA); }

.fab {
  position: fixed; right: 20px; bottom: calc(92px + var(--sb)); z-index: 6;
  width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(200, 130, 210, .5);
}
.fab .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.fab:active { transform: scale(.92); }

/* ---------- arama ve çipler ---------- */
.search { position: relative; margin: 4px 0 12px; }
.search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink3); width: 20px; height: 20px; }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1.5px solid transparent; border-radius: 16px;
  background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-s); outline: none;
}
.search input:focus { border-color: var(--lila); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-s); font-size: 14.5px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center;
}
.chip.on { background: var(--ink); color: #fff; }
.chip.plus { background: transparent; box-shadow: none; border: 1.5px dashed rgba(42, 36, 64, .22); color: var(--ink2); }
.chip.ghost { width: 38px; padding: 0; justify-content: center; }
.chip.ghost .ico { width: 17px; height: 17px; }

/* ---------- aura ---------- */
.a-lila    { background: linear-gradient(140deg, #E4D6FB 0%, #F9D6EA 55%, #D7E4FF 100%); }
.a-pembe   { background: linear-gradient(140deg, #FFD3E5 0%, #FFE5D3 55%, #F3D6FF 100%); }
.a-seftali { background: linear-gradient(140deg, #FFE0C9 0%, #FFF0C6 55%, #FFD0E0 100%); }
.a-nane    { background: linear-gradient(140deg, #C9F1E2 0%, #DAEAFF 55%, #F2E1FF 100%); }

/* ---------- kartlar ---------- */
.mason { display: flex; gap: 12px; align-items: flex-start; }
.mason .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.card {
  background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .12s;
}
.card:active { transform: scale(.975); }
.media { position: relative; width: 100%; overflow: hidden; background: #F1EAFB; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media .aura-fill { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.media .aura-fill .ico { width: 34px; height: 34px; }
.go {
  position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-s);
}
.go .ico { width: 17px; height: 17px; }
.meta { padding: 10px 14px 14px; }
.meta .title { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.meta .sub { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #F3ECFC; color: #6E56B5; }
.tag.go-label { background: #E6F7F0; color: #2F7D63; }
.card.shop .media { aspect-ratio: 1 / 1; }

.empty {
  margin: 34px 8px; padding: 36px 24px; border-radius: 28px; text-align: center;
  background: rgba(255, 255, 255, .6); border: 1.5px dashed rgba(42, 36, 64, .16);
}
.empty h3 { font-size: 21px; margin-bottom: 8px; }
.empty p { color: var(--ink2); line-height: 1.5; font-size: 15px; }
.empty .btn { margin-top: 18px; width: auto; }

/* ---------- İzlenecek ---------- */
.hint { color: var(--ink3); font-size: 13.5px; margin: 2px 4px 12px; }
.cat-list { display: flex; flex-direction: column; gap: 10px; }
.cat-row {
  display: flex; align-items: center; gap: 4px; min-height: 66px; border-radius: 22px; padding: 6px 12px 6px 4px;
  position: relative; transition: box-shadow .15s;
}
.cat-row.t0 { background: #E6F7F0; } .cat-row.t1 { background: #F3ECFC; } .cat-row.t2 { background: #FFEBDD; }
.cat-row.t3 { background: #FFE9F1; } .cat-row.t4 { background: #FFF6D6; }
.cat-row.dragging { z-index: 3; box-shadow: 0 14px 34px rgba(80, 50, 130, .28); transition: none; }
.grip { width: 46px; height: 54px; display: grid; place-items: center; color: var(--ink3); cursor: grab; touch-action: none; }
.grip .ico { width: 22px; height: 22px; }
.cat-name { flex: 1; text-align: left; font-family: var(--serif); font-weight: 500; font-size: 19px; padding: 14px 4px; display: flex; align-items: center; gap: 10px; }
.cnt { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--ink2); background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 1px 9px; }
.cat-row .chev { color: var(--ink3); }
.cat-row.plain { padding-left: 18px; }
.dashed {
  margin-top: 14px; width: 100%; height: 58px; border-radius: 22px; border: 1.5px dashed rgba(42, 36, 64, .24);
  color: var(--ink2); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ---------- tam ekran sayfalar ---------- */
#overlay {
  position: fixed; inset: 0; z-index: 30; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch;
  animation: slide .24s cubic-bezier(.2, .8, .2, 1);
}
#overlay::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 28% at 100% 0%, rgba(245, 156, 200, .22), transparent 70%),
    radial-gradient(50% 26% at 0% 4%, rgba(183, 156, 245, .24), transparent 70%);
}
@keyframes slide { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.page { min-height: 100%; padding: 0 18px calc(40px + var(--sb)); }
.page-top {
  position: sticky; top: 0; z-index: 4; margin: 0 -18px; padding: calc(var(--st) + 12px) 18px 12px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(var(--bg) 78%, rgba(252, 249, 255, 0));
}
.page-top h2 { font-size: 21px; text-align: center; }
.page-top .l { justify-self: start; } .page-top .r { justify-self: end; }
.back { height: 44px; padding: 0 14px 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-s); }
.back .ico { width: 20px; height: 20px; }
.pill-btn { height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.pill-btn .ico { width: 17px; height: 17px; }

.form { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.lbl { font-size: 13px; font-weight: 700; color: var(--ink2); letter-spacing: .02em; margin-bottom: 8px; display: block; }
.cover-pick {
  position: relative; display: block; width: 100%; max-width: 280px; margin: 0 auto; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 4 / 5; background: #F1EAFB;
}
.cover-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-pick .aura-fill { width: 100%; height: 100%; }
.cover-pick .over {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 16px 16px; text-align: center; color: #fff; font-weight: 600; font-size: 15px;
  background: linear-gradient(transparent, rgba(42, 36, 64, .5)); display: flex; justify-content: center; align-items: center; gap: 8px;
}
.cover-pick .over .ico { width: 20px; height: 20px; }
.cover-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: var(--shadow-s); }
.cover-x .ico { width: 16px; height: 16px; }
.swatches { display: flex; gap: 14px; justify-content: center; }
.sw { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-s); position: relative; }
.sw.on { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.seg { display: flex; background: rgba(255, 255, 255, .85); padding: 4px; border-radius: 999px; box-shadow: var(--shadow-s); }
.seg button { flex: 1; height: 42px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.seg button.on { background: var(--ink); color: #fff; }
.row-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.row-chips .chip { box-shadow: var(--shadow-s); }

/* ---------- kırpma ---------- */
.crop-page { background: #2A2440; color: #fff; }
.crop-page .page-top { background: linear-gradient(#2A2440 78%, rgba(42, 36, 64, 0)); }
.crop-page .back { background: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.crop-stage {
  position: relative; width: 100%; height: min(50vh, 430px); margin: 4px auto 14px; border-radius: 20px;
  overflow: hidden; background: #1E1A30; touch-action: none; user-select: none; -webkit-user-select: none;
}
.crop-stage img { position: absolute; display: block; pointer-events: none; -webkit-user-drag: none; }
.frame { position: absolute; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 999px rgba(42, 36, 64, .6); cursor: move; touch-action: none; }
.frame::before, .frame::after { content: ''; position: absolute; pointer-events: none; }
.frame::before { inset: 0; background:
  linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) 33.333% 0 / 1px 100% no-repeat,
  linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) 66.666% 0 / 1px 100% no-repeat,
  linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) 0 33.333% / 100% 1px no-repeat,
  linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) 0 66.666% / 100% 1px no-repeat; }
.h { position: absolute; width: 44px; height: 44px; touch-action: none; }
.h::after { content: ''; position: absolute; width: 22px; height: 22px; border: 4px solid #fff; border-radius: 3px; }
.h[data-c="tl"] { left: -16px; top: -16px; } .h[data-c="tl"]::after { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.h[data-c="tr"] { right: -16px; top: -16px; } .h[data-c="tr"]::after { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.h[data-c="bl"] { left: -16px; bottom: -16px; } .h[data-c="bl"]::after { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.h[data-c="br"] { right: -16px; bottom: -16px; } .h[data-c="br"]::after { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.ratios { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.ratios .chip { background: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.ratios .chip.on { background: #fff; color: var(--ink); }
.prev { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; min-height: 100px; }
.prev canvas { border-radius: 16px; background: #1E1A30; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.prev p { color: rgba(255, 255, 255, .7); font-size: 14px; max-width: 110px; line-height: 1.35; }
.crop-actions { display: flex; flex-direction: column; gap: 8px; }
.crop-actions .row { display: flex; gap: 10px; }
.crop-page .btn.soft { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.crop-page .btn.ghost { color: rgba(255, 255, 255, .7); height: 40px; font-size: 14px; }

/* ---------- toplu ekle ---------- */
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumb { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #F1EAFB; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.off img { opacity: .38; }
.thumb .chk {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); color: transparent; border: 2px solid #fff;
}
.thumb:not(.off) .chk { background: var(--grad); color: #fff; }
.thumb .chk .ico { width: 14px; height: 14px; stroke-width: 3; }
.thumb .crp {
  position: absolute; left: 5px; bottom: 5px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center;
}
.thumb .crp .ico { width: 15px; height: 15px; }
.thumb.add { display: grid; place-items: center; border: 1.5px dashed rgba(42, 36, 64, .25); background: rgba(255, 255, 255, .6); color: var(--ink2); cursor: pointer; }
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.where button {
  height: 64px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-s); font-weight: 600; font-size: 14.5px;
  border: 2px solid transparent; padding: 0 6px;
}
.where button.on { border-color: var(--lila); background: #F6F0FF; }

/* ---------- gelen kutusu ---------- */
.inb { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.inb-row { display: flex; gap: 14px; background: #fff; border-radius: 24px; padding: 12px; box-shadow: var(--shadow-s); }
.inb-thumb { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; flex: none; background: #F1EAFB; cursor: pointer; }
.inb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inb-thumb .aura-fill { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.inb-main { flex: 1; min-width: 0; }
.inb-title { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.25; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.inb-btns { display: flex; gap: 6px; margin-top: 10px; }
.inb-btns button { flex: 1; height: 44px; border-radius: 14px; font-size: 13.5px; font-weight: 600; }
.inb-btns .m-ilham { background: #F3ECFC; color: #6E56B5; }
.inb-btns .m-alisveris { background: #FFE9F1; color: #B2447D; }
.inb-btns .m-izlenecek { background: #E6F7F0; color: #2F7D63; }
.inb-btns button:active { transform: scale(.95); }

/* ---------- kategori sayfası (izlenecek) ---------- */
.vlist { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.vrow { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 20px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow-s); min-height: 60px; }
.vrow .vt { flex: 1; min-width: 0; font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; padding: 8px 0; }
.vrow .vt small { display: block; font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.vrow .ib { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); flex: none; }
.vrow .ib .ico { width: 19px; height: 19px; }
.vrow .ib.go-b { background: #E6F7F0; color: #2F7D63; }
.vrow .ib.armed { background: var(--danger); color: #fff; }

/* ---------- ayarlar ---------- */
.group { background: #fff; border-radius: 24px; padding: 6px 18px; box-shadow: var(--shadow-s); margin-bottom: 18px; }
.group h3 { font-size: 18px; padding: 14px 0 4px; }
.group .note { color: var(--ink2); font-size: 14px; line-height: 1.5; padding-bottom: 8px; }
.kv { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv > div { flex: 1; min-width: 0; }
.kv b { display: block; font-size: 12.5px; color: var(--ink2); margin-bottom: 3px; }
.kv code { display: block; font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv .copy { height: 40px; padding: 0 14px; border-radius: 12px; background: #F3ECFC; color: #6E56B5; font-weight: 600; font-size: 14px; flex: none; }
.kv .copy.ok { background: #E6F7F0; color: #2F7D63; }

/* ---------- alt panel & toast ---------- */
#sheet { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
#sheet.open { pointer-events: auto; }
.backdrop { position: absolute; inset: 0; background: rgba(42, 36, 64, .38); opacity: 0; transition: opacity .2s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; background: var(--bg);
  border-radius: 30px 30px 0 0; padding: 12px 20px calc(24px + var(--sb)); transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 -10px 40px rgba(60, 30, 110, .2);
}
.sheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(42, 36, 64, .16); margin: 0 auto 16px; }
#sheet.open .backdrop { opacity: 1; }
#sheet.open .sheet { transform: none; }
.sheet h3 { font-size: 22px; margin-bottom: 14px; overflow-wrap: anywhere; }
.sheet .btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sheet-media { border-radius: 22px; overflow: hidden; margin-bottom: 16px; max-height: 46vh; background: #F1EAFB; }
.sheet-media img { display: block; width: 100%; max-height: 46vh; object-fit: contain; background: #F1EAFB; }
.sheet-media .aura-fill { height: 180px; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.sheet-media .aura-fill .ico { width: 40px; height: 40px; }
.sheet .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -6px; }

#toast { position: fixed; left: 0; right: 0; bottom: calc(96px + var(--sb)); z-index: 60; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.toast {
  pointer-events: auto; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 20px; font-size: 14.5px; font-weight: 500;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(30, 20, 60, .35); animation: pop .22s ease-out; max-width: 100%;
}
.toast button { color: #F9C9E4; font-weight: 700; }
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- ek düzeltmeler ---------- */
.media > img, .media > .aura-fill, .cover-pick > img, .cover-pick > .aura-fill { position: absolute; inset: 0; width: 100%; height: 100%; }
.card, .cat-row, .chip, .tab, .thumb, .inb-row, .grip, .fab, .icon-btn { -webkit-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
.meta .title, .vrow .vt { -webkit-user-select: none; user-select: none; }
