/* Periyodik Tablo - stil (tek ekran düzeni) */
:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #eef1f7;
  --metin: #1b2233;
  --soluk: #5d6679;
  --cizgi: #d9dee8;
  --vurgu: #2f5bea;
  --vurgu-metin: #ffffff;
  --iyi: #1f9d55;
  --kotu: #d64545;
  --golge: 0 6px 24px rgba(20, 30, 60, .12);
  --hucre-metin: #1b2233;

  --k-alk: #f7a1a1;
  --k-top: #fbc58a;
  --k-gec: #f3df86;
  --k-lan: #f5b3d6;
  --k-akt: #dcc1a0;
  --k-zay: #bfd6c5;
  --k-yar: #93d9c9;
  --k-ame: #9fd1f5;
  --k-hal: #b7bef7;
  --k-soy: #d8b8f5;
  --k-bos: #e3e7ef;

  --c: 50px;           /* tablo hücre boyu - JS hesaplar */
  --ust-h: 50px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151f; --panel: #1a2030; --panel-2: #232a3d; --metin: #e8ecf5; --soluk: #9aa4b8;
    --cizgi: #2f374b; --vurgu: #6f8dff; --vurgu-metin: #0b1020; --golge: 0 6px 24px rgba(0, 0, 0, .45);
    --hucre-metin: #f3f5fa;
    --k-alk: #8a3a3a; --k-top: #8a5a26; --k-gec: #7a6a1f; --k-lan: #7f3a62; --k-akt: #6b5234;
    --k-zay: #3f5a49; --k-yar: #22685a; --k-ame: #22587e; --k-hal: #3e4789; --k-soy: #5d3d86; --k-bos: #2a3144;
  }
}
:root[data-theme="dark"] {
  --bg: #11151f; --panel: #1a2030; --panel-2: #232a3d; --metin: #e8ecf5; --soluk: #9aa4b8;
  --cizgi: #2f374b; --vurgu: #6f8dff; --vurgu-metin: #0b1020; --golge: 0 6px 24px rgba(0, 0, 0, .45);
  --hucre-metin: #f3f5fa;
  --k-alk: #8a3a3a; --k-top: #8a5a26; --k-gec: #7a6a1f; --k-lan: #7f3a62; --k-akt: #6b5234;
  --k-zay: #3f5a49; --k-yar: #22685a; --k-ame: #22587e; --k-hal: #3e4789; --k-soy: #5d3d86; --k-bos: #2a3144;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--metin);
  line-height: 1.4;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh;
  overflow: hidden;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--vurgu); }
[hidden] { display: none !important; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Üst çubuk (tek satır) ---------- */
.ust {
  flex: 0 0 auto;
  height: var(--ust-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--cizgi);
  min-width: 0;
}
.marka {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 18px; text-decoration: none; color: var(--metin);
  white-space: nowrap; flex: 0 0 auto;
}
.marka-ikon { font-size: 24px; color: var(--vurgu); }
.sekmeler { display: flex; gap: 2px; flex: 0 0 auto; }
.sekmeler a {
  padding: 6px 12px; border-radius: 999px; text-decoration: none;
  color: var(--soluk); font-weight: 600; white-space: nowrap;
}
.sekmeler a:hover { background: var(--panel-2); color: var(--metin); }
.sekmeler a.aktif { background: var(--vurgu); color: var(--vurgu-metin); }
.arac { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; }
.arac input[type=search] {
  width: 220px; min-width: 90px; flex: 0 1 220px;
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--cizgi); background: var(--panel);
}
.renk-sec { display: flex; align-items: center; gap: 6px; color: var(--soluk); font-weight: 600; min-width: 0; }
.renk-sec select, .satir-alan select, .satir-alan input, .aralik select, .aralik input {
  padding: 6px 8px; border-radius: 8px; border: 1px solid var(--cizgi); background: var(--panel); min-width: 0;
}
.renk-sec select { max-width: 190px; }
.ust-sag { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: calc(var(--ust-h) - 12px); width: auto; display: block; }
.logo .logo-yedek { display: none; font-weight: 700; color: var(--vurgu); font-size: 14px; }
.logo.logo-yok img { display: none; }
.logo.logo-yok .logo-yedek { display: inline; }

.ikon-btn {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--cizgi); background: var(--panel); cursor: pointer;
  font-size: 17px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
}
.ikon-btn:hover { background: var(--panel-2); }

