/* 📸 Stories Instagram des magasins (Vague 562) — bulles + visionneuse plein écran, aux couleurs happyTROC. */
.igs { background: #fff; padding: 1.6rem 0 1.3rem; border-bottom: 1px solid #eef1f5; }
.igs h2 { font-size: 1.25rem; color: var(--happy-blue, #0a529a); margin: 0; font-weight: 800; }
.igs-sous { font-family: 'Caveat', cursive; color: var(--happy-orange, #d57e1c); font-size: 1.3rem; margin: 0.1rem 0 0.9rem; font-weight: 700; }
.igs-rang { display: flex; gap: 1.2rem; overflow-x: auto; padding: 0.2rem 0 0.4rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.igs-b { flex: 0 0 auto; width: 92px; text-align: center; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; color: inherit; }
.igs-anneau { width: 86px; height: 86px; border-radius: 50%; padding: 3px; margin: 0 auto; background: conic-gradient(#d57e1c, #ca521f, #0a529a, #86bc25, #d57e1c); transition: transform 0.15s ease; }
.igs-b:hover .igs-anneau, .igs-b:focus-visible .igs-anneau { transform: scale(1.05); }
.igs-b.vue .igs-anneau { background: #cfd6df; }
.igs-anneau img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: block; background: #f0f3f7; }
.igs-nom { display: block; font-size: 0.78rem; font-weight: 800; color: #1a1a1a; margin-top: 0.4rem; line-height: 1.15; }
.igs-quand { display: block; font-size: 0.68rem; color: #737373; font-weight: 600; }
.igs-badge { display: inline-block; background: #ca521f; color: #fff; font-size: 0.62rem; font-weight: 800; border-radius: 999px; padding: 0.05rem 0.45rem; margin-top: 0.2rem; }
.igs-pied { font-size: 0.78rem; color: #737373; margin-top: 0.5rem; }
.igs-pied a { color: var(--happy-blue, #0a529a); font-weight: 700; text-decoration: none; }

/* Visionneuse */
.igv { position: fixed; inset: 0; z-index: 10000; background: rgba(10, 14, 20, 0.96); display: flex; align-items: center; justify-content: center; touch-action: none; }
.igv[hidden] { display: none; }
body.igv-ouverte { overflow: hidden; }
.igv-cadre { position: relative; width: 100%; height: 100%; max-width: 440px; max-height: 100dvh; background: #000; overflow: hidden; user-select: none; -webkit-user-select: none; }
@media (min-width: 600px) { .igv-cadre { height: min(92vh, 820px); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); } }
.igv-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.igv-media img, .igv-media video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.igv-barres { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.igv-barres i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); overflow: hidden; }
.igv-barres i b { display: block; height: 100%; width: 0; background: #fff; }
.igv-tete { position: absolute; top: 22px; left: 12px; right: 12px; display: flex; align-items: center; gap: 0.55rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); z-index: 3; }
.igv-tete img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; flex-shrink: 0; }
.igv-tete b { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.igv-tete small { opacity: 0.85; font-size: 0.75rem; white-space: nowrap; }
.igv-tete .igv-esp { flex: 1; }
.igv-btn { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.35rem; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.igv-zones { position: absolute; inset: 70px 0 150px; display: flex; z-index: 2; }
.igv-zones div { flex: 1; cursor: pointer; }
.igv-zones div:last-child { flex: 2; }
.igv-bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 14px calc(1.2rem + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, rgba(0,0,0,0.78)); display: flex; flex-direction: column; gap: 0.55rem; z-index: 3; }
.igv-bas .igv-info { color: #fff; font-size: 0.76rem; opacity: 0.9; }
.igv-bas a { display: block; text-align: center; background: #fff; color: var(--happy-blue, #0a529a); font-weight: 800; border-radius: 999px; padding: 0.72rem; text-decoration: none; font-size: 0.95rem; }
.igv-bas a.igv-o { background: linear-gradient(90deg, #d57e1c, #ca521f); color: #fff; }
.igv-fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.9); color: #0a529a; font-size: 1.4rem; font-weight: 800; cursor: pointer; display: none; }
@media (min-width: 600px) { .igv-fleche { display: block; } .igv-prec { left: calc(50% - 280px); } .igv-suiv { right: calc(50% - 280px); } }
@media (prefers-reduced-motion: reduce) { .igs-anneau { transition: none; } }
