[data-home-color=sorties]{--section-color:#60a5fa}
[data-home-color=flashs]{--section-color:#ff6262}
[data-home-color=souvenirs]{--section-color:#fbbf24}
[data-home-color=tests]{--section-color:#4ade80}
[data-home-color=chroniques]{--section-color:#c084fc}
[data-home-color=dossiers]{--section-color:#22d3ee}
.yuki-home-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:24px;padding:8px;border:1px solid #ffffff24;border-radius:8px;background:#141417;box-shadow:4px 4px 0 #0006}
.yuki-home-tabs button{display:flex;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:48px;padding:12px 8px;background:#ffffff04;border:1px solid #ffffff18;border-bottom:3px solid var(--section-color);border-radius:4px;color:#ddd;font-size:11px;font-weight:900;line-height:1.4;text-transform:uppercase;cursor:pointer}
.yuki-home-tabs button>i{color:var(--section-color);flex:none}
.yuki-home-tabs button[aria-selected=true]{color:#111;background:var(--section-color);border-color:var(--section-color);box-shadow:inset -3px -3px 0 #0002}
.yuki-home-tabs button[aria-selected=true]>i{color:inherit}
.yuki-home-tabs button:hover{border-color:var(--section-color)}
.yuki-home-tabs button:focus-visible,.yuki-home-sections>[data-home-section]:focus-visible{outline:2px solid var(--section-color);outline-offset:3px}
.yuki-home-sections.is-tabbed>[data-home-section]{margin-bottom:0;animation:none;scroll-margin-top:150px}
.yuki-home-sections>[data-home-section][hidden]{display:none!important}
.yuki-home-sections>[data-home-section]>div:first-child h2{color:var(--section-color)}
body:is(.home,.blog) .yuki-home-sections>[data-home-section]>div:first-child h2::before{background:var(--section-color);color:#111}
@media(max-width:1100px){.yuki-home-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.yuki-home-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.yuki-home-tabs button{font-size:10px}}

/* Section headings use the same coloured icon as their tab, instead of a number. */
body:is(.home,.blog) #page .yuki-home-sections>[data-home-section]>div:first-child h2::before{content:none;display:none}
body:is(.home,.blog) #page .yuki-home-sections>[data-home-section]>div:first-child h2{display:flex;align-items:center;gap:12px}
.yuki-home-section-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;color:var(--section-color);font-size:20px;font-style:normal;text-shadow:none}
