/* PokePDA - Profissões V297 | layout exclusivo da janela Profissões */

#pokepdaProfessionsOverlayV288 .pokepda-professions-window-v288 {
  width: min(960px, calc(100vw - 28px));
  height: min(680px, calc(100vh - 42px));
  border-color: rgba(210, 166, 59, .42);
  background:
    linear-gradient(180deg, rgba(16, 26, 34, .995), rgba(6, 13, 19, .998));
  box-shadow:
    0 24px 70px rgba(0,0,0,.62),
    0 0 0 1px rgba(92,196,229,.08),
    inset 0 1px rgba(255,255,255,.045);
}

#pokepdaProfessionsOverlayV288 .pokepda-professions-header-v288 {
  height: 46px;
  min-height: 46px;
  padding: 0 11px 0 17px;
  border-bottom: 1px solid rgba(221, 177, 66, .20);
  background:
    linear-gradient(90deg, rgba(40,30,13,.82), rgba(7,24,33,.92) 42%, rgba(5,16,23,.96));
}

#pokepdaProfessionsOverlayV288 .pokepda-professions-title-v288 {
  position: relative;
  padding-left: 16px;
  color: #fff2c1;
  letter-spacing: .45px;
}

#pokepdaProfessionsOverlayV288 .pokepda-professions-title-v288::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #e8b738;
  box-shadow: 0 0 9px rgba(232,183,56,.42);
  transform: translateY(-50%) rotate(45deg);
}

#pokepdaProfessionsOverlayV288 .pokepda-professions-close-v288 {
  border-color: rgba(229, 192, 92, .18);
  background: rgba(255,255,255,.035);
}

#pokepdaProfessionsBodyV288 {
  min-height: 0;
  overflow: auto;
  padding: 15px;
  color: #edf7fb;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(50,158,194,.10), transparent 29%),
    radial-gradient(circle at 83% 12%, rgba(222,170,49,.07), transparent 24%),
    linear-gradient(180deg, #0a1720, #071118 58%, #050c12);
  scrollbar-width: thin;
  scrollbar-color: rgba(198,151,43,.55) rgba(255,255,255,.03);
}

#pokepdaProfessionsBodyV288::-webkit-scrollbar {
  width: 7px;
}

#pokepdaProfessionsBodyV288::-webkit-scrollbar-track {
  background: rgba(255,255,255,.025);
}

#pokepdaProfessionsBodyV288::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #d4a62f, #755517);
}

#pokepdaProfessionsBodyV288 .prof-v297-shell {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 100%;
}

#pokepdaProfessionsBodyV288 .prof-v297-hero {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: 18px 120px 28px;
  border: 1px solid rgba(212,166,53,.34);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 36%),
    radial-gradient(circle at 50% -15%, rgba(224,178,57,.19), transparent 38%),
    radial-gradient(circle at 17% 85%, rgba(30,143,189,.18), transparent 32%),
    radial-gradient(circle at 86% 70%, rgba(63,159,183,.12), transparent 34%),
    linear-gradient(120deg, #102a35, #111e26 44%, #1d211a 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.045),
    inset 0 -34px 58px rgba(0,0,0,.13),
    0 9px 28px rgba(0,0,0,.20);
}

#pokepdaProfessionsBodyV288 .prof-v297-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255,255,255,.045) 49%, rgba(255,255,255,.045) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(255,255,255,.025) 49%, rgba(255,255,255,.025) 51%, transparent 52%);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

#pokepdaProfessionsBodyV288 .prof-v297-hero::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 21px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226,182,67,.30), transparent);
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-aurora {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .18;
  filter: blur(26px);
  animation: profAuraV297 6.8s ease-in-out infinite alternate;
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-aurora-a {
  left: 8%;
  top: -100px;
  background: #3bc4eb;
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-aurora-b {
  right: 8%;
  bottom: -120px;
  background: #e1ad32;
  animation-delay: -2.4s;
}

#pokepdaProfessionsBodyV288 .prof-v297-corner-pokemon {
  position: absolute;
  z-index: 3;
  bottom: 7px;
  pointer-events: none;
}

#pokepdaProfessionsBodyV288 .prof-v297-corner-pokemon[hidden] {
  display: none !important;
}

/*
 * V298: os dois decorativos usam /up/0, que o próprio jogo já trata como
 * retrato/frente. Se o PNG local não existir, cai no sprite FRONT da PokeAPI.
 */
#pokepdaProfessionsBodyV288 .prof-v298-pokemon-wrap {
  width: 112px;
  height: 112px;
  overflow: visible;
  transform-origin: 50% 90%;
}

#pokepdaProfessionsBodyV288 .prof-v298-pokemon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 10px 6px rgba(0,0,0,.38))
    drop-shadow(0 0 7px rgba(91,190,223,.10));
}

#pokepdaProfessionsBodyV288 .prof-v297-pokemon-left {
  left: 8px;
  animation: profPokemonFloatLeftV298 3.45s ease-in-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v297-pokemon-right {
  right: 3px;
  width: 118px;
  height: 118px;
  animation: profPokemonFloatRightV298 3.15s ease-in-out infinite;
}

/* Pálpebras desenhadas somente sobre os olhos dos mascotes decorativos. */
#pokepdaProfessionsBodyV288 .prof-v298-blink-eye {
  position: absolute;
  z-index: 4;
  display: block;
  height: 3px;
  border-radius: 999px;
  opacity: 0;
  transform: scaleY(.2);
  transform-origin: center;
  pointer-events: none;
}

/* Geodude — olhos na região central superior. */
#pokepdaProfessionsBodyV288 .prof-v298-geodude .prof-v298-blink-eye {
  top: 42%;
  width: 12%;
  background: rgba(86,72,52,.96);
  animation: profBlinkGeodudeV298 4.8s steps(1,end) infinite;
}

