/* dantatsu onay paneli — kurumsal kimlik: mor #4a2681, pembe #ed7088, sarı #f0cb12, koyu #202020
   Başlık: Anton · Metin: Tahoma · Vurgu: CK (Dantatsu'nun el yazısı fontu) */

@font-face { font-family: "CK"; src: url("/fonts/CK.otf") format("opentype"); font-display: swap; }

:root {
  --mor: #4a2681;
  --pembe: #ed7088;
  --sari: #f0cb12;
  --koyu: #202020;

  --tint: var(--mor);            /* bağlantı, etkin öğe */
  --accent: var(--mor);          /* ana düğme zemini */
  --on-accent: #ffffff;
  --bg: #f5f2f9;
  --surface: #ffffff;
  --surface-2: #ece6f4;
  --fill: rgba(74, 38, 129, .08);
  --fill-strong: rgba(74, 38, 129, .16);
  --separator: rgba(74, 38, 129, .16);
  --label: #202020;
  --label-2: rgba(32, 32, 32, .7);
  --label-3: rgba(32, 32, 32, .44);

  --c-ad: #4a2681;      --c-ad-bg: rgba(74, 38, 129, .12);
  --c-rev: #b3213f;     --c-rev-bg: rgba(237, 112, 136, .2);
  --c-dir: #6f5c00;     --c-dir-bg: rgba(240, 203, 18, .3);
  --c-cli: #a84a00;     --c-cli-bg: rgba(255, 149, 0, .17);
  --green: #177a36;     --green-bg: rgba(52, 199, 89, .17);
  --blue: #0a60d0;      --blue-bg: rgba(10, 132, 255, .13);
  --red: #c5000f;       --red-bg: rgba(255, 59, 48, .13);

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(74, 38, 129, .06), 0 10px 28px rgba(74, 38, 129, .07);
  --tabbar-h: 60px;
  --font: Tahoma, Verdana, "Segoe UI", system-ui, -apple-system, sans-serif;
  --lead: Anton, Impact, "Arial Narrow", sans-serif;
  --hand: "CK", "Bradley Hand", "Comic Sans MS", cursive;
  --ease-ios: cubic-bezier(.32, .72, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --tint: #f08fa2;
  --accent: var(--pembe);
  --on-accent: #202020;
  --bg: #202020;
  --surface: #2b2a2f;
  --surface-2: #36343c;
  --fill: rgba(255, 255, 255, .09);
  --fill-strong: rgba(255, 255, 255, .17);
  --separator: rgba(255, 255, 255, .15);
  --label: #ffffff;
  --label-2: rgba(255, 255, 255, .72);
  --label-3: rgba(255, 255, 255, .42);
  --c-ad: #cdb6f7;      --c-ad-bg: rgba(160, 120, 240, .24);
  --c-rev: #ff9db0;     --c-rev-bg: rgba(237, 112, 136, .24);
  --c-dir: #f0cb12;     --c-dir-bg: rgba(240, 203, 18, .18);
  --c-cli: #ffb340;     --c-cli-bg: rgba(255, 159, 10, .2);
  --green: #4cd964;     --green-bg: rgba(48, 209, 88, .2);
  --blue: #64a8ff;      --blue-bg: rgba(10, 132, 255, .22);
  --red: #ff6961;       --red-bg: rgba(255, 69, 58, .2);
  --shadow: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tint: #f08fa2;
    --accent: var(--pembe);
    --on-accent: #202020;
    --bg: #202020;
    --surface: #2b2a2f;
    --surface-2: #36343c;
    --fill: rgba(255, 255, 255, .09);
    --fill-strong: rgba(255, 255, 255, .17);
    --separator: rgba(255, 255, 255, .15);
    --label: #ffffff;
    --label-2: rgba(255, 255, 255, .72);
    --label-3: rgba(255, 255, 255, .42);
    --c-ad: #cdb6f7;      --c-ad-bg: rgba(160, 120, 240, .24);
    --c-rev: #ff9db0;     --c-rev-bg: rgba(237, 112, 136, .24);
    --c-dir: #f0cb12;     --c-dir-bg: rgba(240, 203, 18, .18);
    --c-cli: #ffb340;     --c-cli-bg: rgba(255, 159, 10, .2);
    --green: #4cd964;     --green-bg: rgba(48, 209, 88, .2);
    --blue: #64a8ff;      --blue-bg: rgba(10, 132, 255, .22);
    --red: #ff6961;       --red-bg: rgba(255, 69, 58, .2);
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; transition: background-color .3s ease; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--label); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--tint); }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--pembe) 85%, transparent); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--surface); color: var(--label); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.ic { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 14px; height: 14px; }
.lead { font-family: var(--lead); font-weight: 400; font-synthesis: none; letter-spacing: .01em; }
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: .02em; }

/* Açık temada mor logo (.lm), koyu temada sarı logo (.dm). Daha özgül kurallar ezmesin diye !important. */
.dm { display: none !important; }
:root[data-theme="dark"] .lm { display: none !important; }
:root[data-theme="dark"] .dm { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lm { display: none !important; }
  :root:not([data-theme="light"]) .dm { display: block !important; }
}