/* Dar ekranlar: üst çubuğu sıkıştır */
@media (max-width: 1100px) { .marka-ad { display: none; } }
@media (max-width: 860px) {
  .ust { gap: 8px; padding: 0 8px; }
  .renk-etiket { display: none; }
  .sekmeler a { padding: 5px 9px; font-size: 14px; }
  .arac input[type=search] { flex-basis: 130px; }
  .renk-sec select { max-width: 130px; }
  .btn { padding: 6px 10px; }
}
@media (max-width: 640px) {
  .logo .logo-yedek { font-size: 11px; }
  .sekmeler a { padding: 4px 7px; font-size: 13px; }
}
@media (max-height: 480px) { :root { --ust-h: 42px; } .ikon-btn { width: 30px; height: 30px; } }
@media (min-height: 950px) and (min-width: 1500px) {
  :root { --ust-h: 60px; }
  body { font-size: 17px; }
  .marka { font-size: 21px; }
}

/* ---------- Ana alan ---------- */
main {
  flex: 1 1 auto; min-height: 0;
  position: relative;
  overflow: auto;           /* yedek: sığmazsa kaydırılabilir */
  padding: 8px 12px;
}
.gorunum { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sigdir { flex: 0 0 auto; }

/* ---------- Genel düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 8px;
  border: 1px solid var(--cizgi); background: var(--panel);
  cursor: pointer; font-weight: 600; text-decoration: none; color: var(--metin); white-space: nowrap;
}
.btn:hover { background: var(--panel-2); }
.btn-ana { background: var(--vurgu); border-color: var(--vurgu); color: var(--vurgu-metin); }
.btn-ana:hover { background: var(--vurgu); filter: brightness(1.08); }
.btn-kucuk { padding: 4px 9px; font-size: 13px; }
.btn-buyuk { padding: 11px 20px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: default; }
.rozet {
  background: var(--vurgu); color: var(--vurgu-metin);
  border-radius: 999px; font-size: 12px; padding: 1px 7px; min-width: 20px; text-align: center;
}

/* ---------- Periyodik tablo ---------- */
.tablo-kap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tablo { display: grid; gap: calc(var(--c) * .05); position: relative; }
.baslik-hucre {
  text-align: center; color: var(--soluk); font-weight: 700;
  font-size: max(8px, calc(var(--c) * .2));
  align-self: end; line-height: 1.05;
}
.baslik-hucre small { display: block; font-weight: 500; font-size: .85em; }
.tablo.kucuk .baslik-hucre small { display: none; }
.periyot-no { font-size: max(8px, calc(var(--c) * .22)); color: var(--soluk); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.f-etiket {
  font-size: max(8px, calc(var(--c) * .19)); color: var(--soluk); font-weight: 700;
  display: flex; align-items: center; justify-content: flex-end; text-align: right; padding-right: calc(var(--c) * .12);
}

.hucre {
  position: relative;
  width: 100%; height: 100%;
  border: 0; border-radius: max(3px, calc(var(--c) * .1)); padding: 0;
  background: var(--k-bos); color: var(--hucre-metin);
  cursor: pointer; text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  transition: opacity .2s, transform .12s, filter .2s, box-shadow .12s;
  min-width: 0; overflow: hidden; line-height: 1.05;
}
.hucre:hover, .hucre:focus-visible { transform: scale(1.14); z-index: 5; box-shadow: var(--golge); outline: none; }
.hucre .z { position: absolute; top: calc(var(--c) * .04); left: calc(var(--c) * .07); font-size: max(7px, calc(var(--c) * .19)); opacity: .85; }
.hucre .s { font-size: calc(var(--c) * .38); font-weight: 800; }
.hucre .ad { font-size: calc(var(--c) * .15); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96%; margin-top: 1px; }
.hucre .deger { font-size: max(7px, calc(var(--c) * .19)); font-weight: 700; white-space: nowrap; margin-top: 1px; }
.tablo.kucuk .hucre .ad { display: none; }
.tablo.kucuk .hucre .s { margin-top: calc(var(--c) * .12); }
.tablo.cok-kucuk .hucre .z { display: none; }
.tablo.cok-kucuk .hucre .s { margin-top: 0; }
.hucre.sonuk { opacity: .14; filter: grayscale(1); }
.hucre.sonuk:hover { opacity: .5; }
.hucre.yer-tutucu { cursor: default; font-size: max(7px, calc(var(--c) * .19)); font-weight: 700; }
.hucre.yer-tutucu:hover { transform: none; box-shadow: none; }
.hucre.acik-metin { color: #fff; }
.hucre.bilinmiyor { background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(127,127,127,.18) 5px 7px); }

.k-alk { background: var(--k-alk); } .k-top { background: var(--k-top); } .k-gec { background: var(--k-gec); }
.k-lan { background: var(--k-lan); } .k-akt { background: var(--k-akt); } .k-zay { background: var(--k-zay); }
.k-yar { background: var(--k-yar); } .k-ame { background: var(--k-ame); } .k-hal { background: var(--k-hal); }
.k-soy { background: var(--k-soy); }

/* Tablonun boş orta bölgesi (1.-3. periyot, 3B-2B grupları): lejant / oyun sorusu */
.orta-alan {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(var(--c) * .08);
  padding: 0 calc(var(--c) * .15); min-width: 0; overflow: hidden;
  font-size: max(9px, calc(var(--c) * .2));
}
.lejant { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--c) * .05) calc(var(--c) * .16); align-items: center; line-height: 1.2; }
.lejant .l-oge { display: inline-flex; align-items: center; gap: .35em; background: none; border: 0; cursor: pointer; padding: .15em .3em; border-radius: 5px; font-size: 1em; color: var(--metin); }
.lejant button.l-oge:hover { background: var(--panel-2); }
.lejant button.l-oge[aria-pressed="true"] { outline: 2px solid var(--vurgu); }
.lejant .l-kutu { width: 1em; height: 1em; border-radius: 3px; display: inline-block; }
.lejant .gradyan { width: calc(var(--c) * 4.5); height: .9em; border-radius: .45em; }
.lejant .l-baslik { font-weight: 700; }
.sonuc { color: var(--soluk); font-weight: 600; }

