/* ===== Tasarım jetonları (Claude tarzı krem / sıcak koyu palet) ===== */
:root {
  --bg: #faf9f5; --surface: #fdfcf9; --surface-2: #f0eee6; --surface-3: #e6e3d8;
  --text: #2b2a27; --text-2: #4a4741; --text-3: #75726a;
  --outline: #d3cfc2; --outline-2: #e6e2d6;
  --primary: #c96442; --on-primary: #ffffff; --primary-container: #f4e1d7; --on-primary-container: #6b2c17;
  --danger: #b3412e; --success: #3f7a4a;
  --shadow: 0 1px 2px rgba(60,50,30,.06), 0 6px 18px rgba(60,50,30,.07);
  color-scheme: light;
  --radius: 16px; --header-h: 64px;
  --ui-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display-font: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #262624; --surface: #2b2b28; --surface-2: #30302e; --surface-3: #3b3b38;
    --text: #ebe9e1; --text-2: #c3c0b6; --text-3: #9d9a90;
    --outline: #4d4c47; --outline-2: #3a3936;
    --primary: #d97757; --on-primary: #1f1e1d; --primary-container: #4a2f25; --on-primary-container: #f3c9b6;
    --danger: #e8907c; --success: #8cc596;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #262624; --surface: #2b2b28; --surface-2: #30302e; --surface-3: #3b3b38;
    --text: #ebe9e1; --text-2: #c3c0b6; --text-3: #9d9a90;
    --outline: #4d4c47; --outline-2: #3a3936;
    --primary: #d97757; --on-primary: #1f1e1d; --primary-container: #4a2f25; --on-primary-container: #f3c9b6;
    --danger: #e8907c; --success: #8cc596;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
}

/* ===== Temel ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--ui-font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--primary-container); color: var(--on-primary-container); }

.ms { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; user-select: none; overflow: hidden; width: 1em; flex: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Header ===== */
.topbar { position: sticky; top: 0; z-index: 60; height: var(--header-h); display: flex; align-items: center; gap: 16px; padding: 0 24px; background: var(--bg); border-bottom: 1px solid var(--outline-2); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 500; white-space: nowrap; font-family: var(--display-font); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 600; font-size: 17px; font-family: var(--display-font); letter-spacing: -.5px; }
.brand-name b { font-weight: 400; color: var(--text-2); }
.mainnav { display: flex; gap: 4px; margin-left: 20px; }
.mainnav a { padding: 8px 16px; border-radius: 999px; font-weight: 500; color: var(--text-2); transition: background .15s; }
.mainnav a:hover { background: var(--surface-2); }
.mainnav a.active { background: var(--primary-container); color: var(--on-primary-container); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text-2); flex: none; transition: background .15s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .ms { font-size: 22px; }
.bag-btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface-2); font-weight: 500; transition: background .15s; }
.bag-btn:hover, .bag-btn.active { background: var(--primary-container); color: var(--on-primary-container); }
.bag-btn .ms { font-size: 20px; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-size: 12px; display: grid; place-items: center; font-weight: 600; }
.badge[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .topbar { padding: 0 12px; gap: 6px; }
  .menu-btn { display: grid; }
  .mainnav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--outline-2); margin: 0; box-shadow: var(--shadow); }
  .mainnav.open { display: flex; }
  .bag-label { display: none; }
  .brand { font-size: 18px; }
}

/* ===== Butonlar & form ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; cursor: pointer; background: transparent; white-space: nowrap; transition: background .15s, box-shadow .15s, filter .15s; }
.btn .ms { font-size: 20px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: var(--shadow); }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn-tonal:hover { filter: brightness(.97); }
.btn-outline { border-color: var(--outline); color: var(--primary); }
.btn-outline:hover, .btn-text:hover { background: color-mix(in srgb, var(--primary) 9%, transparent); }
.btn-text { color: var(--primary); padding: 0 12px; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--outline); background: transparent; cursor: pointer; font-weight: 500; color: var(--text-2); font-size: 13px; transition: background .15s; }
.chip:hover { background: var(--surface-2); }
.chip .ms { font-size: 18px; margin-left: -4px; }
.chip.on { background: var(--primary-container); border-color: transparent; color: var(--on-primary-container); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.field { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid transparent; transition: border-color .15s, background .15s; }
.field:focus-within { border-color: var(--primary); background: var(--bg); }
.field > .ms { color: var(--text-3); }
.field input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 15px; height: 100%; }
.field input::-webkit-search-cancel-button { display: none; }
.select { height: 40px; border-radius: 8px; border: 1px solid var(--outline); background: var(--bg); padding: 0 10px; cursor: pointer; }
.select.full { width: 100%; }
input[type=range] { accent-color: var(--primary); cursor: pointer; }
.seg { display: inline-flex; border: 1px solid var(--outline); border-radius: 999px; overflow: hidden; flex: none; }
.seg button { border: 0; background: transparent; padding: 0 16px; height: 36px; cursor: pointer; font-weight: 500; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.seg button .ms { font-size: 18px; }
.seg button + button { border-left: 1px solid var(--outline); }
.seg button.on { background: var(--primary-container); color: var(--on-primary-container); }

.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; color: var(--text-2); }
.switch { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--surface-3); border: 2px solid var(--outline); position: relative; cursor: pointer; flex: none; transition: .2s; margin: 0; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--outline); transition: .2s; }
.switch:checked { background: var(--primary); border-color: var(--primary); }
.switch:checked::after { left: 22px; top: 2px; width: 18px; height: 18px; background: var(--on-primary); }
.range-row { padding: 8px 0; color: var(--text-2); }
.range-row input { width: 100%; }
.range-head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.range-head output { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 500; }

/* ===== Fontlar (browse) ===== */
.browse { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.filters { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: auto; padding: 20px 20px 40px; border-right: 1px solid var(--outline-2); background: var(--bg); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 16px; margin: 0; font-weight: 600; }
.filters-close { display: none; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--outline-2); }
.filter-group h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin: 0 0 10px; font-weight: 600; }
.filter-group.tip { color: var(--text-3); font-size: 13px; display: flex; gap: 8px; }
.filter-group.tip .ms { font-size: 20px; }
kbd { font-family: var(--mono); font-size: 12px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--outline); background: var(--surface-2); }

