.access-paper {
  isolation: isolate;
  overflow-x: clip;
  background-color: #f9e2be;
}
director-theater {
  display: block;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
director-theater img,
director-theater canvas,
director-theater::after,
.pass-spot { position: absolute; inset: 0; width: 100%; height: 100%; }
director-theater img { display: block; object-fit: cover; object-position: 43% 50%; }
director-theater canvas { display: block; opacity: 0; }
director-theater[data-live] canvas { opacity: 1; }
director-theater::after {
  content: "";
  background: var(--grain) center / var(--tex-size);
  opacity: .32;
  mix-blend-mode: multiply;
}
.pass-spot {
  z-index: 1;
  background: radial-gradient(ellipse 160px 135px at var(--spot-x,76%) var(--spot-y,53%), #ffeeb5b8, #ffda8829 58%, transparent 86%);
  mix-blend-mode: soft-light;
}
.access-floor {
  position: relative;
  flex: 1;
  display: grid;
  align-items: center;
  justify-items: end;
  width: min(calc(100% - 2 * var(--desk-edge)), 1330px);
  margin: 0 auto;
  padding: 40px 5px 55px;
}
.access-floor:focus { outline: none; }
.access-hero {
  position: absolute;
  top: clamp(30px, 7vh, 82px);
  left: 0;
  color: var(--ink);
  font: 900 clamp(46px, 4.7vw, 72px)/1.12 var(--font-round);
  letter-spacing: .02em;
  text-shadow: 0 1px #fff8ec, 0 3px rgba(135, 79, 44, .19);
  pointer-events: none;
}
.access-hero em {
  font-style: normal;
  color: var(--tomato-d);
  background: linear-gradient(177deg, transparent 72%, #f2c14ecb 74% 92%, transparent 93%);
}
.access-desk {
  position: relative;
  width: min(432px, 43%);
  min-width: 355px;
  padding: 29px 30px 22px;
  border: 1px solid #d1b990;
  border-radius: 15px 17px 15px 14px;
  background: linear-gradient(89deg, #fff7e97a 0%, #fff8e46b 84%, #fff9dfbd 84.4%, #b19a7830 84.7%, #f6e9c941 100%), var(--paper) center / 405px;
  box-shadow: inset 0 1px 0 #fffbed, inset 1px 0 0 #fff9e7, 0 2px 1px #8b6b4199, 2px 4px 5px #63412038,
    8px 8px 0 #efa564, 9px 11px 3px #8c603e80, -8px 13px 0 #a3bc84, -8px 16px 3px #5f744a66,
    1px 30px 40px -18px #714324b3;
  transform: rotate(.45deg);
}
.pass-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 108px;
  height: 27px;
  transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(90deg, transparent 0 8px, #fff6ce29 8px 10px), #e9c363 var(--grain) center / 300px;
  background-blend-mode: normal, multiply;
  opacity: .92;
  clip-path: polygon(0 5%, 7% 0, 12% 7%, 19% 0, 100% 3%, 97% 20%, 99% 37%, 96% 54%, 100% 74%, 97% 96%, 90% 100%, 84% 93%, 0 99%, 3% 76%, 1% 54%, 4% 34%);
}
.pass-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pass-kicker { margin: 0 0 6px; color: #78624b; font: 600 10px/1.4 var(--font-mono); letter-spacing: .23em; }
.pass-heading h1 { margin: 0; color: var(--ink); font: 900 clamp(28px, 2.45vw, 36px)/1.15 var(--font-round); letter-spacing: .025em; }
.pass-tabs {
  flex: none;
  display: flex;
  gap: 1px;
  padding: 4px;
  border-radius: 11px;
  background: #e9d3ae var(--grain) center / 340px;
  background-blend-mode: multiply;
  box-shadow: var(--inset-slot);
}
.pass-tabs a {
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 32px;
  border-radius: 7px;
  color: var(--ink-2);
  font: 700 14px/1.3 var(--font-round);
  text-decoration: none;
}
.pass-tabs [aria-selected="true"] {
  color: #fffaf2;
  background: var(--tomato-d) var(--grain) center / 300px;
  background-blend-mode: soft-light;
  box-shadow: inset 0 1px #f59f83, 0 2px 0 #a5412e, 0 3px 4px #69362447;
}
.access-paper :is(input, select):focus-visible { outline: 2px solid var(--apricot-d); outline-offset: 2px; }
.pass-context {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 19px 0 17px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #bba37f;
  color: var(--ink-2);
  font: 700 13px/1.45 var(--font-round);
}
.pass-context svg { flex: none; align-self: flex-start; margin-top: 1px; color: #687947; }
.pass-context span { min-width: 0; overflow-wrap: anywhere; }
.pass-context span:last-child { flex: none; }
.pass-context i { font: 400 14px/1 var(--font-mono); color: #a58d70; }
.pass-field { margin: 0 0 13px; }
.pass-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.pass-field label { color: var(--ink); font: 700 14px/1.45 var(--font-cn); }
.pass-forgot, .pass-foot :is(a,button) {
  color: #934a36;
  text-decoration: underline;
  text-decoration-color: #b97557;
  text-underline-offset: 3px;
}
.pass-forgot { font: 600 13px/1.45 var(--font-cn); }
.pass-field :is(input, select) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c6af8b;
  border-radius: 9px;
  background: linear-gradient(#fffaf0a6,#fff8e87a), var(--paper) center / 365px;
  box-shadow: var(--inset-slot);
  color: var(--ink);
  font: 500 16px/1.5 var(--font-cn);
}
.pass-field :is(input,select):focus {
  border-color: var(--apricot-d);
  box-shadow: inset 0 2px 4px #76502830, 0 0 0 3px #f4a25940;
}
.pass-field input::placeholder { color: #886f57; opacity: 1; }
.pass-field:focus-within label { color: var(--tomato-d); }
.pass-rule { margin: -6px 0 13px; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.pass-error { color: #a22c25; font: 600 13px/1.55 var(--font-cn); overflow-wrap: anywhere; }
.pass-error:empty { display: none; }
.recovery-steps {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
  white-space: nowrap;
  color: #76624f;
  font: 700 12px/1.4 var(--font-round);
}
.recovery-steps li { display: flex; align-items: center; gap: 4px; }
.recovery-steps b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #bba47e;
  border-radius: 50%;
  background: #f4e4c9;
  font: 700 11px/1 var(--font-mono);
}
.recovery-steps [aria-current] { color: #953e2e; }
.recovery-steps [aria-current] b { color: #fff9ed; background: #aa4935; border-color: #8b3929; }
.recovery-help { margin: 0 0 16px; color: var(--ink-2); font: 500 14px/1.6 var(--font-cn); }
.pass-field input[name="code"] { letter-spacing: .15em; text-transform: uppercase; font-family: var(--font-mono); }
.pass-heading h1:focus { outline: none; }
.pass-submit {
  flex: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 51px;
  margin-top: 19px;
  padding: 10px 20px;
  border: 1px solid #bb5038;
  border-radius: 10px 10px 9px 10px;
  color: #fffaf3;
  background: linear-gradient(110deg, #f57a5738, transparent 65%, #9d35242b), #db5749 var(--grain) center / 360px;
  background-blend-mode: normal, multiply;
  box-shadow: inset 0 1px 0 #f9a58b, 0 3px 0 #bd5139, 0 5px 0 #96402c, 0 10px 13px -7px #96493099;
  font: 900 18px/1.45 var(--font-round);
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.pass-submit::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 18px;
  height: 18px;
  border-radius: 0 8px 0 3px;
  background: linear-gradient(225deg, #eddfbf 0 47%, #a95036 49%, #f5b292 54%, #ec937b 100%);
  box-shadow: -1px 2px 2px #773d2640;
}
.pass-submit i { width: 10px; height: 10px; border-radius: 50%; background: #fff4df; box-shadow: 0 0 0 2px #fff3cf6b; }
.pass-submit:active { transform: translateY(3px); box-shadow: 0 2px 0 #98412c; }
.pass-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 19px;
  color: var(--ink-2);
  font: 500 13px/1.5 var(--font-cn);
}
.pass-foot :is(a,button) { font-weight: 700; }
.pass-back { display: inline-flex; align-items: center; gap: 4px; }
.pass-foot button { padding: 0; border: 0; background: none; font-family: inherit; font-size: inherit; cursor: pointer; }
@media (hover: hover) {
  .pass-submit:hover:not(:active) { transform: translateY(-1px); }
  .pass-foot :is(a,button):hover, .pass-forgot:hover { color: var(--tomato-d); }
}
@media (min-width: 761px) and (max-width: 980px) {
  .access-floor { width: calc(100% - 58px); }
  .access-desk { min-width: 350px; padding-inline: 23px; }
  .access-hero { font-size: 47px; }
}
@media (min-width:761px) and (max-height:690px) {
  .access-floor { padding-block: 25px 30px; }
  .access-desk { padding-block: 20px 17px; }
  .pass-context { margin-block: 12px; }
}
@media (max-width: 760px) {
  .access-paper { --stage-h: clamp(146px, 24svh, 206px); }
  director-theater { position: absolute; top: var(--student-bar-height); bottom: auto; height: var(--stage-h); }
  .access-floor { width: min(calc(100% - 40px), 448px); padding: calc(var(--stage-h) - 10px) 0 33px; align-content: start; }
  .access-hero { display: none; }
  .access-desk { min-width: 0; width: 100%; padding: 23px 20px 17px; transform: rotate(.25deg); }
  .pass-tabs a { min-width: 42px; min-height: 34px; }
  .pass-context { margin: 14px 0; padding-bottom: 9px; }
  .pass-field { margin-bottom: 12px; }
  .pass-foot { margin-top: 17px; }
}
@media (max-width: 365px) {
  .access-desk { padding-inline: 15px; }
  .pass-heading { gap: 5px; }
  .pass-heading h1 { font-size: 26px; }
  .pass-tabs a { min-width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .pass-spot { display: none; }
}
