.shell-action, .shell-avatar, .account-trigger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  cursor: pointer;
}
.shell-action, .shell-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.shell-action { color: #222; background: transparent; }
.shell-action svg { width: 1.125rem; height: 1.125rem; }
.bag-button { background: #0000000b; color: #666; }
.shell-action:hover { background: #0001; }
#sellstride-sidebar .subnav[hidden] { display: none; }
.shell-avatar { flex: none; font-size: 1rem; font-weight: 550; color: white; background: #b91364; }
.mobile-actions, .sidebar-account, .account-trigger { display: flex; align-items: center; gap: .55rem; }
.sidebar-shortcut { display: none; }
.browser-logo, .store-bag { width: 1rem; height: 1rem; flex: none; }
.browser-logo {
  display: grid; place-items: center; border-radius: 50%;
  background: conic-gradient(from -28deg, #ea4335 0 33.33%, #fbbc04 0 66.66%, #34a853 0);
}
.browser-logo::after { content: ""; width: 42%; height: 42%; border: 1px solid white; border-radius: 50%; background: #4285f4; }
.account-shortcuts { margin-top: .25rem; padding-top: .25rem; border-top: 1px solid var(--line); }
.workspace-help-button, .help-swipes, .help-niches { display: none; }
body:has(.swipes-page) .help-swipes, body:has(.trend-page) .help-niches { display: block; }
#workspace-help {
  position: fixed; inset: auto 1.25rem 5.6rem auto; margin: 0; width: min(20rem, calc(100vw - 2rem));
  padding: 1.25rem; border: 1px solid var(--line); border-radius: 1.25rem; color: var(--ss-ink);
  background: white; box-shadow: 0 8px 32px #0002;
}
#workspace-help header { display: flex; align-items: center; justify-content: space-between; }
#workspace-help header button { border: none; border-radius: 50%; background: #f2f2f2; width: 2rem; height: 2rem; font-size: 1.125rem; }
#workspace-help p { margin: .75rem 0 1rem; font-size: .9rem; line-height: 1.5; }
#workspace-help a { font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
@media (min-width: 64rem) {
  body:has(.swipes-page, .trend-page) .workspace-help-button {
    position: fixed; z-index: 6; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center;
    width: 3.75rem; height: 3.75rem; border: 1px solid #d5d5d5; border-radius: 50%;
    background: white; color: var(--ss-ink); box-shadow: 0 2px 8px #0002;
  }
  .workspace-help-button svg { width: 1.6rem; height: 1.6rem; }
  #sellstride-sidebar[data-compact] nav [data-secondary-nav] { display: none; }
  #sellstride-sidebar[data-compact] nav > a { margin-bottom: .25rem; padding: .5rem; gap: .5rem; }
  #sellstride-sidebar[data-compact] nav svg { width: 1rem; height: 1rem; }
  #sellstride-sidebar[data-compact] nav a:not([aria-current], .section-active) > .icon { color: #717171; }
  #sellstride-sidebar[data-compact] .sidebar-account { justify-content: flex-start; gap: .375rem; padding: .75rem; }
  #sellstride-sidebar[data-compact] [data-account-label] { display: none; }
  #sellstride-sidebar[data-compact] .sidebar-shortcut { display: inline-flex; color: #555; }
  #sellstride-sidebar[data-compact] .sidebar-shortcut:hover { background: var(--ss-accent-soft); }
  #sellstride-sidebar[data-compact] .bag-button { margin-left: auto; background: transparent; }
}
.sidebar-account { padding: .75rem; border-top: 1px solid #0001; justify-content: space-between; }
.account-trigger { padding: 0; background: transparent; font-size: .875rem; }
#local-profile { position: fixed; inset: auto auto .75rem 13.5rem; margin: 0; background: white; padding: .75rem; min-width: 12rem; max-width: calc(100vw - 2rem); border: 1px solid #0002; border-radius: 1rem; box-shadow: 0 8px 30px #0002; }
#local-profile strong, #local-profile a { display: block; padding: .55rem; font-size: .875rem; }
#local-profile a:hover { background: #f4f4f4; border-radius: .45rem; }
.site-footer { margin-left: 208px; background: white; color: #242424; padding: 2.5rem clamp(1.5rem,4vw,5rem) 4rem; border-top: 1px solid #0001; }
.footer-columns { max-width: 76rem; margin: auto; display: grid; grid-template-columns: minmax(10rem,1.5fr) repeat(4,minmax(0,1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.footer-group > summary { list-style: none; padding: 0; font: 600 .8125rem/1.4 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.footer-group > summary::-webkit-details-marker { display: none; }
.footer-group .footer-links { margin-top: 1rem; }
.footer-group > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.footer-columns nav a { display: block; width: fit-content; padding: .32rem 0; color: #575757; font-size: .875rem; }
.footer-columns a:hover { text-decoration: underline; }
.footer-intro a { display: flex; align-items: center; gap: .25rem; font: 400 1.55rem/1 Georgia,serif; letter-spacing: .12em; }
.footer-intro svg { width: 1.1rem; height: 1.1rem; }
.brand img, .footer-intro a img, .mobile-wordmark img { display: block; object-fit: contain; }
.mobile-wordmark { position: absolute; left: 50%; transform: translateX(-50%); }
.footer-intro p { max-width: 21rem; margin: 1.9rem 0 0; font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.store-connection { max-width: 39.25rem; min-height: min(36rem, 76svh); margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.store-logos { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.store-logos img:first-child { width: clamp(5rem,9vw,8rem); border-radius: 1.35rem; transform: rotate(-9deg); }
.store-logos img:last-child { width: clamp(6rem,11vw,9rem); margin-left: -.65rem; transform: rotate(8deg); }
.store-connection h1 { font-size: clamp(2rem,4.2vw,2.625rem); letter-spacing: -.025em; line-height: 1.2; margin: 1.5rem 0 .75rem; }
.store-connection p { font-size: clamp(1.125rem,2.2vw,1.5rem); line-height: 1.35; max-width: 34rem; }
.store-connection .btn { margin-top: 1.5rem; }
@media (max-width: 1023px) {
  .mobile-head { height: 4rem; padding: 0 1rem; }
  .site-footer { margin-left: 0; }
  .sidebar-account { display: none; }
  #local-profile { inset: 3.7rem .75rem auto auto; }
  .footer-columns { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 47.999rem) {
  .site-footer { padding: 2rem 1.25rem 3rem; }
  .footer-columns { grid-template-columns: 1fr; gap: 0; }
  .footer-intro { margin-bottom: 1.5rem; }
  .footer-group { border-top: 1px solid #e5e5e5; }
  .footer-columns nav:last-child .footer-group { border-bottom: 1px solid #e5e5e5; }
  .footer-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; cursor: pointer; }
  .footer-group > summary::after { content: ""; width: .5rem; height: .5rem; margin-right: .25rem; transform: translateY(-2px) rotate(45deg); border: solid currentColor; border-width: 0 1.5px 1.5px 0; }
  .footer-group[open] > summary::after { transform: translateY(2px) rotate(225deg); }
  .footer-group .footer-links { margin: 0 0 .875rem; }
  .footer-columns nav a { padding: .45rem 0; }
}

#local-profile strong { overflow-wrap: anywhere; }
#local-profile [hidden] { display: none; }
#local-profile button { border: 0; background: transparent; width: 100%; text-align: left; padding: .55rem; font: inherit; font-size: .875rem; cursor: pointer; }
#local-profile button:hover { background: #f4f4f4; border-radius: .45rem; }
#local-profile [data-account-message]:not(:empty) { max-width: 17rem; font-size: .8rem; padding: .55rem; }