#pokepdaProfessionsBodyV288 .prof-v298-geodude .prof-v298-eye-left {
  left: 36%;
  transform: rotate(3deg) scaleY(.2);
}

#pokepdaProfessionsBodyV288 .prof-v298-geodude .prof-v298-eye-right {
  right: 35%;
  transform: rotate(-3deg) scaleY(.2);
}

/* Machop — olhos um pouco mais altos e próximos. */
#pokepdaProfessionsBodyV288 .prof-v298-machop .prof-v298-blink-eye {
  top: 36%;
  width: 11%;
  background: rgba(73,58,57,.96);
  animation: profBlinkMachopV298 5.35s steps(1,end) infinite;
}

#pokepdaProfessionsBodyV288 .prof-v298-machop .prof-v298-eye-left {
  left: 37%;
  transform: rotate(2deg) scaleY(.2);
}

#pokepdaProfessionsBodyV288 .prof-v298-machop .prof-v298-eye-right {
  right: 36%;
  transform: rotate(-2deg) scaleY(.2);
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-center {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  text-align: left;
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(232,188,75,.46);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 42%, rgba(246,196,70,.17), transparent 48%),
    linear-gradient(145deg, rgba(37,61,68,.94), rgba(11,23,29,.96));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 8px 22px rgba(0,0,0,.26);
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem::before,
#pokepdaProfessionsBodyV288 .prof-v297-emblem::after {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 37px;
  line-height: 1;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.48));
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem-pick,
#pokepdaProfessionsBodyV288 .prof-v297-emblem-hammer {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 35px;
  line-height: 1;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.46));
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem-pick {
  transform: translate(-68%,-54%) rotate(-23deg);
  animation: profToolPickIdleV297 3.6s ease-in-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem-hammer {
  transform: translate(-29%,-51%) rotate(23deg) scale(.84);
  animation: profToolHammerIdleV297 3.6s ease-in-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-copy {
  min-width: 0;
}

#pokepdaProfessionsBodyV288 .prof-v297-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e4bd59;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 1.35px;
}

#pokepdaProfessionsBodyV288 .prof-v297-kicker-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #f2c85c;
  box-shadow: 0 0 8px rgba(242,200,92,.52);
}

#pokepdaProfessionsBodyV288 .prof-v297-hero h3 {
  margin: 5px 0 5px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.14;
  letter-spacing: -.25px;
  text-shadow: 0 2px 8px rgba(0,0,0,.40);
}

#pokepdaProfessionsBodyV288 .prof-v297-hero p {
  max-width: 600px;
  margin: 0;
  color: #a8bec8;
  font-size: 12.5px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-ribbon {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(203,220,225,.68);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: translateX(-50%);
  white-space: nowrap;
}

#pokepdaProfessionsBodyV288 .prof-v297-hero-ribbon i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(224,177,60,.7);
}

#pokepdaProfessionsBodyV288 .prof-v297-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(270px, .76fr);
  gap: 11px;
  align-items: stretch;
}

#pokepdaProfessionsBodyV288 .prof-v295-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

#pokepdaProfessionsBodyV288 .prof-v297-main-card {
  padding: 15px;
  border: 1px solid rgba(216,172,58,.48);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(233,184,58,.08), transparent 29%),
    linear-gradient(180deg, rgba(18,34,42,.985), rgba(8,18,25,.995));
  box-shadow:
    inset 0 1px rgba(255,255,255,.04),
    0 9px 25px rgba(0,0,0,.19);
}

#pokepdaProfessionsBodyV288 .prof-v297-card-glow {
  position: absolute;
  pointer-events: none;
  width: 110px;
  height: 110px;
  right: -56px;
  top: -50px;
  border-radius: 50%;
  opacity: .24;
  background: #dbaa2c;
  filter: blur(30px);
}

#pokepdaProfessionsBodyV288 .prof-v297-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v297-prof-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border: 1px solid rgba(226,185,74,.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 45% 35%, rgba(255,214,101,.16), transparent 45%),
    linear-gradient(145deg, #1d333c, #0b1a21);
  box-shadow:
    inset 0 1px rgba(255,255,255,.04),
    0 6px 14px rgba(0,0,0,.24);
}

#pokepdaProfessionsBodyV288 .prof-v297-prof-icon span {
  display: block;
  font-size: 27px;
  transform: rotate(-7deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.42));
}

#pokepdaProfessionsBodyV288 .prof-v297-card-title {
  min-width: 0;
  display: grid;
  gap: 1px;
}

#pokepdaProfessionsBodyV288 .prof-v297-card-title .prof-v297-card-kicker {
  color: #c49734;
  font-size: 6.5px;
  font-weight: 950;
  letter-spacing: .85px;
}

#pokepdaProfessionsBodyV288 .prof-v297-card-title strong {
  color: #fff;
  font-size: 15px;
}

#pokepdaProfessionsBodyV288 .prof-v297-card-title span {
  color: #8aa0ac;
  font-size: 8px;
  font-weight: 850;
}

#pokepdaProfessionsBodyV288 .prof-v297-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(85,220,149,.29);
  border-radius: 999px;
  background: rgba(39,148,88,.11);
  color: #83efb1;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .55px;
}

#pokepdaProfessionsBodyV288 .prof-v297-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #68eaa0;
  box-shadow: 0 0 7px rgba(104,234,160,.65);
  animation: profLivePulseV297 1.8s ease-in-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v297-description {
  margin: 10px 0 11px;
  color: #9db5c0;
  font-size: 11.5px;
  line-height: 1.45;
}

