@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #0a0c11;
  --surface: #11141b;
  --surface-2: #171b24;
  --line: rgba(255,255,255,.09);
  --text: #f7f8fb;
  --muted: #8f96a6;
  --accent: #5e17eb;
  --accent-dark: #5e17eb;
  --danger: #ff5b67;
  --success: #68e58f;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(94,23,235,.08), transparent 27rem),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,.035), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

.topbar {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.brand-mark {
  width: 74px;
  height: 48px;
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark:hover {
  transform: translateY(-2px) scale(1.02);
  opacity: .88;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: -.2px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: var(--muted);
  border-radius: 12px;
  cursor: pointer;
  font-size: 19px;
  transition: .2s ease;
}
.icon-button:hover { color: var(--text); border-color: rgba(255,255,255,.18); }

.shell {
  width: min(1050px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.screen { display: none; }
.screen.active { display: block; animation: screenIn .35s ease both; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  max-width: 820px;
  margin: 44px auto 50px;
  text-align: center;
}

.eyebrow,
.mode-kicker,
.question-label,
.modal-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: .96;
  letter-spacing: -4px;
  margin: 17px 0 22px;
  font-weight: 900;
}

.hero h1 span { color: #949cab; }

.hero p {
  max-width: 630px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.hero p strong { color: var(--text); }

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 860px;
  margin: 0 auto;
}

.mode-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17,20,27,.82);
  color: var(--text);
  padding: 25px;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 18px;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.mode-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  filter: blur(55px);
  right: -50px;
  bottom: -50px;
  transition: opacity .2s ease;
}

.mode-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94,23,235,.38);
  background: rgba(22,26,34,.95);
}

.mode-card:hover::after { opacity: .12; }

.mode-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
}

.mode-card h2 {
  margin: 7px 0 9px;
  font-size: 24px;
  letter-spacing: -1px;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.arrow {
  margin-top: 15px;
  color: var(--muted);
  font-size: 20px;
  transition: transform .2s ease, color .2s ease;
}

.mode-card:hover .arrow { transform: translateX(4px); color: var(--accent); }

.home-stats {
  max-width: 860px;
  margin: 16px auto 0;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-stats div {
  display: grid;
  text-align: center;
  gap: 5px;
}
.home-stats div + div { border-left: 1px solid var(--line); }

.home-stats span { font-weight: 800; font-size: 16px; }
.home-stats small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1.1px; }

.api-status {
  color: #687081;
  font-size: 11px;
  text-align: center;
  margin-top: 15px;
}

/* GAME */
.game-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 20px;
}

.back-button {
  justify-self: start;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  padding: 8px 0;
}
.back-button:hover { color: var(--text); }

.mode-pill {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(94,23,235,.55);
}

