/* =====================================================================
   Spotrib — maquette (mobile d'abord) · Bootstrap 5.3
   Marque : orange #F36F1C, bleu nuit #1B1C33 · police Plus Jakarta Sans
   ===================================================================== */
:root {
  --st-orange: #F36F1C;
  --st-orange-600: #DC5E0E;
  --st-orange-50: #FFF2E9;
  --st-night: #1B1C33;
  --st-night-700: #2A2C4A;
  --st-ink: #1F2233;
  --st-muted: #6B7085;
  --st-line: #E8E9F0;
  --st-bg: #F5F6FA;
  --st-radius: 18px;
  --st-shadow: 0 6px 24px rgba(27, 28, 51, .08);
  --st-tabbar-h: 68px;
  --bs-primary: var(--st-orange);
  --bs-primary-rgb: 243, 111, 28;
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--st-ink);
  --bs-body-bg: var(--st-bg);
  --bs-border-color: var(--st-line);
  --bs-link-color-rgb: 243, 111, 28;
}
body { font-size: 15px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .fw-display { font-weight: 800; letter-spacing: -.02em; }
a { text-decoration: none; }
.text-muted { color: var(--st-muted) !important; }

/* Boutons : une seule famille, orange plein / contour / fantôme */
.btn { border-radius: 999px; font-weight: 700; padding: .55rem 1.15rem; }
.btn-primary { --bs-btn-bg: var(--st-orange); --bs-btn-border-color: var(--st-orange); --bs-btn-hover-bg: var(--st-orange-600);
  --bs-btn-hover-border-color: var(--st-orange-600); --bs-btn-active-bg: var(--st-orange-600); --bs-btn-active-border-color: var(--st-orange-600); }
.btn-outline-primary { --bs-btn-color: var(--st-orange); --bs-btn-border-color: var(--st-orange); --bs-btn-hover-bg: var(--st-orange);
  --bs-btn-hover-border-color: var(--st-orange); --bs-btn-active-bg: var(--st-orange-600); }
.btn-ghost { background: #fff; border: 1px solid var(--st-line); color: var(--st-ink); }
.btn-ghost:hover { border-color: var(--st-orange); color: var(--st-orange); }
.btn-icon { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }

/* ---------- En-tête ---------- */
.st-topbar { position: sticky; top: 0; z-index: 1030; background: var(--st-night); color: #fff; }
.st-topbar .container-xl { height: 60px; display: flex; align-items: center; gap: 1rem; }
.st-logo img { height: 34px; }
.st-nav { display: none; gap: .25rem; margin-left: 1rem; }
.st-nav a { color: rgba(255,255,255,.75); font-weight: 600; padding: .45rem .8rem; border-radius: 999px; font-size: 14.5px; }
.st-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.st-nav a.active { color: #fff; background: rgba(243,111,28,.18); box-shadow: inset 0 -2px 0 var(--st-orange); }
.st-top-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.st-top-actions .btn-icon { background: rgba(255,255,255,.08); color: #fff; border: 0; position: relative; }
.st-top-actions .btn-icon:hover { background: rgba(255,255,255,.16); }
.st-dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; background: var(--st-orange); border: 2px solid var(--st-night); border-radius: 50%; }
.st-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.st-avatar-sm { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.st-avatar-lg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--st-shadow); }

/* ---------- Bandeau visiteur ---------- */
.st-hero { position: relative; color: #fff; background: var(--st-night) center/cover no-repeat; border-radius: 0 0 28px 28px; overflow: hidden; }
.st-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,28,51,.25) 0%, rgba(27,28,51,.85) 100%); }
.st-hero .inner { position: relative; padding-top: 2.2rem; padding-bottom: 4.6rem; }
.st-hero h1 { font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.05; }
.st-hero h1 span { color: var(--st-orange); }
.st-hero p { color: rgba(255,255,255,.85); max-width: 520px; }

/* ---------- Recherche ---------- */
.st-search { background: #fff; border-radius: 999px; box-shadow: var(--st-shadow); display: flex; align-items: center; gap: .25rem; padding: .35rem .35rem .35rem 1rem; }
.st-search .seg { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; color: var(--st-muted); }
.st-search .seg + .seg { border-left: 1px solid var(--st-line); padding-left: .75rem; }
.st-search input, .st-search select { border: 0; outline: 0; background: transparent; width: 100%; font-weight: 600; color: var(--st-ink); min-width: 0; }
.st-search .btn { flex: 0 0 auto; }
.st-search-wrap { margin-top: -28px; position: relative; z-index: 5; }
.st-search .seg-km { display: none; }

/* ---------- Pastilles de sports ---------- */
.st-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .25rem 0 .5rem; }
.st-chips::-webkit-scrollbar { display: none; }
.st-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--st-line);
  border-radius: 999px; padding: .35rem .8rem .35rem .4rem; font-weight: 600; font-size: 14px; color: var(--st-ink); white-space: nowrap; cursor: pointer; }
