/* ==========================================================================
   DynApp — Tasarım Sistemi v2
   Açık varsayılan · profil üzerinden koyu tema · marka kırmızısı.
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/static/fonts/manrope-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/static/fonts/manrope-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Yüzeyler */
  --bg: #f7f8fa;
  --surface-1: #fff;
  --surface-2: #f0f2f5;
  --surface-3: #e8ebf0;
  --line: #e2e5eb;
  --line-strong: #b9c1cd;
  --line-hover: #8995a6;
  --shadow: 0 4px 20px -8px rgba(24, 34, 52, .10);
  --shadow-raised: 0 12px 32px -12px rgba(24, 34, 52, .16);
  --overlay: rgba(23, 30, 44, .38);

  /* Metin */
  --text: #1c2433;
  --text-2: #3d485b;
  --muted: #596579;
  --subtle: #657085;

  /* Marka (logo kırmızısı değiştirilmez) */
  --brand: #850001;
  --brand-hover: #a3141a;
  --brand-text: #960f20;
  --brand-soft: #f9e9ec;

  --ok: #15734d;
  --warn: #946000;

  /* Tipografi */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, 'Liberation Mono', monospace;

  /* Ölçü */
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 76px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Hareket */
  --ease: cubic-bezier(.22, .68, 0, 1.01);
  --fast: 160ms;
  --base: 240ms;

  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #111318;
  --surface-1: #191d25;
  --surface-2: #222833;
  --surface-3: #2b3340;
  --line: #2d3542;
  --line-strong: #485366;
  --line-hover: #69788f;
  --text: #f3f5f9;
  --text-2: #d5dce7;
  --muted: #adb8c9;
  --subtle: #9ca9be;
  --brand-text: #ff929b;
  --brand-soft: #342029;
  --ok: #5ed5a4;
  --warn: #f5c05a;
  --shadow: 0 4px 20px -8px rgba(0, 0, 0, .35);
  --shadow-raised: 0 12px 32px -12px rgba(0, 0, 0, .5);
  --overlay: rgba(0, 0, 0, .65);
  color-scheme: dark;
}

.brand-logo-dark { display: none; }
:root[data-theme='dark'] .brand-logo-light { display: none; }
:root[data-theme='dark'] .brand-logo-dark { display: block; }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { flex: 1; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--brand); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: var(--radius-sm); }
[hidden] { display: none !important; }

.icon { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; top: 10px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: var(--radius);
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--fast) var(--ease);
}
.skip-link:focus { transform: none; }

kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand-link { display: inline-flex; align-items: center; height: 100%; padding-block: 18px; }
.brand-link img { height: 28px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  position: relative;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color var(--fast), background var(--fast);
}
.primary-nav a:hover { color: var(--text); background: var(--surface-2); }
.primary-nav a[aria-current='page'] { color: var(--brand-text); background: var(--brand-soft); font-weight: 700; }
.primary-nav a[aria-current='page']::after {
  content: none;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.search-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 8px 0 12px; min-width: 240px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-1); color: var(--subtle); font-size: 14px;
  transition: border-color var(--fast), color var(--fast);
}
.search-trigger:hover { border-color: var(--line-strong); color: var(--text-2); }
.search-trigger .label { margin-right: auto; }
.search-trigger kbd { height: 20px; font-size: 11px; }

.icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius);
  color: var(--text-2); border: 1px solid var(--line);
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.icon-button:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.menu-toggle { display: none; }

/* Mobil menü */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 22px; font-weight: 600; letter-spacing: -.02em;
}
.mobile-nav a[aria-current='page'] { color: var(--brand-text); }
.mobile-nav .mobile-nav-meta { margin-top: 24px; font-size: 13px; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface-2);
  font-size: 14px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--fast) var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: var(--line-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: transparent; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--surface-1); }
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px; padding: 5px 12px 5px 6px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2); letter-spacing: .01em;
}
.eyebrow img { width: 20px; height: 20px; }
.eyebrow .sep { width: 1px; height: 12px; background: var(--line-strong); }
.eyebrow .muted { color: var(--muted); font-weight: 500; }
.hero h1 {
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 750; letter-spacing: -.045em; line-height: 1.12;
  max-width: 19ch; text-wrap: balance;
}
.hero h1 .accent { color: var(--brand-text); }
.hero-inner > * { min-width: 0; }
.hero-lead {
  margin-top: 24px; max-width: 54ch;
  font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); line-height: 1.55;
}

