.hk-code-page{margin:0;min-height:100svh;background:#fffaf1;color:#19152e;font-family:Arial,Helvetica,sans-serif;display:grid;place-items:center;padding:32px 20px;box-sizing:border-box}
.hk-code-page *{box-sizing:border-box}.hk-code-shell{width:min(100%,440px)}
.hk-code-brand{display:block;width:44px;height:44px;margin:0 auto 42px;color:#9b27f5}.hk-code-brand svg{width:100%;height:100%;fill:currentColor}
.hk-code-panel{background:white;border-radius:28px;padding:36px 28px;box-shadow:0 12px 50px #19152e08}
.hk-code-back{display:inline-grid;place-items:center;border:0;background:#f5f3f6;color:#19152e;width:42px;height:42px;border-radius:50%;text-decoration:none;font-size:25px;margin-bottom:28px;cursor:pointer}
.hk-code-panel h1{font-size:30px;line-height:1.12;letter-spacing:-1.1px;margin:0 0 14px;font-weight:800}.hk-code-panel p{font-size:16px;line-height:1.5;color:#686275;margin:0 0 28px}
.hk-code-tabs{display:flex;padding:5px;border-radius:18px;background:#f0edf3;margin:25px 0 30px;gap:5px}.hk-code-tabs a{flex:1;padding:12px;border:0;background:transparent;border-radius:14px;text-align:center;font:inherit;color:#686275;text-decoration:none}.hk-code-tabs button{flex:1;padding:12px;border:0;background:transparent;border-radius:14px;text-align:center;font:inherit;color:#686275;text-decoration:none}.hk-code-tabs .selected{background:white;color:#19152e;font-weight:700;box-shadow:0 2px 5px #19152e08}
.hk-code-panel label{display:block;font-size:14px;font-weight:700;margin:0 0 10px}.hk-code-field{display:flex;align-items:center;background:#f4f1f5;border:1px solid #dcd7e2;border-radius:16px;overflow:hidden;margin-bottom:24px;min-height:62px}.hk-code-prefix{padding:19px 16px;border-right:1px solid #dcd7e2;white-space:nowrap;font-size:15px;font-weight:700}.hk-code-field input{width:100%;min-width:0;border:0;background:transparent;padding:18px 16px;font:600 18px Arial;color:#19152e;outline:0}.hk-code-field:focus-within{outline:3px solid #9b27f533;border-color:#9b27f5}.hk-code-field .hk-code-number{letter-spacing:10px;text-align:center;font-size:26px;padding-left:26px}
.hk-code-submit{width:100%}.hk-code-back:focus-visible{outline:3px solid #19152e;outline-offset:4px}.hk-code-panel .hk-code-links{text-align:center;font-size:14px;margin:25px 0 0}.hk-code-links a{color:#5f218f;font-weight:700;text-underline-offset:3px}.hk-code-panel .hk-code-error{background:#fff0ed;border:1px solid #f2b7aa;color:#8f301e;padding:12px;border-radius:12px;font-size:14px}
.hk-code-success{text-align:center}.hk-code-check{width:100px;height:100px;margin:12px auto 28px;border-radius:50%;display:grid;place-items:center;background:#e9ffd9;color:#19152e;border:10px solid #f6ffef;font-size:45px}.hk-code-preview{font-size:12px;text-align:center;color:#686275;margin:24px 0}.hk-code-preview a{color:inherit}
@media(max-width:520px){.hk-code-page{display:block;background:white;padding:28px 24px}.hk-code-brand{margin:0 auto 32px;width:38px;height:38px}.hk-code-panel{box-shadow:none;padding:0;background:transparent;border-radius:0}.hk-code-back{margin-bottom:34px}.hk-code-panel h1{font-size:28px}.hk-code-shell{margin:0 auto}.hk-code-field{margin-top:12px}}

.hk-code-panel .hk-code-eyebrow{color:#9225e8;font-size:11px;font-weight:800;letter-spacing:1.8px;margin-bottom:12px}.hk-code-panel .hk-code-confirmed{background:#f1fae9;color:#355426;border-radius:12px;padding:12px 14px;font-size:13px;margin-top:-8px;margin-bottom:25px}.hk-code-confirmed span{font-weight:bold;margin-right:6px}
.hk-loading{border:0;border-radius:26px;padding:32px 26px;width:min(360px,calc(100vw - 48px));text-align:center;color:#19152e;background:white;box-shadow:0 20px 90px #19152e22;font-family:Arial,Helvetica,sans-serif}.hk-loading::backdrop{background:#19152e55;backdrop-filter:blur(5px)}.hk-loading h2{font-size:23px;letter-spacing:-.6px;margin:20px 0 10px}.hk-loading p{color:#686275;font-size:15px;line-height:1.5;margin:0}.hk-loading-ring{display:block;width:42px;height:42px;border:4px solid #eee4f5;border-top-color:#9b27f5;border-radius:50%;margin:0 auto;animation:hk-spin .85s linear infinite}@keyframes hk-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.hk-loading-ring{animation:none;border-color:#9b27f5 #eee4f5 #9b27f5 #eee4f5}}
/* The same soft, rounded card on every login step, including phones. */
@font-face{font-family:Outfit;src:url('https://fonts.gstatic.com/s/outfit/v15/QGYyz_MVcBeNP4NjuGObqx1XmO1I4e6yC4E.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
.hk-code-page:has(.hk-code-shell){display:grid;place-items:center;background:#f1e8dc;padding:28px 18px;font-family:Outfit,Arial,sans-serif}
.hk-code-shell .hk-code-brand{color:#603398;margin:0 auto 24px;width:38px;height:38px}
.hk-code-shell .hk-code-panel{background:#fffaf2;border:0;border-radius:28px;padding:28px;box-shadow:0 12px 40px #3820440b}
.hk-code-shell .hk-code-panel h1{font-size:29px;font-weight:700;letter-spacing:-.7px;text-align:center;margin:0 0 22px}
.hk-code-shell .hk-code-panel p{font-size:14px;margin:0 0 20px;text-align:center;color:#786987}
.hk-code-shell .hk-code-panel .hk-code-links{font-size:13px;margin:18px 0 0}
.hk-code-shell .hk-code-back{width:36px;height:36px;background:#eee4f5;color:#603398;margin:0 0 18px;font-size:22px}
.hk-code-shell .hk-code-field{background:#fff;border:0;border-radius:16px;min-height:54px;margin:0 0 18px}
.hk-code-shell .hk-code-prefix{border:0;color:#786987;padding:16px 12px;font-size:13px}
.hk-code-shell .hk-code-field input{font-family:Outfit,Arial,sans-serif;font-size:17px;padding:16px 14px;font-weight:500}
.hk-code-shell .hk-code-field:focus-within{outline:3px solid #b597d3}
.hk-code-shell .hk-code-panel label{font-size:13px;color:#554361;margin:0 0 8px}
.hk-code-shell .hk-code-links a{text-decoration:none;color:#603398}.hk-code-shell .hk-code-links a:hover{color:#7c3feb}
.hk-code-shell .hk-code-panel .hk-code-error{text-align:left;border:0;margin-bottom:18px}
@media(max-width:520px){.hk-code-page:has(.hk-code-shell){padding:24px 16px}.hk-code-shell .hk-code-panel{padding:24px 20px;border-radius:26px}.hk-code-shell .hk-code-panel h1{font-size:26px}}

.hk-code-page .hk-loading{background:#fffaf2;font-family:Outfit,Arial,sans-serif}.hk-loading p:empty{display:none}
/* Match the platform's floating field labels without changing native form behavior. */
.hk-code-shell .hk-login-floating{position:relative;min-height:64px}
.hk-code-shell .hk-login-floating input{height:64px;padding:25px 16px 9px}
.hk-code-shell .hk-login-floating label{position:absolute;left:16px;top:50%;transform:translateY(-50%);margin:0;color:#786987;font-size:16px;font-weight:500;line-height:1.2;cursor:text;transition:top .18s ease,transform .18s ease,font-size .18s ease,color .18s ease}
.hk-code-shell .hk-login-floating:has(.hk-code-prefix) label{left:76px}
.hk-code-shell .hk-login-floating .hk-code-prefix{flex:0 0 60px;padding:16px 12px}
.hk-code-shell .hk-login-floating:focus-within label,.hk-code-shell .hk-login-floating:has(input:not(:placeholder-shown)) label,.hk-code-shell .hk-login-floating:has(input:autofill) label{top:10px;transform:none;font-size:11px;font-weight:600;color:#603398}
.hk-code-shell .hk-login-floating .hk-code-number{font-size:24px;letter-spacing:8px;text-align:left;padding-left:16px}
@media(prefers-reduced-motion:reduce){.hk-code-shell .hk-login-floating label{transition:none}}

/* More breathing room and a quieter hierarchy for the entry cards. */
.hk-code-shell .hk-code-panel{padding:52px 32px 32px;border-radius:30px;box-shadow:0 16px 48px #38204408}
.hk-code-shell .hk-code-panel h1{margin-bottom:30px;line-height:1.2}
.hk-code-shell .hk-code-panel .hk-code-links{margin-top:18px;font-weight:400}
.hk-code-shell .hk-code-links a{font-weight:500}
.hk-code-shell .hk-code-brand{margin-bottom:28px}
@media(max-width:520px){.hk-code-shell .hk-code-panel{padding:44px 22px 28px;border-radius:28px}.hk-code-shell .hk-code-panel h1{font-size:26px;margin-bottom:28px}}

/* House Key typography: balanced lines for titles and paragraph copy. */
body :is(h1,h2,h3,h4,h5,h6,p){text-wrap:balance}

/* Keep touch navigation at page scale while allowing scrolling in both directions. */
html,body{touch-action:pan-x pan-y}
