/* Ana sayfa: manşet, duyuru, fikstür, haber, puan, galeri */

.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #062b55;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.hero-viewport {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  height: 330px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  outline: none;
}
.hero-viewport::-webkit-scrollbar {
  display: none;
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  height: 100%;
  display: block;
  color: inherit;
  text-decoration: none;
}
.hero-slide--static {
  cursor: default;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}
.hero-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 29, 58, 0.03) 0%, rgba(3, 29, 58, 0.34) 40%, rgba(3, 29, 58, 0.92) 100%);
}
.hero-body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 10px;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.24);
}
.hero-body h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.45px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 13px;
  color: #dbeafe;
  font-size: 11px;
  font-weight: 800;
}
.hero-dots {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}
.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-dot.active {
  width: 18px;
  background: #1688ff;
}
.hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 22px;
}
.quick-card {
  min-height: 88px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
}
.quick-card .icon {
  font-size: 24px;
  color: #0d6efd;
  line-height: 1;
}
.quick-card b {
  font-size: 11px;
  text-align: center;
  color: #0d2746;
}

.notice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 12px;
}
.notice-list {
  display: grid;
  gap: 9px;
}
.notice-item {
  position: relative;
  padding: 12px 12px 12px 17px;
  border: 1px solid #e8f0fa;
  border-radius: 14px;
  background: #fbfdff;
}
.notice-item:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: #ef4444;
}
.notice-item b {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #10243d;
  margin-bottom: 6px;
}
.notice-item span {
  font-size: 11px;
  color: #6b7f99;
  font-weight: 800;
}
button.notice-item {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border: 1px solid #e8f0fa;
}
.notice-item:hover,
.notice-item:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8, 60, 116, 0.08);
  outline: 0;
}
.notice-empty {
  margin: 0;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.duyuru-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.duyuru-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
html.duyuru-modal-open {
  overflow: hidden;
}
.duyuru-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 32, 58, 0.52);
  backdrop-filter: blur(2px);
}
.duyuru-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(86vh, 640px);
  overflow: auto;
  background: #fff;
  border: 1px solid #dfeaf7;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 16px 14px;
  margin-bottom: max(6px, env(safe-area-inset-bottom));
}
.duyuru-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2edf8;
  background: #fbfdff;
  color: #07376a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.duyuru-modal-head {
  padding-right: 46px;
  margin-bottom: 12px;
}
.duyuru-modal-head .tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.duyuru-modal-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #07376a;
  font-weight: 900;
}
.duyuru-modal-date {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.duyuru-modal-body {
  color: #10243d;
  font-size: 14px;
  line-height: 1.75;
  word-wrap: break-word;
}
.duyuru-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.duyuru-modal-body p {
  margin: 0 0 10px;
}
.duyuru-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.duyuru-modal-gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8f0fa;
}
.duyuru-modal-gallery img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}
.duyuru-modal-files {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.duyuru-modal-files a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #edf3fa;
  background: #fbfdff;
  font-size: 12px;
  font-weight: 800;
  color: #0d6efd;
}
.duyuru-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef4fb;
}
.duyuru-modal-actions .btn {
  flex: 0 0 auto;
  min-width: 160px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 13px;
  padding: 12px 32px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  border: 0;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.22);
}

