:root{color-scheme:light;--ink:#261843;--muted:#766d8a;--violet:#6543a4;--violet-strong:#51318e;--violet-soft:#f1eafb;--pink:#e84f9b;--line:#ece6f2;--white:#fff;--shadow:0 20px 60px rgba(56,28,94,.075);font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;color:var(--ink);background:#fbf9ff;line-height:1.55}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ca8cf5;outline-offset:3px}[hidden]{display:none!important}.page-ambient{pointer-events:none;position:fixed;z-index:-1;inset:0;background:radial-gradient(ellipse 45% 19% at 1% 3%,rgba(227,199,253,.4),transparent),radial-gradient(ellipse 38% 22% at 100% 3%,rgba(255,208,230,.36),transparent)}
.site-header{position:relative;background:#fffefee8;border-bottom:1px solid rgba(111,87,149,.10);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);z-index:2}.header-inner{max-width:1290px;margin:auto;padding:17px 27px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#8161cc,#dd79c7);display:grid;place-items:center;color:white;font-size:27px;box-shadow:0 9px 24px #9a6dcc35}.brand-text strong{display:block;white-space:nowrap;font-size:21px;letter-spacing:-.7px;line-height:1.25}.brand-text strong span{font-family:Georgia,serif;font-style:italic;color:var(--pink)}.brand-text small{display:block;color:#82788f;font-size:11px;font-weight:500;letter-spacing:.15px;margin-top:2px}.top-actions{display:flex;align-items:center;gap:15px}.top-site-link{font-size:14px;font-weight:700;white-space:nowrap;padding:11px;border-radius:10px}.top-site-link:hover{background:#f5efff;color:#6845a4}.magic-btn,.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;color:white;background:linear-gradient(112deg,#7350b6,#a15bc3 55%,#c75da5);font-weight:750;border-radius:13px;padding:13px 20px;box-shadow:0 9px 22px #9e65b62b;transition:transform .18s,box-shadow .18s}.magic-btn:hover,.primary-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px #9155b641}.primary-btn:disabled{opacity:.6;cursor:wait;transform:none}.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid #ded3ea;color:var(--violet-strong);background:#fff;font-weight:700;border-radius:13px;padding:12px 20px;transition:background .2s,border-color .2s}.secondary-btn:hover{background:#f6f1fc;border-color:#c9b6e3}
.main-container{max-width:1290px;margin:0 auto;padding:27px 27px 42px}.hero{min-height:311px;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:20px;border:1px solid #eee4f7;border-radius:23px;background:linear-gradient(120deg,#f6effe 0%,#fbeffc 60%,#ffedf5 100%);padding:38px 47px 38px 55px;overflow:hidden;position:relative}.hero:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:#e8c8f5;opacity:.25;left:-190px;top:-150px}.hero-copy{z-index:1;position:relative}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#8055a5;font-weight:800;text-transform:uppercase}.eyebrow-spark{color:var(--pink);font-size:19px;vertical-align:middle;margin-right:6px}.hero h1{font-size:clamp(28px,3.1vw,47px);letter-spacing:-1.75px;line-height:1.16;max-width:630px;margin:17px 0;color:#2e1b4e;font-weight:850}.hero h1 em{font-family:Georgia,serif;font-weight:500;color:#9953ab}.hero-copy p{font-size:15px;line-height:1.75;color:#665c7c;max-width:530px;margin:0 0 22px}.hero-buttons{display:flex;gap:11px;flex-wrap:wrap}.hero-art{position:relative;display:flex;justify-content:center;align-items:center;min-height:260px}.hero-image{width:min(100%,410px);aspect-ratio:3/2;border:9px solid #fffc;box-shadow:0 22px 55px #5c377f2b;border-radius:20px;transform:rotate(3deg);background:#a4cecd url('../fonds_magiques/paysage-doux.jpg') center/cover}.hero-image-overlay{height:100%;display:grid;place-items:center;text-align:center;padding:20px;background:linear-gradient(180deg,transparent,#1d3f5590);border-radius:11px}.hero-image-overlay>span{font:italic 26px/1.3 Georgia,serif;text-shadow:0 2px 10px #28455c9c;color:#fff}.art-heart{font-size:36px;color:#ffc3dd}.floating-star{position:absolute;color:#d574b1;display:block;font-size:34px}.star-one{left:4%;top:8%;transform:rotate(-17deg)}.star-two{right:4%;bottom:5%;font-size:43px;color:#8b6ad3}.star-three{right:14%;top:0;font-size:24px;color:#e3a351}
.layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:23px;align-items:start;margin-top:24px}.sidebar,.gallery-panel{border:1px solid var(--line);background:#fff;border-radius:19px;box-shadow:var(--shadow)}.sidebar{padding:23px 17px}.sidebar-top{display:flex;justify-content:space-between;align-items:center;padding:0 7px;margin-bottom:21px}.sidebar-kicker,.gallery-kicker,.dialog-kicker{font-size:10px;font-weight:850;letter-spacing:1.6px;color:#9b75c0}.sidebar-top h2{font-size:21px;letter-spacing:-.65px;margin:0}.sidebar-deco{font-size:33px;color:#d9abde}.category-search-wrap{display:flex;align-items:center;gap:6px;border:1px solid #e8e0f0;border-radius:11px;padding:0 12px;margin:0 4px 20px;color:#8775a5;background:#fcfaff}.category-search-wrap span{font-size:24px}.category-search-wrap input{width:100%;min-width:0;background:transparent;border:0;outline:0;height:41px;color:var(--ink);font-size:12px}.category-search-wrap input::placeholder{color:#a29bb0}.nav-section{padding:0 4px 13px;margin-bottom:13px;border-bottom:1px solid #f0ecf4}.nav-section:last-child{border:0;margin-bottom:0;padding-bottom:0}.nav-section h3{font-size:12px;margin:0 0 8px 9px;color:#6d5e86;font-weight:800}.nav-items{display:grid;gap:2px}.category-link{min-height:37px;display:flex;align-items:center;gap:7px;justify-content:space-between;border-radius:9px;padding:8px 11px;font-size:12.5px;font-weight:600;color:#655a76;transition:background .15s,color .15s}.category-link:hover{background:#faf6ff;color:#6645a5}.category-link.active{color:#643b9f;background:#f0e8fa;font-weight:800}.nav-name{min-width:0}.nav-arrow{font-size:20px;color:#a89ab9;line-height:.5}.category-link.active .nav-arrow{color:var(--violet)}.search-empty{font-size:12px;padding:8px 12px;color:var(--muted)}
.gallery-panel{padding:27px 27px 32px;min-height:450px;scroll-margin-top:24px}.gallery-intro{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:24px}.gallery-intro h2{font-size:clamp(24px,2.6vw,30px);letter-spacing:-.9px;margin:2px 0 3px;line-height:1.35}.gallery-intro p{color:#888098;margin:0;font-size:12.5px}.image-count{border-radius:999px;background:#f3eef9;color:#765aa0;font-size:11px;font-weight:800;white-space:nowrap;padding:7px 11px;margin-top:14px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.image-card{border:1px solid #e9e4ed;border-radius:13px;aspect-ratio:3/2;position:relative;padding:0;overflow:hidden;background:linear-gradient(145deg,#f4eff9,#fdf9fd);min-width:0;transition:transform .18s,border-color .18s,box-shadow .18s}.image-card:hover{transform:translateY(-4px);border-color:#dbc2ea;box-shadow:0 10px 25px #69409226}.image-card img{width:100%;height:100%;object-fit:contain;display:block}.zoom-hint{position:absolute;right:9px;bottom:9px;background:#fff;color:#6343a0;border-radius:9px;width:29px;height:29px;display:grid;place-items:center;box-shadow:0 3px 12px #331b3929;opacity:0;transition:opacity .18s}.image-card:hover .zoom-hint,.image-card:focus-visible .zoom-hint{opacity:1}.gallery-status{background:#f8f3fd;color:#7152a7;border-radius:12px;font-size:13px;text-align:center;margin-bottom:12px;padding:13px}.empty-gallery{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;text-align:center;padding:28px 18px;background:#fcfaff;border:1px dashed #dfd2ed;border-radius:14px}.empty-illustration{font-size:44px}.empty-gallery h3{margin:9px 0 3px;font-size:17px}.empty-gallery p{margin:0;color:#877d92;font-size:13px;max-width:400px}.load-more{text-align:center;margin-top:25px}.more-btn{background:#fff;border:1px solid #d9c7eb;color:#67419e;border-radius:12px;padding:11px 20px;font-size:13px;font-weight:800}.more-btn:hover{background:#f8f2ff}
.bottom-invite{margin-top:24px;border:1px solid #eee2f7;border-radius:18px;padding:25px 31px;display:flex;gap:18px;align-items:center;background:linear-gradient(100deg,#f6eefb,#fef2f7)}.invite-icon{height:54px;width:54px;border-radius:16px;background:#fff;display:grid;place-items:center;font-size:27px;flex-shrink:0;box-shadow:0 8px 20px #7a529111}.bottom-invite div:nth-child(2){flex:1}.bottom-invite h2{margin:0 0 2px;font-size:18px}.bottom-invite p{margin:0;font-size:13px;color:#81718d}.bottom-invite .primary-btn{white-space:nowrap}.site-footer{max-width:1290px;margin:auto;padding:10px 27px 29px;display:flex;gap:15px;justify-content:space-between;font-size:12px;color:#8b819a}.site-footer a:hover{color:var(--violet)}
/* Les dialogues sont de vrais pop-up natifs, avec verrouillage du fond et accessibilité clavier. */
.site-dialog{border:1px solid #e4d8ee;padding:0;background:white;border-radius:21px;box-shadow:0 30px 90px #180c2b66;color:var(--ink);max-height:min(90dvh,920px);max-width:calc(100vw - 25px);overflow:auto}.site-dialog::backdrop{background:#160d2ab6;backdrop-filter:blur(5px)}.magic-dialog{width:540px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 26px 18px;border-bottom:1px solid #eee8f4}.dialog-heading{display:flex;align-items:center;gap:11px}.dialog-symbol{height:46px;width:46px;display:grid;place-items:center;font-size:22px;border-radius:12px;background:#f1e9ff}.dialog-heading h2{font-size:23px;margin:1px 0 0;letter-spacing:-.65px}.close-dialog{height:37px;width:37px;border:0;border-radius:50%;background:#f6f2fa;color:#614b7a;font-size:27px;line-height:1}.close-dialog:hover{background:#ede4f6}.dialog-content{padding:19px 26px 27px}.dialog-desc{color:#71647d;font-size:13.5px;margin:0 0 18px}.field-label{font-size:13px;font-weight:800;display:block;margin-bottom:8px}#magicText{display:block;width:100%;min-height:106px;resize:vertical;padding:13px 14px;border:1px solid #dfd4eb;border-radius:12px;color:var(--ink);outline:none;font-size:14px;line-height:1.5;background:#fffdff}#magicText:focus{border-color:#9b66cb;box-shadow:0 0 0 3px #b983eb22}#magicText::placeholder{color:#aaa0b8}.input-counter{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#9b91a7;margin:7px 0 17px}.generate-btn{width:100%;min-height:47px}.magic-notice{padding:12px;margin-top:16px;border-radius:10px;font-size:13px;background:#f4eef9;color:#704a9d}.magic-notice.error{background:#fff1f1;color:#9c3555}.generated-result{margin-top:23px;padding-top:20px;border-top:1px solid #eee6f2}.result-label{font-size:14px;font-weight:800;margin:0 0 10px}.generated-result img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px;background:#f4edf9;border:1px solid #eee5f0}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.result-actions a,.result-actions button{text-align:center;font-size:12px;padding:12px 8px}.photo-dialog{width:min(92vw,1000px);padding:14px 14px 18px;text-align:center}.photo-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-weight:800;color:#6b5090;font-size:12px;padding-left:9px}.photo-dialog>img{width:100%;height:auto;max-height:68dvh;object-fit:contain;display:block;background:#f7f2fc;border-radius:10px}.photo-dialog>.primary-btn{margin-top:15px}
@media(max-width:1060px){.hero{padding:32px 30px}.layout{grid-template-columns:245px minmax(0,1fr);gap:17px}.gallery-panel{padding:23px}.gallery-grid{gap:11px}.sidebar{padding:20px 13px}}
@media(max-width:790px){.hero{grid-template-columns:1fr;gap:0;padding:32px 32px 25px}.hero-art{display:none}.layout{grid-template-columns:1fr}.sidebar{padding:17px}.sidebar-top{margin-bottom:12px}.sidebar #categoryNav{display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x proximity;scrollbar-width:thin;padding:0 3px 8px}.nav-section{min-width:150px;border-bottom:0;border-right:1px solid #eee7f3;padding-right:12px;margin:0}.nav-section:first-child{min-width:220px}.nav-section:last-child{border:0}.category-search-wrap{max-width:400px}.nav-items{gap:0}.gallery-panel{min-height:320px}.bottom-invite{flex-wrap:wrap}.bottom-invite .primary-btn{margin-left:72px}}
@media(max-width:540px){.header-inner{padding:12px 15px;gap:5px}.brand{gap:8px}.brand-mark{width:38px;height:38px;font-size:22px;border-radius:11px}.brand-text strong{font-size:16px;letter-spacing:-.5px}.brand-text small{font-size:9px}.top-actions{gap:4px}.top-site-link{font-size:11px;padding:7px 4px;max-width:96px;text-align:center;line-height:1.2;white-space:normal}.magic-btn{font-size:12px;padding:10px 11px;border-radius:10px}.magic-btn span:last-child{display:none}.main-container{padding:15px 12px 28px}.hero{padding:25px 20px 27px;border-radius:17px}.hero h1{margin:11px 0 12px;letter-spacing:-1.1px;font-size:clamp(27px,8vw,38px)}.hero-copy p{font-size:13px}.hero-buttons{gap:9px}.hero-buttons .primary-btn,.hero-buttons .secondary-btn{font-size:12px;padding:11px 12px}.layout{margin-top:13px;gap:13px}.sidebar,.gallery-panel{border-radius:15px}.sidebar{padding:16px 13px}.sidebar-top h2{font-size:20px}.category-search-wrap{margin-bottom:13px}.nav-section{min-width:142px}.nav-section:first-child{min-width:195px}.category-link{font-size:11.5px;min-height:33px}.gallery-panel{padding:19px 13px}.gallery-intro{flex-wrap:wrap;gap:8px;margin-bottom:16px}.gallery-intro h2{font-size:23px}.gallery-intro p{font-size:11px}.image-count{margin:0}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.image-card{border-radius:10px}.zoom-hint{opacity:1;width:24px;height:24px;right:6px;bottom:6px}.bottom-invite{padding:17px 15px;gap:10px}.invite-icon{height:44px;width:44px}.bottom-invite h2{font-size:16px}.bottom-invite p{font-size:12px}.bottom-invite .primary-btn{margin-left:54px}.site-footer{padding:3px 18px 23px;flex-direction:column;align-items:start;gap:7px}.magic-dialog{width:calc(100vw - 20px)}.dialog-head{padding:16px 17px}.dialog-heading h2{font-size:19px}.dialog-symbol{height:39px;width:39px}.dialog-content{padding:17px}.result-actions{grid-template-columns:1fr}.photo-dialog{width:calc(100vw - 15px);padding:10px}.photo-dialog>img{max-height:72dvh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Empêche les menus horizontaux de dilater la grille sur mobile. */
.layout,.sidebar,.gallery-panel{min-width:0;max-width:100%}
@media(max-width:790px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar #categoryNav{width:100%;min-width:0}}

/* 2026 : logo personnel, boutons GIF-IA et rubriques blinkies dépliables */
.brand-logo{height:58px;width:58px;object-fit:contain;flex:0 0 58px;filter:drop-shadow(0 5px 7px rgba(40,23,79,.14))}
.brand-text strong{font-size:clamp(16px,1.8vw,23px)}
.magic-btn{font-size:17px;min-height:60px;padding:14px 24px;border-radius:15px;white-space:nowrap;letter-spacing:-.3px}
.button-svg{height:29px;width:29px;flex:none;filter:brightness(0) invert(1)}
.hero-magic{font-size:18px;min-height:57px;padding:14px 22px}
.bottom-invite .button-svg{height:26px;width:26px}
.nav-section{padding:0 3px 12px;margin-bottom:12px}
.nav-section[hidden]{display:none!important}
.nav-section .nav-items{padding:8px 2px 1px;animation:unfoldMenu .22s ease-out both}
@keyframes unfoldMenu{from{opacity:.1;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.blinkie-heading{position:relative;isolation:isolate;display:flex;align-items:center;gap:6px;justify-content:space-between;min-height:45px;padding:10px 12px;border:2px solid #dbc5ff;border-radius:12px;cursor:pointer;list-style:none;overflow:hidden;font-weight:800;font-size:13px;color:#643778;background:linear-gradient(120deg,#fff0fb 0%,#ebddff 31%,#fff6fc 52%,#e6dcff 76%,#ffecf7 100%);background-size:250% 250%;box-shadow:inset 0 1px #fff,0 4px 9px #704ca318;animation:blinkieColors 3.8s linear infinite}
.blinkie-heading::-webkit-details-marker{display:none}
.blinkie-heading::after{content:"";position:absolute;pointer-events:none;inset:-45% -25%;transform:translateX(-130%) rotate(15deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:blinkieFlash 3.9s linear infinite;z-index:-1}
.blinkie-heading:hover{filter:saturate(1.28);border-color:#c99cf3}
.nav-section[open]>.blinkie-heading{color:#fff;border-color:#bd8be7;background:linear-gradient(100deg,#6c3fac,#b45ebd,#e26aa4,#8b4ac7);background-size:250% 250%;box-shadow:0 5px 14px #6740a82b}
.blinkie-shine{display:inline-block;flex:none;color:#e746a5;text-shadow:0 0 7px #e8abff;font-size:16px;animation:blinkieTwinkle 1.7s steps(2,end) infinite}
.nav-section[open] .blinkie-shine{color:#fff1a4}
.blinkie-label{flex:1;min-width:0}
.blinkie-chevron{font-size:20px;line-height:1;transition:transform .2s}
.nav-section[open] .blinkie-chevron{transform:rotate(180deg)}
@keyframes blinkieColors{0%{background-position:0 50%}100%{background-position:100% 50%}}
@keyframes blinkieFlash{0%,54%{transform:translateX(-130%) rotate(15deg)}80%,100%{transform:translateX(130%) rotate(15deg)}}
@keyframes blinkieTwinkle{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.82)}}
.admin-pi{position:fixed;left:10px;bottom:8px;z-index:15;height:29px;width:29px;border-radius:50%;border:1px solid #beb5ca;background:#ffffffd9;color:#9c92aa;font:italic 19px/29px Georgia,serif;text-align:center;box-shadow:0 3px 12px #180e2420;opacity:.42;transition:opacity .2s,color .2s}
.admin-pi:hover,.admin-pi:focus-visible{opacity:1;color:#6943ae}
@media(max-width:790px){.header-inner{gap:10px}.brand-logo{width:47px;height:47px;flex-basis:47px}.magic-btn{min-height:51px;font-size:14px;padding:10px 13px}.magic-btn .button-svg{height:25px;width:25px}.blinkie-heading{min-height:48px;font-size:13px}.nav-section{margin-bottom:10px}}
@media(max-width:470px){.brand-text small{font-size:10px}.brand-text strong{font-size:15px}.magic-btn{padding:9px 12px;font-size:13px;gap:5px}.magic-btn .button-svg{height:23px;width:23px}.top-actions{gap:5px}.hero-magic{width:100%;font-size:17px}.admin-pi{left:6px;bottom:6px}}
@media(prefers-reduced-motion:reduce){.blinkie-heading,.blinkie-heading::after,.blinkie-shine,.nav-section .nav-items{animation:none!important}}
/* Sur mobile : vrais accordéons verticaux et bouton de création entier, bien visible. */
@media(max-width:790px){
  .sidebar #categoryNav{display:grid;grid-template-columns:1fr;gap:9px;overflow:visible;scroll-snap-type:none;padding:0}
  .sidebar .nav-section,.sidebar .nav-section:first-child{min-width:0;width:100%;border:0;padding:0;margin:0}
  .nav-section .nav-items{padding:6px 4px 1px}
}
@media(max-width:540px){
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:9px 6px;padding:11px 15px}
  .brand{grid-column:1;grid-row:1}
  .top-actions{display:contents}
  .top-site-link{grid-column:2;grid-row:1;max-width:none;font-size:11px;white-space:normal;text-align:right}
  .magic-btn{grid-column:1/-1;grid-row:2;width:100%;min-height:53px;font-size:17px;border-radius:12px;padding:11px 16px}
  .magic-btn span:last-child{display:inline}
  .magic-btn .button-svg{width:27px;height:27px}
  .brand-logo{width:45px;height:45px;flex-basis:45px}
  .brand-text strong{font-size:17px}
  .brand-text small{font-size:10px}
}


/* V4 – Blinkies rétro animés, comme des bandeaux GIF scintillants.
   Fonds GIF animés réels, mais texte HTML net et accessible. */
.site-header .header-inner{max-width:1290px;min-height:92px;align-items:center;gap:20px}
.site-header .brand{gap:15px;min-width:0}
.site-header .brand-logo{height:77px;width:77px;flex:0 0 77px;object-fit:contain;filter:none;display:block}
.site-header .brand-text strong{font-size:clamp(19px,2vw,27px);letter-spacing:-.7px}
.site-header .brand-text small{font-size:12px}
.site-header .top-actions{gap:16px;flex-shrink:0}
.site-header .top-site-link{display:inline-flex;align-items:center;gap:9px;justify-content:center;white-space:nowrap;max-width:none;line-height:1.1;padding:11px 16px;background:#fff2fb;color:#502977;border:2px solid #de8cc9;border-radius:15px;font-size:clamp(16px,1.5vw,20px);font-weight:900;box-shadow:0 3px 0 #efd2ec,0 8px 22px #bb79b429;transition:transform .18s,background .18s}
.site-header .top-site-link:hover{background:#fce2f3;transform:translateY(-2px)}
.site-header .top-site-icon{font-size:1.5em;line-height:1}
.site-header .magic-btn{min-height:64px;gap:12px;font-size:18px;padding:13px 23px}
.button-svg{height:32px;width:32px;flex:0 0 auto;color:currentColor;filter:none!important;display:block}
.primary-btn .button-svg,.magic-btn .button-svg{stroke:currentColor;fill:none}
.hero-buttons{align-items:center;gap:14px}
.hero-buttons .hero-magic{min-height:77px;font-size:clamp(19px,2vw,23px);padding:19px 29px;border-radius:17px;gap:14px;box-shadow:0 12px 30px #9658af3a}
.hero-buttons .hero-magic .button-svg{height:40px;width:40px}
.bottom-invite .primary-btn{font-size:17px;min-height:60px;gap:10px}
.bottom-invite .button-svg{height:32px;width:32px}
.generate-btn{min-height:60px;font-size:17px;gap:10px}
.dialog-symbol .button-svg,.invite-icon .button-svg{height:27px;width:27px;color:#9654bd}
/* petits blinkies façon web 2000, contrastés et nettement animés */
.sidebar #categoryNav{display:grid;gap:10px;min-width:0}
.sidebar .nav-section{min-width:0;width:100%;padding:0;margin:0;border:0}
.sidebar .blinkie-heading{background:#f8e5f4;animation:none;isolation:isolate;position:relative;min-height:55px;padding:9px 17px 9px 26px;display:flex;align-items:center;gap:6px;overflow:hidden;list-style:none;cursor:pointer;border:3px solid #d37cbe;border-radius:6px;color:#43245f;font-size:13.5px;font-weight:900;text-shadow:0 1px 0 #fff,0 0 4px #fff;box-shadow:0 3px 0 #caa4d1,0 6px 12px #b071c42d;transition:transform .18s,box-shadow .18s;}
.sidebar .blinkie-heading::-webkit-details-marker{display:none}
.sidebar .nav-section--0 .blinkie-heading{background:#ffddf4 url('blinkie-0.gif') center/100% 100% no-repeat;border-color:#d776b2}
.sidebar .nav-section--1 .blinkie-heading{background:#ffedc6 url('blinkie-1.gif') center/100% 100% no-repeat;border-color:#dc9b60}
.sidebar .nav-section--2 .blinkie-heading{background:#eedbff url('blinkie-2.gif') center/100% 100% no-repeat;border-color:#ac74cf}
.sidebar .nav-section--3 .blinkie-heading{background:#d5fae6 url('blinkie-3.gif') center/100% 100% no-repeat;border-color:#6dbca5}
.sidebar .nav-section--4 .blinkie-heading{background:#e0eaff url('blinkie-4.gif') center/100% 100% no-repeat;border-color:#839fe0}
.sidebar .blinkie-heading::before{content:'';position:absolute;inset:4px;z-index:-1;background:linear-gradient(90deg,transparent 0%,#ffffff88 26%,#ffffffae 50%,#ffffff77 74%,transparent 100%);pointer-events:none}
.sidebar .blinkie-heading::after{content:'✦';font-size:25px;position:absolute;z-index:0;right:15px;top:1px;color:#fff;text-shadow:0 0 4px #fff,0 0 14px #d836b8;pointer-events:none;opacity:0;animation:blinkieRealFlash 1.55s steps(1,end) infinite;transform:none;background:none;inset:auto}
.sidebar .blinkie-heading:hover,.sidebar .blinkie-heading:focus-visible{transform:translateY(-1px);box-shadow:0 4px 0 #bd96cc,0 8px 18px #ac5dac45}
.sidebar .nav-section[open]>.blinkie-heading{color:#43245f;filter:saturate(1.1);box-shadow:0 2px 0 #aa77b4,inset 0 0 0 2px #fff9;background-size:100% 100%;border-width:3px}
.sidebar .blinkie-shine{color:#d04394;font-size:18px;flex:0 0 auto;text-shadow:0 0 5px #fff,0 0 8px #d44ba9;animation:blinkieRealTwinkle 1s steps(2,end) infinite}
.sidebar .blinkie-label{position:relative;z-index:1;flex:1;min-width:0;line-height:1.3;text-align:center;white-space:normal}
.sidebar .blinkie-chevron{position:relative;z-index:1;flex:none;line-height:1;font-size:23px;color:#643679;font-weight:900;transition:transform .18s}
.sidebar .nav-section[open] .blinkie-chevron{transform:rotate(180deg)}
.sidebar .nav-section .nav-items{padding:10px 4px 3px 7px;margin:0 6px;border-left:3px dotted #de97c8;border-radius:0 0 0 5px;animation:unfoldMenu .18s ease-out both}
.sidebar .category-link{font-size:13px;min-height:39px}
.sidebar .nav-section[open]>.blinkie-heading .blinkie-shine{color:#b72281}
@keyframes blinkieRealFlash{0%,30%,61%,100%{opacity:0}31%,60%{opacity:1}}
@keyframes blinkieRealTwinkle{0%,49%{opacity:1;transform:scale(1.1)}50%,100%{opacity:.1;transform:scale(.7)}}
@media(max-width:1060px){
 .site-header .top-site-link{font-size:16px;padding:10px 13px}
 .site-header .magic-btn{font-size:16px;padding:11px 16px}
 .site-header .brand-logo{height:66px;width:66px;flex-basis:66px}
}
@media(max-width:790px){
 .sidebar #categoryNav{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;overflow:visible;padding:0}
 .sidebar .nav-section,.sidebar .nav-section:first-child{width:100%;min-width:0;margin:0;border:0;padding:0}
 .sidebar .blinkie-heading{min-height:58px;font-size:clamp(15px,3vw,19px)}
 .sidebar .category-link{font-size:14px;min-height:42px}
 .site-header .header-inner{padding:13px 19px}
 .site-header .brand-logo{height:64px;width:64px;flex-basis:64px}
}
@media(max-width:650px){
 .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:11px 8px;padding:12px 13px 15px;align-items:center}
 .site-header .brand{grid-column:1;grid-row:1;gap:8px}
 .site-header .brand-logo{height:61px;width:61px;flex:0 0 61px}
 .site-header .brand-text strong{font-size:clamp(15px,3.7vw,20px);white-space:normal;line-height:1.1}
 .site-header .brand-text small{font-size:10px;line-height:1.4}
 .site-header .top-actions{display:contents}
 .site-header .top-site-link{grid-column:2;grid-row:1;font-size:clamp(13px,3vw,17px);padding:10px 9px;max-width:180px;white-space:normal;text-align:center;line-height:1.14;box-shadow:0 3px 0 #efd2ec;gap:5px}
 .site-header .top-site-icon{font-size:1.4em}
 .site-header .top-site-name{max-width:120px}
 .site-header .magic-btn{grid-column:1/-1;grid-row:2;min-height:62px;width:100%;font-size:19px;gap:11px;display:inline-flex;padding:12px 20px;border-radius:13px}
 .site-header .magic-btn .button-svg{height:33px;width:33px}
 .hero-buttons .hero-magic{width:100%;min-height:77px;font-size:clamp(19px,4.7vw,23px);padding:17px 13px;gap:13px}
 .hero-buttons .hero-magic .button-svg{height:40px;width:40px}
}
@media(max-width:390px){
 .site-header .brand-logo{height:53px;width:53px;flex-basis:53px}
 .site-header .top-site-link{font-size:12.5px;padding:9px 7px;max-width:142px}
 .site-header .brand-text small{font-size:9px}
 .site-header .brand-text strong{font-size:15px}
 .hero-buttons .hero-magic{font-size:19px}
}
@media(prefers-reduced-motion:reduce){
 .sidebar .blinkie-heading,.sidebar .blinkie-heading::after,.sidebar .blinkie-shine{animation:none!important;transition:none!important}
 /* GIFs animés réels : masquer les images de fond quand le mouvement est réduit */
 .sidebar .nav-section--0 .blinkie-heading{background:#f9e4f5!important}
 .sidebar .nav-section--1 .blinkie-heading{background:#fdf0cb!important}
 .sidebar .nav-section--2 .blinkie-heading{background:#f0e0ff!important}
 .sidebar .nav-section--3 .blinkie-heading{background:#ddfae9!important}
 .sidebar .nav-section--4 .blinkie-heading{background:#e0ebff!important}
}

/* Lien du site principal volontairement lisible et dominant en haut à droite sur téléphone */
@media(min-width:351px) and (max-width:650px){
  .site-header .top-site-link{font-size:15px;max-width:174px;padding:11px 10px}
}
@media(max-width:390px){
  .site-header .brand-logo{height:57px;width:57px;flex-basis:57px}
}

/* V5 : bouton magique unique à la place des deux anciens boutons du bandeau rose. */
.site-header .header-inner{display:flex;grid-template-columns:none;grid-template-rows:none;justify-content:space-between;align-items:center;flex-wrap:nowrap}
.site-header .top-actions{display:flex;align-items:center}
.site-header .brand-logo{object-fit:contain;background:none;border:0;box-shadow:none;border-radius:0;filter:none}
.hero-buttons-single{display:flex;width:100%;margin-top:24px}
.hero-buttons-single .hero-magic{display:inline-flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:17px;min-height:88px;width:min(100%,520px);padding:20px 27px;font-size:clamp(22px,3vw,29px);font-weight:850;white-space:nowrap;border-radius:19px}
.hero-buttons-single .hero-magic .button-svg{width:45px;height:45px;flex:0 0 45px}
.hero-buttons-single .hero-magic span{white-space:nowrap}
@media(max-width:790px){.site-header .header-inner{display:flex;grid-template-columns:none;grid-template-rows:none}.site-header .top-actions{display:flex}.hero-buttons-single .hero-magic{width:100%;min-height:84px}}
@media(max-width:470px){.site-header .header-inner{display:flex;grid-template-columns:none;grid-template-rows:none;padding:12px 10px;gap:7px}.site-header .brand-logo{width:57px;height:57px;flex:0 0 57px}.site-header .brand-text strong{font-size:clamp(13px,3.7vw,17px)}.site-header .brand-text small{font-size:9px}.site-header .top-site-link{max-width:unset;font-size:clamp(11px,3.3vw,15px);padding:8px 9px}.hero-buttons-single{margin-top:24px}.hero-buttons-single .hero-magic{width:100%;min-height:82px;padding:16px 12px;font-size:clamp(21px,5.8vw,27px);gap:13px}.hero-buttons-single .hero-magic .button-svg{width:42px;height:42px;flex-basis:42px}}
