/* Ultimate Poke Idle — Portal de Jornada v3
   Reforma editorial do launcher, conta e leilão. Preserva os contratos JS. */

#dashboard-screen {
  --upi-v3-ink: #17394d;
  --upi-v3-muted: #688797;
  --upi-v3-blue: #3fa8d7;
  --upi-v3-blue-deep: #176a7d;
  --upi-v3-mint: #43c88f;
  --upi-v3-gold: #f3c65d;
  --upi-v3-line: rgba(41, 119, 148, .14);
  --upi-v3-shadow: 0 20px 48px rgba(35, 103, 127, .1);
  background: #f4fbff;
  font-family: Aptos, "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

#dashboard-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(248,253,255,.93), rgba(239,250,255,.92) 48%, rgba(240,252,247,.94)),
    url('/assets/brand/ultimate-poke-idle/login-hero-eeveelutions.webp') center / cover no-repeat;
}

#dashboard-screen .app {
  z-index: 3;
  grid-template-columns: 244px minmax(0, 1fr);
  grid-template-rows: 88px minmax(0, 1fr);
}

#dashboard-screen .topbar { grid-column: 2 / 3; }
#dashboard-screen .content {
  grid-column: 2;
  position: relative;
  padding: 28px 32px 56px;
}
#dashboard-screen .content > section { width: min(100%, 1620px); margin-inline: auto; }

/* Pokémon caminhando como parte do wallpaper, atrás dos cartões. */
#dashboard-screen .upi-walkers { z-index: 1; }
#dashboard-screen .upi-walker {
  width: 64px;
  height: 64px;
  opacity: .3;
  background-size: 256px 256px;
  filter: saturate(.95) drop-shadow(0 8px 10px rgba(22, 91, 113, .22));
}
#dashboard-screen .walker-one { top: 12%; background-position: 0 -128px; }
#dashboard-screen .walker-two { top: 28%; background-position: 0 -64px; }
#dashboard-screen .walker-three { top: 44%; background-position: 0 -128px; }
#dashboard-screen .walker-four { top: 60%; background-position: 0 -64px; }
#dashboard-screen .walker-five {
  top: 76%;
  background-image: url('/assets/followers/charmander.png');
  background-position: 0 -128px;
  animation: upi-mon-right .68s steps(4) infinite, upi-walk-right 41s linear -18s infinite;
}
#dashboard-screen .walker-six {
  top: 88%;
  background-image: url('/assets/followers/jigglypuff.png');
  background-position: 0 -64px;
  animation: upi-mon-left .72s steps(4) infinite, upi-walk-left 46s linear -29s infinite;
}
#dashboard-screen .walker-seven {
  top: 37%;
  width: 56px;
  height: 56px;
  opacity: .16;
  background-size: 224px 224px;
  background-image: url('/assets/followers/mew.png');
  background-position: 0 -112px;
  animation: upi-mon-right-small .7s steps(4) infinite, upi-walk-right 53s linear -37s infinite;
}
#dashboard-screen .walker-eight {
  top: 68%;
  width: 58px;
  height: 58px;
  opacity: .18;
  background-size: 232px 232px;
  background-image: url('/assets/followers/togepi.png');
  background-position: 0 -58px;
  animation: upi-mon-left-tiny .72s steps(4) infinite, upi-walk-left 49s linear -8s infinite;
}
@keyframes upi-mon-right { to { background-position: -256px -128px; } }
@keyframes upi-mon-left { to { background-position: -256px -64px; } }
@keyframes upi-mon-right-small { to { background-position: -224px -112px; } }
@keyframes upi-mon-left-tiny { to { background-position: -232px -58px; } }

/* Primeira dobra: imagem principal + passaporte sempre visível. */
#dashboard-screen .upi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(320px, .62fr);
  gap: 18px;
  align-items: stretch;
}
#dashboard-screen .upi-hero-grid .hero {
  min-height: 390px;
  margin: 0;
  padding: 34px 38px;
  border-radius: 32px;
}
#dashboard-screen .upi-hero-grid .hero .bg { background-position: center 58%; }
#dashboard-screen .upi-hero-kicker {
  margin-bottom: 8px;
  color: #92ead2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}
#dashboard-screen .upi-hero-grid .hero h1 { max-width: 540px; font-size: clamp(38px, 3.5vw, 58px); }
#dashboard-screen .upi-hero-grid .hero p { font-size: 15px; }
#dashboard-screen .upi-passport {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(61, 151, 176, .16);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(87, 210, 173, .2), transparent 38%),
    linear-gradient(155deg, rgba(255,255,255,.97), rgba(233,249,246,.96));
  box-shadow: var(--upi-v3-shadow);
}
#dashboard-screen .upi-passport::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -66px;
  width: 190px;
  height: 190px;
  border: 34px solid rgba(61, 174, 177, .06);
  border-radius: 50%;
  pointer-events: none;
}
#dashboard-screen .upi-passport-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  margin: -7px -2px 9px;
  color: #7a99a7;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}
#dashboard-screen .upi-passport-top img { width: 72px; height: 72px; object-fit: contain; animation: upi-bob 1.7s ease-in-out infinite alternate; }
#dashboard-screen .upi-passport .row1 { position: relative; z-index: 1; }
#dashboard-screen .upi-passport .av2 { width: 66px; height: 66px; border-radius: 20px; }
#dashboard-screen .upi-passport .nm { font-size: 20px; }
#dashboard-screen .upi-passport .badges-row { position: relative; z-index: 1; margin-top: 18px; }
#dashboard-screen .upi-passport .pstats { position: relative; z-index: 1; }

