/* GradedHunter — sélecteur de langue de l'en-tête (site bilingue FR / EN, 22/11/2026).
   Pastille drapeau + code (FR / EN), menu compact ; drapeau seul sous 600 px. Même langage que .gh-search / .gh-snap. */
.gh-lang{position:relative;flex:0 0 auto;margin-left:8px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.gh-lang summary{list-style:none;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px 0 9px;border:1px solid #2a2f38;border-radius:999px;
  background:#14171d;color:#c9d1dc;font:700 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;letter-spacing:.06em;cursor:pointer;user-select:none;
  transition:border-color .15s,color .15s,background-color .15s}
.gh-lang summary::-webkit-details-marker{display:none}
.gh-lang summary:hover{border-color:#3a414d;color:#e9eef5}
.gh-lang summary:focus-visible{outline:2px solid #d9a45a;outline-offset:2px}
.gh-lang[open] summary{border-color:#c08a3e;color:#e9eef5;background:#1a1d24}
.gh-lang .car{color:#5f6773;font-size:9px;letter-spacing:0;transition:transform .15s}
.gh-lang[open] .car{transform:rotate(180deg);color:#d9a45a}
.gh-flag{display:block;flex:0 0 auto;width:20px;height:14px;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 1px 2px rgba(0,0,0,.5)}
.gh-lang-m{position:absolute;right:0;top:42px;z-index:80;min-width:184px;padding:6px;background:#14171d;border:1px solid #2a2f38;border-radius:12px;
  box-shadow:0 16px 36px rgba(0,0,0,.5),0 0 0 1px rgba(0,0,0,.2);animation:gh-lang-in .14s ease-out}
.gh-lang-m::before{content:"";position:absolute;right:16px;top:-6px;width:10px;height:10px;background:#14171d;border-left:1px solid #2a2f38;border-top:1px solid #2a2f38;transform:rotate(45deg)}
@keyframes gh-lang-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.gh-lang-m a{position:relative;display:flex;align-items:center;gap:11px;padding:9px 10px 9px 11px;border-radius:8px;color:#e9eef5;text-decoration:none;
  font:500 13.5px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;white-space:nowrap}
.gh-lang-m a:hover{background:rgba(255,255,255,.05)}
.gh-lang-m a:focus-visible{outline:none;background:rgba(217,164,90,.10);box-shadow:inset 0 0 0 1px rgba(217,164,90,.55)}
.gh-lang-m a span{flex:1}
.gh-lang-m a .ok{color:#d9a45a;visibility:hidden}
.gh-lang-m a.on{color:#d9a45a;font-weight:650;background:rgba(192,138,62,.10)}
.gh-lang-m a.on .ok{visibility:visible}
@media (prefers-reduced-motion:reduce){.gh-lang-m{animation:none}.gh-lang .car{transition:none}}
/* v20261122c — l'en-tête est serré (mesuré de 320 à 1 300 px, FR et EN, avec et sans barre de défilement) :
   drapeau seul en bouton rond jusqu'à 1 160 px, drapeau + code + flèche au-delà. */
@media (max-width:1160px){
  .gh-lang{margin-left:6px}
  .gh-lang summary{width:34px;height:34px;padding:0;justify-content:center}
  .gh-lang-c,.gh-lang .car{display:none}
}
@media (min-width:1001px) and (max-width:1160px){.gh-search{max-width:27vw}}
@media (min-width:1001px) and (max-width:1060px){.gh-search{width:200px}}
@media (max-width:700px){.gh-lang summary{width:36px;height:36px}.gh-lang-m{top:44px}}
@media (max-width:640px){.gh-top-in{gap:6px}}
@media (max-width:520px){
  .gh-top-in{gap:5px}
  .gh-sbtn,.gh-scan{width:32px;height:32px;flex-basis:32px}
  .gh-lang summary{width:32px;height:32px}.gh-lang-m{top:40px}.gh-flag{width:18px;height:12.6px}
}
/* ≤ 440 px : 3 onglets + loupe + Scanner + langue sur 320 px (en français, « Catalogue » est l'onglet le plus large) */
@media (max-width:440px){
  .gh-top-in{gap:4px}
  .gh-top-brand img{width:24px;height:24px}
  .gh-top-nav{margin-left:0}
  .gh-top-tab{padding:6px 4px;font-size:11px}
  .gh-lang{margin-left:2px}
  .gh-lang summary{width:28px;height:28px}
  .gh-sbtn,.gh-scan{width:28px;height:28px;flex-basis:28px}
  .gh-scan svg,.gh-sbtn svg{width:16px;height:16px}
  .gh-scan,.gh-sbtn + .gh-scan{margin-left:2px}
  .gh-flag{width:16px;height:11.2px;border-radius:2px}
  .gh-lang-m{top:36px;right:-6px}
}
@media (max-width:345px){.gh-top{padding-left:6px;padding-right:6px}.gh-top-in{gap:3px}.gh-top-tab{padding:6px 3px}}

/* v20261122e — textes écrits en CSS (content:) dans les autres feuilles : version anglaise (html lang="en") */
@media (max-width:760px){html[lang=en] body.gh-df td.c-est::before{content:"Est. value "}}
@media (min-width:901px){html[lang=en] .gtab td.num:nth-child(3)::before{content:"30d "}html[lang=en] .gtab td.num:nth-child(4)::before{content:"1y "}}
html[lang=en] .ct-art.ko::after{content:"Image unavailable"}