/* ------------------------------------------------ iskelet */
.app { min-height: 100vh; }
.side {
  position: fixed; inset: 0 auto 0 0; width: 264px; padding: 24px 14px 16px;
  background: var(--mor); color: #fff; display: flex; flex-direction: column; gap: 18px; z-index: 20; overflow-y: auto;
}
.side .wordmark { display: block; padding: 2px 8px 6px; border-radius: 12px; text-decoration: none; }
.side .wordmark img { display: block; width: 168px; height: auto; }
.side .wordmark small { display: block; margin-top: 8px; font-family: var(--hand); font-size: 19px; color: var(--pembe); line-height: 1; }
.nav { display: grid; gap: 3px; }
.nav a {
  display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px; border-radius: 12px;
  color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 700; font-size: 15px; transition: background-color .2s ease, color .2s ease;
}
.nav a .ic { color: var(--pembe); }
.nav a:hover { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { background: var(--sari); color: var(--koyu); }
.nav a[aria-current="page"] .ic { color: var(--mor); }
.nav a .count { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--pembe); color: var(--koyu);
  font-size: 13px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.nav a[aria-current="page"] .count { background: var(--mor); color: #fff; }
.side .foot { margin-top: auto; display: grid; gap: 10px; padding: 0 2px; }
.me { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: #fff; }
.me:hover, .me[aria-current="page"] { background: rgba(255, 255, 255, .13); }
.me .txt { flex: 1; }
.me > .ic { color: var(--pembe); }
.me .txt { display: grid; line-height: 1.25; min-width: 0; }
.me b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me small { font-size: 12px; line-height: 1.25; color: rgba(255, 255, 255, .76); }
.brandpick { display: grid; gap: 6px; padding: 0 6px; }
.brandpick label { font-size: 12px; color: rgba(255, 255, 255, .7); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
select.pill {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 10px 38px 10px 14px; border-radius: 12px; width: 100%;
  border: 0; background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font-weight: 700; font-size: 15px;
}
.side select.pill { background-color: rgba(255, 255, 255, .13); color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); }
.side select.pill option { color: #202020; }

main { margin-left: 264px; padding: 34px 40px 70px; max-width: 1400px; }
main:focus { outline: none; }
.tabbar, .topbar { display: none; }

/* ------------------------------------------------ sayfa başlığı */
.pagehead { margin-bottom: 18px; }
.pagehead .eyebrow { font-family: var(--hand); font-size: 22px; line-height: 1; color: var(--pembe); margin-bottom: 4px; }
.pagehead h1 { font-family: var(--lead); font-weight: 400; font-synthesis: none; font-size: 46px; line-height: 1.08; letter-spacing: .01em; text-transform: lowercase; color: var(--tint); }
.pagehead p { color: var(--label-2); margin-top: 8px; max-width: 64ch; }
:root[data-theme="dark"] .pagehead h1 { color: var(--sari); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pagehead h1 { color: var(--sari); } }

.monthbar { display: flex; align-items: center; gap: 6px; margin: 4px 0 18px; }
.monthbar h2 { font-family: var(--lead); font-weight: 400; font-size: 24px; min-width: 190px; text-align: center; text-transform: lowercase; letter-spacing: .01em; }
.iconbtn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--fill); color: var(--tint); display: grid; place-items: center; cursor: pointer; flex: none; }
.iconbtn:disabled { color: var(--label-3); cursor: default; }
.iconbtn:not(:disabled):hover { background: var(--fill-strong); }

/* ------------------------------------------------ düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 12px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  background: var(--accent); color: var(--on-accent);
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: default; filter: none; pointer-events: none; }
.btn.sari { background: var(--sari); color: var(--koyu); }
.btn.gray { background: var(--fill); color: var(--tint); }
.btn.pembe { background: var(--c-rev-bg); color: var(--c-rev); }
.btn.gray.danger, .btn.plain.danger { color: var(--red); }
.btn.plain { background: transparent; color: var(--tint); padding-left: 10px; padding-right: 10px; }
.btn.wide { width: 100%; }
.btn.lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn .ic { width: 20px; height: 20px; }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; }
.btnrow > .btn { flex: 1 1 160px; }

/* ------------------------------------------------ özet kutucukları, aşama şeridi, segment */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stats.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1240px) { .stats.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 14px 16px 13px; border: 0; text-align: left; cursor: pointer;
  box-shadow: var(--shadow); display: grid; gap: 2px; min-height: 88px; overflow: hidden;
}
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--k, var(--label-3)); }
.stat b { font-family: var(--lead); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--k, var(--label)); font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--label-2); font-weight: 700; }
.stat[aria-pressed="true"] { outline: 3px solid var(--k, var(--tint)); outline-offset: -3px; }
.stat.mine::after { content: "sıra sende"; position: absolute; top: 9px; right: 10px; font-family: var(--hand); font-size: 15px; line-height: 1; color: var(--pembe); }
.k-ad { --k: var(--c-ad); } .k-rev { --k: var(--c-rev); } .k-dir { --k: var(--c-dir); } .k-cli { --k: var(--c-cli); }
.k-ok { --k: var(--green); } .k-pub { --k: var(--blue); } .k-bad { --k: var(--red); }

