/* Pool NHL Côté — identité : glace, marine, ligne rouge, or */
:root{
  --ice:#EAF0F5; --board:#FFFFFF; --ink:#13213A; --soft:#5A6880; --line:#D3DCE6; --row:#F4F7FA;
  --navy:#0E2240; --navy-ink:#FFFFFF; --navy-soft:#AFC3DB;
  --blue:#1B4E9B; --blue-tint:#E3ECF8; --red:#C8102E; --gold:#C9970F;
  --ok:#1E7A46; --ok-tint:#E2F2E8; --bad:#B42318; --bad-tint:#FBE7E5; --warn:#9A6A00; --warn-tint:#FBF1D9;
  --display:"Big Shoulders Display","Arial Narrow","Roboto Condensed",Impact,sans-serif;
  --body:"Barlow","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --ice:#0A1626; --board:#12233B; --ink:#E6EEF6; --soft:#9DB0C6; --line:#25395A; --row:#16294A;
  --navy:#07111F; --navy-ink:#FFFFFF; --navy-soft:#9DB0C6;
  --blue:#7AA8EE; --blue-tint:#1B3358; --red:#F0485F; --gold:#E9B93A;
  --ok:#5CCB8A; --ok-tint:#143524; --bad:#FF7B6E; --bad-tint:#3A1A1A; --warn:#F0C35A; --warn-tint:#33280E;
  color-scheme:dark}}
:root[data-theme="dark"]{
  --ice:#0A1626; --board:#12233B; --ink:#E6EEF6; --soft:#9DB0C6; --line:#25395A; --row:#16294A;
  --navy:#07111F; --navy-ink:#FFFFFF; --navy-soft:#9DB0C6;
  --blue:#7AA8EE; --blue-tint:#1B3358; --red:#F0485F; --gold:#E9B93A;
  --ok:#5CCB8A; --ok-tint:#143524; --bad:#FF7B6E; --bad-tint:#3A1A1A; --warn:#F0C35A; --warn-tint:#33280E;
  color-scheme:dark}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:var(--ice);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
a{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:6px}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--soft)}

.app{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;max-width:760px;margin:0 auto}
.top{position:sticky;top:0;z-index:10;background:var(--navy);color:var(--navy-ink);border-bottom:4px solid var(--red);
  padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));display:flex;align-items:center;gap:12px}
.top img{width:38px;height:38px;border-radius:50%;background:#fff;padding:3px;flex:none}
.top .t1{font-family:var(--display);font-weight:800;font-size:21px;line-height:1}
.top .t2{font-size:12px;color:var(--navy-soft)}
.top .bell{margin-left:auto;position:relative;background:none;border:0;color:var(--navy-ink);padding:8px;cursor:pointer;border-radius:10px}
.top .bell svg{width:24px;height:24px;display:block}
.top .bell .badge{position:absolute;top:2px;right:0;background:var(--red);color:#fff;font-size:10.5px;font-weight:700;border-radius:999px;min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px;border:2px solid var(--navy)}
.screen{flex:1;padding:16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));display:flex;flex-direction:column;gap:14px;padding-bottom:90px}
.nav{position:fixed;bottom:0;left:0;right:0;z-index:10;display:grid;grid-template-columns:repeat(5,1fr);background:var(--board);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px);max-width:760px;margin:0 auto}
.nav a{padding:9px 4px 8px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11.5px;font-weight:600;color:var(--soft);text-decoration:none}
.nav a svg{width:22px;height:22px}
.nav a[aria-current="page"]{color:var(--blue)}

h1{font-family:var(--display);font-weight:900;font-size:30px;line-height:1;margin:4px 0 0}
h2{font-family:var(--display);font-weight:800;font-size:23px;line-height:1.05;margin:0;letter-spacing:.01em}
h3{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--soft);margin:0 0 8px}
.sec{background:var(--board);border:1px solid var(--line);border-radius:14px;padding:14px}
.row{display:flex;align-items:center;gap:10px;min-width:0}
.row > .grow{flex:1;min-width:0}
.list{display:flex;flex-direction:column}
.list > *{padding:9px 0;border-top:1px solid var(--line)}
.list > *:first-child{border-top:0}
.pl{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sub{font-size:12.5px;color:var(--soft)}
.r{text-align:right;white-space:nowrap}
.logo{width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--line);padding:2px;flex:none;object-fit:contain}
.nhl{width:22px;height:22px;flex:none;object-fit:contain}
.pos{display:inline-grid;place-items:center;width:22px;height:20px;border-radius:5px;font-size:11px;font-weight:700;background:var(--row);color:var(--soft);flex:none}
.tlink{color:inherit;text-decoration:none}

