/* PIXL v0.5.9.0-alpha.57 — SINNOH EXCLUSIVE SYSTEM · STABILITY / ADAPTIVE UI REPAIR
   Presentation-only exclusive frontend. Runtime/storage behavior untouched. */

/* ---------- Adaptive Pokémon identity, all PIXL themes ---------- */
.pixl-pokemon-mark{display:grid!important;place-items:center!important;line-height:0!important;overflow:visible!important;color:var(--pixl-theme-2,#fff)!important}
.pixl-pokeball-core{display:block;width:100%;height:100%;background:currentColor;
  -webkit-mask:url('./pokemon-pokeball-mark-a53.webp') center/contain no-repeat;
  mask:url('./pokemon-pokeball-mark-a53.webp') center/contain no-repeat;
  filter:drop-shadow(0 8px 18px color-mix(in srgb,currentColor 22%,transparent));
}
html[data-pixl-theme="legacy"] .pixl-pokemon-mark{color:#fff!important}
html[data-pixl-theme="red"] .pixl-pokemon-mark{color:#ff7885!important}
html[data-pixl-theme="orange"] .pixl-pokemon-mark{color:#ffb45e!important}
html[data-pixl-theme="yellow"] .pixl-pokemon-mark{color:#f2ca3f!important}
html[data-pixl-theme="green"] .pixl-pokemon-mark{color:#7ff5a2!important}
html[data-pixl-theme="blue"] .pixl-pokemon-mark{color:#6ec8ff!important}
html[data-pixl-theme="indigo"] .pixl-pokemon-mark{color:#9a8fff!important}
html[data-pixl-theme="violet"] .pixl-pokemon-mark{color:#c47aff!important}
html[data-pixl-theme="pink"] .pixl-pokemon-mark{color:#ff8fd2!important}
html[data-pixl-theme="mono"] .pixl-pokemon-mark{color:#ececf1!important}
html[data-pixl-theme="sinnoh"] .pixl-pokemon-mark{color:#2c8fa8!important}

/* ---------- Sinnoh system palette ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"]{
  color-scheme:light!important;
  --sn-ice:#eef7ff;--sn-ice2:#d9ebff;--sn-ice3:#c6def9;
  --sn-mint:#63e7b2;--sn-mint2:#a8f4d2;--sn-teal:#2c8fa8;
  --sn-blue:#75aee9;--sn-navy:#17324a;--sn-ink:#25394d;--sn-dim:#6c8298;
  --sn-line:#6aa7ba;--sn-line-soft:rgba(43,117,143,.24);--sn-red:#ef5963;--sn-gold:#f5cb56;
  --pixl-theme:#63e7b2!important;--pixl-theme-2:#75aee9!important;--pixl-theme-rgb:99,231,178!important;--pixl-theme-ink:#17324a!important;
  background:#d9ebff!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"],html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] body{
  background:
    linear-gradient(rgba(43,117,143,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(43,117,143,.055) 1px,transparent 1px),
    linear-gradient(180deg,#ecf6ff 0,#dbeaff 55%,#c8ddf4 100%)!important;
  background-size:16px 16px,16px 16px,100% 100%!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"][data-pixl-os="2"] body{overflow-y:auto!important}

/* ---------- Exclusive atmospheric world ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui{
  color:var(--sn-ink)!important;background:transparent!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif!important;
  padding-bottom:calc(env(safe-area-inset-bottom,0px) + 108px)!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-ambient{
  position:fixed!important;inset:0!important;z-index:-3!important;
  background:linear-gradient(180deg,#eaf5ff 0%,#dae9fa 54%,#c8ddf0 100%)!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-route-grid{position:absolute;inset:0;opacity:.62;background-image:linear-gradient(rgba(35,105,132,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(35,105,132,.05) 1px,transparent 1px);background-size:18px 18px;mask-image:linear-gradient(#000 0 72%,transparent 96%)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-mountain{position:absolute;left:-18%;right:-18%;bottom:-5%;height:45%;opacity:.26;background:linear-gradient(150deg,transparent 0 20%,rgba(76,130,161,.24) 20% 28%,transparent 28% 35%,rgba(92,147,177,.22) 35% 47%,transparent 47%),linear-gradient(30deg,transparent 0 30%,rgba(62,119,151,.17) 30% 41%,transparent 41%);filter:blur(.2px)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .px-world-pixels{display:none!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-diamond-field i{position:absolute;left:var(--sx);top:var(--sy);width:var(--ss);height:var(--ss);background:#fff;border:1px solid rgba(84,139,180,.3);transform:rotate(45deg);opacity:.3;animation:snTwinkle var(--sd) ease-in-out infinite alternate}
@keyframes snTwinkle{0%,35%{opacity:.12;transform:rotate(45deg) scale(.75)}70%{opacity:.62;transform:rotate(45deg) scale(1.25)}100%{opacity:.18;transform:rotate(45deg) scale(.9)}}

/* ---------- Sinnoh intro ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;pointer-events:none;background:#edf7ff;animation:snBootOut 1.65s cubic-bezier(.2,.8,.2,1) forwards}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame{width:min(78vw,310px);height:160px;border:3px solid #3d889e;box-shadow:inset 0 0 0 4px #fff,0 18px 60px rgba(42,93,128,.22);background:linear-gradient(180deg,#f8fbff,#d8ebff);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame:before,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame:after{content:"";position:absolute;left:0;right:0;height:8px;background:repeating-linear-gradient(90deg,#43cba0 0 22px,#75aee9 22px 42px,#4297a7 42px 62px)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame:before{top:0}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame:after{bottom:0}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-ball{width:58px;height:58px;color:#2c8fa8;animation:snBallPop .72s cubic-bezier(.18,.9,.22,1) both}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame b{font:900 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;color:#17324a;margin-top:7px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-frame small{font:800 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.18em;color:#6c8298;margin-top:8px}
@keyframes snBallPop{0%{opacity:0;transform:scale(.4) rotate(-90deg)}55%{opacity:1;transform:scale(1.08) rotate(7deg)}100%{transform:scale(1) rotate(0)}}
@keyframes snBootOut{0%,70%{opacity:1}100%{opacity:0;visibility:hidden}}

/* ---------- Compact hardware header ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-system-bar{height:calc(env(safe-area-inset-top,0px) + 72px)!important;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 8px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;border-bottom:1px solid rgba(41,112,139,.12)!important;background:rgba(238,247,255,.68)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-brand{justify-self:start!important;gap:8px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-brand img{width:36px!important;height:36px!important;border-radius:9px!important;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(50,120,146,.35),0 8px 18px rgba(48,107,144,.15)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-brand span{font-size:17px!important;letter-spacing:.22em!important;color:#17324a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-brand b{font:900 7px/1 ui-monospace,monospace!important;letter-spacing:.12em!important;color:#2c718c!important;border-color:rgba(44,113,140,.28)!important;background:#f7fbff!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-region-chip{justify-self:center;display:grid;place-items:center;gap:2px;padding:6px 10px;border:1px solid rgba(44,113,140,.26);background:#f8fcff;border-radius:4px;box-shadow:inset 0 -2px rgba(92,160,183,.08)}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-region-chip span{font:900 8px/1 ui-monospace,monospace;letter-spacing:.16em;color:#2e7089}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-region-chip small{font:800 5px/1 ui-monospace,monospace;letter-spacing:.12em;color:#8aa2b7}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-system-bar .px-system-right{justify-self:end!important;gap:7px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-system-bar .px-local{height:29px!important;border-radius:4px!important;border-color:rgba(43,117,143,.24)!important;background:#f7fbff!important;color:#50768c!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-system-bar .px-local i{background:#49d8a8!important;box-shadow:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-system-bar .px-icon{width:38px!important;height:38px!important;border-radius:7px!important;border:2px solid #fff!important;background:#93e8c3!important;box-shadow:0 0 0 1px rgba(43,117,143,.25),0 5px 12px rgba(52,103,133,.13)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-system-bar .px-icon .px-theme-icon{width:31px!important;height:31px!important}

/* ---------- Save-card style hero ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-stage{height:auto!important;min-height:390px!important;margin:14px 14px 0!important;border:2px solid #3c889d!important;border-radius:10px!important;background:linear-gradient(180deg,#f7fbff 0,#e5f1ff 100%)!important;box-shadow:inset 0 0 0 3px #fff,0 15px 38px rgba(46,90,122,.14)!important;overflow:hidden!important;color:#17324a!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage:before,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage:after{display:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-stripe,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-stripe{height:8px;background:repeating-linear-gradient(90deg,#48cfa5 0 24px,#75aee9 24px 45px,#4d97a8 45px 67px,#75aee9 67px 86px);box-shadow:0 1px rgba(18,90,113,.18)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-head{height:54px;padding:13px 16px 9px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(46,120,145,.16)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-chip{font:900 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em;color:#2c7189;border:1px solid rgba(45,113,137,.3);background:#d8f4ed;padding:7px 10px;border-radius:4px;box-shadow:inset 0 -2px rgba(50,128,144,.08)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-position{display:flex;align-items:baseline;gap:4px;color:#8499aa}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-position strong{font:950 24px/1 ui-monospace,monospace;color:#17324a}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-position small{font:800 8px/1 ui-monospace,monospace;letter-spacing:.08em}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-body{display:grid;grid-template-columns:118px 1fr;gap:18px;align-items:center;min-height:284px;padding:16px 17px 18px}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem{position:relative;width:116px;height:144px;display:grid;place-items:center;border:1px solid #69a7b8;background:linear-gradient(180deg,#c7f3dc,#a5e6c7);box-shadow:inset 0 0 0 4px rgba(255,255,255,.55),0 8px 17px rgba(49,105,130,.12)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem:before{content:"";position:absolute;inset:8px;background-image:linear-gradient(rgba(39,117,137,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(39,117,137,.07) 1px,transparent 1px);background-size:10px 10px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem .pixl-pokemon-mark{width:78px!important;height:78px!important;z-index:2;color:#2d849a!important;animation:snBallIdle 5.8s ease-in-out infinite}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem i{position:absolute;width:5px;height:5px;background:#f7ffff;border:1px solid #63a2b5;transform:rotate(45deg);animation:snSpark 3.4s ease-in-out infinite}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem i:nth-of-type(1){top:18px;right:20px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem i:nth-of-type(2){bottom:23px;left:17px;animation-delay:-1s}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem i:nth-of-type(3){bottom:42px;right:13px;width:3px;height:3px;animation-delay:-2s}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem i:nth-of-type(4){top:44px;left:14px;width:3px;height:3px;animation-delay:-2.6s}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-big-mono{font:950 42px/1 ui-monospace,monospace;color:#2d849a;z-index:2}
@keyframes snBallIdle{0%,82%,100%{transform:rotate(0) scale(1)}88%{transform:rotate(-7deg) scale(1.03)}94%{transform:rotate(7deg) scale(1.03)}}
@keyframes snSpark{0%,60%,100%{opacity:.15;transform:rotate(45deg) scale(.7)}72%{opacity:.85;transform:rotate(45deg) scale(1.35)}}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy{position:static!important;min-width:0!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy .px-kicker{color:#4f7a91!important;font:900 8px/1 ui-monospace,monospace!important;letter-spacing:.14em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy .px-kicker i{width:7px!important;height:7px!important;border-radius:50%!important;clip-path:none!important;background:#ef5963!important;box-shadow:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy h1{margin:11px 0 7px!important;color:#17324a!important;text-shadow:none!important;font-size:clamp(27px,7.6vw,38px)!important;line-height:1!important;letter-spacing:-.045em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy>p{color:#687f92!important;font-size:12px!important;font-weight:750!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-meta-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-meta-row span{padding:6px 8px;border:1px solid rgba(43,117,143,.2);background:#f7fbff;color:#71879a;font:800 6px/1 ui-monospace,monospace;letter-spacing:.08em}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-meta-row b{color:#2b7e94}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy .px-stage-actions{margin-top:16px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy .px-primary{height:44px!important;min-width:132px!important;border-radius:5px!important;border:1px solid #278e82!important;background:linear-gradient(180deg,#79efc0,#58d5aa)!important;color:#183a3d!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),0 5px 0 #2e8f81!important;font:950 11px/1 ui-monospace,monospace!important;letter-spacing:.08em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy .px-secondary{width:44px!important;height:44px!important;border-radius:5px!important;border:1px solid #78a7bd!important;background:#f8fbff!important;color:#476d81!important;box-shadow:0 4px 0 #9ab8c8!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-footer{height:9px;margin:0 10px 10px;display:grid;grid-template-columns:repeat(8,1fr);gap:2px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-footer span:nth-child(odd){background:#49cba4}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-footer span:nth-child(even){background:#79aee6}

/* ---------- PC Box shelf ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box{height:auto!important;min-height:0!important;padding:18px 0 26px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-head{padding:0 17px!important;height:36px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-head .px-shelf-title{display:flex;align-items:baseline;gap:8px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-head b{font:950 10px/1 ui-monospace,monospace;letter-spacing:.15em;color:#17324a}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-head small{font:850 6px/1 ui-monospace,monospace;letter-spacing:.12em;color:#6e889b}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-head button{font:900 7px/1 ui-monospace,monospace!important;letter-spacing:.12em!important;color:#2d7188!important;border:1px solid rgba(43,117,143,.22)!important;background:#eef8ff!important;padding:7px 9px!important;border-radius:3px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-grid{min-height:160px!important;padding:8px 14px 8px!important;gap:9px!important;align-items:stretch!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot{flex:0 0 110px!important;height:146px!important;border-radius:5px!important;border:1px solid #67a3b2!important;background:linear-gradient(180deg,#b8efd1,#8eddbb)!important;box-shadow:inset 0 0 0 3px rgba(255,255,255,.46),0 6px 13px rgba(55,99,124,.12)!important;transform:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot:after{background:linear-gradient(180deg,transparent 56%,rgba(34,83,90,.16))!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot .px-tile-grid{background-image:linear-gradient(rgba(37,107,125,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(37,107,125,.07) 1px,transparent 1px)!important;background-size:9px 9px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot.is-selected{flex-basis:126px!important;height:158px!important;border:2px solid #2f8b90!important;background:linear-gradient(180deg,#c6f8db,#95e5bf)!important;box-shadow:inset 0 0 0 3px #fff,0 0 0 2px rgba(99,231,178,.35),0 9px 20px rgba(54,108,129,.15)!important;animation:snSelectedSlot .42s cubic-bezier(.2,.9,.2,1)}
@keyframes snSelectedSlot{0%{transform:translateY(4px) scale(.96)}65%{transform:translateY(-3px) scale(1.015)}100%{transform:none}}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot .px-tile-mono{inset:25px 12px 34px!important;display:grid!important;place-items:center!important;color:#2c8396!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot .pixl-pokemon-mark{width:58px!important;height:58px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot.is-selected .pixl-pokemon-mark{width:66px!important;height:66px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-slot-number{position:absolute;z-index:4;left:8px;top:7px;font:900 7px/1 ui-monospace,monospace;color:#3b7889;letter-spacing:.08em}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot .px-tile-label{left:8px!important;right:8px!important;bottom:8px!important;color:#17324a!important;font-size:8px!important;font-weight:900!important;text-shadow:none!important;line-height:1.12!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-slot-light{position:absolute;z-index:5;right:7px;top:7px;width:5px;height:5px;background:#4cd7a8;border:1px solid #2d8a80;box-shadow:0 0 0 2px rgba(255,255,255,.4)}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot.is-selected:before{content:"";position:absolute;z-index:7;width:6px;height:6px;right:17px;top:18px;border:1px solid #fff;background:#f5cf55;transform:rotate(45deg);animation:snSpark 1.8s ease-in-out infinite}

/* ---------- DS-like navigation hardware ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-dock{position:fixed!important;left:max(10px,calc((100vw - 540px)/2 + 10px))!important;right:max(10px,calc((100vw - 540px)/2 + 10px))!important;bottom:calc(env(safe-area-inset-bottom,0px) + 8px)!important;height:78px!important;border:2px solid #4f8fa5!important;border-radius:10px!important;background:linear-gradient(180deg,#f9fcff,#dbeafb)!important;box-shadow:inset 0 0 0 3px #fff,0 12px 30px rgba(37,77,107,.22)!important;backdrop-filter:none!important;padding:0 6px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock:before{content:"";position:absolute;left:8px;right:8px;top:5px;height:5px;background:repeating-linear-gradient(90deg,#55d3a8 0 20px,#78aee9 20px 38px,#4e98a7 38px 55px)}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock>button{height:66px!important;margin-top:7px!important;color:#648196!important;gap:3px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock>button.is-active{color:#1f6780!important;background:rgba(99,231,178,.13)!important;border-radius:5px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .px-nav-icon{width:42px!important;height:42px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .px-theme-icon{display:block!important;width:40px!important;height:40px!important;object-fit:contain!important;image-rendering:pixelated!important;filter:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock small{font:900 6px/1 ui-monospace,monospace!important;letter-spacing:.1em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .sn-core{width:62px!important;height:62px!important;border-radius:9px!important;transform:translateY(-10px)!important;background:linear-gradient(180deg,#c9f5e0,#a8e9cf)!important;border:2px solid #4e9a97!important;box-shadow:inset 0 0 0 3px #f9ffff,0 7px 0 #6eaeb0,0 10px 18px rgba(45,90,120,.18)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .sn-core img{width:43px!important;height:43px!important;border-radius:9px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .sn-core .px-core-ring{display:none!important}

/* ---------- PIXL Center becomes Sinnoh system menu ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-scrim,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-center-scrim{background:rgba(30,67,89,.22)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-panel{background:linear-gradient(180deg,#eff8ff,#d9ebff)!important;color:#17324a!important;border:2px solid #4f8fa5!important;border-bottom:0!important;border-radius:13px 13px 0 0!important;box-shadow:inset 0 0 0 3px #fff,0 -22px 50px rgba(38,81,108,.2)!important;padding:10px 16px calc(env(safe-area-inset-bottom,0px) + 20px)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-panel .px-center-grip{width:42px!important;height:5px!important;background:#8cb7c8!important;border-radius:2px!important;margin-bottom:9px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-head{padding:12px 4px 13px!important;border-bottom:1px solid rgba(44,113,140,.2)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-head>div>span{color:#2d7790!important;font:900 7px/1 ui-monospace,monospace!important;letter-spacing:.15em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-head h2{margin:4px 0 2px!important;color:#17324a!important;font-size:28px!important;letter-spacing:-.04em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-head small{color:#738a9d!important;font-size:10px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-head>button{width:42px!important;height:42px!important;border-radius:5px!important;border:1px solid #6fa2b5!important;background:#f9fcff!important;color:#315f73!important;box-shadow:0 4px 0 #a2bfce!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button{min-height:102px!important;padding:10px!important;border-radius:6px!important;border:1px solid #70a8b8!important;background:#f9fcff!important;color:#17324a!important;display:grid!important;grid-template-columns:58px 1fr!important;grid-template-rows:auto auto!important;align-items:center!important;text-align:left!important;box-shadow:inset 0 -3px rgba(69,132,151,.08)!important;transition:transform .12s steps(2,end),background .12s steps(2,end)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button:active{transform:translateY(2px)!important;background:#e0f5ed!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button>span{grid-row:1/3!important;width:56px!important;height:56px!important;border-radius:5px!important;background:#6de6b3!important;display:grid!important;place-items:center!important;padding:0!important;overflow:hidden!important;box-shadow:inset 0 -4px rgba(39,137,104,.12)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid .px-theme-icon{width:52px!important;height:52px!important;display:block!important;object-fit:contain!important;image-rendering:pixelated!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button>strong{font-size:14px!important;color:#17324a!important;align-self:end!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button>small{font-size:9px!important;color:#72899b!important;align-self:start!important;margin-top:3px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid .sn-resume{grid-column:1/-1!important;min-height:86px!important;grid-template-columns:68px 1fr!important;background:linear-gradient(180deg,#c9f5e0,#b0ecd0)!important;border-color:#4d9b91!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid .sn-resume>span{width:64px!important;height:64px!important;background:#eefaff!important;border:1px solid #5d9cab!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid .sn-resume .pixl-pokemon-mark{width:46px!important;height:46px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-foot{border-top:1px solid rgba(45,113,137,.18)!important;margin-top:11px!important;padding-top:10px!important;color:#6e8798!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-foot span,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-foot b{font:900 6px/1 ui-monospace,monospace!important;letter-spacing:.14em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center-foot i{background:#ef5963!important;box-shadow:none!important}

/* ---------- PC Box library ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-sheet{background:linear-gradient(180deg,#eef7ff,#dcecff)!important;color:#17324a!important;border:2px solid #4f8fa5!important;border-bottom:0!important;border-radius:13px 13px 0 0!important;box-shadow:inset 0 0 0 3px #fff,0 -24px 55px rgba(38,81,108,.18)!important;padding:10px 14px calc(env(safe-area-inset-bottom,0px) + 20px)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-top{padding:13px 3px 12px!important;border-bottom:1px solid rgba(44,113,140,.2)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-top>div>span{color:#2c768e!important;font:900 7px/1 ui-monospace,monospace!important;letter-spacing:.15em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-top h2{font-size:29px!important;color:#17324a!important;margin:4px 0 1px!important;letter-spacing:-.04em!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-top small{color:#7890a2!important;font-size:9px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-top>button{width:42px!important;height:42px!important;border-radius:5px!important;border:1px solid #70a6b9!important;background:#fff!important;color:#315f73!important;box-shadow:0 4px 0 #a1c0cf!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px 0 8px!important;overflow-y:auto!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot{position:relative!important;min-height:151px!important;border:1px solid #69a3b4!important;border-radius:6px!important;background:linear-gradient(180deg,#f9fcff,#e6f1fb)!important;padding:9px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:72px auto!important;align-items:center!important;text-align:left!important;box-shadow:inset 0 -3px rgba(55,115,137,.07)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot.is-current{border:2px solid #328c8e!important;background:linear-gradient(180deg,#d1f5e2,#b8ebd2)!important;box-shadow:inset 0 0 0 2px #fff!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot .px-library-cover{width:66px!important;height:66px!important;margin:auto!important;border-radius:5px!important;border:1px solid #5f9fad!important;background:#69e3af!important;display:grid!important;place-items:center!important;color:#2c7f91!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot .pixl-pokemon-mark{width:48px!important;height:48px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot .px-library-text{min-width:0!important;text-align:center!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot .px-library-text strong{display:block!important;color:#17324a!important;font-size:10px!important;line-height:1.12!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-slot .px-library-text small{display:block!important;color:#748b9d!important;font-size:8px!important;margin-top:3px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-number{position:absolute;left:7px;top:6px;color:#47798b;font:900 6px/1 ui-monospace,monospace}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library-led{position:absolute;right:7px;top:6px;width:5px;height:5px;background:#57d9aa;border:1px solid #2e8e7e}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-transfer-button{height:54px!important;border-radius:5px!important;border:1px solid #348e84!important;background:linear-gradient(180deg,#7aefc0,#55d6aa)!important;color:#173b3d!important;font:950 9px/1 ui-monospace,monospace!important;letter-spacing:.1em!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),0 5px 0 #3c9288!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-transfer-button .px-theme-icon{width:34px!important;height:34px!important;margin-right:8px!important;vertical-align:middle!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library .px-library-scrim{background:rgba(31,69,91,.2)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* ---------- Native installer/settings sheets: DS system styling ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] body>.modal{background:rgba(36,73,95,.25)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] body>.modal .sheet{background:linear-gradient(180deg,#eef7ff,#dcecff)!important;color:#17324a!important;border:2px solid #4f8fa5!important;border-bottom:0!important;border-radius:13px 13px 0 0!important;box-shadow:inset 0 0 0 3px #fff,0 -24px 55px rgba(38,81,108,.2)!important;padding-left:16px!important;padding-right:16px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sheet-grabber{background:#8eb8c8!important;border-radius:2px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sheet-head .eyebrow,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .details-title .eyebrow{color:#2c758d!important;font:900 8px/1 ui-monospace,monospace!important;letter-spacing:.14em!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sheet-head h2,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .details-title h2{color:#17324a!important;font-size:29px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sheet-head p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .details-title p{color:#728a9c!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .glass-button{border-radius:5px!important;border:1px solid #70a6b9!important;background:#fff!important;color:#315f73!important;box-shadow:0 4px 0 #a1c0cf!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .install-steps span{border-radius:4px!important;border-color:#7baabd!important;background:#eff8ff!important;color:#6f8798!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .install-steps span.active{background:#69e4b2!important;color:#173b3e!important;border-color:#348d82!important;box-shadow:none!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .install-steps i{background:rgba(57,121,143,.24)!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .dropzone{min-height:185px!important;border:2px dashed #79aebd!important;border-radius:6px!important;background:linear-gradient(180deg,#f9fcff,#edf6ff)!important;color:#17324a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .dropzone .drop-icon{width:58px!important;height:58px!important;border-radius:6px!important;background:#bff2d8!important;color:#327b72!important;box-shadow:inset 0 0 0 2px #fff!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .dropzone h3{color:#17324a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .dropzone p{color:#7890a2!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .privacy-note{margin-top:8px!important;padding:12px!important;border:1px solid #8bb5c2!important;background:#dff5ed!important;color:#53768a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .privacy-note svg{color:#4aa787!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .scan-card,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .result-card,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .inspection-card,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .runtime-card,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .setting-row{border-color:rgba(54,121,144,.22)!important;background:#f7fbff!important;color:#17324a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .scan-card p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .result-card p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .result-card small,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .inspection-grid small,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .compat-line p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .runtime-card p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .setting-row p{color:#72899b!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .inspection-grid div{border-color:rgba(54,121,144,.18)!important;background:#edf7ff!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .scan-progress{background:#c8deea!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .scan-progress span{background:repeating-linear-gradient(90deg,#55d5aa 0 28px,#75aee9 28px 52px)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .setting-icon{border-radius:5px!important;background:#bdf0d6!important;color:#327f83!important}

/* ---------- Theme / Shell studios become part of the exclusive world ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-scrim,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-scrim{background:rgba(35,71,93,.26)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-sheet,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-sheet{background:linear-gradient(180deg,#eef7ff,#dcecff)!important;color:#17324a!important;border-color:#4f8fa5!important;border-radius:13px 13px 0 0!important;box-shadow:inset 0 0 0 3px #fff,0 -24px 55px rgba(38,81,108,.2)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-sheet h2,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-sheet h2{color:#17324a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-sheet header p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-sheet header p,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-copy small,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-copy small{color:#72899b!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-sheet header>button,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-sheet header button{background:#fff!important;color:#315f73!important;border-color:#70a6b9!important;border-radius:5px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-tabs,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-tabs{border-radius:5px!important;background:#d6e9f5!important;border-color:#89b1c0!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-tabs button,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-tabs button{color:#657f92!important;border-radius:3px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-tabs button.is-active,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-tabs button.is-active{background:#bdf0d7!important;color:#244e5c!important;box-shadow:inset 0 0 0 1px #5a9ca5!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-card,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-card{border-radius:6px!important;border-color:#7aa9b8!important;background:#f8fcff!important;color:#17324a!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .pt-card.is-active,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .ps-card.is-active{background:#d2f4e2!important;border-color:#4d9993!important}

/* ---------- Exclusive launch effect ---------- */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui.is-launching:before{content:"";position:fixed;inset:0;z-index:500;background:#fff;pointer-events:none;animation:snLaunchFlash .68s ease-out forwards}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui.is-launching .sn-game-emblem{animation:snLaunchBall .58s cubic-bezier(.2,.85,.2,1) both}
@keyframes snLaunchFlash{0%{opacity:0}35%{opacity:.92}100%{opacity:0}}
@keyframes snLaunchBall{0%{transform:scale(1) rotate(0)}45%{transform:scale(.82) rotate(-14deg)}75%{transform:scale(1.12) rotate(12deg)}100%{transform:scale(.7) rotate(0);opacity:.15}}

/* ---------- Small phones ---------- */
@media(max-width:430px){
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-region-chip{display:none}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-system-bar{grid-template-columns:1fr 1fr!important}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-system-bar .px-system-right{justify-self:end!important}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-stage{min-height:374px!important;margin-left:12px!important;margin-right:12px!important}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-body{grid-template-columns:100px 1fr;gap:13px;padding:14px 13px 16px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem{width:98px;height:133px}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem .pixl-pokemon-mark{width:67px!important;height:67px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-stage-copy h1{font-size:clamp(25px,7.2vw,34px)!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-meta-row span{font-size:5.5px}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button{min-height:94px!important;grid-template-columns:52px 1fr!important;padding:8px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button>span{width:50px!important;height:50px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid .px-theme-icon{width:47px!important;height:47px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button>strong{font-size:13px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid>button>small{font-size:8px!important}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .px-nav-icon{width:38px!important;height:38px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock .px-theme-icon{width:37px!important;height:37px!important}html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock small{font-size:5.5px!important}
}

@media(prefers-reduced-motion:reduce){
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-diamond-field i,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem .pixl-pokemon-mark,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-game-emblem i,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-box-slot.is-selected,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot,html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-ball{animation:none!important}
  html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot{display:none!important}
}

/* Pokémon mark authority inside Sinnoh-exclusive layouts */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .pixl-pokemon-mark{opacity:1!important;padding:0!important;max-width:none!important;max-height:none!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .pixl-pokeball-core{width:100%!important;height:100%!important;opacity:1!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-game-emblem .pixl-pokemon-mark{width:78px!important;height:78px!important;max-width:78px!important;max-height:78px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot .px-tile-mono.is-pokemon-essentials{left:12px!important;right:12px!important;top:25px!important;bottom:34px!important;width:auto!important;height:auto!important;transform:none!important;display:grid!important;place-items:center!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot.is-selected .px-tile-mono.is-pokemon-essentials{left:12px!important;right:12px!important;top:25px!important;bottom:34px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot .px-tile-mono.is-pokemon-essentials .pixl-pokemon-mark{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot.is-selected .px-tile-mono.is-pokemon-essentials .pixl-pokemon-mark{width:66px!important;height:66px!important;max-width:66px!important;max-height:66px!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-library-slot .px-library-cover.is-pokemon-essentials .pixl-pokemon-mark{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;padding:0!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-boot-ball .pixl-pokemon-mark{width:100%!important;height:100%!important;opacity:1!important}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-menu-grid .sn-resume .pixl-pokemon-mark{width:46px!important;height:46px!important;opacity:1!important}

/* Exclusive menu motion language: short stepped DS-style snaps, not app-like easing */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-center-panel{animation:snPanelRise .12s steps(3,end) both}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button{animation:snMenuSlot .10s steps(2,end) both}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(2){animation-delay:.01s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(3){animation-delay:.02s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(4){animation-delay:.03s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(5){animation-delay:.02s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(6){animation-delay:.05s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(7){animation-delay:.06s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button:nth-child(8){animation-delay:.07s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library.is-open .sn-library-sheet{animation:snPanelRise .12s steps(3,end) both}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library.is-open .sn-library-slot{animation:snMenuSlot .10s steps(2,end) both}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library.is-open .sn-library-slot:nth-child(2){animation-delay:.02s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-library.is-open .sn-library-slot:nth-child(3){animation-delay:.04s}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .sn-dock>button.is-active .px-theme-icon{animation:snNavSelect .18s steps(2,end) both}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] body>.modal .sheet{animation:snPanelRise .12s steps(3,end) both}
@keyframes snPanelRise{from{opacity:.7;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes snMenuSlot{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes snNavSelect{0%{transform:translateY(2px) scale(.9)}60%{transform:translateY(-2px) scale(1.07)}100%{transform:none}}

@media(prefers-reduced-motion:reduce){
  html[data-pixl-theme="sinnoh"] .sn-center.is-open .sn-center-panel,
  html[data-pixl-theme="sinnoh"] .sn-center.is-open .sn-menu-grid>button,
  html[data-pixl-theme="sinnoh"] .sn-library.is-open .sn-library-sheet,
  html[data-pixl-theme="sinnoh"] .sn-library.is-open .sn-library-slot,
  html[data-pixl-theme="sinnoh"] .sn-dock>button.is-active .px-theme-icon,
  html[data-pixl-theme="sinnoh"] body>.modal .sheet{animation:none!important}
}


/* alpha.54 regression guard — PC Box labels remain readable and clear of the fixed dock. */
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box{
  padding-bottom:118px!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-grid{
  min-height:178px!important;
  padding-bottom:16px!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot,
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot.is-selected{
  background:linear-gradient(180deg,#c9f5dc 0%,#9ce4c4 100%)!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot:after{
  background:linear-gradient(180deg,transparent 0 61%,rgba(42,111,118,.08) 61% 100%)!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot .px-tile-mono,
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot .px-tile-mono.is-pokemon-essentials{
  bottom:43px!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot .px-tile-label{
  z-index:20!important;
  left:5px!important;
  right:5px!important;
  bottom:5px!important;
  min-height:30px!important;
  padding:5px 6px!important;
  box-sizing:border-box!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  color:#17324a!important;
  background:rgba(247,252,255,.94)!important;
  border:1px solid rgba(57,126,145,.34)!important;
  border-radius:3px!important;
  box-shadow:inset 0 1px #fff!important;
  text-shadow:none!important;
  font:900 7.5px/1.15 ui-monospace,SFMono-Regular,Menlo,monospace!important;
  letter-spacing:-.01em!important;
}
html[data-pixl-theme="sinnoh"][data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-box-slot.is-selected .px-tile-label{
  color:#102f43!important;
  background:#f8fdff!important;
  border-color:#3f8fa0!important;
}


/* PIXL alpha.57 — Sinnoh precision / performance authority */
html[data-pixl-theme="sinnoh"] .px-sinnoh-ui .sn-system-bar{
  background:rgba(238,247,255,.94)!important;
}
html[data-pixl-theme="sinnoh"] .sn-system-bar .px-system-right{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
}
html[data-pixl-theme="sinnoh"] .sn-system-bar .px-icon{
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  padding:0!important;margin:0!important;display:grid!important;place-items:center!important;overflow:hidden!important;
}
html[data-pixl-theme="sinnoh"] .sn-system-bar .px-icon .px-theme-icon{
  display:block!important;width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;
  margin:0!important;object-fit:contain!important;object-position:center!important;transform:none!important;
}
html[data-pixl-theme="sinnoh"] .px-adaptive-logo,
html[data-pixl-theme="sinnoh"] .sn-brand img,
html[data-pixl-theme="sinnoh"] .sn-core img{
  filter:var(--pixl-logo-filter)!important;
}
/* Ambient motion stays exclusive but is compositor-cheap. */
html[data-pixl-theme="sinnoh"] .sn-diamond-field i:nth-child(n+7){display:none!important}
html[data-pixl-theme="sinnoh"] .sn-mountain{filter:none!important}
html[data-pixl-theme="sinnoh"] .sn-game-emblem .pixl-pokemon-mark{filter:none!important}
html[data-pixl-theme="sinnoh"] .sn-center-scrim,
html[data-pixl-theme="sinnoh"] .px-center-scrim,
html[data-pixl-theme="sinnoh"] .sn-library .px-library-scrim,
html[data-pixl-theme="sinnoh"] body>.modal,
html[data-pixl-theme="sinnoh"] .pt-scrim,
html[data-pixl-theme="sinnoh"] .ps-scrim{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