/* ---------- Modallar ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 10px; overflow: auto; }
.modal-arka { position: fixed; inset: 0; background: rgba(10, 15, 30, .55); }
.modal-kutu {
  position: relative; width: 100%;
  background: var(--panel); border-radius: 14px; box-shadow: var(--golge);
  padding: 12px 16px 14px;
}

/* Filtre penceresi */
.filtre-kutu { max-width: 1000px; }
.filtre-bas { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filtre-bas h2 { margin: 0; font-size: 19px; }
.filtre-grid {
  display: grid; gap: 10px 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.filtre-grid fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filtre-grid fieldset.iki-sutun { grid-column: span 2; }
.filtre-grid legend { font-weight: 700; font-size: 13px; color: var(--soluk); margin-bottom: 5px; padding: 0; }
.cipler { display: flex; flex-wrap: wrap; gap: 5px; }
.cip {
  border: 1px solid var(--cizgi); background: var(--panel);
  border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.cip .nokta { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
.cip[aria-pressed="true"] { background: var(--vurgu); border-color: var(--vurgu); color: var(--vurgu-metin); }
.satir-alan { display: flex; gap: 6px; align-items: center; }
.satir-alan > * { flex: 1; width: 100%; }
.satir-alan > span { flex: 0; width: auto; }
.onay { display: flex; gap: 6px; align-items: center; margin-top: 5px; font-size: 13px; color: var(--soluk); }
.aralik { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.aralik select { flex: 2 1 160px; }
.aralik input { flex: 1 1 70px; width: 70px; }
.aralik .birim { color: var(--soluk); font-size: 12px; min-width: 42px; }
.ipucu { color: var(--soluk); font-size: 13px; margin: 0 0 6px; }
.filtre-alt { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }
.filtre-alt #filtre-temizle { margin-right: auto; }

/* Element kartı */
.kart-kutu { max-width: 440px; }
.kart-kutu.genis { max-width: 960px; }
.kart-ust { position: absolute; top: 10px; right: 12px; display: flex; gap: 6px; z-index: 2; }
.kart-govde { display: grid; grid-template-columns: 1fr; gap: 18px; }
.kart-kutu.genis .kart-govde { grid-template-columns: 400px 1fr; }
.kart-bas { display: flex; gap: 14px; align-items: center; padding-right: 116px; }
.kart-tas {
  width: 92px; height: 98px; flex: 0 0 auto; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; color: var(--hucre-metin);
}
.kart-tas .z { position: absolute; top: 5px; left: 8px; font-size: 13px; font-weight: 700; }
.kart-tas .s { font-size: 40px; font-weight: 800; line-height: 1; }
.kart-tas .m { font-size: 12px; margin-top: 5px; }
.kart-bas h2 { margin: 0 0 5px; font-size: 24px; }
.etiketler { display: flex; flex-wrap: wrap; gap: 5px; }
.etiket { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); font-weight: 600; }
.etiket.radyo { background: #ffe08a; color: #5a4300; }
.kart-ozet { margin: 10px 0 4px; color: var(--soluk); font-size: 14px; }
.bilgi-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.bilgi-tablo th, .bilgi-tablo td { text-align: left; padding: 5px 4px; border-bottom: 1px solid var(--cizgi); vertical-align: top; }
.bilgi-tablo th { font-weight: 600; color: var(--soluk); width: 50%; }
.bilgi-tablo td { font-weight: 600; }
.bilgi-tablo .bilinmez { color: var(--soluk); font-weight: 400; font-style: italic; }
.bilgi-btn {
  border: 0; background: var(--panel-2); color: var(--soluk); border-radius: 50%;
  width: 17px; height: 17px; font-size: 11px; line-height: 17px; padding: 0; cursor: pointer; margin-left: 4px;
  font-weight: 700; vertical-align: 1px;
}
.bilgi-metin { display: block; font-weight: 400; font-size: 12px; margin-top: 3px; color: var(--soluk); }
.ayrinti-btn { margin-top: 10px; width: 100%; justify-content: center; }
.ayrinti { min-width: 0; padding-top: 44px; }
.kart-sekmeler { margin-bottom: 8px; }
.kart-not { margin-top: 10px; padding: 8px 10px; background: var(--panel-2); border-radius: 8px; font-size: 13px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }

/* ---------- Oyunlar ---------- */
.baslik { font-size: 22px; margin: 0; }
.oyun-menu { width: 100%; max-width: 1160px; }
.oyun-menu-ic { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.oyun-menu .baslik { margin-bottom: 12px; }
.oyun-kart {
  background: var(--panel); border: 1px solid var(--cizgi); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 9px; box-shadow: var(--golge);
}
.oyun-kart .oyun-ikon { font-size: 32px; line-height: 1; }
.oyun-kart h2 { margin: 0; font-size: 19px; }
.oyun-kart p { margin: 0; color: var(--soluk); flex: 1; font-size: 14px; }
.segment { display: inline-flex; background: var(--panel-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.segment button {
  border: 0; background: none; padding: 5px 11px; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--soluk);
}
.segment button[aria-pressed="true"] { background: var(--panel); color: var(--metin); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

.oyun-alan { width: 100%; max-width: 980px; }
.oyun-alan.tam { max-width: none; height: 100%; display: flex; flex-direction: column; }
.oyun-ust {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--cizgi); border-radius: 12px; padding: 6px 12px; margin-bottom: 8px;
}
.oyun-ust .ad { font-weight: 800; }
.oyun-ust .bilgi { color: var(--soluk); font-weight: 600; }
.oyun-ust .puan { margin-left: auto; font-weight: 800; font-size: 18px; }
.sure-cubuk { height: 6px; background: var(--panel-2); border-radius: 3px; overflow: hidden; margin: 0 0 10px; flex: 0 0 auto; }
.sure-cubuk div { height: 100%; background: var(--vurgu); width: 100%; transition: width .1s linear; }
.sure-cubuk div.az { background: var(--kotu); }

.soru-kutu {
  background: var(--panel); border: 1px solid var(--cizgi); border-radius: 14px; padding: 18px 20px; box-shadow: var(--golge);
}
.soru-metin { font-size: 21px; font-weight: 700; margin: 0 0 14px; text-align: center; }
.secenekler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.secenek {
  padding: 12px; border-radius: 10px; border: 2px solid var(--cizgi); background: var(--panel);
  cursor: pointer; font-size: 17px; font-weight: 600; text-align: center;
}
.secenek:hover:not(:disabled) { border-color: var(--vurgu); }
.secenek.dogru { border-color: var(--iyi); background: rgba(31,157,85,.16); }
.secenek.yanlis { border-color: var(--kotu); background: rgba(214,69,69,.16); }
.secenek:disabled { cursor: default; }
.geri-bildirim { min-height: 2.9em; margin-top: 10px; text-align: center; font-weight: 600; }
.geri-bildirim.iyi { color: var(--iyi); }
.geri-bildirim.kotu { color: var(--kotu); }
.devam-alan { text-align: center; min-height: 40px; }

/* Hangisi daha büyük */
.ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ikili .secenek { padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ikili .secenek .s { font-size: 38px; font-weight: 800; line-height: 1; }
.ikili .secenek .alt { font-size: 13px; color: var(--soluk); font-weight: 500; }
.ikili .secenek .deger { font-size: 16px; font-weight: 800; min-height: 22px; }

/* Elementin yeri */
.yer-kap { flex: 1 1 auto; min-height: 0; height: auto; }
.yer-soru { font-size: max(12px, calc(var(--c) * .34)); font-weight: 700; text-align: center; line-height: 1.2; }
.yer-soru .hedef { color: var(--vurgu); }
.yer-gb { font-size: max(10px, calc(var(--c) * .24)); font-weight: 600; text-align: center; min-height: 2.4em; line-height: 1.2; }
.yer-gb.iyi { color: var(--iyi); }
.yer-gb.kotu { color: var(--kotu); }
.tablo.yer .hucre { cursor: pointer; }
.tablo.yer .hucre.gri { background: var(--k-bos); }
.tablo.yer .hucre.bulundu { outline: 3px solid var(--iyi); outline-offset: -3px; }
.tablo.yer .hucre.hata { outline: 3px solid var(--kotu); outline-offset: -3px; }
.tablo.yer .hucre.goster { outline: 3px dashed var(--iyi); outline-offset: -3px; animation: nabiz .8s ease-in-out 3; }
@keyframes nabiz { 50% { transform: scale(1.15); } }

/* Eşleştirme */
.eslestir { display: flex; flex-direction: column; gap: 12px; }
.eslestir .sira { display: grid; gap: 8px; }
.eslestir .sira.semboller { grid-template-columns: repeat(8, 1fr); }
.eslestir .sira.adlar { grid-template-columns: repeat(4, 1fr); }
.eslestir .secenek { padding: 10px 6px; }
.eslestir .semboller .secenek { font-size: 22px; font-weight: 800; }
.eslestir .secenek.secili { border-color: var(--vurgu); background: rgba(80,120,240,.16); }
.eslestir .secenek.bitti { opacity: .45; }

/* Oyun sonu ve skorlar */
.son-kutu { text-align: center; }
.son-kutu .buyuk-puan { font-size: 50px; font-weight: 800; color: var(--vurgu); line-height: 1.05; }
.son-kutu .istatistik { color: var(--soluk); margin: 4px 0 10px; }
.kaydet-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 8px 0; }
.kaydet-form input { padding: 9px 12px; border-radius: 8px; border: 1px solid var(--cizgi); background: var(--panel); width: 220px; max-width: 100%; }
.son-dugmeler { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.mesaj { font-size: 14px; margin-top: 4px; }
.mesaj.kotu { color: var(--kotu); }
.mesaj.iyi { color: var(--iyi); }

.skorlar-ic { width: 100%; max-width: 1000px; }
.skor-secim { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.skor-secim .baslik { margin-right: 8px; }
.skor-liste { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.skor-kutu { background: var(--panel); border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 14px; text-align: left; }
.skor-kutu h3 { margin: 0 0 6px; font-size: 16px; }
.skor-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.skor-tablo td, .skor-tablo th { padding: 4px 4px; border-bottom: 1px solid var(--cizgi); text-align: left; }
.skor-tablo th { color: var(--soluk); font-size: 12px; }
.skor-tablo td.no { width: 30px; color: var(--soluk); font-weight: 700; }
.skor-tablo td.p { text-align: right; font-weight: 800; }
.skor-tablo tr.ben td { background: rgba(80,120,240,.16); }
.bos-mesaj { color: var(--soluk); font-style: italic; }

/* ---------- Dikey ekran uyarısı (telefon / tablet) ---------- */
.dikey-uyari { display: none; }
@media (orientation: portrait) and (pointer: coarse) and (max-width: 1100px) {
  html:not(.dikey-gec) .dikey-uyari {
    display: flex; position: fixed; inset: 0; z-index: 100;
    background: var(--bg); align-items: center; justify-content: center; text-align: center; padding: 24px;
  }
}
.dikey-ic { max-width: 320px; }
.dikey-ic h2 { margin: 12px 0 8px; }
.dikey-ic p { color: var(--soluk); margin: 0 0 20px; }
.dondur-ikon { font-size: 64px; display: inline-block; animation: dondur 2.4s ease-in-out infinite; }
@keyframes dondur { 0%, 25% { transform: rotate(0); } 55%, 100% { transform: rotate(-90deg); } }
.oyun-kart .segment { flex-wrap: nowrap; align-self: flex-start; }
.oyun-kart .segment button { padding: 5px 9px; }

/* Dil seçici */
.dil-sec {
  padding: 5px 6px; border-radius: 8px; border: 1px solid var(--cizgi); background: var(--panel);
  font-weight: 700; font-size: 13px; cursor: pointer;
}

/* Kullanım alanları sekmesi */
.kul-baslik { margin: 2px 0 6px; font-size: 15px; }
.kul-liste { margin: 0 0 10px; padding-left: 20px; font-size: 14px; }
.kul-liste li { margin-bottom: 3px; }
.gunluk { margin: 0; padding: 9px 11px; background: var(--panel-2); border-radius: 8px; font-size: 14px; }