.results { min-width: 0; padding: 0 24px 64px; }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); display: flex; gap: 10px; align-items: center; padding: 16px 0 12px; flex-wrap: wrap; }
.toolbar .search { flex: 1 1 220px; }
.preview-ctl { flex: 2 1 260px; min-width: 0; display: flex; align-items: center; gap: 4px; height: 48px; border-radius: 999px; background: var(--surface-2); padding: 0 16px 0 6px; border: 1px solid transparent; }
.preview-ctl:focus-within { border-color: var(--primary); background: var(--bg); }
.preview-ctl select { border: 0; background: var(--surface-3); height: 36px; padding: 0 10px; border-radius: 999px; font-weight: 500; cursor: pointer; }
.preview-ctl input { flex: 1; border: 0; background: transparent; outline: 0; min-width: 0; font-size: 15px; padding-left: 8px; }
.size-ctl { display: flex; align-items: center; gap: 8px; flex: 0 1 220px; min-width: 160px; color: var(--text-3); }
.size-ctl input { flex: 1; min-width: 80px; }
.size-ctl output { width: 52px; text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }
.filter-toggle { display: none; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 12px; color: var(--text-2); flex-wrap: wrap; }
.results-meta .sort { display: flex; align-items: center; gap: 8px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }

.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.font-grid.list { grid-template-columns: 1fr; gap: 0; }
.font-card { border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 18px 16px 24px 20px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s; display: flex; flex-direction: column; gap: 14px; min-height: 230px; overflow: hidden; }
.font-card:hover { border-color: var(--outline); box-shadow: var(--shadow); }
.font-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.font-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.font-card h3 a:hover { color: var(--primary); }
.font-card .meta { margin: 2px 0 0; color: var(--text-3); font-size: 13px; }
.font-card .sample { font-size: var(--size, 40px); line-height: 1.25; overflow-wrap: anywhere; color: var(--text); transition: opacity .35s; }
.font-card .sample.loading { opacity: .15; }
.font-grid.list .font-card { min-height: 0; border-radius: 0; border-width: 0 0 1px; padding: 22px 8px; }
.font-grid.list .font-card:hover { box-shadow: none; background: var(--surface-2); }
.font-grid.list .sample { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.add-btn { border: 1px solid var(--outline-2); }
.add-btn.on { background: var(--primary-container); color: var(--on-primary-container); border-color: transparent; }
.empty { text-align: center; padding: 80px 20px; color: var(--text-2); grid-column: 1 / -1; }
.empty > .ms { font-size: 56px; width: auto; color: var(--text-3); }
.empty h2 { color: var(--text); font-weight: 500; margin: 12px 0 4px; }
.empty p { margin: 0 0 20px; }
.scrim { display: none; }

@media (max-width: 900px) {
  .browse { grid-template-columns: 1fr; }
  .filters { position: fixed; top: var(--header-h); left: 0; bottom: 0; height: auto; width: min(340px, 90vw); z-index: 55; transform: translateX(-105%); transition: transform .25s; border: 0; box-shadow: var(--shadow); }
  .filters.open { transform: none; }
  .filters-close { display: grid; }
  .scrim.open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(0,0,0,.35); z-index: 50; }
  .filter-toggle { display: grid; }
  .results { padding: 0 16px 48px; }
  .font-grid { grid-template-columns: 1fr; }
  .toolbar .search, .preview-ctl { flex-basis: 100%; }
  .size-ctl { flex: 1 1 0; }
}

/* ===== Genel sayfa ===== */
.page { max-width: 1200px; width: 100%; margin: 0 auto; padding: 24px 24px 80px; }
.page.narrow { max-width: 820px; }
.crumbs { color: var(--text-3); font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--primary); }
.crumbs .ms { font-size: 16px; }
.page-hero { padding: 40px 0 24px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 400; margin: 0 0 12px; line-height: 1.1; letter-spacing: -.5px; }
.page-hero p { font-size: 18px; color: var(--text-2); max-width: 680px; margin: 0; }
.section-title { font-size: 22px; font-weight: 500; margin: 48px 0 16px; }
.muted { color: var(--text-3); }

