/* Connexion Steam directement dans l’en-tête, sans bandeau secondaire. */
.steam-account-slot{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;min-width:178px;max-width:min(32vw,340px);position:relative}
.steam-login-button{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 17px;background:linear-gradient(115deg,#183651,#15223d);border:1px solid #477da4;border-radius:7px;color:#f5faff;font-size:12px;font-weight:800;white-space:nowrap;letter-spacing:.2px;box-shadow:0 4px 17px #0005;transition:border-color .15s,background .15s,transform .15s}
.steam-login-button:hover{border-color:#62efff;background:linear-gradient(115deg,#23506a,#1a2d50);transform:translateY(-1px)}
.steam-login-button:focus-visible,.steam-profile:focus-visible,.steam-logout:focus-visible{outline:2px solid #62efff;outline-offset:3px}
.steam-login-symbol{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#e7f2fa;color:#14334f;font-size:22px;line-height:1;font-weight:800}
.steam-login-error{position:absolute;top:calc(100% + 10px);right:0;width:235px;z-index:9;background:#2c173e;border:1px solid #b26dcd;border-radius:5px;padding:8px 11px;color:#f7d9ff;font-size:11px;line-height:1.4}
.steam-badge{display:flex;align-items:center;gap:11px;padding:5px 6px 5px 5px;background:linear-gradient(125deg,#25113e,#141b3e);border:1px solid #714c9f;border-radius:9px;box-shadow:0 6px 22px #0004;min-width:0}
.steam-profile{display:flex;gap:9px;align-items:center;min-width:0;flex:1;padding:2px;border-radius:4px}
.steam-profile:hover .steam-name{color:#7becff}
.steam-avatar{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;position:relative;overflow:hidden;border-radius:6px;border:1px solid #7f98ad;background:#25415b;color:white;font-weight:800;font-size:20px}
.steam-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.steam-profile-labels{min-width:0;display:flex;flex-direction:column;gap:4px}
.steam-name{max-width:135px;font-size:12px;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
.steam-subline{font-size:9px;letter-spacing:.35px;text-transform:uppercase;color:#91d9e4;white-space:nowrap}
.steam-badge form{margin:0;padding-left:8px;border-left:1px solid #553c72}
.steam-logout{font-size:11px;font-weight:700;border:1px solid #77568f;background:#321849;border-radius:5px;color:#f8e7ff;padding:10px;white-space:nowrap}
.steam-logout:hover{background:#573061;border-color:#cc86da}
@media(max-width:1150px){header{gap:12px}nav{gap:3px}nav a{padding-left:10px;padding-right:10px}.steam-badge{gap:6px}.steam-name{max-width:95px}.steam-login-button{padding:0 12px}}
@media(max-width:900px){.steam-account-slot{margin-left:auto;max-width:60vw}nav{order:3;overflow-x:auto;width:100%}}
@media(max-width:500px){.steam-account-slot{max-width:calc(100% - 140px);min-width:0}.steam-badge{padding:4px;gap:4px}.steam-avatar{width:32px;height:32px;flex-basis:32px}.steam-profile{gap:5px}.steam-name{font-size:11px;max-width:90px}.steam-subline{font-size:8px}.steam-badge form{padding-left:4px}.steam-logout{padding:9px 6px;font-size:10px}.steam-login-button{font-size:11px;gap:6px;min-height:40px;padding:0 10px}.steam-login-symbol{width:23px;height:23px;flex-basis:23px;font-size:19px}}
@media(max-width:370px){.steam-subline{display:none}.steam-name{max-width:70px}.steam-logout{font-size:9px;padding:8px 4px}}