#pokepdaProfessionsBodyV288 .prof-v297-progress-panel {
  padding: 9px 10px 10px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 9px;
  background: rgba(2,10,15,.37);
}

#pokepdaProfessionsBodyV288 .prof-v297-xp-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: #839daa;
  font-size: 9.5px;
  font-weight: 900;
}

#pokepdaProfessionsBodyV288 .prof-v297-xp-line b {
  color: #ffe27a;
  font-variant-numeric: tabular-nums;
}

#pokepdaProfessionsBodyV288 .prof-v297-xp-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 999px;
  background: rgba(1,5,8,.90);
}

#pokepdaProfessionsBodyV288 .prof-v297-xp-track > i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #b37a11, #e6b72e 50%, #ffe477);
  box-shadow:
    0 0 10px rgba(239,191,55,.26),
    inset 0 1px rgba(255,255,255,.24);
  transition: width .24s ease-out;
}

#pokepdaProfessionsBodyV288 .prof-v297-xp-shine {
  position: absolute;
  inset: 1px 0 auto 0;
  height: 2px;
  pointer-events: none;
  opacity: .34;
  background: linear-gradient(90deg, transparent, #fff6c4, transparent);
}

#pokepdaProfessionsBodyV288 .prof-v297-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  margin-top: 9px;
}

#pokepdaProfessionsBodyV288 .prof-v297-stats > div {
  position: relative;
  min-width: 0;
  min-height: 47px;
  padding: 7px 9px 7px 27px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(0,0,0,.05)),
    rgba(3,12,17,.46);
}

#pokepdaProfessionsBodyV288 .prof-v297-stat-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  color: #c49b35;
  font-size: 10px;
  transform: translateY(-50%);
}

#pokepdaProfessionsBodyV288 .prof-v297-stats small {
  color: #617b88;
  font-size: 6.5px;
  font-weight: 950;
}

#pokepdaProfessionsBodyV288 .prof-v297-stats strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #ecf5f8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pokepdaProfessionsBodyV288 .prof-v297-reward {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(77,156,187,.18);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(7,26,34,.76), rgba(10,22,28,.55));
}

#pokepdaProfessionsBodyV288 .prof-v297-reward[hidden] {
  display: none !important;
}

#pokepdaProfessionsBodyV288 .prof-v297-reward-sprite {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid rgba(230,184,62,.16);
  border-radius: 8px;
  background: rgba(1,8,12,.48);
}

#pokepdaProfessionsBodyV288 .prof-v297-reward img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}

#pokepdaProfessionsBodyV288 .prof-v297-reward > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

#pokepdaProfessionsBodyV288 .prof-v297-reward small {
  color: #607d8a;
  font-size: 6.5px;
  font-weight: 900;
}

#pokepdaProfessionsBodyV288 .prof-v297-reward strong {
  overflow: hidden;
  color: #dcecf3;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pokepdaProfessionsBodyV288 .prof-v297-reward em {
  margin-left: auto;
  color: rgba(225,190,92,.78);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .8px;
}

#pokepdaProfessionsBodyV288 .prof-v297-action-zone {
  margin-top: 9px;
}

#pokepdaProfessionsBodyV288 .prof-v297-mine-btn {
  position: relative;
  width: 100%;
  height: 39px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #c8921f;
  border-radius: 9px;
  background:
    linear-gradient(180deg, #f2cb58, #b67e13);
  color: #211500;
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
  box-shadow:
    inset 0 1px rgba(255,255,255,.34),
    0 5px 14px rgba(0,0,0,.21);
  transition: filter .12s ease, transform .12s ease, box-shadow .12s ease;
}

#pokepdaProfessionsBodyV288 .prof-v297-mine-btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34%;
  width: 26%;
  pointer-events: none;
  opacity: .45;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: skewX(-19deg);
  animation: profButtonSheenV297 3.8s ease-in-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v297-mine-btn:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px rgba(255,255,255,.36),
    0 7px 16px rgba(0,0,0,.25),
    0 0 12px rgba(225,177,45,.09);
}

#pokepdaProfessionsBodyV288 .prof-v297-mine-btn:disabled {
  cursor: default;
  filter: saturate(.55) brightness(.73);
  transform: none;
}

#pokepdaProfessionsBodyV288 .prof-v297-mine-btn [data-miner-action-text] {
  position: relative;
  z-index: 2;
  font-variant-numeric: tabular-nums;
}

#pokepdaProfessionsBodyV288 .prof-v297-mine-pick {
  position: relative;
  z-index: 2;
  display: inline-block;
  transform-origin: 72% 80%;
  font-size: 17px;
}

#pokepdaProfessionsBodyV288 .prof-v297-button-spark {
  position: absolute;
  z-index: 1;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  opacity: 0;
  background: #fff7c5;
}

#pokepdaProfessionsBodyV288 .prof-v297-button-spark-a {
  left: 31%;
  top: 22%;
}

#pokepdaProfessionsBodyV288 .prof-v297-button-spark-b {
  right: 30%;
  bottom: 18%;
}

#pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining .prof-v297-mine-pick {
  animation: profMineSwingV297 .46s ease-in-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining .prof-v297-button-spark-a {
  animation: profMiningSparkV297 .92s ease-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining .prof-v297-button-spark-b {
  animation: profMiningSparkV297 .92s .38s ease-out infinite;
}

#pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining {
  box-shadow:
    inset 0 1px rgba(255,255,255,.04),
    0 9px 25px rgba(0,0,0,.20),
    0 0 22px rgba(232,183,55,.11);
}

#pokepdaProfessionsBodyV288 .prof-v297-status {
  min-height: 20px;
  margin-top: 7px;
  color: #9bb2bc;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

