/* Element 1.12.30 sanitizes embedded HTML: custom classes, style tags and image
   dimensions do not survive. These selectors target its real wrapper classes
   and retained semantic markup. Keep this linked after Element's own CSS. */
img[src="/branding/icon.svg"]{width:46px;height:46px;max-width:46px;object-fit:contain}
.mx_WelcomePage_body>div,.mx_HomePage_body>div,div:has(>img[src="/branding/icon.svg"]):has(>h1){box-sizing:border-box;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;max-width:680px;margin:0 auto;padding:32px 26px;color:var(--timeline-text-color,#f2f6fc);text-align:left}
.mx_WelcomePage_body>div>img,.mx_HomePage_body>div>img,div:has(>img[src="/branding/icon.svg"]):has(>h1)>img{display:block;margin:0 0 26px;width:46px;height:46px}
.mx_WelcomePage_body>div>h1,.mx_HomePage_body>div>h1,div:has(>img[src="/branding/icon.svg"]):has(>h1)>h1{font-size:42px;line-height:1.1;letter-spacing:-1.9px;font-weight:750;margin:16px 0 20px;color:var(--timeline-text-color,#f2f6fc)}
.mx_WelcomePage_body>div>h1>span{color:var(--accent-color,#8ff0d2)}
.mx_WelcomePage_body>div>p,.mx_HomePage_body>div>p,div:has(>img[src="/branding/icon.svg"]):has(>h1)>p{font-size:15px;line-height:1.65;margin:17px 0;color:var(--timeline-text-secondary-color,#a9b8ce);max-width:540px}
.mx_WelcomePage_body>div>p:first-of-type{font-size:11px;line-height:1.4;font-weight:750;letter-spacing:2px;text-transform:uppercase;color:var(--accent-color,#8ff0d2)}
.mx_WelcomePage_body>div>div:has(>a[href="#/register"]),.mx_HomePage_body>div>div:has(>a[href="#/dm"]),div:has(>img[src="/branding/icon.svg"])>div:has(>a[href="#/dm"]){display:flex;gap:12px;flex-wrap:wrap;margin:27px 0 18px}
.mx_WelcomePage_body a[href="#/register"],.mx_WelcomePage_body a[href="#/login"],.mx_HomePage_body a[href="#/dm"],.mx_HomePage_body a[href="#/directory"],.mx_HomePage_body a[href="#/new"],div:has(>img[src="/branding/icon.svg"])>div>a[href="#/dm"],div:has(>img[src="/branding/icon.svg"])>div>a[href="#/directory"],div:has(>img[src="/branding/icon.svg"])>div>a[href="#/new"]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:45px;padding:12px 20px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:700;background:var(--timeline-highlights-color,#1c2940);border:1px solid var(--roomlist-separator-color,#2b3b51);color:var(--timeline-text-color,#f2f6fc)}
.mx_WelcomePage_body a[href="#/register"]{background:#8ff0d2;border-color:#8ff0d2;color:#142334}
.mx_WelcomePage_body a[href="#/register"]:hover{background:#b0f8e2}
.mx_WelcomePage_body a[href="#/login"]:hover,.mx_HomePage_body>div>div>a:hover{background:var(--roomlist-highlights-color,#24334b)}
.mx_WelcomePage_body>div>div:has(>span){display:flex;flex-wrap:wrap;gap:9px;border-top:1px solid var(--roomlist-separator-color,#2b3b51);padding-top:23px;margin-top:25px}
.mx_WelcomePage_body>div>div>span{font-size:12px;border:1px solid var(--roomlist-separator-color,#2b3b51);border-radius:30px;padding:6px 11px;color:var(--timeline-text-secondary-color,#a9b8ce)}
.mx_WelcomePage_body>div>p:nth-last-child(-n+2){font-size:12px;line-height:1.65}
.mx_WelcomePage_body>div>p:last-child{font-size:11px;margin-top:28px}
.mx_WelcomePage_body>div>p>a,.mx_HomePage_body>div>div>p>a,div:has(>img[src="/branding/icon.svg"])>div>p>a{color:var(--accent-color,#8ff0d2);text-underline-offset:3px}
.mx_HomePage_body>div>div:has(>p),div:has(>img[src="/branding/icon.svg"])>div:has(>p){border-top:1px solid var(--roomlist-separator-color,#2b3b51);margin-top:32px;padding-top:15px}
.mx_HomePage_body>div>div>p,div:has(>img[src="/branding/icon.svg"])>div>p{font-size:13px;line-height:1.65;color:var(--timeline-text-secondary-color,#a9b8ce)}
.mx_WelcomePage_body a:focus-visible,.mx_HomePage_body a:focus-visible{outline:3px solid var(--accent-color,#8ff0d2);outline-offset:4px}
@media(max-width:480px){.mx_WelcomePage_body>div,.mx_HomePage_body>div,div:has(>img[src="/branding/icon.svg"]):has(>h1){padding:23px 20px}.mx_WelcomePage_body>div>h1,.mx_HomePage_body>div>h1,div:has(>img[src="/branding/icon.svg"]):has(>h1)>h1{font-size:33px;letter-spacing:-1.3px}.mx_WelcomePage_body a[href="#/register"],.mx_WelcomePage_body a[href="#/login"]{padding:12px 17px}}