.streak-box {
  justify-self: end;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.streak-box small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.streak-box strong { font-size: 18px; }

.progress-track {
  height: 2px;
  background: rgba(255,255,255,.06);
  margin: 23px 0 48px;
  overflow: hidden;
}
.progress-track > div {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .35s ease;
}

.question-card {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.dex-number {
  font-size: clamp(80px, 16vw, 150px);
  line-height: .9;
  margin: 18px 0 16px;
  font-weight: 900;
  letter-spacing: -9px;
  font-variant-numeric: tabular-nums;
}

.question-help {
  margin: 0 0 35px;
  color: var(--muted);
  font-size: 13px;
}

.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.answer-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 15px;
  min-height: 64px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  font-weight: 650;
  transition: .16s ease;
}

.answer-button:hover:not(:disabled) {
  border-color: rgba(255,255,255,.22);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.answer-button .choice-letter {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: rgba(255,255,255,.055);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.answer-button.correct {
  border-color: rgba(104,229,143,.42);
  background: rgba(104,229,143,.09);
}
.answer-button.correct .choice-letter { background: var(--success); color: #07140b; }

.answer-button.wrong {
  border-color: rgba(255,91,103,.42);
  background: rgba(255,91,103,.09);
}
.answer-button.wrong .choice-letter { background: var(--danger); color: #190507; }

.answer-button:disabled { cursor: default; }

.feedback {
  display: none;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(17,20,27,.92);
  border-radius: 16px;
  padding: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.feedback.visible { display: flex; animation: screenIn .22s ease both; }

.feedback-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pokemon-thumb-wrap {
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,.04);
  border: 1px solid transparent;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.pokemon-thumb-wrap:hover {
  transform: translateY(-2px);
  border-color: rgba(94,23,235,.65);
  background: rgba(94,23,235,.09);
}

.pokemon-thumb { width: 51px; height: 51px; object-fit: contain; }

.feedback-left div:last-child { display: grid; gap: 3px; }
.feedback-left small {
  color: var(--success);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.feedback-left strong { font-size: 14px; }

.next-button {
  border: 0;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  border-radius: 11px;
  padding: 12px 15px;
  cursor: pointer;
}
.next-button:hover { background: #fff; }

.game-footer {
  width: min(720px, 100%);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  color: #606879;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(3,4,7,.78);
  backdrop-filter: blur(9px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open { display: flex; animation: fade .18s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: min(470px, 100%);
  padding: 33px;
  background: #12151c;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-icon {
  width: 47px;
  height: 47px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,91,103,.1);
  color: var(--danger);
  border: 1px solid rgba(255,91,103,.2);
  font-weight: 900;
}
.modal-icon.muted { color: var(--muted); background: rgba(255,255,255,.04); border-color: var(--line); }

.modal-kicker { color: var(--danger); }

.modal h2 {
  margin: 10px 0 10px;
  font-size: 25px;
  letter-spacing: -1px;
}

.modal p {
  margin: 0 auto 25px;
  max-width: 370px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.secondary-button,
.danger-button {
  min-height: 46px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  font-size: 12px;
}

.secondary-button { color: var(--text); background: var(--surface-2); border: 1px solid var(--line); }
.danger-button { color: white; background: var(--danger); border: 1px solid var(--danger); }
.secondary-button:hover { border-color: rgba(255,255,255,.2); }
.danger-button:hover { filter: brightness(1.07); }

.small-modal { width: min(430px, 100%); }



.corner-pokedex-mark {
  position: fixed;
  right: -120px;
  bottom: -82px;
  width: clamp(340px, 38vw, 560px);
  height: auto;
  z-index: 0;
  opacity: .055;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1) brightness(0) invert(1);
  transform: rotate(-10deg);
}

.topbar,
.shell {
  position: relative;
  z-index: 1;
}

.version-badge {
  position: fixed;
  left: 16px;
  bottom: 12px;
  z-index: 12;
  color: rgba(255,255,255,.28);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}


.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.favorite-button {
  position: relative;
}

.favorite-count {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--bg);
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
}

.favorites-modal {
  width: min(570px, 100%);
  text-align: left;
}

.favorite-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.favorite-modal-head h2 {
  margin-bottom: 0;
}

.favorite-kicker {
  color: var(--accent);
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}

.favorites-intro {
  margin: 13px 0 19px !important;
}

.selected-favorites {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.favorite-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 9px 5px 6px;
  border: 1px solid rgba(94,23,235,.3);
  border-radius: 999px;
  background: rgba(94,23,235,.09);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.favorite-chip img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  image-rendering: pixelated;
}

.favorite-chip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 0 0 2px;
  cursor: pointer;
  font-size: 15px;
}

.favorite-chip button:hover {
  color: var(--danger);
}

.empty-favorites {
  align-self: center;
  color: #626a7a;
  font-size: 11px;
  padding-left: 5px;
}

.favorite-search-wrap {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.favorite-search-wrap > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.favorite-search-wrap input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  outline: none;
  background: #0d1016;
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
}

.favorite-search-wrap input:focus {
  border-color: rgba(94,23,235,.75);
  box-shadow: 0 0 0 3px rgba(94,23,235,.1);
}

.favorite-results {
  margin-top: 9px;
  max-height: 245px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-right: 3px;
}

.favorite-result {
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: var(--text);
  border-radius: 11px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: left;
  transition: .15s ease;
}

.favorite-result:hover:not(:disabled) {
  background: rgba(94,23,235,.08);
  border-color: rgba(94,23,235,.38);
}

.favorite-result:disabled {
  opacity: .38;
  cursor: default;
}

.favorite-result.selected {
  border-color: rgba(94,23,235,.45);
  background: rgba(94,23,235,.1);
}

.favorite-result img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: pixelated;
}

.favorite-result-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.favorite-result-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.favorite-result-copy small {
  color: var(--muted);
  font-size: 9px;
}

.favorites-footer {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.favorites-footer small {
  color: var(--muted);
  font-size: 10px;
}

/* Pokémon que passeiam pela borda inferior */
.walking-pokemon-layer {
  position: fixed;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.walking-pokemon-layer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.05) 15%, rgba(255,255,255,.05) 85%, transparent);
}

.walker {
  --walk-duration: 24s;
  --walk-delay: 0s;
  --walker-bottom: 4px;
  position: absolute;
  left: -100px;
  bottom: var(--walker-bottom);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: end center;
  animation: walkerAcross var(--walk-duration) linear infinite;
  animation-delay: var(--walk-delay);
  will-change: transform;
}

.walker img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 6px rgba(0,0,0,.38));
  animation: walkerStep .48s ease-in-out infinite alternate;
}

.walker:nth-child(2) img { animation-delay: -.18s; }
.walker:nth-child(3) img { animation-delay: -.31s; }
.walker:nth-child(4) img { animation-delay: -.09s; }

@keyframes walkerAcross {
  from { transform: translateX(-10vw); }
  to { transform: translateX(calc(110vw + 120px)); }
}

@keyframes walkerStep {
  from { transform: translateY(0) rotate(-1deg); }
  to { transform: translateY(-4px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .walker,
  .walker img {
    animation-play-state: paused;
  }
}


.favorite-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 2px 0 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.favorite-tab {
  min-height: 39px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: .16s ease;
}

.favorite-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,.035);
}

.favorite-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(94,23,235,.18);
}

.favorite-tab.locked:not(.active) {
  color: #626a79;
}

.favorite-tab .tab-lock {
  margin-left: 5px;
  font-size: 9px;
  opacity: .7;
}

.favorite-tab-panel {
  display: none;
}

.favorite-tab-panel.active {
  display: block;
  animation: screenIn .2s ease both;
}

.shiny-lock-screen {
  min-height: 315px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(94,23,235,.1), transparent 12rem),
    rgba(255,255,255,.012);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 34px 20px;
}

.shiny-lock-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 15px;
  background: rgba(94,23,235,.12);
  border: 1px solid rgba(94,23,235,.24);
  color: #9e75ff;
  font-size: 27px;
  filter: grayscale(.15);
}