/* Arama */
.search-box { position: relative; margin-top: 36px; max-width: 640px; }
.search-box .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; width: 20px; height: 20px; }
.search-box input {
  width: 100%; height: 60px; padding: 0 120px 0 52px;
  background: var(--surface-1); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 17px; font-weight: 500; color: var(--text);
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
  -webkit-appearance: none; appearance: none;
}
.search-box input::placeholder { color: var(--subtle); }
.search-box input:hover { border-color: var(--line-hover); }
.search-box input:focus { border-color: var(--brand-text); box-shadow: 0 0 0 4px var(--brand-soft); background: var(--surface-1); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box .search-end { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; }
.search-clear { height: 30px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--muted); }
.search-clear:hover { color: var(--text); background: var(--surface-3); }

/* Kategori çipleri */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 720px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: border-color var(--fast), background var(--fast), color var(--fast);
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip .count { font-size: 12px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.chip[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-pressed='true'] .count { color: rgba(255,255,255,.75); }

/* Hızlı erişim paneli */
.quick-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-1); box-shadow: var(--shadow-raised); overflow: hidden; }
.quick-panel header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.quick-panel header .hint { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--subtle); display: inline-flex; align-items: center; gap: 4px; }
.quick-list a {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
  transition: background var(--fast);
}
.quick-list li:last-child a { border-bottom: 0; }
.quick-list a:hover { background: var(--surface-2); }
.quick-list .icon-tile { width: 36px; height: 36px; }
.quick-list .name { font-size: 14.5px; font-weight: 600; display: block; line-height: 1.3; }
.quick-list .meta { font-size: 12.5px; color: var(--subtle); }
.quick-list .go { color: var(--subtle); transition: transform var(--fast) var(--ease), color var(--fast); }
.quick-list a:hover .go { color: var(--brand-text); transform: translateX(3px); }

/* Gerçek bilgiler şeridi */
.facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.facts li {
  flex: 1 1 200px; display: flex; align-items: center; gap: 10px;
  padding: 18px 24px 18px 0; margin-right: 24px;
  font-size: 13.5px; color: var(--muted);
}
.facts li strong { color: var(--text); font-weight: 600; }
.facts .icon { color: var(--brand-text); width: 16px; height: 16px; }

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(48px, 6vw, 80px); }
.section + .section { padding-top: 0; }
.section[hidden] + .section { padding-top: clamp(48px, 6vw, 80px); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 60ch; }
.section-head .aside { font-size: 13.5px; color: var(--subtle); display: inline-flex; align-items: center; gap: 8px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--subtle);
}
.section-label .bar { width: 14px; height: 2px; background: var(--brand); }

.category-group + .category-group { margin-top: 48px; }
.category-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 0;
}
.category-head h3 { font-size: 18px; letter-spacing: -.015em; }
.category-head .count { font-size: 13px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.category-head a { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.category-head a:hover { color: var(--text); }

/* ---------- Araç kartları: kıl payı çizgili ızgara ---------- */
.tool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px;
}
.tool-grid > .tool-card { min-width: 0; }
.tool-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: 216px; padding: 24px;
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color var(--base), box-shadow var(--base), transform var(--base) var(--ease);
}
.tool-card::before { /* üst vurgu çizgisi */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform var(--base) var(--ease);
}
.tool-card:hover, .tool-card:focus-within { border-color: var(--line-strong); box-shadow: var(--shadow-raised); transform: translateY(-3px); }
.tool-card:hover::before, .tool-card:focus-within::before { transform: scaleX(1); }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius);
  border: 1px solid transparent; background: var(--brand-soft); color: var(--brand-text);
  transition: border-color var(--base), color var(--base), background var(--base);
}
.icon-tile .icon { width: 20px; height: 20px; }
.tool-card:hover .icon-tile { border-color: rgba(229,72,77,.55); color: var(--brand-text); }
.tool-card h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.tool-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* tüm kart tıklanır */
.tool-card p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tool-card-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle);
}
.tool-card-foot .go { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--muted); transition: color var(--fast); }
.tool-card-foot .go .icon { transition: transform var(--base) var(--ease); }
.tool-card:hover .tool-card-foot .go { color: var(--text); }
.tool-card:hover .tool-card-foot .go .icon { transform: translateX(3px); color: var(--brand-text); }
.tool-card.is-external:hover .tool-card-foot .go .icon { transform: translate(2px, -2px); }

