/* NexSearch — stil
   Liquid glass: arkada yavaş akan renk kütleleri, üstünde yarı saydam, bulanıklaştıran katmanlar.
   Tek vurgu rengi (yeşil): odak, ana eylem, etkin sekme, hızlı arama kısaltmaları. */

:root {
  --bg: #06080c;
  --bg-2: #0e1218;
  --bg-3: #171c25;
  --ink: #f4f7fb;
  --ink-2: rgba(236, 241, 248, .8);
  --ink-3: rgba(236, 241, 248, .64);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --accent: #3ddc84;
  --accent-soft: rgba(61, 220, 132, .18);
  --accent-ink: #04140b;
  --ok: #3ddc84;
  --warn: #e7b341;
  --danger: #ff7a69;

  /* Cam yüzeyi */
  --g-fill: rgba(255, 255, 255, .055);
  --g-fill-2: rgba(255, 255, 255, .11);
  --g-border: linear-gradient(150deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .08) 28%, rgba(255, 255, 255, .03) 62%, rgba(255, 255, 255, .22));
  --g-spec: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 -1px 0 rgba(0, 0, 0, .25), inset 0 0 28px rgba(255, 255, 255, .02);
  --g-drop: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 34px -18px rgba(0, 0, 0, .65);
  --g-glare: rgba(255, 255, 255, .13);
  --g-blur: blur(22px) saturate(170%);
  --a1: rgba(61, 220, 132, .3);
  --a2: rgba(18, 138, 150, .32);
  --a3: rgba(44, 84, 150, .28);

  --f-brand: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-s: 8px;
  --r-m: 16px;
  --r-l: 24px;
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #eaf0f1; --bg-2: #ffffff; --bg-3: #e3eaec;
  --ink: #0b1116; --ink-2: #3b454f; --ink-3: #566170;
  --line: rgba(11, 17, 22, .1); --line-2: rgba(11, 17, 22, .2);
  --accent: #137043; --accent-soft: rgba(19, 112, 67, .13); --accent-ink: #ffffff;
  --ok: #137043; --warn: #8f6200; --danger: #b8321e;
  --g-fill: rgba(255, 255, 255, .56);
  --g-fill-2: rgba(255, 255, 255, .82);
  --g-border: linear-gradient(150deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, .4) 40%, rgba(11, 17, 22, .06) 75%, rgba(11, 17, 22, .14));
  --g-spec: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(11, 17, 22, .04);
  --g-drop: 0 1px 2px rgba(11, 17, 22, .06), 0 18px 34px -20px rgba(11, 17, 22, .22);
  --g-glare: rgba(255, 255, 255, .7);
  --a1: rgba(61, 220, 132, .38);
  --a2: rgba(70, 185, 200, .36);
  --a3: rgba(120, 160, 225, .3);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    --bg: #eaf0f1; --bg-2: #ffffff; --bg-3: #e3eaec;
    --ink: #0b1116; --ink-2: #3b454f; --ink-3: #566170;
    --line: rgba(11, 17, 22, .1); --line-2: rgba(11, 17, 22, .2);
    --accent: #137043; --accent-soft: rgba(19, 112, 67, .13); --accent-ink: #ffffff;
    --ok: #137043; --warn: #8f6200; --danger: #b8321e;
    --g-fill: rgba(255, 255, 255, .56);
    --g-fill-2: rgba(255, 255, 255, .82);
    --g-border: linear-gradient(150deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, .4) 40%, rgba(11, 17, 22, .06) 75%, rgba(11, 17, 22, .14));
    --g-spec: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(11, 17, 22, .04);
    --g-drop: 0 1px 2px rgba(11, 17, 22, .06), 0 18px 34px -20px rgba(11, 17, 22, .22);
    --g-glare: rgba(255, 255, 255, .7);
    --a1: rgba(61, 220, 132, .38);
    --a2: rgba(70, 185, 200, .36);
    --a3: rgba(120, 160, 225, .3);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 80; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: var(--r-s); }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
