/* StikDex v0.08.5 — desktop homepage overhaul.
   Strictly excluded from the phone/PWA mobile presentation. */
@media (min-width:961px), (min-width:761px) and (pointer:fine){
  html:has(#dashboardView.active),body:has(#dashboardView.active){height:auto!important;overflow:auto!important}
  #dashboardView.active{
    min-height:100vh!important;height:auto!important;overflow:visible!important;
    padding:calc(var(--hz-header-h) + 24px) clamp(20px,2.4vw,44px) 70px!important;
    background:
      radial-gradient(circle at 72% 5%,rgba(70,210,255,.075),transparent 24%),
      radial-gradient(circle at 25% 30%,rgba(238,58,78,.055),transparent 28%),
      linear-gradient(145deg,#040810 0%,#07111d 48%,#040912 100%)!important;
  }
  #dashboardView .home-shell{
    width:min(1760px,100%)!important;max-width:none!important;height:auto!important;min-height:0!important;
    margin:0 auto!important;display:grid!important;
    grid-template-columns:minmax(300px,.37fr) minmax(560px,.63fr)!important;
    grid-template-rows:auto auto auto!important;gap:16px!important;align-items:stretch!important;
  }

  /* Signature StikDex identity hero. */
  #dashboardView .home-hero{
    grid-column:1/-1!important;grid-row:1!important;min-height:470px!important;height:auto!important;
    display:grid!important;grid-template-columns:minmax(360px,.82fr) minmax(560px,1.18fr)!important;
    overflow:hidden!important;isolation:isolate!important;border:1px solid rgba(131,176,210,.16)!important;
    border-radius:28px!important;background:
      linear-gradient(112deg,rgba(3,8,15,.99) 0%,rgba(7,18,31,.97) 43%,rgba(8,26,43,.92) 100%)!important;
    box-shadow:0 30px 78px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.045)!important;
  }
  #dashboardView .home-hero::before{
    content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;
    border:0!important;border-radius:0!important;background:
      linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
      linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px)!important;
    background-size:42px 42px!important;box-shadow:none!important;opacity:.42!important;pointer-events:none!important;
    mask-image:linear-gradient(90deg,#000,transparent 74%)!important;
  }
  #dashboardView .home-hero::after{
    content:""!important;position:absolute!important;inset:auto -170px -330px auto!important;width:760px!important;height:760px!important;
    border:1px solid rgba(88,217,255,.09)!important;border-radius:50%!important;opacity:1!important;
    background:radial-gradient(circle,rgba(40,166,226,.09),transparent 64%)!important;box-shadow:0 0 0 92px rgba(238,58,78,.018)!important;
    mask-image:none!important;pointer-events:none!important;
  }
  #dashboardView .home-hero-copy{
    position:relative!important;z-index:5!important;width:auto!important;margin:0!important;
    padding:44px clamp(32px,3.2vw,60px)!important;display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:center!important;
  }
  #dashboardView .home-brand-lockup{display:block!important;width:100%!important}
  #dashboardView .home-brand-logo{width:min(100%,360px)!important;max-height:150px!important;object-fit:contain!important;object-position:left center!important}
  #dashboardView .home-identity-summary{display:flex;align-items:center;gap:24px;margin-top:10px}
  #dashboardView .home-inline-progress{position:relative!important;flex:0 0 118px!important;width:118px!important;height:118px!important}
  #dashboardView .home-inline-progress .home-orbit{position:absolute!important;inset:0!important;width:118px!important;height:118px!important;transform:none!important}
  #dashboardView .home-inline-progress .home-orbit::before{inset:0!important;border-color:rgba(99,220,255,.17)!important}
  #dashboardView .home-inline-progress .home-orbit::after{inset:8px!important;border-color:rgba(238,58,78,.26)!important}
  #dashboardView .home-inline-progress .home-progress-ring{width:96px!important;height:96px!important}
  #dashboardView .home-inline-progress .home-progress-ring::before{inset:8px!important;background:#07111d!important}
  #dashboardView .home-inline-progress .home-progress-centre strong{font-size:25px!important}
  #dashboardView .home-inline-progress .home-progress-centre span{font-size:6px!important}
  #dashboardView .home-inline-progress .home-progress-centre small{margin-top:5px!important;font-size:7px!important}
  #dashboardView .home-inline-progress .home-orbit-badge{display:none!important}
  #dashboardView .stikdex-command-copy{display:grid!important;gap:5px!important;margin:0!important;padding:0!important}
  #dashboardView .stikdex-command-copy span{color:#61dcff!important;font-size:9px!important;font-weight:950!important;letter-spacing:.18em!important}
  #dashboardView .stikdex-command-copy strong{max-width:360px;color:#f4f8ff!important;font-size:17px!important;line-height:1.35!important}
  #dashboardView .stikdex-command-copy small{color:#71889d;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
  #dashboardView .home-deal-quick-search{width:min(560px,100%)!important;margin-top:22px!important}
  #dashboardView .deal-quick-label{margin-bottom:7px!important;color:#8299ad!important;font-size:8px!important}
  #dashboardView .deal-quick-label span:first-child{color:#ef5367!important}
  #dashboardView .deal-quick-input{height:50px!important;border-color:rgba(105,160,198,.24)!important;background:rgba(4,12,21,.74)!important;font-size:14px!important;box-shadow:0 14px 34px rgba(0,0,0,.22)!important}
  #dashboardView .deal-quick-input:focus{border-color:#59d9ff!important;background:rgba(5,16,27,.94)!important;box-shadow:0 0 0 3px rgba(89,217,255,.09),0 16px 38px rgba(0,0,0,.28)!important}

  /* Ambient real-card display; images are populated after core Home render. */
  #dashboardView .home-art-stage{position:relative;z-index:3;min-height:470px;overflow:hidden;isolation:isolate}
  #dashboardView .home-stage-grid{position:absolute;inset:0;opacity:.26;background:
    radial-gradient(circle at 54% 48%,rgba(79,215,255,.18),transparent 24%),
    repeating-radial-gradient(circle at 54% 48%,transparent 0 72px,rgba(109,202,240,.08) 73px 74px,transparent 75px 116px)}
  #dashboardView .home-stage-grid::before,#dashboardView .home-stage-grid::after{content:"";position:absolute;left:54%;top:50%;width:560px;height:1px;background:linear-gradient(90deg,transparent,rgba(104,220,255,.22),transparent);transform:translate(-50%,-50%) rotate(18deg)}
  #dashboardView .home-stage-grid::after{transform:translate(-50%,-50%) rotate(-32deg)}
  #dashboardView .home-art-orbit{position:absolute;z-index:2;left:54%;top:50%;width:1px;height:1px}
  #dashboardView .home-orbit-card{
    --x:-300px;--y:-142px;--mx:-170px;--my:-72px;--r:-8deg;--mr:-3deg;
    position:absolute;left:0;top:0;width:112px;aspect-ratio:5/7;margin:0;overflow:hidden;
    border:1px solid rgba(125,180,215,.26);border-radius:12px;background:linear-gradient(145deg,#101b29,#060c15);
    box-shadow:0 22px 44px rgba(0,0,0,.42),0 0 28px rgba(76,206,255,.05);
    transform:translate(var(--x),var(--y)) rotate(var(--r));animation:home-card-current 19s ease-in-out infinite;
    opacity:.92;will-change:transform,opacity;
  }
  #dashboardView .home-orbit-card::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);pointer-events:none}
  #dashboardView .home-orbit-card img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;opacity:0;transition:opacity .62s cubic-bezier(.22,.61,.36,1);will-change:opacity}
  #dashboardView .home-orbit-card img.is-visible{opacity:1}
  #dashboardView .home-orbit-card.replacing{z-index:2}
  #dashboardView .home-orbit-card.replacing-fallback{animation:home-card-behind-core 2.4s cubic-bezier(.58,.02,.24,1) 1 both;animation-delay:0s!important}
  #dashboardView .home-orbit-card.replacing img{transition:none}
  #dashboardView .home-orbit-card figcaption{position:absolute;inset:0;display:grid;place-items:center;padding:13px;color:#6f879b;font-size:8px;font-weight:950;line-height:1.45;letter-spacing:.12em;text-align:center;text-transform:uppercase;background:linear-gradient(145deg,rgba(20,34,50,.92),rgba(4,10,17,.98))}
  #dashboardView .home-orbit-card.has-art figcaption{display:none}
  #dashboardView .home-orbit-card:nth-child(1){--x:-330px;--y:-150px;--mx:-238px;--my:-96px;--r:-10deg;--mr:-3deg;animation-delay:-2s}
  #dashboardView .home-orbit-card:nth-child(2){--x:-320px;--y:72px;--mx:-176px;--my:34px;--r:8deg;--mr:2deg;animation-delay:-11s}
  #dashboardView .home-orbit-card:nth-child(3){--x:218px;--y:-156px;--mx:132px;--my:-82px;--r:9deg;--mr:3deg;animation-delay:-15s}
  #dashboardView .home-orbit-card:nth-child(4){--x:242px;--y:70px;--mx:142px;--my:35px;--r:-7deg;--mr:-2deg;animation-delay:-5s}
  #dashboardView .home-orbit-card:nth-child(5){--x:-54px;--y:145px;--mx:-32px;--my:92px;--r:-2deg;--mr:0deg;animation-delay:-13s}
  @keyframes home-card-current{0%,100%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.94);opacity:.72}46%,54%{transform:translate(var(--mx),var(--my)) rotate(var(--mr)) scale(.82);opacity:1}72%{opacity:.84}}
  @keyframes home-card-behind-core{
    0%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.96);opacity:.94}
    44%,56%{transform:translate(-56px,-78px) rotate(0deg) scale(.52);opacity:1}
    100%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.96);opacity:.94}
  }
  #dashboardView .home-energy-core{position:absolute;z-index:4;left:54%;top:50%;width:280px;height:280px;transform:translate(-50%,-50%);display:grid;place-items:center}
  #dashboardView .home-core-wordmark{position:absolute;z-index:6;left:50%;top:-28px;width:218px;height:50px;overflow:hidden;transform:translateX(-50%);pointer-events:none;animation:home-wordmark-pulse 9s ease-in-out infinite}
  #dashboardView .home-core-wordmark img{position:absolute;left:50%;top:-95px;width:218px;max-width:none;height:auto;transform:translateX(-50%)}
  #dashboardView .home-core-ring{position:absolute;border-radius:50%}
  #dashboardView .home-core-ring.outer{inset:0;border:1px solid rgba(87,219,255,.28);box-shadow:0 0 52px rgba(71,204,255,.13),inset 0 0 38px rgba(71,204,255,.06);animation:home-core-spin 28s linear infinite}
  #dashboardView .home-core-ring.outer::before,#dashboardView .home-core-ring.outer::after{content:"";position:absolute;left:50%;width:9px;height:9px;margin-left:-4px;border-radius:50%;background:#5fe0ff;box-shadow:0 0 16px #5fe0ff}
  #dashboardView .home-core-ring.outer::before{top:-5px}#dashboardView .home-core-ring.outer::after{bottom:-5px;background:#ef4359;box-shadow:0 0 16px #ef4359}
  #dashboardView .home-core-ring.middle{inset:16px;border:2px solid transparent;border-top-color:#ef4359;border-right-color:rgba(239,67,89,.35);animation:home-core-spin 16s linear infinite reverse}
  #dashboardView .home-core-ring.inner{inset:34px;border:1px solid rgba(101,226,255,.32);background:radial-gradient(circle,rgba(96,225,255,.12),rgba(8,22,35,.52) 68%);box-shadow:0 0 54px rgba(61,205,255,.16)}
  #dashboardView .home-core-pokeball{
    position:relative!important;z-index:3!important;width:228px!important;height:228px!important;overflow:hidden!important;
    border-radius:50%!important;opacity:1!important;filter:saturate(.92) contrast(1.04)!important;
    border:5px solid #02060b!important;background:linear-gradient(to bottom,#e52f43 0 43%,#05090e 43% 57%,#f0f4f7 57% 100%)!important;
    box-shadow:0 24px 54px rgba(0,0,0,.5),0 0 44px rgba(83,215,255,.18),inset 0 0 26px rgba(255,255,255,.2)!important;
  }
  #dashboardView .home-core-pokeball::before{content:"";position:absolute;z-index:4;left:50%;top:50%;width:25%;height:25%;border:10px solid #05090e;border-radius:50%;background:#f4f7fa;box-shadow:0 0 0 3px rgba(5,9,14,.82);transform:translate(-50%,-50%)}
  #dashboardView .home-core-pokeball::after{content:none;display:none}
  @keyframes home-core-spin{to{transform:rotate(360deg)}}
  @keyframes home-wordmark-pulse{
    0%,100%{opacity:.9;filter:drop-shadow(0 2px 8px rgba(0,0,0,.92)) drop-shadow(0 0 2px rgba(255,255,255,.08))}
    34%{opacity:1;filter:drop-shadow(0 2px 8px rgba(0,0,0,.92)) drop-shadow(0 0 6px rgba(255,255,255,.24))}
    67%{opacity:.96;filter:drop-shadow(0 2px 8px rgba(0,0,0,.92)) drop-shadow(0 0 9px rgba(229,47,67,.34))}
  }
  #dashboardView .home-art-mode{position:absolute;right:18px;bottom:16px;z-index:6;padding:7px 10px;border:1px solid rgba(109,173,210,.2);border-radius:999px;background:rgba(3,10,18,.72);color:#829caf;font-size:7px;font-weight:950;letter-spacing:.14em;backdrop-filter:blur(10px)}

  /* Faster scanning below the hero. */
  #dashboardView .home-stat-grid{grid-column:1/-1!important;grid-row:2!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
  #dashboardView .home-stat-card{height:auto!important;min-height:108px!important;padding:15px 16px!important;grid-template-columns:46px minmax(0,1fr)!important;border:1px solid rgba(118,166,201,.14)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(14,25,39,.92),rgba(6,13,23,.96))!important;box-shadow:0 14px 34px rgba(0,0,0,.22)!important}
  #dashboardView .home-stat-card::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:0 4px 4px 0;background:var(--stat-color);box-shadow:0 0 18px color-mix(in srgb,var(--stat-color) 45%,transparent)}
  #dashboardView .home-stat-card::after{opacity:.42}
  #dashboardView .home-stat-icon{width:44px!important;height:44px!important;border-radius:13px!important}
  #dashboardView .home-stat-copy>small{font-size:8px!important;letter-spacing:.12em!important}#dashboardView .home-stat-copy>strong{margin-top:3px!important;font-size:28px!important}#dashboardView .home-stat-copy>span{font-size:9px!important}

  #dashboardView .home-middle-grid{grid-column:1!important;grid-row:3!important;min-height:500px!important;height:auto!important;display:block!important}
  #dashboardView .home-middle-grid>.home-panel{height:100%!important;min-height:500px!important}
  #dashboardView .home-collection-panel{grid-column:2!important;grid-row:3!important;min-height:500px!important;height:auto!important;padding-bottom:10px!important}
  #dashboardView .home-panel{border:1px solid rgba(118,166,201,.13)!important;border-radius:20px!important;background:linear-gradient(155deg,rgba(12,23,37,.94),rgba(5,12,21,.97))!important;box-shadow:0 18px 44px rgba(0,0,0,.22)!important}
  #dashboardView .home-panel-head,#dashboardView .home-collection-head{min-height:92px!important;padding:18px 18px 14px!important}
  #dashboardView .home-panel-head h3,#dashboardView .home-collection-head h3{font-size:21px!important}
  #dashboardView .home-panel-head p,#dashboardView .home-collection-head p{font-size:10px!important}
  #dashboardView .home-activity-list{height:auto!important;max-height:none!important;overflow:visible!important;display:grid!important;grid-template-rows:repeat(5,minmax(70px,1fr))!important;gap:5px!important;padding:0 12px 14px!important}
  #dashboardView .home-activity-list .dash-v2-activity-row{min-height:70px!important;height:auto!important;padding:10px 12px!important;border:1px solid rgba(113,163,199,.08)!important;background:rgba(255,255,255,.018)!important}
  #dashboardView .home-collection-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)!important}
  #dashboardView .home-mini-chart{min-width:0!important;background:rgba(255,255,255,.025)!important;border-color:rgba(118,166,201,.12)!important}
  #dashboardView .home-region-grid{height:auto!important;min-height:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(118px,1fr))!important;gap:8px!important;padding:0 12px 12px!important}
  #dashboardView .dash-v2-region-row{min-height:118px!important;height:auto!important;grid-template-columns:minmax(68px,.65fr) minmax(98px,1.35fr)!important;padding:10px 11px!important;border-radius:14px!important;background:linear-gradient(150deg,rgba(17,29,45,.9),rgba(6,13,23,.94))!important}
  #dashboardView .dash-v2-region-name strong{font-size:15px!important}#dashboardView .dash-v2-region-track-head strong{font-size:16px!important}

  /* Sidebar refinement without changing its information architecture. */
  #nav.nav{border-right-color:rgba(111,163,199,.16)!important;background:linear-gradient(180deg,#07101b,#050b13 68%,#070e17)!important;box-shadow:18px 0 60px rgba(0,0,0,.18)!important}
  #nav.nav>.nav-btn:not(.generation-nav-btn){border-color:transparent!important;background:transparent!important}
  #nav.nav>.nav-btn:not(.generation-nav-btn):hover{border-color:rgba(90,210,255,.18)!important;background:rgba(90,210,255,.055)!important}
  #nav.nav>.nav-btn.active:not(.generation-nav-btn){border-color:rgba(239,67,89,.34)!important;background:linear-gradient(90deg,rgba(239,67,89,.13),rgba(90,210,255,.035))!important;box-shadow:inset 3px 0 #ef4359!important}
}

