/* Illustrated edition banners reuse the games' original logos and Pokémon art. */
body.hub-entry #auth-card .hub-server{--server-accent:#73e5ff;--server-color:#2868ad;position:relative;isolation:isolate;overflow:hidden;display:flex;direction:ltr;align-items:center;min-height:90px;padding:12px 105px 12px 132px;gap:0;border:1px solid var(--server-accent);border-bottom:3px solid var(--server-color);border-radius:13px 5px 13px 5px;background:radial-gradient(ellipse at 100% 50%,var(--server-color),transparent 65%),linear-gradient(110deg,#28244e,#221a43);box-shadow:inset 0 1px 0 #ffffff60,0 3px 0 #29204f25;text-decoration:none;transition:transform .18s,box-shadow .18s}
body.hub-entry #auth-card .hub-server[data-server=he]{--server-accent:#ffc66b;--server-color:#ad552c}
body.hub-entry #auth-card .hub-server[data-server=ja]{--server-accent:#c7b1ff;--server-color:#7552b8}
body.hub-entry #auth-card .hub-server[data-server=zh]{--server-accent:#8df2cf;--server-color:#267f76}
body.hub-entry #auth-card .hub-server[data-server=pt]{--server-accent:#d6ed78;--server-color:#548556}
body.hub-entry #auth-card .hub-server:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(circle,#ffffff20 1px,transparent 1.8px) 0 0/8px 8px;mask-image:linear-gradient(90deg,transparent 35%,#000)}
body.hub-entry #auth-card .hub-server:after{content:'';position:absolute;inset:0;width:auto;background:linear-gradient(112deg,transparent 23%,#ffffff16 23% 25%,transparent 25% 75%,#ffffff18 75% 77%,transparent 77%);opacity:1;pointer-events:none}
body.hub-entry #auth-card .hub-server:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #ffffff60,0 5px 12px #38255d50}
body.hub-entry #auth-card .hub-server:focus-visible{outline:3px solid #ffb62d;outline-offset:3px}
.hub-server .server-orbit{position:absolute;right:-26px;top:50%;width:175px;height:175px;transform:translateY(-50%) rotate(-22deg);border:16px solid #ffffff15;outline:1px solid #ffffff30;border-radius:50%;pointer-events:none}
body.hub-entry #auth-card .server-pokemon{position:absolute;z-index:0;right:-8px;top:3px;bottom:auto;width:130px;height:130px;object-fit:contain;filter:drop-shadow(0 3px 3px #120c3266);pointer-events:none;transition:transform .2s}
body.hub-entry #auth-card .hub-server[data-server=he] .server-pokemon{right:-20px;top:2px;bottom:auto;width:145px;height:130px}
body.hub-entry #auth-card .hub-server:hover .server-pokemon{transform:scale(1.05) rotate(-3deg)}
body.hub-entry #auth-card .server-edition-logo{position:absolute;left:8px;top:50%;transform:translateY(-50%) rotate(-5deg);width:117px;height:70px;object-fit:contain;filter:drop-shadow(0 3px 2px #0a153677);pointer-events:none}
body.hub-entry #auth-card .server-code{position:absolute;left:7px;top:4px;width:auto;height:auto;min-width:23px;padding:3px 4px;border:0;border-radius:3px;box-shadow:none;color:#fff;background:#15152b99;font-size:8px;line-height:1}
body.hub-entry #auth-card .server-copy{flex:1;min-width:0;padding:0;text-shadow:0 2px 3px #100d31;align-items:flex-start}
body.hub-entry #auth-card .server-copy strong{color:#fff;text-align:start;font-size:21px;line-height:1.3}
body.hub-entry #auth-card .server-copy small{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.hub-entry #auth-card .server-domain{font-size:9px;color:#f0e9ff;text-align:left;white-space:nowrap;margin-top:3px}
body.hub-entry #auth-card .hub-server>.icon{position:absolute;z-index:2;right:6px;left:auto;top:auto;bottom:6px;margin:0;width:24px;height:24px;padding:4px;transform:rotate(180deg);border-radius:50%;color:#342553;background:linear-gradient(#fff1a9,#ffc55e);box-shadow:0 2px 0 #8a591f}
.hub-introduction{position:relative;max-width:410px;margin:17px auto 21px;color:#f1ebff;font:400 14px/1.65 Heebo,Arial,sans-serif;text-align:center;text-shadow:0 2px 4px #0b153c}
body.hub-entry .hub-register{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:17px;max-width:430px;min-height:76px;margin:0 auto;padding:15px 23px;overflow:hidden;border:2px solid #ffe49c;border-bottom:4px solid #d36b10;border-radius:18px 6px 18px 6px;background:radial-gradient(circle,#ffffff50 1.4px,transparent 2px) right center/10px 10px,linear-gradient(125deg,#ffe16a,#ffbd27 50%,#ff9129);box-shadow:0 6px 0 #8c451e,0 9px 0 #20214177,0 17px 36px #0a14395e,inset 0 2px 0 #ffffff99;color:#492607;font:850 27px/1.3 Heebo,Arial,sans-serif;text-decoration:none;text-shadow:0 1px #ffeb9c;transition:transform .18s,filter .18s}
.hub-register:before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(120deg,transparent 38%,#ffffff55 48%,transparent 58%)}
.hub-register>.icon{width:32px;height:32px;flex:none}.hub-register>span{flex:1}.hub-register>.icon:last-child{width:24px;height:24px;transform:rotate(180deg)}html[dir=rtl] .hub-register>.icon:last-child{transform:none}
body.hub-entry .hub-register:hover{transform:translateY(-3px);filter:brightness(1.07)}body.hub-entry .hub-register:focus-visible{outline:3px solid #83f2ff;outline-offset:6px}
body.registration-open{overflow:hidden!important}
.registration-servers{position:fixed;inset:0;width:min(740px,calc(100% - 32px));max-width:740px;max-height:calc(100svh - 32px);margin:auto;padding:0;overflow:auto;border:2px solid #b9f6ff;border-radius:19px;background:#5bc4d8;box-shadow:0 0 0 5px #24305d80,0 25px 90px #0b103b99;color:#4c475d;font-family:Heebo,Arial,sans-serif}
.registration-servers::backdrop{background:#101335b8;backdrop-filter:blur(6px)}
.registration-sky{position:relative;min-height:110px;padding:38px 65px 18px 78px;border-bottom:10px solid #ffb400;background:radial-gradient(circle at 70% 0,#ffffff16 28%,transparent 28.5%),linear-gradient(120deg,#66cee0,#49bcd5)}
.registration-sky:before{content:'';position:absolute;inset:37px 58px 8px 0;background:#2e213e;clip-path:polygon(0 0,100% 0,97% 100%,0 100%)}
.registration-sky h2{position:relative;z-index:1;margin:0;color:white;font:600 22px/1.3 Heebo,Arial,sans-serif}
.registration-crest{position:absolute;left:20px;top:37px;z-index:2;display:grid;place-items:center;width:46px;height:53px;color:#ffb700;border:3px solid #ffb700;border-radius:50% 50% 15% 15%;background:#3a2638;box-shadow:0 0 0 3px #5c3412;transform:rotate(-8deg)}
.registration-crest .icon{width:32px;height:32px}
#registration-close{position:absolute;right:12px;top:11px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff66;border-radius:50%;color:#1b4e67;background:#ffffff66;font:26px/1 Arial;cursor:pointer}
.registration-body{position:relative;padding:19px 29px 27px;background:radial-gradient(circle,#edbd7420 1.4px,transparent 2px) 0 0/9px 9px,#f7f4ec;border-bottom:12px solid #58c4d8}
.registration-label{margin:0 0 12px;color:#777284;font:600 11px/1.5 Heebo,Arial,sans-serif;letter-spacing:.6px}
.registration-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 16px}
.registration-options button{position:relative;display:flex;align-items:center;gap:9px;min-height:45px;padding:8px 13px;border:2px solid #fff;border-radius:30px;background:radial-gradient(circle,#d7dbe94d 1px,transparent 1.5px) right center/6px 6px,#fff;box-shadow:0 2px 0 #e6e2db;color:#575369;font:600 14px/1.2 Heebo,Arial,sans-serif;cursor:pointer}
.registration-code{color:#917aab;font-size:9px;letter-spacing:.5px;border-inline-end:1px solid #d8cfe1;padding-inline-end:8px}
.registration-options button:hover{border-color:#c8b4f5}.registration-options button[aria-pressed=true]{border-color:#ffbd26;background:linear-gradient(100deg,#fff273,#ffd136);box-shadow:0 0 0 2px #fff,0 0 0 4px #e8a00f;color:#663d19}
.registration-options button[aria-pressed=true] .registration-code{color:#88521d;border-color:#dca136}
.registration-bottom{display:grid;grid-template-columns:minmax(0,1fr) 155px;align-items:end;gap:25px;margin-top:34px}
#registration-description{min-height:73px;margin:0;padding:14px 17px;border:2px solid #b4e5f6;border-radius:12px;background:#fff;box-shadow:0 2px 0 #dae7e7;color:#716a8b;font:400 13px/1.5 Heebo,Arial,sans-serif}
#registration-selected{display:block;margin-top:4px;color:#c56816;font-weight:750;font-size:15px;min-height:22px}
.registration-controls{display:grid;gap:9px}.registration-controls button{min-height:39px;border:2px solid #fff;border-radius:24px;color:white;background:linear-gradient(#a046ff,#852aee);font:600 14px/1 Heebo,Arial,sans-serif;box-shadow:0 2px 0 #bca9d8;cursor:pointer}
#registration-continue{color:#593c13;background:radial-gradient(circle,#ffffff77 1px,transparent 1.6px) right center/6px 6px,linear-gradient(100deg,#fff368,#ffc52c);box-shadow:0 2px 0 #d49c1b}
#registration-continue:disabled{opacity:.45;cursor:default}.registration-servers button:focus-visible{outline:3px solid #52338e;outline-offset:4px}
html[dir=rtl] .registration-sky{padding-left:65px;padding-right:78px}html[dir=rtl] .registration-sky:before{inset-inline:0 58px;clip-path:polygon(3% 0,100% 0,100% 100%,0 100%)}html[dir=rtl] .registration-crest{left:auto;right:20px}html[dir=rtl] #registration-close{right:auto;left:12px}
.server-auth[data-intent=register] .server-auth-body{display:flex;flex-direction:column}.server-auth[data-intent=register] #server-auth-title{order:-3}.server-auth[data-intent=register] #server-auth-status{order:-2}.server-auth[data-intent=register] #server-guest-section{order:-1;margin-bottom:10px}.server-auth[data-intent=register] .server-auth-divider{margin-top:0}.server-auth[data-intent=register] .server-auth-guest:focus-visible{outline:3px solid #8d52d9;outline-offset:4px}
@media(min-width:1000px) and (pointer:fine){
 body.unite-login.entry-desktop.hub-entry .hero{--entry-logo-h:calc(var(--entry-logo-w)*.54076246);--entry-logo-top:26px}
 body.unite-login.entry-desktop.hub-entry .entry-actions{padding-top:180px;gap:64px;grid-template-columns:minmax(360px,1.08fr) minmax(430px,1fr)}
 body.unite-login.entry-desktop.hub-entry .desktop-entry-art{height:225px;margin-bottom:13px}
 body.unite-login.entry-desktop.hub-entry .desktop-entry-copy h2{font-size:43px}
 body.unite-login.entry-desktop.hub-entry #auth-card{padding-inline:17px}
 body.unite-login.entry-desktop.hub-entry #auth-card .login-heading{margin-inline:-18px;margin-bottom:15px}
 @media(max-height:800px){body.unite-login.entry-desktop.hub-entry .entry-actions{padding-top:130px;padding-bottom:55px}body.unite-login.entry-desktop.hub-entry .desktop-entry-art{height:185px}body.unite-login.entry-desktop.hub-entry .desktop-entry-copy h2{font-size:36px}body.hub-entry #auth-card .hub-server{min-height:80px}body.hub-entry .hub-register{min-height:68px}.hub-introduction{font-size:13px;margin-block:12px 17px}}
 @media(max-width:1150px){body.unite-login.entry-desktop.hub-entry .entry-actions{width:calc(100% - 70px);gap:35px;grid-template-columns:minmax(300px,1fr) minmax(430px,1.1fr)}}
}
@media(max-width:999px),(pointer:coarse){
 body.unite-login.hub-entry .entry-actions{display:flex;flex-direction:column;gap:24px;padding-top:max(255px,30svh)}
 body.unite-login.hub-entry #auth-card{order:1}
 body.unite-login.hub-entry .entry-actions>#starter-card{order:2;display:block;position:relative;inset:auto;transform:none;min-width:0;width:100%;max-width:none;margin:0;padding:0 8px 8px;text-align:center;direction:inherit}
 body.unite-login.hub-entry #starter-card .desktop-entry-art,body.unite-login.hub-entry #starter-card .desktop-entry-copy{display:none}
 body.hub-entry #auth-card .hub-server{height:146px;min-height:146px;padding:100px 10px 10px;align-items:flex-end;border-radius:11px 4px 11px 4px}
 body.hub-entry #auth-card .server-edition-logo{left:2px;top:27px;transform:rotate(-6deg);width:104px;height:59px;z-index:1}
 body.hub-entry #auth-card .server-pokemon{width:113px;height:113px;right:-14px;top:6px;bottom:auto}
 body.hub-entry #auth-card .hub-server[data-server=he] .server-pokemon{width:130px;height:117px;right:-23px;top:3px;bottom:auto}
 body.hub-entry #auth-card .server-copy{position:relative;z-index:2;align-items:flex-start;flex:1;gap:0}
 body.hub-entry #auth-card .server-copy strong{font-size:18px;text-align:left}
 body.hub-entry #auth-card .server-domain{font-size:8px;margin-top:1px}
 body.hub-entry #auth-card .hub-server:before{z-index:1;background:linear-gradient(0deg,#191536 0,transparent 65%);mask-image:none}
 body.hub-entry #auth-card .server-code{display:block;top:6px;left:7px}
 body.hub-entry #auth-card .hub-server>.icon{width:20px;height:20px;right:5px;bottom:15px}
 body.hub-entry #auth-card .hub-server:last-child:nth-child(odd){height:92px;min-height:92px;padding:13px 75px 13px 125px}
 body.hub-entry #auth-card .hub-server:last-child:nth-child(odd) .server-edition-logo{top:50%;transform:translateY(-50%) rotate(-5deg);left:9px;width:112px;height:68px}
 body.hub-entry #auth-card .hub-server:last-child:nth-child(odd) .server-pokemon{right:-12px;top:3px;bottom:auto;width:120px;height:120px}
 body.hub-entry #auth-card .hub-server:last-child:nth-child(odd) .server-copy>*{text-align:left}
 .hub-introduction{max-width:380px;margin:0 auto 17px;font-size:12px}
 body.hub-entry .hub-register{width:100%;min-height:66px;padding:12px 18px;font-size:24px}
 .registration-sky h2{font-size:20px}
}
@media(max-width:480px){
 .registration-servers{width:calc(100% - 24px);border-radius:14px}.registration-sky{min-height:105px;padding:40px 43px 15px 63px}.registration-sky:before{right:27px}.registration-sky h2{font-size:17px}.registration-crest{left:12px;top:40px;width:37px;height:44px}.registration-crest .icon{width:26px;height:26px}#registration-close{right:8px;top:7px;width:29px;height:29px}.registration-body{padding:17px 17px 20px}.registration-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 13px}.registration-options button{font-size:13px;padding:8px 10px}.registration-bottom{grid-template-columns:1fr;gap:16px;margin-top:23px}.registration-controls{grid-template-columns:1fr 1fr}#registration-description{padding:11px 13px;min-height:60px;font-size:12px}.registration-controls button{min-height:41px}html[dir=rtl] .registration-sky{padding-left:43px;padding-right:63px}html[dir=rtl] .registration-crest{right:12px}html[dir=rtl] #registration-close{left:8px}html[dir=rtl] .registration-sky:before{inset-inline:0 27px}
}
@media(max-width:360px){body.hub-entry #auth-card .server-edition-logo{width:91px;height:54px;left:0;top:28px}body.hub-entry #auth-card .server-pokemon{right:-23px;width:105px;height:105px}body.hub-entry #auth-card .server-copy strong{font-size:16px}body.hub-entry #auth-card .server-domain{font-size:7.5px}body.hub-entry #auth-card .hub-server{padding-inline:7px}body.hub-entry #auth-card .hub-server:last-child:nth-child(odd){padding-left:108px;padding-right:50px}body.hub-entry #auth-card .hub-server:last-child:nth-child(odd) .server-edition-logo{left:3px;width:103px}body.hub-entry #auth-card .hub-server:last-child:nth-child(odd) .server-pokemon{right:-30px}body.hub-entry #auth-card .hub-server>.icon{right:3px;bottom:18px;width:17px;height:17px;padding:3px}body.hub-entry .hub-register{font-size:20px;gap:9px;padding-inline:14px}}
@media(max-width:999px) and (orientation:landscape){body.unite-login.hub-entry .entry-actions{padding-top:100px;gap:22px}.registration-servers{max-height:calc(100svh - 20px)}.registration-sky{min-height:77px;padding-top:20px}.registration-sky:before{top:17px}.registration-crest{top:20px}.registration-bottom{margin-top:17px}}
@media(prefers-reduced-motion:reduce){body.hub-entry #auth-card .hub-server,body.hub-entry #auth-card .server-pokemon,body.hub-entry .hub-register{transition:none}}

body.hub-entry #auth-card .hub-server[data-server=hi]{--server-accent:#ffcf81;--server-color:#638d47}