/* Destinos ilustrados, sem aparência de tabela. */
#dashboard-screen .upi-journey-grid {
  display: grid;
  grid-template-columns: 1.1fr .82fr .82fr;
  grid-template-rows: repeat(3, minmax(152px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
#dashboard-screen .upi-journey-card {
  position: relative;
  min-width: 0;
  min-height: 152px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(47, 132, 158, .13);
  border-radius: 26px;
  color: var(--upi-v3-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(37, 107, 132, .09);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#dashboard-screen button.upi-journey-card { width: 100%; font: inherit; }
#dashboard-screen .upi-journey-card:hover,
#dashboard-screen .upi-journey-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(57, 177, 157, .42);
  box-shadow: 0 23px 44px rgba(37, 107, 132, .15);
  outline: none;
}
#dashboard-screen .upi-card-copy { position: relative; z-index: 2; width: min(72%, 340px); align-self: center; }
#dashboard-screen .upi-card-copy small,
#dashboard-screen .upi-card-copy b,
#dashboard-screen .upi-card-copy em,
#dashboard-screen .upi-card-copy i { display: block; }
#dashboard-screen .upi-card-copy small { color: #668e9f; font-size: 9.5px; font-weight: 850; letter-spacing: .13em; }
#dashboard-screen .upi-card-copy b { margin-top: 5px; color: #173d52; font-size: clamp(18px, 1.5vw, 25px); line-height: 1.08; }
#dashboard-screen .upi-card-copy em { margin-top: 7px; color: #6d8a99; font-size: 12px; font-style: normal; line-height: 1.35; }
#dashboard-screen .upi-card-copy i { margin-top: 15px; color: #218ead; font-size: 11px; font-style: normal; font-weight: 800; }
#dashboard-screen .upi-card-mons {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 3px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
#dashboard-screen .upi-card-mons img { width: clamp(88px, 8vw, 132px); height: clamp(88px, 8vw, 132px); object-fit: contain; filter: drop-shadow(0 12px 13px rgba(30, 94, 113, .22)); }
#dashboard-screen .journey-play {
  grid-row: 1 / 4;
  background: linear-gradient(145deg, rgba(231,249,255,.98), rgba(222,249,237,.96));
}
#dashboard-screen .journey-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 25%, rgba(68, 182, 209, .24), transparent 29%), radial-gradient(circle at 74% 88%, rgba(72, 201, 143, .18), transparent 32%);
}
#dashboard-screen .journey-play .upi-card-copy { width: 58%; }
#dashboard-screen .journey-play .upi-card-mons { right: 0; bottom: 9px; }
#dashboard-screen .journey-play .upi-card-mons img { width: clamp(115px, 10vw, 164px); height: clamp(115px, 10vw, 164px); }
#dashboard-screen .journey-play .upi-card-mons img + img { margin-left: -48px; transform: translateY(-42px); }
#dashboard-screen .journey-auction { grid-column: 2 / 4; background: linear-gradient(140deg, #fff9e7, #eefaff 56%, #e7f9f1); }
#dashboard-screen .journey-auction::after { content: ""; position: absolute; right: 14%; top: -42px; width: 180px; height: 180px; border: 28px solid rgba(243,198,93,.12); border-radius: 50%; }
#dashboard-screen .journey-map { background: linear-gradient(135deg, rgba(230,249,255,.95), rgba(226,246,244,.96)); }
#dashboard-screen .journey-map::before { content: ""; position: absolute; inset: 0; opacity: .16; background: url('/assets/ui/world-map/world-overview.webp') center / cover; }
#dashboard-screen .journey-pack { background: linear-gradient(145deg, #fffaf0, #edfaff); }
#dashboard-screen .journey-clan { grid-column: 2 / 4; background: linear-gradient(140deg, #e9fbf3, #e9f7ff 54%, #fff8df); }
#dashboard-screen .journey-clan::after { content: ""; position: absolute; right: 8%; top: -54px; width: 210px; height: 210px; border: 30px solid rgba(61,190,146,.1); border-radius: 50%; }
#dashboard-screen .journey-clan .upi-card-mons img + img { margin-left: -42px; transform: translateY(-20px); }

#dashboard-screen .cur.diamonds::before { background-image: url('/assets/items/water_gem.png'); }

/* Equipe com o líder em destaque. */
#dashboard-screen .team-wrap { margin-top: 34px; }
#dashboard-screen .upi-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: #72a0af;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}
#dashboard-screen .team-wrap .section-h { align-items: flex-end; }
#dashboard-screen .team-wrap .section-h h3 { font-size: 22px; }
#dashboard-screen #dsh-teamcount { color: #7b98a5; font-size: 13px; font-weight: 650; }
#dashboard-screen .team { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 13px; }
#dashboard-screen .team .mon:first-child { grid-column: span 2; }
#dashboard-screen .team .mon:first-child .top { height: 124px; }
#dashboard-screen .team .mon:first-child .top img { max-height: 118px; }
#dashboard-screen .mon { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }

/* Conta refeita como um pequeno cenário + painel de dados. */
#dashboard-screen .upi-account-hub {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: 16px;
  margin-top: 34px;
}
#dashboard-screen .upi-account-scene,
#dashboard-screen .upi-account-data {
  position: relative;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--upi-v3-line);
  border-radius: 30px;
  box-shadow: var(--upi-v3-shadow);
}
#dashboard-screen .upi-account-scene {
  display: flex;
  align-items: flex-start;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(15, 93, 110, .9), rgba(29, 145, 130, .68)),
    url('/assets/brand/ultimate-poke-idle/shop-banner-eeveelutions.webp') center / cover;
  color: #fff;
}
#dashboard-screen .upi-account-scene::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(0deg, rgba(8,67,78,.5), transparent); }
#dashboard-screen .upi-account-copy { position: relative; z-index: 2; max-width: 330px; }
#dashboard-screen .upi-account-copy small { font-size: 9px; font-weight: 850; letter-spacing: .14em; color: #98f0d7; }
#dashboard-screen .upi-account-copy h3 { margin-top: 7px; font-size: clamp(25px, 2.4vw, 36px); line-height: 1.08; }
#dashboard-screen .upi-account-copy p { margin-top: 9px; color: #d9f2f2; font-size: 13px; line-height: 1.5; }
#dashboard-screen #dsh-account2 {
  margin-top: 20px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: #176a7d;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5,54,68,.2);
}
#dashboard-screen .upi-account-pokemon { position: absolute; z-index: 1; right: -8px; bottom: -6px; display: flex; align-items: flex-end; }
#dashboard-screen .upi-account-pokemon img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 10px 11px rgba(0,45,56,.3)); }
#dashboard-screen .upi-account-pokemon img:first-child { width: 82px; height: 82px; margin-right: -34px; }
#dashboard-screen .upi-account-pokemon img:last-child { width: 76px; height: 76px; margin-left: -35px; }
#dashboard-screen .upi-account-data { padding: 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
#dashboard-screen .upi-account-data .section-h { margin-bottom: 14px; }
#dashboard-screen .upi-account-data .section-h h3 { font-size: 23px; }
#dashboard-screen .upi-account-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
#dashboard-screen .upi-account-stats .act {
  min-height: 76px;
  padding: 11px 13px;
  border: 1px solid rgba(48,130,157,.11);
  border-radius: 18px;
  background: linear-gradient(145deg, #f9fdff, #f0faf7);
}
#dashboard-screen .upi-account-stats .act p span,
#dashboard-screen .upi-account-stats .act p b { display: block; }
#dashboard-screen .upi-account-stats .act p span { color: #7895a2; font-size: 10px; }
#dashboard-screen .upi-account-stats .act p b { margin-top: 2px; color: #244d61; font-size: 14px; }

