/* hySocial V16 — local, app-scoped finish. HyMail informs depth and fine chroma
   edges; original page selectors and state classes remain the layout contract. */
html:has(body[data-hysocial-page]){color-scheme:dark;--touch-target:44px;--info:var(--accent);--purple:var(--hsx-violet);--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
html[data-mode="light"]:has(body[data-hysocial-page]){color-scheme:light;--hsx-cyan:#006b88;--hsx-violet:#7032c3;--hsx-pink:#a91e78;--hsx-dim:#526178;--accent:#006b88;--hsx-line:#a4b2c7}
body[data-hysocial-page]{--hs-font:Inter,ui-sans-serif,system-ui,sans-serif;--hs-bg:var(--bg-deep);--hs-card:var(--bg-card);--hs-surface:var(--bg-surface);--hs-text:var(--text);--hs-muted:var(--muted);--hs-border:var(--border);--hs-accent:var(--accent);--hs-danger:var(--danger);--hs-glass:var(--glass-bg);--hs-glass-border:var(--border);--hs-radius:18px;--hs-spring:cubic-bezier(.2,.9,.3,1);--hs-pink:var(--hsx-pink);--hs-purple:var(--hsx-violet);--hs-gradient:linear-gradient(135deg,var(--hs-pink),var(--hs-purple));--hs-gradient-soft:var(--accent-dim);--hs-pink-dim:var(--accent-dim);--hs-purple-dim:var(--accent-dim);--hs-success:var(--success);--hs-gold:var(--warning);font-family:var(--hs-font);line-height:1.5}
body[data-hysocial-page] *,body[data-hysocial-page] *::before,body[data-hysocial-page] *::after{box-sizing:border-box}
body[data-hysocial-page] :is(button,input,select,textarea){font-family:inherit}
body[data-hysocial-page] :is(button,[role="button"],.hy-tabbar-item){min-height:44px;touch-action:manipulation}
body[data-hysocial-page] :is(button,[role="button"]){cursor:pointer}
body[data-hysocial-page] :is(button,[role="button"]):active{transform:translateY(1px)}
body[data-hysocial-page] :is(button:disabled,[aria-disabled="true"]){cursor:not-allowed;opacity:.6;transform:none}
body[data-hysocial-page] :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--accent)!important;outline-offset:3px;scroll-margin:80px}
body[data-hysocial-page] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
body[data-hysocial-page] :is(.hs-app,.hsg-app,.hsm-app,.hm-app){height:100vh;height:100dvh}
body[data-hysocial-page] :is(.hs-main,.hsg-main,.hsm-main,.hp-main,.ha-main){min-width:0;min-height:0}
body[data-hysocial-page] :is(.hs-post,.card,.glass-card,.hsg-card,.hsm-listing-card){overflow-wrap:anywhere}
body[data-hysocial-page] :is(.hs-compose textarea,.hs-compose-top,.hs-compose-actions){min-width:0}
body[data-hysocial-page] :is(.hs-compose-actions,.hsm-toolbar,.hsg-detail-actions){flex-wrap:wrap}
body[data-hysocial-page] :is(.btn-primary,.hs-post-btn,.btn-accent,.btn-cyan){background:var(--accent)!important;color:var(--bg-deep)!important;border-color:var(--accent)!important;font-weight:750}
body[data-hysocial-page] #hysocial-theme-toggle{width:44px;height:44px;min-width:44px}
body[data-hysocial-page] :is(.hs-sidebar-header h1,.brand-name){animation:none}
.hs-v16-skip{position:fixed;top:8px;left:8px;z-index:100000;padding:12px 18px;border-radius:10px;background:var(--bg-card);color:var(--text);transform:translateY(-200%)}
.hs-v16-skip:focus{transform:none}
.hs-v16-close{display:none}
body[data-hysocial-page] :is(.hs-v16-menu,.hs-v16-close){border:1px solid var(--border);background:var(--bg-card);color:var(--text);border-radius:12px;padding:8px 12px}
.hs-v16-menu,.hs-v16-backdrop{display:none}
/* The extracted signup/arena state and form layout is paired with V16 materials. */
body[data-hysocial-page] :is(.field,.field-row)>input{width:100%}
body[data-hysocial-page] :is(.card-hint,.field-hint,.tagline,.v-desc,.foot,.step-desc){color:var(--muted)}
body[data-hysocial-page] :is(.glass-card,.card){border-radius:18px;padding:20px}
body[data-hysocial-page="hysocial-onboard"]{margin:0;overflow:auto;background:var(--bg-deep);color:var(--text)}
body[data-hysocial-page="hysocial-onboard"] .shell{max-width:900px;margin:auto;padding:76px 24px 110px}
body[data-hysocial-page="hysocial-onboard"] :is(.top-bar,.field-row,.nav-btns,.hb-header,.hb-input-row){display:flex;align-items:center;gap:12px}
body[data-hysocial-page="hysocial-onboard"] .top-bar{flex-wrap:wrap;margin-bottom:24px}
body[data-hysocial-page="hysocial-onboard"] .tb-right{display:flex;gap:8px;margin-left:auto}
body[data-hysocial-page="hysocial-onboard"] .tb-title{font-size:24px;font-weight:800}
body[data-hysocial-page="hysocial-onboard"] :is(.tb-sub,.step-num,.field-hint){color:var(--muted);font-size:13px}
body[data-hysocial-page="hysocial-onboard"] .step{display:none}
body[data-hysocial-page="hysocial-onboard"] .step.active{display:block}
body[data-hysocial-page="hysocial-onboard"] .step-title{font-size:28px;font-weight:800;margin:8px 0}
body[data-hysocial-page="hysocial-onboard"] .card{margin:16px 0}
body[data-hysocial-page="hysocial-onboard"] .card-title{font-weight:750;margin-bottom:12px}
body[data-hysocial-page="hysocial-onboard"] .field{flex:1;min-width:0;margin-bottom:12px}
body[data-hysocial-page="hysocial-onboard"] .field label{display:block;margin-bottom:6px}
body[data-hysocial-page="hysocial-onboard"] :is(input,textarea,select){min-height:44px;padding:10px;max-width:100%}
body[data-hysocial-page="hysocial-onboard"] :is(.mini-add,.dyn-row){display:grid;gap:8px;margin:10px 0}
body[data-hysocial-page="hysocial-onboard"] :is(.chip-grid,.prog-bar){display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
body[data-hysocial-page="hysocial-onboard"] :is(.chip,.btn,.btn-add,.prog-dot){border:1px solid var(--border);border-radius:12px;padding:10px;background:var(--bg-card);color:var(--text)}
body[data-hysocial-page="hysocial-onboard"] :is(.chip.sel,.prog-dot.active,.posture-card.selected){border-color:var(--accent);background:var(--accent-dim)}
body[data-hysocial-page="hysocial-onboard"] .resume-banner{display:none;padding:16px;border:1px solid var(--accent);border-radius:14px}
body[data-hysocial-page="hysocial-onboard"] #hyp-fab{position:fixed;right:18px;bottom:20px;width:52px;height:52px;border-radius:18px;background:var(--bg-card);border:1px solid var(--accent);display:grid;place-items:center;z-index:410}
body[data-hysocial-page="hysocial-onboard"] :is(#hyp-fab,.hb-header) img{width:32px;height:32px;object-fit:contain}
body[data-hysocial-page="hysocial-onboard"] #hyp-bubble{display:none;position:fixed;right:16px;bottom:82px;width:min(380px,calc(100vw - 32px));height:min(520px,70dvh);background:var(--bg-card);border:1px solid var(--border);border-radius:18px;z-index:420;overflow:hidden}
body[data-hysocial-page="hysocial-onboard"] #hyp-bubble.open{display:flex;flex-direction:column}
body[data-hysocial-page="hysocial-onboard"] :is(.hb-header,.hb-input-row){padding:12px}
body[data-hysocial-page="hysocial-onboard"] :is(.hb-h-info,#hb-input){flex:1;min-width:0}
body[data-hysocial-page="hysocial-onboard"] .hb-messages{flex:1;min-height:0;overflow:auto;padding:12px}
body[data-hysocial-page="hysocial-onboard"] #wiz-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:85vw;background:var(--bg-card);color:var(--text);z-index:500}
@media(max-width:768px){
 body[data-hysocial-page] :is(.hs-right){display:none!important}
 body[data-hysocial-page] .hs-v16-menu{display:block;position:fixed;left:8px;top:58px;z-index:410}
 body[data-hysocial-page] .hs-v16-close{display:block;margin:8px 12px 8px auto}
 body[data-hysocial-page] [data-v16-drawer]{position:fixed!important;display:flex!important;flex-direction:column;top:52px!important;bottom:0;left:0;width:min(288px,88vw)!important;max-width:88vw!important;height:auto;z-index:440!important;overflow-y:auto;visibility:hidden;transform:translateX(-110%);background:var(--bg-surface)!important}
 body[data-hysocial-page] [data-v16-drawer].open{visibility:visible;transform:none}
 body[data-hysocial-page] .hs-v16-backdrop.open{display:block;position:fixed;inset:52px 0 0;background:rgba(0,0,0,.62);z-index:430}
 body[data-hysocial-page] :is(.hsg-mobile-toggle,.hsm-mobile-toggle){z-index:410}
 body[data-hysocial-page] :is(.hsg-sidebar-overlay,.hsm-overlay).open{z-index:430}
 body[data-hysocial-page] :is(.hs-topbar,.hsg-toolbar,.hsm-toolbar){padding-left:58px}
 body[data-hysocial-page] #hs-mobile-tabs{gap:2px;padding-inline:4px}
 body[data-hysocial-page] #hs-mobile-tabs .hs-tab{min-width:0;flex:1;padding-inline:2px;font-size:10px}
 body[data-hysocial-page] :is(input,textarea,select){font-size:16px!important}
 body[data-hysocial-page="hysocial-onboard"] .shell{padding:72px 12px 110px}
 body[data-hysocial-page="hysocial-onboard"] .field-row{flex-direction:column;align-items:stretch}
 body[data-hysocial-page="hysocial-onboard"] .mini-add{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){body[data-hysocial-page] *,body[data-hysocial-page] *::before,body[data-hysocial-page] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){body[data-hysocial-page] :is(button,a,input,textarea,select,.card,.glass-card){border:1px solid CanvasText!important}}
/* Functional color cues remain visible after retiring the legacy paint layer. */
body[data-hysocial-page] :is(.ci-chip.active,.ci-chip.selected,.ci-mood button.active,.ci-mood button.selected,.lb-tab.active,.chip.selected,.prog-step.active,.posture.selected){border-color:var(--accent)!important;background:var(--accent-dim)!important;color:var(--text)!important;box-shadow:inset 0 0 0 1px var(--accent)}
body[data-hysocial-page] :is(.xp-bar,.chal-progress,.hs-progress){background:var(--border)}
body[data-hysocial-page] :is(.xp-bar>span,.chal-progress>span,.hs-progress>span){background:var(--accent)}
body[data-hysocial-page] .level-ring{--ring-pct:0;--ring-color:var(--accent);background:conic-gradient(var(--ring-color) calc(var(--ring-pct)*1%),var(--border) 0)}
body[data-hysocial-page] .level-ring::after{background:var(--bg-card)}
body[data-hysocial-page] :is(.checkin-done,.chal-card.done,.prog-step.done){color:var(--success);border-color:var(--success)}
body[data-hysocial-page] :is(.msg.err,.field-hint.bad,.imp.down){color:var(--danger)}
body[data-hysocial-page] :is(.msg.ok,.field-hint.ok,.imp.up){color:var(--success)}
body[data-hysocial-page] :is(.ring-cap,.xp-cap,.xp-next,.sf-cap,.lb-sub,.m-cap,.chal-desc,.chal-footer,.empty-state){color:var(--muted)}
body[data-hysocial-page] :is(.chal-card,.lb-row,.badge-card){background:var(--bg-card);border-color:var(--border)}
body[data-hysocial-page="hysocial-onboard"] .prog-step{flex:1;min-width:64px;border:1px solid var(--border);border-radius:10px;padding:8px;text-align:center;font-size:12px}
body[data-hysocial-page="hysocial-onboard"] .posture{padding:16px;border:1px solid var(--border);border-radius:14px;margin:10px 0}
body[data-hysocial-page="hysocial-onboard"] #nav-btns{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:20px}
body[data-hysocial-page="hysocial-onboard"] .hb-msg{padding:10px;border-radius:12px;margin-bottom:10px;background:var(--accent-dim);overflow-wrap:anywhere}
@media(max-width:380px){
 body[data-hysocial-page] .arena-hero .hero-main{min-width:0;flex-wrap:wrap}
 body[data-hysocial-page] .hero-meta{min-width:0}
 body[data-hysocial-page] :is(.hs-scroll,.hp-content){padding-inline:12px}
 body[data-hysocial-page] :is(.hs-topbar h1,.hsg-toolbar h2,.hsm-toolbar h2){font-size:15px;min-width:0}
}
body[data-hysocial-page] .hs-v16-menu{min-width:44px}


/* 2026-11-14 mobile acceptance: prevent squeezed profile chips and
   overlapping translation controls on narrow phones. */
@media(max-width:600px){
 body[data-hysocial-page="hysocial-profile"] .hs-tabs{
   display:flex;flex-wrap:nowrap;gap:8px;max-width:100%;
   overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;
   -webkit-overflow-scrolling:touch;
   position:relative;z-index:1;
 }
 body[data-hysocial-page="hysocial-profile"] .hs-tabs::-webkit-scrollbar{display:none}
 body[data-hysocial-page="hysocial-profile"] .hs-tabs button{
   flex:0 0 auto;min-width:max-content;white-space:nowrap;
   font-size:13px;justify-content:center;
 }
 body[data-hysocial-page="hysocial"] .hs-compose-actions #hs-hyvox-preview-btn,
 body[data-hysocial-page="hysocial"] .hs-compose-actions #hs-hyvox-undo-btn{
   flex:1 1 100%;order:10;max-width:100%;
   min-width:0;min-height:38px;padding:8px 12px;
   font-size:12px;line-height:1.25;white-space:nowrap;
   border:1px solid var(--border);border-radius:10px;
 }
 body[data-hysocial-page="hysocial"] .hs-compose-actions .hs-visibility-select{
   order:11;flex:1 1 132px;max-width:none;min-width:0;
 }
 body[data-hysocial-page="hysocial"] .hs-compose-actions .hs-char-count{order:12}
 body[data-hysocial-page="hysocial"] .hs-compose-actions .hs-compose-spacer{display:none}
 body[data-hysocial-page="hysocial"] .hs-compose-actions .hs-post-btn{order:13;margin-left:auto}
}

/* V16 mobile settings: keep section nav labels readable instead of squeezing. */
@media(max-width:600px){
 body[data-hysocial-page="hysocial-settings"] .hs-sectnav{
  flex-wrap:nowrap;gap:8px;max-width:100%;overflow-x:auto;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
 }
 body[data-hysocial-page="hysocial-settings"] .hs-sectnav::-webkit-scrollbar{display:none}
 body[data-hysocial-page="hysocial-settings"] .hs-sectnav button{
  flex:0 0 auto;min-width:max-content;white-space:nowrap;
  font-size:13px;justify-content:center;
 }
}


/* Profile Studio: the actual Page Standard document fills the available page. */
body[data-hysocial-page="hysocial-profile"] #panel-view{padding-left:0;padding-right:0}
body[data-hysocial-page="hysocial-profile"] #panel-view>.hs-live-profile-card{
  width:100%;max-width:none;margin:24px 0 0;padding:0;
  border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden;
}
body[data-hysocial-page="hysocial-profile"] .hs-live-profile-heading{
  padding:18px clamp(14px,3vw,38px) 8px;
}
body[data-hysocial-page="hysocial-profile"] .hs-live-profile-heading .card-hint{margin-bottom:8px}
body[data-hysocial-page="hysocial-profile"] #livePageArea{
  width:100%;max-width:none;min-height:0;overflow:visible;
  border:0;border-radius:0;background:transparent;
}
body[data-hysocial-page="hysocial-profile"] .profile-cover{max-width:none}
body[data-hysocial-page="hysocial-profile"] .hy-page-frame{
  width:100%;display:block;border:0;overflow:hidden;
}
/* The in-app Me tab uses the same saved HTML, not a second reduced template. */
body[data-hysocial-page="hysocial"] #panel-profile>.hs-feed-scroll{
  width:100%;max-width:none!important;margin:0!important;
  min-width:0;overflow-x:hidden;
}
body[data-hysocial-page="hysocial"] .hs-profile-live-section{
  width:100%;margin:12px 0 24px;min-width:0;
  border-radius:18px;overflow:hidden;
  background:var(--hs-card);border:1px solid var(--hs-border);
}
body[data-hysocial-page="hysocial"] .hs-profile-live-title{
  padding:12px 16px;font-size:13px;font-weight:800;
  display:flex;gap:8px;align-items:center;color:var(--hs-text);
}
body[data-hysocial-page="hysocial"] .hs-profile-live-area{
  width:100%;max-width:none;min-height:0;overflow:visible;
}
body[data-hysocial-page="hysocial"] .hs-profile-live-area>.hy-page-frame{
  display:block;width:100%;border:0;
}
@media(max-width:600px){
 body[data-hysocial-page="hysocial-profile"] .hs-live-profile-heading{padding:12px 14px 4px}
 body[data-hysocial-page="hysocial"] .hs-profile-live-section{border-radius:12px}
}

