* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background: #f0f4f8; color: #333; }
.header { background: #1a1a2e; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.header h1 { color: #fff; font-size: 18px; }
.header a { color: #aaa; font-size: 13px; text-decoration: none; }
.header a:hover { color: #fff; }
.container { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
.yil-sec-btn { display: inline-flex; align-items: center; gap: 8px; background: #e94560; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-size: 15px; font-weight: bold; cursor: pointer; margin-bottom: 16px; }
.yil-sec-btn:hover { background: #c73652; }
.yil-popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; align-items: center; justify-content: center; }
.yil-popup-overlay.aktif { display: flex; }
.yil-popup-box { background: #fff; border-radius: 12px; padding: 24px; max-width: 400px; width: 90%; max-height: 80vh; overflow-y: auto; }
.yil-popup-baslik { font-size: 16px; font-weight: bold; margin-bottom: 16px; color: #1a1a2e; }
.yil-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.yil-btn { padding: 8px 16px; border-radius: 20px; border: 1px solid #ddd; background: #fff; font-size: 14px; cursor: pointer; text-decoration: none; color: #333; transition: all 0.15s; }
.yil-btn:hover { border-color: #e94560; color: #e94560; }
.yil-btn.aktif { background: #e94560; color: #fff; border-color: #e94560; font-weight: bold; }
.yil-popup-kapat { float: right; background: none; border: none; font-size: 22px; cursor: pointer; color: #aaa; margin-top: -4px; }
.tablo-wrapper { overflow-x: auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 24px; cursor: grab; user-select: none; }
#sonuc-tablo { border-collapse: collapse; white-space: nowrap; font-size: 12px; width: 100%; }
#sonuc-tablo thead tr { background: #1a1a2e; color: #fff; }
#sonuc-tablo thead th { padding: 10px 8px; text-align: center; }
#sonuc-tablo tbody tr:nth-child(even) { background: #f8f9fa; }
#sonuc-tablo tbody tr:hover { background: #fff0f0; }
#sonuc-tablo tbody td { padding: 6px 8px; text-align: center; border-bottom: 1px solid #eee; }
.s-ball { display: inline-block; background: #e94560; color: #fff; border-radius: 50%; width: 26px; height: 26px; line-height: 26px; font-weight: bold; font-size: 11px; }
.a-ball { display: inline-block; background: #ff9800; color: #fff; border-radius: 50%; width: 26px; height: 26px; line-height: 26px; font-weight: bold; font-size: 11px; }
.istat-baslik { font-size: 15px; font-weight: bold; color: #1a1a2e; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #e94560; }
.istat-kart { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 20px; }
.frekans-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.frekans-item { display: flex; flex-direction: column; align-items: center; background: #f8f9fa; border-radius: 8px; padding: 6px 10px; min-width: 48px; }
.fr-sayi { font-size: 14px; font-weight: bold; color: #e94560; }
.fr-adet { font-size: 12px; font-weight: bold; color: #333; }
.fr-label { font-size: 10px; color: #888; }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-item { background: #f8f9fa; border-radius: 8px; padding: 7px 12px; font-size: 12px; }
.stat-item b { color: #e94560; }
.yukleniyor { text-align: center; padding: 40px; color: #aaa; font-size: 14px; }