/* Rankings e comunidade dentro do fluxo principal. */
#dashboard-screen .upi-community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 34px;
}
#dashboard-screen .upi-community-grid .block {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--upi-v3-line);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--upi-v3-shadow);
  backdrop-filter: blur(14px);
}
#dashboard-screen .upi-community-grid .head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
#dashboard-screen .upi-community-grid .head h3 { margin: 0; color: #24495d; font-size: 17px; }
#dashboard-screen .upi-community-grid .head > img { width: 52px; height: 52px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .upi-community-grid .rk { min-height: 46px; }
#dashboard-screen .upi-community-card .erow { min-height: 72px; }

/* --------------------------------------------------------------------------
   Login leve: ornamentos viram detalhes, não molduras inteiras.
   -------------------------------------------------------------------------- */
#auth-screen { font-family: Aptos, "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
#auth-screen .ip-panel { width: min(92vw, 430px); }
#auth-screen .card {
  padding: 25px 26px 24px;
  border: 1px solid rgba(132, 225, 213, .3);
  border-radius: 28px;
  border-image: none;
  background: linear-gradient(155deg, rgba(13,76,91,.88), rgba(7,50,70,.91));
  box-shadow: 0 32px 76px rgba(3,41,55,.43), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(20px) saturate(1.12);
  filter: none;
  image-rendering: auto;
}
#auth-screen .hd { margin: 0 0 6px; }
#auth-screen .hd::before {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  background: url('/assets/brand/ultimate-poke-idle/portal-icons/trainer.png') center / contain no-repeat;
  filter: drop-shadow(0 6px 8px rgba(2,35,49,.24));
}
#auth-screen .hd h1 { color: #f3fdff; font-size: 19px; font-weight: 760; text-shadow: none; }
#auth-screen .hd2 { color: #bde1e7; margin: 0 0 17px 54px; }
#auth-screen .field {
  height: 54px;
  margin-bottom: 10px;
  border: 1px solid rgba(190,239,239,.23);
  border-radius: 16px;
  border-image: none;
  background: rgba(244,253,255,.09);
  image-rendering: auto;
}
#auth-screen .field:focus-within { border-color: #6de0c0; background: rgba(244,253,255,.14); filter: none; transform: none; box-shadow: 0 0 0 4px rgba(82,208,177,.12); }
#auth-screen .field input { padding: 0 46px 0 18px; font-size: 13.5px; }
#auth-screen .btn {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  border-image: none;
  padding: 0 20px;
  image-rendering: auto;
  text-shadow: none;
}
#auth-screen .btn.enter { background: linear-gradient(135deg,#45a8db,#41c990); box-shadow: 0 14px 28px rgba(22,126,145,.28); }
#auth-screen .btn.create { border: 1px solid rgba(155,229,219,.3); background: rgba(255,255,255,.045); }
#auth-screen .btn.enter:hover,
#auth-screen .btn.create:hover { background-color: rgba(255,255,255,.1); filter: brightness(1.06); }
#auth-screen .lang {
  width: auto;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(159,229,222,.3);
  border-radius: 15px;
  background: rgba(13,76,91,.72);
  image-rendering: auto;
  filter: none;
  backdrop-filter: blur(14px);
}

/* --------------------------------------------------------------------------
   Minha Conta clara e ampla.
   -------------------------------------------------------------------------- */
#ac-ov {
  padding: 22px;
  background: rgba(5,38,53,.7) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  font-family: Aptos, "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif !important;
}
#ac-ov .ac-card {
  display: flex;
  flex-direction: column;
  width: min(96vw, 960px) !important;
  height: min(92dvh, 980px);
  max-height: min(92dvh, 980px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.76) !important;
  border-radius: 30px !important;
  background: linear-gradient(145deg,#f8fdff,#eefaf6) !important;
  color: #17394d !important;
  box-shadow: 0 38px 110px rgba(0,22,35,.48), inset 0 1px 0 #fff !important;
}
#ac-ov .ac-hero { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; padding: 20px 24px 16px; background: rgba(255,255,255,.78); border-bottom: 1px solid rgba(41,119,148,.12); }
#ac-ov .ac-hero > img { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; }
#ac-ov .ac-hero-copy { min-width: 0; flex: 1; }
#ac-ov .ac-hero small { display: block; color: #7294a2; font-size: 9px; font-weight: 850; letter-spacing: .15em; }
#ac-ov h2 { margin: 3px 0 0 !important; color: #17394d !important; font-size: 24px !important; letter-spacing: -.02em; }
#ac-ov .ac-close {
  position: static !important;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(41,119,148,.13);
  border-radius: 15px;
  background: #fff url('/assets/brand/ultimate-poke-idle/portal-icons/close.png') center / 34px no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  image-rendering: pixelated;
  box-shadow: 0 7px 18px rgba(24,79,111,.08);
}
#ac-ov .ac-tabs { flex: 0 0 auto; margin: 0 !important; padding: 12px 24px; gap: 9px !important; background: rgba(255,255,255,.66); border-bottom: 1px solid rgba(41,119,148,.1); }
#ac-ov .ac-tabs button {
  min-height: 44px;
  border: 1px solid rgba(41,119,148,.13) !important;
  border-radius: 14px !important;
  background: rgba(238,248,251,.8) !important;
  color: #6b8799 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}
#ac-ov .ac-tabs button.on { border-color: rgba(54,171,157,.32) !important; background: linear-gradient(135deg,#e4f6ff,#e1f8ed) !important; color: #176a7d !important; box-shadow: 0 8px 18px rgba(37,117,139,.09); }
#ac-ov #ac-body {
  flex: 1 1 auto;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-padding-bottom: 36px;
  padding: 22px 24px 40px;
  color: #688797 !important;
}
#ac-ov .ac-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
#ac-ov .ac-row {
  min-height: 58px;
  padding: 11px 13px !important;
  border: 1px solid rgba(41,119,148,.1) !important;
  border-radius: 15px;
  background: rgba(255,255,255,.76);
  color: #718d9b !important;
}
#ac-ov .ac-row b { color: #234b60 !important; }
#ac-ov .ac-section-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
#ac-ov .ac-section {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(41,119,148,.11);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
}
#ac-ov .ac-security { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
#ac-ov .ac-security h3,#ac-ov .ac-security .ac-go,#ac-ov .ac-security .ac-msg { grid-column: 1 / -1; }
#ac-ov .ac-security input { margin-bottom: 0 !important; }
#ac-ov h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px !important; color: #21495e !important; font-size: 14px !important; }
#ac-ov h3 img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
#ac-ov input {
  min-height: 50px;
  margin-bottom: 9px !important;
  border: 1px solid rgba(43,116,145,.18) !important;
  border-radius: 14px !important;
  background: #f8fcfd !important;
  color: #17394d !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}