.shiny-lock-screen h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -.5px;
}

.shiny-lock-screen p {
  margin: 0 !important;
  color: var(--muted);
  font-size: 12px;
}

.shiny-lock-screen small {
  margin-top: 10px;
  color: #5e6675;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.shiny-unlocked-content {
  display: none;
}

.favorites-modal.shiny-unlocked .shiny-lock-screen {
  display: none;
}

.favorites-modal.shiny-unlocked .shiny-unlocked-content {
  display: block;
}

.favorites-global-footer {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

.favorites-global-footer .next-button {
  min-width: 96px;
}

.favorite-result.shiny-result {
  position: relative;
}

.favorite-result.shiny-result::after {
  content: "✦";
  margin-left: auto;
  color: #9e75ff;
  font-size: 11px;
  opacity: .75;
}

.walker.shiny-walker img {
  filter:
    drop-shadow(0 8px 6px rgba(0,0,0,.38))
    drop-shadow(0 0 7px rgba(158,117,255,.17));
}


.language-button {
  position: relative;
  font-weight: 900;
}

.language-glyph {
  font-size: 15px;
  transform: translateY(-1px);
}

.language-code {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 20px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--bg);
  font-size: 7px;
  line-height: 1;
  font-weight: 900;
}

.language-modal {
  width: min(500px, 100%);
  text-align: left;
}

.language-intro {
  margin: 13px 0 18px !important;
}

.language-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.language-option {
  min-height: 57px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: var(--text);
  cursor: pointer;
  display: grid;
  grid-template-columns: 35px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  text-align: left;
  transition: .16s ease;
}

.language-option:hover {
  border-color: rgba(94,23,235,.42);
  background: rgba(94,23,235,.07);
}

.language-option > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.055);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.language-option strong {
  font-size: 11px;
}

