/* ===== V45 — Les réglages de la porte, en ordre ===== */
/* le bouton des réglages : un rond doré bien visible */
.r45-gear{width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;padding:0!important;margin:0 4px!important;
 display:inline-grid!important;place-items:center;font-size:20px!important;line-height:1!important;color:#32140b!important;
 background:radial-gradient(circle at 35% 30%,#fff3d0,#f1d58e 45%,#bd8b3e)!important;border:0!important;
 box-shadow:0 0 0 2px #f1d58e55,0 0 16px #f1d58e66!important;animation:r45glow 3s ease-in-out infinite}
@keyframes r45glow{50%{box-shadow:0 0 0 3px #f1d58e88,0 0 24px #f1d58eaa}}
@media (prefers-reduced-motion:reduce){.r45-gear{animation:none}}

/* la page */
#modalContent .r45-hidden{display:none!important}
.r45-hero{display:grid;justify-items:center;text-align:center;gap:6px;margin:4px 0 18px}
.r45-orb{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;font-size:36px;
 background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--kd-acc,#f1d58e) 55%,#fff),color-mix(in srgb,var(--kd-acc,#f1d58e) 35%,#2a0b14) 70%);
 box-shadow:0 0 0 3px color-mix(in srgb,var(--kd-acc,#f1d58e) 40%,transparent),0 0 36px color-mix(in srgb,var(--kd-acc,#f1d58e) 55%,transparent);animation:r45in .6s cubic-bezier(.2,1.4,.4,1) both}
@keyframes r45in{from{transform:scale(.6);opacity:0}}
.r45-hero small{font:800 10.5px 'Manrope',sans-serif;letter-spacing:.2em;color:var(--kd-acc,#f1d58e)}
.r45-hero h2{margin:0!important;font:600 30px/1.1 Georgia,serif!important;color:#fff}
.r45-hero p{margin:2px 0 0;max-width:42ch;color:#cbbbc0;font-size:12.5px;line-height:1.5}
.r45-sec{border:1px solid color-mix(in srgb,var(--kd-acc,#f1d58e) 28%,transparent);border-radius:20px;background:#ffffff06;padding:14px;margin:0 0 14px;display:grid;gap:12px;animation:r45up .5s ease both}
.r45-sec:nth-of-type(2){animation-delay:.05s}.r45-sec:nth-of-type(3){animation-delay:.1s}.r45-sec:nth-of-type(4){animation-delay:.15s}.r45-sec:nth-of-type(5){animation-delay:.2s}
@keyframes r45up{from{transform:translateY(10px);opacity:0}}
.r45-sh{display:flex;gap:11px;align-items:center}
.r45-ic{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:19px;background:color-mix(in srgb,var(--kd-acc,#f1d58e) 16%,transparent);border:1px solid color-mix(in srgb,var(--kd-acc,#f1d58e) 30%,transparent)}
.r45-sh b{display:block;color:#f9f1e8;font:700 15px 'Manrope',sans-serif}
.r45-sh small{display:block;color:#cbbbc0;font-size:12px;margin-top:1px}
.r45-body{display:grid;gap:10px}
/* les cartes rangées dedans : plus de double cadre, plus de titre en double */
.r45-body>.k38-card,.r45-body>.k44-card,.r45-body>.sep354-card,.r45-body>.p27-settings,.r45-body>.p27-invs{border:0!important;background:none!important;padding:0!important;margin:0!important;box-shadow:none!important}
.r45-body>.k38-card>.k38-h,.r45-body>.k44-card>.k44-h,.r45-body>.sep354-card>.sep354-row>.sep354-ic{display:none!important}
.r45-body>.p27-settings>.p27-sec:first-child{display:none}
.r45-body>.memory-card{margin:0!important;font-size:15px!important;padding:14px!important}
.r45-body>button{width:100%!important;margin:0!important}
.r45-door .r45-body{grid-template-columns:1fr 1fr}
.r45-door .r45-body>*:only-child{grid-column:1/-1}
@media (max-width:360px){.r45-door .r45-body{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.r45-sec,.r45-orb{animation:none}}
/* retouches : titres alignés, sous-titres simples, boutons pleine largeur */
.r45-sh{text-align:left}
.r45-sh>span:last-child{display:grid;gap:2px;min-width:0}
.r45-sh b,.r45-sh small{margin:0!important;padding:0!important}
.r45-sh small{text-transform:none!important;letter-spacing:0!important;font:500 12px/1.35 'Manrope',sans-serif!important;color:#cbbbc0!important}
.r45-door .r45-body{grid-template-columns:1fr!important}
.r45-door .r45-body>button{border-radius:999px!important;padding:12px 16px!important;font-size:14px!important;line-height:1.2!important;min-height:0!important;height:auto!important}
.r45-body .p27-mems{margin:0!important}
.r45-body .p27-mems>p.muted,.r45-body p.muted{margin:0!important}
.r45-body>.p27-settings{display:grid;gap:10px}
.r45-gear{width:34px!important;height:34px!important;min-width:34px!important;margin:0 2px!important;font-size:18px!important}
.r45-gear{margin:0!important}