#ac-ov input:focus { border-color: #3fa8d7 !important; box-shadow: 0 0 0 4px rgba(63,168,215,.11); }
#ac-ov .ac-go {
  min-height: 49px;
  border-radius: 14px !important;
  background: linear-gradient(135deg,#43a7d8,#41c88f) !important;
  box-shadow: 0 10px 23px rgba(32,137,153,.18);
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
#ac-ov .ac-badge.ok { background: #e2f8ec !important; color: #19784f !important; border-color: #72cfa5 !important; }
#ac-ov .ac-badge.no { background: #fff3ef !important; color: #b45543 !important; border-color: #f0a293 !important; }
#ac-ov #ac-resend { cursor: pointer; }
#ac-ov .ac-helper { color: #7893a1; font-size: 11px; line-height: 1.45; }
#ac-ov .ac-ref-link { cursor: pointer; word-break: break-all; color: #1e7890 !important; }
#ac-ov #ac-refdia { color: #1686a1 !important; font-size: 15px; }
#ac-ov table { overflow: hidden; border: 1px solid rgba(41,119,148,.11); border-radius: 17px; background: rgba(255,255,255,.82); }
#ac-ov th { color: #7392a0 !important; border-color: rgba(41,119,148,.12) !important; padding: 11px !important; }
#ac-ov td { color: #2d5365 !important; border-color: rgba(41,119,148,.09) !important; padding: 12px 11px !important; }
#ac-ov .ac-empty { padding: 46px 18px; text-align: center; border: 1px dashed rgba(41,119,148,.18); border-radius: 18px; background: rgba(255,255,255,.7); color: #7391a0; }
#ac-ov .ac-empty a { color: #16788f; font-weight: 800; }

/* --------------------------------------------------------------------------
   Leilão DOM do portal, usando a mesma API autoritativa do jogo.
   -------------------------------------------------------------------------- */
#dashboard-screen .pa-overlay {
  position: absolute;
  inset: 88px 0 0 244px;
  z-index: 40;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 24px 28px 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(70,203,150,.15), transparent 30%),
    linear-gradient(145deg,rgba(247,253,255,.97),rgba(239,250,255,.98) 54%,rgba(240,252,247,.97));
  color: #17394d;
  font-family: inherit;
}
#dashboard-screen .pa-dialog { width: min(100%, 1620px); min-width: 0; height: 100%; margin: 0 auto; display: grid; grid-template-rows: auto auto auto minmax(0,1fr) auto; overflow: hidden; border: 1px solid rgba(41,119,148,.13); border-radius: 30px; background: rgba(255,255,255,.9); box-shadow: 0 28px 70px rgba(28,91,114,.16); backdrop-filter: blur(16px); }
#dashboard-screen .pa-header { display: flex; align-items: center; gap: 15px; padding: 18px 22px; border-bottom: 1px solid rgba(41,119,148,.1); }
#dashboard-screen .pa-title-icon { width: 58px; height: 58px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .pa-heading { min-width: 0; flex: 1; }
#dashboard-screen .pa-heading small { color: #74a0ad; font-size: 9px; font-weight: 850; letter-spacing: .15em; }
#dashboard-screen .pa-heading h2 { margin: 3px 0 0; color: #17394d; font-size: 27px; line-height: 1.05; }
#dashboard-screen .pa-wallet { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 7px 13px 7px 8px; border: 1px solid rgba(41,119,148,.12); border-radius: 17px; background: #f6fbfd; }
#dashboard-screen .pa-wallet img { width: 37px; height: 37px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .pa-wallet span,#dashboard-screen .pa-wallet strong { display: block; }
#dashboard-screen .pa-wallet span { color: #7895a2; font-size: 9px; }
#dashboard-screen .pa-wallet strong { color: #315769; font-size: 14px; }
#dashboard-screen .pa-close { width: 48px; height: 48px; border: 1px solid rgba(41,119,148,.12); border-radius: 16px; background: #fff url('/assets/brand/ultimate-poke-idle/portal-icons/close.png') center / 35px no-repeat; color: transparent; font-size: 0; cursor: pointer; image-rendering: pixelated; }
#dashboard-screen .pa-tabs { display: flex; gap: 8px; padding: 12px 22px; overflow-x: auto; border-bottom: 1px solid rgba(41,119,148,.09); }
#dashboard-screen .pa-tab { min-height: 42px; padding: 8px 14px; border: 1px solid rgba(41,119,148,.12); border-radius: 14px; background: #f5fafc; color: #6a8797; font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1; white-space: nowrap; cursor: pointer; }
#dashboard-screen .pa-tab.is-active { background: linear-gradient(135deg,#e3f5ff,#e0f8ec); border-color: rgba(54,171,157,.32); color: #176a7d; }
#dashboard-screen .pa-toolbar { display: grid; grid-template-columns: minmax(170px,1fr) 150px 180px auto minmax(180px,auto); gap: 9px; padding: 13px 22px; border-bottom: 1px solid rgba(41,119,148,.09); align-items:center; }
#dashboard-screen .pa-toolbar input,#dashboard-screen .pa-toolbar select,#dashboard-screen .pa-toolbar button,#dashboard-screen .pa-sell-panel input { min-height: 44px; border: 1px solid rgba(41,119,148,.14); border-radius: 13px; background: #f8fcfd; color: #315769; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1; padding: 0 12px; outline: none; }
#dashboard-screen .pa-toolbar input:focus,#dashboard-screen .pa-toolbar select:focus,#dashboard-screen .pa-sell-panel input:focus { border-color: #3fa8d7; box-shadow: 0 0 0 4px rgba(63,168,215,.1); }
#dashboard-screen .pa-toolbar button { width: 46px; padding: 0; background: #f8fcfd url('/assets/brand/ultimate-poke-idle/portal-icons/refresh.png') center / 31px no-repeat; color: transparent; font-size: 0; cursor: pointer; image-rendering: pixelated; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
#dashboard-screen .pa-toolbar button:not(:disabled):hover { transform:translateY(-1px); border-color:#3fa8d7; box-shadow:0 7px 18px rgba(41,119,148,.13); }
#dashboard-screen .pa-toolbar button:disabled { opacity:.46; cursor:not-allowed; filter:grayscale(.35); }
#dashboard-screen .pa-refresh-status { justify-self:end; padding:7px 9px; border:1px solid rgba(41,119,148,.1); border-radius:999px; background:rgba(241,250,252,.9); color:#668b99; font-size:10px; font-weight:750; line-height:1.25; text-align:right; white-space:nowrap; }
#dashboard-screen .pa-refresh-status.is-cooldown { border-color:rgba(182,107,69,.18); background:#fff8f3; color:#b66b45; }
#dashboard-screen .pa-body { min-height: 0; overflow: auto; padding: 20px 22px; }
#dashboard-screen .pa-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
#dashboard-screen .pa-card { position: relative; min-width: 0; display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 12px; min-height: 172px; padding: 14px; border: 1px solid rgba(41,119,148,.11); border-radius: 22px; background: linear-gradient(145deg,#fff,#f1faf7); box-shadow: 0 12px 28px rgba(34,105,128,.07); }
#dashboard-screen .pa-card.is-shiny { background: linear-gradient(145deg,#fffbe9,#eff9ff); border-color: rgba(239,192,74,.38); }
#dashboard-screen .pa-card.is-expired { background: linear-gradient(145deg,#fff,#f4f7f8); border-style: dashed; }
#dashboard-screen .pa-media { position: relative; display: grid; place-items: center; min-height: 132px; border-radius: 17px; background: radial-gradient(circle,#e5f7f7,transparent 68%); }
#dashboard-screen .pa-media > img { max-width: 104px; max-height: 104px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 9px 9px rgba(32,92,110,.18)); }
#dashboard-screen .pa-shiny { position: absolute; left: 8px; top: 7px; color: #c38e14; font-size: 10px; font-weight: 850; }
#dashboard-screen .pa-expired { position: absolute; left: 8px; top: 7px; padding: 4px 7px; border-radius: 999px; background: #fff1ee; color: #a84d3f; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
#dashboard-screen .pa-info { min-width: 0; display: flex; flex-direction: column; }
#dashboard-screen .pa-kind { color: #7c98a4; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
#dashboard-screen .pa-name { margin-top: 3px; overflow: hidden; color: #224b60; font-size: 17px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
#dashboard-screen .pa-meta { margin-top: 3px; color: #6d8998; font-size: 11px; line-height: 1.35; }
#dashboard-screen .pa-pokemon-id { width:100%; min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:6px; margin:7px 0 5px; padding:6px 8px; border:1px solid rgba(43,139,154,.16); border-radius:10px; background:#eff9fa; color:#295f70; font-family:inherit; text-align:left; cursor:pointer; }
#dashboard-screen .pa-pokemon-id span { color:#24887d; font-size:8px; font-weight:900; letter-spacing:.08em; }
#dashboard-screen .pa-pokemon-id code { min-width:0; overflow:hidden; color:#204e60; font:750 9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; text-overflow:ellipsis; white-space:nowrap; }
#dashboard-screen .pa-pokemon-id em { color:#4d8793; font-size:8px; font-style:normal; font-weight:800; }
#dashboard-screen .pa-pokemon-id:hover { border-color:#3ba99b; background:#e5f8f3; }
#dashboard-screen .pa-fee-badge { margin:5px 0; color:#4d8391; font-size:8px; font-weight:750; line-height:1.3; }
#dashboard-screen .pa-fee-badge.is-seller { color:#8b6c36; }
#dashboard-screen .pa-price { margin-top: auto; color: #1c7f75; font-size: 18px; font-weight: 850; }
#dashboard-screen .pa-actions { display: flex; flex-wrap:wrap; gap: 7px; margin-top: 9px; }
#dashboard-screen .pa-actions button { min-height: 38px; flex: 1; border: 1px solid rgba(41,119,148,.13); border-radius: 12px; background: #edf7fa; color: #397085; font-family: inherit; font-size: 11px; font-weight: 750; line-height: 1; cursor: pointer; }
#dashboard-screen .pa-actions .pa-primary { border: 0; background: linear-gradient(135deg,#42a7d8,#41c88f); color: #fff; }
#dashboard-screen .pa-actions .pa-danger { background: #fff1ee; color: #a84d3f; }
#dashboard-screen .pa-fav { position: absolute; right: 11px; top: 10px; width: 34px; height: 34px; border: 0; border-radius: 11px; background: rgba(255,255,255,.9); color: #92a6ae; font-size: 18px; cursor: pointer; }
#dashboard-screen .pa-fav.is-on { color: #ef7d75; }
#dashboard-screen .pa-empty,#dashboard-screen .pa-loading { min-height: 320px; display: grid; place-items: center; text-align: center; color: #7391a0; }
#dashboard-screen .pa-empty img { width: 90px; height: 90px; margin: 0 auto 10px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .pa-pagination { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 22px; border-top: 1px solid rgba(41,119,148,.1); color: #6c8997; font-size: 12px; }
#dashboard-screen .pa-pagination button { width: 42px; height: 42px; border: 1px solid rgba(41,119,148,.13); border-radius: 13px; background: #f6fbfd; color: #286d84; font-size: 17px; cursor: pointer; }
#dashboard-screen .pa-pagination button:disabled { opacity: .4; cursor: default; }
#dashboard-screen .pa-sell-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; min-height: 100%; }
#dashboard-screen .pa-sell-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; align-content: start; }
#dashboard-screen .pa-sellable { min-width: 0; min-height: 165px; padding: 10px; border: 1px solid rgba(41,119,148,.11); border-radius: 18px; background: #f8fcfd; color: #315769; cursor: pointer; text-align: center; }
#dashboard-screen .pa-sellable.is-selected { border-color: #43c88f; background: #e8f9f1; box-shadow: 0 0 0 3px rgba(67,200,143,.12); }
#dashboard-screen .pa-sellable img { width: 82px; height: 82px; margin: 0 auto 5px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .pa-sellable b,#dashboard-screen .pa-sellable small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#dashboard-screen .pa-sellable b { font-size: 12px; } #dashboard-screen .pa-sellable small { margin-top: 2px; color: #7694a2; font-size: 10px; }
#dashboard-screen .pa-sellable-id,#dashboard-screen .pa-history-id { display:block; margin-top:6px; overflow:hidden; color:#26796f; font:750 8px/1.25 ui-monospace,SFMono-Regular,Consolas,monospace; text-overflow:ellipsis; white-space:nowrap; }
#dashboard-screen .pa-sell-panel { align-self: start; padding: 19px; border: 1px solid rgba(41,119,148,.11); border-radius: 22px; background: linear-gradient(145deg,#fff,#eef9f5); }
#dashboard-screen .pa-sell-panel h3 { margin: 0 0 5px; font-size: 18px; } #dashboard-screen .pa-sell-panel p { margin: 0 0 15px; color: #6d8998; font-size: 11px; line-height: 1.4; }
#dashboard-screen .pa-sell-panel label { display: block; margin: 10px 0 5px; color: #648695; font-size: 10px; font-weight: 750; }
#dashboard-screen .pa-sell-panel input { width: 100%; }
#dashboard-screen .pa-selected-id { margin-top:8px; }
#dashboard-screen .pa-fee-preview { margin-top:13px; padding:12px; border:1px solid rgba(57,160,142,.2); border-radius:14px; background:linear-gradient(145deg,#f1fbf8,#eef8fc); }
#dashboard-screen .pa-fee-preview.is-invalid { border-color:rgba(198,91,73,.32); background:#fff7f4; }
#dashboard-screen .pa-fee-title { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#dashboard-screen .pa-fee-title span { color:#527987; font-size:9px; font-weight:850; letter-spacing:.07em; text-transform:uppercase; }
#dashboard-screen .pa-fee-title b { padding:4px 7px; border-radius:999px; background:#dcf5ea; color:#207a67; font-size:9px; white-space:nowrap; }
#dashboard-screen .pa-fee-preview dl { display:grid; gap:5px; margin:9px 0; }
#dashboard-screen .pa-fee-preview dl>div { display:flex; align-items:center; justify-content:space-between; gap:9px; }
#dashboard-screen .pa-fee-preview dt { color:#6b8792; font-size:9px; }
#dashboard-screen .pa-fee-preview dd { margin:0; color:#2d5c6b; font-size:10px; font-weight:850; }
#dashboard-screen .pa-fee-preview .pa-fee-total { margin-top:2px; padding-top:6px; border-top:1px dashed rgba(42,128,142,.17); }
#dashboard-screen .pa-fee-preview .pa-fee-total dd { color:#17826e; font-size:12px; }
#dashboard-screen .pa-fee-preview p { margin:7px 0 0; color:#688590; font-size:8px; line-height:1.5; }
#dashboard-screen .pa-fee-warning { margin-top:8px; padding:7px 8px; border-radius:9px; background:#ffe7df; color:#a44d3d; font-size:9px; font-weight:800; line-height:1.35; }
#dashboard-screen .pa-publish { width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#42a7d8,#41c88f); color: #fff; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1; cursor: pointer; }
#dashboard-screen .pa-publish:disabled { background:#d9e5e8; color:#8199a2; cursor:not-allowed; }
#dashboard-screen .pa-history { display: flex; flex-direction: column; gap: 9px; }
#dashboard-screen .pa-history-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto auto; align-items: center; gap: 12px; min-height: 70px; padding: 9px 13px; border: 1px solid rgba(41,119,148,.1); border-radius: 17px; background: #f9fcfd; }
#dashboard-screen .pa-history-row img { width: 52px; height: 52px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .pa-history-row b,#dashboard-screen .pa-history-row small { display: block; } #dashboard-screen .pa-history-row small { color: #7895a2; }
#dashboard-screen .pa-confirm { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: rgba(8,49,64,.54); backdrop-filter: blur(8px); }
#dashboard-screen .pa-confirm-card { width: min(92%,430px); padding: 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 25px 70px rgba(0,30,43,.3); }
#dashboard-screen .pa-confirm-card img { width: 68px; height: 68px; margin: 0 auto 8px; object-fit: contain; image-rendering: pixelated; }
#dashboard-screen .pa-confirm-card h3 { margin: 0; font-size: 20px; } #dashboard-screen .pa-confirm-card p { margin: 8px 0 18px; color: #6d8998; }
#dashboard-screen .pa-confirm-id { width:min(100%,360px); margin:0 auto 16px; }
#dashboard-screen .pa-confirm-actions { display: flex; gap: 9px; }
#dashboard-screen .pa-confirm-actions button { min-height: 46px; flex: 1; border: 1px solid rgba(41,119,148,.13); border-radius: 13px; background: #f2f8fa; color: #416b7d; font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1; cursor: pointer; }
#dashboard-screen .pa-confirm-actions .pa-primary { border: 0; background: linear-gradient(135deg,#42a7d8,#41c88f); color: #fff; }
#dashboard-screen .pa-toast { position: absolute; left: 50%; bottom: 78px; z-index: 7; transform: translate(-50%,12px); max-width: min(88%,520px); padding: 11px 16px; border-radius: 14px; background: #173f52; color: #fff; font-size: 12px; font-weight: 650; opacity: 0; pointer-events: none; transition: .2s; box-shadow: 0 12px 30px rgba(0,40,54,.25); }
#dashboard-screen .pa-toast.is-show { opacity: 1; transform: translate(-50%,0); }
#dashboard-screen .pa-toast.is-error { background: #a8443e; }
#dashboard-screen .pa-details { position:absolute; inset:0; z-index:19; display:grid; place-items:center; padding:20px; background:rgba(8,49,64,.58); backdrop-filter:blur(8px); }
#dashboard-screen .pa-details-card { width:min(94%,680px); overflow:hidden; border:1px solid rgba(255,255,255,.72); border-radius:25px; background:#f9fdfd; box-shadow:0 28px 75px rgba(0,34,48,.36); }
#dashboard-screen .pa-details-card>header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; padding:17px 20px; background:linear-gradient(115deg,#125b72,#18877a); color:#fff; }
#dashboard-screen .pa-details-card>header small { grid-column:1; color:#9cf0dc; font-size:8px; font-weight:900; letter-spacing:.13em; }
#dashboard-screen .pa-details-card>header h3 { grid-column:1; margin:0; font-size:21px; }
#dashboard-screen .pa-details-card>header button { grid-column:2; grid-row:1/3; padding:9px 12px; border:1px solid rgba(255,255,255,.25); border-radius:10px; background:rgba(0,35,48,.24); color:#fff; font:750 10px/1 inherit; cursor:pointer; }
#dashboard-screen .pa-details-body { display:grid; grid-template-columns:210px minmax(0,1fr); gap:18px; padding:20px; }
#dashboard-screen .pa-details-media { position:relative; min-height:210px; display:grid; place-items:center; border-radius:19px; background:radial-gradient(circle,#e0f8f3,#edf8fb 68%); }
#dashboard-screen .pa-details-media img { width:176px; height:176px; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 12px 13px rgba(27,83,100,.2)); }
#dashboard-screen .pa-details-media span { position:absolute; left:10px; top:10px; padding:5px 8px; border-radius:999px; background:#fff4c7; color:#a3740d; font-size:9px; font-weight:900; }
#dashboard-screen .pa-details-data dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:13px 0; }
#dashboard-screen .pa-details-data dl>div { padding:10px; border:1px solid rgba(42,124,144,.11); border-radius:12px; background:#fff; }
#dashboard-screen .pa-details-data dt { color:#76919b; font-size:8px; font-weight:850; text-transform:uppercase; }
#dashboard-screen .pa-details-data dd { margin:4px 0 0; color:#28566a; font-size:12px; font-weight:800; }
#dashboard-screen .pa-details-data p { margin:0; padding:10px; border-radius:12px; background:#eaf8f4; color:#4c747c; font-size:9px; line-height:1.5; }
#dashboard-screen .pa-details-card>footer { display:flex; justify-content:flex-end; gap:8px; padding:13px 20px; border-top:1px solid rgba(41,119,148,.1); background:#fff; }
#dashboard-screen .pa-details-card>footer button { min-height:40px; padding:0 14px; border:1px solid rgba(41,119,148,.14); border-radius:11px; background:#f1f8fa; color:#376b7d; font:800 10px/1 inherit; cursor:pointer; }
#dashboard-screen .pa-details-card>footer .pa-primary { border:0; background:linear-gradient(135deg,#42a7d8,#41c88f); color:#fff; }
#dashboard-screen .pa-actions .pa-trade { border:1px solid rgba(42,139,154,.2); background:#ecfbf7; color:#227667; }
#dashboard-screen .pa-proposals { display:grid; gap:10px; padding:18px 22px; }
#dashboard-screen .pa-proposal { display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:13px; align-items:center; border:1px solid rgba(41,119,148,.12); border-radius:16px; background:#fff; padding:12px; box-shadow:0 5px 18px rgba(24,79,96,.06); }
#dashboard-screen .pa-proposal-icon { width:58px; height:58px; border-radius:14px; display:grid; place-items:center; background:#eaf8f7; }
#dashboard-screen .pa-proposal-icon img { width:50px; height:50px; object-fit:contain; image-rendering:pixelated; }
#dashboard-screen .pa-proposal small { display:block; color:#5b8c9d; font-size:9px; font-weight:850; letter-spacing:.08em; }
#dashboard-screen .pa-proposal b { display:block; margin-top:3px; color:#17485a; font-size:14px; }
#dashboard-screen .pa-proposal p { margin:4px 0; color:#668893; font-size:11px; }
#dashboard-screen .pa-proposal span { color:#2b9a7d; font-size:10px; font-weight:850; }
#dashboard-screen .pa-proposal-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
#dashboard-screen .pa-proposal-actions button { border:0; border-radius:10px; padding:8px 10px; font:700 10px/1 inherit; cursor:pointer; }
#dashboard-screen .pa-trade-overlay { position:absolute; inset:0; z-index:20; display:grid; place-items:center; padding:16px; background:rgba(10,45,58,.65); backdrop-filter:blur(7px); }
#dashboard-screen .pa-trade-dialog { width:min(790px,100%); max-height:min(760px,calc(100vh - 48px)); display:grid; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; border:1px solid rgba(80,184,174,.34); border-radius:22px; background:#f7fcfd; box-shadow:0 30px 80px rgba(5,38,50,.36); }
#dashboard-screen .pa-trade-dialog>header { display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:11px; padding:14px 17px; background:linear-gradient(105deg,#0f556d,#147b77); color:#fff; }
#dashboard-screen .pa-trade-dialog>header img { width:56px; height:56px; object-fit:contain; image-rendering:pixelated; }
#dashboard-screen .pa-trade-dialog>header small { display:block; color:#a9f3de; font-size:9px; font-weight:900; letter-spacing:.12em; }
#dashboard-screen .pa-trade-dialog>header h3 { margin:3px 0 0; font-size:18px; }
#dashboard-screen .pa-trade-dialog>header button { border:1px solid rgba(255,255,255,.26); border-radius:10px; padding:8px 10px; background:rgba(0,30,44,.28); color:#fff; cursor:pointer; }
#dashboard-screen .pa-trade-scroll { overflow:auto; padding:15px 17px; }
#dashboard-screen .pa-trade-scroll h4 { margin:13px 0 8px; color:#255b6d; font-size:11px; letter-spacing:.05em; text-transform:uppercase; }
#dashboard-screen .pa-trade-scroll h4:first-child { margin-top:0; }
#dashboard-screen .pa-trade-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
#dashboard-screen .pa-trade-mode { display:grid; grid-template-columns:auto 1fr; column-gap:8px; border:1px solid rgba(42,125,146,.15); border-radius:13px; padding:10px; background:#fff; color:#315b69; cursor:pointer; }
#dashboard-screen .pa-trade-mode input { grid-row:1/3; align-self:center; accent-color:#32b68e; }
#dashboard-screen .pa-trade-mode span { font-size:12px; font-weight:800; }
#dashboard-screen .pa-trade-mode small { color:#78929a; font-size:9px; line-height:1.35; }
#dashboard-screen .pa-trade-assets { display:grid; grid-template-columns:repeat(auto-fill,minmax(105px,1fr)); gap:7px; }
#dashboard-screen .pa-trade-asset { min-width:0; border:1px solid rgba(43,123,145,.13); border-radius:13px; padding:8px; background:#fff; color:#315a68; cursor:pointer; }
#dashboard-screen .pa-trade-asset.is-selected { border-color:#31b68d; box-shadow:0 0 0 3px rgba(49,182,141,.12); background:#effcf8; }
#dashboard-screen .pa-trade-asset img { display:block; width:52px; height:52px; object-fit:contain; margin:auto; image-rendering:pixelated; }
#dashboard-screen .pa-trade-asset span,#dashboard-screen .pa-trade-asset small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#dashboard-screen .pa-trade-asset span { margin-top:3px; font-size:10px; font-weight:800; }
#dashboard-screen .pa-trade-asset small { color:#78939d; font-size:9px; }
#dashboard-screen .pa-trade-items { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:6px; }
#dashboard-screen .pa-trade-item { display:grid; grid-template-columns:36px 1fr 58px; gap:8px; align-items:center; border:1px solid rgba(43,123,145,.12); border-radius:11px; padding:7px; background:#fff; }
#dashboard-screen .pa-trade-item img { width:34px; height:34px; object-fit:contain; image-rendering:pixelated; }
#dashboard-screen .pa-trade-item span { min-width:0; color:#315a68; font-size:10px; font-weight:800; overflow:hidden; text-overflow:ellipsis; }
#dashboard-screen .pa-trade-item small { display:block; color:#8098a0; font-size:8px; }
#dashboard-screen .pa-trade-item input,#dashboard-screen .pa-trade-coins input { min-width:0; min-height:36px; width:100%; border:1px solid rgba(43,123,145,.16); border-radius:9px; background:#f7fbfc; padding:0 8px; }
#dashboard-screen .pa-trade-coins { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
#dashboard-screen .pa-trade-coins label { display:grid; gap:5px; color:#476b78; font-size:10px; font-weight:800; }
#dashboard-screen .pa-trade-note { color:#6c8790; font-size:9px; line-height:1.45; }
#dashboard-screen .pa-sell-trade-toggle { display:flex !important; align-items:center; gap:7px; margin-top:8px; color:#28705e !important; font-size:10px !important; font-weight:800; }
#dashboard-screen .pa-sell-trade-toggle input { width:16px !important; height:16px !important; min-height:0 !important; accent-color:#31b68d; }
#dashboard-screen .pa-trade-empty { grid-column:1/-1; color:#78939d; font-size:10px; padding:10px; }
#dashboard-screen .pa-trade-dialog>footer { display:flex; justify-content:flex-end; gap:8px; padding:12px 17px; border-top:1px solid rgba(43,123,145,.1); background:#fff; }
#dashboard-screen .pa-trade-dialog>footer button { border:0; border-radius:11px; padding:10px 14px; font:800 11px/1 inherit; cursor:pointer; }

