/* v7.48 — fenêtre « votre téléphone comme manette » (reprise du jeu de tir) */
#rr-phone-dialog{position:fixed;inset:0;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:28px;background:#171513;color:#f3ede1;border:1px solid #5c5143;border-radius:16px;box-shadow:0 20px 100px #0009;font:16px/1.5 'Chakra Petch',system-ui,sans-serif;text-align:left;z-index:99999}
#rr-phone-dialog::backdrop{background:#080604dd}
#rr-phone-dialog *{box-sizing:border-box}
#rr-phone-dialog h2{font:800 27px/1.15 'Chakra Petch',system-ui,sans-serif;letter-spacing:-.03em;margin:20px 0 16px;color:#ffcf58;text-shadow:none;transform:none}
#rr-phone-dialog p{margin:12px 0;color:#ddd3c3;font:15px/1.5 'Chakra Petch',system-ui,sans-serif}
#rr-phone-dialog a{display:block;color:#ffcf58;overflow-wrap:anywhere}
#rr-phone-dialog small{display:block;color:#b8ac99;margin-top:20px;font:13px/1.5 'Chakra Petch',system-ui,sans-serif}
.rr-phone-heading{display:flex;align-items:center;justify-content:space-between;color:#b8ac99;font-size:11px;letter-spacing:.14em}
#rr-phone-dialog button{appearance:none;transform:none;box-shadow:none;background:#302b24;color:#fff3d9;border:1px solid #65543e;border-radius:8px;padding:12px;font:700 12px/1.3 'Chakra Petch',system-ui,sans-serif;cursor:pointer;letter-spacing:0;text-shadow:none}
#rr-phone-dialog button:hover{background:#493b26;transform:none}
#rr-phone-dialog button:disabled{opacity:.45;cursor:wait}
#rr-phone-dialog [hidden]{display:none!important}
#rr-phone-dialog .rr-phone-heading button{font-size:24px;padding:0 10px;background:none;border:0}
#rr-phone-new{background:#ffcf58!important;color:#171513!important}
#rr-phone-code{font:800 clamp(26px,7vw,46px)/1.3 ui-monospace,monospace;letter-spacing:.1em;text-align:center;padding:20px 0;color:#fff3d9}
.rr-phone-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
/* petite fenêtre (écran partagé à 2 ou 4) : le code doit tenir sans défiler */
@media (max-height:520px){#rr-phone-dialog{padding:10px 16px;width:min(560px,calc(100vw - 16px));max-height:calc(100dvh - 12px)}#rr-phone-dialog h2{font-size:17px;margin:2px 0 4px}#rr-phone-dialog p{font-size:12px;line-height:1.3;margin:3px 0}#rr-phone-dialog small{display:none}#rr-phone-code{font-size:30px;padding:2px 0}.rr-phone-actions{margin-top:6px}#rr-phone-dialog button{padding:6px 10px}}
