 :root{--navy:#172d43;--cyan:#19b8cc;--ink:#172d43;--muted:#5b6d7a;--line:#d7e2e9;--paper:#f5f7f9}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}







.accounts-page{max-width:1320px;margin:0 auto;padding:clamp(32px,5vw,64px) clamp(18px,4vw,48px) 56px}
.intro{text-align:center;margin:0 auto 34px;max-width:720px}.eyebrow{margin:0 0 10px;color:#078a9d;font-size:11px;font-weight:800;letter-spacing:.17em}.intro h1{font-size:clamp(34px,4vw,52px);line-height:1.1;letter-spacing:-.035em;margin:0 0 12px}.intro h1 span{color:#078fa3}.lead{margin:0;color:var(--muted);font-size:16px}
.account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.account-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 28px #18334b0b;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.account-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px #18334b14;border-color:#a7dce3}
.account-art{min-height:190px;display:flex;align-items:center;justify-content:center;padding:18px;background:linear-gradient(145deg,#eaf1f5,#dce7ed);border-bottom:1px solid var(--line)}
.account-art img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.discord .account-art{background:linear-gradient(145deg,#e5eaff,#f4f6ff)}.battlenet .account-art{background:linear-gradient(145deg,#e5edf9,#f5f8fc)}.epic .account-art{background:linear-gradient(145deg,#e9e9eb,#f7f7f8)}.steam .account-art{background:linear-gradient(145deg,#e3edf2,#f5f8fa)}
.account-info{display:flex;flex:1;flex-direction:column;padding:20px}.platform{margin:0 0 7px;color:#078a9d;font-size:10px;font-weight:800;letter-spacing:.13em}.account-info h2{margin:0;color:var(--navy);font-size:22px;line-height:1.25}.account-name{margin:8px 0 22px;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.profile-button{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:auto;padding:12px 14px;border:0;border-radius:9px;background:var(--navy);color:#fff;text-decoration:none;font-size:14px;font-weight:750;text-align:center;transition:background .15s,color .15s}
.profile-button span{color:#70e5ee;font-size:16px}.profile-button:hover{background:#214761}.profile-button.unavailable{cursor:default;background:#e9eff3;color:#314b60}.profile-button.unavailable span{display:none}

@media(max-width:1050px){.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-art{min-height:220px}}
@media(max-width:650px){.accounts-page{padding-top:32px}.account-grid{gap:14px}.account-art{min-height:150px;padding:12px}.account-art img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.account-info{padding:15px}.account-info h2{font-size:18px}.profile-button{font-size:12px;padding:11px 8px}}
@media(max-width:390px){.account-grid{grid-template-columns:1fr}.account-art{height:190px}}


/* V23: einheitliche Bildrahmen und harmonisch verkleinertes Epic-Games-Logo */
.account-art{
  height: 290px;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.account-art img{
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.account-card:nth-child(3) .account-art img{
  width: 82%;
  height: 82%;
  max-width: 82%;
  max-height: 82%;
}
@media (max-width: 640px) {
  .account-art{
    height: 250px;
    min-height: 250px;
  }
}


/* V24: Profilkarten in zwei Reihen; Reihenfolge Discord/Battle.net, Steam/EPIC Games */
.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px;margin-inline:auto;gap:24px}
.account-card{min-width:0}
@media(max-width:700px){.account-grid{grid-template-columns:1fr;gap:18px}}

/* V26: alle Profilbuttons identisch, auch ohne externe Verlinkung */
.account-card .account-link, .account-card .account-button, .account-card a, .account-card button{
  background: #172d43 !important;
  color: #fff !important;
  border: 0 !important;
  text-decoration: none !important;
  font-weight: 750;
}
.account-card .account-link:hover, .account-card .account-button:hover, .account-card a:hover, .account-card button:hover{ background:#23435f !important; }

.account-card .profile-button{
  display:flex; align-items:center; justify-content:center; width:100%;
  min-height:48px; padding:12px 16px; border-radius:9px;
  background:#172d43 !important; color:#fff !important;
  border:0 !important; text-decoration:none !important; font-weight:750;
  font:inherit; font-weight:750; cursor:pointer;
}
.account-card .profile-button:hover{ background:#23435f !important; }
.account-card.discord{ order:1; }
.account-card.battlenet{ order:2; }
.account-card.steam{ order:3; }
.account-card.epic{ order:4; }
