/* =============================================================
   PedanTürk — Türkçe Pedantle klonu
   Wikipedia hissi + hibrid (Pedantle gri tonlama + varak yeşil)
   ============================================================= */

:root {
  --paper:      #fafaf6;
  --paper-2:    #f4f0e6;
  --card:       #ffffff;
  --border:     #e8e5dd;
  --ink:        #1a1a1a;
  --ink-soft:   #3a3a3a;
  --text-dim:   #555;
  --text-faint: #999;
  --green:      #2c5f2d;
  --green-dark: #1e441f;
  --green-soft: rgba(108, 169, 101, 0.45);
  --gold:       #d4a843;
  --red:        #c84030;

  /* Hibrid renklendirme — gizli kelimeler */
  --hidden:     #3a3a3a;     /* tam soğuk */
  --hint-cold:  #4a5048;     /* hafif sıcaklık */
  --hint-cool:  #5e6a5a;     /* orta yakın */
  --hint-warm:  #748b6d;     /* yakın */
  --hint-hot:   #8db283;     /* çok yakın ama gizli */
  --reveal:     transparent; /* açıldı — metin görünür */
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); min-height: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
[hidden] { display: none !important; }

/* =============================================================
   Header
   ============================================================= */
.pt-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.pt-brand { display: flex; align-items: center; gap: 10px; }
.pt-home {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-dim); text-decoration: none;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 16px;
}
.pt-home:hover { color: var(--green); background: var(--paper); }
.pt-header h1 {
  font-family: 'Amiri', serif;
  font-size: 22px; font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.alfa-tag {
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px;
  background: rgba(200,64,48,0.12);
  color: var(--red);
  position: relative; top: -1px;
}
.pt-actions { display: flex; gap: 4px; }
.icon-btn {
  background: transparent; border: 1px solid transparent;
  width: 36px; height: 36px; border-radius: 6px;
  cursor: pointer; color: var(--text-dim);
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.icon-btn:hover { background: var(--paper); color: var(--green); }

/* =============================================================
   Main
   ============================================================= */
/* =============================================================
   Pedantle tarzı 2-kolon layout — sol sarı sticky liste
   ============================================================= */
.pt-layout {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 14px 30px;
  position: relative;
}

.pt-side {
  width: 240px;
  flex-shrink: 0;
  background: #f6c945;             /* Pedantle sarısı */
  border: 1px solid #d9a92a;
  border-radius: 8px;
  padding: 14px 12px 10px;
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.side-title {
  font-family: 'Amiri', serif;
  font-size: 22px;
  font-weight: 700;
  color: #5a3a00;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.side-sub {
  text-align: center;
  font-size: 12px;
  color: #5a3a00;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.side-sub b { color: #2a1a00; font-weight: 700; }

.side-list-head {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #5a3a00;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 4px 6px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 4px;
}
.side-list {
  list-style: none; padding: 0; margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.side-list li {
  display: flex;
  align-items: center;
  padding: 3px 4px;
  border-radius: 3px;
  color: #2a1a00;
  cursor: pointer;
  transition: background 0.12s;
}
.side-list li:hover { background: rgba(255,255,255,0.35); }
.side-list li .num {
  color: #7a5500;
  font-variant-numeric: tabular-nums;
  width: 28px;
  text-align: right;
  margin-right: 8px;
  font-size: 12px;
}
.side-list li .word { flex: 1; }
.side-list li.hit { font-weight: 700; color: #1b4d1b; }
.side-list li.warm { color: #8a4a00; }
.side-list li.cold { color: #5a3a00; opacity: 0.65; }

/* =============================================================
   Ana sütun
   ============================================================= */
.pt-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}

/* =============================================================
   Tahmin formu — sticky üst
   ============================================================= */
.pt-form {
  display: flex; gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  position: sticky;
  top: 8px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pt-streak {
  display: flex; flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  padding: 0 4px 0 10px;
  flex: 1;
  min-width: 0;
  max-height: 36px;
  overflow: hidden;
}
.pt-streak .blk {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: #c84030;       /* soğuk: kırmızı */
  flex-shrink: 0;
  transition: transform 0.2s;
}
.pt-streak .blk.hit  { background: #6ca965; }   /* yeşil = tam eşleşme(ler) */
.pt-streak .blk.warm { background: #e67e22; }   /* turuncu = yakın eşleşme(ler) */
.pt-streak .blk:hover { transform: scale(1.3); }
.pt-form input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
}
.pt-form input::placeholder { color: var(--text-faint); font-style: italic; }
.pt-form button {
  background: var(--green); color: #fff;
  border: none; border-radius: 6px;
  padding: 10px 18px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer; transition: background 0.15s;
}
.pt-form button:hover:not(:disabled) { background: var(--green-dark); }
.pt-form button:disabled { opacity: 0.5; cursor: wait; }

.pt-toast {
  background: #2a2520; color: #fff;
  padding: 8px 14px; border-radius: 5px;
  font-size: 14px; text-align: center;
  margin: 0 0 10px;
  animation: toastFade 0.2s;
}

/* Geri sayım — Wordle ile aynı sade stil */
.pt-countdown {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 24px;
  opacity: 0.6;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   INLINE VICTORY BANNER — varak.ist krem/altın teması
   ============================================================ */
.pt-win {
  display: none;       /* default: gizli — JS .pt-win.open ile gösterir */
  position: relative;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px 38px 14px 18px;
  margin: 0 0 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  animation: winSlide 0.35s ease-out;
}
.pt-win.open { display: block; }
.pt-win-close {
  position: absolute;
  top: 8px; right: 10px;
  width: 24px; height: 24px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.pt-win-close:hover { background: rgba(0,0,0,0.06); color: var(--ink); }
@keyframes winSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pt-win-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  font-family: 'EB Garamond', 'Amiri', serif;
}
.pt-win-emoji { font-size: 20px; line-height: 1; flex-shrink: 0; }
.pt-win-text  { flex: 1; }
.pt-win-text b { color: var(--green-dark); font-weight: 700; }
.pt-win-streak {
  display: flex; flex-wrap: wrap;
  gap: 2px;
  margin: 10px 0 10px;
  padding: 6px 8px;
  background: rgba(0,0,0,0.04);
  border-radius: 4px;
  min-height: 24px;
}
.pt-win-streak .blk {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.pt-win-streak .blk.hit  { background: #6ca965; }
.pt-win-streak .blk.warm { background: #e67e22; }
.pt-win-actions {
  display: flex; flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-dim);
}
.pt-win-link {
  color: var(--green-dark);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}
.pt-win-link:hover { color: var(--green); }
.pt-win-sep { color: var(--text-faint); padding: 0 2px; }
.pt-win-opts {
  display: flex; flex-wrap: wrap;
  gap: 6px 22px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  color: var(--text-dim);
}
.pt-win-opt {
  display: flex; align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}
.pt-win-opt input[type=checkbox] {
  width: 16px; height: 16px;
  accent-color: var(--green);
  cursor: pointer;
}
.pt-win-opt small { color: var(--text-faint); font-size: 12px; }

/* "tek tek aç" modunda gizli kutu hover ipucu */
.pt-article.click-reveal .tok.w:not(.open) {
  cursor: pointer;
  outline-offset: 2px;
  transition: outline 0.1s;
}
.pt-article.click-reveal .tok.w:not(.open):hover {
  outline: 2px solid #6ca965;
}

@media (max-width: 640px) {
  .pt-win { padding: 12px 14px; }
  .pt-win-head { font-size: 14px; }
  .pt-win-actions, .pt-win-opt { font-size: 13px; }
}
@keyframes toastFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* =============================================================
   Article — Wikipedia tarzı + token spans
   ============================================================= */
.pt-article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  font-family: 'JetBrains Mono', 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink);
  word-wrap: break-word;
}
.pt-loading {
  text-align: center; color: var(--text-faint);
  font-style: italic; padding: 40px;
}
.pt-article h1.pt-title {
  font-family: 'Amiri', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green-dark);
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.pt-article p {
  margin-bottom: 14px;
  text-align: justify;
  hyphens: auto;
}

/* TOKEN — kelime parçaları */
.tok {
  white-space: pre-wrap;
}
.tok.w {
  /* Default: gizli (soğuk) kutu — Pedantle stili kompakt.
     SABİT genişlik: kelime uzunluğuna göre. Tıklayınca içerik değişse de kutu
     boyu hiç değişmez (pseudo-overlay ile sayı gösterilir).
  */
  background: #2b2b2b;
  color: transparent;
  border-radius: 2px;
  padding: 1px 4px 2px;
  margin: 0 2px;
  display: inline-block;
  user-select: none;
  transition: background 0.25s, color 0.2s;
  vertical-align: baseline;
  position: relative;
  cursor: pointer;
  width: calc(var(--l, 1) * 1ch + 10px);   /* monospace: 1ch = karakter genişliği */
  height: 1.3em;
  box-sizing: border-box;
  text-align: center;
  /* İçerik kutuya sığmasa bile asla taşmasın / satır kırılmasın */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.3em;
}
.tok.w::after { content: none; }
/* ::before pseudo overlay — show-len durumunda sayıyı kutu boyutu DEĞİŞTİRMEDEN gösterir */
.tok.w::before {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ba3d1;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.tok.w.show-len::before {
  content: attr(data-l);
  opacity: 1;
}

/* Yakın eşleşmeler — kelime kutu içinde görünür (Pedantle stili).
   - .recent: en son tahminin yakın kelimeleri TURUNCU canlı
   - default: önceki tahmin'lerden kalan yakın kelimeler GRİ
   Kutu boyu hiç değişmez.
*/
.tok.w.hint {
  background: #2b2b2b !important;
  color: #aaa !important;       /* default hint = gri */
  user-select: text;
  font-weight: 600;
  /* Tahmin gizli kelimeden uzun olabilir — kutu içeriğe sığacak şekilde uzasın
     (alt satıra kırılmaz; min-width orijinal --l kutu boyu kadar) */
  width: auto;
  min-width: calc(var(--l, 1) * 1ch + 10px);
  padding-left: 6px;
  padding-right: 6px;
}
.tok.w.hint::before { content: none; }
.tok.w.hint::after { content: none; }
.tok.w.hint.recent {
  color: #ffb24d !important;     /* recent = canlı turuncu */
}

/* Son tahminin turuncu pulse — sonra hint sınıfının gri rengine döner */
.tok.w.flash {
  animation: hintFlash 1.8s ease-out forwards;
}
@keyframes hintFlash {
  0%   { color: #ff8c00; background: rgba(255,140,0,0.18); }
  20%  { color: #ff8c00; background: rgba(255,140,0,0.18); }
  100% { /* renkler hint class'ına döner */ }
}

/* Bilinen kelime — yeşille parlayan. Kutu boyutunu kapalıyla AYNI tut! */
.tok.w.open {
  background: rgba(108, 169, 101, 0.30);
  color: var(--green-dark);
  border-bottom: 1px solid var(--green);
  user-select: text;
  font-weight: 600;
  /* width/height/padding miras alınıyor — kayma olmaz */
}
.tok.w.open::before { content: none; }
.tok.w.open::after { content: none; }
.tok.w.open.title {
  background: rgba(108, 169, 101, 0.42);
  font-weight: 700;
}

/* Son tahmin yeşil parıltı — gözünü çekmek için */
.tok.w.open.recent {
  animation: openPulse 1.6s ease-out;
}
@keyframes openPulse {
  0%   { background: rgba(108, 169, 101, 0.85); box-shadow: 0 0 0 4px rgba(108,169,101,0.45); }
  60%  { background: rgba(108, 169, 101, 0.55); box-shadow: 0 0 0 2px rgba(108,169,101,0.0); }
  100% { background: rgba(108, 169, 101, 0.32); box-shadow: 0 0 0 0 transparent; }
}

/* Stop word — açık ve sıradan görünür (italik DEĞİL) */
.tok.w.stop {
  background: transparent;
  color: var(--text-dim);
  padding: 0 2px;
  font-weight: 400;
  border-bottom: none;
}
.tok.w.stop::after { content: none; }

/* =============================================================
   Harf sayısı tooltip — kapalı kelimeye tıklayınca
   ============================================================= */
.pt-tooltip {
  position: fixed;
  background: #222;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pt-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: #222;
}

/* =============================================================
   Dünün kelimesi (alt link)
   ============================================================= */
.pt-yesterday {
  text-align: center;
  margin: 22px 0 6px;
}
.pt-yesterday a {
  color: var(--text-faint);
  font-size: 13px;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.15s;
  font-style: italic;
}
.pt-yesterday a:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--card);
}

/* =============================================================
   Footer — 3 sütun profesyonel
   ============================================================= */
.pt-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 26px 24px 18px;
  color: var(--text-dim);
}
.pt-foot-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.foot-col h4 {
  font-family: 'Amiri', serif;
  font-size: 15px;
  color: var(--green-dark);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.foot-col p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.foot-col p b { color: var(--ink); font-weight: 600; }
.foot-col a { color: var(--green); text-decoration: none; border-bottom: 1px dotted var(--green); }
.foot-col a:hover { color: var(--green-dark); border-bottom-style: solid; }
.pt-foot-credit {
  max-width: 1000px; margin: 20px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-faint);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .pt-foot-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* =============================================================
   Buttons (modaller için)
   ============================================================= */
.btn {
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 9px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-line { background: transparent; color: var(--green); }
.btn-line:hover { background: var(--paper); }

/* =============================================================
   Modal — ortak
   ============================================================= */
.modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 200;
}
.modal[hidden] { display: none; }
.modal-back {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal-pane {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-pane h3 {
  font-family: 'Amiri', serif;
  font-size: 22px;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.modal-pane p { font-size: 14px; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.modal-pane ul { padding-left: 22px; margin: 10px 0; line-height: 1.7; font-size: 14px; }
.modal-pane label {
  display: block; font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin: 10px 0 4px;
}
.modal-pane label small { text-transform: none; letter-spacing: 0; color: var(--text-faint); font-style: italic; }
.modal-pane input[type="text"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
}
.modal-pane input[type="text"]:focus { border-color: var(--green); }
.modal-pane .btn { margin-top: 12px; margin-right: 6px; }
.modal-pane .m-help { color: var(--text-dim); font-size: 13px; }
.create-out {
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 14px;
  margin-top: 14px;
}
.create-out > div:first-child {
  font-size: 13px; color: var(--text-dim); margin-bottom: 6px;
}

/* =============================================================
   Victory Modal
   ============================================================= */
.vm-pane {
  max-width: 720px;
  width: 100%;
  max-height: 92vh;
  display: flex; flex-direction: column;
  padding: 0;
  overflow: hidden;
  animation: vmIn 0.25s ease-out;
}
@keyframes vmIn {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.vm-close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 6px;
  width: 30px; height: 30px;
  font-size: 16px; cursor: pointer;
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.vm-close:hover { color: var(--red); border-color: var(--red); }
.vm-head {
  background: linear-gradient(135deg, rgba(108,169,101,0.15), rgba(212,168,67,0.08));
  text-align: center;
  padding: 30px 24px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.vm-trophy {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(44, 95, 45, 0.25));
}
.vm-head h2 {
  font-family: 'Amiri', serif;
  font-size: 28px;
  color: var(--green-dark);
  margin: 4px 0 10px;
  letter-spacing: 0.02em;
}
.vm-word {
  font-family: 'Amiri', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
  margin: 6px 16px;
  line-height: 1.2;
}
.vm-meta {
  color: var(--text-dim);
  font-size: 15px;
  margin: 10px 0 16px;
}
.vm-meta b {
  color: var(--green-dark);
  font-size: 22px;
  margin-right: 3px;
}
.vm-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.vm-revealed {
  flex: 1;
  overflow-y: auto;
  padding: 18px 26px 24px;
}
.vm-revealed-title {
  font-family: 'Amiri', serif;
  font-size: 14px;
  color: var(--green-dark);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.vm-revealed-body {
  font-family: 'EB Garamond', 'Georgia', serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  white-space: pre-wrap;
}
.vm-revealed-body strong {
  color: var(--green-dark);
  font-family: 'Amiri', serif;
  font-size: 19px;
  display: block;
  margin-bottom: 8px;
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 860px) {
  .pt-layout { flex-direction: column; padding: 10px 10px 30px; }
  .pt-side {
    position: static;
    width: 100%;
    max-height: none;
    order: 2;   /* mobilde liste ana içerikten sonra */
  }
  .side-list { max-height: 220px; overflow-y: auto; }
}
@media (max-width: 640px) {
  .pt-header { padding: 10px 12px; }
  .pt-header h1 { font-size: 19px; }
  .pt-article { padding: 22px 18px; font-size: 15px; }
  .pt-article h1.pt-title { font-size: 22px; }
  .vm-revealed { padding: 14px 16px 20px; }
  .vm-word { font-size: 24px; }
}
