/* Asmbly 0.9.31.8.10.1.3.2 — Unified mobile utilities, navigation pill and contextual actions */
.asmbly-unified-mobile-brand,.asmbly-unified-mobile-utilities,.asmbly-unified-mobile-dock,.asmbly-unified-action-menu{display:none}

@media(max-width:900px){
  :root{--asmbly-unified-nav-h:60px;--asmbly-unified-top-h:58px;--asmbly-unified-bottom-gap:14px}
  html body{padding-bottom:calc(var(--asmbly-unified-nav-h) + 30px + env(safe-area-inset-bottom,0px))!important}

  /* One fixed utility capsule. Search and notifications can never wrap. */
  html body .asmbly-unified-mobile-utilities{
    position:fixed!important;top:calc(8px + env(safe-area-inset-top,0px))!important;right:12px!important;left:auto!important;z-index:12120!important;display:grid!important;grid-template-columns:44px 44px!important;align-items:center!important;gap:2px!important;width:96px!important;height:50px!important;padding:3px!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:25px!important;background:rgba(15,15,21,.82)!important;box-shadow:0 16px 42px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08)!important;backdrop-filter:blur(24px) saturate(145%)!important;-webkit-backdrop-filter:blur(24px) saturate(145%)!important;white-space:nowrap!important;overflow:visible!important
  }
  html body .asmbly-unified-mobile-utilities>a,
  html body .asmbly-unified-mobile-utilities>button{
    position:relative!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:21px!important;background:transparent!important;color:#fff!important;box-shadow:none!important;text-decoration:none!important;pointer-events:auto!important;-webkit-tap-highlight-color:transparent!important;touch-action:manipulation!important
  }
  html body .asmbly-unified-mobile-utilities>a:active,
  html body .asmbly-unified-mobile-utilities>button:active{background:rgba(255,255,255,.09)!important}
  html body .asmbly-unified-mobile-utilities svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  html body .asmbly-unified-mobile-utilities em{position:absolute!important;right:1px!important;top:1px!important;min-width:17px!important;height:17px!important;display:grid!important;place-items:center!important;padding:0 4px!important;border:2px solid #111117!important;border-radius:999px!important;background:#ff5b4d!important;color:#fff!important;font:900 9px/1 Inter,system-ui,sans-serif!important;font-style:normal!important}
  html body .asmbly-unified-mobile-utilities em[hidden]{display:none!important}

  /* Remove all prior mobile header variants. Desktop shell remains untouched. */
  html body .asmbly-mobile-one-row,
  html body .asmbly-mobile-notification-trigger{display:none!important}
  html body .asmbly-topbar.asmbly-topbar-reset{min-height:calc(var(--asmbly-unified-top-h) + env(safe-area-inset-top,0px))!important;padding-top:env(safe-area-inset-top,0px)!important}
  html body.asmbly-mobile-search-open .asmbly-unified-mobile-utilities{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  html body .asmbly-filters.asmbly-explore-controls-reset{top:calc(env(safe-area-inset-top,0px) + var(--asmbly-unified-top-h))!important}

  /* Compact floating pill: 198px navigation + 58px More. */
  html body .asmbly-unified-mobile-dock{
    position:fixed!important;left:50%!important;right:auto!important;bottom:calc(var(--asmbly-unified-bottom-gap) + env(safe-area-inset-bottom,0px))!important;z-index:12110!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:auto!important;max-width:calc(100vw - 20px)!important;height:60px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;pointer-events:none!important;isolation:isolate!important
  }
  html body .asmbly-unified-mobile-pill{
    flex:0 0 198px!important;width:198px!important;height:60px!important;display:grid!important;grid-template-columns:repeat(3,60px)!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:3px 5px!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:30px!important;background:rgba(15,15,21,.84)!important;box-shadow:0 18px 54px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08)!important;backdrop-filter:blur(26px) saturate(145%)!important;-webkit-backdrop-filter:blur(26px) saturate(145%)!important;pointer-events:auto!important
  }
  html body .asmbly-unified-mobile-pill>a{
    position:relative!important;width:60px!important;height:52px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:26px!important;background:transparent!important;color:rgba(255,255,255,.58)!important;text-decoration:none!important;box-shadow:none!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important
  }
  html body .asmbly-unified-mobile-pill>a>span:not(.asmbly-unified-avatar){display:grid!important;place-items:center!important;width:30px!important;height:30px!important}
  html body .asmbly-unified-mobile-pill svg{display:block!important;width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  html body .asmbly-unified-mobile-pill>a>b,
  html body .asmbly-unified-mobile-plus>b{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  html body .asmbly-unified-mobile-pill>a.active,
  html body .asmbly-unified-mobile-pill>a[aria-current="page"],
  body[data-asmbly-destination="explore"].asmbly-feed-mode .asmbly-unified-mobile-pill [data-view-mode="feed"],
  body[data-asmbly-destination="explore"].asmbly-list-mode .asmbly-unified-mobile-pill [data-view-mode="feed"],
  body[data-asmbly-destination="explore"].asmbly-map-mode .asmbly-unified-mobile-pill [data-view-mode="map"]{
    background:rgba(255,255,255,.12)!important;color:#fff!important
  }
  html body .asmbly-unified-mobile-pill>a.active:after,
  html body .asmbly-unified-mobile-pill>a[aria-current="page"]:after,
  body[data-asmbly-destination="explore"].asmbly-feed-mode .asmbly-unified-mobile-pill [data-view-mode="feed"]:after,
  body[data-asmbly-destination="explore"].asmbly-list-mode .asmbly-unified-mobile-pill [data-view-mode="feed"]:after,
  body[data-asmbly-destination="explore"].asmbly-map-mode .asmbly-unified-mobile-pill [data-view-mode="map"]:after{
    content:""!important;position:absolute!important;left:50%!important;bottom:4px!important;width:16px!important;height:2px!important;transform:translateX(-50%)!important;border-radius:99px!important;background:#ffb23e!important
  }
  html body .asmbly-unified-avatar{
    width:35px!important;height:35px!important;display:grid!important;place-items:center!important;border:2px solid rgba(255,255,255,.78)!important;border-radius:50%!important;overflow:hidden!important;background:linear-gradient(135deg,#ffb23e,#7c5cff)!important;color:#171008!important
  }
  html body .asmbly-unified-avatar img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}
  html body .asmbly-unified-avatar i{font:1000 14px/1 Inter,system-ui,sans-serif!important;font-style:normal!important}
  html body .asmbly-unified-avatar svg{width:21px!important;height:21px!important;color:#171008!important}
  html body .asmbly-unified-mobile-plus{
    position:relative!important;flex:0 0 58px!important;width:58px!important;min-width:58px!important;height:58px!important;min-height:58px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.5)!important;border-radius:29px!important;background:rgba(255,255,255,.92)!important;color:#17171d!important;box-shadow:0 18px 48px rgba(0,0,0,.3)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;pointer-events:auto!important;touch-action:manipulation!important
  }
  html body .asmbly-unified-mobile-plus>span{display:grid!important;place-items:center!important;width:30px!important;height:30px!important}
  html body .asmbly-unified-mobile-plus svg{width:27px!important;height:27px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round!important}
  html body.asmbly-dock-actions-open .asmbly-unified-mobile-plus,
  html body .asmbly-unified-mobile-dock.actions-open .asmbly-unified-mobile-plus{transform:rotate(45deg)!important}

  /* Compact six-action sheet. */
  html body .asmbly-unified-action-menu.open{
    position:fixed!important;inset:0!important;z-index:12250!important;display:grid!important;align-items:end!important;padding:12px 10px calc(86px + env(safe-area-inset-bottom,0px))!important;background:rgba(5,5,9,.54)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;overflow:auto!important
  }
  html body .asmbly-unified-action-menu[hidden]{display:none!important}
  html body .asmbly-unified-action-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
  html body .asmbly-unified-action-card{
    position:relative!important;width:min(420px,100%)!important;display:block!important;margin:0 auto!important;padding:15px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:26px!important;background:rgba(18,18,25,.96)!important;box-shadow:0 -24px 70px rgba(0,0,0,.5)!important;overflow:auto!important
  }
  html body .asmbly-unified-action-card>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0 0 12px!important}
  html body .asmbly-unified-action-card>header small{display:block!important;color:#ffbd55!important;font:950 10px/1 Inter,system-ui,sans-serif!important;letter-spacing:.11em!important;text-transform:uppercase!important}
  html body .asmbly-unified-action-card>header h2{margin:4px 0 0!important;color:#fff!important;font:1000 22px/1 Outfit,Inter,system-ui,sans-serif!important;letter-spacing:-.04em!important}
  html body .asmbly-unified-action-card>header>button{flex:0 0 40px!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:20px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font:500 22px/1 Inter,system-ui,sans-serif!important}
  html body .asmbly-unified-action-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  html body .asmbly-unified-action-grid>a{
    min-width:0!important;min-height:82px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:7px!important;padding:10px 6px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:rgba(255,255,255,.035)!important;color:#fff!important;text-decoration:none!important;text-align:center!important
  }
  html body .asmbly-unified-action-grid>a i{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:13px!important;background:rgba(255,178,62,.12)!important;color:#ffcf7a!important;font:900 19px/1 Inter,system-ui,sans-serif!important;font-style:normal!important}
  html body .asmbly-unified-action-grid>a b{font:900 12px/1.1 Inter,system-ui,sans-serif!important}

  /* All consumer surfaces clear the floating navigation. */
  html body .asmbly-panel,
  html body .asmbly-panel-scroll,
  html body .asmbly-feed-view,
  html body .asmbly-discover-view,
  html body .asmbly-collection-panel,
  html body .asmbly-saved-workspace,
  html body .asmbly-today-workspace,
  html body .asmbly-calendar-shell{padding-bottom:calc(var(--asmbly-unified-nav-h) + 34px + env(safe-area-inset-bottom,0px))!important}
}

@media(max-width:360px){
  html body .asmbly-unified-mobile-dock{gap:7px!important;max-width:calc(100vw - 12px)!important}
  html body .asmbly-unified-mobile-pill{flex-basis:184px!important;width:184px!important;grid-template-columns:repeat(3,56px)!important;padding-left:5px!important;padding-right:5px!important}
  html body .asmbly-unified-mobile-pill>a{width:56px!important}
  html body .asmbly-unified-mobile-plus{flex-basis:54px!important;width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important}
  html body .asmbly-unified-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* 0.9.31.8.10.1.3.2 — mobile viewport, Near Me and ASMBLY brand shell integrity. */
@media(max-width:900px){
  :root{--asmbly-unified-top-h:58px;--asmbly-unified-brand-w:116px}
  html body{padding-bottom:0!important}

  html body .asmbly-unified-mobile-brand{
    position:fixed!important;top:calc(9px + env(safe-area-inset-top,0px))!important;left:12px!important;z-index:12120!important;display:flex!important;align-items:center!important;width:var(--asmbly-unified-brand-w)!important;height:48px!important;padding:0!important;border:0!important;background:transparent!important;text-decoration:none!important;filter:drop-shadow(0 3px 10px rgba(0,0,0,.52))!important;pointer-events:auto!important
  }
  html body .asmbly-unified-mobile-brand img{display:block!important;width:100%!important;height:38px!important;object-fit:contain!important;object-position:left center!important}
  html body.asmbly-mobile-search-open .asmbly-unified-mobile-brand{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

  /* The floating brand/utilities replace the legacy mobile header footprint. */
  html body .asmbly-topbar.asmbly-topbar-reset{
    height:0!important;min-height:0!important;max-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;pointer-events:none!important
  }
  html body .asmbly-topbar.asmbly-topbar-reset>.asmbly-mobile-one-row,
  html body .asmbly-topbar.asmbly-topbar-reset>.asmbly-brand,
  html body .asmbly-topbar.asmbly-topbar-reset>.asmbly-top-actions{display:none!important}
  html body .asmbly-topbar.asmbly-topbar-reset>.asmbly-search-wrap{pointer-events:auto!important}

  /* The action sheet is recognizably ASMBLY rather than a generic gray utility panel. */
  html body .asmbly-unified-action-menu.open{
    background:radial-gradient(circle at 50% 88%,rgba(124,92,255,.20),transparent 34%),rgba(5,5,9,.52)!important
  }
  html body .asmbly-unified-action-card{
    border-color:rgba(255,255,255,.20)!important;
    background:radial-gradient(circle at 8% 0,rgba(255,178,62,.22),transparent 38%),radial-gradient(circle at 94% 10%,rgba(124,92,255,.25),transparent 40%),linear-gradient(155deg,rgba(24,19,31,.98),rgba(11,11,17,.98))!important;
    box-shadow:0 -28px 90px rgba(0,0,0,.58),0 0 60px rgba(255,63,120,.10)!important
  }
  html body .asmbly-unified-action-card:before{content:""!important;position:absolute!important;inset:0!important;border-radius:inherit!important;padding:1px!important;background:linear-gradient(120deg,#ffb23e,#ff5278 48%,#7c5cff)!important;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;-webkit-mask-composite:xor!important;mask-composite:exclude!important;pointer-events:none!important}
  html body .asmbly-unified-action-brand{display:flex!important;align-items:center!important;gap:10px!important}
  html body .asmbly-unified-action-pulse{width:42px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:13px!important;background:linear-gradient(135deg,rgba(255,178,62,.22),rgba(255,82,120,.18),rgba(124,92,255,.20))!important;border:1px solid rgba(255,255,255,.12)!important}
  html body .asmbly-unified-action-pulse svg{width:30px!important;height:16px!important;fill:none!important;stroke:#ffbd55!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  html body .asmbly-unified-action-grid>a{position:relative!important;overflow:hidden!important;border-color:rgba(255,255,255,.13)!important;background:linear-gradient(150deg,rgba(255,255,255,.095),rgba(255,255,255,.035))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important}
  html body .asmbly-unified-action-grid>a:active{transform:scale(.97)!important;background:linear-gradient(150deg,rgba(255,178,62,.19),rgba(124,92,255,.13))!important}
  html body .asmbly-unified-action-grid>a:nth-child(1) i{background:rgba(255,178,62,.17)!important;color:#ffd27e!important}
  html body .asmbly-unified-action-grid>a:nth-child(2) i{background:rgba(255,122,53,.18)!important;color:#ff9f69!important}
  html body .asmbly-unified-action-grid>a:nth-child(3) i{background:rgba(255,63,120,.17)!important;color:#ff8eb2!important}
  html body .asmbly-unified-action-grid>a:nth-child(4) i{background:rgba(143,108,255,.19)!important;color:#c5b4ff!important}
  html body .asmbly-unified-action-grid>a:nth-child(5) i{background:rgba(47,124,255,.18)!important;color:#8db8ff!important}
  html body .asmbly-unified-action-grid>a:nth-child(6) i{background:rgba(56,210,190,.16)!important;color:#86e7d8!important}

  /* Feed owns the whole viewport. Brand and utilities float over media; the dock no longer creates a black bar. */
  body.asmbly-feed-mode #asmblyFeedView,
  body.asmbly-list-mode #asmblyFeedView{inset:0!important;background:#0b0910!important}
  body.asmbly-feed-mode .asmbly-topbar.asmbly-topbar-reset,
  body.asmbly-list-mode .asmbly-topbar.asmbly-topbar-reset{background:transparent!important}
  body.asmbly-feed-mode .asmbly-video-post{padding-top:calc(4px + env(safe-area-inset-top,0px))!important;padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}
  body.asmbly-list-mode .asmbly-feed-list-cards{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}

  /* Today fills the viewport; only content receives dock clearance. */
  body.asmbly-today-open .asmbly-today-workspace,
  body.asmbly-shell-today .asmbly-today-workspace{
    inset:0!important;padding:calc(var(--asmbly-unified-top-h) + env(safe-area-inset-top,0px)) 0 0!important;grid-template-rows:54px minmax(0,1fr)!important;background:#090a0f!important
  }
  body.asmbly-today-open .asmbly-today-workspace>.asmbly-surface-nav,
  body.asmbly-shell-today .asmbly-today-workspace>.asmbly-surface-nav{display:none!important}
  body.asmbly-today-open .asmbly-today-header,
  body.asmbly-shell-today .asmbly-today-header{height:54px!important;min-height:54px!important;padding:0 12px!important;background:rgba(9,10,15,.72)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(16px)!important}
  body.asmbly-today-open .asmbly-today-header h1,
  body.asmbly-shell-today .asmbly-today-header h1{font-size:19px!important}
  body.asmbly-today-open .asmbly-today-header small,
  body.asmbly-shell-today .asmbly-today-header small{font-size:8px!important}
  body.asmbly-today-open .asmbly-today-header p,
  body.asmbly-shell-today .asmbly-today-header p{margin-top:1px!important;font-size:10px!important}
  body.asmbly-today-open .asmbly-today-body,
  body.asmbly-shell-today .asmbly-today-body{min-height:0!important;overflow:hidden!important}
  body.asmbly-today-open .asmbly-today-timeline-pane,
  body.asmbly-shell-today .asmbly-today-timeline-pane{padding:6px 10px calc(96px + env(safe-area-inset-bottom,0px))!important}

  /* Map opens as a useful split view with Near Me at mid height. */
  body.asmbly-map-mode .asmbly-panel[data-sheet-state="mid"]{height:50dvh!important;min-height:320px!important;max-height:calc(100dvh - 70px - env(safe-area-inset-top,0px))!important}
  body.asmbly-map-mode .asmbly-panel[data-sheet-state="mid"] .asmbly-panel-scroll{display:block!important;overflow:auto!important;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}

  /* Only scrollable content clears the floating dock; the page itself does not reserve a black footer. */
  html body .asmbly-panel-scroll,
  html body .asmbly-saved-workspace-scroll,
  html body .asmbly-calendar-scroll,
  html body .my-membership-shell{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
}