@media (min-width:961px) and (max-width:1280px), (min-width:761px) and (max-width:1280px) and (pointer:fine){
  #dashboardView .home-shell{grid-template-columns:minmax(290px,.34fr) minmax(500px,.66fr)!important}
  #dashboardView .home-hero{grid-template-columns:minmax(330px,.72fr) minmax(500px,1.28fr)!important}
  #dashboardView .home-hero-copy{padding-inline:32px!important}
  #dashboardView .home-brand-logo{width:300px!important}
  #dashboardView .home-orbit-card{width:98px}
  #dashboardView .home-energy-core{width:246px;height:246px}
  #dashboardView .home-core-pokeball{width:200px!important;height:200px!important}
  #dashboardView .home-orbit-card:nth-child(1){--x:-260px;--y:-142px;--mx:-208px;--my:-94px}
  #dashboardView .home-orbit-card:nth-child(2){--x:-252px;--y:66px;--mx:-150px;--my:34px}
  #dashboardView .home-orbit-card:nth-child(3){--x:178px;--y:-145px;--mx:112px;--my:-78px}
  #dashboardView .home-orbit-card:nth-child(4){--x:188px;--y:66px;--mx:116px;--my:34px}
  #dashboardView .home-collection-head{grid-template-columns:1fr!important;gap:10px!important}
  #dashboardView .home-region-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}
}

@media (prefers-reduced-motion:reduce){
  #dashboardView .home-orbit-card,#dashboardView .home-core-ring{animation:none!important}
  #dashboardView .home-core-wordmark{animation:none!important;opacity:.96!important;filter:drop-shadow(0 2px 8px rgba(0,0,0,.9)) drop-shadow(0 0 4px rgba(255,255,255,.12)) drop-shadow(0 0 5px rgba(229,47,67,.16))!important}
  #dashboardView .home-orbit-card:nth-child(n+6){display:none!important}
  #dashboardView .home-orbit-card{opacity:.78!important;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.88)!important}
}
