.kyc-page{position:fixed;inset:0;z-index:220;width:min(100%,480px);margin:auto;background:#1e2632;color:#eaecef;overflow:hidden;visibility:hidden;transform:translateX(102%);transition:transform .42s cubic-bezier(.22,.78,.18,1),visibility 0s linear .42s;font-family:Inter,"Segoe UI",Arial,sans-serif;overscroll-behavior:none}.kyc-page[hidden]{display:none!important}
.kyc-page.open{visibility:visible;transform:translateX(0);transition-delay:0s}.kyc-page.closing{visibility:visible;transform:translateX(102%)}
.kyc-page *{box-sizing:border-box}.kyc-header{height:56px;padding:env(safe-area-inset-top) 18px 0;display:grid;grid-template-columns:32px 1fr 32px;align-items:center;border-bottom:1px solid #2b3542;background:#1e2632;position:relative;z-index:6}.kyc-header h1{font-size:17px;line-height:22px;text-align:center;margin:0;font-weight:600}.kyc-icon-button{width:30px;height:30px;border:0;background:transparent;color:#eaecef;display:grid;place-items:center;padding:5px;cursor:pointer}.kyc-icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.kyc-header-spacer{display:block;width:30px;height:30px}
.kyc-progress{position:absolute;top:55px;left:0;right:0;height:2px;background:#293340;z-index:7}.kyc-progress i{display:block;width:25%;height:100%;background:#fcd535;transition:width .28s ease}
.kyc-screen{position:absolute;inset:56px 0 0;display:flex;flex-direction:column;background:#1e2632;visibility:hidden;pointer-events:none;transform:translateX(100%);z-index:1}.kyc-screen.active{visibility:visible;pointer-events:auto;transform:translateX(0);z-index:2}.kyc-screen.kyc-transitioning{visibility:visible;pointer-events:none;transition:transform .36s cubic-bezier(.22,.78,.18,1);will-change:transform}.kyc-screen.kyc-from-center{transform:translateX(0)}.kyc-screen.kyc-from-right{transform:translateX(100%)}.kyc-screen.kyc-from-left{transform:translateX(-100%)}.kyc-screen.kyc-to-left{transform:translateX(-100%)}.kyc-screen.kyc-to-right{transform:translateX(100%)}.kyc-scroll{height:100%;overflow:auto;padding:15px 18px calc(28px + env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#566171 transparent}.kyc-screen:has(.kyc-footer) .kyc-scroll{padding-bottom:90px}
.kyc-identity{text-align:center;padding:4px 0 16px}.kyc-avatar{width:72px;height:72px;margin:0 auto 9px;position:relative}.kyc-avatar>img:first-child{width:100%;height:100%;border-radius:50%;object-fit:cover}.kyc-avatar>.kyc-avatar-flag{position:absolute;right:-3px;top:1px;width:24px;height:18px;border:2px solid #1e2632;border-radius:4px;object-fit:cover;box-shadow:0 1px 4px #0005}.kyc-identity h2{font-size:18px;line-height:23px;margin:0 0 3px}.kyc-identity p{font-size:13px;margin:0 0 10px;color:#d0d5dc}.kyc-status{display:inline-flex;align-items:center;min-height:31px;padding:0 12px;border-radius:5px;font-size:13px}.kyc-status.verified{background:#113b2a;color:#2ebd85}.kyc-status.review{background:#3a3420;color:#fcd535}.kyc-status.rejected,.kyc-status.unverified{background:#3b2027;color:#f6465d}
.kyc-upgrade{background:#273241;border-radius:10px;padding:18px;margin-bottom:17px}.kyc-upgrade h3{font-size:18px;line-height:1.35;margin:0 0 14px}.kyc-upgrade p,.kyc-upgrade ul{font-size:13px;color:#d2d7de;margin:6px 0}.kyc-upgrade ul{padding-left:19px;margin-bottom:16px}.kyc-primary{width:100%;min-height:46px;border:0;border-radius:7px;background:#fcd535;color:#181a20;font-weight:700;font-size:14px;cursor:pointer;transition:opacity .18s ease,transform .18s ease}.kyc-primary:active{transform:scale(.99)}.kyc-primary:disabled{background:#776c2c;color:#191b20;opacity:.72;cursor:default}
.kyc-section{padding:18px 0;border-top:1px solid #2b3542}.kyc-section h3{font-size:16px;margin:0 0 20px;font-weight:500}.kyc-limits,.kyc-personal dl{margin:0}.kyc-limits div,.kyc-personal dl div{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,auto);gap:12px;align-items:start;margin:0 0 14px}.kyc-limits dt,.kyc-limits dd,.kyc-personal dt,.kyc-personal dd{margin:0;font-size:13px;line-height:1.35}.kyc-limits dd,.kyc-personal dd{text-align:right;color:#f4f6f8;overflow-wrap:anywhere}.kyc-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.kyc-section-title h3{margin:0}.kyc-section-title button{border:0;background:none;color:#fcd535;text-decoration:underline;font-size:13px}.kyc-note{background:#343226;color:#d9d8d2;border-radius:6px;padding:13px;line-height:1.45;font-size:12px;margin:20px 0 0}
.kyc-step-body h2{font-size:22px;line-height:28px;margin:4px 0 24px}.kyc-subtitle{font-size:13px;color:#929dab;margin:-15px 0 23px;line-height:1.45}.kyc-field-label{display:block;color:#929dab;font-size:13px;margin-bottom:18px}.kyc-country-field{width:100%;height:48px;margin-top:7px;border:0;border-radius:8px;background:#293443;color:#eaecef;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:14px;text-align:left;cursor:pointer}.kyc-country-field i{font-style:normal;color:#758090}.kyc-country-value{min-width:0;display:flex;align-items:center;gap:10px;white-space:nowrap;overflow:hidden}.kyc-country-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kyc-details-subtitle{margin:4px 0 23px}
.kyc-documents{border:0;padding:0;margin:6px 0 20px}.kyc-documents legend{color:#929dab;font-size:13px;margin-bottom:10px}.kyc-documents button{width:100%;height:64px;border:1px solid #46515f;background:transparent;color:#eaecef;border-radius:9px;margin-bottom:10px;padding:0 16px;display:flex;align-items:center;gap:14px;font-size:15px;cursor:pointer}.kyc-documents button.selected{border:2px solid #eaecef;background:#222c38}.kyc-documents img{width:25px;height:25px;object-fit:contain}.kyc-consent{display:grid;grid-template-columns:21px 1fr;gap:9px;align-items:start;font-size:11.5px;line-height:1.45;color:#d5dae0;margin:13px 0}.kyc-consent input{appearance:none;width:20px;height:20px;margin:0;border:2px solid #768190;border-radius:4px;background:transparent}.kyc-consent input:checked{border-color:#eaecef;background:#eaecef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='%23181a20' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/17px no-repeat}
.kyc-footer{position:absolute;left:0;right:0;bottom:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(30,38,50,0),#1e2632 25%);z-index:3}.kyc-upload-actions{display:grid;gap:10px}.kyc-upload-actions button{height:58px;border:1.5px solid #e3e7ec;background:transparent;border-radius:9px;color:#eaecef;display:flex;align-items:center;gap:14px;padding:0 16px;font-size:14px;font-weight:600;cursor:pointer}.kyc-upload-actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.kyc-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.kyc-preview{position:relative;aspect-ratio:1.5;border-radius:8px;overflow:hidden;background:#293443}.kyc-preview img{width:100%;height:100%;object-fit:cover}.kyc-preview button{position:absolute;top:6px;right:6px;width:25px;height:25px;border:0;border-radius:50%;background:#141920dd;color:#fff;font-size:16px}.kyc-guidance{background:#293443;border-radius:10px;padding:13px 15px;color:#d8dce2;margin-top:18px}.kyc-guidance p{margin:7px 0;font-size:12px;line-height:1.4}
.kyc-form-grid{display:grid;gap:13px}.kyc-form-grid label{display:block;color:#929dab;font-size:12px}.kyc-form-grid input{width:100%;height:46px;margin-top:6px;border:1px solid transparent;border-radius:8px;background:#293443;color:#eaecef;padding:0 13px;font-size:14px;outline:0}.kyc-form-grid input:focus{border-color:#fcd535}.kyc-form-grid input[readonly]{color:#9ba5b3}.kyc-form-error{min-height:20px;margin-top:15px;color:#f6465d;font-size:12px}
.kyc-country-picker{position:absolute;inset:0;z-index:20;background:#0b0f15a8;opacity:0;pointer-events:none;transition:opacity .25s ease}.kyc-country-picker.open{opacity:1;pointer-events:auto}.kyc-picker-card{position:absolute;left:0;right:0;bottom:0;height:min(82%,700px);background:#1e2632;border-radius:15px 15px 0 0;transform:translateY(100%);transition:transform .34s cubic-bezier(.22,.78,.18,1);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}.kyc-country-picker.open .kyc-picker-card{transform:translateY(0)}.kyc-picker-card header{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 12px}.kyc-picker-card h2{font-size:18px;margin:0}.kyc-picker-card header button{width:30px;height:30px;border:0;background:none;color:#eaecef;font-size:29px;line-height:1;font-weight:200}.kyc-country-search{width:calc(100% - 28px);margin:0 14px 10px;height:46px;border-radius:8px;background:#293443;display:flex;align-items:center;gap:9px;padding:0 13px}.kyc-country-search svg{width:20px;height:20px;fill:none;stroke:#8792a0;stroke-width:1.8}.kyc-country-search input{width:100%;border:0;outline:0;background:none;color:#eaecef;font-size:14px;min-width:0;flex:1}.kyc-country-list{overflow:auto;padding:2px 14px 20px}.kyc-country-list button{width:100%;height:47px;border:0;background:transparent;color:#eaecef;display:flex;align-items:center;gap:11px;padding:0;text-align:left;font-size:14px}.kyc-country-list button.selected{color:#fcd535}.kyc-country-flag-wrap{width:26px;height:19px;flex:0 0 26px;display:grid;place-items:center;overflow:hidden;border-radius:3px;background:#303a47}.kyc-country-flag-wrap img{width:100%;height:100%;display:block;object-fit:cover}.kyc-country-flag-code{font-size:8px!important;line-height:1;font-weight:700;color:#cfd5dc}.kyc-country-field .kyc-country-flag-wrap{width:25px;height:18px;flex-basis:25px}
.kyc-toast{position:absolute;z-index:40;left:50%;bottom:90px;transform:translateX(-50%);max-width:calc(100% - 36px);padding:11px 14px;border-radius:7px;background:#313b48;color:#fff;font-size:13px;box-shadow:0 8px 24px #0006;white-space:nowrap}
.account-list-row em.review{color:#fcd535}
/* Vector verification mark: consistent across platforms and never rendered as an emoji. */
.kyc-status.verified::before,
#accountVerificationStatus.ok::before,
#menuVerificationStatus.is-verified::before{
  content:"";
  display:inline-block;
  flex:0 0 15px;
  width:15px;
  height:15px;
  margin-right:5px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.3 6.2 12l7.3-8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.3 6.2 12l7.3-8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
#accountVerificationStatus.ok,
#menuVerificationStatus.is-verified{display:inline-flex;align-items:center;}
html[dir="rtl"] .kyc-status.verified::before,
html[dir="rtl"] #accountVerificationStatus.ok::before,
html[dir="rtl"] #menuVerificationStatus.is-verified::before{margin-right:0;margin-left:5px;}
/* v550: make the country search a proper touch target instead of a narrow strip. */
.kyc-country-search{height:58px;margin-bottom:12px;padding:0 15px;gap:10px;border-radius:9px}
.kyc-country-search svg{width:21px;height:21px;flex:0 0 21px}
.kyc-country-search input{height:100%;font-size:15px}
@media (max-width:380px){.kyc-scroll{padding-left:16px;padding-right:16px}.kyc-step-body h2{font-size:20px;line-height:26px}.kyc-limits div,.kyc-personal dl div{grid-template-columns:minmax(0,1fr) minmax(105px,auto)}.kyc-limits dt,.kyc-limits dd,.kyc-personal dt,.kyc-personal dd{font-size:12px}}
@media (prefers-reduced-motion:reduce){.kyc-page,.kyc-screen,.kyc-country-picker,.kyc-picker-card{transition-duration:.01ms!important}}
