/* Telegram sign-in U. Scoped to the existing Wundercash auth dialog. */
.dialog.auth-dialog.wndr-auth-u{max-width:470px;padding:28px 28px 30px}
.wndr-auth-u .dialog-top{margin-bottom:22px}
.wndr-auth-u .dialog-top h2{font-size:26px;letter-spacing:-.04em}
.wndr-auth-u>.lead{display:none}
.wndr-auth-u #auth-form{gap:13px}
.wndr-auth-u #auth-form>label:first-child{font-size:14px;font-weight:600;gap:10px}
.wndr-auth-u #auth-form input[name=email]{padding:14px 17px 14px 49px;min-height:56px;border:1px solid #d9dde6;border-radius:17px;background-color:var(--paper,#fff);color:var(--ink,#20252b);font-size:16px}
.wndr-auth-u #auth-form>label:first-child{position:relative}
.wndr-auth-u .wndr-mail-icon{position:absolute;left:15px;bottom:17px;width:23px;height:23px;pointer-events:none;color:#89919d}
.wndr-auth-u .wndr-mail-icon svg{display:block;width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.65}
.wndr-auth-u #auth-form>.primary{min-height:54px;background:#202229;color:#fff;border-radius:16px;font-weight:650;font-size:16px}
.wndr-auth-u #auth-form>.primary:hover{background:#353840}
.wndr-auth-u .wndr-u-divider{display:flex;align-items:center;gap:16px;margin:17px 0;color:#9297a1;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.03em}
.wndr-auth-u .wndr-u-divider:before,.wndr-auth-u .wndr-u-divider:after{content:"";height:1px;flex:1;background:#e8eaf0}
.wndr-auth-u .wndr-u-telegram-button,.wndr-auth-u .wndr-u-face-button{width:100%;min-height:55px;padding:10px 16px;border-radius:16px;display:flex;justify-content:center;align-items:center;gap:12px;font-weight:650;font-size:16px}
.wndr-auth-u .wndr-u-telegram-button{background:#229ed9;color:#fff;border:1px solid #229ed9}
.wndr-auth-u .wndr-u-telegram-button:hover{background:#168aca}
.wndr-auth-u .wndr-u-telegram-button img{width:28px!important;height:28px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center;display:block;flex:0 0 28px;border-radius:0!important;overflow:visible!important;clip-path:none!important;filter:none!important;opacity:1!important}
.wndr-auth-u .wndr-u-face-button{margin-top:12px!important;border:1px solid #d9dde6;background:#fff;color:#232630}
.wndr-auth-u .wndr-u-face-button:hover{background:#f7f9fc}
.wndr-auth-u .wndr-u-face-button .wndr-face-symbol{color:#5b64bc;font-size:25px;line-height:1}
.wndr-auth-u .wndr-u-panel{display:grid;gap:16px;margin:0}
.wndr-auth-u .wndr-u-panel[hidden],.wndr-auth-u .wndr-u-panel [hidden]{display:none!important}
.wndr-auth-u .wndr-u-description{color:#657080;font-size:14px;line-height:1.55;margin:0}
.wndr-auth-u .wndr-u-help{background:#f2f7fc;border-radius:17px;padding:16px;display:grid;gap:8px}
.wndr-auth-u .wndr-u-help-title{font-size:14px;font-weight:650;color:#253045;margin:0}
.wndr-auth-u .wndr-u-help-copy{font-size:13px;color:#657080;line-height:1.5;margin:0}
.wndr-auth-u .wndr-u-help-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:4px}
.wndr-auth-u .wndr-u-bot-link{padding:10px 14px;border-radius:12px;background:#fff;color:#137cb7;border:1px solid #bedff1;font-size:14px;font-weight:650;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:43px;flex:1}
.wndr-auth-u .wndr-u-copy-start{padding:10px 14px;border:1px solid #d8e1ed;border-radius:12px;color:#334256;background:#fff;min-height:43px;font-size:14px;font-weight:600;flex:1}
.wndr-auth-u .wndr-u-field{display:grid;gap:8px;font-size:14px;font-weight:600;color:var(--ink,#20252b)}
.wndr-auth-u .wndr-u-input{width:100%;min-height:55px;border-radius:15px;border:1px solid #d9dde6;background:#fff;padding:13px 16px;font:inherit;font-size:17px;color:#21242c;letter-spacing:.01em;box-sizing:border-box}
.wndr-auth-u .wndr-u-id-input{direction:ltr;text-align:left;font-variant-numeric:tabular-nums;letter-spacing:.015em}
.wndr-auth-u .wndr-u-code-native{position:absolute;inset:0;opacity:.02;z-index:2;width:100%;height:100%;cursor:text;border:0;direction:ltr}
.wndr-auth-u .wndr-u-code-wrap{position:relative;direction:ltr;min-height:58px}
.wndr-auth-u .wndr-u-code-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;pointer-events:none}
.wndr-auth-u .wndr-u-code-cell{min-height:56px;min-width:0;border:1px solid #d9dde6;border-radius:13px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:23px;color:#20252b;background:#fff;font-variant-numeric:tabular-nums}
.wndr-auth-u .wndr-u-code-cell.filled{border-color:#a9cce7;background:#f8fbfe}
.wndr-auth-u .wndr-u-code-cell.active{border-color:#229ed9;box-shadow:0 0 0 2px #229ed923}
.wndr-auth-u .wndr-u-action{min-height:53px;border-radius:15px;background:#202229;color:#fff;font-size:16px;font-weight:650}
.wndr-auth-u .wndr-u-action:hover{background:#353840}
.wndr-auth-u .wndr-u-secondary{background:transparent;color:#657080;padding:8px;border-radius:10px;min-height:40px;font-size:13px;font-weight:600}
.wndr-auth-u .wndr-u-change-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.wndr-auth-u .wndr-u-error{min-height:0;margin:0;font-size:13px;color:#c13242;line-height:1.45}
.wndr-auth-u .wndr-u-error:empty{display:none}
.wndr-auth-u button:disabled{opacity:.56;cursor:default}
html[data-theme=dark] .wndr-auth-u .wndr-u-help{background:#202b39}
html[data-theme=dark] .wndr-auth-u .wndr-u-help-title{color:#f1f4f8}
html[data-theme=dark] .wndr-auth-u .wndr-u-help-copy{color:#aeb8c7}
html[data-theme=dark] .wndr-auth-u .wndr-u-bot-link,html[data-theme=dark] .wndr-auth-u .wndr-u-copy-start,html[data-theme=dark] .wndr-auth-u .wndr-u-face-button,html[data-theme=dark] .wndr-auth-u .wndr-u-input,html[data-theme=dark] .wndr-auth-u .wndr-u-code-cell{background:#222a35;color:#f1f4f8;border-color:#445062}
@media(max-width:420px){.dialog.auth-dialog.wndr-auth-u{padding:22px 19px 24px}.wndr-auth-u .wndr-u-code-cells{gap:6px}.wndr-auth-u .wndr-u-code-cell{min-height:49px;font-size:21px}.wndr-auth-u .wndr-u-telegram-button,.wndr-auth-u .wndr-u-face-button{font-size:15px}.wndr-auth-u .wndr-u-help-actions{flex-direction:column}.wndr-auth-u .wndr-u-help-actions>*{width:100%}}

.wndr-auth-u .wndr-u-face-button .wndr-face-symbol{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.wndr-auth-u .wndr-u-face-button .wndr-face-symbol svg{height:26px;width:26px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}

/* V: plainly explained Telegram flow. No copy/start dead-end. */
.wndr-auth-u .wndr-u-telegram-button{overflow:visible;white-space:normal;line-height:1.3}
.wndr-auth-u .wndr-u-telegram-button img{vertical-align:middle}
.wndr-auth-u .wndr-u-steps{display:grid;gap:10px;margin:3px 0 6px}
.wndr-auth-u .wndr-u-step{margin:0;color:#435064;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.wndr-auth-u .wndr-u-help{gap:10px}
.wndr-auth-u .wndr-u-bot-link{width:100%;min-height:46px;background:#229ed9;border-color:#229ed9;color:#fff;font-weight:650}
.wndr-auth-u .wndr-u-bot-link:hover{background:#138dc7;border-color:#138dc7;color:#fff}
.wndr-auth-u .wndr-u-bot-link[aria-disabled=true]{opacity:.6;pointer-events:none}
html[data-theme=dark] .wndr-auth-u .wndr-u-step{color:#d2d9e4}
html[data-theme=dark] .wndr-auth-u .wndr-u-bot-link{background:#229ed9;color:#fff;border-color:#229ed9}
@media(max-width:420px){.wndr-auth-u .wndr-u-step{font-size:13px}.wndr-auth-u .wndr-u-telegram-button img{width:25px!important;height:25px!important;flex-basis:25px}}