/* Maç detay modalı */
.mac-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  padding: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.mac-modal.open {
  pointer-events: auto;
  opacity: 1;
}
html.mac-modal-open {
  overflow: hidden;
}
.mac-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 30, 58, 0.52);
  backdrop-filter: blur(4px);
}
.mac-modal-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  max-height: min(88vh, 640px);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(6, 43, 85, 0.35);
  padding: 18px 18px 16px;
  transform: translateY(12px);
  transition: transform 0.22s ease;
}
.mac-modal.open .mac-modal-panel {
  transform: translateY(0);
}
.mac-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e1edf9;
  background: #f8fbff;
  color: #07376a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.mac-modal-head {
  padding-right: 44px;
  margin-bottom: 12px;
}
.mac-modal-head .tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 8px;
}
.mac-modal-lig {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.mac-modal-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  color: #07376a;
  letter-spacing: -0.3px;
}
.mac-modal-body {
  font-size: 14px;
  color: #243c58;
}
.mac-modal-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4f9ff, #fff);
  border: 1px solid #e6f0fb;
}
.mac-team-lbl {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}
.mac-team strong {
  font-size: 14px;
  font-weight: 900;
  color: #10243d;
  line-height: 1.25;
}
.mac-vs {
  font-size: 11px;
  font-weight: 900;
  color: var(--blue);
  padding: 0 4px;
}
.mac-modal-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.mac-modal-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fbfdff;
  border: 1px solid #edf3fa;
}
.mac-modal-dl dt {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
}
.mac-modal-dl dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #10243d;
  text-align: right;
}
.mac-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eef4fb;
}
.mac-modal-actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 13px;
  padding: 12px 20px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  box-sizing: border-box;
}
.mac-modal-actions .mac-fikstur-link {
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.22);
}
.mac-modal-actions .mac-btn-close {
  background: #f1f5f9;
  color: #10243d;
  border: 1px solid #e2e8f0;
}

.fixture-list {
  display: grid;
  gap: 11px;
}
.fixture-list button.fixture-card {
  width: 100%;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fixture-card {
  display: grid;
  grid-template-columns: 1fr 58px 48px;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.07);
}
.fixture-card small {
  display: block;
  color: #0d6efd;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 4px;
}
.fixture-card b {
  font-size: 13px;
  line-height: 1.35;
  color: #10243d;
}
.date-box {
  height: 54px;
  border-radius: 14px;
  background: #eef6ff;
  color: #0d6efd;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  display: grid;
  place-items: center;
  text-align: center;
}
.time {
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.news-grid {
  display: grid;
  gap: 12px;
}
.news-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
  padding: 9px;
}
.news-card img {
  width: 116px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
}
.news-body {
  min-width: 0;
  padding: 3px 2px;
}
.news-body .tag {
  font-size: 9px;
  padding: 5px 8px;
  margin-bottom: 7px;
}
.news-body h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #10243d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 9px;
  color: #6b7f99;
  font-size: 10px;
  font-weight: 800;
}
.load-more {
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(13, 110, 253, 0.24);
}

.standings-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.select {
  width: 100%;
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  padding: 0 13px;
  color: #10243d;
  font-weight: 800;
  outline: 0;
  margin-bottom: 12px;
}
.table-scroll {
  overflow: auto;
  border: 1px solid #e4eef9;
  border-radius: 15px;
  background: #fff;
}
table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 11px;
}
.standings-card table {
  min-width: 0;
}
th {
  padding: 11px 8px;
  background: #edf6ff;
  color: #275072;
  text-align: left;
  font-size: 10px;
  font-weight: 900;
}
td {
  padding: 11px 8px;
  border-top: 1px solid #eef4fb;
  color: #10243d;
  font-weight: 800;
}
th.num,
td.num {
  text-align: center;
}
.rank {
  color: #0d6efd;
  font-weight: 900;
}
.pts {
  color: #0d6efd;
  font-weight: 900;
}
.av-pos {
  color: var(--green);
}
.av-neg {
  color: var(--red);
}
.table-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 47px;
  margin-top: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(13, 110, 253, 0.22);
}
#puan-cetveli {
  scroll-margin-top: min(168px, 24vh);
  outline: none;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 14px;
}
.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.media-card.media-video {
  order: 1;
}
.media-card.media-photo {
  order: 2;
}
.media-preview {
  position: relative;
  min-height: 176px;
  background: #0b2f59;
}
.media-preview img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.media-preview:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(4, 24, 47, 0.78) 0%, rgba(4, 24, 47, 0.15) 100%);
}
.media-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #0d6efd;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
}
.media-body {
  padding: 14px 16px 16px;
}
.media-body h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: #07376a;
  letter-spacing: -0.2px;
}
.media-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}
.media-body .media-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.22);
}

/* Anlık arama: eşleşmeyen blokları gizle */
.mobil-search-hit.mobil-search-hidden {
  display: none !important;
}

.mobil-arama-sonuc {
  margin: 0 16px 10px;
  padding: 0 4px 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted, #5c6b7a);
  text-align: center;
}

.mobil-arama-sonuc[hidden] {
  display: none !important;
}