/* ===== Font detay (specimen) ===== */
.spec-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: 20px 0 8px; }
.spec-title-row h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 400; margin: 0; line-height: 1.1; }
.spec-designer { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }
.spec-designer b { font-weight: 500; color: var(--text); }
.spec-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.spec-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 500; }
.tag .ms { font-size: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--outline-2); margin-top: 24px; overflow-x: auto; position: sticky; top: var(--header-h); background: var(--bg); z-index: 10; scrollbar-width: none; }
.tab { border: 0; background: none; padding: 14px 16px 12px; font-weight: 500; color: var(--text-2); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { padding-top: 28px; }
.tab-panel[hidden] { display: none; }
.ff { font-family: var(--ff); }
.hero-sample { font-size: clamp(44px, 8vw, 112px); line-height: 1.12; outline: none; padding: 16px 0 36px; border-bottom: 1px solid var(--outline-2); overflow-wrap: anywhere; }
.hero-hint { font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.hero-hint .ms { font-size: 16px; }
.styles-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.styles-toolbar .field { flex: 1 1 280px; }
.style-row { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--outline-2); }
.style-row .label { color: var(--text-3); font-size: 13px; }
.style-row .txt { font-size: var(--size, 48px); line-height: 1.2; overflow-wrap: anywhere; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.axis-demo { background: var(--surface-2); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.axis-demo .axis-sample { font-size: clamp(40px, 7vw, 88px); line-height: 1.15; margin: 8px 0 16px; overflow-wrap: anywhere; }
.axis-demo .range-head { color: var(--text-2); }
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.similar-card { border: 1px solid var(--outline-2); border-radius: 12px; padding: 16px; transition: border-color .15s; display: block; }
.similar-card:hover { border-color: var(--primary); }
.similar-card .big { font-size: 40px; line-height: 1.2; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-card .name { font-weight: 500; }
.similar-card .meta { color: var(--text-3); font-size: 12.5px; }

.tester-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 20px; background: var(--surface-2); padding: 18px 20px; border-radius: var(--radius); align-items: end; }
.tester-controls label { display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 13px; }
.tester-controls .range-head { margin: 0; }
.tester-area { min-height: 260px; padding: 28px 4px; outline: none; overflow-wrap: anywhere; border-bottom: 1px solid var(--outline-2); }
.reading { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 8px; }
.reading h4 { margin: 0 0 8px; color: var(--text-3); font-weight: 500; font-size: 13px; font-family: var(--ui-font); }
.reading p { margin: 0; color: var(--text); }

.glyph-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; }
.glyph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); border-top: 1px solid var(--outline-2); border-left: 1px solid var(--outline-2); margin-top: 16px; }
.glyph { aspect-ratio: 1; display: grid; place-items: center; font-size: 32px; border: 0; border-right: 1px solid var(--outline-2); border-bottom: 1px solid var(--outline-2); cursor: pointer; background: none; color: var(--text); padding: 0; }
.glyph:hover { background: var(--surface-2); }
.glyph.on { background: var(--primary-container); color: var(--on-primary-container); }
.glyph-preview { position: sticky; top: calc(var(--header-h) + 72px); background: var(--surface-2); border-radius: var(--radius); padding: 24px; text-align: center; }
.glyph-preview .big { font-size: 180px; line-height: 1.15; min-height: 210px; }
.glyph-preview dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; margin: 16px 0 0; font-size: 13px; }
.glyph-preview dt { color: var(--text-3); }
.glyph-preview dd { margin: 0; font-family: var(--mono); }