svg.i { width: 16px; height: 16px; flex: none; }

/* ── Arka plan: yavaş akan renk kütleleri (yalnızca transform animasyonu, GPU katmanı) ── */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) {
  width: 62vmax; height: 62vmax; left: -18vmax; top: -26vmax;
  background: radial-gradient(closest-side, var(--a1), transparent 72%);
  animation: drift-a 38s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 70vmax; height: 70vmax; right: -28vmax; top: 6vmax;
  background: radial-gradient(closest-side, var(--a2), transparent 72%);
  animation: drift-b 46s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 58vmax; height: 58vmax; left: 8vmax; bottom: -34vmax;
  background: radial-gradient(closest-side, var(--a3), transparent 72%);
  animation: drift-c 52s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(16vmax, 12vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-18vmax, 10vmax, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(20vmax, -14vmax, 0) scale(1.12); } }

/* ── Cam katmanı: dolgu + bulanıklık + 1px gradyan kenar + üst kenar parlaması + imleç ışığı ── */
.dock, .bar, .suggest, .tile-go, .list, .panel, .btn, .status, .modal, .toast, .seg, .table-wrap, .kbd-panel, .settings {
  position: relative;
  background-color: var(--g-fill);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  box-shadow: var(--g-spec), var(--g-drop);
}
.dock::before, .bar::before, .suggest::before, .tile-go::before, .list::before, .panel::before, .btn::before,
.status::before, .modal::before, .toast::before, .seg::before, .table-wrap::before, .kbd-panel::before, .settings::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--g-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bar::after, .tile-go::after, .list::after, .panel::after, .btn::after, .dock::after, .table-wrap::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--g-glare), transparent 65%);
  transition: opacity .35s var(--ease);
}
.tile-go:hover::after, .list:hover::after, .panel:hover::after, .btn:hover::after, .bar:hover::after, .bar:focus-within::after { opacity: 1; }
.dock:hover::after { opacity: .6; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  /* Cam desteklenmiyorsa okunur, opak yüzey. */
  .dock, .bar, .suggest, .tile-go, .list, .panel, .btn, .status, .modal, .toast, .seg, .table-wrap, .kbd-panel, .settings { background-color: var(--bg-2); }
  .suggest, .modal { background-color: var(--bg-3); }
}

/* ── Giriş animasyonu: kademeli yükselme ── */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
.page-head .wrap > *, main .wrap > *, .hero > * { animation: rise .8s var(--ease) backwards; }
main .wrap > :nth-child(1), .page-head .wrap > :nth-child(1), .hero > :nth-child(1) { animation-delay: 60ms; }
main .wrap > :nth-child(2), .page-head .wrap > :nth-child(2), .hero > :nth-child(2) { animation-delay: 140ms; }
main .wrap > :nth-child(3), .page-head .wrap > :nth-child(3) { animation-delay: 220ms; }
main .wrap > :nth-child(4) { animation-delay: 290ms; }
main .wrap > :nth-child(5) { animation-delay: 350ms; }
main .wrap > :nth-child(n+6) { animation-delay: 400ms; }
.home > .hero { animation: none; }
.home > .searchbox { animation-delay: 220ms; }
.home > .under { animation-delay: 290ms; }
.home > .bangs { animation-delay: 340ms; }
.home > .dash { animation-delay: 420ms; }
.dock { animation: rise .7s var(--ease) backwards; }

