/* Original LOOP header menus, following the supplied interaction reference. */
:root[data-loop-theme=light] .loop-primary-nav>a{background:#e6dfef;color:#53465f}:root[data-loop-theme=light] .loop-primary-nav>a.is-active{background:#dac5f5;color:#66398f}:root[data-loop-theme=light] .loop-header-button,:root[data-loop-theme=light] #icon-notifications.loop-header-button{background:#e6dfef;color:#53465f}
.loop-shell .loop-top-actions .loop-camera-profile{padding:0!important;overflow:hidden}.loop-shell .loop-top-actions .loop-camera-profile img{width:100%!important;height:100%!important;object-fit:cover;border-radius:50%}
.loop-top-actions{display:flex;align-items:center;gap:12px}.loop-top-actions>.btn-group:has(#icon-messages){display:none!important}.loop-top-actions .loop-camera-profile{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#505058;border:0;padding:8px}.loop-camera-profile img{width:28px!important;height:28px!important;object-fit:contain}.loop-header-button,.loop-shell #icon-notifications.loop-header-button{display:flex;align-items:center;justify-content:center;background:#505058;color:#f3f1f8;width:42px;height:42px;padding:9px;border:0;border-radius:50%;box-shadow:none!important;text-decoration:none!important}.loop-header-button svg{width:24px;height:24px}.loop-header-button:hover,.loop-account-dropdown.show>.loop-header-button,.loop-header-button[aria-expanded=true]{background:#61556d;color:#d9b7ff}.loop-account-dropdown{position:relative}.loop-shell #account-top-menu{margin:0;padding:0;list-style:none}.loop-shell #account-dropdown-link{border:0!important;border-radius:50%!important;min-width:42px;min-height:42px}.loop-shell #account-dropdown-link:after{display:none!important}
.loop-shell .loop-account-panel,.loop-shell #dropdown-notifications.loop-notifications-panel{position:fixed!important;top:74px!important;right:max(24px,calc((100vw - 1420px)/2))!important;left:auto!important;bottom:auto!important;transform:none!important;background:var(--loop-surface);color:var(--loop-text);border:0!important;border-radius:30px!important;box-shadow:0 16px 44px #0005;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:16px!important;z-index:1060;float:none;min-width:0!important;list-style:none}
.loop-shell .loop-account-panel{width:320px!important}.loop-menu-profile{display:flex;align-items:center;gap:12px;color:var(--loop-text)!important;text-decoration:none!important;padding:2px 4px 16px}.loop-menu-profile img{width:34px;height:34px;border-radius:50%;object-fit:cover}.loop-menu-profile strong{font-size:15px;font-weight:500;flex:1;overflow-wrap:anywhere}.loop-menu-profile svg{width:16px;height:16px}.loop-menu-group{padding:7px 0;border-top:1px solid var(--loop-border)}.loop-menu-group:first-of-type{border-top:1px solid var(--loop-border)}.loop-menu-group form{margin:0}.loop-menu-row{appearance:none;display:flex;align-items:center;gap:16px;min-height:45px;width:100%;padding:10px 8px;border:0;background:transparent;color:var(--loop-text)!important;font:400 15px var(--loop-font);text-align:left;text-decoration:none!important;border-radius:12px;cursor:pointer}.loop-menu-row:hover,.loop-menu-row:focus-visible{background:var(--loop-raised);color:var(--loop-accent)!important;outline-offset:1px}.loop-menu-row>svg{width:22px;height:22px;stroke-width:1.4;flex:none}.loop-menu-row>span{flex:1}.loop-menu-switch{width:39px;height:22px;border-radius:30px;background:#77747e;display:block;position:relative;flex:none}.loop-menu-switch:after{content:'';position:absolute;width:18px;height:18px;top:2px;left:2px;border-radius:50%;background:#f9f6fc;box-shadow:0 1px 2px #0003;transition:transform .15s}.loop-menu-toggle[aria-checked=true] .loop-menu-switch{background:#b58aff}.loop-menu-toggle[aria-checked=true] .loop-menu-switch:after{transform:translateX(17px)}.loop-menu-toggle:disabled{opacity:.7;cursor:wait}.loop-menu-storage{width:76px;height:9px;border:0;flex:none;appearance:none;accent-color:#b58aff;background:var(--loop-bg);border-radius:20px}.loop-menu-storage::-webkit-meter-bar{background:var(--loop-bg);border:0;border-radius:20px;height:8px}.loop-menu-storage::-webkit-meter-optimum-value{background:#b58aff;border-radius:20px}.loop-menu-status{display:block;font-size:11px;line-height:1.5;color:var(--loop-accent);padding:0 8px}.loop-menu-status:empty{display:none}.loop-menu-logout{color:#f36b75!important}.loop-menu-admin{font-size:12px;min-height:34px}.loop-switch-account{font-size:11px;padding:4px 8px 8px;color:var(--loop-muted)}.loop-switch-account summary{cursor:pointer}.loop-switch-account p{font-size:11px;margin:10px 0;line-height:1.6}.loop-menu-switch-login{background:transparent;color:var(--loop-accent);border:0;padding:4px 0;text-decoration:underline;font-size:11px}.loop-menu-last{padding-bottom:0}
.loop-shell #notification_widget{position:relative}.loop-shell #badge-notifications{position:absolute;right:-2px;top:-4px;background:#f67eaa!important;border:2px solid var(--loop-header);color:#231b2e;font-size:10px;min-width:19px;line-height:14px;padding:0 4px;border-radius:8px}.loop-shell #dropdown-notifications.loop-notifications-panel{width:600px!important;padding:18px 16px!important}.loop-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 14px;font-size:15px}.loop-notification-heading strong{font-weight:500}.loop-notification-heading button{display:flex;align-items:center;gap:7px;background:transparent;border:0;color:var(--loop-text);font-size:12px;padding:3px}.loop-notification-heading button svg{width:16px;height:16px}.loop-notification-heading button:hover{color:var(--loop-accent)}.loop-notification-heading button:disabled{opacity:.6}.loop-community-updates{display:flex;gap:18px;padding:0 0 18px;margin:0 12px;border-bottom:1px solid var(--loop-border);overflow-x:auto;scrollbar-width:thin}.loop-community-updates>a{display:flex;flex-direction:column;gap:8px;flex:none;width:80px;position:relative;font-size:11px;line-height:1.4;color:var(--loop-text)!important;text-decoration:none!important}.loop-community-updates>a>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.loop-community-update-image{position:relative;margin-top:9px}.loop-community-update-image img{width:75px;height:75px;object-fit:cover;border-radius:18px}.loop-community-update-image b{position:absolute;right:-4px;top:-8px;padding:3px 6px;border-radius:9px;background:#f67eaa;color:#21152b;font-size:10px;font-weight:500}.loop-community-updates>p{font-size:12px;color:var(--loop-muted);margin:3px 0 0}.loop-shell #dropdown-notifications .hh-list{max-height:360px;overflow-y:auto;padding:0!important;background:transparent!important}.loop-shell #dropdown-notifications .hh-list>.info{background:transparent;border:0;padding:22px 15px 0;color:var(--loop-text);text-align:center;font-size:14px;font-weight:600}.loop-shell #dropdown-notifications .hh-list>.info:before{content:'';display:block;width:86px;height:86px;background:url('../img/loop-camera-icon.png') center/contain no-repeat;margin:0 auto 16px;filter:drop-shadow(0 5px 18px #ac54f24d)}.loop-notification-compose{text-align:center;padding:0 30px 22px}.loop-notification-compose p{font-size:13px;line-height:1.5;max-width:330px;margin:4px auto 18px;color:var(--loop-muted)}.loop-notification-create{display:inline-flex;align-items:center;justify-content:center;border-radius:24px;padding:9px 18px;background:#c5a4ff;color:#24192e!important;text-decoration:none!important;font-size:13px}.loop-notification-footer{display:flex;justify-content:space-between;padding:13px 8px 2px;border-top:1px solid var(--loop-border);font-size:11px;background:transparent!important}.loop-notification-footer a{color:var(--loop-muted)!important}.loop-notification-status{font-size:12px;color:var(--loop-accent);padding:0 8px 12px}.loop-notification-status:empty{display:none}.loop-primary-nav a{position:relative}.loop-chat-unread{position:absolute;top:-3px;right:-3px;border-radius:10px;background:#f67eaa;color:#281d31;font-size:9px;min-width:16px;line-height:16px;padding:0 3px;text-align:center}.loop-notification-compose[hidden],.loop-promoted-label[hidden],.wall-entry[hidden]{display:none!important}
.loop-pages-page{max-width:1050px;padding:20px 24px 80px}.loop-page-tabs{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:0 0 24px}.loop-page-tabs>a[aria-current=page]{color:var(--loop-text);border-bottom:2px solid var(--loop-accent)}.loop-page-tabs .btn{margin-left:auto}.loop-page-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.loop-page-cards .loop-settings-card{margin:0 0 20px;min-width:0}.loop-page-image{width:72px;height:72px;border-radius:18px;object-fit:cover;margin-bottom:18px}.loop-page-note{font-size:12px;color:var(--loop-muted);line-height:1.8;margin-top:20px}.loop-help-topic{padding:18px 0;border-bottom:1px solid var(--loop-border)}.loop-help-topic:last-child{border:0}.loop-help-topic summary{cursor:pointer;font-size:16px;font-weight:500}.loop-help-topic p{margin-top:15px}.loop-help-topic a{font-size:13px}.loop-compose-anchor{display:block;scroll-margin-top:100px;height:0}
@media(max-width:700px){.loop-top-actions{gap:9px}.loop-header-button,.loop-shell #icon-notifications.loop-header-button,.loop-top-actions .loop-camera-profile{width:36px;height:36px;min-width:36px;min-height:36px;padding:7px}.loop-shell #account-dropdown-link{min-width:36px;min-height:36px}.loop-camera-profile img{width:26px!important;height:26px!important}.loop-shell .loop-account-panel,.loop-shell #dropdown-notifications.loop-notifications-panel{right:12px!important;top:74px!important;max-height:calc(100dvh - 150px);border-radius:24px!important;max-width:calc(100% - 24px)!important}.loop-shell .loop-account-panel{width:320px!important}.loop-shell #dropdown-notifications.loop-notifications-panel{width:calc(100% - 24px)!important}.loop-menu-row{min-height:46px;font-size:14px}.loop-notification-heading{font-size:13px}.loop-notification-heading button{font-size:11px}.loop-notification-compose{padding:0 12px 20px}.loop-community-updates{margin:0 4px}.loop-page-cards{grid-template-columns:1fr}.loop-pages-page{padding:16px 14px 80px}}

/* Borderless navigation with strong, original outline icons. */
.loop-shell #topbar-first .loop-primary-nav{gap:6px}
.loop-shell #topbar-first .loop-primary-nav>a,.loop-shell #topbar-first .loop-primary-nav>.loop-nav-pending,.loop-shell #topbar-first .loop-header-button,.loop-shell #topbar-first #account-dropdown-link,.loop-shell #topbar-first #icon-notifications{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--loop-text);width:42px;height:46px;padding:8px;flex-shrink:0}
.loop-shell #topbar-first .loop-primary-nav>a:hover,.loop-shell #topbar-first .loop-primary-nav>a.is-active,.loop-shell #topbar-first .loop-header-button:hover,.loop-shell #topbar-first .loop-header-button[aria-expanded=true]{color:var(--loop-accent)}
.loop-shell #topbar-first .loop-primary-nav>a.is-active:after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:3px;border-radius:3px;background:var(--loop-accent)}
.loop-shell #topbar-first .loop-primary-nav svg,.loop-shell #topbar-first .loop-header-button svg{width:27px;height:27px;stroke-width:2.3}
@media(min-width:701px) and (max-width:1150px){.loop-shell #topbar-first{gap:10px;padding-left:20px;padding-right:20px}.loop-shell #topbar-first .loop-primary-nav{gap:2px}.loop-shell #topbar-first .loop-primary-nav>a{width:38px;padding:6px}.loop-top-actions{gap:6px}.loop-shell #topbar-first .loop-search{min-width:130px}}
@media(max-width:700px){.loop-mobile-nav{gap:2px}.loop-mobile-nav>a{min-width:40px}.loop-mobile-nav svg{stroke-width:2.3}.loop-shell #topbar-first .loop-header-button,.loop-shell #topbar-first #account-dropdown-link,.loop-shell #topbar-first #icon-notifications{width:36px;height:40px;padding:6px}}

/* Keep keyboard focus visible within both shared header dropdowns. */
.loop-shell :is(#loop-account-panel,#dropdown-notifications) :is(a,button,summary):focus-visible{outline:2px solid var(--loop-accent);outline-offset:2px;border-radius:8px}

/* Compact notification drawer; native alerts, grouping and permissions remain intact. */
.loop-alert-row{display:flex;align-items:center;gap:12px;padding:14px 12px;color:var(--loop-text);text-decoration:none;white-space:normal;min-height:78px}.loop-alert-row:hover{background:var(--loop-accent-soft,#a879ff15)}
.loop-shell #dropdown-notifications.loop-notifications-panel{width:390px!important;border-radius:16px!important;padding:16px 10px 10px!important;max-height:calc(100dvh - 90px)}
.loop-alert-header{padding:0 6px}.loop-notification-heading{padding-bottom:8px}.loop-notification-heading h2{font-size:22px;font-weight:700;margin:0}
.loop-alert-options{position:relative}.loop-alert-options summary{list-style:none;cursor:pointer;padding:8px;color:var(--loop-muted);line-height:1}.loop-alert-options summary::-webkit-details-marker{display:none}
.loop-alert-options>div{position:absolute;right:0;top:32px;z-index:2;padding:8px;min-width:210px;background:var(--loop-raised,var(--loop-surface));border:1px solid var(--loop-border);border-radius:12px;box-shadow:0 8px 24px #0006}
.loop-alert-options>div :is(a,button){display:block;width:100%;padding:12px 8px;text-align:left;color:var(--loop-text);font-size:13px;border:0;border-radius:8px;background:transparent;text-decoration:none}.loop-alert-options>div :is(a,button):hover{background:var(--loop-accent-soft,#a879ff22)}
.loop-alert-filters{display:flex;gap:8px;margin:0 0 14px}.loop-alert-filters button{border:0;border-radius:24px;background:transparent;color:var(--loop-text);font-weight:600;padding:9px 14px;min-height:38px}.loop-alert-filters button[aria-pressed=true]{background:var(--loop-accent-soft,#a879ff22);color:var(--loop-accent)}
.loop-alert-subheading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.loop-alert-subheading h3{font-size:15px;font-weight:700;margin:0}.loop-alert-subheading>a{font-size:13px}
.loop-shell #dropdown-notifications .hh-list{max-height:min(560px,calc(100dvh - 280px));overflow-x:hidden;overflow-y:auto;white-space:normal}
.loop-shell #dropdown-notifications .loop-alert-row{display:flex!important;align-items:center;gap:12px;padding:12px 8px;border:0;border-radius:10px;color:var(--loop-text)!important;text-decoration:none!important;background:transparent;white-space:normal;min-height:78px}
.loop-shell #dropdown-notifications .loop-alert-row:hover,.loop-shell #dropdown-notifications .loop-alert-row:focus-visible{background:var(--loop-accent-soft,#a879ff15)}
.loop-alert-avatar{position:relative;flex:0 0 52px;width:52px;height:52px}.loop-alert-avatar img{width:52px!important;height:52px!important;border-radius:50%;object-fit:cover}.loop-alert-avatar a{pointer-events:none}
.loop-alert-system{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:var(--loop-border)}
.loop-alert-kind{position:absolute;right:-3px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:2px solid var(--loop-surface);border-radius:50%;background:var(--loop-accent);color:#21152f;font-size:11px}
.loop-alert-copy{flex:1;min-width:0;line-height:1.4;font-size:13px;overflow-wrap:anywhere}.loop-alert-text{display:block}.loop-alert-text strong{font-weight:700}.loop-alert-time{display:block;font-size:11px;margin-top:4px;color:var(--loop-muted)}.loop-alert-row.new .loop-alert-time{color:var(--loop-accent);font-weight:600}
.loop-shell #dropdown-notifications .loop-alert-time .time{color:var(--loop-muted)!important;font-size:12px}
.loop-alert-unread{display:block;flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:var(--loop-accent)}
.loop-shell #dropdown-notifications .loop-alert-row .loop-alert-text,.loop-shell #dropdown-notifications .loop-alert-row .loop-alert-text :is(strong,b,a){color:var(--loop-text)!important}.loop-shell #dropdown-notifications .loop-alert-avatar img{width:52px!important;height:52px!important;border-radius:50%!important}.loop-shell #dropdown-notifications .loop-alert-row.new .loop-alert-time .time{color:var(--loop-accent)!important}
.loop-alert-more{display:block;width:100%;padding:10px;border:0;border-radius:9px;background:var(--loop-accent-soft,#a879ff22);color:var(--loop-accent);font-size:13px;margin:8px 0}.loop-alert-more[hidden]{display:none}.loop-alert-more:disabled{opacity:.6}
.loop-shell #dropdown-notifications .hh-list>.info{font-size:13px;font-weight:400;line-height:1.6;padding:28px 18px}.loop-shell #dropdown-notifications .hh-list>.info:before{width:64px;height:64px}.loop-notification-footer{font-size:12px}
@media(max-width:700px){.loop-shell #dropdown-notifications.loop-notifications-panel{width:min(390px,calc(100vw - 24px))!important}.loop-notification-heading h2{font-size:21px}.loop-alert-filters button{min-height:44px}.loop-shell #dropdown-notifications .hh-list{max-height:calc(100dvh - 310px)}}

/* Keep both mobile menus between the two-row header and persistent dock. */
@media(max-width:700px){
 .loop-shell .loop-account-panel,.loop-shell #dropdown-notifications.loop-notifications-panel{
  top:124px!important;max-height:calc(100vh - 216px - env(safe-area-inset-bottom,0px));
  max-height:calc(100dvh - 216px - env(safe-area-inset-bottom,0px));
  overflow-y:auto;-webkit-overflow-scrolling:touch;
 }
}

/* Account navigation is a native disclosure: closed even without Bootstrap. */
.loop-shell #account-top-menu:not([open])>.loop-account-panel{display:none!important}
.loop-shell #account-top-menu[open]>.loop-account-panel{display:block}
.loop-shell #account-top-menu>summary{list-style:none;cursor:pointer}
.loop-shell #account-top-menu>summary::-webkit-details-marker{display:none}
.loop-shell #account-top-menu>summary::marker{content:''}
.loop-shell #account-top-menu[open]>summary{color:var(--loop-accent)!important}

/* Notification disclosure is closed by default without application scripts. */
.loop-shell #loop-notification-disclosure:not([open])>#dropdown-notifications{display:none!important}
.loop-shell #loop-notification-disclosure[open]>#dropdown-notifications{display:block}
.loop-shell #loop-notification-disclosure>summary{list-style:none;cursor:pointer}
.loop-shell #loop-notification-disclosure>summary::-webkit-details-marker{display:none}
.loop-shell #loop-notification-disclosure>summary::marker{content:''}
.loop-shell #loop-notification-disclosure[open]>summary{color:var(--loop-accent)!important}
.loop-shell #loader_notifications[hidden]{display:none!important}

/* Verification sits on the avatar edge without clipping the circular photo. */
.loop-shell .loop-top-actions .loop-camera-profile{position:relative;overflow:visible!important}
.loop-shell .loop-camera-profile>.loop-verified-check{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:19px;height:19px;margin:0;border-radius:50%;background:var(--loop-surface);line-height:1;font-size:16px}
.loop-shell .loop-camera-profile>.loop-verified-check svg{display:block;width:16px!important;height:16px!important}

.loop-camera-profile-link{display:block;width:100%;height:100%;border-radius:50%}
