/*
 * Canonical public-page template.
 * /yardim is the visual source of truth: compact light hero, 24 px desktop
 * padding, 18 px mobile padding, one title scale and one vertical rhythm.
 */
:root{
  --page-template-gap:12px;
  --page-template-pad:24px;
  --page-template-pad-mobile:18px;
  --page-template-radius:14px;
  --page-template-eyebrow:var(--type-label-size);
  --page-template-title:var(--type-page-title-size);
  --page-template-copy:var(--type-body-small-size);
}

.content-column,
.detail-main,
.portal-main,
.transfer-main,
.team-page-main,
.coach-page-main{
  min-width:0;
}

.home-hero,
.bulletin-head,
.portal-hero,
.page-hero,
.coupon-detail-hero,
.league-profile,
.team-card,
.coach-identity-card,
.standings-hero,
.profile-hero,
.public-profile-hero,
.virtual-hero{
  box-sizing:border-box;
  margin:0 0 var(--page-template-gap);
  padding:var(--page-template-pad);
  border:1px solid var(--border);
  border-radius:var(--page-template-radius);
  background:linear-gradient(135deg,var(--surface),var(--primary-soft));
  color:var(--text);
  box-shadow:var(--shadow);
}

.home-hero small,
.bulletin-title>small,
.portal-hero>small,
.page-hero .eyebrow,
.coupon-detail-hero .eyebrow,
.league-profile span,
.team-card .eyebrow,
.coach-identity-card span,
.standings-league-identity span,
.profile-hero small,
.public-profile-hero .eyebrow,
.virtual-hero small{
  color:var(--primary);
  font-size:var(--page-template-eyebrow);
  font-weight:var(--type-label-weight);
  line-height:var(--type-label-line);
  letter-spacing:.02em;
}

.home-hero h1,
.bulletin-head h1,
.portal-hero h1,
.page-hero h1,
.coupon-detail-hero h1,
.league-profile h1,
.team-card h1,
.coach-identity-card h1,
.standings-league-identity h1,
.profile-hero h1,
.public-profile-hero h1,
.virtual-hero h1{
  max-width:none;
  margin:4px 0;
  color:var(--text);
  font-size:var(--page-template-title);
  font-weight:var(--type-page-title-weight);
  line-height:var(--type-page-title-line);
  letter-spacing:0;
  text-transform:none;
}

.home-hero p,
.bulletin-head p,
.portal-hero p,
.page-hero p,
.coupon-detail-hero p,
.league-profile p,
.team-card p,
.coach-identity-card p,
.standings-league-identity p,
.profile-hero p,
.public-profile-hero p,
.virtual-hero p{
  max-width:none;
  margin:0;
  color:var(--muted);
  font-size:var(--page-template-copy);
  font-weight:var(--type-body-small-weight);
  line-height:var(--type-body-small-line);
}

/*
 * Puan durumu da /yardim ile aynı sayfa ritmini kullanır.
 * Dış kapsayıcı hiçbir zaman tek ve dev bir kart gibi boyanmaz; başlık ile
 * içerik blokları sayfa zemini üzerinde ayrı kartlar olarak kalır.
 */
.standings-browser{
  overflow:visible;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.standings-hero{
  margin-bottom:12px;
  border:1px solid var(--border);
  border-radius:var(--page-template-radius);
  box-shadow:var(--shadow);
}
.standings-controls,
.standings-summary,
.standings-market-tabs,
.standings-subnav,
.standings-table-wrap,
.standings-legend,
.standings-note,
.standings-browser>.empty{
  background:var(--surface);
}
.standings-controls{
  margin-top:0;
  margin-bottom:12px;
  padding-top:16px;
  border:1px solid var(--border);
  border-radius:var(--page-template-radius);
  box-shadow:var(--shadow);
}
.standings-summary,
.standings-market-tabs,
.standings-subnav{
  border-right:1px solid var(--border);
  border-left:1px solid var(--border);
}
.standings-summary{
  margin-bottom:12px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  border-radius:var(--page-template-radius);
  box-shadow:var(--shadow);
}
.standings-data-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--page-template-radius);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.standings-data-card .standings-market-tabs,
.standings-data-card .standings-subnav{
  border-right:0;
  border-left:0;
}
.standings-subnav{
  padding-bottom:12px;
}
.standings-table-wrap{
  margin-top:0;
}

