/* Extra sections added to a few Playbill game pages (src/game-extras). These pages use the
   Playbill's own stylesheet, so this file only adds what the extra sections need. */

.game-extra__sheet {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
  scroll-margin-top: 2rem;
  /* The Playbill's sheet has no top padding of its own, which left the small label flush with the edge. */
  padding-top: clamp(1.75rem, 5vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 5vw, 2.75rem);
}
.game-extra__sheet .sheet-kicker { margin: 0; }

.game-extra__form {
  display: block;
  width: min(100%, 540px);
  height: 560px;
  border: 0;
  background: transparent;
}

.game-extra__constellation {
  display: block;
  width: min(18rem, 70%);
  height: auto;
  margin-top: 0.5rem;
  filter: drop-shadow(0 2px 0 rgba(24, 16, 6, 0.25));
}

.game-extra__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* The Occlude sign-up form: a dark panel (the game is dark), gold labels, paper-coloured fields. */
.occ-form {
  width: min(100%, 560px);
  padding: 1.5rem 1.5rem 1.75rem;
  background: #141210;
  outline: 1px solid #fad247;
  outline-offset: -8px;
  box-shadow: 6px 8px 0 rgba(24, 16, 6, 0.28);
  text-align: left;
  color: #f6e7b0;
}
.occ-form .sib-input { margin-bottom: 1rem; }
.occ-label { display: block; margin-bottom: 0.35rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fad247; }
.occ-label span { color: #b3a98f; letter-spacing: 0.06em; }
.occ-input { display: block; width: 100%; min-height: 2.9rem; padding: 0.5rem 0.8rem; border: 2px solid transparent; border-radius: 2px; background: #f6f0df; color: #181818; font: 600 1rem Inter, system-ui, sans-serif; }
.occ-input::placeholder { color: #8d8470; font-weight: 400; }
.occ-input:focus { outline: none; border-color: #fad247; box-shadow: 0 0 0 3px rgba(250, 210, 71, 0.35); }
.occ-form .input--hidden { display: none !important; }
.occ-form .entry__error { display: none; margin-top: 0.4rem; padding: 0.4rem 0.6rem; background: #fbe9e7; color: #7a1f17; font-size: 0.85rem; border-radius: 2px; }
.occ-form .entry__error:not(:empty) { display: block; }
.occ-check { position: relative; display: flex; gap: 0.75rem; align-items: center; margin: 0.25rem 0 1.25rem; cursor: pointer; font-size: 0.92rem; }
.occ-check .input_replaced { position: absolute; top: 0; left: 0; width: 1.5rem; height: 1.5rem; margin: 0; opacity: 0; cursor: pointer; }
.occ-box { flex: none; width: 1.5rem; height: 1.5rem; border: 2px solid #fad247; border-radius: 2px; background: transparent center / 78% no-repeat; }
.occ-check .input_replaced:checked + .occ-box { background-color: #fad247; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181818' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E"); }
.occ-check .input_replaced:focus-visible + .occ-box { outline: 3px solid #fff; outline-offset: 2px; }
.occ-button { display: block; width: 100%; min-height: 3.2rem; border: 0; border-radius: 2px; background: #fad247; color: #181818; font: 800 1.05rem Inter, system-ui, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; box-shadow: 0 5px 0 #9a7d1f; }
.occ-button:hover, .occ-button:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 0 #9a7d1f; }
.occ-message { display: none; margin-bottom: 1rem; padding: 0.75rem 1rem; font-weight: 600; font-size: 0.95rem; border-radius: 2px; color: #181818; }
.occ-message--error { background: #fbe9e7; }
.occ-message--success { background: #eef6dc; }
.occ-message.sib-form-message-panel--active { display: block; }
