.hero-native {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 330px;
  margin-bottom: 1rem;
}
.hero-native-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-native::after { content:none; }
.hero-native-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: 1.15rem;
}
.hero-badges, .hero-actions, .match-tags, .club-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pill, .badge, .tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .74rem;
}
.badge.live { background: rgba(var(--accent-rgb),.18); border-color: rgba(var(--accent-rgb),.24); }
.hero-head {
  display: flex;
  align-items: flex-end;
  gap: .9rem;
  margin-bottom: .8rem;
}
.hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(0,0,0,.25);
  padding: .35rem;
  border: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.hero-copy h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  line-height: 1.02;
}
.hero-copy p { margin: 0; color: rgba(255,255,255,.9); max-width: 58ch; }
.hero-native .intro-text { margin: .95rem 0 0; }
.home-scoreboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
}
.scoreboard-card {
  padding: .95rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  min-height: 122px;
}
.scoreboard-card h4 { margin: 0 0 .7rem; font-size: .95rem; }
.scoreboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.scoreboard-row + .scoreboard-row { margin-top: .55rem; }
.scoreboard-row strong { font-size: .9rem; }
.scoreboard-row span { color: var(--muted); font-size: .82rem; }
.score-chip {
  min-width: 3rem;
  text-align: center;
  border-radius: 12px;
  padding: .35rem .45rem;
  background: rgba(var(--accent-rgb),.16);
  border: 1px solid rgba(var(--accent-rgb),.18);
}
.native-section, .panel-card, .field-card, .standing-card, .match-day, .stat-card, .club-card, .photo-card {
  border-radius: 26px;
}
.native-section, .panel-card { padding: 1rem; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .9rem;
}
.section-head.tight { margin-bottom: .8rem; }
.section-head h3, .page-banner-copy h2, .field-copy h3, .club-card h4, .standing-card h4, .compact-list h4 {
  margin: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.home-action-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-radius: 24px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.08);
  background: #111;
}
.home-action-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.1), rgba(8,8,8,.7) 55%, rgba(8,8,8,.96) 100%);
}
.home-action-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-card-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: .9rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .22rem;
}
.home-card-copy strong { font-size: .98rem; }
.home-card-copy small { color: rgba(255,255,255,.78); }
.quick-stats, .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.mini-stat, .stat-card {
  padding: .95rem;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.mini-stat span, .stat-card span { display: block; color: var(--muted); font-size: .82rem; }
.mini-stat strong, .stat-card strong { display: block; margin-top: .35rem; font-size: 1.35rem; }
.intro-text { color: var(--muted); line-height: 1.55; }
.compact-banner {
  overflow: hidden;
  position: relative;
  min-height: 150px;
  margin-bottom: 1rem;
}
.compact-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,8,.18), rgba(6,6,8,.7) 64%, rgba(6,6,8,.95) 100%);
}
.page-banner-copy {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}
.native-filters { margin-bottom: 1rem; }
.filter-block + .filter-block { margin-top: .8rem; }
.filter-label { font-size: .82rem; color: var(--muted); margin-bottom: .45rem; }
.segmented-control { display: flex; flex-wrap: wrap; gap: .5rem; overflow-x: visible; scrollbar-width: none; }
.segmented-control::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap;
  padding: .68rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  transition: .2s ease;
}
.chip.active {
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.22), rgba(var(--accent-rgb),.1));
  border-color: rgba(var(--accent-rgb),.26);
  color: white;
}
.search-shell {
  margin-top: .8rem;
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  padding: .9rem 1rem;
}
.search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.favorites-strip {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  padding-top: .8rem;
  scrollbar-width: none;
}
.fav-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .75rem;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  min-width: max-content;
}
.favorite-team-badge, .team-badge, .club-grid-logo, .club-dialog-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  padding: .28rem;
}
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.club-card {
  position: relative;
  padding: .95rem;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
.club-card.is-favorite { border-color: rgba(var(--accent-rgb),.3); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.08); }
.club-open { display: block; }
.club-logo-wrap {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  margin-bottom: .8rem;
}
.club-grid-logo { width: 48px; height: 48px; }
.club-scale { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; }
.club-favorite-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.favorite-active { background: rgba(var(--accent-rgb),.18); color: var(--accent-2); }
.match-day, .standing-card, .field-card { padding: 1rem; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); }
.match-day + .match-day, .standing-card + .standing-card, .field-card + .field-card { margin-top: .9rem; }
.match-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .9rem;
}
.match-card {
  position: relative;
  overflow: hidden;
  padding: .95rem;
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}
.match-card + .match-card { margin-top: .75rem; }
.match-card.is-upcoming::before, .match-card.is-finished::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 999px;
}
.match-card.is-upcoming::before { background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb),.2)); }
.match-card.is-finished::before { background: linear-gradient(180deg, #7cd9a8, rgba(124,217,168,.2)); }
.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  color: var(--muted);
  font-size: .78rem;
  margin-bottom: .8rem;
  padding-left: .5rem;
}
.teams-grid { display: grid; gap: .65rem; }
.team-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem;
}
.team-line strong { font-size: .95rem; }
.score {
  min-width: 2.8rem;
  text-align: center;
  font-size: 1rem;
  padding: .38rem .5rem;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.match-footer {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-left: .5rem;
  margin-top: .9rem;
}
.match-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.small-btn, .text-btn, .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 14px;
  padding: .68rem .9rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.primary-btn {
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.28), rgba(var(--accent-rgb),.12));
  border-color: rgba(var(--accent-rgb),.24);
  font-weight: 700;
}
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .75rem .65rem; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .86rem; text-align: left; white-space: nowrap; }
.table th { color: var(--muted); font-weight: 600; }
.field-card { overflow: hidden; padding: 0; }
.field-cover { width: 100%; height: 180px; object-fit: cover; }
.field-copy, .field-actions { padding: 1rem; }
.field-actions { padding-top: 0; }
.compact-list { display: grid; gap: .65rem; }
.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.photo-card { overflow: hidden; padding: 0; }
.photo-card img { width: 100%; height: 160px; object-fit: cover; }
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(.8rem + var(--safe-bottom));
  transform: translateX(-50%);
  width: min(760px, calc(100% - 1rem));
  padding: .65rem;
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .35rem;
  z-index: 12;
}
.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 58px;
  border-radius: 20px;
  color: var(--muted);
  transition: .22s ease;
}
.nav-btn.active {
  color: white;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.2), rgba(255,255,255,.04));
}
.nav-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
}
.nav-icon svg, .menu-icon svg { width: 100%; height: 100%; }
.nav-btn small { font-size: .72rem; }
.premium-toggle {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .9rem;
}
.premium-toggle input { display: none; }
.toggle-slider {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.09);
}
.toggle-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: .2s ease;
}
.premium-toggle input:checked + .toggle-slider { background: rgba(var(--accent-rgb),.25); }
.premium-toggle input:checked + .toggle-slider::after { transform: translateX(22px); }
.toggle-text { color: var(--muted); font-size: .88rem; }