#pokepdaProfessionsBodyV288 .prof-v297-status[data-kind="success"] { color: #79e9a8; }
#pokepdaProfessionsBodyV288 .prof-v297-status[data-kind="levelup"] { color: #ffe679; }
#pokepdaProfessionsBodyV288 .prof-v297-status[data-kind="error"] { color: #ff9797; }
#pokepdaProfessionsBodyV288 .prof-v297-status[data-kind="mining"] { color: #80dfff; }

#pokepdaProfessionsBodyV288 .prof-v297-side {
  display: grid;
  grid-template-rows: auto repeat(3, minmax(88px, 1fr)) auto;
  gap: 8px;
  min-width: 0;
}

#pokepdaProfessionsBodyV288 .prof-v297-side-title {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border: 1px solid rgba(84,146,171,.15);
  border-radius: 9px;
  background: rgba(4,15,21,.46);
}

#pokepdaProfessionsBodyV288 .prof-v297-side-title div {
  display: grid;
  gap: 1px;
}

#pokepdaProfessionsBodyV288 .prof-v297-side-title small {
  color: #66818e;
  font-size: 6px;
  font-weight: 950;
  letter-spacing: .8px;
}

#pokepdaProfessionsBodyV288 .prof-v297-side-title strong {
  color: #ddecf2;
  font-size: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v297-side-title > span {
  color: #c89b35;
  font-size: 12px;
}

#pokepdaProfessionsBodyV288 .prof-v297-future-card {
  position: relative;
  min-height: 102px;
  padding: 10px 10px 10px 73px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(78,122,144,.25);
  border-radius: 11px;
  opacity: .78;
  background:
    linear-gradient(135deg, rgba(21,38,47,.93), rgba(8,18,24,.97));
}

#pokepdaProfessionsBodyV288 .prof-v297-future-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 55%, rgba(255,255,255,.02));
}

#pokepdaProfessionsBodyV288 .prof-v297-future-art {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 51px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(2,9,13,.42);
  transform: translateY(-50%);
}

#pokepdaProfessionsBodyV288 .prof-v297-future-art i {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  opacity: .19;
  filter: blur(14px);
}

#pokepdaProfessionsBodyV288 .prof-v297-wood-card .prof-v297-future-art i {
  background: #75be72;
}

#pokepdaProfessionsBodyV288 .prof-v297-fish-card .prof-v297-future-art i {
  background: #4bb4dc;
}

#pokepdaProfessionsBodyV288 .prof-v297-future-icon {
  position: relative;
  z-index: 2;
  font-size: 30px;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.48));
}

#pokepdaProfessionsBodyV288 .prof-v297-future-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#pokepdaProfessionsBodyV288 .prof-v297-future-copy small {
  color: #637e8c;
  font-size: 5.8px;
  font-weight: 950;
  letter-spacing: .7px;
}

#pokepdaProfessionsBodyV288 .prof-v297-future-copy strong {
  color: #dbe9ef;
  font-size: 11px;
}

#pokepdaProfessionsBodyV288 .prof-v297-future-copy p {
  margin: 2px 0 0;
  color: #859eaa;
  font-size: 9.5px;
  line-height: 1.4;
}

#pokepdaProfessionsBodyV288 .prof-v297-coming {
  align-self: flex-start;
  margin: 7px 0 0;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 999px;
  color: #718894;
  background: rgba(255,255,255,.03);
  font-size: 5.8px;
  font-weight: 950;
  letter-spacing: .55px;
}

#pokepdaProfessionsBodyV288 .prof-v297-guild-note {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px dashed rgba(212,170,62,.18);
  border-radius: 9px;
  background: rgba(44,35,12,.12);
}

#pokepdaProfessionsBodyV288 .prof-v297-guild-note > span {
  color: #d2a83d;
  font-size: 11px;
}

#pokepdaProfessionsBodyV288 .prof-v297-guild-note p {
  margin: 0;
  color: #718894;
  font-size: 6.7px;
  line-height: 1.35;
}

#pokepdaProfessionsBodyV288 .prof-v297-guild-note b {
  color: #b7cad2;
  font-size: 7.4px;
}

#pokepdaProfessionsBodyV288 [hidden] { display: none !important; }

#pokepdaProfessionsBodyV288 .prof-v303-choice-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 1;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#pokepdaProfessionsBodyV288 .prof-v303-choice-card:hover,
#pokepdaProfessionsBodyV288 .prof-v303-choice-card:focus-visible {
  border-color: rgba(105,218,235,.72);
  box-shadow: 0 0 15px rgba(54,192,220,.13), inset 0 1px rgba(255,255,255,.05);
  transform: translateY(-1px);
  outline: none;
}

#pokepdaProfessionsBodyV288 .prof-v303-choice-card.is-active {
  border-color: rgba(102,232,159,.7);
  box-shadow: inset 0 0 18px rgba(56,185,111,.1), 0 0 12px rgba(60,210,127,.08);
}

#pokepdaProfessionsBodyV288 .prof-v303-choice-state {
  position: absolute;
  right: 9px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 6px;
  border: 1px solid rgba(99,211,231,.22);
  border-radius: 999px;
  color: #7edff0;
  background: rgba(12,39,49,.84);
  font-size: 6px;
  font-weight: 950;
  letter-spacing: .5px;
}

#pokepdaProfessionsBodyV288 .prof-v303-choice-card.is-active .prof-v303-choice-state {
  border-color: rgba(102,232,159,.35);
  color: #83efb1;
  background: rgba(25,81,51,.48);
}

