/* THE DOORS — the Tank and the Dragon (js/openers.js), every screen size.
   Noticed, and not on the glass. Under the three small screens on the wide
   console; on a strip under the set everywhere else. */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 14px); width: 100%; max-width: 860px; }
.door {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0;
  min-height: 44px; padding: 4px 12px 4px 4px; overflow: hidden;
  border-radius: 12px; text-decoration: none; color: var(--ink);
  border: 1px solid rgba(255, 176, 32, 0.55);
  background: linear-gradient(180deg, rgba(42, 26, 10, 0.94), rgba(14, 8, 3, 0.94));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 10px 24px -14px rgba(0, 0, 0, 0.9), 0 0 20px -6px rgba(255, 176, 32, 0.4);
  transition: transform var(--dur-fast) var(--ease-out-expo), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.door__art { flex: none; align-self: stretch; width: clamp(54px, 6vw, 84px); min-height: 34px; border-radius: 8px;
  background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5); }
.door--dragon .door__art { background-position: center 30%; }
.door__txt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; }
.door__t { flex: none; }
.door__t { font-family: var(--font-display); font-size: clamp(0.86rem, 0.7rem + 0.5vw, 1.1rem); font-weight: 700; letter-spacing: 0.08em; line-height: 1.05; }
.door__s { font-size: 0.72rem; line-height: 1.25; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.door__go { flex: none; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em;
  color: #1a1002; background: linear-gradient(180deg, #ffd08a, #ffb020); }
.door:hover, .door:focus-visible { transform: translateY(-2px); outline: none; border-color: var(--neon-cyan);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 14px 28px -14px rgba(0, 0, 0, 0.9), 0 0 28px -4px rgba(255, 176, 32, 0.65); }

/* in the column under the three small screens: two compact doors side by side */
.doors--column { flex: none; max-width: none; gap: 8px; }
.doors--column .door { gap: 9px; padding-right: 8px; }
.doors--column .door__art { width: 46px; }
.doors--column .door__s { display: none; }
.doors--column .door__t { font-size: 0.82rem; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
/* the whole door is the button here: the ENTER pill would crowd the name out */
.doors--column .door__go { display: none; }
.doors--column .door::after { content: "\25B8"; flex: none; margin-left: auto; color: var(--neon-cyan); font-size: 0.9rem; line-height: 1; }

@media (max-width: 700px) {
  .doors { gap: 8px; order: 2; }   /* after the three screens, before the pad */
  .door { min-height: 46px; gap: 8px; padding-right: 10px; }
  .door__s { display: none; }
  /* measured 2026-11-10: on a phone the ENTER pill crowded the names down to
     "THE T…" and "THE D…". The whole door is the button: the name keeps the
     room and a small arrow says it goes somewhere, as in the wide column. */
  .door__go { display: none; }
  .door__t { white-space: nowrap; font-size: 0.8rem; letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
  .door__art { width: 46px; }
  .door::after { content: "\25B8"; flex: none; margin-left: auto; color: var(--neon-cyan); font-size: 0.9rem; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) { .door { transition: none; } .door:hover { transform: none; } }