.language-option i {
  color: var(--accent);
  font-style: normal;
  opacity: 0;
  font-weight: 900;
}

.language-option.active {
  border-color: rgba(94,23,235,.52);
  background: rgba(94,23,235,.1);
}

.language-option.active i {
  opacity: 1;
}

.favorite-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 2px 0 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.favorite-tab {
  min-height: 39px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.favorite-tab.active {
  background: var(--accent);
  color: #fff;
}

.favorite-tab.locked:not(.active) {
  color: #626a79;
}

.favorite-tab-panel { display: none; }
.favorite-tab-panel.active { display: block; animation: screenIn .2s ease both; }

.shiny-lock-screen {
  min-height: 315px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(94,23,235,.1), transparent 12rem),
    rgba(255,255,255,.012);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 34px 20px;
}

.shiny-lock-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 15px;
  background: rgba(94,23,235,.12);
  border: 1px solid rgba(94,23,235,.24);
  color: #9e75ff;
  font-size: 27px;
}

.shiny-lock-screen h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.shiny-lock-screen p {
  margin: 0 !important;
  color: var(--muted);
  font-size: 12px;
}

.shiny-lock-screen small {
  margin-top: 10px;
  color: #5e6675;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.shiny-unlocked-content { display: none; }
.favorites-modal.shiny-unlocked .shiny-lock-screen { display: none; }
.favorites-modal.shiny-unlocked .shiny-unlocked-content { display: block; }

.favorites-global-footer {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

.walker.shiny-walker img {
  filter:
    drop-shadow(0 8px 6px rgba(0,0,0,.38))
    drop-shadow(0 0 7px rgba(158,117,255,.17));
}


/* Pokémon do Dia */
.daily-pokemon-card {
  position: fixed;
  left: 18px;
  top: 52%;
  transform: translateY(-50%);
  z-index: 6;
  width: 142px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 18px;
  background: rgba(13,16,22,.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
  text-align: center;
}

.daily-pokemon-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 10%, rgba(94,23,235,.14), transparent 55%);
}

.daily-pokemon-kicker {
  position: relative;
  color: #9e75ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.25px;
}

.daily-pokemon-art-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 7px auto 2px;
  display: grid;
  place-items: center;
}

.daily-pokemon-art-wrap::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 12px;
  bottom: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,.34);
  filter: blur(7px);
}

.daily-pokemon-image {
  position: relative;
  z-index: 1;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  animation: dailyPokemonFloat 2.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 10px 9px rgba(0,0,0,.24));
}

@keyframes dailyPokemonFloat {
  from { transform: translateY(1px); }
  to { transform: translateY(-5px); }
}

.daily-pokemon-number {
  position: relative;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.daily-pokemon-name {
  position: relative;
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.daily-pokemon-note {
  position: relative;
  display: block;
  margin: 7px 0 10px;
  color: #687081;
  font-size: 8px;
  line-height: 1.35;
}

.daily-pokemon-link {
  position: relative;
  min-height: 34px;
  border-radius: 10px;
  background: rgba(94,23,235,.12);
  border: 1px solid rgba(94,23,235,.28);
  color: #c8b3ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  transition: .16s ease;
}

.daily-pokemon-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Compartilhamento da conquista */
.share-modal {
  width: min(520px, 100%);
  text-align: left;
}

.share-achievement-preview {
  margin: 17px 0;
  padding: 15px;
  border: 1px solid rgba(94,23,235,.28);
  border-radius: 15px;
  background:
    radial-gradient(circle at 0% 0%, rgba(94,23,235,.12), transparent 12rem),
    rgba(255,255,255,.018);
  display: flex;
  align-items: center;
  gap: 13px;
}

.share-achievement-icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(94,23,235,.22);
}

.share-achievement-preview > div:last-child {
  display: grid;
  gap: 3px;
}

.share-achievement-preview small {
  color: #9e75ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.share-achievement-preview strong {
  font-size: 17px;
}

.share-achievement-preview p {
  margin: 1px 0 0 !important;
  font-size: 10px !important;
  color: var(--muted);
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.share-option {
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  color: var(--text);
  padding: 10px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  transition: .16s ease;
}

.share-option:hover {
  border-color: rgba(94,23,235,.4);
  background: rgba(94,23,235,.065);
  transform: translateY(-1px);
}

.share-option.primary-share {
  border-color: rgba(94,23,235,.35);
  background: rgba(94,23,235,.09);
}

.share-option-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  color: #bfa7ff;
  font-size: 10px;
  font-weight: 900;
}

.share-option > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.share-option strong {
  font-size: 11px;
}

.share-option small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.25;
}