.segmented { position: relative; isolation: isolate; display: flex; background: var(--fill); border-radius: 12px; padding: 3px; gap: 2px; margin-bottom: 18px; overflow: hidden; }
.segmented button { flex: 1 0 auto; min-height: 36px; border: 0; background: transparent; border-radius: 9px; padding: 6px 14px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--label-2); }
.segmented button[aria-pressed="true"] { color: var(--label); }
.segmented .seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 9px; background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .14); z-index: -1; transition: transform .38s var(--ease-ios), width .38s var(--ease-ios); }
.segmented .seg-thumb.instant { transition: none; }
:root[data-theme="dark"] .segmented .seg-thumb { background: #55525e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .segmented .seg-thumb { background: #55525e; } }
.side .segmented { background: rgba(255, 255, 255, .13); margin-bottom: 6px; }
.side .segmented button { color: rgba(255, 255, 255, .78); font-size: 12px; padding: 4px 6px; min-height: 32px; }
.side .segmented button[aria-pressed="true"] { color: var(--koyu); }
.side .segmented .seg-thumb { background: var(--sari); }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; box-shadow: var(--shadow); }
.callout p { color: var(--label-2); }
.callout.hot { background: var(--mor); color: #fff; box-shadow: none; }
.callout.hot p { color: rgba(255, 255, 255, .86); }
.callout.hot b.big { display: block; font-family: var(--lead); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--sari); text-transform: lowercase; }
.callout.hot .btn { background: var(--sari); color: var(--koyu); }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar select.pill { width: auto; min-width: 190px; max-width: 100%; background-color: var(--surface); box-shadow: var(--shadow); }
.toolbar .grow { flex: 1; min-width: 200px; }
.firm { margin-bottom: 30px; }
.firm > h3 { font-family: var(--lead); font-weight: 400; font-size: 22px; letter-spacing: .01em; margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.firm > h3 .btn { font-family: var(--font); text-transform: none; min-height: 36px; font-size: 14px; }

/* ------------------------------------------------ içerik ızgarası */
.week, .bgroup { margin-bottom: 30px; }
.week h3, .bgroup h3 { font-family: var(--lead); font-weight: 400; font-size: 21px; margin: 0 0 12px; text-transform: lowercase; letter-spacing: .01em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bgroup h3 { text-transform: none; }
.bgroup h3 .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bc, var(--mor)); align-self: center; flex: none; }
.bgroup h3 small { font: 700 13px var(--font); color: var(--label-2); text-transform: none; letter-spacing: 0; }
/* İçerikler her zaman Instagram akışı gibi üçlü sıralanır. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; }
.card {
  background: var(--surface); border-radius: var(--radius); border: 0; padding: 0; overflow: hidden; cursor: pointer;
  text-align: left; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s ease;
}
.card:hover { transform: translateY(-3px) rotate(-.4deg); }
.card:active { transform: scale(.985); }
.card.mine { box-shadow: 0 0 0 3px var(--sari), var(--shadow); }
.card.today { box-shadow: 0 0 0 2px var(--tint), var(--shadow); }
.thumb { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb .badge { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px;
  border-radius: 999px; background: rgba(32, 32, 32, .66); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.thumb .bchip { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: 999px; background: var(--bc, var(--mor)); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 0 2px var(--surface); }
.card .meta { padding: 10px 12px 14px; display: grid; gap: 6px; }
.when { font-size: 13px; color: var(--label-2); display: flex; justify-content: space-between; gap: 6px; }
.kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--tint); }
.card .title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.muted { color: var(--label-2); font-size: 13px; }
.seenby { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; }
.seenby:first-child { margin-left: 0; }
.newdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pembe); margin-right: 6px; vertical-align: 1px; animation: pop .45s var(--ease-spring); }
.todaychip { color: var(--tint); font-weight: 700; }

.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; color: var(--k); background: var(--kb); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ad_onayi { --k: var(--c-ad); --kb: var(--c-ad-bg); }
.st-revize, .st-reddedildi { --k: var(--c-rev); --kb: var(--c-rev-bg); }
.st-direktor_onayi { --k: var(--c-dir); --kb: var(--c-dir-bg); }
.st-onay_bekliyor, .st-bekliyor { --k: var(--c-cli); --kb: var(--c-cli-bg); }
.st-onaylandi, .st-tamamlandi, .st-bagli { --k: var(--green); --kb: var(--green-bg); }
.st-yayinlaniyor, .st-yayinlandi, .st-uretiliyor { --k: var(--blue); --kb: var(--blue-bg); }
.st-hata { --k: var(--red); --kb: var(--red-bg); }
.st-iptal, .st-kapali { --k: var(--label-2); --kb: var(--fill); }

.empty { text-align: center; color: var(--label-2); padding: 44px 20px 48px; background: var(--surface); border-radius: var(--radius); }
.empty .ic { width: 40px; height: 40px; color: var(--label-3); margin-bottom: 8px; }
.empty .maskot { width: 132px; height: auto; display: block; margin: 0 auto 10px; opacity: .22; }
:root[data-theme="dark"] .empty .maskot { filter: brightness(0) invert(1); opacity: .2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .empty .maskot { filter: brightness(0) invert(1); opacity: .2; } }
.empty .hand { font-size: 24px; color: var(--pembe); display: block; margin-bottom: 4px; }

/* ------------------------------------------------ gruplu listeler */
.section { margin-bottom: 32px; }
.section > h2 { font-family: var(--lead); font-weight: 400; font-size: 24px; margin: 0 0 10px; text-transform: lowercase; letter-spacing: .01em; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section > h2 .btn { font-family: var(--font); text-transform: none; min-height: 38px; padding: 6px 14px; font-size: 14px; }
.section > .foot { font-size: 13px; color: var(--label-2); margin: 8px 4px 0; }
.group { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.group > .item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 54px; position: relative; }
.group > .item + .item::before, .group > .ghead + .item::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--separator); }
.group > button.item, .group > a.item { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; text-decoration: none; color: inherit; }
.group > button.item:hover, .group > a.item:hover { background: var(--fill); }
.group > .ghead { padding: 10px 16px 8px; font-size: 13px; font-weight: 700; color: var(--label-2); background: var(--fill); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.group > .ghead .btn { min-height: 30px; padding: 2px 10px; font-size: 13px; }
.item .grow { flex: 1; min-width: 0; }
.item .sub, .swatch .sub, .logo .sub { font-size: 13px; color: var(--label-2); }
.item .ttl, .swatch .ttl, .logo .ttl, .typo .ttl { font-weight: 700; }
.item .cdot { width: 14px; height: 14px; border-radius: 50%; background: var(--bc, var(--mor)); flex: none; }
.item .chev { color: var(--label-3); }
.pad { padding: 16px; display: grid; gap: 14px; }

label.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
label.field small { font-weight: 400; color: var(--label-2); }
.input, textarea.input, select.input {
  width: 100%; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--separator); background: var(--surface); padding: 10px 12px; font-size: 16px;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus { outline: 3px solid color-mix(in srgb, var(--pembe) 45%, transparent); border-color: var(--pembe); }
input[type="color"].input { padding: 4px; height: 46px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw .eye { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--label-2); cursor: pointer; display: grid; place-items: center; border-radius: 10px; }
.pw .eye:hover { color: var(--label); }
.err { color: var(--red); font-size: 14px; min-height: 1.2em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 36px; border: 0; background: var(--fill); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 700; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 10px 2px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--mor); flex: none; }
:root[data-theme="dark"] .check input { accent-color: var(--pembe); }
.check .t { display: grid; gap: 1px; }
.check .t b { font-size: 15px; }
.check .t small { color: var(--label-2); font-size: 13px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.switch input { appearance: none; -webkit-appearance: none; width: 52px; height: 32px; border-radius: 999px; background: var(--fill-strong); position: relative; cursor: pointer; flex: none; transition: background-color .25s ease; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-ios); }
.switch input:checked { background: var(--mor); }
:root[data-theme="dark"] .switch input:checked { background: var(--pembe); }
.switch input:checked::after { transform: translateX(20px); }