.st-chip img { width: 26px; height: 26px; border-radius: 50%; background: var(--st-orange-50); padding: 3px; }
.st-chip i { font-size: 18px; color: var(--st-orange); margin-left: .3rem; }
.st-chip.active { background: var(--st-night); color: #fff; border-color: var(--st-night); }
.st-chip.active img { background: #fff; }

/* Onglets de type de contenu */
.st-tabs { display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--st-line); }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs a { flex: 0 0 auto; padding: .7rem 0; color: var(--st-muted); font-weight: 700; border-bottom: 3px solid transparent; }
.st-tabs a.active { color: var(--st-ink); border-color: var(--st-orange); }
.st-tabs a .badge { background: var(--st-orange-50); color: var(--st-orange); font-weight: 700; }

/* ---------- Cartes du fil ---------- */
.st-card { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.st-card .head { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; }
.st-card .head .who { line-height: 1.15; min-width: 0; }
.st-card .head .who b { font-size: 14px; display: block; }
.st-card .head .who small { color: var(--st-muted); font-size: 12.5px; }
.st-card .media { position: relative; aspect-ratio: 4 / 3; background: #dfe3ea; }
.st-card .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-type { position: absolute; left: .7rem; top: .7rem; background: rgba(27,28,51,.78); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; display: inline-flex; gap: .3rem; align-items: center; }
.st-type.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 3px rgba(255,59,48,.3); }
.st-count { position: absolute; right: .7rem; bottom: .7rem; background: rgba(27,28,51,.7); color: #fff; font-size: 12px; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.st-card .body { padding: .8rem .9rem .3rem; flex: 1; }
.st-card .body h3 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 .3rem; }
.st-card .body h3 a { color: var(--st-ink); }
.st-card .body p { color: var(--st-muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: 13px; color: var(--st-muted); margin-bottom: .45rem; font-weight: 600; }
.st-meta i { color: var(--st-orange); }
.st-sports { display: flex; gap: .3rem; }
.st-sports img { width: 28px; height: 28px; border-radius: 50%; background: var(--st-orange-50); padding: 4px; }
.st-rate { color: var(--st-orange); font-size: 13px; letter-spacing: 1px; }
.st-rate .off { color: #d6d8e0; }
.st-card .foot { display: flex; align-items: center; justify-content: space-between; padding: .55rem .6rem .6rem; border-top: 1px solid var(--st-line); margin-top: .7rem; }
.st-act { display: inline-flex; align-items: center; gap: .3rem; color: var(--st-muted); font-weight: 700; font-size: 13.5px; background: none; border: 0; padding: .35rem .55rem; border-radius: 999px; }
.st-act:hover { background: var(--st-bg); color: var(--st-ink); }
.st-act.on { color: #E5484D; }
.st-act.fav.on { color: var(--st-orange); }
.st-act i { font-size: 18px; }

/* Carte (plan) */
.st-map { border-radius: var(--st-radius); overflow: hidden; box-shadow: var(--st-shadow); background: #e7ebf0; }
.st-map-sticky { position: sticky; top: 76px; height: calc(100vh - 92px); }
.st-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--st-orange); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; }
.st-pin img { width: 18px; height: 18px; transform: rotate(45deg); filter: brightness(0) invert(1); }
.st-pin.night { background: var(--st-night); }
.st-mapview-btn { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--st-tabbar-h) + 14px); z-index: 1020;
  background: var(--st-night); color: #fff; border-radius: 999px; padding: .65rem 1.2rem; font-weight: 700; box-shadow: 0 8px 24px rgba(27,28,51,.35); border: 0; }

/* ---------- Barre d'onglets (mobile) ---------- */
.st-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; height: var(--st-tabbar-h); background: #fff; border-top: 1px solid var(--st-line);
  display: flex; justify-content: space-around; align-items: center; padding-bottom: env(safe-area-inset-bottom); }
.st-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--st-muted); min-width: 56px; position: relative; }
.st-tabbar a i { font-size: 22px; }
.st-tabbar a.active { color: var(--st-orange); }
.st-tabbar .publish { width: 54px; height: 54px; border-radius: 50%; background: var(--st-orange); color: #fff; display: flex; align-items: center; justify-content: center;
  margin-top: -26px; box-shadow: 0 8px 20px rgba(243,111,28,.45); border: 4px solid #fff; }
.st-tabbar .publish i { font-size: 26px; }
.st-tabbar .badge-dot { position: absolute; top: -2px; right: 12px; background: var(--st-orange); color: #fff; font-size: 10px; border-radius: 999px; padding: 1px 5px; }
body.has-tabbar { padding-bottom: calc(var(--st-tabbar-h) + 20px); }

/* ---------- Fiche ---------- */
.st-gallery { position: relative; background: #000; }
.st-gallery .main { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; }
.st-gallery .top { position: absolute; top: .8rem; left: .8rem; right: .8rem; display: flex; justify-content: space-between; }
.st-gallery .top .btn-icon { background: rgba(255,255,255,.92); color: var(--st-ink); border: 0; }
.st-thumbs { display: none; }
.st-sheet { background: #fff; border-radius: 26px 26px 0 0; margin-top: -26px; position: relative; padding: 1.3rem 1rem 1rem; }
.st-sheet h1 { font-size: 1.55rem; line-height: 1.2; }
.st-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: .3rem .7rem; background: var(--st-orange-50); color: var(--st-orange); }
.st-badge.night { background: #ECEDF6; color: var(--st-night-700); }
.st-actionbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1rem 0; }
.st-actionbar a, .st-actionbar button { background: var(--st-bg); border: 0; border-radius: 14px; padding: .65rem .2rem; display: flex; flex-direction: column; align-items: center; gap: .2rem;
  font-size: 12.5px; font-weight: 700; color: var(--st-ink); }
.st-actionbar i { font-size: 20px; color: var(--st-orange); }
.st-section { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); padding: 1.1rem; margin-bottom: 1rem; }
.st-section h2 { font-size: 1.1rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.st-section h2 i { color: var(--st-orange); }
.st-infoline { display: flex; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--st-line); font-weight: 600; }
.st-infoline:last-child { border-bottom: 0; }
.st-infoline i { color: var(--st-orange); font-size: 18px; width: 22px; text-align: center; }
.st-weather { background: linear-gradient(160deg, #2F6FD6 0%, #1E4FA8 100%); color: #fff; border-radius: var(--st-radius); padding: 1.1rem; }
.st-weather .now { display: flex; align-items: center; gap: 1rem; }
.st-weather .temp { font-size: 3rem; font-weight: 300; line-height: 1; }
.st-weather .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.st-weather .kpis div { background: rgba(255,255,255,.12); border-radius: 12px; padding: .5rem; text-align: center; font-size: 12px; }
.st-weather .kpis b { display: block; font-size: 16px; }
.st-weather .hours { display: flex; gap: .45rem; overflow-x: auto; margin-top: .9rem; scrollbar-width: none; }
.st-weather .hours div { flex: 0 0 auto; background: rgba(255,255,255,.12); border-radius: 12px; padding: .45rem .6rem; text-align: center; font-size: 12px; min-width: 54px; }
.st-hscroll { display: flex; gap: .8rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem; }
.st-hscroll::-webkit-scrollbar { display: none; }
.st-mini { flex: 0 0 210px; background: #fff; border-radius: 16px; box-shadow: var(--st-shadow); overflow: hidden; }
.st-mini img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.st-mini div { padding: .6rem .7rem; font-size: 13px; }
.st-mini b { display: block; font-size: 14px; line-height: 1.25; margin-bottom: .2rem; color: var(--st-ink); }
.st-sticky-cta { position: fixed; left: 0; right: 0; bottom: var(--st-tabbar-h); z-index: 1025; background: #fff; border-top: 1px solid var(--st-line); padding: .6rem 1rem; display: flex; gap: .6rem; }

/* ---------- Espace membre ---------- */
.st-cover { height: 140px; background: var(--st-night) center/cover no-repeat; position: relative; }
.st-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,28,51,0) 0%, rgba(27,28,51,.6) 100%); }
.st-profile { margin-top: -52px; position: relative; z-index: 2; text-align: center; }
.st-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); margin: 1rem 0; }
.st-stats div { text-align: center; padding: .8rem .3rem; }
.st-stats div + div { border-left: 1px solid var(--st-line); }
.st-stats b { display: block; font-size: 1.3rem; font-weight: 800; }
.st-stats span { font-size: 12.5px; color: var(--st-muted); font-weight: 600; }
.st-member-tabs { position: sticky; top: 60px; z-index: 1010; background: var(--st-bg); }
.st-status { font-size: 11.5px; font-weight: 800; padding: .2rem .55rem; border-radius: 999px; }
.st-status.ok { background: #E3F7EA; color: #198754; }
.st-status.wait { background: #FFF4D6; color: #A86B00; }
.st-status.draft { background: #ECEDF6; color: var(--st-muted); }
.st-row { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--st-line); }
.st-row:last-child { border-bottom: 0; }
.st-row .grow { flex: 1; min-width: 0; line-height: 1.2; }
.st-row .grow b { display: block; }
.st-row .grow small { color: var(--st-muted); }
.st-online { width: 11px; height: 11px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; position: absolute; right: 0; bottom: 0; }
.st-thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }

/* ---------- Pied de page ---------- */
.st-footer { background: var(--st-night); color: rgba(255,255,255,.7); padding: 2.5rem 0 1.5rem; margin-top: 2rem; }
.st-footer a { color: rgba(255,255,255,.85); }
.st-footer h4 { color: #fff; font-size: 1rem; }

/* Bandeau cookies discret */
.st-cookie { position: fixed; left: 1rem; right: 1rem; bottom: calc(var(--st-tabbar-h) + 12px); z-index: 1040; background: var(--st-night); color: #fff; border-radius: 16px;
  padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.st-cookie .btn { padding: .35rem .8rem; font-size: 13px; }

/* Note de maquette */

/* ====================== Tablette / ordinateur ====================== */
@media (min-width: 992px) {
  body.has-tabbar { padding-bottom: 0; }
  .st-tabbar, .st-mapview-btn, .st-sticky-cta { display: none; }
  .st-nav { display: flex; }
  .st-topbar .container-xl { height: 68px; }
  .st-member-tabs { top: 68px; }
  .st-hero { border-radius: 0 0 36px 36px; }
  .st-hero .inner { padding-top: 4rem; padding-bottom: 6rem; }
  .st-search { padding: .45rem .45rem .45rem 1.4rem; }
  .st-search .seg-km { display: flex; }
  .st-cookie { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 520px; }
  .st-gallery { border-radius: var(--st-radius); overflow: hidden; display: grid; grid-template-columns: 2fr 1fr; gap: 6px; background: transparent; }
  .st-gallery .main { aspect-ratio: auto; height: 440px; border-radius: var(--st-radius) 0 0 var(--st-radius); }
  .st-thumbs { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
  .st-thumbs img { width: 100%; height: 217px; object-fit: cover; }
  .st-thumbs img:first-child { border-top-right-radius: var(--st-radius); }
  .st-thumbs img:last-child { border-bottom-right-radius: var(--st-radius); }
  .st-sheet { margin-top: 0; border-radius: 0; background: transparent; padding: 1.5rem 0 0; }
  .st-sheet h1 { font-size: 2.1rem; }
  .st-aside { position: sticky; top: 88px; }
  .st-cover { height: 220px; border-radius: 0 0 28px 28px; }
  .st-profile { text-align: left; display: flex; align-items: flex-end; gap: 1.25rem; margin-top: -48px; }
}

/* Menu : se partage la place, défile s'il manque de largeur (écrans moyens) */
.st-nav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.st-nav::-webkit-scrollbar { display: none; }
.st-nav a { flex: 0 0 auto; }
.st-top-actions { flex: 0 0 auto; }
.st-logo { flex: 0 0 auto; }
@media (min-width: 992px) and (max-width: 1199.98px) { .st-nav a { padding: .45rem .6rem; font-size: 14px; } .st-top-actions .d-lg-inline-flex { display: none !important; } }
body { overflow-x: clip; }

.st-gallery > .st-count { bottom: 38px; }
@media (min-width: 992px) { .st-profile > .flex-grow-1 { padding-top: 56px !important; } .st-profile > .d-flex { padding-bottom: .25rem; } }
.st-profile h1 { font-weight: 800; }

/* ====================== Raccords avec l'ancien thème ====================== */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--st-night) !important; }
.site-header .st-topbar { position: static; }
body { padding-top: 0 !important; opacity: 1 !important; background: var(--st-bg); font-family: var(--bs-body-font-family); color: var(--st-ink); }
.page_loader { display: none !important; }
#openpwa, #installbox { display: none !important; }        /* ancien pavé Apple / Android / Windows : remplacé par « Installer l'appli » */
.st-top-actions a.btn-icon { color: #fff; }
.st-top-actions .dropdown-item { font-weight: 600; font-size: 14px; }

/* ---------- Recherche : listes déroulantes de l'ancien formulaire ---------- */
.st-search { position: relative; }
.st-search .st-toggle { cursor: pointer; font-weight: 600; color: var(--st-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.st-search .st-dropdown { position: absolute; top: calc(100% + 10px); left: 0; z-index: 1040; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(27,28,51,.18);
  min-width: 260px; max-height: 60vh; overflow-y: auto; padding: .5rem; display: none; text-align: left; }
.st-search .result.st-dropdown:not(:empty) { display: block; }
.st-search .result p { margin: 0; padding: .55rem .7rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.st-search .result p:hover { background: var(--st-bg); }
#sportsselect > div, #categoriesselect > div { display: flex; align-items: center; gap: .5rem; padding: .4rem .5rem; border-radius: 10px; font-weight: 600; font-size: 14px; }
#sportsselect > div:hover, #categoriesselect > div:hover { background: var(--st-bg); }
#sportsselect input, #categoriesselect input { accent-color: var(--st-orange); width: 18px; height: 18px; }
.st-search .seg-fav { display: flex; align-items: center; padding: 0 .4rem; cursor: pointer; }
.st-search #favstar { font-size: 21px; color: var(--st-muted); transition: color .15s, transform .15s; }
.st-search .seg-fav:hover #favstar { color: var(--st-orange); transform: scale(1.1); }
.st-search .seg-fav.on #favstar { color: var(--st-orange); }
.st-search-page { margin-top: 1rem; }
@media (max-width: 767.98px) { .st-search .seg-fav { width: 40px; height: 40px; justify-content: center; padding: 0; flex: none; } .st-search .seg-fav:hover #favstar { transform: none; } }

/* ---------- Fil + carte ---------- */
.st-feed { margin-top: .5rem; }
.st-card.is-focus { outline: 3px solid var(--st-orange); outline-offset: 2px; }
.st-rate i { font-size: 12px; }
.st-popup { width: 190px; font-family: var(--bs-body-font-family); }
.st-popup img { width: 100%; height: 100px; object-fit: cover; border-radius: 10px; margin-bottom: .4rem; }
.st-popup small { display: block; color: var(--st-orange); font-weight: 800; text-transform: uppercase; font-size: 11px; }
.st-popup b { display: block; font-size: 14px; line-height: 1.25; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(243,111,28,.25) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--st-orange) !important; color: #fff !important; font-weight: 800; font-family: var(--bs-body-font-family); }
@media (max-width: 991.98px) {
  .st-map-col { display: none; }
  body.st-map-open .st-map-col { display: block; position: fixed; left: 0; right: 0; top: 60px; bottom: var(--st-tabbar-h); z-index: 1015; padding: 0; }
  body.st-map-open .st-map-col .st-map { position: static; height: 100%; border-radius: 0; }
}

/* ---------- Bandeau d'accueil (diaporama) ---------- */
.st-hero .st-slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.st-hero .st-slide.on { opacity: 1; }
.st-hero::before { z-index: 1; }
.st-hero .inner { z-index: 2; }
.st-hero .st-rotate { color: var(--st-orange); }

/* En-tête de rubrique (listes) */
.st-pagehead { background: var(--st-night); color: #fff; padding: 1.4rem 0 3.2rem; border-radius: 0 0 28px 28px; }
.st-pagehead h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); margin: 0; }
.st-pagehead p { color: rgba(255,255,255,.75); margin: .3rem 0 0; }
.st-pagehead + .st-search-wrap { margin-top: -28px; }

/* Bandeau cookies (plugin Cookies et RGPD) aux couleurs Spotrib, discret */
html body #tarteaucitronRoot #tarteaucitronAlertBig { background: var(--st-night) !important; color: #fff !important; border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25) !important; padding: .8rem 1rem !important; max-width: 560px !important; }
html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert { font-size: 13.5px !important; }
html body #tarteaucitronRoot #tarteaucitronAlertBig button { border-radius: 999px !important; padding: .4rem .9rem !important; font-size: 13px !important; }
html body #tarteaucitronRoot #tarteaucitronPersonalize2, html body #tarteaucitronRoot #tarteaucitronAllDenied2 { background: var(--st-orange) !important; color: #fff !important; }
html body #tarteaucitronRoot #tarteaucitronAllDenied2 { background: transparent !important; border: 1px solid rgba(255,255,255,.4) !important; }
html body #tarteaucitronRoot #tarteaucitronCloseAlert { background: transparent !important; color: rgba(255,255,255,.8) !important; border: 0 !important; }
@media (max-width: 991.98px) { html body #tarteaucitronRoot.tarteaucitronSize-bottom #tarteaucitronAlertBig, html body #tarteaucitronRoot .tarteaucitronAlertBigBottom { bottom: calc(var(--st-tabbar-h) + 10px) !important; } }
@media (min-width: 992px) { html body #tarteaucitronRoot .tarteaucitronAlertBigBottom { left: auto !important; right: 1.5rem !important; bottom: 1.5rem !important; } }

/* ---------- Fiche ---------- */
.st-sheet.no-photo { margin-top: 0; border-radius: 0; }
.st-gallery.is-single { display: block; }
.st-gallery.is-single .st-thumbs { display: none; }
.st-gallery .st-gmain { display: block; }
@media (min-width: 992px) {
  .st-gallery.is-single .main { height: 460px; width: 100%; border-radius: var(--st-radius); }
  .st-gallery .st-thumbs a { display: block; }
  .st-gallery .st-thumbs a.d-none { display: none !important; }
}
.st-desc .lead-sm { font-size: 1.02rem; color: var(--st-ink); }
.st-content img { max-width: 100%; height: auto; border-radius: 12px; }
.st-content iframe { max-width: 100%; border-radius: 12px; }
.st-actionbar .st-like.on i, .st-actionbar .st-like.on { color: #E5484D; }
.st-actionbar .st-fav.on i { color: var(--st-orange); }
.st-actionbar span:empty { display: none; }
.st-weather .hours i { font-size: 18px; }

/* ---------- Espace membre (onglets et contenus de l'ancien thème, habillés) ---------- */
.st-stats a { text-align: center; padding: .8rem .3rem; color: var(--st-ink); display: block; }
.st-stats a + a { border-left: 1px solid var(--st-line); }
.st-stats a:hover b { color: var(--st-orange); }
#board.st-board { margin-top: 0 !important; }
.st-board > .container-xl > .row { padding-bottom: 2rem !important; }
.navaccount { position: sticky; top: 60px; z-index: 1010; background: var(--st-bg); overflow-x: auto; scrollbar-width: none; margin: 0 -.25rem 1rem; }
.navaccount::-webkit-scrollbar { display: none; }
.navaccount .nav-tabs { border-bottom: 1px solid var(--st-line); flex-wrap: nowrap; gap: 1.1rem; padding: 0 .25rem; }
.navaccount .nav-tabs .nav-link { border: 0 !important; border-bottom: 3px solid transparent !important; background: transparent !important; color: var(--st-muted) !important;
  font-weight: 700 !important; padding: .75rem 0 !important; white-space: nowrap; border-radius: 0 !important; font-size: 15px; }
.navaccount .nav-tabs .nav-link.active { color: var(--st-ink) !important; border-bottom-color: var(--st-orange) !important; }
.navaccount .nav-tabs .nav-link i { color: var(--st-orange); margin-right: .25rem; }
@media (min-width: 992px) { .navaccount { top: 68px; } }
#nav-tabContent h3, #nav-tabContent h2 { font-weight: 800; letter-spacing: -.01em; }
#nav-tabContent .tab-content h3 .fa, #nav-tabContent h3 .fa { color: var(--st-orange) !important; }
.st-board .card { border: 0; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; }
.st-board .border { border-color: var(--st-line) !important; border-radius: var(--st-radius) !important; }
.st-board .form-control, .st-board .form-select { border-radius: 12px; border-color: var(--st-line); }
.st-board .form-control:focus, .st-board .form-select:focus { border-color: var(--st-orange); box-shadow: 0 0 0 .2rem rgba(243,111,28,.15); }
.btn-secondary3, .btn-secondarybis { background: var(--st-orange) !important; border-color: var(--st-orange) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700 !important; }
.btn-secondary3:hover { background: var(--st-orange-600) !important; }
.btn-dark { background: var(--st-night); border-color: var(--st-night); border-radius: 999px; font-weight: 700; }
#postform { font-family: var(--bs-body-font-family); }

/* Neutralisation de règles globales de l'ancien thème (défilement, police des paragraphes, boutons) */
html { overflow: visible !important; }
body { overflow: visible !important; overflow-x: clip !important; display: block !important; }
section { overflow-x: visible !important; }
body p { font-family: inherit; color: inherit; font-weight: inherit; }
.btn-primary { background-color: var(--st-orange) !important; border-color: var(--st-orange) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--st-orange-600) !important; border-color: var(--st-orange-600) !important; }
.btn-outline-primary { color: var(--st-orange) !important; border-color: var(--st-orange) !important; background: transparent !important; }
.btn-outline-primary:hover { background: var(--st-orange) !important; color: #fff !important; }

/* Profil public : onglets Publications / Amis, formulaire d'ami caché */
.publication.st-tabs h5 { margin: 0 !important; padding: .7rem 0; font-size: 15px; font-weight: 700 !important; color: var(--st-muted); border-bottom: 3px solid transparent; }
.publication.st-tabs h5.active { color: var(--st-ink) !important; border-bottom-color: var(--st-orange); }
.publication.st-tabs h5:hover { color: var(--st-ink) !important; }
.st-profile form.addfriends { display: none; }
#friendsbtn p { margin: 0; }

.st-rate { white-space: nowrap; }
.st-card .head .who { flex: 1 1 auto; }

/* ---------- Épingles de carte par type de contenu ---------- */
.st-mpin { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(27,28,51,.3);
  display: flex; align-items: center; justify-content: center; background: var(--st-orange); transition: transform .18s ease; }
.st-mpin span { transform: rotate(45deg); color: #fff; font-size: 16px; line-height: 1; }
.leaflet-marker-icon:hover .st-mpin { transform: rotate(-45deg) scale(1.15) translate(2px, -2px); }
.st-mpin-sessions { background: linear-gradient(135deg, #FF9A3C, #F36F1C); }
.st-mpin-spots    { background: linear-gradient(135deg, #2ED3B7, #0E9F8E); }
.st-mpin-webcams  { background: linear-gradient(135deg, #FF6B6B, #E5484D); }
.st-mpin-events   { background: linear-gradient(135deg, #9B8CFF, #6E56F8); }
.st-mpin-annonces { background: linear-gradient(135deg, #FFD34D, #F5A400); }
.st-mpin-business { background: linear-gradient(135deg, #3B3E66, #1B1C33); }
.st-mpin-other    { background: #8A8FA6; }
.st-mpin-webcams::after { content: ""; position: absolute; inset: -7px; border-radius: inherit; border: 2px solid rgba(229,72,77,.55); animation: stPulse 1.8s ease-out infinite; }
@keyframes stPulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.st-mlegend { background: rgba(255,255,255,.95); border-radius: 12px; padding: .35rem .6rem; box-shadow: var(--st-shadow); display: flex; flex-wrap: wrap; gap: .25rem .7rem;
  font: 600 12px var(--bs-body-font-family); color: var(--st-ink); max-width: 320px; }
.st-mlegend span { display: inline-flex; align-items: center; gap: .3rem; }
.st-mdot { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.st-mpin { position: relative; }

/* ---------- Espace membre : mes publications ---------- */
.st-mcard { flex: 0 0 250px; background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; display: flex; flex-direction: column; }
.st-mcard .media { position: relative; aspect-ratio: 4 / 3; background: #e6e8ee; }
.st-mcard .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-mcard .media .st-status { position: absolute; left: .6rem; top: .6rem; }
.st-mcard .media .manage { position: absolute; right: .6rem; bottom: .6rem; border: 0; border-radius: 999px; background: rgba(27,28,51,.78); color: #fff; font-size: 12.5px; font-weight: 700; padding: .3rem .7rem; }
.st-mcard .body { padding: .75rem .85rem .2rem; flex: 1; min-width: 0; }
.st-mcard .body b { display: block; font-size: 15px; line-height: 1.25; }
.st-mcard .body .ex { font-size: 13px; color: var(--st-muted); max-height: 3.9em; overflow: hidden; margin-top: .25rem; }
.st-mcard .body .ex * { font-size: inherit !important; margin: 0; }
.st-mcard .st-sports { margin-top: .4rem; }
.st-mcard .st-sports > div { border: 0 !important; background: var(--st-orange-50); width: 28px !important; height: 28px !important; margin: 0 .15rem 0 0 !important; display: inline-flex !important; align-items: center; justify-content: center; }
.st-mcard .stats { display: flex; gap: .9rem; padding: .3rem .85rem; font-size: 13px; color: var(--st-muted); font-weight: 600; }
.st-mcard .stats i { color: var(--st-orange); }
.st-mcard .foot { display: flex; gap: .5rem; align-items: center; padding: .6rem .85rem .8rem; border-top: 1px solid var(--st-line); }
.st-mcard .foot .updatepub { flex: 1; border-radius: 999px; }
#nav-publication h3.publi { font-size: 1.1rem; margin: 1.2rem 0 .2rem !important; text-transform: none !important; display: flex; align-items: center; gap: .4rem; }
#nav-publication h3.publi::first-letter { text-transform: uppercase; }
/* panneaux de gestion (photos, modification) : fenêtres au centre de l'écran */
.media-manager, .content-manager { border-radius: 22px !important; border: 0 !important; box-shadow: 0 30px 80px rgba(27,28,51,.35) !important; padding: 1.4rem !important; z-index: 1060 !important; }
.media-manager .media-item .border, .content-manager .border { border-radius: 14px !important; }
.content-manager h3 { font-weight: 800; }

/* Pied de page : pas de puces (l'ancienne feuille les force) */
.st-footer ul { list-style: none !important; padding-left: 0 !important; }
.st-footer li { list-style: none !important; }
.st-footer li[hidden], .st-footer a[hidden] { display: none !important; }

/* ---------- Espace membre : blocs des onglets en cartes (structure d'origine conservée) ---------- */
#nav-tabContent .tab-pane .row > .col-sm-6, #nav-tabContent .tab-pane .row > .col-sm-12.pt-2.pb-2:not(:empty) { position: relative; z-index: 0; padding: 1.1rem 1.3rem !important; margin-bottom: 1rem; }
#nav-tabContent .tab-pane .row > .col-sm-6::before, #nav-tabContent .tab-pane .row > .col-sm-12.pt-2.pb-2:not(:empty)::before {
  content: ""; position: absolute; inset: 0 .4rem; z-index: -1; background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); }
#nav-tabContent .shadow { box-shadow: none !important; }
#nav-tabContent .searchfriendsbox { background: transparent !important; }
#nav-tabContent .searchfriendsbox form, #nav-tabContent .searchfriendsbox .row { background: transparent !important; }
#nav-tabContent h3 { font-size: 1.05rem !important; margin-bottom: .8rem; }
#nav-tabContent .tab-pane > .container, #nav-tabContent .tab-pane > .container-fluid { padding-left: 0; padding-right: 0; }
#nav-tabContent .modal-content { border-radius: 20px; border: 0; }
#searchbtn, #addpost { border-radius: 999px !important; width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; }
#nav-chat iframe { border: 0; border-radius: var(--st-radius); box-shadow: var(--st-shadow); background: #fff; }
#nav-tabContent .container.mb-1, #nav-tabContent [style*="background:#FFF"] { border-radius: 14px; }

/* ---------- Formulaire de publication (étapes d'origine, habillées) ---------- */
#postform { background: rgba(27,28,51,.55) !important; backdrop-filter: blur(4px); border: 0 !important; }
#postform > form { background: #fff; height: 100%; overflow-y: auto; position: relative; }
@media (min-width: 992px) {
  #postform > form { max-width: 860px; height: auto; max-height: 92vh; margin: 4vh auto 0; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
  #postform [id^="screen"] { height: auto !important; min-height: 60vh; padding: 1rem 1.5rem 2rem; }
}
#postform h3 { font-weight: 800; font-size: 1.5rem; }
#closepostform { width: 42px; height: 42px; border-radius: 50%; background: var(--st-bg); display: flex; align-items: center; justify-content: center; z-index: 5; top: 16px !important; right: 16px !important; }
.cattochoosepost, .sportstochoosepost, .surplacepost { background: #fff; border: 2px solid var(--st-line) !important; border-radius: 18px; padding: 1rem .5rem; font-weight: 700; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cattochoosepost:hover, .sportstochoosepost:hover { transform: translateY(-2px); box-shadow: var(--st-shadow); }
.cattochoosepost i { width: 64px; height: 64px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; font-size: 28px !important; color: #fff; margin-bottom: .4rem; background: var(--st-orange); }
.cattochoosepost:has(input[value="spots"]) i { background: linear-gradient(135deg, #2ED3B7, #0E9F8E); }
.cattochoosepost:has(input[value="webcams"]) i { background: linear-gradient(135deg, #FF6B6B, #E5484D); }
.cattochoosepost:has(input[value="sessions"]) i { background: linear-gradient(135deg, #FF9A3C, #F36F1C); }
.cattochoosepost:has(input[value="annonces"]) i { background: linear-gradient(135deg, #FFD34D, #F5A400); }
.cattochoosepost:has(input[value="events"]) i { background: linear-gradient(135deg, #9B8CFF, #6E56F8); }
.cattochoosepost:has(input[value="business"]) i { background: linear-gradient(135deg, #3B3E66, #1B1C33); }
.sportstochoosepost img { width: 44px; height: 44px; display: block; margin: 0 auto .35rem; border-radius: 50%; background: var(--st-orange-50); padding: 7px; }
.sportstochooseselect, .cattochoosepost.sportstochooseselect { border-color: var(--st-orange) !important; background: var(--st-orange-50); box-shadow: 0 0 0 3px rgba(243,111,28,.15); }
#postform .form-control, #postform .form-select { border-radius: 12px; border-color: var(--st-line); padding: .65rem .9rem; }
#postform .awe { background: var(--st-orange) !important; box-shadow: 0 10px 24px rgba(243,111,28,.35); }
#postform .rating i, .rating1 i { color: #D6D8E0; cursor: pointer; font-size: 26px; }
#postform .rating i.active, .rating1 i.active1 { color: var(--st-orange); }

/* Fenêtre de connexion rapide (visiteur qui clique sur J'aime, Publier…) */
.containerconnect { background: rgba(27,28,51,.55) !important; backdrop-filter: blur(4px); }
.containerconnect .connect { margin-top: 12vh !important; max-width: 380px !important; }
#loginbox { border: 0 !important; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.3); padding: 1.6rem !important; }
#loginbox .form-control { border-radius: 12px; padding: .7rem .9rem; }
#loginbox .btn { border-radius: 999px !important; font-weight: 700; }
#loginbox p:first-of-type { text-transform: none !important; font-size: 1.3rem; color: var(--st-ink) !important; }
/* étapes empilées : une seule visible à la fois (chaque étape occupe toute la fenêtre, défilement interne) */
#postform > form { overflow: hidden !important; }
@media (min-width: 992px) {
  #postform > form { height: 88vh !important; max-height: none; }
  #postform [id^="screen"] { height: 88vh !important; min-height: 0 !important; overflow-y: auto !important; align-content: flex-start; padding-top: 2.5rem; }
}
@media (max-width: 991.98px) { #postform [id^="screen"] { height: 100vh !important; overflow-y: auto !important; padding-bottom: 6rem; } }
#postform .mb-5 { margin-bottom: 1rem !important; }
#postform [id^="screen"] > [class*="col-"] { padding: .4rem; }
.surplacepost i { color: var(--st-orange); }
.surplacepost.sportstochooseselect i { color: var(--st-orange-600); }

/* ===== Retouches : en-tête de profil et cartes de publications ===== */
.st-cover { height: 150px; }
@media (min-width: 992px) {
  .st-cover { height: 240px; max-width: 1296px; margin: 1rem auto 0; border-radius: 26px; }
  .st-profile { margin-top: -64px; padding: 0 1.5rem; align-items: flex-end; }
  .st-profile .st-avatar-lg { width: 128px; height: 128px; border-width: 5px; }
  .st-profile > .flex-grow-1 { padding-top: 0 !important; padding-bottom: .4rem; }
  .st-profile > .flex-grow-1 h1 { color: var(--st-ink); }
}
.st-profile .st-avatar-lg { position: relative; z-index: 2; background: #fff; }
.st-cover::after { border-radius: inherit; }
/* cartes « Mes publications » : même hauteur d'image, texte coupé proprement */
.st-hscroll { align-items: flex-start; }
.st-mcard { align-self: stretch; }
.st-mcard .media { overflow: hidden; aspect-ratio: 4 / 3; height: auto; }
.st-mcard .media img { position: absolute; inset: 0; }
.st-mcard .body b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-mcard .body .ex { max-height: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-mcard .body .ex br, .st-mcard .body .ex p:not(:first-child) { display: none; }
.st-mcard .body small:empty { display: none; }

/* Fenêtres de l'espace membre (créer / gérer un groupe) */
.st-modal { position: fixed; inset: 0; z-index: 1070; background: rgba(27,28,51,.55); backdrop-filter: blur(3px); overflow-y: auto; padding: 6vh 1rem; }
.st-modal-card { position: relative; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 1.6rem; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.st-modal-card .btn-close { position: absolute; top: 1.1rem; right: 1.1rem; }
.st-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .4rem; max-height: 220px; overflow-y: auto; }
.st-pick-item { display: flex; align-items: center; gap: .5rem; padding: .45rem .55rem; border: 1px solid var(--st-line); border-radius: 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.st-pick-item img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.st-pick-item input { accent-color: var(--st-orange); }
.st-pick-item:has(input:checked) { border-color: var(--st-orange); background: var(--st-orange-50); }
.st-sportpick { max-height: 200px; overflow-y: auto; border: 1px solid var(--st-line); border-radius: 14px; padding: .4rem; margin: 0 !important; }
.st-sportpick > div { display: flex; align-items: center; gap: .4rem; font-size: 13.5px; font-weight: 600; }
.st-sportpick input { accent-color: var(--st-orange); }

/* Onglet Compte : formulaires d'origine en cartes */
#nav-profil > section { border: 0 !important; background: #fff; border-radius: var(--st-radius) !important; box-shadow: var(--st-shadow); padding: 1.2rem 1.3rem; margin: 0 0 1rem !important; }
#nav-profil > section > .container, #nav-profil > section .container { max-width: 100%; padding: 0; }
#nav-profil h3 { font-size: 1.1rem !important; margin: 0 0 1rem !important; display: flex; align-items: center; gap: .5rem; }
#nav-profil canvas#imageCanvas { border-radius: 50%; }
#nav-profil .sportstochoose { border: 2px solid var(--st-line); border-radius: 16px; padding: .6rem .3rem; cursor: pointer; font-weight: 600; font-size: 13px; background: #fff; }
#nav-profil .sportstochoose img { width: 40px !important; height: 40px; border-radius: 50%; background: var(--st-orange-50); padding: 6px; }
#nav-profil .sportstochoose.sportstochooseselect, #nav-profil .sportstochooseselect { border-color: var(--st-orange) !important; background: var(--st-orange-50); }
#nav-profil .mb-5 { margin-bottom: .75rem !important; }
#nav-profil .succesbox { border-radius: 12px; }

/* ---- Pages simples (mentions, CGU…) : colonne de lecture en carte ---- */
body.posttype_pages .contentall > section.p-5 {
  max-width: 920px; margin: 32px auto !important; padding: 40px 48px !important;
  background: #fff; border-radius: 24px; box-shadow: 0 10px 30px rgba(27, 28, 51, .06);
  line-height: 1.65; color: var(--st-night);
}
body.posttype_pages .contentall > section.p-5 h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1.2rem; }
body.posttype_pages .contentall > section.p-5 h2 { font-size: 1.35rem; font-weight: 800; margin: 2rem 0 .8rem; }
body.posttype_pages .contentall > section.p-5 h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
body.posttype_pages .contentall > section.p-5 p, body.posttype_pages .contentall > section.p-5 li { font-size: 1rem; }
body.posttype_pages .contentall > section.p-5 a:not(.btn) { color: var(--st-orange); word-break: break-word; }
@media (max-width: 767px) {
  body.posttype_pages .contentall > section.p-5 { width: auto !important; margin: 16px 12px !important; padding: 24px 20px !important; border-radius: 18px; }
}

/* ---- Formulaire d'inscription (Deviens membre) : textes lisibles dans la carte blanche ---- */
#createcust { color: var(--st-night); border-radius: 24px !important; border: 0 !important; box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
#createcust p, #createcust label, #createcust h3, #createcust .sportstochoose { color: var(--st-night) !important; }
#createcust input[type=radio] { accent-color: var(--st-orange); width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
#createcust .form-control { border-radius: 12px; min-height: 44px; }

/* ---- Mobile : la fiche n'a pas de marge latérale (photo pleine largeur) → pas de gouttière négative ---- */
@media (max-width: 991.98px) {
  .st-fiche > .row { --bs-gutter-x: 0; }
}

/* ---- Mobile : espace membre (rangées sans gouttière négative) et bouton « haut de page » au-dessus de la barre d'onglets ---- */
#nav-tabContent .container-fluid.publications > .row { margin-left: 0; margin-right: 0; }
@media (max-width: 991.98px) {
  #nav-tabContent h3.publi { padding-left: 2px; }
  body.has-tabbar #eg-btt { bottom: calc(var(--st-tabbar-h, 64px) + 18px) !important; right: 16px !important; }
}

/* ---- Mobile : onglets Amis / Tribs ---- */
@media (max-width: 575.98px) {
  #nav-friends .st-row .chatwithme, .st-grouphead .chatwithme { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; }
  #nav-friends .st-row .grow, .st-grouphead .min-w-0 { min-width: 0; }
  .st-grouphead b { font-size: 1rem; line-height: 1.25; }
}

/* ---- Publication, étape « Quels sports ? » : tuiles de même hauteur (noms sur deux lignes) ---- */
#screen2 .sportstochoosepost { height: 100%; min-height: 152px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }

/* ---- Fiche : la carte de la colonne pratique ne colle plus à la photo ---- */
.st-fiche .st-aside { margin-top: 24px; }

/* ---- Fenêtre « Modifier ma publication » ---- */
.st-edit .modal-content { border: 0; border-radius: 24px; overflow: hidden; background: var(--st-bg, #f5f6fa); }
.st-edit .modal-header { gap: 12px; background: #fff; border-bottom: 1px solid var(--st-line, #eceef3); padding: 16px 20px; }
.st-edit .modal-header small { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.st-edit-badge { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; flex: none; background: var(--st-orange); }
.st-edit-badge.t-spots { background: #14b8a6; } .st-edit-badge.t-webcams { background: #ef4444; } .st-edit-badge.t-events { background: #8b5cf6; }
.st-edit-badge.t-annonces { background: #f59e0b; } .st-edit-badge.t-business { background: var(--st-night); }
.st-edit .modal-body { padding: 16px; }
.st-edit-sec { background: #fff; border-radius: 18px; padding: 18px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(27, 28, 51, .04); }
.st-edit-sec h3 { font-size: 1rem; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.st-edit-sec h3 .bi { color: var(--st-orange); }
.st-edit .form-label { font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--st-night); }
.st-edit .form-control, .st-edit .input-group-text { border-radius: 12px; border-color: var(--st-line, #e3e6ee); background-color: #fafbfd; }
.st-edit .input-group > :not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.st-edit .input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.st-edit .form-control:focus { background: #fff; border-color: var(--st-orange); box-shadow: 0 0 0 .2rem rgba(243, 111, 28, .15); }
.st-edit .form-control-lg { font-size: 1.05rem; font-weight: 600; }
.st-edit-rich { min-height: 120px; max-height: 260px; overflow-y: auto; line-height: 1.55; }
.st-edit-rich:empty::before { content: attr(data-placeholder); color: #9aa0ad; }
.st-ed-sports { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 236px; overflow-y: auto; padding: 2px; }
.st-ed-sport { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border: 1.5px solid var(--st-line, #e3e6ee);
  border-radius: 14px; background: #fff; font-size: .78rem; font-weight: 600; line-height: 1.15; color: var(--st-night); transition: .15s; position: relative; }
.st-ed-sport img { width: 32px; height: 32px; object-fit: contain; }
.st-ed-sport:hover { border-color: rgba(243, 111, 28, .5); }
.st-ed-sport.on { border-color: var(--st-orange); background: var(--st-orange-50, #fff3eb); color: var(--st-orange); }
.st-ed-sport.on::after { content: "\F26E"; font-family: bootstrap-icons; position: absolute; top: 4px; right: 6px; font-size: .9rem; }
.st-ed-rate { display: flex; gap: 4px; }
.st-ed-rate button { border: 0; background: #f1f2f6; width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; color: #c3c7d1; transition: .15s; }
.st-ed-rate button.on { background: #fff1e6; color: var(--st-orange); }
.st-ed-map { height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--st-line, #e3e6ee); }
.st-edit-photos { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-edit .modal-footer { background: #fff; border-top: 1px solid var(--st-line, #eceef3); padding: 12px 20px; }
.st-edit .modal-footer .btn { min-width: 120px; }
@media (max-width: 575.98px) {
  .st-edit .modal-content { border-radius: 0; }
  .st-edit .modal-body { padding: 12px; }
  .st-edit-sec { padding: 16px 14px; }
  .st-edit .modal-footer .btn { min-width: 0; flex: 1; }
  .st-edit .st-ed-msg { flex-basis: 100%; text-align: center; }
  .st-ed-map { height: 210px; }
}

/* ---- Panneau flottant de la messagerie (boutons Message / Discuter / onglet Messages) ---- */
.st-chatpanel { position: fixed; right: 20px; bottom: 20px; width: 400px; height: min(680px, calc(100vh - 100px)); z-index: 1095; background: #fff; border-radius: 22px;
  box-shadow: 0 20px 60px rgba(27, 28, 51, .28); overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .2s; }
.st-chatpanel.show { opacity: 1; transform: none; }
.st-chatpanel-bar { display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 16px; background: var(--st-night); color: #fff; }
.st-chatpanel-bar b { flex: 1; font-weight: 800; font-size: .95rem; }
.st-chatpanel-bar b .bi { color: var(--st-orange); margin-right: 4px; }
.st-chatpanel-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.st-chatpanel-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.st-chatpanel iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 575.98px) {
  .st-chatpanel { inset: 0; width: auto; height: auto; border-radius: 0; }
}

/* ---- Business : logo (1re photo) à côté du nom sur la fiche, pastille sur la couverture dans les listes ---- */
.st-biz-head { display: flex; align-items: center; gap: 14px; }
.st-biz-head h1 { margin: 0; }
.st-biz-logo { width: 76px; height: 76px; border-radius: 20px; object-fit: contain; background: #fff; padding: 6px; flex: none;
  box-shadow: 0 6px 18px rgba(27, 28, 51, .12); border: 1px solid var(--st-line); }
@media (max-width: 575.98px) { .st-biz-logo { width: 62px; height: 62px; border-radius: 16px; } }
.media img.st-logo-badge, .st-logo-badge { position: absolute; left: 12px; bottom: 12px; top: auto; right: auto; width: 52px !important; height: 52px !important; aspect-ratio: 1; z-index: 2; border-radius: 14px; object-fit: contain; background: #fff; padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }

/* ---- Météo technique (prévisions 7 jours des spots / webcams nautiques, journée d'une session) ---- */
.st-w-unit { display: inline-flex; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px; flex: none; }
.st-w-unit button { border: 0; background: transparent; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; opacity: .75; }
.st-w-unit button.on { background: #fff; color: #1E4FA8; opacity: 1; }
.st-w-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 1.1rem 0 .6rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.st-w-title b { font-size: 15px; } .st-w-title b .bi { margin-right: 4px; } .st-w-title small { opacity: .75; font-size: 12px; }
.st-w-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.st-w-days::-webkit-scrollbar { display: none; }
.st-w-days button { flex: 0 0 auto; min-width: 82px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; padding: 8px 8px 7px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; }
.st-w-days button .dn { font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.st-w-days button .bi { font-size: 18px; color: #FFD54A; }
.st-w-days button b { font-size: 13px; padding: 1px 7px; border-radius: 999px; }
.st-w-days button small { opacity: .8; }
.st-w-days button.on { background: #fff; color: var(--st-night); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.st-w-days button.on small { opacity: .7; }
.st-w-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: .7rem 0 .5rem; font-size: 12.5px; opacity: .92; }
.st-w-sum .bi { margin-right: 3px; }
.st-w-tablewrap { overflow-x: auto; margin: 0 -1.1rem; padding: 0 1.1rem 4px; scrollbar-width: thin; }
.st-w-table { border-collapse: separate; border-spacing: 3px; font-size: 12px; min-width: 100%; }
.st-w-table th { position: sticky; left: 0; z-index: 1; background: #2559B8; text-align: left; font-weight: 600; white-space: nowrap; padding: 6px 8px 6px 0; opacity: .95; font-size: 11.5px; }
.st-w-table td { text-align: center; padding: 6px 4px; min-width: 48px; border-radius: 8px; background: rgba(255, 255, 255, .08); line-height: 1.2; white-space: nowrap; }
.st-w-table td small { opacity: .8; font-size: 10.5px; }
.st-w-table td .bi { font-size: 16px; }
.st-w-table tr:first-child td { background: transparent; }
.st-w-arrow { display: inline-block; font-size: 13px !important; margin-right: 2px; }
/* échelles : vent (km/h) et vagues (m) */
.st-w-table td.l0 { background: rgba(110, 231, 183, .28); } .st-w-table td.l1 { background: rgba(163, 230, 53, .32); }
.st-w-table td.l2 { background: rgba(250, 204, 21, .40); } .st-w-table td.l3 { background: rgba(249, 115, 22, .55); } .st-w-table td.l4 { background: rgba(239, 68, 68, .65); }
.st-w-table td.wl0, .st-w-days b.wl0 { background: rgba(255, 255, 255, .10); } .st-w-table td.wl1, .st-w-days b.wl1 { background: rgba(56, 189, 248, .45); }
.st-w-table td.wl2, .st-w-days b.wl2 { background: rgba(14, 165, 233, .75); } .st-w-table td.wl3, .st-w-days b.wl3 { background: rgba(99, 102, 241, .85); }
.st-w-table td.wl4, .st-w-days b.wl4 { background: rgba(168, 85, 247, .9); }
.st-w-days button.on b { color: #fff; }
.st-w-days button.on b.wl0 { background: #94A3B8; }

/* ---- Fiche : mobile = slider plein écran (photos en cover) ; desktop = bande de vignettes sous le titre ---- */
.st-fhero { position: relative; height: 300px; background: #111; overflow: hidden; }
.st-fhero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.st-fhero-track::-webkit-scrollbar { display: none; }
.st-fhero-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.st-fhero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-fhero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); pointer-events: none; }
.st-fhero-count { position: absolute; right: 14px; bottom: 40px; z-index: 2; background: rgba(27, 28, 51, .75); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.st-fhero-dots { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.st-fhero-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .2s, background .2s; }
.st-fhero-dots i.on { width: 20px; border-radius: 4px; background: #fff; }
.st-fhero .top { position: absolute; top: .8rem; left: .8rem; right: .8rem; z-index: 3; display: flex; justify-content: space-between; }
.st-fhero .top .btn-icon { background: rgba(255, 255, 255, .92); color: var(--st-ink); border: 0; }
.st-fstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 1.2rem; }
.st-fstrip a { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: block; cursor: zoom-in; }
.st-fstrip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.st-fstrip a:hover img { transform: scale(1.05); }
.st-fstrip .more { position: absolute; inset: 0; background: rgba(27, 28, 51, .55); color: #fff; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* ---- Signaler un contenu ---- */
.st-report-link { background: none; border: 0; padding: 0; color: var(--st-muted); font-size: 13px; font-weight: 600; }
.st-report-link:hover { color: #D93025; }
.st-act.st-report i { font-size: .92em; opacity: .7; } .st-act.st-report:hover i { color: #D93025; opacity: 1; }
.st-report-opt { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid var(--st-line); border-radius: 12px; margin-bottom: .4rem; cursor: pointer; font-weight: 600; font-size: 14px; }
.st-report-opt:has(input:checked) { border-color: #D93025; background: #FDECEC; }
.st-report-opt input { accent-color: #D93025; }

/* ---- Partager ---- */
.st-share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.st-share-net { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--st-ink); text-decoration: none; }
.st-share-net span { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; transition: transform .15s; }
.st-share-net:hover span { transform: scale(1.08); }
.st-share-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Notifications : cloche ---- */
.st-bell .btn-icon { position: relative; }
.st-bell-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--st-orange); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 16px; text-align: center; border: 2px solid var(--st-night); box-sizing: border-box; pointer-events: none; }
/* menus du haut (cloche, compte) : placés par CSS sous le bouton, bord droit aligné (pas de calcul JS) */
.st-top-actions .dropdown { position: relative; }
.st-top-actions .dropdown-menu[data-bs-popper] { top: calc(100% + 10px); right: 0; left: auto; margin: 0; }
.st-bell-menu { width: 380px; max-width: calc(100vw - 16px); border-radius: 18px; overflow: hidden; }
.st-bell-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.st-bell-head b { font-size: 16px; }
.st-bell-readall { background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--st-orange); }
.st-bell-push { display: flex; align-items: center; gap: 10px; margin: 0 12px 8px; padding: 10px 12px; background: var(--st-orange-50, #FFF2E9); border-radius: 12px; font-size: 13px; }
.st-bell-push > i { font-size: 20px; color: var(--st-orange); }
.st-bell-push span { flex: 1; }
.st-bell-list { max-height: min(60vh, 440px); overflow-y: auto; border-top: 1px solid var(--st-line); }
.st-bell-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 16px; color: var(--st-ink); text-decoration: none; border-bottom: 1px solid var(--st-line); font-size: 14px; line-height: 1.35; }
.st-bell-item:hover { background: var(--st-bg); color: var(--st-ink); }
.st-bell-item.unread { background: #FFF8F3; }
.st-bell-item.unread .st-bell-txt::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--st-orange); margin-right: 6px; vertical-align: 1px; }
.st-bell-item img, .st-bell-ico { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; }
.st-bell-ico { display: flex; align-items: center; justify-content: center; background: var(--st-bg); color: var(--st-orange); font-size: 17px; }
.st-bell-txt small { display: block; color: var(--st-muted); font-size: 12px; margin-top: 2px; }
.st-bell-empty { padding: 28px 16px; text-align: center; color: var(--st-muted); font-size: 14px; }
.st-bell-foot { display: block; padding: 11px 16px; text-align: center; font-size: 13px; font-weight: 700; color: var(--st-ink); text-decoration: none; }
.st-bell-foot:hover { background: var(--st-bg); }
@media (max-width: 575.98px) { .st-top-actions .st-bell-menu[data-bs-popper] { position: fixed; top: 64px; left: 8px; right: 8px; width: auto; } }

/* ---- Notifications : réglages ---- */
.st-push-box { padding: 14px; border: 1px solid var(--st-line); border-radius: 14px; }
.st-push-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--st-orange-50, #FFF2E9); color: var(--st-orange); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.st-notif-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--st-muted); font-weight: 700; width: 80px; }
.st-notif-table th:first-child { width: auto; }
.st-notif-table td { font-size: 14px; }
.st-notif-table .form-check-input { width: 1.15em; height: 1.15em; accent-color: var(--st-orange); }
.st-notif-table .form-check-input:checked { background-color: var(--st-orange); border-color: var(--st-orange); }

/* ---- Page Deviens membre (includes/inscription.php) ---- */
.st-signup { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100vh - 60px); background: var(--st-bg); }
.st-signup-visual { background-size: cover; background-position: center; color: #fff; display: flex; align-items: center; padding: 56px clamp(24px, 5vw, 72px); }
.st-signup-visual-in { max-width: 540px; }
.st-signup-eyebrow { display: inline-flex; align-items: center; background: rgba(243, 111, 28, .95); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.st-signup-visual h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; margin: 16px 0 12px; }
.st-signup-visual .lead { font-size: 1.08rem; opacity: .92; margin-bottom: 28px; }
.st-signup-perks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.st-signup-perks li { display: flex; gap: 14px; align-items: flex-start; }
.st-signup-perks i { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; color: var(--st-orange); font-size: 18px; }
.st-signup-perks b { display: block; font-size: 15.5px; }
.st-signup-perks span { font-size: 14px; opacity: .8; }
.st-signup-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 18px; }
.st-signup-stats b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.st-signup-stats span { font-size: 12.5px; opacity: .75; text-transform: uppercase; letter-spacing: .05em; }
.st-signup-form-col { display: flex; align-items: center; justify-content: center; padding: 40px clamp(16px, 4vw, 56px); }
.st-signup-card { width: 100%; max-width: 480px; background: #fff; border-radius: 24px; box-shadow: var(--st-shadow); padding: 28px; scroll-margin-top: 76px; }
.st-signup-card .form-label { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--st-ink); }
.st-signup-card .form-control { border-radius: 12px; padding: .62rem .8rem; border-color: var(--st-line); }
.st-signup-card .form-control:focus { border-color: var(--st-orange); box-shadow: 0 0 0 3px rgba(243, 111, 28, .15); }
.st-signup-card .btn-primary { border-radius: 999px; padding: .7rem 1rem; font-weight: 800; }
.st-signup-card .btn-light { border-radius: 999px; padding: .7rem 1rem; }
.st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 6px; }
.st-steps li { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--st-muted); padding-top: 8px; border-top: 3px solid var(--st-line); }
.st-steps li span { width: 20px; height: 20px; border-radius: 50%; background: var(--st-line); color: var(--st-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.st-steps li.on { color: var(--st-ink); border-top-color: var(--st-orange); }
.st-steps li.on span { background: var(--st-orange); color: #fff; }
.st-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.st-step.on { display: block; animation: stFade .2s ease; }
@keyframes stFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.st-pass { position: relative; }
.st-pass .form-control { padding-right: 44px; }
.st-pass-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--st-muted); width: 34px; height: 34px; border-radius: 50%; }
.st-pass-meter { height: 4px; background: var(--st-line); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.st-pass-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; background: #D93025; }
.st-pass-meter i.l1 { background: #F59E0B; } .st-pass-meter i.l2 { background: #84CC16; } .st-pass-meter i.l3 { background: #16A34A; }
.st-seg { display: flex; gap: 8px; }
.st-seg label { flex: 1; cursor: pointer; }
.st-seg input { position: absolute; opacity: 0; }
.st-seg span { display: block; text-align: center; padding: .55rem; border: 1px solid var(--st-line); border-radius: 12px; font-weight: 700; font-size: 14px; transition: all .15s; }
.st-seg input:checked + span { border-color: var(--st-orange); background: var(--st-orange-50, #FFF2E9); color: var(--st-orange); }
.st-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(243, 111, 28, .2); }
.st-sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; padding: 2px; }
.st-sport { cursor: pointer; }
.st-sport input { position: absolute; opacity: 0; }
.st-sport span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--st-line); border-radius: 14px; font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.15; transition: all .15s; position: relative; }
.st-sport img { width: 34px; height: 34px; object-fit: contain; }
.st-sport input:checked + span { border-color: var(--st-orange); background: var(--st-orange-50, #FFF2E9); }
.st-sport input:checked + span::after { content: "\F26E"; font-family: bootstrap-icons; position: absolute; top: 4px; right: 6px; color: var(--st-orange); font-size: 14px; }
.st-sport input:focus-visible + span { box-shadow: 0 0 0 3px rgba(243, 111, 28, .2); }
@media (max-width: 991.98px) {
  .st-signup { grid-template-columns: 1fr; min-height: 0; }
  .st-signup-visual { padding: 36px 20px 28px; }
  .st-signup-perks { display: none; }

  .st-signup-form-col { padding: 0 12px 28px; margin-top: -14px; }
  .st-signup-card { padding: 22px 18px; border-radius: 22px; }
}
@media (max-width: 575.98px) {
  .st-signup-visual h1 { font-size: 1.85rem; }
  .st-signup-visual .lead { font-size: 1rem; margin-bottom: 18px; }


  .st-signup-stats b { font-size: 1.3rem; }
}