@media (max-width: 1320px) {
  #dashboard-screen .app { grid-template-columns: 226px minmax(0,1fr); }
  #dashboard-screen .pa-overlay { left: 226px; }
  #dashboard-screen .content { padding-inline: 22px; }
  #dashboard-screen .upi-hero-grid { grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); }
  #dashboard-screen .upi-journey-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  #dashboard-screen .journey-play { grid-row: auto; }
  #dashboard-screen .journey-auction { grid-column: auto; }
  #dashboard-screen .journey-clan { grid-column: 1 / 3; }
  #dashboard-screen .journey-play .upi-card-copy { width: 64%; }
  #dashboard-screen .pa-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1040px) {
  #dashboard-screen .upi-hero-grid { grid-template-columns: 1fr; }
  #dashboard-screen .upi-passport { min-height: 300px; }
  #dashboard-screen .upi-account-hub { grid-template-columns: 1fr; }
  #dashboard-screen .upi-account-scene { min-height: 300px; }
  #dashboard-screen .upi-community-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #dashboard-screen .upi-community-card { grid-column: 1 / 3; }
  #dashboard-screen .team { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #dashboard-screen .team .mon:first-child { grid-column: span 2; }
  #dashboard-screen .pa-toolbar { grid-template-columns: minmax(160px,1fr) 140px 160px auto; }
  #dashboard-screen .pa-refresh-status { grid-column:1/-1; justify-self:start; text-align:left; }
  #dashboard-screen .pa-sell-layout { grid-template-columns: 1fr; }
  #dashboard-screen .pa-sell-panel { order: -1; }
}

