.n170-bar{display:none}
@media (max-width:900px) {
  /* Keep one symmetrical row in every shell, including the older scoped member grid. */
  :root body :is(.public-header,.reference-member .member-header1461,.ink-bar)[data-mobile170] {
    display:block!important;position:sticky;top:0;z-index:96;height:auto!important;min-height:0!important;
    width:100%;max-width:none;box-sizing:border-box;padding:0!important;
    background:#100e15;border-bottom:1px solid #352938;box-shadow:none;
  }
  :root body header[data-mobile170] > :not(.n170-bar) {display:none!important}
  :root body header[data-mobile170] > .n170-bar {
    display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;
    margin:0 auto;min-height:60px;box-sizing:border-box;gap:8px;
    padding:6px max(12px,env(safe-area-inset-left),env(safe-area-inset-right));
  }
  .n170-bar .n170-brand {
    grid-column:2;justify-self:center;display:grid;place-items:center;width:clamp(110px,35vw,146px);
    min-height:44px;margin:0;padding:0;border:0;background:none;
  }
  .n170-bar .n170-brand img{width:100%!important;max-width:100%!important;height:auto!important;display:block}
  .n170-bar .n170-icon,.n170-panel .n170-icon{
    display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;margin:0;
    border:1px solid #493644;border-radius:13px;background:#211921;color:#f6eaf3;cursor:pointer;
  }
  .n170-icon svg,.n170-glyph svg,.n170-row > svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
  .n170-bar .n170-icon[aria-expanded=true]{background:#48263c;border-color:#bc759b}
  .n170-bar :is(a,button):focus-visible,.n170-panel :is(a,button,input):focus-visible{
    outline:2px solid #ffd2eb!important;outline-offset:2px!important;
  }
  :root body .reference-member .member-header1461[data-mobile170] > .header-actions {display:contents!important}
  :root body .member-header1461[data-mobile170] > .header-actions > * {display:none!important}
  :root body .member-header1461[data-mobile170] > .header-actions > :is(.account-menu,.page-navigator){display:contents!important}
  :root body .member-header1461[data-mobile170] :is(.account-menu-trigger,.page-finder-trigger){display:none!important}
  :root body .member-header1461[data-mobile170][data-search-open] > .member-global-search{
    display:flex!important;position:absolute;inset:calc(100% + 5px) 10px auto;z-index:2;grid-area:auto;
    width:auto;max-width:none;margin:0;padding:6px;gap:4px;box-sizing:border-box;border:1px solid #79546c;
    border-radius:14px;background:#201823;box-shadow:0 10px 30px #0006;
  }
  .member-header1461[data-mobile170] .member-global-search .suggest97{min-width:0;flex:1}
  .member-header1461[data-mobile170] .member-global-search input{font-size:16px}
  :root body .member-header1461[data-mobile170] > .header-actions > .activity-menu:has(#activity-panel){
    display:block!important;position:absolute;inset:100% 8px auto;z-index:4;width:auto;height:0;
  }
  :root body .member-header1461[data-mobile170] .activity-trigger{display:none!important}
  .member-header1461[data-mobile170] #activity-panel{position:absolute;inset:5px 0 auto auto;width:min(100%,25rem);max-height:65dvh;overflow:auto}
  /* The original language picker positions its top-layer list against this anchor. */
  :root body .member-header1461[data-mobile170][data-aux170="language"] > .header-actions > .member-picker148,
  :root body .public-header[data-mobile170][data-aux170="language"] > .public-picker148,
  :root body .ink-bar[data-mobile170][data-aux170="language"] > .ink-wrap {
    display:block!important;position:absolute;inset:0 12px auto auto;width:44px;height:44px;
    opacity:0;pointer-events:none;
  }
  .ink-bar[data-aux170="language"] .ink-wrap > :not(.ink-user),.ink-bar[data-aux170="language"] .ink-user > :not(.info-picker148){display:none!important}
  body.n170-lock{overflow:hidden}
  dialog.n170-panel {
    color-scheme:dark;position:fixed;inset:0 auto 0 0;box-sizing:border-box;margin:0;
    width:min(23rem,calc(100vw - 32px));max-width:none;height:100vh;height:100dvh;max-height:none;
    padding:0;overflow:hidden;background:#151119;color:#fcf7fb;
    border:0;border-inline-end:1px solid #604853;border-radius:0 20px 20px 0;
    box-shadow:12px 0 48px #0005;text-align:start;
    font-family:inherit;font-size:15px;
  }
  dialog.n170-panel[open]{display:flex;flex-direction:column}
  dialog.n170-panel::backdrop{background:rgba(7,5,11,.70)}
  .n170-heading{
    position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;
    padding:max(15px,env(safe-area-inset-top)) 16px 13px 20px;margin:0;
    border-bottom:1px solid #42313e;background:linear-gradient(120deg,#341c30,#1d1721 75%);
  }
  .n170-heading h2{margin:0;padding:0;line-height:1.2;font-family:inherit;font-size:1.35rem;font-weight:650;letter-spacing:-.025em;color:#fff5fb}
  .n170-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:6px 12px max(18px,env(safe-area-inset-bottom))}
  .n170-group,.n170-results{display:flex;flex-direction:column;gap:3px;padding:9px 0}
  .n170-group+.n170-group{border-top:1px solid #40313f}
  .n170-panel .n170-row {
    display:grid;grid-template-columns:31px minmax(0,1fr) 14px;align-items:center;gap:10px;
    box-sizing:border-box;width:100%;min-height:45px;padding:5px 10px;margin:0;
    border:1px solid transparent;border-radius:10px;background:transparent;color:#ede3ed;
    font:inherit;font-weight:540;line-height:1.3;text-align:start;text-decoration:none;cursor:pointer;
  }
  .n170-glyph{width:30px;height:30px;display:grid;place-items:center;color:#c5aec2;flex:none}
  .n170-glyph svg{width:19px;height:19px}
  .n170-row > svg{width:13px;height:13px;color:#a78a9f}
  .n170-rowlabel{min-width:0;overflow-wrap:anywhere}
  .n170-rowlabel small{display:block;color:#cfbaca;font-size:.8rem;line-height:1.35;margin-top:2px}
  .n170-panel .n170-row[aria-current=page]{border-color:#7c4565;background:#392437;color:#ffecf7}
  .n170-row[aria-current=page] .n170-glyph{color:#ffabd3}
  .n170-panel .n170-account{background:#271e2b;border-color:#49374a;min-height:63px;margin:9px 0 2px}
  .n170-account .n170-glyph{border-radius:50%;background:#59354c;color:#ffdfef;font-weight:700}
  .n170-panel .n170-primary{background:#ff88bd;border-color:#ff88bd;color:#2b1625}
  .n170-primary :is(.n170-glyph,svg){color:inherit}
  .n170-panel.n170-search{inset:0 0 auto;width:100%;height:auto;max-height:88vh;max-height:88dvh;border-radius:0 0 20px 20px;border-bottom:1px solid #604853}
  .n170-panel .n170-input{display:block;box-sizing:border-box;width:100%;min-height:48px;margin:10px 0 2px;padding:10px 12px;font-size:16px;color:#fff;background:#241b28;border:1px solid #98768c;border-radius:10px}
  .n170-empty{margin:8px 10px 18px;color:#dccbd8}
  @media (hover:hover) and (pointer:fine){
    .n170-panel .n170-row:hover,.n170-bar .n170-icon:hover,.n170-heading .n170-icon:hover{background:#3b2939;border-color:#91647f;color:white}
    .n170-panel .n170-primary:hover{background:#ffb7d8;color:#2b1625}
  }
  @media (prefers-reduced-motion:no-preference){
    .n170-panel[open]{animation:enter170 .16s ease-out}
    @keyframes enter170{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
  }
  @media (forced-colors:active){
    .n170-panel .n170-row[aria-current=page]{outline:2px solid Highlight;outline-offset:-3px}
  }
}
