/* Tigre Bois — identité commune. Les contrôles sont définis dans controls.css. */
:root { --tb-titre-club:clamp(2rem,3.8vw,3.25rem); }
body[data-page] .tb-club-hero {
  position:relative; isolation:isolate; overflow:hidden;
  background:var(--tb-vert); color:var(--tb-creme);
  border:0; border-bottom:2px solid var(--tb-or);
  padding-block:var(--tb-e7);
}
body[data-page] .tb-club-hero::before {
  content:''; display:block; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:repeating-linear-gradient(115deg,transparent 0 120px,rgb(242 239 230 / .025) 120px 240px);
}
body[data-page] .tb-club-hero__inner {
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:var(--tb-e8); align-items:center; min-height:0;
  max-width:var(--tb-conteneur); margin-inline:auto;
}
body[data-page] .tb-club-hero__titre,
body[data-page] .tb-hof-hero__titre,
body[data-page] .tb-reg-hero__titre {
  font-family:var(--tb-font-titre); font-weight:600; font-style:normal;
  font-variation-settings:'wght' 600; font-size:var(--tb-titre-club);
  line-height:1.08; letter-spacing:-.025em; color:var(--tb-creme);
}
body[data-page] .tb-club-hero__titre { margin:var(--tb-e3) 0 var(--tb-e4); }
body[data-page] .tb-club-hero__titre span { color:inherit; font-style:normal; }
body[data-page] .tb-club-hero :is(.tb-surtitre,.tb-accueil-entete__signature) {
  color:var(--tb-or-clair); font-size:var(--tb-t-micro); letter-spacing:.12em;
}
body[data-page] .tb-club-hero .tb-accueil-entete__signature span + span { color:var(--tb-creme-70); border-color:var(--tb-or); }
body[data-page] .tb-club-hero :is(.tb-chapo,.tb-accueil-entete__chapo) {
  margin:0; max-width:47ch; color:var(--tb-creme-70); font-size:1rem; line-height:1.65;
}
body[data-page] .tb-club-hero__photo { display:block; margin:0; min-width:0; border:0; border-radius:0; overflow:visible; }
body[data-page] .tb-club-hero__photo img {
  display:block; width:100%; height:250px; aspect-ratio:auto; object-fit:cover;
  object-position:center 58%; border-radius:var(--tb-r3); border:1px solid var(--tb-ligne-claire);
}
body[data-page] .tb-club-hero__photo figcaption { color:var(--tb-creme-70); margin-top:var(--tb-e2); text-align:right; font-size:var(--tb-t-micro); }
body[data-page] .tb-club-hero :is(.tb-accueil-entete__liens,.tb-joueurs-actions) {
  display:flex; flex-wrap:wrap; align-items:center; gap:var(--tb-e3); margin-top:var(--tb-e5);
}
body[data-page] .tb-club-hero .tb-hero-joueurs__pastille { color:var(--tb-creme); }
body[data-page] .tb-club-hero .tb-hero-joueurs__pastille::before { background:var(--tb-orange); }
body[data-page] .tb-club-hero .tb-hero-joueurs__note { color:var(--tb-creme-70); }
body[data-page] .tb-club-hero .tb-hero-t__majeur { color:var(--tb-creme-70); border-color:var(--tb-ligne-claire); font-size:var(--tb-t-micro); }
body[data-page] .tb-club-hero .tb-recap {
  margin-top:var(--tb-e6); padding:var(--tb-e5) 0 0;
  border:0; border-top:1px solid var(--tb-ligne-claire); background:transparent;
}
body[data-page] .tb-club-hero .tb-recap__item { border-color:var(--tb-ligne-claire); }
body[data-page] .tb-club-hero .tb-recap__valeur { color:var(--tb-creme); font-size:1.8rem; }
body[data-page] .tb-club-hero .tb-recap__libelle { color:var(--tb-creme-70); }

/* Les initiales gothiques et le liseré or font partie du blason du club. */
.tb-avatar text { font-family:var(--tb-font-gothique); font-size:52px; font-weight:400; }
.tb-avatar > circle { display:block; }
.tb-avatar g rect:first-of-type { display:block; }

/* Même vocabulaire pour classement League, cartes de score et membres. */
.tb-classement--clair .tb-classement__cadre { border:1px solid var(--tb-ligne-forte); border-radius:var(--tb-r3); }
.tb-classement--clair .tb-classement__thead { background:var(--tb-vert); }
.tb-classement--clair .tb-classement__th,
.tb-classement--clair .tb-classement__th[data-tri],
.tb-classement--clair .tb-classement__th--moyennePoints { color:var(--tb-creme); background:var(--tb-vert); border-color:var(--tb-ligne-claire); }
.tb-classement--clair .tb-classement__th .tb-tri:hover { color:var(--tb-blanc); background:var(--tb-vert-profond); }
.tb-classement--clair .tb-pastille { border-radius:var(--tb-rond); }
.tb-classement--clair .tb-pastille--or { background:var(--tb-or-clair); color:var(--tb-vert-profond); }
.tb-classement--clair .tb-pastille--argent { background:var(--tb-argent); color:var(--tb-encre); }
.tb-classement--clair .tb-pastille--bronze { background:var(--tb-bronze); color:var(--tb-encre); }
body[data-page='joueurs'] .tb-membre-v5 { border-radius:var(--tb-r3); overflow:hidden; }
body[data-page='joueurs'] .tb-membre-v5 .tb-carte-joueur__acces::after { border-radius:var(--tb-r3); }
.tb-golf-partie { border-radius:var(--tb-r3); }

@media(max-width:767.98px) {
  body[data-page] .tb-club-hero { padding-block:var(--tb-e6); }
  body[data-page] .tb-club-hero__inner { grid-template-columns:1fr; gap:var(--tb-e5); }
  body[data-page] .tb-club-hero__titre { font-size:clamp(2rem,7.8vw,2.7rem); }
  body[data-page] .tb-club-hero__photo { margin-top:0; }
  body[data-page] .tb-club-hero__photo img { height:132px; object-position:75% 60%; }
  body[data-page] .tb-club-hero__photo figcaption { display:none; }
  body[data-page] .tb-club-hero :is(.tb-accueil-entete__liens,.tb-joueurs-actions) { gap:var(--tb-e2); margin-top:var(--tb-e4); }
  body[data-page] .tb-club-hero .tb-recap__valeur { font-size:1.5rem; }
}

@media(max-width:359.98px) {
  body[data-page='joueurs'] .tb-recap__liste { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:var(--tb-e4); }
  body[data-page='joueurs'] .tb-recap__item:nth-child(odd) { border-left:0; padding-left:0; }
  body[data-page='joueurs'] .tb-recap__libelle { overflow-wrap:normal; word-break:normal; }
}