/* ------------------------------------------------ alt sayfa (sheet) */
dialog#sheet {
  border: 0; padding: 0; width: min(1120px, 96vw); max-width: 96vw; height: min(92vh, 1000px); max-height: 92vh;
  border-radius: var(--radius-lg); background: var(--bg); color: var(--label); overflow: hidden; box-shadow: 0 30px 90px rgba(32, 16, 60, .4);
}
dialog#sheet.narrow { width: min(660px, 96vw); }
dialog::backdrop { background: rgba(32, 16, 60, .5); }
.sheet { display: flex; flex-direction: column; height: 100%; }
.sheethead {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--separator); min-height: 58px; flex: none;
}
.sheethead .title { font-family: var(--lead); font-size: 19px; text-align: center; letter-spacing: .01em; }
.sheethead .left { justify-self: start; }
.sheethead .right { justify-self: end; display: flex; gap: 6px; }
.grabber { display: none; }
.sheetbody { flex: 1; min-height: 0; overflow: auto; }
.sheetbody > .form { padding: 20px; display: grid; gap: 22px; }
.postview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100%; }
.postview .media { background: var(--surface-2); display: grid; place-items: center; padding: 24px; position: sticky; top: 0; height: calc(min(92vh, 1000px) - 59px); margin: 0; }
.postview .media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow); }
.postview .info { padding: 20px 22px 32px; display: grid; gap: 22px; align-content: start; }
.postview h2 { font-size: 22px; line-height: 1.25; font-weight: 700; margin-top: 8px; }
.note { background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.note.warn { background: var(--c-dir-bg); }
.note.bad { background: var(--red-bg); }
.note.rev { background: var(--c-rev-bg); }
.note .who { display: block; font-family: var(--hand); font-size: 18px; line-height: 1.1; color: var(--c-rev); margin-bottom: 4px; }
.subhead { font-size: 13px; font-weight: 700; color: var(--label-2); margin: 0 4px 8px; }

/* Aşama çizgisi */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 0; padding: 14px 8px 12px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 11px; font-weight: 700; color: var(--label-3); line-height: 1.2; padding: 0 2px; }
.steps li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: var(--fill-strong); }
.steps li:first-child::before { display: none; }
.steps li i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--fill-strong); display: grid; place-items: center; z-index: 1; }
.steps li.done { color: var(--label-2); }
.steps li.done::before, .steps li.now::before { background: var(--mor); }
.steps li.done i { background: var(--mor); border-color: var(--mor); }
.steps li.done i::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.steps li.now { color: var(--label); }
.steps li.now i { border-color: var(--pembe); background: var(--pembe); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pembe) 28%, transparent); animation: stepPulse 2.2s ease-in-out infinite; }
.steps li.rev i { border-color: var(--c-rev); background: var(--c-rev); }
.steps li small { display: block; font-weight: 400; font-size: 10.5px; color: var(--label-2); }
:root[data-theme="dark"] .steps li.done::before, :root[data-theme="dark"] .steps li.now::before { background: var(--sari); }
:root[data-theme="dark"] .steps li.done i { background: var(--sari); border-color: var(--sari); }
:root[data-theme="dark"] .steps li.done i::after { border-color: var(--koyu); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .steps li.done::before, :root:not([data-theme="light"]) .steps li.now::before { background: var(--sari); }
  :root:not([data-theme="light"]) .steps li.done i { background: var(--sari); border-color: var(--sari); }
  :root:not([data-theme="light"]) .steps li.done i::after { border-color: var(--koyu); }
}
@keyframes stepPulse { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--pembe) 30%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--pembe) 8%, transparent); } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { padding: 10px 16px; position: relative; font-size: 14px; }
.timeline li + li::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--separator); }
.timeline small { color: var(--label-2); display: block; font-size: 12px; }
.timeline small b { color: var(--label); }
.timeline p { white-space: pre-wrap; margin-top: 2px; }
.timeline .k-revize small b { color: var(--c-rev); }
.timeline .k-onay small b { color: var(--green); }
.timeline .tag { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--fill); color: var(--label-2); vertical-align: 1px; }
.timeline .tag.ortak { background: var(--c-cli-bg); color: var(--c-cli); }

/* Versiyonlar ve kaynak dosya */
.vers { display: grid; }
.ver { display: flex; align-items: center; gap: 12px; padding: 10px 14px; position: relative; }
.ver + .ver::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; border-top: 1px solid var(--separator); }
.ver .vt { width: 46px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--surface-2); flex: none; border: 0; padding: 0; cursor: pointer; overflow: hidden; }
.ver .vt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ver .vt[aria-pressed="true"] { outline: 3px solid var(--pembe); outline-offset: 2px; }
.ver .grow { flex: 1; min-width: 0; }
.ver .ttl { font-weight: 700; font-size: 14px; }
.ver .sub { font-size: 12.5px; color: var(--label-2); overflow-wrap: anywhere; }
.ver .btn { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.drop { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 18px 14px; border: 2px dashed var(--separator); border-radius: 14px; cursor: pointer; color: var(--label-2); font-size: 14px; background: var(--surface); transition: border-color .2s ease, background-color .2s ease; }
.drop:hover, .drop.over { border-color: var(--pembe); background: color-mix(in srgb, var(--pembe) 8%, var(--surface)); }
.drop b { color: var(--label); }
.drop .ic { color: var(--tint); }
.files { display: grid; gap: 8px; }
.filerow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--fill); font-size: 13px; }
.filerow img, .filerow .fic { width: 40px; height: 50px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex: none; display: grid; place-items: center; color: var(--tint); }
.filerow .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.filerow .warn { color: var(--c-cli); display: block; }
.progress { height: 6px; border-radius: 99px; background: var(--fill-strong); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--pembe); border-radius: 99px; transition: width .25s ease; }

