/* V3.1.2 unified authentication UI — responsive perler-inspired brand experience */
:root{--auth-ink:#24243b;--auth-muted:#88899e;--auth-purple:#7867d8;--auth-purple-dark:#6452c6;--auth-border:#e9e5f1;--auth-peach:#f8b9a6;--auth-mint:#a8d7c5}
.auth-page{min-height:100vh;margin:0;padding:38px 22px 22px;position:relative;isolation:isolate;overflow-x:hidden;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,#f6f3ff 0%,#f8f7ff 46%,#eff8f5 100%);color:var(--auth-ink);font-family:Inter,"Noto Sans SC",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.auth-page:before{content:"";position:fixed;inset:0;z-index:-3;opacity:.28;pointer-events:none;background-image:radial-gradient(#bfb7e3 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent 0%,#000 32%,#000 100%)}
.auth-bg-orb{position:fixed;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:-2;opacity:.55}.orb-one{width:380px;height:380px;top:-155px;left:-110px;background:radial-gradient(circle at 38% 38%,#e9dfff,rgba(226,213,255,0) 70%)}.orb-two{width:470px;height:470px;right:-210px;bottom:-235px;background:radial-gradient(circle at 48% 42%,#d4f0e6,rgba(211,239,229,0) 70%)}
.auth-shell{width:min(1160px,100%);min-height:680px;margin:auto;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr);border:1px solid rgba(255,255,255,.9);border-radius:32px;overflow:hidden;background:rgba(255,255,255,.62);box-shadow:0 30px 90px rgba(72,59,120,.13),0 4px 16px rgba(72,59,120,.05);backdrop-filter:blur(20px)}
.auth-showcase{position:relative;min-height:680px;padding:34px 42px 28px;overflow:hidden;background:linear-gradient(148deg,#eee9ff 0%,#f4efff 47%,#eaf6f1 100%)}
.auth-showcase:before{content:"";position:absolute;width:440px;height:440px;border:1px solid rgba(141,120,203,.12);border-radius:50%;right:-215px;top:90px;box-shadow:0 0 0 35px rgba(255,255,255,.1),0 0 0 75px rgba(255,255,255,.07)}
.auth-brand-row{position:relative;z-index:2;display:flex;align-items:center;gap:12px}.auth-logo{position:relative;width:47px;height:47px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#8977e6,#6755cc);color:#fff;font-size:21px;font-weight:950;box-shadow:0 8px 17px rgba(104,83,205,.23);transform:rotate(-4deg)}.auth-logo:before,.auth-logo:after{content:"";position:absolute;width:8px;height:8px;border-radius:3px;background:#f9c886;top:-3px;right:7px}.auth-logo:after{width:6px;height:6px;top:auto;right:auto;left:-3px;bottom:8px;background:#a9ddca}.auth-logo i{position:absolute;width:7px;height:7px;border-radius:50%;background:#ff9b9e;right:6px;bottom:7px}.auth-brand-row strong{display:block;font-size:15px;font-weight:900;letter-spacing:.1px;color:#34304f}.auth-brand-row small{display:block;margin-top:3px;font-size:9px;letter-spacing:1.5px;font-weight:800;color:#9188b0}.auth-cloud-tag{margin-left:auto;padding:7px 11px;border:1px solid rgba(133,113,193,.17);border-radius:30px;background:rgba(255,255,255,.55);color:#8477b0;font-size:10px;font-weight:800;letter-spacing:.3px;white-space:nowrap}
.auth-copy{position:relative;z-index:2;margin-top:65px;max-width:480px}.auth-kicker{font-size:10px;font-weight:900;letter-spacing:2.6px;color:#9487bd}.auth-copy h2{margin:16px 0 13px;font-size:clamp(31px,4vw,47px);line-height:1.26;letter-spacing:-1.5px;font-weight:950;color:#302d4a}.auth-copy h2 em{font-style:normal;color:#7867d8}.auth-copy p{max-width:400px;margin:0;color:#77748f;font-size:14px;line-height:1.9}.auth-feature-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.auth-feature-chips span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(144,129,191,.18);border-radius:10px;background:rgba(255,255,255,.55);color:#68617f;font-size:11px;font-weight:800}.auth-feature-chips b{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#e8e1ff;color:#7563d0;font-size:9px}
.bead-scene{position:absolute;left:40px;right:36px;bottom:56px;height:260px}.bead-board{position:absolute;right:20px;bottom:0;width:min(390px,78%);height:250px;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:rgba(255,255,255,.7);box-shadow:0 20px 45px rgba(98,81,152,.13);transform:rotate(-3deg);padding:13px 16px 10px}.bead-board-head{display:flex;align-items:center;gap:5px;height:16px}.bead-board-head>span{width:6px;height:6px;border-radius:50%;background:#ee9e9d}.bead-board-head>span:nth-child(2){background:#f0c476}.bead-board-head>span:nth-child(3){background:#9dccbc}.bead-board-head i{margin-left:auto;font-size:7px;letter-spacing:1.8px;font-style:normal;color:#aaa1bf;font-weight:900}.bead-board svg{width:100%;height:calc(100% - 17px);overflow:visible}.auth-floating-card{position:absolute;z-index:2;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid rgba(255,255,255,.95);border-radius:14px;background:rgba(255,255,255,.88);box-shadow:0 12px 28px rgba(75,66,118,.13);backdrop-filter:blur(10px)}.float-card-a{left:4px;bottom:126px}.float-card-b{right:4px;bottom:20px}.float-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;font-size:17px;font-weight:900}.float-icon.mint{background:#e4f5ed;color:#48977c}.float-icon.peach{background:#fff0e8;color:#d68e68}.auth-floating-card b,.auth-floating-card small{display:block}.auth-floating-card b{font-size:10px;color:#4d4965}.auth-floating-card small{font-size:9px;color:#a09ab1;margin-top:2px}.auth-showcase-foot{position:absolute;left:42px;right:42px;bottom:24px;display:flex;justify-content:space-between;align-items:center;color:#a49bbd;font-size:10px}.auth-showcase-foot span:last-child{letter-spacing:5px;color:#c0b4dc}
.auth-panel-wrap{display:grid;place-items:center;padding:48px 48px;background:rgba(255,255,255,.83)}.auth-panel{width:min(100%,380px)}.auth-panel-top{display:flex;align-items:center;gap:8px;color:#a29ab5;font-size:9px;letter-spacing:1.7px;font-weight:900}.auth-status-dot{width:7px;height:7px;border-radius:50%;background:#73c6a2;box-shadow:0 0 0 4px #e6f5ee}.auth-panel h1{margin:21px 0 7px;font-size:31px;letter-spacing:-1px;font-weight:950;color:#302d48}.auth-subtitle{margin:0 0 26px;color:#9591a6;font-size:12px;line-height:1.8}.auth-form label{display:block;margin:17px 0 7px;color:#5b5870;font-size:11px;font-weight:850;letter-spacing:.2px}.auth-input-wrap{height:52px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #e8e4f0;border-radius:12px;background:#fbfaff;transition:border-color .16s,box-shadow .16s,background .16s}.auth-input-wrap:focus-within{border-color:#a89ae7;background:#fff;box-shadow:0 0 0 4px rgba(127,105,216,.1)}.auth-input-icon{width:20px;text-align:center;color:#a69bc8;font-size:17px}.auth-input-wrap input{width:100%;min-width:0;height:100%;border:0!important;margin:0!important;padding:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:#343149!important;font-size:13px!important}.auth-input-wrap input::placeholder{color:#bbb6c9}.auth-show-password{flex:0 0 auto;border:0;background:transparent;color:#8b80b4;font-size:10px;font-weight:800;padding:7px 2px}.auth-submit{width:100%;height:52px;display:flex;align-items:center;justify-content:space-between;margin-top:23px;padding:0 17px 0 20px;border:0;border-radius:12px;background:linear-gradient(100deg,#8372df,#6c5bce);color:#fff;font-size:13px;font-weight:900;letter-spacing:.2px;box-shadow:0 9px 20px rgba(112,91,210,.24);cursor:pointer;transition:transform .15s,box-shadow .15s}.auth-submit:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(112,91,210,.3)}.auth-submit b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.18);font-size:19px;font-weight:500}.auth-auto-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;color:#a29bb5;font-size:10px}.auth-auto-note span{color:#baa7e9;font-size:14px}.auth-panel-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:30px;padding-top:17px;border-top:1px solid #f0edf5;color:#aaa5b6;font-size:9px}.auth-panel-bottom a{color:#8273c0;font-size:10px;font-weight:850;white-space:nowrap}.auth-error{display:flex;align-items:flex-start;gap:9px;margin:0 0 14px;padding:11px 12px;border:1px solid #f4d5d5;border-radius:11px;background:#fff6f5;color:#ad5355;font-size:11px;line-height:1.7}.auth-error>span{flex:0 0 17px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#f9dedd;color:#b34c50;font-size:11px;font-weight:900}.auth-mobile-logo{display:none}.auth-page .site-support-footer{position:relative;width:min(1160px,100%);margin:18px auto 0;border-top:0;color:#aaa4bb;font-size:10px}.auth-page .site-support-footer a:hover{color:#7465c6}
/* Platform admin visual variant */
.admin-shell .auth-showcase{background:linear-gradient(148deg,#eeeaff 0%,#f3f0ff 48%,#eef3ff 100%)}.admin-logo{background:linear-gradient(145deg,#6e7fd9,#4657b8)}.admin-tag{color:#6f7ebc;background:rgba(255,255,255,.62)}.admin-dot{background:#8296df;box-shadow:0 0 0 4px #ebefff}.admin-submit{background:linear-gradient(100deg,#7184d8,#5267c1);box-shadow:0 9px 20px rgba(83,104,190,.23)}.admin-submit:hover{box-shadow:0 12px 24px rgba(83,104,190,.3)}.admin-visual{position:absolute;left:58px;right:35px;bottom:76px;height:245px}.admin-window{position:absolute;right:22px;bottom:0;width:min(400px,80%);height:218px;border:1px solid rgba(255,255,255,.95);border-radius:18px;background:rgba(255,255,255,.78);box-shadow:0 19px 46px rgba(71,80,142,.16);padding:12px 14px;transform:rotate(-2deg)}.admin-window-head{height:16px;display:flex;align-items:center;gap:5px}.admin-window-head>span{width:6px;height:6px;border-radius:50%;background:#eea3a7}.admin-window-head>span:nth-child(2){background:#f1c57c}.admin-window-head>span:nth-child(3){background:#a4d2bb}.admin-window-head b{margin-left:auto;color:#a5abc8;font-size:7px;letter-spacing:1.3px}.admin-window-body{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:12px}.admin-stat{position:relative;padding:11px;border:1px solid #edf0f8;border-radius:10px;background:#fff}.admin-stat small{display:block;color:#a0a6bd;font-size:8px}.admin-stat b{display:block;margin-top:5px;color:#4e5fa9;font-size:23px}.admin-stat i{position:absolute;right:10px;bottom:13px;width:28px;height:5px;border-radius:5px;background:#dce3ff}.admin-bars{grid-column:1/3;height:74px;display:flex;align-items:end;justify-content:space-around;gap:10px;padding:9px 13px 0;border-radius:10px;background:#f7f8ff}.admin-bars span{flex:1;border-radius:5px 5px 0 0;background:linear-gradient(#aebaf1,#778cdb)}.admin-line{grid-column:1/3;display:flex;gap:6px}.admin-line i{height:5px;flex:1;border-radius:5px;background:#e9ecf7}.admin-float-tag{position:absolute;left:0;bottom:38px;padding:10px 14px;border:1px solid #fff;border-radius:12px;background:#fff;color:#6e7cc0;font-size:11px;font-weight:900;box-shadow:0 10px 25px rgba(74,84,146,.12)}
@media(max-width:980px){.auth-shell{grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);min-height:620px}.auth-showcase{min-height:620px;padding:29px 30px 24px}.auth-copy{margin-top:52px}.auth-panel-wrap{padding:38px 28px}.bead-scene{left:25px;right:22px}.auth-showcase-foot{left:30px;right:30px}}
@media(max-width:720px){.auth-page{padding:18px 12px 12px;justify-content:flex-start}.auth-shell{width:min(480px,100%);min-height:0;display:block;border-radius:24px}.auth-showcase{display:none}.auth-panel-wrap{display:block;padding:26px 23px 25px;background:rgba(255,255,255,.91)}.auth-panel{width:100%}.auth-mobile-logo{display:flex;align-items:center;gap:10px;margin-bottom:29px;color:#393451;font-size:13px}.auth-mobile-logo .auth-logo{width:38px;height:38px;border-radius:12px;font-size:17px}.auth-panel h1{font-size:28px;margin-top:17px}.auth-subtitle{margin-bottom:22px}.auth-panel-bottom{margin-top:24px}.auth-page .site-support-footer{margin-top:12px;padding:10px 4px;font-size:9px}.auth-bg-orb.orb-one{width:260px;height:260px;top:-130px;left:-125px}.auth-bg-orb.orb-two{width:300px;height:300px;right:-180px;bottom:-150px}}
@media(prefers-reduced-motion:reduce){.auth-submit{transition:none}.auth-submit:hover{transform:none}}

.platform-shared-login-note{border:1px solid #e2dcf5;background:linear-gradient(110deg,#faf8ff,#f2faf6);box-shadow:0 8px 25px rgba(90,76,143,.06)}.platform-shared-login-note .panel-head{margin-bottom:7px}.platform-shared-login-note> b{display:inline-flex;padding:8px 12px;border-radius:8px;background:#fff;border:1px solid #e8e3f2;color:#6356aa;font-size:13px;letter-spacing:.2px}

.auth-store-choice-wrap{margin-top:18px}.auth-store-choice-title{display:flex;flex-direction:column;gap:5px;margin:0 0 12px;color:#534e69;font-size:12px}.auth-store-choice-title span{font-size:10px;color:#a29bb5}.auth-choice-form{margin:8px 0}.auth-store-choice{width:100%;display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e8e3f1;border-radius:12px;background:#fff;color:#47415f;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.auth-store-choice:hover{border-color:#b4a8e8;background:#fbfaff;transform:translateY(-1px)}.auth-choice-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#eee9ff;color:#7565cf;font-weight:900}.auth-choice-name{min-width:0;flex:1}.auth-choice-name b,.auth-choice-name small{display:block}.auth-choice-name b{font-size:12px}.auth-choice-name small{margin-top:3px;color:#a09ab2;font-size:9px}.auth-store-choice>strong{font-size:19px;color:#8879cf;font-weight:500}.auth-change-account{display:inline-block;margin-top:8px;color:#8c80be;font-size:10px;font-weight:800}


/* V3.1.5.1 accessibility pass: larger, high-contrast login text */
.auth-panel{width:min(100%,420px)}
.auth-panel-top{font-size:12px;letter-spacing:1.1px;color:#77728e}
.auth-panel h1{font-size:36px;margin:22px 0 9px}
.auth-subtitle{font-size:16px;line-height:1.75;color:#716d82;margin-bottom:25px}
.auth-form label{font-size:16px;margin:18px 0 8px;color:#49455d}
.auth-input-wrap{height:60px;border-radius:13px}
.auth-input-icon{font-size:20px;width:24px}
.auth-input-wrap input{font-size:17px!important}
.auth-input-wrap input::placeholder{color:#8f8a9f}
.auth-show-password{font-size:14px;padding:8px 4px}
.auth-submit{height:60px;font-size:17px;border-radius:13px}
.auth-auto-note{font-size:14px;color:#777188;margin-top:19px}
.auth-error{font-size:14px;line-height:1.65;padding:13px 14px}
.auth-panel-bottom{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;justify-content:initial;gap:10px;margin-top:25px;padding-top:19px;color:#5e5971;font-size:16px;line-height:1.55}
.auth-panel-bottom>span{grid-column:1/-1;text-align:center;font-size:16px;font-weight:750;color:#625d75}
.auth-panel-bottom>a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;border:1px solid #e2dcf2;border-radius:11px;background:#f7f4ff;color:#6253b3;font-size:16px;line-height:1.35;font-weight:900;text-align:center;white-space:normal;overflow-wrap:anywhere}
.auth-panel-bottom>a:hover{background:#eee9ff;color:#4f3da7;border-color:#c9bdf0}
.auth-store-choice-title{font-size:16px;line-height:1.5}
.auth-store-choice-title span{font-size:13px;line-height:1.5}
.auth-store-choice{padding:13px 14px}
.auth-choice-name b{font-size:16px}
.auth-choice-name small{font-size:13px}
.auth-change-account{font-size:14px}
@media(max-width:720px){
 .auth-panel{width:100%}
 .auth-panel-top{font-size:12px}
 .auth-panel h1{font-size:32px}
 .auth-subtitle{font-size:16px}
 .auth-form label{font-size:16px}
 .auth-input-wrap{height:58px}
 .auth-input-wrap input{font-size:17px!important}
 .auth-submit{height:58px;font-size:17px}
 .auth-auto-note{font-size:14px}
 .auth-panel-bottom{grid-template-columns:1fr;gap:9px;margin-top:22px;padding-top:17px}
 .auth-panel-bottom>span{grid-column:1;text-align:center;font-size:16px}
 .auth-panel-bottom>a{min-height:50px;font-size:17px}
 .auth-page .site-support-footer{font-size:12px;line-height:1.6}
}
