/* Shared native enrolment component. Inherits the current page's typography. */
.enroll-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; color: #10243e; background: #dff04f; border: 1px solid #10243e; border-radius: 5px; box-shadow: 3px 3px 0 #10243e; font: inherit; font-weight: 850; cursor: pointer; text-decoration: none; }
.enroll-trigger:hover { background: #eaf68b; }
.enroll-trigger:focus-visible, .enroll-dialog :focus-visible { outline: 3px solid #a4492f; outline-offset: 3px; }
.enroll-dialog h2:focus, .enroll-dialog h3:focus, .enroll-dialog legend:focus { outline: none; }
.enroll-result { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #b9b09f; }
.enroll-result p { margin: 0 0 12px; }
.enroll-dialog { --enroll-ink: #10243e; width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; color: var(--enroll-ink); background: #fffdf7; border: 2px solid var(--enroll-ink); border-radius: 9px; box-shadow: 8px 8px 0 #10243e35, 0 20px 90px #10243e40; font-family: inherit; overflow: auto; }
.enroll-dialog::backdrop { background: #10243e99; backdrop-filter: blur(4px); }
html:has(.enroll-dialog[open]) { overflow: hidden; }
.enroll-shell { padding: clamp(22px, 4vw, 42px); border-top: 7px solid #dff04f; }
.enroll-heading { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.enroll-heading .eyebrow { color: #86422e; font-size: 10px; letter-spacing: .14em; font-weight: 850; margin: 0 0 8px; }
.enroll-dialog h2 { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.enroll-close { flex: none; width: 42px; height: 42px; padding: 0; color: var(--enroll-ink); background: transparent; border: 1px solid #c4bcae; border-radius: 5px; font: inherit; font-size: 26px; cursor: pointer; }
.enroll-lead { margin: 14px 0 24px; max-width: 55ch; color: #536171; font-size: 15px; }
.enroll-steps { display: flex; padding: 0; margin: 0 0 25px; list-style: none; gap: 8px; }
.enroll-steps li { flex: 1; display: flex; align-items: center; gap: 7px; padding: 10px 0; color: #536171; border-bottom: 3px solid #ded8cc; font-size: 13px; font-weight: 800; }
.enroll-steps li[aria-current="step"] { color: #10243e; border-color: #91a528; }
.enroll-steps button { display:flex;align-items:center;gap:7px;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer; }
.enroll-steps button:hover:not(:disabled) { color:#10243e;text-decoration:underline;text-underline-offset:4px; }
.enroll-steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; color: #10243e; background: #f0ecdf; border-radius: 50%; font-size: 11px; }
.enroll-steps [aria-current="step"] span { background: #dff04f; }
.enroll-dialog fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.enroll-dialog legend { width: 100%; margin: 0 0 5px; padding: 0; font-size: 21px; font-weight: 850; }
.enroll-step-copy { margin: 0 0 20px; color: #536171; font-size: 13px; }
.enroll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enroll-field { min-width: 0; display: grid; align-content: start; gap: 7px; font-size: 13px; font-weight: 800; }
.enroll-wide { grid-column: 1 / -1; }
.enroll-field input, .enroll-field select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; color: var(--enroll-ink); background: #fff; border: 1px solid #b7b5ad; border-radius: 5px; font: inherit; font-size: 16px; font-weight: 450; }
.enroll-field input:disabled { background: #f3f0e9; }
.enroll-field [aria-invalid="true"] { border: 2px solid #a52d26; }
.enroll-hint { color: #536171; font-size: 12px; font-weight: 450; }
.enroll-error { color: #a12d25; font-size: 12px; font-weight: 650; }
.enroll-error:empty { display: none; }
.enroll-check { display: flex; align-items: flex-start; gap: 9px; color: #35465a; font-size: 13px; line-height: 1.5; }
.enroll-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #405515; }
.enroll-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #ded8cc; }
.enroll-actions button { min-height: 46px; font: inherit; font-weight: 800; cursor: pointer; }
.enroll-back { padding: 8px 12px; color: #10243e; background: transparent; border: 1px solid #b7b5ad; border-radius: 5px; }
.enroll-next { margin-left: auto; }
.enroll-dialog button:disabled { cursor: not-allowed; opacity: .55; }
.enroll-status { margin: 16px 0 0; color: #86422e; font-size: 13px; line-height: 1.55; }
.enroll-status:empty { display: none; }
.enroll-note { margin: 16px 0 0; padding: 12px 14px; color: #405026; background: #eef1d8; border-left: 3px solid #91a528; font-size: 12px; }
.enroll-summary { margin: 0 0 18px; padding: 13px; background: #f1eddf; font-size: 13px; overflow-wrap: anywhere; }
.enroll-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.enroll-success { padding: 28px 0 10px; }
.enroll-success h3 { margin: 12px 0; font-size: 29px; }
.enroll-success p { color: #536171; }
.enroll-success-mark { display: inline-grid; place-items: center; width: 54px; height: 54px; color: #304b21; background: #e0efc4; border: 1px solid #304b21; border-radius: 50%; font-size: 28px; }
.enroll-reference { display: inline-block; padding: 12px; background: #f1eddf; font-weight: 850; }
.enroll-channel { margin-top: 20px; }
@media (max-width: 540px) {
  .enroll-grid { grid-template-columns: 1fr; gap: 16px; }
  .enroll-dialog { max-height: calc(100dvh - 16px); width: calc(100% - 16px); }
  .enroll-shell { padding: 22px 18px; }
  .enroll-steps { gap: 6px; }
  .enroll-steps li { font-size: 11px; gap: 5px; }
  .enroll-steps span { width: 21px; height: 21px; }
  .game-topbar .enroll-trigger { padding: 8px 10px; min-height: 40px; font-size: 12px; box-shadow: 2px 2px 0 #10243e; }
}