/* ── Üst çubuk ── */
.top { position: sticky; top: 0; z-index: 40; padding-top: 12px; pointer-events: none; }
.dock {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px 8px 18px;
  border-radius: 999px;
}
.mark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-brand); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; text-decoration: none; }
.mark svg { width: 26px; height: 26px; flex: none; }
.nav { position: relative; display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; z-index: 1; text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; white-space: nowrap; transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav:not(.has-pill) a[aria-current="page"] { background: var(--g-fill-2); box-shadow: var(--g-spec); }

/* Kayan cam hap */
.pill {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 999px;
  width: var(--w, 0); height: var(--h, 0); transform: translate3d(var(--x, 0), var(--y, 0), 0);
  background: var(--g-fill-2); box-shadow: var(--g-spec), 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .25s;
}
.pill.accent { background: var(--accent-soft); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.pill.no-anim { transition: none; }

.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: var(--ink-2);
  border: 0; border-radius: 999px; padding: 6px 13px 6px 11px; cursor: pointer; white-space: nowrap;
  font-variant-numeric: tabular-nums; box-shadow: var(--g-spec);
  transition: color .2s, background-color .2s;
}
.status:hover { color: var(--ink); background-color: var(--g-fill-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status[data-state="wait"] i { animation: breathe 1.4s ease-in-out infinite; }
.status[data-state="ok"] i { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 24%, transparent); }
.status[data-state="slow"] i { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 24%, transparent); }
.status[data-state="down"] i { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 24%, transparent); }
@keyframes breathe { 50% { opacity: .3; } }

main { flex: 1; }

/* ── Ana sayfa ── */
.home { padding-top: clamp(40px, 9vh, 92px); padding-bottom: 72px; }
.hero { max-width: 760px; margin-bottom: 36px; }
.hero h1 {
  font-family: var(--f-brand); font-weight: 800; font-size: clamp(2.5rem, 6.6vw, 4.75rem);
  line-height: 1; letter-spacing: -.035em; margin: 0; text-wrap: balance;
}
.hero p { margin: 18px 0 0; color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 34rem; }

.searchbox { position: relative; z-index: 5; }
.bar {
  display: flex; align-items: center; gap: 6px; border-radius: 28px; padding: 6px;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.bar:focus-within {
  transform: scale(1.012); background-color: var(--g-fill-2);
  box-shadow: var(--g-spec), 0 0 0 4px var(--accent-soft), 0 22px 60px -22px color-mix(in srgb, var(--accent) 55%, transparent);
}
.bar:focus-within::before { background: linear-gradient(150deg, var(--accent), rgba(255, 255, 255, .18) 40%, rgba(255, 255, 255, .06) 70%, color-mix(in srgb, var(--accent) 70%, transparent)); }
.searchbox.open .bar { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.bar .lead { width: 22px; height: 22px; color: var(--ink-3); margin: 0 4px 0 16px; flex: none; transition: color .3s; }
.bar:focus-within .lead { color: var(--accent); }
.bar input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none; border-radius: 0;
  padding: 14px 8px; font-size: 1.15rem; font-weight: 500;
}
.bar input::placeholder { color: var(--ink-3); font-weight: 400; }
.bar input::-webkit-search-cancel-button { display: none; }
.icon-btn { width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; flex: none; transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--g-fill-2); color: var(--ink); }
.engine-pick { position: relative; flex: none; }
.engine-pick select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 11px 30px 11px 14px; font-size: .92rem; font-weight: 500; color: var(--ink-2); border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.engine-pick select:hover { color: var(--ink); background: var(--g-fill-2); }
.engine-pick svg { position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }
.engine-pick option { background: var(--bg-2); color: var(--ink); }
.go {
  flex: none; border: 0; border-radius: 999px; cursor: pointer; height: 48px; padding: 0 24px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent));
  color: var(--accent-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: filter .2s, transform .3s var(--ease);
}
.go:hover { filter: brightness(1.08); }
.go:active { transform: scale(.96); }
.go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.go:hover svg { transform: translateX(3px); }

/* Öneriler */
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 8px; list-style: none;
  border-radius: 8px 8px 24px 24px; max-height: 60vh; overflow-y: auto; background-color: var(--g-fill-2);
  animation: pop .25s var(--ease) backwards; transform-origin: top center;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; border-radius: 14px; }
