/* Small static surfaces reuse Halo's glass materials. No extra blur animation. */
#telegram-auth-entry[hidden],.halo-phone-code-label[hidden]{display:none!important}
.halo-telegram-entry{display:flex;justify-content:center;margin:18px 0 4px;padding-top:16px;border-top:1px solid rgba(130,150,185,.16);text-align:center}
.halo-telegram-entry>span{font-size:12px;opacity:.6}
.auth-card .halo-telegram-button{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;min-height:44px;padding:10px 18px;border-radius:22px;color:inherit;border:1px solid rgba(110,150,195,.28);background:rgba(100,170,220,.09);font:600 13px/1.4 system-ui,sans-serif;cursor:pointer;transition:background .15s,transform .15s}
.auth-card .halo-telegram-button:hover{background:rgba(100,170,220,.17)}
.auth-card .halo-telegram-button:active{transform:scale(.985)}
.halo-telegram-button svg{width:20px;height:20px;flex:0 0 20px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.auth-form .halo-phone-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;align-items:end}
.auth-form .halo-phone-row label{min-width:0}
.auth-form .halo-phone-row input,.auth-form .halo-phone-row select{width:100%;min-width:0;box-sizing:border-box;max-width:100%}
.auth-form .halo-phone-row select{text-overflow:ellipsis}
#telegram-complete-form .halo-telegram-consent{display:flex;flex-direction:row;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}
#telegram-consent{width:18px!important;height:18px!important;flex:0 0 18px;min-height:18px!important;margin:2px 0 0;padding:0;accent-color:#8474ed}
#telegram-complete-form input[readonly]{opacity:.8}
#telegram-complete-form .auth-notice{margin:0;line-height:1.5}
.halo-telegram-settings button{margin-top:12px;min-height:44px}
@media(max-width:380px){.auth-form .halo-phone-row{grid-template-columns:1fr;gap:10px}}
@media(prefers-reduced-motion:reduce){.auth-card .halo-telegram-button{transition:none;transform:none}}
.auth-form .halo-phone-row:has(.halo-phone-code-label[hidden]){grid-template-columns:minmax(0,1fr)}

#telegram-existing-actions[hidden]{display:none!important}
.halo-telegram-existing{display:grid;gap:8px;margin:12px 0 18px}
.halo-telegram-existing p{font-size:12px;line-height:1.5;opacity:.7;margin:0}
#telegram-complete-form label.halo-telegram-consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px!important;padding:4px 0!important;margin:0!important;border:0!important;text-align:left!important}
#telegram-complete-form label.halo-telegram-consent>span{display:block!important;flex:1;min-width:0;border:0!important;background:none!important;padding:0!important;font-size:13px;line-height:1.55}
html:root:not(#telegram221-scope-0):not(#telegram221-scope-1):not(#telegram221-scope-2):not(#telegram221-scope-3):not(#telegram221-scope-4):not(#telegram221-scope-5):not(#telegram221-scope-6):not(#telegram221-scope-7):not(#telegram221-scope-8):not(#telegram221-scope-9):not(#telegram221-scope-10):not(#telegram221-scope-11):not(#telegram221-scope-12):not(#telegram221-scope-13):not(#telegram221-scope-14):not(#telegram221-scope-15) #telegram-complete-form input#telegram-consent{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;display:block!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;flex:0 0 20px!important;border:1.5px solid rgba(130,150,180,.7)!important;border-radius:6px!important;background:rgba(130,150,180,.08)!important;box-shadow:none!important;padding:0!important;margin:1px 0 0!important;cursor:pointer}
html:root:not(#telegram221-scope-0):not(#telegram221-scope-1):not(#telegram221-scope-2):not(#telegram221-scope-3):not(#telegram221-scope-4):not(#telegram221-scope-5):not(#telegram221-scope-6):not(#telegram221-scope-7):not(#telegram221-scope-8):not(#telegram221-scope-9):not(#telegram221-scope-10):not(#telegram221-scope-11):not(#telegram221-scope-12):not(#telegram221-scope-13):not(#telegram221-scope-14):not(#telegram221-scope-15) #telegram-complete-form input#telegram-consent:checked{border-color:#8876ea!important;background:#8876ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4.5 10 3.6 3.6 7.4-7.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat!important}
html:root:not(#telegram221-scope-0):not(#telegram221-scope-1):not(#telegram221-scope-2):not(#telegram221-scope-3):not(#telegram221-scope-4):not(#telegram221-scope-5):not(#telegram221-scope-6):not(#telegram221-scope-7):not(#telegram221-scope-8):not(#telegram221-scope-9):not(#telegram221-scope-10):not(#telegram221-scope-11):not(#telegram221-scope-12):not(#telegram221-scope-13):not(#telegram221-scope-14):not(#telegram221-scope-15) #telegram-complete-form input#telegram-consent:focus-visible{outline:2px solid #8876ea!important;outline-offset:3px!important}
.halo-telegram-link-notice{position:fixed;z-index:99999;left:50%;bottom:20px;transform:translateX(-50%);width:min(90vw,460px);padding:16px 20px;border-radius:18px;background:#20283b;color:#fff;box-shadow:0 8px 30px #0004;font:14px/1.5 system-ui}