/* Entity imagery stays useful without changing the common hero height. */
.league-profile-logo,
.standings-league-identity>img{
  width:58px;
  height:58px;
  flex:0 0 58px;
}
.league-profile>div{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  grid-template-areas:
    "logo eyebrow"
    "logo title"
    "logo copy";
  align-items:center;
  column-gap:14px;
}
.league-profile-logo{
  grid-area:logo;
  float:none;
  margin:0;
}
.league-profile>div>span{
  grid-area:eyebrow;
  align-self:end;
}
.league-profile>div>h1{
  grid-area:title;
}
.league-profile>div>p{
  grid-area:copy;
  align-self:start;
}
.league-profile>div>.competition-stage{
  grid-column:2;
}
.team-card>img,
.coach-identity-card>img{
  width:72px;
  height:72px;
  flex:0 0 72px;
}

/* Sanal Lig keeps its actions, but follows the same light page language. */
.virtual-hero{
  grid-template-columns:minmax(0,1.45fr) minmax(210px,.55fr);
  gap:18px;
}
.virtual-hero p,
.virtual-real-money{
  color:var(--muted);
}
.virtual-hero .secondary-action{
  border-color:var(--border);
  background:var(--surface);
  color:var(--text);
}
.virtual-stats-link{
  color:var(--primary);
}
.virtual-prize-visual{
  min-height:128px;
  border-color:color-mix(in srgb,var(--primary) 28%,var(--border));
  background:var(--surface);
  color:var(--text);
}
.virtual-prize-visual i{
  color:var(--primary);
}

/* Form and management pages use the same top-card typography. */
.account-shell,
.public-profile-page{
  padding-top:16px;
}
.auth-card header h1{
  margin:4px 0;
  font-size:var(--page-template-title);
  line-height:1.15;
}
.auth-card header p{
  margin:0;
  color:var(--muted);
  font-size:var(--page-template-copy);
  line-height:1.45;
}

@media(max-width:680px){
  .home-hero,
  .bulletin-head,
  .portal-hero,
  .page-hero,
  .coupon-detail-hero,
  .league-profile,
  .team-card,
  .coach-identity-card,
  .standings-hero,
  .profile-hero,
  .public-profile-hero,
  .virtual-hero{
    padding:var(--page-template-pad-mobile);
    border-radius:12px;
  }
  .home-hero h1,
  .bulletin-head h1,
  .portal-hero h1,
  .page-hero h1,
  .coupon-detail-hero h1,
  .league-profile h1,
  .team-card h1,
  .coach-identity-card h1,
  .standings-league-identity h1,
  .profile-hero h1,
  .public-profile-hero h1,
  .virtual-hero h1,
  .auth-card header h1{
    font-size:var(--type-page-title-size);
  }
  .home-hero p,
  .bulletin-head p,
  .portal-hero p,
  .page-hero p,
  .coupon-detail-hero p,
  .league-profile p,
  .team-card p,
  .coach-identity-card p,
  .standings-league-identity p,
  .profile-hero p,
  .public-profile-hero p,
  .virtual-hero p{
    display:block;
    font-size:12px;
  }
  .virtual-hero{
    grid-template-columns:1fr;
  }
  .virtual-prize-visual{
    min-height:104px;
  }
  .standings-hero{
    align-items:flex-start;
  }
  .standings-progress{
    min-width:94px;
  }
  .standings-controls{
    padding-top:12px;
  }
  .league-profile-logo,
  .standings-league-identity>img{
    width:48px;
    height:48px;
    flex-basis:48px;
  }
  .league-profile>div{
    grid-template-columns:48px minmax(0,1fr);
    column-gap:11px;
  }
  .team-card>img,
  .coach-identity-card>img{
    width:58px;
    height:58px;
    flex-basis:58px;
  }
}

@media(max-width:430px){
  .standings-hero{
    flex-wrap:wrap;
  }
  .standings-progress{
    width:100%;
  }
}

[data-theme="dark"] .home-hero,
[data-theme="dark"] .bulletin-head,
[data-theme="dark"] .portal-hero,
[data-theme="dark"] .page-hero,
[data-theme="dark"] .coupon-detail-hero,
[data-theme="dark"] .league-profile,
[data-theme="dark"] .team-card,
[data-theme="dark"] .coach-identity-card,
[data-theme="dark"] .standings-hero,
[data-theme="dark"] .profile-hero,
[data-theme="dark"] .public-profile-hero,
[data-theme="dark"] .virtual-hero{
  background:linear-gradient(135deg,var(--surface),var(--surface-soft));
}

.virtual-page-nav{
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  padding:2px;
  scrollbar-width:none;
}
.virtual-page-nav::-webkit-scrollbar{display:none}
.virtual-page-nav a{
  flex:0 0 auto;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface);
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
.virtual-page-nav a:hover,
.virtual-page-nav a.is-active{
  border-color:var(--primary);
  background:var(--primary);
  color:#fff;
}
@media(max-width:680px){
  .virtual-page-nav a{min-height:34px;padding:0 12px;font-size:10px}
}
