/* Shared Owner chrome: exact v58 Home declarations, with a persistent shell scope. Home content remains in its certified stylesheets. */
body.stikdex-shell-ready{--experience-ink:#f4f8ff;--experience-muted:#b2c5db;--experience-glass:rgba(22,44,66,.58);--experience-edge:rgba(141,202,237,.28)}
body.stikdex-shell-ready:not([data-theme="dark"]){--experience-ink:#14283b;--experience-muted:#496780;--experience-glass:rgba(228,240,250,.72);--experience-edge:rgba(34,74,109,.2)}
body.stikdex-shell-ready,html:has(body.stikdex-shell-ready){height:auto!important;max-height:none!important;overflow-y:auto!important}
body.stikdex-shell-ready .app{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
.experience-settings,#experienceBottomNav button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
.experience-settings:focus-visible,#experienceBottomNav button:focus-visible{outline:2px solid #6ad9ef;outline-offset:4px}
.experience-settings svg,#experienceBottomNav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.experience-settings{display:none}.experience-header-brand{display:none}#experienceBottomNav{display:none}
body.stikdex-shell-ready .experience-settings{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--experience-edge);border-radius:12px;background:var(--experience-glass);color:var(--experience-ink)}
body.stikdex-shell-ready .topbar{background:linear-gradient(90deg,#091a28ed,#0d192beb)!important;border:0!important;box-shadow:0 10px 32px -25px #7dcaff60!important}
body.stikdex-shell-ready:not([data-theme="dark"]) .topbar{background:#f0f6fce8!important}
body.stikdex-shell-ready .header-tools> :not(.search-wrap,.experience-settings){display:none!important}
body.stikdex-shell-ready #desktopMorePanel{color:var(--experience-ink)}
body.stikdex-shell-ready .header-tools #desktopMoreShell:has(#desktopMorePanel:not([hidden])){display:block!important;position:absolute;right:24px;top:64px}
body.stikdex-shell-ready .workspace-heading> :not(.experience-header-brand){display:none!important}
body.stikdex-shell-ready :is(#journeyBar,.horizon-ambient,.horizon-orb,.horizon-rail-mascots,.rail-overall,.rail-section,.rail-region-grid,.generation-nav-btn){display:none!important}
@media(min-width:761px){
  body.stikdex-shell-ready{--hz-sidebar:220px!important}
  body.stikdex-shell-ready .app{display:block!important;padding-left:220px!important}
  body.stikdex-shell-ready .topbar{position:fixed!important;left:220px!important;right:0!important;top:0!important;height:78px!important;min-height:78px!important;padding:16px clamp(22px,3vw,52px)!important}
  body.stikdex-shell-ready .topbar-row{display:flex!important;gap:0!important;width:100%!important;height:46px!important}
  body.stikdex-shell-ready .workspace-heading{display:none!important}
  body.stikdex-shell-ready .header-tools{display:flex!important;width:100%!important;gap:24px!important;margin:0!important}
  body.stikdex-shell-ready .search-wrap{flex:1!important;width:auto!important;max-width:none!important;display:block!important}
  body.stikdex-shell-ready #globalSearch{display:block!important;width:100%!important;min-width:0!important;height:46px!important;border:1px solid var(--experience-edge)!important;border-radius:12px!important;background:var(--experience-glass)!important;color:var(--experience-ink)!important;font-size:14px!important;padding:0 18px 0 40px!important}
  body.stikdex-shell-ready #nav.nav{width:220px!important;padding:24px 14px!important;gap:12px!important;background:linear-gradient(180deg,#06131f,#07111b)!important;border:0!important;box-shadow:none!important}
  body.stikdex-shell-ready:not([data-theme="dark"]) #nav.nav{background:#e6f0f9!important}
  body.stikdex-shell-ready #nav .rail-brand{min-height:60px!important;display:block!important;padding:0!important;margin-bottom:14px!important}
  body.stikdex-shell-ready #nav>.nav-btn{display:flex!important;align-items:center!important;min-height:52px!important;width:100%!important;padding:14px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--experience-muted)!important;box-shadow:none!important}
  body.stikdex-shell-ready #nav .nav-main{font-size:14px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
  body.stikdex-shell-ready #nav .nav-sub{display:none!important}
  body.stikdex-shell-ready #nav>.nav-btn.active{background:linear-gradient(90deg,rgba(241,33,83,.2),rgba(19,56,78,.15))!important;color:var(--experience-ink)!important;box-shadow:inset 3px 0 #ed305b!important}
}
@media(min-width:761px) and (max-width:1100px){
  body.stikdex-shell-ready{--hz-sidebar:190px!important}
  body.stikdex-shell-ready .app{padding-left:190px!important}
  body.stikdex-shell-ready .topbar{left:190px!important}
  body.stikdex-shell-ready #nav.nav{width:190px!important;padding-inline:10px!important}
}
@media(max-width:760px){
  body.stikdex-shell-ready .app{display:block!important;padding:0!important;min-height:0!important}
  body.stikdex-shell-ready .topbar{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;padding:6px 14px 2px!important}
  body.stikdex-shell-ready .topbar-row{display:grid!important;grid-template-columns:1fr 44px!important;gap:4px!important;align-items:center!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important}
  body.stikdex-shell-ready .workspace-heading{display:block!important;min-width:0!important;grid-column:1!important;grid-row:1!important;margin:0!important;padding:0!important;height:44px!important;overflow:visible!important}
  body.stikdex-shell-ready .experience-header-brand{display:flex!important;width:170px!important;max-width:100%!important;height:38px!important}
  body.stikdex-shell-ready .header-tools{display:contents!important}
  body.stikdex-shell-ready .experience-settings{grid-column:2!important;grid-row:1!important}
  body.stikdex-shell-ready .search-wrap{grid-column:1/-1!important;grid-row:2!important;display:block!important;width:100%!important;margin:0!important;padding:0!important}
  body.stikdex-shell-ready #globalSearch{height:44px!important;min-height:44px!important;width:100%!important;font-size:16px!important;border:1px solid var(--experience-edge)!important;background:var(--experience-glass)!important;color:var(--experience-ink)!important;border-radius:10px!important;padding:0 10px 0 34px!important}
  body.stikdex-shell-ready .search-results{width:100%!important;max-width:100%!important;left:0!important;right:0!important;max-height:60vh!important}
  body.stikdex-shell-ready #nav{display:none!important}
  body.stikdex-shell-ready #pocketNav{display:none!important}
  body.stikdex-shell-ready #experienceBottomNav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));position:fixed;z-index:170;bottom:0;left:0;right:0;padding:4px 4px calc(4px + env(safe-area-inset-bottom));border:1px solid var(--experience-edge);border-radius:18px 18px 0 0;background:#07131ef5;color:#93abc4;backdrop-filter:blur(14px);box-shadow:0 -6px 20px rgba(0,0,0,.2)}
  body.stikdex-shell-ready:not([data-theme="dark"]) #experienceBottomNav{background:#edf5fcf5;color:#385974}
  #experienceBottomNav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:52px;padding:4px 1px;background:transparent;border:0;border-radius:10px;font-size:10px;font-weight:500;line-height:1.25;text-align:center;color:inherit}
  #experienceBottomNav button.active{color:#ff466d;background:radial-gradient(ellipse at center,rgba(228,42,85,.16),transparent 75%)}
  #experienceBottomNav svg{width:22px;height:22px}
}

body.stikdex-shell-ready #nav.nav :is(.rail-region-grid,.generation-nav-btn,.rail-section,.rail-overall,.horizon-rail-mascots){display:none!important}
body.stikdex-shell-ready #nav.nav .rail-brand{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}

.experience-nav-icon{display:none}body.stikdex-shell-ready .experience-nav-icon{display:grid;place-items:center;margin-right:14px}body.stikdex-shell-ready .experience-nav-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}

.experience-brand{display:flex;align-items:center;gap:8px;height:60px}.experience-brand>img{height:100%;width:24%;object-fit:contain}.experience-wordmark{display:block;flex:1;height:75%;background-image:url(./stikdex-official-logo-v2.png);background-size:125% auto;background-repeat:no-repeat;background-position:center 86%}.experience-header-brand{display:none}.experience-rail-brand{display:none}
body.stikdex-shell-ready #nav .rail-brand-logo{display:none!important}body.stikdex-shell-ready .experience-rail-brand{display:flex;height:54px;width:100%}
@media(max-width:760px){body.stikdex-shell-ready .experience-header-brand{display:flex!important;height:38px!important;width:170px!important;max-width:100%!important}}

.experience-wordmark{height:auto;aspect-ratio:4.15;background-position:center 90%;clip-path:inset(4% 0 0)}
body.stikdex-shell-ready #globalSearch{box-shadow:inset 0 1px #cdeaff12,0 5px 18px -12px #46bdfc60!important}
body.stikdex-shell-ready .search-icon{color:#c0dbef!important}
body.stikdex-shell-ready #nav>.nav-btn .experience-nav-icon{color:#c0d5ea}
body.stikdex-shell-ready #nav>.nav-btn.active{background:linear-gradient(90deg,#ec276b2e,#1c344621)!important;box-shadow:inset 3px 0 #ff3972,0 0 24px -14px #ff3972!important}
body.stikdex-shell-ready #nav>.nav-btn.active .experience-nav-icon{color:#ff4e87;filter:drop-shadow(0 0 8px #ff397280)}
body.stikdex-shell-ready #nav>.nav-btn.active .experience-nav-icon svg{fill:#ff39721a}
body.stikdex-shell-ready #nav.nav{background:radial-gradient(ellipse at 10% 20%,#ad256114,transparent 65%),linear-gradient(180deg,#0a1a28,#07131f)!important}
body.stikdex-shell-ready:not([data-theme="dark"]) #nav.nav{background:linear-gradient(180deg,#e3edfa,#edf3fa)!important}
body.stikdex-shell-ready:not([data-theme="dark"]) #nav>.nav-btn .experience-nav-icon{color:#486580}
body.stikdex-shell-ready:not([data-theme="dark"]) #nav>.nav-btn.active .experience-nav-icon{color:#d3215b}
@media(max-width:760px){
  #experienceBottomNav button.active svg{fill:#ff397233;stroke:#ff4c87;filter:drop-shadow(0 0 8px #ff3972a0)}
  #experienceBottomNav button.active{background:radial-gradient(ellipse at 50% 40%,#ff397229,transparent 75%);color:#ff74a1}
  body.stikdex-shell-ready #experienceBottomNav{background:linear-gradient(110deg,#0c1b2af7,#10172cf7);border-color:#9abbe12e;box-shadow:0 -8px 28px -14px #6facdf33}
  body.stikdex-shell-ready:not([data-theme="dark"]) #experienceBottomNav{background:#edf5fcf5;color:#385974}
  body.stikdex-shell-ready:not([data-theme="dark"]) #experienceBottomNav button.active{color:#c52056}
}
body.stikdex-shell-ready{--experience-ink:#f9fcff;--experience-muted:#bbcee6;--experience-edge:rgba(140,210,255,.4)}
body.stikdex-shell-ready:not([data-theme="dark"]){--experience-ink:#14283b;--experience-muted:#496780;--experience-edge:rgba(34,74,109,.28)}
body.stikdex-shell-ready #globalSearch{border-color:#9ad4ff55!important;box-shadow:inset 0 1px #cff0ff26,0 0 20px -10px #229fff77!important}
body.stikdex-shell-ready .search-icon{color:#c4d9ff!important}
body.stikdex-shell-ready #globalSearch::placeholder{color:var(--experience-muted)!important;opacity:1}
body.stikdex-shell-ready.stikdex-shell-ready{
  --home-canvas-sidebar:0px;
  background:linear-gradient(90deg,#008ac32e,transparent 45%),linear-gradient(270deg,#9715df26,transparent 50%),linear-gradient(90deg,#041425,#071b30 52%,#071326)!important;
}
body.stikdex-shell-ready.stikdex-shell-ready:not([data-theme="dark"]){
  background:linear-gradient(270deg,rgba(239,63,112,.13),transparent 43%),linear-gradient(90deg,rgba(0,182,191,.12),transparent 48%),linear-gradient(90deg,#f1f7ff,#edf4fb 55%,#f4edff)!important;
}
body.stikdex-shell-ready.stikdex-shell-ready{
  background-origin:border-box!important;
  background-clip:border-box!important;
  background-size:calc(100% - var(--home-canvas-sidebar)) 100%!important;
  background-position:var(--home-canvas-sidebar) 0!important;
  background-repeat:no-repeat!important;
}
@media(min-width:761px){
  body.stikdex-shell-ready.stikdex-shell-ready{--home-canvas-sidebar:220px}
}
@media(min-width:761px) and (max-width:1100px){
  body.stikdex-shell-ready.stikdex-shell-ready{--home-canvas-sidebar:190px}
}
body.stikdex-shell-ready .app{background:transparent!important}
body.stikdex-shell-ready::before{content:none!important}
body.stikdex-shell-ready .topbar,
body.stikdex-shell-ready:not([data-theme="dark"]) .topbar{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
body.stikdex-shell-ready .experience-settings{
  border:0!important;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
}
body.stikdex-shell-ready .experience-settings svg{
  stroke:none;
  background:currentColor;
  -webkit-mask:url(./stikdex-settings-cog.svg) center/contain no-repeat;
  mask:url(./stikdex-settings-cog.svg) center/contain no-repeat;
  filter:drop-shadow(0 0 6px #8ad8ef35);
}
body.stikdex-shell-ready .experience-settings:focus-visible{color:color-mix(in srgb,var(--experience-ink) 65%,#50dbed)}
@media(hover:hover){
  body.stikdex-shell-ready .experience-settings:hover{color:color-mix(in srgb,var(--experience-ink) 65%,#50dbed)}
}
/* Host existing page roots without reparenting them or changing their controls. */
body.stikdex-shell-ready{--stikdex-shell-gutter:clamp(24px,2vw,44px)}
body.stikdex-shell-ready .app{width:100%!important;margin:0!important;min-width:0!important;box-sizing:border-box}
body.stikdex-shell-ready .app>.view{width:100%!important;max-width:none!important;margin:0!important;min-width:0!important;box-sizing:border-box}
body.stikdex-shell-ready .topbar{display:block!important}
body.stikdex-shell-ready :is(#pocketNav,#mobileNavToggle,#mobileNavBackdrop){display:none!important}
body.stikdex-shell-ready #nav.nav :is(.rail-overall,.rail-section,.rail-region-grid,.generation-nav-btn,.horizon-rail-mascots,.rail-brand-logo)[hidden]{display:none!important}
/* Existing authentication/connection gates remain stronger than chrome layout. */
body.stikdex-shell-ready:is(.fail-closed-mode,.pre09-online-required) :is(.app,#experienceBottomNav){display:none!important}
@media(min-width:761px){
  body.stikdex-shell-ready .app>:is(#dexBoardView,#pendingV2PreviewView,#pendingView,#binderView,#gradedView,#sealedView,#neededView,#healthView,#analyticsView,#versionHistoryView).view{
    padding:96px var(--stikdex-shell-gutter) 48px!important;min-height:100dvh!important;height:auto!important;max-height:none!important;overflow:visible!important
  }
}
@media(max-width:760px){
  body.stikdex-shell-ready .app>:is(#dexBoardView,#pendingV2PreviewView,#pendingView,#binderView,#gradedView,#sealedView,#neededView,#healthView,#analyticsView,#versionHistoryView).view{
    padding:9px 9px calc(24px + var(--pocket-nav-height) + env(safe-area-inset-bottom) + var(--pocket-browser-bottom))!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important
  }
}
