/* Çizgili slotların (Manav Tezgâhı, Eski Harita, Hayal Perdesi) ortak masa düzeni; casino.css'ten sonra yüklenir.
   Renkler oyunun index.html'inde değişkenle verilir: --vurgu, --vurgu2, --cerceve, --cerceve-ic, --tahta1, --tahta2,
   --hucre1, --hucre2, --etiket. Yayına alınınca site\oyunlar-kaynak\ortak\cizgi-slot.css olur. */
body { height: auto; min-height: 100%; }
.baslik { margin: 0; font-size: 1.35rem; font-weight: 900; color: var(--vurgu); letter-spacing: 0.06em; text-align: center; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.gostergeler { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; width: 100%; max-width: 30rem; }
.gostergeler[hidden] { display: none; }
.gosterge { flex: 1 1 8rem; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px; padding: 0.3rem 0.6rem; text-align: center; font-size: 0.8rem; }
.gosterge b { display: block; font-size: 1.15rem; color: var(--vurgu); line-height: 1.2; }
.bedava-kutu { min-height: 1.4em; font-weight: 800; color: #ffb36b; text-align: center; font-size: 0.9rem; }
.masa { --ayir: 370px; gap: clamp(0.3rem, 1.4vh, 0.9rem); padding: clamp(0.4rem, 1.4vh, 1rem) 1rem; }
.cerceve {
  position: relative;
  width: min(100%, 30rem, calc((100vh - var(--ayir)) * 1.66));
  width: min(100%, 30rem, calc((100dvh - var(--ayir)) * 1.66));
  min-width: 12rem;
}
.tahta {
  --ara: 0.3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: var(--ara);
  padding: 0.45rem;
  border-radius: 16px;
  background: linear-gradient(var(--tahta1), var(--tahta2));
  border: 5px solid var(--cerceve);
  box-shadow: inset 0 0 0 2px var(--cerceve-ic), 0 10px 30px rgba(0, 0, 0, 0.55);
}
.hucre { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; background: radial-gradient(circle at 50% 40%, var(--hucre1), var(--hucre2)); padding: 7%; position: relative; }
.hucre svg { width: 100%; height: 100%; display: block; }
.hucre .etiket { position: absolute; top: 3%; right: 5%; font-weight: 900; font-size: clamp(0.6rem, 2.6vw, 0.9rem); color: #fff; background: var(--etiket); border-radius: 6px; padding: 0 0.25em; pointer-events: none; }
.hucre--donuyor { filter: blur(1.5px) brightness(0.92); }
.hucre--kazanan { box-shadow: 0 0 0 3px var(--vurgu), 0 0 12px var(--vurgu); background: radial-gradient(circle at 50% 40%, #fffbe8, #ffe9a8); z-index: 1; }
.hucre--dagilan { box-shadow: 0 0 0 3px #ff9d1c, 0 0 14px #ff9d1c; z-index: 1; }
.hucre--genis { box-shadow: 0 0 0 3px var(--vurgu2), 0 0 14px var(--vurgu2); }
.hucre--ozel { box-shadow: 0 0 0 3px #9be89b, 0 0 14px #9be89b; z-index: 1; }
.cizgiler { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 2; }
.cizgiler polyline { fill: none; stroke: var(--vurgu); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; opacity: 0.85; }
.liste { margin: 0; padding: 0; list-style: none; font-size: 0.82rem; text-align: center; min-height: 1.2em; max-width: 30rem; max-height: 2.6em; overflow-y: auto; }
.bahisler { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; }
.bahisler .dugme { min-width: 3.6rem; }
.bahisler .dugme[aria-pressed="true"] { background: var(--vurgu); }
.dugme--ana { background: var(--vurgu); }
.panel { width: 100%; max-width: 30rem; background: rgba(0, 0, 0, 0.4); border-radius: 12px; padding: 0.7rem; font-size: 0.85rem; }
.panel h2 { font-size: 1rem; margin: 0.2rem 0 0.5rem; color: var(--vurgu); }
.panel p { margin: 0.4rem 0; }
.tablo { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.tablo th, .tablo td { padding: 0.15rem 0.25rem; text-align: right; }
.tablo th:first-child, .tablo td:first-child { text-align: left; }
.tablo td:first-child { display: flex; align-items: center; gap: 0.35rem; }
.tablo td[colspan] { text-align: left; }
.tablo .ikon { width: 1.8rem; height: 1.8rem; flex: none; background: var(--hucre1); border-radius: 6px; padding: 2px; }
.tablo .ikon svg { width: 100%; height: 100%; display: block; }
.cizgi-haritasi { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.2rem, 1fr)); gap: 0.4rem; }
.cizgi-haritasi figure { margin: 0; text-align: center; font-size: 0.72rem; }
.cizgi-haritasi svg { width: 100%; height: auto; display: block; background: rgba(255, 255, 255, 0.06); border-radius: 6px; }
.cizgi-haritasi rect { fill: rgba(255, 255, 255, 0.18); }
.cizgi-haritasi rect.on { fill: var(--vurgu); }
.cizgi-haritasi polyline { fill: none; stroke: var(--vurgu2); stroke-width: 1.5; }
@media (max-width: 520px) {
  .masa { --ayir: 400px; padding: clamp(0.35rem, 1.2vh, 0.6rem) 0.6rem; gap: clamp(0.3rem, 1.2vh, 0.55rem); }
  .tahta { --ara: 0.22rem; padding: 0.3rem; border-width: 4px; }
  .hucre { border-radius: 6px; padding: 5%; }
  .tablo .ad { display: none; }
  .tablo { font-size: 0.78rem; }
}
/* Kısa ekran (küçük telefon 328×512): başlık gizlenir, göstergeler tek satır, düğmeler sıkı */
@media (max-height: 560px) {
  .ust { padding: 0.35rem 0.8rem; font-size: 0.85rem; }
  .baslik, .susleme { display: none; }
  .gosterge { padding: 0.15rem 0.4rem; font-size: 0.7rem; display: flex; justify-content: center; align-items: baseline; gap: 0.4rem; }
  .gosterge b { display: inline; font-size: 1rem; }
  .bedava-kutu { font-size: 0.75rem; min-height: 1.1em; }
  .masa { --ayir: 330px; gap: 0.25rem; padding: 0.25rem 0.6rem; }
  .mesaj { font-size: 0.8rem; min-height: 1.2em; margin: 0; }
  .liste { font-size: 0.72rem; max-height: 1.3em; }
  .kontroller { gap: 0.3rem; padding-bottom: 0.3rem; }
  .dugme { padding: 0.45rem 0.6rem; }
  .bahisler .dugme { min-width: 2.8rem; }
  .not { font-size: 0.65rem; padding-bottom: 0.3rem; }
}
