/* NOXIPOTES — Maquette de connexion/inscription validée 19/11/2026.
   Scope strict : visiteurs de l'onglet Compte seulement.
   Le profil connecté, l'administration et le jeu ne changent pas.
   Illustration remplaçable : assets/noxi-detective.png. */
body.role-explorer .noxi-pages-stage{--brown:#553722;--ink:#4e3424;--taupe:#76543b;--gold:#c59b62;--gold2:#d3a464;--cream:#f9efd8;--paper:#fffaf0;--paper-light:#fffcf6;--bg:#f7ebcc;--border:#c59c62;box-sizing:border-box;max-width:1220px;margin:0 auto;color:var(--brown);font-family:"Trebuchet MS",Arial,sans-serif}
body.role-explorer .noxi-pages-stage *,body.role-explorer .noxi-pages-stage *::before,body.role-explorer .noxi-pages-stage *::after{box-sizing:border-box}
body.role-explorer .noxi-pages-stage button,body.role-explorer .noxi-pages-stage input{font:inherit}
body.role-explorer .noxi-pages-stage button{cursor:pointer}
body.role-explorer .noxi-pages-stage button:focus-visible,body.role-explorer .noxi-pages-stage input:focus-visible{outline:3px solid #a9773c;outline-offset:3px}
body.role-explorer .noxi-pages-stage input{font:inherit}
body.role-explorer .noxi-pages-stage .account-scene{position:relative;padding:clamp(25px,4.5vw,50px) 18px 54px;max-width:1220px;margin:0 auto}
body.role-explorer .noxi-pages-stage .account-scene::before{position:absolute;z-index:0;content:"";inset:0 0 auto;min-height:830px;pointer-events:none;opacity:.48;background:radial-gradient(circle at 7% 17%,#fff8e5 0 3px,transparent 3.5px),radial-gradient(circle at 90% 10%,#fffef7 0 4px,transparent 4.5px),radial-gradient(circle at 99% 57%,#fffdf6 0 3px,transparent 3.5px),radial-gradient(circle at 14% 63%,#d1a66e 0 2px,transparent 2.5px),radial-gradient(circle at 78% 82%,#fef7e3 0 4px,transparent 4.5px)}
body.role-explorer .noxi-pages-stage .scene-intro{position:relative;text-align:center;max-width:750px;margin:0 auto 37px}
body.role-explorer .noxi-pages-stage .eyebrow{letter-spacing:2.4px;font-size:12px;font-weight:900;color:#916433;display:flex;gap:14px;align-items:center;justify-content:center}
body.role-explorer .noxi-pages-stage .eyebrow span{font-size:18px;color:#b17a36}
body.role-explorer .noxi-pages-stage .scene-intro h1{margin:14px 0 10px;font:900 clamp(34px,5.2vw,58px)/1.08 Georgia,serif;letter-spacing:-1.6px;color:#513321;text-wrap:balance}
body.role-explorer .noxi-pages-stage .scene-intro h1 em{font-style:normal;color:#9e6935;white-space:nowrap}
body.role-explorer .noxi-pages-stage .scene-intro p{color:#795740;max-width:590px;margin:0 auto;font-size:15px;line-height:1.65}
body.role-explorer .noxi-pages-stage .account-layout{position:relative;max-width:1070px;margin:auto;display:grid;grid-template-columns:.87fr 1.13fr;align-items:stretch;gap:0;border:3px solid #805632;border-radius:28px;box-shadow:0 11px 0 #c6a270,0 20px 35px #87613631;background:#f8e6c2;overflow:hidden}
body.role-explorer .noxi-pages-stage .welcome-panel{position:relative;overflow:hidden;padding:25px 30px 26px;background:radial-gradient(ellipse at 50% 37%,#fffae6 0,#f5ddb0 58%,#e7c48f 100%);border-right:3px solid #8b5e34;display:flex;flex-direction:column;align-items:center;text-align:center}
body.role-explorer .noxi-pages-stage .welcome-panel:before{position:absolute;content:"";inset:12px;border:2px dashed #c49a61;border-radius:18px;pointer-events:none}
body.role-explorer .noxi-pages-stage .welcome-panel:after{position:absolute;content:"✦";bottom:130px;right:19px;font-size:42px;color:#e9c38b;pointer-events:none}
body.role-explorer .noxi-pages-stage .welcome-panel-top{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;position:relative;z-index:1}
body.role-explorer .noxi-pages-stage .seal{font-size:10px;letter-spacing:1.9px;font-weight:900;background:#80552f;color:#fff3d4;padding:9px 13px;border-radius:6px;box-shadow:0 3px 0 #c69b5c}
body.role-explorer .noxi-pages-stage .seal-mark{color:#956e41;font:700 14px Georgia,serif;font-style:italic}
body.role-explorer .noxi-pages-stage .character-stage{position:relative;width:100%;display:flex;align-items:center;flex-direction:column;padding:18px 0 10px}
body.role-explorer .noxi-pages-stage .character-halo{position:absolute;top:34px;left:50%;transform:translateX(-50%);width:232px;height:232px;border-radius:50%;background:radial-gradient(circle,#fff9e9 0 51%,#f4d498 52% 55%,#6e492d 56% 57%,transparent 58%);filter:drop-shadow(0 4px 0 #d2aa70)}
body.role-explorer .noxi-pages-stage .detective{position:relative;z-index:1;width:min(200px,68%);height:200px;border-radius:50%;object-fit:cover;border:5px solid #fff8e8;outline:3px solid #835b39;box-shadow:0 6px 0 #bf955d;transform:rotate(-4deg)}
body.role-explorer .noxi-pages-stage .speech{position:relative;z-index:2;display:flex;flex-direction:column;gap:6px;max-width:350px;min-width:88%;margin-top:-10px;padding:18px 19px 19px;background:#fffaf0;border:3px solid #69462b;border-radius:23px 23px 24px 14px;box-shadow:5px 7px 0 #caa069;transform:rotate(1.2deg)}
body.role-explorer .noxi-pages-stage .speech:before{content:"";position:absolute;top:-12px;left:31%;width:19px;height:19px;transform:rotate(45deg);background:#fffaf0;border-left:3px solid #69462b;border-top:3px solid #69462b}
body.role-explorer .noxi-pages-stage .speech strong{font:900 23px/1.2 Georgia,serif;color:#593822}
body.role-explorer .noxi-pages-stage .speech>span:not(.speech-star){font-size:13px;line-height:1.5;color:#876044}
body.role-explorer .noxi-pages-stage .speech-star{position:absolute;right:12px;top:5px;color:#c3945e;font-size:18px}
body.role-explorer .noxi-pages-stage .welcome-line{width:70%;height:1px;margin:20px auto 13px;background:linear-gradient(90deg,transparent,#bd9766,transparent)}
body.role-explorer .noxi-pages-stage .welcome-panel h2{font:900 20px/1.25 Georgia,serif;margin:0 0 14px;color:#573720}
body.role-explorer .noxi-pages-stage .perks{position:relative;z-index:1;padding:0;margin:0;width:100%;max-width:335px;list-style:none;text-align:left}
body.role-explorer .noxi-pages-stage .perks li{display:flex;align-items:flex-start;gap:10px;font-size:12.5px;line-height:1.45;color:#73513a;padding:8px 0}
body.role-explorer .noxi-pages-stage .perk-icon{color:#956334;display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;background:#fff9e9;border:1.5px solid #b68c57;font-size:14px}
body.role-explorer .noxi-pages-stage .panel-bottom{margin-top:auto;padding-top:22px;font-size:9px;letter-spacing:1.3px;font-weight:800;color:#a3784a}
body.role-explorer .noxi-pages-stage .form-board{position:relative;padding:clamp(19px,3vw,34px);background:repeating-linear-gradient(90deg,#f9ecd1 0 2px,#f8eacd 2px 4px);display:flex;align-items:center}
body.role-explorer .noxi-pages-stage .board-tags{position:absolute;right:27px;top:10px;display:flex;gap:9px;color:#c39a64;font-size:15px}
body.role-explorer .noxi-pages-stage .form-border{position:relative;width:100%;background:#fffbf1;border:2px solid #d0ab77;box-shadow:0 0 0 5px #f8ead0,0 6px 0 #ceab76;border-radius:19px;padding:clamp(20px,3vw,33px);overflow:hidden}
body.role-explorer .noxi-pages-stage .form-border:before,body.role-explorer .noxi-pages-stage .form-border:after{content:"✦";position:absolute;color:#dfbb80;font-size:24px;pointer-events:none}
body.role-explorer .noxi-pages-stage .form-border:before{left:11px;top:9px}
body.role-explorer .noxi-pages-stage .form-border:after{right:11px;bottom:7px}
body.role-explorer .noxi-pages-stage .board-intro{text-align:center;margin-bottom:20px}
body.role-explorer .noxi-pages-stage .form-overline{display:block;font-size:10px;letter-spacing:1.5px;font-weight:900;color:#a27745}
body.role-explorer .noxi-pages-stage .board-intro h2{font:900 clamp(27px,3vw,36px)/1.15 Georgia,serif;color:#53341f;margin:9px 0 8px;letter-spacing:-.7px}
body.role-explorer .noxi-pages-stage .board-intro p{font-size:13px;color:#876344;line-height:1.55;margin:0}
body.role-explorer .noxi-pages-stage .mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#f0e0bd;border:1.5px solid #e2caa0;border-radius:13px;margin:22px 0 23px}
body.role-explorer .noxi-pages-stage .mode-switch button{border:2px solid transparent;border-radius:9px;background:transparent;color:#806347;padding:12px 6px;font-size:13px;font-weight:900;white-space:nowrap}
body.role-explorer .noxi-pages-stage .mode-switch button.active{background:#77512f;color:#fff8e9;border-color:#60402a;box-shadow:0 3px 0 #bd9666}
body.role-explorer .noxi-pages-stage .mode-switch button span{margin-right:3px}
body.role-explorer .noxi-pages-stage .account-form{position:relative;z-index:1}
body.role-explorer .noxi-pages-stage .input-label{display:block;font-size:13px;color:#644127;font-weight:900;margin:17px 0 9px}
body.role-explorer .noxi-pages-stage .input-label small{color:#c09758}
body.role-explorer .noxi-pages-stage .username-field,body.role-explorer .noxi-pages-stage .password-field{display:flex;align-items:stretch;background:#fffdf7;border:2px solid #c6aa81;border-radius:11px;min-height:53px;box-shadow:inset 0 2px 4px #bda78322;overflow:hidden;transition:border-color .2s}
body.role-explorer .noxi-pages-stage .username-field:focus-within,body.role-explorer .noxi-pages-stage .password-field:focus-within{border-color:#8b6035}
body.role-explorer .noxi-pages-stage .noxi-prefix{padding:14px 15px;min-width:77px;background:#f0ddb9;border-right:1.5px solid #c7a471;color:#785029;font-weight:900}
body.role-explorer .noxi-pages-stage .account-form input{min-width:0;width:100%;background:none;outline:none;border:0;font-size:15px;padding:14px;color:#513720}
body.role-explorer .noxi-pages-stage .account-form input::placeholder{color:#bda88c}
body.role-explorer .noxi-pages-stage .account-form input:focus-visible{outline:none}
body.role-explorer .noxi-pages-stage .username-sample{font-size:12px;color:#8d6947;margin:10px 2px 16px}
body.role-explorer .noxi-pages-stage .username-sample strong{color:#986127}
body.role-explorer .noxi-pages-stage .password-field button{display:flex;align-items:center;gap:5px;border:0;border-left:1px solid #d7be96;padding:0 13px;background:#f6e8cf;color:#7c5536;font-size:12px;font-weight:900}
body.role-explorer .noxi-pages-stage .password-field button:hover{background:#ead5af}
body.role-explorer .noxi-pages-stage .form-notice{display:flex;gap:11px;align-items:flex-start;background:#f6edda;border:1px dashed #c5a16c;border-radius:11px;padding:13px 14px;margin:21px 0 20px}
body.role-explorer .noxi-pages-stage .form-notice>span{font-size:22px;color:#b88543;line-height:1}
body.role-explorer .noxi-pages-stage .form-notice p{font-size:12px;line-height:1.5;margin:0;color:#88674a}
body.role-explorer .noxi-pages-stage .form-notice strong{color:#66452d}
body.role-explorer .noxi-pages-stage .main-button{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;min-height:55px;border:2px solid #5e3c26;border-radius:13px;background:linear-gradient(180deg,#b77c40,#8c542d);box-shadow:0 5px 0 #673f26;color:#fff9e8;font-size:16px;font-weight:900;text-shadow:0 1px #7f542e;transition:transform .1s,box-shadow .1s}
body.role-explorer .noxi-pages-stage .main-button:hover{background:linear-gradient(180deg,#c98a4b,#995c32)}
body.role-explorer .noxi-pages-stage .main-button:active{transform:translateY(3px);box-shadow:0 2px 0 #673f26}
body.role-explorer .noxi-pages-stage .main-button b{font-size:20px}
body.role-explorer .noxi-pages-stage .switch-hint{margin:19px 0 0;text-align:center;color:#84674e;font-size:12px}
body.role-explorer .noxi-pages-stage .switch-hint button{border:0;border-bottom:1px solid #9a6033;padding:0;color:#85502b;background:none;font-weight:900}
body.role-explorer .noxi-pages-stage .test-notice:empty{display:none}
body.role-explorer .noxi-pages-stage .test-notice{font-size:12px;margin:12px auto 0;text-align:center;padding:12px;background:#fff2d6;border-radius:10px;border:1px solid #ddbd89}
body.role-explorer .noxi-pages-stage .below-scene{text-align:center;margin:33px auto 0;color:#9b744e;font:italic 13px Georgia,serif}
body.role-explorer .noxi-pages-stage .below-scene span{font-size:23px;color:#bd9260;margin:0 10px;vertical-align:middle}
@media (max-width:780px){body.role-explorer .noxi-pages-stage .account-scene{padding:29px 12px 105px}
body.role-explorer .noxi-pages-stage .scene-intro{margin-bottom:23px}
body.role-explorer .noxi-pages-stage .scene-intro h1{font-size:clamp(31px,6vw,44px)}
body.role-explorer .noxi-pages-stage .scene-intro p{font-size:13px}
body.role-explorer .noxi-pages-stage .account-layout{grid-template-columns:1fr;max-width:560px;border-radius:20px;box-shadow:0 7px 0 #c6a270,0 12px 25px #87613626}
body.role-explorer .noxi-pages-stage .welcome-panel{border-right:0;border-bottom:3px solid #8b5e34;padding:16px 18px 17px}
body.role-explorer .noxi-pages-stage .welcome-panel:before{inset:8px;border-radius:12px}
body.role-explorer .noxi-pages-stage .welcome-panel-top{align-self:flex-start}
body.role-explorer .noxi-pages-stage .character-stage{display:grid;grid-template-columns:99px minmax(0,1fr);align-items:center;gap:0;padding:11px 0 4px}
body.role-explorer .noxi-pages-stage .character-halo{display:none}
body.role-explorer .noxi-pages-stage .detective{width:91px;height:91px;border:3px solid #fff8e8;outline:2px solid #835b39;box-shadow:0 3px 0 #bf955d;transform:rotate(-6deg)}
body.role-explorer .noxi-pages-stage .speech{margin:0 0 0 -2px;min-width:0;width:auto;max-width:none;padding:13px 13px 13px 18px;border-width:2px;box-shadow:3px 4px 0 #caa069;border-radius:15px 18px 19px 13px;transform:rotate(.6deg)}
body.role-explorer .noxi-pages-stage .speech:before{top:39%;left:-9px;width:14px;height:14px;border-width:2px;border:0;border-bottom:2px solid #69462b;border-left:2px solid #69462b}
body.role-explorer .noxi-pages-stage .speech strong{font-size:16px}
body.role-explorer .noxi-pages-stage .speech>span:not(.speech-star){font-size:11px}
body.role-explorer .noxi-pages-stage .speech-star{font-size:12px;right:7px;top:3px}
body.role-explorer .noxi-pages-stage .welcome-line,body.role-explorer .noxi-pages-stage .welcome-panel h2,body.role-explorer .noxi-pages-stage .perks,body.role-explorer .noxi-pages-stage .panel-bottom,body.role-explorer .noxi-pages-stage .seal-mark{display:none}
body.role-explorer .noxi-pages-stage .seal{font-size:9px;letter-spacing:1.2px;padding:6px 10px}
body.role-explorer .noxi-pages-stage .form-board{padding:13px}
body.role-explorer .noxi-pages-stage .form-border{padding:22px 17px 20px}
body.role-explorer .noxi-pages-stage .board-intro h2{font-size:28px}
body.role-explorer .noxi-pages-stage .board-intro p{font-size:12px}
body.role-explorer .noxi-pages-stage .below-scene{display:none}}
@media (max-width:385px){body.role-explorer .noxi-pages-stage .eyebrow{font-size:10px;letter-spacing:1.7px}
body.role-explorer .noxi-pages-stage .scene-intro h1{font-size:31px}
body.role-explorer .noxi-pages-stage .mode-switch button{font-size:11px}
body.role-explorer .noxi-pages-stage .mode-switch button span{margin-right:0}
body.role-explorer .noxi-pages-stage .form-border{padding:19px 13px}
body.role-explorer .noxi-pages-stage .board-intro h2{font-size:25px}
body.role-explorer .noxi-pages-stage .welcome-panel{padding-left:12px;padding-right:12px}}
/* Le thème global impose des styles !important aux champs : préserver le vrai rendu de la maquette. */
body.role-explorer .noxi-pages-stage .username-field input,
body.role-explorer .noxi-pages-stage .password-field input{
 background:transparent!important;color:#513720!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;outline:none!important;min-width:0!important;width:100%!important;
 padding:14px!important;margin:0!important;min-height:0!important;height:auto!important;
}
body.role-explorer .noxi-pages-stage .username-field input:focus-visible,
body.role-explorer .noxi-pages-stage .password-field input:focus-visible{
 outline:2px solid #aa773a!important;outline-offset:-4px!important;
}
body.role-explorer .noxi-pages-stage .mode-switch button,
body.role-explorer .noxi-pages-stage .password-field button,
body.role-explorer .noxi-pages-stage .switch-hint button,
body.role-explorer .noxi-pages-stage .main-button{appearance:none!important;text-decoration:none!important;box-shadow:initial;}
body.role-explorer .noxi-pages-stage .mode-switch button.active{box-shadow:0 3px 0 #bd9666!important;}
body.role-explorer .noxi-pages-stage .main-button{box-shadow:0 5px 0 #673f26!important;}
body.role-explorer .noxi-pages-stage .main-button:active{box-shadow:0 2px 0 #673f26!important;}
body.role-explorer .noxi-pages-stage .account-form input::placeholder{color:#bda88c!important;opacity:1}
body.role-explorer .noxi-pages-stage .password-field button{
 flex-shrink:0!important;min-width:87px!important;white-space:nowrap!important;
}
body.role-explorer .noxi-pages-stage .account-form{margin:0!important;max-width:none!important;}
body.role-explorer .noxi-pages-stage .account-form>button[type="submit"]{width:100%!important;}
body.role-explorer .noxi-pages-stage .account-scene{padding-top:clamp(19px,3vw,42px)!important;}
@media(max-width:780px){
 body.role-explorer .noxi-pages-stage .account-scene{padding:18px 0 60px!important}
 body.role-explorer .noxi-pages-stage .form-board{min-width:0!important}
 body.role-explorer .noxi-pages-stage .username-field input,
 body.role-explorer .noxi-pages-stage .password-field input{font-size:16px!important;}
}


/* ---------------------------------------------------------------
   Identité des cinq onglets : mêmes composants que la connexion.
   Contenus / données / handlers restent ceux du vrai site.
   Toutes les règles sont enfermées dans .noxi-pages-stage.
   --------------------------------------------------------------- */
body.role-explorer .noxi-pages-stage .account-scene{position:relative!important;margin:0 auto!important;max-width:1220px!important;padding:clamp(20px,3vw,42px) 14px 58px!important;box-sizing:border-box!important;}
body.role-explorer .noxi-pages-stage .account-layout{max-width:1070px!important;grid-template-columns:.87fr 1.13fr!important;}
body.role-explorer .noxi-pages-stage .scene-intro{text-align:center!important;max-width:750px!important;margin:0 auto 32px!important;}
body.role-explorer .noxi-pages-stage .scene-intro h1{color:#513321!important;}
body.role-explorer .noxi-pages-stage .welcome-panel{min-width:0!important}
body.role-explorer .noxi-pages-stage .form-board{min-width:0!important}
body.role-explorer .noxi-pages-stage .form-border{min-width:0!important;min-height:480px!important;}
body.role-explorer .noxi-pages-stage .character-stage{flex-grow:0!important}
body.role-explorer .noxi-pages-stage .detective{object-fit:cover!important;}
body.role-explorer .noxi-pages-stage .speech{text-align:center!important;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content{position:relative!important;min-width:0!important;width:100%!important;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content *,body.role-explorer .noxi-pages-stage .noxi-harmonized-content *::before,body.role-explorer .noxi-pages-stage .noxi-harmonized-content *::after{box-sizing:border-box;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content button{cursor:pointer;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content button:focus-visible,body.role-explorer .noxi-pages-stage .noxi-harmonized-content input:focus-visible{outline:3px solid #986238!important;outline-offset:3px!important;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content :is(h1,h2,h3){color:#553820;}
body.role-explorer .noxi-pages-stage .board-intro h2{font-size:clamp(26px,3vw,36px)!important;}
body.role-explorer .noxi-pages-stage .board-intro p{margin:0 auto!important;max-width:480px!important;}
body.role-explorer .noxi-pages-stage .intro-ornament{margin:-1px auto 19px!important;text-align:center!important;color:#c49b65!important;letter-spacing:8px!important;}
/* Les anciennes entêtes sont remplacées par l'entête « carte de membre ». */
body.role-explorer .noxi-pages-stage .noxi-harmonized-content :is(.page-banner,.noxi-mystere-intro,.noxi-universe-heading,.noxi-carnet-heading,.noxi-mystere-guide,.noxi-account-welcome){display:none!important;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content :is(.noxi-carnet-chasses,.noxi-enigmes-page,.noxi-mystere,.noxi-universe-page){margin:0!important;width:100%!important;max-width:none!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
/* CHASSES : cartes de la maquette validée, remplies depuis les vraies chasses. */
body.role-explorer .noxi-pages-stage .noxi-demo-overline{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 16px;font-size:11px;font-weight:900;letter-spacing:1.2px;color:#916038;}
body.role-explorer .noxi-pages-stage .noxi-demo-tag{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:#f5e8d1;border:1px dashed #c59a63;border-radius:7px;font-size:10px;color:#8d653b;letter-spacing:.6px;font-weight:900;}
body.role-explorer .noxi-pages-stage .noxi-demo-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;margin-bottom:19px;background:#f1e0bc;border:1.5px solid #e0c79a;border-radius:12px;}
body.role-explorer .noxi-pages-stage .noxi-demo-filters button{appearance:none;background:transparent!important;box-shadow:none!important;color:#805b3c!important;border:0!important;border-radius:8px!important;min-width:0!important;padding:10px 4px!important;font:900 11px/1.3 'Trebuchet MS',sans-serif!important;white-space:normal;}
body.role-explorer .noxi-pages-stage .noxi-demo-filters button.active{background:#77512f!important;color:#fff9e9!important;box-shadow:0 3px 0 #be9969!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-chasses-list{display:grid;gap:14px;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure{position:relative;overflow:hidden;min-width:0;padding:16px;background:#fffaf0;border:2px solid #d1aa76;border-radius:14px;box-shadow:0 4px 0 #ddbe8f;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure.featured{border-color:#936338;background:linear-gradient(145deg,#fffdf6 35%,#f7e6c6);box-shadow:0 6px 0 #b88b59,0 8px 15px #7a553121;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure.featured::before{content:'';position:absolute;inset:8px;border:1px dashed #c99a62;border-radius:9px;pointer-events:none;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;}
body.role-explorer .noxi-pages-stage .noxi-demo-status{display:inline-block;padding:6px 9px;border-radius:100px;font-size:10px;font-weight:900;border:1px solid #caa16b;background:#f5e4ca;color:#8f5e32;white-space:nowrap;}
body.role-explorer .noxi-pages-stage .noxi-demo-status.running{background:#e8efdd;border-color:#a5bc91;color:#47683b;}
body.role-explorer .noxi-pages-stage .noxi-demo-status.done{background:#edf0e8;border-color:#b9c4b2;color:#52614b;}
body.role-explorer .noxi-pages-stage .noxi-demo-status.closed{background:#e9e2dc;color:#775f55;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure-row{position:relative;z-index:1;display:flex;gap:14px;align-items:flex-start;min-width:0;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure-icon{width:76px;min-width:76px;height:84px;display:grid;place-items:center;font-size:31px;background:#f4e4c4;border:2px solid #b78958;border-radius:11px;box-shadow:inset 0 0 0 5px #f8f0da;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure-info{flex:1;min-width:0;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure h3{font:900 21px/1.18 Georgia,serif!important;margin:0 0 8px!important;color:#543620!important;overflow-wrap:anywhere;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure p{font-size:12.5px!important;line-height:1.5!important;color:#856246!important;margin:0!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-small-tags{display:flex;flex-wrap:wrap;gap:5px;margin:11px 0 0;}
body.role-explorer .noxi-pages-stage .noxi-demo-small-tags span{padding:5px 7px;background:#f4e4c9;border:1px solid #ddbd8a;border-radius:6px;color:#895a35;font-size:10px;line-height:1.3;}
body.role-explorer .noxi-pages-stage .noxi-demo-progress-info{display:flex;justify-content:space-between;gap:8px;color:#7f5537;font-size:11px;font-weight:900;margin:17px 0 7px;}
body.role-explorer .noxi-pages-stage .noxi-demo-progress-track{height:9px;background:#f0e2c4;border:1px solid #c9a371;border-radius:50px;overflow:hidden;}
body.role-explorer .noxi-pages-stage .noxi-demo-progress-track span{display:block;height:100%;background:#94ad76;border-radius:50px;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure-btn{width:100%!important;min-height:43px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin-top:14px!important;border:2px solid #bb9466!important;border-radius:10px!important;background:#fff8e8!important;color:#795034!important;font:900 13px/1.3 'Trebuchet MS',sans-serif!important;box-shadow:0 3px 0 #dcc5a1!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-adventure-btn.is-primary{border-color:#6a442b!important;background:linear-gradient(#af7a46,#8f5a33)!important;color:#fff9ed!important;box-shadow:0 4px 0 #6d4429!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-empty{padding:24px 10px;text-align:center;color:#795a3a;}
body.role-explorer .noxi-pages-stage .noxi-test-entry{max-width:none!important;margin:0 0 18px!important;background:#f7ebd3!important;border:1.5px dashed #bd9767!important;box-shadow:none!important;}
/* ÉNIGMES : le vrai formulaire garde data-form='home-riddle', aucun changement d'API. */
body.role-explorer .noxi-pages-stage .noxi-mystere-stage{display:block!important;max-width:none!important;width:100%!important;margin:0!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-paper{position:relative!important;display:block!important;max-width:none!important;width:100%!important;margin:0 0 17px!important;padding:0!important;background:linear-gradient(160deg,#fffdfa,#faf0d9)!important;border:2px solid #c39a60!important;border-radius:13px!important;box-shadow:inset 0 0 0 6px #fff8e9,0 5px 0 #d3ae79!important;text-align:center!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-paper::before,body.role-explorer .noxi-pages-stage .noxi-mystere-paper::after{content:'✦';position:absolute;color:#bd8a50;font-size:20px;top:9px;z-index:3;}
body.role-explorer .noxi-pages-stage .noxi-mystere-paper::before{left:9px}body.role-explorer .noxi-pages-stage .noxi-mystere-paper::after{right:9px}
body.role-explorer .noxi-pages-stage .noxi-mystere-paper-inside{position:relative!important;margin:0!important;padding:22px 18px!important;background:none!important;border:0!important;box-shadow:none!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-sticker{display:inline-block!important;width:auto!important;max-width:100%!important;position:static!important;transform:none!important;margin:0 0 13px!important;background:#805732!important;color:white!important;border:0!important;border-radius:6px!important;padding:6px 11px!important;font:900 10px/1.4 'Trebuchet MS',sans-serif!important;letter-spacing:1.2px!important;box-shadow:none!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-chapter{display:none!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-paper h2{font:900 27px/1.15 Georgia,serif!important;color:#513321!important;margin:8px auto 12px!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-question{font:400 15px/1.7 Georgia,serif!important;color:#705239!important;margin:0 auto 16px!important;max-width:385px!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-dotted{border:0!important;border-top:1px dashed #cba36c!important;margin:16px 0!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-answer{padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;max-width:none!important;margin:0!important;text-align:left!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-answer>label{display:block!important;color:#634029!important;font:900 13px/1.35 'Trebuchet MS',sans-serif!important;margin:0 0 10px!important;text-align:left!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-inputbox{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:stretch!important;background:transparent!important;border:0!important;padding:0!important;}
body.role-explorer .noxi-pages-stage #noxiHomeAnswer{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;padding:15px!important;border:2px solid #c6aa81!important;border-radius:11px!important;background:#fffdf7!important;color:#52371f!important;font-size:16px!important;box-shadow:none!important;}
body.role-explorer .noxi-pages-stage .noxi-home-reveal{display:flex!important;width:100%!important;min-height:50px!important;justify-content:center!important;align-items:center!important;gap:10px!important;border:2px solid #5e3c26!important;border-radius:13px!important;background:linear-gradient(#b77c40,#8c542d)!important;box-shadow:0 5px 0 #673f26!important;color:#fff9e8!important;font-size:15px!important;font-weight:900!important;margin:0!important;}
body.role-explorer .noxi-pages-stage .noxi-riddle-hint{font:400 11px/1.5 'Trebuchet MS',sans-serif!important;color:#856449!important;text-align:center!important;margin:13px 0 0!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-bonus{display:flex!important;gap:12px!important;align-items:flex-start!important;margin:19px 0 0!important;padding:15px!important;background:#f7ecd7!important;border:1.5px dashed #bf9662!important;border-radius:12px!important;box-shadow:none!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-bonus-copy h2{font:900 15px Georgia,serif!important;margin:0!important;color:#664329!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-bonus-copy p{font:400 12px/1.5 'Trebuchet MS',sans-serif!important;color:#896446!important;margin:5px 0 0!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-bonus-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:12px!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-bonus-actions button{min-height:39px!important;padding:8px 11px!important;border-radius:9px!important;flex:1 1 120px!important;}
body.role-explorer .noxi-pages-stage .noxi-mystere-footnote{display:none!important;}
/* UNIVERS : portrait et fiche réelle de chaque personnage. */
body.role-explorer .noxi-pages-stage .noxi-universe-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;max-width:none!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-card{min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;padding:12px!important;border:2px solid #d1aa76!important;border-radius:14px!important;background:#fffaf0!important;box-shadow:0 4px 0 #ddbe8f!important;text-align:center!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-card:nth-child(3):last-child{grid-column:span 2!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;column-gap:12px!important;align-items:center!important;text-align:left!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-portrait{display:block!important;width:104px!important;height:104px!important;flex:none!important;background:transparent!important;border:0!important;border-radius:50%!important;margin:0 auto 11px!important;box-shadow:none!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-portrait img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-card:nth-child(3):last-child .noxi-universe-portrait{margin:0!important;grid-row:span 3!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-name{font:900 18px/1.2 Georgia,serif!important;color:#543620!important;margin:0 0 7px!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-teaser{font:400 12px/1.5 'Trebuchet MS',sans-serif!important;color:#856246!important;min-height:35px!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-discover{display:block!important;background:#f5e5c7!important;border:1px solid #c59b66!important;border-radius:9px!important;color:#744928!important;font:900 11px/1.35 'Trebuchet MS',sans-serif!important;padding:9px 7px!important;margin-top:11px!important;width:100%!important;text-align:center!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-detail{max-width:none!important;min-width:0!important;display:block!important;border:2px solid #d1aa76!important;border-radius:15px!important;background:#fffaf0!important;padding:16px!important;box-shadow:0 4px 0 #ddbe8f!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-detail-art img{max-height:260px!important;width:100%!important;object-fit:contain!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-back{margin-bottom:16px!important;}
/* CLASSEMENTS : vraies chasses cliquables et vrai tableau des résultats. */
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;max-width:none!important;margin:0!important;padding:0!important;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list .noxi-hunt-mini{display:grid!important;grid-template-columns:45px minmax(0,1fr)!important;gap:11px!important;align-items:center!important;padding:13px!important;border:2px solid #d1aa76!important;border-radius:14px!important;background:#fffaf0!important;box-shadow:0 4px 0 #ddbe8f!important;min-width:0!important;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list .noxi-hunt-mini-icon{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;background:#f0d29a!important;border:2px solid #9b7247!important;border-radius:50%!important;font-size:20px!important;grid-row:span 2!important;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list .noxi-hunt-mini-body{min-width:0!important;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list h3{font:900 16px/1.2 Georgia,serif!important;color:#543620!important;margin:0 0 6px!important;overflow-wrap:anywhere;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list .noxi-hunt-mini-location{font-size:11px!important;color:#856246!important;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list .noxi-hunt-mini-tags{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:7px!important;}
body.role-explorer .noxi-pages-stage .noxi-rank-hunt-list .noxi-hunt-mini-go{grid-column:2!important;margin-top:0!important;justify-self:stretch!important;min-height:36px!important;border-radius:8px!important;background:#fff8e8!important;border:1px solid #bb9466!important;color:#795034!important;box-shadow:0 3px 0 #dcc5a1!important;}
body.role-explorer .noxi-pages-stage .rank-table{min-width:0!important;max-width:100%!important;}
body.role-explorer .noxi-pages-stage .table-scroll{max-width:100%!important;overflow-x:auto!important;}
body.role-explorer .noxi-pages-stage .noxi-harmonized-content > .card{background:#fffaf0!important;border:2px solid #d1aa76!important;border-radius:12px!important;}
/* COMPTE CONNECTÉ : le vrai profil, les vrais badges et la popup existante. */
body.role-explorer .noxi-pages-stage .noxi-demo-profile{display:flex!important;gap:12px!important;align-items:center!important;padding:13px!important;background:#f7e9cf!important;border:2px dashed #c39a67!important;border-radius:12px!important;margin-bottom:18px!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile img{display:block!important;flex:none!important;width:72px!important;height:72px!important;border:3px solid #fff6e6!important;outline:2px solid #93643a!important;border-radius:50%!important;object-fit:cover!important;background:#f7e4c1!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile strong{display:block!important;margin:5px 0!important;font:900 21px/1.1 Georgia,serif!important;color:#54351f!important;overflow-wrap:anywhere;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile p{margin:0!important;font-size:12px!important;color:#815d40!important;line-height:1.45!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 18px!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile-stats>div{min-width:0!important;text-align:center!important;padding:12px 5px!important;background:#fffaf0!important;border:2px solid #d1aa76!important;border-radius:14px!important;box-shadow:0 4px 0 #ddbe8f!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile-stats strong{display:block!important;font:900 25px/1.1 Georgia,serif!important;color:#694325!important;}
body.role-explorer .noxi-pages-stage .noxi-demo-profile-stats span{display:block!important;margin-top:5px!important;font:900 10px/1.2 'Trebuchet MS',sans-serif!important;color:#8d6b4a!important;}
body.role-explorer .noxi-pages-stage .noxi-account-top{display:flex!important;align-items:center!important;justify-content:flex-end!important;margin:0 0 16px!important;gap:8px!important;}
body.role-explorer .noxi-pages-stage .noxi-account-top .noxi-account-name{display:none!important;}
body.role-explorer .noxi-pages-stage .noxi-account-top button{padding:9px 12px!important;font-size:12px!important;}
body.role-explorer .noxi-pages-stage .noxi-collection{width:100%!important;max-width:none!important;margin:0!important;padding:12px!important;background:#fffaf0!important;border:2px solid #d1aa76!important;border-radius:13px!important;box-shadow:0 4px 0 #ddbe8f!important;}
body.role-explorer .noxi-pages-stage .noxi-collection-head{display:flex!important;align-items:flex-start!important;gap:8px!important;justify-content:space-between!important;}
body.role-explorer .noxi-pages-stage .noxi-collection-head h2{font:900 20px Georgia,serif!important;}
body.role-explorer .noxi-pages-stage .noxi-collection-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;}
body.role-explorer .noxi-pages-stage .noxi-medallion{min-width:0!important;padding:10px 5px!important;border:1.5px solid #d1aa76!important;border-radius:13px!important;background:#fffaf0!important;box-shadow:0 3px 0 #ddbe8f!important;}
body.role-explorer .noxi-pages-stage .noxi-medallion-art{max-width:100%!important;}
body.role-explorer .noxi-pages-stage .noxi-medallion-name{overflow-wrap:anywhere!important;}
body.role-explorer .noxi-pages-stage .danger-zone{max-width:none!important;margin-top:20px!important;background:#fff8ed!important;}
@media(max-width:780px){
 body.role-explorer .noxi-pages-stage .account-scene{padding:18px 0 60px!important;}
 body.role-explorer .noxi-pages-stage .account-layout{grid-template-columns:1fr!important;max-width:560px!important;}
 body.role-explorer .noxi-pages-stage .scene-intro{margin:0 auto 22px!important;}
 body.role-explorer .noxi-pages-stage .form-board{padding:13px!important;}
 body.role-explorer .noxi-pages-stage .form-border{padding:22px 17px 20px!important;}
 body.role-explorer .noxi-pages-stage .welcome-panel{border-right:0!important;border-bottom:3px solid #8b5e34!important;}
 body.role-explorer .noxi-pages-stage .detective{width:91px!important;height:91px!important;}
 body.role-explorer .noxi-pages-stage .scene-intro h1{font-size:clamp(31px,6vw,44px)!important;}
 body.role-explorer .noxi-pages-stage .noxi-demo-adventure-icon{width:65px;min-width:65px;height:72px;font-size:26px;}
 body.role-explorer .noxi-pages-stage .noxi-demo-adventure-row{gap:10px;}
 body.role-explorer .noxi-pages-stage .noxi-demo-adventure h3{font-size:19px!important;}
}
@media(max-width:385px){
 body.role-explorer .noxi-pages-stage .form-border{padding:19px 13px!important;}
 body.role-explorer .noxi-pages-stage .noxi-demo-filters button{font-size:10px!important;padding:9px 2px!important;}
 body.role-explorer .noxi-pages-stage .noxi-demo-adventure-icon{width:51px;min-width:51px;height:62px;font-size:24px;}
 body.role-explorer .noxi-pages-stage .noxi-demo-adventure{padding:12px!important;}
 body.role-explorer .noxi-pages-stage .noxi-universe-card{padding:9px!important;}
 body.role-explorer .noxi-pages-stage .noxi-universe-portrait{width:83px!important;height:83px!important;}
 body.role-explorer .noxi-pages-stage .noxi-universe-card:nth-child(3):last-child{grid-template-columns:84px minmax(0,1fr)!important;}
 body.role-explorer .noxi-pages-stage .noxi-demo-profile img{width:55px!important;height:55px!important;}
 body.role-explorer .noxi-pages-stage .noxi-collection-grid{gap:6px!important;}
}

/* Corrections de priorité visuelle : les anciens styles « carnet d'énigmes »
   avaient des sélecteurs !important plus spécifiques. */
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-home-feature.noxi-mystere-paper{
 border:2px solid #c39a60!important;border-radius:13px!important;
 background:linear-gradient(160deg,#fffdfa,#faf0d9)!important;
 padding:0!important;margin:0 0 18px!important;
 box-shadow:inset 0 0 0 6px #fff8e9,0 5px 0 #d3ae79!important;overflow:hidden!important;
}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-paper::before{content:'✦'!important;inset:auto!important;top:9px!important;left:10px!important;background:none!important;transform:none!important;z-index:2!important;font-size:20px!important;color:#bd8a50!important;}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-paper-inside{
 border:0!important;border-radius:0!important;padding:25px 17px!important;
 background:transparent!important;box-shadow:none!important;
}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-paper h2{font:900 26px/1.16 Georgia,serif!important;letter-spacing:0!important;margin:10px auto 14px!important;}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-paper .noxi-mystere-question{font:400 15px/1.7 Georgia,serif!important;margin:0 auto 16px!important;color:#705239!important;max-width:385px!important;text-align:center!important;}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-inputbox{display:flex!important;flex-direction:column!important;align-items:stretch!important;overflow:visible!important;gap:11px!important;border:0!important;background:transparent!important;box-shadow:none!important;}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-inputbox input{min-height:50px!important;background:#fffdf7!important;border:2px solid #c6aa81!important;border-radius:11px!important;padding:15px!important;flex:1 1 auto!important;font-size:16px!important;}
body.role-explorer.view-enigmes .noxi-pages-stage .noxi-harmonized-content .noxi-mystere .noxi-mystere-inputbox button{min-height:50px!important;width:100%!important;border:2px solid #5e3c26!important;border-radius:12px!important;background:linear-gradient(#b77c40,#8c542d)!important;box-shadow:0 5px 0 #673f26!important;flex:1 1 auto!important;}
body.role-explorer .noxi-pages-stage .board-intro h2{color:#53341f!important;font-family:Georgia,serif!important;}
body.role-explorer .noxi-pages-stage .welcome-panel h2{color:#573720!important;font-family:Georgia,serif!important;}
body.role-explorer .noxi-pages-stage .noxi-universe-portrait img{border-radius:50%!important;}