@media (min-width: 1024px) {
  .compact-banner {
    min-height: 190px;
  }
  .compact-banner img {
    object-position: center 34%;
    transform: scale(1.03);
  }
  .banner-overlay::after {
    background: linear-gradient(180deg, rgba(6,6,8,.1), rgba(6,6,8,.52) 60%, rgba(6,6,8,.88) 100%);
  }
}

@media (max-width: 760px) {
  .segmented-control { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}


.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.wall-card {
  background: rgba(12, 12, 16, 0.72);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
}

.wall-card-auto {
  outline: 1px dashed rgba(245, 158, 11, .35);
}

.wall-card-media {
  position: relative;
  min-height: 170px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}

.wall-card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.wall-card-media-fallback {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 35%, rgba(255,215,0,.10));
}

.wall-card-media-fallback.hidden {
  display: none;
}

.wall-club-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.wall-card-body {
  padding: 1rem 1rem 1.1rem;
}

.wall-club-head {
  display: flex;
  gap: .8rem;
  align-items: center;
}

.wall-club-mini-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  padding: .3rem;
}

.wall-club-head h4 {
  margin: 0 0 .2rem;
  font-size: 1rem;
}

.wall-club-head p {
  margin: 0;
}

.small {
  font-size: .82rem;
}


.contact-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(12, 12, 16, 0.72);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

.contact-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1;
  font-size: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

.contact-card-body {
  min-width: 0;
}

.contact-card-copy h4 {
  margin: 0 0 .7rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.contact-card-actions .primary-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

@media (max-width: 520px) {
  .contact-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: .9rem;
  }

  .contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.85rem;
  }

  .contact-card-copy h4 {
    margin-bottom: .6rem;
    font-size: 1rem;
  }
}


.home-action-card.no-card-image {
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(var(--accent-rgb), .18) 52%, rgba(8,8,8,.92) 100%);
}
.home-action-card.no-card-image::after {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(8,8,8,.18) 38%, rgba(8,8,8,.1) 100%);
}
.home-action-card.no-card-image .home-card-copy {
  position: relative;
  inset: 0;
  min-height: 148px;
  justify-content: flex-end;
}
.home-action-card.no-card-image .menu-icon {
  width: 24px;
  height: 24px;
  margin-bottom: .25rem;
}