.fav-button {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin: -4px -6px 0 0; border-radius: var(--radius);
  color: var(--subtle); transition: color var(--fast), background var(--fast);
}
.fav-button:hover { color: var(--text); background: var(--surface-3); }
.fav-button .icon { width: 18px; height: 18px; }
.fav-button[aria-pressed='true'] { color: var(--brand-text); }
.fav-button[aria-pressed='true'] .icon { fill: currentColor; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.badge-brand { border-color: rgba(229,72,77,.4); color: var(--brand-text); }

/* Planlanan */
.tool-card.is-planned { min-height: 164px; }
.tool-card.is-planned .icon-tile { color: var(--subtle); border-color: var(--line); }
.tool-card.is-planned h3 { color: var(--text-2); }
.tool-card.is-planned::before { display: none; }
.tool-card.is-planned:hover { transform: none; box-shadow: var(--shadow); }
.tool-card.is-planned .icon-tile { background: var(--surface-2); }

.empty-state {
  padding: 56px 24px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.empty-state h3 { font-size: 18px; }
.empty-state p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.empty-state .btn { margin-top: 18px; }

/* Bu cihazda */
.device-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.device-strip a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600;
  transition: border-color var(--fast), background var(--fast);
}
.device-strip a:hover { border-color: var(--line-strong); background: var(--surface-1); }
.device-strip .icon-tile { width: 34px; height: 34px; }
.device-strip .icon-tile .icon { width: 17px; height: 17px; }
.device-strip small { display: block; font-size: 12px; font-weight: 500; color: var(--subtle); }
.device-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); }
.device-tabs button { height: 30px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--muted); }
.device-tabs button[aria-selected='true'] { background: var(--surface-3); color: var(--text); }
.link-button { font-size: 13px; font-weight: 600; color: var(--muted); }
.link-button:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Kategori listesi sayfası */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.category-grid > .category-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.category-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; background: var(--surface-1); min-height: 200px; transition: background var(--base); }
.category-card:hover { background: var(--surface-1); }
.category-card h2 { font-size: 20px; }
.category-card h2 a::after { content: ''; position: absolute; inset: 0; }
.category-card p { color: var(--muted); font-size: 14.5px; }
.category-card .meta { margin-top: auto; font-size: 13px; color: var(--subtle); display: flex; justify-content: space-between; }
.category-card .meta .icon { transition: transform var(--base) var(--ease); }
.category-card:hover .meta .icon { transform: translateX(3px); color: var(--brand-text); }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-head { background: var(--surface-1); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 40px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13.5px; color: var(--subtle); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .icon { width: 14px; height: 14px; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.page-head .lead { margin-top: 14px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 64ch; }

.tool-head { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.tool-head .icon-tile { width: 56px; height: 56px; border-color: rgba(229,72,77,.45); color: var(--brand-text); background: var(--brand-soft); }
.tool-head .icon-tile .icon { width: 26px; height: 26px; }
.tool-head-text { flex: 1 1 420px; min-width: 0; }
.tool-head-actions { display: flex; gap: 8px; align-items: center; }
.tool-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.tool-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tool-meta .icon { width: 15px; height: 15px; color: var(--ok); }

/* ---------- Araç çalışma alanı ---------- */
.workspace { padding-block: 32px 64px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-1); box-shadow: var(--shadow); }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  min-height: 58px; padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.panel-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.panel-body { padding: 24px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stack { display: grid; gap: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar .spacer { flex: 1; }

.field { display: grid; gap: 8px; }
.field > label, .field-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: 12.5px; color: var(--subtle); }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font-size: 16px;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.input, .select { height: 44px; padding: 0 12px; }
.select { -webkit-appearance: none; appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.textarea { display: block; min-height: 280px; padding: 14px; resize: vertical; line-height: 1.55; }
.textarea.code, .input.code { font-family: var(--mono); font-size: 14px; tab-size: 2; }
.textarea[readonly] { background: var(--surface-1); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-hover); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand-text); box-shadow: 0 0 0 3px var(--brand-soft); }
.input::placeholder, .textarea::placeholder { color: var(--subtle); }
.panel .textarea { border: 0; border-radius: 0 0 var(--radius) var(--radius); background: transparent; }
.panel .textarea:focus { box-shadow: inset 0 0 0 1px var(--brand-text); }

.segmented { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.segmented button { height: 32px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--muted); transition: background var(--fast), color var(--fast); }
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed='true'] { background: var(--brand); color: #fff; }

.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
input[type='range'] { width: 100%; accent-color: var(--brand); }
input[type='color'] { width: 44px; height: 44px; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); cursor: pointer; }

.status {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg);
  font-size: 14px; color: var(--text-2);
}
.status .icon { width: 18px; height: 18px; margin-top: 2px; }
.status.ok { border-color: rgba(62,207,142,.35); }
.status.ok .icon { color: var(--ok); }
.status.err { border-color: rgba(229,72,77,.45); background: rgba(133,0,1,.12); }
.status.err .icon { color: var(--brand-text); }
.status code { font-family: var(--mono); font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 16px; background: var(--surface-1); }
.stat dt { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stat dd { margin-top: 4px; font-size: 26px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.kv { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 8px 10px 14px; background: var(--surface-1); }
.kv-row .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.kv-row .v { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }

.output-box { font-family: var(--mono); font-size: 14px; line-height: 1.6; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 120px; max-height: 520px; overflow: auto; }
mark.hl { background: var(--brand-soft); color: var(--text); border-radius: 2px; box-shadow: 0 0 0 1px rgba(229,72,77,.5); }
mark.hl:nth-of-type(even) { background: var(--surface-3); box-shadow: 0 0 0 1px var(--line-strong); }

.diff-line { display: grid; grid-template-columns: 44px 18px minmax(0,1fr); font-family: var(--mono); font-size: 13.5px; line-height: 1.65; }
.diff-line .ln { color: var(--subtle); text-align: right; padding-right: 10px; user-select: none; }
.diff-line .sg { color: var(--subtle); user-select: none; }
.diff-line .tx { white-space: pre-wrap; overflow-wrap: anywhere; padding-right: 12px; }
.diff-line.add { background: rgba(62,207,142,.1); }
.diff-line.add .sg { color: var(--ok); }
.diff-line.del { background: rgba(229,72,77,.13); }
.diff-line.del .sg { color: var(--brand-text); }

.swatch { width: 100%; aspect-ratio: 16/7; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.contrast-sample { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; }
.contrast-sample small { font-weight: 700; font-size: 12px; }

.qr-preview { display: grid; place-items: center; padding: 24px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line); min-height: 320px; }
.qr-preview img, .qr-preview canvas { width: min(100%, 300px); height: auto; image-rendering: pixelated; border-radius: var(--radius-sm); }

.password-out { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.password-out output { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(16px, 2vw, 22px); overflow-wrap: anywhere; letter-spacing: .02em; }
.meter { height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--brand-text); transition: width var(--base) var(--ease), background var(--base); }

.list-output { font-family: var(--mono); font-size: 14px; }
.list-output li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); }
.list-output li:last-child { border-bottom: 0; }

