/* IsGar Galeries : page client. Reprend les variables du système « immersif » (noir, bordeaux, taupe, Bricolage Grotesque, DM Mono). */
body.ig-page {
	--ig-fg: var(--isg-white, #fff);
	--ig-bord: var(--isg-bord, #671219);
	--ig-taupe: var(--isg-taupe, #AD8F73);
	--ig-line: var(--isg-line, rgba(255, 255, 255, .12));
	--ig-line2: var(--isg-line-2, rgba(255, 255, 255, .22));
	--ig-muted: var(--isg-muted, rgba(255, 255, 255, .66));
	--ig-ease: var(--isg-ease, cubic-bezier(.2, .7, .1, 1));
	--ig-font: var(--isg-font, "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif);
	--ig-mono: var(--isg-mono, "DM Mono", ui-monospace, Menlo, monospace);
	--ig-gut: var(--isg-gut, clamp(18px, 4vw, 56px));
	background: #000;
}
/* Le thème Astra affiche son en-tête/pied de page en plus de ceux du studio (Elementor) : on masque les doublons d'Astra. */
body.ig-page header.site-header, body.ig-page footer.site-footer { display: none !important; }
body.ig-page .site-content > .ast-container { display: block; max-width: none; padding: 0; }
body.ig-page #primary { float: none; width: 100%; margin: 0; padding: 0; }
.ig { color: var(--ig-fg); font-family: var(--ig-font); font-weight: 300; }
.ig-hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--ig-line); }
.ig-hero.ig-closed { min-height: 70vh; }
.ig-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: ig-zoom 2.6s var(--ig-ease) both; }
.ig-hero.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .12) 38%, rgba(0, 0, 0, .9) 100%); }
.ig-hero-in { position: relative; z-index: 1; width: 100%; max-width: var(--isg-wrap, 1320px); margin: 0 auto; padding: clamp(120px, 22vh, 220px) var(--ig-gut) clamp(40px, 8vh, 88px); box-sizing: border-box; }
.ig-hero-in > * { animation: ig-rise 1s var(--ig-ease) both; }
.ig-hero-in > *:nth-child(2) { animation-delay: .08s; }
.ig-hero-in > *:nth-child(3) { animation-delay: .16s; }
.ig-hero-in > *:nth-child(4) { animation-delay: .24s; }
.ig-hero-in > *:nth-child(5) { animation-delay: .32s; }
.ig-kicker { font-family: var(--ig-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; color: var(--ig-taupe); margin: 0 0 20px; }
.ig-title { font-family: var(--ig-font); font-weight: 300; font-size: clamp(42px, 9vw, 128px); line-height: 1; letter-spacing: -.03em; margin: 0; color: #fff; }
.ig-event { font-size: clamp(20px, 2.6vw, 32px); font-weight: 300; margin: 18px 0 0; color: #fff; }
.ig-sub { font-family: var(--ig-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ig-muted); margin: 22px 0 0; }
.ig-desc { max-width: 52ch; margin: 22px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--ig-muted); }
.ig-tag { display: inline-block; margin-top: 30px; padding: 9px 16px; border: 1px solid var(--ig-line2); border-radius: 999px; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ig-muted); }
.ig-btn { display: inline-block; margin-top: 30px; padding: 17px 28px; border: 1px solid var(--ig-line2); border-radius: 999px; font-family: var(--ig-mono); font-size: 12px; letter-spacing: .16em; line-height: 1; text-transform: uppercase; color: #fff; text-decoration: none; transition: background .35s var(--ig-ease), border-color .35s; }
.ig-btn:hover { background: var(--ig-bord); border-color: var(--ig-bord); color: #fff; }
.ig-soon-front { max-width: var(--isg-wrap, 1320px); margin: 0 auto; padding: clamp(56px, 10vh, 110px) var(--ig-gut); box-sizing: border-box; }
.ig-note { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ig-muted); }
@keyframes ig-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ig-zoom { from { transform: scale(1.06); opacity: .5; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 767px) {
	.ig-hero { min-height: 78vh; }
	.ig-hero-in { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
	.ig *, .ig *::before { animation: none !important; transition: none !important; }
}

/* ===== Page galerie (étape 4) ===== */
.ig-hero.ig-compact { min-height: min(54vh, 520px); }
.ig-hero.ig-compact .ig-hero-in { padding-top: clamp(110px, 16vh, 170px); padding-bottom: clamp(28px, 5vh, 56px); }
.ig-hero.ig-compact .ig-title { font-size: clamp(38px, 7vw, 92px); }
.ig-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--ig-line2); border-radius: 999px; background: transparent; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .14em; line-height: 1; text-transform: uppercase; color: #fff; cursor: pointer; transition: background .3s var(--ig-ease), border-color .3s; white-space: nowrap; }
.ig-pill:hover, .ig-pill.on { background: var(--ig-bord); border-color: var(--ig-bord); color: #fff; }
.ig-pill-solid { background: var(--ig-bord); border-color: var(--ig-bord); }
.ig-pill-solid:hover { background: #8a1a24; border-color: #8a1a24; }
.ig-pill:disabled { opacity: .5; cursor: default; }
.igc-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: clamp(28px, 6vh, 56px) 0 0; }
.igc-pg { min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--ig-line2); border-radius: 999px; background: transparent; color: #fff; font-family: var(--ig-mono); font-size: 12px; letter-spacing: .1em; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s; }
.igc-pg:hover:not(:disabled), .igc-pg:focus-visible, .igc-pg.on { background: var(--ig-bord); border-color: var(--ig-bord); color: #fff; outline: 0; }
.igc-pg.on { cursor: default; }
.igc-pg:disabled { opacity: .35; cursor: default; }
.igc-gap { color: var(--ig-muted); padding: 0 2px; }
.igc-info { flex-basis: 100%; margin: 6px 0 0; text-align: center; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ig-muted); }
@media (max-width: 767px) { .igc-pager { gap: 6px; } .igc-pg { min-width: 38px; height: 38px; padding: 0 11px; } }
.ig-bar { position: sticky; top: 0; z-index: 40; background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ig-line); }
body.admin-bar .ig-bar { top: 32px; }
.ig-bar-in { max-width: var(--isg-wrap, 1320px); margin: 0 auto; padding: 12px var(--ig-gut); box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ig-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.ig-nav::-webkit-scrollbar { display: none; }
.ig-chip { padding: 9px 15px; border: 1px solid var(--ig-line); border-radius: 999px; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ig-muted); text-decoration: none; white-space: nowrap; }
.ig-chip:hover { color: #fff; border-color: var(--ig-line2); }
.ig-bar-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.ig-count { font-family: var(--ig-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ig-muted); margin-right: 6px; }
.ig-ok { font-family: var(--ig-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ig-taupe); }
.ig-gallery { max-width: var(--isg-wrap, 1320px); margin: 0 auto; padding: clamp(20px, 4vh, 44px) var(--ig-gut) clamp(60px, 10vh, 120px); box-sizing: border-box; }
.ig-sec { margin-bottom: clamp(36px, 6vh, 72px); scroll-margin-top: 90px; }
.ig-sec-t { font-family: var(--ig-font); font-weight: 300; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.02em; color: #fff; margin: 0 0 18px; }
.ig-grid { --h: 240px; display: flex; flex-wrap: wrap; gap: 6px; }
.ig-grid::after { content: ''; flex-grow: 1000000; }
.ig-it { position: relative; display: block; flex-grow: calc(var(--r) * 100); flex-basis: calc(var(--r) * var(--h)); background: #0d0d0d; overflow: hidden; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.ig-it i { display: block; padding-bottom: calc(100% / var(--r)); }
.ig-it img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ig-ease), transform .8s var(--ig-ease); }
.ig-it.ok img { opacity: 1; }
@media (hover: hover) { .ig-it:hover img { transform: scale(1.03); } }
.ig-heart { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font-size: 20px; line-height: 40px; padding: 0; cursor: pointer; opacity: .9; transition: background .25s, transform .25s var(--ig-ease); }
.ig-heart.on { background: var(--ig-bord); opacity: 1; }
.ig-heart:active { transform: scale(.88); }
@media (hover: hover) { .ig-heart { opacity: 0; } .ig-it:hover .ig-heart, .ig-heart.on { opacity: 1; } }
@media (max-width: 767px) { .ig-grid { --h: 150px; gap: 4px; } .ig-bar-in { padding-top: 10px; padding-bottom: 10px; } .ig-count { display: none; } .ig-pill { padding: 11px 15px; } }
.ig-gate { max-width: 560px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) var(--ig-gut); box-sizing: border-box; }
.ig-gate-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ig-input { flex: 1 1 200px; min-width: 0; padding: 15px 20px; border: 1px solid var(--ig-line2); border-radius: 999px; background: transparent; color: #fff; font-family: var(--ig-mono); font-size: 16px; letter-spacing: .08em; }
.ig-input:focus { outline: 0; border-color: var(--ig-taupe); }
.ig-err { color: #ff8a8a; font-family: var(--ig-mono); font-size: 13px; margin: 14px 0 0; }
.ig-gate .ig-note { margin-top: 18px; font-size: 15px; }
/* visionneuse */
html.ig-lock, html.ig-lock body { overflow: hidden; }
.ig-lb { position: fixed; inset: 0; z-index: 99999; background: #000; }
.ig-lb[hidden], .ig-modal[hidden], .ig-toast[hidden] { display: none; }
.ig-lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.ig-lb-stage.zoomed { cursor: grab; }
.ig-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; filter: blur(3px); transition: filter .4s; -webkit-user-drag: none; }
.ig-lb-stage img.sharp { filter: none; }
.ig-lb-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent); pointer-events: none; }
.ig-lb-top > * { pointer-events: auto; }
.ig-lb-count { font-family: var(--ig-mono); font-size: 12px; letter-spacing: .14em; color: var(--ig-muted); }
.ig-lb-btns { display: flex; gap: 8px; }
.ig-ic { width: 44px; height: 44px; border: 1px solid var(--ig-line2); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 20px; line-height: 1; padding: 0; cursor: pointer; transition: background .25s; }
.ig-ic:hover, .ig-ic.on { background: var(--ig-bord); border-color: var(--ig-bord); }
.ig-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; font-size: 28px; }
.ig-prev { left: 14px; } .ig-next { right: 14px; }
@media (max-width: 767px) { .ig-lb-nav { display: none; } }
.ig-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .78); }
.ig-modal-box { max-width: 460px; width: 100%; padding: 34px; border: 1px solid var(--ig-line2); border-radius: 22px; background: #0b0b0b; box-sizing: border-box; }
.ig-modal-t { font-size: 24px; font-weight: 300; color: #fff; margin: 0 0 14px; }
.ig-modal-b { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; flex-wrap: wrap; }
.ig-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 100001; padding: 14px 22px; border-radius: 999px; background: #fff; color: #000; font-family: var(--ig-font); font-size: 15px; opacity: 0; transition: opacity .3s, transform .3s var(--ig-ease); max-width: 90vw; text-align: center; }
.ig-toast.on { opacity: 1; transform: translate(-50%, 0); }
.ig [hidden], .ig-bar [hidden] { display: none !important; }
body.ig-page #page, body.ig-page #content, body.ig-page .site-content, body.ig-page .ig-primary { overflow: visible !important; }
/* La barre colle en haut: l'en-tete du site est masque sur les pages galerie (decalage 96px retire le 05/10/2026) */

/* ===== Portail /espace-client/ ===== */
.ig-phead { border-bottom: 1px solid var(--ig-line); }
.ig-phead-in { max-width: var(--isg-wrap, 1320px); margin: 0 auto; padding: clamp(120px, 18vh, 190px) var(--ig-gut) 34px; box-sizing: border-box; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ig-ptitle { font-family: var(--ig-font); font-weight: 300; font-size: clamp(34px, 6vw, 72px); line-height: 1.05; letter-spacing: -.03em; margin: 0; color: #fff; }
.ig-back { display: inline-block; margin-bottom: 18px; font-family: var(--ig-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ig-muted); text-decoration: none; }
.ig-back:hover { color: #fff; }
.ig-who { display: flex; align-items: center; gap: 12px; font-family: var(--ig-mono); font-size: 12px; letter-spacing: .08em; color: var(--ig-muted); }
.ig-pbody { max-width: var(--isg-wrap, 1320px); margin: 0 auto; padding: clamp(24px, 5vh, 56px) var(--ig-gut) clamp(60px, 10vh, 120px); box-sizing: border-box; }
.ig-pbody a.ig-pill { text-decoration: none; color: #fff; }
.ig-login { max-width: 460px; display: grid; gap: 16px; }
.ig-pf { display: grid; gap: 8px; margin: 0; }
.ig-pf > span { font-family: var(--ig-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ig-taupe); }
.ig-pf input, .ig-pf select, .ig-pf textarea { width: 100%; box-sizing: border-box; padding: 14px 18px; border: 1px solid var(--ig-line2); border-radius: 14px; background: #0b0b0b; color: #fff; font-family: var(--ig-font); font-size: 16px; }
.ig-pf input:focus, .ig-pf select:focus, .ig-pf textarea:focus { outline: 0; border-color: var(--ig-taupe); }
.ig-pc { display: flex; align-items: center; gap: 10px; color: var(--ig-muted); font-size: 15px; }
.ig-pc input[type=checkbox] { width: 18px; height: 18px; accent-color: #671219; }
.ig-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ig-h3 { font-family: var(--ig-mono); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 30px 0 14px; padding-top: 18px; border-top: 1px solid var(--ig-line); }
.ig-pform { display: grid; gap: 16px; }
.ig-pform > .ig-h3:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.ig-checks { display: grid; gap: 10px; }
.ig-card { border: 1px solid var(--ig-line); border-radius: 22px; padding: clamp(18px, 3vw, 32px); margin-bottom: 22px; background: #050505; }
.ig-card .ig-kicker { margin-bottom: 16px; }
.ig-linkrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ig-linkrow .ig-input { flex: 1 1 260px; }
.ig-pw { color: var(--ig-muted); margin: 14px 0 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ig-pw strong { color: #fff; font-family: var(--ig-mono); font-weight: 400; letter-spacing: .06em; }
.ig-flash { padding: 12px 18px; border: 1px solid var(--ig-taupe); border-radius: 999px; color: var(--ig-taupe); display: inline-block; margin: 0 0 22px; }
.ig-ptools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.ig-ptools .ig-input { flex: 1 1 240px; }
.ig-rows { display: grid; gap: 12px; }
.ig-row { display: grid; grid-template-columns: 1.4fr 1.6fr auto; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--ig-line); border-radius: 18px; background: #050505; }
.ig-row[hidden] { display: none; }
.ig-row h2 { font-family: var(--ig-font); font-weight: 300; font-size: 24px; margin: 0 0 4px; color: #fff; }
.ig-row p { margin: 0; color: var(--ig-muted); font-size: 15px; }
.ig-row-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ig-muted); }
.ig-row-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ig-st { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ig-line2); }
.ig-st-active { color: #7fd6a0; border-color: #2f6b47; }
.ig-st-expired, .ig-st-disabled { color: #ff9a9a; border-color: #7a2a2a; }
@media (max-width: 860px) { .ig-row { grid-template-columns: 1fr; gap: 12px; } .ig-row-act { justify-content: flex-start; } }
.ig-selbox { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--ig-line); color: var(--ig-muted); }
.ig-selbox textarea { width: 100%; background: #0b0b0b; color: #fff; border: 1px solid var(--ig-line2); border-radius: 12px; padding: 10px; }
/* Uploader (admin.css est chargé aussi) : thème sombre */
.ig-portal #ig_photos_box, .ig-portal #ig_photos_box * { color: inherit; }
.ig-portal .ig-drop { border: 1px dashed var(--ig-line2); border-radius: 18px; background: #0a0a0a; padding: 26px; text-align: center; }
.ig-portal .ig-drop.over { border-color: var(--ig-taupe); background: #14100c; }
.ig-portal .button, .ig-portal .ig-drop label.button { display: inline-block; padding: 10px 18px; border: 1px solid var(--ig-line2); border-radius: 999px; background: transparent; color: #fff; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ig-portal .button:hover { background: #671219; border-color: #671219; }
.ig-portal #ig_photos_box input[type=text], .ig-portal #ig_photos_box select { background: #0b0b0b; color: #fff; border: 1px solid var(--ig-line2); border-radius: 999px; padding: 9px 14px; }
.ig-portal .ig-secbar, .ig-portal .ig-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.ig-portal .description { color: var(--ig-muted); font-size: 14px; }
.ig-portal .ig-gridph { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; }
.ig-portal .ig-input { background: #0b0b0b; color: #fff; border: 1px solid var(--ig-line2); border-radius: 999px; padding: 14px 20px; font-size: 16px; box-sizing: border-box; }
.ig-portal .ig-input[readonly] { color: var(--ig-muted); }
.ig-zip { margin-left: 14px; padding: 7px 13px; font-size: 10px; vertical-align: middle; }
.ig-sep { margin: 30px 0 22px; border: 0; border-top: 1px solid var(--ig-line2); }
.ig-team { width: 100%; border-collapse: collapse; }
.ig-team td { padding: 12px 8px; border-bottom: 1px solid var(--ig-line2); font-size: 14px; vertical-align: middle; }
.ig-team-act { display: flex; gap: 8px; flex-wrap: wrap; }
.ig-team-act form { margin: 0; }
.ig-off { opacity: .55; }
.ig-mut { color: var(--ig-muted); font-size: 13px; }
.ig-cred { margin: 0 0 24px; }
.ig-cred textarea { width: 100%; border-radius: 16px; }
.ig-okmsg { color: #fff; }
.ig-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ig-duo .ig-login { max-width: none; }
@media (max-width: 800px) { .ig-duo { grid-template-columns: 1fr; gap: 36px; } .ig-duo .ig-col + .ig-col { order: -1; } }
.ig-bulkbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.ig-bsel { flex: 0 1 320px; }
.ig-sel { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--ig-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ig-muted); cursor: pointer; }
.ig-bulkbar .ig-sel { margin: 0; }
.ig-anav { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-right: 10px; }
.ig-stats { display: flex; gap: 8px 22px; flex-wrap: wrap; margin: 6px 0 16px; font-size: 14px; color: var(--ig-muted); }
.ig-stats b { color: #fff; font-weight: 500; }
.ig-logt td { font-size: 13px; }
.ig-lb-cm { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.88); }
.ig-lb-cm[hidden] { display: none; }
.ig-lb-cm textarea { flex: 1; min-height: 46px; background: #0b0b0b; color: #fff; border: 1px solid var(--ig-line2); border-radius: 14px; padding: 10px 14px; font: inherit; font-size: 16px; resize: none; }
.ig-ic.on { color: #ffd98a; }
.ig-it.has-cm::after { content: '💬'; position: absolute; left: 8px; bottom: 8px; font-size: 13px; z-index: 3; text-shadow: 0 1px 3px #000; }
#ig-dllock { text-decoration: none; }
.ig-qrm { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; padding: 20px; }
.ig-qrb { background: #0b0b0b; border: 1px solid var(--ig-line2); border-radius: 22px; padding: 26px; max-width: 360px; width: 100%; text-align: center; }
.ig-qrsvg { background: #fff; border-radius: 12px; padding: 10px; margin: 12px auto; }
.ig-qrsvg svg { width: 100%; height: auto; display: block; }
.ig-qrbt { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ig-review { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 40px auto; padding: 0 var(--ig-gut, 20px); text-align: center; color: var(--ig-muted); }
.ig-review[hidden] { display: none; }
.ig-review a { text-decoration: none; }

/* Listes déroulantes lisibles (portail) */
.ig-portal select, .ig-shell select, .ig-bulkbar select { -webkit-appearance: none; appearance: none; height: auto; min-height: 50px; line-height: 1.4; padding: 13px 44px 13px 20px; border: 1px solid var(--ig-line2); border-radius: 999px; background-color: #0b0b0b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23AD8F73' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; color: #fff; font-family: var(--ig-mono); font-size: 14px; letter-spacing: .06em; text-transform: none; overflow: visible; cursor: pointer; box-sizing: border-box; max-width: 100%; }
.ig-portal select option, .ig-shell select option { background: #0b0b0b; color: #fff; }
.ig-portal select:focus, .ig-bulkbar select:focus { outline: 0; border-color: var(--ig-taupe); }
.ig-pf select { border-radius: 14px; font-family: var(--ig-font); font-size: 16px; letter-spacing: 0; }
.ig-portal input[type=checkbox] { accent-color: #671219; }
.ig-portal select.ig-input, .ig-portal select.ig-bsel { padding: 13px 44px 13px 20px; min-height: 50px; height: auto; line-height: 1.4; font-size: 14px; flex: 0 1 auto; min-width: 260px; background-color: #0b0b0b; }

.ig-bulkbar { align-items: center; }
.ig-bulkbar .ig-sel, .ig-bulkbar .ig-sel span { line-height: 1; margin: 0; }
.ig-portal .ig-bulkbar select.ig-bsel { min-height: 46px; padding-top: 0; padding-bottom: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 46px; }
.ig-bulkbar .ig-pill { min-height: 46px; margin: 0; }

.ig-portal .ig-bulkbar { display: flex !important; flex-flow: row wrap !important; align-items: center !important; gap: 14px !important; }
.ig-portal .ig-bulkbar > * { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
.ig-portal .ig-bulkbar select.ig-bsel { width: 340px !important; max-width: 100% !important; }

/* Etape 20 : barre de navigation de l'espace prive sur mobile */
@media (max-width: 767px) {
	.ig-phead-in { gap: 18px; padding-bottom: 24px; }
	.ig-who { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 14px 12px; }
	.ig-who > span { order: 1; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.ig-who > a.ig-pill { order: 2; flex: 0 0 auto; }
	.ig-who .ig-anav { order: 3; flex: 0 0 100%; display: flex; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 2px 28px 2px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
	.ig-who .ig-anav::-webkit-scrollbar { display: none; }
	.ig-who .ig-anav .ig-pill { flex: 0 0 auto; }
}
/* sélection libre pour téléchargement */
.ig-chk { position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .45); color: transparent; display: none; align-items: center; justify-content: center; font-size: 16px; line-height: 1; z-index: 3; pointer-events: none; }
.ig-selmode .ig-chk { display: flex; }
.ig-selmode .ig-it { cursor: pointer; }
.ig-it.sel .ig-chk { background: var(--ig-bord); color: #fff; }
.ig-it.sel::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--ig-bord); z-index: 2; pointer-events: none; }
.ig-selbar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid var(--ig-line2); border-radius: 22px; background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: 94vw; box-sizing: border-box; }
.ig-selbar-n { font-family: var(--ig-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ig-muted); margin-right: 4px; }
.ig-selbar-n b { color: #fff; font-weight: 400; }
@media (max-width: 767px) { .ig-selbar { bottom: 10px; padding: 8px 10px; gap: 6px; } .ig-selbar .ig-pill { padding: 10px 12px; } }
/* bloc pliable (Activité) */
details.ig-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent; }
details.ig-fold > summary::-webkit-details-marker { display: none; }
details.ig-fold > summary::after { content: '+'; font-family: var(--ig-mono); font-size: 20px; line-height: 1; color: var(--ig-taupe); }
details.ig-fold[open] > summary::after { content: '\2013'; }
details.ig-fold[open] > summary { margin-bottom: 18px; }
details.ig-fold > summary:focus-visible { outline: 1px solid var(--ig-taupe); outline-offset: 6px; }