/* in-game dropdowns (src/uidrop.js): the button that stands in for a
   <select>, and the list it opens. The room's furniture (room.css): a
   night-navy field with a white ring and a gold arrow, and a small window
   of choices with the gold cursor on the one you point at. */
select.ud-hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; margin: 0 !important; overflow: hidden !important; }
.ud-b {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; max-width: 100%;
  margin: 3px; padding: 6px 11px 5px 12px; cursor: pointer; background: var(--night); color: #fff;
  border: 0; border-radius: 0; box-shadow: var(--frame), inset 0 0 0 2px #fff;
  font: 800 13px var(--sans); text-align: left; vertical-align: middle;
}
.ud-b .ud-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a pixel arrow: the gold cursor turned down */
.ud-b .ud-c { flex: none; width: 14px; height: 9px; border: 0; transform: none;
  background: var(--cur-dn) center / 100% 100% no-repeat; image-rendering: pixelated; }
.ud-b:hover, .ud-b.open { box-shadow: var(--frame), inset 0 0 0 2px var(--gold); }
.ud-b.open .ud-c { transform: rotate(180deg); }
.ud-b:active { transform: translateY(1px); }
.ud-b:disabled { cursor: default; background: #4b5563; box-shadow: var(--frame); }
.ud-b:focus-visible { outline: none; box-shadow: var(--frame), inset 0 0 0 2px var(--gold); }
.ud-m {
  position: fixed; z-index: 9000; overflow-y: auto; display: grid; gap: 2px; padding: 6px;
  background: var(--win); color: #fff; border: 2px solid #fff; border-radius: 0; box-shadow: var(--frame), var(--drop);
  scrollbar-color: var(--rule) var(--win);
}
.ud-o {
  position: relative; display: block; width: calc(100% - 6px); margin: 3px; text-align: left; cursor: pointer;
  padding: 8px 11px 7px 28px; background: var(--card); color: var(--card-ink); border: 0; border-radius: 0; box-shadow: var(--frame);
  font: 800 13px var(--sans); white-space: nowrap; --soft: var(--card-ink); --txt-2: var(--card-ink); --txt-3: var(--card-ink);
}
.ud-o::before {
  content: ''; position: absolute; left: 7px; top: 50%; width: 12px; height: 18px; margin-top: -9px;
  background: var(--cur) center / 100% 100% no-repeat; image-rendering: pixelated; visibility: hidden;
}
.ud-o:hover { background: var(--card-hov); color: var(--card-ink); }
.ud-o:hover::before { visibility: visible; }
.ud-o.on { background: var(--gold); color: var(--ink); }
.ud-o.on:hover { background: var(--gold); color: var(--ink); }
.ud-o:disabled { cursor: default; background: #4b5563; color: #fff; }
.ud-o:disabled::before { visibility: hidden; }
