#socialHud{position:fixed;z-index:23;top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));width:min(280px,28vw);display:flex;flex-direction:column;align-items:flex-start;gap:6px;pointer-events:none;max-height:calc(100dvh - 180px)}
#socialHud>#meTag,#socialHud>#who,#socialHud>#found,#socialHud>#where,#socialHud>#recsBtn,#socialHud>#recsPanel,#socialHud>#chatFeed{position:static;top:auto;left:auto;transform:none;max-width:100%;box-sizing:border-box;flex-shrink:0;margin:0}
#socialHud>:not(.on):not(#chatFeed){display:none}
#socialHud>#where{display:none;width:100%;white-space:normal;padding:7px 10px;max-height:24dvh;overflow:auto;background:#171923bd;color:#eee5d9;border-radius:10px;font:11px/1.5 Rubik,Arial,sans-serif;direction:rtl;text-align:start;pointer-events:auto}
#socialHud>#where.on{display:block}
#where .room-presence+.room-presence{margin-top:5px}
#where strong{color:#f2d49b;font-weight:500;margin-inline-end:5px}
#where .presence-names{unicode-bidi:plaintext}
#socialHud>#chatFeed{width:100%;min-height:0;flex-shrink:1;max-height:calc(100dvh - 180px);pointer-events:auto}
#socialHud>#recsPanel{max-height:30dvh;overflow:auto;pointer-events:auto}
body.writing #socialHud{z-index:80}
body.writing #socialHud>:not(#chatFeed){display:none!important}
body.writing #socialHud #chatFeed{visibility:visible;max-height:var(--writing-feed-height,35dvh)}
body.modal-open:not(.writing) #socialHud{visibility:hidden}
#sharedStyling{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:85;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 36px);box-sizing:border-box;overflow:auto;padding:24px;color:#f8e8ec;background:linear-gradient(145deg,#423044,#211e32);border:1px solid #d2a6c45c;border-radius:22px;box-shadow:0 24px 100px #0008;font:14px/1.6 Rubik,Arial,sans-serif;text-align:start;touch-action:pan-y}
#sharedStyling[hidden]{display:none}
#sharedStyling h2{font-size:22px;margin:0 0 8px}#sharedStyling p{margin:8px 0 16px;color:#dfccd8}
#sharedStyling button,.styling-launch{padding:10px 14px;border:1px solid #d1abc657;border-radius:10px;background:#ffffff0d;color:inherit;font:inherit;cursor:pointer;margin:4px}
#sharedStyling button.primary{background:#e9b8d0;color:#302235;font-weight:600}
.styling-people>div{display:flex;flex-wrap:wrap;gap:4px;align-items:center;border-bottom:1px solid #ffffff15;padding:8px 0}.styling-people strong{flex:1}
.styling-preview{height:min(340px,45dvh);width:100%;border-radius:16px;overflow:hidden;background:#291e31}
#sharedStyling :focus-visible{outline:2px solid #e9b8d0;outline-offset:2px}.styling-launch{font-size:13px;margin-inline-start:auto}
.stage-outfit-choice{border-radius:10px!important;padding:9px 12px!important;min-width:120px;display:flex;gap:8px;align-items:center;font:13px Rubik,Arial,sans-serif!important;background:#2a2435!important;color:#f5e7d7!important}
.stage-outfit-choice svg{width:36px;height:42px;flex:none}
#swStageOutfit,#dStageOutfit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:100%;flex:1;min-width:0}
#swStageOutfit .stage-outfit-choice,#dStageOutfit .stage-outfit-choice{min-width:0;width:100%;margin:0;text-align:start;padding:7px!important;font-size:12px!important;box-sizing:border-box}
@media(pointer:coarse),(max-width:600px){#socialHud{top:calc(max(10px,env(safe-area-inset-top)) + 60px);left:max(10px,env(safe-area-inset-left));width:min(185px,47vw);gap:4px}#socialHud>#where{font-size:10px;padding:5px 7px;max-height:19dvh}#socialHud>#chatFeed{max-height:122px}#sharedStyling{padding:17px}.styling-launch{padding:7px;font-size:12px}}
@media(max-height:500px){#socialHud{width:min(220px,26vw);max-height:calc(100dvh - 100px)}#socialHud>#where{max-height:20dvh}#socialHud>#chatFeed{max-height:100px}body.writing #socialHud{top:8px}}

body.styling-open #socialHud,body.styling-open #act,body.styling-open #lockHint,body.styling-open #chat{visibility:hidden}