@media (max-width: 760px) {
  #dashboard-screen .content { padding: 14px 12px 34px; }
  #dashboard-screen .content > section { width: 100%; }
  #dashboard-screen .upi-hero-grid .hero { min-height: 430px; padding: 22px; border-radius: 25px; }
  #dashboard-screen .upi-hero-grid .hero h1 { font-size: 34px; }
  #dashboard-screen .upi-passport { min-height: 0; padding: 19px; border-radius: 24px; }
  #dashboard-screen .upi-journey-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  #dashboard-screen .journey-clan { grid-column: auto; }
  #dashboard-screen .upi-journey-card { min-height: 160px; border-radius: 22px; }
  #dashboard-screen .journey-play .upi-card-copy { width: 62%; }
  #dashboard-screen .team { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #dashboard-screen .team .mon:first-child { grid-column: span 2; }
  #dashboard-screen .upi-account-scene,#dashboard-screen .upi-account-data { min-height: 300px; border-radius: 24px; }
  #dashboard-screen .upi-account-stats { grid-template-columns: 1fr; }
  #dashboard-screen .upi-community-grid { grid-template-columns: 1fr; }
  #dashboard-screen .upi-community-card { grid-column: auto; }
  #dashboard-screen .walker-five,#dashboard-screen .walker-six,#dashboard-screen .walker-seven,#dashboard-screen .walker-eight { display: none; }
  #dashboard-screen .upi-walker { opacity: .12; }
  #dashboard-screen .pa-overlay { position: fixed; inset: 72px 0 0; padding: 0; }
  #dashboard-screen .pa-dialog { border: 0; border-radius: 0; }
  #dashboard-screen .pa-header { padding: 11px 12px; }
  #dashboard-screen .pa-title-icon { width: 45px; height: 45px; }
  #dashboard-screen .pa-heading h2 { font-size: 21px; }
  #dashboard-screen .pa-wallet { display: none; }
  #dashboard-screen .pa-tabs { padding: 9px 11px; }
  #dashboard-screen .pa-toolbar { grid-template-columns: minmax(0,1fr) 115px auto; padding: 10px 11px; }
  #dashboard-screen .pa-refresh-status { grid-column:1/-1; justify-self:start; }
  #dashboard-screen .pa-proposal { grid-template-columns:48px 1fr; }
  #dashboard-screen .pa-proposal-actions { grid-column:1/-1; justify-content:flex-start; }
  #dashboard-screen .pa-trade-modes,#dashboard-screen .pa-trade-coins { grid-template-columns:1fr; }
  #dashboard-screen .pa-toolbar select[name="sort"] { display: none; }
  #dashboard-screen .pa-body { padding: 12px; }
  #dashboard-screen .pa-grid { grid-template-columns: 1fr; }
  #dashboard-screen .pa-card { grid-template-columns: 92px minmax(0,1fr); min-height: 150px; }
  #dashboard-screen .pa-media { min-height: 112px; }
  #dashboard-screen .pa-media > img { max-width: 86px; max-height: 86px; }
  #dashboard-screen .pa-sell-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #dashboard-screen .pa-details { padding:10px; }
  #dashboard-screen .pa-details-body { grid-template-columns:1fr; max-height:calc(100dvh - 250px); overflow:auto; padding:14px; }
  #dashboard-screen .pa-details-media { min-height:150px; }
  #dashboard-screen .pa-details-media img { width:132px; height:132px; }
  #dashboard-screen .pa-details-data dl { grid-template-columns:1fr 1fr; }
  #dashboard-screen .pa-details-card>footer { padding:11px 14px; }
  #dashboard-screen .pa-history-row { grid-template-columns: 50px minmax(0,1fr) auto; }
  #dashboard-screen .pa-history-row > :last-child { display: none; }
  #ac-ov { padding: 0; }
  #ac-ov .ac-card { width: 100% !important; height: 100dvh; max-height: 100dvh !important; min-height: 100dvh; border: 0 !important; border-radius: 0 !important; }
  #ac-ov #ac-body { max-height: none !important; padding: 15px 15px calc(28px + env(safe-area-inset-bottom)); }
  #ac-ov .ac-hero { padding: 14px 15px 12px; }
  #ac-ov .ac-tabs { padding: 9px 15px; }
  #ac-ov .ac-overview,#ac-ov .ac-section-grid { grid-template-columns: 1fr; }
  #ac-ov .ac-security { grid-template-columns: 1fr; }
  #ac-ov .ac-security h3,#ac-ov .ac-security .ac-go,#ac-ov .ac-security .ac-msg { grid-column: auto; }
}

@media (max-width: 430px) {
  #dashboard-screen .team { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #dashboard-screen .upi-account-pokemon img { width: 92px; height: 92px; }
  #dashboard-screen .upi-account-pokemon img:first-child,#dashboard-screen .upi-account-pokemon img:last-child { display: none; }
  #auth-screen .card { padding: 21px 20px; border-radius: 24px; }
  #auth-screen .hd2 { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #dashboard-screen .upi-journey-card,
  #dashboard-screen .wm-region-card { transition: none !important; }
}