/* Benzer araçlar */
.related { border-top: 1px solid var(--line); }

/* ---------- Yasal metinler ---------- */
.prose { max-width: 760px; padding-block: 40px 80px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; color: var(--text); letter-spacing: -.02em; }
.prose h3 { margin: 28px 0 8px; font-size: 17px; color: var(--text); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 8px; height: 2px; background: var(--brand); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--brand-text); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--subtle); margin-top: 16px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.legal-nav { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; padding-top: 40px; display: grid; gap: 2px; }
.legal-nav a { padding: 8px 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); }
.legal-nav a:hover { color: var(--text); }
.legal-nav a[aria-current='page'] { color: var(--text); border-left-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-1); margin-top: auto; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 48px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.footer-col h2 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; transition: color var(--fast); }
.footer-col a:hover { color: var(--text); }
.footer-col a .icon { width: 13px; height: 13px; color: var(--subtle); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding-block: 20px 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--subtle);
}
.dev-credit { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; transition: color var(--fast); }
.dev-credit:hover { color: var(--text); }
.dev-credit .plate {
  display: inline-flex; align-items: center; padding: 8px 12px;
  background: #fff; border-radius: var(--radius-sm);
  transition: transform var(--base) var(--ease);
}
.dev-credit:hover .plate { transform: translateY(-1px); }
.dev-credit .plate img { height: 22px; width: auto; }