/* ------------------------------------------------ reklam */
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.picker button { border: 0; padding: 0; background: var(--surface-2); border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4 / 5; }
.picker img { width: 100%; height: 100%; object-fit: contain; display: block; }
.picker button[aria-pressed="true"] { outline: 3px solid var(--pembe); outline-offset: 2px; }
.picker button[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.adthumb { width: 56px; height: 70px; object-fit: contain; border-radius: 8px; background: var(--surface-2); flex: none; align-self: flex-start; }
.total { font-size: 16px; }
.total b { font-family: var(--lead); font-weight: 400; font-size: 22px; }
.st-ad-talep { --k: var(--c-cli); --kb: var(--c-cli-bg); }
.st-ad-onaylandi, .st-ad-tamamlandi { --k: var(--green); --kb: var(--green-bg); }
.st-ad-yayinda { --k: var(--blue); --kb: var(--blue-bg); }
.st-ad-reddedildi { --k: var(--c-rev); --kb: var(--c-rev-bg); }
.st-ad-iptal { --k: var(--label-2); --kb: var(--fill); }

/* ------------------------------------------------ kurumsal kimlik */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.logo { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.logo .pv { height: 140px; display: grid; place-items: center; padding: 22px; background: #ffffff; }
.logo .pv.koyu { background: #202020; }
.logo .pv img { max-height: 76px; }
.logo .ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 12px 16px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.swatch { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; padding: 0; text-align: left; cursor: pointer; }
.swatch .chipc { height: 84px; border-bottom: 1px solid var(--separator); }
.swatch .tx { padding: 10px 14px 14px; display: grid; gap: 2px; }
.swatch code { font: 700 14px ui-monospace, "SF Mono", Menlo, monospace; }
.typo { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 10px; margin-bottom: 14px; }
.typo .aa { font-size: 64px; line-height: 1; }
.typo .glyphs { font-size: 20px; overflow-wrap: anywhere; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { display: flex; gap: 12px; padding: 12px 16px; position: relative; align-items: flex-start; }
.rules li + li::before { content: ""; position: absolute; top: 0; left: 50px; right: 0; border-top: 1px solid var(--separator); }
.rules.yes .ic { color: var(--green); }
.rules.no .ic { color: var(--red); }

/* ------------------------------------------------ üretim */
.station { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--koyu); color: #fff; margin-bottom: 22px; flex-wrap: wrap; }
.station .lamp { width: 14px; height: 14px; border-radius: 50%; background: #6b6b6b; flex: none; }
.station.on .lamp { background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); animation: livepulse 2s infinite; }
.station.off .lamp { background: var(--pembe); }
.station .grow { flex: 1; min-width: 200px; }
.station b { font-family: var(--lead); font-weight: 400; font-size: 21px; line-height: 1.2; text-transform: lowercase; color: var(--sari); display: block; }
.station span { font-size: 13px; color: rgba(255, 255, 255, .76); }
.runcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.runcard { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.runcard .hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; border-top: 6px solid var(--bc, var(--mor)); }
.runcard .hd .grow { flex: 1; min-width: 0; }
.runcard .hd b { font-size: 16px; display: block; }
.runcard .hd small { color: var(--label-2); font-size: 13px; }
.runcard .deal { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.runcard .deal span { padding: 3px 10px; border-radius: 999px; background: var(--fill); font-size: 12.5px; font-weight: 700; }
.runcard .next { margin: 0 16px 12px; padding: 12px 14px; border-radius: 12px; background: var(--c-dir-bg); font-size: 14px; }
.runcard .next.off { background: var(--fill); color: var(--label-2); }
.runcard .next b { display: block; font-family: var(--lead); font-weight: 400; font-size: 18px; text-transform: lowercase; line-height: 1.25; }
.runcard .runs { border-top: 1px solid var(--separator); }
.runrow { display: flex; align-items: center; gap: 10px; padding: 10px 16px; width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; font-size: 14px; position: relative; }
.runrow + .runrow::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--separator); }
.runrow:hover { background: var(--fill); }
.runrow .grow { flex: 1; min-width: 0; }
.runcard .ft { margin-top: auto; padding: 12px 16px 16px; display: flex; gap: 10px; }
.runcard .ft .btn { flex: 1; }
pre.log { margin: 0; padding: 14px 16px; background: var(--koyu); color: #e9e4f2; border-radius: 12px; font: 12.5px/1.55 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 50vh; overflow: auto; }

/* ------------------------------------------------ giriş */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden; }
main.login { margin: 0; max-width: none; width: 100%; }
.login .bars { position: absolute; inset: auto 0 0 0; height: 34vh; display: grid; grid-template-columns: 1fr 1fr 1fr; pointer-events: none; }
.login .bars i { display: block; transform-origin: bottom; animation: barUp .7s var(--ease-ios) both; }
.login .bars i:nth-child(1) { background: var(--pembe); height: 62%; align-self: end; }
.login .bars i:nth-child(2) { background: var(--mor); height: 100%; align-self: end; animation-delay: .08s; }
.login .bars i:nth-child(3) { background: var(--sari); height: 78%; align-self: end; animation-delay: .16s; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: none; } }
.login form { position: relative; width: min(420px, 100%); display: grid; gap: 16px; background: var(--surface); padding: 28px 26px 26px; border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(32, 16, 60, .22); }
.login img.lg { display: block; width: 210px; margin: 0 auto 2px; animation: modalIn .6s var(--ease-spring); }
.login h1 { text-align: center; font-family: var(--hand); font-weight: 400; font-size: 30px; line-height: 1; color: var(--pembe); }
.login .lead2 { text-align: center; color: var(--label-2); margin-top: -8px; font-size: 14px; }
.splash { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.splash img { height: 120px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.93); opacity: .7; } }

#toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); z-index: 60; display: flex; align-items: center; gap: 9px;
  background: rgba(32, 32, 32, .94); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: .22s ease; max-width: calc(100vw - 32px); backdrop-filter: blur(12px);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: #c4150f; }
#toast .ic { width: 20px; height: 20px; }
#toast:not(.bad) .ic { color: var(--sari); }

/* ------------------------------------------------ iOS tarzı uyarı */
dialog.alert { border: 0; padding: 0; width: min(320px, calc(100vw - 48px)); border-radius: 20px; overflow: hidden; color: var(--label);
  background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
dialog.alert[open] { animation: alertIn .32s var(--ease-spring); }
dialog.alert[open]::backdrop { animation: fadeIn .2s ease; }
dialog.alert.closing, dialog.alert.closing::backdrop { animation: fadeOut .17s ease forwards; }
@keyframes alertIn { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
.al-body { padding: 22px 18px 18px; text-align: center; display: grid; gap: 6px; }
.al-body h2 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.al-body p { font-size: 14px; color: var(--label-2); line-height: 1.4; }
.al-body .input { margin-top: 8px; }
.al-btns { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--separator); }
.al-btns button { min-height: 50px; border: 0; background: transparent; color: var(--tint); font-size: 16px; cursor: pointer; transition: background-color .15s ease; }
.al-btns button + button { border-left: 1px solid var(--separator); }
.al-btns button:hover { background: var(--fill); }
.al-btns button:focus-visible { outline-offset: -3px; }
.al-btns .strong { font-weight: 700; }
.al-btns .danger { color: var(--red); font-weight: 700; }

/* ------------------------------------------------ görsel ekleri */
.att { display: flex; gap: 8px; flex-wrap: wrap; }
.att-item { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-2); animation: msgIn .3s var(--ease-spring) both; }
.att-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s ease; }
.att-item.loading img { opacity: .45; }
.att-item.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #fff; border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes msgIn { from { opacity: 0; transform: scale(.9) translateY(8px); } to { opacity: 1; transform: none; } }
.att-x { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.att-x .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.att-grid { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 6px; }
.att-grid a { display: block; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.att-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------------------------------ carousel, video */
.car { position: relative; width: 100%; max-width: calc((min(92vh, 1000px) - 59px - 48px - 34px) * .8); display: grid; gap: 12px; }
.car-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; border-radius: 12px; box-shadow: var(--shadow); scrollbar-width: none; overscroll-behavior-x: contain; background: var(--surface); }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid var(--pembe); outline-offset: 3px; }
.car-slide { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: center; scroll-snap-stop: always; }
.car-slide a { display: block; width: 100%; height: 100%; }
.postview .media .car-slide img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }
.car-nav { position: absolute; top: calc(50% - 17px); transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #202020; cursor: pointer; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); transition: opacity .25s ease, transform .15s ease; }
.car-nav .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.car-nav.prev { left: 10px; }
.car-nav.next { right: 10px; }
.car-nav:disabled { opacity: 0; pointer-events: none; }
.car-nav:active { transform: translateY(-50%) scale(.9); }
.car-count { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(32, 32, 32, .66); color: #fff; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; }
.car-count.pop { animation: pop .4s var(--ease-spring); }
.car-dots { display: flex; justify-content: center; flex-wrap: wrap; }
.car-dots button { width: 20px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: width .35s var(--ease-ios); }
.car-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--fill-strong); transition: width .35s var(--ease-ios), background-color .3s ease; }
.car-dots button[aria-current="true"] { width: 30px; }
.car-dots button[aria-current="true"]::before { width: 20px; background: var(--pembe); }
@media (hover: none) and (pointer: coarse) { .car-nav { display: none; } }
.postview .media.vid video { max-width: 100%; max-height: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; box-shadow: var(--shadow); }
.oldver { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: var(--pembe); color: var(--koyu); font-size: 12px; font-weight: 700; }