.two-col { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 56px; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose h2 { font-size: 24px; font-weight: 500; margin: 36px 0 8px; color: var(--text); }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 6px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose pre { background: var(--surface-2); border-radius: 12px; padding: 16px; overflow: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.prose code { font-family: var(--mono); font-size: .9em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose blockquote { margin: 24px 0; padding: 4px 20px; border-left: 3px solid var(--primary); color: var(--text-2); font-size: 18px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--outline-2); vertical-align: top; }
.info-table th { width: 42%; color: var(--text-3); font-weight: 500; padding-right: 12px; }
.license-box { background: var(--surface-2); border-radius: var(--radius); padding: 20px 24px; margin-top: 16px; }
.license-box h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.license-box p { margin: 0 0 10px; color: var(--text-2); line-height: 1.6; }

.pair-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.pair-card { border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.pair-card h3 { font-size: 34px; margin: 0 0 12px; line-height: 1.15; font-weight: 600; }
.pair-card p { font-size: 16px; line-height: 1.7; color: var(--text-2); margin: 0 0 20px; flex: 1; }
.pair-card .names { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--outline-2); padding-top: 14px; align-items: center; }
.pair-card .names a { color: var(--primary); font-weight: 500; }

@media (max-width: 900px) {
  .two-col, .glyph-layout { grid-template-columns: 1fr; gap: 24px; }
  .glyph-preview { position: static; order: -1; }
  .glyph-preview .big { font-size: 120px; min-height: 140px; }
  .style-row { grid-template-columns: 1fr; gap: 4px; }
  .page { padding: 16px 16px 64px; }
  .pair-grid { grid-template-columns: 1fr; }
}

/* ===== Seçim / Embed ===== */
.sel-layout { display: grid; grid-template-columns: minmax(0,1fr) 460px; gap: 32px; align-items: start; }
.sel-item { border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; }
.sel-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sel-item h3 { margin: 0; font-size: 30px; font-weight: 400; line-height: 1.2; }
.sel-item .meta { color: var(--text-3); font-size: 13px; margin-top: 2px; }
.style-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.style-chips .chip { height: 30px; font-size: 12.5px; padding: 0 10px; }
.embed-panel { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.embed-panel h2 { margin: 0 0 4px; font-size: 20px; font-weight: 500; }
.embed-panel h3 { margin: 22px 0 6px; font-size: 14px; font-weight: 600; }
.embed-panel p { color: var(--text-2); margin: 0 0 8px; }
.code { position: relative; background: var(--bg); border: 1px solid var(--outline-2); border-radius: 12px; padding: 14px 48px 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-all; margin: 8px 0 12px; max-height: 340px; overflow: auto; }
.code .copy { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; }
.code .copy .ms { font-size: 18px; }
.sel-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.notice { display: flex; gap: 10px; background: var(--bg); border-radius: 12px; padding: 12px 14px; color: var(--text-2); font-size: 13px; margin-top: 16px; line-height: 1.55; }
.notice .ms { color: var(--primary); font-size: 20px; }
@media (max-width: 1050px) { .sel-layout { grid-template-columns: 1fr; } .embed-panel { position: static; } }

/* ===== İkonlar ===== */
.icons-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); }
.icons-layout.has-panel { grid-template-columns: 260px minmax(0,1fr) 340px; }
.icon-controls { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: auto; padding: 20px; border-right: 1px solid var(--outline-2); }
.icon-controls h2 { font-size: 16px; margin: 0 0 12px; font-weight: 600; }
.icon-main { padding: 16px 24px 64px; min-width: 0; }
.icon-main .field { margin-bottom: 12px; position: sticky; top: calc(var(--header-h) + 12px); z-index: 5; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 4px; }
.icon-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 6px 12px; border-radius: 12px; border: 0; background: none; cursor: pointer; color: var(--text); }
.icon-tile:hover { background: var(--surface-2); }
.icon-tile.on { background: var(--primary-container); color: var(--on-primary-container); }
.icon-tile .name { font-size: 11.5px; color: inherit; opacity: .8; text-align: center; overflow-wrap: anywhere; line-height: 1.3; }
.msx { font-family: var(--icon-family, 'Material Symbols Outlined'); font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' var(--fill, 0), 'wght' var(--wght, 400), 'GRAD' var(--grad, 0), 'opsz' var(--opsz, 24); font-size: 36px; display: inline-block; overflow: hidden; width: 1em; }
.icon-panel { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: auto; border-left: 1px solid var(--outline-2); padding: 20px; background: var(--bg); }
.icon-panel[hidden] { display: none; }
.icon-panel-head { display: flex; justify-content: space-between; align-items: center; }
.icon-panel-head h2 { margin: 0; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.icon-panel .big-wrap { display: grid; place-items: center; padding: 28px; background: var(--surface-2); border-radius: var(--radius); margin: 14px 0; }
.icon-panel .big-wrap .msx { font-size: 120px; }
.icon-panel h3 { font-size: 13px; font-weight: 600; margin: 18px 0 4px; }
@media (max-width: 1100px) {
  .icons-layout, .icons-layout.has-panel { grid-template-columns: 1fr; }
  .icon-controls { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--outline-2); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; }
  .icon-controls h2 { grid-column: 1 / -1; }
  .icon-main { padding: 16px; }
  .icon-panel { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; max-height: 75vh; border-left: 0; border-top: 1px solid var(--outline-2); border-radius: 20px 20px 0 0; z-index: 55; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .icon-panel .big-wrap .msx { font-size: 80px; }
}

/* ===== Bilgi ===== */
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.k-card { border: 1px solid var(--outline-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; background: var(--surface); }
.k-card:hover { box-shadow: var(--shadow); border-color: var(--outline); }
.k-cover { height: 170px; display: grid; place-items: center; font-size: 84px; line-height: 1; background: var(--primary-container); color: var(--on-primary-container); overflow: hidden; }
.k-card:nth-child(3n+2) .k-cover { background: var(--surface-3); color: var(--text); }
.k-card:nth-child(3n) .k-cover { background: var(--text); color: var(--bg); }
.k-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.k-topic { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); font-weight: 600; }
.k-body h3 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.35; }
.k-body p { margin: 0; color: var(--text-2); flex: 1; }
.k-body .muted { font-size: 12.5px; margin-top: 8px; display: flex; align-items: center; gap: 4px; }
.k-body .muted .ms { font-size: 16px; }
.article-cover { height: 240px; border-radius: var(--radius); display: grid; place-items: center; font-size: 120px; background: var(--primary-container); color: var(--on-primary-container); margin: 20px 0 8px; overflow: hidden; }
.article-head h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 400; line-height: 1.15; margin: 16px 0 8px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.article-nav a { border: 1px solid var(--outline-2); border-radius: 12px; padding: 14px 18px; display: block; }
.article-nav a:hover { border-color: var(--primary); }
.article-nav small { color: var(--text-3); display: block; }
.article-nav .next { text-align: right; }

/* ===== SSS ===== */
.faq details { border-bottom: 1px solid var(--outline-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ms { transition: transform .2s; color: var(--text-3); }
.faq details[open] summary .ms { transform: rotate(180deg); }
.faq .answer { padding: 0 4px 20px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.faq .answer a { color: var(--primary); text-decoration: underline; }
.faq-group h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin: 40px 0 4px; font-weight: 600; }

/* ===== Hakkında ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 32px 0; }
.stat { background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.stat b { display: block; font-size: 40px; font-weight: 500; line-height: 1.1; color: var(--primary); }
.stat span { color: var(--text-2); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.value { border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 24px; }
.value .ms { color: var(--primary); font-size: 30px; }
.value h3 { margin: 12px 0 6px; font-size: 17px; font-weight: 600; }
.value p { margin: 0; color: var(--text-2); line-height: 1.6; }
.marquee { overflow: hidden; border-block: 1px solid var(--outline-2); padding: 18px 0; margin: 40px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; font-size: 44px; animation: marquee 50s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--outline-2); margin-top: auto; background: var(--bg); }
.foot-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px 24px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 340px; }
.foot-brand p { color: var(--text-2); margin: 12px 0 0; line-height: 1.6; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols h4 { margin: 0 0 10px; font-size: 13px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.foot-cols a { display: block; padding: 4px 0; color: var(--text-2); }
.foot-cols a:hover { color: var(--primary); }
.foot-bottom { max-width: 1200px; margin: 0 auto; padding: 16px 24px 32px; color: var(--text-3); font-size: 12.5px; border-top: 1px solid var(--outline-2); }
.browse + .site-footer .foot-inner, .icons-layout + .site-footer .foot-inner { max-width: none; }

/* ===== Toast ===== */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; align-items: center; pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 8px; box-shadow: var(--shadow); font-weight: 500; animation: toastIn .2s ease-out; max-width: 90vw; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }
.icon-controls .seg { display: flex; width: 100%; }
.icon-controls .seg button { flex: 1; padding: 0 6px; justify-content: center; font-size: 13px; }

/* =====================================================================
   v2: Üyelik, favoriler, yükleme, yönetim
   ===================================================================== */
.page-hero h1, .spec-title-row h1, .article-head h1, .auth-card h1, .profile-head h1, .empty h2, .section-title, .embed-panel h2, .card-form h2 { font-family: var(--display-font); font-weight: 500; letter-spacing: -.01em; }
.page-hero h1 { font-weight: 500; }
.topbar { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(8px); }

/* Kart ayrıntıları */
.card-title { min-width: 0; }
.card-title h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-actions { display: flex; gap: 4px; flex: none; }
.font-card footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.font-card .sample { flex: 1; }
.font-grid.list .font-card footer { display: none; }
.font-grid.compact { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.font-grid.compact .font-card { min-height: 190px; }
.font-grid.compact .sample { font-size: 32px; }
.cat-label { font-size: 12px; color: var(--text-3); }
.src-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--text-3); white-space: nowrap; }
.src-badge .ms { font-size: 15px; }
.src-upload { color: var(--primary); }
.sample-ext { display: flex; flex-direction: column; justify-content: center; gap: 6px; font-family: var(--display-font); color: var(--text-2); font-size: 32px !important; }
.sample-ext small { font-family: var(--ui-font); font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.sample-ext small .ms { font-size: 15px; }
.sample-img { flex: 1; display: flex; align-items: center; min-height: 70px; }
.sample-img img { max-height: 90px; max-width: 100%; object-fit: contain; object-position: left center; }
:root[data-theme="dark"] .sample-img img { filter: invert(.9) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sample-img img { filter: invert(.9) hue-rotate(180deg); } }
.ext-preview { background: #fff; border-radius: var(--radius); padding: 24px; margin-top: 8px; border: 1px solid var(--outline-2); }
.ext-preview img { display: block; max-width: 100%; }
.chip-count { font-size: 11px; color: var(--text-3); margin-left: 2px; }
.chip.on .chip-count { color: inherit; opacity: .8; }
.load-more { display: flex; margin: 28px auto 0; }
.ext-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 16px; }
.ext-search .chip .ms { font-size: 15px; margin: 0 -4px 0 0; }
.empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* Favori düğmesi */
.fav-btn .ms { transition: transform .15s, color .15s; }
.fav-btn:hover .ms { color: var(--primary); }
.fav-btn.on .ms { color: var(--primary); font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.fav-btn.on:active .ms, .fav-btn:active .ms { transform: scale(.85); }
.fav-btn.wide.on { border-color: var(--primary); color: var(--primary); }

/* Kullanıcı alanı */
.user-area { display: flex; align-items: center; gap: 4px; }
.user-menu { position: relative; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-weight: 600; font-size: 15px; display: inline-grid; place-items: center; cursor: pointer; font-family: var(--display-font); flex: none; }
.avatar.lg { width: 40px; height: 40px; font-size: 17px; cursor: default; }
.avatar.xl { width: 88px; height: 88px; font-size: 38px; cursor: default; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--surface); border: 1px solid var(--outline-2); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; z-index: 70; }
.menu-head { display: flex; gap: 10px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--outline-2); margin-bottom: 4px; }
.menu-head b { display: block; }
.menu-head small { color: var(--text-3); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--text); }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu .ms { font-size: 20px; color: var(--text-3); }
.login-btn .ms { font-size: 18px; }
@media (max-width: 900px) { .login-btn span:last-child { display: none; } .user-area > a.icon-btn { display: none; } }