.suggest li svg { color: var(--ink-3); }
.suggest li[aria-selected="true"] { background: var(--g-fill-2); box-shadow: inset 0 0 0 1px var(--line); }
.suggest li .s-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest li .s-text b { font-weight: 600; }
.suggest li .s-meta { font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.suggest li.bang .s-meta, .suggest li.bang svg { color: var(--accent); }
.suggest .s-fill { width: 30px; height: 30px; margin: -4px -6px -4px 0; }
.suggest .s-fill svg { transform: rotate(-45deg); }
.suggest li.skel-line { height: 14px; padding: 0; margin: 14px; border-radius: 7px; cursor: default; }

/* Dikey sekmeler ve ipucu */
.under { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.verticals { position: relative; display: flex; gap: 2px; flex-wrap: wrap; }
.verticals button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; border: 0; background: none;
  border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--ink-2); font-size: .94rem; font-weight: 500;
  transition: color .25s;
}
.verticals button:hover { color: var(--ink); }
.verticals button[aria-pressed="true"] { color: var(--ink); }
.verticals:not(.has-pill) button[aria-pressed="true"] { background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.mode { font-size: .88rem; color: var(--ink-3); }
.mode b { color: var(--ink-2); font-weight: 600; }

.bangs { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .86rem; color: var(--ink-3); }
.bangs button {
  border: 1px solid var(--line); background: var(--g-fill); border-radius: 999px; padding: 4px 12px 4px 8px; cursor: pointer;
  font-size: .84rem; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: baseline;
  transition: border-color .2s, color .2s, background-color .2s, transform .3s var(--ease);
}
.bangs button code { background: none; box-shadow: none; padding: 0; color: var(--accent); font-weight: 500; }
.bangs button:hover { border-color: var(--line-2); color: var(--ink); background: var(--g-fill-2); transform: translateY(-1px); }
.bangs a { color: var(--ink-2); margin-left: 4px; text-underline-offset: 3px; }
.bangs a:hover { color: var(--ink); }

/* ── Pano: kısayollar solda, geçmiş sağda ── */
.dash { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 56px); margin-top: 64px; align-items: start; }
.side { display: grid; gap: 32px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 32px; }
.block-head h2 { font-size: .8rem; font-weight: 600; margin: 0; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.text-btn { border: 0; background: none; padding: 6px 12px; cursor: pointer; color: var(--ink-2); font-size: .88rem; font-weight: 500; border-radius: 999px; transition: background-color .2s, color .2s; }
.text-btn:hover { color: var(--ink); background: var(--g-fill-2); }
.text-btn[aria-pressed="true"] { color: var(--accent); }

/* Kısayol kutucukları */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile { position: relative; perspective: 700px; }
.tile-go {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-radius: var(--r-m);
  cursor: pointer; text-align: left; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .5s var(--ease), background-color .25s, box-shadow .3s;
}
.tile-go.tracking { transition: transform .08s linear, background-color .25s, box-shadow .3s; }
.tile-go:hover { background-color: var(--g-fill-2); }
.tile-text { display: grid; min-width: 0; line-height: 1.3; }
.ico {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, var(--g-fill-2), var(--g-fill)); box-shadow: var(--g-spec), 0 0 0 1px var(--line);
  font-family: var(--f-brand); font-weight: 700; font-size: 1.15rem;
}
.tile-name { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-host { font-size: .8rem; color: var(--ink-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-del {
  position: absolute; top: -8px; right: -8px; z-index: 2; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink-2); cursor: pointer; display: grid; place-items: center;
}
.tile-del svg { width: 12px; height: 12px; }
.tile-del:hover { color: var(--danger); border-color: var(--danger); }
.tiles:not(.editing) .tile-del { display: none; }
.tiles.editing .tile-go { animation: wiggle .5s ease-in-out infinite alternate; }
@keyframes wiggle { from { transform: rotate(-.6deg); } to { transform: rotate(.6deg); } }
.tile-add .tile-go { background: transparent; box-shadow: none; color: var(--ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tile-add .tile-go::before { background: none; border: 1px dashed var(--line-2); padding: 0; -webkit-mask: none; mask: none; }
.tile-add .ico { background: none; box-shadow: 0 0 0 1px var(--line-2); }
.tile-add svg { width: 18px; height: 18px; }
.tile-add .tile-text { align-content: center; }

/* Listeler */
.list { list-style: none; margin: 0; padding: 6px; border-radius: var(--r-m); overflow: hidden; }
.list li { display: flex; align-items: center; gap: 8px; padding: 0 4px 0 12px; border-radius: 10px; transition: background-color .2s; }
.list li:hover { background: var(--g-fill); }
.l-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 11px 0; cursor: pointer; text-align: left; }
.l-go:hover .l-text { color: var(--accent); }
.l-go svg { color: var(--ink-3); }
.l-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.list time { font-size: .76rem; color: var(--ink-3); font-family: var(--f-mono); flex: none; }
.x-btn { width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; flex: none; }
.x-btn:hover { color: var(--danger); background: var(--g-fill-2); }
.x-btn svg { width: 13px; height: 13px; }
.list .empty { color: var(--ink-3); padding: 14px 12px; font-size: .92rem; display: block; }

/* İskelet: veri gelene kadar kayan ışık */
.skel, .skel-row, .skel-line { overflow: hidden; }
.skel span, .skel-row span, .skel-line {
  display: block; background: linear-gradient(100deg, var(--g-fill) 20%, var(--g-fill-2) 40%, var(--g-fill) 60%) 0 0 / 250% 100%;
  animation: shimmer 1.4s linear infinite;
}
.skel span { height: 70px; border-radius: var(--r-m); }
.skel-row { display: block !important; padding: 0 !important; }
.skel-row span { height: 14px; margin: 14px 12px; border-radius: 7px; width: 70%; }
.skel-row:nth-child(2) span { width: 54%; }
.skel-row:nth-child(3) span { width: 62%; }
@keyframes shimmer { to { background-position: -250% 0; } }

/* ── İçerik sayfaları ── */
.page-head { padding: clamp(48px, 9vh, 96px) 0 24px; }
.page-head h1 { font-family: var(--f-brand); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.page-head p { color: var(--ink-2); max-width: 40rem; margin: 18px 0 0; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.page-head .meta { margin-top: 14px; font-size: .88rem; }
.page-head .actions { margin-top: 28px; }
.meta { font-family: var(--f-mono); font-size: .84rem; color: var(--ink-3); }

.section { padding-top: 24px; padding-bottom: 88px; }
.section > h2 { font-family: var(--f-brand); font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.02em; line-height: 1.15; margin: 64px 0 12px; }
.section > h2:first-child { margin-top: 0; }
.section > p { color: var(--ink-2); max-width: 44rem; margin: 0 0 12px; }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 64px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line-2); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--f-brand); font-weight: 700; font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
code { font-family: var(--f-mono); font-size: .86em; background: var(--g-fill-2); box-shadow: 0 0 0 1px var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(24px, 4vw, 64px); margin-top: 20px; }
.split h3 { font-family: var(--f-brand); font-size: 1.15rem; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.split ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.split li { position: relative; margin: 0 0 14px; padding-left: 28px; }
.split li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px; background: var(--accent);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.split > div + div li::before {
  background: var(--ink-3);
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.split li strong { color: var(--ink); }

.table-wrap { overflow-x: auto; margin-top: 20px; border-radius: var(--r-m); }
.bang-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.bang-table th, .bang-table td { text-align: left; padding: 11px 20px; border-top: 1px solid var(--line); }
.bang-table thead th { border-top: 0; color: var(--ink-3); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.bang-table td:first-child { font-family: var(--f-mono); color: var(--accent); white-space: nowrap; }
.bang-table td:last-child { color: var(--ink-2); font-family: var(--f-mono); font-size: .88rem; }

.keys-list { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; margin: 20px 0 0; }
.keys-list dt { white-space: nowrap; }
.keys-list dd { margin: 0; color: var(--ink-2); }
kbd { font-family: var(--f-mono); font-size: .8rem; border-radius: 7px; padding: 2px 8px; color: var(--ink); background: var(--g-fill-2); box-shadow: var(--g-spec), 0 0 0 1px var(--line-2), 0 2px 0 var(--line-2); }

/* Gizlilik: sol başlık, sağ metin */
.prose { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 40rem); column-gap: clamp(24px, 5vw, 72px); padding: 24px 0 96px; }
.prose > * { grid-column: 2; margin: 0 0 14px; }
.prose > .summary { grid-column: 1 / -1; max-width: 46rem; margin-bottom: 28px; }
.prose > h2 { grid-column: 1; font-family: var(--f-brand); font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; margin: 0; padding-top: 22px; border-top: 1px solid var(--line-2); }
.prose > h2 + * { grid-row-start: auto; border-top: 1px solid var(--line-2); padding-top: 22px; }
.prose > h2, .prose > h2 + * { margin-top: 40px; }
.prose > .summary + h2, .prose > .summary + h2 + * { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 10px; }
.prose a { text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.summary { font-family: var(--f-brand); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--ink) !important; line-height: 1.3; letter-spacing: -.015em; margin-top: 0; }

/* ── Ayarlar ── */
.settings { margin: 24px 0 96px; padding: 8px clamp(18px, 3vw, 36px); border-radius: var(--r-l); }
.set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px clamp(24px, 4vw, 56px); padding: 28px 0; border-top: 1px solid var(--line); }
.set:first-child { border-top: 0; }
.set h2 { font-family: var(--f-brand); font-size: 1.15rem; margin: 0 0 6px; }
.set p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.field { display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; }
.field input[type="url"], .field input[type="text"], .field select, .modal input {
  flex: 1; min-width: 0; width: 100%; background: rgba(0, 0, 0, .18); border: 0; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25), 0 0 0 1px var(--line-2);
  border-radius: 12px; padding: 12px 14px; font-size: 1rem; transition: box-shadow .2s;
}
:root[data-theme="light"] .field input[type="url"], :root[data-theme="light"] .field select, :root[data-theme="light"] .modal input { background: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 2px rgba(11, 17, 22, .08), 0 0 0 1px var(--line-2); }
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] .field input[type="url"], :root[data-theme="system"] .field select, :root[data-theme="system"] .modal input { background: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 2px rgba(11, 17, 22, .08), 0 0 0 1px var(--line-2); }
}
.field input[type="url"] { font-family: var(--f-mono); font-size: .9rem; }
.field input:focus, .field select:focus, .modal input:focus { outline: none; box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px var(--accent-soft); }
.field select option { background: var(--bg-2); color: var(--ink); }
.form-err { color: var(--danger); font-size: .9rem; min-height: 1.3em; margin: 6px 0 0; }

.btn {
  border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-block;
  transition: background-color .2s, transform .3s var(--ease);
}
.btn:hover { background-color: var(--g-fill-2); }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent)); color: var(--accent-ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.primary::before { display: none; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--danger); }
.btn.danger:hover { background-color: color-mix(in srgb, var(--danger) 16%, transparent); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tema seçici: kayan cam hap yalnızca CSS ile (3 eşit sütun) */
.seg { display: inline-grid; grid-template-columns: repeat(3, 1fr); border-radius: 999px; padding: 4px; isolation: isolate; }
.seg::after {
  content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px;
  background: var(--accent-soft); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform .45s var(--ease);
}
.seg:has(input[value="light"]:checked)::after { transform: translateX(100%); }
.seg:has(input[value="system"]:checked)::after { transform: translateX(200%); }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 20px; color: var(--ink-2); text-align: center; font-weight: 500; transition: color .25s; }
.seg input:checked + span { color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 999px; }

