/* ── Bölüm quizi (mobile-first) ─────────────────────────────────────────── */
.qz { max-width: 620px; margin: 0 auto; padding: 16px 16px 48px; }
.qz-crumb { margin: 0 0 12px; font-size: .85rem; }
.qz-crumb a { color: var(--primary); text-decoration: none; font-weight: 600; }

.qz-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
  padding: 22px 18px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 16px 36px -22px rgba(15,23,42,.3);
}
.qz-card[hidden] { display: none; }
.qz-empty { text-align: center; }

.qz-intro { text-align: center; padding: 30px 20px; }
.qz-kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #f3e8ff; color: #7c3aed; font-size: .78rem; font-weight: 700; }
.qz-title { margin: 14px 0 8px; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.02em; color: #0f172a; }
.qz-sub { margin: 0 0 20px; color: #64748b; font-size: .92rem; }
.qz-challenge { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-weight: 700; font-size: .92rem; }

.qz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid #e2e8f0; background: #fff; color: #0f172a;
  font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .08s;
  -webkit-tap-highlight-color: transparent;
}
.qz-btn:hover { border-color: #93c5fd; }
.qz-btn:active { transform: scale(.98); }
.qz-btn:disabled { opacity: .6; cursor: default; }
.qz-btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.qz-btn--primary:hover { background: var(--primary-hover, #1d4ed8); }
.qz-btn--lg { width: 100%; min-height: 54px; font-size: 1rem; }
.qz-btn--wa { background: #25d366; border-color: #25d366; color: #fff; }

/* Soru */
.qz-progress { height: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.qz-progress span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #2563eb, #7c3aed); transition: width .3s ease; }
.qz-meta { display: flex; justify-content: space-between; margin: 10px 0 0; font-size: .8rem; color: #64748b; font-weight: 600; }
.qz-score b { color: #16a34a; }
.qz-word { text-align: center; padding: 26px 0 18px; }
.qz-word h2 { margin: 8px 0 6px; font-size: clamp(2rem, 9vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: #0f172a; overflow-wrap: anywhere; }
.qz-ask { margin: 0; color: #64748b; font-size: .9rem; }
.qz-opts { display: grid; gap: 8px; }
.qz-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 54px; padding: 10px 14px; text-align: left;
  border: 1.5px solid #e2e8f0; border-radius: 14px; background: #fff;
  font: inherit; font-size: .95rem; color: #0f172a; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.qz-opt:hover:not(:disabled) { border-color: #93c5fd; background: #f8fbff; }
.qz-opt:disabled { cursor: default; }
.qz-opt-key { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #f1f5f9; color: #64748b; font-size: .78rem; font-weight: 800; }
.qz-opt-text { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.qz-opt.is-right { border-color: #16a34a; background: #f0fdf4; }
.qz-opt.is-right .qz-opt-key { background: #16a34a; color: #fff; }
.qz-opt.is-wrong { border-color: #e11d48; background: #fff1f2; }
.qz-opt.is-wrong .qz-opt-key { background: #e11d48; color: #fff; }
.qz-sentence { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #f8fafc; color: #334155; font-size: .9rem; line-height: 1.5; font-style: italic; }
.qz-play .qz-btn--lg { margin-top: 14px; }

/* Sonuç */
.qz-result { text-align: center; }
.qz-ring {
  --p: 0; width: 150px; height: 150px; margin: 6px auto 0; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(#f59e0b calc(var(--p) * 1%), #fef3c7 0);
}
.qz-ring.is-great { background: conic-gradient(#16a34a calc(var(--p) * 1%), #dcfce7 0); }
.qz-ring span { width: 120px; height: 120px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #0f172a; }
.qz-verdict { margin: 16px 0 18px; font-size: 1.05rem; font-weight: 700; color: #0f172a; line-height: 1.4; }
.qz-share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qz-share .qz-btn { padding: 8px 6px; font-size: .8rem; }
.qz-share .qz-btn--primary { grid-column: 1 / -1; font-size: .92rem; }
.qz-missed { margin: 22px 0 0; padding: 16px 0 0; border-top: 1px dashed #e2e8f0; text-align: left; }
.qz-missed h3 { margin: 0 0 10px; font-size: .9rem; color: #64748b; }
.qz-missed ul { list-style: none; margin: 0 0 14px; padding: 0; border: 1px solid #eef2f7; border-radius: 12px; overflow: hidden; }
.qz-missed li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #f1f5f9; font-size: .9rem; }
.qz-missed li:first-child { border-top: 0; }
.qz-missed li b { color: #0f172a; }
.qz-missed li span { color: #475569; text-align: right; }
.qz-missed .qz-btn { width: 100%; }
.qz-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }

/* ── Dizinin en zor kelimeleri (SEO sayfası) ─────────────────────────────── */
.hw { max-width: 760px; margin: 0 auto; padding: 16px 16px 56px; }
.hw-crumb { font-size: .8rem; color: #64748b; margin-bottom: 14px; }
.hw-crumb a { color: var(--primary); text-decoration: none; }
.hw-head { margin-bottom: 18px; }
.hw-kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: .78rem; font-weight: 700; }
.hw-head h1 { margin: 12px 0 8px; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; color: #0f172a; }
.hw-head p { margin: 0 0 14px; color: #475569; line-height: 1.6; font-size: .95rem; }
.hw-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-list { list-style: none; margin: 0; padding: 0; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; background: #fff; }
.hw-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 14px; border-top: 1px solid #f1f5f9; }
.hw-item:first-child { border-top: 0; }
.hw-rank { font-size: .8rem; font-weight: 800; color: #94a3b8; padding-top: 3px; }
.hw-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hw-word { font-size: 1.05rem; color: #0f172a; }
.hw-lv { padding: 1px 7px; border-radius: 6px; font-size: .68rem; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.hw-mean { margin: 3px 0 0; color: #334155; font-size: .9rem; }
.hw-sent { margin: 4px 0 0; color: #64748b; font-size: .84rem; font-style: italic; line-height: 1.45; }
.hw-ep { align-self: center; padding: 4px 9px; border-radius: 8px; background: #eff6ff; color: var(--primary); font-size: .75rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hw-cta { margin-top: 22px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, #eff6ff, #f5f3ff); text-align: center; }
.hw-cta h2 { margin: 0 0 6px; font-size: 1.1rem; color: #0f172a; }
.hw-cta p { margin: 0 0 14px; color: #475569; font-size: .9rem; line-height: 1.5; }

@media (min-width: 640px) {
  .hw { padding-top: 28px; }
  .hw-head h1 { font-size: 1.9rem; }
  .qz { padding-top: 28px; }
  .qz-card { padding: 30px 32px; }
  .qz-title { font-size: 1.8rem; }
  .qz-opts { grid-template-columns: 1fr 1fr; }
  .qz-share { grid-template-columns: repeat(4, 1fr); }
  .qz-share .qz-btn--primary { grid-column: auto; }
}

/* ═══ Meydan okuma ═══ */
.qz-duel {
  display: grid; justify-items: center; gap: 2px; margin: 0 0 16px; padding: 16px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #1e1b4b, #4c1d95); color: #fff; text-align: center;
}
.qz-duel-kicker { font-size: .9rem; font-weight: 700; color: #e0e7ff; }
.qz-duel-score { font-size: 2.4rem; font-weight: 900; line-height: 1.1; color: #fde68a; letter-spacing: -.02em; }
.qz-duel-q { font-size: .95rem; font-weight: 800; }
.qz-board { margin: 0 0 16px; text-align: left; }
.qz-board h3 { margin: 0 0 8px; font-size: .8rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.qz-board ol { margin: 0; padding: 0; list-style: none; border: 1px solid #eef2f7; border-radius: 12px; overflow: hidden; counter-reset: qzb; }
.qz-board li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid #f1f5f9; font-size: .9rem; counter-increment: qzb; }
.qz-board li:first-child { border-top: 0; }
.qz-board li::before { content: counter(qzb); width: 20px; color: #94a3b8; font-weight: 800; font-size: .8rem; }
.qz-board li:first-child::before { content: '🏆'; }
.qz-board li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0f172a; }
.qz-board li b { color: #4c1d95; }
.qz-name { display: grid; gap: 4px; margin: 0 0 14px; text-align: left; }
.qz-name span { font-size: .78rem; font-weight: 800; color: #64748b; }
.qz-name input {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px;
  font: inherit; font-size: 16px; color: #0f172a; background: #fff;
}
.qz-name input:focus { outline: 2px solid #a5b4fc; border-color: #6366f1; }
.qz-btn--duel { background: linear-gradient(135deg, #4f46e5, #7c3aed); border-color: transparent; }
.qz-vs {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0 0 16px;
  padding: 14px; border-radius: 16px; background: #f5f3ff;
}
.qz-vs-side { display: grid; gap: 2px; min-width: 0; }
.qz-vs-side span { font-size: .82rem; font-weight: 700; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-vs-side b { font-size: 2rem; font-weight: 900; color: #0f172a; line-height: 1.1; }
.qz-vs-me b { color: #4f46e5; }
.qz-vs > i { font-style: normal; font-weight: 900; color: #a78bfa; font-size: .9rem; }
.qz-vs-out { grid-column: 1 / -1; margin: 4px 0 0; font-weight: 800; font-size: 1.05rem; color: #0f172a; }
.qz-vs-out.is-win { color: #16a34a; }
.qz-vs-out.is-lose { color: #dc2626; }