/* ------------------------------------------------ DanAI yan sohbet */
.nav .navact { font: inherit; border: 0; background: transparent; cursor: pointer; text-align: left; width: 100%; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px;
  border-radius: 12px; color: var(--sari); font-weight: 700; font-size: 15px; margin-top: 8px; box-shadow: inset 0 0 0 1.5px rgba(240, 203, 18, .45); }
.nav .navact .ic { color: var(--sari); }
.nav .navact:hover { background: rgba(240, 203, 18, .14); }
.tabbar .fabtab, .topbar .acct { display: none; }
.danaifab {
  position: fixed; right: 24px; bottom: 24px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  color: var(--mor); background: var(--sari); box-shadow: 0 10px 30px rgba(74, 38, 129, .35); display: grid; place-items: center;
  transition: transform .35s var(--ease-spring), opacity .25s ease;
}
.danaifab .ic { width: 28px; height: 28px; stroke-width: 2.1; }
.danaifab:hover { transform: scale(1.07) rotate(-6deg); }
.danaifab:active { transform: scale(.94); }
body.danai-open .danaifab { opacity: 0; transform: scale(.6); pointer-events: none; }
.danai {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 45;
  background: var(--bg); border-left: 1px solid var(--separator); box-shadow: -24px 0 70px rgba(32, 16, 60, .2);
  display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden;
  transition: transform .46s var(--ease-ios), visibility 0s linear .46s;
}
.danai.open { transform: none; visibility: visible; transition: transform .46s var(--ease-ios), visibility 0s; }
.danai .grabber { display: none; }
.fhead { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; min-height: 64px; background: var(--mor); color: #fff; }
.fhead h2 { font-family: var(--lead); font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--sari); }
.fhead .grow { flex: 1; min-width: 0; }
.fhead .sub { font-size: 12.5px; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fhead .iconbtn { background: rgba(255, 255, 255, .12); color: #fff; }
.fhead .iconbtn[aria-pressed="true"] { background: var(--sari); color: var(--koyu); }
.fhead .btn.plain { color: #fff; }
.aiav { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--sari); color: var(--mor); }
.aiav .ic { width: 21px; height: 21px; }
.aiav.lg { width: 64px; height: 64px; margin: 0 auto 4px; }
.aiav.lg .ic { width: 34px; height: 34px; }
.flog { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.fwelcome { margin: auto 0; text-align: center; display: grid; gap: 8px; padding: 10px 6px; }
.fwelcome .hi { font-size: 28px; line-height: 1; color: var(--pembe); }
.fwelcome .chips { justify-content: center; margin-top: 8px; }
.fwelcome .chip { text-align: left; font-weight: 400; }
.fwelcome .btn.plain { justify-self: center; margin-top: 6px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; animation: msgIn .34s var(--ease-spring) both; }
.msg p { margin: 0 0 8px; }
.msg p:last-of-type { margin-bottom: 0; }
.msg ul, .msg ol { margin: 4px 0 8px; padding-left: 20px; }
.msg li + li { margin-top: 3px; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; transform-origin: bottom right; }
.msg.ai { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 6px; box-shadow: var(--shadow); transform-origin: bottom left; }
.msg.err { background: var(--red-bg); color: var(--red); }
.msg .copy { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 0; background: var(--fill); color: var(--label-2); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 30px; }
.msg .copy:hover { color: var(--label); }
.msg.user .att-grid { justify-content: flex-end; }
.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--pembe); animation: dot 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.att.fatt { padding: 8px 12px 0; background: var(--surface); border-top: 1px solid var(--separator); }
.compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--separator); background: var(--surface); }
.compose textarea { flex: 1; min-height: 44px; max-height: 160px; resize: none; border-radius: 22px; border: 1.5px solid var(--separator); background: var(--surface); padding: 10px 16px; font-size: 16px; line-height: 1.35; }
.compose textarea:focus { outline: 3px solid color-mix(in srgb, var(--pembe) 45%, transparent); border-color: var(--pembe); }
.send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .15s ease, opacity .2s ease; }
.send .ic { stroke-width: 2.4; }
.send:active { transform: scale(.92); }
.send:disabled { opacity: .4; }
.dropzone { position: absolute; inset: 64px 10px 10px; border: 2.5px dashed var(--pembe); border-radius: 18px; display: none; place-items: center; align-content: center; gap: 8px;
  background: color-mix(in srgb, var(--pembe) 12%, var(--bg)); color: var(--tint); font-weight: 700; pointer-events: none; z-index: 2; }
.dropzone .ic { width: 40px; height: 40px; }
.danai.dragging .dropzone { display: grid; animation: fadeIn .2s ease; }
.fhist { display: grid; gap: 8px; }
.fhist .item.thread { padding: 4px 6px 4px 4px; }
.fhist .tbtn { display: grid; gap: 2px; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 10px; cursor: pointer; min-height: 52px; min-width: 0; }
.fhist .tbtn .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fhist .tbtn:hover { background: var(--fill); }
.fhist .item.current .ttl { color: var(--tint); }
@media (min-width: 1300px) {
  main { transition: margin-right .46s var(--ease-ios); }
  body.danai-open main { margin-right: 440px; }
}

