/* Pokémon Command Center v2.32.6
   One calm operational surface: manage the roster first, inspect deep systems
   on demand. This deliberately replaces the inherited stack of tiny cards. */
.pokemon-instance-v2326 {
  --command-ink:#153950;
  --command-muted:#668095;
  --command-line:#d5e5ec;
  --command-surface:#ffffff;
  --command-soft:#f4f9fb;
  color:var(--command-ink);
}
.pokemon-instance-v2326 .pokemon-detail-head-v2325 {
  display:flex;
  min-height:46px;
  align-items:center;
  margin-bottom:14px;
  padding:0 2px 12px;
}
.pokemon-instance-v2326 .pokemon-detail-head-v2325 > span {
  margin-left:auto;
  border:1px solid #bfe2ee;
  background:#eefaff;
  color:#197d9c;
  font-size:10px;
  letter-spacing:.08em;
}
.pokemon-instance-grid-v2326 {
  grid-template-columns:minmax(280px,330px) minmax(0,1fr)!important;
  align-items:start!important;
  gap:18px!important;
}
.pokemon-instance-v2326 .pokemon-instance-left-v2325,
.pokemon-instance-v2326 .pokemon-instance-right-v2326 { display:grid!important; align-content:start; gap:14px!important; }
.pokemon-instance-v2326 .pokemon-detail-hero-v2325 {
  min-height:212px!important;
  grid-template-columns:122px minmax(0,1fr)!important;
  border:1px solid color-mix(in srgb,var(--species-accent) 38%,var(--command-line))!important;
  border-radius:20px!important;
  background:radial-gradient(circle at 8% 12%,color-mix(in srgb,var(--species-accent) 17%,transparent),transparent 42%),var(--command-surface)!important;
  box-shadow:none!important;
}
.pokemon-instance-v2326 .pokemon-detail-portrait-v46 { width:126px!important; height:132px!important; }
.pokemon-instance-v2326 .pokemon-detail-hero-v2325 h2 { font-size:1.52rem!important; letter-spacing:-.03em; }
.pokemon-instance-v2326 .pokemon-detail-types { margin:8px 0!important; }
.pokemon-instance-v2326 .pokemon-energy-readout-v2325 { border-color:#f0da90; background:#fffdf4; }

.pokemon-command-center-v2326,
.pokemon-command-tab-body-v2326 > .pokemon-detail-section,
.pokemon-command-tab-body-v2326 > .pokemon-genome-v2325,
.pokemon-command-overview-v2326 {
  border:1px solid var(--command-line);
  border-radius:18px;
  background:var(--command-surface);
  box-shadow:none;
}
.pokemon-command-center-v2326 { padding:15px; }
.pokemon-command-center-v2326 header,
.pokemon-command-overview-v2326 > header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.pokemon-command-center-v2326 header > span,
.pokemon-command-overview-v2326 > header > span { display:grid; gap:3px; }
.pokemon-command-center-v2326 small,
.pokemon-command-overview-v2326 small { color:#5a7a90; font-size:9px; font-weight:900; letter-spacing:.1em; }
.pokemon-command-center-v2326 b,
.pokemon-command-overview-v2326 b { color:var(--command-ink); font-size:14px; line-height:1.2; }
.pokemon-command-center-v2326 header em {
  flex:0 0 auto;
  padding:6px 8px;
  border:1px solid #d8e5ea;
  border-radius:999px;
  background:#f5f8fa;
  color:#678091;
  font-size:9px;
  font-style:normal;
  font-weight:900;
  white-space:nowrap;
}
.pokemon-command-center-v2326 header em.is-team { border-color:#bfe2ef; background:#effaff; color:#187b9a; }
.pokemon-command-center-v2326 header em.is-lead { border-color:#b8dfc7; background:#eefaf2; color:#237650; }
.pokemon-command-center-v2326 > p { margin:10px 0 13px; color:var(--command-muted); font-size:11px; line-height:1.45; }
.pokemon-command-actions-v2326 { display:grid; grid-template-columns:1fr; gap:8px; }
.pokemon-command-actions-v2326 :is(button,span) {
  display:flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border:1px solid var(--command-line);
  border-radius:12px;
  font:800 11px/1 "Segoe UI Variable",system-ui,sans-serif;
  text-align:center;
}
.pokemon-command-primary-v2326 { border-color:#168bc1!important; background:#168bc1!important; color:#fff!important; cursor:pointer; }
.pokemon-command-secondary-v2326 { background:#fff!important; color:#315c74!important; cursor:pointer; }
.pokemon-command-current-v2326 { border-color:#b8dfc7!important; background:#effaf3!important; color:#24744e!important; }
.pokemon-command-protected-v2326 { border-color:#e5d596!important; background:#fffdf1!important; color:#7b651f!important; }
.pokemon-command-release-v2326 { margin-top:3px; border-color:#ebc4c7!important; background:#fff!important; color:#b84955!important; cursor:pointer; }
.pokemon-command-actions-v2326 button:disabled { cursor:not-allowed; opacity:.48; }

.pokemon-command-tabs-v2326 {
  display:flex;
  gap:4px;
  overflow-x:auto;
  padding:4px;
  border:1px solid var(--command-line);
  border-radius:14px;
  background:var(--command-soft);
  scrollbar-width:none;
}
.pokemon-command-tabs-v2326::-webkit-scrollbar { display:none; }
.pokemon-command-tab-v2326 {
  flex:1 0 auto;
  min-height:36px;
  padding:7px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#647f91;
  cursor:pointer;
  font:900 10px/1 "Segoe UI Variable",system-ui,sans-serif;
}
.pokemon-command-tab-v2326.is-active { background:#fff; box-shadow:0 2px 6px rgba(25,66,87,.12); color:#167faa; }
.pokemon-command-tab-v2326:focus-visible { outline:3px solid #61c9ee; outline-offset:1px; }
.pokemon-command-tab-body-v2326 { min-width:0; }
.pokemon-command-overview-stack-v2326 { display:grid; gap:14px; }
.pokemon-instance-v2326 .pokemon-evolution-v48 { min-height:118px; margin:0; padding:15px!important; border-radius:18px!important; }
.pokemon-instance-v2326 .pokemon-evolution-v48:after { display:none; }
.pokemon-command-overview-v2326 { padding:15px; }
.pokemon-command-overview-v2326 > header { margin-bottom:13px; }
.pokemon-command-overview-v2326 > header > strong { color:#24764e; font-size:13px; }
.pokemon-command-facts-v2326 { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0!important; }
.pokemon-command-facts-v2326 article { min-height:60px!important; padding:9px!important; border:1px solid #e0ebf0!important; border-radius:12px!important; background:#fbfdfe!important; }
.pokemon-command-facts-v2326 article b { font-size:10px!important; }
.pokemon-command-facts-v2326 .pokemon-caught-ball-fact-v2202 { grid-column:1/-1; }
.pokemon-instance-v2326 .pokemon-training-v2325,
.pokemon-instance-v2326 .pokemon-genome-v2325,
.pokemon-instance-v2326 .pokemon-mastery-section-v2325 { margin:0!important; }
.pokemon-instance-v2326 .pokemon-mastery-section-v2325 { background:#fff!important; }

@media (max-width:860px) {
  .pokemon-instance-grid-v2326 { grid-template-columns:1fr!important; }
  .pokemon-instance-v2326 .pokemon-instance-left-v2325 { grid-template-columns:1fr!important; }
  .pokemon-instance-v2326 .pokemon-detail-hero-v2325 { grid-column:auto; }
  .pokemon-command-center-v2326 { grid-column:auto; }
}
@media (max-width:560px) {
  .pokemon-instance-v2326 .pokemon-detail-head-v2325 { min-height:40px; margin-bottom:9px; padding-bottom:8px; }
  .pokemon-instance-v2326 .pokemon-detail-hero-v2325 { min-height:154px!important; grid-template-columns:94px minmax(0,1fr)!important; padding:11px!important; }
  .pokemon-instance-v2326 .pokemon-detail-portrait-v46 { width:96px!important; height:100px!important; }
  .pokemon-instance-v2326 .pokemon-detail-hero-v2325 h2 { font-size:1.25rem!important; }
  .pokemon-command-center-v2326,.pokemon-command-overview-v2326 { padding:12px; }
  .pokemon-command-facts-v2326 { grid-template-columns:1fr; }
  .pokemon-command-facts-v2326 .pokemon-caught-ball-fact-v2202 { grid-column:auto; }
  .pokemon-command-tab-v2326 { min-height:38px; padding:8px 10px; }
}
