/* The existing game entrance owns the artwork, palette, textures and effects.
   These rules replace its authentication form with direct server links. */
html{min-width:0}body.hub-entry{min-width:0}body.hub-entry .hero{height:auto;min-height:100svh}body.hub-entry .hero-art img{max-width:none}
.hub-language{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#392565df;border:1px solid #e5ceff99;border-radius:8px;color:white;min-height:40px;direction:ltr}.hub-language>.icon{width:18px;height:18px}.hub-language select{font:500 13px/1.4 Heebo,Arial,sans-serif;color:inherit;background:transparent;border:0;max-width:110px;min-height:26px;cursor:pointer}.hub-language option{color:#322449;background:white}.hub-language select:focus-visible{outline:2px solid #ffe192;outline-offset:3px}.hub-entry .masthead-tools{display:flex;align-items:center;gap:12px}
body.hub-entry #auth-card .login-heading{direction:inherit}body.hub-entry #auth-card h1{margin:0;color:white;font:750 27px/1.25 Heebo,Arial,sans-serif;letter-spacing:-.4px}body.hub-entry #auth-card .login-kicker{letter-spacing:.2px}body.hub-entry #auth-card .hub-servers{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.hub-server.entry-edition{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:13px;padding:10px 16px;border:1px solid #cbb7e4;border-bottom:3px solid #d0b9e8;border-radius:11px;background:linear-gradient(100deg,#fff,#f8f4ff);box-shadow:0 2px 0 #a98acb15;min-height:75px;text-align:start;transition:transform .18s,border-color .18s,background .18s}.hub-server.entry-edition:hover{transform:translateX(4px);border-color:#a66be3;background:#f1e6ff}.hub-server:focus-visible{outline:3px solid #12c5cc;outline-offset:3px}.hub-server:after{width:90px;opacity:.6;pointer-events:none}.server-code{display:grid;place-items:center;flex:none;width:38px;height:38px;position:relative;z-index:1;direction:ltr;font:750 12px/1 Heebo,Arial,sans-serif;color:#7851af;background:#ece0fc;border:1px solid #d0b2f1;border-radius:50%;box-shadow:inset 0 1px 0 #fff}.server-copy{display:flex;flex-direction:column;min-width:0;position:relative;z-index:1;flex:1;gap:1px}.hub-server.entry-edition strong{font-size:19px;font-weight:700;line-height:1.25;text-align:inherit;color:#463359;letter-spacing:0}.hub-server.entry-edition small{font-size:11px;line-height:1.4;color:#7b608e;text-align:inherit}.server-domain{font-size:10px;line-height:1.3;color:#7a7187;letter-spacing:.1px;text-align:inherit}.hub-server>.icon{position:relative;z-index:1;width:21px;height:21px;color:#9263c9;transform:rotate(180deg)}html[dir=rtl] .hub-server>.icon{transform:none}html[dir=rtl] .hub-server.entry-edition:hover{transform:translateX(-4px)}
.hub-note{margin:16px 0 0;text-align:center;font-size:11px;line-height:1.5;color:#796686}.hub-return{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;font-size:11px;color:#7849ad;margin-top:14px;text-decoration:underline;text-underline-offset:3px}.hub-return .icon{width:15px;height:15px;transform:rotate(180deg)}html[dir=rtl] .hub-return .icon{transform:none}.hub-return+ .hub-note{margin-top:11px}.hub-bottom{bottom:14px;left:24px;right:24px;justify-content:center;pointer-events:none;color:#f0e5ff;font:400 11px/1.5 Heebo,Arial,sans-serif;text-shadow:0 2px 5px #12183c;text-align:center}
html[dir=ltr] .server-copy>*{text-align:left}html[dir=rtl] .server-copy>*{text-align:right}
@media(min-width:1000px) and (pointer:fine){
 body.unite-login.entry-desktop.hub-entry .hero{--entry-logo-h:calc(var(--entry-logo-w)*.40374873);--entry-logo-top:44px}
 body.unite-login.entry-desktop.hub-entry .masthead{left:44px}
 body.unite-login.entry-desktop.hub-entry .brand{width:min(390px,29vw)}
 body.unite-login.entry-desktop.hub-entry .entry-actions{grid-template-columns:minmax(390px,1.15fr) minmax(360px,.95fr);width:calc(100% - 170px);max-width:1140px;padding-top:205px;padding-bottom:58px;gap:70px;min-height:max(720px,100svh)}
 body.unite-login.entry-desktop.hub-entry #auth-card{padding:0 22px 18px}
 body.unite-login.entry-desktop.hub-entry #auth-card .login-heading{margin:-1px -23px 20px;padding:16px 22px;min-height:84px}
 body.unite-login.entry-desktop.hub-entry .desktop-entry-art{height:clamp(200px,27vh,290px);margin-bottom:22px}
 body.unite-login.entry-desktop.hub-entry .desktop-entry-copy{margin-bottom:0}
 body.unite-login.entry-desktop.hub-entry .desktop-entry-copy h2{font-size:clamp(36px,3.3vw,50px)}
 body.unite-login.entry-desktop.hub-entry .desktop-entry-copy>span{font-size:12px;letter-spacing:.2px}
 @media(max-height:800px){body.unite-login.entry-desktop.hub-entry .entry-actions{padding-top:150px;min-height:710px;padding-bottom:50px;gap:60px}body.unite-login.entry-desktop.hub-entry .brand{width:275px}body.unite-login.entry-desktop.hub-entry .desktop-entry-art{height:200px}body.unite-login.entry-desktop.hub-entry #auth-card .login-heading{min-height:74px;padding-block:12px;margin-bottom:15px}.hub-server.entry-edition{min-height:68px;padding-block:7px}.hub-note{margin-top:12px}.hub-server.entry-edition strong{font-size:18px}}
 @media(min-width:1900px){body.unite-login.entry-desktop.hub-entry .entry-actions{max-width:1450px;gap:120px;grid-template-columns:1.15fr 1fr;padding-top:220px}body.unite-login.entry-desktop.hub-entry .brand{width:420px}body.unite-login.entry-desktop.hub-entry .desktop-entry-art{height:350px}body.unite-login.entry-desktop.hub-entry .desktop-entry-copy h2{font-size:60px}.hub-server.entry-edition{min-height:85px}.hub-server.entry-edition strong{font-size:24px}.hub-server.entry-edition small{font-size:13px}.server-domain{font-size:12px}.hub-note,.hub-bottom{font-size:13px}}
}
@media(max-width:999px),(pointer:coarse){
 body.unite-login.hub-entry{height:auto;min-height:100svh;overflow-x:hidden;overflow-y:auto}
 body.unite-login.hub-entry .hero{height:auto;min-height:100svh;padding:0 0 45px;overflow:hidden;background:#167bad}
 body.unite-login.hub-entry .hero-art{position:fixed;inset:0;width:100%;height:100svh;height:100dvh;transform:none!important;z-index:-4}
 body.unite-login.hub-entry .hero-art img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
 body.unite-login.hub-entry .hero-art:after{display:none}
 body.unite-login.hub-entry .hero:after{background:linear-gradient(180deg,#13255405 20%,#13255422 42%,#15234cbb 100%)}
 body.unite-login.hub-entry .entry-brand-corner{display:none}
 body.unite-login.hub-entry .masthead{position:absolute;left:20px;right:20px;top:max(23px,env(safe-area-inset-top));pointer-events:none}
 body.unite-login.hub-entry .brand{width:clamp(180px,36vw,270px);pointer-events:auto;filter:drop-shadow(0 3px 3px #1a205b77)}
 body.unite-login.hub-entry .masthead-tools{position:absolute;right:0;top:0;pointer-events:auto}
 body.unite-login.hub-entry .motion-button{width:40px;height:40px}
 body.unite-login.hub-entry .entry-actions{position:relative;inset:auto;left:auto;bottom:auto;transform:none;display:block;width:min(470px,calc(100% - 36px));max-width:none;min-height:0;margin:0 auto;padding:clamp(280px,38svh,380px) 0 0;direction:inherit}
 body.unite-login.hub-entry .entry-actions>#starter-card{display:none}
 body.unite-login.hub-entry #auth-card{position:relative;display:block;inset:auto;margin:0;min-width:0;width:100%;max-width:none;padding:0 16px 14px;border:1px solid #e6c9ff;border-bottom:5px solid #e7ad36;border-radius:16px;background:linear-gradient(150deg,#fffffffa,#f5f0fffa);box-shadow:0 6px 0 #815322,0 10px 0 #16183a88,0 20px 55px #0d0b3870;direction:inherit;overflow:visible}
 body.unite-login.hub-entry #auth-card:before{border-radius:16px}
 body.unite-login.hub-entry #auth-card:after{display:none}
 body.unite-login.hub-entry #auth-card .login-heading{min-height:64px;margin:-1px -17px 14px;padding:12px 16px;gap:11px;clip-path:none;border-radius:16px 16px 0 0;border:1px solid #c6a1ff;border-bottom:3px solid #63e2e1;background:radial-gradient(circle,#d7bcff24 2px,transparent 2.8px) 0 0/13px 13px,linear-gradient(115deg,#41218d,#8054d8);box-shadow:none}
 body.unite-login.hub-entry #auth-card .panel-emblem{display:grid;width:35px;height:42px;background:linear-gradient(#5b39a2,#382365);color:#ffe19a;border-color:#ffd25c}
 body.unite-login.hub-entry #auth-card .panel-emblem .icon{width:25px;height:25px}
 body.unite-login.hub-entry #auth-card .login-kicker{display:block;font-size:9px;margin-bottom:3px;color:#e5ceff}
 body.unite-login.hub-entry #auth-card h1{font-size:23px;line-height:1.25}
 body.unite-login.hub-entry #auth-card .hub-servers{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .hub-server.entry-edition{min-height:80px;padding:10px 11px;gap:0;border-radius:8px}
 .hub-server .server-code{display:none}
 .hub-server.entry-edition strong{font-size:19px}
 .hub-server.entry-edition small{font-size:10px;margin-top:2px}
 .hub-server .server-domain{font-size:9px;margin-top:1px}
 .hub-server .server-copy{padding-inline-end:18px}
 .hub-server>.icon{width:16px;height:16px;position:absolute;right:8px;top:12px}
 html[dir=rtl] .hub-server>.icon{right:auto;left:8px}
 .hub-server:last-child:nth-child(odd){grid-column:span 2;justify-content:center;text-align:center}
 .hub-server:last-child:nth-child(odd) .server-copy{flex:none}
 .hub-server:last-child:nth-child(odd) .server-copy{padding-inline-end:0}.hub-server:last-child:nth-child(odd) .server-copy>*{text-align:center}
 .hub-server:last-child:nth-child(odd)>.icon{position:static;margin-inline-start:18px}
 .hub-note{font-size:10px;margin-top:13px}
 .hub-return{font-size:10px}
 .hub-bottom{bottom:12px;font-size:10px;line-height:1.6}
}
@media(max-width:480px){
 body.unite-login.hub-entry .masthead{left:16px;right:16px;top:22px}
 body.unite-login.hub-entry .brand{width:clamp(160px,48vw,210px)}
 .hub-language{padding:5px 7px;gap:4px;min-height:34px}
 .hub-language>.icon{width:15px;height:15px}
 .hub-language select{font-size:11px;max-width:82px}
 body.unite-login.hub-entry .motion-button{position:absolute;top:49px;right:0;width:36px;height:36px}
 body.unite-login.hub-entry .entry-actions{width:calc(100% - 28px);padding-top:max(260px,37svh)}
 body.unite-login.hub-entry #auth-card{padding-inline:12px}
 body.unite-login.hub-entry #auth-card .login-heading{margin-inline:-13px}
 body.unite-login.hub-entry #auth-card .hub-servers{gap:8px}
 .hub-server.entry-edition{min-height:76px;padding-inline:10px}
 .hub-server.entry-edition strong{font-size:18px}
 .hub-server.entry-edition small{font-size:9px}
 .hub-server .server-domain{font-size:8.5px;letter-spacing:0}
 .hub-note{font-size:10px}
}
@media(max-width:999px) and (orientation:landscape){
 body.unite-login.hub-entry .hero{min-height:100svh;padding-bottom:40px}
 body.unite-login.hub-entry .masthead{top:20px;left:22px;right:22px}
 body.unite-login.hub-entry .brand{width:210px}
 body.unite-login.hub-entry .entry-actions{width:min(450px,calc(100% - 280px));margin:0 35px 0 auto;padding-top:100px}
 body.unite-login.hub-entry .hero-art img{object-position:50% 50%}
 .hub-server.entry-edition{min-height:65px;padding-block:6px}
 .hub-server.entry-edition strong{font-size:16px}
 body.unite-login.hub-entry #auth-card .login-heading{min-height:55px;padding-block:7px}
 body.unite-login.hub-entry #auth-card h1{font-size:20px}
 .hub-bottom{bottom:6px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.hub-entry *,body.hub-entry *:before,body.hub-entry *:after{animation:none!important;transition:none!important}body.hub-entry .hero-art{transform:none!important}}

/* The hub can be taller than the viewport. Size the existing cover from
   its actual artwork container so the embedded source logo stays covered. */
@media(min-width:1000px) and (pointer:fine){
 body.unite-login.entry-desktop.hub-entry .entry-brand-corner::before,
 body.unite-login.entry-desktop.hub-entry .entry-brand-corner::after{
  width:max(var(--entry-corner-w),calc(50cqw - var(--entry-art-width)*.326254826 + 92px));
  height:max(var(--entry-corner-h),calc(50cqh - (100cqh + 28px)*.04 - var(--entry-art-height)*.230833333 + 12px));
 }
}
body.hub-entry #auth-card .hub-server[data-server=ar]{--server-accent:#8df2cf;--server-color:#267f76}

@font-face{font-family:HubArabic;src:url('/original/arabic-font.20261024.ttf') format('truetype');font-weight:200 1000;font-display:swap}
html[lang=ar] body,html[lang=ar] :is(button,input,select,h1,h2,[data-i18n]),
body.hub-entry [lang=ar],body.hub-entry [lang=ar] :is(h2,button,input,label,a,span,p,small,strong){font-family:HubArabic,Tahoma,Arial,sans-serif!important;letter-spacing:normal}