/* ---------- Komut paleti ---------- */
.palette {
  width: min(640px, calc(100vw - 24px)); max-height: min(560px, 80vh);
  margin: 12vh auto auto; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface-1); color: var(--text);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}
.palette[open] { display: flex; flex-direction: column; animation: palette-in var(--base) var(--ease); }
.palette::backdrop { background: var(--overlay); backdrop-filter: blur(4px); }
@keyframes palette-in { from { opacity: 0; transform: translateY(-6px) scale(.99); } }
.palette-search { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette-search .icon { color: var(--subtle); }
.palette-search input { flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; font-size: 17px; -webkit-appearance: none; appearance: none; }
.palette-search input:focus-visible { outline: none; }
.palette-search input::-webkit-search-cancel-button { display: none; }
.palette-search:focus-within { box-shadow: inset 0 -1px 0 var(--brand-text); }
.palette-search input::placeholder { color: var(--subtle); }
.palette-list { overflow-y: auto; padding: 8px; }
.palette-group { padding: 10px 10px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.palette-item {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: var(--radius); cursor: pointer;
}
.palette-item .icon-tile { width: 32px; height: 32px; }
.palette-item .icon-tile .icon { width: 16px; height: 16px; }
.palette-item .t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.palette-item .s { font-size: 12.5px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item .tag { font-size: 11.5px; color: var(--subtle); }
.palette-item[aria-selected='true'] { background: var(--surface-3); }
.palette-item[aria-selected='true'] .icon-tile { border-color: rgba(229,72,77,.55); color: var(--brand-text); }
.palette-item.is-planned { opacity: .55; cursor: default; }
.palette-empty { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.palette-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--subtle); }
.palette-foot span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Bildirim ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--radius);
  background: var(--text); color: var(--surface-1); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-raised); max-width: calc(100vw - 32px);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: transform var(--base) var(--ease), opacity var(--base);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { width: 16px; height: 16px; color: inherit; }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(80px, 12vw, 160px); }
