.pc-screen {
  --pc-bg: #03111f;
  --pc-panel: rgba(3, 22, 38, 0.91);
  --pc-panel-soft: rgba(7, 34, 55, 0.88);
  --pc-line: #275a78;
  --pc-line-soft: rgba(97, 171, 210, 0.28);
  --pc-mint: #67ebc2;
  --pc-blue: #58bff5;
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 1180px;
  min-height: 760px;
  overflow: hidden;
  color: #f4fbff;
  background-color: var(--pc-bg);
  background-image: url("/assets/backgrounds/panorama-clean.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: "PT Sans", sans-serif;
  isolation: isolate;
}

.pc-screen::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(1, 15, 27, 0.58);
  pointer-events: none;
}

.pc-screen button,
.pc-screen input,
.pc-screen select {
  font: inherit;
}

.pc-screen button {
  cursor: pointer;
}

.pc-screen button:focus-visible,
.pc-screen input:focus-visible,
.pc-screen select:focus-visible {
  outline: 2px solid var(--pc-mint);
  outline-offset: 2px;
}

.pc-header {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto 64px;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid var(--pc-line);
  background: rgba(2, 17, 31, 0.94);
}

.pc-brandmark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 0 18px rgba(103, 235, 194, 0.26);
}

.pc-brandmark img { width: 58px; height: 58px; object-fit: contain; }
.pc-brandmark--device img { width: 52px; height: 52px; }

.pc-heading {
  min-width: 0;
}

.pc-heading span,
.pc-section-heading h2,
.pc-team-title span,
.pc-panorama-details > h2 {
  color: var(--pc-mint);
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pc-heading span {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-style: normal;
}

.pc-heading h1 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(28px, 2.5vw, 42px);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pc-wallet {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid #3e7ca2;
  border-radius: 12px;
  background: rgba(3, 20, 35, 0.85);
  font-family: "Exo 2", sans-serif;
  font-size: 21px;
}

.pc-wallet i {
  width: 1px;
  height: 32px;
  margin: 0 10px;
  background: #40718f;
}

.pc-coin { width: 24px; height: 24px; object-fit: contain; }
.pc-gem { width: 22px; height: 22px; color: #57c8ff; }

.pc-icon-button {
  display: grid;
  width: 58px;
  height: 58px;
  margin-left: 18px;
  place-items: center;
  border: 1px solid #497f9d;
  border-radius: 12px;
  color: #b9d7e8;
  background: #071d30;
}

.pc-icon-button svg { width: 26px; height: 26px; }

.pc-box-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--pc-line-soft);
  border-radius: 14px;
  background: rgba(3, 24, 42, 0.88);
}

.pc-box-tab {
  --box-tone: #59dfb7;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--box-tone), #07304b 50%);
  border-radius: 10px;
  text-align: left;
  background: rgba(2, 19, 34, 0.8);
}

