/* R63: shared menu surfaces. Layout, scrolling, focus and input stay with
   their existing owners; these rules change presentation only. */
#pack185UiCanvas{filter:none!important}
html[data-sejm-theme="r45"] :is(#pack185SettingsHub,#pack182GfxPanel,#pack152GfxPanel,#b37HelpHub,#pack145ComboOverlay,#pack143MenuHelpOverlay,#pack141MenuHelpOverlay) :is(.sk-b55-modal-window,.p182-window,.window,.b37-card,.p145-card,.p143-card,.p141-card){
  border:1px solid #536373!important;
  border-top:3px solid #e8c981!important;
  border-image:none!important;
  border-radius:10px!important;
  background:#0b1724!important;
  box-shadow:0 18px 64px #000a!important;
}
html[data-sejm-theme="r45"] :is(#pack185SettingsHub,#pack182GfxPanel,#pack152GfxPanel,#b37HelpHub,#pack145ComboOverlay,#pack143MenuHelpOverlay,#pack141MenuHelpOverlay) button{
  border:1px solid #607080!important;
  border-image:none!important;
  border-radius:5px!important;
  background:#152536!important;
  color:#f4f0df!important;
  box-shadow:none!important;
  min-height:48px!important;
  line-height:1.3!important;
}
html[data-sejm-theme="r45"] :is(#pack185SettingsHub,#pack182GfxPanel,#pack152GfxPanel,#b37HelpHub,#pack145ComboOverlay,#pack143MenuHelpOverlay,#pack141MenuHelpOverlay) button:hover{
  background:#243b50!important;
  border-color:#f1c76b!important;
  filter:none!important;
}
html[data-sejm-theme="r45"] #pack185SettingsHub :is(button[aria-pressed="true"],.sk-b55-difficulty-grid button.active,.sk-b55-modal-window>footer button),
html[data-sejm-theme="r45"] #pack182GfxPanel .p182-buttons .primary{
  background:#efd394!important;
  color:#0b1724!important;
  border-color:#ffe7ae!important;
  box-shadow:none!important;
}
html[data-sejm-theme="r45"] #pack185SettingsHub button.active small{color:#253a4b!important}
#pack185SettingsHub .sk-b55-setting-card{border-bottom-color:#394d60;background:transparent;}
#pack185SettingsHub .sk-b55-modal-window>header,
#pack185SettingsHub .sk-b55-modal-window>footer{background:#091420;border-color:#394d60;}
#pack185SettingsHub .sk-b55-setting-card h3{letter-spacing:normal;line-height:1.3;}
#pack185SettingsHub .sk-b55-setting-card p{color:#bcc9d4;font-size:14px;line-height:1.5;}
#pack185SettingsHub .sk-b55-modal-window h2{letter-spacing:normal;line-height:1.15;}
#r54-experience-hub .r54-hub-window{border-radius:10px;border:1px solid #536373;border-top:3px solid #e8c981;background:#0b1724;box-shadow:0 18px 64px #000a;}
#r54-experience-hub .r54-hub-window>header,
#r54-experience-hub .r54-hub-window>footer{background:#091420;border-color:#394d60;}
#r54-experience-hub .r54-hub-grid>button{border-radius:5px;border-color:#506173;background:#152536;box-shadow:none;}
#r54-experience-hub .r54-hub-grid>button:hover{background:#243b50;border-color:#f1c76b;}
#r54-experience-hub .r54-hub-grid>button small{color:#bcc9d4;line-height:1.4;}
@media (prefers-reduced-motion:reduce){
  #pack185SettingsHub *,#r54-experience-hub *{transition:none!important;animation:none!important;}
}