.not-found .code { font-size: clamp(80px, 14vw, 180px); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--surface-3); -webkit-text-stroke: 1px var(--line-strong); }
.not-found h1 { margin-top: 16px; font-size: clamp(28px, 3vw, 40px); }
.not-found p { margin-top: 10px; color: var(--muted); }
.not-found .toolbar { margin-top: 28px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .quick-panel { display: none; }
  .search-trigger { min-width: 0; }
  .search-trigger .label, .search-trigger kbd { display: none; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-nav { position: static; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
  .legal-nav a[aria-current='page'] { border-color: var(--brand); }
}
@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .brand-link img { height: 24px; }
  .hero h1 { letter-spacing: -.04em; }
  .search-box input { height: 56px; font-size: 16px; padding-right: 88px; }
  .search-box kbd { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .facts { flex-direction: column; padding-block: 8px; }
  .facts li { flex: none; margin-right: 0; padding: 10px 0; font-size: 14px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; padding: 18px; }
  .tool-card.is-planned { min-height: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 44px 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .kv-row { grid-template-columns: 1fr auto; }
  .kv-row .k { grid-column: 1 / -1; }
  .palette { margin-top: 8px; max-height: calc(100svh - 16px); }
  .tool-head-actions { width: 100%; }
  .panel-head { padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .tool-card::before, .chip[aria-pressed='true'] { forced-color-adjust: none; }
}

/* ==========================================================================
   Hesap & Giriş
   ========================================================================== */
.btn-block { width: 100%; height: 46px; }
.btn-danger { background: transparent; border-color: rgba(229,72,77,.5); color: var(--brand-text); }
.btn-danger:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.login-btn { height: 36px; padding: 0 14px; }

/* Kullanıcı menüsü */
.user-menu { position: relative; }
.user-trigger {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 4px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: border-color var(--fast), background var(--fast);
}
.user-trigger:hover, .user-trigger[aria-expanded='true'] { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.avatar-lg { width: 64px; height: 64px; font-size: 26px; }
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 240px;
  padding: 6px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-1);
  box-shadow: var(--shadow-raised);
}
.user-dropdown-head { padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.user-dropdown-head strong { display: block; font-size: 14px; }
.user-dropdown-head small { display: block; font-size: 12.5px; color: var(--subtle); overflow: hidden; text-overflow: ellipsis; }
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--text-2); text-align: left;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--surface-3); color: var(--text); }
.user-dropdown .icon { color: var(--subtle); }
.mobile-logout { margin-top: 20px; }

/* Giriş ekranı */
.auth { border-bottom: 1px solid var(--line); }
.auth-inner {
  display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; min-height: calc(100svh - var(--header-h) - 1px); padding-block: clamp(32px, 6vw, 72px);
}
.auth-card { display: grid; gap: 18px; }
.auth-card-mark { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.auth-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(229,72,77,.45); background: var(--brand-soft); color: var(--brand-text); }
.auth-card h1 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.035em; }
.auth-sub { margin-top: -8px; color: var(--muted); font-size: 15.5px; }
.auth-sub strong { color: var(--text); overflow-wrap: anywhere; }
.provider-list { display: grid; gap: 10px; }
.provider-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface-1);
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: background var(--fast), border-color var(--fast), transform var(--fast) var(--ease);
}
.provider-btn .icon { position: absolute; left: 16px; }
.provider-btn:hover { background: var(--surface-3); border-color: var(--line-hover); }
.provider-btn:active { transform: translateY(1px); }
.provider-apple { background: #fff; color: #000; border-color: #fff; }
.provider-apple:hover { background: #e9e9e9; border-color: #e9e9e9; }
.provider-btn.is-disabled { cursor: not-allowed; opacity: .42; }
.provider-btn.is-disabled:hover { background: var(--surface-1); border-color: var(--line-strong); }
.provider-apple.is-disabled:hover { background: #fff; border-color: #fff; }
.provider-btn small {
  position: absolute; right: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; border: 1px solid currentColor; opacity: .75;
}
.auth-divider { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--subtle); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-legal { font-size: 13px; color: var(--subtle); line-height: 1.55; }
.auth-legal a, .auth-skip a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.auth-legal a:hover, .auth-skip a:hover { color: var(--text); text-decoration-color: var(--brand-text); }
.auth-skip { font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.auth-skip a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.code-input { height: 60px; font-family: var(--mono); font-size: 28px; letter-spacing: .5em; text-align: center; padding-left: .5em; }
.dev-code { border-color: rgba(245,165,36,.45); background: rgba(245,165,36,.08); }
.dev-code .icon { color: var(--warn); }
.dev-code code { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: .15em; }

.auth-aside {
  position: relative; align-self: stretch; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 520px; padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface-1);
}
.auth-mark { position: absolute; right: -12%; top: -14%; width: 78%; max-width: 520px; opacity: .9; pointer-events: none; }
.auth-aside-copy { position: relative; }
.auth-aside h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; max-width: 16ch; }
.auth-benefits { margin-top: 24px; display: grid; gap: 16px; max-width: 46ch; }
.auth-benefits li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.auth-benefits strong { color: var(--text); font-weight: 600; }
.auth-benefits .icon { color: var(--brand-text); margin-top: 2px; }

/* Görünüm ayarları */
.appearance-panel { scroll-margin-top: calc(var(--header-h) + 24px); }
.theme-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.theme-fieldset legend { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.appearance-form .hint { color: var(--muted); font-size: 13.5px; }
.theme-options { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 16px; margin-top: 22px; }
.theme-choice { position: relative; display: grid; gap: 14px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.theme-choice:hover { border-color: var(--line-hover); }
.theme-choice:has(input:checked) { border-color: var(--brand-text); box-shadow: 0 0 0 1px var(--brand-text); background: var(--brand-soft); }
.theme-choice:has(input:focus-visible) { outline: 2px solid var(--brand-text); outline-offset: 4px; }
.theme-choice > input { position: absolute; right: 14px; bottom: 31px; margin: 0; width: 18px; height: 18px; accent-color: var(--brand); }
.theme-preview { display: grid; grid-template-columns: 26% 1fr; height: 112px; border: 1px solid var(--preview-line); border-radius: 7px; overflow: hidden; background: var(--preview-bg); }
.theme-preview-light { --preview-bg: #f7f8fa; --preview-surface: #fff; --preview-line: #dfe3eb; --preview-text: #a2aabb; }
.theme-preview-dark { --preview-bg: #111318; --preview-surface: #222833; --preview-line: #394354; --preview-text: #69788f; }
.preview-sidebar { display: grid; align-content: start; gap: 8px; padding: 16px 9px; background: var(--preview-surface); border-right: 1px solid var(--preview-line); }
.theme-preview i { display: block; height: 5px; background: var(--preview-line); border-radius: 2px; }
.preview-sidebar i:first-child { background: #850001; margin-bottom: 8px; }
.preview-content { padding: 18px 12px; display: grid; align-content: start; gap: 8px; }
.preview-content .preview-heading { width: 60%; background: var(--preview-text); height: 7px; }
.preview-content > i { width: 85%; }
.preview-content > span { display: flex; gap: 7px; margin-top: 4px; }
.preview-content b { flex: 1; height: 32px; background: var(--preview-surface); border: 1px solid var(--preview-line); border-radius: 4px; }
.theme-choice-caption { display: grid; gap: 2px; padding-right: 26px; }
.theme-choice-caption strong { font-size: 14px; }
.theme-choice-caption > span { font-size: 12px; color: var(--muted); }
.appearance-save { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 24px; }
@media (max-width: 440px) {
  .theme-options { gap: 10px; }
  .theme-choice { padding: 10px; }
  .theme-choice > input { right: 10px; bottom: 30px; }
  .theme-choice-caption > span { font-size: 11px; }
  .theme-preview { height: 88px; }
}

/* Hesap */
.account-head { display: flex; align-items: center; gap: 20px; }
.account-head > div { min-width: 0; }
.account-head h1, .account-head .lead { overflow-wrap: anywhere; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.account-full { grid-column: 1 / -1; }
.method-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.method-list li:last-child { border-bottom: 0; }
.method-list strong { display: block; font-size: 14.5px; }
.method-list small { display: block; font-size: 12.5px; color: var(--subtle); overflow-wrap: anywhere; }
.method-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); flex-shrink: 0; }
.method-icon .icon { position: static; }
.danger-zone { border-color: rgba(229,72,77,.3); }
.danger-zone .panel-title { color: var(--brand-text); }

@media (max-width: 960px) {
  .auth-inner { grid-template-columns: 1fr; min-height: 0; }
  .auth-aside { display: none; }
  .auth-card { max-width: 460px; width: 100%; margin-inline: auto; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .user-name { display: none; }
  .user-trigger { padding: 0 3px; }
  .panel-body { padding: 18px; }
  .login-btn { padding: 0 12px; }
  .account-head { gap: 14px; }
  .avatar-lg { width: 52px; height: 52px; font-size: 22px; }
}

/* Firebase giriş bağlantıları */
.firebase-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:-2px; }
.link-button { background:none; border:0; padding:4px 0; color:var(--brand-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.link-button:hover { opacity:.8; }
.firebase-status { margin-bottom:4px; }