.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.stat{background:var(--board);border:1px solid var(--line);border-radius:12px;padding:10px}
.stat span{display:block;font-size:11.5px;color:var(--soft);font-weight:600}
.stat b{font-family:var(--display);font-weight:800;font-size:21px;line-height:1.1}
.stat.bad b{color:var(--bad)}
.dots{display:flex;gap:4px;margin-top:4px}
.dots i{width:12px;height:12px;border-radius:3px;background:var(--row);border:1px solid var(--line)}
.dots i.on{background:var(--blue);border-color:var(--blue)}

.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:var(--row);border:1px solid var(--line);border-radius:10px;padding:3px;gap:3px}
.seg button{border:0;background:none;border-radius:8px;padding:8px 4px;font-weight:600;font-size:13px;cursor:pointer;color:var(--soft)}
.seg button[aria-pressed="true"]{background:var(--board);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.12)}

.teamsel{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.teamsel a{border:1px solid var(--line);background:var(--board);border-radius:999px;padding:4px;display:flex;align-items:center;flex:none}
.teamsel a img{width:34px;height:34px;border-radius:50%;background:#fff;object-fit:contain}
.teamsel a[aria-current="true"]{border-color:var(--blue);background:var(--blue-tint);box-shadow:0 0 0 2px var(--blue)}

.leader{display:flex;gap:12px;align-items:center;background:var(--navy);color:var(--navy-ink);border-radius:14px;padding:12px 14px;border-top:5px solid var(--gold);text-decoration:none}
.leader img{width:52px;height:52px;border-radius:50%;background:#fff;padding:3px;flex:none;object-fit:contain}
.leader .ln{font-family:var(--display);font-size:27px;font-weight:800;line-height:1}
.leader span{font-size:12px;color:var(--navy-soft)}
.leader b{font-family:var(--display);font-size:32px;font-weight:800;line-height:1;color:var(--gold)}
.stand .rk{width:20px;font-family:var(--display);font-weight:800;font-size:18px;color:var(--soft);flex:none}
.stand .me{background:var(--blue-tint);border-radius:8px;padding-inline:6px}
.up{color:var(--ok);font-weight:700}

table.t{width:100%;border-collapse:collapse;font-size:14px}
table.t th{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--soft);text-align:right;padding:4px 6px;border-bottom:1px solid var(--line)}
table.t th:first-child,table.t td:first-child{text-align:left;padding-left:0}
table.t td{padding:7px 6px;border-top:1px solid var(--line);text-align:right;white-space:nowrap}
table.t tr:first-child td{border-top:0}
table.t td.nm{max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis}
table.t tr.used td{opacity:.55}
table.t .tot{font-weight:700}
.scroll{overflow-x:auto}

.feed .it{display:flex;gap:10px}
.mv{font-size:13.5px}
.mv .o{color:var(--bad);font-weight:700}
.mv .n{color:var(--ok);font-weight:700}
.mv .s{color:var(--blue);font-weight:700}
.when{font-size:12px;color:var(--soft)}

.pill{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:var(--warn-tint);color:var(--warn)}
.pill.ok{background:var(--ok-tint);color:var(--ok)}
.cta{width:100%;border:0;border-radius:12px;padding:13px 16px;background:var(--red);color:#fff;font-weight:700;font-size:16px;cursor:pointer;text-align:center;text-decoration:none;display:block}
.cta:disabled,.cta[aria-disabled="true"]{background:var(--line);color:var(--soft);cursor:not-allowed}
.btn2{border:1px solid var(--line);background:var(--board);border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer;text-decoration:none;color:inherit;display:inline-block}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.field label{font-weight:600;font-size:13px}
.input{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--board)}
.err{color:var(--bad);font-size:13.5px;margin:6px 0 0}
.okmsg{color:var(--ok);font-size:13.5px;margin:6px 0 0}
.menu a{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid var(--line);color:inherit;text-decoration:none;font-weight:600}
.menu a:first-child{border-top:0}
.menu a::after{content:"›";margin-left:auto;color:var(--soft);font-size:20px;line-height:1}
.empty{text-align:center;color:var(--soft);padding:24px 8px}
.skel{height:120px;border-radius:14px;background:linear-gradient(90deg,var(--row),var(--board),var(--row));background-size:200% 100%;animation:sk 1.2s linear infinite}
@keyframes sk{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.skel{animation:none}}

/* Records */
.palmares{display:flex;gap:10px;flex-wrap:wrap}
.pennant{background:var(--navy);color:var(--navy-ink);border-radius:10px;padding:10px 14px;border-left:5px solid var(--gold)}
.pennant .y{font-size:12px;color:var(--navy-soft)}
.pennant .n{font-family:var(--display);font-weight:800;font-size:20px}
.rlist{list-style:none;margin:0;padding:0;counter-reset:r}
.rlist li{display:flex;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);counter-increment:r}
.rlist li:first-child{border-top:0}
.rlist li::before{content:counter(r);width:18px;font-family:var(--display);font-weight:800;color:var(--soft)}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}

