/* Skins4Market / Steam account - square corners, mobile first */
.s4m-steam-auth, .s4m-profile { min-height: 60vh; padding: clamp(45px,7vw,96px) 0; color: var(--text, #f6f7f5); }
.s4m-steam-auth-card, .s4m-profile-card { background: #141920; border: 1px solid #293139; padding: clamp(22px,4vw,40px); margin: 0 0 18px; }
.s4m-steam-auth-card { max-width: 650px; margin: 0 auto; }
.s4m-auth-kicker { font: 700 12px 'Space Grotesk',sans-serif; letter-spacing: .17em; color: #01dd64; }
.s4m-steam-auth h1, .s4m-profile h1 { font: 700 clamp(25px,4vw,42px)/1.15 'Space Grotesk',sans-serif; letter-spacing: -.04em; margin: 12px 0 16px; }
.s4m-steam-auth p, .s4m-profile p { color: #a4acb4; line-height: 1.7; }
.s4m-steam-login-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 12px 24px; background: #01dd64; color: #06110b; font-weight: 800; text-decoration: none; margin: 14px 0; }
.s4m-steam-login-button:hover { background: #4ffb96; color: #06110b; }
.s4m-steam-login-button svg { width: 25px; height: 25px; }
.s4m-auth-privacy { font-size: 13px; }
.s4m-profile-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.s4m-profile-identity { display: flex; gap: 20px; align-items: center; min-width: 0; }
.s4m-profile-identity h1 { overflow-wrap: anywhere; }
.s4m-profile-avatar { display: block; width: 90px; height: 90px; object-fit: cover; border: 1px solid #344239; flex-shrink: 0; }
.s4m-profile-actions { display: flex; gap: 10px; align-items: center; }
.s4m-profile-actions form { margin: 0; }
.s4m-profile-card h2 { font: 700 24px 'Space Grotesk',sans-serif; margin: 0 0 12px; }
.s4m-profile-email-form { display: flex; gap: 10px; margin-top: 20px; }
.s4m-profile-email-form input { flex: 1; min-width: 0; background: #0b0e13; border: 1px solid #344239; color: #fff; padding: 12px; }
.s4m-profile-history { margin-top: 18px; }
.s4m-profile-history-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid #293139; text-decoration: none; color: inherit; }
.s4m-profile-history-row > span { min-width: 0; overflow-wrap: anywhere; }
.s4m-profile-history-row small { display: block; color: #a4acb4; margin-top: 3px; }
.s4m-profile-amount, .s4m-profile-valuation-total strong { font-weight: 800; color: #01dd64; white-space: nowrap; }
.s4m-profile-valuation-total { padding: 16px 0; border-bottom: 1px solid #344239; display: flex; justify-content: space-between; gap: 16px; }
.s4m-profile a:not(.btn) { color: #01dd64; }
@media (max-width: 650px) { .s4m-profile-head, .s4m-profile-identity { align-items: flex-start; } .s4m-profile-avatar { width: 62px; height: 62px; } .s4m-profile-actions { width: 100%; } .s4m-profile-actions .btn { flex: 1; } .s4m-profile-email-form { flex-direction: column; } .s4m-profile-history-row { flex-wrap: wrap; } .s4m-profile-amount { margin-left: auto; } }

.s4m-nav-account, .s4m-nav-steam-login { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 45px; padding: 0 11px; color: #f6fff8; border: 1px solid #344239; background: #151c1e; text-decoration: none; }
.s4m-nav-account { width: 45px; padding: 0; overflow: hidden; }
.s4m-nav-account img { width: 100%; height: 100%; object-fit: cover; }
.s4m-nav-account:hover, .s4m-nav-steam-login:hover { color: #01dd64; border-color: #01dd64; }
.s4m-nav-steam-login { font-size: 13px; font-weight: 750; white-space: nowrap; }
.s4m-valuation-steam-user { display: flex; align-items: center; gap: 14px; border: 1px solid #293139; background: #141920; padding: 14px 17px; margin-bottom: 20px; min-width: 0; }
.s4m-valuation-steam-user img { width: 50px; height: 50px; object-fit: cover; }
.s4m-valuation-steam-user div { min-width: 0; }
.s4m-valuation-steam-user strong, .s4m-valuation-steam-user span { display: block; overflow-wrap: anywhere; }
.s4m-valuation-steam-user span { font-size: 12px; color: #a4acb4; }
.s4m-valuation-steam-user-actions { margin-left: auto; text-align: right; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.s4m-valuation-steam-user-actions a { color: #01dd64; text-decoration: none; font-size: 13px; }
@media (max-width: 600px) { .s4m-nav-account { width: 40px; height: 40px; } .s4m-nav-steam-login { padding: 0 7px; font-size: 11px; max-width: 125px; text-align: center; white-space: normal; line-height: 1.25; } .s4m-valuation-steam-user { flex-wrap: wrap; } .s4m-valuation-steam-user-actions { margin-left: 0; flex: 1 1 100%; justify-content: flex-start; } }
@media (max-width: 355px) { .s4m-nav-steam-login { max-width: 100px; } }

.s4m-nav-steam-login svg { flex: 0 0 20px; }
@media (max-width: 480px) { .s4m-nav-steam-login { width: 42px; height: 42px; min-width: 42px; padding: 0; } .s4m-nav-steam-login span { display: none; } }
