/* Social actions use full labels and keep friendship separate from race invites. */
.social-modal{width:500px;padding:24px}.social-modal h2{font-size:38px;margin:12px 0}
button.social-profile{background:#ff603311;border:1px solid #ff603344;border-radius:6px;min-height:44px;text-align:left;width:100%;padding:10px 12px;font:600 12px monospace;letter-spacing:.2px}
button.social-profile:disabled{opacity:.7;cursor:default}.social-modal .shop-status{margin:12px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.social-modal .shop-status.is-error{color:#ffb2a0}
.social-modal .field-label{font-size:10px;letter-spacing:1px}.social-modal .input-row{gap:8px}
.social-modal .input-row button{max-width:none;min-height:44px;font-size:11px;letter-spacing:0;padding:10px 12px;margin:0}
.social-modal .input-row input{font:16px Arial;min-height:44px;border-radius:5px}
.social-tabs{display:flex;gap:6px;margin:22px 0 10px}.social-tabs button{flex:1;min-width:0;min-height:44px;background:#ffffff06;border:1px solid #ffffff24;font-size:11px;font-weight:600;border-radius:5px;padding:8px 5px}
.social-tabs button[aria-selected=true]{color:#ffbc9f;border-color:var(--orange);background:#ff603316}
.social-refresh-row{display:flex;justify-content:flex-end}.social-refresh-row .text-button{width:auto!important;font-size:11px!important;min-height:44px;padding:8px!important}
.social-modal .social-section-title,.social-modal .social-section-title h3{font-size:13px;margin:16px 0 10px}
.social-person{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:14px 12px;margin:8px 0;border:1px solid #ffffff18;border-radius:6px;background:#ffffff04}
.social-person>.social-person-name:first-child{grid-column:1/-1}.social-person .social-actions{grid-column:1/-1;gap:7px}
.social-person-name b{font:600 13px monospace}.social-person-name small{font-size:11px;line-height:1.5}
.social-action{min-height:44px;padding:10px 12px;font-size:11px;font-weight:600;border-radius:5px;letter-spacing:0;line-height:1.3}
.social-action.social-primary{background:#ff6033;color:#11171c;border-color:#ff6033}.social-action.social-danger{color:#ffb0a2;border-color:#ff9d8859}
.social-action:disabled{opacity:.45}.social-empty{font-size:12px;line-height:1.65;padding:15px;border-radius:5px}
.social-invite{border-radius:7px}.social-invite p{font-size:12px}.social-invite>.eyebrow{font-size:9px}.social-invite .social-actions{gap:8px}
.social-modal .social-recovery .text-button,.social-modal #social-export{font-size:11px;line-height:1.5;min-height:44px;padding:10px 0}
.social-legacy{margin-top:20px;padding-top:12px;border-top:1px solid #ffffff1c}.social-legacy summary,.connection-options summary{cursor:pointer;min-height:44px;font-size:12px;line-height:1.5;padding:12px 0;color:#c9d3da}
#social-profile-back{text-align:left!important;font-size:11px;min-height:44px;margin:0 0 12px;padding:10px 0}
.player-card-heading{display:flex;gap:15px;align-items:center;min-width:0;margin:16px 0}.player-avatar{width:64px;height:64px;display:grid;place-items:center;flex-shrink:0;background:#ff603321;border:1px solid #ff60336b;border-radius:14px;font:bold italic 25px Arial;color:#ffb18d}
.player-card-heading>div{min-width:0}.player-card-heading h3{font-size:22px;margin:0 0 6px;overflow-wrap:anywhere}.player-card-heading b{display:block;font:13px monospace;color:#ffbd9d;overflow-wrap:anywhere}.player-card-heading small{display:flex;gap:7px;align-items:center;font-size:11px;color:#b4c3cd;margin-top:10px}
.player-relationship{padding:12px;background:#ffffff07;border:1px solid #ffffff18;border-radius:5px;font-size:12px;line-height:1.5}
.player-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:20px}.player-stats>div{background:#ffffff05;border:1px solid #ffffff18;border-radius:6px;padding:14px 8px;text-align:center}.player-stats b{display:block;font-size:26px}.player-stats span{display:block;font-size:9px;color:#aabac4;margin-top:7px;letter-spacing:.6px}
.player-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.player-card-actions>p{width:100%}.social-confirm{font-size:12px;line-height:1.6;color:#ffd2c0}
.connection-options{margin:12px 0;border:1px solid #ffffff1b;padding:0 12px;border-radius:5px}.connection-options[open]{padding-bottom:12px}
.in-lobby #lobby-entry,.in-lobby #connection-options{display:none}.lobby-roster-title{font-size:10px;letter-spacing:1.2px;margin:20px 0 10px}
#lan-players{gap:8px}.lan-player.lobby-player{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 12px;padding:14px;border-radius:6px;min-width:0}
.lobby-player-info{min-width:0}.lobby-player-info b{display:block;font-size:13px;overflow-wrap:anywhere}.lobby-player-info b em{display:inline-block;font-size:8px;font-style:normal;background:#ff603324;padding:3px 5px;color:#ffd0b8;margin-left:4px}
.lobby-player-info small{display:block;font-size:11px;color:#aabcc7;margin-top:5px;overflow-wrap:anywhere}.lobby-player .lobby-player-info>span{display:block;margin:7px 0 0;color:#8b9ca7;font-size:10px;line-height:1.4}
.lobby-player-state{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.lobby-player-state small{font-size:7px;color:#ffa77e;letter-spacing:.4px}.lobby-player .ready-chip{font-size:9px;color:#aebfc8;background:#ffffff07;border:1px solid #ffffff21;border-radius:4px;padding:6px 8px;margin:0}.lobby-player .ready-chip.is-ready{color:#a6e0b9;background:#5cbe7b16;border-color:#75ca8c55}
.lobby-social-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;margin:0!important}.lobby-social-actions button{min-height:44px;padding:10px 12px;background:#ffffff08;border:1px solid #ffffff2b;border-radius:5px;font-size:11px;line-height:1.3;color:#e5edef}
.lobby-social-actions .lobby-add-friend{color:#ffc4a5;border-color:#ff9b665b}.lobby-social-actions button:disabled{opacity:.5;cursor:default}.lobby-player.bot{opacity:.7}
#lan-social-status{font-size:12px;line-height:1.6}#lobby-start-help{border-left:2px solid #ff6033;padding-left:12px;font-size:11px;line-height:1.6}
#lan-ready,#lan-start{min-height:48px;font-size:10px;line-height:1.4;letter-spacing:.5px;padding:10px}#lan-ready[aria-pressed=true]{color:#a6e0b9;border-color:#75ca8c88;background:#5cbe7b16}
@media(max-width:650px){.social-overlay{padding:12px}.social-modal{padding:20px;max-height:calc(var(--app-height,100dvh) - 32px);width:100%}.social-modal h2{font-size:32px}.social-modal .muted{font-size:12px}.social-heading .eyebrow{font-size:8px;letter-spacing:1px}.social-heading .text-button{font-size:11px;padding:8px!important;min-height:44px}.social-modal .social-action{font-size:11px;padding:10px 12px}.social-tabs button{font-size:11px}.player-card-heading h3{font-size:20px}.social-notice{font-size:12px;line-height:1.5}}
@media(max-width:360px){.social-modal{padding:16px}.social-tabs{gap:4px}.social-tabs button{font-size:10px}.social-modal .input-row{flex-wrap:wrap}.social-modal .input-row input{flex:1 0 100%;width:100%}.social-modal .input-row button{flex:1}.player-avatar{width:52px;height:52px}.player-stats b{font-size:22px}.lobby-player-info b{font-size:12px}.lan-player.lobby-player{padding:12px}}

.social-modal .social-heading{position:sticky;top:0;z-index:2;background:#171c20;box-shadow:0 -24px 0 #171c20}