.pc-box-tab:hover { background: rgba(10, 47, 68, 0.95); }
.pc-box-tab.is-active { border: 2px solid var(--pc-mint); box-shadow: 0 0 13px rgba(103, 235, 194, 0.38), inset 0 0 16px rgba(103, 235, 194, 0.09); }
.pc-box-tab--blue { --box-tone: #3aa6ff; }
.pc-box-tab--purple { --box-tone: #a070ff; }
.pc-box-tab--pink { --box-tone: #ff5e80; }
.pc-box-tab--orange { --box-tone: #ff852d; }
.pc-box-tab--gold { --box-tone: #ffbf3f; }

.pc-box-cube {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #06283a;
  background: var(--box-tone);
  box-shadow: inset 0 -8px rgba(0, 0, 0, 0.18);
}

.pc-box-cube svg { width: 25px; height: 25px; }
.pc-box-tab > span:last-child { display: grid; gap: 2px; min-width: 0; }
.pc-box-tab b { overflow: hidden; font-family: "Exo 2"; font-size: 18px; font-style: italic; text-overflow: ellipsis; white-space: nowrap; }
.pc-box-tab small { font-size: 14px; }

.pc-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, .65fr) minmax(180px, .75fr);
  gap: 12px;
  min-width: 0;
}

.pc-filters--compact { grid-template-columns: minmax(220px, 1fr) minmax(150px, .7fr); }

.pc-search,
.pc-filters select {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 13px;
  border: 1px solid #2c6687;
  border-radius: 8px;
  color: #b8cede;
  background: rgba(2, 17, 30, .94);
}

.pc-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #eef9ff;
  background: transparent;
}

.pc-search input::placeholder { color: #9bb1c2; }
.pc-filters select { padding-right: 34px; color-scheme: dark; }

.pc-section-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.pc-section-heading h2 { margin: 0; font-size: 28px; }
.pc-section-heading > span { color: #b8cada; font-size: 16px; white-space: nowrap; }
.pc-section-heading .pc-filters { flex: 1; margin-left: auto; }

.pc-card-grid {
  display: grid;
  min-width: 0;
  min-height: 0;
  gap: 10px;
}

.pc-card-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
.pc-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }

.pc-slot-scroll {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 7px 8px 2px;
  overscroll-behavior: contain;
  scrollbar-color: #4fa8d1 #061927;
  scrollbar-width: thin;
}

.pc-slot-grid {
  display: grid;
  min-width: 0;
  min-height: 100%;
  align-content: start;
  gap: 10px;
}

.pc-slot-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 182px; }
.pc-slot-grid--eight { grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 154px; gap: 7px; }
.pc-slot-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 178px; }

.pc-slot {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: 11px;
  font-family: "Exo 2", sans-serif;
  text-align: center;
  background-image: url("/assets/patterns/square-pattern-30.svg");
  background-size: 64px;
}

.pc-slot svg { width: 26px; height: 26px; }
.pc-slot span { font-size: 13px; font-style: italic; font-weight: 700; }
.pc-slot small { font-size: 10px; font-weight: 700; letter-spacing: .08em; }

.pc-slot--empty {
  border: 1px dashed #376e89;
  color: #7196aa;
  background-color: rgba(5, 31, 48, .68);
}

.pc-slot--empty svg { color: #55a7c7; }

.pc-slot--locked {
  border: 1px solid #2d4556;
  color: #647988;
  background-color: rgba(2, 14, 25, .92);
  opacity: .78;
}

.pc-slot--locked svg { color: #8699a5; }

.pc-locked-divider {
  display: flex;
  min-height: 66px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 4px;
  border: 1px solid #435462;
  border-radius: 11px;
  color: #9cafbc;
  background: #071725;
  font-family: "Exo 2", sans-serif;
}

.pc-locked-divider svg { width: 24px; height: 24px; }
.pc-locked-divider span { display: grid; gap: 3px; }
.pc-locked-divider b { color: #d0dbe2; font-size: 14px; font-style: italic; }
.pc-locked-divider small { font-size: 12px; }

.pc-storage-card {
  --rarity: #66839a;
  box-sizing: border-box;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 2px 6px;
  padding: 9px 10px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  text-align: left;
  background-color: var(--card-type-primary, #53697a);
  background-image: url("/assets/patterns/square-pattern-30.svg");
  background-size: 72px;
  box-shadow: inset 0 -32px rgba(25, 6, 40, .7);
}

.pc-storage-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
  opacity: var(--card-secondary-opacity, 0);
  background-color: var(--card-type-secondary, #53697a);
  background-image: url("/assets/patterns/square-pattern-30.svg");
  background-size: 72px;
  pointer-events: none;
}

.pc-storage-card::after {
  position: absolute;
  inset: auto 12% 27px;
  height: 14px;
  border: 1px solid color-mix(in srgb, var(--rarity), transparent 55%);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 15px color-mix(in srgb, var(--rarity), transparent 55%);
}

.pc-storage-card:hover { filter: brightness(1.08); }
.pc-storage-card.is-selected { border: 2px solid var(--pc-mint); box-shadow: 0 0 13px rgba(103, 235, 194, .5), inset 0 -32px rgba(25, 6, 40, .7), inset 0 0 16px rgba(103, 235, 194, .08); }
.rarity-common { --rarity: #d3e0e5; }
.rarity-uncommon { --rarity: #67e3a5; }
.rarity-rare { --rarity: #55c5ff; }
.rarity-epic { --rarity: #d184f4; }
.rarity-legendary { --rarity: #ffd45f; }
.rarity-mythic { --rarity: #ff8bcf; }
.rarity-perfect { --rarity: #9df8ff; }
.rarity-unknown { --rarity: #98a9b3; }

.pc-storage-card.rarity-perfect {
  border: 0;
  outline: 0;
  box-shadow: 0 0 18px rgba(111, 245, 255, .5), 0 0 5px rgba(255, 225, 107, .75), inset 0 -32px rgba(25, 6, 40, .72);
  animation: pc-perfect-pulse 1.8s ease-in-out infinite alternate;
}

.pc-storage-card.rarity-perfect.is-selected {
  border: 2px solid #cfffff;
  box-shadow: 0 0 22px rgba(111, 245, 255, .72), 0 0 7px rgba(255, 225, 107, .92), inset 0 -32px rgba(25, 6, 40, .72);
}

.pc-storage-card.rarity-perfect .pc-card-name { color: #f4ffff; text-shadow: 0 0 8px rgba(111, 245, 255, .8), 0 2px 2px rgba(0, 0, 0, .82); }
.pc-storage-card.rarity-perfect .pc-card-meta em { padding: 2px 6px; border: 1px solid #ffe16b; border-radius: 999px; color: #9df8ff; background: #08283a; box-shadow: 0 0 9px rgba(111, 245, 255, .55); }
.pc-storage-card.rarity-perfect .pc-card-meta em::before { content: "★ "; color: #ffe16b; }

@keyframes pc-perfect-pulse {
  from { filter: brightness(1); }
  to { filter: brightness(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .pc-storage-card.rarity-perfect { animation: none; }
}

.pc-type-dot {
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.type-grass { color: #77dc5a; }
.type-fire { color: #ff7750; }
.type-water { color: #58bfff; }
.type-ghost, .type-psychic { color: #bd78dc; }
.type-rock, .type-fighting { color: #d59a4a; }
.type-normal { color: #aab7c0; }
.type-dragon { color: #aa7ef2; }
.type-fairy { color: #ff94c2; }
.type-electric { color: #f5d849; }
.type-steel { color: #9fc8d8; }
.type-dark { color: #9e87b4; }
.type-flying { color: #7bb7e6; }

.pc-card-name {
  z-index: 1;
  align-self: center;
  overflow: hidden;
  font-family: "Exo 2";
  font-size: clamp(12px, 1.03vw, 16px);
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .82);
}

.pc-gender { z-index: 1; color: #9aafbb; font-size: 20px; line-height: 1; }
.pc-gender.is-male { color: #58c5ff; }
.pc-gender.is-female { color: #ff6aa4; }
.pc-gender.is-none { color: #9aafbb; }

.pc-storage-card .pc-sprite {
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 54px;
  grid-column: 1 / -1;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 3px rgba(0, 0, 0, .35));
}

.pc-card-meta {
  z-index: 1;
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .82);
}

.pc-card-meta em { color: var(--rarity); font-size: 12px; font-style: normal; font-weight: 700; }

.pc-card-hp {
  z-index: 1;
  position: relative;
  display: block;
  height: 7px;
  grid-column: 1 / -1;
  border-radius: 8px;
  background: #102536;
}

.pc-card-hp i { display: block; height: 100%; border-radius: inherit; background: #58dfad; }
.pc-card-hp small { position: absolute; right: 0; bottom: 8px; font-size: 11px; }
.pc-slot-index { position: absolute; z-index: 2; top: 31px; right: 7px; padding: 1px 4px; border-radius: 4px; color: rgba(234, 247, 255, .75); background: rgba(2, 17, 30, .58); font-family: "Exo 2", sans-serif; font-size: 8px; font-style: normal; letter-spacing: .04em; }
.pc-storage-card.is-tile { grid-template-rows: auto minmax(0,1fr) auto; padding: 8px; }
.pc-storage-card.is-tile .pc-type-dot { position: absolute; top: 8px; left: 8px; }
.pc-storage-card.is-tile .pc-card-name { grid-column: 1 / -1; padding-left: 28px; }
.pc-storage-card.is-tile .pc-gender { position: absolute; top: 9px; right: 9px; }
.pc-storage-card.is-tile .pc-sprite { min-height: 65px; }
.pc-storage-card.is-dense .pc-card-hp small { display: none; }

.pc-team-strip {
  min-width: 0;
  min-height: 0;
}

.pc-team-title { display: flex; align-items: baseline; gap: 12px; height: 22px; }
.pc-team-title span { font-size: 14px; font-style: normal; }
.pc-team-title b { font-size: 20px; }
.pc-team-members { display: grid; height: calc(100% - 22px); grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }

.pc-team-member {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid #2d6b89;
  border-radius: 9px;
  text-align: left;
  background-color: var(--card-type-primary, #53697a);
  background-image: url("/assets/patterns/square-pattern-30.svg");
  background-size: 54px;
  box-shadow: inset 0 -14px rgba(25, 6, 40, .58);
}

.pc-team-member::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
  opacity: var(--card-secondary-opacity, 0);
  background-color: var(--card-type-secondary, #53697a);
  background-image: url("/assets/patterns/square-pattern-30.svg");
  background-size: 54px;
  pointer-events: none;
}

.pc-team-member > * { position: relative; z-index: 1; }

.pc-team-member:hover,
.pc-team-member.is-selected { border-color: var(--pc-mint); filter: brightness(1.08); }
.pc-team-member .pc-sprite { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.pc-team-member > span { display: grid; min-width: 0; gap: 2px; }
.pc-team-member b { overflow: hidden; font-family: "Exo 2"; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pc-team-member small { color: #c2d9e7; }
.pc-team-member i { height: 5px; overflow: hidden; border-radius: 4px; background: #143144; }
.pc-team-member u { display: block; height: 100%; border-radius: inherit; background: #59dcae; text-decoration: none; }
.pc-team-member em { position: absolute; top: 5px; right: 7px; color: #58c5ff; font-size: 18px; font-style: normal; }

.pc-hero-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-color: rgba(1, 19, 31, .34);
  background-image: url("/assets/backgrounds/panorama-clean.png");
  background-position: center;
  background-size: cover;
}

.pc-hero-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(2, 23, 35, .2);
}

.pc-hero-copy { position: absolute; z-index: 2; left: 26px; bottom: 120px; }
.pc-hero-symbol { display: inline-block; margin-right: 12px; color: #e9f6ff; font-size: 38px; vertical-align: middle; }
.pc-hero-copy h2 { display: inline; margin: 0; font-family: "Exo 2"; font-size: 42px; font-style: italic; }
.pc-hero-copy div { display: flex; align-items: center; gap: 14px; margin-top: 6px; color: var(--pc-mint); font-size: 22px; }
.pc-hero-copy em { padding: 3px 9px; border: 1px solid #f1c440; border-radius: 8px; color: #f1c440; font-size: 14px; font-style: normal; }

.pc-pedestal {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 70px;
  display: grid;
  width: 62%;
  height: 64%;
  place-items: end center;
  border-bottom: 10px solid rgba(103, 235, 194, .36);
  border-radius: 50%;
  box-shadow: 0 12px 18px rgba(0,0,0,.35), 0 3px 20px rgba(103,235,194,.38);
}

.pc-pedestal .pc-sprite { width: 86%; height: 100%; object-fit: contain; object-position: center bottom; image-rendering: pixelated; filter: drop-shadow(0 16px 7px rgba(0,0,0,.55)); }
.pc-hero-health { position: absolute; z-index: 2; right: 22px; bottom: 27px; display: grid; width: 88%; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.pc-hero-health::before { position: absolute; left: 0; width: calc(100% - 94px); height: 10px; border-radius: 8px; content: ""; background: #153047; }
.pc-hero-health i { z-index: 1; display: block; height: 10px; border-radius: 8px; background: #60e4b8; }

.pc-profile-facts { min-width: 0; min-height: 0; }
.pc-profile-facts article { min-width: 0; }
.pc-profile-facts span { display: block; color: #8fb0c4; font-family: "Exo 2"; font-size: 13px; }
.pc-profile-facts b { display: block; margin-top: 4px; font-family: "Exo 2"; font-size: 19px; }
.pc-profile-facts p { margin: 6px 0 0; color: #c1d3df; font-size: 14px; line-height: 1.3; }
.pc-profile-facts--cards { display: grid; gap: 0; }
.pc-profile-facts--cards article { padding: 18px 20px; border: 1px solid var(--pc-line-soft); border-radius: 8px; background: rgba(7, 34, 53, .74); }
.pc-profile-facts--cards .pc-meter i { display: block; height: 8px; margin-top: 12px; overflow: hidden; border-radius: 6px; background: #143246; }
.pc-profile-facts--cards .pc-meter u { display: block; height: 100%; border-radius: inherit; background: #5bdbae; }
.pc-profile-facts--line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc-profile-facts--line article { padding: 10px 18px; border-right: 1px solid var(--pc-line); }
.pc-profile-facts--line article:last-child { border-right: 0; }

.pc-actions { display: grid; grid-template-columns: .85fr 1.12fr .85fr; gap: 30px; align-items: stretch; }
.pc-action { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #3c7797; border-radius: 12px; font-family: "Exo 2"; font-size: 20px; font-style: italic; }
.pc-action svg { width: 26px; height: 26px; }
.pc-action--secondary { color: #b8d3e3; background: rgba(3, 22, 38, .93); }
.pc-action--secondary.is-on { color: var(--pc-mint); border-color: var(--pc-mint); }
.pc-action--primary { border: 2px solid #d8fff2; color: #064c50; background: #77e7c2; box-shadow: 0 5px 0 #14958e; }

.pc-transfer-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  border: 2px solid #d9fff2;
  border-radius: 12px;
  color: #064c50;
  background: #74e4c0;
  box-shadow: 0 4px 0 #138b88;
  font-family: "Exo 2";
  font-size: 22px;
  font-style: italic;
  text-align: left;
}

.pc-transfer-large svg { width: 28px; height: 28px; }
.pc-toast { position: absolute; z-index: 30; right: 28px; top: 95px; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--pc-mint); border-radius: 10px; color: #eafff8; background: #0a3a43; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pc-modal-backdrop { position: absolute; z-index: 50; inset: 0; display: grid; place-items: center; background: rgba(0, 8, 16, .7); }
.pc-modal { width: 420px; padding: 24px; border: 1px solid #4c8eaf; border-radius: 16px; background: #061d30; box-shadow: 0 25px 70px rgba(0,0,0,.55); }
.pc-modal > div { display: flex; align-items: center; justify-content: space-between; color: var(--pc-mint); }
.pc-modal > div button { padding: 6px; background: transparent; }
.pc-modal h2 { margin: 12px 0 18px; font-family: "Exo 2"; font-style: italic; }
.pc-modal input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #397394; border-radius: 8px; color: white; background: #021322; }
.pc-modal > button { display: flex; width: 100%; height: 48px; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; border-radius: 8px; color: #064c50; background: var(--pc-mint); font-weight: 700; }
.pc-empty { display: grid; grid-column: 1 / -1; grid-row: 1 / -1; place-items: center; color: #aac1cf; font-size: 18px; }

/* Opção 1 — grade ampla */
.pc-screen--grid {
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr) 155px;
  gap: 10px;
  padding: 14px 24px 18px;
}

.pc-screen--grid .pc-header { margin: -14px -24px 0; padding: 10px 30px; }
.pc-grid-main { display: grid; min-width: 0; min-height: 0; grid-template-columns: 405px minmax(0, 1fr); gap: 20px; }
.pc-grid-profile { display: grid; min-height: 0; grid-template-rows: minmax(0, 1fr) 142px 48px; overflow: hidden; border: 1px solid #2e6787; border-radius: 13px; background: var(--pc-panel); }
.pc-grid-profile .pc-hero-stage { border-radius: 12px 12px 0 0; }
.pc-grid-profile .pc-hero-stage { background-image: url("/assets/backgrounds/journey-world.webp"); }
.pc-grid-profile .pc-hero-copy { left: 24px; bottom: 66px; }
.pc-grid-profile .pc-hero-copy h2 { font-size: 39px; }
.pc-grid-profile .pc-hero-copy div { font-size: 20px; }
.pc-grid-profile .pc-pedestal { right: 8%; bottom: 176px; width: 84%; height: 55%; }
.pc-grid-profile .pc-hero-health { display: grid; bottom: 26px; }
.pc-grid-profile .pc-profile-facts { padding: 6px 14px; }
.pc-grid-profile .pc-profile-facts article { padding: 8px 10px; }
.pc-grid-profile .pc-profile-facts p { display: none; }
.pc-grid-profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 12px; }
.pc-grid-profile-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #397494; border-radius: 8px; color: #b9d0de; background: #081c2d; font-family: "Exo 2"; font-style: italic; }
.pc-grid-box { display: grid; min-width: 0; min-height: 0; grid-template-rows: 48px minmax(0, 1fr); gap: 8px; padding: 14px 16px 16px; border: 1px solid #2e6787; border-radius: 13px; background: var(--pc-panel); }
.pc-grid-box .pc-section-heading .pc-filters { max-width: 625px; }
.pc-grid-footer { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; padding: 10px 14px; border: 1px solid #2e6787; border-radius: 13px; background: var(--pc-panel); }

/* Opção 2 — arquivo panorâmico */
.pc-screen--panorama { display: grid; grid-template-rows: 104px minmax(0, 1fr); }
.pc-screen--panorama { background-image: url("/assets/backgrounds/camp-clean.png"); }
.pc-screen--panorama::before { background: rgba(1, 15, 27, .28); }
.pc-screen--panorama .pc-header { padding: 14px 30px; }
.pc-panorama-layout {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 274px;
  grid-template-rows: 112px 370px 222px 65px 82px;
  gap: 10px 16px;
  padding: 14px 30px 20px;
  align-content: start;
}

.pc-box-tabs--vertical { display: flex; min-height: 0; grid-column: 1; grid-row: 1 / -1; flex-direction: column; gap: 10px; padding: 15px 9px; }
.pc-box-tabs__label { color: #99afbf; font-family: "Exo 2"; font-size: 12px; text-align: center; }
.pc-box-tabs--vertical .pc-box-tab { flex: 1; gap: 9px; padding: 8px; }
.pc-box-tabs--vertical .pc-box-tab b { font-size: 16px; }
.pc-box-tabs--vertical .pc-box-cube { width: 36px; height: 36px; }
.pc-new-box { height: 43px; border: 1px solid #42b894; border-radius: 9px; color: #66e5bd; background: #0a3742; font-size: 13px; }
.pc-screen--panorama .pc-team-strip { grid-column: 1 / 3; grid-row: 1; padding: 5px 10px 10px; border: 1px solid #2c6382; border-radius: 10px; background: var(--pc-panel); }
.pc-screen--panorama .pc-team-member { grid-template-columns: 35% 1fr; }
.pc-screen--panorama .pc-team-member b { font-size: 11px; }
.pc-screen--panorama .pc-team-member em { top: 3px; }
.pc-screen--panorama .pc-hero-stage { grid-column: 1; grid-row: 2; border-radius: 14px; }
.pc-screen--panorama .pc-hero-stage { background-image: url("/assets/backgrounds/camp-clean.png"); }
.pc-screen--panorama .pc-hero-stage::before { background: rgba(2, 23, 35, .16); }
.pc-hero-stage--compact .pc-hero-copy { left: 160px; bottom: auto; top: 80px; }
.pc-hero-stage--compact .pc-hero-copy h2 { font-size: 38px; }
.pc-hero-stage--compact .pc-pedestal { right: 22%; bottom: 115px; width: 36%; height: 55%; }
.pc-hero-stage--compact .pc-pedestal .pc-sprite { width: 74%; }
.pc-stage-arrow { position: absolute; z-index: 4; top: 48%; display: grid; width: 42px; height: 58px; place-items: center; color: var(--pc-mint); background: transparent; }
.pc-stage-arrow svg { width: 38px; height: 38px; }
.pc-stage-arrow--left { left: 18px; }
.pc-stage-arrow--right { right: 18px; }
.pc-panorama-details { grid-column: 2; grid-row: 2 / 4; align-self: start; width: 100%; height: 590px; margin-top: 45px; padding: 14px; border: 1px solid #2e6787; border-radius: 13px; background: var(--pc-panel); }
.pc-panorama-details > h2 { margin: 0 0 8px; font-size: 14px; font-style: normal; }
.pc-panorama-details .pc-profile-facts { display: grid; height: calc(100% - 26px); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 0; }
.pc-panorama-details .pc-profile-facts article { display: flex; flex-direction: column; justify-content: center; padding: 10px 6px; border: 0; border-top: 1px solid var(--pc-line-soft); border-radius: 0; background: transparent; }
.pc-panorama-details .pc-profile-facts p { font-size: 13px; }
.pc-panorama-shelf { display: grid; min-width: 0; min-height: 0; grid-column: 1; grid-row: 3; grid-template-rows: 36px minmax(0, 1fr); padding: 10px; border: 1px solid #2e6787; border-radius: 13px; background: var(--pc-panel); }
.pc-panorama-shelf .pc-section-heading { justify-content: space-between; }
.pc-panorama-shelf .pc-section-heading h2 { font-size: 20px; }
.pc-shelf-cards { display: grid; min-width: 0; min-height: 0; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.pc-panorama-layout > .pc-filters { grid-column: 1; grid-row: 4; }
.pc-panorama-layout > .pc-filters .pc-search,
.pc-panorama-layout > .pc-filters select { height: 65px; }
.pc-panorama-layout > .pc-actions { position: relative; top: 20px; grid-column: 1; grid-row: 5; }

/* Opção 3 — central de comando */
.pc-screen--command { display: grid; grid-template-rows: 78px minmax(0, 1fr) 166px; gap: 10px; padding: 14px 20px 18px; }
.pc-screen--command .pc-header { margin: -14px -20px 0; padding: 10px 30px; }
.pc-command-main { display: grid; min-width: 0; min-height: 0; grid-template-columns: 500px minmax(0, 1fr); gap: 18px; }
.pc-command-stage { min-width: 0; min-height: 0; overflow: hidden; border-radius: 13px; }
.pc-command-stage .pc-hero-stage { width: 100%; height: 100%; }
.pc-command-stage .pc-hero-copy { left: 65px; bottom: 146px; }
.pc-command-stage .pc-pedestal { right: 1%; bottom: 259px; width: 66%; height: 55%; border-bottom-color: rgba(244, 191, 60, .65); box-shadow: 0 12px 18px rgba(0,0,0,.35), 0 3px 20px rgba(244,191,60,.38); }
.pc-command-stage .pc-hero-health { bottom: 126px; }
.pc-command-box { position: relative; display: grid; min-width: 0; min-height: 0; grid-template-rows: 142px 44px 42px minmax(0, 1fr); gap: 6px; padding: 0 14px 52px; border: 0; border-radius: 13px; background: transparent; isolation: isolate; }
.pc-command-box::before { position: absolute; inset: 192px 0 40px; z-index: 0; border: 1px solid #2e6787; border-radius: 13px; content: ""; background: var(--pc-panel); }
.pc-command-box > * { position: relative; z-index: 1; }
.pc-command-tools { display: grid; grid-template-columns: minmax(0,1fr) 38px 38px; gap: 8px; }
.pc-command-tools { grid-row: 2; }
.pc-command-box > .pc-section-heading { grid-row: 3; }
.pc-command-box > .pc-slot-scroll { grid-row: 4; }
.pc-command-tools .pc-filters { min-width: 0; }
.pc-command-tools > button { display: grid; place-items: center; border: 1px solid #2e6687; border-radius: 8px; background: #071c2e; }
.pc-command-box .pc-section-heading h2 { font-size: 27px; }
.pc-command-footer { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.2fr) 150px 205px; gap: 12px; padding: 10px 14px; border: 1px solid #2e6787; border-radius: 13px; background: var(--pc-panel); }
.pc-command-footer .pc-team-member { grid-template-columns: 1fr; padding: 4px; text-align: center; }
.pc-command-footer .pc-team-member > span { display: none; }
.pc-command-footer .pc-team-member em { top: 3px; right: 4px; }
.pc-command-footer .pc-profile-facts { align-self: center; }
.pc-command-footer .pc-profile-facts article { padding: 10px; }
.pc-command-footer .pc-profile-facts p { font-size: 12px; }
.pc-command-buttons { display: grid; align-content: center; gap: 9px; }
.pc-command-buttons button { display: flex; height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #397494; border-radius: 8px; background: #071c2e; font-family: "Exo 2"; font-size: 13px; }

@media (max-width: 1550px) {
  .pc-grid-box { grid-template-rows: 92px minmax(0, 1fr); }
  .pc-grid-box .pc-section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 34px 42px;
    column-gap: 10px;
  }
  .pc-grid-box .pc-section-heading > span { justify-self: start; }
  .pc-grid-box .pc-section-heading .pc-filters {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
  }
}

@media (max-height: 900px) {
  .pc-screen--grid { grid-template-rows: 64px minmax(0, 1fr) 122px; padding-top: 10px; }
  .pc-screen--grid .pc-header { margin-top: -10px; }
  .pc-screen--panorama { grid-template-rows: 86px minmax(0,1fr); }
  .pc-panorama-layout { grid-template-rows: 92px minmax(220px,1fr) 186px 56px 68px; padding-top: 10px; }
  .pc-screen--command { grid-template-rows: 64px minmax(0,1fr) 142px; padding-top: 10px; }
  .pc-screen--command .pc-header { margin-top: -10px; }
  .pc-heading h1 { font-size: 30px; }
  .pc-pedestal { bottom: 55px; }
}

/* Fluxo aprovado: arquivo aberto, herói elemental e editor completo. */
.pc-screen--grid {
  grid-template-rows: 82px minmax(0, 1fr) 142px;
  gap: 14px;
  padding: 14px 22px 16px;
  background-image: linear-gradient(rgba(1, 16, 29, .72), rgba(1, 16, 29, .78)), url("/assets/backgrounds/panorama-clean.png");
}

.pc-screen--grid.is-editor-open { grid-template-rows: 82px minmax(0, 1fr); }
.pc-screen--grid::before { background: radial-gradient(circle at 22% 42%, rgba(22, 95, 126, .18), transparent 38%), rgba(1, 12, 23, .42); }
.pc-screen--grid .pc-header { margin: -14px -22px 0; padding: 12px 28px; }

.pc-header {
  grid-template-columns: minmax(0, 1fr) auto 58px;
  gap: 18px;
  border: 0;
  background: rgba(1, 15, 27, .9);
}

.pc-heading { display: flex; flex-direction: column; justify-content: center; }
.pc-heading h1 { color: #f4fbff; font-size: clamp(30px, 2.45vw, 43px); }
.pc-heading h1 span { display: inline; margin: 0; color: var(--pc-mint); font-size: inherit; font-style: italic; letter-spacing: inherit; }
.pc-wallet { height: auto; gap: 10px; padding: 0; border: 0; background: transparent; }
.pc-wallet-item { display: flex; min-width: 150px; height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border-radius: 12px; background: rgba(4, 27, 44, .94); box-shadow: inset 0 0 0 1px rgba(84, 147, 181, .62); }
.pc-wallet-item b { font-size: 20px; }
.pc-icon-button { width: 54px; height: 54px; margin: 0; border: 0; background: rgba(5, 29, 47, .96); box-shadow: inset 0 0 0 1px rgba(86, 151, 185, .58); }

.pc-grid-main { grid-template-columns: clamp(365px, 27vw, 485px) minmax(0, 1fr); gap: 18px; }
.pc-grid-profile { grid-template-rows: minmax(0, 1fr) 104px 48px 72px; border: 0; border-radius: 14px; background: rgba(3, 22, 38, .68); box-shadow: 0 16px 42px rgba(0, 0, 0, .28); }
.pc-grid-profile .pc-hero-stage { border-radius: 14px; background-color: var(--card-type-primary); background-image: linear-gradient(145deg, color-mix(in srgb, var(--card-type-primary) 74%, transparent), transparent 58%), linear-gradient(320deg, color-mix(in srgb, var(--card-type-secondary) 54%, transparent), transparent 60%), url("/assets/patterns/square-pattern-30.svg"), url("/assets/backgrounds/journey-world.webp"); background-blend-mode: multiply, screen, soft-light, normal; background-position: center; background-size: auto, auto, 74px, cover; }
.pc-grid-profile .pc-hero-stage::before { background: linear-gradient(180deg, rgba(0, 12, 22, .08) 25%, rgba(0, 13, 25, .14) 55%, rgba(0, 10, 20, .82) 100%); }
.pc-hero-type-badges { position: absolute; z-index: 4; top: 18px; left: 18px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 36px); }
.pc-hero-type-badge { display: flex; height: 34px; align-items: center; gap: 8px; padding: 0 13px; border-radius: 999px; color: #effcff; background: rgba(2, 24, 38, .75); box-shadow: inset 0 0 0 1px rgba(235, 255, 250, .52); font-family: "Exo 2", sans-serif; font-size: 13px; text-transform: uppercase; }
.pc-hero-type-badge img { width: 21px; height: 21px; object-fit: contain; }
.pc-grid-profile .pc-pedestal { right: 4%; bottom: 113px; width: 92%; height: 64%; border-bottom: 7px solid color-mix(in srgb, var(--card-type-primary), #baffec 46%); box-shadow: 0 12px 18px rgba(0, 0, 0, .3), 0 4px 23px color-mix(in srgb, var(--card-type-primary), transparent 35%); }
.pc-grid-profile .pc-pedestal .pc-sprite { width: 91%; height: 104%; }
.pc-grid-profile .pc-hero-copy { right: 22px; bottom: 54px; left: 22px; text-align: left; }
.pc-grid-profile .pc-hero-copy h2 { display: block; overflow: hidden; margin: 0; font-size: clamp(31px, 2.3vw, 43px); line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.pc-grid-profile .pc-hero-copy div { margin-top: 7px; font-size: 19px; }
.pc-grid-profile .pc-hero-copy em { color: var(--rarity); font-style: normal; font-weight: 800; }
.pc-grid-profile .pc-hero-copy strong { color: #6bcaff; font-size: 22px; }
.pc-grid-profile.rarity-perfect .pc-hero-stage { box-shadow: inset 0 0 0 2px #9df8ff, inset 0 0 0 5px rgba(255, 225, 107, .45), 0 0 20px rgba(111, 245, 255, .38); }
.pc-grid-profile.rarity-perfect .pc-hero-copy em { padding: 3px 9px; border: 1px solid #ffe16b; border-radius: 999px; background: rgba(5, 38, 55, .88); box-shadow: 0 0 10px rgba(111, 245, 255, .55); }
.pc-grid-profile.rarity-perfect .pc-hero-copy em::before { content: "★ "; color: #ffe16b; }
.pc-grid-profile .pc-hero-health { right: 22px; bottom: 18px; width: calc(100% - 44px); grid-template-columns: minmax(0, 1fr) auto; }
.pc-grid-profile .pc-hero-health::before { display: none; }
.pc-grid-profile .pc-hero-health > span { display: block; height: 9px; overflow: hidden; border-radius: 999px; background: rgba(3, 25, 40, .84); }
.pc-grid-profile .pc-hero-health i { height: 100%; }
.pc-grid-profile .pc-profile-facts { padding: 8px 10px; }
.pc-profile-facts--line { gap: 7px; }
.pc-profile-facts--line article { display: flex; flex-direction: column; justify-content: center; padding: 9px 10px; border: 0; border-radius: 8px; background: rgba(6, 31, 48, .78); }
.pc-grid-profile .pc-profile-facts p { display: none; }
.pc-grid-profile .pc-profile-facts span { font-size: 10px; }
.pc-grid-profile .pc-profile-facts b { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.pc-grid-profile-actions { padding: 0 10px 7px; }
.pc-grid-profile-actions button { border: 0; background: rgba(5, 29, 46, .92); box-shadow: inset 0 0 0 1px rgba(69, 126, 157, .62); }
.pc-manage-area { display: grid; grid-template-rows: 48px 18px; gap: 2px; margin: 0 10px 6px; }
.pc-manage-area > small { color: #9db9c8; font-size: 10px; font-weight: 700; text-align: center; }
.pc-manage-area > small i { margin: 0 7px; color: var(--pc-mint); font-style: normal; }
.pc-manage-button { display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 10px; color: #073f47; background: #72e5c0; box-shadow: inset 0 0 0 2px #d8fff3, 0 4px 0 #168d89; font-family: "Exo 2", sans-serif; font-style: italic; text-align: left; }
.pc-manage-button.is-active { color: #c8e6ef; background: #08273b; box-shadow: inset 0 0 0 1px #4b8eac; }
.pc-manage-button > img { width: 25px; height: 25px; }
.pc-manage-button b { font-size: 15px; }

.pc-grid-box { grid-template-rows: 52px minmax(0, 1fr); padding: 7px 5px 4px; border: 0; border-radius: 0; background: transparent; }
.pc-grid-box .pc-section-heading { padding: 0 2px; }
.pc-grid-box .pc-section-heading h2 { font-size: 25px; }
.pc-slot-scroll { padding: 3px 6px 8px 2px; }
.pc-slot-grid--five { grid-auto-rows: 174px; gap: 9px; }
.pc-storage-card { border-radius: 10px; }
.pc-storage-card.is-dense { grid-template-rows: auto minmax(0, 1fr) auto; }
.pc-storage-card.is-selected { border-color: var(--pc-mint); }
.pc-type-dot img { width: 18px; height: 18px; object-fit: contain; }
.pc-locked-divider { border: 0; background: rgba(5, 26, 41, .74); }

.pc-grid-footer { gap: 14px; padding: 7px 5px 2px; border: 0; border-radius: 0; background: transparent; }
.pc-team-title { padding-left: 3px; }
.pc-team-member { border-color: rgba(81, 136, 166, .58); }
.pc-transfer-large { border: 0; box-shadow: inset 0 0 0 2px #d8fff2, 0 4px 0 #138b88; }

.pc-editor-panel { display: grid; min-width: 0; min-height: 0; grid-template-rows: 82px 54px minmax(0, 1fr) auto; gap: 10px; padding: 8px 5px 4px 8px; overflow: hidden; border-radius: 14px; background: rgba(3, 22, 38, .7); box-shadow: 0 16px 42px rgba(0, 0, 0, .25); }
.pc-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 6px 10px 5px; }
.pc-editor-heading small { color: var(--pc-mint); font-family: "Exo 2"; font-size: 11px; font-weight: 700; }
.pc-editor-heading h2 { margin: 3px 0 2px; font-family: "Exo 2"; font-size: clamp(25px, 2vw, 34px); font-style: italic; line-height: 1; }
.pc-editor-heading h2 span { color: var(--pc-mint); }
.pc-editor-heading p { margin: 0; color: #aac2d0; }
.pc-editor-heading > button { display: flex; min-width: 180px; height: 42px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 9px; color: #b9d5e3; background: rgba(7, 32, 50, .95); box-shadow: inset 0 0 0 1px rgba(76, 137, 169, .62); font-family: "Exo 2"; font-size: 12px; font-style: italic; }
.pc-editor-heading > button img { width: 18px; height: 18px; }
.pc-editor-panel .rds-detail-tabs { gap: 8px; padding: 2px 8px; border: 0; background: transparent; }
.pc-editor-panel .rds-detail-tabs button { min-height: 46px; border: 0; border-radius: 8px; color: #a9c0cd; background: rgba(8, 34, 51, .88); box-shadow: none; font-family: "Exo 2"; font-size: 12px; }
.pc-editor-panel .rds-detail-tabs button.is-active { color: #062f36; background: var(--pc-mint); box-shadow: 0 3px 0 #168a86; }
.pc-editor-scroll { min-width: 0; min-height: 0; overflow: auto; padding: 0 7px 0 4px; scrollbar-color: #4fa8d1 transparent; scrollbar-width: thin; }
.pc-editor-panel .rds-detail-pane { padding: 6px; overflow: visible; }
.pc-editor-panel .rds-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px; }
.pc-editor-panel .rds-info-tile { min-height: 96px; padding: 11px 12px; border: 0; border-radius: 8px; background: rgba(8, 36, 53, .86); box-shadow: inset 3px 0 0 rgba(82, 137, 163, .72); }
.pc-editor-panel .rds-info-tile.is-accent { background: rgba(13, 61, 61, .7); box-shadow: inset 3px 0 0 var(--pc-mint); }
.pc-editor-panel .rds-info-tile small { color: var(--pc-mint); font-size: 10px; }
.pc-editor-panel .rds-info-tile strong { font-size: 18px; }
.pc-editor-panel .rds-info-tile p { font-size: 12px; }
.pc-editor-panel .rds-progress-pair { gap: 10px; }
.pc-editor-panel .rds-progress-pair > span { padding: 13px 15px; border-radius: 9px; background: rgba(6, 29, 45, .88); }
.pc-editor-panel .rds-tactical-summary,
.pc-editor-panel .rds-swap-comparison { border: 0; border-radius: 10px; background: rgba(7, 30, 45, .78); }
.pc-editor-panel .rds-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-editor-panel .rds-stat-card,
.pc-editor-panel .rds-genetics-summary > span,
.pc-editor-panel .rds-move-card,
.pc-editor-panel .rds-learned-row { border: 1px solid rgba(75, 127, 153, .36); border-radius: 9px; background: rgba(11, 42, 61, .86); }
.pc-editor-panel .rds-move-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-editor-panel .rds-pane-actions,
.pc-editor-panel .rds-learned-head { border: 0; }
.pc-editor-summary { display: grid; min-height: 100%; grid-template-rows: auto minmax(0, 1fr); gap: 8px; }
.pc-editor-section { min-width: 0; overflow: hidden; border: 1px solid rgba(67, 119, 146, .42); border-radius: 11px; background: linear-gradient(145deg, rgba(8, 35, 52, .92), rgba(5, 27, 42, .88)); box-shadow: inset 0 1px 0 rgba(151, 211, 231, .05), 0 8px 20px rgba(0, 0, 0, .1); }
.pc-editor-section-title { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; background: rgba(5, 25, 39, .76); }
.pc-editor-section-title > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.pc-editor-section-title small { color: var(--pc-mint); font-family: "Exo 2"; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.pc-editor-section-title strong { color: #d9e9ef; font-family: "Exo 2"; font-size: 11px; font-weight: 700; }
.pc-editor-section-title > span { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: #9ed9c5; background: rgba(50, 132, 111, .2); font: 800 8px/1 "Exo 2", sans-serif; text-transform: uppercase; }
.pc-editor-profile-section { min-height: 0; }
.pc-editor-summary-lower { display: grid; min-height: 0; grid-template-columns: minmax(180px, .78fr) minmax(170px, .7fr) minmax(360px, 1.52fr); gap: 8px; }
.pc-editor-stat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 7px; }
.pc-editor-stat-list > span { display: flex; min-width: 0; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 7px; background: rgba(10, 41, 58, .78); }
.pc-editor-stat-list > span:last-child { border-bottom: 0; }
.pc-editor-stat-list small { color: #a9c0cd; font-size: 12px; }
.pc-editor-stat-list b { color: #f4fbff; font-size: 17px; }
.pc-editor-progress-stack { display: grid; gap: 7px; padding: 7px; }
.pc-editor-progress-stack article { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 8px; padding: 11px; border-radius: 8px; background: rgba(10, 41, 58, .78); }
.pc-editor-progress-stack small,
.pc-editor-current-moves > small { color: #a9c0cd; font-family: "Exo 2"; font-size: 11px; font-weight: 700; }
.pc-editor-progress-stack strong { font-family: "Exo 2"; font-size: 19px; }
.pc-editor-progress-stack i { display: block; height: 9px; overflow: hidden; border-radius: 999px; background: #15374a; }
.pc-editor-progress-stack em { display: block; height: 100%; border-radius: inherit; background: var(--pc-mint); }
.pc-editor-progress-stack i.is-exp em { background: #4abbe5; }
.pc-editor-current-moves { display: flex; min-width: 0; flex-direction: column; padding: 0; }
.pc-editor-move-list { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 5px; padding: 7px; }
.pc-editor-current-moves article { display: grid; min-width: 0; min-height: 43px; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 6px 8px; border: 0; border-radius: 7px; background: rgba(10, 41, 58, .78); }
.pc-editor-current-moves article strong { overflow: hidden; font-family: "Exo 2"; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pc-editor-current-moves article > b { font-size: 14px; }
.pc-editor-current-moves article > small { color: #abc0ca; font-size: 10px; }
.pc-editor-current-moves p { margin: auto; padding: 18px; color: #9eb4c0; text-align: center; }
.pc-editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 3px 8px 8px; }
.pc-editor-actions .rds-button { min-width: 154px; min-height: 54px; border: 0; border-radius: 8px; color: #c4d8e3; background: #08263a; box-shadow: inset 0 0 0 1px rgba(71, 132, 164, .65); font-family: "Exo 2"; font-size: 14px; font-style: italic; }
.pc-editor-actions .rds-button.is-primary { min-width: 235px; }
.pc-editor-actions .rds-button.is-primary { color: #063d43; background: var(--pc-mint); box-shadow: inset 0 0 0 2px #d8fff2; }
.pc-editor-actions .rds-button.is-danger { color: #ffd9db; background: #612c35; box-shadow: inset 0 0 0 1px #b65e69; }
.pc-screen--grid.is-editor-open .pc-grid-profile { grid-template-rows: minmax(0, 1fr) 150px; }
.pc-screen--grid.is-editor-open .pc-grid-profile-actions,
.pc-screen--grid.is-editor-open .pc-manage-area { display: none; }
.pc-screen--grid.is-editor-open .pc-grid-profile .pc-profile-facts { align-self: stretch; padding: 12px; }
.pc-screen--grid.is-editor-open .pc-grid-profile .pc-profile-facts article { padding: 14px; }
.pc-screen--grid.is-editor-open .pc-grid-profile .pc-profile-facts span { font-size: 11px; }
.pc-screen--grid.is-editor-open .pc-grid-profile .pc-profile-facts b { font-size: 18px; }

@media (max-width: 1450px) {
  .pc-wallet-item { min-width: 128px; padding-inline: 14px; }
  .pc-grid-main { grid-template-columns: 350px minmax(0, 1fr); }
  .pc-grid-profile { grid-template-rows: minmax(0, 1fr) 94px 46px 68px; }
  .pc-slot-grid--five { grid-auto-rows: 156px; }
  .pc-editor-panel .rds-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-editor-summary-lower { grid-template-columns: minmax(170px, .82fr) minmax(170px, .78fr) minmax(300px, 1.4fr); }
  .pc-editor-current-moves { grid-column: auto; }
}

/* Integração final: o PC usa o mesmo frame 1180 x 900 da Mochila. */
.pc-screen { min-width: 0; min-height: 0; }
.pc-screen--grid {
  grid-template-rows: 66px minmax(0, 1fr) 126px;
  gap: 8px;
  padding: 10px 14px 12px;
}
.pc-screen--grid.is-editor-open { grid-template-rows: 66px minmax(0, 1fr); }
.pc-screen--grid .pc-header { margin: -10px -14px 0; padding: 8px 18px; }
.pc-header { grid-template-columns: minmax(0, 1fr) auto 48px; gap: 10px; }
.pc-heading h1 { font-size: 30px; }
.pc-wallet { gap: 8px; }
.pc-wallet-item { min-width: 118px; height: 46px; gap: 8px; padding: 0 12px; }
.pc-wallet-item b { font-size: 16px; }
.pc-icon-button { width: 46px; height: 46px; border-radius: 10px; }

.pc-grid-main { grid-template-columns: 322px minmax(0, 1fr); gap: 12px; }
.pc-grid-profile { grid-template-rows: minmax(0, 1fr) 138px 46px 72px; border: 1px solid rgba(64, 121, 151, .42); }
.pc-grid-profile .pc-hero-stage {
  background-color: var(--card-type-primary);
  background-image:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--card-type-primary) 36%, white), transparent 43%),
    linear-gradient(145deg, transparent 0 54%, color-mix(in srgb, var(--card-type-secondary) 84%, transparent) 54% 100%),
    url("/assets/patterns/square-pattern-30.svg");
  background-blend-mode: screen, normal, soft-light;
  background-size: auto, auto, 62px;
}
.pc-grid-profile .pc-hero-stage::before { background: linear-gradient(180deg, rgba(0, 10, 18, .05), rgba(0, 10, 18, .18) 58%, rgba(0, 10, 18, .82)); }
.pc-hero-type-badges { top: 12px; left: 12px; max-width: calc(100% - 24px); gap: 4px; }
.pc-hero-type-badge { height: 28px; padding: 0 10px; font-size: 11px; }
.pc-hero-type-badge img { width: 17px; height: 17px; }
.pc-grid-profile .pc-pedestal { right: 5%; bottom: 96px; width: 90%; height: 68%; place-items: center; border-bottom-width: 5px; }
.pc-grid-profile .pc-pedestal .pc-sprite { width: 96%; height: 104%; max-width: 270px; max-height: 270px; object-position: center bottom; }
.pc-grid-profile .pc-hero-copy { right: 14px; bottom: 47px; left: 14px; }
.pc-grid-profile .pc-hero-copy h2 { font-size: 27px; }
.pc-grid-profile .pc-hero-copy div { margin-top: 4px; font-size: 14px; }
.pc-grid-profile .pc-hero-copy strong { font-size: 17px; }
.pc-grid-profile .pc-hero-health { right: 14px; bottom: 14px; width: calc(100% - 28px); gap: 8px; font-size: 12px; }
.pc-grid-profile .pc-profile-facts {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: 52px 68px;
  gap: 7px;
  padding: 7px 10px;
}
.pc-profile-facts--line article { padding: 9px 10px; }
.pc-profile-facts--line article:nth-child(3) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-block: 6px;
}
.pc-profile-facts--line article.pc-profile-ivs { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.pc-profile-ivs > span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.pc-profile-ivs > span em { color: #65dfb4; font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: 0; }
.pc-quick-ivs { display: grid; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.pc-quick-ivs > span { position: relative; min-width: 0; display: grid; grid-template-columns: auto auto; place-content: center; align-items: center; gap: 4px; padding: 5px 3px 8px; overflow: hidden; border-radius: 5px; background: rgba(0, 16, 28, .62); }
.pc-quick-ivs > span::after { position: absolute; right: 3px; bottom: 3px; left: 3px; height: 2px; border-radius: 999px; content: ""; background: linear-gradient(90deg, var(--iv-tone, #7895a7) var(--iv-pct), rgba(117, 145, 161, .18) var(--iv-pct)); }
.pc-quick-ivs > span.is-perfect { --iv-tone: #ffe16b; color: #ffe16b; background: rgba(74, 61, 9, .68); box-shadow: inset 0 0 0 1px rgba(255, 225, 107, .3); }
.pc-quick-ivs > span.is-high { --iv-tone: #68e4bd; background: rgba(8, 58, 57, .64); }
.pc-quick-ivs > span.is-mid { --iv-tone: #62bfe9; }
.pc-quick-ivs > span.is-low { --iv-tone: #ef8178; background: rgba(65, 24, 32, .58); }
.pc-quick-ivs small { overflow: hidden; max-width: 100%; color: #8baabd; font: 800 7.5px/1 "Exo 2", sans-serif; text-overflow: ellipsis; }
.pc-quick-ivs b { color: #f2f9fc; font: 800 11.5px/1 "Exo 2", sans-serif; }
.pc-grid-profile .pc-profile-facts article:nth-child(3) b { margin-top: 0; }
.pc-grid-profile .pc-profile-facts span { font-size: 9px; letter-spacing: .025em; }
.pc-grid-profile .pc-profile-facts b { font-size: 14px; line-height: 1.1; }
.pc-grid-profile-actions { gap: 7px; padding: 0 10px 4px; }
.pc-grid-profile-actions button { min-height: 40px; padding-inline: 12px; font-size: 10px; }
.pc-manage-area { grid-template-rows: 44px 18px; gap: 4px; margin: 0 10px 6px; }
.pc-manage-button b { font-size: 12px; }
.pc-manage-area > small { font-size: 8.5px; line-height: 18px; }

.pc-grid-box { grid-template-rows: 88px 42px minmax(0, 1fr); padding: 2px 0 0; }
.pc-grid-box .pc-section-heading { display: grid; grid-template-columns: 86px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: start; gap: 8px; padding: 0; }
.pc-grid-box .pc-section-heading > span { display: flex; align-items: baseline; gap: 3px; padding-top: 10px; font-size: 11px; }
.pc-grid-box .pc-section-heading > span b { color: var(--pc-mint); font: italic 700 20px/1 "Exo 2", sans-serif; }
.pc-grid-box .pc-section-heading .pc-filters { width: 100%; max-width: none; grid-column: 2; grid-row: 1; margin-left: 0; }
.pc-section-heading .pc-filters { display: grid; grid-template-columns: minmax(160px, 1.3fr) repeat(2, minmax(96px, .66fr)) minmax(210px, 1fr); gap: 6px; margin: 0; }
.pc-filters .pc-search, .pc-filters select, .pc-filter-actions button { height: 38px; min-width: 0; padding: 0 9px; border: 1px solid #2c6687; border-radius: 7px; color: #b8cede; background: rgba(2, 17, 30, .94); font-size: 11px; }
/* Filtro de habilidade (01/10/2026): com o select novo a busca ocupa uma coluna e a grade segue 4 x 2. */
.pc-filters .pc-search { grid-column: auto; }
.pc-filter-actions { display: grid; min-width: 0; grid-template-columns: minmax(52px, .72fr) minmax(82px, 1.25fr) minmax(68px, 1fr); gap: 4px; }
.pc-filter-clear { color: var(--pc-mint); font: 700 10px/1 "Exo 2", sans-serif; }
.pc-filter-compact { color: #061d29 !important; border-color: #82efd0 !important; background: linear-gradient(180deg, #80efd0, #58cfb0) !important; font: italic 800 9px/1 "Exo 2", sans-serif; letter-spacing: .02em; box-shadow: 0 2px 0 rgba(18, 112, 100, .7); }
.pc-filter-compact:not(:disabled):hover { filter: brightness(1.08); transform: translateY(-1px); }
.pc-filter-compact:disabled { color: #638493 !important; border-color: #264f67 !important; background: rgba(4, 25, 40, .78) !important; box-shadow: none; cursor: default; opacity: .72; }
.pc-view-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; color: #9ec7d7 !important; font: italic 800 8px/1 "Exo 2", sans-serif !important; }
.pc-view-toggle > span { width: 4px; height: 4px; flex: 0 0 4px; color: currentColor; border-radius: 1px; background: currentColor; box-shadow: 7px 0 currentColor, 0 7px currentColor, 7px 7px currentColor; transform: translate(-3px, -3px); }
.pc-view-toggle > b { font: inherit; }
.pc-view-toggle.is-active { color: #072f39 !important; border-color: #84f0d0 !important; background: #72e2bf !important; box-shadow: inset 0 0 0 1px #d9fff3, 0 2px 0 #138b88; }
.pc-selection-bar { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 6px; padding: 4px 2px; color: #91adbd; }
.pc-selection-bar > span { display: flex; min-width: 0; align-items: baseline; gap: 4px; margin-right: auto; font-size: 10px; }
.pc-selection-bar > span b { color: var(--pc-mint); font-size: 16px; }
.pc-selection-bar small { margin-left: 6px; color: #7796a7; }
.pc-selection-bar .rds-button { min-height: 30px; padding: 0 9px; font-size: 9px; }
.pc-selection-bar.is-active { border-radius: 7px; background: rgba(30, 96, 91, .22); }
.pc-team-save-control { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; margin-left: 3px; }
.pc-team-save-control > small { display: flex; height: 30px; align-items: center; margin: 0; padding: 0 8px; border: 1px solid rgba(79, 181, 145, .56); border-radius: 999px; color: #76e4bb; background: rgba(5, 42, 43, .76); font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: .02em; white-space: nowrap; }
.pc-team-save-control.is-dirty > small { border-color: rgba(239, 188, 67, .65); color: #ffd86e; background: rgba(55, 42, 11, .86); }
.pc-team-save-control .rds-button.is-primary { min-width: 94px; border-color: #65d7ad; color: #eafff7; background: linear-gradient(180deg, #197d59, #116346); box-shadow: inset 0 0 0 1px rgba(117, 237, 194, .15); font-size: 9px; }
.pc-team-save-control .rds-button.is-primary:not(:disabled):hover { filter: brightness(1.1); }
.pc-team-save-control .rds-button.is-primary:disabled { cursor: wait; opacity: .72; }
.pc-slot-scroll { padding: 3px 6px 7px 0; }
.pc-slot-grid--five { grid-auto-rows: 164px; gap: 7px; }
.pc-storage-card { padding: 7px 8px 6px; }
.pc-storage-card.is-dense { grid-template-rows: auto minmax(50px, 1fr) auto auto; }
.pc-storage-card.is-multi-selected { border: 2px solid #ffe26e; box-shadow: 0 0 0 2px rgba(255, 226, 110, .2), inset 0 -32px rgba(25, 6, 40, .7); }
.pc-storage-card .pc-sprite { min-height: 44px; max-height: 74px; }
.pc-card-name { font-size: 12px; }
.pc-card-meta { font-size: 10px; }
.pc-card-meta em { font-size: 9px; }
.pc-card-traits { z-index: 1; display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 4px; }
.pc-card-traits > span { display: flex; min-width: 0; align-items: center; gap: 3px; padding: 3px 4px; border-radius: 4px; background: rgba(1, 18, 30, .58); }
.pc-card-traits small { color: #9eb7c6; font-size: 6px; }
.pc-card-traits b { overflow: hidden; color: #eef8fb; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pc-card-status { position: absolute; z-index: 3; top: 32px; right: 6px; display: flex; align-items: center; gap: 3px; max-width: calc(100% - 12px); padding: 3px 5px; border-radius: 999px; color: #fff3b0; background: rgba(42, 31, 8, .88); box-shadow: inset 0 0 0 1px rgba(255, 219, 81, .5); }
.pc-card-status img { width: 10px; height: 10px; }
.pc-card-status b { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.pc-card-status.is-working, .pc-card-status.is-mining { color: #c9f4ff; background: rgba(5, 45, 61, .9); box-shadow: inset 0 0 0 1px rgba(88, 191, 245, .55); }
.pc-card-status.is-incompatible { color: #ffd29b; background: rgba(70, 39, 6, .92); box-shadow: inset 0 0 0 1px rgba(255, 157, 67, .62); }
.pc-card-status.is-ineligible { color: #ffc4cc; background: rgba(70, 18, 29, .92); box-shadow: inset 0 0 0 1px rgba(255, 103, 126, .58); }
.pc-card-status.is-occupied, .pc-card-status.is-breeding { color: #ffe7a8; background: rgba(57, 42, 6, .92); box-shadow: inset 0 0 0 1px rgba(236, 193, 74, .55); }

.pc-slot-grid--five.is-view-compact {
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  grid-auto-rows: 94px;
  gap: 6px;
}
.is-view-compact .pc-storage-card { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 6px; border-radius: 9px; box-shadow: inset 0 -16px rgba(25, 6, 40, .48); }
.is-view-compact .pc-storage-card::after { inset: auto 13% 8px; height: 8px; }
.is-view-compact .pc-storage-card.is-selected { border: 2px solid var(--pc-mint); box-shadow: 0 0 11px rgba(103, 235, 194, .48), inset 0 -16px rgba(25, 6, 40, .52); }
.is-view-compact .pc-storage-card .pc-sprite { width: 100%; height: 100%; min-height: 0; max-height: none; grid-area: 1 / 1; padding: 7px 3px 4px; object-position: center; }
.is-view-compact .pc-card-name,
.is-view-compact .pc-gender,
.is-view-compact .pc-card-traits,
.is-view-compact .pc-card-meta { display: none; }
.is-view-compact .pc-type-dot { display: none; }
.is-view-compact .pc-card-status { top: 6px; right: 6px; width: 18px; height: 18px; justify-content: center; padding: 0; }
.is-view-compact .pc-card-status b { display: none; }
.is-view-compact .pc-card-status img { width: 10px; height: 10px; }
.is-view-compact .pc-slot { min-height: 0; border-radius: 9px; }
.is-view-compact .pc-slot:not(.pc-locked-divider) span,
.is-view-compact .pc-slot:not(.pc-locked-divider) small { display: none; }
.is-view-compact .pc-slot:not(.pc-locked-divider) img { width: 18px; height: 18px; }

.pc-grid-footer { grid-template-columns: minmax(0, 1fr) 154px; gap: 8px; padding: 4px 0 0; }
.pc-team-title { height: 24px; gap: 7px; }
.pc-team-title span { font-size: 11px; }
.pc-team-title b { font-size: 15px; }
.pc-team-title small { color: #7f9eae; font-size: 9px; }
.pc-team-members { height: calc(100% - 24px); gap: 5px; }
.pc-team-member { grid-template-columns: 40% 1fr; padding: 4px 5px; }
.pc-team-member--empty { display: grid; place-items: center; border-style: dashed; color: #7598aa; background: rgba(3, 25, 41, .62); box-shadow: none; }
.pc-team-member--empty::before { display: none; }
.pc-team-member--empty > span { display: grid; justify-items: center; gap: 3px; }
.pc-team-member--empty img { width: 16px; height: 16px; }
.pc-team-member--empty small { font-size: 8px; }
.pc-transfer-compact { display: flex; align-items: center; justify-content: center; gap: 8px; align-self: end; height: 42px; margin-bottom: 5px; border: 1px solid #d9fff2; border-radius: 9px; color: #064c50; background: #74e4c0; box-shadow: 0 3px 0 #138b88; font: italic 700 10px/1.1 "Exo 2", sans-serif; }
.pc-transfer-compact img { width: 17px; height: 17px; }

.pc-editor-panel { grid-template-rows: 62px 44px minmax(0, 1fr) auto; gap: 6px; padding: 5px; }
.pc-editor-heading { padding: 3px 7px; }
.pc-editor-heading h2 { font-size: 23px; }
.pc-editor-heading p { font-size: 11px; }
.pc-editor-heading > button { min-width: 150px; height: 36px; font-size: 10px; }
.pc-editor-panel .rds-detail-tabs { gap: 5px; padding: 0 4px; }
.pc-editor-panel .rds-detail-tabs button { min-height: 38px; font-size: 10px; }
.pc-editor-panel .rds-info-grid { gap: 6px; }
.pc-editor-panel .rds-info-tile { min-height: 92px; padding: 10px; }
.pc-editor-panel .rds-info-tile strong { font-size: 14px; }
.pc-editor-panel .rds-info-tile p { font-size: 10px; }
.pc-editor-summary { grid-template-rows: auto minmax(0, 1fr); gap: 8px; }
.pc-editor-summary-lower { grid-template-columns: minmax(130px, .8fr) minmax(130px, .8fr) minmax(240px, 1.5fr); gap: 7px; }
.pc-editor-stat-list { padding: 7px 10px; }
.pc-editor-stat-list > span { min-height: 31px; }
.pc-editor-stat-list small { font-size: 9px; }
.pc-editor-stat-list b { font-size: 13px; }
.pc-editor-progress-stack { gap: 7px; }
.pc-editor-progress-stack article { gap: 7px; padding: 10px; }
.pc-editor-move-list { gap: 4px; padding: 7px; }
.pc-editor-current-moves article { min-height: 36px; gap: 6px; padding: 4px 6px; }
.pc-editor-current-moves article strong { font-size: 11px; }
.pc-editor-actions { flex-wrap: nowrap; gap: 6px; padding: 2px 5px 5px; }
.pc-editor-actions .rds-button, .pc-editor-actions .rds-button.is-primary { min-width: 0; min-height: 42px; flex: 1; padding-inline: 8px; font-size: 10px; }
.pc-screen--grid.is-editor-open .pc-grid-profile { grid-template-rows: minmax(0, 1fr) auto; }
.pc-screen--grid.is-editor-open .pc-grid-profile .pc-pedestal { bottom: 95px; }
.pc-screen--grid.is-editor-open .pc-grid-profile .pc-profile-facts b {
  overflow: visible;
  font-size: 12px;
  line-height: 1.05;
  text-overflow: clip;
  white-space: normal;
}

@media (max-width: 900px) {
  .pc-screen--grid { grid-template-rows: 58px minmax(0, 1fr) 118px; padding: 7px; }
  .pc-screen--grid .pc-header { margin: -7px -7px 0; padding: 6px 9px; }
  .pc-heading h1 { font-size: 22px; }
  .pc-wallet-item { min-width: 88px; height: 40px; padding: 0 8px; }
  .pc-wallet-item b { font-size: 13px; }
  .pc-icon-button { width: 40px; height: 40px; }
  .pc-grid-main { grid-template-columns: 250px minmax(0, 1fr); gap: 7px; }
  .pc-grid-profile { grid-template-rows: minmax(0, 1fr) 72px 38px 55px; }
  .pc-section-heading .pc-filters { grid-template-columns: repeat(3, minmax(92px, 1fr)); }
  .pc-filters .pc-search { grid-column: span 2; }
  .pc-team-save-control > small { max-width: 96px; overflow: hidden; padding-inline: 6px; font-size: 7px; text-overflow: ellipsis; }
  .pc-team-save-control .rds-button.is-primary { min-width: 82px; padding-inline: 6px; font-size: 8px; }
  .pc-slot-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-grid-footer { grid-template-columns: minmax(0, 1fr) 118px; }
  .pc-team-member b { font-size: 9px; }
  .pc-team-member small { font-size: 8px; }
  .pc-transfer-compact { font-size: 8px; }
  .pc-editor-summary-lower { grid-template-columns: 1fr 1fr; }
  .pc-editor-current-moves { grid-column: 1 / -1; }
}

/* Cofre do Treinador: o Arquivo usa a estrutura do PC, mas mantém identidade e regras próprias. */
.archive-vault-screen {
  --vault-gold: #f2ce6c;
  --vault-gold-soft: rgba(242, 206, 108, .18);
  --vault-teal: #7ee5cf;
  --pc-mint: var(--vault-teal);
  background-image:
    radial-gradient(circle at 18% 42%, rgba(32, 121, 122, .24), transparent 33%),
    linear-gradient(rgba(1, 13, 24, .84), rgba(1, 13, 24, .9)),
    url("/assets/backgrounds/panorama-clean.png");
}

.archive-vault-screen::before {
  background: linear-gradient(118deg, rgba(1, 13, 23, .36), rgba(2, 24, 35, .2)), rgba(0, 8, 15, .3);
}

.archive-vault-header { grid-template-columns: minmax(0, 1fr) auto auto 48px; }
.archive-vault-header .pc-heading > small { margin-bottom: 3px; color: #9db8c6; font: 700 8px/1 "Exo 2", sans-serif; letter-spacing: .13em; }
.archive-vault-header .pc-heading h1 span { color: var(--vault-gold); text-shadow: 0 0 18px rgba(242, 206, 108, .24); }
.archive-vault-back {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(242, 206, 108, .48);
  border-radius: 9px;
  color: #f6dda0;
  background: rgba(45, 35, 13, .58);
  font: italic 800 10px/1 "Exo 2", sans-serif;
}
.archive-vault-back img { width: 17px; height: 17px; filter: sepia(1) saturate(.8) brightness(1.45); }
.archive-vault-back:hover { background: rgba(70, 52, 13, .74); }

.archive-vault-profile { border-color: rgba(180, 155, 85, .5); box-shadow: 0 16px 42px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(242, 206, 108, .05); }
.archive-vault-profile .pc-hero-stage {
  background-image:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--card-type-primary) 28%, #f2ce6c), transparent 35%),
    linear-gradient(145deg, transparent 0 54%, color-mix(in srgb, var(--card-type-secondary) 70%, #092033) 54% 100%),
    url("/assets/patterns/square-pattern-30.svg");
}
.archive-vault-profile .pc-hero-stage::before { background: linear-gradient(180deg, rgba(3, 17, 27, .03), rgba(2, 16, 26, .22) 55%, rgba(1, 10, 18, .9)); }
.archive-vault-profile .pc-pedestal { border-bottom-color: var(--vault-gold); box-shadow: 0 12px 18px rgba(0, 0, 0, .35), 0 4px 24px rgba(242, 206, 108, .19); }
.archive-vault-seal { position: absolute; z-index: 5; top: 12px; right: 12px; display: flex; height: 28px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid rgba(255, 229, 156, .6); border-radius: 999px; color: #ffdfa1; background: rgba(48, 35, 8, .84); font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: .07em; }
.archive-vault-seal img { width: 13px; height: 13px; filter: sepia(1) saturate(.7) brightness(1.55); }
.archive-vault-manage .pc-manage-button { color: #3a2c0b; background: linear-gradient(180deg, #f8dc87, #d8ad48); box-shadow: inset 0 0 0 2px #fff1bd, 0 4px 0 #846719; }
.archive-vault-manage > small { color: #c1af7c; }
.archive-vault-manage > small i { color: var(--vault-gold); }
.archive-vault-profile-empty { display: grid; min-height: 100%; place-content: center; justify-items: center; gap: 9px; padding: 28px; color: #9cb0ba; text-align: center; }
.archive-vault-profile-empty img { width: 38px; height: 38px; opacity: .68; filter: sepia(1) saturate(.55) brightness(1.35); }
.archive-vault-profile-empty strong { color: var(--vault-gold); font: italic 800 17px/1 "Exo 2", sans-serif; }
.archive-vault-profile-empty p { max-width: 220px; margin: 0; font-size: 12px; }

.archive-vault-box { grid-template-rows: auto auto auto auto minmax(0, 1fr); gap: 6px; }
.archive-vault-notice { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 7px 12px; border: 1px solid rgba(242, 206, 108, .42); border-radius: 9px; color: #d9c486; background: linear-gradient(90deg, rgba(65, 48, 10, .72), rgba(5, 34, 43, .66)); box-shadow: inset 0 0 18px rgba(242, 206, 108, .05); }
.archive-vault-notice > img { width: 23px; height: 23px; filter: sepia(1) saturate(.7) brightness(1.5); }
.archive-vault-notice > div { display: grid; gap: 2px; min-width: 0; }
.archive-vault-notice small { color: var(--vault-gold); font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: .1em; }
.archive-vault-notice strong { overflow: hidden; color: #f6f8f7; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.archive-vault-notice > span { padding: 6px 9px; border-radius: 999px; color: #18352f; background: var(--vault-gold); font: 900 8px/1 "Exo 2", sans-serif; }

.archive-vault-folders { display: grid; gap: 5px; padding: 6px 8px 8px; border: 1px solid rgba(84, 133, 153, .42); border-radius: 10px; background: rgba(2, 22, 35, .8); }
.archive-vault-folders > header { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; }
.archive-vault-folders > header > div { display: flex; align-items: baseline; gap: 8px; }
.archive-vault-folders > header small { color: var(--vault-gold); font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: .08em; }
.archive-vault-folders > header strong { color: #9cb4c1; font-size: 9px; }
.archive-vault-folders > header .rds-button { min-height: 24px; padding: 0 8px; border-color: rgba(242, 206, 108, .42); color: #e9d396; background: rgba(50, 39, 13, .58); font-size: 8px; }
.archive-vault-folders > nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; min-width: 0; }
.archive-vault-folder { display: grid; min-width: 0; min-height: 34px; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 6px; padding: 3px 6px 3px 4px; border: 1px solid color-mix(in srgb, var(--folder-color), #153348 60%); border-radius: 7px; color: #b7cbd5; text-align: left; background: rgba(3, 27, 42, .9); }
.archive-vault-folder:hover { filter: brightness(1.13); }
.archive-vault-folder.is-active { border-color: var(--vault-gold); color: #fff6d7; background: linear-gradient(90deg, rgba(78, 57, 12, .72), rgba(6, 38, 49, .94)); box-shadow: 0 0 0 1px rgba(242, 206, 108, .16), 0 0 12px rgba(242, 206, 108, .13); }
.archive-vault-folder-icon { display: grid; min-height: 27px; grid-template-columns: 1fr; place-items: center; border-radius: 5px; color: #061821; background: var(--folder-color); }
.archive-vault-folder-icon img { grid-column: 1; grid-row: 1; width: 13px; height: 13px; opacity: .88; }
.archive-vault-folder-icon b { grid-column: 1; grid-row: 1; margin: 17px 0 0 19px; padding: 1px 3px; border-radius: 999px; color: #f9fbfb; background: #071d2c; font: 800 6px/1 "Exo 2", sans-serif; }
.archive-vault-folder-copy { display: grid; gap: 1px; min-width: 0; }
.archive-vault-folder-copy strong { overflow: hidden; font: italic 800 9px/1 "Exo 2", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.archive-vault-folder-copy small { overflow: hidden; color: #7f9ba9; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.archive-vault-folder.is-active .archive-vault-folder-copy small { color: #c8b778; }

.archive-vault-customizer { display: none; }
.archive-vault-customizer.is-open { display: block; padding-top: 3px; border-top: 1px solid rgba(242, 206, 108, .22); }
.archive-vault-customizer-body { display: grid; grid-template-columns: minmax(150px, .8fr) 104px minmax(0, 1.5fr); align-items: end; gap: 7px; }
.archive-vault-customizer label { display: grid; gap: 3px; color: #9db4c0; font: 800 7px/1 "Exo 2", sans-serif; letter-spacing: .06em; }
.archive-vault-customizer input { width: 100%; height: 30px; box-sizing: border-box; border: 1px solid #345f75; border-radius: 6px; color: #eef8fb; background: #071d2c; }
.archive-vault-customizer input[type="color"] { padding: 3px; }
.archive-vault-customizer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.archive-vault-customizer-actions small { margin-right: auto; color: #7bbfae; font: 800 7px/1 "Exo 2", sans-serif; }
.archive-vault-customizer-actions small.is-dirty { color: #ffd56e; }
.archive-vault-customizer-actions .rds-button { min-height: 30px; padding: 0 7px; font-size: 8px; }

.archive-vault-heading { grid-template-columns: 96px minmax(0, 1fr) !important; }
.archive-vault-heading > span { color: #9fb5c0 !important; }
.archive-vault-heading > span b { color: var(--vault-gold) !important; }
.archive-vault-filters { grid-template-columns: minmax(210px, 1.5fr) repeat(4, minmax(92px, .72fr)) !important; }
.archive-vault-filters .pc-search { grid-column: auto; }
.archive-vault-filters .pc-filter-actions { grid-column: 2 / -1; grid-template-columns: 96px 116px; justify-content: start; }
/* Filtro de habilidade (01/10/2026): no Cofre a ordem desce para a linha de LIMPAR/ATUALIZAR e as colunas nao
   mudam. Ate 1024 px a camada mobile poe a busca na linha toda; ai os botoes voltam a ocupar a linha inteira. */
@media (max-width: 1024px) {
  .archive-vault-filters .pc-filter-actions { grid-column: 1 / -1; }
}
.archive-vault-refresh { color: #3d2e08 !important; border-color: #f5db8c !important; background: linear-gradient(180deg, #f5d77f, #d4aa45) !important; font: italic 800 8px/1 "Exo 2", sans-serif; }
.archive-vault-selection .rds-filter { min-width: 132px; height: 28px; border: 1px solid #38667d; border-radius: 6px; color: #b9cfda; background: #071d2c; font-size: 8px; }
.archive-vault-selection.is-active { background: rgba(76, 56, 14, .32); }
.archive-vault-selection.is-active > span b { color: var(--vault-gold); }
.archive-vault-scroll { padding-top: 1px; }
.archive-vault-card { box-shadow: inset 0 -32px rgba(11, 10, 24, .78), inset 0 0 0 1px rgba(242, 206, 108, .13); }
.archive-vault-card.is-selected { border-color: var(--vault-gold); box-shadow: 0 0 14px rgba(242, 206, 108, .4), inset 0 -32px rgba(11, 10, 24, .78); }
.archive-vault-card .pc-card-status.is-vault { color: #ffe9a8; background: rgba(53, 39, 8, .9); box-shadow: inset 0 0 0 1px rgba(242, 206, 108, .56); }
.archive-vault-empty { border-color: rgba(152, 128, 64, .46); color: #837b63; background-color: rgba(9, 24, 31, .72); }
.archive-vault-empty > img { filter: sepia(1) saturate(.5) brightness(1.1); }
.archive-vault-loading { display: grid; min-height: 180px; grid-column: 1 / -1; place-content: center; justify-items: center; gap: 8px; color: #91a8b4; text-align: center; }
.archive-vault-loading img { width: 32px; height: 32px; opacity: .68; filter: sepia(1) saturate(.55) brightness(1.4); }
.archive-vault-loading strong { color: var(--vault-gold); font: italic 800 14px/1 "Exo 2", sans-serif; }
.archive-vault-loading small { font-size: 10px; }

.archive-vault-footer { grid-template-columns: minmax(0, 1fr) 188px; border-top: 1px solid rgba(242, 206, 108, .2); }
.archive-vault-policy { display: grid; min-width: 0; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; }
.archive-vault-policy > img { width: 32px; height: 32px; padding: 8px; border: 1px solid rgba(242, 206, 108, .38); border-radius: 11px; background: rgba(53, 40, 10, .58); filter: sepia(1) saturate(.55) brightness(1.4); }
.archive-vault-policy > div { display: grid; gap: 4px; min-width: 0; }
.archive-vault-policy small { color: var(--vault-gold); font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: .09em; }
.archive-vault-policy strong { overflow: hidden; color: #edf5f6; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.archive-vault-policy span { display: flex; gap: 5px; }
.archive-vault-policy i { padding: 4px 7px; border: 1px solid rgba(89, 153, 155, .4); border-radius: 999px; color: #88cbbb; background: rgba(5, 39, 44, .6); font: normal 800 7px/1 "Exo 2", sans-serif; }
.archive-vault-withdraw { display: flex; height: 42px; align-items: center; justify-content: center; gap: 8px; align-self: end; margin-bottom: 5px; border: 1px solid #fff0b3; border-radius: 9px; color: #3b2d09; background: linear-gradient(180deg, #f7dc88, #d7aa43); box-shadow: 0 3px 0 #81641a; font: italic 800 9px/1 "Exo 2", sans-serif; }
.archive-vault-withdraw img { width: 17px; height: 17px; filter: sepia(1) saturate(.7) brightness(.45); }
.archive-vault-withdraw:disabled { cursor: default; opacity: .42; }

@media (max-width: 1120px) {
  .archive-vault-header { grid-template-columns: minmax(0, 1fr) auto auto 42px; }
  .archive-vault-header .pc-wallet-item { min-width: 82px; }
  .archive-vault-back span { display: none; }
  .archive-vault-back { width: 42px; justify-content: center; padding: 0; }
  .archive-vault-folders > nav { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 118px; overflow-y: auto; }
  .archive-vault-filters { grid-template-columns: repeat(3, minmax(92px, 1fr)) !important; }
  .archive-vault-filters .pc-search { grid-column: span 2; }
}

/* Cofre acessível: ações de entrada e depósito visíveis no fluxo principal do PC. */
.pc-header.has-vault-access {
  grid-template-columns: minmax(0, 1fr) 154px auto 48px;
  gap: 10px;
}

.pc-open-vault,
.archive-vault-deposit-start {
  display: flex;
  height: 46px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #f4d777;
  border-radius: 10px;
  color: #fff2b0;
  background: linear-gradient(180deg, rgba(91, 69, 16, .96), rgba(48, 36, 8, .96));
  box-shadow: inset 0 0 0 1px rgba(255, 238, 173, .14), 0 3px 0 rgba(126, 94, 18, .78);
  font-family: "Exo 2", sans-serif;
}

.pc-open-vault:hover,
.archive-vault-deposit-start:hover { filter: brightness(1.12); transform: translateY(-1px); }
.pc-open-vault img,
.archive-vault-deposit-start img { width: 21px; height: 21px; filter: sepia(1) saturate(.7) brightness(1.7); }
.pc-open-vault span,
.archive-vault-deposit-start span { display: grid; gap: 2px; text-align: left; }
.pc-open-vault small,
.archive-vault-deposit-start small { color: #d4ba69; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.pc-open-vault b,
.archive-vault-deposit-start b { font-size: 10px; font-style: italic; white-space: nowrap; }

.archive-vault-header {
  grid-template-columns: minmax(0, 1fr) 174px 104px auto 48px;
  gap: 10px;
}

.archive-vault-deposit-start {
  color: #3b2d09;
  background: linear-gradient(180deg, #ffe69a, #dfb84e);
  box-shadow: inset 0 0 0 1px #fff5c9, 0 3px 0 #80621a;
}
.archive-vault-deposit-start small { color: #705716; }
.archive-vault-deposit-start img { filter: sepia(1) saturate(.8) brightness(.48); }

.pc-grid-profile-actions.has-vault-action { grid-template-columns: .82fr .82fr 1.36fr; }
.pc-grid-profile-actions .pc-profile-vault-action {
  border-color: #f0cf67;
  color: #3c2e08;
  background: linear-gradient(180deg, #f7dc84, #d7ab43);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 201, .8), 0 2px 0 #7d6018;
  font-size: 9px;
  font-weight: 900;
}
.pc-grid-profile-actions .pc-profile-vault-action img { width: 16px; height: 16px; filter: sepia(1) saturate(.7) brightness(.42); }
.pc-grid-profile-actions .pc-profile-vault-action:disabled { color: #8ca0a7; background: rgba(24, 39, 46, .86); box-shadow: inset 0 0 0 1px rgba(108, 130, 139, .35); opacity: .72; }

.pc-selection-bar.has-vault-action {
  padding-inline: 7px;
  border: 1px solid rgba(240, 205, 96, .52);
  background: linear-gradient(90deg, rgba(76, 57, 12, .42), rgba(20, 72, 69, .24));
  box-shadow: inset 3px 0 0 #edca61;
}
.pc-selection-bar .rds-button.is-vault-primary {
  border-color: #f2d36e;
  color: #3b2d08;
  background: linear-gradient(180deg, #f9df8b, #d7aa43);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 201, .7), 0 2px 0 #7f621a;
  font-weight: 900;
}

/* Barras de navegação sem os botões/setas nativos e com cursor mais legível. */
.pc-slot-scroll,
.pc-editor-scroll,
.archive-vault-folders > nav {
  scrollbar-width: thin;
  scrollbar-color: #58bad3 rgba(3, 23, 36, .64);
}
.pc-slot-scroll::-webkit-scrollbar,
.pc-editor-scroll::-webkit-scrollbar,
.archive-vault-folders > nav::-webkit-scrollbar { width: 8px; height: 8px; }
.pc-slot-scroll::-webkit-scrollbar-track,
.pc-editor-scroll::-webkit-scrollbar-track,
.archive-vault-folders > nav::-webkit-scrollbar-track { border-radius: 999px; background: rgba(3, 23, 36, .68); }
.pc-slot-scroll::-webkit-scrollbar-thumb,
.pc-editor-scroll::-webkit-scrollbar-thumb,
.archive-vault-folders > nav::-webkit-scrollbar-thumb { border: 2px solid rgba(3, 23, 36, .68); border-radius: 999px; background: linear-gradient(180deg, #72d8e5, #3383a6); }
.pc-slot-scroll::-webkit-scrollbar-button,
.pc-editor-scroll::-webkit-scrollbar-button,
.archive-vault-folders > nav::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

@media (max-width: 1100px) {
  .pc-header.has-vault-access { grid-template-columns: minmax(0, 1fr) 44px auto 48px; }
  .pc-open-vault { width: 44px; padding: 0; }
  .pc-open-vault span { display: none; }
  .archive-vault-header { grid-template-columns: minmax(0, 1fr) 46px 42px auto 48px; }
  .archive-vault-deposit-start { width: 46px; padding: 0; }
  .archive-vault-deposit-start span { display: none; }
}

/* Comparação e troca direta conectadas ao PC unificado. */
.pc-grid-comparison {
  min-width: 0;
  min-height: 0;
  padding: 11px;
  overflow: auto;
  border: 1px solid rgba(64, 121, 151, .52);
  border-radius: 13px;
  background: rgba(3, 22, 38, .9);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
  scrollbar-color: #4fa8d1 transparent;
  scrollbar-width: thin;
}
.pc-grid-comparison > header { flex-direction: column; }
.pc-grid-comparison > header > div:last-child { width: 100%; }
.pc-grid-comparison > header .rds-button { min-width: 0; flex: 1; padding-inline: 6px; font-size: 8px; }
.pc-grid-comparison .rds-pc-compare-pair { grid-template-columns: 1fr; }
.pc-grid-comparison .rds-pc-compare-mon,
.pc-grid-comparison .rds-pc-compare-empty { min-height: 0; padding: 8px; }
.pc-grid-comparison .rds-pc-compare-mon > header { grid-template-columns: 22px 48px minmax(0, 1fr); }
.pc-grid-comparison .rds-pc-compare-mon > header > span { width: 48px; height: 48px; }
.pc-grid-comparison .rds-pc-compare-mon > header > span img { width: 46px; height: 46px; }
.pc-grid-comparison .rds-pc-compare-facts { grid-template-columns: 1fr; }
.pc-grid-comparison .rds-pc-compare-moves { display: none; }
.pc-grid-comparison .rds-pc-compare-stats { grid-template-columns: 1fr; }
.pc-grid-comparison .rds-pc-compare-stats > article,
.pc-grid-comparison .rds-pc-compare-stats > article.is-iv { grid-column: auto; grid-template-columns: minmax(58px, 1fr) 30px 10px 30px 34px; }

.pc-storage-card.is-compare-picked { border: 2px solid #66e1c2; box-shadow: 0 0 13px rgba(102, 225, 194, .55), inset 0 -32px rgba(25, 6, 40, .7); }
.pc-storage-card.is-compare-b { border-color: #72b9ff; box-shadow: 0 0 13px rgba(90, 168, 255, .55), inset 0 -32px rgba(25, 6, 40, .7); }
.pc-compare-badge { position: absolute; z-index: 6; top: 6px; left: 6px; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #d8fff3; border-radius: 50%; color: #062f38; background: #72e4c0; box-shadow: 0 2px 7px rgba(0, 0, 0, .35); font: 900 10px/1 "Exo 2", sans-serif; }
.is-compare-b .pc-compare-badge { color: #062b49; background: #78bdff; }
.pc-team-member.is-swap-picked,
.pc-storage-card.is-swap-picked { border: 2px solid #ffe16b; box-shadow: 0 0 12px rgba(255, 225, 107, .5), inset 0 -20px rgba(25, 6, 40, .65); }

.pc-comparison-bar { border: 1px solid rgba(103, 235, 194, .38); }
.pc-comparison-bar > span small { display: flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-comparison-bar > span i { display: inline-grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border-radius: 50%; color: #062f38; background: #72e4c0; font-style: normal; font-weight: 900; }
.pc-comparison-bar > span i:nth-of-type(2) { background: #78bdff; }
.pc-compare-launch { color: #b9ffe9 !important; border-color: #3c967f !important; background: rgba(16, 86, 72, .72) !important; }
.pc-compare-exit { color: #062f38 !important; border-color: #a7f8df !important; background: #72e4c0 !important; }

.pc-grid-footer { grid-template-columns: minmax(0, 1fr) 184px; }
.pc-footer-command { display: grid; min-width: 0; align-content: end; gap: 4px; }
.pc-swap-summary { display: flex; min-width: 0; height: 18px; align-items: center; justify-content: center; gap: 5px; overflow: hidden; color: #7f9eae; font: 800 8px/1 "Exo 2", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.pc-swap-summary i { color: #67ebc2; font-style: normal; }
.pc-swap-summary.is-ready { color: #ffe886; }
.pc-footer-command .pc-transfer-compact { width: 100%; margin: 0; }
.pc-transfer-compact.is-swap-ready { color: #3c2d05; border-color: #fff2ad; background: linear-gradient(180deg, #ffe87a, #e1b83d); box-shadow: 0 3px 0 #9b7312; }
.pc-transfer-compact.is-swap-ready img { width: 13px; margin-inline: -4px; filter: sepia(1) saturate(.7) brightness(.45); }
.pc-swap-cancel { height: 19px; border: 0; color: #9bb4c0; background: transparent; font: 800 7px/1 "Exo 2", sans-serif; cursor: pointer; }
.pc-swap-cancel:hover { color: #fff; }

.is-view-compact .pc-compare-badge { top: 4px; left: 4px; width: 19px; height: 19px; font-size: 8px; }

/* Caixas do PC (18/09/2026): botão CAIXAS, abas PC + caixas, gerenciador e editor. */
.pc-header.has-box-access { grid-template-columns: minmax(0, 1fr) 164px auto 48px; }
.pc-header.has-box-access.has-vault-access { grid-template-columns: minmax(0, 1fr) 154px 164px auto 48px; }
.pc-open-boxes {
  display: flex;
  height: 46px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #62d6ff;
  border-radius: 10px;
  color: #e3f7ff;
  background: linear-gradient(180deg, rgba(18, 79, 112, .96), rgba(8, 44, 66, .96));
  box-shadow: inset 0 0 0 1px rgba(170, 231, 255, .14), 0 3px 0 rgba(16, 78, 110, .78);
  font-family: "Exo 2", sans-serif;
  cursor: pointer;
}
.pc-open-boxes:hover { filter: brightness(1.12); transform: translateY(-1px); }
.pc-open-boxes img { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
.pc-open-boxes span { display: grid; min-width: 0; gap: 2px; text-align: left; }
.pc-open-boxes small { overflow: hidden; color: #8fd7f2; font-size: 7px; font-weight: 800; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.pc-open-boxes b { font-size: 11px; font-style: italic; white-space: nowrap; }
.pc-open-boxes.is-owned { border-color: #67ebc2; box-shadow: inset 0 0 0 1px rgba(170, 255, 230, .14), 0 3px 0 rgba(18, 112, 100, .78); }
.pc-open-boxes.is-owned small { color: #86efcd; }

.pc-grid-box.has-box-strip { grid-template-rows: 88px 50px 42px minmax(0, 1fr); }
.pc-box-strip { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.pc-box-chip-rail { display: flex; min-width: 0; height: 100%; align-items: center; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 2px 1px 3px; scrollbar-width: thin; scrollbar-color: #4fa8d1 transparent; }
.pc-box-chip {
  --pc-box-color: #58bff5;
  display: flex;
  height: 44px;
  flex: 0 0 auto;
  min-width: 112px;
  max-width: 172px;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 6px;
  border: 1px solid color-mix(in srgb, var(--pc-box-color) 42%, #1d4a63);
  border-radius: 9px;
  color: #d9ecf5;
  background: linear-gradient(180deg, rgba(7, 34, 53, .96), rgba(3, 20, 33, .96));
  box-shadow: inset 3px 0 0 var(--pc-box-color);
  text-align: left;
  cursor: pointer;
}
.pc-box-chip:hover { filter: brightness(1.14); }
.pc-box-chip.is-active {
  border-color: var(--pc-box-color);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc-box-color) 32%, #06263a), rgba(4, 24, 38, .96));
  box-shadow: inset 3px 0 0 var(--pc-box-color), 0 0 12px color-mix(in srgb, var(--pc-box-color) 42%, transparent);
}
.pc-box-chip.is-main { --pc-box-color: #67ebc2; min-width: 92px; }
.pc-box-chip.is-drop-target { border-color: #ffe16b; box-shadow: inset 3px 0 0 #ffe16b, 0 0 14px rgba(255, 225, 107, .55); transform: translateY(-1px); }
.pc-box-chip-copy { display: grid; min-width: 0; gap: 3px; }
.pc-box-chip-copy strong { overflow: hidden; font: italic 800 11px/1.1 "Exo 2", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.pc-box-chip-copy small { color: #8fb1c3; font: 700 9px/1 "Exo 2", sans-serif; letter-spacing: .02em; white-space: nowrap; }
.pc-box-chip.is-intake .pc-box-chip-copy small { color: #86efcd; }
.pc-box-chip.is-full .pc-box-chip-copy small { color: #ffb4a8; }
.pc-box-mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--pc-box-color) 26%, #041826);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc-box-color) 70%, transparent);
  font-style: normal;
}
.pc-box-mark img { width: 22px; height: 22px; object-fit: contain; }
.pc-box-mark b { color: var(--pc-box-color); font: italic 900 14px/1 "Exo 2", sans-serif; }
.pc-box-mark.is-main b { font-size: 11px; font-style: normal; letter-spacing: .02em; }
.pc-box-strip-action { min-height: 38px; padding: 0 12px !important; font-size: 10px !important; white-space: nowrap; }
.pc-box-strip-action.is-buy,
.rds-button.pc-box-buy { color: #062f38 !important; border-color: #a7f8df !important; background: linear-gradient(180deg, #86f0cf, #58cfae) !important; }
.pc-box-price { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; font-weight: 900; }
.pc-box-price img { width: 14px; height: 14px; }
.pc-selection-bar .pc-box-bulk-target { height: 30px; max-width: 170px; min-width: 0; padding: 0 6px; border: 1px solid #2c6687; border-radius: 7px; color: #d6e8f2; background: rgba(2, 17, 30, .94); font-size: 10px; }
.pc-selection-bar .pc-box-bulk-move { white-space: nowrap; }

.rds-dialog:has(.pc-box-manager),
.rds-dialog:has(.pc-box-editor) { width: min(600px, 100%); }
.pc-box-manager,
.pc-box-editor { display: grid; gap: 12px; color: #d8e9f2; }
.pc-box-manager-intro { margin: 0; color: #b9d1de; font-size: 13px; line-height: 1.45; }
.pc-box-manager-intro b { color: #eafaff; }
.pc-box-manager-intro span { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: #86efcd; font-weight: 800; }
.pc-box-gem { width: 16px; height: 16px; vertical-align: -3px; }
.pc-box-manager-credits { margin: 0; padding: 8px 10px; border: 1px solid rgba(103, 235, 194, .45); border-radius: 8px; color: #b9ffe9; background: rgba(12, 70, 60, .45); font-size: 12px; }
.pc-box-manager-list { display: grid; gap: 6px; }
.pc-box-manager-row {
  --pc-box-color: #5d7f93;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 10px;
  border: 1px solid rgba(64, 121, 151, .42);
  border-radius: 9px;
  background: rgba(3, 22, 38, .9);
  box-shadow: inset 3px 0 0 var(--pc-box-color);
}
.pc-box-manager-row .pc-box-mark { width: 34px; height: 34px; }
.pc-box-manager-row > div { display: grid; min-width: 0; gap: 3px; }
.pc-box-manager-row strong { overflow: hidden; font: italic 800 13px/1.1 "Exo 2", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.pc-box-manager-row small { color: #86a7b8; font-size: 10px; font-weight: 700; }
.pc-box-manager-row.is-custom small { color: #86efcd; }
.pc-box-manager-note { margin: 0; color: #86a7b8; font-size: 11px; }
.pc-box-manager-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pc-box-manager-buy > small { color: #86a7b8; font-size: 11px; }
.pc-box-manager-buy .rds-button { min-height: 38px; }
.pc-box-editor-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--pc-box-color) 55%, #1d4a63);
  border-radius: 10px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pc-box-color) 24%, #05263a), rgba(3, 20, 33, .95));
}
.pc-box-editor-preview .pc-box-mark { width: 44px; height: 44px; flex-basis: 44px; }
.pc-box-editor-preview .pc-box-mark img { width: 32px; height: 32px; }
.pc-box-editor-preview > div { display: grid; min-width: 0; gap: 4px; }
.pc-box-editor-preview small { color: #8fb1c3; font: 800 10px/1 "Exo 2", sans-serif; letter-spacing: .05em; }
.pc-box-editor-preview strong { overflow: hidden; color: #f2fbff; font: italic 900 18px/1.1 "Exo 2", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.pc-box-editor-field { display: grid; gap: 6px; }
.pc-box-editor-field > span { color: #8fb1c3; font: 800 10px/1 "Exo 2", sans-serif; letter-spacing: .08em; }
.pc-box-editor-field > small { color: #7f9eae; font-size: 10px; }
.pc-box-editor-field input[type="text"] { height: 40px; min-width: 0; padding: 0 12px; border: 1px solid #2c6687; border-radius: 8px; color: #f2fbff; background: rgba(2, 17, 30, .94); font: 700 14px/1 "Exo 2", sans-serif; }
.pc-box-editor-field input[type="text"]:focus { outline: 2px solid var(--pc-box-color); outline-offset: 1px; }
.pc-box-swatches { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.pc-box-swatch { min-width: 0; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, .14); border-radius: 50%; background: var(--swatch); cursor: pointer; }
.pc-box-swatch.is-selected { border-color: #fff; box-shadow: 0 0 0 2px var(--swatch), 0 0 10px var(--swatch); }
.pc-box-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 5px; }
.pc-box-icon-option { display: grid; height: 38px; min-width: 0; place-items: center; border: 1px solid rgba(64, 121, 151, .5); border-radius: 8px; background: rgba(3, 22, 38, .9); cursor: pointer; }
.pc-box-icon-option img { width: 26px; height: 26px; object-fit: contain; }
.pc-box-icon-option b { color: var(--pc-box-color); font: italic 900 14px/1 "Exo 2", sans-serif; }
.pc-box-icon-option.is-selected { border-color: var(--pc-box-color); background: color-mix(in srgb, var(--pc-box-color) 26%, #041826); box-shadow: 0 0 10px color-mix(in srgb, var(--pc-box-color) 45%, transparent); }
.pc-box-editor-toggle { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px; border: 1px solid rgba(64, 121, 151, .42); border-radius: 9px; background: rgba(3, 22, 38, .75); cursor: pointer; }
.pc-box-editor-toggle input { width: 18px; height: 18px; margin-top: 1px; accent-color: #67ebc2; }
.pc-box-editor-toggle span { display: grid; gap: 3px; }
.pc-box-editor-toggle b { color: #eafaff; font-size: 13px; }
.pc-box-editor-toggle small { color: #8fb1c3; font-size: 11px; line-height: 1.35; }
.pc-box-sorts { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-box-sorts .rds-button { min-height: 32px; padding: 0 10px; font-size: 11px; }
.pc-box-editor-price { margin: 0; padding: 9px 11px; border: 1px solid rgba(98, 214, 255, .4); border-radius: 9px; color: #cfeefb; background: rgba(9, 52, 76, .55); font-size: 12px; line-height: 1.4; }

@media (max-width: 1100px) {
  .pc-header.has-box-access { grid-template-columns: minmax(0, 1fr) 46px auto 48px; }
  .pc-header.has-box-access.has-vault-access { grid-template-columns: minmax(0, 1fr) 44px 46px auto 48px; }
  .pc-open-boxes { width: 46px; padding: 0; }
  .pc-open-boxes span { display: none; }
}
@media (max-width: 1024px) {
  .pc-grid-box.has-box-strip { grid-template-rows: auto auto auto auto; }
}
@media (max-width: 820px) {
  .pc-box-strip { grid-template-columns: auto minmax(0, 1fr); }
  .pc-box-strip > .pc-box-strip-action { grid-column: 1 / -1; justify-self: end; }
  .pc-box-swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .pc-screen--grid .pc-header.has-box-access { grid-template-columns: minmax(0, 1fr) 38px auto 38px; }
  .pc-screen--grid .pc-header.has-box-access.has-vault-access { grid-template-columns: minmax(0, 1fr) 38px 38px auto 38px; }
  .pc-open-boxes { width: 38px; height: 38px; }
  .pc-box-chip { min-width: 96px; }
}

/* Community vault attributes remain in normal flow on narrow and short screens. */
.pc-grid-profile.archive-vault-profile { display:flex; flex-direction:column; overflow-y:auto; }
.archive-vault-profile > * { flex:none; }
.archive-vault-profile .pc-hero-stage { height:260px; min-height:260px; }
.archive-vault-profile .rds-section { padding:10px; margin:0; }
.archive-vault-profile .rds-section h4 { margin:0 0 8px; }
.archive-vault-profile .pc-grid-profile-actions { display:flex; flex-wrap:wrap; gap:6px; padding:10px; }
.archive-vault-profile .pc-grid-profile-actions button { min-height:38px; flex:1 1 120px; font-size:11px; }
.archive-vault-profile .pc-manage-area { min-height:88px; grid-template-rows:44px auto; }
.archive-vault-selection { flex-wrap:wrap; }
@media(max-width:700px) {
 .archive-vault-screen .pc-grid-main { display:flex; flex-direction:column; }
 .archive-vault-screen .archive-vault-box { order:0; min-height:560px; }
 .archive-vault-screen .archive-vault-profile { order:1; max-height:none; }
 .archive-vault-screen .archive-vault-footer { min-height:110px; }
}

/* Selection actions take their own rows instead of overflowing a 38px track. */
.archive-vault-selection { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px; }
.archive-vault-selection > span { flex-wrap: wrap; }
.archive-vault-selection small { margin-left: 4px; }
.archive-vault-selection-tools, .archive-vault-selection-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.archive-vault-selection .rds-button { flex-shrink: 0; min-height: 32px; }
.archive-vault-selection .rds-filter { flex: 1 1 160px; max-width: 100%; min-width: 0; height: 32px; }
.archive-vault-selection-actions { padding-top: 6px; border-top: 1px solid rgba(242, 206, 108, .18); }
.archive-vault-footer { grid-template-columns: minmax(0, 1fr) minmax(188px, auto); }
.archive-vault-withdraw { padding-inline: 12px; }

/* Keep the optional box action in the header's grid at every screen width. */
.pc-screen--grid .pc-header.has-box-access {
  grid-template-columns: minmax(0, 1fr) 164px auto 48px;
}
.pc-screen--grid .pc-header.has-box-access.has-vault-access {
  grid-template-columns: minmax(0, 1fr) 154px 164px auto 48px;
}
@media (max-width: 1100px) {
  .pc-screen--grid .pc-header.has-box-access {
    grid-template-columns: minmax(0, 1fr) 46px auto 42px;
  }
  .pc-screen--grid .pc-header.has-box-access.has-vault-access {
    grid-template-columns: minmax(0, 1fr) 44px 46px auto 42px;
  }
}
@media (max-width: 430px) {
  .pc-screen--grid .pc-header.has-box-access {
    grid-template-columns: minmax(0, 1fr) 38px auto 38px;
  }
  .pc-screen--grid .pc-header.has-box-access.has-vault-access {
    grid-template-columns: minmax(0, 1fr) 38px 38px auto 38px;
  }
}
/* PC do Treinador (25/09/2026): tres visualizacoes, cadeado clicavel e lista. */
/* Cabe nos mesmos ~210 px de antes: LIMPAR e COMPACTAR com menos folga, e os tres modos so com
   icone (o nome fica no title e no aria-label; o ativo fica verde). */
.pc-filter-actions.has-view-modes { grid-template-columns: minmax(44px, .5fr) minmax(66px, .8fr) minmax(84px, 1fr); }
.pc-filter-actions.has-view-modes > button { padding: 0 5px; }
.pc-view-modes { display: flex; min-width: 0; gap: 3px; }
.pc-view-modes .pc-view-toggle { display: flex; flex: 1 1 0; min-width: 0; align-items: center; justify-content: center; padding: 0 !important; }
.pc-view-modes .pc-view-toggle.is-cards { order: -1; }
.pc-view-modes .pc-view-toggle .pc-svg { width: 14px; height: 14px; flex: 0 0 14px; }
.pc-view-modes .pc-view-toggle b { display: none; }
.pc-svg { display: inline-block; flex: none; vertical-align: middle; }
.pc-card-status .pc-svg { width: 10px; height: 10px; }
.pc-profile-lock.is-locked { color: #2a1f08 !important; border-color: #ffd45f !important; background: linear-gradient(180deg, #ffe07e, #f4bf3d) !important; }
.pc-profile-lock:disabled { cursor: not-allowed; opacity: .55; }
.pc-bulk-lock { display: inline-flex; align-items: center; gap: 5px; }
.pc-bulk-lock .pc-svg { width: 12px; height: 12px; }
.pc-bulk-lock.is-lock { color: #2a1f08 !important; border-color: #ffd45f !important; background: linear-gradient(180deg, #ffe07e, #f4bf3d) !important; }

/* Cadeado dentro do card: span (botoes nao se aninham), canto oposto ao selo de estado. */
.pc-storage-card .pc-lock-toggle { position: absolute; z-index: 4; top: 32px; left: 6px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #a9c2d0; background: rgba(2, 17, 30, .74); box-shadow: inset 0 0 0 1px rgba(125, 170, 196, .45); cursor: pointer; opacity: .5; transition: opacity .12s ease, transform .12s ease; }
.pc-storage-card .pc-lock-toggle .pc-svg { width: 11px; height: 11px; }
.pc-storage-card:hover .pc-lock-toggle, .pc-storage-card:focus-visible .pc-lock-toggle, .pc-storage-card .pc-lock-toggle:hover { opacity: 1; }
.pc-storage-card .pc-lock-toggle:hover { transform: scale(1.1); color: #effff9; }
.pc-lock-toggle.is-locked { opacity: 1 !important; color: #2a1f08 !important; background: #ffd45f !important; box-shadow: 0 0 0 1px rgba(255, 219, 81, .85), 0 0 8px rgba(255, 212, 95, .45) !important; }
@media (hover: none) { .pc-storage-card .pc-lock-toggle { opacity: .85; } }
.is-view-compact .pc-storage-card .pc-lock-toggle { top: 6px; left: 6px; width: 18px; height: 18px; }

/* Lista */
.pc-slot-scroll .pc-slot-grid--five.is-view-list { display: flex; flex-direction: column; gap: 4px; }
.pc-list-head, .pc-list-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px 28px; align-items: center; gap: 6px; }
.pc-list-head-cells, .pc-list-main { display: grid; min-width: 0; grid-template-columns: minmax(128px, 1.5fr) 48px minmax(84px, .9fr) minmax(96px, 1.05fr) 54px minmax(156px, 1.3fr) minmax(64px, .8fr); align-items: center; gap: 7px; }
.pc-list-head { position: sticky; z-index: 5; top: 0; padding: 6px 4px; border-radius: 7px; background: rgba(3, 20, 33, .97); box-shadow: 0 1px 0 rgba(76, 140, 170, .35); }
.pc-list-sort, .pc-list-head-label { min-width: 0; padding: 0; border: 0; overflow: hidden; color: #86a8bb; background: none; font: 800 8.5px/1.1 "Exo 2", sans-serif; letter-spacing: .04em; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.pc-list-sort { cursor: pointer; }
.pc-list-sort:hover, .pc-list-sort.is-active { color: var(--pc-mint); }
.pc-list-head-ivs { display: grid; min-width: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.pc-list-head-ivs i { color: #86a8bb; font: 800 7.5px/1 "Exo 2", sans-serif; font-style: normal; text-align: center; }
.pc-list-row { position: relative; padding: 3px 4px; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--card-type-primary, #2b6f8f), transparent 74%), rgba(4, 22, 36, .92) 34%); box-shadow: inset 0 0 0 1px rgba(62, 116, 146, .38); content-visibility: auto; contain-intrinsic-size: auto 50px; }
.pc-list-row:hover { box-shadow: inset 0 0 0 1px rgba(103, 235, 194, .5); }
.pc-list-row.is-selected { box-shadow: inset 0 0 0 2px var(--pc-mint), 0 0 10px rgba(103, 235, 194, .22); }
.pc-list-row.is-multi-selected { box-shadow: inset 0 0 0 2px #ffe26e, 0 0 8px rgba(255, 226, 110, .2); }
.pc-list-row.is-drop-target { box-shadow: inset 0 0 0 2px #52a8ff; }
.pc-list-main { min-height: 42px; padding: 2px 0; border: 0; color: #dcecf5; background: none; font: inherit; text-align: left; cursor: pointer; }
.pc-list-main:focus-visible { outline: 2px solid var(--pc-mint); outline-offset: 1px; border-radius: 6px; }
.pc-list-mon { display: flex; min-width: 0; align-items: center; gap: 6px; }
.pc-list-id { display: grid; min-width: 0; justify-items: start; gap: 3px; }
.pc-list-sprite { width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; image-rendering: pixelated; }
.pc-list-name { display: flex; min-width: 0; align-items: baseline; gap: 4px; }
.pc-list-name b { overflow: hidden; color: #f3fbff; font: 800 12px/1.15 "Exo 2", sans-serif; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pc-list-name .pc-gender { flex: none; font-size: 12px; font-style: normal; }
.pc-list-shiny { flex: none; color: #ffd45f; font-size: 11px; font-style: normal; }
.pc-list-level { color: #d9eef8; font: 700 11px/1 "Exo 2", sans-serif; white-space: nowrap; }
.pc-list-tier { justify-self: start; max-width: 100%; overflow: hidden; padding: 3px 6px; border-radius: 999px; color: var(--rarity, #d3e0e5); background: color-mix(in srgb, var(--rarity, #d3e0e5), transparent 88%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rarity, #d3e0e5), transparent 45%); font: 800 8px/1 "Exo 2", sans-serif; letter-spacing: .03em; text-overflow: ellipsis; white-space: nowrap; }
.pc-list-types { display: flex; min-width: 0; flex-wrap: wrap; gap: 3px; }
.pc-list-types .rds-type { max-width: 100%; padding: 2px 6px 2px 3px; font-size: 8.5px; line-height: 1.2; }
.pc-list-types .rds-type img { width: 11px; height: 11px; }
.pc-list-natab { display: grid; min-width: 0; gap: 3px; }
.pc-list-natab > span { overflow: hidden; color: #e4f2f8; font-size: 10.5px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.pc-list-natab small { margin-right: 4px; color: #7f9db0; font: 800 6.5px/1 "Exo 2", sans-serif; letter-spacing: .04em; }
.pc-list-ability.is-hidden { color: #ffe39a; }
.pc-list-ivtotal { color: #9fb8c7; font: 700 10px/1 "Exo 2", sans-serif; white-space: nowrap; }
.pc-list-ivtotal b { color: #f2f9fc; font-size: 13px; }
.pc-list-ivs { display: grid; min-width: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.pc-list-ivs > span { display: grid; min-width: 0; height: 26px; place-items: center; border-radius: 5px; background: rgba(0, 16, 28, .74); box-shadow: inset 0 0 0 1px rgba(128, 150, 164, .5); }
.pc-list-ivs > span small { display: none; }
.pc-list-ivs > span b { color: #f2f9fc; font: 800 11px/1 "Exo 2", sans-serif; }
.pc-list-ivs > span.is-perfect { background: rgba(74, 61, 9, .8); box-shadow: inset 0 0 0 1px rgba(255, 225, 107, .8); }
.pc-list-ivs > span.is-perfect b { color: #ffe16b; }
.pc-list-ivs > span.is-high { background: rgba(8, 58, 40, .8); box-shadow: inset 0 0 0 1px rgba(104, 228, 150, .75); }
.pc-list-ivs > span.is-low { background: rgba(70, 18, 24, .8); box-shadow: inset 0 0 0 1px rgba(239, 107, 107, .75); }
.pc-list-flags { display: flex; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.pc-list-flag { display: inline-flex; max-width: 100%; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 999px; color: #fff3b0; background: rgba(42, 31, 8, .88); box-shadow: inset 0 0 0 1px rgba(255, 219, 81, .5); font: 800 7.5px/1 "Exo 2", sans-serif; white-space: nowrap; }
.pc-list-flag .pc-svg { width: 10px; height: 10px; }
.pc-list-flag b { overflow: hidden; text-overflow: ellipsis; }
.pc-list-flag.is-working, .pc-list-flag.is-mining { color: #c9f4ff; background: rgba(5, 45, 61, .9); box-shadow: inset 0 0 0 1px rgba(88, 191, 245, .55); }
.pc-list-check, .pc-list-open, .pc-lock-toggle.is-list { position: static; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 7px; opacity: 1; }
.pc-list-check.is-empty, .pc-list-open.is-empty, .pc-lock-toggle.is-list.is-empty { background: none; box-shadow: none; cursor: default; }
.pc-list-check { background: rgba(2, 17, 30, .82); box-shadow: inset 0 0 0 1px rgba(98, 150, 178, .6); cursor: pointer; }
.pc-list-check i { display: block; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #7fa8bd; }
.pc-list-check[aria-pressed="true"] i { background: #ffe26e; box-shadow: inset 0 0 0 1.5px #ffe26e; }
.pc-list-check[aria-pressed="true"] i::after { display: block; width: 3px; height: 7px; margin: 1px auto 0; border: solid #2a1f08; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.pc-lock-toggle.is-list:not(.is-empty) { color: #a9c2d0; background: rgba(2, 17, 30, .82); box-shadow: inset 0 0 0 1px rgba(125, 170, 196, .45); cursor: pointer; }
.pc-lock-toggle.is-list .pc-svg { width: 13px; height: 13px; }
.pc-list-open:not(.is-empty) { color: #8fe9c9; background: rgba(3, 30, 38, .82); box-shadow: inset 0 0 0 1px rgba(103, 235, 194, .4); font: 800 18px/1 "Exo 2", sans-serif; cursor: pointer; }
.pc-list-open:not(.is-empty):hover, .pc-lock-toggle.is-list:not(.is-empty):not(.is-locked):hover { color: #effff9; box-shadow: inset 0 0 0 1px var(--pc-mint); }

@media (max-width: 1100px) {
  .pc-list-head-cells, .pc-list-main { grid-template-columns: minmax(116px, 1.4fr) 44px minmax(78px, .9fr) minmax(88px, 1fr) 50px minmax(144px, 1.25fr) minmax(56px, .6fr); gap: 5px; }
}
@media (max-width: 820px) {
  .pc-list-head { display: none; }
  .pc-list-head, .pc-list-row { grid-template-columns: 26px minmax(0, 1fr) 26px 26px; gap: 4px; }
  .pc-list-main { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "mon mon level" "types natab ivtotal" "ivs ivs flags"; column-gap: 6px; row-gap: 5px; padding: 4px 0; }
  .pc-list-mon { grid-area: mon; }
  .pc-list-level { grid-area: level; justify-self: end; }
  .pc-list-types { grid-area: types; }
  .pc-list-natab { grid-area: natab; }
  .pc-list-ivtotal { grid-area: ivtotal; justify-self: end; }
  .pc-list-ivs { grid-area: ivs; }
  .pc-list-flags { grid-area: flags; }
  .pc-list-row { contain-intrinsic-size: auto 104px; }
  .pc-list-check, .pc-list-open, .pc-lock-toggle.is-list { width: 26px; height: 26px; }
}