/* Uyarı bandı */
.server-banner { display: flex; gap: 12px; align-items: flex-start; margin: 16px; padding: 14px 18px; border-radius: 12px; background: var(--primary-container); color: var(--on-primary-container); grid-column: 1 / -1; }
.server-banner small { opacity: .85; }

/* Formlar */
.input { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--outline); background: var(--surface); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; padding: 10px 14px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.card-form label, .auth-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 13.5px; color: var(--text-2); }
.card-form label.switch-row { flex-direction: row; }
.hint { font-size: 12px; color: var(--text-3); font-weight: 400; }
.hint.center { text-align: center; margin: 0; }
.form-error { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); padding: 10px 14px; border-radius: 10px; font-size: 13.5px; }
.err-text { color: var(--danger); }
.btn.full { width: 100%; height: 46px; }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; box-shadow: none; }
.btn-danger-solid { background: var(--danger); color: #fff; }
.icon-btn.danger:hover { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 48px; }
.pw-wrap .pw-toggle { position: absolute; right: 2px; top: 2px; }
.pw-meter { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 4px; align-items: center; margin-top: -6px; }
.pw-meter i { height: 4px; border-radius: 2px; background: var(--surface-3); }
.pw-meter span { font-size: 12px; color: var(--text-3); min-width: 64px; text-align: right; }
.pw-meter[data-score="1"] i:nth-child(-n+1), .pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--danger); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: #c98a2e; }
.pw-meter[data-score="4"] i:nth-child(-n+4), .pw-meter[data-score="5"] i { background: var(--success); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.check-row { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; cursor: pointer; }
.check-row input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.check-row[hidden] { display: none !important; }
.radio-group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.radio-group legend { font-weight: 500; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.radio-group label { flex-direction: row !important; gap: 10px !important; align-items: flex-start; border: 1px solid var(--outline-2); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.radio-group label:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, transparent); }
.radio-group input { accent-color: var(--primary); margin-top: 3px; }
.radio-group span { display: flex; flex-direction: column; }
.radio-group b { color: var(--text); font-weight: 500; }
.radio-group small { color: var(--text-3); font-weight: 400; }

/* Giriş / kayıt */
.auth-page { display: grid; place-items: center; padding: 48px 16px 80px; }
.auth-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--outline-2); border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow); }
.auth-brand { display: flex; justify-content: center; margin-bottom: 12px; }
.auth-brand .brand-mark { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }
.auth-card h1 { text-align: center; font-size: 30px; margin: 0 0 6px; }
.auth-card > p.muted { text-align: center; margin: 0 0 24px; }
.auth-form { display: grid; gap: 16px; }
.auth-alt { text-align: center; margin: 22px 0 0; color: var(--text-2); }
.auth-alt a { color: var(--primary); font-weight: 500; }