.share-status {
  min-height: 17px;
  margin: 11px 0 0 !important;
  color: #9e75ff !important;
  font-size: 9px !important;
  text-align: center;
}

.completion-actions {
  grid-column: 1 / -1;
  margin-top: 3px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.achievement-share-button {
  min-height: 48px;
  border: 1px solid rgba(94,23,235,.38);
  border-radius: 13px;
  background: rgba(94,23,235,.11);
  color: #d8caff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  transition: .16s ease;
}

.achievement-share-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1450px) {
  .daily-pokemon-card {
    left: 10px;
    width: 126px;
    padding-inline: 9px;
  }

  .daily-pokemon-art-wrap {
    width: 86px;
    height: 86px;
  }

  .daily-pokemon-image {
    max-width: 86px;
    max-height: 86px;
  }
}

@media (max-width: 1240px) {
  .daily-pokemon-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(300px, 100%);
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 11px;
    text-align: left;
    align-items: center;
  }

  .daily-pokemon-kicker {
    grid-column: 2;
    align-self: end;
  }

  .daily-pokemon-art-wrap {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 76px;
    height: 76px;
    margin: 0;
  }

  .daily-pokemon-image {
    max-width: 76px;
    max-height: 76px;
  }

  .daily-pokemon-number,
  .daily-pokemon-name,
  .daily-pokemon-note {
    grid-column: 2;
  }

  .daily-pokemon-note {
    margin: 3px 0 5px;
  }

  .daily-pokemon-link {
    grid-column: 1 / -1;
    margin-top: 7px;
  }
}

@media (max-width: 720px) {
  .share-options {
    grid-template-columns: 1fr;
  }
}


/* Responsive */
@media (max-width: 720px) {
  .language-list {
    grid-template-columns: 1fr;
  }

  .corner-pokedex-mark {
    width: 305px;
    right: -112px;
    bottom: -58px;
    opacity: .045;
  }


  .favorite-results {
    grid-template-columns: 1fr;
    max-height: 220px;
  }

  .walking-pokemon-layer {
    height: 72px;
  }

  .walker {
    width: 62px;
    height: 62px;
  }

  .walker img {
    max-width: 58px;
    max-height: 58px;
  }


  .corner-pokedex-mark {
  position: fixed;
  right: -120px;
  bottom: -82px;
  width: clamp(340px, 38vw, 560px);
  height: auto;
  z-index: 0;
  opacity: .055;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1) brightness(0) invert(1);
  transform: rotate(-10deg);
}

  .topbar { height: 74px; width: min(100% - 26px, 1180px); }
  .shell { width: min(100% - 26px, 1050px); padding-top: 15px; }
  .hero { margin-top: 28px; margin-bottom: 34px; }
  .hero h1 { letter-spacing: -2.7px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 165px; }
  .home-stats { grid-template-columns: repeat(3, 1fr); padding-inline: 5px; }
  .home-stats span { font-size: 13px; }
  .home-stats small { font-size: 8px; letter-spacing: .5px; }

  .game-head { margin-top: 8px; }
  .progress-track { margin-bottom: 37px; }
  .dex-number { letter-spacing: -5px; }
  .answers { grid-template-columns: 1fr; }
  .answer-button { min-height: 58px; }
  .feedback { align-items: stretch; }
  .next-button { min-width: 92px; }
}

@media (max-width: 440px) {
  .brand-mark {
    width: 64px;
    height: 42px;
    flex-basis: 64px;
  }
  .brand-copy strong { font-size: 12px; }
  .mode-card { grid-template-columns: 44px 1fr auto; padding: 21px; gap: 13px; }
  .mode-icon { width: 44px; height: 44px; }
  .game-footer span:last-child { display: none; }
  .modal-actions { grid-template-columns: 1fr; }
}
