/* The level lock notice (js/gate-notice.js): a claim ticket in the shop's paper
   stock, the level printed on the stub and the plain reason beside it. It is the
   one bright thing on a page whose controls are out of play, so it reads first. */
.gate-lock {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch;
  margin: 0 0 24px; max-width: 600px;
  background: var(--paper); color: var(--print); border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35), 0 10px 22px rgba(0, 0, 0, 0.3);
}
.gate-lock-stub {
  position: relative;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  min-width: 88px; padding: 14px 18px;
  border-right: 2px dashed #b3ad9f;
}
/* The half-moon notches where the stub tears off. */
.gate-lock-stub::before, .gate-lock-stub::after {
  content: ""; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--wall);
}
.gate-lock-stub::before { top: -8px; }
.gate-lock-stub::after { bottom: -8px; }
.gate-lock-stub small { font-size: 12px; font-weight: 700; color: var(--print-2); }
.gate-lock-stub b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--print); font-variant-numeric: tabular-nums; }
.gate-lock-body { display: grid; gap: 6px; align-content: center; padding: 14px 20px; min-width: 0; }
.gate-lock-body h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--print); }
.gate-lock-body p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--print-2); }
.gate-lock-link {
  justify-self: start; min-height: 44px; margin-bottom: -8px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 650; color: var(--print);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--print-2);
}
.gate-lock-link:hover { text-decoration-color: var(--print); }
.gate-lock-link:focus-visible { outline: 2px solid var(--print); outline-offset: 3px; }
/* A control behind a shut gate stays visible but plainly out of play. */
.is-gated { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 480px) {
  .gate-lock-stub { min-width: 70px; padding: 12px; }
  .gate-lock-stub b { font-size: 32px; }
  .gate-lock-body { padding: 12px 14px; }
  .gate-lock-body h2 { font-size: 16px; }
}