/* Let the in-app Profile occupy all space not used by primary navigation. */
@media(min-width:769px){
 body[data-hysocial-page="hysocial"].hs-profile-active .hs-right{display:none!important}
 body[data-hysocial-page="hysocial"].hs-profile-active .hs-main{width:auto;flex:1;min-width:0}
}


/* 2026-11-15 HySocial unified mobile/tablet/desktop shell */
body[data-hysocial-page="hysocial"] .hs-main{min-width:0}
body[data-hysocial-page="hysocial"] .hs-app-panel{
 display:none;flex:1;min-height:0;min-width:0;overflow:hidden;
}
body[data-hysocial-page="hysocial"] .hs-app-panel.active{
 display:flex;flex-direction:column;
}
body[data-hysocial-page="hysocial"] .hs-app-panel-head{
 display:flex;align-items:center;gap:12px;
 min-height:58px;padding:9px clamp(12px,2vw,22px);
 border-bottom:1px solid var(--hs-border);
 background:var(--hs-card);flex:0 0 auto;min-width:0;
}
body[data-hysocial-page="hysocial"] .hs-app-panel-head h2{
 margin:0;font-size:clamp(16px,2vw,21px);
 display:flex;align-items:center;gap:9px;white-space:nowrap;
}
body[data-hysocial-page="hysocial"] .hs-app-panel-head h2 iconify-icon{
 color:var(--hs-accent);font-size:23px;
}
body[data-hysocial-page="hysocial"] .hs-app-panel-head span{
 color:var(--hs-muted);font-size:12px;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body[data-hysocial-page="hysocial"] .hs-embedded-refresh{
 min-width:44px;min-height:44px;border:1px solid var(--hs-border);
 border-radius:12px;background:var(--hs-accent-dim);color:var(--hs-accent);
 margin-left:auto;display:grid;place-items:center;cursor:pointer;font-size:19px;
}
body[data-hysocial-page="hysocial"] .hs-app-frame{
 display:block;flex:1 1 auto;min-height:0;width:100%;height:100%;
 border:0;background:var(--hs-bg);contain:layout;
}
body[data-hysocial-page="hysocial"] .hs-community-tools{
 display:flex;align-items:center;gap:9px;margin:0 0 15px;
}
body[data-hysocial-page="hysocial"] .hs-community-search{
 display:flex;align-items:center;gap:9px;min-width:0;flex:1;
 border:1px solid var(--hs-border);border-radius:14px;
 background:var(--hs-card);padding:0 12px;min-height:46px;
 color:var(--hs-accent);
}
body[data-hysocial-page="hysocial"] .hs-community-search input{
 width:100%;min-width:0;border:0;outline:0;background:transparent;
 font:inherit;font-size:16px;color:var(--hs-text);
}
body[data-hysocial-page="hysocial"] .hs-community-reload{
 min-width:46px;min-height:46px;border:1px solid var(--hs-border);
 border-radius:14px;background:var(--hs-card);color:var(--hs-accent);
 cursor:pointer;font-size:21px;
}
body[data-hysocial-page="hysocial"] .hs-community-section-title{
 display:flex;justify-content:space-between;align-items:center;
 margin:20px 0 10px;font-size:13px;letter-spacing:.02em;
 color:var(--hs-text);
}
body[data-hysocial-page="hysocial"] .hs-community-section-title span{
 padding:4px 9px;background:var(--hs-accent-dim);
 border-radius:99px;font-size:11px;color:var(--hs-accent);
}
body[data-hysocial-page="hysocial"] .hs-community-card{
 display:flex;align-items:center;gap:13px;min-width:0;
 padding:14px;margin:0 0 10px;border:1px solid var(--hs-border);
 border-radius:18px;background:var(--glass-bg,rgba(10,11,20,.65));
 text-decoration:none;color:var(--hs-text);
}
body[data-hysocial-page="hysocial"] .hs-community-card[hidden]{display:none!important}
body[data-hysocial-page="hysocial"] .hs-community-avatar{
 width:58px;height:58px;flex:0 0 58px;border-radius:15px;
 border:1px solid var(--hs-border);
 background:var(--hs-accent-dim);
 display:flex;align-items:center;justify-content:center;
 font-size:27px;overflow:hidden;
}
body[data-hysocial-page="hysocial"] .hs-community-avatar img{width:100%;height:100%;object-fit:cover}
body[data-hysocial-page="hysocial"] .hs-community-info{
 flex:1;min-width:0;overflow-wrap:anywhere;
}
body[data-hysocial-page="hysocial"] .hs-community-info strong{
 display:block;font-size:15px;margin-bottom:3px;line-height:1.35;
}
body[data-hysocial-page="hysocial"] .hs-community-info p{
 font-size:12px;color:var(--hs-muted);line-height:1.45;
 margin:2px 0 6px;display:-webkit-box;-webkit-line-clamp:2;
 -webkit-box-orient:vertical;overflow:hidden;
}
body[data-hysocial-page="hysocial"] .hs-community-info>span{
 font-size:11px;color:var(--hs-accent);
}
body[data-hysocial-page="hysocial"] .hs-community-action{
 display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 auto;min-width:72px;min-height:42px;padding:8px 12px;
 border:1px solid var(--hs-accent);border-radius:12px;
 background:var(--hs-accent-dim);color:var(--hs-accent);
 font-weight:800;font-size:12px;text-decoration:none;cursor:pointer;
}
body[data-hysocial-page="hysocial"] .hs-community-action:disabled{opacity:.6}
body[data-hysocial-page="hysocial"] .hs-community-activity-note{
 padding:14px 16px;font-size:12px;color:var(--hs-muted);
 border:1px solid var(--hs-border);border-radius:14px;
}
body[data-hysocial-page="hysocial"] .hs-community-side-empty{
 grid-column:1/-1;max-width:100%;min-width:0;
 overflow-wrap:normal;white-space:normal;line-height:1.55;
 padding:9px 12px;background:var(--hs-card);border-radius:12px;
 font-size:12px;color:var(--hs-muted);
}
body[data-hysocial-page="hysocial"] .hs-community-side-empty button{
 border:0;background:none;color:var(--hs-accent);font:inherit;
 font-weight:700;cursor:pointer;
}
body[data-hysocial-page="hysocial"] .hs-community-side-link{
 display:flex;align-items:center;gap:8px;min-width:0;padding:8px 0;
 text-decoration:none;color:var(--hs-text);font-size:12px;
}
body[data-hysocial-page="hysocial"] .hs-community-side-link img{
 width:28px;height:28px;object-fit:cover;border-radius:7px;
}
body[data-hysocial-page="hysocial"] .hs-community-side-link span{
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body[data-hysocial-page="hysocial"] .hs-friends-grid .hs-friends-empty{
 grid-column:1/-1;width:100%;min-width:0;max-width:none;
 line-height:1.6;white-space:normal;overflow-wrap:normal;
}
body[data-hysocial-page="hysocial"] .hs-right{min-width:260px}
body[data-hysocial-page="hysocial"] .hs-right .hs-who-row,
body[data-hysocial-page="hysocial"] .hs-right .hs-follow-row{min-width:0}
@media(min-width:769px) and (max-width:1180px){
 body[data-hysocial-page="hysocial"] .hs-sidebar{width:228px}
 body[data-hysocial-page="hysocial"] .hs-right{width:260px}
}
@media(max-width:768px){
 body[data-hysocial-page="hysocial"] .hs-app-panel-head{min-height:48px;padding:6px 12px}
 body[data-hysocial-page="hysocial"] .hs-app-panel-head span{display:none}
 body[data-hysocial-page="hysocial"] #hs-mobile-tabs{gap:0;padding-inline:0}
 body[data-hysocial-page="hysocial"] #hs-mobile-tabs .hs-tab{
   flex:1 1 0;min-width:0;max-width:none;
   padding:5px 1px;font-size:9px;min-height:52px;
 }
 body[data-hysocial-page="hysocial"] #hs-mobile-tabs .hs-tab iconify-icon{font-size:20px}
 body[data-hysocial-page="hysocial"] .hs-app-panel{
   padding-bottom:calc(64px + env(safe-area-inset-bottom,0px));
 }
 body[data-hysocial-page="hysocial"] .hs-community-card{padding:11px;gap:10px;border-radius:14px}
 body[data-hysocial-page="hysocial"] .hs-community-avatar{
   width:45px;height:45px;flex-basis:45px;font-size:21px;
 }
 body[data-hysocial-page="hysocial"] .hs-community-action{min-width:60px;min-height:44px}
 body[data-hysocial-page="hysocial"] .hs-community-info strong{font-size:14px}
}
@media(max-width:360px){
 body[data-hysocial-page="hysocial"] #hs-mobile-tabs .hs-tab{font-size:8px}
 body[data-hysocial-page="hysocial"] .hs-community-avatar{width:39px;height:39px;flex-basis:39px}
}


/* Full-bleed HySocial: original shell reserved 52px for an absent top bar. */
body[data-hysocial-page="hysocial"]{padding-top:0!important}
body[data-hysocial-page="hysocial"] .hs-app{
 padding-top:0!important;
 height:100vh;height:100dvh;
 max-height:100dvh;min-height:0;overflow:hidden;
}
body[data-hysocial-page="hysocial"] .hs-sidebar,
body[data-hysocial-page="hysocial"] .hs-main,
body[data-hysocial-page="hysocial"] .hs-right{height:100%;max-height:100%;min-height:0}
body[data-hysocial-page="hysocial"] .hs-panel>.hs-feed-scroll{
 min-width:0;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;
}
body[data-hysocial-page="hysocial"] :is(.hs-post,.hs-compose,.hs-profile-live-section,
 .hs-searchbar,.hs-community-card){max-width:100%;min-width:0}
body[data-hysocial-page="hysocial"] :is(.hs-post img,.hs-post video,
 .hs-profile-live-section img,.hs-profile-live-section video){max-width:100%;height:auto}
body[data-hysocial-page="hysocial"] :is(.hs-profile-live-area,
 .hs-profile-live-section,.hs-post-media){overflow-wrap:anywhere}
body[data-hysocial-page="hysocial"] .hs-comm-panel-list{min-width:0}
body[data-hysocial-page="hysocial"] #hs-friends-grid{min-width:0}
@media(max-width:768px){
  body[data-hysocial-page="hysocial"] .hs-app{
   height:100dvh;max-height:100dvh;min-height:0;
  }
  body[data-hysocial-page="hysocial"] [data-v16-drawer]{
   top:0!important;
   bottom:0!important;
   height:100dvh!important;
  }
  body[data-hysocial-page="hysocial"] .hs-v16-backdrop.open{inset:0!important}
  body[data-hysocial-page="hysocial"] .hs-v16-menu{top:8px}
  body[data-hysocial-page="hysocial"] .hs-feed-scroll{
    padding-inline:clamp(10px,3vw,18px);
    padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));
  }
  body[data-hysocial-page="hysocial"] .hs-profile-actions{
    display:flex;flex-wrap:wrap;justify-content:center;gap:8px;
  }
  body[data-hysocial-page="hysocial"] :is(.hs-profile-actions a,.hs-profile-actions button){
    margin:0!important;flex:1 1 130px;max-width:100%;
  }
}
@media(min-width:769px){
 body[data-hysocial-page="hysocial"] .hs-feed-scroll{
   padding:clamp(12px,1.8vw,24px);
 }
 body[data-hysocial-page="hysocial"] .hs-sidebar-header{padding-top:clamp(12px,1.2vw,20px)}
}


/* Final UI acceptance: Create was intrinsic-width despite a full-width panel. */
body[data-hysocial-page="hysocial"] #panel-create>.hs-feed-scroll{
 width:100%;max-width:min(100%,960px)!important;
 min-width:0;align-self:stretch;margin:0 auto!important;
}
body[data-hysocial-page="hysocial"] #panel-create>.hs-feed-scroll>div[style*="grid-template-columns"]{
 width:100%;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))!important;
}
@media(max-width:768px){
 /* The native embedded apps already have their own app headers. Avoid duplicate title bars. */
 body[data-hysocial-page="hysocial"] #panel-dating>.hs-app-panel-head,
 body[data-hysocial-page="hysocial"] #panel-messenger>.hs-app-panel-head{
   display:none!important;
 }
 body[data-hysocial-page="hysocial"] #panel-dating,
 body[data-hysocial-page="hysocial"] #panel-messenger{
   padding-top:0!important;
 }
}
