:root {
  --auth-lime: #79d9ff;
  --auth-aqua: #5de5dc;
  --auth-panel: rgba(11, 22, 39, .82);
}

body:has(.auth-entry-shell) .main { display: flex; flex-direction: column; margin-left: 0; width: 100%; padding: 40px 24px; }
body:has(.auth-entry-shell) .sidebar,
body:has(.auth-entry-shell) .topbar,
body:has(.auth-entry-shell) .notice-bar { display: none; }
body:has(.auth-entry-shell) .product-signature { display: none !important; }
body:has(.auth-entry-shell) .shell { display: block; }
body:has(.auth-entry-shell) .topbar,
body:has(.auth-entry-shell) .notice-bar { opacity: .84; }
.auth-entry-shell { width: min(100%, 1080px); min-height: min(690px, calc(100vh - 180px)); margin: 10px auto 0; padding: clamp(18px, 3vw, 38px); display: grid; grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr); gap: clamp(22px, 5vw, 72px); align-items: center; border: 1px solid rgba(108, 145, 194, .28); border-radius: 24px; background: radial-gradient(circle at 85% 15%, rgba(185, 255, 61, .1), transparent 34%), linear-gradient(145deg, rgba(22, 39, 64, .96), rgba(7, 17, 30, .96)); box-shadow: 0 30px 90px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; }
.auth-context-panel { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 10px 0; }
.auth-mark { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: #a6b7cc; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.auth-mark img { width: 144px; max-width: 100%; height: 48px; object-fit: contain; opacity: .85; }
.auth-mark-symbol { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--auth-lime); border-radius: 11px; color: #11220b; background: var(--auth-lime); box-shadow: 0 0 24px rgba(185,255,61,.18); }
.auth-context-panel h1 { max-width: 440px; margin: 32px 0 20px; color: var(--text); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.auth-context-panel h1 em { color: var(--auth-lime); font-style: normal; }
.auth-context-copy { max-width: 390px; margin: 0; color: #b6c5d8; font-size: 15px; line-height: 1.7; }
.auth-benefits { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.auth-benefits li { display: flex; gap: 10px; align-items: flex-start; color: #cbd8e9; font-size: 12px; line-height: 1.4; }
.auth-benefits li::before { content: '✓'; flex: 0 0 auto; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid rgba(185,255,61,.5); border-radius: 50%; color: var(--auth-lime); font-size: 11px; }
.auth-trust-note { max-width: 340px; padding: 12px 13px; border-left: 2px solid var(--auth-aqua); color: #b6c5d8; background: rgba(17, 46, 64, .34); font-size: 12px; line-height: 1.5; }
.auth-form-card { width: 100%; max-width: 540px; justify-self: end; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(190,205,226,.18); border-radius: 24px; background: rgba(18,25,36,.88); box-shadow: 0 24px 64px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04); backdrop-filter: blur(18px); }
.auth-form-card .auth-fallback-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.auth-fallback-heading h2 { margin: 0; color: var(--text); font-size: clamp(21px, 3vw, 29px); letter-spacing: -.035em; text-align: left; }
.auth-fallback-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: left; }
.auth-mode-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(93,229,220,.36); border-radius: 999px; color: var(--auth-aqua); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.auth-entry-shell .auth-fallback form { width: 100%; max-width: none; }
.auth-entry-shell .modal-field { color: #dce7f6; font-size: 13px; font-weight: 650; letter-spacing: .01em; }
.auth-entry-shell .modal-field .muted-copy { font-weight: 500; letter-spacing: 0; }
.auth-entry-shell .input, .auth-entry-shell .select { min-height: 48px; border: 1px solid rgba(190,205,226,.22); border-radius: 12px; background: rgba(255,255,255,.035); color: #f3f6fb; font-size: 15px; transition: border-color .16s, box-shadow .16s; }
.auth-entry-shell textarea.input { min-height: 78px; }
.auth-entry-shell .input:focus, .auth-entry-shell .select:focus { border-color: #8ebfff; box-shadow: 0 0 0 3px rgba(93,158,255,.15); outline: none; }
.auth-entry-shell .auth-form-actions { margin-top: 10px; padding-top: 18px; border-top-color: rgba(108,145,194,.26); }
.auth-entry-shell .auth-form-actions .button.primary { color: #fff; border-color: #7eaff8; background: #347be9; border-radius: 12px; min-height: 44px; padding-inline: 26px; font-size: 14px; box-shadow: 0 8px 20px rgba(20,65,145,.18); }
.auth-entry-shell .auth-password-rules { border-color: rgba(93,229,220,.18); background: rgba(17,46,64,.28); }
.auth-entry-shell [data-auth-error] { min-height: 20px; margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; color: #ffcfca; background: rgba(116, 38, 47, .26); font-size: 11px; line-height: 1.45; }
.auth-entry-shell [data-auth-error]:empty { display: none; }
.auth-password-wrap { position: relative; }
.auth-password-wrap .input { width: 100%; padding-right: 74px; }
.auth-password-toggle { position: absolute; top: 50%; right: 8px; min-height: 36px; padding: 6px 8px; transform: translateY(-50%); border: 0; border-radius: 8px; color: #c2d5ed; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.auth-password-toggle:focus-visible { outline: 2px solid var(--auth-lime); outline-offset: 2px; }
.auth-pending-shell { width: min(100%, 660px); margin: 24px auto; padding: clamp(22px, 5vw, 48px); border: 1px solid rgba(185,255,61,.28); border-radius: 24px; background: linear-gradient(145deg, rgba(22, 48, 53, .95), rgba(8, 22, 33, .98)); box-shadow: 0 30px 90px rgba(0,0,0,.25); text-align: center; }
.auth-pending-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border: 1px solid var(--auth-lime); border-radius: 18px; color: #13200c; background: var(--auth-lime); font-size: 28px; font-weight: 900; }
.auth-pending-shell h2 { margin: 0; color: var(--text); font-size: clamp(25px, 4vw, 36px); letter-spacing: -.045em; }
.auth-pending-shell > p { max-width: 520px; margin: 12px auto 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.auth-pending-badge { display: inline-flex; margin: 18px auto 0; padding: 6px 11px; border: 1px solid rgba(255,190,73,.45); border-radius: 999px; color: #ffd27e; background: rgba(110,71,20,.2); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.auth-pending-steps { display: grid; gap: 10px; max-width: 470px; margin: 26px auto; padding: 0; list-style: none; text-align: left; }
.auth-pending-steps li { display: flex; gap: 11px; padding: 11px 12px; border: 1px solid rgba(108,145,194,.22); border-radius: 10px; color: #d1deee; background: rgba(5,16,29,.42); font-size: 12px; line-height: 1.45; }
.auth-pending-steps li::before { content: '•'; color: var(--auth-aqua); font-size: 18px; line-height: 12px; }
.auth-pending-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
@media (max-width: 820px) { .auth-entry-shell { grid-template-columns: 1fr; min-height: 0; margin-top: 4px; padding: 18px; } .auth-context-panel { gap: 18px; padding: 0; } .auth-context-panel h1 { max-width: 560px; margin-top: 15px; } .auth-benefits { grid-template-columns: repeat(3, 1fr); margin-top: 18px; } .auth-trust-note { max-width: none; } .auth-form-card { max-width: none; justify-self: stretch; } }
@media (max-width: 560px) { .auth-entry-shell { margin-inline: 0; border-radius: 16px; } .auth-context-panel h1 { font-size: 32px; } .auth-benefits { grid-template-columns: 1fr; } .auth-form-card { padding: 18px 14px; } .auth-form-card .auth-fallback-heading { display: block; } .auth-mode-badge { display: inline-flex; margin-top: 12px; } .auth-entry-shell .auth-form-actions { flex-direction: column; align-items: stretch; } .auth-entry-shell .auth-form-actions .button { width: 100%; } }

.auth-registration-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5}.auth-registration-consent input{flex:0 0 auto;width:16px;height:16px;margin:3px 0;accent-color:#ac3b42}.auth-rules-summary{color:var(--muted);font-size:12px;line-height:1.6}.auth-rules-summary summary{cursor:pointer;color:#d2bda2}.auth-rules-summary .hk-rules-body{display:block;padding:8px 0}.auth-rules-summary .hk-rules-body h2{font-size:13px}.auth-rules-summary .hk-golden-rule{display:block;padding:12px}