/* Règlements */
.rules .toc{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.rules .toc a{border:1px solid var(--line);background:var(--board);border-radius:999px;padding:5px 10px;font-size:13px;font-weight:600;text-decoration:none;color:inherit}
.rules article{background:var(--board);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:12px;scroll-margin-top:80px}
.rules article h2{margin-bottom:8px}
.rules article h3{margin-top:12px}
.rules .callout{background:var(--blue-tint);border-left:4px solid var(--blue);border-radius:8px;padding:10px 12px;font-weight:600;margin:10px 0}
.rules .pts-table{width:100%;border-collapse:collapse}
.rules .pts-table td,.rules .pts-table th{padding:6px;border-top:1px solid var(--line);text-align:left}
.rules .panel{background:var(--row);border-radius:10px}
.rlist .grow{flex:1;min-width:0}

/* Version ordinateur : navigation dans l'en-tête, contenu sur deux colonnes */
.topnav{display:none}
.grid2{display:grid;gap:14px;align-items:start}
.col{display:flex;flex-direction:column;gap:14px;min-width:0}
@media (min-width:900px){
  .app{max-width:1180px}
  .nav{display:none}
  .screen{padding:24px 28px 40px}
  .top{padding-inline:28px}
  .topnav{display:flex;gap:4px;margin-left:24px}
  .topnav a{display:flex;align-items:center;gap:8px;color:var(--navy-soft);text-decoration:none;font-weight:600;font-size:15px;padding:8px 12px;border-radius:10px}
  .topnav a svg{width:18px;height:18px}
  .topnav a:hover{color:var(--navy-ink);background:rgba(255,255,255,.08)}
  .topnav a[aria-current="page"]{color:var(--navy-ink);background:rgba(255,255,255,.14)}
  .grid2{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
  h1{font-size:36px}
}
@media (min-width:900px){
  html,body{overflow-x:clip}
  .top{border-bottom:0}
  .top::before{content:"";position:absolute;z-index:-1;top:0;bottom:-4px;left:-100vmax;right:-100vmax;
    background:linear-gradient(to bottom,var(--navy) calc(100% - 4px),var(--red) calc(100% - 4px))}
}

/* Grand écran : trois colonnes, plus large */
.grid3{display:grid;gap:14px;align-items:start}
@media (min-width:900px){
  .grid3{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .grid3 > .col:nth-child(3){grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}
}
@media (min-width:1360px){
  .app{max-width:1680px}
  body{font-size:16px}
  .grid3{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,.95fr)}
  .grid3 > .col:nth-child(3){grid-column:auto;display:flex;align-items:stretch}
}
.fa .rk{width:24px;font-size:12px;color:var(--soft);text-align:right;flex:none}
.fa .grow{display:flex;flex-direction:column;gap:2px}
.fa .pts{font-family:var(--display);font-size:22px;min-width:36px;text-align:right}

/* ===== Refonte visuelle : aréna, tableau d'affichage, course au titre ===== */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --ice:#07111E; --board:#0F1F35; --ink:#EAF1F8; --soft:#93A7BF; --line:#22395A; --row:#132744; --stripe:#122540;
  --blue-tint:#17325A}}
:root[data-theme="dark"]{--ice:#07111E; --board:#0F1F35; --ink:#EAF1F8; --soft:#93A7BF; --line:#22395A; --row:#132744; --stripe:#122540; --blue-tint:#17325A}
:root{--stripe:#F2F6FA}

/* Titres de section : la police d'aréna, sans majuscules forcées */
h2{font-size:26px}
h3{font-family:var(--display);font-weight:800;font-size:21px;letter-spacing:.01em;text-transform:none;color:var(--ink);margin:0 0 8px;line-height:1.1}
.sec{border-radius:16px;padding:16px}
.sec > .row:first-child h3, .sec > .row:first-child h2{margin:0}
.sec > .row:first-child{margin-bottom:8px}

/* Rangées alternées pour suivre une ligne d'un coup d'œil */
.list > *{border-top:0;padding:9px 10px;margin:0 -10px;border-radius:9px}
.list > *:nth-child(even){background:var(--stripe)}
table.t td{border-top:0}
table.t tbody tr:nth-child(even) td{background:var(--stripe)}
table.t tbody tr td:first-child{border-radius:9px 0 0 9px;padding-left:8px}
table.t tbody tr td:last-child{border-radius:0 9px 9px 0;padding-right:8px}
table.t th{text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:600}
table.t th:first-child{padding-left:8px}
table.t th:last-child{padding-right:8px}
table.t .tot{font-family:var(--display);font-weight:800;font-size:18px}

/* Photos des joueurs */
.mug{width:40px;height:40px;border-radius:50%;flex:none;background:var(--row);overflow:hidden;box-shadow:inset 0 0 0 2px var(--tc,var(--line));display:block}
.mug img{width:100%;height:100%;object-fit:cover;display:block}
.mug.sm{width:32px;height:32px}
.mini{width:16px;height:16px;border-radius:50%;background:#fff;vertical-align:-3px;margin-right:5px}
.people .grow{display:flex;flex-direction:column;gap:1px}
.people .rk{width:18px;font-family:var(--display);font-weight:800;color:var(--soft);flex:none}
.big{font-family:var(--display);font-weight:800;font-size:24px;line-height:1}
.who{display:flex;flex-direction:column;min-width:0}
.who .sub{font-size:12px}

/* Tableau d'affichage : meneur et classement */
.board{background:var(--navy);color:var(--navy-ink);border-radius:18px;padding:0;overflow:hidden;border-top:5px solid var(--gold)}
.champ{display:flex;align-items:center;gap:14px;padding:16px 18px 14px;color:inherit;text-decoration:none;
  background:radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--tc) 38%, transparent), transparent 60%)}
.champ img{width:64px;height:64px;border-radius:50%;background:#fff;padding:3px;flex:none;object-fit:contain;box-shadow:0 0 0 3px var(--tc)}
.champ .grow{display:flex;flex-direction:column}
.champ .k{font-size:13px;color:var(--navy-soft)}
.champ .nm{font-family:var(--display);font-weight:900;font-size:clamp(30px,4vw,44px);line-height:.95}
.lead-by{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.lead-by b{font-family:var(--display);font-weight:900;font-size:44px;line-height:.9;color:var(--gold)}
.lead-by span{font-size:12.5px;color:var(--navy-soft);max-width:12ch}
.standings{padding:4px 10px 6px}
.srow{display:flex;align-items:center;gap:10px;padding:8px 8px;border-radius:10px;color:inherit;text-decoration:none}
.srow:nth-child(odd){background:rgba(255,255,255,.05)}
.srow:hover{background:rgba(255,255,255,.1)}
.srow.me{box-shadow:inset 3px 0 0 var(--gold)}
.srow .rk{width:18px;font-family:var(--display);font-weight:900;font-size:22px;color:var(--navy-soft);text-align:center;flex:none}
.srow .logo{width:34px;height:34px;border:0}
.srow .grow{display:flex;flex-direction:column;gap:5px;min-width:0}
.srow .pl{font-weight:700}
.gap{display:block;height:5px;border-radius:3px;background:rgba(255,255,255,.1);overflow:hidden}
.gap i{display:block;height:100%;background:var(--tc);border-radius:3px}
.srow .night{color:#6EE3A0;font-weight:700;min-width:34px;text-align:right;font-size:14px}
.srow .tot{font-family:var(--display);font-weight:900;font-size:26px;min-width:52px;text-align:right}
.chg{width:22px;font-size:11px;font-weight:700;flex:none;text-align:center}
.chg.up{color:#6EE3A0}
.chg.down{color:#FF8A7A}
.board .foot{color:var(--navy-soft);padding:0 18px 14px;margin:0;font-size:12px}

/* La course au titre */
.race{width:100%;height:auto;display:block;margin-top:6px}
.race .gl{stroke:var(--line);stroke-width:1}
.race .yl{fill:var(--soft);font-size:11px;text-anchor:end;font-family:var(--body)}
.race .xl{fill:var(--soft);font-size:11px;font-family:var(--body)}
.race .ln polyline{fill:none;stroke:var(--tc);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round;opacity:.9}
.race .ln.lead polyline{stroke-width:4;opacity:1}
.race .ln circle{fill:var(--tc)}
.race .ln .lk{stroke:var(--tc);stroke-width:1;opacity:.5}
.race .ln .ev{fill:var(--ink);font-family:var(--display);font-weight:800;font-size:17px}
.race .ln{transition:opacity .15s}
.race:hover .ln{opacity:.25}
.race:hover .ln:hover{opacity:1}
.race:hover .ln:hover polyline{stroke-width:4}
@media (prefers-reduced-motion:reduce){.race .ln{transition:none}}

/* Accueil : grille nommée */
.home{display:flex;flex-direction:column;gap:16px}
@media (min-width:1100px){
  .home{display:grid;gap:16px;align-items:start;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:"stand race race" "stand stars moves" "lead stars moves"}
  .area-stand{grid-area:stand}.area-race{grid-area:race}.area-stars{grid-area:stars}.area-moves{grid-area:moves}.area-lead{grid-area:lead}
}

/* En-tête d'équipe aux couleurs de l'équipe */
.teamhead{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:18px;background:var(--navy);color:var(--navy-ink);
  border-bottom:5px solid var(--tc);background-image:radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--tc) 45%, transparent), transparent 65%)}
.teamhead img{width:72px;height:72px;border-radius:50%;background:#fff;padding:4px;flex:none;object-fit:contain;box-shadow:0 0 0 3px var(--tc)}
.teamhead h1{font-size:clamp(34px,5vw,52px);margin:0;line-height:.95}
.teamhead .sub{color:var(--navy-soft)}
.stats.five{grid-template-columns:repeat(2,minmax(0,1fr))}
.stats.five .stat:first-child,.stats.five .stat:nth-child(2){grid-column:span 1}
@media (min-width:600px){.stats.five{grid-template-columns:repeat(5,minmax(0,1fr))}}
.stat b{font-size:26px}
.stat{border-radius:14px}
@media (max-width:599px){.stats.five .stat:nth-child(3){grid-column:1 / -1}}
.srow .grow{flex:1}
.mug img.fb{object-fit:contain;padding:4px;background:#fff}
:root{--scoreboard:#0E2240}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--scoreboard:#132C52}}
:root[data-theme="dark"]{--scoreboard:#132C52}
.board,.teamhead{background-color:var(--scoreboard)}
.board{box-shadow:0 1px 0 rgba(255,255,255,.06) inset}
.chipm{border:1px solid var(--line);background:var(--board);border-radius:999px;padding:6px 12px;font-weight:600;font-size:13.5px;cursor:pointer;text-transform:capitalize}
.chipm[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
td.bestm{color:var(--gold);font-weight:800}
.list .gap{background:var(--row)}
.pill.no{background:var(--bad-tint);color:var(--bad)}
.pill{white-space:nowrap}

/* Trophées dans l'en-tête d'équipe (or = champion, argent = 2e) */
.teamhead{position:relative}
.teamhead .trophies{position:absolute;right:14px;bottom:10px;display:flex;gap:10px;align-items:flex-end}
.cup{display:flex;flex-direction:column;align-items:center;gap:2px}
.cup svg{width:30px;height:34px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.cup b{font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1;color:var(--navy-soft)}
.cup.or svg{fill:#F2C230;stroke:#F2C230}
.cup.ar svg{fill:#C9D1DB;stroke:#C9D1DB}
.cup.or b{color:#F2C230}
.cup.ar b{color:#C9D1DB}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:599px){.teamhead{padding-bottom:22px}.teamhead .trophies{right:10px;bottom:8px;gap:7px}.cup svg{width:24px;height:27px}}

/* Blason du pool dans l'en-tête */
.top .crest{display:block;flex:none;line-height:0}
.top .crest img{width:40px;height:40px;border-radius:0;background:none;padding:0;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4))}
@media (min-width:700px){.top .crest img{width:44px;height:44px}}

/* Sections repliables de l'accueil (cell) */
details.fold{padding:0}
details.fold > summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent}
details.fold > summary::-webkit-details-marker{display:none}
details.fold > summary h3{margin:0}
details.fold .peek{display:block;margin-top:3px;font-size:14px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
details.fold .peek .up{color:var(--ok)}
details.fold .grow{min-width:0;flex:1}
details.fold .chev{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.6;transition:transform .2s}
details.fold[open] .chev{transform:rotate(180deg)}
details.fold[open] .peek{display:none}
details.fold .fold-body{padding:0 16px 16px}
