/* OPA TV password gate. Pairs with gate.js. */

.opa-gate-locked main,
.opa-gate-locked .detail-menu-toggle,
.opa-gate-locked .skip-link {
  visibility: hidden;
}

.opa-gate {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 3px solid #151515;
  color: #151515;
  background: #ffffff;
  box-shadow: none;
}

.opa-gate::backdrop {
  background: rgba(21, 21, 21, 0.72);
}

.opa-gate__panel {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 5vw, 32px);
}

.opa-gate__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.opa-gate h2 {
  margin: 0;
  font-family: var(--hub-font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.opa-gate__destination {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.opa-gate__destination:empty,
.opa-gate__error:empty {
  display: none;
}

.opa-gate__label {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opa-gate__input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #151515;
  border-radius: 0;
  font: inherit;
  font-size: 1.1rem;
}

.opa-gate__input:focus-visible {
  outline: 3px solid #1778ad;
  outline-offset: 2px;
}

.opa-gate__error {
  margin: 0;
  color: #bd3e15;
  font-weight: 800;
}

.opa-gate__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.opa-gate__actions button {
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid #151515;
  border-radius: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.opa-gate__cancel {
  color: #151515;
  background: #ffffff;
}

.opa-gate__submit {
  color: #151515;
  background: #f2d40b;
}

.opa-gate__actions button:focus-visible {
  outline: 3px solid #1778ad;
  outline-offset: 2px;
}
