/* Onglet Énigmes Noxipotes — 19/11/2026.
   Seuls les sélecteurs de la page Énigmes et de la navigation joueur sont concernés.
   Rien ne modifie l'interface d'une chasse au trésor ou l'administration. */
body.role-explorer.view-enigmes .noxi-enigmes-page{
  max-width:840px;margin:12px auto 38px;padding:0 0 20px;
  color:#563820;
}
body.role-explorer.view-enigmes .noxi-enigmes-cover{
  display:flex;align-items:center;gap:clamp(13px,3vw,25px);
  margin:0 0 18px;padding:clamp(20px,4vw,34px);
  border:3px solid #896238;border-radius:22px;
  background:linear-gradient(148deg,#fff9e9,#f1d9b1);
  box-shadow:0 7px 0 #b48a52,0 14px 22px #54361e20;
}
body.role-explorer.view-enigmes .noxi-enigmes-cover-icon{
  flex:0 0 clamp(60px,13vw,90px);width:clamp(60px,13vw,90px);
  height:clamp(60px,13vw,90px);object-fit:contain;
  filter:drop-shadow(0 3px 2px #7e592d22);
}
body.role-explorer.view-enigmes .noxi-enigmes-kicker{font-size:11px;font-weight:900;letter-spacing:1.4px;color:#9c6b37}
body.role-explorer.view-enigmes .noxi-enigmes-cover h1{margin:5px 0 7px;font:900 clamp(23px,5vw,36px)/1.18 'Fraunces',Georgia,serif;color:#53351f;letter-spacing:-.4px}
body.role-explorer.view-enigmes .noxi-enigmes-cover p{margin:0;color:#7d5c3e;font-size:clamp(13px,2vw,16px)}
body.role-explorer.view-enigmes .noxi-home-feature{
  min-width:0;position:relative;padding:clamp(20px,4vw,34px);
  border:3px solid #896238;border-radius:23px;
  background:linear-gradient(145deg,#fffcf4,#f3e1c1);
  box-shadow:0 6px 0 #bb925a,0 14px 26px #6f49272a;
}
body.role-explorer.view-enigmes .noxi-home-feature-label{font-size:11px;letter-spacing:1.5px;font-weight:900;color:#a27641;margin:0 0 8px}
body.role-explorer.view-enigmes .noxi-home-feature h2{font:900 clamp(22px,4vw,31px)/1.25 'Fraunces',Georgia,serif;color:#51331e;margin:0 0 14px}
body.role-explorer.view-enigmes .noxi-home-feature h3{font:800 clamp(17px,3vw,21px)/1.3 'Fraunces',Georgia,serif;color:#58391f;margin:10px 0}
body.role-explorer.view-enigmes .noxi-home-feature p{font-size:15px;line-height:1.65;color:#674a32;white-space:pre-line;overflow-wrap:anywhere}
body.role-explorer.view-enigmes .noxi-home-riddle-form{margin-top:22px}
body.role-explorer.view-enigmes .noxi-home-riddle-form>label{display:block;font-size:14px;font-weight:900;color:#66482d;margin-bottom:9px}
body.role-explorer.view-enigmes .noxi-home-riddle-row{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
body.role-explorer.view-enigmes .noxi-home-riddle-row input{flex:1 1 210px;min-width:0;padding:12px 14px;font:inherit;font-size:15px;color:#543820;border:2px solid #b58d5d;border-radius:11px;background:#fffdf7;outline-offset:2px}
body.role-explorer.view-enigmes .noxi-home-reveal{flex:0 0 auto;cursor:pointer;font:inherit;font-weight:900;font-size:14px;background:linear-gradient(#a57340,#80512d);color:#fff9eb;border:2px solid #654123;border-radius:12px;box-shadow:0 3px 0 #634122;padding:10px 18px}
body.role-explorer.view-enigmes .noxi-home-reveal:hover{filter:brightness(1.05)}
body.role-explorer.view-enigmes .noxi-home-answer{margin-top:18px;padding:14px;border:1px solid #9ab47f;border-radius:12px;background:#ebf2de;color:#40663b;font-weight:800}
body.role-explorer.view-enigmes .noxi-solved-date{display:block;margin-top:6px;font-size:12px;color:#4b6f3e}
body.role-explorer.view-enigmes .noxi-riddle-hint{font-size:12px;color:#785532;margin:12px 0 0}
body.role-explorer.view-enigmes .noxi-riddle-feedback:empty{display:none}
body.role-explorer.view-enigmes .noxi-riddle-feedback{font-size:13px;font-weight:800;margin-top:12px;padding:12px 14px;border-radius:10px}
body.role-explorer.view-enigmes .noxi-riddle-feedback.is-error{background:#fff1e8;border:1px solid #ce977b;color:#88482b}
body.role-explorer.view-enigmes .noxi-riddle-feedback.is-success{background:#e7f1de;border:1px solid #94b581;color:#34613b}
body.role-explorer.view-enigmes .noxi-enigmes-footnote{font-size:12px;text-align:center;color:#8b6746;margin:24px 12px 0}
body.role-explorer.view-enigmes :is(input,button):focus-visible{outline:3px solid #4b85b7;outline-offset:3px}
/* Six boutons au maximum sur mobile, sans dépasser la largeur de l'écran. */
html body.role-explorer .bottom-nav{box-sizing:border-box!important;width:100%!important;max-width:100%!important;left:0!important;right:0!important;transform:none!important;justify-content:space-around!important;gap:2px!important;padding:5px max(4px,env(safe-area-inset-right,0px)) max(7px,env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px))!important}
html body.role-explorer .bottom-nav .nav-button{box-sizing:border-box!important;flex:1 1 0!important;min-width:0!important;max-width:none!important;padding:7px 1px!important;overflow:hidden!important;white-space:normal!important;text-align:center!important;font-size:clamp(8px,2.65vw,12px)!important;line-height:1.1!important}
@media(max-width:540px){
 html body.role-explorer .bottom-nav .nav-button .nav-symbol{width:clamp(30px,8vw,39px)!important;height:clamp(30px,8vw,39px)!important}
 html body.role-explorer .bottom-nav .nav-button .noxi-menu-icon-file{width:clamp(29px,7.8vw,38px)!important;height:clamp(29px,7.8vw,38px)!important}
 body.role-explorer.view-enigmes .noxi-enigmes-cover{padding:17px 14px;gap:12px}
 body.role-explorer.view-enigmes .noxi-home-riddle-row button{width:100%}
}
@media(max-width:380px){body.role-explorer.view-enigmes .noxi-enigmes-cover-icon{flex-basis:54px;width:54px;height:54px}}
