:root{--app-header-height:calc(env(safe-area-inset-top) + 108px)}
body > header{background:transparent!important;pointer-events:none;row-gap:8px}
body > header #brandButton{min-width:0;max-width:100%}
body > header #accountButton{min-width:0;max-width:160px}
body > header #accountButton i{overflow:hidden;text-overflow:ellipsis;max-width:100px}
body:not(:has(#communityPage.active)):not(:has(#resultsPage.active)) > main{padding-top:calc(var(--app-header-height) + 16px)}
.activity-close{display:block;margin:0 0 16px auto;min-height:44px;padding:10px 14px}
#activityPushControls{margin-bottom:16px;padding:14px;border:1px solid var(--line);border-radius:12px}
#radarScanStatus{min-height:3em}
#runRadar:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){
  body > header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;padding:calc(env(safe-area-inset-top) + 10px) 16px 12px!important}
  body > header #brandButton{grid-column:1;grid-row:1;font-size:20px;line-height:1.2}
  body > header > span{display:none}
  body > header .activity-badge-button{grid-column:2!important;grid-row:1!important;justify-self:center;min-height:44px;padding:8px 10px}
  body > header #accountButton{grid-column:3!important;grid-row:1!important;justify-self:end;min-height:44px;padding:6px 0}
  #communityPage .scope-tabs,#resultsPage.active .results-feed-tabs{top:calc(var(--app-header-height) + 8px)}
  #communityPage .community-feed > .community-empty{margin:calc(var(--app-header-height) + 82px) 12px 110px;padding:24px 18px}
  #communityPage .community-feed > .community-empty b{display:block;font-size:20px;line-height:1.35}
  #communityPage .community-feed > .community-empty p{font-size:14px;line-height:1.55}
  #communityPage .community-card > .community-owner{top:calc(var(--app-header-height) + 68px)}
  #communityPage .feed-judgement{top:calc(var(--app-header-height) + 120px)}
  #communityPage .muted-proof{top:calc(var(--app-header-height) + 75px)}
  #resultsPage #resultList > #resultsExtras{padding-top:calc(var(--app-header-height) + 82px)}
}

body > header #brandButton,body > header .activity-badge-button{background:transparent!important;backdrop-filter:none!important;pointer-events:auto}

body > header #accountButton i{min-width:0}
body > header #accountButton .header-profile-icon{flex-shrink:0}
@media(max-width:420px){body > header #brandButton:after{display:none}}

#notificationList{max-height:65dvh;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.activity-entry{padding:8px 0;border-bottom:1px solid var(--line)}
.activity-entry .activity-row{width:100%;text-align:left}
.activity-actions{display:flex;justify-content:flex-end;gap:8px;padding:8px}.activity-actions button{min-height:44px}.activity-actions button:disabled{opacity:.5}#loadMoreActivity{display:block;width:100%;min-height:44px;margin:12px 0}.activity-end{text-align:center;color:var(--muted);font-size:12px}
