#party-finder { position: fixed; inset: 0; z-index: 40; --social-u: min(1px, calc(100svh / 1080)); }
#party-dismiss { position: absolute; inset: 0; background: #0006; }
.social-panel { position: absolute; inset: 0 0 0 auto; display: flex; width: min(100%, calc(654 * var(--social-u))); max-width: 100%; height: 100%; overflow: hidden; color: #fff; }
.social-rail { flex: 0 0 calc(104 * var(--social-u)); min-width: 52px; display: flex; flex-direction: column; align-items: stretch; padding-right: calc(8 * var(--social-u)); background: #0e1834; }
.social-profile-space { flex: 0 0 calc(128 * var(--social-u)); }
.social-rail > button { display: grid; place-items: center; border-radius: 0; background: transparent; color: #2ba5f9; min-height: 52px; height: calc(104 * var(--social-u)); padding: 12px; opacity: 1; }
.social-rail > button[aria-selected="true"] { color: #0840a7; background: #fff; clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%); }
.social-rail > button:not(:disabled):hover { color: #0044cb; background: #fff; }
.social-rail #party-close { margin-top: auto; min-height: 52px; font: 900 14px "Winterfest Burbank Small", sans-serif; }
.social-icon { display: block; width: calc(40 * var(--social-u)); height: calc(40 * var(--social-u)); min-width: 24px; min-height: 24px; background: currentColor; mask-image: none; mask-position: center; mask-size: contain; mask-repeat: no-repeat; mask-mode: alpha; }
.social-icon:not([style]) { visibility: hidden; }
.social-icon-luminance { mask-mode: luminance; }
.social-content { flex: 1 1 auto; min-width: 0; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(140deg, #161e38, #092b6c); }
.social-header { position: relative; display: flex; align-items: flex-end; height: calc(120 * var(--social-u)); min-height: 80px; padding: 0 calc(20 * var(--social-u)) calc(10 * var(--social-u)); background: linear-gradient(110deg, #030770, #022a9b); }
.social-header h2 { padding: 0; margin: 0; white-space: nowrap; font: 900 max(24px, calc(42.6667 * var(--social-u)))/1 "Winterfest Burbank Small", sans-serif; transform: skewX(-8deg); }
#social-status { margin: 0; padding: 0 20px; color: #b8d0e8; overflow-wrap: anywhere; font: 700 16px "Winterfest Noto Sans", sans-serif; }
#social-status:not(:empty) { padding-top: 16px; padding-bottom: 16px; }
#social-retry { margin: 8px 20px; }
.social-group { margin: 0 0 calc(6 * var(--social-u)); }
.social-group > button { display: block; width: 100%; min-height: 36px; padding: calc(10 * var(--social-u)) calc(24 * var(--social-u)); border-radius: 0; background: #101326; color: #b8c0d5; text-align: left; font: 900 max(16px, calc(21.3333 * var(--social-u)))/1 "Winterfest Burbank Small", sans-serif; transform: skewX(0); opacity: 1; }
.social-group > button span { float: right; margin-right: 20px; }
.social-friend { margin: 0; padding: 12px 20px; color: #fff; overflow-wrap: anywhere; font: 700 18px "Winterfest Noto Sans", sans-serif; }
.social-friend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; border-bottom: 1px solid #ffffff14; }
.social-friend-row .social-friend { padding: 4px; }
.social-friend-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.social-friend-actions button, .social-friend-row > button { min-height: 36px; padding: 6px 12px; font: 900 14px "Winterfest Burbank Small", sans-serif; border-radius: 6px; }
.social-tag-pill { padding: 4px 10px; border-radius: 12px; background: #1c3a75; color: #cfe2ff; font: 700 13px "Winterfest Noto Sans", sans-serif; }
.social-empty { display: flex; flex-direction: column; align-items: center; min-height: calc(452 * var(--social-u)); padding: calc(72 * var(--social-u)) calc(48 * var(--social-u)) calc(30 * var(--social-u)); color: #b8d0e8; text-align: center; }
.social-large-icon { flex: 0 0 auto; width: calc(200 * var(--social-u)); height: calc(200 * var(--social-u)); min-width: 100px; min-height: 100px; color: #33aaff; }
.social-empty p { margin: calc(28 * var(--social-u)) 0 calc(48 * var(--social-u)); font: 700 max(16px, calc(24 * var(--social-u)))/1.25 "Winterfest Noto Sans", sans-serif; }
.social-empty button { width: 100%; min-height: 48px; border-radius: 32px; padding: 8px 12px; color: #b8d0e8; background: #0e4cbe; font: 900 max(16px, calc(24 * var(--social-u)))/1 "Winterfest Burbank Small", sans-serif; }
.social-empty button:not(:disabled):hover, .social-empty button:focus-visible { background: #fff; color: #333; }
.social-tags { padding-top: calc(64 * var(--social-u)); }
.social-tags p { margin-top: calc(32 * var(--social-u)); }
.social-tags button:disabled { opacity: 1; background: #fff; color: #555; }
#party-finder[data-social-page="find"] .social-header { height: calc(188 * var(--social-u)); min-height: 136px; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: calc(16 * var(--social-u)); }
#social-search { width: 100%; margin: 0; }
.social-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#social-query { width: 100%; min-height: 44px; border: 3px solid #101326; border-radius: 0; padding: 8px 12px; color: #fff; background: #122047; font: 700 max(16px, calc(21.3333 * var(--social-u)))/1.25 "Winterfest Noto Sans", sans-serif; }
#social-query::placeholder { color: #b8c0d5; opacity: 1; }
#social-query:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
#social-search-status { margin: 0; padding: 0 20px; font: 700 16px "Winterfest Noto Sans", sans-serif; overflow-wrap: anywhere; }
#social-search-status:not(:empty) { padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 600px) { .social-panel { width: 100%; } .social-empty { padding-left: 20px; padding-right: 20px; } .social-header h2 { font-size: 24px; } }
@media (max-height: 550px) { .social-profile-space { flex-basis: 28px; } .social-header { min-height: 60px; } .social-empty { padding-top: 20px; } .social-large-icon { min-width: 72px; min-height: 72px; } }