.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; justify-content: space-between; flex-direction: row-reverse; }
.check + .check { margin-top: 18px; }
.check > span { flex: 1; font-weight: 500; }
.check small { display: block; color: var(--ink-3); font-weight: 400; font-size: .88rem; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 46px; height: 28px; margin: 0; cursor: pointer;
  border-radius: 999px; background: var(--g-fill-2); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25), 0 0 0 1px var(--line-2);
  transition: background-color .3s, box-shadow .3s;
}
.check input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35), inset 0 -1px 0 rgba(0, 0, 0, .1);
  transition: transform .4s var(--ease);
}
.check input:checked { background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px var(--accent); }
.check input:checked::after { transform: translateX(18px); }

/* ── Pencere ── */
.modal {
  border: 0; border-radius: 28px; color: var(--ink); padding: 28px; width: min(440px, calc(100vw - 32px));
  background-color: var(--g-fill-2); overflow: visible;
}
.modal[open] { animation: pop-in .45s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.modal::backdrop { background: rgba(4, 6, 9, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.modal h2 { font-family: var(--f-brand); font-size: 1.4rem; margin: 0 0 18px; letter-spacing: -.01em; }
.modal label { display: block; font-size: .9rem; font-weight: 500; color: var(--ink-2); margin: 0 0 6px; }
.modal input { margin-bottom: 14px; }
.modal .btns { justify-content: flex-end; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px) scale(.96); z-index: 90; border-radius: 999px;
  background-color: var(--g-fill-2); padding: 11px 22px; font-size: .95rem; font-weight: 500; color: var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { color: var(--danger); }
.toast.err::before { background: var(--danger); }

/* ── Alt bilgi ── */
.foot { color: var(--ink-3); font-size: .88rem; margin-top: 24px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Duyarlı ── */
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; margin-top: 48px; }
  .prose { grid-template-columns: 1fr; }
  .prose > *, .prose > h2 { grid-column: 1; }
  .prose > h2 { padding-top: 22px; margin-bottom: 10px; }
  .prose > h2 + * { border-top: 0; padding-top: 0; margin-top: 0; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .steps, .split { grid-template-columns: 1fr; }
  .set { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .top { padding-top: 8px; }
  .dock { flex-wrap: wrap; border-radius: 28px; gap: 4px 10px; padding: 8px 8px 8px 14px; }
  .status { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav a { padding: 8px 10px; }
  .go .go-label { display: none; }
  .go { padding: 0; width: 48px; justify-content: center; }
  .bar { border-radius: 24px; padding: 5px; }
  .bar .lead { display: none; }
  .bar input { padding: 14px 8px 14px 14px; font-size: 1.05rem; }
  .engine-pick select { padding: 11px 26px 11px 10px; max-width: 92px; }
  .engine-pick svg { right: 9px; }
  .home { padding-top: 40px; }
  .hero { margin-bottom: 28px; }
  .under { margin-top: 16px; }
  .verticals { max-width: 100%; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .verticals button { padding: 8px 12px; white-space: nowrap; }
  .mode { width: 100%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile-go { padding: 12px; gap: 10px; }
  .ico { width: 38px; height: 38px; border-radius: 12px; }
  .bang-table th, .bang-table td { padding: 10px 14px; }
  .bang-table th:last-child, .bang-table td:last-child { display: none; }
  .keys-list { grid-template-columns: 1fr; gap: 4px; }
  .keys-list dd { margin-bottom: 14px; }
  .modal { padding: 22px; }
}
@media (hover: none) { .keys { display: none; } .bar::after, .tile-go::after, .list::after, .btn::after { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.calm *, .calm *::before, .calm *::after { animation: none !important; transition: none !important; }
