.registration-dialog{width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:32px;border:1px solid #fff0a166;border-radius:25px;background:linear-gradient(150deg,#163d52,#0c263c 48%,#081b2b);color:#f4fbff;box-shadow:0 36px 120px #000b,inset 0 1px #ffffff26;overflow:auto;overscroll-behavior:contain;font:inherit}
.registration-dialog::backdrop{background:#03131bc9;backdrop-filter:blur(10px)}
.registration-dialog[open]{animation:registration-arrive .3s cubic-bezier(.2,.8,.2,1) both}
.registration-dialog .dialog-close{position:absolute;inset-inline-end:18px;top:18px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff26;border-radius:50%;background:#ffffff0b;color:#f5fbff;cursor:pointer}
.registration-dialog .eyebrow{color:#ffe49a;margin:0 42px 7px 0;font-size:11px;font-weight:800;letter-spacing:2px}
[dir=rtl] .registration-dialog .eyebrow{margin:0 0 7px 42px;letter-spacing:.4px}
.registration-dialog h2{font-size:clamp(25px,4vw,34px);line-height:1.1;margin:0 0 10px;font-weight:850;letter-spacing:-1px}
.registration-description{max-width:570px;margin:0 0 24px;color:#b7d4df;font-size:14px;line-height:1.65}
.registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 18px}
.registration-dialog .form-field{min-width:0;margin:0}
.registration-dialog label{display:block;margin:0 0 7px;font-size:13px;font-weight:750;color:#f1faff}
.registration-dialog .input-shell{display:flex;align-items:center;position:relative;min-width:0;border:1px solid #7fb0c145;border-radius:11px;background:#051a29c9;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.registration-dialog .input-shell:focus-within{border-color:#f8d66a;box-shadow:0 0 0 3px #ffe29417}
.registration-dialog .input-shell input,.registration-dialog select{display:block;width:100%;min-width:0;height:47px;border:0;border-radius:11px;background:transparent;color:#f6fbff;padding:0 13px;font:inherit;font-size:15px;outline:none}
.registration-dialog input::placeholder{color:#7e9daa}
.registration-dialog .input-shell>svg{display:none}
.registration-dialog .password-toggle{flex:none;width:42px;height:43px;border:0;background:transparent;color:#b2d2e0;cursor:pointer;padding:11px}
.registration-dialog .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.registration-dialog .registration-help{font-size:11px;line-height:1.5;color:#9dbcc9;margin:5px 0 0}
.registration-dialog fieldset{margin:22px 0 0;padding:0;border:0;min-width:0}
.registration-dialog [hidden]{display:none!important}
.registration-dialog select{background:#081f2f;border:1px solid #7fb0c145;padding-inline-end:35px;cursor:pointer;outline-offset:3px}
.registration-dialog select:focus-visible,.registration-dialog button:focus-visible,.registration-dialog a:focus-visible{outline:2px solid #ffe49a;outline-offset:4px}
.registration-dialog optgroup,.registration-dialog option{background:#0c263c;color:#f4fbff}
.registration-starter-preview{display:flex;align-items:center;gap:12px;padding:8px 12px;margin-top:9px;border:1px solid #a3dacc22;border-radius:12px;background:#8feec409;font-size:13px;font-weight:750}
.registration-starter-preview img{width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 6px 12px #0005)}
.registration-captcha{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;align-items:start}
.registration-captcha-question{display:flex;align-items:center;justify-content:space-between;gap:8px;height:47px;padding:0 12px;background:#ffe2940b;border:1px solid #efd17133;border-radius:11px}
.registration-captcha-question output{font-size:20px;letter-spacing:2px;font-weight:800;color:#ffdf82;white-space:nowrap}
.registration-captcha-question button{height:33px;border:0;border-radius:7px;padding:4px 8px;font:inherit;font-size:12px;color:#c8e1ea;background:#ffffff0c;cursor:pointer}
.registration-captcha-status{margin:8px 0 0;font-size:12px;color:#e4bc72;line-height:1.5}
.registration-dialog .form-message{min-height:0;margin:14px 0 0;font-size:13px;line-height:1.6;outline:none}
.registration-dialog .form-message:empty{display:none}
.registration-dialog .form-message.error{padding:11px 13px;border:1px solid #ff9c8050;border-radius:10px;background:#ff8a7b0b;color:#ffc3b4}
.registration-dialog .form-message.ok{color:#94e6c2}
.registration-dialog .primary-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;margin-top:19px;padding:13px 20px;border:1px solid #ffe696;border-radius:12px;background:linear-gradient(110deg,#ffeb9e,#f0c350 65%,#e6ab36);box-shadow:0 8px 26px #eeb43c26,inset 0 1px #fff8;color:#172e3c;font:inherit;font-weight:850;cursor:pointer}
.registration-dialog button:disabled{opacity:.58;cursor:wait}
.registration-dialog .signup-terms{margin:12px 0 0;text-align:center;color:#8fafbc;font-size:11px;line-height:1.6}
.registration-dialog .signup-terms a{color:#c5e3ed;text-decoration:underline;text-underline-offset:3px}
.registration-signin-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin:17px 0 0;padding-top:16px;border-top:1px solid #ffffff12;font-size:12px;color:#a4c2cf}
.registration-signin-row button{padding:0;border:0;background:transparent;color:#ffdf83;font:inherit;font-weight:750;cursor:pointer}
@keyframes registration-arrive{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:520px){.registration-dialog{padding:26px 19px;border-radius:19px}.registration-grid{grid-template-columns:1fr;gap:14px}.registration-captcha{gap:12px}.registration-dialog h2{font-size:27px;padding-inline-end:16px}.registration-dialog .eyebrow{font-size:10px}.registration-description{font-size:13px;margin-bottom:19px}.registration-dialog .input-shell input,.registration-dialog select{font-size:16px}.registration-captcha-question{padding:0 9px}.registration-captcha-question output{font-size:17px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.registration-dialog[open]{animation:none}.registration-dialog *{scroll-behavior:auto!important;transition:none!important}}
body[data-motion=paused] .registration-dialog[open]{animation:none}

/* One-click entry owns the primary CTA; personal account details stay optional. */
#btn-start-playing.register-button strong{font-size:clamp(22px,3vw,27px)}
#btn-start-playing.register-button small{font-size:10px;letter-spacing:.5px;white-space:normal;line-height:1.4}
.account-save-lane{flex-wrap:wrap;gap:6px 12px;margin-top:10px}
.account-save-lane #btn-register{min-height:40px;padding:8px 12px}
#starter-card .entry-guest-note{line-height:1.55;margin:15px 0 8px;font-size:11px}
@media(max-width:365px){#btn-start-playing.register-button small{font-size:8px;letter-spacing:0}}

/* Every deliberate activation in the guest showcase enters through native guest_start. */
#starter-card[data-guest-entry]{cursor:pointer}
#starter-card[data-guest-entry]:focus-visible{outline:3px solid #ffd974;outline-offset:5px}
#starter-card[data-guest-entry] .pokemon-hero__motion{display:none!important}
#starter-card[data-guest-entry] .pokemon-hero__choice i{display:none!important}
#starter-card[data-guest-entry] a[href]{cursor:pointer}
@media(max-width:900px){.entry-action-hub{display:flex!important;flex-direction:column!important}.entry-action-hub>section{width:100%!important}.entry-action-hub #entry-panel-login{order:-1!important}.entry-action-hub #entry-panel-play{order:1!important}}
