.auth-shell{width:min(560px,calc(100% - 24px));margin:0 auto;padding:20px 0 44px}
.auth-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:20px}
.auth-card h1,.auth-card h2,.auth-card h3{margin-top:0}.auth-stack{display:grid;gap:14px}
.auth-field{display:grid;gap:6px}.auth-field label{font-weight:800}.auth-field small{color:#667085;font-size:.86rem}
.auth-field input{box-sizing:border-box;width:100%;min-height:50px;border:1px solid #cfd5df;border-radius:12px;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:#101828}
.auth-field input:focus{outline:3px solid rgba(79,70,229,.14);border-color:#635bff}
.auth-button,.profile-button{width:100%;min-height:50px;border:0;border-radius:12px;padding:0 16px;font:inherit;font-weight:800;cursor:pointer}
.auth-button{background:linear-gradient(135deg,#5746e8,#2563eb);color:#fff;box-shadow:0 8px 22px rgba(67,56,202,.18)}
.auth-secondary{display:inline-flex;min-height:46px;align-items:center;color:#2447d8;font-weight:700;text-decoration:none}
.auth-message{padding:12px 14px;border-radius:10px;background:#f2f4f7;color:#344054}.auth-error{background:#fef3f2;color:#b42318}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-button{background:#eef2ff;color:#243b8a}.profile-button[disabled]{background:#f2f4f7;color:#98a2b3;cursor:not-allowed}
.user-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.admin-list{display:grid;gap:12px}.admin-item{border:1px solid #e4e7ec;border-radius:14px;padding:14px}
/* JW-027 · Welcome/Login UX */
.auth-welcome-body{min-height:100vh;background:radial-gradient(circle at 10% 5%,rgba(99,102,241,.12),transparent 30%),radial-gradient(circle at 90% 0,rgba(14,165,233,.12),transparent 28%),#f6f8fc}
.auth-welcome-shell{width:min(620px,calc(100% - 28px));display:grid;gap:14px;padding-top:28px}
.auth-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;padding:22px;border:1px solid #dfe5f1;border-radius:24px;background:linear-gradient(135deg,#101a38 0%,#202c62 58%,#4338ca 100%);color:#fff;box-shadow:0 16px 42px rgba(31,41,85,.16);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.auth-brand-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:rgba(255,255,255,.13);font-size:34px;border:1px solid rgba(255,255,255,.18)}
.auth-eyebrow{margin:0 0 4px;font-size:.78rem;font-weight:900;letter-spacing:.14em;color:#c7d2fe}.auth-hero h1{margin:0;font-size:clamp(1.9rem,7vw,2.55rem);line-height:1.05}.auth-lead{margin:8px 0 0;color:#e0e7ff;font-size:1.02rem;line-height:1.4}
.auth-game-strip{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:15px;background:rgba(3,7,18,.22);font-size:1.45rem}.auth-game-strip span{display:grid;place-items:center;min-width:36px}
.auth-login-card,.auth-new-card{border-radius:22px;box-shadow:0 10px 28px rgba(16,24,40,.06)}
.auth-section-heading{display:flex;align-items:flex-start;gap:12px}.auth-section-heading h2{margin:0 0 4px;font-size:1.35rem}.auth-section-heading p{margin:0;color:#667085;line-height:1.45}.auth-step-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eef2ff;font-size:1.25rem;-webkit-user-select:none;user-select:none}
.auth-quick{padding-top:2px}.auth-quick h3{margin-bottom:9px;font-size:1rem}.auth-login-form{padding-top:2px}
.auth-new-card{display:grid;gap:15px;border:2px solid #c7d2fe;background:linear-gradient(145deg,#fff,#f5f3ff)}
.auth-create-button{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:56px;padding:0 18px;border-radius:14px;background:linear-gradient(135deg,#6d28d9,#4f46e5);color:#fff;text-decoration:none;font-size:1.05rem;font-weight:900;box-shadow:0 8px 22px rgba(79,70,229,.2);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.auth-create-note{margin:0;color:#667085;font-size:.9rem;line-height:1.45}.auth-footer-note{text-align:center;color:#98a2b3;margin:2px 0 0;font-size:.86rem;-webkit-user-select:none;user-select:none}
@media(max-width:420px){.quick-grid{grid-template-columns:1fr}.auth-card{padding:17px}.auth-welcome-shell{padding-top:14px}.auth-hero{padding:18px;grid-template-columns:auto 1fr;gap:12px}.auth-brand-mark{width:52px;height:52px;border-radius:16px;font-size:29px}.auth-lead{font-size:.94rem}.auth-game-strip{font-size:1.25rem}.auth-section-heading{gap:10px}.auth-step-icon{flex-basis:38px;width:38px;height:38px}}
@media(prefers-reduced-motion:no-preference){.auth-button:active,.auth-create-button:active,.profile-button:active{transform:translateY(1px)}}
