@charset "UTF-8";
.storybd-v7,.storybd-v7 *{box-sizing:border-box}.storybd-v7{--sbd-ink:#111;--sbd-pink:#f42279;--sbd-yellow:#ffd93b;--sbd-soft:#fff7d6;--sbd-muted:#475569;position:relative;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sbd-ink)}.storybd-v7 button,.storybd-v7 input,.storybd-v7 textarea,.storybd-v7 select{font-family:inherit}.storybd-bg{position:fixed;inset:0;z-index:-1;background:#fff8e8;overflow:hidden}.storybd-step{display:none;min-height:100svh;padding:56px 18px 126px;align-items:center;justify-content:center;overflow-y:auto}.storybd-step.is-active{display:flex}.storybd-card{width:min(1120px,100%);background:rgba(255,255,255,.96);border:4px solid var(--sbd-ink);border-radius:36px;padding:34px;box-shadow:8px 8px 0 var(--sbd-ink)}.storybd-heading-row{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:end}.storybd-mini-offer{border:3px solid var(--sbd-ink);border-radius:24px;background:var(--sbd-yellow);padding:16px 18px;box-shadow:5px 5px 0 var(--sbd-ink);min-width:220px}.storybd-mini-offer strong{display:block;font-size:18px;font-weight:950}.storybd-mini-offer span{display:block;margin-top:4px;font-size:13px;font-weight:850}.storybd-card h1,.storybd-card h2,.storybd-library h2{font-size:clamp(38px,6vw,76px);line-height:.95;margin:18px 0;font-weight:950;letter-spacing:-.06em}.storybd-card p,.storybd-library p{font-size:18px;font-weight:750;color:var(--sbd-muted);max-width:760px}.storybd-kicker{display:inline-flex;border:3px solid var(--sbd-ink);background:var(--sbd-yellow);border-radius:999px;padding:10px 16px;font-weight:950;box-shadow:4px 4px 0 var(--sbd-ink);text-transform:uppercase;font-size:13px}.storybd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:3px solid var(--sbd-ink);border-radius:999px;background:var(--sbd-pink);color:#fff!important;text-decoration:none!important;font-weight:950;padding:14px 22px;box-shadow:4px 4px 0 var(--sbd-ink);cursor:pointer;transition:.15s}.storybd-btn:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 var(--sbd-ink)}.storybd-secondary{background:#fff!important;color:var(--sbd-ink)!important}.storybd-style-grid-visual{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.storybd-style-tile{position:relative;min-height:300px;aspect-ratio:1/1;overflow:hidden;border:4px solid var(--sbd-ink);border-radius:28px;background:linear-gradient(135deg,var(--sbd-yellow),var(--sbd-pink),#38bdf8);padding:0;box-shadow:7px 7px 0 var(--sbd-ink);cursor:pointer;isolation:isolate;transition:.18s}.storybd-style-tile:hover{transform:translateY(-5px) rotate(-.4deg);box-shadow:10px 12px 0 var(--sbd-ink)}.storybd-style-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;transform:scale(1.01);transition:transform .35s ease;filter:saturate(1.04) contrast(1.02)}.storybd-style-tile:hover img{transform:scale(1.08)}.storybd-style-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.22) 42%,rgba(0,0,0,.78))}.storybd-style-label{position:absolute;left:14px;right:14px;bottom:14px;z-index:2;border:3px solid var(--sbd-ink);border-radius:20px;background:rgba(255,255,255,.94);padding:13px 14px;box-shadow:4px 4px 0 var(--sbd-ink);text-align:left}.storybd-style-label strong{display:block;font-size:clamp(18px,2.1vw,26px);font-weight:950;letter-spacing:-.035em}.storybd-style-label em{display:block;margin-top:3px;font-style:normal;font-size:13px;font-weight:850;color:var(--sbd-muted)}.storybd-style-tile.is-selected{outline:6px solid var(--sbd-pink);box-shadow:0 0 0 5px var(--sbd-yellow),10px 12px 0 var(--sbd-ink)}.storybd-style-tile.is-selected:after{content:"✓";position:absolute;top:14px;right:14px;z-index:3;width:42px;height:42px;display:grid;place-items:center;border:3px solid var(--sbd-ink);border-radius:50%;background:var(--sbd-yellow);font-size:24px;font-weight:950;box-shadow:3px 3px 0 var(--sbd-ink)}.storybd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin-top:26px}.storybd-tone{min-height:118px;border:3px solid var(--sbd-ink);border-radius:24px;background:#fff;font-weight:950;font-size:18px;text-align:left;padding:20px;box-shadow:5px 5px 0 var(--sbd-ink);cursor:pointer}.storybd-tone.is-selected{background:var(--sbd-yellow);outline:4px solid var(--sbd-pink)}.storybd-v7 textarea,.storybd-v7 input,.storybd-v7 select{width:100%;border:3px solid var(--sbd-ink);border-radius:22px;background:#fffdf4;padding:18px 20px;font-size:17px;font-weight:750;box-shadow:4px 4px 0 var(--sbd-ink);margin-top:14px}.storybd-v7 textarea{min-height:170px;resize:vertical}.storybd-story-step{display:block;margin:12px 0}.storybd-chip-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.storybd-chip{border:2px solid var(--sbd-ink);background:#fff;border-radius:999px;padding:10px 14px;font-weight:900;box-shadow:3px 3px 0 var(--sbd-ink);cursor:pointer}.storybd-nav{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:50;display:flex;gap:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:3px solid var(--sbd-ink);border-radius:999px;padding:8px;box-shadow:6px 6px 0 var(--sbd-ink)}.storybd-loader-card{text-align:center;overflow:hidden}.storybd-loader-stage{position:relative;width:170px;height:170px;margin:0 auto 24px;display:grid;place-items:center}.storybd-loader-icon{width:120px;height:120px;border-radius:50%;border:4px solid var(--sbd-ink);background:var(--sbd-yellow);display:flex;align-items:center;justify-content:center;font-size:54px;box-shadow:8px 8px 0 var(--sbd-ink);position:relative;z-index:2;animation:storybdPulse 2.8s ease-in-out infinite}.storybd-loader-orbit{position:absolute;inset:0;border:3px dashed rgba(17,17,17,.35);border-radius:50%;animation:storybdOrbit 12s linear infinite}.storybd-loader-orbit span{position:absolute;width:42px;height:42px;display:grid;place-items:center;border:3px solid var(--sbd-ink);border-radius:50%;background:#fff;box-shadow:3px 3px 0 var(--sbd-ink);font-size:20px}.storybd-loader-orbit span:nth-child(1){left:50%;top:-18px;transform:translateX(-50%)}.storybd-loader-orbit span:nth-child(2){right:-18px;top:50%;transform:translateY(-50%)}.storybd-loader-orbit span:nth-child(3){left:50%;bottom:-18px;transform:translateX(-50%)}.storybd-loader-orbit span:nth-child(4){left:-18px;top:50%;transform:translateY(-50%)}.storybd-progress{height:20px;border:3px solid var(--sbd-ink);border-radius:999px;background:#fff;overflow:hidden;box-shadow:4px 4px 0 var(--sbd-ink);margin-top:28px}.storybd-progress span{display:block;height:100%;width:8%;background:var(--sbd-pink);transition:.45s}.storybd-loader-notes{margin:22px auto 0;max-width:680px;border:3px solid var(--sbd-ink);border-radius:24px;background:var(--sbd-soft);padding:16px 18px;box-shadow:4px 4px 0 var(--sbd-ink);text-align:left}.storybd-loader-notes strong{display:block;font-weight:950}.storybd-loader-notes span{display:block;margin-top:4px;font-size:14px;font-weight:750;color:var(--sbd-muted)}.storybd-loader-checklist{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:22px auto 0;padding:0;list-style:none;max-width:920px}.storybd-loader-checklist li{border:2px solid var(--sbd-ink);border-radius:18px;background:#fff;padding:10px;font-size:12px;font-weight:900;box-shadow:3px 3px 0 var(--sbd-ink);opacity:.52}.storybd-loader-checklist li.is-active{opacity:1;background:var(--sbd-yellow)}.storybd-loader-checklist li.is-done{opacity:1;background:#d9f99d}.storybd-loader-checklist li.is-done:before{content:"✓ ";font-weight:950}.storybd-result-step{align-items:flex-start!important}.storybd-result-wrap{width:min(1280px,100%);margin:0 auto}.storybd-result-header{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;background:#fff;border:4px solid var(--sbd-ink);border-radius:34px;padding:24px;box-shadow:8px 8px 0 var(--sbd-ink);margin-bottom:24px}.storybd-result-header h2{font-size:clamp(32px,5vw,64px);margin:10px 0 0;line-height:1}.storybd-actions,.storybd-library-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}#storybd-result-image{display:block;width:100%;max-width:980px;margin:0 auto;border:4px solid var(--sbd-ink);border-radius:28px;background:#fff;box-shadow:10px 10px 0 var(--sbd-ink)}.storybd-modal{display:none;position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.58);backdrop-filter:blur(6px);padding:20px;align-items:center;justify-content:center}.storybd-modal.is-open{display:flex}.storybd-modal-card{width:min(640px,100%);max-height:90svh;overflow-y:auto;background:#fff;border:4px solid var(--sbd-ink);border-radius:34px;padding:28px;box-shadow:10px 10px 0 var(--sbd-ink);position:relative}.storybd-modal-close{position:absolute;right:18px;top:18px;border:2px solid var(--sbd-ink);border-radius:50%;width:38px;height:38px;background:#fff;font-weight:950;box-shadow:3px 3px 0 var(--sbd-ink)}.storybd-library{padding:30px}.storybd-library-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.storybd-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.storybd-library-card,.storybd-library-empty{border:3px solid var(--sbd-ink);border-radius:24px;background:#fff;padding:14px;box-shadow:5px 5px 0 var(--sbd-ink)}.storybd-library-card img{width:100%;border-radius:16px;border:2px solid var(--sbd-ink);display:block}.storybd-library-card h3{font-size:22px;margin:14px 0 8px}.storybd-login-gate{padding:40px 16px;min-height:60svh;display:grid;place-items:center}.storybd-login-card{max-width:720px;text-align:center}.storybd-social-login{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}@keyframes storybdOrbit{to{transform:rotate(360deg)}}@keyframes storybdPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.055)}}@media(max-width:980px){.storybd-style-grid-visual{grid-template-columns:repeat(2,minmax(0,1fr))}.storybd-heading-row{grid-template-columns:1fr}.storybd-mini-offer{width:100%;min-width:0}.storybd-style-tile{min-height:260px}}@media(max-width:760px){.storybd-step{padding:34px 14px 120px;align-items:flex-start!important}.storybd-card{padding:20px;border-radius:26px;box-shadow:6px 6px 0 var(--sbd-ink)}.storybd-style-grid-visual{grid-template-columns:1fr;gap:16px}.storybd-style-tile{aspect-ratio:16/11;min-height:220px}.storybd-style-label strong{font-size:22px}.storybd-card h1,.storybd-card h2,.storybd-library h2{font-size:42px}.storybd-card p,.storybd-library p{font-size:16px}.storybd-result-header,.storybd-library-head{align-items:flex-start;flex-direction:column}.storybd-actions{justify-content:flex-start}.storybd-nav{width:calc(100% - 24px);justify-content:space-between}.storybd-btn{padding:12px 16px}.storybd-tone{min-height:auto}.storybd-loader-checklist{grid-template-columns:1fr;gap:8px}.storybd-loader-stage{width:150px;height:150px}}@media(max-width:420px){.storybd-style-tile{aspect-ratio:1/1}.storybd-nav .storybd-btn{font-size:13px;padding:10px 12px}}

/* V7.5.1 comic polish + safe scoped extras */
.storybd-v7{position:relative;isolation:isolate;overflow:hidden}.storybd-v7 .storybd-bg,.storybd-library .storybd-bg{position:absolute;inset:0;z-index:-2;pointer-events:none;background:#fff8e8;}.storybd-v7:before{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;background:radial-gradient(circle at 20% 10%,rgba(255,214,10,.45),transparent 26%),radial-gradient(circle at 80% 20%,rgba(244,34,121,.28),transparent 28%),radial-gradient(circle at 50% 90%,rgba(56,189,248,.26),transparent 30%);filter:blur(8px);animation:storybdBlobFloat 13s ease-in-out infinite alternate}.storybd-card h1,.storybd-card h2,.storybd-library h2,.storybd-modal-card h2{font-family:Impact,"Arial Black",system-ui,sans-serif;text-transform:uppercase;text-shadow:3px 3px 0 #fff,6px 6px 0 var(--sbd-ink);transform:skew(-3deg);letter-spacing:-.045em}.storybd-card h1:after,.storybd-card h2:after,.storybd-library h2:after,.storybd-modal-card h2:after{content:"";display:block;width:min(220px,44vw);height:12px;margin:10px 0 0;border:3px solid var(--sbd-ink);border-radius:999px;background:linear-gradient(90deg,var(--sbd-yellow),var(--sbd-pink),#38bdf8);box-shadow:4px 4px 0 var(--sbd-ink);animation:storybdGradientSlide 4s linear infinite;background-size:220% 100%}.storybd-kicker{position:relative;overflow:hidden}.storybd-kicker:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 35%,rgba(255,255,255,.7) 45%,transparent 58%);transform:translateX(-120%);animation:storybdShine 3.8s ease-in-out infinite}.storybd-library-card{position:relative;transition:transform .18s ease,box-shadow .18s ease;background:linear-gradient(180deg,#fff,#fff8d8)}.storybd-library-card:hover{transform:translateY(-4px) rotate(-.25deg);box-shadow:9px 10px 0 var(--sbd-ink)}.storybd-library-image-wrap{position:relative;border-radius:18px;overflow:hidden}.storybd-library-image-wrap:after{content:"POW";position:absolute;right:10px;top:10px;border:3px solid var(--sbd-ink);border-radius:999px;background:var(--sbd-yellow);padding:6px 10px;font-weight:950;box-shadow:3px 3px 0 var(--sbd-ink);transform:rotate(8deg)}.storybd-library-loading:after{content:"Modification de la planche en cours…";position:fixed;left:50%;bottom:24px;z-index:999999;transform:translateX(-50%);background:#fff;border:3px solid var(--sbd-ink);border-radius:999px;padding:14px 20px;font-weight:950;box-shadow:6px 6px 0 var(--sbd-ink)}.storybd-checkbox-line{display:flex!important;align-items:center;gap:10px;margin:16px 0;font-weight:900}.storybd-checkbox-line input{width:auto!important;margin:0!important;box-shadow:none!important}.storybd-modal-card h2{font-size:clamp(32px,5vw,58px);line-height:1;margin:0 54px 14px 0}.storybd-modal-card p{font-weight:800;color:var(--sbd-muted)}@keyframes storybdBgDrift{from{background-position:0 0,0 0}to{background-position:42px 28px,100% 50%}}@keyframes storybdBlobFloat{from{transform:translate3d(-1%,0,0) scale(1)}to{transform:translate3d(1.5%,-1%,0) scale(1.025)}}@keyframes storybdGradientSlide{to{background-position:220% 0}}@keyframes storybdShine{0%,45%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}

/* StoryBD 7.5.2 — couche BD renforcée, 100% isolée */
.storybd-v7 {
  --storybd-ink:#161421;
  --storybd-pop:#ff2f7d;
  --storybd-sun:#ffd447;
  --storybd-blue:#3c7cff;
  --storybd-purple:#7b35ff;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.storybd-v7 .storybd-bg,
.storybd-v7:before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,212,71,.35), transparent 25%),
    radial-gradient(circle at 80% 12%, rgba(255,47,125,.28), transparent 24%),
    linear-gradient(135deg, rgba(60,124,255,.13), rgba(123,53,255,.11));
}
.storybd-v7:after {
  content:"";
  position:absolute;
  inset:-20px;
  pointer-events:none;
  z-index:-1;
  background-image:radial-gradient(rgba(22,20,33,.18) 1.1px, transparent 1.2px);
  background-size:12px 12px;
  opacity:.42;
  transform:rotate(-2deg);
  animation:storybd-dot-drift 18s linear infinite;
}
.storybd-v7 h1,
.storybd-v7 h2,
.storybd-v7 h3 {
  color:var(--storybd-ink);
  letter-spacing:-.035em;
  text-transform:none;
  text-shadow:2px 2px 0 rgba(255,212,71,.75), 4px 4px 0 rgba(255,47,125,.18);
}
.storybd-v7 .storybd-kicker {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border:2px solid var(--storybd-ink);
  border-radius:999px;
  background:linear-gradient(90deg, var(--storybd-sun), #fff1a7);
  box-shadow:4px 4px 0 var(--storybd-ink);
  color:var(--storybd-ink);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.storybd-v7 .storybd-card,
.storybd-v7 .storybd-library-card,
.storybd-v7 .storybd-modal-card {
  border:3px solid var(--storybd-ink) !important;
  box-shadow:9px 9px 0 rgba(22,20,33,.95), 0 18px 60px rgba(22,20,33,.16) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.9)) !important;
}
.storybd-v7 .storybd-btn {
  border:3px solid var(--storybd-ink) !important;
  background:linear-gradient(110deg, var(--storybd-pop), #ff6aa7, var(--storybd-sun)) !important;
  color:#fff !important;
  box-shadow:5px 5px 0 var(--storybd-ink) !important;
  text-transform:uppercase;
  font-weight:950;
  letter-spacing:.035em;
  transform:translate(0,0);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.storybd-v7 .storybd-btn:hover {
  transform:translate(2px,2px) rotate(-.5deg);
  box-shadow:3px 3px 0 var(--storybd-ink) !important;
  filter:saturate(1.15) contrast(1.03);
}
.storybd-v7 .storybd-secondary {
  background:linear-gradient(110deg, #fff, #eaf1ff) !important;
  color:var(--storybd-ink) !important;
}
.storybd-v7 .storybd-style-tile,
.storybd-v7 .storybd-tone,
.storybd-v7 input,
.storybd-v7 textarea,
.storybd-v7 select {
  border:2px solid var(--storybd-ink) !important;
  box-shadow:4px 4px 0 rgba(22,20,33,.9) !important;
}
.storybd-v7 .storybd-library-image-wrap img,
.storybd-v7 #storybd-result-image {
  border:4px solid var(--storybd-ink);
  box-shadow:8px 8px 0 rgba(22,20,33,.9);
  background:#fff;
}
.storybd-v7 .storybd-library-empty {
  border:3px dashed var(--storybd-ink);
  background:rgba(255,255,255,.82);
  padding:28px;
  border-radius:22px;
}
@keyframes storybd-dot-drift {
  0% { background-position:0 0; }
  100% { background-position:120px 72px; }
}

/* StoryBD 7.5.4 - lisibilité comics + crédits */
.storybd-v7{
  --storybd-ink:#151325;
  --storybd-paper:#fffaf0;
  --storybd-yellow:#ffd84d;
  --storybd-pink:#ff3d8d;
  --storybd-blue:#35d6ff;
  --storybd-purple:#6b42ff;
  color:var(--storybd-ink);
  position:relative;
  isolation:isolate;
}
.storybd-v7 .storybd-bg,
.storybd-v7:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-2;
}
.storybd-v7 .storybd-bg{
  background:
    radial-gradient(circle at 12px 12px, rgba(21,19,37,.16) 2px, transparent 2.8px) 0 0/24px 24px,
    linear-gradient(135deg, rgba(255,216,77,.22), rgba(53,214,255,.12), rgba(255,61,141,.14));
  filter:saturate(1.05);
}
.storybd-v7:after{
  content:"";
  position:absolute;
  inset:-40px;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(120deg, rgba(255,216,77,.22), rgba(255,61,141,.16), rgba(53,214,255,.2));
  background-size:240% 240%;
  animation:storybdGradientDrift 16s ease infinite;
  opacity:.75;
}
@keyframes storybdGradientDrift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.storybd-v7 .storybd-card,
.storybd-v7 .storybd-result-wrap,
.storybd-v7 .storybd-library-card,
.storybd-v7 .storybd-modal-card{
  background:rgba(255,250,240,.96)!important;
  border:3px solid var(--storybd-ink)!important;
  box-shadow:8px 8px 0 rgba(21,19,37,.92), 0 18px 45px rgba(21,19,37,.18)!important;
  color:var(--storybd-ink)!important;
}
.storybd-v7 h1,
.storybd-v7 h2,
.storybd-v7 h3{
  color:var(--storybd-ink)!important;
  letter-spacing:-.04em;
  line-height:1.02;
  text-wrap:balance;
  text-shadow:2px 2px 0 #fff, 4px 4px 0 rgba(255,216,77,.95);
}
.storybd-v7 h1{font-size:clamp(2.1rem,5vw,4.6rem)!important;max-width:980px;}
.storybd-v7 h2{font-size:clamp(1.7rem,3.4vw,3.2rem)!important;}
.storybd-v7 h3{font-size:clamp(1.2rem,2.2vw,1.8rem)!important;}
.storybd-v7 p,
.storybd-v7 li,
.storybd-v7 small,
.storybd-v7 label,
.storybd-v7 em,
.storybd-v7 span{color:inherit;}
.storybd-v7 p{font-size:1.04rem;line-height:1.6;max-width:820px;}
.storybd-v7 .storybd-kicker{
  display:inline-flex;
  width:fit-content;
  padding:.48rem .8rem;
  border:2px solid var(--storybd-ink);
  border-radius:999px;
  background:var(--storybd-yellow);
  color:var(--storybd-ink)!important;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  box-shadow:3px 3px 0 var(--storybd-ink);
}
.storybd-v7 .storybd-btn,
.storybd-v7 button.storybd-btn,
.storybd-v7 a.storybd-btn{
  border:3px solid var(--storybd-ink)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,var(--storybd-yellow),#fff1a8)!important;
  color:var(--storybd-ink)!important;
  box-shadow:5px 5px 0 var(--storybd-ink)!important;
  font-weight:950!important;
  text-transform:uppercase;
  letter-spacing:.03em;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.storybd-v7 .storybd-btn:hover{
  transform:translate(-2px,-2px) rotate(-.6deg);
  box-shadow:8px 8px 0 var(--storybd-ink)!important;
  filter:saturate(1.18);
}
.storybd-v7 .storybd-secondary{
  background:linear-gradient(135deg,#ffffff,var(--storybd-blue))!important;
}
.storybd-v7 .storybd-buy-credits,
.storybd-v7 .storybd-buy-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  background:linear-gradient(135deg,var(--storybd-pink),#ff9ec7)!important;
  color:#fff!important;
  border:3px solid var(--storybd-ink)!important;
  border-radius:999px;
  padding:.72rem 1rem;
  font-weight:950;
  text-decoration:none!important;
  box-shadow:4px 4px 0 var(--storybd-ink);
}
.storybd-v7 .storybd-mini-offer{
  display:grid;
  gap:.55rem;
  align-content:center;
  background:#fff!important;
  border:3px solid var(--storybd-ink);
  border-radius:22px;
  padding:1rem;
  box-shadow:6px 6px 0 rgba(21,19,37,.9);
  min-width:min(360px,100%);
}
.storybd-v7 .storybd-mini-offer.storybd-has-free-credits{background:linear-gradient(135deg,#fff,#fff6c9)!important;}
.storybd-v7 .storybd-mini-offer.storybd-needs-credits{background:linear-gradient(135deg,#fff,#ffe2ee)!important;}
.storybd-v7 .storybd-credit-badge strong{font-size:1.45rem;}
.storybd-v7 .storybd-credit-free,
.storybd-v7 .storybd-credit-buy{font-weight:900;line-height:1.25;}
.storybd-v7 .storybd-credit-free{color:#0d6b36!important;}
.storybd-v7 .storybd-credit-buy{color:#a10f44!important;}
.storybd-v7 .storybd-style-label{
  background:linear-gradient(180deg, rgba(21,19,37,.04), rgba(21,19,37,.92))!important;
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}
.storybd-v7 .storybd-style-label strong,
.storybd-v7 .storybd-style-label em{color:#fff!important;}
.storybd-v7 input,
.storybd-v7 textarea,
.storybd-v7 select{
  background:#fff!important;
  color:var(--storybd-ink)!important;
  border:3px solid var(--storybd-ink)!important;
  border-radius:16px!important;
  box-shadow:3px 3px 0 rgba(21,19,37,.75)!important;
}
.storybd-v7 input::placeholder,
.storybd-v7 textarea::placeholder{color:rgba(21,19,37,.55)!important;}
.storybd-v7 .storybd-loader-card{overflow:hidden;}
.storybd-v7 .storybd-loader-notes,
.storybd-v7 .storybd-loader-checklist,
.storybd-v7 .storybd-library-empty{
  background:#fff!important;
  color:var(--storybd-ink)!important;
  border:2px dashed var(--storybd-ink)!important;
}
.storybd-v7 .storybd-progress{background:#fff;border:2px solid var(--storybd-ink);box-shadow:3px 3px 0 var(--storybd-ink);}
.storybd-v7 .storybd-progress span{background:linear-gradient(90deg,var(--storybd-pink),var(--storybd-yellow),var(--storybd-blue))!important;}
@media(max-width:760px){
  .storybd-v7 .storybd-heading-row{gap:1rem;}
  .storybd-v7 .storybd-mini-offer{min-width:0;width:100%;}
  .storybd-v7 .storybd-card,
  .storybd-v7 .storybd-result-wrap,
  .storybd-v7 .storybd-library-card{box-shadow:5px 5px 0 rgba(21,19,37,.92)!important;}
}


/* StoryBD 7.5.5 - retouches loupe lisibilité, crédits, mobile-first */
.storybd-v7{--storybd-rose:#f42279;--storybd-ink:#141423;--storybd-cream:#fffaf1;--storybd-white:#fff;--storybd-yellow:#ffd84d;}
.storybd-v7 .storybd-card h1,.storybd-v7 .storybd-card h2,.storybd-v7 .storybd-library h1,.storybd-v7 .storybd-library h2,.storybd-v7 .storybd-result-header h2{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:950!important;letter-spacing:-.035em!important;line-height:1.04!important;text-transform:none!important;text-shadow:2px 2px 0 #fff,4px 4px 0 rgba(255,216,77,.85)!important;color:var(--storybd-ink)!important;}
.storybd-v7 .storybd-card h1,.storybd-v7 .storybd-library h1{font-size:clamp(2.2rem,7vw,4.8rem)!important;}
.storybd-v7 .storybd-card h2,.storybd-v7 .storybd-result-header h2{font-size:clamp(1.8rem,5vw,3.4rem)!important;}
.storybd-v7 .storybd-card p,.storybd-v7 .storybd-library p,.storybd-v7 .storybd-result-header p{color:#353449!important;font-weight:750!important;line-height:1.55!important;}
.storybd-v7 .storybd-heading-row{align-items:center!important;}
.storybd-v7 .storybd-credit-panel{display:grid;gap:.45rem;min-width:min(340px,100%);border:3px solid var(--storybd-ink);border-radius:24px;background:linear-gradient(145deg,#fff,var(--storybd-yellow));padding:1rem 1.1rem;box-shadow:6px 6px 0 var(--storybd-ink);}
.storybd-v7 .storybd-credit-label{font-size:.78rem!important;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:var(--storybd-ink)!important;}
.storybd-v7 .storybd-credit-total{display:block;font-size:clamp(3.2rem,8vw,5.8rem)!important;line-height:.88!important;color:var(--storybd-rose)!important;text-shadow:3px 3px 0 #fff,6px 6px 0 var(--storybd-ink);}
.storybd-v7 .storybd-credit-panel small{font-weight:900;color:var(--storybd-ink)!important;}
.storybd-v7 .storybd-credit-buy{font-weight:950;color:#a10f44!important;}
.storybd-v7 .storybd-buy-link{width:fit-content;background:var(--storybd-rose)!important;color:#fff!important;}
.storybd-v7 .storybd-style-cta{display:none!important;}
.storybd-v7 .storybd-nav{border-radius:22px!important;padding:9px!important;gap:10px!important;max-width:calc(100% - 24px);}
.storybd-v7 .storybd-nav .storybd-next{background:var(--storybd-rose)!important;color:#fff!important;min-width:150px;}
.storybd-v7 .storybd-nav .storybd-prev,.storybd-v7 .storybd-secondary{background:#fff!important;color:var(--storybd-ink)!important;}
.storybd-v7 .storybd-nav .storybd-prev:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.3);}
.storybd-v7 .storybd-create-main{display:flex!important;width:min(560px,100%)!important;margin:28px auto 0!important;padding:1.25rem 2rem!important;font-size:clamp(1.25rem,4.5vw,2rem)!important;border-radius:24px!important;background:var(--storybd-rose)!important;color:#fff!important;box-shadow:8px 8px 0 var(--storybd-ink)!important;}
.storybd-v7 .storybd-create-main:before{content:"\1F680 ";font-size:1.25em;}
.storybd-v7 .storybd-email-box{display:grid;grid-template-columns:auto 1fr;gap:12px 16px;margin-top:28px;padding:18px;border:3px solid var(--storybd-ink);border-radius:24px;background:linear-gradient(135deg,#fff,#fff3f8);box-shadow:5px 5px 0 var(--storybd-ink);}
.storybd-v7 .storybd-email-icon{width:46px;height:46px;display:grid;place-items:center;border:3px solid var(--storybd-ink);border-radius:50%;background:var(--storybd-yellow);box-shadow:3px 3px 0 var(--storybd-ink);}
.storybd-v7 .storybd-email-box label{display:block;font-size:1.15rem;font-weight:950;color:var(--storybd-ink)!important;}
.storybd-v7 .storybd-email-box p{margin:.25rem 0 0!important;font-size:.95rem!important;}
.storybd-v7 .storybd-email-box input{grid-column:1/-1;margin-top:0!important;}
.storybd-v7 .storybd-result-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
.storybd-v7 .storybd-result-header{background:rgba(255,250,241,.98)!important;border:3px solid var(--storybd-ink)!important;border-radius:28px!important;box-shadow:7px 7px 0 var(--storybd-ink)!important;}
.storybd-v7 .storybd-download-main,.storybd-v7 .storybd-library-download{background:var(--storybd-rose)!important;color:#fff!important;}
.storybd-v7 .storybd-library-credit-line{display:inline-grid;grid-template-columns:auto auto;align-items:center;gap:.25rem .65rem;margin-top:.55rem;padding:.65rem .9rem;border:3px solid var(--storybd-ink);border-radius:18px;background:#fff;box-shadow:4px 4px 0 var(--storybd-ink);}
.storybd-v7 .storybd-library-credit-line span{font-weight:950;text-transform:uppercase;font-size:.78rem;letter-spacing:.06em;}
.storybd-v7 .storybd-library-credit-line strong{font-size:2.4rem;line-height:1;color:var(--storybd-rose);text-shadow:2px 2px 0 #fff,4px 4px 0 var(--storybd-ink);}
.storybd-v7 .storybd-library-credit-line em{grid-column:1/-1;font-style:normal;font-weight:900;color:#a10f44;}
@media(max-width:760px){
  .storybd-step{padding:28px 12px 116px!important;align-items:flex-start!important;}
  .storybd-v7 .storybd-card{padding:20px!important;border-radius:24px!important;}
  .storybd-v7 .storybd-heading-row{display:block!important;grid-template-columns:1fr!important;gap:16px!important;}
  .storybd-v7 .storybd-credit-panel{width:100%;min-width:0;}
  .storybd-v7 .storybd-style-grid-visual{grid-template-columns:1fr!important;gap:14px!important;}
  .storybd-v7 .storybd-style-tile{min-height:220px!important;aspect-ratio:4/3!important;}
  .storybd-v7 .storybd-nav{left:12px;right:12px;bottom:12px;transform:none;width:auto;display:grid;grid-template-columns:1fr 1fr;}
  .storybd-v7 .storybd-nav .storybd-btn{width:100%;min-width:0;padding:.95rem .85rem!important;border-radius:16px!important;}
  .storybd-v7 .storybd-email-box{grid-template-columns:1fr;padding:16px;}
  .storybd-v7 .storybd-email-icon{width:42px;height:42px;}
  .storybd-v7 .storybd-result-header{display:grid!important;gap:16px!important;align-items:start!important;padding:18px!important;}
  .storybd-v7 .storybd-actions{justify-content:stretch!important;display:grid!important;grid-template-columns:1fr!important;}
  .storybd-v7 .storybd-actions .storybd-btn{width:100%;}
}

/* Story mode / continuation */
.storybd-v7 .storybd-continuation-banner{
  margin: 0 auto 18px;
  max-width: 1120px;
  border: 2px solid rgba(244,34,121,.22);
}
.storybd-v7 .storybd-story-grid{align-items:stretch;}
.storybd-v7 .storybd-story-card h3{margin-top:14px;}
.storybd-v7 .storybd-story-pages{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 16px;
}
.storybd-v7 .storybd-page-pill{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(20,28,44,.16);
  background:#fff;
  color:#141c2c;
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  border-radius:999px;
  padding:7px 10px;
}
.storybd-v7 .storybd-page-pill:hover{transform:translateY(-1px);}

@media (max-width: 720px){
  .storybd-v7 .storybd-continuation-banner{margin:0 10px 14px;padding:18px;}
  .storybd-v7 .storybd-library-actions{display:grid;grid-template-columns:1fr;}
}


/* V7.7.0 - édition image simple + suite verrouillée */
.storybd-v7 .storybd-continuation-style-locked .storybd-style-grid-visual{display:none!important;}
.storybd-v7 .storybd-continuation-style-locked .storybd-style-card-main:after{content:'Style, personnages et univers verrouillés depuis l’histoire originale.';display:block;margin-top:18px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.92);border:2px solid rgba(244,34,121,.25);font-weight:900;color:#141C2C;box-shadow:0 10px 0 rgba(20,28,44,.08);} 
.storybd-v7 #storybd-mod-details{min-height:130px;}
.storybd-v7 .storybd-modal-card p{line-height:1.55;}

/* V7.7.1 - UX modification dialogues / planche, bibliothèque par planches */
.storybd-v7 .storybd-mod-card{width:min(1120px,100%)!important;}
.storybd-v7 .storybd-mod-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 22px;}
.storybd-v7 .storybd-mod-mode{border:3px solid var(--storybd-ink,var(--sbd-ink));border-radius:22px;background:#fff;padding:18px;text-align:left;box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink));cursor:pointer;transition:.16s ease;}
.storybd-v7 .storybd-mod-mode strong{display:block;font-size:clamp(18px,2vw,26px);font-weight:950;color:var(--storybd-ink,var(--sbd-ink));}
.storybd-v7 .storybd-mod-mode span{display:block;margin-top:7px;font-weight:800;color:#475569;line-height:1.35;}
.storybd-v7 .storybd-mod-mode.is-active{background:linear-gradient(135deg,#fff,var(--storybd-yellow,#ffd93b));outline:4px solid var(--storybd-rose,var(--sbd-pink));transform:translate(-1px,-1px);box-shadow:6px 6px 0 var(--storybd-ink,var(--sbd-ink));}
.storybd-v7 .storybd-mod-panel{display:none;}
.storybd-v7 .storybd-mod-panel.is-active{display:block;}
.storybd-v7 .storybd-dialogue-detect-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:8px 0 16px;}
.storybd-v7 .storybd-dialogue-detect-head h3{margin:0;font-size:clamp(24px,3vw,38px);font-weight:950;letter-spacing:-.035em;color:var(--storybd-ink,var(--sbd-ink));}
.storybd-v7 .storybd-dialogue-detect-head p{margin:5px 0 0!important;font-size:15px!important;max-width:620px;}
.storybd-v7 .storybd-dialogue-workspace{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);gap:16px;align-items:start;}
.storybd-v7 .storybd-dialogue-list,.storybd-v7 .storybd-dialogue-form{border:3px solid var(--storybd-ink,var(--sbd-ink));border-radius:24px;background:#fffdf4;padding:14px;box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink));max-height:52vh;overflow:auto;}
.storybd-v7 .storybd-dialogue-found{border:2px solid rgba(20,28,44,.18);border-radius:18px;background:#fff;margin-bottom:10px;padding:12px;}
.storybd-v7 .storybd-dialogue-found strong{display:block;font-weight:950;color:var(--storybd-rose,var(--sbd-pink));}
.storybd-v7 .storybd-dialogue-found span{display:block;font-size:12px;font-weight:900;text-transform:uppercase;color:#64748b;margin-top:2px;}
.storybd-v7 .storybd-dialogue-found p{margin:8px 0 0!important;font-size:15px!important;font-weight:850!important;color:#141c2c!important;}
.storybd-v7 .storybd-dialogue-edit{display:block;margin-bottom:12px;border:2px solid rgba(20,28,44,.16);border-radius:18px;background:#fff;padding:12px;}
.storybd-v7 .storybd-dialogue-edit span{display:block;font-weight:950;color:#141c2c;margin-bottom:8px;}
.storybd-v7 .storybd-dialogue-edit textarea{min-height:92px!important;margin-top:0!important;font-size:15px!important;border-radius:16px!important;}
.storybd-v7 .storybd-dialogue-empty{border:2px dashed rgba(20,28,44,.26);border-radius:18px;padding:20px;background:#fff;color:#64748b;font-weight:900;text-align:center;}
.storybd-v7 .storybd-dialogue-loading:before{content:'\1F50E  ';}
.storybd-v7 .storybd-apply-dialogues{margin-top:18px;}
.storybd-v7 .storybd-warning-box{display:grid;gap:5px;margin:10px 0 16px;padding:16px 18px;border:3px solid var(--storybd-ink,var(--sbd-ink));border-radius:20px;background:linear-gradient(135deg,#fff7d6,#ffe4ef);box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink));}
.storybd-v7 .storybd-warning-box strong{font-size:20px;font-weight:950;color:var(--storybd-rose,var(--sbd-pink));}
.storybd-v7 .storybd-warning-box span{font-weight:850;color:#475569;}
.storybd-v7 .storybd-planche-grid{align-items:stretch;}
.storybd-v7 .storybd-planche-card h3{margin-top:14px;}
@media(max-width:820px){
  .storybd-v7 .storybd-mod-mode-grid,.storybd-v7 .storybd-dialogue-workspace{grid-template-columns:1fr;}
  .storybd-v7 .storybd-dialogue-detect-head{display:grid;align-items:start;}
  .storybd-v7 .storybd-dialogue-list,.storybd-v7 .storybd-dialogue-form{max-height:none;}
}

/* V7.7.2 - UX polish modification planche */
.storybd-v7 .storybd-credit-price{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:7px 12px;
  border:3px solid var(--storybd-ink,var(--sbd-ink));
  border-radius:999px;
  background:var(--storybd-rose,var(--sbd-pink));
  color:#fff!important;
  font-weight:950!important;
  box-shadow:3px 3px 0 var(--storybd-ink,var(--sbd-ink));
}
.storybd-v7 .storybd-detect-cta{
  position:relative;
  isolation:isolate;
  background:var(--storybd-rose,var(--sbd-pink))!important;
  color:#fff!important;
  min-width:230px;
  padding:18px 28px!important;
  font-size:clamp(18px,2.2vw,25px)!important;
  border-radius:24px!important;
  box-shadow:7px 7px 0 var(--storybd-ink,var(--sbd-ink))!important;
  animation:storybdDetectPulse 1.35s ease-in-out infinite;
}
.storybd-v7 .storybd-detect-cta:before{content:'\1F50E ';font-size:1.2em;}
.storybd-v7 .storybd-detect-cta:after{
  content:'';
  position:absolute;
  inset:-8px;
  z-index:-1;
  border-radius:30px;
  background:radial-gradient(circle,rgba(244,34,121,.28),transparent 62%);
  animation:storybdDetectHalo 1.35s ease-in-out infinite;
}
.storybd-v7 .storybd-detect-cta[disabled]{animation:none;opacity:.72;filter:grayscale(.2);}
.storybd-v7 .storybd-final-btn,
.storybd-v7 .storybd-download-main,
.storybd-v7 .storybd-open-mods-main,
.storybd-v7 .storybd-library-improve,
.storybd-v7 .storybd-library-download,
.storybd-v7 #storybd-apply-dialogue-mod,
.storybd-v7 #storybd-apply-board-mod{
  background:var(--storybd-rose,var(--sbd-pink))!important;
  color:#fff!important;
  padding:17px 26px!important;
  font-size:clamp(16px,2vw,22px)!important;
  border-radius:24px!important;
  box-shadow:6px 6px 0 var(--storybd-ink,var(--sbd-ink))!important;
}
.storybd-v7 .storybd-download-ico{
  display:inline-grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:#fff;
  color:var(--storybd-rose,var(--sbd-pink));
  font-weight:950;
}
.storybd-v7 .storybd-library-actions{
  justify-content:stretch!important;
  display:grid!important;
  grid-template-columns:1fr;
  gap:12px!important;
}
.storybd-v7 .storybd-library-actions .storybd-btn{width:100%;max-width:100%;min-width:0;padding-left:12px!important;padding-right:12px!important;}
.storybd-v7 .storybd-card-modifying{
  position:relative;
  pointer-events:none;
  transform:none!important;
}
.storybd-v7 .storybd-card-modifying .storybd-library-image-wrap:before{
  content:'';
  position:absolute;
  inset:0;
  z-index:8;
  background:rgba(20,28,44,.72);
  backdrop-filter:blur(2px);
}
.storybd-v7 .storybd-card-modifying .storybd-library-image-wrap:after{
  content:'Modification en cours…';
  z-index:9;
  left:50%;
  top:50%;
  right:auto;
  transform:translate(-50%,-50%) rotate(-3deg);
  white-space:nowrap;
  background:var(--storybd-rose,var(--sbd-pink));
  color:#fff;
  font-size:clamp(15px,2.2vw,22px);
  padding:14px 18px;
  animation:storybdCardLoaderPop 1s ease-in-out infinite;
}
.storybd-v7 .storybd-card-modifying:after{
  content:'';
  position:absolute;
  inset:10px;
  border:4px dashed var(--storybd-rose,var(--sbd-pink));
  border-radius:22px;
  z-index:12;
  pointer-events:none;
  animation:storybdLoaderMarch .9s linear infinite;
}
.storybd-library-loading:after{
  background:var(--storybd-rose,var(--sbd-pink))!important;
  color:#fff!important;
  font-size:16px!important;
  padding:16px 24px!important;
}
@keyframes storybdDetectPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes storybdDetectHalo{0%,100%{opacity:.4;transform:scale(.98)}50%{opacity:.9;transform:scale(1.035)}}
@keyframes storybdCardLoaderPop{0%,100%{transform:translate(-50%,-50%) rotate(-3deg) scale(1)}50%{transform:translate(-50%,-50%) rotate(3deg) scale(1.06)}}
@keyframes storybdLoaderMarch{to{outline-offset:8px}}
@media(max-width:820px){
  .storybd-v7 .storybd-detect-cta,
  .storybd-v7 .storybd-final-btn,
  .storybd-v7 .storybd-download-main,
  .storybd-v7 .storybd-open-mods-main,
  .storybd-v7 .storybd-library-improve,
  .storybd-v7 .storybd-library-download,
  .storybd-v7 #storybd-apply-dialogue-mod,
  .storybd-v7 #storybd-apply-board-mod{width:100%;}
  .storybd-v7 .storybd-credit-price{display:flex;width:max-content;max-width:100%;margin:8px 0 0;}
}

/* V7.7.3 - responsive button containment fix */
.storybd-v7 .storybd-btn,
.storybd-v7 button.storybd-btn,
.storybd-v7 a.storybd-btn{
  max-width:100%!important;
    max-width:none!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.storybd-v7 .storybd-actions,
.storybd-v7 .storybd-library-actions,
.storybd-v7 .storybd-nav{
  max-width:100%;
}
.storybd-v7 .storybd-nav .storybd-btn{
  flex:1 1 auto;
}
@media(max-width:820px){
  .storybd-v7 .storybd-detect-cta{padding:12px 16px!important;font-size:15px!important;width:100%;max-width:100%;}
  .storybd-v7 .storybd-final-btn,
  .storybd-v7 .storybd-download-main,
  .storybd-v7 .storybd-open-mods-main,
  .storybd-v7 .storybd-library-improve,
  .storybd-v7 .storybd-library-download,
  .storybd-v7 #storybd-apply-dialogue-mod,
  .storybd-v7 #storybd-apply-board-mod{padding:12px 14px!important;font-size:14px!important;width:100%;max-width:100%;}
}

/* V7.7.3 - final override: smaller contained CTAs */
.storybd-v7 .storybd-detect-cta{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:auto!important;
  max-width:100%!important;
    max-width:none!important;
  min-width:0!important;
  padding:14px 20px!important;
  font-size:clamp(15px,1.7vw,19px)!important;
  line-height:1.12!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  border-radius:20px!important;
  box-shadow:5px 5px 0 var(--storybd-ink,var(--sbd-ink))!important;
}
.storybd-v7 .storybd-final-btn,
.storybd-v7 .storybd-download-main,
.storybd-v7 .storybd-open-mods-main,
.storybd-v7 .storybd-library-improve,
.storybd-v7 .storybd-library-download,
.storybd-v7 #storybd-apply-dialogue-mod,
.storybd-v7 #storybd-apply-board-mod{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:auto!important;
  max-width:100%!important;
    max-width:none!important;
  min-width:0!important;
  padding:13px 18px!important;
  font-size:clamp(14px,1.65vw,18px)!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  border-radius:20px!important;
  box-shadow:5px 5px 0 var(--storybd-ink,var(--sbd-ink))!important;
}
.storybd-v7 .storybd-library-actions .storybd-btn{
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  min-width:0!important;
  padding-left:12px!important;
  padding-right:12px!important;
}
@keyframes storybdDetectPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@media(max-width:820px){
  .storybd-v7 .storybd-detect-cta{width:100%!important;
    max-width:none!important;padding:12px 16px!important;font-size:15px!important;}
  .storybd-v7 .storybd-final-btn,
  .storybd-v7 .storybd-download-main,
  .storybd-v7 .storybd-open-mods-main,
  .storybd-v7 .storybd-library-improve,
  .storybd-v7 .storybd-library-download,
  .storybd-v7 #storybd-apply-dialogue-mod,
  .storybd-v7 #storybd-apply-board-mod{width:100%!important;
    max-width:none!important;padding:12px 14px!important;font-size:14px!important;}
}

/* V7.8.0 - saveurs narratives + loader studio interactif */
.storybd-v7 .storybd-flavor-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
}
.storybd-v7 .storybd-flavor{
  min-height:150px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-align:center!important;
  padding:18px 12px!important;
  border:3px solid var(--storybd-ink,#141423)!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,#fff,#fff8e4)!important;
  color:var(--storybd-ink,#141423)!important;
  box-shadow:5px 5px 0 var(--storybd-ink,#141423)!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}
.storybd-v7 .storybd-flavor:hover{
  transform:translateY(-3px) scale(1.018)!important;
  box-shadow:7px 7px 0 var(--storybd-ink,#141423),0 0 0 5px rgba(244,34,121,.12)!important;
}
.storybd-v7 .storybd-flavor.is-selected{
  background:linear-gradient(145deg,#fff,#ffe0ef)!important;
  outline:4px solid var(--storybd-rose,#f42279)!important;
}
.storybd-v7 .storybd-flavor-icon{
  width:52px;height:52px;
  display:grid;place-items:center;
  font-size:28px;
  border:3px solid var(--storybd-ink,#141423);
  border-radius:50%;
  background:var(--storybd-yellow,#ffd84d);
  box-shadow:3px 3px 0 var(--storybd-ink,#141423);
}
.storybd-v7 .storybd-flavor strong{font-size:clamp(1rem,1.7vw,1.28rem);font-weight:950;line-height:1.05;}
.storybd-v7 .storybd-flavor em{font-style:normal;font-size:.86rem;font-weight:850;color:#555066;line-height:1.25;}
.storybd-v7 .storybd-auto-email-note{
  margin-top:24px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:3px dashed rgba(20,20,35,.72);
  border-radius:22px;
  background:rgba(255,255,255,.78);
}
.storybd-v7 .storybd-auto-email-note span{font-size:28px;line-height:1;}
.storybd-v7 .storybd-auto-email-note p{margin:0!important;font-size:.98rem!important;font-weight:900!important;}
.storybd-v7 .storybd-loader-v8{
  position:relative;
  isolation:isolate;
  overflow:hidden!important;
  text-align:center;
  background:
    radial-gradient(circle at 20% 20%,rgba(244,34,121,.18),transparent 24%),
    radial-gradient(circle at 80% 10%,rgba(255,216,77,.24),transparent 24%),
    linear-gradient(145deg,#fffaf1,#fff)!important;
}
.storybd-v7 .storybd-loader-v8:before{
  content:"";
  position:absolute;inset:0;z-index:-1;
  background:radial-gradient(circle,rgba(20,20,35,.055) 1px,transparent 1.6px);
  background-size:10px 10px;
  animation:storybdHalftoneDrift 12s linear infinite;
}
.storybd-v7 .storybd-loader-v8 h2{margin-bottom:10px!important;}
.storybd-v7 .storybd-loader-text{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 18px;
  border:3px solid var(--storybd-ink,#141423);
  border-radius:999px;
  background:#fff;
  box-shadow:4px 4px 0 var(--storybd-ink,#141423);
  color:var(--storybd-ink,#141423)!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-loader-progress{height:14px!important;margin:18px auto!important;max-width:760px;border-radius:999px!important;}
.storybd-v7 .storybd-loader-studio{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:18px;
  align-items:stretch;
  margin:18px auto;
  max-width:900px;
}
.storybd-v7 .storybd-drawing-desk,
.storybd-v7 .storybd-bubble-game{
  position:relative;
  min-height:235px;
  border:3px solid var(--storybd-ink,#141423);
  border-radius:28px;
  background:#fff;
  box-shadow:6px 6px 0 var(--storybd-ink,#141423);
  overflow:hidden;
}
.storybd-v7 .storybd-drawing-desk{
  display:grid;place-items:center;
  background:linear-gradient(145deg,#fff,#fff3c2);
}
.storybd-v7 .storybd-paper{
  width:150px;height:178px;
  display:block;
  border:4px solid var(--storybd-ink,#141423);
  border-radius:14px;
  background:linear-gradient(135deg,#fff 0 70%,#ffe6f1 70%);
  transform:rotate(-4deg);
  box-shadow:9px 9px 0 rgba(20,20,35,.18);
}
.storybd-v7 .storybd-pencil{
  position:absolute;
  z-index:2;
  font-size:52px;
  animation:storybdPencilDraw 1.25s ease-in-out infinite;
}
.storybd-v7 .storybd-spark{position:absolute;font-size:26px;animation:storybdSparkPop 2s ease-in-out infinite;}
.storybd-v7 .storybd-spark.s1{top:22px;left:28px;animation-delay:.1s;}
.storybd-v7 .storybd-spark.s2{right:28px;top:48px;animation-delay:.45s;}
.storybd-v7 .storybd-spark.s3{bottom:28px;left:52px;animation-delay:.8s;}
.storybd-v7 .storybd-bubble-game{
  background:
    linear-gradient(135deg,rgba(244,34,121,.06),rgba(255,216,77,.18)),
    #fff;
}
.storybd-v7 .storybd-game-hint{
  position:absolute;
  left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(300px,82%);
  font-weight:950;
  color:rgba(20,20,35,.55);
  pointer-events:none;
}
.storybd-v7 .storybd-pop-bubble{
  position:absolute;
  z-index:3;
  width:54px;height:42px;
  border:3px solid var(--storybd-ink,#141423)!important;
  border-radius:50% 50% 48% 52%!important;
  background:#fff!important;
  box-shadow:4px 4px 0 var(--storybd-ink,#141423)!important;
  cursor:pointer;
  display:grid!important;place-items:center!important;
  font-size:22px!important;
  animation:storybdBubbleFloat 4.3s linear forwards;
}
.storybd-v7 .storybd-pop-bubble:after{
  content:"";position:absolute;right:6px;bottom:-8px;width:12px;height:12px;background:#fff;border-right:3px solid var(--storybd-ink,#141423);border-bottom:3px solid var(--storybd-ink,#141423);transform:rotate(32deg);
}
.storybd-v7 .storybd-pop-bubble.is-popped{animation:storybdBubblePop .22s ease-out forwards!important;background:var(--storybd-yellow,#ffd84d)!important;}
.storybd-v7 .storybd-loader-score{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:6px auto 10px;
  padding:10px 18px;
  border-radius:999px;
  background:var(--storybd-rose,#f42279);
  color:#fff;
  border:3px solid var(--storybd-ink,#141423);
  box-shadow:4px 4px 0 var(--storybd-ink,#141423);
  font-weight:950;
}
.storybd-v7 .storybd-loader-message{
  font-weight:950;
  color:var(--storybd-ink,#141423);
  min-height:26px;
  margin-bottom:12px;
}
.storybd-v7 .storybd-loader-v8 .storybd-loader-checklist{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  padding:12px!important;
  margin:14px auto!important;
  max-width:900px;
}
.storybd-v7 .storybd-loader-v8 .storybd-loader-checklist li{
  list-style:none!important;
  border:2px solid var(--storybd-ink,#141423);
  border-radius:15px;
  padding:8px 6px;
  background:#fff;
  font-size:.82rem;
  font-weight:950;
}
.storybd-v7 .storybd-loader-v8 .storybd-loader-checklist li.is-active{background:#ffe0ef;color:var(--storybd-rose,#f42279);}
.storybd-v7 .storybd-loader-v8 .storybd-loader-checklist li.is-done{background:#e7fff0;color:#0b7a38;}
@keyframes storybdHalftoneDrift{from{background-position:0 0}to{background-position:60px 40px}}
@keyframes storybdPencilDraw{0%,100%{transform:translate(-28px,-24px) rotate(-18deg)}50%{transform:translate(32px,32px) rotate(-8deg)}}
@keyframes storybdSparkPop{0%,100%{transform:scale(.78) rotate(-8deg);opacity:.45}50%{transform:scale(1.2) rotate(8deg);opacity:1}}
@keyframes storybdBubbleFloat{0%{transform:translateY(35px) scale(.72);opacity:0}12%{opacity:1}88%{opacity:1}100%{transform:translateY(-235px) scale(1.08);opacity:0}}
@keyframes storybdBubblePop{to{transform:scale(1.45) rotate(8deg);opacity:0}}
@media(max-width:980px){
  .storybd-v7 .storybd-flavor-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .storybd-v7 .storybd-loader-studio{grid-template-columns:1fr;}
  .storybd-v7 .storybd-drawing-desk{min-height:180px;}
  .storybd-v7 .storybd-bubble-game{min-height:220px;}
  .storybd-v7 .storybd-loader-v8 .storybd-loader-checklist{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .storybd-v7 .storybd-flavor-grid{grid-template-columns:1fr!important;}
  .storybd-v7 .storybd-flavor{min-height:122px!important;}
  .storybd-v7 .storybd-loader-v8{padding:18px!important;}
  .storybd-v7 .storybd-bubble-game{min-height:190px;}
  .storybd-v7 .storybd-drawing-desk{display:none;}
  .storybd-v7 .storybd-loader-v8 .storybd-loader-checklist{grid-template-columns:1fr;}
  .storybd-v7 .storybd-auto-email-note{align-items:flex-start;}
}

/* V7.9 onboarding StoryBD, isolé */
.storybd-v7.storybd-auth-gate{min-height:100svh;padding:22px;display:grid;place-items:center;position:relative;overflow:hidden;background:#fff7fb;color:var(--storybd-ink,#141414);}
.storybd-v7 .storybd-auth-bg{position:absolute;inset:0;background:radial-gradient(circle at 18% 18%,rgba(244,34,121,.22),transparent 28%),radial-gradient(circle at 82% 22%,rgba(255,218,66,.36),transparent 24%),linear-gradient(135deg,#fff,#fff2f8 48%,#fff8d9);}
.storybd-v7 .storybd-auth-bg:after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(20,20,20,.12) 1px,transparent 1px);background-size:12px 12px;opacity:.45;animation:storybdDotsDrift 14s linear infinite;}
.storybd-v7 .storybd-auth-shell{position:relative;z-index:1;width:min(1120px,100%);display:grid;grid-template-columns:1.08fr .92fr;gap:22px;align-items:stretch;}
.storybd-v7 .storybd-auth-showcase,.storybd-v7 .storybd-auth-card{border:4px solid var(--storybd-ink,#141414);border-radius:34px;background:#fff;box-shadow:10px 10px 0 var(--storybd-ink,#141414);}
.storybd-v7 .storybd-auth-showcase{min-height:620px;padding:clamp(24px,4vw,46px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:linear-gradient(145deg,#1b1430,#f42279);color:#fff;position:relative;}
.storybd-v7 .storybd-auth-showcase:before{content:"POW!";position:absolute;right:-18px;top:18px;font-weight:1000;font-size:clamp(54px,8vw,112px);letter-spacing:-.08em;opacity:.12;transform:rotate(9deg);}
.storybd-v7 .storybd-auth-showcase h1{font-size:clamp(42px,7vw,86px)!important;line-height:.86!important;margin:.35em 0 .2em!important;color:#fff!important;text-shadow:4px 4px 0 #141414;max-width:780px;}
.storybd-v7 .storybd-auth-showcase p{font-size:clamp(17px,2.2vw,24px)!important;font-weight:850;color:#fff!important;max-width:660px;}
.storybd-v7 .storybd-auth-ideas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px;}
.storybd-v7 .storybd-auth-idea{border:3px solid #141414;border-radius:22px;background:rgba(255,255,255,.96);color:#141414;padding:16px;box-shadow:5px 5px 0 #141414;transform:rotate(-1deg);animation:storybdIdeaFloat 4.8s ease-in-out infinite;}
.storybd-v7 .storybd-auth-idea:nth-child(even){transform:rotate(1.4deg);animation-delay:.6s;}
.storybd-v7 .storybd-auth-idea strong{display:block;font-size:1.08rem;font-weight:1000;margin-bottom:4px;}
.storybd-v7 .storybd-auth-idea span{display:block;font-weight:800;font-size:.92rem;line-height:1.25;}
.storybd-v7 .storybd-auth-card{padding:clamp(20px,3vw,34px);align-self:center;}
.storybd-v7 .storybd-auth-bonus{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:10px 14px;border:3px solid #141414;border-radius:999px;background:var(--storybd-yellow,#ffdf44);box-shadow:4px 4px 0 #141414;margin-bottom:16px;font-weight:950;}
.storybd-v7 .storybd-auth-bonus span{font-size:1.35rem;}.storybd-v7 .storybd-auth-bonus strong{color:var(--storybd-rose,#f42279);font-size:1.25rem;}.storybd-v7 .storybd-auth-bonus em{font-style:normal;}
.storybd-v7 .storybd-auth-card h2{font-size:clamp(34px,5vw,54px)!important;line-height:.95!important;margin:0 0 10px!important;color:#141414!important;text-shadow:2px 2px 0 #fff,4px 4px 0 rgba(244,34,121,.25);}
.storybd-v7 .storybd-auth-card p{font-size:1rem!important;font-weight:850;color:#282030!important;}
.storybd-v7 .storybd-google-wrap{margin:18px 0 14px;display:grid;place-items:stretch;}.storybd-v7 .storybd-google-wrap > *{max-width:100%!important;
    max-width:none!important;}
.storybd-v7 .storybd-auth-divider{display:flex;align-items:center;gap:10px;margin:14px 0;font-weight:950;text-transform:uppercase;font-size:.78rem;letter-spacing:.08em;color:#6b5b66;}.storybd-v7 .storybd-auth-divider:before,.storybd-v7 .storybd-auth-divider:after{content:"";height:3px;flex:1;background:#141414;border-radius:999px;opacity:.22;}
.storybd-v7 .storybd-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;}.storybd-v7 .storybd-auth-tabs button{border:3px solid #141414;border-radius:14px;background:#fff;padding:10px 8px;font-weight:950;cursor:pointer;box-shadow:3px 3px 0 #141414;}.storybd-v7 .storybd-auth-tabs button.is-active{background:var(--storybd-rose,#f42279);color:#fff;}
.storybd-v7 .storybd-auth-form{display:none;gap:10px;}.storybd-v7 .storybd-auth-form.is-active{display:grid;}.storybd-v7 .storybd-auth-form label{display:grid;gap:5px;font-weight:950;font-size:.9rem;}.storybd-v7 .storybd-auth-form input{width:100%;box-sizing:border-box;border:3px solid #141414;border-radius:16px;padding:13px 14px;font-size:1rem;font-weight:800;background:#fff;box-shadow:3px 3px 0 #141414;}
.storybd-v7 .storybd-auth-submit{width:100%;justify-content:center;margin-top:6px;}.storybd-v7 .storybd-auth-message{min-height:22px;margin-top:10px;font-weight:900;text-align:center;}.storybd-v7 .storybd-auth-message.is-error{color:#b0003a;}.storybd-v7 .storybd-auth-message.is-success{color:#0b7a33;}.storybd-v7 .storybd-auth-note{display:block;text-align:center;margin-top:8px;font-weight:850;color:#5b4d56;}
@keyframes storybdDotsDrift{to{background-position:48px 48px;}}
@keyframes storybdIdeaFloat{0%,100%{translate:0 0;}50%{translate:0 -7px;}}
@media(max-width:900px){.storybd-v7 .storybd-auth-shell{grid-template-columns:1fr;}.storybd-v7 .storybd-auth-showcase{min-height:auto;}.storybd-v7 .storybd-auth-ideas{grid-template-columns:1fr 1fr;}.storybd-v7.storybd-auth-gate{padding:14px;}}
@media(max-width:560px){.storybd-v7 .storybd-auth-showcase,.storybd-v7 .storybd-auth-card{border-radius:24px;box-shadow:6px 6px 0 #141414;}.storybd-v7 .storybd-auth-ideas{grid-template-columns:1fr;gap:10px;}.storybd-v7 .storybd-auth-tabs{grid-template-columns:1fr;}.storybd-v7 .storybd-auth-bonus{width:100%;justify-content:center;}.storybd-v7 .storybd-auth-showcase h1{font-size:42px!important;}}

/* V7.9.3 onboarding StoryBD premium, isolé UI uniquement */
.storybd-v7.storybd-auth-gate.storybd-auth-premium{--storybd-rose:#F42279;--storybd-ink:#18131f;--storybd-muted:#6d6270;--storybd-line:rgba(24,19,31,.1);min-height:100svh;padding:clamp(14px,3vw,34px);display:block;position:relative;overflow:hidden;background:#fff;color:var(--storybd-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.storybd-v7.storybd-auth-premium *{box-sizing:border-box}.storybd-v7.storybd-auth-premium .storybd-auth-bg{position:absolute;inset:0;background:radial-gradient(circle at 14% 10%,rgba(244,34,121,.13),transparent 30%),radial-gradient(circle at 84% 18%,rgba(244,34,121,.09),transparent 25%),linear-gradient(180deg,#fff,#fff7fb 58%,#fff);pointer-events:none}.storybd-v7.storybd-auth-premium .storybd-auth-bg:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(24,19,31,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(24,19,31,.035) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 88%)}
.storybd-v7.storybd-auth-premium .storybd-auth-shell{position:relative;z-index:1;width:min(1160px,100%);margin:0 auto;display:flex;flex-direction:column;gap:clamp(18px,3vw,28px)}
.storybd-v7.storybd-auth-premium .storybd-auth-card{order:1;width:100%;border:1px solid rgba(244,34,121,.16)!important;border-radius:32px;background:rgba(255,255,255,.9)!important;box-shadow:0 24px 70px rgba(24,19,31,.09)!important;backdrop-filter:blur(18px);padding:clamp(18px,3vw,32px)}
.storybd-v7.storybd-auth-premium .storybd-auth-card-head{display:grid;justify-items:center;text-align:center;gap:8px;margin-bottom:18px}.storybd-v7.storybd-auth-premium .storybd-auth-bonus{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;padding:9px 14px;border:1px solid rgba(244,34,121,.22);border-radius:999px;background:rgba(244,34,121,.08);color:var(--storybd-ink);box-shadow:none;font-weight:850}.storybd-v7.storybd-auth-premium .storybd-auth-bonus span{font-size:1.15rem}.storybd-v7.storybd-auth-premium .storybd-auth-bonus strong{color:var(--storybd-rose);font-size:1rem}.storybd-v7.storybd-auth-premium .storybd-auth-bonus em{font-style:normal;color:var(--storybd-muted);font-weight:750}.storybd-v7.storybd-auth-premium .storybd-auth-mini{color:var(--storybd-rose)!important;font-size:.78rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.storybd-v7.storybd-auth-premium .storybd-auth-card h1{margin:0!important;max-width:760px;font-size:clamp(2.05rem,5.8vw,4.65rem)!important;line-height:.94!important;letter-spacing:-.065em!important;color:var(--storybd-ink)!important;text-shadow:none!important;text-transform:none!important;transform:none!important}.storybd-v7.storybd-auth-premium .storybd-auth-card h1:after{display:none!important}.storybd-v7.storybd-auth-premium .storybd-auth-card p{max-width:560px;margin:0!important;color:var(--storybd-muted)!important;font-size:clamp(1rem,2.2vw,1.22rem)!important;line-height:1.4!important;font-weight:650!important}
.storybd-v7.storybd-auth-premium .storybd-auth-actions{width:min(560px,100%);margin:0 auto;display:grid;gap:12px}.storybd-v7.storybd-auth-premium .storybd-google-wrap{margin:0;display:block;width:100%}.storybd-v7.storybd-auth-premium .storybd-google-wrap > *,.storybd-v7.storybd-auth-premium .storybd-google-wrap a,.storybd-v7.storybd-auth-premium .storybd-google-wrap button{width:100%!important;
    max-width:none!important;max-width:100%!important}.storybd-v7.storybd-auth-premium .storybd-google-wrap a,.storybd-v7.storybd-auth-premium .storybd-google-wrap button,.storybd-v7.storybd-auth-premium .nsl-container-buttons a{min-height:54px!important;border-radius:18px!important;box-shadow:0 12px 26px rgba(24,19,31,.08)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}.storybd-v7.storybd-auth-premium .storybd-google-wrap a:hover,.storybd-v7.storybd-auth-premium .storybd-google-wrap button:hover{transform:translateY(-2px)!important;box-shadow:0 18px 34px rgba(24,19,31,.12)!important}
.storybd-v7.storybd-auth-premium .storybd-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.storybd-v7.storybd-auth-premium .storybd-auth-tabs button{min-height:52px;border:1px solid rgba(24,19,31,.12);border-radius:18px;background:#fff;color:var(--storybd-ink);padding:12px 14px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(24,19,31,.06);transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease,border-color .18s ease}.storybd-v7.storybd-auth-premium .storybd-auth-tabs button:hover{transform:translateY(-1px);border-color:rgba(244,34,121,.35)}.storybd-v7.storybd-auth-premium .storybd-auth-tabs button.is-active{background:var(--storybd-rose);color:#fff;border-color:var(--storybd-rose);box-shadow:0 16px 34px rgba(244,34,121,.28)}
.storybd-v7.storybd-auth-premium .storybd-auth-email-panel{width:min(560px,100%);margin:14px auto 0;padding:14px;border:1px solid var(--storybd-line);border-radius:24px;background:linear-gradient(180deg,#fff,rgba(255,244,249,.72))}.storybd-v7.storybd-auth-premium .storybd-auth-form{display:none;gap:10px}.storybd-v7.storybd-auth-premium .storybd-auth-form.is-active{display:grid}.storybd-v7.storybd-auth-premium .storybd-auth-form label{display:grid;gap:6px;font-weight:850;font-size:.86rem;color:var(--storybd-ink)}.storybd-v7.storybd-auth-premium .storybd-auth-form label span{color:var(--storybd-ink)}.storybd-v7.storybd-auth-premium .storybd-auth-form input{width:100%;border:1px solid rgba(24,19,31,.13)!important;border-radius:16px!important;padding:14px 15px!important;font-size:1rem!important;font-weight:700!important;background:#fff!important;color:var(--storybd-ink)!important;box-shadow:0 8px 18px rgba(24,19,31,.05)!important;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.storybd-v7.storybd-auth-premium .storybd-auth-form input:focus{border-color:var(--storybd-rose)!important;box-shadow:0 0 0 4px rgba(244,34,121,.1)!important}.storybd-v7.storybd-auth-premium .storybd-btn.storybd-auth-submit{width:100%;min-height:54px;justify-content:center;margin-top:4px;border:0!important;border-radius:18px!important;background:var(--storybd-rose)!important;color:#fff!important;box-shadow:0 16px 34px rgba(244,34,121,.32)!important;font-weight:950!important;text-transform:none!important;letter-spacing:0!important}.storybd-v7.storybd-auth-premium .storybd-btn.storybd-auth-submit:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 20px 42px rgba(244,34,121,.38)!important}.storybd-v7.storybd-auth-premium .storybd-auth-submit.is-loading{opacity:.72;cursor:wait}.storybd-v7.storybd-auth-premium .storybd-auth-message{min-height:24px;margin-top:10px;font-weight:850;text-align:center}.storybd-v7.storybd-auth-premium .storybd-auth-message.is-error{color:#b0003a}.storybd-v7.storybd-auth-premium .storybd-auth-message.is-success{color:#08783b}.storybd-v7.storybd-auth-premium .storybd-auth-note{display:block;text-align:center;margin-top:8px;font-weight:750;color:var(--storybd-muted)}
.storybd-v7.storybd-auth-premium .storybd-auth-showcase{order:2;border:0!important;border-radius:32px;background:transparent!important;box-shadow:none!important;color:var(--storybd-ink);padding:0;min-height:auto;overflow:visible;position:relative}.storybd-v7.storybd-auth-premium .storybd-auth-showcase:before{display:none}.storybd-v7.storybd-auth-premium .storybd-auth-showcase-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.storybd-v7.storybd-auth-premium .storybd-kicker{display:inline-flex;width:fit-content;padding:7px 12px;border:1px solid rgba(244,34,121,.2);border-radius:999px;background:rgba(244,34,121,.08);color:var(--storybd-rose)!important;box-shadow:none;font-weight:900;text-transform:uppercase;letter-spacing:.07em;font-size:.76rem}.storybd-v7.storybd-auth-premium .storybd-kicker:after{display:none}.storybd-v7.storybd-auth-premium .storybd-auth-showcase h2{margin:8px 0 0!important;font-size:clamp(1.55rem,3vw,2.45rem)!important;line-height:1!important;letter-spacing:-.05em!important;color:var(--storybd-ink)!important;text-shadow:none!important;text-transform:none!important;transform:none!important}.storybd-v7.storybd-auth-premium .storybd-auth-showcase h2:after{display:none!important}.storybd-v7.storybd-auth-premium .storybd-auth-showcase p{max-width:390px;margin:0!important;color:var(--storybd-muted)!important;font-weight:650!important;line-height:1.35!important;font-size:.98rem!important}
.storybd-v7.storybd-auth-premium .storybd-auth-visual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card{position:relative;overflow:hidden;min-height:310px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid rgba(24,19,31,.1);border-radius:28px;background:#fff;padding:14px;box-shadow:0 18px 44px rgba(24,19,31,.08);transition:transform .24s ease,box-shadow .24s ease}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card:hover{transform:translateY(-6px) rotate(-.35deg);box-shadow:0 26px 58px rgba(24,19,31,.13)}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card strong{position:relative;z-index:2;display:block;margin-top:12px;font-size:1.08rem;font-weight:950;line-height:1.08;color:var(--storybd-ink)}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card em{position:relative;z-index:2;display:block;margin-top:5px;font-style:normal;color:var(--storybd-muted);font-weight:800;font-size:.9rem}.storybd-v7.storybd-auth-premium .storybd-auth-fake-comic{position:absolute;inset:12px 12px 82px;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px;border-radius:22px;background:#fff;box-shadow:inset 0 0 0 1px rgba(24,19,31,.09);animation:storybdCardFloat 5.6s ease-in-out infinite}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card:nth-child(2) .storybd-auth-fake-comic{animation-delay:.45s}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card:nth-child(3) .storybd-auth-fake-comic{animation-delay:.9s}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card:nth-child(4) .storybd-auth-fake-comic{animation-delay:1.35s}.storybd-v7.storybd-auth-premium .storybd-auth-fake-comic span{position:relative;overflow:hidden;border-radius:14px;background:linear-gradient(135deg,#ffe7f1,#fff,#f5f0ff);border:1px solid rgba(24,19,31,.08)}.storybd-v7.storybd-auth-premium .storybd-auth-fake-comic span:before{content:"";position:absolute;left:12%;right:12%;bottom:12%;height:36%;border-radius:18px 18px 10px 10px;background:rgba(244,34,121,.22)}.storybd-v7.storybd-auth-premium .storybd-auth-fake-comic span:after{content:"";position:absolute;left:27%;top:18%;width:36%;aspect-ratio:1;border-radius:999px;background:rgba(24,19,31,.16)}.storybd-v7.storybd-auth-premium .is-birthday{background:linear-gradient(180deg,#fff,#fff1f7)}.storybd-v7.storybd-auth-premium .is-family{background:linear-gradient(180deg,#fff,#f7f3ff)}.storybd-v7.storybd-auth-premium .is-message{background:linear-gradient(180deg,#fff,#fff7ec)}.storybd-v7.storybd-auth-premium .is-gift{background:linear-gradient(180deg,#fff,#efffff)}@keyframes storybdCardFloat{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-5px) rotate(.45deg)}}
@media(max-width:980px){.storybd-v7.storybd-auth-premium .storybd-auth-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card{min-height:290px}}
@media(max-width:720px){.storybd-v7.storybd-auth-gate.storybd-auth-premium{padding:12px}.storybd-v7.storybd-auth-premium .storybd-auth-card{border-radius:26px;padding:18px}.storybd-v7.storybd-auth-premium .storybd-auth-tabs{grid-template-columns:1fr}.storybd-v7.storybd-auth-premium .storybd-auth-showcase-head{display:grid;align-items:start}.storybd-v7.storybd-auth-premium .storybd-auth-showcase p{max-width:none}}
@media(max-width:560px){.storybd-v7.storybd-auth-premium .storybd-auth-card h1{font-size:2.35rem!important}.storybd-v7.storybd-auth-premium .storybd-auth-bonus{width:100%}.storybd-v7.storybd-auth-premium .storybd-auth-visual-grid{grid-template-columns:1fr;gap:12px}.storybd-v7.storybd-auth-premium .storybd-auth-visual-card{min-height:270px;border-radius:24px}.storybd-v7.storybd-auth-premium .storybd-auth-fake-comic{inset:10px 10px 76px}}

/* StoryBD V8 · personnages par photo */
.storybd-v7 .storybd-character-photo-lab{
  margin:18px 0 16px;
  padding:16px;
  border:1px solid rgba(244,34,121,.16);
  border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#fff6fa 100%);
  box-shadow:0 14px 34px rgba(20,28,44,.07);
}
.storybd-v7 .storybd-character-photo-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.storybd-v7 .storybd-character-photo-head strong{
  display:block;
  color:#141c2c;
  font-size:1rem;
}
.storybd-v7 .storybd-character-photo-head span{
  display:block;
  margin-top:3px;
  color:rgba(20,28,44,.62);
  font-size:.86rem;
}
.storybd-v7 .storybd-character-add{
  width:auto;
  min-width:180px;
  padding:12px 16px;
  border-radius:999px;
  background:#F42279;
  color:#fff;
  box-shadow:0 12px 26px rgba(244,34,121,.24);
}
.storybd-v7 .storybd-character-photo-list{
  display:grid;
  gap:14px;
}
.storybd-v7 .storybd-character-photo-empty{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border:1px dashed rgba(244,34,121,.34);
  border-radius:20px;
  color:rgba(20,28,44,.66);
  background:rgba(255,255,255,.72);
}
.storybd-v7 .storybd-character-photo-empty span{font-size:1.7rem;}
.storybd-v7 .storybd-character-photo-empty p{margin:0;font-size:.94rem;}
.storybd-v7 .storybd-character-photo-card{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:14px;
  padding:12px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(20,28,44,.08);
  box-shadow:0 10px 24px rgba(20,28,44,.06);
}
.storybd-v7 .storybd-character-file input{display:none;}
.storybd-v7 .storybd-character-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1/1.16;
  border-radius:20px;
  overflow:hidden;
  background:radial-gradient(circle at 30% 20%,rgba(244,34,121,.18),transparent 45%),linear-gradient(135deg,#f7f4f8,#ffffff);
  border:1px dashed rgba(244,34,121,.3);
  cursor:pointer;
}
.storybd-v7 .storybd-character-preview em{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  color:#F42279;
  background:#fff;
  font-size:1.8rem;
  font-style:normal;
  box-shadow:0 8px 18px rgba(20,28,44,.12);
}
.storybd-v7 .storybd-character-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.storybd-v7 .storybd-character-fields{
  display:grid;
  gap:10px;
}
.storybd-v7 .storybd-character-fields input,
.storybd-v7 .storybd-character-fields textarea{
  width:100%;
  border:1px solid rgba(20,28,44,.12);
  background:#fff;
  border-radius:16px;
  padding:12px 14px;
  color:#141c2c;
  outline:none;
  box-sizing:border-box;
}
.storybd-v7 .storybd-character-fields textarea{
  min-height:96px;
  resize:vertical;
}
.storybd-v7 .storybd-character-fields input:focus,
.storybd-v7 .storybd-character-fields textarea:focus{
  border-color:#F42279;
  box-shadow:0 0 0 4px rgba(244,34,121,.10);
}
.storybd-v7 .storybd-character-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.storybd-v7 .storybd-character-analyze{
  width:auto;
  padding:11px 16px;
  border-radius:999px;
  background:#141c2c;
  color:#fff;
}
.storybd-v7 .storybd-character-analyze:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.storybd-v7 .storybd-character-remove{
  border:0;
  background:transparent;
  color:rgba(20,28,44,.58);
  font-weight:700;
  cursor:pointer;
  padding:8px 4px;
}
.storybd-v7 .storybd-character-remove:hover{color:#F42279;}
.storybd-v7 .storybd-character-status{
  color:rgba(20,28,44,.58);
  font-size:.82rem;
  line-height:1.35;
}
.storybd-v7 .storybd-character-photo-summaries{display:none;}

@media (max-width:720px){
  .storybd-v7 .storybd-character-photo-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .storybd-v7 .storybd-character-add{width:100%;min-width:0;}
  .storybd-v7 .storybd-character-photo-card{
    grid-template-columns:1fr;
  }
  .storybd-v7 .storybd-character-preview{
    aspect-ratio:16/10;
  }
}

/* StoryBD V8.0.1 - Auth UI Divi-friendly, comic style, no Google shortcode restyling */
.storybd-v7.storybd-auth-comic-lite{
  --storybd-rose:#F42279;
  --storybd-ink:#141414;
  --storybd-yellow:#ffdf44;
  --storybd-paper:#fffaf2;
  min-height:100svh;
  padding:clamp(16px,4vw,34px);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fff 0%,#fff8fc 52%,#fff4cf 100%);
  color:var(--storybd-ink);
}
.storybd-v7.storybd-auth-comic-lite.storybd-auth-shortcode{
  min-height:0;
  padding:0;
  background:transparent;
  overflow:visible;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 14%,rgba(244,34,121,.16),transparent 24%),
    radial-gradient(circle at 92% 12%,rgba(255,223,68,.36),transparent 26%),
    radial-gradient(rgba(20,20,20,.10) 1px,transparent 1px);
  background-size:auto,auto,13px 13px;
  pointer-events:none;
}
.storybd-v7.storybd-auth-comic-lite.storybd-auth-shortcode .storybd-auth-bg{display:none;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-shell{
  position:relative;
  z-index:1;
  width:min(520px,100%);
  display:block;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-card{
  border:4px solid var(--storybd-ink)!important;
  border-radius:28px!important;
  background:#fff!important;
  box-shadow:9px 9px 0 var(--storybd-ink)!important;
  padding:clamp(18px,4vw,30px)!important;
  position:relative;
  overflow:hidden;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-card:before{
  content:"BD";
  position:absolute;
  right:18px;
  top:14px;
  font-weight:1000;
  font-size:48px;
  letter-spacing:-.1em;
  color:rgba(244,34,121,.10);
  transform:rotate(7deg);
  pointer-events:none;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-card-head{position:relative;z-index:1;display:grid;gap:10px;margin-bottom:16px;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-bonus{
  width:fit-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border:3px solid var(--storybd-ink);
  border-radius:999px;
  background:var(--storybd-yellow);
  box-shadow:4px 4px 0 var(--storybd-ink);
  font-weight:950;
  line-height:1;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-bonus strong{color:var(--storybd-rose);font-size:1.08em;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-bonus em{font-style:normal;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-mini{
  width:fit-content;
  padding:5px 10px;
  border:2px solid rgba(20,20,20,.16);
  border-radius:999px;
  background:#fff7fb;
  color:var(--storybd-rose);
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-card h1{
  margin:0!important;
  color:var(--storybd-ink)!important;
  font-size:clamp(2.05rem,6vw,3.35rem)!important;
  line-height:.92!important;
  letter-spacing:-.06em!important;
  text-shadow:2px 2px 0 #fff,4px 4px 0 rgba(244,34,121,.22)!important;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-card p{
  margin:0!important;
  color:#3a2e37!important;
  font-size:1rem!important;
  line-height:1.35!important;
  font-weight:800!important;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-actions{display:grid;gap:12px;margin-top:8px;}
.storybd-v7.storybd-auth-comic-lite .storybd-google-wrap{
  margin:0 auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-tabs button{
  min-height:48px;
  border:3px solid var(--storybd-ink)!important;
  border-radius:16px!important;
  background:#fff!important;
  color:var(--storybd-ink)!important;
  box-shadow:3px 3px 0 var(--storybd-ink)!important;
  padding:10px 12px!important;
  font-weight:950!important;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-tabs button:hover{transform:translateY(-1px);box-shadow:4px 5px 0 var(--storybd-ink)!important;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-tabs button.is-active{background:var(--storybd-rose)!important;color:#fff!important;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-email-panel{
  margin-top:12px;
  padding:14px;
  border:2px solid rgba(20,20,20,.12);
  border-radius:20px;
  background:var(--storybd-paper);
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-form{display:none;gap:10px;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-form.is-active{display:grid;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-form label{display:grid;gap:6px;font-weight:950;font-size:.88rem;color:var(--storybd-ink);}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-form input{
  width:100%;
  border:2px solid rgba(20,20,20,.16)!important;
  border-radius:15px!important;
  background:#fff!important;
  padding:13px 14px!important;
  color:var(--storybd-ink)!important;
  font-size:1rem!important;
  font-weight:750!important;
  box-shadow:inset 0 -2px 0 rgba(20,20,20,.04)!important;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-form input:focus{outline:none;border-color:var(--storybd-rose)!important;box-shadow:0 0 0 4px rgba(244,34,121,.12)!important;}
.storybd-v7.storybd-auth-comic-lite .storybd-btn.storybd-auth-submit{
  width:100%;
  min-height:52px;
  justify-content:center;
  border:3px solid var(--storybd-ink)!important;
  border-radius:16px!important;
  background:var(--storybd-rose)!important;
  color:#fff!important;
  box-shadow:4px 4px 0 var(--storybd-ink)!important;
  font-weight:1000!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.storybd-v7.storybd-auth-comic-lite .storybd-btn.storybd-auth-submit:hover{transform:translateY(-2px);box-shadow:5px 6px 0 var(--storybd-ink)!important;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-message{min-height:24px;margin-top:10px;text-align:center;font-weight:850;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-message.is-error{color:#b0003a;}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-message.is-success{color:#08783b;}
@media(max-width:560px){
  .storybd-v7.storybd-auth-comic-lite{padding:12px;}
  .storybd-v7.storybd-auth-comic-lite.storybd-auth-shortcode{padding:0;}
  .storybd-v7.storybd-auth-comic-lite .storybd-auth-card{border-radius:24px!important;box-shadow:6px 6px 0 var(--storybd-ink)!important;}
  .storybd-v7.storybd-auth-comic-lite .storybd-auth-tabs{grid-template-columns:1fr;}
  .storybd-v7.storybd-auth-comic-lite .storybd-auth-bonus{width:100%;justify-content:center;text-align:center;}
}

/* StoryBD V8.0.3 - analyse personnage automatique */
.storybd-v7 .storybd-character-photo-card.is-analyzing{position:relative;}
.storybd-v7 .storybd-character-photo-card.is-analyzing .storybd-character-preview{opacity:.72;}
.storybd-v7 .storybd-character-photo-card.is-analyzing .storybd-character-preview:after{content:"";position:absolute;width:34px;height:34px;border-radius:50%;border:3px solid rgba(244,34,121,.22);border-top-color:#F42279;animation:storybdSpin .85s linear infinite;}
.storybd-v7 .storybd-character-status.is-loading{color:#F42279;font-weight:850;}
.storybd-v7 .storybd-character-status.is-loading:before{content:"\2728  ";}
.storybd-v7 .storybd-character-analyze{display:none!important;}
@keyframes storybdSpin{to{transform:rotate(360deg);}}

/* V8.0.4 - Result preview / HD upsell, scoped StoryBD only */
.storybd-v7 .storybd-result-actions{align-items:stretch;gap:10px;max-width:440px}
.storybd-v7 .storybd-result-actions .storybd-btn{width:100%;text-align:center;white-space:normal;line-height:1.15}
.storybd-v7 .storybd-hd-main{background:var(--sbd-pink)!important;color:#fff!important;font-size:17px!important;padding:18px 24px!important;box-shadow:7px 7px 0 var(--sbd-ink)!important;transform:rotate(-.3deg)}
.storybd-v7 .storybd-hd-main:hover{transform:translate(-1px,-1px) rotate(-.3deg)}
.storybd-v7 .storybd-secondary-action{background:#fff!important;color:var(--sbd-ink)!important;font-size:14px!important;padding:12px 18px!important}
.storybd-v7 .storybd-secondary-action small{display:inline;font-size:11px;font-weight:900;opacity:.78}
.storybd-v7 .storybd-ghost-action{background:#fff7d6!important;color:var(--sbd-ink)!important;font-size:13px!important;padding:10px 16px!important;box-shadow:3px 3px 0 var(--sbd-ink)!important}
.storybd-v7 .storybd-preview-frame{position:relative;width:100%;max-width:980px;margin:0 auto;display:block;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.storybd-v7 .storybd-preview-frame:after{content:"Aperçu Comixio";position:absolute;right:18px;bottom:18px;border:2px solid var(--sbd-ink);border-radius:999px;background:rgba(255,255,255,.82);color:var(--sbd-ink);font-weight:950;font-size:12px;padding:8px 12px;box-shadow:3px 3px 0 var(--sbd-ink);pointer-events:none}
.storybd-v7 .storybd-preview-shield{position:absolute;inset:0;z-index:3;background:transparent;border-radius:28px;display:block;-webkit-touch-callout:none;user-select:none}
.storybd-v7 .storybd-library-image-wrap{position:relative;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.storybd-v7 .storybd-library-image-wrap .storybd-preview-shield{border-radius:16px}
.storybd-v7 #storybd-result-image{pointer-events:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.storybd-v7 .storybd-hd-card h2{font-size:clamp(30px,5vw,54px);line-height:1;margin:14px 0 8px;font-weight:950;letter-spacing:-.04em}
.storybd-v7 .storybd-hd-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.storybd-v7 .storybd-hd-option{border:3px solid var(--sbd-ink);border-radius:22px;background:#fffdf4;padding:18px;text-align:left;box-shadow:4px 4px 0 var(--sbd-ink);cursor:pointer;transition:.15s}
.storybd-v7 .storybd-hd-option:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 var(--sbd-ink);background:var(--sbd-yellow)}
.storybd-v7 .storybd-hd-option strong{display:block;font-size:17px;font-weight:950;color:var(--sbd-ink)}
.storybd-v7 .storybd-hd-option span{display:block;margin-top:6px;font-size:13px;font-weight:800;color:var(--sbd-muted)}
@media(max-width:760px){.storybd-v7 .storybd-result-actions{max-width:none;width:100%}.storybd-v7 .storybd-hd-options{grid-template-columns:1fr}.storybd-v7 .storybd-preview-frame:after{right:12px;bottom:12px;font-size:11px}}

/* V8.0.5 - corrections ciblées UI / hiérarchie / modales */
.storybd-v7 .storybd-style-tile img{filter:none!important;opacity:1!important;}
.storybd-v7 .storybd-style-overlay{background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(0,0,0,.42) 100%)!important;}
.storybd-v7 .storybd-style-label{background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.92))!important;text-shadow:none!important;padding:18px!important;}
.storybd-v7 .storybd-style-label strong{color:var(--sbd-ink,#141C2C)!important;background:#fff;border:3px solid var(--sbd-ink,#141C2C);border-radius:999px;display:inline-block;padding:7px 12px;box-shadow:3px 3px 0 var(--sbd-ink,#141C2C);line-height:1.05;}
.storybd-v7 .storybd-style-label em{display:none!important;}
.storybd-v7 .storybd-download-ico{display:none!important;}
.storybd-v7 .storybd-modal{z-index:2147483000!important;}
.storybd-v7 .storybd-modal-card{z-index:2147483001!important;}
.storybd-v7 .storybd-hd-main,
.storybd-v7 .storybd-library-actions .storybd-hd-main{background:var(--sbd-pink,#F42279)!important;color:#fff!important;border-color:var(--sbd-ink,#141C2C)!important;box-shadow:7px 7px 0 var(--sbd-ink,#141C2C)!important;}
.storybd-v7 .storybd-secondary-action,
.storybd-v7 .storybd-library-actions .storybd-secondary-action,
.storybd-v7 .storybd-open-mods-main{background:#fff!important;color:var(--sbd-ink,#141C2C)!important;border-color:var(--sbd-ink,#141C2C)!important;box-shadow:5px 5px 0 var(--sbd-ink,#141C2C)!important;}
.storybd-v7 .storybd-ghost-action,
.storybd-v7 .storybd-library-actions .storybd-ghost-action,
.storybd-v7 .storybd-download-main{background:#fff7d6!important;color:var(--sbd-ink,#141C2C)!important;border-color:var(--sbd-ink,#141C2C)!important;box-shadow:3px 3px 0 var(--sbd-ink,#141C2C)!important;font-size:14px!important;padding:11px 16px!important;}
.storybd-v7 .storybd-library-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
.storybd-v7 .storybd-library-actions .storybd-btn{width:100%!important;
    max-width:none!important;justify-content:center!important;text-align:center!important;}
.storybd-v7 .storybd-result-actions{display:grid!important;grid-template-columns:1fr!important;}

/* V8.0.6 - Correctif page résultat uniquement + upsell produits */
.storybd-v7 .storybd-result-step .storybd-preview-frame{
  max-width:900px!important;
  margin:22px auto 0!important;
  position:relative!important;
}
.storybd-v7 .storybd-result-step #storybd-result-image{
  width:100%!important;
    max-width:none!important;
  max-width:900px!important;
  display:block!important;
  border-radius:26px!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
  -webkit-touch-callout:none!important;
  pointer-events:none!important;
}
.storybd-v7 .storybd-result-step .storybd-preview-shield{
  position:absolute!important;
  inset:0!important;
  z-index:8!important;
  background:transparent!important;
  border-radius:26px!important;
  pointer-events:auto!important;
  -webkit-touch-callout:none!important;
}
.storybd-v7 .storybd-result-step .storybd-hd-main,
.storybd-v7 #storybd-open-hd-options{
  background:#F42279!important;
  color:#fff!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
  box-shadow:4px 4px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-result-step .storybd-secondary-action,
.storybd-v7 #storybd-open-mods{
  background:#fff!important;
  color:var(--sbd-ink,#141C2C)!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
  box-shadow:3px 3px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-result-step .storybd-download-main,
.storybd-v7 #storybd-download{
  background:#fff7d6!important;
  color:var(--sbd-ink,#141C2C)!important;
  border:2px solid rgba(20,28,44,.22)!important;
  box-shadow:none!important;
}
.storybd-v7 .storybd-upsell{
  max-width:1040px;
  margin:28px auto 0;
  padding:24px;
  border:3px solid var(--sbd-ink,#141C2C);
  border-radius:28px;
  background:linear-gradient(180deg,#fff,#fff8d9);
  box-shadow:7px 7px 0 rgba(20,28,44,.12);
}
.storybd-v7 .storybd-upsell-intro{text-align:center;margin-bottom:20px;}
.storybd-v7 .storybd-upsell-intro h3{margin:6px 0 8px;font-size:clamp(24px,3vw,36px);line-height:1.05;color:var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-upsell-intro p{margin:0;color:rgba(20,28,44,.75);font-weight:750;}
.storybd-v7 .storybd-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;}
.storybd-v7 .storybd-product-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:20px;border:2px solid rgba(20,28,44,.18);border-radius:22px;background:#fff;box-shadow:3px 3px 0 rgba(20,28,44,.10);}
.storybd-v7 .storybd-product-visual{width:100%;aspect-ratio:4/3;border-radius:18px;overflow:hidden;border:2px solid rgba(20,28,44,.12);background:linear-gradient(135deg,rgba(255,216,77,.18),rgba(62,219,255,.14));box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);}
.storybd-v7 .storybd-product-visual img{display:block;width:100%;height:100%;object-fit:cover;}
.storybd-v7 .storybd-product-card.is-featured .storybd-product-visual{border-color:rgba(244,34,121,.35);}
.storybd-v7 .storybd-product-card.is-featured{border:3px solid #F42279;transform:translateY(-4px);box-shadow:5px 5px 0 var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-product-card h4{margin:0;font-size:20px;line-height:1.1;color:var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-product-card p{margin:0;color:rgba(20,28,44,.70);font-weight:650;font-size:14px;line-height:1.35;}
.storybd-v7 .storybd-price{display:block;margin-top:auto;font-size:24px;color:var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-badge{align-self:flex-start;background:#FFD84D;color:var(--sbd-ink,#141C2C);font-weight:950;border:2px solid var(--sbd-ink,#141C2C);border-radius:999px;padding:6px 10px;font-size:12px;box-shadow:2px 2px 0 var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-cta{width:100%;appearance:none;border:3px solid var(--sbd-ink,#141C2C);border-radius:16px;background:#F42279;color:#fff;font-weight:950;padding:12px 14px;cursor:pointer;box-shadow:3px 3px 0 var(--sbd-ink,#141C2C);transition:transform .16s ease,box-shadow .16s ease;}
.storybd-v7 .storybd-cta:hover{transform:translateY(-2px);box-shadow:5px 5px 0 var(--sbd-ink,#141C2C);}
@media(max-width:860px){.storybd-v7 .storybd-product-grid{grid-template-columns:1fr}.storybd-v7 .storybd-product-card.is-featured{transform:none}.storybd-v7 .storybd-upsell{padding:18px;border-radius:22px}}

/* V8.0.7 - corrections ciblées résultat, loader 2m20, popup hors header */
.storybd-modal-portal{position:relative!important;z-index:2147483640!important;}
.storybd-modal-portal .storybd-modal{position:fixed!important;inset:0!important;z-index:2147483641!important;isolation:isolate!important;}
.storybd-modal-portal .storybd-modal.is-open{display:flex!important;align-items:center!important;justify-content:center!important;}
.storybd-modal-portal .storybd-modal-card{position:relative!important;z-index:2147483642!important;max-height:92vh!important;overflow:auto!important;}
.storybd-modal-portal .storybd-hd-card{width:min(1080px,calc(100vw - 28px))!important;padding:18px!important;}
.storybd-modal-portal .storybd-upsell-modal{margin:0!important;max-width:100%!important;
    max-width:none!important;box-shadow:none!important;}
.storybd-v7 .storybd-result-step #storybd-open-hd-options{background:#F42279!important;color:#fff!important;}
.storybd-v7 .storybd-result-step #storybd-open-mods{background:#fff!important;color:#141C2C!important;}
.storybd-v7 .storybd-style-tile img{filter:brightness(1.05) contrast(1.05)!important;}
.storybd-v7 .storybd-style-overlay{background:linear-gradient(180deg,rgba(0,0,0,0) 52%,rgba(0,0,0,.30) 100%)!important;}

/* V8.1.0 - Loader engagement léger + achat crédits uniquement à zéro */
.storybd-v7 .storybd-loader-reading,
.storybd-v7 .storybd-loader-info,
.storybd-v7 .storybd-loader-weather,
.storybd-v7 .storybd-loader-news,
.storybd-v7 .storybd-buy-credits{
  box-sizing:border-box;
}
.storybd-v7 .storybd-loader-reading-preview{
  margin-top:16px;
  padding:14px 16px;
  border:2px dashed rgba(20,28,44,.22);
  border-radius:18px;
  background:rgba(255,216,77,.18);
  color:var(--sbd-ink,#141C2C);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.storybd-v7 .storybd-loader-reading-preview strong{font-weight:950;}
.storybd-v7 .storybd-loader-reading-preview span{font-size:13px;font-weight:700;color:rgba(20,28,44,.68);line-height:1.35;}
.storybd-v7 .storybd-loader-info{
  margin-top:18px;
  padding:16px;
  border:2px solid rgba(20,28,44,.16);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,248,217,.94));
  box-shadow:4px 4px 0 rgba(20,28,44,.08);
}
.storybd-v7 .storybd-loader-info .storybd-loader-reading{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:12px;
  color:var(--sbd-ink,#141C2C);
}
.storybd-v7 .storybd-loader-info .storybd-loader-reading strong{font-size:16px;font-weight:950;}
.storybd-v7 .storybd-loader-info .storybd-loader-reading span{font-size:13px;font-weight:700;color:rgba(20,28,44,.68);}
.storybd-v7 .storybd-loader-progress-lines{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 14px;
}
.storybd-v7 .storybd-loader-progress-lines span{
  display:inline-flex;
  align-items:center;
  border:2px solid rgba(20,28,44,.14);
  border-radius:999px;
  padding:7px 10px;
  background:#fff;
  font-size:12px;
  font-weight:900;
  color:rgba(20,28,44,.78);
}
.storybd-v7 .storybd-loader-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.storybd-v7 .storybd-loader-weather,
.storybd-v7 .storybd-loader-news{
  min-height:116px;
  padding:14px;
  border:2px solid rgba(20,28,44,.14);
  border-radius:18px;
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:6px;
  text-align:left;
}
.storybd-v7 .storybd-loader-weather small,
.storybd-v7 .storybd-loader-news small{
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#F42279;
}
.storybd-v7 .storybd-loader-weather strong,
.storybd-v7 .storybd-loader-news strong{
  font-size:15px;
  line-height:1.15;
  color:var(--sbd-ink,#141C2C);
}
.storybd-v7 .storybd-loader-weather span,
.storybd-v7 .storybd-loader-news span{
  font-size:12px;
  line-height:1.35;
  font-weight:700;
  color:rgba(20,28,44,.66);
}
.storybd-v7 .storybd-buy-credits{
  margin-top:10px;
  padding:12px;
  border:2px solid var(--sbd-ink,#141C2C);
  border-radius:18px;
  background:#fff8d9;
  box-shadow:3px 3px 0 rgba(20,28,44,.16);
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-start;
}
.storybd-v7 .storybd-buy-credits .storybd-credit-buy{font-weight:900;color:var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-buy-credits small{font-size:11px;line-height:1.35;color:rgba(20,28,44,.62);font-weight:700;}
.storybd-v7 .storybd-buy-credits-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 14px;
  border:3px solid var(--sbd-ink,#141C2C);
  border-radius:999px;
  background:#F42279;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:950;
  box-shadow:3px 3px 0 var(--sbd-ink,#141C2C);
  transition:transform .16s ease,box-shadow .16s ease;
}
.storybd-v7 .storybd-buy-credits-btn:hover{transform:translateY(-2px);box-shadow:5px 5px 0 var(--sbd-ink,#141C2C);}
@media(max-width:760px){
  .storybd-v7 .storybd-loader-info-grid{grid-template-columns:1fr;}
  .storybd-v7 .storybd-loader-progress-lines{display:grid;grid-template-columns:1fr;}
}

/* V8.1.1 - corrections loader météo/actu + recharge crédits à zéro */
.storybd-v7 .storybd-buy-credits{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:8px 0 0!important;
  margin-top:10px!important;
  gap:7px!important;
}
.storybd-v7 .storybd-buy-credits[hidden]{display:none!important;}
.storybd-v7 .storybd-buy-credits .storybd-credit-buy{
  color:#F42279!important;
  font-weight:950!important;
  line-height:1.25!important;
}
.storybd-v7 .storybd-buy-credits small{font-size:11px!important;color:rgba(20,28,44,.62)!important;}
.storybd-v7 .storybd-buy-credits-btn{
  background:#F42279!important;
  color:#fff!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-buy-credits-btn.is-disabled{opacity:.65;cursor:not-allowed;}
.storybd-v7 .storybd-loader-info{background:linear-gradient(180deg,#fff,#fff9df)!important;}
.storybd-v7 .storybd-loader-info-grid{grid-template-columns:minmax(260px,.85fr) minmax(280px,1.15fr)!important;align-items:start;}
.storybd-v7 .storybd-loader-weather,.storybd-v7 .storybd-loader-news{gap:9px!important;}
.storybd-v7 .storybd-weather-map{
  position:relative;
  width:min(210px,100%);
  height:215px;
  margin:8px auto 4px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(62,219,255,.12),rgba(255,216,77,.16));
  border:2px solid rgba(20,28,44,.12);
  overflow:hidden;
}
.storybd-v7 .storybd-weather-map svg{position:absolute;inset:11px 14px;width:calc(100% - 28px);height:calc(100% - 22px);}
.storybd-v7 .storybd-weather-map path{fill:rgba(255,216,77,.72);stroke:#141C2C;stroke-width:4;stroke-linejoin:round;}
.storybd-v7 .storybd-weather-dot{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:999px;background:#fff;border:2px solid #141C2C;box-shadow:2px 2px 0 rgba(20,28,44,.18);display:flex;align-items:center;justify-content:center;}
.storybd-v7 .storybd-weather-dot em{font-style:normal;font-size:11px;font-weight:950;color:#F42279;}
.storybd-v7 .storybd-weather-list{list-style:none;margin:8px 0 0!important;padding:0!important;display:grid;gap:7px;}
.storybd-v7 .storybd-weather-list li{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid rgba(20,28,44,.09);font-size:12px;line-height:1.25;}
.storybd-v7 .storybd-weather-list b{color:#141C2C;white-space:nowrap;}
.storybd-v7 .storybd-weather-list span{font-size:16px!important;color:rgba(20,28,44,.68)!important;text-align:right;}
.storybd-v7 .storybd-news-image{width:100%;max-height:210px;object-fit:cover;border-radius:16px;border:2px solid rgba(20,28,44,.12);}
.storybd-v7 .storybd-loader-news p{margin:0!important;font-size:13px!important;line-height:1.52!important;font-weight:650!important;color:rgba(20,28,44,.76)!important;max-height:360px;overflow:auto;padding-right:4px;}
.storybd-v7 .storybd-loader-news p::-webkit-scrollbar{width:6px;}
.storybd-v7 .storybd-loader-news p::-webkit-scrollbar-thumb{background:rgba(20,28,44,.18);border-radius:99px;}
@media(max-width:760px){.storybd-v7 .storybd-loader-info-grid{grid-template-columns:1fr!important}.storybd-v7 .storybd-weather-map{height:205px}.storybd-v7 .storybd-weather-list li{flex-direction:column}.storybd-v7 .storybd-weather-list span{text-align:left!important}}

/* V8.1.3 - Pop-up mobile-first après paiement PDF HD */
.storybd-v7.storybd-pdf-success-wrap{position:relative;z-index:999999;}
.storybd-v7 .storybd-pdf-modal-overlay{position:fixed;inset:0;z-index:999999;min-height:100dvh;padding:18px;display:flex;align-items:center;justify-content:center;background:rgba(20,28,44,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}
.storybd-v7 .storybd-pdf-modal{position:relative;width:min(520px,100%);max-height:calc(100dvh - 28px);overflow:auto;padding:28px 22px 22px;border:4px solid var(--sbd-ink,#141C2C);border-radius:28px;background:linear-gradient(180deg,#fff8d9 0%,#ffffff 58%,#eefbff 100%);box-shadow:8px 8px 0 var(--sbd-ink,#141C2C),0 20px 80px rgba(20,28,44,.22);text-align:center;}
.storybd-v7 .storybd-pdf-close{position:absolute;top:12px;right:12px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:3px solid var(--sbd-ink,#141C2C);border-radius:999px;background:#fff;color:var(--sbd-ink,#141C2C)!important;text-decoration:none!important;font-size:26px;line-height:1;font-weight:950;box-shadow:3px 3px 0 rgba(20,28,44,.18);}
.storybd-v7 .storybd-pdf-badge{display:inline-flex;align-items:center;justify-content:center;margin:0 auto 12px;padding:8px 14px;border:3px solid var(--sbd-ink,#141C2C);border-radius:999px;background:#FFD84D;color:var(--sbd-ink,#141C2C);box-shadow:3px 3px 0 rgba(20,28,44,.18);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.02em;}
.storybd-v7 .storybd-pdf-icon{width:74px;height:74px;margin:4px auto 12px;display:flex;align-items:center;justify-content:center;border:4px solid var(--sbd-ink,#141C2C);border-radius:24px;background:#fff;box-shadow:5px 5px 0 #3EDBFF;font-size:36px;}
.storybd-v7 .storybd-pdf-modal h2{margin:0 0 10px!important;color:var(--sbd-ink,#141C2C)!important;font-size:clamp(28px,8vw,44px)!important;line-height:.98!important;font-weight:950!important;letter-spacing:-.04em;text-shadow:2px 2px 0 #FFD84D;}
.storybd-v7 .storybd-pdf-modal p{margin:0 auto 18px!important;max-width:430px;color:rgba(20,28,44,.78)!important;font-size:15px!important;line-height:1.5!important;font-weight:750!important;}
.storybd-v7 .storybd-pdf-download{width:100%;min-height:58px;display:flex;align-items:center;justify-content:center;margin:18px 0 12px;padding:15px 18px;border:4px solid var(--sbd-ink,#141C2C);border-radius:18px;background:#F42279;color:#fff!important;text-decoration:none!important;box-shadow:6px 6px 0 var(--sbd-ink,#141C2C);font-size:17px;font-weight:950;text-transform:uppercase;transition:transform .16s ease,box-shadow .16s ease;}
.storybd-v7 .storybd-pdf-download:hover{transform:translateY(-2px);box-shadow:8px 8px 0 var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-pdf-mini-note{margin:12px 0 10px;padding:12px 14px;border:2px dashed rgba(20,28,44,.32);border-radius:16px;background:rgba(255,255,255,.72);color:rgba(20,28,44,.72);font-size:13px;line-height:1.4;font-weight:750;}
.storybd-v7 .storybd-pdf-secondary{display:inline-flex;align-items:center;justify-content:center;margin-top:4px;color:var(--sbd-ink,#141C2C)!important;text-decoration:underline!important;font-size:13px;font-weight:900;}
@media(max-width:540px){.storybd-v7 .storybd-pdf-modal-overlay{align-items:flex-end;padding:12px;}.storybd-v7 .storybd-pdf-modal{width:100%;border-radius:24px 24px 20px 20px;padding:24px 16px 18px;box-shadow:5px 5px 0 var(--sbd-ink,#141C2C),0 18px 70px rgba(20,28,44,.24);}.storybd-v7 .storybd-pdf-icon{width:64px;height:64px;font-size:31px;}.storybd-v7 .storybd-pdf-download{min-height:62px;font-size:15px;border-radius:16px;}}

/* V8.1.9 - Blocage doux de la création quand le solde crédits est insuffisant */
.storybd-credit-gate-message{
  margin:8px 0 10px;
  font-size:13px;
  line-height:1.45;
  color:#fff;
  opacity:.95;
}
.storybd-credit-panel-pulse{
  animation: storybdCreditPanelPulse 1.2s ease-in-out 1;
}
@keyframes storybdCreditPanelPulse{
  0%,100%{ transform:translateY(0) scale(1); box-shadow:inherit; }
  35%{ transform:translateY(-2px) scale(1.015); box-shadow:0 0 0 4px rgba(244,34,121,.22), 0 18px 45px rgba(244,34,121,.28); }
}

/* V8.2.1 - Loader Snack BD léger + classements */
.storybd-v7 .storybd-loader-info,
.storybd-v7 .storybd-loader-weather,
.storybd-v7 .storybd-loader-news{display:none!important;}
.storybd-v7 .storybd-loader-studio{grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr)!important;align-items:stretch!important;}
.storybd-v7 .storybd-snake-game{position:relative;min-height:360px;border:4px solid var(--sbd-ink,#141C2C);border-radius:28px;background:radial-gradient(circle at 20% 10%,rgba(255,216,77,.55),transparent 34%),linear-gradient(180deg,#ffffff,#fff7d6);box-shadow:7px 7px 0 var(--sbd-ink,#141C2C);padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;touch-action:none;outline:none;overflow:hidden;}
.storybd-v7 .storybd-snake-game:before{content:"";position:absolute;inset:-35%;background:repeating-radial-gradient(circle,rgba(20,28,44,.06) 0 2px,transparent 2px 12px);transform:rotate(-8deg);pointer-events:none;}
.storybd-v7 .storybd-snake-topline{position:relative;z-index:1;width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:950;color:#141C2C;}
.storybd-v7 .storybd-snake-topline strong{font-size:18px;letter-spacing:-.03em;}
.storybd-v7 .storybd-snake-topline span{border:3px solid #141C2C;border-radius:999px;background:#FFD84D;padding:6px 10px;box-shadow:3px 3px 0 #141C2C;font-size:13px;}
.storybd-v7 #storybd-snake-canvas{position:relative;z-index:1;width:min(288px,100%);height:auto;border:4px solid #141C2C;border-radius:20px;box-shadow:5px 5px 0 #141C2C;background:#fff7d6;image-rendering:pixelated;}
.storybd-v7 .storybd-snake-controls{position:relative;z-index:1;display:grid;gap:5px;place-items:center;}
.storybd-v7 .storybd-snake-controls div{display:flex;gap:5px;}
.storybd-v7 .storybd-snake-controls button{width:42px;height:36px;border:3px solid #141C2C;border-radius:12px;background:#fff;color:#141C2C;font-weight:950;box-shadow:3px 3px 0 #141C2C;cursor:pointer;line-height:1;}
.storybd-v7 .storybd-snake-controls button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 #141C2C;}
.storybd-v7 .storybd-game-hint{position:relative!important;z-index:1!important;display:block!important;margin:0!important;text-align:center!important;font-size:12px!important;font-weight:850!important;color:rgba(20,28,44,.68)!important;}
.storybd-v7 .storybd-loader-leaderboard{margin-top:20px;border:4px solid #141C2C;border-radius:28px;background:#fff;box-shadow:7px 7px 0 #141C2C;padding:18px;}
.storybd-v7 .storybd-score-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.storybd-v7 .storybd-score-tabs button{border:3px solid #141C2C;border-radius:999px;background:#fff;padding:8px 13px;font-size:13px;font-weight:950;cursor:pointer;box-shadow:3px 3px 0 #141C2C;}
.storybd-v7 .storybd-score-tabs button.is-active{background:#FFD84D;color:#141C2C;}
.storybd-v7 .storybd-score-list{margin:0;padding:0;list-style:none;display:grid;gap:8px;}
.storybd-v7 .storybd-score-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;border:2px solid rgba(20,28,44,.14);border-radius:16px;background:#fff9df;padding:9px 12px;font-size:13px;font-weight:850;color:#141C2C;}
.storybd-v7 .storybd-score-list li.is-me{border-color:#F42279;background:#ffe0ef;}
.storybd-v7 .storybd-score-list li strong{font-size:16px;font-weight:950;color:#F42279;}
@media(max-width:760px){
  .storybd-v7 .storybd-loader-studio{grid-template-columns:1fr!important;}
  .storybd-v7 .storybd-snake-game{min-height:auto;padding:12px;border-radius:22px;}
  .storybd-v7 #storybd-snake-canvas{width:min(250px,92vw);}
  .storybd-v7 .storybd-loader-leaderboard{padding:14px;border-radius:22px;}
  .storybd-v7 .storybd-score-list li:nth-child(n+6){display:none;}
}


/* V8.2.4 - Titre obligatoire + style populaire */
.storybd-v7 .storybd-title-label{display:inline-flex;align-items:center;gap:8px;margin-top:20px;font-weight:950;color:var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-title-label span{font-size:12px;text-transform:uppercase;border:2px solid var(--sbd-ink,#141C2C);background:var(--sbd-yellow,#FFD84D);border-radius:999px;padding:4px 8px;box-shadow:2px 2px 0 var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-comic-title{margin-bottom:12px!important;background:#fff!important;}
.storybd-v7 .storybd-popular-style:before{content:"\2B50  Style populaire";position:absolute;top:14px;left:14px;z-index:4;background:#FFD84D;color:#141C2C;border:3px solid #141C2C;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950;box-shadow:3px 3px 0 #141C2C;}
.storybd-v7 .storybd-popular-style .storybd-style-label em{display:block!important;background:#FF2D6F;color:#fff;border-radius:999px;padding:5px 9px;width:max-content;margin-top:6px;font-size:12px;}


/* V8.2.9 - popup modification punchy UX */
.storybd-v7 .storybd-mod-mode strong{display:flex;align-items:center;gap:10px;}
.storybd-v7 .storybd-tab-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:3px solid var(--storybd-ink,var(--sbd-ink));border-radius:14px;background:#fff;box-shadow:3px 3px 0 var(--storybd-ink,var(--sbd-ink));font-size:20px;line-height:1;}
.storybd-v7 .storybd-free-mod-box{background:linear-gradient(135deg,#fffdf4,#f6fdff)!important;border-color:rgba(20,28,44,.18)!important;}
.storybd-v7 .storybd-free-mod-box strong{font-size:20px!important;color:var(--storybd-ink,var(--sbd-ink))!important;}
.storybd-v7 .storybd-free-mod-box span{font-weight:850!important;color:#334155!important;line-height:1.45!important;}
.storybd-v7 .storybd-mod-tip{margin:10px 0 16px!important;padding:12px 14px;border-radius:16px;background:rgba(255,216,77,.22);border:2px solid rgba(20,28,44,.12);font-size:14px!important;font-weight:850!important;color:#141c2c!important;}
.storybd-v7 #storybd-mod-details{min-height:170px!important;font-size:15px!important;line-height:1.45!important;}
.storybd-v7 #storybd-apply-board-mod:before{content:'\1F527 \2728  ';}
.storybd-v7 #storybd-apply-dialogue-mod:before{content:'\1F4AC \270F\FE0F  ';}


/* V8.2.9.1 - sync library popup + stronger mod tabs */
.storybd-v7 .storybd-mod-card .storybd-mod-mode-grid{align-items:stretch;}
.storybd-v7 .storybd-mod-card .storybd-mod-mode{min-height:128px;}
.storybd-v7 .storybd-mod-card .storybd-mod-panel:not(.is-active){display:none!important;}
.storybd-v7 .storybd-mod-card .storybd-mod-panel.is-active{display:block!important;}

/* V8.3.3 - Bibliothèque front aérée + versions visibles */
.storybd-v7.storybd-library .storybd-library-head{margin-bottom:clamp(28px,4vw,46px)!important;}
.storybd-v7.storybd-library .storybd-library-grid.storybd-planche-grid{gap:clamp(24px,3.2vw,42px)!important;align-items:start!important;}
.storybd-v7 .storybd-library-card.storybd-planche-card{position:relative;padding:16px!important;border-radius:30px!important;background:rgba(255,255,255,.94)!important;box-shadow:8px 8px 0 var(--sbd-ink,#141C2C),0 18px 50px rgba(20,28,44,.10)!important;transition:transform .18s ease,box-shadow .18s ease;}
.storybd-v7 .storybd-library-card.storybd-planche-card:hover{transform:translateY(-3px);box-shadow:10px 10px 0 var(--sbd-ink,#141C2C),0 22px 60px rgba(20,28,44,.14)!important;}
.storybd-v7 .storybd-library-card.storybd-planche-card.is-version{background:linear-gradient(180deg,#ffffff,#f7fdff)!important;}
.storybd-v7 .storybd-library-card.storybd-planche-card.storybd-version-new{animation:storybdNewVersionPop 1.1s ease both;}
@keyframes storybdNewVersionPop{0%{transform:scale(.96);box-shadow:0 0 0 rgba(255,45,111,0);}45%{transform:scale(1.018);box-shadow:0 0 0 6px rgba(255,45,111,.18),10px 10px 0 #141C2C;}100%{transform:scale(1);}}
.storybd-v7 .storybd-library-image-wrap{border-radius:24px!important;overflow:hidden!important;margin-bottom:16px!important;background:#fff!important;}
.storybd-v7 .storybd-library-image-wrap img{display:block!important;width:100%!important;
    max-width:none!important;border-radius:22px!important;}
.storybd-v7 .storybd-library-version-badge{position:absolute;top:14px;left:14px;z-index:5;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:3px solid var(--sbd-ink,#141C2C);border-radius:999px;background:#FFD84D;color:#141C2C;font-size:12px;font-weight:950;box-shadow:3px 3px 0 var(--sbd-ink,#141C2C);}
.storybd-v7 .storybd-planche-card.is-version .storybd-library-version-badge{background:#3EDBFF;}
.storybd-v7 .storybd-library-card-body{padding:0 4px 12px!important;}
.storybd-v7 .storybd-library-card-body h3{margin:0 0 7px!important;line-height:1.08!important;letter-spacing:-.03em!important;}
.storybd-v7 .storybd-library-card-body p{margin:0!important;color:rgba(20,28,44,.66)!important;font-weight:800!important;line-height:1.35!important;}
.storybd-v7 .storybd-library-actions{display:grid!important;gap:10px!important;padding-top:8px!important;}
.storybd-v7 .storybd-library-actions .storybd-btn{width:100%!important;
    max-width:none!important;justify-content:center!important;text-align:center!important;min-height:46px!important;}
@media(min-width:880px){.storybd-v7.storybd-library .storybd-library-grid.storybd-planche-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.storybd-v7 .storybd-library-actions{grid-template-columns:1fr 1fr!important;}.storybd-v7 .storybd-library-actions .storybd-library-download{grid-column:1/-1!important;}}
@media(min-width:1220px){.storybd-v7.storybd-library .storybd-library-grid.storybd-planche-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}

/* V8.3.4 - Aperçu popup + partage social crédits + watermark comixio.com */
.storybd-v7 .storybd-share-cta{
  background:linear-gradient(135deg,#FFD84D,#3EDBFF)!important;
  color:#141C2C!important;
  border-color:#141C2C!important;
  font-weight:950!important;
  box-shadow:5px 5px 0 #141C2C!important;
}
.storybd-v7 .storybd-share-cta:before{content:'\1F680  ';}
.storybd-v7 .storybd-share-nudge{
  margin:18px 0 24px!important;
  padding:18px!important;
  display:grid!important;
  gap:10px!important;
  border:4px solid #141C2C!important;
  border-radius:26px!important;
  background:radial-gradient(circle at 12% 10%,rgba(255,216,77,.55),transparent 34%),linear-gradient(135deg,#ffffff,#f3fcff)!important;
  box-shadow:7px 7px 0 #141C2C!important;
  color:#141C2C!important;
}
.storybd-v7 .storybd-share-nudge strong{font-size:clamp(20px,3vw,30px)!important;line-height:1.05!important;font-weight:950!important;letter-spacing:-.04em!important;}
.storybd-v7 .storybd-share-nudge span{font-weight:850!important;color:rgba(20,28,44,.76)!important;line-height:1.45!important;}
.storybd-v7 .storybd-share-nudge b{color:#FF2D6F!important;}
.storybd-v7 .storybd-preview-download-card,
.storybd-v7 .storybd-share-card{max-width:min(620px,94vw)!important;text-align:center!important;}
.storybd-v7 #storybd-preview-modal-image,
.storybd-v7 #storybd-share-modal-image{
  display:block!important;
  width:min(360px,100%)!important;
  max-height:52vh!important;
  object-fit:contain!important;
  margin:14px auto 18px!important;
  border:4px solid #141C2C!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:6px 6px 0 #141C2C!important;
}
.storybd-v7 .storybd-share-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:16px!important;}
.storybd-v7 .storybd-share-network{
  min-height:48px!important;
  border:3px solid #141C2C!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#141C2C!important;
  font-weight:950!important;
  cursor:pointer!important;
  box-shadow:4px 4px 0 #141C2C!important;
  transition:transform .15s ease,box-shadow .15s ease!important;
}
.storybd-v7 .storybd-share-network:hover{transform:translateY(-2px)!important;box-shadow:6px 6px 0 #141C2C!important;}
.storybd-v7 .storybd-share-network[data-network="facebook"]{background:#eaf1ff!important;}
.storybd-v7 .storybd-share-network[data-network="whatsapp"]{background:#e9fff2!important;}
.storybd-v7 .storybd-share-network[data-network="x"]{background:#f6f7fb!important;}
.storybd-v7 .storybd-share-network[data-network="linkedin"]{background:#e9f7ff!important;}
.storybd-v7 .storybd-share-network[data-network="native"]{grid-column:1/-1;background:#FFD84D!important;}
.storybd-v7 .storybd-share-note{margin:14px 0 0!important;padding:10px 12px!important;border-radius:14px!important;background:rgba(255,216,77,.25)!important;font-size:13px!important;font-weight:850!important;color:#141C2C!important;}
@media(max-width:620px){.storybd-v7 .storybd-share-buttons{grid-template-columns:1fr!important}.storybd-v7 #storybd-preview-modal-image,.storybd-v7 #storybd-share-modal-image{max-height:46vh!important;}}


/* V8.3.5 - Popup preview au-dessus du header + partage direct dans les cartes */
.storybd-modal-portal,
#storybd-modal-portal{
  position:relative!important;
  z-index:2147483646!important;
  isolation:isolate!important;
}
#storybd-modal-portal .storybd-modal,
.storybd-v7 .storybd-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;
  background:rgba(20,28,44,.62)!important;
  backdrop-filter:blur(12px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(12px) saturate(1.08)!important;
  align-items:center!important;
  justify-content:center!important;
}
#storybd-modal-portal .storybd-modal.is-open{display:flex!important;}
#storybd-modal-portal .storybd-modal-card,
.storybd-v7 .storybd-modal-card{
  position:relative!important;
  z-index:2147483647!important;
  box-shadow:0 30px 90px rgba(0,0,0,.36),10px 10px 0 #141C2C!important;
}
.storybd-v7 .storybd-inline-share{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  padding:12px!important;
  border:3px solid #141C2C!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,rgba(255,216,77,.50),rgba(62,219,255,.18),#fff)!important;
  box-shadow:4px 4px 0 #141C2C!important;
}
.storybd-v7 .storybd-inline-share-title{
  grid-column:1/-1!important;
  font-weight:950!important;
  color:#141C2C!important;
  font-size:13px!important;
  text-align:center!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
}
.storybd-v7 .storybd-inline-share.is-rewarded .storybd-inline-share-title{color:#0f8a3a!important;}
.storybd-v7 .storybd-inline-share .storybd-share-network{
  min-height:42px!important;
  padding:8px 10px!important;
  border:3px solid #141C2C!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#141C2C!important;
  font-weight:950!important;
  cursor:pointer!important;
  box-shadow:3px 3px 0 #141C2C!important;
  transition:transform .15s ease,box-shadow .15s ease!important;
  font-size:13px!important;
}
.storybd-v7 .storybd-inline-share .storybd-share-network:hover{transform:translateY(-2px)!important;box-shadow:5px 5px 0 #141C2C!important;}
.storybd-v7 .storybd-share-network[data-network="whatsapp"]{background:#e9fff2!important;}
.storybd-v7 .storybd-share-network[data-network="facebook"]{background:#eaf1ff!important;}
.storybd-v7 .storybd-share-network[data-network="tiktok"]{background:#f7f7fb!important;}
.storybd-v7 .storybd-share-network[data-network="instagram"]{background:linear-gradient(135deg,#fff0f6,#fff7d6)!important;}
.storybd-v7 .storybd-share-network[data-network="whatsapp"]:before{content:'\1F7E2  ';}
.storybd-v7 .storybd-share-network[data-network="facebook"]:before{content:'\1F535  ';}
.storybd-v7 .storybd-share-network[data-network="tiktok"]:before{content:'\1F3B5  ';}
.storybd-v7 .storybd-share-network[data-network="instagram"]:before{content:'\1F4F8  ';}
@media(max-width:620px){.storybd-v7 .storybd-inline-share{grid-template-columns:1fr!important;}}

/* V8.3.6 - Library sharing + credits UX */
.storybd-v7 .storybd-bg{background-size:140% 140%,140% 140%,100% 100%;}
@keyframes storybdBgFloat{0%{background-position:0% 0%,100% 100%,0 0;}50%{background-position:15% 8%,85% 90%,0 0;}100%{background-position:3% 18%,98% 80%,0 0;}}
.storybd-library .storybd-library-head{align-items:flex-start;gap:22px;}
.storybd-library .storybd-library-topbar{display:flex;align-items:stretch;justify-content:flex-end;gap:14px;flex-wrap:wrap;}
.storybd-library .storybd-library-credit-card,.storybd-library .storybd-library-share-credit-card{border:3px solid var(--sbd-ink);border-radius:24px;background:#fff;box-shadow:5px 5px 0 var(--sbd-ink);padding:14px 18px;min-width:190px;}
.storybd-library .storybd-library-credit-card{background:linear-gradient(135deg,#fff,#fff7d6 78%);}
.storybd-library .storybd-library-credit-card span,.storybd-library .storybd-library-share-credit-card strong{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.04em;font-weight:950;color:#111;}
.storybd-library .storybd-library-credit-card strong{display:block;font-size:clamp(42px,5vw,68px);line-height:.86;margin:6px 0 4px;color:#111;letter-spacing:-.06em;}
.storybd-library .storybd-library-credit-card em,.storybd-library .storybd-library-share-credit-card span{display:block;font-size:13px;font-style:normal;font-weight:850;color:#475569;max-width:220px;}
.storybd-library .storybd-library-share-credit-card{background:linear-gradient(135deg,#fff,#e0f7ff 85%);}
.storybd-library .storybd-library-share-credit-card strong{font-size:16px;letter-spacing:-.02em;text-transform:none;}
.storybd-library .storybd-inline-share-flat{width:100%;padding:10px 0 0;margin-top:4px;border:0!important;background:transparent!important;box-shadow:none!important;display:block;}
.storybd-library .storybd-inline-share-flat .storybd-inline-share-title{display:block;margin:0 0 8px;font-weight:950;color:#111!important;font-size:14px;}
.storybd-library .storybd-share-icons-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
.storybd-library .storybd-share-icon{width:40px;height:40px;border:3px solid var(--sbd-ink);border-radius:50%;display:inline-grid;place-items:center;box-shadow:3px 3px 0 var(--sbd-ink);font-weight:950;font-size:19px;line-height:1;cursor:pointer;transition:.15s;}
.storybd-library .storybd-share-icon:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--sbd-ink);}
.storybd-library .storybd-share-whatsapp{background:#25D366;color:#fff;}
.storybd-library .storybd-share-facebook{background:#1877F2;color:#fff;font-family:Arial,sans-serif;font-size:24px;}
.storybd-library .storybd-share-tiktok{background:#111;color:#fff;}
.storybd-library .storybd-share-instagram{background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7);color:#fff;}
.storybd-library .storybd-inline-share.is-rewarded .storybd-inline-share-title{color:#16803a!important;}
@media (max-width:760px){.storybd-library .storybd-library-head{display:block}.storybd-library .storybd-library-topbar{justify-content:flex-start;margin-top:18px}.storybd-library .storybd-library-credit-card,.storybd-library .storybd-library-share-credit-card{width:100%;}.storybd-library .storybd-library-credit-card strong{font-size:58px;}}


/* V8.3.7 - Comixio library share/download + compact premium mobile UI */
.storybd-v7{--sbd-comixio-dark:#141C2C;--sbd-comixio-pink:#FF2D6F;--sbd-comixio-yellow:#FFD84D;--sbd-comixio-blue:#3EDBFF;}
.storybd-v7 .storybd-bg,
.storybd-library .storybd-bg{
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 12px 12px,rgba(20,28,44,.16) 0 2px,transparent 2.4px) 0 0/22px 22px,
    radial-gradient(circle at 14% 18%,rgba(255,216,77,.42),transparent 28%),
    radial-gradient(circle at 86% 22%,rgba(255,45,111,.24),transparent 30%),
    radial-gradient(circle at 50% 92%,rgba(62,219,255,.26),transparent 32%),
    linear-gradient(135deg,#fffaf0 0%,#f7fdff 100%)!important;
  animation:storybdComixioDotsDrift 28s linear infinite!important;
}
@keyframes storybdComixioDotsDrift{0%{background-position:0 0,0 0,0 0,0 0,0 0}100%{background-position:88px 66px,20px 10px,-18px 14px,12px -16px,0 0}}

.storybd-library .storybd-library-topbar{align-items:center!important;gap:10px!important;}
.storybd-library .storybd-library-credit-card,
.storybd-library .storybd-library-share-credit-card{
  min-width:0!important;
  width:auto!important;
  min-height:0!important;
  padding:9px 13px!important;
  border-radius:18px!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  grid-template-areas:"label value" "sub value"!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:0!important;
  box-shadow:4px 4px 0 var(--sbd-ink)!important;
}
.storybd-library .storybd-library-credit-card{background:linear-gradient(135deg,#fff,#fff8dc 85%)!important;}
.storybd-library .storybd-library-share-credit-card{background:linear-gradient(135deg,#fff,#e9fbff 88%)!important;}
.storybd-library .storybd-library-credit-card>span,
.storybd-library .storybd-library-share-credit-card>.storybd-share-credit-label{
  grid-area:label!important;
  display:block!important;
  font-size:10px!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-weight:950!important;
  color:rgba(20,28,44,.72)!important;
  margin:0!important;
}
.storybd-library .storybd-library-credit-card>strong,
.storybd-library .storybd-library-share-credit-card>strong{
  grid-area:value!important;
  display:block!important;
  margin:0!important;
  font-size:clamp(30px,3.4vw,44px)!important;
  line-height:.82!important;
  letter-spacing:-.07em!important;
  color:var(--sbd-comixio-dark)!important;
}
.storybd-library .storybd-library-share-credit-card>strong{color:var(--sbd-comixio-pink)!important;}
.storybd-library .storybd-library-credit-card>em,
.storybd-library .storybd-library-share-credit-card>em{
  grid-area:sub!important;
  display:block!important;
  max-width:none!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.05!important;
  font-style:normal!important;
  font-weight:850!important;
  color:rgba(20,28,44,.58)!important;
}

.storybd-library .storybd-inline-share-flat{
  width:100%!important;
    max-width:none!important;
  padding:8px 0 0!important;
  margin-top:2px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:block!important;
}
.storybd-library .storybd-inline-share-flat .storybd-inline-share-title,
.storybd-v7 .storybd-result-inline-share .storybd-inline-share-title{
  display:block!important;
  margin:0 0 7px!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:950!important;
  color:var(--sbd-comixio-dark)!important;
  text-align:left!important;
  letter-spacing:-.01em!important;
  text-transform:none!important;
}
.storybd-library .storybd-share-icons-row,
.storybd-v7 .storybd-result-inline-share{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.storybd-v7 .storybd-result-inline-share{padding:8px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.storybd-library .storybd-share-icon,
.storybd-v7 .storybd-result-inline-share .storybd-share-network{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:3px solid var(--sbd-comixio-dark)!important;
  border-radius:999px!important;
  display:inline-grid!important;
  place-items:center!important;
  box-shadow:3px 3px 0 var(--sbd-comixio-dark)!important;
  color:#fff!important;
  font-size:0!important;
  line-height:1!important;
  cursor:pointer!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
  overflow:hidden!important;
}
.storybd-library .storybd-share-icon svg,
.storybd-v7 .storybd-result-inline-share .storybd-share-network svg{width:19px!important;height:19px!important;display:block!important;}
.storybd-library .storybd-share-icon:hover,
.storybd-v7 .storybd-result-inline-share .storybd-share-network:hover{transform:translate(-1px,-1px)!important;box-shadow:5px 5px 0 var(--sbd-comixio-dark)!important;filter:saturate(1.05) contrast(1.04)!important;}
.storybd-v7 .storybd-share-network:before{content:none!important;display:none!important;}
.storybd-library .storybd-share-whatsapp,
.storybd-v7 .storybd-share-network[data-network="whatsapp"]{background:#25D366!important;color:#fff!important;}
.storybd-library .storybd-share-facebook,
.storybd-v7 .storybd-share-network[data-network="facebook"]{background:#1877F2!important;color:#fff!important;}
.storybd-library .storybd-share-tiktok,
.storybd-v7 .storybd-share-network[data-network="tiktok"]{background:#111!important;color:#fff!important;}
.storybd-library .storybd-share-instagram,
.storybd-v7 .storybd-share-network[data-network="instagram"]{background:linear-gradient(135deg,#f9ce34 0%,#ee2a7b 48%,#6228d7 100%)!important;color:#fff!important;}
.storybd-v7 .storybd-share-nudge{padding:14px!important;border-radius:22px!important;}
.storybd-v7 .storybd-share-nudge strong{font-size:20px!important;}
.storybd-v7 .storybd-share-nudge span{font-size:13px!important;}

@media(max-width:760px){
  .storybd-library .storybd-library-head{display:block!important;}
  .storybd-library .storybd-library-topbar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:12px!important;}
  .storybd-library .storybd-library-credit-card,
  .storybd-library .storybd-library-share-credit-card{width:100%!important;
    max-width:none!important;padding:7px 10px!important;border-radius:15px!important;box-shadow:3px 3px 0 var(--sbd-ink)!important;}
  .storybd-library .storybd-library-credit-card>strong,
  .storybd-library .storybd-library-share-credit-card>strong{font-size:32px!important;}
  .storybd-library .storybd-library-credit-card>span,
  .storybd-library .storybd-library-share-credit-card>.storybd-share-credit-label{font-size:9px!important;}
  .storybd-library .storybd-library-credit-card>em,
  .storybd-library .storybd-library-share-credit-card>em{font-size:10px!important;}
  .storybd-library .storybd-library-topbar .storybd-btn{grid-column:1/-1!important;padding:11px 14px!important;}
  .storybd-library .storybd-inline-share-flat .storybd-inline-share-title{font-size:12px!important;text-align:center!important;}
  .storybd-library .storybd-share-icons-row{justify-content:center!important;gap:7px!important;}
  .storybd-library .storybd-share-icon,
  .storybd-v7 .storybd-result-inline-share .storybd-share-network{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-width:2px!important;box-shadow:2px 2px 0 var(--sbd-comixio-dark)!important;}
  .storybd-library .storybd-share-icon svg,
  .storybd-v7 .storybd-result-inline-share .storybd-share-network svg{width:17px!important;height:17px!important;}
}


/* V8.3.10 - Performance mobile / petits ordinateurs
   Objectif : réduire les recalculs de peinture sur la page Créer ma BD sans changer le parcours. */
#storybd-v7-app .storybd-style-step,
#storybd-v7-app .storybd-card,
#storybd-v7-app .storybd-style-grid-visual,
#storybd-v7-app .storybd-style-tile{
  content-visibility:auto;
  contain-intrinsic-size:1px 900px;
}

#storybd-v7-app .storybd-step:not(.is-active){
  content-visibility:hidden;
}

.storybd-v7 img{
  max-width:100%;
}

@media (max-width: 768px){
  .storybd-bg{
    position:absolute!important;
    min-height:100%;
    background:linear-gradient(180deg,#fff7d6 0%,#fff 48%,#f5fbff 100%)!important;
  }

  .storybd-step{
    min-height:auto!important;
    padding:22px 12px 96px!important;
    overflow:visible!important;
    align-items:flex-start!important;
  }

  .storybd-card{
    border-width:3px!important;
    border-radius:24px!important;
    padding:18px!important;
    box-shadow:4px 4px 0 var(--sbd-ink)!important;
  }

  .storybd-card h1,.storybd-card h2,.storybd-library h2{
    font-size:clamp(30px,10vw,44px)!important;
    letter-spacing:-.04em!important;
  }

  .storybd-style-grid-visual{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .storybd-style-tile{
    min-height:0!important;
    aspect-ratio:1/1!important;
    border-width:3px!important;
    border-radius:20px!important;
    box-shadow:4px 4px 0 var(--sbd-ink)!important;
    transition:none!important;
  }

  .storybd-style-tile:hover,
  .storybd-style-tile:hover img{
    transform:none!important;
  }

  .storybd-style-tile img{
    transform:none!important;
    transition:none!important;
    filter:none!important;
  }

  .storybd-style-label{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    padding:8px 9px!important;
    border-width:2px!important;
    border-radius:14px!important;
    box-shadow:2px 2px 0 var(--sbd-ink)!important;
  }

  .storybd-style-label strong{
    font-size:14px!important;
    line-height:1.05!important;
  }

  .storybd-style-label em{
    font-size:11px!important;
  }

  .storybd-nav,
  .storybd-modal{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  .storybd-btn:hover,
  .storybd-chip:hover,
  .storybd-tone:hover{
    transform:none!important;
  }
}

@media (prefers-reduced-motion: reduce){
  .storybd-v7 *,
  .storybd-v7 *:before,
  .storybd-v7 *:after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}


/* V8.3.11 - Ajustements vignettes de styles sur la page création
   - sélection rose à l'intérieur de la vignette
   - suppression du bloc blanc/transparent derrière les intitulés
   - intitulés plus lisibles sur mobile */
.storybd-v7 .storybd-style-tile.is-selected{
  outline:none!important;
  box-shadow:7px 7px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-style-tile.is-selected:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  border:6px solid var(--sbd-pink,#F42279);
  border-radius:inherit;
  box-sizing:border-box;
}
.storybd-v7 .storybd-style-tile.is-selected:after{
  z-index:4;
}
.storybd-v7 .storybd-style-label{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-shadow:0 2px 8px rgba(0,0,0,.58)!important;
  padding:0!important;
}
.storybd-v7 .storybd-style-label strong{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#fff!important;
  padding:0!important;
  border-radius:0!important;
  display:block!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-style-label em{
  display:none!important;
}
.storybd-v7 .storybd-popular-style .storybd-style-label em{
  display:none!important;
}
@media(max-width:760px){
  .storybd-v7 .storybd-style-tile.is-selected{
    box-shadow:4px 4px 0 var(--sbd-ink,#141C2C)!important;
  }
  .storybd-v7 .storybd-style-tile.is-selected:before{
    border-width:5px;
  }
  .storybd-v7 .storybd-style-label{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
  }
  .storybd-v7 .storybd-style-label strong{
    font-size:clamp(18px,5vw,22px)!important;
    letter-spacing:-.02em!important;
  }
}


/* V8.3.12 - Cartouche discret + sélection rose interne propre
   - remet un petit cartouche lisible derrière le nom du style
   - évite l'effet jaune sur la vignette Cinéma 3D sélectionnée */
.storybd-v7 .storybd-style-label{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  text-shadow:none!important;
}
.storybd-v7 .storybd-style-label strong{
  display:inline-block!important;
  width:auto!important;
  max-width:100%!important;
    max-width:none!important;
  color:#fff!important;
  background:rgba(20,28,44,.74)!important;
  border:2px solid rgba(255,255,255,.82)!important;
  border-radius:999px!important;
  padding:8px 13px!important;
  box-shadow:0 5px 14px rgba(20,28,44,.18)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-style-label em,
.storybd-v7 .storybd-popular-style .storybd-style-label em{
  display:none!important;
}
.storybd-v7 .storybd-style-tile.is-selected{
  outline:none!important;
  box-shadow:7px 7px 0 var(--sbd-ink,#141C2C)!important;
  background:transparent!important;
}
.storybd-v7 .storybd-style-tile.is-selected img{
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
.storybd-v7 .storybd-style-tile.is-selected .storybd-style-overlay{
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.10) 45%,rgba(0,0,0,.56))!important;
}
.storybd-v7 .storybd-style-tile.is-selected:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  pointer-events:none!important;
  border:6px solid var(--sbd-pink,#F42279)!important;
  border-radius:inherit!important;
  box-sizing:border-box!important;
  background:transparent!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.72)!important;
}
.storybd-v7 .storybd-style-tile.is-selected:after{
  z-index:4!important;
  background:#fff!important;
  color:var(--sbd-pink,#F42279)!important;
  border-color:var(--sbd-pink,#F42279)!important;
  box-shadow:0 3px 0 var(--sbd-ink,#141C2C)!important;
}
@media(max-width:760px){
  .storybd-v7 .storybd-style-label{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
  }
  .storybd-v7 .storybd-style-label strong{
    font-size:clamp(18px,5.2vw,23px)!important;
    padding:7px 11px!important;
    letter-spacing:-.02em!important;
  }
  .storybd-v7 .storybd-style-tile.is-selected{
    box-shadow:4px 4px 0 var(--sbd-ink,#141C2C)!important;
  }
  .storybd-v7 .storybd-style-tile.is-selected:before{
    border-width:5px!important;
  }
}

/* V8.3.13 - Galerie communautaire Comixio */
.storybd-community-action{background:#FFD84D!important;color:#141C2C!important;border-color:#141C2C!important}
.storybd-community-action.is-published{background:#3EDBFF!important;color:#141C2C!important}
.storybd-publish-card{max-width:560px}.storybd-publish-card label{display:block;margin:14px 0;font-weight:900;color:#141C2C}.storybd-publish-card input,.storybd-publish-card select{display:block;width:100%;margin-top:7px;border:2px solid rgba(20,28,44,.18);border-radius:14px;padding:13px 14px;font-weight:800;background:#fff}.storybd-publish-reward{margin:12px 0;padding:12px 14px;border-radius:16px;background:#fff6cc;border:2px solid rgba(255,216,77,.85);font-weight:1000;color:#141C2C}.storybd-publish-actions{display:flex;gap:10px;flex-wrap:wrap}.storybd-publish-status{min-height:24px;font-weight:900;color:#FF2D6F}
.storybd-public-gallery{position:relative;overflow:hidden;min-height:70vh;padding:clamp(24px,4vw,56px)}.storybd-gallery-hero{position:relative;z-index:1;max-width:980px;margin:0 auto 26px;text-align:center;background:rgba(255,255,255,.88);border:3px solid #141C2C;border-radius:28px;padding:clamp(22px,4vw,46px);box-shadow:10px 10px 0 rgba(20,28,44,.12)}.storybd-gallery-hero h1{margin:.2em 0;font-size:clamp(32px,5vw,64px);line-height:.95;color:#141C2C}.storybd-gallery-hero p{max-width:760px;margin:0 auto 18px;font-weight:800;color:rgba(20,28,44,.72)}.storybd-daily-challenge{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px auto 18px;padding:10px 14px;border-radius:999px;background:#141C2C;color:#fff;font-weight:900}.storybd-daily-challenge strong{color:#FFD84D}.storybd-gallery-filters{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 auto 24px;max-width:1120px}.storybd-gallery-filters a{padding:9px 13px;border-radius:999px;border:2px solid #141C2C;background:#fff;color:#141C2C;text-decoration:none;font-weight:1000;box-shadow:3px 3px 0 rgba(20,28,44,.12)}.storybd-gallery-filters a.is-active{background:#FF2D6F;color:#fff}.storybd-filter-sep{width:12px}.storybd-gallery-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;max-width:1280px;margin:0 auto}.storybd-gallery-card{position:relative;background:#fff;border:3px solid #141C2C;border-radius:24px;overflow:hidden;box-shadow:8px 8px 0 rgba(20,28,44,.12);transition:transform .18s ease,box-shadow .18s ease}.storybd-gallery-card:hover{transform:translateY(-4px);box-shadow:10px 12px 0 rgba(20,28,44,.15)}.storybd-gallery-rank{position:absolute;z-index:2;top:10px;left:10px;background:#FFD84D;color:#141C2C;border:2px solid #141C2C;border-radius:999px;padding:6px 10px;font-weight:1000}.storybd-gallery-image{display:block;width:100%;border:0;background:#f7f7f7;padding:0;cursor:zoom-in}.storybd-gallery-image img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}.storybd-gallery-body{padding:14px}.storybd-gallery-category{display:inline-flex;background:#3EDBFF;color:#141C2C;border:2px solid #141C2C;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:1000}.storybd-gallery-body h3{margin:9px 0 4px;color:#141C2C;font-size:20px;line-height:1.05}.storybd-gallery-body p{margin:0 0 12px;color:rgba(20,28,44,.66);font-weight:800;font-size:13px}.storybd-vote-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.storybd-vote-btn{border:2px solid #141C2C;border-radius:14px;background:#fff;min-height:42px;font-weight:1000;cursor:pointer;box-shadow:2px 2px 0 rgba(20,28,44,.12);transition:transform .12s ease}.storybd-vote-btn:hover,.storybd-vote-btn.is-voted{transform:translateY(-2px);background:#FFD84D}.storybd-gallery-empty{grid-column:1/-1;text-align:center;background:#fff;border:3px dashed #141C2C;border-radius:24px;padding:30px}.storybd-gallery-zoom-card{max-width:min(920px,94vw);padding:14px}.storybd-gallery-zoom-card img{display:block;width:100%;max-height:82vh;object-fit:contain;border-radius:14px}.storybd-gallery-card .storybd-preview-shield{display:none}
@media(max-width:768px){.storybd-public-gallery{padding:18px 12px}.storybd-gallery-hero{border-radius:22px;padding:22px 16px}.storybd-gallery-filters{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.storybd-gallery-filters a{white-space:nowrap}.storybd-gallery-grid{grid-template-columns:1fr;gap:16px}.storybd-vote-row{grid-template-columns:repeat(4,1fr)}.storybd-publish-actions .storybd-btn{width:100%;justify-content:center}}

/* V8.3.15 - Feed intelligent Comixio */
.storybd-feed-tabs{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:1120px;margin:0 auto 14px}
.storybd-feed-tabs a{padding:12px 16px;border-radius:18px;border:3px solid #141C2C;background:#fff;color:#141C2C;text-decoration:none;font-weight:1000;box-shadow:4px 4px 0 rgba(20,28,44,.14);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.storybd-feed-tabs a:hover{transform:translateY(-2px);box-shadow:6px 7px 0 rgba(20,28,44,.16)}
.storybd-feed-tabs a.is-active{background:#FFD84D;color:#141C2C}
.storybd-reco-badge{position:absolute;z-index:2;top:10px;right:10px;max-width:58%;padding:6px 9px;border-radius:999px;border:2px solid #141C2C;background:#FF2D6F;color:#fff;font-size:11px;font-weight:1000;line-height:1;box-shadow:2px 2px 0 rgba(20,28,44,.18)}
.storybd-smart-score{display:block;margin:-4px 0 10px;color:rgba(20,28,44,.54);font-weight:900;font-size:12px}
.storybd-public-gallery[data-storybd-feed="rising"] .storybd-reco-badge{background:#FF2D6F;color:#fff}
.storybd-public-gallery[data-storybd-feed="new"] .storybd-reco-badge{background:#3EDBFF;color:#141C2C}
.storybd-public-gallery[data-storybd-feed="challenge"] .storybd-reco-badge{background:#141C2C;color:#FFD84D}
@media(max-width:768px){.storybd-feed-tabs{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:2px 0 9px}.storybd-feed-tabs a{white-space:nowrap;padding:10px 13px}.storybd-reco-badge{top:48px;right:8px;max-width:70%}}

/* V8.3.16 - Popups Comixio au-dessus de Divi/header + overlay noir bleu transparent */
#storybd-modal-portal,
.storybd-modal-portal{
  position:relative!important;
  z-index:2147483640!important;
  isolation:isolate!important;
}
#storybd-modal-portal .storybd-modal,
.storybd-v7 .storybd-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483641!important;
  background:rgba(8,14,30,.74)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
}
#storybd-modal-portal .storybd-modal.is-open,
.storybd-v7 .storybd-modal.is-open{display:flex!important;}
#storybd-modal-portal .storybd-modal-card,
.storybd-v7 .storybd-modal-card{
  position:relative!important;
  z-index:2147483642!important;
  max-height:92vh!important;
  overflow:auto!important;
}
#storybd-modal-portal .storybd-gallery-zoom-card{width:min(940px,94vw)!important;max-width:min(940px,94vw)!important;}
.storybd-public-gallery{padding-top:clamp(12px,2vw,24px)!important;}

/* V8.3.17 - Lecture HD isolée à la page feed uniquement */
.storybd-public-gallery{
  --sbd-feed-max:1280px;
  -webkit-user-select:none!important;
  user-select:none!important;
}
.storybd-public-gallery img{
  -webkit-user-drag:none!important;
  user-drag:none!important;
  pointer-events:none;
}
.storybd-public-gallery .storybd-gallery-grid{
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;
  align-items:start!important;
}
.storybd-public-gallery .storybd-gallery-card{
  border-radius:24px!important;
}
.storybd-public-gallery .storybd-gallery-image{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:360px!important;
  max-height:520px!important;
  background:linear-gradient(135deg,#eefbff 0%,#fff8d9 100%)!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
}
.storybd-public-gallery .storybd-gallery-image img{
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  max-height:520px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:10px!important;
  filter:none!important;
}
.storybd-public-gallery .storybd-gallery-image:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 72%,rgba(20,28,44,.16));
  pointer-events:none;
}
.storybd-public-gallery .storybd-feed-read-cta{
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 12px;
  border:2px solid #141C2C;
  border-radius:999px;
  background:#fff;
  color:#141C2C;
  font-size:13px;
  font-weight:1000;
  box-shadow:3px 3px 0 rgba(20,28,44,.18);
}
#storybd-modal-portal .storybd-feed-reader-modal,
.storybd-v7 .storybd-feed-reader-modal{
  background:rgba(6,12,28,.80)!important;
  padding:10px!important;
}
#storybd-modal-portal .storybd-gallery-zoom-card{
  width:min(760px,96vw)!important;
  max-width:min(760px,96vw)!important;
  max-height:94svh!important;
  padding:12px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#ffffff 0%,#eefbff 100%)!important;
  border:4px solid #141C2C!important;
  border-radius:24px!important;
  box-shadow:10px 10px 0 rgba(20,28,44,.42),0 28px 90px rgba(0,0,0,.35)!important;
}
#storybd-modal-portal .storybd-feed-reader{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
    max-width:none!important;
  max-height:calc(94svh - 78px)!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:#101827!important;
  cursor:crosshair!important;
  touch-action:pan-y!important;
}
#storybd-modal-portal #storybd-gallery-zoom-image{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
    max-width:none!important;
  height:auto!important;
  max-height:calc(94svh - 78px)!important;
  object-fit:contain!important;
  border-radius:12px!important;
  pointer-events:none!important;
  -webkit-user-drag:none!important;
  user-select:none!important;
}
#storybd-modal-portal .storybd-feed-lens{
  position:absolute!important;
  z-index:5!important;
  width:min(390px,48vw)!important;
  height:min(390px,48vw)!important;
  transform:translate(-50%,-50%)!important;
  border:4px solid #FFD84D!important;
  border-radius:28px!important;
  background-repeat:no-repeat!important;
  background-color:#fff!important;
  box-shadow:0 18px 60px rgba(0,0,0,.32), 0 0 0 9999px rgba(6,12,28,.10)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .12s ease!important;
}
#storybd-modal-portal .storybd-feed-lens.is-visible{opacity:1!important;}
#storybd-modal-portal .storybd-feed-reader-help{
  margin:9px 42px 0 4px!important;
  color:rgba(20,28,44,.70)!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
@media(min-width:980px){
  .storybd-public-gallery .storybd-gallery-grid{grid-template-columns:repeat(auto-fit,minmax(255px,315px))!important;justify-content:center!important;}
  .storybd-public-gallery .storybd-gallery-image{min-height:390px!important;max-height:460px!important;}
  .storybd-public-gallery .storybd-gallery-image img{max-height:460px!important;}
}
@media(max-width:768px){
  .storybd-public-gallery{padding-left:10px!important;padding-right:10px!important;}
  .storybd-public-gallery .storybd-gallery-grid{grid-template-columns:1fr!important;gap:22px!important;}
  .storybd-public-gallery .storybd-gallery-card{border-radius:22px!important;box-shadow:5px 5px 0 rgba(20,28,44,.12)!important;}
  .storybd-public-gallery .storybd-gallery-image{min-height:auto!important;max-height:none!important;background:#fff!important;}
  .storybd-public-gallery .storybd-gallery-image img{width:100%!important;
    max-width:none!important;height:auto!important;max-height:none!important;padding:6px!important;object-fit:contain!important;}
  .storybd-public-gallery .storybd-feed-read-cta{font-size:12px!important;min-height:34px!important;}
  #storybd-modal-portal .storybd-gallery-zoom-card{width:100vw!important;max-width:100vw!important;height:100svh!important;max-height:100svh!important;border:0!important;border-radius:0!important;padding:48px 8px 10px!important;box-shadow:none!important;background:#07101f!important;}
  #storybd-modal-portal .storybd-gallery-zoom-card .storybd-modal-close{top:8px!important;right:10px!important;z-index:20!important;background:#fff!important;}
  #storybd-modal-portal .storybd-feed-reader{height:calc(100svh - 76px)!important;max-height:none!important;align-items:flex-start!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;background:#07101f!important;border-radius:0!important;}
  #storybd-modal-portal #storybd-gallery-zoom-image{width:100%!important;
    max-width:none!important;max-width:100%!important;
    max-width:none!important;max-height:none!important;height:auto!important;border-radius:10px!important;}
  #storybd-modal-portal .storybd-feed-lens{display:none!important;}
  #storybd-modal-portal .storybd-feed-reader-help{display:none!important;}
}

/* V8.3.18 - Feed reader: HD only in popup, close buttons, modal reactions, safer desktop lens, mobile zoom */
.storybd-public-gallery .storybd-gallery-image img{
  object-fit:cover!important;
  background:#fff!important;
}
#storybd-modal-portal .storybd-feed-reader-modal.is-open,
.storybd-v7 .storybd-feed-reader-modal.is-open{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(5,12,28,.78)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
  padding:12px!important;
}
#storybd-modal-portal .storybd-gallery-zoom-card{
  position:relative!important;
  width:min(860px,96vw)!important;
  max-width:min(860px,96vw)!important;
  max-height:94svh!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:12px!important;
  overflow:hidden!important;
}
#storybd-modal-portal .storybd-gallery-zoom-card .storybd-feed-reader-close,
#storybd-modal-portal .storybd-gallery-zoom-card .storybd-modal-close{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:50!important;
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:3px solid #141C2C!important;
  background:#fff!important;
  color:#141C2C!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:1000!important;
  box-shadow:4px 4px 0 rgba(20,28,44,.25)!important;
  cursor:pointer!important;
}
#storybd-modal-portal .storybd-feed-reader-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:2px 50px 0 4px!important;
  color:#141C2C!important;
  font-weight:900!important;
}
#storybd-modal-portal .storybd-feed-reader-topbar strong{display:block!important;font-size:16px!important;line-height:1.1!important;}
#storybd-modal-portal .storybd-feed-reader-topbar span{display:block!important;font-size:12px!important;color:rgba(20,28,44,.62)!important;margin-top:2px!important;}
#storybd-modal-portal .storybd-feed-zoom-controls{display:none!important;gap:6px!important;align-items:center!important;}
#storybd-modal-portal .storybd-feed-zoom-controls button{
  border:2px solid #141C2C!important;
  background:#fff!important;
  color:#141C2C!important;
  border-radius:12px!important;
  min-width:38px!important;
  min-height:36px!important;
  font-weight:1000!important;
  box-shadow:2px 2px 0 rgba(20,28,44,.16)!important;
}
#storybd-modal-portal .storybd-feed-reader{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:calc(94svh - 142px)!important;
  overflow:hidden!important;
  contain:paint!important;
}
#storybd-modal-portal #storybd-gallery-zoom-image{
  max-height:calc(94svh - 142px)!important;
}
#storybd-modal-portal .storybd-feed-lens{
  max-width:calc(100% - 16px)!important;
  max-height:calc(100% - 16px)!important;
  overflow:hidden!important;
  border-radius:22px!important;
}
#storybd-modal-portal .storybd-feed-reader-help{display:none!important;}
#storybd-modal-portal .storybd-feed-reader-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding-top:2px!important;
}
#storybd-modal-portal .storybd-feed-modal-votes{
  display:flex!important;
  flex:1 1 auto!important;
  gap:7px!important;
  grid-template-columns:none!important;
}
#storybd-modal-portal .storybd-feed-modal-votes .storybd-vote-btn{
  min-width:64px!important;
  min-height:42px!important;
}
#storybd-modal-portal .storybd-feed-reader-close-bottom{
  flex:0 0 auto!important;
  border:3px solid #141C2C!important;
  border-radius:14px!important;
  background:#141C2C!important;
  color:#fff!important;
  min-height:42px!important;
  padding:0 14px!important;
  font-weight:1000!important;
  cursor:pointer!important;
}
@media(min-width:980px){
  .storybd-public-gallery .storybd-gallery-image img{height:430px!important;max-height:430px!important;object-fit:cover!important;}
  #storybd-modal-portal .storybd-gallery-zoom-card{width:min(820px,92vw)!important;max-width:min(820px,92vw)!important;}
}
@media(max-width:768px){
  #storybd-modal-portal .storybd-feed-reader-modal.is-open,
  .storybd-v7 .storybd-feed-reader-modal.is-open{
    align-items:stretch!important;
    justify-content:stretch!important;
    padding:0!important;
  }
  #storybd-modal-portal .storybd-gallery-zoom-card{
    width:100vw!important;
    max-width:100vw!important;
    height:100svh!important;
    max-height:100svh!important;
    border:0!important;
    border-radius:0!important;
    padding:54px 8px 10px!important;
    background:#07101f!important;
    gap:8px!important;
  }
  #storybd-modal-portal .storybd-gallery-zoom-card .storybd-feed-reader-close,
  #storybd-modal-portal .storybd-gallery-zoom-card .storybd-modal-close{
    top:8px!important;
    right:10px!important;
    width:40px!important;
    height:40px!important;
    background:#fff!important;
  }
  #storybd-modal-portal .storybd-feed-reader-topbar{
    position:absolute!important;
    top:8px!important;
    left:8px!important;
    right:58px!important;
    padding:0!important;
    color:#fff!important;
  }
  #storybd-modal-portal .storybd-feed-reader-topbar strong{color:#fff!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  #storybd-modal-portal .storybd-feed-reader-topbar span{color:rgba(255,255,255,.70)!important;font-size:11px!important;}
  #storybd-modal-portal .storybd-feed-zoom-controls{
    position:absolute!important;
    left:8px!important;
    right:8px!important;
    bottom:64px!important;
    z-index:18!important;
    display:flex!important;
    justify-content:center!important;
    pointer-events:auto!important;
  }
  #storybd-modal-portal .storybd-feed-reader{
    height:calc(100svh - 120px)!important;
    max-height:none!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    background:#07101f!important;
    border-radius:0!important;
    touch-action:pan-x pan-y!important;
  }
  #storybd-modal-portal #storybd-gallery-zoom-image{
    width:100%!important;
    max-width:none!important;
    max-width:none!important;
    max-height:none!important;
    height:auto!important;
    border-radius:10px!important;
    pointer-events:none!important;
    transition:transform .18s ease!important;
  }
  #storybd-modal-portal .storybd-feed-reader-actions{
    height:56px!important;
    padding:6px 0 0!important;
    gap:6px!important;
  }
  #storybd-modal-portal .storybd-feed-modal-votes{gap:5px!important;overflow-x:auto!important;padding-bottom:2px!important;}
  #storybd-modal-portal .storybd-feed-modal-votes .storybd-vote-btn{min-width:58px!important;min-height:42px!important;border-radius:13px!important;}
  #storybd-modal-portal .storybd-feed-reader-close-bottom{display:none!important;}
}

/* V8.3.19 - Feed reader polish: close cross only, giant desktop lens, mobile pinch zoom */
#storybd-modal-portal .storybd-gallery-zoom-card .storybd-feed-reader-close{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;
  color:#141C2C!important;
  border:2px solid #141C2C!important;
  box-shadow:3px 3px 0 rgba(20,28,44,.24)!important;
  font-size:28px!important;
  font-weight:1000!important;
  line-height:34px!important;
  padding:0!important;
}
#storybd-modal-portal .storybd-feed-reader-close-bottom{display:none!important;}
@media(min-width:769px){
  #storybd-modal-portal .storybd-gallery-zoom-card{
    width:min(900px,94vw)!important;
    max-width:min(900px,94vw)!important;
  }
  #storybd-modal-portal .storybd-feed-lens{
    width:min(680px,76vw)!important;
    height:min(560px,66vh)!important;
    max-width:calc(100% - 20px)!important;
    max-height:calc(100% - 20px)!important;
    border-radius:24px!important;
    border:4px solid #FFD84D!important;
    box-shadow:0 24px 80px rgba(0,0,0,.38),0 0 0 9999px rgba(6,12,28,.08)!important;
  }
}
@media(max-width:768px){
  #storybd-modal-portal .storybd-feed-zoom-controls{display:none!important;}
  #storybd-modal-portal .storybd-gallery-zoom-card{padding:54px 0 8px!important;}
  #storybd-modal-portal .storybd-feed-reader{
    height:calc(100svh - 118px)!important;
    overflow:auto!important;
    touch-action:none!important;
    overscroll-behavior:contain!important;
    padding:0 8px!important;
  }
  #storybd-modal-portal #storybd-gallery-zoom-image{
    transform-origin:center top!important;
    will-change:transform!important;
    transition:none!important;
  }
  #storybd-modal-portal .storybd-feed-reader-actions{padding:6px 8px 0!important;}
}


/* V8.3.20 - Feed mobile : pinch-to-zoom + déplacement réel dans la BD */
@media(max-width:768px){
  #storybd-modal-portal .storybd-feed-reader{
    overflow:auto!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    touch-action:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
  }
  #storybd-modal-portal #storybd-gallery-zoom-image{
    display:block!important;
    min-width:100%!important;
    max-width:none!important;
    width:100%!important;
    max-width:none!important;
    max-width:none!important;
    height:auto!important;
    transform:none!important;
    transform-origin:center top!important;
    margin:0 auto!important;
    user-select:none!important;
    -webkit-user-select:none!important;
    -webkit-touch-callout:none!important;
  }
}


/* V8.3.21 - Feed mobile zoom fix : le JS pilote la largeur réelle de l'image */
@media(max-width:768px){
  #storybd-modal-portal .storybd-feed-reader{
    overflow:auto!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    touch-action:none!important;
    -webkit-overflow-scrolling:auto!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
  }
  #storybd-modal-portal #storybd-gallery-zoom-image{
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
  }
}


/* V8.3.22 - Bibliothèque : boucle virale concours sans doublon */
.storybd-v7 .storybd-viral-share-card{
  margin-top:10px!important;
  padding:12px!important;
  border:3px solid var(--sbd-comixio-dark,#141C2C)!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#fff8d9 0%,#fff 58%,#eefdff 100%)!important;
  color:#141C2C!important;
  box-shadow:5px 5px 0 rgba(20,28,44,.95)!important;
  display:grid!important;
  gap:8px!important;
}
.storybd-v7 .storybd-viral-share-card p{margin:0!important;font-size:13px!important;line-height:1.35!important;font-weight:750!important;color:#263044!important;}
.storybd-v7 .storybd-viral-share-card small{font-size:11px!important;font-weight:900!important;color:rgba(20,28,44,.72)!important;}
.storybd-v7 .storybd-viral-head{display:grid!important;gap:2px!important;}
.storybd-v7 .storybd-viral-eyebrow{font-size:10px!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:1000!important;color:#FF2D6F!important;}
.storybd-v7 .storybd-viral-head strong{font-size:15px!important;line-height:1.15!important;font-weight:1000!important;color:#141C2C!important;}
.storybd-v7 .storybd-viral-main{width:100%!important;
    max-width:none!important;min-height:42px!important;margin-top:2px!important;background:#FF2D6F!important;color:#fff!important;}
.storybd-v7 .storybd-viral-stats{display:flex!important;gap:6px!important;flex-wrap:wrap!important;}
.storybd-v7 .storybd-viral-stats span{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:6px 8px!important;border-radius:999px!important;border:2px solid rgba(20,28,44,.15)!important;background:#fff!important;font-size:12px!important;font-weight:1000!important;}
.storybd-v7 .storybd-viral-share{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.storybd-v7 .storybd-viral-share .storybd-inline-share-title{font-size:12px!important;font-weight:1000!important;color:#FF2D6F!important;margin:0 0 6px!important;display:block!important;}
.storybd-v7 .storybd-viral-share .storybd-share-icons-row{justify-content:flex-start!important;}
.storybd-v7 .storybd-viral-share .storybd-share-network{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;}
@media(max-width:768px){
  .storybd-v7 .storybd-viral-share-card{padding:10px!important;border-radius:15px!important;box-shadow:3px 3px 0 #141C2C!important;}
  .storybd-v7 .storybd-viral-head strong{font-size:14px!important;}
  .storybd-v7 .storybd-viral-share-card p{font-size:12px!important;}
  .storybd-v7 .storybd-viral-main{min-height:40px!important;font-size:13px!important;}
}


/* V8.3.23 - Bibliothèque : box concours pleine largeur, sans doublon de publication */
.storybd-v7 .storybd-library-actions .storybd-viral-share-card{
  grid-column:1 / -1!important;
  width:100%!important;
    max-width:none!important;
  margin-top:4px!important;
  padding:16px!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,216,77,.72), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(255,45,111,.18), transparent 36%),
    linear-gradient(135deg,#fff7cf 0%,#fff 52%,#effaff 100%)!important;
  box-shadow:7px 7px 0 rgba(20,28,44,.95)!important;
}
.storybd-v7 .storybd-viral-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.storybd-v7 .storybd-viral-head strong{
  font-size:18px!important;
  letter-spacing:-.03em!important;
}
.storybd-v7 .storybd-viral-rewards{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.storybd-v7 .storybd-viral-rewards span{
  display:grid!important;
  gap:2px!important;
  padding:11px 12px!important;
  border:3px solid #141C2C!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:4px 4px 0 rgba(20,28,44,.92)!important;
}
.storybd-v7 .storybd-viral-rewards em{
  font-style:normal!important;
  font-size:10px!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-weight:1000!important;
  color:#FF2D6F!important;
}
.storybd-v7 .storybd-viral-rewards strong{
  font-size:15px!important;
  line-height:1.12!important;
  font-weight:1000!important;
  color:#141C2C!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-main{
  min-height:48px!important;
  font-size:15px!important;
  box-shadow:5px 5px 0 #141C2C!important;
}
.storybd-v7 .storybd-viral-share-card.is-private p{
  font-size:14px!important;
  max-width:none!important;
}
@media(max-width:768px){
  .storybd-v7 .storybd-library-actions .storybd-viral-share-card{
    padding:14px!important;
    border-radius:18px!important;
    box-shadow:4px 4px 0 #141C2C!important;
  }
  .storybd-v7 .storybd-viral-head strong{font-size:16px!important;}
  .storybd-v7 .storybd-viral-rewards{grid-template-columns:1fr!important;gap:8px!important;}
  .storybd-v7 .storybd-viral-rewards span{padding:10px!important;border-radius:14px!important;}
  .storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-main{min-height:46px!important;font-size:14px!important;}
}


/* V8.3.24 - Bibliothèque : box concours épurée et hiérarchie claire */
.storybd-v7 .storybd-library-actions .storybd-viral-share-card{
  grid-column:1 / -1!important;
  width:100%!important;
    max-width:none!important;
  margin:8px 0 0!important;
  padding:18px!important;
  border:1px solid rgba(20,28,44,.14)!important;
  border-left:5px solid #FF2D6F!important;
  border-radius:18px!important;
  background:#ffffff!important;
  box-shadow:0 12px 30px rgba(20,28,44,.08)!important;
  display:grid!important;
  gap:14px!important;
  color:#141C2C!important;
}
.storybd-v7 .storybd-library-actions .storybd-viral-share-card::before,
.storybd-v7 .storybd-library-actions .storybd-viral-share-card::after{display:none!important;content:none!important;}
.storybd-v7 .storybd-viral-head{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  align-items:start!important;
  justify-content:start!important;
}
.storybd-v7 .storybd-viral-eyebrow{
  color:#FF2D6F!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-weight:900!important;
}
.storybd-v7 .storybd-viral-head strong{
  font-size:18px!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
  font-weight:950!important;
  color:#141C2C!important;
}
.storybd-v7 .storybd-viral-title-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  margin-right:7px!important;
  border-radius:999px!important;
  background:#FFD84D!important;
  color:#141C2C!important;
  box-shadow:2px 2px 0 #141C2C!important;
  font-size:13px!important;
  line-height:1!important;
  vertical-align:middle!important;
}
.storybd-v7 .storybd-viral-prize-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  padding:9px 12px!important;
  border:2px solid #141C2C!important;
  border-radius:999px!important;
  background:#FFD84D!important;
  color:#141C2C!important;
  box-shadow:3px 3px 0 #141C2C!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-viral-prize-pill strong{
  font-size:14px!important;
  line-height:1!important;
  font-weight:1000!important;
}
.storybd-v7 .storybd-viral-prize-pill em{
  font-style:normal!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  opacity:.78!important;
}
.storybd-v7 .storybd-viral-rewards{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.storybd-v7 .storybd-viral-rewards span{
  display:grid!important;
  gap:4px!important;
  padding:12px 14px!important;
  border:1px solid rgba(20,28,44,.12)!important;
  border-radius:14px!important;
  background:#F8FAFC!important;
  box-shadow:none!important;
}
.storybd-v7 .storybd-viral-rewards em{
  font-style:normal!important;
  color:rgba(20,28,44,.58)!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  font-weight:850!important;
}
.storybd-v7 .storybd-viral-rewards strong{
  color:#141C2C!important;
  font-size:16px!important;
  line-height:1.15!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-viral-share-card p{
  margin:0!important;
  max-width:760px!important;
  color:rgba(20,28,44,.76)!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
.storybd-v7 .storybd-viral-share-card small{
  color:rgba(20,28,44,.55)!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-main,
.storybd-v7 .storybd-viral-main{
  width:100%!important;
    max-width:none!important;
  min-height:46px!important;
  margin:0!important;
  border:0!important;
  border-radius:13px!important;
  background:#FF2D6F!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-main:hover,
.storybd-v7 .storybd-viral-main:hover{filter:brightness(.96)!important;transform:none!important;}
.storybd-v7 .storybd-viral-stats{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.storybd-v7 .storybd-viral-stats span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  padding:6px 10px!important;
  border:1px solid rgba(20,28,44,.12)!important;
  border-radius:999px!important;
  background:#F8FAFC!important;
  color:#141C2C!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:850!important;
}
.storybd-v7 .storybd-viral-share{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.storybd-v7 .storybd-viral-share .storybd-inline-share-title{
  display:block!important;
  margin:0 0 8px!important;
  color:#141C2C!important;
  font-size:13px!important;
  font-weight:900!important;
}
.storybd-v7 .storybd-viral-share .storybd-share-icons-row{
  justify-content:flex-start!important;
  gap:8px!important;
}
.storybd-v7 .storybd-viral-share .storybd-share-network{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
@media(max-width:768px){
  .storybd-v7 .storybd-library-actions .storybd-viral-share-card{
    padding:15px!important;
    gap:12px!important;
    border-radius:16px!important;
    box-shadow:0 10px 24px rgba(20,28,44,.08)!important;
  }
  .storybd-v7 .storybd-viral-head strong{font-size:16px!important;}
  .storybd-v7 .storybd-viral-rewards{grid-template-columns:1fr!important;gap:8px!important;}
  .storybd-v7 .storybd-viral-rewards span{padding:11px 12px!important;}
  .storybd-v7 .storybd-viral-share-card p{font-size:13px!important;line-height:1.4!important;}
  .storybd-v7 .storybd-viral-main{min-height:44px!important;font-size:14px!important;}
}


/* V8.3.25 - lien de partage Explorer ciblé */
.storybd-public-gallery .storybd-gallery-card.is-shared-target{
  outline: 3px solid rgba(255,216,77,.95);
  box-shadow: 0 18px 55px rgba(20,28,44,.22), 0 0 0 7px rgba(255,216,77,.18);
}

/* V8.3.26 - Partage fiable : popup Comixio, message copiable, lien Explorer ciblé */
.storybd-share-hub-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  background:rgba(7,13,28,.68)!important;
  backdrop-filter:blur(7px)!important;
}
.storybd-share-hub-modal.is-open{display:flex!important;}
.storybd-share-hub-card{
  width:min(620px,96vw)!important;
  max-height:92vh!important;
  overflow:auto!important;
  background:#fff!important;
  border:3px solid #141C2C!important;
  border-radius:24px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.28)!important;
  padding:24px!important;
  color:#141C2C!important;
  position:relative!important;
}
.storybd-share-hub-card h2{margin:4px 0 8px!important;font-size:clamp(24px,4vw,34px)!important;line-height:1.05!important;font-weight:1000!important;color:#141C2C!important;}
.storybd-share-hub-intro{margin:0 0 16px!important;color:#334155!important;font-weight:750!important;line-height:1.45!important;}
.storybd-share-hub-label{display:block!important;margin:10px 0 7px!important;font-size:12px!important;letter-spacing:.06em!important;text-transform:uppercase!important;font-weight:1000!important;color:#FF2D6F!important;}
#storybd-share-hub-text{
  width:100%!important;
    max-width:none!important;
  min-height:136px!important;
  resize:vertical!important;
  border:2px solid rgba(20,28,44,.16)!important;
  border-radius:18px!important;
  background:#F8FAFC!important;
  color:#141C2C!important;
  padding:14px!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:800!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;
}
.storybd-share-hub-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0!important;}
.storybd-share-hub-network-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:9px!important;margin:12px 0!important;}
.storybd-share-hub-network{
  border:2px solid rgba(20,28,44,.16)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#141C2C!important;
  font-weight:1000!important;
  padding:12px 8px!important;
  cursor:pointer!important;
  transition:transform .14s ease, border-color .14s ease, background .14s ease!important;
}
.storybd-share-hub-network:hover{transform:translateY(-1px)!important;border-color:#141C2C!important;background:#FFF7CC!important;}
.storybd-share-hub-note{margin:10px 0 0!important;color:#64748B!important;font-size:12px!important;line-height:1.35!important;font-weight:750!important;}
.storybd-share-hub-status{min-height:20px!important;margin:10px 0 0!important;color:#15803D!important;font-weight:1000!important;font-size:13px!important;}
.storybd-share-hub-close{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:38px!important;
  height:38px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:#141C2C!important;
  color:#fff!important;
  border:0!important;
  font-size:24px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.storybd-v7 .storybd-share-hub-open{width:100%!important;
    max-width:none!important;justify-content:center!important;}
@media(max-width:700px){
  .storybd-share-hub-modal{padding:10px!important;align-items:flex-end!important;}
  .storybd-share-hub-card{width:100%!important;
    max-width:none!important;max-height:88vh!important;border-radius:22px 22px 0 0!important;padding:20px 14px 16px!important;}
  .storybd-share-hub-actions{grid-template-columns:1fr!important;}
  .storybd-share-hub-network-grid{grid-template-columns:1fr 1fr!important;}
  #storybd-share-hub-text{font-size:14px!important;min-height:128px!important;}
}

/* V8.3.27 - Share Hub CSS rescue: lisibilité, boutons propres, anti styles Divi */
.storybd-share-hub-modal,
.storybd-share-hub-modal *{
  box-sizing:border-box!important;
}
.storybd-share-hub-modal{
  color:#141C2C!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.storybd-share-hub-card{
  background:#FFFFFF!important;
  color:#141C2C!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:26px!important;
  box-shadow:0 26px 80px rgba(0,0,0,.42),0 0 0 3px rgba(20,28,44,.92)!important;
}
.storybd-share-hub-card h2,
.storybd-share-hub-card p,
.storybd-share-hub-card label,
.storybd-share-hub-card span,
.storybd-share-hub-card small,
.storybd-share-hub-card textarea{
  color:#141C2C!important;
}
.storybd-share-hub-card h2{
  padding-right:42px!important;
  letter-spacing:-.04em!important;
}
.storybd-share-hub-intro{
  color:#475569!important;
  font-size:15px!important;
}
#storybd-share-hub-text{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  background:#F8FAFC!important;
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
  border:2px solid rgba(20,28,44,.18)!important;
  box-shadow:none!important;
  outline:none!important;
}
#storybd-share-hub-text:focus{
  border-color:#FF2D6F!important;
  box-shadow:0 0 0 4px rgba(255,45,111,.12)!important;
}
.storybd-share-hub-actions,
.storybd-share-hub-network-grid{
  width:100%!important;
    max-width:none!important;
}
.storybd-share-hub-actions button,
.storybd-share-hub-network,
.storybd-share-hub-close{
  appearance:none!important;
  -webkit-appearance:none!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  white-space:normal!important;
}
.storybd-share-hub-actions button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  border:2px solid #141C2C!important;
  background:#FF2D6F!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:950!important;
  box-shadow:4px 4px 0 #141C2C!important;
  cursor:pointer!important;
}
.storybd-share-hub-actions button:nth-child(2){
  background:#FFFFFF!important;
  color:#141C2C!important;
  -webkit-text-fill-color:#141C2C!important;
}
.storybd-share-hub-network{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:12px 8px!important;
  border:2px solid rgba(20,28,44,.16)!important;
  border-radius:16px!important;
  background:#FFFFFF!important;
  color:#141C2C!important;
  -webkit-text-fill-color:#141C2C!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:950!important;
  box-shadow:none!important;
}
.storybd-share-hub-network[data-network="whatsapp"]{
  background:#25D366!important;
  border-color:#128C3A!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
.storybd-share-hub-network[data-network="facebook"]{
  background:#1877F2!important;
  border-color:#0B4CAD!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
.storybd-share-hub-network[data-network="x"]{
  background:#141C2C!important;
  border-color:#141C2C!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
.storybd-share-hub-network[data-network="instagram"]{
  background:linear-gradient(135deg,#F9CE34 0%,#EE2A7B 48%,#6228D7 100%)!important;
  border-color:#D62976!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
.storybd-share-hub-actions button:hover,
.storybd-share-hub-network:hover{
  transform:translateY(-1px)!important;
  filter:saturate(1.05) contrast(1.03)!important;
}
.storybd-share-hub-note{
  color:#64748B!important;
  background:#F8FAFC!important;
  border:1px solid rgba(20,28,44,.08)!important;
  border-radius:14px!important;
  padding:10px 12px!important;
}
.storybd-share-hub-status{
  color:#047857!important;
  background:rgba(16,185,129,.08)!important;
  border-radius:999px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
}
.storybd-share-hub-close{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  background:#141C2C!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
  border:2px solid #141C2C!important;
  box-shadow:none!important;
  font-size:26px!important;
  font-weight:900!important;
  line-height:1!important;
}
.storybd-share-hub-close:hover{
  background:#FF2D6F!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
  transform:none!important;
}
@media(max-width:700px){
  .storybd-share-hub-card{
    padding:22px 14px 16px!important;
    border-radius:24px 24px 0 0!important;
  }
  .storybd-share-hub-card h2{
    font-size:24px!important;
    line-height:1.08!important;
  }
  .storybd-share-hub-intro{
    font-size:13px!important;
  }
  .storybd-share-hub-actions button,
  .storybd-share-hub-network{
    min-height:46px!important;
    font-size:13px!important;
  }
  .storybd-share-hub-note{
    font-size:11px!important;
  }
}


/* V8.3.28 - Bibliothèque + Share Hub : correction boutons cassés et style Comixio habituel */
.storybd-v7 .storybd-library-actions .storybd-viral-share,
.storybd-v7 .storybd-library-actions .storybd-inline-share.storybd-viral-share{
  width:100%!important;
    max-width:none!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.storybd-v7 .storybd-library-actions .storybd-viral-share .storybd-inline-share-title{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  margin:0!important;
  color:#141C2C!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:950!important;
  text-align:left!important;
}
.storybd-v7 .storybd-library-actions .storybd-viral-share .storybd-share-hub-open,
.storybd-v7 .storybd-library-actions button.storybd-share-hub-open.storybd-viral-main,
.storybd-v7 .storybd-library-actions .storybd-share-hub-open.storybd-share-network{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:46px!important;
  padding:13px 16px!important;
  border:3px solid #141C2C!important;
  border-radius:999px!important;
  background:#FF2D6F!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
  box-shadow:4px 4px 0 #141C2C!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:1000!important;
  text-align:center!important;
  white-space:normal!important;
  overflow:visible!important;
  text-indent:0!important;
  letter-spacing:0!important;
}
.storybd-v7 .storybd-library-actions .storybd-share-hub-open::before,
.storybd-v7 .storybd-library-actions .storybd-share-hub-open::after{
  content:none!important;
  display:none!important;
}
.storybd-v7 .storybd-library-actions .storybd-share-hub-open:hover{
  transform:translate(-1px,-1px)!important;
  box-shadow:6px 6px 0 #141C2C!important;
  filter:saturate(1.05) contrast(1.03)!important;
}
.storybd-v7 .storybd-library-actions .storybd-viral-share-card .storybd-viral-main:not(.storybd-share-hub-open){
  border:3px solid #141C2C!important;
  border-radius:999px!important;
  background:#FF2D6F!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
  box-shadow:4px 4px 0 #141C2C!important;
}
.storybd-v7 .storybd-library-actions .storybd-viral-share-card .storybd-viral-main:not(.storybd-share-hub-open):hover{
  transform:translate(-1px,-1px)!important;
  box-shadow:6px 6px 0 #141C2C!important;
}
.storybd-share-hub-modal .storybd-share-hub-card{
  border:4px solid #141C2C!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 12% 8%,rgba(255,216,77,.28),transparent 32%),
    radial-gradient(circle at 92% 12%,rgba(62,219,255,.16),transparent 30%),
    #FFFFFF!important;
  box-shadow:10px 10px 0 #141C2C,0 28px 80px rgba(0,0,0,.38)!important;
}
.storybd-share-hub-modal .storybd-share-hub-card h2{
  color:#141C2C!important;
  font-weight:1000!important;
  letter-spacing:-.045em!important;
}
.storybd-share-hub-modal .storybd-share-hub-actions button{
  border:3px solid #141C2C!important;
  border-radius:999px!important;
  box-shadow:4px 4px 0 #141C2C!important;
}
.storybd-share-hub-modal .storybd-share-hub-actions button:hover{
  transform:translate(-1px,-1px)!important;
  box-shadow:6px 6px 0 #141C2C!important;
}
.storybd-share-hub-modal .storybd-share-hub-network{
  border:3px solid #141C2C!important;
  border-radius:18px!important;
  box-shadow:3px 3px 0 #141C2C!important;
}
.storybd-share-hub-modal .storybd-share-hub-network:hover{
  transform:translate(-1px,-1px)!important;
  box-shadow:5px 5px 0 #141C2C!important;
}
.storybd-share-hub-modal .storybd-share-hub-close{
  border:3px solid #141C2C!important;
  background:#FFD84D!important;
  color:#141C2C!important;
  -webkit-text-fill-color:#141C2C!important;
  box-shadow:3px 3px 0 #141C2C!important;
}
.storybd-share-hub-modal .storybd-share-hub-close:hover{
  background:#FF2D6F!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
@media(max-width:700px){
  .storybd-v7 .storybd-library-actions .storybd-share-hub-open.storybd-viral-main,
  .storybd-v7 .storybd-library-actions button.storybd-share-hub-open{
    min-height:44px!important;
    padding:12px 14px!important;
    font-size:14px!important;
  }
  .storybd-share-hub-modal .storybd-share-hub-card{
    border-radius:26px 26px 0 0!important;
    border-width:3px!important;
    box-shadow:0 -8px 34px rgba(0,0,0,.28)!important;
  }
}


/* Comixio v8.3.30 - bouton obtenir des votes + micro pulse conditionnel */
.storybd-v7 .storybd-viral-share .storybd-viral-main,
.storybd-v7 .storybd-viral-share .storybd-share-hub-open.storybd-viral-main{
  background:#FF8FB3!important;
  color:#141C2C!important;
  border:2px solid #141C2C!important;
  box-shadow:3px 3px 0 rgba(20,28,44,.95)!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease!important;
}
.storybd-v7 .storybd-viral-share .storybd-viral-main:hover,
.storybd-v7 .storybd-viral-share .storybd-share-hub-open.storybd-viral-main:hover{
  background:#FF2D6F!important;
  color:#fff!important;
  transform:translate(-1px,-1px)!important;
  box-shadow:5px 5px 0 rgba(20,28,44,.95)!important;
  filter:none!important;
}
.storybd-v7 .storybd-viral-share .storybd-vote-help{
  display:block!important;
  margin:7px 0 0!important;
  color:rgba(20,28,44,.62)!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:800!important;
  text-align:center!important;
}
.storybd-v7 .storybd-viral-share.is-close-to-top .storybd-inline-share-title:after{
  content:' · proche du top';
  color:#FF2D6F!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-viral-share .storybd-viral-main.is-pulse-ready{
  animation:storybdVotePulse 2.6s ease-in-out infinite!important;
}
@keyframes storybdVotePulse{
  0%,100%{transform:translateZ(0) scale(1);box-shadow:3px 3px 0 rgba(20,28,44,.95),0 0 0 0 rgba(255,45,111,.22);}
  50%{transform:translateZ(0) scale(1.018);box-shadow:4px 4px 0 rgba(20,28,44,.95),0 0 0 8px rgba(255,45,111,0);}
}
@media (prefers-reduced-motion: reduce){
  .storybd-v7 .storybd-viral-share .storybd-viral-main.is-pulse-ready{animation:none!important;}
}
@media(max-width:620px){
  .storybd-v7 .storybd-viral-share.is-close-to-top .storybd-inline-share-title:after{display:block;content:'Proche du top';margin-top:3px;}
}


/* Comixio v8.3.31 - bouton publier beige distinct du bouton votes */
.storybd-v7 .storybd-viral-share-card.is-private .storybd-publish-open.storybd-viral-main,
.storybd-v7 .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-viral-main{
  background:#FFF1C6!important;
  color:#141C2C!important;
  border:2px solid #141C2C!important;
  box-shadow:3px 3px 0 rgba(20,28,44,.92)!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-publish-open.storybd-viral-main:hover,
.storybd-v7 .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-viral-main:hover{
  background:#FFD84D!important;
  color:#141C2C!important;
  transform:translate(-1px,-1px)!important;
  box-shadow:5px 5px 0 rgba(20,28,44,.92)!important;
  filter:none!important;
}


/* Comixio v8.3.32 - page création sans partage RS + bouton publier aligné sur Gérer ma publication */
.storybd-v7 .storybd-result-step .storybd-result-inline-share,
.storybd-v7 .storybd-result-step .storybd-share-nudge{
  display:none!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-publish-open.storybd-viral-main,
.storybd-v7 .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-viral-main,
.storybd-v7 .storybd-viral-share-card.is-private .storybd-publish-open.storybd-community-action,
.storybd-v7 .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-community-action{
  background:#3EDBFF!important;
  color:#141C2C!important;
  -webkit-text-fill-color:#141C2C!important;
  border:3px solid #141C2C!important;
  border-radius:999px!important;
  box-shadow:4px 4px 0 #141C2C!important;
  font-weight:1000!important;
  min-height:46px!important;
  width:100%!important;
    max-width:none!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-publish-open.storybd-viral-main:hover,
.storybd-v7 .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-viral-main:hover,
.storybd-v7 .storybd-viral-share-card.is-private .storybd-publish-open.storybd-community-action:hover,
.storybd-v7 .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-community-action:hover{
  background:#3EDBFF!important;
  color:#141C2C!important;
  transform:translate(-1px,-1px)!important;
  box-shadow:6px 6px 0 #141C2C!important;
  filter:saturate(1.05) contrast(1.03)!important;
}

/* Comixio v8.3.33 - Loader création : vitrine dynamique Explorer, sans Snack/score */
.storybd-v7 .storybd-loader-explorer{
  margin:24px auto 0!important;
  width:min(1040px,100%)!important;
  border:3px solid var(--storybd-ink,#141C2C)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#fffdf6,#fff 54%,#eefbff)!important;
  box-shadow:6px 6px 0 var(--storybd-ink,#141C2C)!important;
  padding:18px!important;
  text-align:left!important;
}
.storybd-v7 .storybd-loader-explorer-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:16px!important;
}
.storybd-v7 .storybd-loader-explorer-head strong{
  display:block!important;
  color:#141C2C!important;
  font-size:clamp(18px,2.2vw,26px)!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-loader-explorer-head span{
  display:block!important;
  margin-top:6px!important;
  color:rgba(20,28,44,.72)!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.35!important;
}
.storybd-v7 .storybd-loader-explorer-head a{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:10px 14px!important;
  border:2px solid #141C2C!important;
  border-radius:999px!important;
  background:#FFD84D!important;
  color:#141C2C!important;
  font-size:13px!important;
  font-weight:950!important;
  text-decoration:none!important;
  box-shadow:3px 3px 0 #141C2C!important;
}
.storybd-v7 .storybd-loader-showcase{
  display:grid!important;
  grid-template-columns:1.2fr 1.2fr 1fr!important;
  gap:14px!important;
  align-items:stretch!important;
}
.storybd-v7 .storybd-loader-pub-card{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:104px 1fr!important;
  gap:12px!important;
  border:2px solid rgba(20,28,44,.92)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:4px 4px 0 #141C2C!important;
  padding:10px!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-loader-pub-card:nth-child(1),
.storybd-v7 .storybd-loader-pub-card:nth-child(2){
  grid-template-columns:132px 1fr!important;
  background:#fff9dc!important;
}
.storybd-v7 .storybd-loader-pub-card:nth-child(n+4){
  display:none!important;
}
.storybd-v7 .storybd-loader-pub-image{
  display:block!important;
  border:2px solid #141C2C!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
  min-height:142px!important;
}
.storybd-v7 .storybd-loader-pub-image img{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  min-height:142px!important;
  object-fit:cover!important;
  object-position:top center!important;
  transform:scale(1.01)!important;
}
.storybd-v7 .storybd-loader-pub-body{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:6px!important;
}
.storybd-v7 .storybd-loader-pub-badge{
  align-self:flex-start!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:5px 9px!important;
  border:1px solid rgba(20,28,44,.2)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#141C2C!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1!important;
}
.storybd-v7 .storybd-loader-pub-body h3{
  margin:0!important;
  color:#141C2C!important;
  font-size:clamp(16px,1.8vw,21px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-loader-pub-body p{
  margin:0!important;
  color:rgba(20,28,44,.7)!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.25!important;
}
.storybd-v7 .storybd-loader-vote-row{
  margin-top:4px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  justify-content:flex-start!important;
}
.storybd-v7 .storybd-loader-vote-row .storybd-vote-btn{
  min-height:30px!important;
  padding:5px 7px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1!important;
  box-shadow:2px 2px 0 #141C2C!important;
}
.storybd-v7 .storybd-loader-publication-teaser,
.storybd-v7 .storybd-loader-empty-showcase{
  margin:16px auto 0!important;
  width:min(760px,100%)!important;
  border:2px solid rgba(20,28,44,.9)!important;
  border-radius:20px!important;
  background:#F6E7C1!important;
  padding:12px 14px!important;
  color:#141C2C!important;
  text-align:center!important;
  box-shadow:4px 4px 0 #141C2C!important;
}
.storybd-v7 .storybd-loader-publication-teaser strong,
.storybd-v7 .storybd-loader-empty-showcase strong{
  display:block!important;
  font-size:16px!important;
  font-weight:950!important;
  color:#141C2C!important;
}
.storybd-v7 .storybd-loader-publication-teaser span,
.storybd-v7 .storybd-loader-empty-showcase span{
  display:block!important;
  margin-top:4px!important;
  font-size:13px!important;
  font-weight:750!important;
  color:rgba(20,28,44,.72)!important;
}
@media(max-width:980px){
  .storybd-v7 .storybd-loader-showcase{grid-template-columns:1fr!important;}
  .storybd-v7 .storybd-loader-pub-card,
  .storybd-v7 .storybd-loader-pub-card:nth-child(1),
  .storybd-v7 .storybd-loader-pub-card:nth-child(2){grid-template-columns:118px 1fr!important;}
  .storybd-v7 .storybd-loader-pub-card:nth-child(n+4){display:grid!important;}
}
@media(max-width:560px){
  .storybd-v7 .storybd-loader-explorer{padding:13px!important;border-radius:22px!important;margin-top:18px!important;}
  .storybd-v7 .storybd-loader-explorer-head{align-items:flex-start!important;flex-direction:column!important;gap:10px!important;}
  .storybd-v7 .storybd-loader-explorer-head a{width:100%!important;
    max-width:none!important;}
  .storybd-v7 .storybd-loader-showcase{gap:10px!important;}
  .storybd-v7 .storybd-loader-pub-card,
  .storybd-v7 .storybd-loader-pub-card:nth-child(1),
  .storybd-v7 .storybd-loader-pub-card:nth-child(2){
    grid-template-columns:96px 1fr!important;
    border-radius:18px!important;
    padding:8px!important;
    gap:9px!important;
  }
  .storybd-v7 .storybd-loader-pub-image,
  .storybd-v7 .storybd-loader-pub-image img{min-height:122px!important;}
  .storybd-v7 .storybd-loader-pub-badge{font-size:10px!important;padding:4px 7px!important;}
  .storybd-v7 .storybd-loader-pub-body h3{font-size:15px!important;-webkit-line-clamp:2!important;}
  .storybd-v7 .storybd-loader-pub-body p{font-size:11px!important;}
  .storybd-v7 .storybd-loader-vote-row{gap:4px!important;}
  .storybd-v7 .storybd-loader-vote-row .storybd-vote-btn{font-size:12px!important;padding:5px 6px!important;min-height:28px!important;}
}

/* Comixio v8.3.34 - Loader création : vitrines Explorer sans sortie de page + lecture HD popup */
.storybd-v7 .storybd-loader-explorer{
  width:min(1120px,100%)!important;
  padding:18px!important;
  background:linear-gradient(135deg,#fffdf6 0%,#fff 58%,#edfaff 100%)!important;
}
.storybd-v7 .storybd-loader-explorer-head{
  margin-bottom:14px!important;
  padding:0 2px!important;
}
.storybd-v7 .storybd-loader-explorer-head strong{
  max-width:900px!important;
  font-size:clamp(20px,2.4vw,30px)!important;
}
.storybd-v7 .storybd-loader-explorer-head span{
  max-width:760px!important;
  font-size:14px!important;
}
.storybd-v7 .storybd-loader-explorer-head a{display:none!important;}
.storybd-v7 .storybd-loader-featured-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
.storybd-v7 .storybd-loader-more-title{
  margin:18px 2px 10px!important;
  color:#141C2C!important;
  font-size:15px!important;
  font-weight:950!important;
  letter-spacing:-.01em!important;
}
.storybd-v7 .storybd-loader-more-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.storybd-v7 .storybd-loader-pub-card{
  position:relative!important;
  min-width:0!important;
  display:grid!important;
  gap:12px!important;
  border:2px solid #141C2C!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:4px 4px 0 #141C2C!important;
  padding:10px!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-loader-pub-card-featured{
  grid-template-columns:170px 1fr!important;
  min-height:250px!important;
  background:linear-gradient(135deg,#fff7d7,#fff)!important;
  box-shadow:6px 6px 0 #141C2C!important;
}
.storybd-v7 .storybd-loader-pub-card-featured:nth-child(2){background:linear-gradient(135deg,#eefbff,#fff)!important;}
.storybd-v7 .storybd-loader-pub-card-mini{
  grid-template-columns:120px 1fr!important;
  min-height:178px!important;
}
.storybd-v7 .storybd-loader-pub-image{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  min-height:150px!important;
  display:block!important;
  position:relative!important;
  border:2px solid #141C2C!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
  padding:0!important;
  cursor:zoom-in!important;
}
.storybd-v7 .storybd-loader-pub-card-featured .storybd-loader-pub-image{min-height:228px!important;}
.storybd-v7 .storybd-loader-pub-card-mini .storybd-loader-pub-image{min-height:158px!important;}
.storybd-v7 .storybd-loader-pub-image img{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  min-height:inherit!important;
  object-fit:cover!important;
  object-position:top center!important;
  transform:none!important;
}
.storybd-v7 .storybd-loader-pub-image span{
  position:absolute!important;
  left:8px!important;
  bottom:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:5px 9px!important;
  border:2px solid #141C2C!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  color:#141C2C!important;
  font-size:11px!important;
  font-weight:950!important;
  box-shadow:2px 2px 0 #141C2C!important;
}
.storybd-v7 .storybd-loader-pub-body{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:7px!important;
}
.storybd-v7 .storybd-loader-pub-badge{
  align-self:flex-start!important;
  background:#141C2C!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1!important;
}
.storybd-v7 .storybd-loader-reward-line{
  display:block!important;
  width:fit-content!important;
  max-width:100%!important;
    max-width:none!important;
  padding:9px 11px!important;
  border:2px solid #141C2C!important;
  border-radius:14px!important;
  background:#FFD84D!important;
  color:#141C2C!important;
  box-shadow:3px 3px 0 #141C2C!important;
  font-size:clamp(15px,1.65vw,21px)!important;
  font-weight:1000!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-loader-pub-card:nth-child(2) .storybd-loader-reward-line{background:#3EDBFF!important;}
.storybd-v7 .storybd-loader-pub-body h3{
  margin:0!important;
  color:#141C2C!important;
  font-size:clamp(16px,1.45vw,21px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-loader-pub-card-mini .storybd-loader-pub-body h3{font-size:15px!important;}
.storybd-v7 .storybd-loader-pub-body p{
  margin:0!important;
  color:rgba(20,28,44,.72)!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.25!important;
}
.storybd-v7 .storybd-loader-vote-row{
  margin-top:3px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  justify-content:flex-start!important;
}
.storybd-v7 .storybd-loader-vote-row .storybd-vote-btn{
  min-height:32px!important;
  padding:6px 8px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1!important;
  background:#fff!important;
  color:#141C2C!important;
  border:2px solid #141C2C!important;
  box-shadow:2px 2px 0 #141C2C!important;
}
.storybd-v7 .storybd-loader-vote-row .storybd-vote-btn.is-voted{
  background:#FF8FB3!important;
}
.storybd-v7 .storybd-loader-empty-showcase strong{font-size:18px!important;}

@media(max-width:1040px){
  .storybd-v7 .storybd-loader-featured-grid,
  .storybd-v7 .storybd-loader-more-grid{grid-template-columns:1fr!important;}
  .storybd-v7 .storybd-loader-pub-card-featured{grid-template-columns:142px 1fr!important;min-height:220px!important;}
  .storybd-v7 .storybd-loader-pub-card-mini{grid-template-columns:118px 1fr!important;}
}
@media(max-width:620px){
  .storybd-v7 .storybd-loader-explorer{padding:12px!important;border-radius:22px!important;}
  .storybd-v7 .storybd-loader-explorer-head strong{font-size:21px!important;}
  .storybd-v7 .storybd-loader-explorer-head span{font-size:13px!important;}
  .storybd-v7 .storybd-loader-featured-grid{gap:12px!important;}
  .storybd-v7 .storybd-loader-more-grid{gap:10px!important;}
  .storybd-v7 .storybd-loader-pub-card-featured,
  .storybd-v7 .storybd-loader-pub-card-mini{
    grid-template-columns:110px 1fr!important;
    min-height:auto!important;
    padding:8px!important;
    gap:9px!important;
    border-radius:18px!important;
  }
  .storybd-v7 .storybd-loader-pub-card-featured .storybd-loader-pub-image,
  .storybd-v7 .storybd-loader-pub-card-mini .storybd-loader-pub-image{min-height:138px!important;border-radius:14px!important;}
  .storybd-v7 .storybd-loader-reward-line{font-size:14px!important;padding:7px 9px!important;border-radius:12px!important;}
  .storybd-v7 .storybd-loader-pub-body h3{font-size:14px!important;-webkit-line-clamp:2!important;}
  .storybd-v7 .storybd-loader-pub-body p{font-size:11px!important;}
  .storybd-v7 .storybd-loader-vote-row{gap:4px!important;}
  .storybd-v7 .storybd-loader-vote-row .storybd-vote-btn{min-height:28px!important;padding:4px 6px!important;font-size:12px!important;}
}


/* =========================================================
   COMIXIO V8.3.35 - Explorer simplifié + gagnants + coeur unique
   ========================================================= */
.storybd-explorer-clean{padding-top:clamp(16px,3vw,34px)!important;}
.storybd-explorer-clean .storybd-feed-tabs,
.storybd-explorer-clean .storybd-gallery-filters{display:none!important;}
.storybd-category-showcase{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:1040px;margin:0 auto 18px;padding:0 6px;}
.storybd-category-pill{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:12px 14px;border:3px solid #141C2C;border-radius:18px;background:linear-gradient(180deg,var(--cat-color),#fff);color:#141C2C!important;text-decoration:none!important;font-weight:1000;box-shadow:5px 5px 0 rgba(20,28,44,.15);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;overflow:hidden;}
.storybd-category-pill:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.34);opacity:.55;pointer-events:none;}
.storybd-category-pill span,.storybd-category-pill strong{position:relative;z-index:1;}
.storybd-category-pill span{font-size:22px;line-height:1;}
.storybd-category-pill strong{font-size:clamp(13px,1.8vw,16px);letter-spacing:-.01em;}
.storybd-category-pill:hover,.storybd-category-pill.is-active{transform:translateY(-3px);box-shadow:7px 8px 0 rgba(20,28,44,.18);filter:saturate(1.08);}
.storybd-category-pill.is-active{outline:3px solid rgba(255,45,111,.24);}
.storybd-category-reset{position:relative;z-index:2;text-align:center;margin:-6px 0 16px;}
.storybd-category-reset a{display:inline-flex;color:#141C2C!important;font-weight:900;text-decoration:none!important;border-bottom:2px solid #FF2D6F;}
.storybd-winners-strip{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:14px;max-width:1040px;margin:0 auto 18px;}
.storybd-explorer-clean .storybd-feed-card-winner{display:grid;grid-template-columns:minmax(112px,170px) minmax(0,1fr);align-items:stretch;min-height:178px!important;border-radius:24px!important;background:rgba(255,255,255,.96)!important;box-shadow:7px 8px 0 rgba(20,28,44,.12)!important;}
.storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-image{height:100%;min-height:178px;background:#F6E7C1;}
.storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-image img{height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;}
.storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-body{display:flex;flex-direction:column;justify-content:center;padding:16px 18px 14px!important;min-width:0;}
.storybd-winner-badge{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;margin:0 0 8px;padding:6px 10px;border:2px solid #141C2C;border-radius:999px;background:#FFD84D;color:#141C2C;font-weight:1000;font-size:12px;box-shadow:2px 2px 0 rgba(20,28,44,.12);}
.storybd-winner-reward{display:block;color:#FF2D6F;font-size:clamp(19px,3vw,30px);line-height:1;margin:0 0 5px;font-weight:1000;letter-spacing:-.04em;}
.storybd-winner-period{display:block;margin-bottom:9px;color:rgba(20,28,44,.68);font-weight:900;}
.storybd-explorer-clean .storybd-gallery-category{background:#F6E7C1!important;color:#141C2C!important;border-color:#141C2C!important;align-self:flex-start;}
.storybd-explorer-clean .storybd-gallery-body h3{font-size:clamp(18px,2.3vw,25px)!important;margin:8px 0 5px!important;color:#141C2C!important;}
.storybd-explorer-clean .storybd-gallery-body p{font-size:13px!important;font-weight:900!important;color:rgba(20,28,44,.68)!important;margin:0!important;}
.storybd-explorer-separator{position:relative;z-index:1;max-width:1040px;margin:18px auto 16px;display:flex;align-items:end;justify-content:space-between;gap:12px;color:#141C2C;}
.storybd-explorer-separator strong{font-size:clamp(21px,3vw,34px);line-height:1;font-weight:1000;letter-spacing:-.04em;}
.storybd-explorer-separator span{font-weight:900;color:rgba(20,28,44,.62);text-align:right;}
.storybd-public-gallery .storybd-explorer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:1040px!important;gap:18px!important;justify-content:stretch!important;}
.storybd-explorer-clean .storybd-feed-card-standard{border-radius:22px!important;box-shadow:6px 7px 0 rgba(20,28,44,.12)!important;}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-body{padding:12px 13px 14px!important;}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-body h3{font-size:18px!important;line-height:1.06!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-image img{aspect-ratio:2/2.65!important;object-fit:cover!important;}
.storybd-explorer-clean .storybd-gallery-rank,
.storybd-explorer-clean .storybd-reco-badge,
.storybd-explorer-clean .storybd-smart-score{display:none!important;}
.storybd-explorer-clean .storybd-vote-row{display:block!important;}
.storybd-explorer-clean .storybd-heart-vote{position:absolute!important;z-index:5;right:12px;top:12px;display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-width:72px!important;min-height:48px!important;padding:8px 11px!important;border:3px solid #141C2C!important;border-radius:999px!important;background:#fff!important;color:#141C2C!important;font-size:18px!important;font-weight:1000!important;box-shadow:4px 5px 0 rgba(20,28,44,.22)!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important;}
.storybd-explorer-clean .storybd-heart-vote:hover,
.storybd-explorer-clean .storybd-heart-vote.is-voted{transform:translateY(-2px) scale(1.04)!important;background:#FF8FB3!important;box-shadow:5px 7px 0 rgba(20,28,44,.24)!important;}
.storybd-heart-vote-icon{font-size:24px;line-height:1;color:#FF2D6F;text-shadow:0 2px 0 rgba(20,28,44,.13);}
.storybd-heart-vote-count{font-size:16px;line-height:1;color:#141C2C!important;}
.storybd-explorer-clean .storybd-feed-read-cta{background:#141C2C!important;color:#fff!important;border:2px solid #fff!important;border-radius:999px!important;font-weight:1000!important;padding:7px 10px!important;}
#storybd-modal-portal .storybd-feed-modal-votes{display:flex!important;justify-content:center!important;}
#storybd-modal-portal .storybd-feed-modal-votes .storybd-heart-vote{position:static!important;min-width:96px!important;min-height:50px!important;background:#fff!important;border:3px solid #141C2C!important;border-radius:999px!important;box-shadow:4px 5px 0 rgba(20,28,44,.2)!important;}
@media(max-width:900px){
  .storybd-category-showcase{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px;}
  .storybd-public-gallery .storybd-explorer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  .storybd-category-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px;}
  .storybd-category-pill{min-height:48px;border-radius:16px;padding:10px 9px;box-shadow:4px 4px 0 rgba(20,28,44,.13);}
  .storybd-category-pill span{font-size:19px;}
  .storybd-explorer-clean .storybd-feed-card-winner{grid-template-columns:112px minmax(0,1fr);min-height:158px!important;border-radius:20px!important;}
  .storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-image{min-height:158px;}
  .storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-body{padding:12px!important;}
  .storybd-winner-badge{font-size:10px;padding:5px 8px;margin-bottom:6px;}
  .storybd-winner-reward{font-size:20px;}
  .storybd-winner-period{font-size:11px;margin-bottom:5px;}
  .storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-category{display:none!important;}
  .storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-body h3{font-size:16px!important;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;}
  .storybd-explorer-separator{align-items:flex-start;flex-direction:column;margin:16px auto 12px;}
  .storybd-explorer-separator span{text-align:left;font-size:13px;}
  .storybd-public-gallery .storybd-explorer-grid{grid-template-columns:1fr!important;gap:16px!important;}
  .storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-image img{aspect-ratio:2/2.45!important;}
  .storybd-explorer-clean .storybd-heart-vote{right:10px;top:10px;min-width:68px!important;min-height:45px!important;}
}

/* ======================================
   COMIXIO EXPLORER UX POLISH - v8.3.36
   Scoped to Explorer only
====================================== */
.storybd-explorer-clean{
  --cx-dark:#141C2C;
  --cx-yellow:#FFD84D;
  --cx-pink:#FF2D6F;
  --cx-blue:#3EDBFF;
  --cx-cream:#FFF7E4;
  --cx-beige:#F6E7C1;
}
.storybd-explorer-clean .storybd-category-showcase{
  max-width:1120px!important;
  gap:14px!important;
  margin-bottom:22px!important;
}
.storybd-explorer-clean .storybd-category-pill{
  min-height:62px!important;
  padding:13px 16px!important;
  border:3px solid var(--cx-dark)!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 22% 0%, rgba(255,255,255,.82) 0 22%, transparent 23%),
    linear-gradient(135deg, rgba(255,255,255,.92) 0%, var(--cat-color) 62%, rgba(255,255,255,.72) 100%)!important;
  box-shadow:0 10px 0 rgba(20,28,44,.14), 0 18px 34px rgba(20,28,44,.10)!important;
  isolation:isolate!important;
}
.storybd-explorer-clean .storybd-category-pill:before{display:none!important;}
.storybd-explorer-clean .storybd-category-pill span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  border:2px solid var(--cx-dark)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:2px 3px 0 rgba(20,28,44,.14)!important;
  font-size:20px!important;
}
.storybd-explorer-clean .storybd-category-pill strong{
  font-size:clamp(13px,1.5vw,17px)!important;
  color:var(--cx-dark)!important;
}
.storybd-explorer-clean .storybd-category-pill:hover,
.storybd-explorer-clean .storybd-category-pill.is-active{
  transform:translateY(-4px)!important;
  box-shadow:0 13px 0 rgba(20,28,44,.16), 0 22px 42px rgba(20,28,44,.14)!important;
}
.storybd-explorer-clean .storybd-category-pill.is-active{
  outline:none!important;
  background:linear-gradient(135deg, #fff 0%, var(--cx-yellow) 48%, var(--cat-color) 100%)!important;
}
.storybd-explorer-clean .storybd-category-reset{margin:-8px 0 20px!important;}
.storybd-explorer-clean .storybd-category-reset a{
  padding:7px 12px!important;
  border:2px solid var(--cx-dark)!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:3px 3px 0 rgba(20,28,44,.12)!important;
}
.storybd-explorer-clean .storybd-winners-strip{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  max-width:1120px!important;
  gap:20px!important;
  margin-bottom:24px!important;
}
.storybd-explorer-clean .storybd-feed-card-winner{
  position:relative!important;
  grid-template-columns:minmax(128px,42%) minmax(0,1fr)!important;
  min-height:230px!important;
  overflow:hidden!important;
  border:3px solid var(--cx-dark)!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,#fff 0%,#fff 56%,var(--cx-cream) 100%)!important;
  box-shadow:0 11px 0 rgba(20,28,44,.14),0 24px 54px rgba(20,28,44,.12)!important;
}
.storybd-explorer-clean .storybd-feed-card-winner:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 92% 8%,rgba(255,216,77,.32) 0 16%,transparent 17%),radial-gradient(circle at 8% 92%,rgba(62,219,255,.18) 0 18%,transparent 19%);
}
.storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-image{
  min-height:230px!important;
  border-radius:24px 0 0 24px!important;
  overflow:hidden!important;
  background:var(--cx-beige)!important;
}
.storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-image img{
  height:100%!important;
  width:100%!important;
    max-width:none!important;
  object-fit:cover!important;
  object-position:top center!important;
  transition:transform .35s ease!important;
}
.storybd-explorer-clean .storybd-feed-card-winner:hover .storybd-gallery-image img{transform:scale(1.025)!important;}
.storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-body{
  position:relative!important;
  z-index:1!important;
  padding:18px 18px 72px!important;
  justify-content:flex-start!important;
}
.storybd-explorer-clean .storybd-winner-badge{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  padding:8px 11px!important;
  border:2px solid var(--cx-dark)!important;
  border-radius:999px!important;
  background:var(--cx-dark)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:1000!important;
  box-shadow:3px 4px 0 rgba(20,28,44,.14)!important;
}
.storybd-explorer-clean .storybd-winner-reward{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  margin:10px 0 5px!important;
  padding:8px 11px!important;
  border:2px solid var(--cx-dark)!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,var(--cx-yellow),#fff1a3)!important;
  color:var(--cx-dark)!important;
  font-size:clamp(14px,1.7vw,18px)!important;
  line-height:1.08!important;
  box-shadow:3px 4px 0 rgba(20,28,44,.13)!important;
}
.storybd-explorer-clean .storybd-winner-period{
  display:block!important;
  font-size:12px!important;
  font-weight:900!important;
  color:rgba(20,28,44,.62)!important;
  margin-bottom:8px!important;
}
.storybd-explorer-clean .storybd-gallery-category{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  padding:5px 8px!important;
  border:2px solid var(--cx-dark)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--cx-dark)!important;
  font-size:11px!important;
  font-weight:1000!important;
}
.storybd-explorer-clean .storybd-gallery-body h3{
  font-size:clamp(18px,2.1vw,25px)!important;
  letter-spacing:-.035em!important;
  line-height:1.02!important;
  margin:9px 0 6px!important;
}
.storybd-explorer-clean .storybd-gallery-body p{
  color:rgba(20,28,44,.62)!important;
  font-size:13px!important;
  font-weight:900!important;
}
.storybd-explorer-clean .storybd-heart-vote{
  top:auto!important;
  right:13px!important;
  bottom:13px!important;
  min-width:78px!important;
  min-height:52px!important;
  padding:9px 12px!important;
  border:3px solid var(--cx-dark)!important;
  background:rgba(255,255,255,.96)!important;
  color:var(--cx-dark)!important;
  box-shadow:0 6px 0 rgba(20,28,44,.23),0 13px 24px rgba(20,28,44,.18)!important;
  backdrop-filter:blur(6px)!important;
}
.storybd-explorer-clean .storybd-heart-vote:hover,
.storybd-explorer-clean .storybd-heart-vote.is-voted{
  transform:translateY(-3px) scale(1.045)!important;
  background:#FFE2EC!important;
  box-shadow:0 8px 0 rgba(20,28,44,.24),0 16px 28px rgba(20,28,44,.2)!important;
}
.storybd-explorer-clean .storybd-heart-vote-icon{font-size:27px!important;color:var(--cx-pink)!important;}
.storybd-explorer-clean .storybd-heart-vote-count{font-size:17px!important;font-weight:1000!important;}
.storybd-explorer-clean .storybd-explorer-separator{
  max-width:1120px!important;
  margin:24px auto 18px!important;
  padding:0 2px!important;
}
.storybd-explorer-clean .storybd-explorer-separator strong{font-size:clamp(24px,3.2vw,39px)!important;}
.storybd-public-gallery.storybd-explorer-clean .storybd-explorer-grid{
  max-width:1120px!important;
  gap:20px!important;
}
.storybd-explorer-clean .storybd-feed-card-standard{
  position:relative!important;
  overflow:hidden!important;
  border:3px solid var(--cx-dark)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 8px 0 rgba(20,28,44,.12),0 17px 36px rgba(20,28,44,.10)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.storybd-explorer-clean .storybd-feed-card-standard:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 11px 0 rgba(20,28,44,.14),0 22px 42px rgba(20,28,44,.13)!important;
}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-body{padding:13px 14px 74px!important;}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-image{background:var(--cx-beige)!important;}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-image img{object-position:top center!important;}
.storybd-explorer-clean .storybd-feed-card-standard .storybd-gallery-body h3{font-size:18px!important;}
@media (max-width:980px){
  .storybd-explorer-clean .storybd-winners-strip{grid-template-columns:1fr!important;max-width:720px!important;}
  .storybd-public-gallery.storybd-explorer-clean .storybd-explorer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:720px!important;}
}
@media (max-width:680px){
  .storybd-explorer-clean{padding-top:14px!important;}
  .storybd-explorer-clean .storybd-category-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:16px!important;}
  .storybd-explorer-clean .storybd-category-pill{min-height:52px!important;padding:9px 10px!important;border-radius:17px!important;box-shadow:0 6px 0 rgba(20,28,44,.13)!important;}
  .storybd-explorer-clean .storybd-category-pill span{width:30px!important;height:30px!important;border-radius:11px!important;font-size:17px!important;}
  .storybd-explorer-clean .storybd-winners-strip{gap:14px!important;margin-bottom:18px!important;}
  .storybd-explorer-clean .storybd-feed-card-winner{grid-template-columns:122px minmax(0,1fr)!important;min-height:176px!important;border-radius:22px!important;}
  .storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-image{min-height:176px!important;border-radius:18px 0 0 18px!important;}
  .storybd-explorer-clean .storybd-feed-card-winner .storybd-gallery-body{padding:12px 12px 62px!important;}
  .storybd-explorer-clean .storybd-winner-badge{font-size:10px!important;padding:6px 8px!important;}
  .storybd-explorer-clean .storybd-winner-reward{font-size:13px!important;padding:6px 8px!important;margin:7px 0 4px!important;}
  .storybd-explorer-clean .storybd-winner-period,.storybd-explorer-clean .storybd-gallery-category{display:none!important;}
  .storybd-explorer-clean .storybd-gallery-body h3{font-size:16px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .storybd-explorer-clean .storybd-gallery-body p{font-size:12px!important;}
  .storybd-public-gallery.storybd-explorer-clean .storybd-explorer-grid{grid-template-columns:1fr!important;gap:16px!important;}
  .storybd-explorer-clean .storybd-heart-vote{right:10px!important;bottom:10px!important;min-width:72px!important;min-height:48px!important;}
  .storybd-explorer-clean .storybd-heart-vote-icon{font-size:25px!important;}
  .storybd-explorer-clean .storybd-explorer-separator{margin:18px auto 12px!important;align-items:flex-start!important;}
}

/* V8.3.39 - Bibliothèque : mise en avant automatique des BD gagnantes sans déplacer les cartes */
.storybd-v7 .storybd-library-card.storybd-planche-card.is-contest-winner{
  background:
    radial-gradient(circle at 15% 8%,rgba(255,216,77,.55),transparent 34%),
    radial-gradient(circle at 92% 16%,rgba(62,219,255,.28),transparent 30%),
    linear-gradient(180deg,#ffffff,#fff8df)!important;
  border-color:#141C2C!important;
  box-shadow:0 0 0 5px rgba(255,216,77,.34),10px 10px 0 #141C2C,0 24px 70px rgba(255,45,111,.16)!important;
  transform:translateY(-2px);
  overflow:visible!important;
}
.storybd-v7 .storybd-library-card.storybd-planche-card.is-contest-winner:hover{
  transform:translateY(-6px);
  box-shadow:0 0 0 6px rgba(255,216,77,.42),12px 12px 0 #141C2C,0 30px 80px rgba(255,45,111,.20)!important;
}
.storybd-v7 .storybd-library-winner-ribbon{
  position:absolute;
  top:-17px;
  right:16px;
  z-index:12;
  display:flex;
  align-items:center;
  gap:8px;
  max-width:calc(100% - 32px);
  padding:9px 12px;
  border:3px solid #141C2C;
  border-radius:999px;
  background:linear-gradient(135deg,#FFD84D,#FFFFFF 48%,#3EDBFF);
  color:#141C2C;
  box-shadow:4px 4px 0 #141C2C,0 12px 26px rgba(20,28,44,.16);
  font-weight:950;
  line-height:1;
}
.storybd-v7 .storybd-library-winner-ribbon:before{content:'\1F3C6 ';font-size:18px;line-height:1;}
.storybd-v7 .storybd-library-winner-ribbon strong{font-size:12px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;}
.storybd-v7 .storybd-library-winner-ribbon span{font-size:12px;color:#FF2D6F;font-weight:1000;white-space:nowrap;}
.storybd-v7 .storybd-library-winner-badge{
  position:absolute;
  left:14px;
  bottom:14px;
  z-index:6;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 11px;
  border:3px solid #141C2C;
  border-radius:999px;
  background:#FF2D6F;
  color:#fff;
  font-size:12px;
  font-weight:950;
  box-shadow:3px 3px 0 #141C2C;
}
.storybd-v7 .storybd-library-winner-note{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 0 9px!important;
  padding:8px 11px;
  border-radius:14px;
  background:rgba(255,216,77,.28);
  color:#141C2C;
  font-size:13px;
  font-weight:950;
  line-height:1.2;
}
@media(max-width:640px){
  .storybd-v7 .storybd-library-winner-ribbon{position:relative;top:auto;right:auto;margin:-6px 0 12px;width:100%;justify-content:center;flex-wrap:wrap;border-radius:18px;}
}

/* V8.3.43 - Dialogue visual mapper, scoped to Comixio front only */
.storybd-v7 .storybd-dialogue-visual-help{margin:0 0 14px;padding:12px 14px;border:2px solid rgba(20,28,44,.18);border-radius:18px;background:#fff;color:#141C2C;font-weight:850;line-height:1.35;}
.storybd-v7 .storybd-dialogue-visual-help strong{color:#FF2D6F;font-weight:1000;}
.storybd-v7 .storybd-dialogue-visual-layout{display:grid;grid-template-columns:minmax(320px,1.08fr) minmax(280px,.92fr);gap:16px;align-items:start;margin-bottom:14px;}
.storybd-v7 .storybd-dialogue-canvas-card{border:3px solid var(--storybd-ink,var(--sbd-ink,#141C2C));border-radius:24px;background:#fffdf4;padding:12px;box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink,#141C2C));}
.storybd-v7 .storybd-dialogue-canvas-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.storybd-v7 .storybd-dialogue-canvas-head strong{font-size:15px;font-weight:1000;color:#141C2C;text-transform:uppercase;letter-spacing:.02em;}
.storybd-v7 .storybd-mini-btn{border:2px solid #141C2C;border-radius:999px;background:#FFD84D;color:#141C2C;font-weight:1000;font-size:13px;padding:8px 12px;cursor:pointer;box-shadow:2px 2px 0 #141C2C;transition:transform .18s ease,box-shadow .18s ease;}
.storybd-v7 .storybd-mini-btn:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 #141C2C;}
.storybd-v7 .storybd-dialogue-canvas{position:relative;overflow:hidden;border:2px solid #141C2C;border-radius:16px;background:#f8fafc;cursor:crosshair;isolation:isolate;min-height:280px;}
.storybd-v7 .storybd-dialogue-canvas img{display:block;width:100%;height:auto;min-height:280px;object-fit:contain;background:#f8fafc;}
.storybd-v7 .storybd-dialogue-zones{position:absolute;inset:0;z-index:2;}
.storybd-v7 .storybd-dialogue-no-image{position:absolute;inset:16px;display:flex;align-items:center;justify-content:center;border:2px dashed rgba(20,28,44,.25);border-radius:14px;background:rgba(255,255,255,.92);color:#64748b;font-weight:950;text-align:center;}
.storybd-v7 .storybd-dialogue-zone{position:absolute;display:block;border:3px solid #FF2D6F;background:rgba(255,45,111,.13);border-radius:12px;cursor:move;box-shadow:0 0 0 9999px rgba(20,28,44,.02),0 0 0 2px rgba(255,255,255,.8) inset;touch-action:none;}
.storybd-v7 .storybd-dialogue-zone:hover,.storybd-v7 .storybd-dialogue-zone.is-active{background:rgba(62,219,255,.18);border-color:#3EDBFF;}
.storybd-v7 .storybd-dialogue-zone span{position:absolute;left:-10px;top:-12px;width:26px;height:26px;border-radius:999px;background:#141C2C;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:1000;border:2px solid #fff;}
.storybd-v7 .storybd-dialogue-zone i{position:absolute;right:-7px;bottom:-7px;width:17px;height:17px;border-radius:5px;background:#fff;border:3px solid #141C2C;cursor:nwse-resize;box-shadow:2px 2px 0 rgba(20,28,44,.25);}
.storybd-v7 .storybd-dialogue-form{max-height:62vh;}
.storybd-v7 .storybd-dialogue-edit-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;}
.storybd-v7 .storybd-zone-delete{border:0;background:#fee2e2;color:#991b1b;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000;cursor:pointer;}
.storybd-v7 .storybd-zone-delete:hover{background:#fecaca;}
.storybd-v7 .storybd-old-text{margin:0 0 9px!important;padding:8px 10px;border-radius:12px;background:#f8fafc;color:#475569!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;}
.storybd-v7 .storybd-dialogue-edit small{display:block;margin-top:7px;color:#64748b;font-weight:800;line-height:1.25;}
.storybd-v7 .storybd-dialogue-note{margin-top:10px;padding:10px 12px;border-radius:14px;background:#e0f7ff;color:#141C2C;font-weight:900;border:2px solid rgba(20,28,44,.12);}
.storybd-v7 .storybd-dialogue-list{max-height:24vh;margin-top:4px;}
@media (max-width: 860px){
  .storybd-v7 .storybd-dialogue-visual-layout{grid-template-columns:1fr;}
  .storybd-v7 .storybd-dialogue-form{max-height:none;}
  .storybd-v7 .storybd-dialogue-canvas{min-height:220px;}
  .storybd-v7 .storybd-dialogue-canvas img{min-height:220px;}
  .storybd-v7 .storybd-dialogue-canvas-head{align-items:flex-start;flex-direction:column;}
}

/* =========================================================
   V8.3.46 - Dialogue editor: direct visual stage only
   ========================================================= */
.storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active){
  width:min(96vw,1280px)!important;
  max-width:1280px!important;
  height:min(94vh,980px)!important;
  max-height:94vh!important;
  padding:18px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active) > .storybd-kicker,
.storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active) > h2,
.storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active) > .storybd-mod-intro,
.storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active) > .storybd-modal-cancel{
  display:none!important;
}
.storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active) .storybd-mod-mode-grid{
  flex:0 0 auto!important;
  grid-template-columns:1fr 1fr!important;
  margin:0 46px 12px 0!important;
}
.storybd-v7 .storybd-dialogue-editor-panel.is-active{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
}
.storybd-v7 .storybd-dialogue-stage{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.storybd-v7 .storybd-dialogue-toolbar{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border:3px solid #141C2C;
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#fff7c9);
  box-shadow:4px 4px 0 #141C2C;
}
.storybd-v7 .storybd-dialogue-toolbar strong{display:block;font-size:18px;font-weight:1000;color:#141C2C;letter-spacing:-.02em;}
.storybd-v7 .storybd-dialogue-toolbar span{display:block;margin-top:2px;font-size:13px;font-weight:850;color:#475569;line-height:1.25;}
.storybd-v7 .storybd-dialogue-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.storybd-v7 .storybd-dialogue-actions .storybd-final-btn{padding:10px 16px!important;border-radius:14px!important;white-space:nowrap;}
.storybd-v7 .storybd-dialogue-canvas-large{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
    max-width:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:4px solid #141C2C!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 20% 10%, rgba(62,219,255,.15), transparent 28%), #f8fafc!important;
  box-shadow:6px 6px 0 #141C2C!important;
}
.storybd-v7 .storybd-dialogue-canvas-large img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
    max-width:none!important;
  max-height:100%!important;
  min-height:0!important;
  object-fit:contain!important;
  user-select:none!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zones{position:absolute;inset:0;z-index:5;}
.storybd-v7 .storybd-dialogue-hidden-fields{display:none!important;}
.storybd-v7 .storybd-dialogue-zone{
  border:3px solid #FF2D6F!important;
  background:rgba(255,255,255,.72)!important;
  border-radius:14px!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.86) inset,0 10px 24px rgba(20,28,44,.14)!important;
  padding:20px 8px 8px!important;
  min-width:62px!important;
  min-height:44px!important;
}
.storybd-v7 .storybd-dialogue-zone.is-active,
.storybd-v7 .storybd-dialogue-zone:hover{border-color:#3EDBFF!important;background:rgba(255,255,255,.86)!important;}
.storybd-v7 .storybd-zone-index{left:-12px!important;top:-14px!important;background:#141C2C!important;color:#fff!important;}
.storybd-v7 .storybd-zone-delete{
  position:absolute;right:-12px;top:-14px;width:28px;height:28px;border-radius:999px;border:2px solid #141C2C;background:#FF2D6F;color:#fff;font-size:18px;font-weight:1000;line-height:1;cursor:pointer;z-index:5;
}
.storybd-v7 .storybd-zone-label{
  position:absolute;left:22px;top:2px;right:18px;font-size:9px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;
}
.storybd-v7 .storybd-zone-text{
  width:100%;height:100%;min-height:22px;outline:none;border:0;background:transparent;color:#141C2C;font-weight:950;font-size:clamp(11px,1.25vw,18px);line-height:1.05;text-align:center;display:flex;align-items:center;justify-content:center;cursor:text;white-space:pre-wrap;overflow:hidden;
}
.storybd-v7 .storybd-zone-text:empty:before{content:attr(data-placeholder);color:rgba(20,28,44,.42);font-weight:900;}
.storybd-v7 .storybd-dialogue-zone i{right:-9px!important;bottom:-9px!important;width:20px!important;height:20px!important;border-radius:7px!important;background:#FFD84D!important;}
@media(max-width:768px){
  .storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active){width:98vw!important;height:94vh!important;padding:10px!important;}
  .storybd-v7 #storybd-mod-modal .storybd-mod-card:has(.storybd-dialogue-editor-panel.is-active) .storybd-mod-mode-grid{grid-template-columns:1fr!important;margin-right:42px!important;gap:8px!important;}
  .storybd-v7 .storybd-dialogue-toolbar{display:grid;gap:10px;padding:10px;border-radius:18px;}
  .storybd-v7 .storybd-dialogue-actions{justify-content:stretch;}
  .storybd-v7 .storybd-dialogue-actions > *{flex:1 1 auto;}
  .storybd-v7 .storybd-zone-text{font-size:12px;}
}
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active{width:min(96vw,1280px)!important;max-width:1280px!important;height:min(94vh,980px)!important;max-height:94vh!important;padding:18px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active > .storybd-kicker,
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active > h2,
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active > .storybd-mod-intro,
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active > .storybd-modal-cancel{display:none!important;}
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active .storybd-mod-mode-grid{flex:0 0 auto!important;grid-template-columns:1fr 1fr!important;margin:0 46px 12px 0!important;}
@media(max-width:768px){.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active{width:98vw!important;height:94vh!important;padding:10px!important;}.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active .storybd-mod-mode-grid{grid-template-columns:1fr!important;margin-right:42px!important;gap:8px!important;}}

/* =========================================================
   COMIXIO V8.3.46 - Dialogue editor clean stage
   Preview affichée, zones manuelles uniquement, scroll fiable.
   ========================================================= */
.storybd-v7 .storybd-dialogue-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  border:4px solid #141C2C!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 20% 10%, rgba(62,219,255,.12), transparent 28%), #f8fafc!important;
  box-shadow:6px 6px 0 #141C2C!important;
  padding:18px!important;
  cursor:grab;
}
.storybd-v7 .storybd-dialogue-canvas-large{
  position:relative!important;
  display:block!important;
  width:max-content!important;
  height:max-content!important;
  min-width:0!important;
  min-height:0!important;
  margin:0 auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  cursor:crosshair!important;
  overflow:visible!important;
}
.storybd-v7 .storybd-dialogue-canvas-large img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  min-width:0!important;
  min-height:0!important;
  object-fit:unset!important;
  user-select:none!important;
  pointer-events:none!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zones{
  position:absolute!important;
  inset:0!important;
  z-index:5!important;
  pointer-events:none!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zone{
  pointer-events:auto!important;
}
.storybd-v7 #storybd-detected-dialogues,
.storybd-v7 .storybd-dialogue-list{display:none!important;}
.storybd-v7 .storybd-dialogue-zone{touch-action:none!important;}
@media(max-width:768px){
  .storybd-v7 .storybd-dialogue-scroll{padding:10px!important;}
  .storybd-v7 .storybd-dialogue-toolbar span{font-size:12px!important;}
}

/* =========================================================
   COMIXIO V8.3.47 - Dialogue Studio
   Zone = gomme blanche + rendu texte local HD. Aucun contour final n'est ajouté.
   ========================================================= */
.storybd-v7 .storybd-dialogue-actions .storybd-dialogue-select{
  height:42px!important;
  min-width:150px!important;
  border:2px solid #141C2C!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#141C2C!important;
  font-weight:950!important;
  padding:0 10px!important;
  box-shadow:2px 2px 0 #141C2C!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zone{
  border:2px dashed rgba(255,45,111,.92)!important;
  background:rgba(255,255,255,.78)!important;
  border-radius:16px!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.75) inset, 0 8px 22px rgba(20,28,44,.10)!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zone.is-active{
  border:3px solid #3EDBFF!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 0 0 3px rgba(62,219,255,.18), 0 10px 24px rgba(20,28,44,.16)!important;
}
.storybd-v7 .storybd-zone-label{display:none!important;}
.storybd-v7 .storybd-zone-text{
  position:absolute!important;
  inset:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#111827!important;
  font-weight:950!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
  text-transform:none!important;
  text-align:center!important;
  overflow:hidden!important;
  cursor:text!important;
  text-shadow:1px 1px 0 rgba(255,255,255,.85)!important;
}
.storybd-v7 .storybd-dialogue-zone.is-style-bold .storybd-zone-text,
.storybd-v7 .storybd-dialogue-zone.is-style-shout .storybd-zone-text{font-weight:1000!important;text-transform:uppercase!important;}
.storybd-v7 .storybd-dialogue-zone.is-style-shout .storybd-zone-text{letter-spacing:.015em!important;transform:rotate(-1deg)!important;}
.storybd-v7 .storybd-dialogue-zone.is-style-caption .storybd-zone-text{font-family:Arial, sans-serif!important;font-weight:900!important;letter-spacing:.01em!important;}
.storybd-v7 .storybd-dialogue-zone.is-style-soft .storybd-zone-text{font-weight:850!important;color:#242b3a!important;}
.storybd-v7 .storybd-zone-text:empty:before{content:attr(data-placeholder);color:rgba(20,28,44,.42);font-weight:900;}
.storybd-v7 .storybd-zone-delete{
  top:-12px!important;
  right:-12px!important;
  width:28px!important;
  height:28px!important;
  border-radius:999px!important;
  border:2px solid #141C2C!important;
  background:#FF2D6F!important;
  color:#fff!important;
  font-weight:1000!important;
  box-shadow:2px 2px 0 #141C2C!important;
}
.storybd-v7 .storybd-zone-index{opacity:.92!important;}
.storybd-v7 .storybd-dialogue-toolbar{gap:12px!important;}
.storybd-v7 .storybd-dialogue-toolbar strong:after{content:' · Dialogue Studio'; color:#FF2D6F;}

/* =========================================================
   COMIXIO V8.3.48 - Dialogue Studio scroll + analyse au clic
   ========================================================= */
.storybd-v7 #storybd-mod-modal.storybd-modal.is-open{
  overflow:hidden!important;
}
.storybd-v7 #storybd-mod-modal .storybd-modal-content.storybd-dialogue-card-active,
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active{
  min-height:0!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-dialogue-editor-panel.is-active,
.storybd-v7 .storybd-dialogue-stage{
  min-height:0!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-dialogue-scroll{
  flex:1 1 auto!important;
  min-height:220px!important;
  max-height:100%!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  touch-action:pan-x pan-y!important;
  cursor:default!important;
}
.storybd-v7 .storybd-dialogue-canvas-large{
  min-width:max-content!important;
  min-height:max-content!important;
}
.storybd-v7 .storybd-dialogue-canvas-large img{
  max-width:none!important;
  max-height:none!important;
}
.storybd-v7 #storybd-detect-dialogues,
.storybd-v7 #storybd-add-dialogue-zone{
  display:none!important;
}
.storybd-v7 .storybd-dialogue-zone.is-analyzing{
  border-color:#FFD84D!important;
  background:rgba(255,216,77,.22)!important;
  animation:storybdDialoguePulse 1s ease-in-out infinite!important;
}
@keyframes storybdDialoguePulse{
  0%,100%{box-shadow:0 0 0 2px rgba(255,255,255,.75) inset,0 0 0 rgba(255,216,77,0)}
  50%{box-shadow:0 0 0 2px rgba(255,255,255,.75) inset,0 0 0 8px rgba(255,216,77,.24)}
}

/* =========================================================
   COMIXIO V8.3.49 - Dialogue Studio: scroll réel + bulles propres
   ========================================================= */
.storybd-v7 #storybd-mod-modal.storybd-modal.is-open{
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active{
  width:min(98vw,1440px)!important;
  height:min(94svh,980px)!important;
  max-height:94svh!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active .storybd-dialogue-editor-panel.is-active{
  display:flex!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-dialogue-stage{
  flex:1 1 auto!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.storybd-v7 .storybd-dialogue-scroll{
  flex:1 1 auto!important;
  height:calc(94svh - 178px)!important;
  min-height:300px!important;
  max-height:none!important;
  overflow:scroll!important;
  overflow-x:scroll!important;
  overflow-y:scroll!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-x pan-y!important;
  cursor:grab!important;
  scrollbar-width:auto!important;
}
.storybd-v7 .storybd-dialogue-scroll::-webkit-scrollbar{width:14px!important;height:14px!important;display:block!important;}
.storybd-v7 .storybd-dialogue-scroll::-webkit-scrollbar-thumb{background:#141C2C!important;border:3px solid #fff!important;border-radius:999px!important;}
.storybd-v7 .storybd-dialogue-canvas-large{
  position:relative!important;
  width:1200px;
  height:auto;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  overflow:visible!important;
  cursor:crosshair!important;
}
.storybd-v7 .storybd-dialogue-canvas-large img{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  pointer-events:none!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zones{
  position:absolute!important;
  inset:0!important;
  z-index:5!important;
  pointer-events:none!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zone{
  pointer-events:auto!important;
  background:rgba(255,255,255,.50)!important;
  border:2px solid rgba(62,219,255,.92)!important;
  border-radius:18px!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.70) inset,0 6px 18px rgba(20,28,44,.12)!important;
}
.storybd-v7 .storybd-dialogue-canvas-large .storybd-dialogue-zone.is-active{
  background:rgba(255,255,255,.72)!important;
  border-color:#FF2D6F!important;
}
.storybd-v7 .storybd-zone-text{
  font-family:"Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif!important;
  color:#111827!important;
  opacity:1!important;
  text-shadow:none!important;
}
.storybd-v7 .storybd-dialogue-toolbar span:after{
  content:' · Astuce : si le contour détecté n’est pas parfait, tire le coin jaune.';
  color:#64748b;
}
@media(max-width:768px){
  .storybd-v7 .storybd-dialogue-scroll{height:calc(94svh - 220px)!important;min-height:260px!important;}
  .storybd-v7 .storybd-dialogue-canvas-large{width:1050px;}
}

/* =========================================================
   COMIXIO V8.3.51 - Dialogue Studio : bulles complètes
   ========================================================= */
.storybd-dialogue-editor-panel.is-active,
.storybd-dialogue-stage{
  min-height: min(82vh, 900px);
}
.storybd-dialogue-toolbar{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(20,28,44,.08);
  box-shadow: 0 12px 35px rgba(20,28,44,.10);
}
.storybd-dialogue-scroll{
  height: min(74vh, 820px) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  padding: 18px;
  background:
    radial-gradient(circle at 18px 18px, rgba(20,28,44,.08) 1px, transparent 2px),
    linear-gradient(135deg, #fffaf0, #f4fbff);
  background-size: 34px 34px, auto;
  border-radius: 24px;
  border: 3px solid #141C2C;
}
.storybd-dialogue-canvas-large{
  position: relative;
  width: max-content;
  min-width: 720px;
  margin: 0 auto;
  overflow: visible !important;
  touch-action: none;
}
.storybd-dialogue-canvas-large img{
  display:block;
  max-width:none !important;
  width:auto !important;
  height:auto !important;
  min-width:720px;
  max-height:none !important;
  border-radius: 0 !important;
  box-shadow: 0 22px 70px rgba(20,28,44,.20);
}
.storybd-dialogue-zones{
  position:absolute;
  inset:0;
  overflow:visible;
  pointer-events:none;
}
.cx-bubble-zone{
  position:absolute !important;
  z-index: 10;
  pointer-events:auto;
  cursor: move;
  touch-action:none;
  filter: drop-shadow(0 8px 10px rgba(20,28,44,.16));
}
.cx-bubble-zone.is-active{ z-index: 30; }
.cx-bubble-surface{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 13px;
  background: var(--cx-fill, #fffaf0);
  color: var(--cx-ink, #2f343b);
  border: var(--cx-border-width, 3px) solid var(--cx-border, #141C2C);
  box-sizing:border-box;
  overflow:hidden;
}
.cx-bubble-classic .cx-bubble-surface{
  border-radius: 999px / 70%;
}
.cx-bubble-action .cx-bubble-surface{
  border-radius: 18px;
  transform: skew(-3deg) rotate(-.4deg);
}
.cx-bubble-thought .cx-bubble-surface{
  border-radius: 44% 56% 48% 52% / 56% 47% 53% 44%;
}
.cx-bubble-thought .cx-bubble-surface:before,
.cx-bubble-thought .cx-bubble-surface:after{
  content:"";
  position:absolute;
  background:var(--cx-fill,#fffaf0);
  border:var(--cx-border-width,3px) solid var(--cx-border,#141C2C);
  border-radius:999px;
  z-index:-1;
}
.cx-bubble-thought .cx-bubble-surface:before{ width:28%; height:34%; left:4%; top:-7%; }
.cx-bubble-thought .cx-bubble-surface:after{ width:24%; height:29%; right:5%; bottom:-8%; }
.cx-bubble-burst .cx-bubble-surface{
  clip-path: polygon(50% 0%, 58% 15%, 74% 6%, 75% 24%, 94% 22%, 83% 38%, 100% 50%, 82% 58%, 90% 76%, 71% 73%, 66% 94%, 52% 80%, 38% 100%, 33% 78%, 13% 86%, 21% 64%, 0% 55%, 18% 45%, 5% 27%, 26% 29%, 27% 8%, 43% 18%);
  border-radius:0;
  padding: 16px 18px;
}
.cx-bubble-zone:after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width: var(--cx-tail-len, 42px);
  height: 28px;
  background: var(--cx-fill,#fffaf0);
  border-left: var(--cx-border-width, 3px) solid var(--cx-border,#141C2C);
  border-bottom: var(--cx-border-width, 3px) solid var(--cx-border,#141C2C);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform-origin: 0 50%;
  transform: rotate(var(--cx-tail-angle, 45deg));
  z-index:-1;
}
.cx-bubble-thought:after{
  width: 18px; height:18px;
  border: var(--cx-border-width,3px) solid var(--cx-border,#141C2C);
  border-radius:50%;
  clip-path:none;
}
.cx-bubble-burst:after{ display:none; }
.storybd-zone-text{
  position:relative;
  z-index:3;
  width:100%;
  max-height:100%;
  outline:0;
  text-align:center;
  color: var(--cx-ink,#2f343b) !important;
  font-size: var(--cx-font-size, 15px) !important;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: .01em;
  overflow:hidden;
  word-break: break-word;
  user-select:text;
  cursor:text;
}
.storybd-zone-text:empty:before{ content:attr(data-placeholder); color: rgba(47,52,59,.44); }
.cx-font-simple .storybd-zone-text{ font-family: Arial, Helvetica, sans-serif; text-transform:none; }
.cx-font-comic .storybd-zone-text{ font-family: "Comic Sans MS", "Comic Neue", Arial, sans-serif; font-weight:800; }
.cx-font-hand .storybd-zone-text{ font-family: "Segoe Print", "Bradley Hand", cursive; font-weight:700; }
.cx-font-impact .storybd-zone-text{ font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; text-transform:uppercase; letter-spacing:.03em; }
.cx-font-caption .storybd-zone-text{ font-family: Georgia, "Times New Roman", serif; font-weight:700; }
.cx-resize-handle,
.cx-bubble-tail-handle{
  position:absolute;
  z-index:42;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#FFD84D;
  border:3px solid #141C2C;
  box-shadow:0 6px 12px rgba(20,28,44,.22);
}
.cx-resize-handle{ right:-9px; bottom:-9px; cursor:nwse-resize; }
.cx-bubble-tail-handle{ transform:translate(-50%,-50%); cursor:grab; }
.storybd-zone-delete{
  position:absolute;
  right:-11px;
  top:-11px;
  z-index:80;
  width:24px;
  height:24px;
  border-radius:999px;
  border:2px solid #141C2C;
  background:#FF2D6F;
  color:white;
  font-weight:1000;
  cursor:pointer;
}
.cx-bubble-type-panel,
.cx-bubble-tools{
  position:absolute;
  z-index:75;
  opacity:0;
  pointer-events:none;
  transition:.16s ease;
}
.cx-bubble-zone.is-active .cx-bubble-type-panel,
.cx-bubble-zone.is-active .cx-bubble-tools,
.cx-bubble-zone:hover .cx-bubble-type-panel,
.cx-bubble-zone:hover .cx-bubble-tools{
  opacity:1;
  pointer-events:auto;
}
.cx-bubble-type-panel{
  left:-52px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  gap:6px;
  background:white;
  border:2px solid #141C2C;
  border-radius:16px;
  padding:6px;
  box-shadow:0 12px 30px rgba(20,28,44,.18);
}
.cx-type-btn{
  width:34px;
  height:34px;
  border-radius:11px;
  border:2px solid rgba(20,28,44,.16);
  background:#fffaf0;
  cursor:pointer;
}
.cx-type-btn.is-active{ background:#FFD84D; border-color:#141C2C; }
.cx-bubble-tools{
  left:50%;
  top:calc(100% + 14px);
  transform:translateX(-50%);
  min-width:270px;
  background:rgba(255,255,255,.98);
  border:2px solid #141C2C;
  border-radius:18px;
  padding:9px;
  box-shadow:0 16px 40px rgba(20,28,44,.20);
}
.cx-tools-row,.cx-font-grid,.cx-swatch-row{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; justify-content:center; margin:4px 0; }
.cx-tool,.cx-font-choice{
  border:2px solid rgba(20,28,44,.14);
  background:#fff;
  color:#141C2C;
  border-radius:10px;
  padding:5px 8px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.cx-font-choice.is-active{ background:#3EDBFF; border-color:#141C2C; }
.cx-swatch{
  width:24px;
  height:24px;
  border-radius:999px;
  border:2px solid #141C2C;
  cursor:pointer;
}
.cx-swatch[style*="#ffffff"]{ box-shadow: inset 0 0 0 1px rgba(20,28,44,.10); }
@media(max-width:768px){
  .storybd-dialogue-scroll{ height:72vh !important; padding:12px; }
  .storybd-dialogue-canvas-large{ min-width:640px; }
  .storybd-dialogue-canvas-large img{ min-width:640px; }
  .cx-bubble-tools{ min-width:240px; }
}

/* COMIXIO V8.3.52 - Dialogue Studio click fix */
.storybd-dialogue-canvas-large,
.storybd-dialogue-canvas-large img{
  cursor: crosshair !important;
}
.storybd-dialogue-canvas-large .storybd-dialogue-zones{
  pointer-events: auto !important;
  cursor: crosshair !important;
}
.storybd-dialogue-canvas-large .cx-bubble-zone,
.storybd-dialogue-canvas-large .cx-bubble-zone *{
  pointer-events: auto !important;
}

/* =========================================================
   COMIXIO V8.3.53 - Dialogue Studio : clic + scroll mobile durci
   ========================================================= */
.storybd-v7 #storybd-mod-modal.storybd-modal.is-open{
  overflow:hidden!important;
  touch-action:none!important;
}
.storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active{
  width:min(98vw,1440px)!important;
  height:94svh!important;
  max-height:94svh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.storybd-v7 #storybd-mod-modal .storybd-dialogue-editor-panel.is-active,
.storybd-v7 #storybd-mod-modal .storybd-dialogue-stage{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.storybd-v7 #storybd-mod-modal .storybd-dialogue-scroll{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:240px!important;
  max-height:none!important;
  overflow:auto!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-x pan-y!important;
  pointer-events:auto!important;
}
.storybd-v7 #storybd-mod-modal .storybd-dialogue-canvas-large{
  position:relative!important;
  width:1200px!important;
  min-width:1200px!important;
  max-width:none!important;
  height:auto!important;
  min-height:650px!important;
  margin:0 auto!important;
  overflow:visible!important;
  cursor:crosshair!important;
  touch-action:pan-x pan-y!important;
  pointer-events:auto!important;
}
.storybd-v7 #storybd-mod-modal .storybd-dialogue-canvas-large img{
  display:block!important;
  width:1200px!important;
  min-width:1200px!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  pointer-events:none!important;
  user-select:none!important;
}
.storybd-v7 #storybd-mod-modal .storybd-dialogue-zones{
  position:absolute!important;
  inset:0!important;
  z-index:20!important;
  pointer-events:auto!important;
  cursor:crosshair!important;
  touch-action:pan-x pan-y!important;
  min-height:100%!important;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-zone{
  pointer-events:auto!important;
  touch-action:none!important;
  cursor:move!important;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-zone *{
  pointer-events:auto!important;
}
.storybd-v7 #storybd-mod-modal .storybd-zone-text{
  pointer-events:auto!important;
  -webkit-user-select:text!important;
  user-select:text!important;
}
@media(max-width:768px){
  .storybd-v7 #storybd-mod-modal.storybd-modal.is-open{
    align-items:stretch!important;
    justify-content:flex-start!important;
  }
  .storybd-v7 #storybd-mod-modal .storybd-mod-card.storybd-dialogue-card-active{
    width:100vw!important;
    height:100svh!important;
    max-height:100svh!important;
    border-radius:0!important;
  }
  .storybd-v7 #storybd-mod-modal .storybd-dialogue-toolbar{
    position:sticky!important;
    top:0!important;
    z-index:90!important;
    flex:0 0 auto!important;
  }
  .storybd-v7 #storybd-mod-modal .storybd-dialogue-scroll{
    min-height:0!important;
    padding:12px!important;
  }
  .storybd-v7 #storybd-mod-modal .storybd-dialogue-canvas-large,
  .storybd-v7 #storybd-mod-modal .storybd-dialogue-canvas-large img{
    width:980px!important;
    min-width:980px!important;
  }
  .storybd-v7 #storybd-mod-modal .storybd-dialogue-canvas-large{
    min-height:560px!important;
  }
}


/* COMIXIO V8.3.54 - Dialogue Studio clic + scroll blindés */
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{
  overflow:auto!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;
  cursor:grab;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll:active,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll:active{cursor:grabbing;}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large{
  position:relative!important;
  cursor:crosshair!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  user-select:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones{
  pointer-events:auto!important;
  cursor:crosshair!important;
  touch-action:manipulation!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx54-add-bubble-btn,
#storybd-modal-portal #storybd-mod-modal.is-open .cx54-add-bubble-btn{
  background:#FFD84D!important;
  color:#141C2C!important;
  border:2px solid #141C2C!important;
  font-weight:1000!important;
}
@media(max-width:768px){
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{
    height:calc(100svh - 145px)!important;
    max-height:calc(100svh - 145px)!important;
  }
}


/* COMIXIO V8.3.55 - Dialogue Studio direct DOM click fix */
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{
  overflow:auto!important;overflow-x:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;position:relative!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large{
  position:relative!important;display:block!important;pointer-events:auto!important;cursor:crosshair!important;overflow:visible!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones{
  position:absolute!important;inset:0!important;z-index:999!important;pointer-events:auto!important;min-width:100%!important;
    max-width:none!important;min-height:100%!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{pointer-events:none!important;}

/* =========================================================
   COMIXIO V8.3.56 - Dialogue Studio : vraies bulles BD finalisées
   Objectif : plus de rectangle blanc. La preview montre de vraies formes
   proches du rendu serveur : classique, pensée, action, explosive.
   ========================================================= */
.storybd-v7 #storybd-mod-modal .cx-bubble-zone{
  --cx-real-stroke: var(--cx-border, #141C2C);
  --cx-real-fill: var(--cx-fill, #fffaf0);
}
.storybd-v7 #storybd-mod-modal .cx-bubble-surface{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 16% 18% !important;
  transform: none !important;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-action .cx-bubble-surface,
.storybd-v7 #storybd-mod-modal .cx-bubble-burst .cx-bubble-surface{
  transform: none !important;
  clip-path: none !important;
}
.storybd-v7 #storybd-mod-modal .cx-real-bubble-svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
  z-index:1;
  filter: drop-shadow(0 6px 0 rgba(20,28,44,.06));
}
.storybd-v7 #storybd-mod-modal .cx-real-fill{
  fill: var(--cx-fill, #fffaf0);
  stroke: none;
}
.storybd-v7 #storybd-mod-modal .cx-real-stroke{
  fill: none;
  stroke: var(--cx-border, #141C2C);
  stroke-width: var(--cx-border-width, 3px);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-zone:after{
  display:none !important;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-zone:not(.cx-bubble-burst):before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width: clamp(34px, 22%, 90px);
  height: clamp(22px, 16%, 60px);
  background: var(--cx-fill,#fffaf0);
  border-left: var(--cx-border-width, 3px) solid var(--cx-border,#141C2C);
  border-bottom: var(--cx-border-width, 3px) solid var(--cx-border,#141C2C);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform-origin: 0 50%;
  transform: rotate(var(--cx-tail-angle, 45deg));
  z-index:0;
  pointer-events:none;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-thought:before{
  width: clamp(17px, 11%, 42px);
  height: clamp(17px, 11%, 42px);
  border: var(--cx-border-width, 3px) solid var(--cx-border,#141C2C);
  border-radius:999px;
  clip-path:none;
  transform: translate(-50%, -50%);
  left: var(--cx-tail-left, 70%);
  top: var(--cx-tail-top, 115%);
}
.storybd-v7 #storybd-mod-modal .cx-bubble-thought .cx-bubble-surface:before,
.storybd-v7 #storybd-mod-modal .cx-bubble-thought .cx-bubble-surface:after{
  display:none !important;
}
.storybd-v7 #storybd-mod-modal .storybd-zone-text{
  position:relative !important;
  z-index:4 !important;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100%;
  padding:0;
  background:transparent !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.32);
}
.storybd-v7 #storybd-mod-modal .cx-bubble-burst .storybd-zone-text{
  text-transform:uppercase;
  font-weight:900;
}
.storybd-v7 #storybd-mod-modal .cx-bubble-type-panel{
  left:-82px !important;
  gap:7px !important;
  padding:7px !important;
}
.storybd-v7 #storybd-mod-modal .cx-type-btn{
  width:64px !important;
  height:48px !important;
  display:grid !important;
  place-items:center !important;
  position:relative;
  padding:3px !important;
  overflow:hidden;
  font-size:9px !important;
  font-weight:900;
}
.storybd-v7 #storybd-mod-modal .cx-type-btn .cx-real-bubble-svg{
  inset:3px 5px 12px 5px;
}
.storybd-v7 #storybd-mod-modal .cx-type-btn span{
  position:absolute;
  left:0; right:0; bottom:2px;
  z-index:2;
  color:#141C2C;
  font-size:8px;
  line-height:1;
}
.storybd-v7 #storybd-mod-modal .cx-type-btn.is-active{
  background:#FFD84D !important;
}


/* =========================================================
   COMIXIO V8.3.58 - Dialogue Studio : bulles finales robustes
   ========================================================= */
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{overflow:auto!important;overflow-x:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large{position:relative!important;display:block!important;overflow:visible!important;cursor:crosshair!important;pointer-events:auto!important;}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{display:block!important;pointer-events:none!important;user-select:none!important;-webkit-user-drag:none!important;}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones{position:absolute!important;inset:0!important;z-index:60!important;pointer-events:none!important;overflow:visible!important;}
.cx57-bubble{position:absolute!important;z-index:80!important;pointer-events:auto!important;touch-action:none!important;cursor:move!important;--cx57-fill:#fffaf0;--cx57-ink:#2f343b;--cx57-border:#141C2C;--cx57-border-width:3px;--cx57-font-size:14px;filter:drop-shadow(0 5px 0 rgba(20,28,44,.08));}
.cx57-bubble.is-active{z-index:100!important;}
.cx57-surface{position:absolute;inset:0;overflow:visible;display:flex;align-items:center;justify-content:center;padding:18% 19%;box-sizing:border-box;}
.cx57-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;}
.cx57-fill{fill:var(--cx57-fill);stroke:none;}
.cx57-line{fill:none;stroke:var(--cx57-border);stroke-width:var(--cx57-border-width);stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.cx57-bubble:not(.cx57-burst)::before{content:"";position:absolute;left:50%;top:50%;width:clamp(28px,24%,90px);height:clamp(18px,18%,64px);background:var(--cx57-fill);border-left:var(--cx57-border-width) solid var(--cx57-border);border-bottom:var(--cx57-border-width) solid var(--cx57-border);clip-path:polygon(0 0,100% 50%,0 100%);transform-origin:0 50%;transform:rotate(48deg);z-index:0;pointer-events:none;}
.cx57-thought::before{display:none;}
.cx57-bubble .storybd-zone-text{position:relative!important;z-index:5!important;width:100%;min-height:100%;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:transparent!important;color:var(--cx57-ink)!important;font-size:var(--cx57-font-size)!important;line-height:1.08!important;font-weight:700!important;outline:none!important;word-break:normal;overflow-wrap:break-word;white-space:pre-wrap;text-shadow:0 1px 0 rgba(255,255,255,.35);}
.cx57-font-simple .storybd-zone-text{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.01em;}
.cx57-font-comic .storybd-zone-text{font-family:"Comic Sans MS", "Trebuchet MS", Arial, sans-serif!important;font-weight:800!important;}
.cx57-font-hand .storybd-zone-text{font-family:"Segoe Print","Comic Sans MS",cursive!important;font-weight:700!important;}
.cx57-font-impact .storybd-zone-text{font-family:Impact,"Arial Black",sans-serif!important;text-transform:uppercase;letter-spacing:.03em;}
.cx57-font-caption .storybd-zone-text{font-family:Georgia,"Times New Roman",serif!important;font-weight:700!important;}
.cx57-bubble .storybd-zone-text:empty:before{content:attr(data-placeholder);color:rgba(47,52,59,.48);}
.cx57-tail{position:absolute;width:18px;height:18px;border:3px solid #141C2C;background:#FFD84D;border-radius:999px;transform:translate(-50%,-50%);z-index:8;cursor:grab;box-shadow:0 3px 0 rgba(20,28,44,.14);}
.cx57-resize{position:absolute;right:-9px;bottom:-9px;width:22px;height:22px;border:3px solid #141C2C;background:#3EDBFF;border-radius:7px;z-index:8;cursor:nwse-resize;box-shadow:0 3px 0 rgba(20,28,44,.14);}
.cx57-bubble .storybd-zone-delete{position:absolute!important;top:-12px!important;right:-12px!important;z-index:15!important;width:26px!important;height:26px!important;border-radius:999px!important;border:2px solid #141C2C!important;background:#FF2D6F!important;color:#fff!important;font-weight:1000!important;line-height:1!important;}
.cx57-type-panel{position:absolute;left:-74px;top:0;display:flex;flex-direction:column;gap:6px;background:rgba(255,255,255,.96);border:2px solid #141C2C;border-radius:15px;padding:7px;box-shadow:0 10px 25px rgba(20,28,44,.16);z-index:12;opacity:0;pointer-events:none;transition:.15s ease;}
.cx57-tools{position:absolute;left:50%;top:calc(100% + 14px);transform:translateX(-50%);min-width:282px;background:rgba(255,255,255,.98);border:2px solid #141C2C;border-radius:18px;padding:8px;box-shadow:0 16px 40px rgba(20,28,44,.22);z-index:13;opacity:0;pointer-events:none;transition:.15s ease;}
.cx57-bubble.is-active .cx57-type-panel,.cx57-bubble:hover .cx57-type-panel,.cx57-bubble.is-active .cx57-tools,.cx57-bubble:hover .cx57-tools{opacity:1;pointer-events:auto;}
.cx57-type-panel button,.cx57-tools button{border:2px solid rgba(20,28,44,.16);background:#fff;color:#141C2C;border-radius:10px;padding:5px 8px;font-size:12px;font-weight:900;cursor:pointer;}
.cx57-type-panel button.is-active,.cx57-tools button.is-active{background:#FFD84D;border-color:#141C2C;}
.cx57-fonts,.cx57-swatches,.cx57-tools>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:4px 0;}
.cx57-swatches button{width:24px;height:24px;border-radius:999px;padding:0;border:2px solid #141C2C;}
@media(max-width:768px){.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll{height:calc(100svh - 145px)!important;max-height:calc(100svh - 145px)!important;padding:12px!important;}.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{width:980px!important;min-width:980px!important;max-width:none!important;}.cx57-tools{min-width:240px;}.cx57-type-panel{left:-58px}.cx57-type-panel button{font-size:11px;padding:4px 6px;}}


/* =========================================================
   COMIXIO V8.3.58 - Dialogue Studio : bulles finales visibles
   On supprime l'effet placeholder/rose. L'éditeur affiche directement
   la bulle finale SVG, avec contrôles discrets uniquement en sélection.
   ========================================================= */
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  isolation:isolate!important;
  overflow:visible!important;
  filter:drop-shadow(0 7px 0 rgba(20,28,44,.10)) drop-shadow(0 12px 22px rgba(20,28,44,.12))!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble::before,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble::before{
  content:""!important;
  position:absolute!important;
  left:var(--cx57-tail-left,72%)!important;
  top:var(--cx57-tail-top,112%)!important;
  width:clamp(34px,25%,110px)!important;
  height:clamp(24px,22%,86px)!important;
  background:var(--cx57-fill,#fffaf0)!important;
  border-left:var(--cx57-border-width,3px) solid var(--cx57-border,#141C2C)!important;
  border-bottom:var(--cx57-border-width,3px) solid var(--cx57-border,#141C2C)!important;
  clip-path:polygon(0 0,100% 50%,0 100%)!important;
  transform-origin:0 50%!important;
  transform:translate(-2px,-50%) rotate(var(--cx57-tail-angle,45deg))!important;
  z-index:0!important;
  pointer-events:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-thought::before,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-thought::before{
  width:clamp(14px,10%,40px)!important;
  height:clamp(14px,10%,40px)!important;
  border:var(--cx57-border-width,3px) solid var(--cx57-border,#141C2C)!important;
  border-radius:999px!important;
  clip-path:none!important;
  transform:translate(-50%,-50%)!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-burst::before,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-burst::before{display:none!important;}
.storybd-v7 #storybd-mod-modal.is-open .cx57-surface,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-surface{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:18% 20%!important;
  overflow:visible!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-svg,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-svg{
  display:block!important;
  opacity:1!important;
  z-index:2!important;
  filter:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-fill,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-fill{fill:var(--cx57-fill,#fffaf0)!important;}
.storybd-v7 #storybd-mod-modal.is-open .cx57-line,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-line{
  stroke:var(--cx57-border,#141C2C)!important;
  stroke-width:var(--cx57-border-width,3px)!important;
  vector-effect:non-scaling-stroke!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble .storybd-zone-text,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble .storybd-zone-text{
  background:transparent!important;
  border:0!important;
  color:var(--cx57-ink,#2f343b)!important;
  font-size:var(--cx57-font-size,12px)!important;
  line-height:1.05!important;
  z-index:5!important;
  padding:0!important;
  text-shadow:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-tail,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-tail{
  width:28px!important;
  height:28px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  opacity:0!important;
  z-index:16!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble.is-active .cx57-tail,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble.is-active .cx57-tail{opacity:1!important;background:#3EDBFF!important;border:2px solid #141C2C!important;}
.storybd-v7 #storybd-mod-modal.is-open .cx57-resize,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-resize{
  opacity:0!important;
  background:#fff!important;
  border:2px solid #141C2C!important;
  width:18px!important;
  height:18px!important;
  border-radius:999px!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble.is-active .cx57-resize,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble.is-active .cx57-resize{opacity:.92!important;}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble .storybd-zone-delete,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble .storybd-zone-delete{
  opacity:0!important;
  background:#fff!important;
  color:#141C2C!important;
  border:2px solid #141C2C!important;
  box-shadow:0 4px 0 rgba(20,28,44,.12)!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble.is-active .storybd-zone-delete,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble.is-active .storybd-zone-delete{opacity:.95!important;}
.storybd-v7 #storybd-mod-modal.is-open .cx57-type-panel,
.storybd-v7 #storybd-mod-modal.is-open .cx57-tools,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-type-panel,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-tools{
  border-color:#141C2C!important;
  background:rgba(255,255,255,.98)!important;
}
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble:not(.is-active):hover .cx57-type-panel,
.storybd-v7 #storybd-mod-modal.is-open .cx57-bubble:not(.is-active):hover .cx57-tools,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble:not(.is-active):hover .cx57-type-panel,
#storybd-modal-portal #storybd-mod-modal.is-open .cx57-bubble:not(.is-active):hover .cx57-tools{
  opacity:0!important;
  pointer-events:none!important;
}


/* COMIXIO V8.3.59 - anti ancienne couche rose Dialogue Studio */
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones > .cx-bubble-zone:not(.cx57-bubble),
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones > .storybd-dialogue-zone:not(.cx57-bubble),
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones > .cx-bubble-zone:not(.cx57-bubble),
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones > .storybd-dialogue-zone:not(.cx57-bubble){
  display:none!important;
  opacity:0!important;
  pointer-events:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones > .cx57-bubble,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones > .cx57-bubble{
  display:block!important;
  opacity:1!important;
}


/* =========================================================
   COMIXIO V8.3.60 - Dialogue Studio vrai canvas + bulles finales
========================================================= */
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;
  overscroll-behavior:contain!important;
  max-height:calc(100svh - 170px)!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large{
  position:relative!important;
  overflow:visible!important;
  pointer-events:auto!important;
  cursor:crosshair!important;
  isolation:isolate!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{
  display:block!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones{
  position:absolute!important;
  inset:0!important;
  z-index:90!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones > *:not(.cx60-bubble){display:none!important;}
.cx60-bubble{
  position:absolute!important;
  display:block!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  pointer-events:auto!important;
  z-index:100!important;
  overflow:visible!important;
  filter:drop-shadow(0 7px 0 rgba(20,28,44,.10)) drop-shadow(0 12px 22px rgba(20,28,44,.14));
  touch-action:none!important;
}
.cx60-bubble::before{
  content:"";
  position:absolute;
  left:var(--cx60-tail-left,72%);
  top:var(--cx60-tail-top,112%);
  width:clamp(34px,25%,110px);
  height:clamp(24px,22%,86px);
  background:var(--cx60-fill,#fffaf0);
  border-left:var(--cx60-border-width,3px) solid var(--cx60-border,#141C2C);
  border-bottom:var(--cx60-border-width,3px) solid var(--cx60-border,#141C2C);
  clip-path:polygon(0 0,100% 50%,0 100%);
  transform-origin:0 50%;
  transform:translate(-2px,-50%) rotate(var(--cx60-tail-angle,45deg));
  z-index:0;
  pointer-events:none;
}
.cx60-thought::before{
  width:clamp(14px,10%,42px);
  height:clamp(14px,10%,42px);
  border:var(--cx60-border-width,3px) solid var(--cx60-border,#141C2C);
  border-radius:999px;
  clip-path:none;
  transform:translate(-50%,-50%);
}
.cx60-burst::before{display:none;}
.cx60-shape{position:absolute;inset:0;z-index:1;pointer-events:none;}
.cx60-svg{display:block;width:100%;height:100%;overflow:visible;}
.cx60-svg path,.cx60-svg polygon,.cx60-svg circle{
  fill:var(--cx60-fill,#fffaf0)!important;
  stroke:var(--cx60-border,#141C2C)!important;
  stroke-width:var(--cx60-border-width,3px)!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linejoin:round!important;
}
.cx60-bubble .storybd-zone-text{
  position:absolute!important;
  inset:20% 18%!important;
  z-index:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  color:var(--cx60-ink,#2f343b)!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  padding:0!important;
  font-size:var(--cx60-font-size,12px)!important;
  line-height:1.05!important;
  font-weight:700!important;
  white-space:pre-wrap!important;
  overflow-wrap:break-word!important;
  text-shadow:none!important;
  cursor:text!important;
}
.cx60-font-simple .storybd-zone-text{font-family:Arial,Helvetica,sans-serif!important;}
.cx60-font-comic .storybd-zone-text{font-family:"Comic Sans MS","Trebuchet MS",Arial,sans-serif!important;font-weight:800!important;}
.cx60-font-hand .storybd-zone-text{font-family:"Segoe Print","Comic Sans MS",cursive!important;}
.cx60-font-impact .storybd-zone-text{font-family:Impact,"Arial Black",sans-serif!important;text-transform:uppercase;letter-spacing:.03em;}
.cx60-font-caption .storybd-zone-text{font-family:Georgia,"Times New Roman",serif!important;}
.cx60-bubble .storybd-zone-text:empty:before{content:attr(data-placeholder);color:rgba(47,52,59,.45);}
.cx60-tail{position:absolute;left:var(--cx60-tail-left);top:var(--cx60-tail-top);width:30px;height:30px;transform:translate(-50%,-50%);z-index:10;border-radius:999px;background:#3EDBFF;border:2px solid #141C2C;opacity:0;cursor:grab;}
.cx60-resize{position:absolute;right:-9px;bottom:-9px;width:20px;height:20px;border-radius:999px;background:#fff;border:2px solid #141C2C;z-index:10;opacity:0;cursor:nwse-resize;}
.cx60-bubble.is-active .cx60-tail{opacity:.22;}
.cx60-bubble.is-active .cx60-resize{opacity:.92;}
.cx60-bubble .storybd-zone-delete{position:absolute!important;top:-12px!important;right:-12px!important;z-index:14!important;width:26px!important;height:26px!important;border-radius:999px!important;border:2px solid #141C2C!important;background:#fff!important;color:#141C2C!important;font-weight:1000!important;line-height:1!important;opacity:0!important;}
.cx60-bubble.is-active .storybd-zone-delete{opacity:.96!important;}
.cx60-type-panel{position:absolute;left:-74px;top:0;display:flex;flex-direction:column;gap:6px;background:rgba(255,255,255,.98);border:2px solid #141C2C;border-radius:15px;padding:7px;box-shadow:0 10px 25px rgba(20,28,44,.16);z-index:13;opacity:0;pointer-events:none;transition:.15s ease;}
.cx60-panel{position:absolute;left:50%;top:calc(100% + 14px);transform:translateX(-50%);min-width:282px;background:rgba(255,255,255,.98);border:2px solid #141C2C;border-radius:18px;padding:8px;box-shadow:0 16px 40px rgba(20,28,44,.22);z-index:13;opacity:0;pointer-events:none;transition:.15s ease;}
.cx60-bubble.is-active .cx60-type-panel,.cx60-bubble.is-active .cx60-panel{opacity:1;pointer-events:auto;}
.cx60-type-panel button,.cx60-panel button{border:2px solid rgba(20,28,44,.16);background:#fff;color:#141C2C;border-radius:10px;padding:5px 8px;font-size:12px;font-weight:900;cursor:pointer;}
.cx60-type-panel button.is-active,.cx60-panel button.is-active{background:#FFD84D;border-color:#141C2C;}
.cx60-fonts,.cx60-swatches,.cx60-panel>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:4px 0;}
.cx60-swatches button{width:24px;height:24px;border-radius:999px;padding:0;border:2px solid #141C2C;}
.cx60-add-bubble-btn{background:#FFD84D!important;color:#141C2C!important;border:2px solid #141C2C!important;font-weight:1000!important;}
@media(max-width:768px){
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{height:calc(100svh - 145px)!important;max-height:calc(100svh - 145px)!important;padding:12px!important;}
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{width:980px!important;min-width:980px!important;max-width:none!important;}
  .cx60-panel{min-width:238px;}
  .cx60-type-panel{left:-58px;}
}


/* =========================================================
   COMIXIO V8.3.61 - Dialogue Studio clean reset + mobile scroll
========================================================= */
.storybd-v7 #storybd-mod-modal.is-open .storybd-mod-card.storybd-dialogue-card-active,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-mod-card.storybd-dialogue-card-active{
  width:min(1180px,calc(100vw - 12px))!important;
  height:calc(100svh - 16px)!important;
  max-height:calc(100svh - 16px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  padding:16px!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-editor-panel.is-active,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-editor-panel.is-active,
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-stage,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-stage{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;
  overscroll-behavior:contain!important;
  background:#0f172a!important;
  border:3px solid #141C2C!important;
  border-radius:20px!important;
  padding:16px!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large{
  position:relative!important;
  display:block!important;
  width:min(920px,100%)!important;
  margin:0 auto!important;
  overflow:visible!important;
  pointer-events:auto!important;
  cursor:crosshair!important;
  isolation:isolate!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  max-width:none!important;
  height:auto!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones{
  position:absolute!important;
  inset:0!important;
  z-index:200!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones > *:not(.cx61-bubble){display:none!important;}
.cx61-bubble{
  position:absolute!important;
  display:block!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  pointer-events:auto!important;
  z-index:240!important;
  overflow:visible!important;
  touch-action:none!important;
  cursor:move!important;
  filter:drop-shadow(0 7px 0 rgba(20,28,44,.10)) drop-shadow(0 14px 24px rgba(20,28,44,.16));
}
.cx61-bubble.is-active{z-index:260!important;}
.cx61-shape{position:absolute;inset:0;z-index:2;pointer-events:none;}
.cx61-svg{display:block;width:100%;height:100%;overflow:visible;}
.cx61-svg path,.cx61-svg polygon,.cx61-svg circle{
  fill:var(--cx61-fill,#fffaf0)!important;
  stroke:var(--cx61-border,#141C2C)!important;
  stroke-width:var(--cx61-border-width,3px)!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linejoin:round!important;
  stroke-linecap:round!important;
}
.cx61-tail-shape{position:absolute;left:var(--cx61-tail-left,72%);top:var(--cx61-tail-top,112%);width:clamp(32px,25%,110px);height:clamp(24px,22%,86px);background:var(--cx61-fill,#fffaf0);border-left:var(--cx61-border-width,3px) solid var(--cx61-border,#141C2C);border-bottom:var(--cx61-border-width,3px) solid var(--cx61-border,#141C2C);clip-path:polygon(0 0,100% 50%,0 100%);transform-origin:0 50%;transform:translate(-2px,-50%) rotate(var(--cx61-tail-angle,45deg));z-index:1;pointer-events:none;}
.cx61-thought .cx61-tail-shape{width:clamp(14px,10%,42px);height:clamp(14px,10%,42px);border:var(--cx61-border-width,3px) solid var(--cx61-border,#141C2C);border-radius:999px;clip-path:none;transform:translate(-50%,-50%);}
.cx61-burst .cx61-tail-shape{display:none;}
.cx61-bubble .storybd-zone-text{position:absolute!important;inset:20% 18%!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:var(--cx61-ink,#2f343b)!important;background:transparent!important;border:0!important;outline:0!important;padding:0!important;font-size:var(--cx61-font-size,12px)!important;line-height:1.05!important;font-weight:700!important;white-space:pre-wrap!important;overflow-wrap:break-word!important;cursor:text!important;}
.cx61-font-simple .storybd-zone-text{font-family:Arial,Helvetica,sans-serif!important;}
.cx61-font-comic .storybd-zone-text{font-family:"Comic Sans MS","Trebuchet MS",Arial,sans-serif!important;font-weight:800!important;}
.cx61-font-hand .storybd-zone-text{font-family:"Segoe Print","Comic Sans MS",cursive!important;}
.cx61-font-impact .storybd-zone-text{font-family:Impact,"Arial Black",sans-serif!important;text-transform:uppercase;letter-spacing:.03em;}
.cx61-font-caption .storybd-zone-text{font-family:Georgia,"Times New Roman",serif!important;}
.cx61-bubble .storybd-zone-text:empty:before{content:attr(data-placeholder);color:rgba(47,52,59,.45);}
.cx61-tail{position:absolute;left:var(--cx61-tail-left);top:var(--cx61-tail-top);width:30px;height:30px;transform:translate(-50%,-50%);z-index:12;border-radius:999px;background:#3EDBFF;border:2px solid #141C2C;opacity:0;cursor:grab;}
.cx61-resize{position:absolute;right:-9px;bottom:-9px;width:20px;height:20px;border-radius:999px;background:#fff;border:2px solid #141C2C;z-index:12;opacity:0;cursor:nwse-resize;}
.cx61-bubble.is-active .cx61-tail{opacity:.28;}.cx61-bubble.is-active .cx61-resize{opacity:.95;}
.cx61-bubble .storybd-zone-delete{position:absolute!important;top:-12px!important;right:-12px!important;z-index:15!important;width:26px!important;height:26px!important;border-radius:999px!important;border:2px solid #141C2C!important;background:#fff!important;color:#141C2C!important;font-weight:1000!important;line-height:1!important;opacity:0!important;}
.cx61-bubble.is-active .storybd-zone-delete{opacity:.96!important;}
.cx61-types{position:absolute;left:-72px;top:0;display:flex;flex-direction:column;gap:6px;background:rgba(255,255,255,.98);border:2px solid #141C2C;border-radius:15px;padding:7px;box-shadow:0 10px 25px rgba(20,28,44,.16);z-index:14;opacity:0;pointer-events:none;transition:.15s ease;}
.cx61-panel{position:absolute;left:50%;top:calc(100% + 14px);transform:translateX(-50%);min-width:282px;background:rgba(255,255,255,.98);border:2px solid #141C2C;border-radius:18px;padding:8px;box-shadow:0 16px 40px rgba(20,28,44,.22);z-index:14;opacity:0;pointer-events:none;transition:.15s ease;}
.cx61-bubble.is-active .cx61-types,.cx61-bubble.is-active .cx61-panel{opacity:1;pointer-events:auto;}
.cx61-types button,.cx61-panel button{border:2px solid rgba(20,28,44,.16);background:#fff;color:#141C2C;border-radius:10px;padding:5px 8px;font-size:12px;font-weight:900;cursor:pointer;}
.cx61-types button.is-active,.cx61-panel button.is-active{background:#FFD84D;border-color:#141C2C;}
.cx61-fonts,.cx61-swatches,.cx61-panel>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:4px 0;}
.cx61-swatches button{width:24px;height:24px;border-radius:999px;padding:0;border:2px solid #141C2C;}
.cx61-add-bubble-btn{background:#FFD84D!important;color:#141C2C!important;border:2px solid #141C2C!important;font-weight:1000!important;}
@media(max-width:768px){
  .storybd-v7 #storybd-mod-modal.is-open .storybd-mod-card.storybd-dialogue-card-active,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-mod-card.storybd-dialogue-card-active{width:100vw!important;height:100svh!important;max-height:100svh!important;border-radius:0!important;border-width:0!important;padding:8px!important;}
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-toolbar,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-toolbar{flex:0 0 auto!important;gap:8px!important;}
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{width:980px!important;min-width:980px!important;max-width:none!important;}
  .cx61-panel{min-width:238px;max-width:280px;}.cx61-types{left:-58px;}
}


/* =========================================================
   COMIXIO V8.3.62 - Dialogue Studio simple, bulles finalisées
   ========================================================= */
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-stage,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-stage{
  display:block!important;width:100%!important;
    max-width:none!important;max-width:100%!important;
    max-width:none!important;min-height:0!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-toolbar,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-toolbar{
  display:block!important;padding:8px 0 10px!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-actions select,
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-actions #storybd-dialogue-size-minus,
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-actions #storybd-dialogue-size-plus,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-actions select,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-actions #storybd-dialogue-size-minus,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-actions #storybd-dialogue-size-plus{display:none!important;}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-actions,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-actions{display:flex!important;gap:8px!important;justify-content:flex-end!important;align-items:center!important;}
.storybd-v7 #storybd-mod-modal.is-open #storybd-apply-dialogue-mod,
#storybd-modal-portal #storybd-mod-modal.is-open #storybd-apply-dialogue-mod{display:inline-flex!important;position:sticky!important;bottom:8px!important;z-index:999999!important;}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{
  display:block!important;position:relative!important;width:100%!important;
    max-width:none!important;height:min(72vh,760px)!important;max-height:min(72vh,760px)!important;
  overflow:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;padding:12px!important;background:#eef2f7!important;border-radius:22px!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large{
  position:relative!important;display:block!important;overflow:visible!important;cursor:crosshair!important;pointer-events:auto!important;background:#fff!important;border-radius:16px!important;border:3px solid #141C2C!important;
  width:min(1040px,100%)!important;min-width:760px!important;max-width:none!important;margin:0 auto!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{
  display:block!important;width:100%!important;
    max-width:none!important;min-width:760px!important;max-width:none!important;height:auto!important;min-height:0!important;pointer-events:none!important;user-select:none!important;-webkit-user-drag:none!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones,
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones{
  position:absolute!important;inset:0!important;z-index:900!important;pointer-events:none!important;overflow:visible!important;width:100%!important;
    max-width:none!important;height:100%!important;
}
.storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-zones > *:not(.cx62-bubble),
#storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-zones > *:not(.cx62-bubble){display:none!important;}
.cx62-bubble{position:absolute!important;inset:0!important;pointer-events:none!important;overflow:visible!important;z-index:10!important;}
.cx62-bubble.is-active{z-index:20!important;}
.cx62-svg{position:absolute!important;inset:0!important;width:100%!important;
    max-width:none!important;height:100%!important;overflow:visible!important;pointer-events:none!important;filter:drop-shadow(2px 3px 0 rgba(20,28,44,.16));}
.cx62-shape-hit{position:absolute!important;z-index:3!important;pointer-events:auto!important;cursor:move!important;background:rgba(255,255,255,.001)!important;border-radius:999px!important;touch-action:none!important;}
.cx62-textbox{position:absolute!important;z-index:4!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-weight:700!important;line-height:1.08!important;outline:none!important;border:0!important;background:transparent!important;resize:none!important;overflow:hidden!important;padding:2px!important;box-sizing:border-box!important;pointer-events:auto!important;cursor:text!important;user-select:text!important;touch-action:manipulation!important;}
.cx62-textbox:focus{outline:2px dashed rgba(62,219,255,.75)!important;outline-offset:4px!important;border-radius:10px!important;}
.cx62-tail-handle{position:absolute!important;z-index:8!important;width:20px!important;height:20px!important;transform:translate(-50%,-50%)!important;border-radius:50%!important;border:3px solid #141C2C!important;background:#FFD84D!important;box-shadow:2px 2px 0 #141C2C!important;pointer-events:auto!important;cursor:grab!important;touch-action:none!important;padding:0!important;}
.cx62-resize{position:absolute!important;z-index:8!important;width:20px!important;height:20px!important;transform:translate(-50%,-50%)!important;border-radius:6px!important;border:3px solid #141C2C!important;background:#3EDBFF!important;box-shadow:2px 2px 0 #141C2C!important;pointer-events:auto!important;cursor:nwse-resize!important;touch-action:none!important;padding:0!important;}
.cx62-tools{position:absolute!important;z-index:50!important;transform:translate(-50%,-108%)!important;display:flex!important;flex-wrap:wrap!important;gap:5px!important;align-items:center!important;justify-content:center!important;min-width:290px!important;max-width:min(90vw,420px)!important;padding:7px!important;border:3px solid #141C2C!important;border-radius:16px!important;background:#fff!important;box-shadow:5px 5px 0 #141C2C!important;pointer-events:auto!important;}
.cx62-tools button,.cx62-tools select{height:28px!important;border:2px solid #141C2C!important;border-radius:9px!important;background:#fffaf0!important;color:#141C2C!important;font-size:12px!important;font-weight:900!important;padding:0 7px!important;cursor:pointer!important;}
.cx62-tools [data-cx62-del]{background:#FF2D6F!important;color:#fff!important;min-width:30px!important;}
.cx62-tools [data-cx62-move]{background:#FFD84D!important;cursor:grab!important;}
.cx62-swatches{display:flex!important;gap:4px!important;align-items:center!important;}
.cx62-swatches button{width:20px!important;min-width:20px!important;height:20px!important;border-radius:50%!important;padding:0!important;box-shadow:1px 1px 0 #141C2C!important;}
@media(max-width:768px){
  .storybd-v7 #storybd-mod-modal.is-open .storybd-modal-card,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-modal-card{height:calc(100svh - 20px)!important;max-height:calc(100svh - 20px)!important;overflow:hidden!important;padding:14px!important;}
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-scroll,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-scroll{height:calc(100svh - 190px)!important;max-height:calc(100svh - 190px)!important;overflow:auto!important;}
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
  .storybd-v7 #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large,
  #storybd-modal-portal #storybd-mod-modal.is-open .storybd-dialogue-canvas-large img{width:980px!important;min-width:980px!important;max-width:none!important;}
  .cx62-tools{min-width:260px!important;gap:4px!important;padding:6px!important;}
  .cx62-tools button,.cx62-tools select{height:26px!important;font-size:11px!important;padding:0 5px!important;}
}


/* COMIXIO 8.3.66 - Dialogue Studio est une page dédiée : plus de doublon dans la popup Modifier ma BD. */
.storybd-mod-mode[data-mode="dialogues"],
.storybd-dialogue-editor-panel{display:none!important;}
.storybd-mod-mode-grid:has(.storybd-mod-mode[data-mode="board"]){grid-template-columns:1fr!important;}

/* COMIXIO V8.3.94 - Ciblage doux de la BD quand on revient depuis la page résultat. */
.storybd-library-card.storybd-deep-target{
  animation: storybdDeepTargetPulse 1.4s ease-in-out 2;
  outline: 3px solid rgba(255, 216, 77, .95);
  outline-offset: 5px;
}
@keyframes storybdDeepTargetPulse{
  0%,100%{ transform: translateY(0); }
  45%{ transform: translateY(-4px); }
}


/* COMIXIO V8.3.99 - Popup modification propre + scroll mobile robuste */
#storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open{
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  padding:18px 12px!important;
}
#storybd-modal-portal #storybd-mod-modal .storybd-mod-card{
  width:min(760px,calc(100vw - 24px))!important;
  max-height:calc(100svh - 36px)!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  margin:auto 0!important;
}
#storybd-modal-portal #storybd-mod-modal #storybd-mod-details{
  min-height:180px!important;
}
@media (max-width:768px){
  #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open{
    padding:10px 8px 20px!important;
    align-items:flex-start!important;
  }
  #storybd-modal-portal #storybd-mod-modal .storybd-mod-card{
    width:calc(100vw - 16px)!important;
    max-height:calc(100svh - 30px)!important;
    border-radius:22px!important;
    padding:18px 14px 22px!important;
  }
  #storybd-modal-portal #storybd-mod-modal .storybd-modal-close{
    position:sticky!important;
    top:0!important;
    float:right!important;
    z-index:5!important;
  }
  #storybd-modal-portal #storybd-mod-modal #storybd-mod-details{
    min-height:220px!important;
    font-size:16px!important;
  }
}


/* COMIXIO V8.4.0 - Fix réel scroll popup Modifier ma BD mobile + desktop */
html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open{
  position:fixed!important;
  inset:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow:auto!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding:clamp(10px,2vh,22px) 10px 28px!important;
  box-sizing:border-box!important;
  touch-action:pan-y!important;
}
html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open > .storybd-modal-card.storybd-mod-card,
html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open > .storybd-mod-card{
  position:relative!important;
  display:block!important;
  width:min(760px,calc(100vw - 20px))!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open #storybd-mod-details{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  min-height:220px!important;
  max-height:42svh!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:auto!important;
}
@media (max-width:768px){
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open{
    padding:8px 8px max(26px,env(safe-area-inset-bottom))!important;
  }
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open > .storybd-modal-card.storybd-mod-card,
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open > .storybd-mod-card{
    width:calc(100vw - 16px)!important;
    padding:18px 14px 24px!important;
    border-radius:22px!important;
  }
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open .storybd-modal-close{
    position:sticky!important;
    top:6px!important;
    float:right!important;
    z-index:20!important;
  }
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open #storybd-mod-details{
    min-height:240px!important;
    max-height:38svh!important;
    font-size:16px!important;
    line-height:1.35!important;
  }
}

/* COMIXIO V8.4.1 - Popup Modifier ma BD : scroll mobile final, hors conflit Divi/anciens blocs */
html body #storybd-mod-modal.storybd-modal.is-open,
html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open,
html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open{
  position:fixed!important;
  inset:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain!important;
  height:100dvh!important;
  max-height:100dvh!important;
  padding:12px 10px max(34px,env(safe-area-inset-bottom))!important;
  touch-action:pan-y!important;
}
html body #storybd-mod-modal.storybd-modal.is-open .storybd-modal-card.storybd-mod-card,
html body #storybd-mod-modal.storybd-modal.is-open .storybd-mod-card,
html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open .storybd-modal-card.storybd-mod-card,
html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open .storybd-modal-card.storybd-mod-card{
  position:relative!important;
  display:block!important;
  flex:0 0 auto!important;
  width:min(760px,calc(100vw - 20px))!important;
  height:auto!important;
  min-height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
html body #storybd-mod-modal.storybd-modal.is-open #storybd-mod-details,
html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open #storybd-mod-details{
  min-height:220px!important;
  max-height:none!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:auto!important;
}
@media (max-width:768px){
  html body #storybd-mod-modal.storybd-modal.is-open,
  html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open,
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open{
    align-items:flex-start!important;
    padding:8px 8px max(44px,env(safe-area-inset-bottom))!important;
  }
  html body #storybd-mod-modal.storybd-modal.is-open .storybd-modal-card.storybd-mod-card,
  html body #storybd-mod-modal.storybd-modal.is-open .storybd-mod-card,
  html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open .storybd-modal-card.storybd-mod-card,
  html body #storybd-modal-portal #storybd-mod-modal.storybd-modal.is-open .storybd-modal-card.storybd-mod-card{
    width:calc(100vw - 16px)!important;
    padding:18px 14px 26px!important;
    border-radius:22px!important;
  }
  html body #storybd-mod-modal.storybd-modal.is-open .storybd-modal-close,
  html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open .storybd-modal-close{
    position:sticky!important;
    top:6px!important;
    float:right!important;
    z-index:30!important;
  }
  html body #storybd-mod-modal.storybd-modal.is-open #storybd-mod-details,
  html body .storybd-v7 #storybd-mod-modal.storybd-modal.is-open #storybd-mod-details{
    min-height:240px!important;
    font-size:16px!important;
    line-height:1.35!important;
  }
}

/* COMIXIO V8.4.5 - Bulles auto en overlay DOM, jamais fusionnées avant export */
.storybd-preview-frame,
.storybd-library-image-wrap{
  position:relative;
  overflow:hidden;
}
.storybd-auto-dialogue-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:4;
}
.storybd-auto-bubble{
  position:absolute;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:.55em .7em;
  background:#fffaf0;
  color:#2f343b;
  border:2px solid #141C2C;
  border-radius:999px;
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.015em;
  box-shadow:0 5px 0 rgba(20,28,44,.16), 0 12px 22px rgba(20,28,44,.16);
  transform:translateZ(0);
}
.storybd-auto-bubble span{
  display:block;
  max-width:100%;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.storybd-auto-bubble::after{
  content:"";
  position:absolute;
  left:var(--storybd-tail-x, 50%);
  top:var(--storybd-tail-y, 100%);
  width:14%;
  height:20%;
  min-width:10px;
  min-height:10px;
  background:#fffaf0;
  border-right:2px solid #141C2C;
  border-bottom:2px solid #141C2C;
  transform:translate(-50%,-12%) rotate(45deg);
  z-index:-1;
}
.storybd-auto-bubble-thought{
  border-radius:48% 52% 46% 54% / 58% 46% 54% 42%;
}
.storybd-auto-bubble-thought::after{
  width:10px;
  height:10px;
  min-width:8px;
  min-height:8px;
  border-radius:999px;
  border:2px solid #141C2C;
  transform:translate(-50%, 20%);
}
.storybd-auto-bubble-action{
  border-radius:16px;
  background:rgba(20,28,44,.88);
  color:#fffaf0;
  border-color:#fffaf0;
}
.storybd-auto-bubble-action::after{display:none;}
.storybd-auto-bubble-burst{
  border-radius:24px;
  background:#FFD84D;
  color:#141C2C;
  text-transform:uppercase;
  transform:rotate(-2deg);
}
.storybd-auto-bubble-burst::after{background:#FFD84D;}
.storybd-library-image-wrap .storybd-auto-bubble{
  border-width:1.5px;
  box-shadow:0 3px 0 rgba(20,28,44,.14), 0 7px 14px rgba(20,28,44,.13);
  padding:.42em .55em;
}
@media (max-width:640px){
  .storybd-auto-bubble{border-width:1.5px;padding:.42em .55em;box-shadow:0 3px 0 rgba(20,28,44,.14), 0 8px 16px rgba(20,28,44,.14);}
  .storybd-auto-bubble::after{border-width:1.5px;}
}


/* V8.5.7 - UX crédits claire : histoire payante, dialogues gratuits */
.storybd-v7 .storybd-library-actions .storybd-story-cost-action{
  background:linear-gradient(135deg,#fff8d7,#FFD84D)!important;
  color:#141C2C!important;
  border-color:#141C2C!important;
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-library-actions .storybd-open-dialogue-studio{
  background:linear-gradient(135deg,#eefaff,#ffffff)!important;
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-library-actions .storybd-open-dialogue-studio small,
.storybd-v7 .storybd-library-actions .storybd-story-cost-action small{
  display:block!important;
  font-size:11px!important;
  font-weight:1000!important;
  opacity:.78!important;
  text-transform:none!important;
}
.storybd-v7 .storybd-dialogue-free-note{
  display:inline-flex!important;
  margin-left:8px!important;
  padding:8px 12px!important;
  border:2px solid rgba(20,28,44,.18)!important;
  border-radius:999px!important;
  background:#eefaff!important;
  color:#141C2C!important;
  font-weight:950!important;
  font-size:13px!important;
}
.storybd-v7 #storybd-apply-board-mod.storybd-story-cost-action{
  background:linear-gradient(135deg,#FFD84D,#fff4b8)!important;
  color:#141C2C!important;
}
@media(max-width:768px){
  .storybd-v7 .storybd-dialogue-free-note{margin-left:0!important;margin-top:8px!important;}
}

/* V8.7.32 - Bibliothèque : fiche Univers mobile-first, isolée */
.storybd-library-image-wrap{position:relative!important;}
.storybd-universe-open{
  position:absolute!important;right:10px!important;bottom:10px!important;z-index:8!important;width:48px!important;height:48px!important;border:3px solid #141C2C!important;border-radius:50%!important;background:#FFD84D!important;color:#141C2C!important;font-size:30px!important;line-height:1!important;font-weight:950!important;box-shadow:4px 5px 0 rgba(20,28,44,.28)!important;display:grid!important;place-items:center!important;cursor:pointer!important;transition:transform .15s ease, box-shadow .15s ease!important;
}
.storybd-universe-open:hover{transform:translateY(-2px) scale(1.03)!important;box-shadow:5px 7px 0 rgba(20,28,44,.34)!important;}
#storybd-modal-portal .storybd-universe-modal.is-open,
.storybd-v7 .storybd-universe-modal.is-open{display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:10px!important;overflow:auto!important;background:rgba(7,16,31,.82)!important;backdrop-filter:blur(10px)!important;z-index:999999!important;}
#storybd-modal-portal .storybd-universe-card{
  width:min(980px,100%)!important;min-height:auto!important;max-height:none!important;border:4px solid #141C2C!important;border-radius:28px!important;background:#fffdf4!important;color:#141C2C!important;padding:16px!important;box-shadow:7px 8px 0 rgba(20,28,44,.36)!important;position:relative!important;overflow:visible!important;
}
#storybd-modal-portal .storybd-universe-card .storybd-universe-close{top:10px!important;right:10px!important;background:#fff!important;color:#141C2C!important;z-index:12!important;}
.storybd-universe-head{padding:4px 48px 10px 2px!important;}
.storybd-universe-head h2{font-size:clamp(28px,7vw,52px)!important;line-height:.95!important;margin:14px 0 0!important;font-weight:950!important;letter-spacing:-.055em!important;color:#141C2C!important;}
#storybd-modal-portal .storybd-universe-reader{
  height:auto!important;max-height:none!important;min-height:auto!important;display:block!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;background:#07101f!important;border:3px solid #141C2C!important;border-radius:22px!important;padding:8px!important;margin:8px 0 14px!important;text-align:center!important;
}
#storybd-modal-portal #storybd-universe-image{display:block!important;width:100%!important;
    max-width:none!important;height:auto!important;max-width:100%!important;
    max-width:none!important;max-height:none!important;margin:0 auto!important;border-radius:14px!important;user-select:none!important;-webkit-user-drag:none!important;background:#fff!important;}
.storybd-universe-info-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important;}
.storybd-universe-tile{border:3px solid #141C2C!important;border-radius:22px!important;background:#fff!important;box-shadow:4px 5px 0 rgba(20,28,44,.18)!important;padding:14px!important;min-width:0!important;}
.storybd-universe-tile:nth-child(2){background:#fff6c9!important;}
.storybd-universe-tile:nth-child(3){background:#eefaff!important;}
.storybd-universe-tile:nth-child(4){background:#fff0f6!important;}
.storybd-universe-tile-head{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:10px!important;}
.storybd-universe-tile-head span{width:38px!important;height:38px!important;border:2px solid #141C2C!important;border-radius:14px!important;background:#FFD84D!important;display:grid!important;place-items:center!important;font-size:20px!important;box-shadow:2px 3px 0 rgba(20,28,44,.16)!important;}
.storybd-universe-tile-head strong{font-size:17px!important;font-weight:950!important;color:#141C2C!important;}
.storybd-universe-tile p{font-size:14px!important;line-height:1.45!important;color:rgba(20,28,44,.78)!important;font-weight:800!important;margin:0!important;max-width:none!important;}
.storybd-universe-character-list{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
.storybd-universe-character-chip{display:flex!important;align-items:flex-start!important;gap:9px!important;border:2px solid rgba(20,28,44,.18)!important;border-radius:16px!important;background:#fffaf0!important;padding:9px 10px!important;min-width:0!important;}
.storybd-universe-character-chip em{font-style:normal!important;flex:0 0 auto!important;width:30px!important;height:30px!important;border-radius:11px!important;background:#F6E7C1!important;display:grid!important;place-items:center!important;}
.storybd-universe-character-chip strong{font-size:13px!important;line-height:1.25!important;font-weight:900!important;color:#141C2C!important;min-width:0!important;overflow-wrap:anywhere!important;}
@media (min-width:780px){
  #storybd-modal-portal .storybd-universe-modal.is-open{align-items:center!important;padding:24px!important;}
  #storybd-modal-portal .storybd-universe-card{padding:22px!important;border-radius:34px!important;}
  #storybd-modal-portal .storybd-universe-reader{max-height:62vh!important;padding:12px!important;}
  #storybd-modal-portal #storybd-universe-image{width:auto!important;max-width:100%!important;
    max-width:none!important;max-height:60vh!important;}
  .storybd-universe-info-grid{grid-template-columns:1.15fr .85fr .85fr!important;gap:14px!important;}
  .storybd-universe-story{grid-column:1 / -1!important;}
  .storybd-universe-character-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* V8.7.33 - Bibliothèque : popup Univers raccordée au système modal existant + retrait badge POW */
.storybd-library-image-wrap:after{content:none!important;display:none!important;}
#storybd-modal-portal #storybd-universe-modal.storybd-modal.storybd-universe-modal{position:fixed!important;inset:0!important;}
#storybd-modal-portal #storybd-universe-modal.storybd-modal.storybd-universe-modal.is-open{display:flex!important;}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-card{margin:auto!important;}

/* V8.7.34 - Bibliothèque : fiche Univers centrée personnages + vraie liseuse type classement */
#storybd-modal-portal #storybd-universe-modal.storybd-modal.storybd-universe-modal.is-open{
  align-items:center!important;
  justify-content:center!important;
  padding:10px!important;
  overflow:auto!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-card{
  width:min(980px,96vw)!important;
  max-width:min(980px,96vw)!important;
  max-height:96vh!important;
  overflow:auto!important;
  padding:14px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#fffaf0 0%,#fff 52%,#eefaff 100%)!important;
  border:4px solid #141C2C!important;
  box-shadow:0 26px 80px rgba(0,0,0,.42), 8px 8px 0 rgba(20,28,44,.24)!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-head{
  padding:2px 54px 10px 4px!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-head h2{
  font-size:clamp(25px,6vw,46px)!important;
  letter-spacing:-.055em!important;
  margin-top:8px!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-reader-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:10px 12px!important;
  border:3px solid #141C2C!important;
  border-bottom:0!important;
  border-radius:20px 20px 0 0!important;
  background:#FFD84D!important;
  color:#141C2C!important;
  font-weight:950!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-reader-topbar span{
  opacity:.72!important;
  font-size:12px!important;
  font-weight:900!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-zoom-controls{
  display:none!important;
  gap:6px!important;
  align-items:center!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-zoom-controls button{
  min-width:38px!important;
  height:36px!important;
  border-radius:13px!important;
  border:2px solid #141C2C!important;
  background:#fff!important;
  color:#141C2C!important;
  font-weight:950!important;
  box-shadow:2px 3px 0 rgba(20,28,44,.22)!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-reader{
  position:relative!important;
  overflow:auto!important;
  max-height:62vh!important;
  min-height:220px!important;
  border:3px solid #141C2C!important;
  border-radius:0 0 22px 22px!important;
  background:#111827!important;
  padding:12px!important;
  text-align:center!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  cursor:zoom-in!important;
}
#storybd-modal-portal #storybd-universe-modal #storybd-universe-image{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
    max-width:none!important;
  max-height:60vh!important;
  margin:0 auto!important;
  border-radius:12px!important;
  background:#fff!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-user-drag:none!important;
  transform-origin:top center!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-lens{
  position:absolute!important;
  pointer-events:none!important;
  transform:translate(-50%,-50%)!important;
  border:5px solid #FFD84D!important;
  border-radius:24px!important;
  box-shadow:0 18px 50px rgba(0,0,0,.42), 5px 5px 0 rgba(20,28,44,.30)!important;
  background-repeat:no-repeat!important;
  opacity:0!important;
  visibility:hidden!important;
  z-index:5!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-lens.is-visible{
  opacity:1!important;
  visibility:visible!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-cast{
  margin-top:14px!important;
  padding:14px!important;
  border:4px solid #141C2C!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 10% 20%,rgba(255,216,77,.45),transparent 26%),radial-gradient(circle at 90% 0%,rgba(255,45,111,.18),transparent 28%),#fff!important;
  box-shadow:5px 6px 0 rgba(20,28,44,.18)!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-cast-title{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-cast-title > span{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:17px!important;
  border:3px solid #141C2C!important;
  background:#FF2D6F!important;
  font-size:23px!important;
  box-shadow:3px 4px 0 rgba(20,28,44,.20)!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-cast-title strong{
  display:block!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:950!important;
  color:#141C2C!important;
  letter-spacing:-.035em!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-cast-title small{
  display:block!important;
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.2!important;
  color:rgba(20,28,44,.62)!important;
  font-weight:900!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:54px!important;
  padding:10px 40px 10px 10px!important;
  border:3px solid #141C2C!important;
  border-radius:19px!important;
  background:#fff!important;
  box-shadow:4px 4px 0 rgba(20,28,44,.16)!important;
  transform:rotate(-.35deg)!important;
  overflow:hidden!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip:nth-child(2n){background:#fff4c8!important;transform:rotate(.35deg)!important;}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip:nth-child(3n){background:#eefdff!important;}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip:nth-child(4n){background:#fff0f6!important;}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip em{
  flex:0 0 auto!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border:2px solid #141C2C!important;
  border-radius:13px!important;
  background:#FFD84D!important;
  font-style:normal!important;
  font-size:18px!important;
  box-shadow:2px 2px 0 rgba(20,28,44,.16)!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip strong{
  min-width:0!important;
  color:#141C2C!important;
  font-size:16px!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
  overflow-wrap:anywhere!important;
}
#storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip b{
  position:absolute!important;
  right:9px!important;
  bottom:7px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
  color:rgba(20,28,44,.30)!important;
}
@media (max-width:768px){
  #storybd-modal-portal #storybd-universe-modal.storybd-modal.storybd-universe-modal.is-open{
    align-items:flex-start!important;
    padding:8px!important;
  }
  #storybd-modal-portal #storybd-universe-modal .storybd-universe-card{
    width:100%!important;
    max-width:none!important;
    max-width:100%!important;
    max-width:none!important;
    max-height:none!important;
    min-height:calc(100vh - 16px)!important;
    padding:10px!important;
    border-radius:22px!important;
  }
  #storybd-modal-portal #storybd-universe-modal .storybd-universe-zoom-controls{display:flex!important;}
  #storybd-modal-portal #storybd-universe-modal .storybd-universe-reader{
    max-height:58vh!important;
    min-height:260px!important;
    padding:8px!important;
    touch-action:pan-x pan-y pinch-zoom!important;
    cursor:grab!important;
  }
  #storybd-modal-portal #storybd-universe-modal #storybd-universe-image{
    width:100%!important;
    max-width:none!important;
    max-width:100%!important;
    max-width:none!important;
    max-height:none!important;
  }
  #storybd-modal-portal #storybd-universe-modal .storybd-universe-character-list{grid-template-columns:1fr!important;}
  #storybd-modal-portal #storybd-universe-modal .storybd-universe-character-chip{min-height:56px!important;}
}


/* V8.7.40 - Restaure uniquement le loader rose animé des modifications depuis la bibliothèque.
   Le masquage global du badge POW reste intact, mais l'état .storybd-card-modifying reprend son texte loader. */
.storybd-v7 .storybd-card-modifying .storybd-library-image-wrap:after,
.storybd-library .storybd-card-modifying .storybd-library-image-wrap:after{
  content:'Modification en cours…'!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  z-index:22!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%) rotate(-3deg)!important;
  white-space:nowrap!important;
  border:3px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:999px!important;
  background:var(--storybd-rose,var(--sbd-pink,#f42279))!important;
  color:#fff!important;
  font-size:clamp(15px,2.2vw,22px)!important;
  font-weight:950!important;
  line-height:1!important;
  padding:14px 18px!important;
  box-shadow:5px 5px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  animation:storybdCardLoaderPop 1s ease-in-out infinite!important;
}
.storybd-library .storybd-card-modifying .storybd-library-image-wrap:before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  z-index:20!important;
  background:rgba(20,28,44,.72)!important;
  backdrop-filter:blur(2px)!important;
}
.storybd-library .storybd-card-modifying:after{
  content:''!important;
  position:absolute!important;
  inset:10px!important;
  border:4px dashed var(--storybd-rose,var(--sbd-pink,#f42279))!important;
  border-radius:22px!important;
  z-index:24!important;
  pointer-events:none!important;
  animation:storybdLoaderMarch .9s linear infinite!important;
}

/* V8.9 - Auth marketing opt-in, scoped to StoryBD auth gate only */
.storybd-v7.storybd-auth-comic-lite .storybd-auth-marketing-optin{
  display:flex!important;
  align-items:flex-start;
  gap:10px!important;
  padding:11px 12px;
  border:2px dashed rgba(20,20,20,.18);
  border-radius:15px;
  background:rgba(255,216,77,.18);
  font-size:.86rem!important;
  line-height:1.28;
  cursor:pointer;
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-marketing-optin input{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:1px 0 0 0!important;
  padding:0!important;
  box-shadow:none!important;
  accent-color:var(--storybd-rose);
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-marketing-optin span{
  display:block;
  font-weight:850;
  color:var(--storybd-ink);
}
.storybd-v7.storybd-auth-comic-lite .storybd-auth-marketing-optin strong{
  color:var(--storybd-rose);
  white-space:nowrap;
}


/* StoryBD V9.0.3 - UX personnages principaux : cartes guidées, max 4, mobile first */
.storybd-v7 .storybd-character-builder-card > p{display:none!important;}
.storybd-v7 .storybd-characters-hidden{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:-9999px!important;}
.storybd-v7 .storybd-character-builder{padding:clamp(14px,3vw,22px);border:2px solid rgba(20,28,44,.08);background:linear-gradient(135deg,#fff 0%,#fff8fc 58%,#fff7d6 100%);}
.storybd-v7 .storybd-character-builder-head strong{font-size:1.08rem;}
.storybd-v7 .storybd-character-builder-head span{max-width:620px;}
.storybd-v7 .storybd-character-add.is-disabled,.storybd-v7 .storybd-character-add:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.15);box-shadow:none;}
.storybd-v7 .storybd-character-grid{display:grid;grid-template-columns:1fr;gap:18px;}
.storybd-v7 .storybd-character-photo-card{grid-template-columns:1fr!important;gap:14px;padding:16px;border:2px solid rgba(20,28,44,.10);border-radius:26px;background:rgba(255,255,255,.95);box-shadow:0 14px 30px rgba(20,28,44,.08);}
.storybd-v7 .storybd-character-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid rgba(20,28,44,.08);}
.storybd-v7 .storybd-character-card-top strong{color:#141C2C;font-weight:950;}
.storybd-v7 .storybd-character-number{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#141C2C;color:#fff;font-weight:950;box-shadow:4px 4px 0 #FFD84D;}
.storybd-v7 .storybd-character-fields label,.storybd-v7 .storybd-character-description-panel > span{display:block;color:#141C2C;font-weight:900;font-size:.88rem;line-height:1.25;}
.storybd-v7 .storybd-character-description-panel{display:grid;gap:10px;padding:14px;border-radius:22px;background:rgba(20,28,44,.035);border:1px solid rgba(20,28,44,.07);}
.storybd-v7 .storybd-character-mini-grid{display:grid;grid-template-columns:1fr;gap:10px;}
.storybd-v7 .storybd-character-fields input,.storybd-v7 .storybd-character-fields textarea,.storybd-v7 .storybd-character-fields select{width:100%;margin-top:7px;border:1px solid rgba(20,28,44,.14);background:#fff;border-radius:16px;padding:12px 14px;color:#141C2C;outline:none;box-sizing:border-box;font:inherit;}
.storybd-v7 .storybd-character-fields select{appearance:auto;}
.storybd-v7 .storybd-character-free{min-height:88px;}
.storybd-v7 .storybd-character-description{min-height:78px;background:#fffafc!important;}
.storybd-v7 .storybd-character-preview{aspect-ratio:auto!important;min-height:112px;flex-direction:column;gap:8px;padding:14px;text-align:center;}
.storybd-v7 .storybd-character-preview small{display:block;max-width:220px;color:rgba(20,28,44,.64);font-size:.82rem;line-height:1.35;font-weight:800;}
.storybd-v7 .storybd-character-preview img{border-radius:18px;}
@media (min-width:680px){.storybd-v7 .storybd-character-mini-grid{grid-template-columns:1fr 1fr;}}
@media (min-width:980px){.storybd-v7 .storybd-character-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.storybd-v7 .storybd-character-photo-card{padding:14px;}.storybd-v7 .storybd-character-preview{min-height:126px;}}


/* StoryBD V9.0.4 - Personnages : suppression upload photo + champs aérés en colonne */
.storybd-v7 .storybd-character-file,
.storybd-v7 .storybd-character-preview,
.storybd-v7 .storybd-character-description,
.storybd-v7 .storybd-character-status{display:none!important;}
.storybd-v7 .storybd-character-photo-card{padding:clamp(18px,2.4vw,24px)!important;}
.storybd-v7 .storybd-character-fields{display:grid!important;gap:18px!important;}
.storybd-v7 .storybd-character-description-panel{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;padding:clamp(18px,2.6vw,24px)!important;}
.storybd-v7 .storybd-character-mini-grid{grid-template-columns:1fr!important;gap:18px!important;}
.storybd-v7 .storybd-character-fields input,
.storybd-v7 .storybd-character-fields textarea,
.storybd-v7 .storybd-character-fields select{margin-top:9px!important;padding:15px 16px!important;border-radius:18px!important;min-height:52px!important;}
.storybd-v7 .storybd-character-free{min-height:120px!important;resize:vertical;}
.storybd-v7 .storybd-character-card-top{margin-bottom:2px!important;}
@media (min-width:680px){.storybd-v7 .storybd-character-mini-grid{grid-template-columns:1fr!important;}}
@media (min-width:980px){.storybd-v7 .storybd-character-photo-card{padding:18px!important;}.storybd-v7 .storybd-character-grid{gap:20px!important;}}


/* StoryBD V9.0.5 - Correctif affichage cartes personnages + gros bouton + responsive */
.storybd-v7 .storybd-character-layout{
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  align-items:stretch!important;
}
.storybd-v7 .storybd-character-grid{
  width:100%!important;
    max-width:none!important;
}
.storybd-v7 .storybd-character-add{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
    max-width:none!important;
  min-height:92px!important;
  border-radius:28px!important;
  border:3px dashed rgba(255,45,111,.55)!important;
  background:linear-gradient(135deg,#FF2D6F 0%,#ff5d93 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 34px rgba(255,45,111,.24), 6px 6px 0 #FFD84D!important;
  font-weight:950!important;
  text-align:center!important;
  cursor:pointer!important;
}
.storybd-v7 .storybd-character-add span{
  display:grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#FF2D6F!important;
  font-size:42px!important;
  line-height:1!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-character-add em{
  font-style:normal!important;
  font-size:1rem!important;
  line-height:1.15!important;
}
.storybd-v7 .storybd-character-add.is-disabled,
.storybd-v7 .storybd-character-add:disabled{
  display:none!important;
}
.storybd-v7 .storybd-character-photo-card{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
}
.storybd-v7 .storybd-character-fields,
.storybd-v7 .storybd-character-description-panel{
  width:100%!important;
    max-width:none!important;
}
/* StoryBD V9.0.6 - Le bouton + ne prend plus la place d’une colonne sur desktop */
.storybd-v7 .storybd-character-layout{
  position:relative!important;
}
@media (min-width:980px){
  .storybd-v7 .storybd-character-layout{
    display:block!important;
    padding-right:0!important;
    overflow:visible!important;
  }
  .storybd-v7 .storybd-character-grid{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
  }
  .storybd-v7 .storybd-character-add{
    position:absolute!important;
    z-index:5!important;
    right:clamp(-92px,-7vw,-70px)!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    min-height:150px!important;
    height:150px!important;
    padding:10px!important;
    flex:none!important;
  }
  .storybd-v7 .storybd-character-add span{
    width:54px!important;
    height:54px!important;
    font-size:42px!important;
  }
  .storybd-v7 .storybd-character-add em{
    font-size:.78rem!important;
    line-height:1.05!important;
  }
}
@media (min-width:980px) and (max-width:1180px){
  .storybd-v7 .storybd-character-builder{
    padding-right:clamp(82px,9vw,104px)!important;
  }
  .storybd-v7 .storybd-character-add{
    right:12px!important;
  }
}


/* StoryBD V9.0.7 - Desktop : bouton + visible hors grille sans compresser les cartes */
@media (min-width:980px){
  #storybd-v7-app,
  #storybd-v7-app .storybd-step.is-active,
  #storybd-v7-app .storybd-card.storybd-character-builder-card,
  #storybd-v7-app .storybd-character-builder,
  #storybd-v7-app .storybd-character-layout{
    overflow:visible!important;
    contain:none!important;
    content-visibility:visible!important;
  }
  #storybd-v7-app .storybd-card.storybd-character-builder-card{
    position:relative!important;
    z-index:20!important;
  }
  #storybd-v7-app .storybd-character-builder{
    position:relative!important;
    isolation:visible!important;
  }
  #storybd-v7-app .storybd-character-add{
    right:-28px!important;
    top:50%!important;
    transform:translate(100%,-50%)!important;
    z-index:999!important;
  }
}
@media (min-width:980px) and (max-width:1280px){
  #storybd-v7-app .storybd-character-add{
    right:0!important;
    transform:translate(50%,-50%)!important;
  }
}


/* V9.0.17 - Bibliothèque : icône dialogue chevauchée en haut gauche, texte préservé */
.storybd-v7.storybd-library .storybd-library-image-wrap .storybd-library-dialogue-orb{
  position:absolute!important;
  left:10px!important;
  bottom:10px!important;
  z-index:9!important;
  width:auto!important;
  min-width:154px!important;
  max-width:calc(100% - 86px)!important;
  min-height:54px!important;
  height:auto!important;
  padding:10px 13px 10px 58px!important;
  border:3px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:18px!important;
  background:var(--storybd-yellow,var(--sbd-yellow,#FFD84D))!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  text-align:left!important;
  text-decoration:none!important;
  box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  transform:none!important;
  overflow:visible!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
}
.storybd-v7.storybd-library .storybd-library-image-wrap .storybd-library-dialogue-orb:hover{
  transform:translate(-1px,-1px)!important;
  box-shadow:6px 6px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  filter:saturate(1.05) brightness(1.02)!important;
}
.storybd-v7.storybd-library .storybd-dialogue-orb-icon{
  position:absolute!important;
  top:-18px!important;
  left:-12px!important;
  z-index:2!important;
  display:inline-grid!important;
  place-items:center!important;
  width:56px!important;
  height:56px!important;
  flex:0 0 56px!important;
  border:3px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  font-size:31px!important;
  line-height:1!important;
  box-shadow:3px 3px 0 var(--storybd-ink,var(--sbd-ink,#141C2C)),0 7px 18px rgba(0,0,0,.20)!important;
  transform:rotate(-10deg)!important;
  filter:none!important;
  pointer-events:none!important;
}
.storybd-v7.storybd-library .storybd-dialogue-orb-icon em{display:none!important;}
.storybd-v7.storybd-library .storybd-dialogue-orb-text{
  position:relative!important;
  z-index:3!important;
  display:block!important;
  max-width:116px!important;
  font-size:12px!important;
  line-height:1.06!important;
  font-weight:950!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  text-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-universe-open{
  width:54px!important;
  height:58px!important;
  padding:3px 0 5px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  line-height:1!important;
}
.storybd-v7.storybd-library .storybd-universe-open>span{
  display:block!important;
  font-size:29px!important;
  line-height:.86!important;
  font-weight:1000!important;
}
.storybd-v7.storybd-library .storybd-universe-open>small{
  display:block!important;
  margin-top:1px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
}
.storybd-v7.storybd-library .storybd-library-hd{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  animation:storybdLibraryHdBigPulse 2.15s ease-in-out infinite!important;
  transform-origin:center!important;
}
.storybd-v7.storybd-library .storybd-library-hd-download-icon{
  display:inline-grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  border:2px solid #fff!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-size:17px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
@keyframes storybdLibraryHdBigPulse{
  0%,100%{transform:translateY(0) scale(1);filter:brightness(1);box-shadow:5px 5px 0 var(--storybd-ink,var(--sbd-ink,#141C2C));}
  45%{transform:translateY(-4px) scale(1.035);filter:brightness(1.09);box-shadow:8px 9px 0 var(--storybd-ink,var(--sbd-ink,#141C2C));}
  70%{transform:translateY(1px) scale(.992);filter:brightness(1.02);box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink,#141C2C));}
}
@media(max-width:520px){
  .storybd-v7.storybd-library .storybd-library-image-wrap .storybd-library-dialogue-orb{
    left:8px!important;
    bottom:8px!important;
    min-width:142px!important;
    max-width:calc(100% - 72px)!important;
    min-height:50px!important;
    padding:9px 10px 9px 51px!important;
    border-radius:16px!important;
    gap:0!important;
  }
  .storybd-v7.storybd-library .storybd-dialogue-orb-icon{top:-16px!important;left:-10px!important;width:50px!important;height:50px!important;flex-basis:50px!important;font-size:28px!important;}
  .storybd-v7.storybd-library .storybd-dialogue-orb-text{font-size:16px!important;max-width:104px!important;line-height:1.08!important;}
  .storybd-v7.storybd-library .storybd-universe-open{right:8px!important;bottom:8px!important;width:50px!important;height:55px!important;}
}

/* V9.0.19 - Dialogue orb desktop width + text fix */
.storybd-v7.storybd-library .storybd-library-image-wrap .storybd-library-dialogue-orb{
  min-width:210px!important;
  max-width:calc(100% - 76px)!important;
  padding-right:18px!important;
}
.storybd-v7.storybd-library .storybd-dialogue-orb-text{
  font-size:16px!important;
  line-height:1.12!important;
  max-width:150px!important;
}
@media(max-width:520px){
  .storybd-v7.storybd-library .storybd-library-image-wrap .storybd-library-dialogue-orb{
    min-width:190px!important;
    max-width:calc(100% - 64px)!important;
  }
  .storybd-v7.storybd-library .storybd-dialogue-orb-text{
    font-size:16px!important;
    max-width:138px!important;
  }
}


/* V9.0.22 - Bibliothèque : badge cadeau blanc + bouton publication iconé */
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-head{
  gap:0!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill{
  justify-self:start!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  padding:10px 14px!important;
  border:1px solid rgba(20,28,44,.16)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#141C2C!important;
  box-shadow:0 8px 20px rgba(20,28,44,.07)!important;
  gap:8px!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill > span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  font-size:23px!important;
  line-height:1!important;
  transform-origin:center bottom!important;
  animation:storybdPrizeTrophyWiggle 2.4s ease-in-out infinite!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill strong{
  font-size:17px!important;
  font-weight:1000!important;
}
.storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill em{
  font-size:13px!important;
  font-weight:900!important;
  opacity:.72!important;
}
.storybd-v7 .storybd-viral-main .storybd-publish-btn-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  margin-right:8px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#141C2C!important;
  box-shadow:2px 2px 0 rgba(20,28,44,.28)!important;
  font-size:15px!important;
  line-height:1!important;
  vertical-align:middle!important;
}
.storybd-v7 .storybd-viral-main span:not(.storybd-publish-btn-icon){
  vertical-align:middle!important;
}
@keyframes storybdPrizeTrophyWiggle{
  0%,100%{transform:rotate(0deg) translateY(0) scale(1);}
  12%{transform:rotate(-7deg) translateY(-1px) scale(1.05);}
  24%{transform:rotate(7deg) translateY(-1px) scale(1.05);}
  36%{transform:rotate(-4deg) translateY(0) scale(1.02);}
  48%{transform:rotate(0deg) translateY(0) scale(1);}
}
@media(max-width:768px){
  .storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill{
    padding:9px 12px!important;
  }
  .storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill > span{
    width:28px!important;
    height:28px!important;
    font-size:21px!important;
  }
  .storybd-v7 .storybd-viral-share-card.is-private .storybd-viral-prize-pill strong{font-size:16px!important;}
}


/* V9.0.28 - Correctif SAFE responsive Bibliothèque / Concours COMIXIO
   Cause réelle : éléments internes en width:100% + box-shadow => dépassement visuel.
   Scope limité à la bibliothèque, sans JS, sans logique, animation conservée. */
.storybd-v7.storybd-library .storybd-library-card,
.storybd-v7.storybd-library .storybd-library-card *,
.storybd-v7.storybd-library .storybd-library-actions,
.storybd-v7.storybd-library .storybd-library-actions *{
  min-width:0!important;
  max-width:100%!important;
    max-width:none!important;
  box-sizing:border-box!important;
}
.storybd-v7.storybd-library .storybd-library-actions{
  width:100%!important;
    max-width:none!important;
  overflow:visible!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  grid-template-columns:minmax(0,1fr)!important;
}
@media (min-width:880px){
  .storybd-v7.storybd-library .storybd-library-actions{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  }
}
.storybd-v7.storybd-library .storybd-library-actions > .storybd-btn,
.storybd-v7.storybd-library .storybd-library-actions > a.storybd-btn,
.storybd-v7.storybd-library .storybd-library-actions > button.storybd-btn{
  width:calc(100% - 8px)!important;
  max-width:calc(100% - 8px)!important;
  justify-self:start!important;
  align-self:stretch!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.12!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-viral-share-card{
  grid-column:1 / -1!important;
  width:calc(100% - 10px)!important;
  max-width:calc(100% - 10px)!important;
  justify-self:start!important;
  overflow:visible!important;
  margin-right:10px!important;
}
.storybd-v7.storybd-library .storybd-viral-share-card > *,
.storybd-v7.storybd-library .storybd-viral-head,
.storybd-v7.storybd-library .storybd-viral-stats,
.storybd-v7.storybd-library .storybd-inline-share.storybd-viral-share{
  min-width:0!important;
  max-width:100%!important;
    max-width:none!important;
}
.storybd-v7.storybd-library .storybd-viral-share-card .storybd-viral-prize-pill{
  width:auto!important;
  max-width:calc(100% - 8px)!important;
  justify-self:start!important;
  flex-wrap:wrap!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.12!important;
}
.storybd-v7.storybd-library .storybd-viral-share-card .storybd-viral-prize-pill strong,
.storybd-v7.storybd-library .storybd-viral-share-card .storybd-viral-prize-pill em{
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.storybd-v7.storybd-library .storybd-viral-share-card .storybd-viral-main,
.storybd-v7.storybd-library .storybd-viral-share-card button.storybd-viral-main,
.storybd-v7.storybd-library .storybd-viral-share-card .storybd-share-hub-open.storybd-viral-main{
  width:calc(100% - 8px)!important;
  max-width:calc(100% - 8px)!important;
  justify-self:start!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.12!important;
  text-align:center!important;
  transform-origin:center!important;
}
.storybd-v7.storybd-library .storybd-viral-main .storybd-publish-btn-icon{
  flex:0 0 auto!important;
}
.storybd-v7.storybd-library .storybd-viral-main span:not(.storybd-publish-btn-icon){
  min-width:0!important;
  max-width:100%!important;
    max-width:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media (max-width:620px){
  .storybd-v7.storybd-library .storybd-library-actions > .storybd-btn,
  .storybd-v7.storybd-library .storybd-library-actions > a.storybd-btn,
  .storybd-v7.storybd-library .storybd-library-actions > button.storybd-btn,
  .storybd-v7.storybd-library .storybd-library-actions .storybd-viral-share-card,
  .storybd-v7.storybd-library .storybd-viral-share-card .storybd-viral-main,
  .storybd-v7.storybd-library .storybd-viral-share-card button.storybd-viral-main,
  .storybd-v7.storybd-library .storybd-viral-share-card .storybd-share-hub-open.storybd-viral-main{
    width:calc(100% - 6px)!important;
    max-width:calc(100% - 6px)!important;
  }
  .storybd-v7.storybd-library .storybd-viral-share-card{
    padding:12px!important;
    margin-right:6px!important;
  }
  .storybd-v7.storybd-library .storybd-viral-main .storybd-publish-btn-icon{
    width:24px!important;
    height:24px!important;
    margin-right:5px!important;
    font-size:13px!important;
  }
}


/* V9.0.31 - Correctif SAFE background COMIXIO sans animation ni débordement horizontal
   Objectif : supprimer les couches de fond animées/élargies qui créaient un élément visible à droite sur desktop.
   Ne touche pas aux logiques JS, crédits, Stripe, génération, Dialogue Studio ou Explorer. */
.storybd-v7,
.storybd-v7.storybd-library{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  max-width:100%!important;
    max-width:none!important;
}

.storybd-v7 .storybd-bg,
.storybd-library .storybd-bg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  min-width:0!important;
  max-width:100%!important;
    max-width:none!important;
  transform:none!important;
  filter:none!important;
  animation:none!important;
  pointer-events:none!important;
  z-index:-2!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 14% 16%, rgba(255,216,77,.28), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255,45,111,.16), transparent 32%),
    radial-gradient(circle at 48% 94%, rgba(62,219,255,.16), transparent 34%),
    linear-gradient(135deg,#fffaf0 0%,#f7fdff 100%)!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%,100% 100%,100% 100%,100% 100%!important;
  background-position:center!important;
}

.storybd-v7:before,
.storybd-v7:after,
.storybd-v7.storybd-library:before,
.storybd-v7.storybd-library:after{
  animation:none!important;
  transform:none!important;
  filter:none!important;
}

.storybd-v7:before{
  inset:0!important;
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  background:transparent!important;
}

.storybd-v7:after{
  inset:0!important;
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  background-image:radial-gradient(rgba(20,28,44,.10) 1px, transparent 1.4px)!important;
  background-size:22px 22px!important;
  background-position:0 0!important;
  opacity:.32!important;
}

/* V9.0.33 - Account Center email sender fix */
.storybd-v7.storybd-account-center{--cx-ink:#141C2C;--cx-pink:#FF2D6F;--cx-yellow:#FFD84D;--cx-blue:#3EDBFF;max-width:1120px;margin:0 auto;padding:22px 14px;color:var(--cx-ink)}
.storybd-v7 .storybd-account-hero{position:relative;overflow:hidden;border:2px solid var(--cx-ink);border-radius:28px;padding:24px;background:linear-gradient(135deg,#fff 0%,#fff7cf 48%,#eafaff 100%);box-shadow:8px 8px 0 var(--cx-ink);margin-bottom:22px}
.storybd-v7 .storybd-account-hero>span{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:18px;background:var(--cx-yellow);border:2px solid var(--cx-ink);box-shadow:4px 4px 0 var(--cx-ink);font-size:24px;margin-bottom:12px}
.storybd-v7 .storybd-account-hero h1{margin:0 0 8px!important;font-size:clamp(28px,4vw,46px)!important;line-height:1!important;color:var(--cx-ink)!important;font-weight:950!important;letter-spacing:-.04em!important}
.storybd-v7 .storybd-account-hero p{margin:0!important;max-width:740px;color:rgba(20,28,44,.74)!important;font-weight:700!important;line-height:1.55!important}
.storybd-v7 .storybd-account-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-bottom:18px}
.storybd-v7 .storybd-account-card,.storybd-v7 .storybd-account-panel,.storybd-v7 .storybd-account-form{background:#fff;border:2px solid var(--cx-ink);border-radius:24px;padding:20px;box-shadow:6px 6px 0 var(--cx-ink)}
.storybd-v7 .storybd-account-card-main{background:linear-gradient(135deg,var(--cx-pink),#ff75a1);color:#fff}
.storybd-v7 .storybd-account-kicker{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:950;color:rgba(20,28,44,.58);margin-bottom:7px}
.storybd-v7 .storybd-account-card-main .storybd-account-kicker{color:rgba(255,255,255,.78)}
.storybd-v7 .storybd-account-card strong{display:block;font-size:20px;font-weight:950;color:inherit;word-break:break-word}
.storybd-v7 .storybd-account-credits{font-size:58px!important;line-height:.9!important;letter-spacing:-.06em!important}
.storybd-v7 .storybd-account-card p{margin:10px 0 0!important;color:inherit!important;opacity:.78;font-weight:700!important;line-height:1.45!important}
.storybd-v7 .storybd-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.storybd-v7 .storybd-account-secondary{background:#fff!important;color:var(--cx-ink)!important;border:2px solid var(--cx-ink)!important}
.storybd-v7 .storybd-account-link,.storybd-v7 .storybd-auth-lost-link{display:inline-flex;margin-top:14px;font-weight:950;color:var(--cx-pink)!important;text-decoration:none!important}
.storybd-v7 .storybd-auth-lost-link{justify-content:center;width:100%;font-size:14px}
.storybd-v7 .storybd-account-panel{margin-top:18px;padding:0;overflow:hidden}
.storybd-v7 .storybd-account-panel-head{padding:18px 20px;background:#f7f8ff;border-bottom:2px solid var(--cx-ink)}
.storybd-v7 .storybd-account-panel-head h2{margin:0 0 4px!important;color:var(--cx-ink)!important;font-size:24px!important;font-weight:950!important}
.storybd-v7 .storybd-account-panel-head p{margin:0!important;color:rgba(20,28,44,.65)!important;font-weight:700!important}
.storybd-v7 .storybd-account-list{display:grid;gap:0}
.storybd-v7 .storybd-account-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;border-bottom:1px solid rgba(20,28,44,.12)}
.storybd-v7 .storybd-account-row:last-child{border-bottom:0}
.storybd-v7 .storybd-account-row strong{display:block;font-weight:950;color:var(--cx-ink)}
.storybd-v7 .storybd-account-row span{display:block;margin-top:3px;font-size:13px;font-weight:700;color:rgba(20,28,44,.58)}
.storybd-v7 .storybd-account-row em{font-style:normal;font-weight:950;color:rgba(20,28,44,.68);white-space:nowrap}
.storybd-v7 .storybd-account-download{display:inline-flex;padding:9px 13px;border-radius:999px;background:var(--cx-yellow);border:2px solid var(--cx-ink);box-shadow:3px 3px 0 var(--cx-ink);color:var(--cx-ink)!important;text-decoration:none!important;font-weight:950;white-space:nowrap}
.storybd-v7 .storybd-account-empty{padding:18px 20px;font-weight:800;color:rgba(20,28,44,.64)}
.storybd-v7.storybd-account-password-box{max-width:720px}
.storybd-v7 .storybd-account-form{display:grid;gap:14px}
.storybd-v7 .storybd-account-form label span{display:block;font-weight:950;margin-bottom:6px;color:var(--cx-ink)}
.storybd-v7 .storybd-account-form input{width:100%;border:2px solid var(--cx-ink)!important;border-radius:16px!important;padding:13px 14px!important;font-weight:800!important;background:#fff!important;color:var(--cx-ink)!important}
.storybd-v7 .storybd-account-message{min-height:20px;font-weight:900}.storybd-v7 .storybd-account-message.is-error{color:#c9184a}.storybd-v7 .storybd-account-message.is-success{color:#0a8f56}
@media(max-width:900px){.storybd-v7 .storybd-account-grid{grid-template-columns:1fr}.storybd-v7 .storybd-account-row{align-items:flex-start;flex-direction:column}.storybd-v7 .storybd-account-download{width:100%;justify-content:center}}


/* V9.0.36 - Bibliothèque : bouton dialogues déplacé entier au-dessus du titre */
.storybd-v7.storybd-library .storybd-library-image-wrap .storybd-library-dialogue-orb{
  display:none!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  z-index:1!important;
  width:100%!important;
    max-width:none!important;
  min-width:0!important;
  max-width:100%!important;
    max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 12px!important;
  padding:11px 14px!important;
  border:3px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#FFD84D,#fff4a6)!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:4px 4px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  transform:none!important;
  overflow:visible!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb:hover{
  transform:translate(-1px,-1px)!important;
  box-shadow:6px 6px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon{
  position:static!important;
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  flex:0 0 34px!important;
  border:2px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  font-size:19px!important;
  line-height:1!important;
  box-shadow:2px 2px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  transform:none!important;
  pointer-events:none!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-text{
  position:static!important;
  display:block!important;
  max-width:none!important;
  font-size:14px!important;
  line-height:1.12!important;
  font-weight:1000!important;
  letter-spacing:-.02em!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  text-shadow:none!important;
}
@media(max-width:520px){
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb{
    padding:10px 11px!important;
    gap:8px!important;
    margin-bottom:10px!important;
  }
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    flex-basis:30px!important;
    font-size:17px!important;
  }
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-text{
    font-size:12px!important;
    line-height:1.08!important;
  }
}


/* V9.0.38 - Bibliothèque : icône du bouton dialogues en PNG transparent */
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon{
  overflow:hidden!important;
  font-size:0!important;
  line-height:0!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon img{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:5px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}


/* V9.0.39 - Bibliothèque : l'image PNG remplace totalement le rond icône */
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon{
  position:static!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  flex:0 0 58px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  overflow:visible!important;
  transform:none!important;
  pointer-events:none!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon img{
  display:block!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  max-height:58px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media(max-width:520px){
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon,
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-icon img{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    max-height:48px!important;
    flex-basis:48px!important;
  }
}


/* V9.0.40 - Bibliothèque : CTA dialogues texte 17px desktop et mobile */
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-text{
  font-size:17px!important;
  line-height:1.12!important;
}
@media(max-width:520px){
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-text{
    font-size:17px!important;
    line-height:1.12!important;
  }
}


/* V9.0.44 - Bibliothèque : correction CSS-only du bouton HD */
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd{
  display:none!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  width:100%!important;
    max-width:none!important;
  min-height:58px!important;
  padding:17px 22px!important;
  border:3px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:18px!important;
  background:#fff7d6!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  font-size:16px!important;
  font-weight:1000!important;
  line-height:1.05!important;
  text-decoration:none!important;
  box-shadow:5px 5px 0 var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  animation:storybdLibraryHdBigPulse 2.15s ease-in-out infinite!important;
  transform-origin:center!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download:before{
  content:"⬇";
  display:inline-grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  border:2px solid var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  border-radius:999px!important;
  background:rgba(255,216,77,.35)!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
  font-size:17px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download:hover{
  background:var(--storybd-yellow,var(--sbd-yellow,#FFD84D))!important;
  color:var(--storybd-ink,var(--sbd-ink,#141C2C))!important;
}
@keyframes storybdLibraryHdBigPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.035); }
}

/* V9.1.2 - UX suite simple : bouton + arrivée directe personnages */
.storybd-v7 .storybd-library-image-wrap .storybd-library-continue-feature{
  position:absolute!important;
  left:16px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:8!important;
  min-width:176px!important;
  padding:16px 20px!important;
  border-radius:22px!important;
  background:var(--sbd-pink,#F42279)!important;
  color:#fff!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
  box-shadow:6px 6px 0 var(--sbd-ink,#141C2C)!important;
  text-align:left!important;
  justify-content:flex-start!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:2px!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-library-image-wrap .storybd-library-continue-feature span{
  display:block!important;
  font-size:18px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
}
.storybd-v7 .storybd-library-image-wrap .storybd-library-continue-feature small{
  display:block!important;
  font-size:12px!important;
  font-weight:900!important;
  opacity:.9!important;
}
.storybd-v7 .storybd-library-image-wrap .storybd-library-continue-feature:hover{
  transform:translate(-2px,calc(-50% - 2px))!important;
  box-shadow:8px 8px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-continuation-banner-v911{
  display:flex!important;
  align-items:flex-start!important;
  gap:16px!important;
  padding:20px 22px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#fff,#fff7d6)!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
  box-shadow:6px 6px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-continuation-banner-v911 .storybd-continuation-icon{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  display:grid!important;
  place-items:center!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
  border-radius:18px!important;
  background:var(--sbd-yellow,#FFD84D)!important;
  box-shadow:4px 4px 0 var(--sbd-ink,#141C2C)!important;
  font-size:26px!important;
}
.storybd-v7 .storybd-continuation-banner-v911 strong{
  display:block!important;
  margin:0 0 6px!important;
  font-size:clamp(22px,3vw,34px)!important;
  font-weight:950!important;
  color:var(--sbd-ink,#141C2C)!important;
  letter-spacing:-.035em!important;
}
.storybd-v7 .storybd-continuation-banner-v911 span,
.storybd-v7 .storybd-continuation-banner-v911 em{
  display:block!important;
  max-width:920px!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:850!important;
  color:#475569!important;
  font-style:normal!important;
}
.storybd-v7 .storybd-continuation-banner-v911 em{
  margin-top:8px!important;
  color:#15803d!important;
}
.storybd-v7 .storybd-continuation-readonly-card,
.storybd-v7 .storybd-continuation-help-card,
.storybd-v7 .storybd-continuation-next-card{
  margin:0 0 18px!important;
  padding:18px 20px!important;
  border:3px solid var(--sbd-ink,#141C2C)!important;
  border-radius:24px!important;
  background:#fffdf4!important;
  box-shadow:5px 5px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-continuation-readonly-card span,
.storybd-v7 .storybd-continuation-help-card span{
  display:inline-flex!important;
  margin-top:8px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#166534!important;
  font-weight:950!important;
}
.storybd-v7 .storybd-continuation-readonly-card > span{
  margin:0 0 8px!important;
  background:var(--sbd-yellow,#FFD84D)!important;
  color:var(--sbd-ink,#141C2C)!important;
}
.storybd-v7 .storybd-continuation-readonly-card strong,
.storybd-v7 .storybd-continuation-help-card strong,
.storybd-v7 .storybd-continuation-next-card strong{
  display:block!important;
  font-size:clamp(20px,2.2vw,30px)!important;
  font-weight:950!important;
  color:var(--sbd-ink,#141C2C)!important;
  letter-spacing:-.025em!important;
}
.storybd-v7 .storybd-continuation-readonly-card p,
.storybd-v7 .storybd-continuation-help-card p,
.storybd-v7 .storybd-continuation-next-card p{
  margin:8px 0 0!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:800!important;
  color:#475569!important;
}
.storybd-v7 .storybd-continuation-next-card em{
  display:block!important;
  margin-top:12px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  background:rgba(244,34,121,.08)!important;
  color:var(--sbd-ink,#141C2C)!important;
  font-weight:900!important;
  font-style:normal!important;
}
.storybd-v7.storybd-continuation-style-locked .storybd-title-step .storybd-title-label,
.storybd-v7.storybd-continuation-style-locked .storybd-title-step .storybd-comic-title,
.storybd-v7.storybd-continuation-style-locked .storybd-title-step .storybd-title-help{
  display:none!important;
}
@media(max-width:760px){
  .storybd-v7 .storybd-library-image-wrap .storybd-library-continue-feature{
    left:12px!important;
    right:12px!important;
    top:auto!important;
    bottom:14px!important;
    transform:none!important;
    width:auto!important;
    min-width:0!important;
    align-items:center!important;
    text-align:center!important;
  }
  .storybd-v7 .storybd-library-image-wrap .storybd-library-continue-feature:hover{
    transform:translateY(-2px)!important;
  }
  .storybd-v7 .storybd-continuation-banner-v911{margin-left:10px!important;margin-right:10px!important;}
}


/* V9.1.2 - suite : aucune apparition des écrans style/titre */
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-skip-step,
.storybd-v7.storybd-continuation-direct-flow .storybd-style-step,
.storybd-v7.storybd-continuation-direct-flow .storybd-title-step{
  display:none!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-banner-v911{
  align-items:center!important;
  gap:12px!important;
  margin-bottom:14px!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  box-shadow:4px 4px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-banner-v911 .storybd-continuation-icon{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:14px!important;
  font-size:21px!important;
  box-shadow:3px 3px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-banner-v911 strong{
  margin:0 0 2px!important;
  font-size:clamp(20px,2.4vw,28px)!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-banner-v911 span{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:850!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-help-card,
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-next-card{
  margin:0 0 14px!important;
  padding:13px 15px!important;
  border-radius:18px!important;
  box-shadow:4px 4px 0 var(--sbd-ink,#141C2C)!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-help-card strong,
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-next-card strong{
  font-size:18px!important;
  line-height:1.15!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-continuation-help-card p{
  margin:5px 0 0!important;
  font-size:14px!important;
  line-height:1.25!important;
}
.storybd-v7.storybd-continuation-direct-flow .storybd-character-grid:empty{
  display:none!important;
}


/* COMIXIO v9.1.4 - Bibliothèque : histoires repliables, sans toucher aux cartes BD */
.storybd-v7.storybd-library .storybd-library-story-box{
  grid-column:1/-1;
  width:100%;
  border:4px solid var(--sbd-ink,#141C2C);
  border-radius:30px;
  background:#fff;
  box-shadow:8px 8px 0 var(--sbd-ink,#141C2C);
  padding:14px;
}
.storybd-v7.storybd-library .storybd-library-story-toggle{
  width:100%;
  display:grid;
  grid-template-columns:96px minmax(0,1fr) 58px;
  align-items:center;
  gap:16px;
  border:0;
  background:transparent;
  padding:0;
  text-align:left;
  cursor:pointer;
}
.storybd-v7.storybd-library .storybd-library-story-cover{
  display:block;
  width:96px;
  aspect-ratio:1/1;
  border:3px solid var(--sbd-ink,#141C2C);
  border-radius:20px;
  overflow:hidden;
  background:#fff8e8;
  box-shadow:4px 4px 0 var(--sbd-ink,#141C2C);
}
.storybd-v7.storybd-library .storybd-library-story-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.storybd-v7.storybd-library .storybd-library-story-text strong{
  display:block;
  font-size:clamp(22px,3vw,34px);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.035em;
  color:var(--sbd-ink,#141C2C);
}
.storybd-v7.storybd-library .storybd-library-story-text em{
  display:inline-flex;
  margin-top:8px;
  font-style:normal;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--sbd-ink,#141C2C);
  border:3px solid var(--sbd-ink,#141C2C);
  border-radius:999px;
  background:#FFD84D;
  padding:6px 10px;
  box-shadow:3px 3px 0 var(--sbd-ink,#141C2C);
}
.storybd-v7.storybd-library .storybd-library-story-plus{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:3px solid var(--sbd-ink,#141C2C);
  border-radius:50%;
  background:var(--sbd-pink,#F42279);
  color:#fff;
  font-size:34px;
  line-height:1;
  font-weight:950;
  box-shadow:4px 4px 0 var(--sbd-ink,#141C2C);
  transition:transform .18s ease;
}
.storybd-v7.storybd-library .storybd-library-story-toggle[aria-expanded="true"] .storybd-library-story-plus{
  transform:rotate(45deg);
}
.storybd-v7.storybd-library .storybd-library-story-panel{
  margin-top:22px;
  padding-top:22px;
  border-top:3px dashed rgba(20,28,44,.32);
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:clamp(24px,3.2vw,42px);
  align-items:start;
}
.storybd-v7.storybd-library .storybd-library-story-panel[hidden]{display:none!important;}
@media (max-width:640px){
  .storybd-v7.storybd-library .storybd-library-story-box{padding:10px;border-radius:24px;}
  .storybd-v7.storybd-library .storybd-library-story-toggle{grid-template-columns:74px minmax(0,1fr) 48px;gap:12px;}
  .storybd-v7.storybd-library .storybd-library-story-cover{width:74px;border-radius:16px;}
  .storybd-v7.storybd-library .storybd-library-story-plus{width:48px;height:48px;font-size:28px;}
  .storybd-v7.storybd-library .storybd-library-story-panel{grid-template-columns:1fr;gap:22px;}
}


/* COMIXIO v9.1.5 - Titres planches propres + déroulé limité à 3 colonnes desktop */
.storybd-v7.storybd-library .storybd-library-story-panel{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

.storybd-v7.storybd-library .storybd-library-display-title{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  margin-top:14px!important;
}

.storybd-v7.storybd-library .storybd-library-display-title span{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.storybd-v7.storybd-library .storybd-library-display-title small{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  padding:5px 10px!important;
  border:2px solid var(--sbd-ink,#141C2C)!important;
  border-radius:999px!important;
  background:var(--sbd-yellow,#FFD84D)!important;
  color:var(--sbd-ink,#141C2C)!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:2px 2px 0 var(--sbd-ink,#141C2C)!important;
}

@media (max-width:980px){
  .storybd-v7.storybd-library .storybd-library-story-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:640px){
  .storybd-v7.storybd-library .storybd-library-story-panel{
    grid-template-columns:1fr!important;
  }
}


/* V9.1.7 - Bibliothèque : bouton suite au milieu droit de la planche */
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card{
  overflow:visible!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-image-wrap{
  overflow:visible!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-image-wrap > img{
  position:relative!important;
  z-index:1!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature{
  left:auto!important;
  right:-18px!important;
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  z-index:30!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature:hover{
  transform:translate(-2px,calc(-50% - 2px))!important;
}
@media(max-width:760px){
  .storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature{
    left:auto!important;
    right:-12px!important;
    top:50%!important;
    bottom:auto!important;
    width:auto!important;
    min-width:154px!important;
    max-width:calc(100% - 18px)!important;
    padding:13px 15px!important;
    align-items:flex-start!important;
    text-align:left!important;
    transform:translateY(-50%)!important;
  }
  .storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature:hover{
    transform:translateY(-50%)!important;
  }
  .storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature span{
    font-size:15px!important;
  }
}

/* Comixio V9.2.3 - BD complète PDF HD + liseuse cadeau */
.storybd-book-builder{
  grid-column:1/-1;
  width:100%;
  margin:18px 0 22px;
  padding:18px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(20,28,44,.08);
  box-shadow:0 18px 44px rgba(20,28,44,.10);
}
.storybd-book-builder-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;}
.storybd-book-builder-head span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#FF2D6F;}
.storybd-book-builder-head strong{display:block;font-size:20px;line-height:1.15;color:#141C2C;}
.storybd-book-builder-head em{display:block;font-style:normal;color:rgba(20,28,44,.62);font-size:13px;margin-top:3px;}
.storybd-book-builder-head b{white-space:nowrap;background:#FFD84D;color:#141C2C;border-radius:999px;padding:10px 14px;box-shadow:4px 4px 0 rgba(20,28,44,.14);}
.storybd-book-planche-picker{display:flex;gap:12px;overflow:auto;padding:4px 2px 12px;margin-bottom:12px;scroll-snap-type:x mandatory;}
.storybd-book-planche-choice{min-width:112px;cursor:pointer;scroll-snap-align:start;}
.storybd-book-planche-choice input{position:absolute;opacity:0;pointer-events:none;}
.storybd-book-planche-choice span{display:block;border:2px solid rgba(20,28,44,.12);border-radius:16px;padding:7px;background:#fff;transition:.18s ease;}
.storybd-book-planche-choice img{display:block;width:96px;height:130px;object-fit:cover;border-radius:12px;background:#f4f4f4;}
.storybd-book-planche-choice i{display:block;font-style:normal;font-size:12px;font-weight:800;text-align:center;color:#141C2C;margin-top:6px;}
.storybd-book-planche-choice input:checked+span{border-color:#FF2D6F;box-shadow:0 0 0 4px rgba(255,45,111,.12);}
.storybd-book-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 14px;}
.storybd-book-options label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#141C2C;}
.storybd-book-options select,.storybd-book-options input,.storybd-book-gift-form input,.storybd-book-gift-form textarea{width:100%;border:1px solid rgba(20,28,44,.14);border-radius:14px;padding:11px 12px;background:#fff;color:#141C2C;}
.storybd-book-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.storybd-book-status{font-size:13px;font-weight:700;color:rgba(20,28,44,.68);}
.storybd-book-status.is-error,.storybd-book-gift-status.is-error{color:#FF2D6F;}
.storybd-book-ready{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:center;margin-top:16px;padding:14px;border-radius:20px;background:#f7f8ff;border:1px solid rgba(20,28,44,.08);}
.storybd-book-ready-cover img{width:120px;height:170px;object-fit:cover;border-radius:16px;box-shadow:8px 8px 0 rgba(20,28,44,.12);}
.storybd-book-ready-content strong{display:block;color:#141C2C;font-size:20px;}
.storybd-book-ready-content p{margin:6px 0 12px;color:rgba(20,28,44,.68);}
.storybd-book-ready-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.storybd-book-gift-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;}
.storybd-book-gift-form textarea{grid-column:1/-1;min-height:86px;resize:vertical;}
.storybd-book-gift-form .storybd-book-gift-send{justify-self:start;}
.storybd-book-gift-status{align-self:center;font-size:13px;font-weight:800;color:#141C2C;}
.storybd-reader{max-width:1180px;margin:0 auto;padding:28px 16px 50px;}
.storybd-reader-hero{text-align:center;border-radius:34px;background:linear-gradient(135deg,#141C2C,#242f4a);color:#fff;padding:42px 22px;margin-bottom:24px;overflow:hidden;position:relative;}
.storybd-reader-hero span{display:inline-block;background:#FFD84D;color:#141C2C;border-radius:999px;padding:8px 13px;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.08em;}
.storybd-reader-hero h1{font-size:clamp(32px,5vw,62px);line-height:1;margin:16px 0 10px;color:#fff;}
.storybd-reader-hero p{max-width:680px;margin:0 auto 18px;color:rgba(255,255,255,.78);font-size:17px;}
.storybd-reader-actions,.storybd-reader-footer{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;}
.storybd-reader-pages{display:grid;gap:22px;justify-items:center;}
.storybd-reader-page{margin:0;width:min(100%,860px);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(20,28,44,.16);}
.storybd-reader-page img{display:block;width:100%;height:auto;}
.storybd-reader-footer{text-align:center;flex-direction:column;border-radius:28px;background:#fff;padding:28px;margin-top:26px;box-shadow:0 18px 44px rgba(20,28,44,.10);}
.storybd-reader-footer strong{font-size:26px;color:#141C2C;}
.storybd-reader-footer p{margin:0;color:rgba(20,28,44,.68);}
.storybd-reader-empty{background:#fff;border-radius:24px;padding:28px;text-align:center;box-shadow:0 18px 44px rgba(20,28,44,.10);}
@media(max-width:700px){
  .storybd-book-builder{padding:14px;border-radius:20px;}
  .storybd-book-builder-head{align-items:flex-start;}
  .storybd-book-builder-head strong{font-size:17px;}
  .storybd-book-options{grid-template-columns:1fr;}
  .storybd-book-ready{grid-template-columns:1fr;text-align:center;}
  .storybd-book-ready-cover img{margin:0 auto;}
  .storybd-book-ready-actions{justify-content:center;}
  .storybd-book-gift-form{grid-template-columns:1fr;}
}

/* Comixio V9.2.3 - Album cadeau : popup premium, vignettes robustes, liseuse zoom */
.storybd-book-launcher{margin:18px 0 8px;display:flex;justify-content:center;}
.storybd-book-open{position:relative;isolation:isolate;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:16px 22px!important;border-radius:999px!important;font-size:16px!important;font-weight:950!important;box-shadow:0 16px 38px rgba(255,45,111,.28),5px 5px 0 rgba(20,28,44,.18)!important;animation:storybdBookPulse 1.9s ease-in-out infinite;}
.storybd-book-open small{font-size:11px!important;font-weight:900!important;background:#FFD84D!important;color:#141C2C!important;border-radius:999px!important;padding:5px 8px!important;line-height:1!important;}
.storybd-book-open-icon{font-size:20px;filter:drop-shadow(0 2px 0 rgba(20,28,44,.14));}
@keyframes storybdBookPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.025)}}
body.storybd-book-modal-open{overflow:hidden!important;}
.storybd-book-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none!important;align-items:center!important;justify-content:center!important;padding:18px!important;}
.storybd-book-modal.is-open{display:flex!important;}
.storybd-book-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(7,12,24,.72)!important;backdrop-filter:blur(10px)!important;}
.storybd-book-modal-card{position:relative!important;width:min(1120px,96vw)!important;max-height:92svh!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;background:#fff!important;border-radius:34px!important;box-shadow:0 40px 120px rgba(0,0,0,.34)!important;padding:22px!important;}
.storybd-book-modal-close{position:sticky!important;top:0!important;float:right!important;z-index:3!important;width:42px!important;height:42px!important;border:0!important;border-radius:999px!important;background:#141C2C!important;color:#fff!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 10px 22px rgba(20,28,44,.18)!important;}
.storybd-book-modal .storybd-book-builder{box-shadow:none!important;border:0!important;background:linear-gradient(180deg,#fff,#f7f8ff)!important;padding:10px!important;margin:0!important;}
.storybd-book-modal-grid{display:grid!important;grid-template-columns:1.08fr .92fr!important;gap:18px!important;align-items:start!important;}
.storybd-book-panel{background:#fff!important;border:1px solid rgba(20,28,44,.08)!important;border-radius:24px!important;padding:16px!important;box-shadow:0 16px 42px rgba(20,28,44,.08)!important;}
.storybd-book-panel h4{margin:0 0 12px!important;color:#141C2C!important;font-size:18px!important;line-height:1.15!important;}
.storybd-book-modal .storybd-book-planche-picker{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important;padding:0!important;}
.storybd-book-modal .storybd-book-planche-choice{min-width:0!important;}
.storybd-book-modal .storybd-book-planche-choice span{height:100%!important;position:relative!important;}
.storybd-book-modal .storybd-book-planche-choice input:checked+span:after{content:'✓';position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:999px;background:#FF2D6F;color:#fff;display:grid;place-items:center;font-weight:950;box-shadow:0 8px 18px rgba(255,45,111,.24);}
.storybd-book-modal .storybd-book-planche-choice img{width:100%!important;
    max-width:none!important;height:170px!important;object-fit:cover!important;background:#eef1f7!important;}
.storybd-book-modal .storybd-book-options{grid-template-columns:1fr!important;}
.storybd-book-ready{background:linear-gradient(135deg,#fff,#fff7fb)!important;border-color:rgba(255,45,111,.15)!important;}
.storybd-book-gift-form:not([hidden]){display:grid!important;}
.storybd-reader-page button{display:block!important;width:100%!important;
    max-width:none!important;padding:0!important;border:0!important;background:transparent!important;cursor:zoom-in!important;}
.storybd-reader-page img{background:#eef1f7!important;}
.storybd-reader-zoom-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none!important;align-items:center!important;justify-content:center!important;padding:14px!important;}
.storybd-reader-zoom-modal.is-open{display:flex!important;}
.storybd-reader-zoom-backdrop{position:absolute!important;inset:0!important;background:rgba(7,12,24,.82)!important;backdrop-filter:blur(8px)!important;}
.storybd-reader-zoom-card{position:relative!important;width:min(1180px,96vw)!important;height:min(92svh,980px)!important;background:#07101f!important;border-radius:28px!important;box-shadow:0 36px 120px rgba(0,0,0,.45)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
.storybd-reader-zoom-topbar{height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 14px!important;background:#fff!important;color:#141C2C!important;}
.storybd-reader-zoom-topbar strong{font-size:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.storybd-reader-zoom-close{width:40px!important;height:40px!important;border:0!important;border-radius:999px!important;background:#141C2C!important;color:#fff!important;font-size:26px!important;cursor:pointer!important;}
.storybd-reader-zoom-stage{position:relative!important;flex:1!important;overflow:auto!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:18px!important;-webkit-overflow-scrolling:touch!important;}
.storybd-reader-zoom-stage img{max-width:100%!important;
    max-width:none!important;height:auto!important;transform-origin:top center!important;transition:transform .16s ease!important;border-radius:18px!important;box-shadow:0 20px 70px rgba(0,0,0,.38)!important;background:#fff!important;}
.storybd-reader-zoom-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:10px!important;background:#fff!important;}
.storybd-reader-zoom-actions .storybd-btn{min-width:54px!important;padding:10px 14px!important;}
.storybd-reader-lens{position:absolute!important;width:190px!important;height:190px!important;border-radius:999px!important;pointer-events:none!important;transform:translate(-50%,-50%)!important;border:2px solid rgba(255,255,255,.9)!important;box-shadow:0 12px 36px rgba(0,0,0,.35)!important;background:rgba(255,255,255,.08)!important;opacity:0!important;transition:opacity .12s ease!important;}
.storybd-reader-lens.is-visible{opacity:1!important;}
@media(max-width:780px){
  .storybd-book-modal{padding:0!important;align-items:flex-end!important;}
  .storybd-book-modal-card{width:100vw!important;max-height:94svh!important;border-radius:26px 26px 0 0!important;padding:14px!important;}
  .storybd-book-modal-grid{grid-template-columns:1fr!important;}
  .storybd-book-modal .storybd-book-planche-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .storybd-book-modal .storybd-book-planche-choice img{height:150px!important;}
  .storybd-book-builder-head{flex-direction:column!important;}
  .storybd-reader-zoom-modal{padding:0!important;}
  .storybd-reader-zoom-card{width:100vw!important;height:100svh!important;border-radius:0!important;}
  .storybd-reader-zoom-stage{padding:10px!important;align-items:flex-start!important;justify-content:flex-start!important;}
  .storybd-reader-lens{display:none!important;}
}


/* Comixio V9.2.3 - Correctifs UX album : bouton compact, modale vraie couche haute, accès liseuse */
.storybd-library-story-panel > .storybd-book-launcher,
.storybd-planche-grid > .storybd-book-launcher,
.storybd-book-launcher{
  grid-column:1 / -1!important;
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  margin:10px 0 18px!important;
  display:block!important;
  align-self:stretch!important;
}
.storybd-book-launcher-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:100%!important;
    max-width:none!important;
  padding:12px 14px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#fff,#fff7fb)!important;
  border:1px solid rgba(255,45,111,.16)!important;
  box-shadow:0 10px 30px rgba(20,28,44,.07)!important;
  box-sizing:border-box!important;
}
.storybd-book-launcher-text{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;}
.storybd-book-launcher-text strong{font-size:15px!important;line-height:1.1!important;color:#141C2C!important;font-weight:950!important;}
.storybd-book-launcher-text span{font-size:12px!important;line-height:1.25!important;color:rgba(20,28,44,.62)!important;font-weight:700!important;}
.storybd-book-launcher-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
.storybd-book-open{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:max-content!important;
  padding:11px 14px!important;
  font-size:13px!important;
  line-height:1!important;
  box-shadow:0 10px 24px rgba(255,45,111,.22),3px 3px 0 rgba(20,28,44,.13)!important;
}
.storybd-book-open-icon{font-size:16px!important;}

/* Comixio V9.3.9.17 - Bouton Créer l’album : icône livre BD + crédits sous le libellé */
.storybd-book-open-icon-book{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  line-height:1!important;
}
.storybd-book-open-icon-book svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  color:#fff!important;
  fill:currentColor!important;
}
.storybd-book-open-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:2px!important;
  line-height:1.05!important;
}
.storybd-book-open-label{
  display:block!important;
  color:#fff!important;
}
.storybd-book-open-cost{
  display:block!important;
  font-size:10px!important;
  font-weight:900!important;
  color:rgba(255,255,255,.86)!important;
}
.storybd-book-open small{font-size:10px!important;padding:4px 7px!important;}
.storybd-book-reader-link{
  flex:0 0 auto!important;
  width:auto!important;
  background:#141C2C!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:11px 14px!important;
  font-size:13px!important;
  font-weight:950!important;
  text-decoration:none!important;
  box-shadow:3px 3px 0 rgba(255,45,111,.22)!important;
}
.storybd-book-modal{
  z-index:2147483000!important;
  position:fixed!important;
  inset:0!important;
  transform:none!important;
  contain:none!important;
}
.storybd-book-modal.is-open{display:flex!important;visibility:visible!important;opacity:1!important;}
.storybd-book-modal-backdrop{z-index:0!important;}
.storybd-book-modal-card{
  z-index:1!important;
  transform:none!important;
  margin:auto!important;
  isolation:isolate!important;
}
body.storybd-book-modal-open .storybd-book-modal.is-open{pointer-events:auto!important;}
.storybd-book-modal .storybd-book-result[hidden],
.storybd-book-gift-form[hidden]{display:none!important;}
.storybd-book-modal .storybd-book-result:not([hidden]){display:block!important;}
.storybd-reader-page img{min-height:120px!important;background:#eef1f7!important;}
.storybd-reader-zoom-modal{z-index:2147483001!important;}
@media (max-width:700px){
  .storybd-book-launcher-inner{align-items:flex-start!important;flex-direction:column!important;padding:12px!important;border-radius:20px!important;}
  .storybd-book-launcher-actions{width:100%!important;
    max-width:none!important;justify-content:stretch!important;display:grid!important;grid-template-columns:1fr!important;}
  .storybd-book-open,.storybd-book-reader-link{width:100%!important;
    max-width:none!important;max-width:none!important;justify-content:center!important;text-align:center!important;}
  .storybd-book-launcher-text span{font-size:11px!important;}
  .storybd-book-modal{padding:0!important;align-items:flex-end!important;}
  .storybd-book-modal-card{margin:0!important;width:100vw!important;max-height:96svh!important;border-radius:24px 24px 0 0!important;}
}

/* Comixio V9.2.4 - Album : couverture bibliothèque + repartage + zoom Explorer */
.storybd-book-launcher-text strong{
  text-transform:none!important;
}
.storybd-book-existing{
  display:grid!important;
  grid-template-columns:92px 1fr!important;
  gap:14px!important;
  align-items:center!important;
  margin:12px 0 2px!important;
  padding:12px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#fff,#f4fbff)!important;
  border:1px solid rgba(62,219,255,.22)!important;
  box-shadow:0 12px 32px rgba(20,28,44,.08)!important;
}
.storybd-book-existing-cover{
  display:block!important;
  width:92px!important;
  height:124px!important;
  padding:0!important;
  border:0!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#eef1f7!important;
  cursor:pointer!important;
  text-decoration:none!important;
  box-shadow:6px 6px 0 rgba(20,28,44,.13)!important;
}
.storybd-book-existing-cover img{
  display:block!important;
  width:100%!important;
    max-width:none!important;
  height:100%!important;
  object-fit:cover!important;
}
.storybd-book-existing-body{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
}
.storybd-book-existing-body strong{
  color:#141C2C!important;
  font-size:17px!important;
  line-height:1.1!important;
  font-weight:950!important;
}
.storybd-book-existing-body span{
  color:rgba(20,28,44,.64)!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:750!important;
}
.storybd-book-existing-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-top:2px!important;
}
.storybd-book-existing-actions .storybd-btn{
  width:auto!important;
  max-width:max-content!important;
  padding:9px 12px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
}
.storybd-book-existing .storybd-book-gift-form{
  grid-template-columns:1fr 1fr!important;
  margin-top:8px!important;
}
.storybd-reader .storybd-feed-reader-modal{
  display:none!important;
}
#storybd-modal-portal .storybd-feed-reader-modal.is-open{
  display:flex!important;
}
@media(max-width:700px){
  .storybd-book-existing{grid-template-columns:1fr!important;padding:10px!important;gap:12px!important;align-items:start!important;}
  .storybd-book-existing-cover{display:block!important;width:100%!important;
    max-width:none!important;max-width:none!important;height:auto!important;aspect-ratio:3/4!important;border-radius:14px!important;justify-self:stretch!important;}
  .storybd-book-existing-body{width:100%!important;
    max-width:none!important;grid-column:1/-1!important;}
  .storybd-book-existing-actions{display:grid!important;grid-template-columns:1fr!important;}
  .storybd-book-existing-actions .storybd-btn{width:100%!important;
    max-width:none!important;max-width:none!important;text-align:center!important;justify-content:center!important;}
  .storybd-book-existing .storybd-book-gift-form{grid-template-columns:1fr!important;}
}


/* Comixio V9.3.8.5 - CTA mobiles icone au-dessus */
.storybd-book-gift-panel:not([hidden]){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;
  gap:14px!important;
  align-items:stretch!important;
  margin-top:12px!important;
}
.storybd-book-gift-print-card,
.storybd-book-gift-email-card{
  background:#fff!important;
  border:1px solid rgba(20,28,44,.10)!important;
  border-radius:18px!important;
  padding:14px!important;
  box-shadow:0 10px 26px rgba(20,28,44,.06)!important;
}
.storybd-book-gift-print-card h4,
.storybd-book-gift-email-card h4{
  margin:0 0 8px!important;
  color:#141C2C!important;
  font-size:16px!important;
  font-weight:950!important;
  line-height:1.15!important;
}
.storybd-book-gift-print-card p{
  margin:0 0 12px!important;
  color:rgba(20,28,44,.64)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.storybd-book-gift-email-card{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}
.storybd-book-gift-email-card h4,
.storybd-book-gift-email-card textarea{
  grid-column:1/-1!important;
}
.storybd-book-gift-email-card .storybd-book-gift-send{
  justify-self:start!important;
}
.storybd-book-print-pdf{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
@media(max-width:700px){
  .storybd-book-gift-panel:not([hidden]){grid-template-columns:1fr!important;}
  .storybd-book-gift-email-card{grid-template-columns:1fr!important;}
  .storybd-book-gift-email-card .storybd-book-gift-send,
  .storybd-book-print-pdf{width:100%!important;
    max-width:none!important;max-width:none!important;}
}


/* Comixio V9.3.8.5 - Icones CTA au-dessus sur mobile uniquement */
.storybd-book-print-pdf .storybd-cta-icon,
.storybd-book-gift-send .storybd-cta-icon{
  display:inline-block!important;
  line-height:1!important;
}
.storybd-book-print-pdf .storybd-cta-label,
.storybd-book-gift-send .storybd-cta-label{
  display:inline-block!important;
}
@media(max-width:700px){
  .storybd-book-print-pdf,
  .storybd-book-gift-send{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    text-align:center!important;
    min-height:64px!important;
    line-height:1.1!important;
  }
  .storybd-book-print-pdf .storybd-cta-icon,
  .storybd-book-gift-send .storybd-cta-icon{
    display:block!important;
    font-size:22px!important;
    line-height:1!important;
    margin:0!important;
  }
  .storybd-book-print-pdf .storybd-cta-label,
  .storybd-book-gift-send .storybd-cta-label{
    display:block!important;
    line-height:1.15!important;
  }
}


/* Comixio V9.3.8.6 - Correctif CTA mobile */
@media(max-width:700px){
  .storybd-book-print-pdf,
  .storybd-book-gift-send{
    color:#141C2C!important;
  }
  .storybd-book-print-pdf .storybd-cta-label,
  .storybd-book-gift-send .storybd-cta-label{
    color:#141C2C!important;
  }
  .storybd-book-gift-send::before,
  .storybd-book-print-pdf::before{
    content:none!important;
    display:none!important;
  }
}


/* V9.3.8.7 - Bibliothèque : CTA planche suivante avec icône animée */
.storybd-v7.storybd-library .storybd-library-continue-feature .storybd-library-continue-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1.05!important;
}
.storybd-v7.storybd-library .storybd-library-continue-feature .storybd-library-continue-icon{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  flex:0 0 auto!important;
  font-size:18px!important;
  line-height:1!important;
}
.storybd-v7.storybd-library .storybd-library-continue-feature .storybd-library-continue-arrow{
  display:inline-block!important;
  animation:storybdLibraryNextArrow 1.65s ease-in-out infinite!important;
  transform-origin:center!important;
}
@keyframes storybdLibraryNextArrow{
  0%,100%{transform:translateX(0);}
  50%{transform:translateX(5px);}
}
@media(max-width:760px){
  .storybd-v7.storybd-library .storybd-library-continue-feature .storybd-library-continue-label{
    gap:6px!important;
  }
  .storybd-v7.storybd-library .storybd-library-continue-feature .storybd-library-continue-icon{
    font-size:16px!important;
  }
}

/* ========================================================= */
/* COMIXIO - POP-UP CRÉDITS INSUFFISANTS GLOBALE             */
/* ========================================================= */
body.storybd-credit-modal-open{
  overflow:hidden!important;
}

.storybd-credit-empty-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  box-sizing:border-box!important;
  font-family:inherit!important;
}

.storybd-credit-empty-modal.is-open{
  display:flex!important;
}

.storybd-credit-empty-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(20,28,44,.78)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}

.storybd-credit-empty-card{
  position:relative!important;
  z-index:2!important;
  width:min(94vw,480px)!important;
  background:#fff!important;
  color:#141C2C!important;
  border:4px solid #141C2C!important;
  border-radius:30px!important;
  padding:30px 24px 24px!important;
  text-align:center!important;
  box-shadow:0 30px 90px rgba(0,0,0,.38)!important;
  overflow:hidden!important;
  animation:storybdCreditPop .24s ease-out!important;
}

.storybd-credit-empty-card:before{
  content:"";
  position:absolute!important;
  inset:0 0 auto 0!important;
  height:9px!important;
  background:linear-gradient(90deg,#FFD84D,#FF2D6F,#3EDBFF)!important;
}

.storybd-credit-empty-close{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:38px!important;
  height:38px!important;
  border-radius:999px!important;
  border:2px solid #141C2C!important;
  background:#fff!important;
  color:#141C2C!important;
  font-size:26px!important;
  line-height:30px!important;
  font-weight:900!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.storybd-credit-empty-icon{
  width:74px!important;
  height:74px!important;
  margin:0 auto 14px!important;
  border-radius:24px!important;
  background:#FFD84D!important;
  border:3px solid #141C2C!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:38px!important;
  box-shadow:7px 7px 0 #141C2C!important;
}

.storybd-credit-empty-kicker{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#FF2D6F!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:7px 13px!important;
  font-size:12px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  margin-bottom:12px!important;
}

.storybd-credit-empty-card h2{
  margin:0 0 10px!important;
  color:#141C2C!important;
  font-size:clamp(24px,5vw,34px)!important;
  line-height:1.02!important;
  font-weight:1000!important;
}

.storybd-credit-empty-message{
  margin:0 auto 20px!important;
  max-width:390px!important;
  color:#334155!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:650!important;
}

.storybd-credit-empty-actions{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  align-items:stretch!important;
  margin-top:6px!important;
}

.storybd-credit-empty-buy,
.storybd-credit-empty-secondary{
  min-height:52px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  font-size:16px!important;
  font-weight:950!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}

.storybd-credit-empty-buy{
  background:#F42279!important;
  color:#fff!important;
  border:3px solid #141C2C!important;
  box-shadow:0 8px 0 #141C2C!important;
  gap:8px!important;
}

.storybd-credit-empty-buy span{
  font-size:13px!important;
  opacity:.92!important;
}

.storybd-credit-empty-buy.is-disabled{
  opacity:.55!important;
  pointer-events:none!important;
}

.storybd-credit-empty-secondary{
  background:#fff!important;
  color:#141C2C!important;
  border:2px solid rgba(20,28,44,.18)!important;
}

.storybd-credit-empty-note{
  display:block!important;
  margin-top:16px!important;
  color:#64748B!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
}

@keyframes storybdCreditPop{
  from{transform:translateY(14px) scale(.96); opacity:0;}
  to{transform:translateY(0) scale(1); opacity:1;}
}

@media(max-width:520px){
  .storybd-credit-empty-card{
    width:100%!important;
    max-width:none!important;
    padding:28px 18px 20px!important;
    border-radius:24px!important;
  }

  .storybd-credit-empty-buy,
  .storybd-credit-empty-secondary{
    font-size:15px!important;
  }
}

/* ========================================================= */
/* COMIXIO v9.3.8.9 - Bibliothèque : infos planche au-dessus image */
/* ========================================================= */
.storybd-v7.storybd-library .storybd-library-card-head{
  padding:0 4px 12px!important;
}
.storybd-v7.storybd-library .storybd-library-card-head .storybd-library-display-title{
  margin:0 0 8px!important;
}
.storybd-v7.storybd-library .storybd-library-card-head p{
  margin:0!important;
  color:rgba(20,28,44,.66)!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.storybd-v7.storybd-library .storybd-library-display-title small{
  padding:7px 12px!important;
  border:1px solid #141C2C!important;
  border-radius:10px!important;
  background:#FFFFFF!important;
  color:#141C2C!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-library-card-body{
  padding:12px 4px 12px!important;
}
.storybd-v7.storybd-library .storybd-library-version-badge{
  display:none!important;
}


/* Comixio UX tweaks */
.storybd-v7.storybd-library .storybd-library-display-title,
.storybd-v7.storybd-library .storybd-library-display-title span,
.storybd-v7.storybd-library .storybd-library-display-title small{
text-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-library-planche-badge,
.storybd-v7.storybd-library .storybd-library-display-title small{
background:#fff!important;
border:1px solid #111!important;
border-radius:999px!important;
box-shadow:none!important;
}


/* =========================================================
   COMIXIO V9.3.9.1 - Bibliothèque : allègement visuel des vignettes planches
   Objectif : conserver les emplacements, textes et icônes, mais réduire les bordures,
   les ombres et clarifier la hiérarchie des CTA.
   ========================================================= */

.storybd-v7.storybd-library{
  --cx-soft-border:rgba(20,28,44,.14);
  --cx-soft-border-2:rgba(20,28,44,.20);
  --cx-soft-shadow:0 10px 28px rgba(20,28,44,.08);
  --cx-soft-shadow-hover:0 14px 34px rgba(20,28,44,.12);
}

/* Carte planche : moins BD-carton, plus premium léger */
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card{
  border:1px solid var(--cx-soft-border)!important;
  border-radius:22px!important;
  background:#fff!important;
  padding:14px!important;
  box-shadow:var(--cx-soft-shadow)!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card:hover{
  transform:translateY(-2px)!important;
  border-color:var(--cx-soft-border-2)!important;
  box-shadow:var(--cx-soft-shadow-hover)!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card.is-version{
  background:#fff!important;
}

/* En-tête titre / numéro : sobre, sans effet cartoon */
.storybd-v7.storybd-library .storybd-library-card-head{
  padding:0 2px 10px!important;
}
.storybd-v7.storybd-library .storybd-library-display-title,
.storybd-v7.storybd-library .storybd-library-display-title span,
.storybd-v7.storybd-library .storybd-library-display-title small{
  text-shadow:none!important;
  box-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-library-display-title{
  gap:7px!important;
  margin:0 0 8px!important;
}
.storybd-v7.storybd-library .storybd-library-display-title span{
  color:#141C2C!important;
}
.storybd-v7.storybd-library .storybd-library-display-title small{
  border:1px solid #141C2C!important;
  background:#fff!important;
  color:#141C2C!important;
  border-radius:8px!important;
  padding:5px 9px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
}
.storybd-v7.storybd-library .storybd-library-card-head p{
  font-size:14px!important;
  font-weight:750!important;
  color:rgba(20,28,44,.58)!important;
  line-height:1.35!important;
}

/* Image : bordure fine, pas de gros cadre */
.storybd-v7.storybd-library .storybd-library-image-wrap{
  border-radius:18px!important;
  margin-bottom:12px!important;
  background:#f7f8fb!important;
  overflow:visible!important;
  box-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-library-image-wrap > img,
.storybd-v7.storybd-library .storybd-library-image-wrap img{
  border:1px solid rgba(20,28,44,.12)!important;
  border-radius:18px!important;
  box-shadow:none!important;
}

/* CTA global : moins de bordure, moins d'ombre */
.storybd-v7.storybd-library .storybd-btn,
.storybd-v7.storybd-library button.storybd-btn,
.storybd-v7.storybd-library a.storybd-btn,
.storybd-v7.storybd-library .storybd-library-actions .storybd-btn{
  border-width:1.5px!important;
  box-shadow:none!important;
  text-shadow:none!important;
  border-radius:15px!important;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease,background .14s ease!important;
}
.storybd-v7.storybd-library .storybd-btn:hover,
.storybd-v7.storybd-library button.storybd-btn:hover,
.storybd-v7.storybd-library a.storybd-btn:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 8px 18px rgba(20,28,44,.10)!important;
}

/* CTA suite sur image : visible mais moins massif */
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature{
  background:#F42279!important;
  color:#fff!important;
  border:1px solid rgba(20,28,44,.22)!important;
  border-radius:16px!important;
  box-shadow:0 10px 24px rgba(244,34,121,.24)!important;
  padding:12px 15px!important;
}
.storybd-v7.storybd-library .storybd-library-card.storybd-planche-card .storybd-library-continue-feature:hover{
  box-shadow:0 12px 28px rgba(244,34,121,.30)!important;
}
.storybd-v7.storybd-library .storybd-library-continue-feature small{
  opacity:.86!important;
  font-weight:800!important;
}

/* CTA dialogues : important, mais plus clean */
.storybd-v7.storybd-library .storybd-library-card-body{
  padding:0 0 10px!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb{
  background:#FFD84D!important;
  border:1px solid rgba(20,28,44,.18)!important;
  border-radius:16px!important;
  box-shadow:0 8px 18px rgba(255,216,77,.24)!important;
  padding:10px 14px!important;
  margin:0 0 10px!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px rgba(255,216,77,.30)!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb .storybd-dialogue-orb-text{
  text-shadow:none!important;
  color:#141C2C!important;
}

/* Zone actions : respiration, sans changer l'ordre */
.storybd-v7.storybd-library .storybd-library-actions{
  gap:9px!important;
  padding-top:4px!important;
}
.storybd-v7.storybd-library .storybd-library-actions > .storybd-btn,
.storybd-v7.storybd-library .storybd-library-actions > a.storybd-btn,
.storybd-v7.storybd-library .storybd-library-actions > button.storybd-btn{
  min-height:46px!important;
  padding:12px 16px!important;
}

/* Modifier les images : action secondaire, volontairement neutre */
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve,
.storybd-v7.storybd-library .storybd-library-actions .storybd-secondary-action{
  background:#fff!important;
  color:#141C2C!important;
  border-color:rgba(20,28,44,.18)!important;
  box-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve:hover,
.storybd-v7.storybd-library .storybd-library-actions .storybd-secondary-action:hover{
  background:#F7F8FB!important;
  box-shadow:0 7px 16px rgba(20,28,44,.08)!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve small,
.storybd-v7.storybd-library .storybd-library-actions .storybd-secondary-action small{
  color:rgba(20,28,44,.55)!important;
}

/* Télécharger HD : CTA de valeur, fort mais plus élégant */
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download{
  background:#F42279!important;
  color:#fff!important;
  border:1px solid rgba(20,28,44,.22)!important;
  border-radius:16px!important;
  min-height:54px!important;
  box-shadow:0 12px 26px rgba(244,34,121,.24)!important;
  animation:none!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download:hover{
  background:#FF2D6F!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(244,34,121,.30)!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download:before{
  border:1px solid rgba(255,255,255,.55)!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:none!important;
}

/* Bloc concours/publication : il doit devenir une zone secondaire, lisible et légère */
.storybd-v7.storybd-library .storybd-library-actions .storybd-viral-share-card{
  border:1px solid rgba(20,28,44,.12)!important;
  border-left:3px solid rgba(244,34,121,.42)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(20,28,44,.07)!important;
  padding:13px!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-viral-share-card.is-published{
  border-left-color:rgba(31,185,101,.55)!important;
}
.storybd-v7.storybd-library .storybd-viral-eyebrow{
  color:#F42279!important;
  font-size:11px!important;
  letter-spacing:.08em!important;
}
.storybd-v7.storybd-library .storybd-viral-head strong{
  font-size:16px!important;
  line-height:1.2!important;
  color:#141C2C!important;
}
.storybd-v7.storybd-library .storybd-viral-prize-pill,
.storybd-v7.storybd-library .storybd-viral-stats{
  border:1px solid rgba(20,28,44,.10)!important;
  border-radius:14px!important;
  background:#F9FAFC!important;
  box-shadow:none!important;
}

/* Publier / Obtenir des votes : important dans le bloc viral, mais pas concurrent du HD */
.storybd-v7.storybd-library .storybd-viral-share-card.is-private .storybd-publish-open.storybd-viral-main,
.storybd-v7.storybd-library .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-viral-main,
.storybd-v7.storybd-library .storybd-viral-share-card.is-private .storybd-publish-open.storybd-community-action,
.storybd-v7.storybd-library .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-community-action{
  background:#3EDBFF!important;
  color:#141C2C!important;
  border:1px solid rgba(20,28,44,.20)!important;
  box-shadow:0 9px 20px rgba(62,219,255,.22)!important;
  border-radius:16px!important;
}
.storybd-v7.storybd-library .storybd-viral-share-card.is-private .storybd-publish-open.storybd-viral-main:hover,
.storybd-v7.storybd-library .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-viral-main:hover,
.storybd-v7.storybd-library .storybd-viral-share-card.is-private .storybd-publish-open.storybd-community-action:hover,
.storybd-v7.storybd-library .storybd-viral-share-card.is-private button.storybd-publish-open.storybd-community-action:hover{
  box-shadow:0 11px 24px rgba(62,219,255,.28)!important;
}
.storybd-v7.storybd-library .storybd-viral-share .storybd-viral-main,
.storybd-v7.storybd-library .storybd-viral-share .storybd-share-hub-open.storybd-viral-main{
  background:#F42279!important;
  color:#fff!important;
  border:1px solid rgba(20,28,44,.18)!important;
  border-radius:16px!important;
  box-shadow:0 9px 20px rgba(244,34,121,.20)!important;
  animation:none!important;
}
.storybd-v7.storybd-library .storybd-viral-share .storybd-viral-main:hover,
.storybd-v7.storybd-library .storybd-viral-share .storybd-share-hub-open.storybd-viral-main:hover{
  box-shadow:0 11px 24px rgba(244,34,121,.26)!important;
}

/* Gérer ma publication : bouton utilitaire sous les votes, donc discret */
.storybd-v7.storybd-library .storybd-publish-open:not(.storybd-viral-main),
.storybd-v7.storybd-library .storybd-community-action:not(.storybd-viral-main){
  background:#fff!important;
  color:#141C2C!important;
  border:1px solid rgba(20,28,44,.14)!important;
  box-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-publish-open:not(.storybd-viral-main):hover,
.storybd-v7.storybd-library .storybd-community-action:not(.storybd-viral-main):hover{
  background:#F7F8FB!important;
  box-shadow:0 7px 16px rgba(20,28,44,.08)!important;
}

/* Petits éléments concours : moins de bruit */
.storybd-v7.storybd-library .storybd-viral-share-card small,
.storybd-v7.storybd-library .storybd-vote-help,
.storybd-v7.storybd-library .storybd-inline-share-title{
  color:rgba(20,28,44,.56)!important;
  text-shadow:none!important;
}
.storybd-v7.storybd-library .storybd-share-icon,
.storybd-v7.storybd-library .storybd-share-network{
  border-width:1px!important;
  box-shadow:none!important;
}

@media(max-width:760px){
  .storybd-v7.storybd-library .storybd-library-card.storybd-planche-card{
    border-radius:20px!important;
    padding:12px!important;
  }
  .storybd-v7.storybd-library .storybd-library-actions > .storybd-btn,
  .storybd-v7.storybd-library .storybd-library-actions > a.storybd-btn,
  .storybd-v7.storybd-library .storybd-library-actions > button.storybd-btn{
    min-height:44px!important;
    padding:11px 13px!important;
  }
  .storybd-v7.storybd-library .storybd-library-actions .storybd-library-download{
    min-height:50px!important;
  }
}


/* =========================================================
   COMIXIO V9.3.9.2 - Ajustements bibliothèque planches
   - Modifier les images en 100%, fond gris léger + icône image
   - Télécharger HD en dégradé gris coloré plus sombre
   - Numéro de planche 24px / 500, # rose
   ========================================================= */

.storybd-v7.storybd-library .storybd-library-display-title small{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:4px!important;
  font-size:24px!important;
  font-weight:500!important;
  line-height:1.1!important;
  color:#141C2C!important;
  background:#fff!important;
  border:1px solid #141C2C!important;
  border-radius:10px!important;
  padding:4px 9px!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

.storybd-v7.storybd-library .storybd-library-display-title small b{
  color:#F42279!important;
  font-size:24px!important;
  font-weight:500!important;
  line-height:1.1!important;
  text-shadow:none!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve{
  width:100%!important;
    max-width:none!important;
  max-width:none!important;
  flex:0 0 100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  background:linear-gradient(180deg,#F7F8FA 0%,#EEF1F5 100%)!important;
  color:#141C2C!important;
  border:1px solid rgba(20,28,44,.13)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  text-align:left!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve:hover{
  background:linear-gradient(180deg,#F2F4F7 0%,#E8EBF0 100%)!important;
  box-shadow:0 7px 16px rgba(20,28,44,.07)!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve::before{
  content:"🖼️"!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:#FFFFFF!important;
  border:1px solid rgba(20,28,44,.12)!important;
  font-size:18px!important;
  line-height:1!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve span,
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve small{
  text-align:left!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd{
  background:linear-gradient(135deg,#5A6472 0%,#6B5F88 48%,#9B4F82 100%)!important;
  color:#FFFFFF!important;
  border:1px solid rgba(20,28,44,.18)!important;
  box-shadow:0 10px 22px rgba(20,28,44,.16)!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd:hover{
  background:linear-gradient(135deg,#4E5866 0%,#62557F 48%,#914576 100%)!important;
  color:#FFFFFF!important;
  box-shadow:0 12px 26px rgba(20,28,44,.20)!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd .storybd-library-hd-download-icon{
  color:#FFFFFF!important;
  border-color:rgba(255,255,255,.35)!important;
  background:rgba(255,255,255,.14)!important;
}


/* =========================================================
   COMIXIO V9.3.9.4 - Correction boutons bibliothèque
   Demandes :
   - Modifier les images = 100%, fond gris clair, icône image à gauche
   - Télécharger ma PLANCHE HD = fond gris dégradé coloré plus sombre
   IMPORTANT : le vrai CTA HD visible est .storybd-library-download
   car .storybd-library-hd est masqué plus haut par l'ancien correctif V9.0.44.
   ========================================================= */

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve,
.storybd-v7.storybd-library .storybd-library-actions button.storybd-library-improve,
.storybd-v7.storybd-library .storybd-library-actions .storybd-secondary-action.storybd-library-improve{
  grid-column:1 / -1!important;
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  min-width:0!important;
  flex:0 0 100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:13px!important;
  min-height:58px!important;
  padding:13px 16px!important;
  background:linear-gradient(180deg,#F8F9FB 0%,#EEF1F5 100%)!important;
  background-color:#F2F4F7!important;
  color:#141C2C!important;
  border:1px solid rgba(20,28,44,.13)!important;
  border-radius:16px!important;
  box-shadow:none!important;
  text-align:left!important;
  animation:none!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve:hover,
.storybd-v7.storybd-library .storybd-library-actions button.storybd-library-improve:hover,
.storybd-v7.storybd-library .storybd-library-actions .storybd-secondary-action.storybd-library-improve:hover{
  background:linear-gradient(180deg,#F3F5F8 0%,#E7EBF0 100%)!important;
  color:#141C2C!important;
  box-shadow:0 7px 16px rgba(20,28,44,.07)!important;
  transform:translateY(-1px)!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve::before,
.storybd-v7.storybd-library .storybd-library-actions button.storybd-library-improve::before{
  content:""!important;
  flex:0 0 38px!important;
  display:inline-flex!important;
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  background-color:#FFFFFF!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23141C2C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 20'/%3E%3Cpath d='M14 14l-2-2-7 8'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:22px 22px!important;
  border:1px solid rgba(20,28,44,.13)!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:0!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve span,
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve small{
  text-align:left!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve span{
  color:#141C2C!important;
  font-weight:850!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-improve small{
  color:rgba(20,28,44,.58)!important;
  font-weight:750!important;
}

/* CTA HD visible : l'ancien lien .storybd-library-download remplace le bouton .storybd-library-hd */
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download,
.storybd-v7.storybd-library .storybd-library-actions a.storybd-library-download,
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd,
.storybd-v7.storybd-library .storybd-library-actions button.storybd-library-hd{
  grid-column:1 / -1!important;
  width:100%!important;
    max-width:none!important;
  max-width:100%!important;
    max-width:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:58px!important;
  padding:16px 22px!important;
  background:linear-gradient(135deg,#5B6470 0%,#685B82 48%,#8C477D 100%)!important;
  background-color:#685B82!important;
  color:#FFFFFF!important;
  border:1px solid rgba(20,28,44,.22)!important;
  border-radius:16px!important;
  box-shadow:0 10px 24px rgba(20,28,44,.18)!important;
  text-decoration:none!important;
  text-align:center!important;
  font-weight:900!important;
  animation:none!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download:hover,
.storybd-v7.storybd-library .storybd-library-actions a.storybd-library-download:hover,
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd:hover,
.storybd-v7.storybd-library .storybd-library-actions button.storybd-library-hd:hover{
  background:linear-gradient(135deg,#505A66 0%,#5F5278 48%,#7F3F71 100%)!important;
  color:#FFFFFF!important;
  box-shadow:0 12px 28px rgba(20,28,44,.22)!important;
  transform:translateY(-1px)!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download::before,
.storybd-v7.storybd-library .storybd-library-actions a.storybd-library-download::before{
  content:"⬇"!important;
  display:inline-grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.38)!important;
  background:rgba(255,255,255,.16)!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1!important;
}

.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd .storybd-library-hd-download-icon{
  color:#FFFFFF!important;
  border-color:rgba(255,255,255,.38)!important;
  background:rgba(255,255,255,.16)!important;
  box-shadow:none!important;
}


/* =========================================================
   COMIXIO 9.3.9.5 - Suppression doublon CTA HD bibliothèque
   Le bouton Stripe .storybd-library-hd a été retiré du template.
   On conserve uniquement le lien fonctionnel .storybd-library-download.
========================================================= */
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-hd{
  display:none!important;
}
.storybd-v7.storybd-library .storybd-library-actions .storybd-library-download{
  width:100%!important;
    max-width:none!important;
  grid-column:1/-1!important;
  background:linear-gradient(135deg,#444b5c 0%,#596174 38%,#8b5cf6 72%,#F42279 100%)!important;
  color:#fff!important;
  border:1px solid rgba(20,28,44,.22)!important;
}

/* =========================================================
   COMIXIO 9.3.9.6 - Bibliothèque : CTA dialogues dynamique
   Si aucune bulle n'est enregistrée, le bouton "Ajouter les dialogues"
   devient volontairement très visible. Emplacements inchangés.
========================================================= */
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues{
  position:relative!important;
  background:linear-gradient(135deg,#FFD84D 0%,#FFE978 46%,#FF2D6F 100%)!important;
  border:1px solid rgba(20,28,44,.18)!important;
  box-shadow:0 12px 28px rgba(255,45,111,.24),0 5px 16px rgba(255,216,77,.22)!important;
  overflow:hidden!important;
  animation:comixioDialogueNeedPulse 1.35s ease-in-out infinite!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues::after{
  content:""!important;
  position:absolute!important;
  inset:-55%!important;
  background:linear-gradient(120deg,transparent 38%,rgba(255,255,255,.72) 50%,transparent 62%)!important;
  transform:translateX(-130%) rotate(12deg)!important;
  animation:comixioDialogueNeedShine 1.9s ease-in-out infinite!important;
  pointer-events:none!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon,
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-text{
  position:relative!important;
  z-index:2!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon{
  animation:comixioDialogueIconPop 1.05s ease-in-out infinite!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-text{
  color:#141C2C!important;
  font-weight:1000!important;
}
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.has-dialogues{
  background:#FFD84D!important;
  animation:none!important;
}
@keyframes comixioDialogueNeedPulse{
  0%,100%{transform:translateY(0) scale(1);}
  50%{transform:translateY(-2px) scale(1.018);}
}
@keyframes comixioDialogueNeedShine{
  0%{transform:translateX(-130%) rotate(12deg);}
  58%,100%{transform:translateX(130%) rotate(12deg);}
}
@keyframes comixioDialogueIconPop{
  0%,100%{transform:scale(1) rotate(0deg);}
  50%{transform:scale(1.10) rotate(-4deg);}
}
@media (prefers-reduced-motion: reduce){
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues,
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues::after,
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon{
    animation:none!important;
  }
}


/* =========================================================
   COMIXIO 9.3.9.7 - Bibliothèque : bouton AJOUTER dialogues
   Symbole + animé, sans image PNG, sans décalage layout.
========================================================= */
.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  width:100%!important;
    max-width:none!important;
  min-height:62px!important;
  padding:13px 18px!important;
  margin:0 0 10px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#FFD84D 0%,#FFECA3 42%,#FF5A95 100%)!important;
  border:1px solid rgba(20,28,44,.18)!important;
  border-radius:18px!important;
  box-shadow:0 14px 30px rgba(255,45,111,.22),0 6px 18px rgba(255,216,77,.25)!important;
  transform:translate3d(0,0,0)!important;
  animation:comixioAddDialoguesCardPulse 1.18s ease-in-out infinite!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues::before{
  content:""!important;
  position:absolute!important;
  inset:-60%!important;
  background:linear-gradient(120deg,transparent 36%,rgba(255,255,255,.78) 50%,transparent 64%)!important;
  transform:translateX(-135%) rotate(12deg)!important;
  animation:comixioAddDialoguesShine 1.65s ease-in-out infinite!important;
  pointer-events:none!important;
  z-index:1!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues::after{
  content:""!important;
  position:absolute!important;
  inset:4px!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.50)!important;
  pointer-events:none!important;
  z-index:1!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon{
  position:relative!important;
  z-index:2!important;
  display:inline-grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  flex:0 0 42px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(20,28,44,.25)!important;
  border-radius:999px!important;
  background:#ffffff!important;
  color:#F42279!important;
  box-shadow:0 8px 18px rgba(20,28,44,.14)!important;
  font-size:0!important;
  line-height:1!important;
  overflow:visible!important;
  animation:comixioAddDialoguesPlusBubble 1.05s ease-in-out infinite!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon img{
  display:none!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon > span{
  display:block!important;
  color:#F42279!important;
  font-size:34px!important;
  font-weight:700!important;
  line-height:.86!important;
  transform-origin:center!important;
  animation:comixioAddDialoguesPlus 1.05s ease-in-out infinite!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-text{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  max-width:none!important;
  color:#141C2C!important;
  text-shadow:none!important;
  font-size:18px!important;
  line-height:1.08!important;
  font-weight:1000!important;
  letter-spacing:-.02em!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 36px rgba(255,45,111,.30),0 8px 22px rgba(255,216,77,.28)!important;
}

.storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.has-dialogues{
  animation:none!important;
}

@keyframes comixioAddDialoguesCardPulse{
  0%,100%{transform:translate3d(0,0,0) scale(1);}
  50%{transform:translate3d(0,-2px,0) scale(1.012);}
}

@keyframes comixioAddDialoguesShine{
  0%{transform:translateX(-135%) rotate(12deg);}
  55%,100%{transform:translateX(135%) rotate(12deg);}
}

@keyframes comixioAddDialoguesPlusBubble{
  0%,100%{transform:scale(1);}
  45%{transform:scale(1.12);}
  70%{transform:scale(.98);}
}

@keyframes comixioAddDialoguesPlus{
  0%,100%{transform:rotate(0deg) scale(1);}
  45%{transform:rotate(90deg) scale(1.12);}
  70%{transform:rotate(90deg) scale(.98);}
}

@media(max-width:520px){
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues{
    min-height:58px!important;
    gap:10px!important;
    padding:12px 14px!important;
  }
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    flex-basis:38px!important;
  }
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon > span{
    font-size:31px!important;
  }
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-text{
    font-size:17px!important;
  }
}

@media (prefers-reduced-motion: reduce){
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues,
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues::before,
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon,
  .storybd-v7.storybd-library .storybd-library-card-body > .storybd-library-dialogue-orb.needs-dialogues .storybd-dialogue-orb-icon > span{
    animation:none!important;
  }
}

/* =========================================================
   COMIXIO V9.3.9.8 - Offrir une planche depuis la bibliothèque
   Bouton compact + popup indépendante, sans création de planche.
   ========================================================= */
.storybd-v7.storybd-library .storybd-library-title-row{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 0 8px!important;
}
.storybd-v7.storybd-library .storybd-library-title-row .storybd-library-display-title{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
}
.storybd-v7.storybd-library .storybd-library-gift-open{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(244,34,121,.25)!important;
  background:#F42279!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  box-shadow:0 8px 18px rgba(244,34,121,.18)!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
.storybd-v7.storybd-library .storybd-library-gift-open:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px rgba(244,34,121,.24)!important;
}

.storybd-v7 .storybd-planche-gift-card{
  max-width:1040px!important;
  width:min(1040px,calc(100vw - 28px))!important;
  border-radius:28px!important;
  border:1px solid rgba(20,28,44,.16)!important;
  box-shadow:0 28px 90px rgba(20,28,44,.24)!important;
  background:linear-gradient(180deg,#fff 0%,#fff8fb 100%)!important;
  padding:26px!important;
}
.storybd-v7 .storybd-planche-gift-card h2{
  margin:4px 0 8px!important;
  color:#141C2C!important;
  font-size:32px!important;
  line-height:1.05!important;
}
.storybd-v7 .storybd-planche-gift-intro{
  margin:0 0 16px!important;
  color:rgba(20,28,44,.68)!important;
  font-weight:650!important;
}
.storybd-v7 .storybd-planche-gift-preview{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px!important;
  margin:0 0 16px!important;
  border:1px solid rgba(20,28,44,.10)!important;
  background:#fff!important;
  border-radius:18px!important;
}
.storybd-v7 .storybd-planche-gift-preview img{
  width:74px!important;
  height:74px!important;
  object-fit:cover!important;
  border-radius:14px!important;
  border:1px solid rgba(20,28,44,.12)!important;
}
.storybd-v7 .storybd-planche-gift-preview strong{
  color:#141C2C!important;
  font-size:17px!important;
  font-weight:900!important;
}
.storybd-v7 .storybd-planche-gift-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
.storybd-v7 .storybd-planche-gift-option{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  min-height:100%!important;
  padding:18px!important;
  border:1px solid rgba(20,28,44,.13)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(20,28,44,.07)!important;
}
.storybd-v7 .storybd-planche-gift-option.is-featured{
  background:linear-gradient(180deg,#fff 0%,#fff2f7 100%)!important;
  border-color:rgba(244,34,121,.24)!important;
}
.storybd-v7 .storybd-planche-gift-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:14px!important;
  background:#F5F7FA!important;
  font-size:22px!important;
}
.storybd-v7 .storybd-planche-gift-option h3{
  margin:0!important;
  color:#141C2C!important;
  font-size:20px!important;
  line-height:1.1!important;
}
.storybd-v7 .storybd-planche-gift-option p{
  margin:0!important;
  color:rgba(20,28,44,.68)!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.storybd-v7 .storybd-planche-gift-option input,
.storybd-v7 .storybd-planche-gift-option textarea{
  width:100%!important;
    max-width:none!important;
  border:1px solid rgba(20,28,44,.16)!important;
  border-radius:14px!important;
  padding:11px 12px!important;
  background:#fff!important;
  color:#141C2C!important;
  font-weight:650!important;
}
.storybd-v7 .storybd-planche-gift-option textarea{
  min-height:88px!important;
  resize:vertical!important;
}
.storybd-v7 .storybd-planche-gift-pdf-link,
.storybd-v7 .storybd-planche-gift-send,
.storybd-v7 .storybd-planche-gift-canvas-btn{
  margin-top:auto!important;
  width:100%!important;
    max-width:none!important;
  justify-content:center!important;
  border-radius:16px!important;
}
.storybd-v7 .storybd-planche-gift-send{
  background:#F42279!important;
  color:#fff!important;
  border:1px solid #F42279!important;
}
.storybd-v7 .storybd-planche-gift-status{
  min-height:18px!important;
  font-size:13px!important;
  font-weight:750!important;
  color:#16803b!important;
}
.storybd-v7 .storybd-planche-gift-status.is-error{
  color:#b42318!important;
}
.storybd-v7 .storybd-planche-gift-canvas-visual{
  position:relative!important;
  overflow:hidden!important;
  border-radius:18px!important;
  min-height:170px!important;
  background:#f3f4f6!important;
}
.storybd-v7 .storybd-planche-gift-canvas-bg{
  width:100%!important;
    max-width:none!important;
  height:170px!important;
  object-fit:cover!important;
  display:block!important;
  filter:saturate(1.04)!important;
}
.storybd-v7 .storybd-planche-gift-canvas-frame{
  position:absolute!important;
  right:12px!important;
  bottom:12px!important;
  width:42%!important;
  max-width:150px!important;
  border-radius:12px!important;
  border:3px solid #fff!important;
  box-shadow:0 10px 24px rgba(20,28,44,.25)!important;
}
.storybd-v7 .storybd-planche-gift-delivery{
  display:block!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#141C2C!important;
  border:1px dashed rgba(244,34,121,.28)!important;
  font-size:14px!important;
  line-height:1.25!important;
}
@media(max-width:900px){
  .storybd-v7 .storybd-planche-gift-grid{grid-template-columns:1fr!important;}
  .storybd-v7.storybd-library .storybd-library-title-row{align-items:flex-start!important;}
}
@media(max-width:560px){
  .storybd-v7.storybd-library .storybd-library-title-row{flex-direction:column!important;}
  .storybd-v7.storybd-library .storybd-library-gift-open{width:auto!important;}
  .storybd-v7 .storybd-planche-gift-card{padding:18px!important;border-radius:22px!important;}
  .storybd-v7 .storybd-planche-gift-card h2{font-size:26px!important;}
}


/* =========================================================
   COMIXIO V9.3.9.8 - Correctif minimal offrir planche
   - bouton sous le cartouche Planche #
   - popup au-dessus de tout
   ========================================================= */
.storybd-v7.storybd-library .storybd-library-title-row{
  display:block!important;
  margin:0 0 8px!important;
}
.storybd-v7.storybd-library .storybd-library-title-stack{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:8px!important;
}
.storybd-v7.storybd-library .storybd-library-title-stack .storybd-library-display-title{
  margin:0!important;
}
.storybd-v7.storybd-library .storybd-library-title-stack .storybd-library-gift-open{
  width:auto!important;
  margin:0!important;
  align-self:flex-start!important;
}
html body .storybd-v7 #storybd-planche-gift-modal.storybd-modal,
html body #storybd-planche-gift-modal.storybd-modal,
html body .storybd-v7 #storybd-planche-gift-modal.storybd-modal.is-open,
html body #storybd-planche-gift-modal.storybd-modal.is-open{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
}
html body .storybd-v7 #storybd-planche-gift-modal .storybd-planche-gift-card,
html body #storybd-planche-gift-modal .storybd-planche-gift-card{
  position:relative!important;
  z-index:2147483647!important;
}


/* =========================================================
   COMIXIO V9.3.9.12 - Popup offrir planche au-dessus de tout
   Inspiré des popups Comixio fiables : sortie dans #storybd-modal-portal
   + z-index max + verrouillage scroll
   ========================================================= */
html body #storybd-modal-portal,
html body .storybd-modal-portal{
  position:relative!important;
  z-index:2147483647!important;
  isolation:isolate!important;
}
html body #storybd-modal-portal #storybd-planche-gift-modal.storybd-modal,
html body #storybd-planche-gift-modal.storybd-modal,
html body #storybd-modal-portal #storybd-planche-gift-modal.storybd-modal.is-open,
html body #storybd-planche-gift-modal.storybd-modal.is-open{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100svh!important;
  z-index:2147483647!important;
  background:rgba(8,14,30,.78)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  isolation:isolate!important;
  pointer-events:auto!important;
}
html body #storybd-modal-portal #storybd-planche-gift-modal.storybd-modal:not(.is-open),
html body #storybd-planche-gift-modal.storybd-modal:not(.is-open){
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body #storybd-modal-portal #storybd-planche-gift-modal.storybd-modal.is-open,
html body #storybd-planche-gift-modal.storybd-modal.is-open{
  display:flex!important;
}
html body #storybd-modal-portal #storybd-planche-gift-modal .storybd-planche-gift-card,
html body #storybd-planche-gift-modal .storybd-planche-gift-card{
  position:relative!important;
  z-index:2147483647!important;
  max-height:calc(100svh - 36px)!important;
  overflow:auto!important;
  transform:none!important;
}
html body.storybd-planche-gift-open{
  overflow:hidden!important;
}
html body #storybd-planche-gift-modal .storybd-modal-close{
  z-index:2147483647!important;
}

/* ========================================================= */
/* COMIXIO V9.3.9.13 - UX personnages desktop au scalpel     */
/* Bouton + placé juste après le dernier personnage ajouté    */
/* Mobile inchangé                                           */
/* ========================================================= */
@media (min-width:980px){
  #storybd-v7-app .storybd-character-layout{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
    align-items:stretch!important;
    position:relative!important;
    overflow:visible!important;
    padding-right:0!important;
  }

  #storybd-v7-app .storybd-character-grid{
    display:contents!important;
    width:auto!important;
  }

  #storybd-v7-app .storybd-character-add{
    position:relative!important;
    inset:auto!important;
    right:auto!important;
    top:auto!important;
    transform:none!important;
    z-index:auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    max-width:none!important;
    min-height:150px!important;
    height:auto!important;
    align-self:stretch!important;
    padding:14px!important;
    flex:none!important;
  }
}


/* ===================================================== */
/* COMIXIO - LISEUSE ALBUM PREMIUM V3.1 */
/* Modification purement CSS - ciblée sur .storybd-reader */
/* ===================================================== */

.storybd-reader{
    position:relative!important;
    overflow:hidden!important;
    color:#FFFFFF!important;

    background:
        radial-gradient(circle at 8% 8%, rgba(255,45,111,.24), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(62,219,255,.20), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(255,216,77,.13), transparent 42%),
        linear-gradient(135deg,#080d18 0%,#141C2C 46%,#202d4d 100%)!important;
}

.storybd-reader::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    pointer-events:none!important;
    z-index:0!important;

    background:
        linear-gradient(45deg, rgba(255,255,255,.018) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.012) 25%, transparent 25%)!important;

    background-size:34px 34px!important;
    opacity:.65!important;
}

.storybd-reader::after{
    content:""!important;
    position:absolute!important;
    width:520px!important;
    height:520px!important;
    top:-180px!important;
    right:-180px!important;
    pointer-events:none!important;
    z-index:0!important;

    background:radial-gradient(circle, rgba(62,219,255,.16), transparent 68%)!important;
    filter:blur(8px)!important;

    animation:storybdReaderPremiumGlow 9s ease-in-out infinite alternate!important;
}

@keyframes storybdReaderPremiumGlow{
    from{
        transform:translate3d(0,0,0) scale(1);
        opacity:.55;
    }
    to{
        transform:translate3d(-70px,55px,0) scale(1.12);
        opacity:.9;
    }
}

.storybd-reader > *{
    position:relative!important;
    z-index:1!important;
}

/* ===================================================== */
/* HERO LISEUSE */
/* ===================================================== */

.storybd-reader .storybd-reader-hero{
    text-align:center!important;
    max-width:1080px!important;
    margin:0 auto 38px auto!important;
    padding:46px 28px!important;

    border-radius:34px!important;

    background:
        linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045))!important;

    border:1px solid rgba(255,255,255,.14)!important;

    box-shadow:
        0 26px 80px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.14)!important;

    backdrop-filter:blur(12px)!important;
}

/* ===================================================== */
/* CARTOUCHE UN CADEAU COMIXIO */
/* ===================================================== */

.storybd-reader .storybd-reader-hero > span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;

    width:auto!important;
    max-width:max-content!important;

    margin:0 auto 22px auto!important;

    padding:12px 22px!important;
    border-radius:999px!important;

    background:
        linear-gradient(135deg,#FFD84D 0%,#FFB400 45%,#FF2D6F 100%)!important;

    color:#141C2C!important;

    font-size:14px!important;
    font-weight:950!important;
    line-height:1!important;
    letter-spacing:.01em!important;
    text-transform:none!important;

    border:1px solid rgba(255,255,255,.34)!important;

    box-shadow:
        0 14px 36px rgba(255,216,77,.24),
        0 0 0 5px rgba(255,216,77,.06)!important;

    animation:storybdReaderGiftFloat 4.6s ease-in-out infinite!important;
}

.storybd-reader .storybd-reader-hero > span::before{
    content:"🎁"!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:28px!important;
    height:28px!important;

    border-radius:50%!important;

    background:#141C2C!important;
    color:#FFD84D!important;

    font-size:16px!important;
    line-height:1!important;

    box-shadow:0 6px 16px rgba(20,28,44,.25)!important;
}

@keyframes storybdReaderGiftFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-3px);
    }
}

/* ===================================================== */
/* H1 LISEUSE */
/* ===================================================== */

.storybd-reader .storybd-reader-hero h1{
    display:block!important;

    width:100%!important;
    max-width:none!important;
    max-width:880px!important;

    margin:0 auto 14px auto!important;

    text-align:center!important;

    font-size:clamp(30px,3.2vw,46px)!important;
    line-height:1.08!important;

    font-weight:950!important;
    letter-spacing:-.035em!important;

    color:#FFFFFF!important;

    text-shadow:none!important;
    box-shadow:none!important;
    filter:none!important;
}

.storybd-reader .storybd-reader-hero h1::after{
    content:""!important;
    display:block!important;

    width:86px!important;
    height:4px!important;

    margin:16px auto 0 auto!important;

    border-radius:999px!important;

    background:linear-gradient(90deg,#FFD84D,#FF2D6F,#3EDBFF)!important;

    box-shadow:0 8px 28px rgba(255,45,111,.25)!important;
}

/* ===================================================== */
/* PARAGRAPHE HERO */
/* ===================================================== */

.storybd-reader .storybd-reader-hero p{
    max-width:680px!important;

    margin:0 auto 20px auto!important;

    text-align:center!important;

    font-size:15px!important;
    line-height:1.62!important;
    font-weight:500!important;

    color:rgba(255,255,255,.82)!important;

    text-shadow:none!important;
}

/* ===================================================== */
/* BOUTONS HERO LISEUSE */
/* Lire la BD + Télécharger PDF HD */
/* ===================================================== */

.storybd-reader .storybd-reader-actions{
    gap:12px!important;
    margin-top:22px!important;
}

.storybd-reader .storybd-reader-actions .storybd-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;

    border-radius:999px!important;

    padding:14px 24px!important;

    font-size:15px!important;
    font-weight:950!important;
    line-height:1.15!important;

    text-decoration:none!important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease!important;
}

/* Bouton Lire la BD : sombre premium */
.storybd-reader .storybd-reader-actions .storybd-final-btn{
    background:#141C2C!important;
    background-image:none!important;

    color:#FFFFFF!important;

    border:2px solid rgba(255,255,255,.22)!important;

    box-shadow:
        0 14px 34px rgba(0,0,0,.24)!important;
}

.storybd-reader .storybd-reader-actions .storybd-final-btn::before{
    content:"📖"!important;
    font-size:16px!important;
}

/* Bouton Télécharger PDF HD : rose Comixio */
.storybd-reader .storybd-reader-actions .storybd-ghost-action{
    background:#F42279!important;
    background-image:none!important;

    color:#FFFFFF!important;

    border:3px solid #141C2C!important;

    box-shadow:
        0 14px 34px rgba(244,34,121,.30)!important;
}

.storybd-reader .storybd-reader-actions .storybd-ghost-action::before{
    content:"📄"!important;
    font-size:16px!important;
}

@media(min-width:981px){
    .storybd-reader .storybd-reader-actions .storybd-btn:hover{
        transform:translateY(-3px)!important;
    }

    .storybd-reader .storybd-reader-actions .storybd-final-btn:hover{
        box-shadow:
            0 20px 46px rgba(0,0,0,.32)!important;
    }

    .storybd-reader .storybd-reader-actions .storybd-ghost-action:hover{
        box-shadow:
            0 20px 46px rgba(244,34,121,.42)!important;
    }
}

/* ===================================================== */
/* IMAGES / PLANCHES */
/* ===================================================== */

.storybd-reader .storybd-reader-page{
    border-radius:24px!important;
    box-shadow:
        0 24px 70px rgba(0,0,0,.32),
        0 0 0 1px rgba(255,255,255,.08)!important;
}

.storybd-reader .storybd-reader-page img{
    border-radius:0!important;
}

@media(min-width:981px){
    .storybd-reader .storybd-reader-page{
        transition:transform .25s ease, box-shadow .25s ease!important;
    }

    .storybd-reader .storybd-reader-page:hover{
        transform:translateY(-4px)!important;
        box-shadow:
            0 30px 90px rgba(0,0,0,.42),
            0 0 0 1px rgba(255,255,255,.12)!important;
    }
}

/* ===================================================== */
/* BLOC BAS BLANC - Cette BD vous plaît ? */
/* ===================================================== */

.storybd-reader .storybd-reader-footer{
    background:#FFFFFF!important;
    color:#141C2C!important;

    border-radius:28px!important;

    box-shadow:
        0 24px 70px rgba(0,0,0,.20)!important;
}

.storybd-reader .storybd-reader-footer strong{
    color:#141C2C!important;
}

.storybd-reader .storybd-reader-footer p{
    color:rgba(20,28,44,.68)!important;
}

/* Bouton Créer ma BD en rose */
.storybd-reader .storybd-reader-footer .storybd-final-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;

    background:#F42279!important;
    background-image:none!important;

    color:#FFFFFF!important;

    border:3px solid #141C2C!important;
    border-radius:999px!important;

    padding:14px 24px!important;

    font-size:15px!important;
    font-weight:950!important;
    line-height:1.15!important;

    text-decoration:none!important;

    box-shadow:
        0 14px 34px rgba(244,34,121,.30)!important;

    transition:
        transform .22s ease,
        box-shadow .22s ease!important;
}

.storybd-reader .storybd-reader-footer .storybd-final-btn::before{
    content:"✨"!important;
    font-size:16px!important;
}

@media(min-width:981px){
    .storybd-reader .storybd-reader-footer .storybd-final-btn:hover{
        transform:translateY(-3px)!important;
        box-shadow:
            0 20px 46px rgba(244,34,121,.42)!important;
    }
}

/* ===================================================== */
/* ACCESSIBILITÉ */
/* ===================================================== */

@media(prefers-reduced-motion:reduce){
    .storybd-reader::after,
    .storybd-reader .storybd-reader-hero > span{
        animation:none!important;
    }

    .storybd-reader .storybd-reader-page,
    .storybd-reader .storybd-reader-actions .storybd-btn,
    .storybd-reader .storybd-reader-footer .storybd-final-btn{
        transition:none!important;
    }
}

/* ===================================================== */
/* MOBILE */
/* ===================================================== */

@media(max-width:767px){

    .storybd-reader{
        background:
            radial-gradient(circle at 10% 0%, rgba(255,45,111,.20), transparent 34%),
            radial-gradient(circle at 90% 8%, rgba(62,219,255,.16), transparent 36%),
            linear-gradient(135deg,#080d18,#141C2C,#1c2844)!important;
    }

    .storybd-reader .storybd-reader-hero{
        padding:30px 18px!important;
        border-radius:26px!important;
        margin-bottom:26px!important;
    }

    .storybd-reader .storybd-reader-hero h1{
        font-size:30px!important;
        line-height:1.1!important;
        letter-spacing:-.025em!important;
        text-align:center!important;
    }

    .storybd-reader .storybd-reader-hero p{
        font-size:14px!important;
        line-height:1.55!important;
    }

    .storybd-reader .storybd-reader-hero > span{
        font-size:13px!important;
        padding:10px 16px!important;
    }

    .storybd-reader .storybd-reader-actions .storybd-btn,
    .storybd-reader .storybd-reader-footer .storybd-final-btn{
        width:100%!important;
    max-width:none!important;
        max-width:360px!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
}

/* =========================================================
   COMIXIO V9.3.9.19 - Pop-up offrir planche : ajustements ciblés
   - badge premium supprimé dans le template
   - toile plus haute, prix affiché, PDF puis email en lignes séparées
   ========================================================= */
.storybd-v7 .storybd-planche-gift-grid{
  grid-template-columns:1fr!important;
  align-items:stretch!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:minmax(300px,.95fr) minmax(0,1.05fr)!important;
  align-items:center!important;
  gap:20px!important;
  padding:24px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 14% 8%,rgba(255,216,77,.34),transparent 28%),
    radial-gradient(circle at 84% 18%,rgba(244,34,121,.18),transparent 32%),
    linear-gradient(135deg,#fff 0%,#fff1f7 54%,#ffffff 100%)!important;
  border:2px solid rgba(244,34,121,.24)!important;
  box-shadow:0 18px 44px rgba(20,28,44,.12)!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-visual{
  grid-row:1 / span 7!important;
  min-height:330px!important;
  border-radius:24px!important;
  box-shadow:0 18px 40px rgba(20,28,44,.18)!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-bg{
  height:330px!important;
  object-fit:cover!important;
  transform:scale(1.02)!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-frame{
  width:38%!important;
  max-width:190px!important;
  right:16px!important;
  bottom:16px!important;
  border-radius:16px!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-price{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
    max-width:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px 16px!important;
  border-radius:999px!important;
  background:#141C2C!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:0 10px 22px rgba(20,28,44,.18)!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured h3{
  font-size:26px!important;
  letter-spacing:-.03em!important;
}
.storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-btn{
  width:auto!important;
  min-width:240px!important;
  justify-self:start!important;
}
.storybd-v7 .storybd-planche-gift-pdf,
.storybd-v7 .storybd-planche-gift-email{
  grid-column:1 / -1!important;
}

@media(max-width:900px){
  .storybd-v7 .storybd-planche-gift-canvas.is-featured{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:20px!important;
  }
  .storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-visual{
    grid-row:auto!important;
    min-height:280px!important;
  }
  .storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-bg{
    height:280px!important;
  }
  .storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-price{
    width:100%!important;
    max-width:none!important;
  }
  .storybd-v7 .storybd-planche-gift-canvas.is-featured .storybd-planche-gift-canvas-btn{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
}


/* =========================================================
   COMIXIO V9.3.9.20 - Popup offrir planche : fermer visible + badges gratuits
   Modification ultra ciblée sur #storybd-planche-gift-modal uniquement
   ========================================================= */
html body #storybd-planche-gift-modal .storybd-modal-close,
html body #storybd-modal-portal #storybd-planche-gift-modal .storybd-modal-close{
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  z-index:2147483647!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:999px!important;
  border:2px solid rgba(255,255,255,.92)!important;
  background:#000!important;
  color:#fff!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:900!important;
  text-align:center!important;
  box-shadow:0 12px 34px rgba(0,0,0,.42)!important;
  opacity:1!important;
  visibility:visible!important;
  cursor:pointer!important;
}
html body #storybd-planche-gift-modal .storybd-modal-close:hover,
html body #storybd-modal-portal #storybd-planche-gift-modal .storybd-modal-close:hover{
  transform:translateY(-1px) scale(1.04)!important;
  background:#141C2C!important;
}
.storybd-v7 .storybd-planche-gift-pdf-link,
.storybd-v7 .storybd-planche-gift-send{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.storybd-v7 .storybd-planche-gift-free-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#F42279!important;
  border:1px solid rgba(255,255,255,.72)!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
@media(max-width:560px){
  html body #storybd-planche-gift-modal .storybd-modal-close,
  html body #storybd-modal-portal #storybd-planche-gift-modal .storybd-modal-close{
    top:10px!important;
    right:10px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    font-size:28px!important;
  }
}


/* ===================================================== */
/* COMIXIO V9.3.9.24 - Liseuse : cover fixed stable + degradé premium */
/* ===================================================== */

.storybd-reader{
    position:relative!important;
    isolation:isolate!important;
}

.storybd-reader > :not(.storybd-reader-bg-pages){
    position:relative!important;
    z-index:2!important;
}

.storybd-reader .storybd-reader-bg-pages{
    position:fixed!important;
    inset:-14px!important;
    z-index:0!important;
    pointer-events:none!important;
    display:block!important;
    opacity:1!important;
    filter:blur(3px)!important;
    transform:scale(1.03)!important;
    transform-origin:center center!important;
    overflow:hidden!important;
    background-image:var(--storybd-reader-cover-bg)!important;
    background-position:center center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    background-attachment:fixed!important;
    will-change:auto!important;
}

.storybd-reader .storybd-reader-bg-pages::after{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    pointer-events:none!important;
    background:
        radial-gradient(circle at 14% 8%, rgba(255,45,111,.24), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(62,219,255,.18), transparent 36%),
        linear-gradient(180deg, rgba(8,13,24,.18) 0%, rgba(20,28,44,.30) 48%, rgba(8,13,24,.42) 100%)!important;
}

.storybd-reader .storybd-reader-bg-pages img{
    display:none!important;
}

@media (max-width:780px){
    .storybd-reader .storybd-reader-bg-pages{
        inset:-12px!important;
        opacity:1!important;
        filter:blur(3px)!important;
        transform:scale(1.035)!important;
        background-position:center center!important;
        background-size:cover!important;
        background-repeat:no-repeat!important;
        background-attachment:fixed!important;
    }
    .storybd-reader .storybd-reader-bg-pages::after{
        background:
            radial-gradient(circle at 12% 8%, rgba(255,45,111,.20), transparent 34%),
            radial-gradient(circle at 88% 10%, rgba(62,219,255,.14), transparent 36%),
            linear-gradient(180deg, rgba(8,13,24,.22) 0%, rgba(20,28,44,.34) 52%, rgba(8,13,24,.46) 100%)!important;
    }
}