/* Profil */
.profile-head { display: flex; gap: 24px; align-items: center; padding: 28px 0 8px; flex-wrap: wrap; }
.profile-id { flex: 1; min-width: 220px; }
.profile-id h1 { font-size: 36px; margin: 0; line-height: 1.15; }
.profile-id p { margin: 4px 0 0; }
.profile-id .bio { color: var(--text-2); max-width: 620px; }
.profile-stats { display: flex; gap: 12px; }
.profile-stats div { background: var(--surface-2); border-radius: 14px; padding: 12px 20px; text-align: center; min-width: 96px; }
.profile-stats b { display: block; font-size: 24px; font-family: var(--display-font); font-weight: 500; }
.profile-stats span { font-size: 12.5px; color: var(--text-3); }
.tab .ms { font-size: 18px; vertical-align: -4px; margin-right: 6px; }
.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; background: var(--surface); }
.upload-name { font-size: 26px; line-height: 1.25; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-name:hover { color: var(--primary); }
.upload-row .meta { font-size: 12.5px; margin-top: 2px; }
.upload-actions { display: flex; gap: 4px; align-items: center; }
.upload-edit { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px solid var(--outline-2); }
.upload-edit label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.upload-edit .sel-actions { grid-column: 1 / -1; margin: 0; }
.upload-edit[hidden] { display: none; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.card-form { background: var(--surface); border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.card-form h2 { margin: 0; font-size: 22px; }
.card-form p { margin: 0; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--outline-2)); }
@media (max-width: 700px) { .upload-row { grid-template-columns: 1fr; } .profile-head { gap: 16px; } .avatar.xl { width: 64px; height: 64px; font-size: 28px; } }

/* Yükleme */
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.upload-meta { position: sticky; top: calc(var(--header-h) + 20px); }
.dropzone { border: 2px dashed var(--outline); border-radius: 20px; padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
.dropzone > .ms { font-size: 48px; width: auto; color: var(--primary); }
.dropzone b { font-size: 18px; font-family: var(--display-font); font-weight: 500; }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.file-item { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: center; border: 1px solid var(--outline-2); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
.file-item > .ms { color: var(--text-3); }
.file-info { min-width: 0; display: flex; flex-direction: column; }
.file-info b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-preview { font-size: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.file-preview.loading { opacity: .2; }
.file-preview.bad { font-size: 12.5px; color: var(--danger); }
.progress { display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.progress .bar { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.success-box { background: color-mix(in srgb, var(--success) 10%, transparent); border-radius: 12px; padding: 14px 16px; }
.success-box h3 { margin: 0 0 6px; display: flex; gap: 6px; align-items: center; font-size: 15px; color: var(--success); }
.success-box ul { margin: 4px 0 8px; padding-left: 20px; }
.success-box a { color: var(--primary); font-weight: 500; }
@media (max-width: 1000px) { .upload-layout { grid-template-columns: 1fr; } .upload-meta { position: static; } }
@media (max-width: 640px) { .file-item { grid-template-columns: auto minmax(0, 1fr) auto; } .file-preview { grid-column: 2 / 3; } }

/* Font detayındaki dosya listesi */
.prose .file-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--outline-2); }
.prose .file-list .ms { color: var(--text-3); font-size: 20px; }
.prose .file-list span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prose .file-list .btn { text-decoration: none; }

/* Yönetim */
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.source-card { background: var(--surface); border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.source-card.off { opacity: .6; }
.source-head { display: flex; justify-content: space-between; align-items: center; }
.source-head h3 { margin: 0; font-size: 16px; }
.source-count { font-family: var(--display-font); font-size: 34px; color: var(--primary); line-height: 1.1; }
.source-count small { font-size: 14px; color: var(--text-3); font-family: var(--ui-font); }
.source-log { font-size: 13px; color: var(--text-2); flex: 1; }
.source-log .ms { font-size: 16px; vertical-align: -3px; color: var(--success); }
.source-log.err, .source-log.err .ms { color: var(--danger); }
.source-card .btn { align-self: flex-start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--outline-2); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--outline-2); vertical-align: middle; white-space: nowrap; }
.data-table th { color: var(--text-3); font-weight: 500; background: var(--surface-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table a:hover { color: var(--primary); }
.notice a { color: var(--primary); text-decoration: underline; }
.embed-panel .notice, .notice { background: var(--surface-2); }
.embed-panel .notice { background: var(--bg); }
.adobe-box .steps { margin: 0; padding-left: 20px; line-height: 1.8; }
.adobe-box a { color: var(--primary); text-decoration: underline; }
.adobe-form { display: flex; gap: 8px; flex-wrap: wrap; }
.adobe-form .input { flex: 1 1 260px; }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kit-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--outline-2); border-radius: 10px; }
.kit-list li .muted { flex: 1; font-size: 13px; }
.kit-list .ms { color: var(--primary); }
.src-adobe { color: #d0453a; }

/* ===== YazFont logosu ===== */
.brand .logo { height: 30px; width: auto; display: block; color: var(--text); }
.foot-brand .brand .logo { height: 28px; }
.auth-brand img { border-radius: 12px; }
@media (max-width: 900px) { .brand .logo { height: 26px; } }
@media (max-width: 420px) { .brand .logo { height: 22px; } }
.cdn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 4px; font-size: 13px; }
.cdn-row .seg button { height: 32px; font-size: 12.5px; padding: 0 12px; }
.src-sil { color: #3f7a4a; }
.chip.chip-empty:not(.on) { opacity: .5; border-style: dashed; }

/* =====================================================================
   Windows uygulaması: indirme sayfası ve ana sayfa bandı
   ===================================================================== */
.dl-page { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px 40px; }
.dl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 64px 0 56px; }
.dl-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-container); padding: 6px 12px 6px 10px; border-radius: 999px; }
.dl-eyebrow .ms { font-size: 18px; }
.dl-hero h1 { font-family: var(--display-font); font-weight: 500; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 18px 0 16px; text-wrap: balance; }
.dl-lead { font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 0 0 28px; max-width: 34em; }
.dl-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn.dl-btn { height: auto; padding: 12px 26px 12px 20px; border-radius: 16px; gap: 14px; text-align: left; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 20px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn.dl-btn .ms { font-size: 26px; }
.btn.dl-btn b { display: block; font-size: 16px; font-weight: 600; }
.btn.dl-btn small { display: block; font-size: 12.5px; opacity: .85; font-weight: 500; margin-top: 1px; }
.btn.dl-btn:hover { transform: translateY(-1px); }
.dl-fine, .dl-other { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; margin: 18px 0 0; }
.dl-fine .ms, .dl-other .ms { font-size: 18px; }
.dl-other { color: var(--text-2); background: var(--surface-2); padding: 10px 12px; border-radius: 10px; }
.dl-other[hidden] { display: none; }

/* Uygulama önizlemesi */
.dl-shot { position: relative; }
.dl-shot::before { content: ''; position: absolute; inset: 8% -6% -8% 10%; background: radial-gradient(60% 60% at 60% 50%, color-mix(in srgb, var(--primary) 26%, transparent), transparent 70%); filter: blur(30px); z-index: 0; }
.mock { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--outline); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(40,30,20,.35), 0 2px 6px rgba(0,0,0,.06); overflow: hidden; font-size: 12.5px; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 0 0 12px; border-bottom: 1px solid var(--outline-2); background: var(--surface-2); }
.mock-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; }
.mock-title img { border-radius: 4px; }
.mock-win { display: flex; height: 100%; }
.mock-win i { width: 42px; height: 100%; position: relative; }
.mock-win i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--text-3); transform: translate(-50%, -50%); }
.mock-win i:nth-child(2)::after { height: 9px; background: none; border: 1px solid var(--text-3); width: 9px; }
.mock-win i:nth-child(3)::after { height: 1px; width: 12px; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 0 var(--text-3); }
.mock-win i:nth-child(3)::before { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--text-3); transform: translate(-50%, -50%) rotate(-45deg); }
.mock-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 380px; }
.mock-side { border-right: 1px solid var(--outline-2); padding: 12px 8px; background: color-mix(in srgb, var(--surface-2) 60%, var(--surface)); }
.mock-h { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--text-3); margin: 12px 8px 6px; }
.mock-h:first-child { margin-top: 2px; }
.mock-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.mock-item .ms { font-size: 16px; color: var(--text-3); }
.mock-item b { margin-left: auto; font-weight: 500; font-size: 11px; color: var(--text-3); }
.mock-item.on { background: var(--primary-container); color: var(--on-primary-container); font-weight: 600; }
.mock-item.on .ms, .mock-item.on b { color: inherit; }
.mock-item .mock-sw { margin-left: auto; transform: scale(.8); }
.mock-main { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mock-search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--text-3); margin-bottom: 4px; }
.mock-search .ms { font-size: 17px; }
.mock-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--outline-2); border-radius: 10px; background: var(--surface); }
.mock-row b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row small { display: block; font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-sample { font-size: 26px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.mock-sw { width: 30px; height: 18px; border-radius: 9px; background: var(--surface-3); border: 1.5px solid var(--outline); position: relative; flex: none; }
.mock-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--outline); transition: .3s; }
.mock-sw.on { background: var(--primary); border-color: var(--primary); }
.mock-sw.on::after { left: 14px; background: #fff; }
.mock-sw.anim { animation: swOn 4s ease-in-out infinite; }
.mock-sw.anim::after { animation: swKnob 4s ease-in-out infinite; }
@keyframes swOn { 0%, 35% { background: var(--surface-3); border-color: var(--outline); } 45%, 100% { background: var(--primary); border-color: var(--primary); } }
@keyframes swKnob { 0%, 35% { left: 2px; background: var(--outline); } 45%, 100% { left: 14px; background: #fff; } }
@media (prefers-reduced-motion: reduce) { .mock-sw.anim, .mock-sw.anim::after { animation: none; } .mock { transform: none; } }

/* Bölümler */
.dl-section { padding: 48px 0; border-top: 1px solid var(--outline-2); }
.dl-h2 { font-family: var(--display-font); font-weight: 500; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; margin: 0 0 28px; }
.dl-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-features article { background: var(--surface); border: 1px solid var(--outline-2); border-radius: var(--radius); padding: 24px; }
.dl-features .ms { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-container); color: var(--primary); font-size: 24px; }
.dl-features h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; }
.dl-features p { margin: 0; color: var(--text-2); line-height: 1.6; }
.dl-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.dl-steps li { display: flex; gap: 16px; align-items: flex-start; }
.dl-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--display-font); font-size: 20px; }
.dl-steps h3 { margin: 6px 0 6px; font-size: 17px; font-weight: 600; }
.dl-steps p { margin: 0; color: var(--text-2); line-height: 1.6; }
.dl-file { font-family: var(--mono); font-size: 12.5px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.dl-note { display: flex; gap: 16px; background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.dl-note > .ms { color: var(--primary); font-size: 28px; flex: none; }
.dl-note h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.dl-note p { margin: 0 0 10px; color: var(--text-2); line-height: 1.6; }
.dl-note > div { min-width: 0; flex: 1; }
.dl-code { margin: 6px 0 12px; }
.dl-hash { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.dl-hash > span { font-weight: 600; color: var(--text-2); }
.dl-hash code { font-family: var(--mono); font-size: 12px; background: var(--bg); border: 1px solid var(--outline-2); border-radius: 8px; padding: 6px 10px; overflow-wrap: anywhere; flex: 1 1 280px; min-width: 0; }
.dl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.dl-two .faq summary { font-size: 15.5px; padding: 16px 4px; }
.dl-final { text-align: center; padding: 64px 24px; margin: 24px 0 0; background: var(--surface-2); border-radius: 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dl-final img { border-radius: 14px; }
.dl-final h2 { font-family: var(--display-font); font-weight: 500; font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
@media (max-width: 1000px) {
  .dl-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .mock { transform: none; }
  .dl-features, .dl-steps { grid-template-columns: 1fr 1fr; }
  .dl-two { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .dl-page { padding: 0 16px 32px; }
  .dl-features, .dl-steps { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mock-row .mock-sample { grid-column: 1 / -1; grid-row: 2; font-size: 22px; }
  .dl-note { flex-direction: column; padding: 20px; }
  .btn.dl-btn { width: 100%; }
}

/* Ana sayfa bandı */
.app-banner { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 12px 12px 12px 14px; border-radius: 16px; background: linear-gradient(100deg, var(--primary-container), color-mix(in srgb, var(--primary-container) 35%, var(--surface-2))); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); }
.app-banner[hidden] { display: none; }
.app-banner img { border-radius: 10px; flex: none; }
.app-banner-text { flex: 1; min-width: 0; color: var(--on-primary-container); }
.app-banner-text b { display: block; font-size: 15px; font-family: var(--display-font); font-weight: 600; }
.app-banner-text span { font-size: 13px; opacity: .85; }
.app-banner .btn { flex: none; }
.app-banner .icon-btn { color: var(--on-primary-container); }
@media (max-width: 700px) {
  .app-banner { flex-wrap: wrap; }
  .app-banner-text { flex-basis: calc(100% - 100px); }
  .app-banner .btn-primary { order: 3; flex: 1; }
  .app-banner .btn-text { display: none; }
}
.dl-page { overflow-x: clip; }
@media (max-width: 1000px) { .dl-shot::before { inset: 10% 0 -6% 0; } }