#pokepdaProfessionsBodyV288 .prof-v303-work-panel,
#pokepdaProfessionsBodyV288 .prof-v303-no-choice,
#pokepdaProfessionsBodyV288 .prof-v303-reset-panel {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid rgba(82,174,196,.2);
  border-radius: 10px;
  background: rgba(3,14,20,.62);
  color: #9eb6c1;
  font-size: 10px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v303-work-panel small {
  color: #d5ae46;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .8px;
}

#pokepdaProfessionsBodyV288 .prof-v303-work-panel p { margin: 6px 0; color: #d9e8ec; }
#pokepdaProfessionsBodyV288 .prof-v303-work-panel span { color: #748d99; font-size: 8px; }

#pokepdaProfessionsBodyV288 .prof-v303-reset-panel {
  border-color: rgba(236,177,73,.25);
  color: #c7af75;
}

#pokepdaProfessionsBodyV288 .prof-v303-reset-panel button {
  display: block;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(239,186,72,.48);
  border-radius: 7px;
  color: #ffdf8b;
  background: rgba(116,76,16,.28);
  font: inherit;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

#pokepdaProfessionsBodyV288 .prof-v303-reset-panel button:disabled,
#pokepdaProfessionsBodyV288 .prof-v303-choice-card:disabled { opacity: .55; cursor: wait; }

#pokepdaProfessionsBodyV288 .prof-v303-selection-status {
  margin-top: 8px;
  min-height: 15px;
  color: #8da8b4;
  font-size: 9px;
  font-weight: 800;
}

#pokepdaProfessionsBodyV288 .prof-v303-selection-status[data-kind="success"] { color: #79e9a8; }
#pokepdaProfessionsBodyV288 .prof-v303-selection-status[data-kind="error"] { color: #ff9797; }

@keyframes profAuraV297 {
  from { transform: translate3d(-8px, 0, 0) scale(.94); }
  to   { transform: translate3d(9px, 4px, 0) scale(1.06); }
}

@keyframes profPokemonFloatLeftV298 {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-5px) rotate(1.2deg); }
}

@keyframes profPokemonFloatRightV298 {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%     { transform: translateY(-6px) rotate(-1.2deg); }
}

/* Piscada curta e natural, em momentos diferentes para não parecer espelhado. */
@keyframes profBlinkGeodudeV298 {
  0%, 43%, 47%, 78%, 82%, 100% { opacity: 0; }
  44%, 46%, 79%, 81% { opacity: 1; }
}

@keyframes profBlinkMachopV298 {
  0%, 31%, 35%, 68%, 72%, 100% { opacity: 0; }
  32%, 34%, 69%, 71% { opacity: 1; }
}

@keyframes profToolPickIdleV297 {
  0%,100% { transform: translate(-68%,-54%) rotate(-23deg); }
  50%     { transform: translate(-69%,-57%) rotate(-27deg); }
}

@keyframes profToolHammerIdleV297 {
  0%,100% { transform: translate(-29%,-51%) rotate(23deg) scale(.84); }
  50%     { transform: translate(-27%,-54%) rotate(28deg) scale(.86); }
}

@keyframes profLivePulseV297 {
  0%,100% { opacity: .55; transform: scale(.88); }
  50%     { opacity: 1; transform: scale(1.15); }
}

@keyframes profButtonSheenV297 {
  0%, 55% { left: -34%; opacity: 0; }
  65%     { opacity: .42; }
  82%     { left: 112%; opacity: 0; }
  100%    { left: 112%; opacity: 0; }
}

@keyframes profMineSwingV297 {
  0%,100% { transform: rotate(-10deg); }
  50%     { transform: rotate(31deg) translateY(1px); }
}

@keyframes profMiningSparkV297 {
  0%   { opacity: 0; transform: translate(0,0) scale(.5); }
  35%  { opacity: .95; }
  100% { opacity: 0; transform: translate(7px,-8px) scale(1.5); }
}

