/* Returning trainers share one restrained profile treatment across hero layouts. */
#authScreen.ppu .ppu-hero-return{display:none}

@media(min-width:701px){
 #authScreen.ppu.ppu-light.ppu-polish[data-account-state="ready"] .ppu-entry{background:#f9fcfd;border:1px solid #deebf1;border-radius:23px;box-shadow:0 18px 45px #0b35522b}
 #authScreen.ppu.ppu-light.ppu-polish[data-account-state="ready"] .ppu-entry:before{display:none}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return:not([hidden]){padding:24px;text-align:left}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity{display:flex;align-items:center;gap:17px;min-width:0}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity>img{display:block;flex:none;width:78px;height:78px;object-fit:cover;margin:0;border:3px solid #fff;border-radius:50%;background:#e8f6ff;box-shadow:0 0 0 1px #d5e8f0}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity-copy{min-width:0}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity .ppu-entry-kicker{margin-bottom:5px;color:#6790a5;font-size:10px;font-weight:800;letter-spacing:.09em}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity p{margin:0;color:#6e8797;font-size:13px;font-weight:650}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity h2{overflow:hidden;max-width:100%;margin:2px 0 4px;color:#193e57;font-size:24px;font-weight:850;letter-spacing:.005em;text-overflow:ellipsis;white-space:nowrap}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-identity small{color:#8198a5;font-size:11px;font-weight:550}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-button{min-height:52px;margin-top:24px;border:0;border-radius:13px;background:#ffb33f;box-shadow:none;color:#173b54;font-size:16px;font-weight:800;transition:background-color .18s ease,transform .18s ease}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-button:hover{background:#ffc15b}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-button:active{transform:translateY(1px);background:#f5a32f}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-button:focus-visible{outline:3px solid #155f88;outline-offset:3px}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-text-button{display:block;min-height:44px;margin:7px auto 0;padding:10px 12px;color:#597789;font-size:12px;font-weight:650}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-text-button:focus-visible{outline:2px solid #155f88;outline-offset:2px}
}

@media(max-width:700px){
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return:not([hidden]){display:grid;gap:13px;width:calc(100% + 12px);margin-left:-6px;padding:15px;border:1px solid #deebf1;border-radius:23px;background:#f9fcfd;box-shadow:0 18px 42px #08294038;color:#173d56}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person{display:flex;align-items:center;gap:14px;min-width:0;min-height:64px}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person img{display:block;flex:none;width:64px;height:64px;object-fit:cover;border:3px solid #fff;border-radius:50%;background:#e8f6ff;box-shadow:0 0 0 1px #d5e8f0}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person>span{display:flex;flex-direction:column;justify-content:center;min-width:0;line-height:1.2}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person small{color:#6e8797;font-size:12px;font-weight:650}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person strong{overflow:hidden;margin-top:2px;color:#193e57;font-size:21px;font-weight:850;letter-spacing:.005em;text-overflow:ellipsis;white-space:nowrap}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-note{margin-top:3px;color:#8198a5;font-size:11px;font-weight:550}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return .ppu-hero-start{width:100%;min-height:52px;border:0;border-radius:13px;background:#ffb33f;box-shadow:none;color:#173b54;font-size:16px;font-weight:800;transition:background-color .18s ease,transform .18s ease}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return .ppu-hero-start:hover{background:#ffc15b}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return .ppu-hero-start:active{transform:translateY(1px);background:#f5a32f}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return .ppu-hero-start:focus-visible{outline:3px solid #155f88;outline-offset:3px}
 #authScreen.ppu.ppu-light.ppu-polish[data-account-state="ready"] .ppu-entry{display:none}
 #authScreen.ppu.ppu-light.ppu-polish[data-account-state="ready"] .ppu-hero-content{padding-bottom:8px}
}

@media(max-width:370px){
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return:not([hidden]){gap:13px;padding:15px}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person{gap:11px;min-height:58px}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person img{width:58px;height:58px}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return-person strong{font-size:19px}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return .ppu-hero-start{min-height:50px}
}

@media(prefers-reduced-motion:reduce){
 #authScreen.ppu.ppu-light.ppu-polish .ppu-hero-return .ppu-hero-start{transition:none}
 #authScreen.ppu.ppu-light.ppu-polish .ppu-entry-return .ppu-button{transition:none}
}

/* Decorative hero art never intercepts trainer-card controls or image gestures. */
#authScreen .ppu-hero-art,#authScreen .ppu-hero-art img,#authScreen .ppu-hero-art video{pointer-events:none!important;user-select:none;-webkit-user-drag:none}
#authScreen .ppu-entry{isolation:isolate;pointer-events:auto}
#authScreen [data-trainer-portrait],#authScreen [data-hero-trainer-portrait]{object-fit:contain;pointer-events:none;-webkit-user-drag:none}
