/* Compact popups use the member profile's dark panel, blue trim and lime class text. */
.hall-popup {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 36px;
  color: #f0ede8;
  background: linear-gradient(135deg, #242729, #080b0d);
  border: 3px solid #0a749b;
  border-radius: 12px;
  box-shadow: 0 0 0 5px #323638, 0 18px 28px #000b;
  overflow: auto;
  font-family: "Barlow Condensed", Arial, sans-serif;
}
.hall-popup[open] { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; align-items: center; }
.hall-popup::backdrop { background: #000c; backdrop-filter: blur(2px); }
.hall-popup-copy { min-width: 0; }
.hall-popup h2 { margin: 0 24px 16px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; text-transform: uppercase; font-style: italic; overflow-wrap: anywhere; }
.hall-popup-role { color: #35b4df; font-size: 24px; margin: 12px 0; }
.hall-popup-year { color: var(--lime, #c7df27); font-size: 23px; margin: 12px 0 0; }
.hall-popup-photo { display: grid; place-items: center; min-height: 120px; color: #dedede; font-size: 22px; background: #111; border: 1px solid #555; }
.hall-popup-photo img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.hall-popup-close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; padding: 0; border: 2px solid #0a749b; border-radius: 50%; background: #080b0d; color: white; font: 32px/1 Arial; cursor: pointer; }
.hall-popup.hall-popup-criteria[open] { display: block; }
.hall-popup-criteria p { font-family: Inter, Arial, sans-serif; font-size: 20px; line-height: 1.6; margin-bottom: 0; }
.current-class-name, .criteria-popup-trigger { cursor: pointer; font: inherit; color: inherit; }
.current-class-name { background: none; border: 0; padding: 4px 0; text-align: inherit; }
.current-class-name:hover { text-decoration: underline; }
.all-criteria .criteria-grid article { padding: 4px 0; border: 0; background: none; }
.all-criteria .criteria-grid article:last-child { grid-column: auto; }
.all-criteria .criteria-grid h4 { font-size: 24px; }
.criteria-popup-trigger { min-height: 44px; padding: 4px 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; }
.criteria-popup-trigger:hover { background: none; text-decoration: underline; }
@media (min-width: 821px) {
  .all-criteria .criteria-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.current-class-name:focus-visible, .criteria-popup-trigger:focus-visible, .hall-popup-close:focus-visible { outline: 3px solid #c7df27; outline-offset: 3px; }
@media (max-width: 540px) {
  .hall-popup { padding: 52px 20px 24px; }
  .hall-popup[open] { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hall-popup-photo { width: min(220px, 100%); margin: auto; }
  .hall-popup-photo img { max-height: 260px; }
  .hall-popup h2 { margin-right: 0; }
}
