/* Randozia Stories V2 — lecteur immersif sans toucher aux contenus et aux endpoints. */
.rzs2-viewer[hidden]{display:none!important}
.rzs2-viewer{position:fixed;inset:0;z-index:2147483000;background:#060d0b;color:#fff;overscroll-behavior:contain}
html.rzs2-viewer-open,body.rzs2-viewer-open{overflow:hidden!important;overscroll-behavior:none!important}
.rzs2-viewer-shell{position:absolute;inset:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at center,#183e30 0%,#07120e 75%)}
.rzs2-topbar{position:absolute;z-index:8;top:0;left:0;right:0;min-height:64px;padding:calc(8px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));display:flex;align-items:center;gap:12px;background:linear-gradient(180deg,rgba(0,0,0,.8),rgba(0,0,0,0));pointer-events:none}
.rzs2-topbar>*{pointer-events:auto}.rzs2-topbar-brand{display:flex;flex-direction:column;gap:1px;flex:1}.rzs2-topbar-brand strong{font-size:14px;letter-spacing:.01em}.rzs2-topbar-brand small{font-size:10px;color:#d1e5d8}.rzs2-step{padding:6px 8px;background:#ffffff20;border-radius:99px;font-size:12px;white-space:nowrap}
.rzs2-close{width:44px;height:44px;border:1px solid #ffffff40;border-radius:50%;background:#0b1e17b5;color:#fff;font:30px/1 system-ui;display:grid;place-items:center;cursor:pointer}
.rzs2-viewer-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:clamp(8px,2.2vw,20px)}
.rzs2-frame{height:100%;max-height:100dvh;min-width:0;position:relative;aspect-ratio:9/16;background:#07130d;box-shadow:0 20px 60px #0008;overflow:hidden}
.rzs2-stage{position:absolute;inset:0}.rzs2-stage .reel.rzs2-active{display:block!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;max-width:none!important;aspect-ratio:auto!important;border-radius:0!important;margin:0!important;box-shadow:none!important;flex:none!important}
.rzs2-stage .reel.rzs2-active video{width:100%!important;height:100%!important;object-fit:contain!important;background:#000!important}
.rzs2-stage .reel-shade{z-index:2}.rzs2-stage .reel-top{z-index:5;top:calc(64px + env(safe-area-inset-top));left:14px;right:14px}
.rzs2-stage .reel-bottom{z-index:6;bottom:calc(30px + env(safe-area-inset-bottom));left:14px;right:12px;align-items:end;gap:8px}
.rzs2-stage .reel-bottom .caption{max-width:calc(100% - 64px)}.rzs2-stage .reel-bottom .caption strong{font-size:15px}.rzs2-stage .reel-bottom .caption p{font-size:13px;line-height:1.4;max-height:3em;overflow:hidden}
.rzs2-stage .reel-actions{gap:8px}.rzs2-stage .reel-actions button{min-width:42px!important;min-height:42px!important;font-size:0!important;padding:7px!important;border-radius:13px!important;background:#09271cc4!important;border:1px solid #ffffff3c!important;display:flex;align-items:center;justify-content:center}.rzs2-stage .reel-actions button .heart{font-size:24px!important}
.rzs2-stage .reel-actions .like{flex-direction:column!important;min-height:57px!important;gap:2px}.rzs2-stage .reel-actions .likes-count{font-size:11px!important}.rzs2-stage .reel-actions .views{font-size:11px!important;padding:7px!important;border-radius:12px!important;background:#09271cb8!important}
.rzs2-stage .reel-actions .sound::before{content:'♪';font-size:24px!important}.rzs2-stage .reel-actions .sound[data-rzs2-muted="1"]::before{content:'♫';opacity:.7}
.rzs2-stage .reel-actions .share::before{content:'↗';font-size:23px!important}.rzs2-stage .reel-actions .report::before{content:'⚑';font-size:23px!important}
.rzs2-stage .reel-actions .delete-own{display:none!important}
.rzs2-stage .rzs2-open{display:none!important}
.rzs2-stage .play-overlay{z-index:7}
.rzs2-nav{background:#ffffff16;color:#fff;border:1px solid #ffffff35;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:36px;line-height:1}.rzs2-nav:hover{background:#ffffff2d}.rzs2-nav:disabled{opacity:.2;cursor:default}
.rzs2-track{position:absolute;z-index:9;top:calc(6px + env(safe-area-inset-top));left:14px;right:14px;height:3px;background:#ffffff55;border-radius:10px;overflow:hidden}.rzs2-progress{height:100%;width:0%;background:#e7fff1;transition:width .09s linear}
.rzs2-help{position:absolute;bottom:calc(4px + env(safe-area-inset-bottom));left:0;right:0;text-align:center;color:#d9e7dd8e;font-size:10px;pointer-events:none;margin:0}
/* Sur toutes les cartes, remplacer les libellés longs par des pictogrammes sobres. */
#storiesFeed .reel .reel-actions{gap:5px}
#storiesFeed .reel .reel-actions button.sound,#storiesFeed .reel .reel-actions button.share,#storiesFeed .reel .reel-actions button.report{min-width:39px;min-height:39px;font-size:0!important;border-radius:12px;display:grid;place-items:center}
#storiesFeed .reel .reel-actions button.sound::before{content:'♫';font-size:21px}#storiesFeed .reel .reel-actions button.sound[data-rzs2-muted="0"]::before{content:'♪'}
#storiesFeed .reel .reel-actions button.share::before{content:'↗';font-size:22px}#storiesFeed .reel .reel-actions button.report::before{content:'⚑';font-size:21px}
#storiesFeed .reel .reel-actions .views{border-radius:11px}
#storiesFeed .reel .rzs2-open{position:absolute;z-index:12;top:51px;right:10px;display:grid;place-items:center;width:39px;height:39px;border:1px solid #ffffff63;border-radius:12px;background:#092a20bd;color:white;cursor:pointer;padding:0}
#storiesFeed .reel .rzs2-open:hover{background:#19654b}
.rzs2-viewer :is(button,a):focus-visible,#storiesFeed .rzs2-open:focus-visible{outline:3px solid #a5ecc2;outline-offset:2px}
@media(max-width:680px){.rzs2-viewer-body{gap:0}.rzs2-frame{aspect-ratio:auto;width:100%;max-width:none;height:100dvh}.rzs2-nav{position:absolute;z-index:10;top:48%;width:36px;height:45px;font-size:25px;border-radius:10px;background:#0003}.rzs2-prev{left:2px}.rzs2-next{right:2px}.rzs2-stage .reel-top{top:calc(62px + env(safe-area-inset-top))}.rzs2-stage .reel-bottom{bottom:calc(25px + env(safe-area-inset-bottom));left:16px;right:10px}.rzs2-stage .reel-actions{gap:6px}}
@media(prefers-reduced-motion:reduce){.rzs2-progress{transition:none}}


/* RANDOZIA STORIES SOCIAL PREMIUM V2.2 — PC + mobile */
/* The share/report icons are discreet; existing event handlers are preserved. */
#storiesFeed .reel .reel-actions button.rzs22-action{display:grid!important;place-items:center!important;
  width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
  padding:8px!important;background:rgba(8,36,27,.66)!important;color:#f4fff7!important;
  border:1px solid rgba(255,255,255,.18)!important;border-radius:13px!important;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:background .16s ease,transform .16s ease}
#storiesFeed .reel .reel-actions button.rzs22-action:before{content:none!important}
#storiesFeed .reel .reel-actions button.rzs22-action svg{display:block;flex:none;width:21px;height:21px}
#storiesFeed .reel .reel-actions button.rzs22-action:hover{background:#1a674bbd!important;transform:translateY(-1px)}
#storiesFeed .reel .reel-actions button.rzs22-action:focus-visible{outline:3px solid #a9eac4;outline-offset:2px}
.rzs22-layer[hidden],.rzs22-layer [hidden]{display:none!important}
.rzs22-layer{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:22px 14px;
  color:#173f31;font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;isolation:isolate}
.rzs22-shade{position:absolute;inset:0;background:rgba(4,19,13,.72);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.rzs22-sheet{position:relative;z-index:1;display:flex;flex-direction:column;gap:0;
  width:min(100%,535px);max-height:min(88dvh,820px);overflow-y:auto;overscroll-behavior:contain;
  background:#fdfefa;color:#143c2d;border:1px solid #dce7dd;
  border-radius:23px;padding:24px 24px 20px;box-shadow:0 24px 85px #0007}
.rzs22-grip{display:none;width:45px;height:5px;background:#bdcbbf;border-radius:10px;margin:0 auto 16px}
.rzs22-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}
.rzs22-header h2{margin:2px 0 0;font-size:clamp(20px,3vw,27px);letter-spacing:-.025em;color:#123e2c;line-height:1.16}
.rzs22-eyebrow{font-size:10px;letter-spacing:.14em;color:#56866d;font-weight:850}
.rzs22-icon-btn{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:#eef2ec;border:0;border-radius:50%;color:#194230;cursor:pointer}
.rzs22-icon-btn:hover{background:#dfeadf}.rzs22-icon-btn svg{width:19px;height:19px}
.rzs22-preview{display:flex;align-items:center;gap:15px;padding:11px;border-radius:15px;
  border:1px solid #e6ece5;background:#f6f9f5;min-height:107px}
.rzs22-preview img{width:66px;height:91px;flex:0 0 66px;object-fit:cover;border-radius:10px;
  background:linear-gradient(135deg,#345b44,#b1d1bc);color:transparent}
.rzs22-preview-noimage::before{content:'⛰';display:grid;place-items:center;width:66px;height:91px;flex:0 0 66px;border-radius:10px;background:linear-gradient(155deg,#dcebdd,#a9c7b3);font-size:29px;color:#1b6749}
.rzs22-story-text{min-width:0;display:grid;gap:4px}.rzs22-story-text strong{font-size:14px;color:#163f30;overflow-wrap:anywhere}.rzs22-story-text p{margin:0;font-size:13px;color:#405a49;line-height:1.4;max-height:3em;overflow:hidden;overflow-wrap:anywhere}
.rzs22-story-text span{font-size:11px;color:#7a9081}
.rzs22-subtitle{margin:18px 0 12px;color:#51685b;font-size:13px;line-height:1.4}
.rzs22-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rzs22-channels button{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  border:1px solid #e3e9e1;border-radius:16px;background:#f6f8f4;color:#234432;padding:14px 6px 12px;
  cursor:pointer;font:750 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;min-height:99px}
.rzs22-channels button:hover{border-color:#bddbc6;background:#eff6f0;transform:translateY(-1px)}
.rzs22-network{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:21px;font-weight:800;color:white}
.rzs22-network svg{width:21px;height:21px}
.rzs22-fb{background:#1877f2;font-family:Arial,sans-serif;font-size:29px;padding-top:6px}.rzs22-ig{background:linear-gradient(45deg,#feda75,#fa7e1e 28%,#d62976 60%,#4f5bd5);font-size:30px}
.rzs22-wa{background:#26a955}.rzs22-x{background:#0e1513}.rzs22-msg{background:linear-gradient(45deg,#0078ff,#a53df5)}.rzs22-copy{color:#12563c;background:#e3eee4}
.rzs22-more{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin-top:10px;
  border:1px solid #e2e9df;border-radius:14px;background:#f3f6f1;color:#214735;font-weight:800;font-size:13px;cursor:pointer}
.rzs22-more:hover{background:#e8f0e7}
.rzs22-separator{height:1px;background:#e1eae0;margin:17px 0 7px}
.rzs22-report-entrance{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:transparent;
  padding:8px 5px;color:#587062;font-size:12px;font-weight:750;cursor:pointer}
.rzs22-report-entrance span:first-of-type{flex:1}.rzs22-report-entrance span:last-child{font-size:20px}
.rzs22-report-entrance:hover{color:#a14b39}
.rzs22-reasons{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rzs22-reasons legend{font-size:12px;font-weight:800;color:#2f5541;margin-bottom:10px}
.rzs22-reasons label{cursor:pointer;position:relative}
.rzs22-reasons input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.rzs22-reasons label span{display:flex;align-items:center;gap:9px;background:#f4f7f2;border:1px solid #dce6db;border-radius:13px;
  padding:15px 11px;font-size:13px;font-weight:700;min-height:60px}
.rzs22-reasons input:checked+span{background:#e4f4e9;border-color:#72b58d;color:#115e3e;box-shadow:inset 0 0 0 1px #72b58d}
.rzs22-reasons input:focus-visible+span{outline:3px solid #a9eac4;outline-offset:2px}
.rzs22-reasons svg{width:21px;height:21px;flex:none}
.rzs22-report-commands{display:flex;justify-content:space-between;gap:10px;margin-top:20px}
.rzs22-back,.rzs22-submit{display:inline-flex;gap:6px;align-items:center;justify-content:center;
  border:0;border-radius:12px;padding:12px 15px;min-height:44px;font-weight:800;font-size:13px;cursor:pointer}
.rzs22-back{background:#edf3ed;color:#2b5340}.rzs22-submit{background:#135b40;color:white;flex:1}
.rzs22-submit:disabled{opacity:.5;cursor:not-allowed}
.rzs22-feedback{margin:13px 0 0;border-radius:12px;padding:11px 13px;
  background:#eaf3eb;color:#21533c;font-size:12px;overflow-wrap:anywhere}
.rzs22-feedback[data-type="error"]{background:#fff0ec;color:#913f31}
.rzs22-feedback[data-type="success"]{background:#e6f6eb;color:#1d6640}
html.rzs22-sheet-open,body.rzs22-sheet-open{overscroll-behavior:none;overflow:hidden!important}
.rzs22-layer :is(button,a,input):focus-visible{outline:3px solid #76b893;outline-offset:2px}
@media(min-width:701px){.rzs22-layer{padding:22px}.rzs22-sheet{max-height:min(92dvh,760px)}}
@media(max-width:700px){
  .rzs22-layer{padding:0;place-items:end center}
  .rzs22-sheet{width:100%;max-width:none;max-height:min(94dvh,800px);padding:13px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius:22px 22px 0 0;border-bottom:0;box-shadow:0 -17px 50px #0005}
  .rzs22-grip{display:block}
  .rzs22-channels{gap:9px}
  .rzs22-channels button{min-height:87px;padding:11px 5px;font-size:11px}
  .rzs22-network{width:31px;height:31px;font-size:19px}
  .rzs22-preview{min-height:86px;padding:8px}
  .rzs22-preview img{width:54px;height:76px;flex-basis:54px}
  .rzs22-preview-noimage::before{width:54px;height:76px;flex-basis:54px}
  .rzs22-header{margin-bottom:12px}
}
@media(max-width:350px){.rzs22-sheet{padding-left:12px;padding-right:12px}.rzs22-channels button{font-size:10px}.rzs22-subtitle{font-size:12px}}
@media(prefers-reduced-motion:reduce){.rzs22-channels button{transition:none!important}}

/* RANDOZIA STORIES — ACTIONS V2.2.1 : correctif galerie ET plein écran.
 * Le lecteur déplace les reels du #storiesFeed vers .rzs2-stage, donc la règle
 * de V2.2 fondée uniquement sur #storiesFeed ne s'y appliquait plus.
 * Une seule icône SVG conservée : aucun ajout d'icône par CSS. */
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.share.rzs22-action,
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.report.rzs22-action {
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  flex:0 0 40px!important;
  width:40px!important; min-width:40px!important; max-width:40px!important;
  height:40px!important; min-height:40px!important; max-height:40px!important;
  padding:0!important; margin:0!important;
  border:1px solid rgba(255,255,255,.26)!important;
  border-radius:12px!important;
  background:rgba(7,40,29,.72)!important;
  box-shadow:0 3px 9px rgba(0,0,0,.10)!important;
  color:#fff!important;
  font-size:0!important;
  line-height:0!important;
  text-indent:0!important;
  white-space:nowrap!important;
  cursor:pointer;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.share.rzs22-action::before,
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.share.rzs22-action::after,
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.report.rzs22-action::before,
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.report.rzs22-action::after {
  content:none!important;
  display:none!important;
}
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.rzs22-action svg {
  display:block!important;
  width:19px!important;
  height:19px!important;
  flex:none!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.85!important;
  overflow:visible;
}
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.rzs22-action:hover {
  background:rgba(25,91,65,.90)!important;
}
:is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.rzs22-action:focus-visible {
  outline:3px solid #a5e6bd!important;
  outline-offset:2px!important;
}
@media(max-width:700px){
  :is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.rzs22-action {
    flex-basis:39px!important;
    width:39px!important;min-width:39px!important;max-width:39px!important;
    height:39px!important;min-height:39px!important;max-height:39px!important;
    border-radius:12px!important;
  }
  :is(#storiesFeed,.rzs2-stage) article.reel .reel-actions button.rzs22-action svg {
    width:18px!important;height:18px!important;
  }
}
