/* GLEEMON v17 — habillage de la console (autour des deux écrans) dans le style des nouvelles interfaces :
   bleu nuit, liserés cyan, accents jaune soleil, étoile GLEEMON. Chargé en dernier ; ne touche pas aux écrans eux-mêmes. */
body{background:
  radial-gradient(60% 45% at 50% 100%,rgba(42,184,240,.16),transparent 70%),
  radial-gradient(40% 30% at 12% 18%,rgba(255,210,63,.07),transparent 70%),
  repeating-linear-gradient(135deg,transparent 0 46px,rgba(42,184,240,.05) 46px 48px),
  radial-gradient(120% 90% at 50% 0%,#123c66 0%,#0a2240 50%,#040c1a 100%)!important}
body::after{content:"";position:fixed;inset:auto 0 0 0;height:38vh;pointer-events:none;opacity:.5;z-index:-1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M0 160V118c40-10 70-34 110-30s60 26 100 22 70-40 110-38 50 22 80 28v60z' fill='%2306142a'/%3E%3Cpath d='M0 160v-20c60-12 120 8 200-2s140-14 200 0v22z' fill='%23040c1a'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
.ds::before{background:linear-gradient(90deg,#2ab8f0,#3cd2ff 30%,#ffd23f 50%,#3cd2ff 70%,#2ab8f0)!important;height:4px!important;opacity:1!important}
/* cadres des écrans : bleu nuit, liseré cyan, coins jaunes */
.bezel{position:relative;padding:6px!important;border-radius:12px!important;background:linear-gradient(180deg,#123c66,#0a2240)!important;
  box-shadow:0 0 0 2px #2ab8f0,0 0 0 4px #06142a,0 0 22px rgba(42,184,240,.35),0 10px 26px rgba(0,0,0,.6)!important}
.bezel::before,.bezel::after{content:"";position:absolute;width:22px;height:22px;pointer-events:none;border:3px solid #ffd23f;z-index:3}
.bezel::before{left:-3px;top:-3px;border-right:0;border-bottom:0;border-radius:10px 0 0 0}
.bezel::after{right:-3px;bottom:-3px;border-left:0;border-top:0;border-radius:0 0 10px 0}
.bezel>.scr{box-shadow:0 0 0 2px #06142a!important}
/* croix directionnelle */
.dpad{filter:drop-shadow(0 5px 0 #040c1a) drop-shadow(0 0 10px rgba(42,184,240,.3))!important}
.dpad button,.dpad .mid{background:linear-gradient(180deg,#164a7a,#0c2a4e)!important;color:#ffd23f!important;text-shadow:0 2px 0 #06142a!important;border:0!important;box-shadow:inset 0 0 0 2px #2ab8f0}
.dpad [data-dir=up]{box-shadow:inset 2px 2px 0 #2ab8f0,inset -2px 0 0 #2ab8f0}
.dpad [data-dir=down]{box-shadow:inset 2px -2px 0 #2ab8f0,inset -2px 0 0 #2ab8f0}
.dpad [data-dir=left]{box-shadow:inset 2px 2px 0 #2ab8f0,inset 0 -2px 0 #2ab8f0}
.dpad [data-dir=right]{box-shadow:inset -2px 2px 0 #2ab8f0,inset 0 -2px 0 #2ab8f0}
.dpad .mid{box-shadow:none!important;background:radial-gradient(circle,#ffd23f 0 14%,#b8860b 15% 20%,transparent 21%),linear-gradient(180deg,#164a7a,#0c2a4e)!important}
.dpad button.on{background:linear-gradient(180deg,#ffe766,#ffc928)!important;color:#1c1405!important;text-shadow:none!important}
/* boutons A et B */
#btnA{background:radial-gradient(circle at 36% 30%,#fff2a8,#ffd23f 40%,#e89a10 80%,#a8660a)!important;color:#1c1405!important;text-shadow:0 1px 0 #fff2a8!important;
  box-shadow:0 5px 0 #040c1a,0 0 0 3px #06142a,0 0 0 5px #2ab8f0,0 0 16px rgba(255,210,63,.45)!important}
#btnB{background:radial-gradient(circle at 36% 30%,#3a8fe8,#164a7a 55%,#0a2240)!important;background-size:auto!important;color:#fff!important;text-shadow:0 2px 0 #06142a!important;
  box-shadow:0 5px 0 #040c1a,0 0 0 3px #06142a,0 0 0 5px #2ab8f0!important}
.ab button.on{transform:translateY(3px)}
.ab div{color:#bfeaff!important;text-shadow:0 1px 0 #06142a}
/* boutons START / PLEIN ÉCRAN / SAUVER */
.ctl-m .pill{border-radius:10px!important;letter-spacing:.06em}
.ctl-m .logo{filter:drop-shadow(0 0 10px rgba(255,210,63,.35))}
.ctl-m{position:relative;z-index:1}.ctl-l,.ctl-r,.screens{position:relative;z-index:1}
/* police des grandes tuiles de combat : bloc épais façon logo (lisible : « SAC » ne ressemble plus à « SAO ») */
#battlepane.combat-ui .combat-command span{font-family:"Arial Black","Trebuchet MS",system-ui,sans-serif!important;font-weight:900!important;font-size:25px!important;-webkit-text-stroke:1px rgba(0,0,0,.35)}
