
/* Phase 52: Profil-Badges, Wall-Reaktionen, Startseite-Fix */
body.public-login-fullpage{overflow:auto!important;min-height:100dvh!important;height:auto!important;}
html:has(body.public-login-fullpage){overflow:auto!important;height:auto!important;}
body.public-login-fullpage .page,
body.public-login-fullpage .cem-startpage{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;}
.cem-startpage{padding:clamp(16px,3vw,34px)!important;}
.cem-start-shell{height:auto!important;min-height:calc(100dvh - 68px)!important;align-items:center!important;}
.cem-login-card{max-height:none!important;height:auto!important;overflow:visible!important;}
.cem-entry-choice a{min-height:84px;box-sizing:border-box;}
.cem-login-form-v2 input{box-sizing:border-box;width:100%;}
@media(max-width:900px){
  body.cem-loginpage-v2{overflow:auto!important;}
  .cem-start-shell{height:auto!important;display:flex!important;flex-direction:column!important;}
  .cem-start-hero{height:auto!important;min-height:0!important;}
  .cem-login-card{height:auto!important;max-height:none!important;overflow:visible!important;width:100%;}
  .cem-entry-choice a{min-height:78px;}
}
@media(max-width:520px){
  .cem-startpage{padding:10px!important;}
  .cem-hugo-stage{position:relative!important;right:auto!important;top:auto!important;width:100%!important;height:auto!important;}
  .cem-hugo-big{width:160px!important;}
  .cem-entry-choice a{align-items:flex-start;padding:14px;}
  .cem-entry-choice small{font-size:12px;}
}

.profile-badges-page .profile-level-summary{display:flex;gap:14px;align-items:center;padding:16px;border-radius:20px;background:linear-gradient(135deg,rgba(56,189,248,.14),rgba(139,92,246,.12));border:1px solid rgba(148,163,184,.16);margin:14px 0;}
.profile-level-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;font-size:26px;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);}
.profile-badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:16px;}
.profile-badge-card{display:flex;gap:12px;align-items:flex-start;padding:15px;border-radius:18px;background:rgba(15,23,42,.72);border:1px solid color-mix(in srgb,var(--badge-color,#38bdf8) 42%,rgba(148,163,184,.16));box-shadow:0 14px 38px rgba(0,0,0,.18);}
.profile-badge-card.rare-badge-card{background:linear-gradient(135deg,rgba(245,158,11,.16),rgba(15,23,42,.72));}
.profile-badge-card.event-badge-card{background:linear-gradient(135deg,rgba(34,197,94,.14),rgba(15,23,42,.72));}
.profile-badge-icon{width:44px;height:44px;flex:0 0 44px;border-radius:16px;display:grid;place-items:center;font-size:24px;background:color-mix(in srgb,var(--badge-color,#38bdf8) 18%,transparent);}
.profile-badge-card b{display:block;color:#fff;font-size:15px;margin-bottom:4px;}
.profile-badge-card p{margin:0;color:#b7c7e5;font-size:13px;line-height:1.35;}
.profile-badge-card small{display:block;color:#8fa3c6;margin-top:6px;font-size:12px;}

.cem-reactions-clean{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.cem-reactions-clean .reaction-users{display:none!important;}
.cem-reactions-clean .reaction-total{cursor:help;color:#9fb5d6;font-size:13px;}
.cem-reactions-clean .reaction-btn{position:relative;}
.cem-reactions-clean .reaction-btn small{margin-left:3px;font-size:11px;}

.wall-online-card #onlineBox .recent-24h-wrap{display:none!important;}
.wall-online-card .online-user:nth-of-type(n+17){display:none!important;}