/* ------------------------------------------------ canlı saat, çevrimiçi, görenler */
.nowbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: -4px 0 18px; }
.clock { display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; color: var(--label-2); }
.clock .t { font-weight: 700; color: var(--label); font-variant-numeric: tabular-nums; min-width: 5.2em; }
.presstrip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 10px; border: 0; border-radius: 999px; background: var(--green-bg); color: var(--label); font-size: 13px; cursor: pointer; max-width: 100%; }
.presstrip .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.presstrip:active, .pres:active, .presside:active { transform: scale(.97); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .55); } 70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.av { --av: var(--mor); position: relative; width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--av); color: var(--avt, #fff); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.av.lg { width: 38px; height: 38px; font-size: 14px; }
.av .dot { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #34c759; border: 2px solid var(--surface); }
.avs { display: inline-flex; }
.avs .av { border: 2px solid var(--surface); margin-left: -8px; }
.avs .av:first-child { margin-left: 0; }
.pres { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px; cursor: pointer; color: var(--label-2); font-size: 13px; font-weight: 700; }
.presside { display: grid; gap: 8px; margin: 0 4px; padding: 10px 12px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; text-align: left; cursor: pointer; }
.presside .lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.presside .avs .av { border-color: var(--mor); }
.plist { list-style: none; margin: 0; padding: 0; }
.prow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; position: relative; }
.prow + .prow::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; border-top: 1px solid var(--separator); }
.prow .av { width: 32px; height: 32px; font-size: 12px; }
.prow .ttl { font-weight: 700; font-size: 14px; }
.prow .sub { color: var(--label-2); font-size: 13px; }
.prow .grow { flex: 1; min-width: 0; }

#ptr { position: fixed; top: calc(env(safe-area-inset-top) + 6px); left: 50%; z-index: 30; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); color: var(--label-2); box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
  opacity: 0; transform: translate(-50%, 0) scale(.6); transition: transform .4s var(--ease-ios), opacity .25s ease; pointer-events: none; }
