/* Sözlük sayfası — tema değişkenleriyle (açık/koyu tema uyumlu). Modal/butonlar term-replacer.css'teki fts-* sınıflarını kullanır. */
.sz-page { max-width: 920px; margin: 0 auto; padding: 24px 16px 60px; color: var(--sl-text, #eee); }
.sz-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sz-head h1 { margin: 0; font-size: 1.7rem; }
.sz-pill { background: var(--sl-surface2, #26232e); border: 1px solid var(--sl-line, #312f40); border-radius: 999px; padding: 4px 12px; font-size: .85rem; color: var(--sl-muted, #a8a3b8); }
.sz-note { color: var(--sl-muted, #a8a3b8); font-size: .92rem; margin: 8px 0 14px; line-height: 1.5; }
.sz-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--sl-line, #312f40); margin-bottom: 16px; }
.sz-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--sl-muted, #a8a3b8); padding: 10px 14px; font-size: .95rem; font-weight: 600; cursor: pointer; }
.sz-tab.on { color: var(--sl-accent-text, #c9a0f5); border-bottom-color: var(--sl-accent, #913fe2); }
.sz-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.sz-bar2 .sz-grow { flex: 1; }
.sz-search, .sz-filter {
  background: var(--sl-surface, #1d1b22); color: var(--sl-text, #eee); border: 1px solid var(--sl-line, #312f40);
  border-radius: 10px; padding: 9px 12px; font-size: .95rem; min-width: 0;
}
.sz-search { flex: 1 1 200px; }
.sz-opts { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 14px; color: var(--sl-muted, #a8a3b8); }
.sz-opts .fts-c { margin: 0; }
.sz-card { background: var(--sl-surface, #1d1b22); border: 1px solid var(--sl-line, #312f40); border-radius: 14px; padding: 22px; }
.sz-center { text-align: center; }
.sz-list { margin-top: 6px; }
.sz-gh { display: flex; align-items: center; gap: 8px; margin: 18px 0 6px; font-weight: 700; color: var(--sl-accent-text, #c9a0f5); }
.sz-gh a { color: inherit; text-decoration: none; }
.sz-count { background: var(--sl-surface2, #26232e); color: var(--sl-muted, #a8a3b8); border-radius: 999px; padding: 1px 9px; font-size: .75rem; font-weight: 600; }
.sz-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--sl-surface, #1d1b22);
  border: 1px solid var(--sl-line, #312f40); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px;
}
.sz-l { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 180px; min-width: 0; }
.sz-chip { background: var(--sl-surface2, #26232e); border-radius: 8px; padding: 3px 9px; font-size: .9rem; word-break: break-word; }
.sz-arrow { color: var(--sl-accent2, #b46bfb); }
.sz-r { flex: 1 1 140px; font-weight: 600; word-break: break-word; }
.sz-badge { border: 1px solid var(--sl-line, #312f40); border-radius: 6px; padding: 1px 7px; font-size: .72rem; color: var(--sl-muted, #a8a3b8); }
.sz-empty { text-align: center; color: var(--sl-muted, #a8a3b8); padding: 30px 10px; }
.sz-results { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.sz-result { text-align: left; background: #2a2640; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 7px 10px; cursor: pointer; font-size: .9rem; }
.sz-result:hover { border-color: #a78bfa; }
.fts-modal input[type=search] { width: 100%; background: #2a2640; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 9px 11px; font-size: 15px; }
@media (max-width: 560px) {
  .sz-row { padding: 9px 10px; }
  .sz-bar .fts-btn { flex: 1 1 auto; }
}

/* --- novel bazlı sözlük sayfaları --- */
.sz-h2 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--sl-text, #eee); }
.sz-limits { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.sz-lv { background: linear-gradient(135deg, var(--sl-accent2, #b46bfb), var(--sl-accent, #913fe2)); color: #fff; font-weight: 700; border-radius: 12px; padding: 10px 16px; white-space: nowrap; }
.sz-li { flex: 1 1 240px; line-height: 1.6; }
.sz-sub { color: var(--sl-muted, #a8a3b8); font-size: .88rem; }
.sz-scopes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sz-scope {
  text-align: left; background: var(--sl-surface, #1d1b22); color: var(--sl-text, #eee); border: 1px solid var(--sl-line, #312f40);
  border-radius: 14px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; font: inherit;
}
.sz-scope:hover { border-color: var(--sl-accent2, #b46bfb); }
.sz-scope-t { font-weight: 700; line-height: 1.3; word-break: break-word; }
.sz-scope-s { color: var(--sl-muted, #a8a3b8); font-size: .82rem; }
.sz-bar-wrap { height: 6px; background: var(--sl-surface2, #26232e); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.sz-bar-fill { height: 100%; background: var(--sl-accent2, #b46bfb); border-radius: 999px; }
.sz-bar-fill.full { background: #e8590c; }
.sz-back { display: inline-block; margin-bottom: 10px; color: var(--sl-muted, #a8a3b8); text-decoration: none; font-size: .92rem; }
.sz-back:hover { color: var(--sl-text, #eee); }
.sz-head h1 a { color: inherit; text-decoration: none; }
.sz-find { max-width: 520px; }
.sz-find .sz-search { width: 100%; }

/* abonelik çağrısı */
.sz-upsell { margin: 10px 0 4px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--sl-accent2, #b46bfb); background: rgba(var(--sl-ink-rgb, 255,255,255), .04); }
.sz-upsell.full { border-style: solid; border-color: #e8590c; }
.sz-upsell-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.fts-err .sz-upsell { margin-top: 8px; color: #eee; }

/* Tek seferlik tanıtım turu */
.sz-tour { text-align: center; padding: 4px 4px 2px; }
.sz-tour-i { font-size: 44px; line-height: 1.1; margin: 4px 0 6px; }
.sz-tour-h { margin: 0 0 8px; font-size: 1.15rem; }
.sz-tour-p { margin: 0 auto 10px; max-width: 440px; line-height: 1.55; color: var(--sl-text, #eee); font-size: .95rem; }
.sz-tour-ex { display: inline-block; max-width: 440px; background: var(--sl-surface2, #26232e); border: 1px dashed var(--sl-line, #312f40); color: var(--sl-muted, #a8a3b8); border-radius: 10px; padding: 8px 12px; font-size: .88rem; line-height: 1.45; margin-bottom: 10px; }
.sz-tour-dots { display: flex; gap: 6px; justify-content: center; margin: 8px 0 14px; }
.sz-tour-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sl-line, #312f40); }
.sz-tour-dot.on { background: var(--sl-accent, #913fe2); width: 20px; border-radius: 4px; }
.sz-tour-nav { display: flex; justify-content: space-between; gap: 10px; }
.sz-head .fts-btn { margin-left: auto; }
