.bloom-arcade-menu {
  box-sizing: border-box;
  width: min(29rem, calc(100vw - 20px));
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 0;
  border: 2px solid #ba804c;
  border-radius: 13px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #241e21;
  color: #fff2d6;
  box-shadow: inset 0 0 0 3px #161015, 0 20px 75px #0a0611bd;
  font: 400 1rem/1.4 system-ui, sans-serif;
}
.bloom-arcade-menu::backdrop { background: #0f0914c9; }
.bloom-door { padding: .9rem 1.2rem 1rem; }
.bloom-door header {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .5rem;
  padding: .6rem 0 .8rem !important;
  min-height: 0 !important;
  inset: auto !important;
  background: none !important;
  border: 0 !important;
}
.bloom-door h2 {
  margin: 0;
  font: 900 clamp(1.15rem, 4.5vw, 1.55rem)/1.1 "Arial Black", system-ui, sans-serif;
  text-transform: uppercase;
  color: #ffe6a2;
}
.bloom-door h2 span { color: #ff8d63; }
.bloom-door button, .bloom-door a { touch-action: manipulation; }
.bloom-door header button {
  flex: 0 0 auto;
  width: 44px; min-width: 44px; height: 44px; min-height: 44px;
  padding: 0; border: 1px solid #877368; border-radius: 50%;
  color: #fff2d6; background: #352b2d; font: 26px/1 system-ui, sans-serif; cursor: pointer;
}
.bloom-door .bloom-door-back {
  display: block; width: 100%; min-height: 48px;
  margin: 0 0 .9rem; padding: .65rem .9rem;
  border: 1px solid #ffbd83; border-radius: 7px; box-shadow: 0 3px 0 #742f22;
  background: #e98761; color: #261713;
  font: 750 1rem/1.2 system-ui, sans-serif; cursor: pointer;
}
.bloom-door nav { display: grid; gap: 0; }
.bloom-door nav a { display: flex; gap: .9rem; align-items: center; min-height: 48px; padding: .62rem .2rem; border-top: 1px solid #6a4e43; text-decoration: none; color: #fff0cf; }
.bloom-door nav a:hover { background: #3a2929; }
.bloom-door .bloom-door-icon { flex: 0 0 2.25rem; text-align: center; color: #f0b979; font-size: 1.6rem; }
.bloom-door nav strong { display: block; font: 700 1.05rem/1.2 system-ui, sans-serif; }
.bloom-door nav small { display: block; margin-top: .2rem; font: .82rem/1.35 system-ui, sans-serif; color: #d7c4b3; }
.bloom-door-save { margin: 1rem 0 .4rem; color: #d7c4b3; font: .82rem/1.4 system-ui, sans-serif; }
.bloom-door footer { display: flex; flex-wrap: wrap; gap: 0 1rem; border-top: 1px solid #6a4e43; padding: .3rem 0 0; background: none; }
.bloom-door footer a { display: inline-flex; align-items: center; min-height: 44px; color: #ffdc9d; font: .85rem/1.3 system-ui, sans-serif; text-decoration: underline; text-underline-offset: .2em; }
.bloom-door :focus-visible, .bloom-arcade-trigger:focus-visible { outline: 3px solid #a7eeeb; outline-offset: 3px; }
.bloom-arcade-trigger { cursor: pointer; font: inherit; background: none; border: 0; color: inherit; padding: 0; text-align: left; min-height: 44px; }
.bloom-arcade-trigger:disabled { cursor: default; opacity: .6; }
@media (max-height: 540px) {
  .bloom-door { padding-block: .3rem; }
  .bloom-door header { padding-block: .3rem !important; }
}
