/* Intuition test: compact entrance, clear press states, and the Walk label. */
button:enabled, .ticket-action:not([aria-disabled='true']) {
  border-radius: 6px;
  box-shadow: inset 0 1px 0 #ffffff1c, 0 2px 0 #070b0980, 0 5px 14px #0003;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
button:enabled:active, #pad button.is-held {
  transform: translateY(2px);
  box-shadow: inset 0 1px 3px #0004, 0 1px 0 #ffffff12;
}
button:disabled { cursor: default; }
button:focus-visible, .ticket-action:focus-visible {
  outline: 2px solid #f6df9e;
  outline-offset: 4px;
}
.button-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.primary { font-weight: 600; }
#enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: .875rem;
  line-height: 1.2;
  background: linear-gradient(165deg, #f3e7c4, #d9c488);
  border: 1px solid #f3e4b6;
  color: #24291e;
  box-shadow: inset 0 1px 0 #fff9, 0 2px 0 #89733f, 0 6px 16px #0005;
}
#enter .button-icon { width: 16px; height: 16px; flex-basis: 16px; }
#welcome h1 { margin: 12px 0 10px; }
#welcome p { line-height: 1.35; margin: 8px 0 14px; }
#welcome small { line-height: 1.35; margin-top: 8px; }
body:not([data-visitor-started='true']) footer { display: none; }
#enter:active { box-shadow: inset 0 1px 3px #6f562740, 0 1px 0 #89733f, 0 4px 12px #0004; }
#museumSound, #indexBtn { min-height: 44px; border-color: #ddd9bd60; background-color: #252a22f2; }
#indexBtn { color: #f3e7c4; font-weight: 600; }
#indexBtn[aria-expanded='true'] { border-color: #ecd59a; background-color: #414936; }
#list button, #roomList button, #monarchList button {
  box-shadow: none;
  border-radius: 3px;
}
#closeDetail, #closeIndex, #closeMonarchInspection { box-shadow: none; }
#near .primary, #nearMonarchActions button { font-size: .875rem; }
#pad::before { content: 'Walk'; font-size: .75rem; line-height: 1; color: #e4e4d9; text-shadow: 0 1px 5px #000; margin-bottom: 3px; }
#pad button { background: #232a21e8; border-color: #e5e3cd65; border-radius: 7px; }
body:not([data-visitor-started='true']) #pad { display: none; }
.museum-identity #hallLabel { font-size: .75rem; letter-spacing: .04em; text-shadow: 0 1px 6px #000; }

@media (hover: hover) {
  button:enabled:hover { border-color: #e6d6a5a0; }
  #enter:hover { background: linear-gradient(165deg, #fff2d2, #e3cf94); box-shadow: inset 0 1px 0 #fffa, 0 2px 0 #89733f, 0 8px 20px #0006; }
  #list button:hover, #roomList button:hover, #monarchList button:hover { background: #ffffff0b; }
}
@media (max-width: 700px) {
  .museum-identity #hallLabel { font-size: .75rem; max-width: 128px; line-height: 1.4; }
  #near { grid-template-columns: minmax(0, 1fr) 88px; }
  #near .primary { padding: 6px; }
  footer #status, body[data-space='monarchs'] footer #status { font-size: .75rem; line-height: 1.3; letter-spacing: .02em; max-width: calc(100vw - 180px); }
  #pad, body[data-space='monarchs'] #pad { bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  button:enabled { transition: none; }
}