#ptr .ic { width: 22px; height: 22px; stroke-width: 2.3; }
#ptr.armed .ic, #ptr.spin .ic { color: var(--pembe); }
#ptr.spin .ic { animation: spin .75s linear infinite; }
@media (min-width: 900px) { #ptr { display: none; } }

/* ------------------------------------------------ telefon */
@media (max-width: 899px) {
  .side { display: none; }
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  main { margin: 0; padding: 0 16px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 28px);
    height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
  /* Yalnızca yukarı-aşağı: hiçbir alan yana kaymaz */
  .segmented button { flex: 1 1 0; min-width: 0; padding: 6px 2px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sheetbody { overflow-x: hidden; }
  .topbar {
    position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 0 -16px 8px; padding: calc(env(safe-area-inset-top) + 8px) 16px 8px; min-height: 56px;
    border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease;
  }
  .topbar.edge { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--separator); }
  .topbar .tm { display: flex; align-items: center; gap: 8px; text-decoration: none; }
  .topbar .tm img { height: 30px; width: auto; display: block; }
  .topbar .toptitle { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 6px); font-family: var(--lead); font-size: 19px; text-transform: lowercase; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .3s var(--ease-ios); }
  .topbar.titled .toptitle { opacity: 1; transform: translate(-50%, 0); }
  .topbar .right { display: inline-flex; align-items: center; gap: 6px; }
  .topbar select.pill { width: auto; max-width: 46vw; min-height: 36px; padding: 6px 32px 6px 12px; font-size: 14px; }
  .pagehead h1 { font-size: 38px; }
  .tabbar {
    display: grid; grid-template-columns: 1fr 76px 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 4px 4px env(safe-area-inset-bottom); min-height: var(--tabbar-h); background: var(--mor);
  }
  .tabbar .tg { display: flex; min-width: 0; }
  .tabbar a { position: relative; flex: 1 1 0; min-width: 0; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; text-decoration: none; color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 700; border-radius: 12px; transition: color .2s ease; }
  .tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar a .ic { width: 26px; height: 26px; }
  .tabbar a[aria-current="page"] { color: var(--sari); }
  .tabbar a .count { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pembe); color: var(--koyu); font-size: 11px; display: grid; place-items: center; }
  /* DanAI: çubuğun tam ortasında yükseltilmiş düğme */
  .tabbar .fabtab { border: 0; background: transparent; cursor: pointer; display: grid; justify-items: center; align-content: end; gap: 3px; padding: 0 0 5px; color: var(--sari); font: 700 11px var(--font); }
  .tabbar .fabtab .fab { position: relative; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; background: var(--sari); color: var(--mor);
    box-shadow: 0 0 0 5px var(--mor), 0 10px 24px rgba(0, 0, 0, .3); transition: transform .35s var(--ease-spring); }
  .tabbar .fabtab .fab .ic { width: 29px; height: 29px; stroke-width: 2.1; }
  .tabbar .fabtab:active .fab { transform: scale(.9); }
  .tabbar .fabtab .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; animation: fabPulse 3.2s ease-out 1.2s infinite; }
  @keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(240, 203, 18, .5); } 60%, 100% { box-shadow: 0 0 0 14px transparent; } }
  .topbar .acct { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; }
  .topbar .acct .av { width: 34px; height: 34px; font-size: 13px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stats.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats.six .stat { padding: 12px 10px 11px 14px; min-height: 80px; }
  .stats.six .stat b { font-size: 26px; }
  .stats.six .stat span { font-size: 11.5px; }
  .stats.six .stat.mine::after { display: none; }
  .monthbar h2 { min-width: 0; flex: 1; }
  .grid { gap: 6px; }
  .grid .card { border-radius: 10px; }
  .grid .card:hover { transform: none; }
  .grid .card .meta { padding: 6px 6px 8px; gap: 4px; }
  .grid .card .title, .grid .card .kind, .grid .card .row .muted { display: none; }
  .grid .card .when { font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .grid .card .pill { font-size: 10px; padding: 2px 6px; gap: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .grid .card .pill::before { width: 5px; height: 5px; flex: none; }
  .grid .thumb .badge { top: 4px; right: 4px; padding: 2px 5px; font-size: 10px; }
  .grid .thumb .bchip { left: 4px; bottom: 4px; font-size: 10px; padding: 2px 6px; max-width: calc(100% - 8px); }
  .kgrid { grid-template-columns: 1fr; }
  .runcards { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logos { grid-template-columns: 1fr; }
  .four { grid-template-columns: repeat(2, 1fr); }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar select.pill { width: 100%; }
  .toolbar .grow:empty { display: none; }
  .toolbar .segmented { width: 100%; }
  #toast { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px); }
  dialog#sheet, dialog#sheet.narrow { width: 100vw; max-width: 100vw; height: calc(100dvh - 10px); max-height: none; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .grabber { display: block; width: 38px; height: 5px; border-radius: 3px; background: var(--fill-strong); margin: 6px auto 0; flex: none; cursor: grab; }
  .grabber, .sheethead { touch-action: none; }
  .postview { grid-template-columns: 1fr; }
  .postview .media { position: static; height: auto; padding: 16px; }
  .postview .media img { max-height: 58vh; }
  .postview .info { padding: 16px 16px 40px; }
  .car { max-width: min(100%, calc(58vh * .8)); }
  .postview .media.vid video { max-height: 62vh; }
  .login .bars { height: 22vh; }
  .danaifab { display: none; }
  .tabbar .fabtab { display: grid; }
  .topbar .acct { display: grid; }
  .danai { top: auto; width: 100vw; height: calc(100dvh - 10px); border-left: 0; border-radius: 16px 16px 0 0; overflow: hidden; transform: translateY(104%); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
  .danai .grabber { display: block; position: absolute; top: 6px; left: 50%; margin-left: -19px; background: rgba(255, 255, 255, .45); z-index: 1; }
  .danai .fhead { padding-top: 18px; touch-action: none; }
  dialog#sheet[open] { animation: sheetUp .5s var(--ease-ios); }
  dialog#sheet.closing { animation: sheetDown .32s cubic-bezier(.4, 0, 1, 1) forwards; }
}

/* ------------------------------------------------ hareket */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: scale(.94) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: scale(.96) translateY(10px); } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { from { transform: translateY(var(--drag, 0px)); } to { transform: translateY(105%); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideFromR { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes slideFromL { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes tabPop { 0% { transform: scale(1); } 35% { transform: scale(.8); } 70% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-9px); } 40%, 60% { transform: translateX(9px); } }

@media (min-width: 900px) {
  dialog#sheet[open] { animation: modalIn .34s var(--ease-ios); }
  dialog#sheet.closing { animation: modalOut .22s ease forwards; }
}
dialog#sheet[open]::backdrop { animation: fadeIn .3s ease; }
dialog#sheet.closing::backdrop { animation: fadeOut .24s ease forwards; }
.sheetbody.swap { animation: fadeIn .22s ease; }
main.page-in { animation: pageIn .38s var(--ease-ios); }
#monthbody.from-r { animation: slideFromR .42s var(--ease-ios); }
#monthbody.from-l { animation: slideFromL .42s var(--ease-ios); }
.stagger .card, .stagger .runcard { animation: cardIn .5s var(--ease-ios) both; animation-delay: calc(var(--i, 0) * 30ms); }
.swap { animation: fadeIn .25s ease; }
.btn, .chip, .iconbtn, .stat, .card, .segmented button, .swatch { transition: transform .14s ease, filter .2s ease, background-color .2s ease, opacity .2s ease; }
.btn:active:not(:disabled), .chip:active, .iconbtn:active:not(:disabled), .stat:active, .swatch:active { transform: scale(.96); }
.nav a.pop .ic, .tabbar a.pop .ic { animation: tabPop .42s var(--ease-spring); }
.pill.pop { animation: pop .45s var(--ease-spring); }
.shake { animation: shake .45s ease; }
.thumb, .postview .media, .logo .pv:not(.koyu) {
  background-image: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--label) 7%, transparent) 50%, transparent 70%);
  background-size: 250% 100%; animation: shimmer 1.3s linear infinite;
}
.thumb:has(img.ok), .postview .media:has(img.ok), .postview .media.vid, .logo .pv:has(img.ok) { animation: none; background-image: none; }
.thumb img, .postview .media img { opacity: 0; transition: opacity .4s ease, transform .4s var(--ease-ios); transform: scale(.985); }
.thumb img.ok, .postview .media img.ok { opacity: 1; transform: none; }
body, .group, .card, .stat, .callout, .sheethead { transition: background-color .3s ease, color .3s ease, border-color .3s ease; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .thumb img, .postview .media img { opacity: 1; transform: none; }
}
@media (prefers-contrast: more) { :root { --separator: rgba(32, 32, 32, .5); --label-2: rgba(32, 32, 32, .9); } }

/* ------------------------------------------------ profil resmi, künye, yer değiştirme */
.av.img { background: var(--surface-2); }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.av.xl { width: 64px; height: 64px; font-size: 22px; }
.btn.sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.err.okmsg { color: var(--green); }
.kgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.kcard { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.kcard .grow { min-width: 0; }
.kcard .ttl { font-weight: 700; font-size: 16px; }
.kcard .sub { color: var(--label-2); font-size: 13px; margin-top: 1px; }
.klinks { display: grid; gap: 4px; margin-top: 8px; }
.klinks a { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; font-size: 14px; color: var(--tint); text-decoration: none; min-width: 0; }
.klinks a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.klinks a:hover span { text-decoration: underline; }
.movegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mv { border: 0; padding: 0; background: var(--surface-2); border-radius: 10px; overflow: hidden; cursor: pointer; display: grid; text-align: center; color: var(--label); font: 600 11px var(--font); transition: transform .15s ease; }
.mv:hover, .mv:focus-visible { transform: scale(1.03); box-shadow: 0 0 0 3px var(--sari); }
.mv img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.mv span { padding: 5px 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 899px) { .kgrid { grid-template-columns: 1fr; } .av.xl { width: 56px; height: 56px; font-size: 19px; } }
@media (max-width: 899px) { .topbar:has(select.pill) .toptitle { display: none; } }

/* ------------------------------------------------ sürükleyerek yer değiştirme */
.grip { position: absolute; top: 8px; left: 8px; width: 40px; height: 30px; border-radius: 999px; display: grid; place-items: center; cursor: grab; touch-action: none;
  background: rgba(32, 32, 32, .66); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .15s ease, background-color .15s ease; }
.grip .ic { width: 22px; height: 22px; }
.grip:hover { background: var(--mor); transform: scale(1.06); }
.grip:active { cursor: grabbing; }
.card.dragging { opacity: .35; }
.card.ghost { box-shadow: 0 18px 44px rgba(32, 16, 60, .35); transform: rotate(-2deg) scale(1.03); opacity: .96; }
.card.droptarget { box-shadow: 0 0 0 4px var(--pembe), var(--shadow); transform: scale(.97); }
@media (max-width: 899px) { .grip { top: 4px; left: 4px; width: 32px; height: 24px; } .grip .ic { width: 18px; height: 18px; } }
