/* Keep the reference's code-select/code-menu/country-search/country-opt composition. */
.ref-page[data-auth-otp] .auth-body{padding-bottom:32px}
.ref-page .otp-seal{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;margin:4px 0 21px;background:#fff0f3;color:#a9183b;border-radius:24px;font-size:11px;font-weight:650}
.ref-page .otp-seal iconify-icon{font-size:17px}
.ref-page .otp-step{margin-bottom:23px}
.ref-page .otp-step>span{font-size:9px;letter-spacing:1.4px;font-weight:750;color:#a43d55}
.ref-page .otp-step h2{font-size:25px;letter-spacing:-.7px;font-weight:750;margin:8px 0}
.ref-page .otp-step p{font-size:12px;line-height:1.7;color:#706772;max-width:35em}
.ref-page .otp-field{display:flex;flex-direction:column;gap:7px;margin:0 0 15px;min-width:0;font-size:11px;font-weight:650;color:#685f69}
.ref-page .otp-field input{width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:16px;color:#281e2a;background:#faf8fa;border:1px solid #e6dfe5;border-radius:12px;transition:border-color .18s,box-shadow .18s}
.ref-page .otp-field input:focus-visible{outline:0;border-color:#bd254b;box-shadow:0 0 0 3px #bd254b17}
.ref-page .otp-field input:disabled{opacity:.45}
.ref-page .otp-field .otp-code{font-size:28px;text-align:center;letter-spacing:10px;font-variant-numeric:tabular-nums;min-height:62px;padding-left:22px}
.ref-page .otp-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px}
.ref-page .otp-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.65;margin:0 0 18px;color:#706772}
.ref-page .otp-check input{width:17px;height:17px;flex:0 0 17px;margin-top:1px;accent-color:#bc2249}
.ref-page .otp-consent a{color:#a61a3f;text-decoration:underline;text-underline-offset:2px}
.ref-page .otp-genders{border:0;margin:1px 0 19px;padding:0;display:block}
.ref-page .otp-gender-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ref-page .otp-genders legend{font-size:11px;font-weight:650;color:#685f69;margin-bottom:8px}
.ref-page .otp-genders label{position:relative;cursor:pointer}
.ref-page .otp-genders input{position:absolute;opacity:0;width:1px;height:1px}
.ref-page .otp-genders span{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 5px;font-size:12px;border:1px solid #e6dfe5;border-radius:12px;background:#faf8fa;transition:background .18s,border-color .18s}
.ref-page .otp-genders b{font-size:17px;font-weight:500}
.ref-page .otp-genders input:checked+span{background:#fff0f3;border-color:#b82249;color:#a3173c}
.ref-page .otp-genders input:focus-visible+span{outline:2px solid #b82249;outline-offset:3px}
.ref-page .otp-secondary{display:flex;justify-content:space-between;gap:12px;margin:10px 0 21px}
.ref-page .otp-secondary button{font:inherit;font-size:12px;font-weight:650;color:#ad1c42;background:transparent;border:0;min-height:44px;padding:5px 0}
.ref-page .otp-secondary button:disabled{color:#8f8791;cursor:default}
.ref-page .otp-success{text-align:center;padding:24px 0}
.ref-page .otp-success>iconify-icon{font-size:47px;color:#b51e46;margin-bottom:18px}
.ref-page .otp-success h2{font-size:25px;font-weight:750;margin-bottom:12px}
.ref-page .otp-success p{font-size:13px;line-height:1.8;color:#706772;margin-bottom:28px}
.ref-page .country-opt:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:350px){.ref-page .otp-two{grid-template-columns:minmax(0,1fr);gap:0}.ref-page .otp-genders span{gap:4px;font-size:11px}}
.ref-page .code-menu{position:fixed;z-index:90;max-width:calc(100vw - 24px);padding:6px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bd7a84 #fff;box-shadow:0 14px 32px #28131c2e}
.ref-page .code-menu::-webkit-scrollbar{display:block;width:5px}
.ref-page .code-menu::-webkit-scrollbar-thumb{background:#bd7a84;border-radius:5px}
.ref-page .country-search{padding:8px 10px;background:#f2f2f7;top:0}
.ref-page .country-search iconify-icon{font-size:16px;color:#686872}
.ref-page .country-search input{width:100%;min-height:28px;color:var(--ink);font-size:16px;caret-color:var(--red)}
.ref-page .country-search input::placeholder{color:#666671;font-size:13px}
.ref-page .country-search input:focus-visible{outline:2px solid #b92338;outline-offset:4px;border-radius:3px}
.ref-page .country-opt{min-height:44px;gap:9px;font-size:13.5px}
.ref-page .country-opt .nm{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.ref-page .country-opt .c{color:#686872;white-space:nowrap;font-variant-numeric:tabular-nums}
.ref-page .country-opt:hover,.ref-page .country-opt.is-active{background:var(--fill)}
.ref-page .country-opt[aria-selected=true]{color:var(--red);font-weight:800}
.ref-page .country-empty{padding:22px 10px;color:#666671;font-size:13px;text-align:center}
.ref-page .code-btn{min-height:48px;flex-shrink:0;cursor:pointer}
.ref-page .code-btn .code{font-variant-numeric:tabular-nums}
.ref-page .phone-row>.phone-input{min-width:0;flex:1}
.ref-page .check-row .t{min-width:0;font-size:11px;line-height:1.4}
.ref-page .check-row .forgot{display:flex;align-items:center;min-height:44px;font-size:12px;text-align:right;flex-shrink:0}
.ref-page[data-auth-recovery]{padding-bottom:0}
.ref-page .reset-unavailable{margin:14px 0 0;color:#76313d;background:var(--blush);padding:12px 13px;border-radius:12px;line-height:1.65;font-size:12px}
.ref-page .recovery-next{margin-top:30px}
.ref-page .recovery-next h3{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:12px}
.ref-page .recovery-next ol{margin:0;padding-left:20px;color:#64646f;font-size:12px;line-height:1.75}
.ref-page .recovery-next li+li{margin-top:8px}
.ref-page .recovery-next p{margin-top:12px;font-size:12px;color:#64646f;line-height:1.6}
@media(max-width:350px){.ref-page .check-row{gap:7px}.ref-page .check-row .forgot{font-size:11px}.ref-page .check-row .t{font-size:10px}}
.member-role-options { border:0; margin:16px 0; padding:0; }
.member-role-options legend { font-size:1rem; font-weight:700; }
.member-role-options p, .member-role-options small { font-size:.87rem; color:var(--ink-2,#544b4c); }
.member-role-options label { display:flex; align-items:flex-start; gap:12px; padding:12px; margin:8px 0; border:1px solid #dacfd0; border-radius:12px; cursor:pointer; }
.member-role-options input { margin-top:4px; accent-color:var(--red,#bb2838); }
.member-role-options label:has(input:checked) { border-color:var(--red,#bb2838); background:#fff6f7; }
.member-role-options small { display:block; margin-top:2px; }
#member-role-form, #peer-visibility-form { margin:16px 0 24px; }
#member-role-form .btn, #peer-visibility-form .btn { margin-top:12px; }