@media (max-width: 820px) {
  #pokepdaProfessionsBodyV288 .prof-v297-hero {
    padding-left: 96px;
    padding-right: 96px;
  }

  #pokepdaProfessionsBodyV288 .prof-v298-pokemon-wrap {
    width: 82px;
    height: 82px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-pokemon-right {
    width: 92px;
    height: 92px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout {
    grid-template-columns: 1fr;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-side-title {
    grid-column: 1 / -1;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-guild-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 610px) {
  #pokepdaProfessionsBodyV288 {
    padding: 10px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-hero {
    min-height: 188px;
    padding: 17px 58px 30px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-emblem {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-emblem-pick,
  #pokepdaProfessionsBodyV288 .prof-v297-emblem-hammer {
    font-size: 29px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-hero h3 {
    font-size: 17px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-hero p {
    font-size: 10.5px;
  }

  #pokepdaProfessionsBodyV288 .prof-v298-pokemon-wrap {
    width: 62px;
    height: 62px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-pokemon-left {
    left: 2px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-pokemon-right {
    right: 0;
    width: 70px;
    height: 70px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-stats {
    grid-template-columns: 1fr;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-side {
    grid-template-columns: 1fr;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-side-title,
  #pokepdaProfessionsBodyV288 .prof-v297-guild-note {
    grid-column: auto;
  }
}

/* V313: tela escolhida usa toda a largura para oficina, materiais e receitas. */
#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) > [data-profession-panel] {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(175px, .45fr) minmax(0, 1.55fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 9px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v297-side-title {
  min-height: 58px;
  grid-column: 1;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v308-profession-tabs {
  grid-column: 2;
  margin: 0;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) > [data-active-workspace] {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  padding: 18px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v309-material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v309-recipe-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 700px) {
  #pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) > [data-profession-panel] {
    grid-template-columns: 1fr;
  }
  #pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v297-side-title,
  #pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v308-profession-tabs {
    grid-column: 1;
  }
  #pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v309-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  #pokepdaProfessionsBodyV288 .prof-v297-layout:not(.is-choosing) .prof-v309-recipe-list {
    grid-template-columns: 1fr;
  }
}

/* V309: cartões de coleta e receitas com quantidades visíveis. */
#pokepdaProfessionsBodyV288 .prof-v309-craft-workspace {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(81, 157, 174, .24);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(7, 21, 28, .86), rgba(3, 12, 18, .82));
}

#pokepdaProfessionsBodyV288 .prof-v297-main-card > [data-craft-options] { position: relative; z-index: 1; }
#pokepdaProfessionsBodyV288 .prof-v297-main-card > [data-craft-options][hidden] { display: none !important; }
#pokepdaProfessionsBodyV288 .prof-v297-side.has-profession { grid-template-rows: auto auto; align-content: start; }
#pokepdaProfessionsBodyV288 .prof-v309-material-card img,
#pokepdaProfessionsBodyV288 .prof-v309-recipe-heading img,
#pokepdaProfessionsBodyV288 .prof-v309-ingredient img {
  filter: drop-shadow(0 2px 5px rgba(62, 204, 224, .2));
}

#pokepdaProfessionsBodyV288 .prof-v309-workspace-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

#pokepdaProfessionsBodyV288 .prof-v309-workspace-tab {
  min-height: 34px;
  border: 1px solid rgba(86, 161, 179, .32);
  border-radius: 7px;
  color: #a9c1c8;
  background: rgba(4, 14, 20, .8);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

#pokepdaProfessionsBodyV288 .prof-v309-workspace-tab.is-active {
  border-color: rgba(229, 189, 89, .72);
  color: #ffe39b;
  background: rgba(105, 77, 23, .25);
}

#pokepdaProfessionsBodyV288 .prof-v309-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#pokepdaProfessionsBodyV288 .prof-v309-material-grid[hidden],
#pokepdaProfessionsBodyV288 .prof-v309-recipe-list[hidden] {
  display: none !important;
}

#pokepdaProfessionsBodyV288 .prof-v309-material-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  min-width: 0;
  min-height: 68px;
  padding: 8px;
  border: 1px solid rgba(87, 151, 165, .24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 34, 42, .92), rgba(5, 15, 21, .94));
}

#pokepdaProfessionsBodyV288 .prof-v309-material-card img {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
}

#pokepdaProfessionsBodyV288 .prof-v309-material-card strong {
  overflow: hidden;
  color: #e1edf0;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

#pokepdaProfessionsBodyV288 .prof-v309-material-card small {
  color: #a9c0c8;
  font-size: 10px;
  line-height: 1.25;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-list {
  display: grid;
  gap: 9px;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-card {
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(218, 175, 75, .34);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(24, 34, 34, .96), rgba(6, 15, 20, .97));
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-heading {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  min-height: 46px;
}

#pokepdaProfessionsBodyV288 .prof-v315-ball-tooltip {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.prof-v316-ball-tooltip-popup {
  position: fixed;
  z-index: 2147483000;
  width: max-content;
  max-width: min(260px, calc(100vw - 16px));
  padding: 8px 10px;
  border: 1px solid rgba(218, 175, 75, .78);
  border-radius: 7px;
  color: #fff2c8;
  background: rgba(4, 14, 20, .98);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .48);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  pointer-events: none;
  white-space: normal;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-heading img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  image-rendering: pixelated;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-heading strong {
  color: #fff0be;
  font-size: 17px;
  line-height: 1.3;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-heading small {
  color: #b5c8cc;
  font-size: 14px;
  white-space: nowrap;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-heading .prof-v328-recipe-level {
  padding: 4px 7px;
  border: 1px solid rgba(241, 193, 78, .42);
  border-radius: 99px;
  color: #ffe49c;
  background: rgba(102, 75, 18, .24);
  font-size: 10px;
  font-weight: 850;
}

#pokepdaProfessionsBodyV288 .prof-v310-recipe-instruction {
  margin: -3px 0 0;
  color: #d2e0e3;
  font-size: 14px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v314-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid rgba(103, 224, 237, .2);
  border-radius: 7px;
  color: #d3e2e5;
  background: rgba(2, 10, 15, .58);
  font-size: 14px;
  font-weight: 750;
}

#pokepdaProfessionsBodyV288 .prof-v314-quantity-row input {
  width: 84px;
  min-height: 28px;
  padding: 3px 7px;
  border: 1px solid rgba(218, 175, 75, .55);
  border-radius: 6px;
  color: #fff0be;
  background: #07141a;
  font: inherit;
  text-align: center;
}

#pokepdaProfessionsBodyV288 .prof-v314-quantity-row input:focus {
  outline: 2px solid rgba(103, 224, 237, .45);
  outline-offset: 1px;
}

#pokepdaProfessionsBodyV288 .prof-v309-ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

#pokepdaProfessionsBodyV288 .prof-v309-ingredient {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: rgba(2, 10, 15, .56);
}

#pokepdaProfessionsBodyV288 .prof-v309-ingredient img {
  grid-row: 1 / 3;
  width: 25px;
  height: 25px;
  object-fit: contain;
  image-rendering: pixelated;
}

#pokepdaProfessionsBodyV288 .prof-v309-ingredient span {
  overflow: hidden;
  color: #dce8eb;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pokepdaProfessionsBodyV288 .prof-v309-ingredient strong {
  color: #ffb2a8;
  font-size: 12px;
  line-height: 1.3;
}

#pokepdaProfessionsBodyV288 .prof-v309-ingredient.has-enough strong {
  color: #80dfad;
}

