/* Déter : TerroirGuessr. Styles isolés ; reprend les jetons et l'en-tête du quiz (qz-head, qz-bar, qz-end). */
#deter-v5 .tg-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);grid-template-areas:"map card" "map fb";grid-template-rows:auto 1fr;gap:22px 34px;align-items:start}
#deter-v5 .tg-paper{grid-area:map;padding:14px}
#deter-v5 .tg-card{grid-area:card;background:#fff;border:2px solid var(--ink);box-shadow:7px 7px 0 var(--ink);padding:20px}
#deter-v5 .tg-feedback{grid-area:fb}
#deter-v5 .tg-img{display:block;width:100%;max-width:260px;height:auto;aspect-ratio:1;object-fit:cover;margin:0 auto 16px;border:2px solid var(--ink);background:var(--pale)}
#deter-v5 .tg-img-vide{display:flex;align-items:center;justify-content:center;background:linear-gradient(100deg,var(--pale) 22%,var(--orange) 22% 78%,var(--pale) 78%)}
#deter-v5 .tg-img-vide b{font:400 96px/1 'Bevan',Georgia,serif;color:var(--ink);-webkit-text-stroke:3px #fff;paint-order:stroke;text-shadow:6px 6px 0 var(--ink)}
#deter-v5 .tg-cat{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;color:var(--orange)}
#deter-v5 .tg-card h2{font:400 clamp(26px,3vw,34px)/1.08 'Bevan',Georgia,serif;margin:6px 0 10px}
#deter-v5 .tg-desc{font-size:13px;line-height:1.65;color:var(--quiet)}
#deter-v5 .tg-map{display:block;width:100%;aspect-ratio:1/.96;cursor:crosshair;touch-action:manipulation}
#deter-v5 .tg-map:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
#deter-v5 .tg-map.is-done{cursor:default}
#deter-v5 .tg-fond path{fill:#fff;stroke:#d8cfc4;stroke-width:.8px;vector-effect:non-scaling-stroke}
#deter-v5 .tg-zone{fill:var(--orange);fill-opacity:.55;stroke:var(--orange);stroke-width:1.6px;stroke-linejoin:round}
#deter-v5 .tg-line{stroke:var(--ink);stroke-width:1.6px;stroke-dasharray:5 4}
#deter-v5 .tg-near{fill:var(--orange);stroke:var(--ink);stroke-width:1.5px}
#deter-v5 .tg-marker{fill:var(--ink);stroke:#fff;stroke-width:1.5px}
#deter-v5 .tg-marker-dot{fill:#fff}
#deter-v5 .tg-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;min-height:46px}
#deter-v5 .tg-help{font-size:12px;color:var(--quiet)}
#deter-v5 .tg-bar .gs-next[disabled]{opacity:.35;cursor:not-allowed}
#deter-v5 .tg-points{font:400 18px/1 'Bevan',Georgia,serif;color:var(--ink)}
#deter-v5 .tg-points b{font-size:46px;font-weight:400;color:var(--orange)}
#deter-v5 .tg-dist{font-size:14px;font-weight:600;margin-top:10px}
#deter-v5 .tg-rep{font-size:13px;line-height:1.65;color:var(--quiet);margin-top:8px}
/* Téléphone : fiche compacte au-dessus de la carte, verdict dessous */
@media(max-width:760px){
 #deter-v5 .tg-layout{grid-template-columns:1fr;grid-template-areas:"card" "map" "fb";gap:16px}
 #deter-v5 .tg-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;align-items:start;padding:14px;box-shadow:5px 5px 0 var(--ink)}
 #deter-v5 .tg-img{width:88px;margin:0}
 #deter-v5 .tg-img-vide b{font-size:44px;-webkit-text-stroke:2px #fff;text-shadow:3px 3px 0 var(--ink)}
 #deter-v5 .tg-card h2{font-size:23px;margin:4px 0 6px}
 #deter-v5 .tg-desc{font-size:12px;line-height:1.55}
 #deter-v5 .tg-paper{padding:8px}
 #deter-v5 .tg-bar{flex-wrap:wrap}
 #deter-v5 .tg-bar .gs-next{margin-left:auto}
}
/* Menu à six entrées : retour à la ligne plutôt qu'un défilement horizontal sur petit écran */
@media(max-width:600px){#deter-v5 .dv-nav{flex-wrap:wrap;justify-content:center;column-gap:14px;row-gap:0}#deter-v5 .tg-card h2{overflow-wrap:anywhere;hyphens:auto}}
/* Aperçu sur l'accueil */
#deter-v5 .tg-teaser{position:relative;display:grid;place-items:center;padding:10px 0}
#deter-v5 .tg-teaser img{display:block;width:min(240px,70%);height:auto;aspect-ratio:1;border:2px solid var(--ink);box-shadow:6px 6px 0 var(--ink)}
#deter-v5 .tg-teaser span{position:absolute;top:0;right:12%;width:54px;height:54px;border-radius:50%;background:var(--orange);color:#fff;border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;font:400 28px/1 'Bevan',Georgia,serif;transform:rotate(8deg)}
#deter-v5 .tg-teaser b{margin-top:14px;font:400 20px/1.1 'Bevan',Georgia,serif;font-weight:400}
#deter-v5 .v2-entry:nth-of-type(5) .v2-entry-no{transform:rotate(-3deg) skewX(4deg)}
@media(max-width:600px){#deter-v5 .v2-entry:nth-of-type(5){grid-column:1/-1;min-height:96px}}