#pokepdaProfessionsBodyV288 .prof-v309-craft-button {
  min-height: 36px;
  border: 1px solid rgba(241, 193, 78, .72);
  border-radius: 7px;
  color: #fff0bf;
  background: linear-gradient(180deg, #88651c, #59400f);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

#pokepdaProfessionsBodyV288 .prof-v309-craft-button:disabled {
  border-color: rgba(128, 150, 156, .18);
  color: #8da1a7;
  background: rgba(53, 67, 72, .35);
  cursor: not-allowed;
}

#pokepdaProfessionsBodyV288 .prof-v309-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(123, 165, 174, .28);
  border-radius: 8px;
  color: #b5c8cc;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  #pokepdaProfessionsBodyV288 .prof-v309-material-grid,
  #pokepdaProfessionsBodyV288 .prof-v309-ingredient-grid {
    grid-template-columns: 1fr;
  }
}

/* V305: mais espaço para a escolha e leitura dos ofícios. */
#pokepdaProfessionsBodyV288 .prof-v297-hero {
  min-height: 122px;
  padding-top: 12px;
  padding-bottom: 24px;
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem {
  flex-basis: 62px;
  width: 62px;
  height: 62px;
  border-radius: 16px;
}

#pokepdaProfessionsBodyV288 .prof-v297-emblem-pick,
#pokepdaProfessionsBodyV288 .prof-v297-emblem-hammer {
  font-size: 30px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
  grid-template-rows: auto minmax(230px, 1fr);
  gap: 14px;
  min-height: 265px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card {
  min-height: 230px;
  padding: 16px 16px 38px 92px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-art {
  left: 16px;
  top: 17px;
  width: 62px;
  height: 66px;
  border-radius: 13px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-icon {
  font-size: 36px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy {
  margin-top: 82px;
  gap: 7px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy small {
  font-size: 8px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy strong {
  font-size: 17px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy p {
  font-size: 12px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v303-choice-state {
  right: 12px;
  bottom: 11px;
  padding: 4px 8px;
  font-size: 7px;
}

@media (max-width: 610px) {
  #pokepdaProfessionsBodyV288 .prof-v297-hero {
    min-height: 150px;
    padding: 14px 58px 28px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
    grid-template-rows: auto repeat(3, minmax(180px, auto));
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card {
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pokepdaProfessionsBodyV288 .prof-v297-hero-aurora,
  #pokepdaProfessionsBodyV288 .prof-v297-pokemon-left,
  #pokepdaProfessionsBodyV288 .prof-v297-pokemon-right,
  #pokepdaProfessionsBodyV288 .prof-v298-blink-eye,
  #pokepdaProfessionsBodyV288 .prof-v297-emblem-pick,
  #pokepdaProfessionsBodyV288 .prof-v297-emblem-hammer,
  #pokepdaProfessionsBodyV288 .prof-v297-live i,
  #pokepdaProfessionsBodyV288 .prof-v297-mine-btn::before,
  #pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining .prof-v297-mine-pick,
  #pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining .prof-v297-button-spark-a,
  #pokepdaProfessionsBodyV288 .prof-v295-miner.is-mining .prof-v297-button-spark-b {
    animation: none !important;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-xp-track > i {
    transition: none !important;
  }
}

/* V304: tela inicial focada somente na escolha definitiva do ofício. */
#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing {
  display: block;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing [data-active-workspace] {
  display: none !important;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto minmax(210px, 1fr);
  gap: 12px;
  min-height: 245px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side-title {
  grid-column: 1 / -1;
  min-height: 46px;
  padding: 8px 14px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card {
  min-height: 210px;
  padding: 14px 14px 34px 82px;
  border-color: rgba(76,165,188,.36);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 8%, rgba(65,194,221,.13), transparent 42%),
    linear-gradient(145deg, rgba(19,43,53,.98), rgba(6,17,24,.99));
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-art {
  left: 14px;
  top: 16px;
  width: 54px;
  height: 58px;
  transform: none;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-icon {
  font-size: 32px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy {
  margin-top: 66px;
  gap: 5px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy small {
  font-size: 7px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy strong {
  font-size: 14px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy p {
  font-size: 10px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v297-side.has-profession {
  grid-template-rows: auto auto;
  align-content: start;
  min-height: 0;
}

#pokepdaProfessionsBodyV288 .prof-v303-craft-options {
  display: grid;
  gap: 9px;
  align-content: start;
}

#pokepdaProfessionsBodyV288 .prof-v303-craft-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(82,174,196,.2);
  border-radius: 10px;
  background: rgba(3,14,20,.55);
}

#pokepdaProfessionsBodyV288 .prof-v303-craft-card > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 8px;
  color: #f5d576;
  background: rgba(204,157,46,.12);
  font-size: 10px;
  font-weight: 950;
}

#pokepdaProfessionsBodyV288 .prof-v303-craft-card div { display: grid; gap: 4px; }
#pokepdaProfessionsBodyV288 .prof-v303-craft-card strong { color: #dce9ed; font-size: 10px; }
#pokepdaProfessionsBodyV288 .prof-v303-craft-card small { color: #718a96; font-size: 8px; }

@media (max-width: 820px) {
  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto minmax(190px, 1fr);
  }
}

@media (max-width: 610px) {
  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(3, minmax(130px, auto));
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card {
    min-height: 130px;
  }
}

/* V306: cartões de escolha com tipografia confortável e leitura clara. */
#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
  grid-template-rows: auto minmax(258px, 1fr);
  gap: 14px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 54px minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  min-width: 0;
  min-height: 258px;
  padding: 16px 16px 14px;
  text-align: left;
  border-color: rgba(126, 184, 195, .46);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(19, 39, 47, .98), rgba(7, 17, 23, .99));
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 7px 18px rgba(0,0,0,.18);
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(104, 222, 232, .82);
  background: linear-gradient(155deg, rgba(22, 49, 57, .99), rgba(8, 21, 27, .99));
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card.prof-v297-wood-card {
  border-top: 3px solid #d49c48;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card.prof-v297-fish-card {
  border-top: 3px solid #49b9a6;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card.prof-v297-style-card {
  border-top: 3px solid #a988dc;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-art {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 0 12px;
  border: 1px solid rgba(154, 194, 199, .26);
  border-radius: 10px;
  background: rgba(3, 12, 17, .62);
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-icon {
  font-size: 27px;
  line-height: 1;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy {
  min-width: 0;
  margin: 0;
  gap: 6px;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy small {
  color: #9db6bf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.015em;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-copy p {
  margin: 2px 0 0;
  color: #d1dfe3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-state {
  position: static;
  justify-self: stretch;
  display: grid;
  place-items: center;
  min-height: 34px;
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 207, 71, .42);
  border-radius: 7px;
  color: #ffe18a;
  background: rgba(163, 113, 16, .16);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
}

#pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card:focus-visible {
  outline: 2px solid #ffe18a;
  outline-offset: 2px;
}

@media (max-width: 820px) {
  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
    grid-template-rows: auto minmax(258px, 1fr);
  }
}

@media (max-width: 610px) {
  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-side {
    grid-template-rows: auto repeat(3, minmax(190px, auto));
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-card {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    min-height: 190px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v297-future-art {
    grid-row: 1 / 3;
    margin: 0;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-layout.is-choosing .prof-v303-choice-state {
    grid-column: 2;
  }
}

/* V308: depois da escolha, cada ofÃ­cio tem sua prÃ³pria subaba. */
.prof-v297-shell.has-selected-profession .prof-v297-hero {
  display: none;
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  margin-bottom: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 54px;
  padding: 9px 8px;
  border: 1px solid rgba(111, 153, 165, .28);
  border-radius: 8px;
  color: #c8d7dc;
  background: rgba(4, 15, 21, .74);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab strong {
  overflow: hidden;
  color: #e5eef0;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab small {
  color: #8da6af;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab.is-owned {
  border-color: rgba(74, 198, 159, .58);
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab.is-owned small {
  color: #71d4ad;
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab.is-active {
  border-color: #e5bd59;
  background: linear-gradient(145deg, rgba(89, 69, 27, .34), rgba(10, 22, 27, .92));
  box-shadow: inset 0 0 0 1px rgba(229, 189, 89, .12);
}

#pokepdaProfessionsBodyV288 .prof-v308-profession-tab:focus-visible {
  outline: 2px solid #ffe18a;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  #pokepdaProfessionsBodyV288 .prof-v308-profession-tabs {
    grid-template-columns: 1fr;
  }
}

/* V312: melhor leitura e mais area util na tela de configuracao do oficio. */
#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession {
  gap: 14px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-main-card {
  padding: 20px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-card-kicker {
  font-size: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-card-title strong {
  font-size: 20px;
  line-height: 1.25;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-description {
  font-size: 14px;
  line-height: 1.55;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-work-panel {
  padding: 15px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-work-panel small {
  font-size: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-work-panel p {
  font-size: 14px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-work-panel span {
  font-size: 11px;
  line-height: 1.5;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-selection-status {
  font-size: 11px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-side-title small {
  font-size: 9px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-side-title strong {
  font-size: 13px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v308-profession-tab {
  min-height: 62px;
  padding: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v308-profession-tab strong {
  font-size: 12px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v308-profession-tab small {
  font-size: 9px;
}

#pokepdaProfessionsBodyV288 .prof-v327-progress {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(91, 218, 231, .28);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(5, 28, 37, .92), rgba(9, 18, 25, .9));
}

#pokepdaProfessionsBodyV288 .prof-v327-progress-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

#pokepdaProfessionsBodyV288 .prof-v327-progress-header strong {
  color: #ffe49c;
  font-size: 14px;
}

#pokepdaProfessionsBodyV288 .prof-v327-progress-header span,
#pokepdaProfessionsBodyV288 .prof-v327-progress > small {
  color: #b5c8cc;
  font-size: 11px;
}

#pokepdaProfessionsBodyV288 .prof-v327-progress-track {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(95, 178, 194, .28);
  border-radius: 99px;
  background: rgba(0, 0, 0, .5);
}

#pokepdaProfessionsBodyV288 .prof-v327-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #16a8c5, #f6c23e);
  transition: width .2s ease;
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-card.prof-v327-is-locked {
  border-color: rgba(129, 147, 152, .22);
  background: linear-gradient(145deg, rgba(18, 25, 28, .94), rgba(6, 13, 17, .97));
}

#pokepdaProfessionsBodyV288 .prof-v309-recipe-card.prof-v327-is-locked .prof-v309-recipe-heading,
#pokepdaProfessionsBodyV288 .prof-v309-recipe-card.prof-v327-is-locked .prof-v310-recipe-instruction,
#pokepdaProfessionsBodyV288 .prof-v309-recipe-card.prof-v327-is-locked .prof-v309-ingredient-grid {
  opacity: .68;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-craft-card {
  min-height: 70px;
  padding: 12px;
  gap: 12px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-craft-card > span {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 13px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-craft-card strong {
  font-size: 13px;
}

#pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v303-craft-card small {
  color: #a8bbc2;
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 610px) {
  #pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-main-card {
    padding: 15px;
  }

  #pokepdaProfessionsBodyV288 .prof-v297-shell.has-selected-profession .prof-v297-card-title strong {
    font-size: 18px;
  }
}
