/*
 * Site público (spec 046). Folha própria, sem a landing e sem a conta.
 * As URLs das fontes são trocadas pelos arquivos com hash em scripts/build-public.mjs.
 */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/public-figtree-latin-8330490a01.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/public-nunito-latin-20fc9b6fc6.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/public-jetbrainsmono-latin-28cbd0ddb2.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --ps-ink: #16131f;
  --ps-ink-2: #4b4659;
  --ps-muted: #625d72;
  --ps-bg: #f5f4f9;
  --ps-surface: #ffffff;
  --ps-well: #f1eff7;
  --ps-line: #e5e2ee;
  --ps-line-soft: #eeecf3;
  --ps-violet: #7348ee;
  --ps-violet-ink: #5b33d6;
  --ps-violet-deep: #3d1db0;
  --ps-violet-soft: #efeafe;
  --ps-violet-soft-ink: #4a25c4;
  --ps-up: #0a6b4b;
  --ps-up-soft: #e6f6ef;
  --ps-down: #9a3412;
  --ps-down-soft: #fdefe7;
  --ps-dark: #1e1a2b;
  --ps-gold-soft: #fff5da;
  --ps-gold-line: #f6e3a8;
  --ps-gold-ink: #4a3406;
  --ps-gold: #edb83f;
  --ps-radius: 20px;
  --ps-gutter: clamp(16px, 3vw, 32px);
  --ps-font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ps-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ps-bg); color: var(--ps-ink); font: 400 16px/1.6 var(--ps-font); }
img { max-width: 100%; height: auto; }
a { color: var(--ps-violet-ink); }
a:hover { color: var(--ps-violet-deep); }
:focus-visible { outline: 3px solid var(--ps-violet); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }

.ps-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ps-skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 10px; background: var(--ps-ink); color: #fff; font-weight: 700; text-decoration: none; }
.ps-skip:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }
.ps-wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--ps-gutter); }
.ps-mono { font-family: var(--ps-mono); font-weight: 700; }

/* Cabeçalho */
.ps-header { background: var(--ps-surface); border-bottom: 1px solid var(--ps-line); }
.ps-header__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.ps-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ps-ink); text-decoration: none; font: 800 23px/1 'Nunito', var(--ps-font); letter-spacing: -0.01em; }
.ps-brand img { width: 44px; height: 44px; border-radius: 12px; }
.ps-brand:hover { color: var(--ps-ink); }
.ps-search { order: 2; flex: 1 1 420px; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 5px 0 18px; border-radius: 999px; background: var(--ps-bg); border: 1px solid var(--ps-line); }
.ps-search:focus-within { border-color: var(--ps-violet); background: var(--ps-surface); }
.ps-search svg { flex: none; color: var(--ps-muted); }
.ps-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16px var(--ps-font); color: var(--ps-ink); outline: none; }
.ps-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 12px; font: 700 15px var(--ps-font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.ps-button--primary { background: var(--ps-violet); color: #fff; }
.ps-button--primary:hover { background: var(--ps-violet-ink); color: #fff; }
.ps-button--dark { background: var(--ps-ink); color: #fff; }
.ps-button--dark:hover { background: #2b2638; color: #fff; }
.ps-button--light { background: #fff; color: var(--ps-ink); }
.ps-button--light:hover { background: var(--ps-violet-soft); color: var(--ps-ink); }
.ps-button--outline { background: var(--ps-surface); color: var(--ps-ink); border: 1px solid var(--ps-line); }
.ps-button--outline:hover { border-color: var(--ps-violet); color: var(--ps-ink); }
.ps-search .ps-button { height: 40px; border-radius: 999px; }
.ps-header .ps-cta { order: 3; }
.ps-header__nav { border-top: 1px solid var(--ps-line-soft); }
.ps-nav { display: flex; align-items: center; gap: 4px; padding-block: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ps-nav a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; color: #3b3648; font-weight: 700; font-size: 15px; text-decoration: none; }
.ps-nav a:hover { background: var(--ps-bg); color: var(--ps-ink); }
.ps-nav a[aria-current='page'] { background: var(--ps-ink); color: #fff; }

/* Rodapé */
.ps-footer { margin-top: 80px; background: var(--ps-surface); border-top: 1px solid var(--ps-line); }
.ps-footer__inner { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 28px; }
.ps-footer__top { display: flex; flex-wrap: wrap; gap: 40px; }
.ps-footer__about { flex: 1 1 280px; max-width: 340px; display: flex; flex-direction: column; gap: 16px; }
.ps-footer__about p { font-size: 15px; color: var(--ps-ink-2); line-height: 1.55; }
.ps-footer__cols { flex: 999 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 24px; }
.ps-footer__col { display: flex; flex-direction: column; gap: 10px; }
.ps-footer__col h2 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ps-muted); }
.ps-footer__col a { color: var(--ps-ink); text-decoration: none; font-size: 15px; }
.ps-footer__col a:hover { color: var(--ps-violet-ink); text-decoration: underline; }
.ps-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--ps-line-soft); font-size: 13px; line-height: 1.5; color: var(--ps-muted); }
.ps-footer__legal p { max-width: 760px; }
.ps-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-store { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--ps-ink); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.ps-store:hover { background: #2b2638; color: #fff; }
.ps-store--light { background: #fff; color: var(--ps-ink); }
.ps-store--light:hover { background: var(--ps-violet-soft); color: var(--ps-ink); }

/* Conteúdo */
.ps-main { display: block; }
.ps-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 24px; font-size: 14px; color: var(--ps-muted); }
.ps-crumbs a { text-decoration: none; }
.ps-crumbs [aria-current] { color: var(--ps-ink); }
.ps-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ps-violet-ink); }
.ps-page-head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; padding-block: 28px 8px; }
.ps-title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.ps-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ps-ink-2); }
.ps-stack { display: flex; flex-direction: column; gap: 40px; padding-block: 24px 0; }
.ps-section-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.ps-section-title + .ps-card, .ps-section-title + .ps-grid3, .ps-section-title + ol { margin-top: 16px; }
.ps-split .ps-section-title + .ps-lead { margin-top: 10px; margin-bottom: 16px; }
.ps-card { background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: var(--ps-radius); }
.ps-pad { padding: clamp(20px, 3vw, 32px); }
.ps-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ps-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.ps-split > * { flex: 1 1 400px; min-width: 0; }
.ps-text h2 { font-size: 20px; margin-bottom: 10px; }
.ps-text p { font-size: 15px; color: var(--ps-ink-2); }
.ps-prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.ps-prose h2 { font-size: 24px; margin-top: 12px; }
.ps-prose p { font-size: 17px; line-height: 1.7; color: #2e2a3a; }
.ps-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.ps-chip--up { background: var(--ps-up-soft); color: var(--ps-up); }
.ps-numbered { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: ps-n; }
.ps-numbered li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; counter-increment: ps-n; }
.ps-numbered li::before { content: counter(ps-n); flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--ps-violet-soft); color: var(--ps-violet-soft-ink); font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ps-table-box { overflow-x: auto; }
.ps-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ps-table th, .ps-table td { padding: 14px 20px; text-align: left; }
.ps-table thead tr { background: #f8f7fb; color: var(--ps-ink-2); font-size: 13px; }
.ps-table tbody tr { border-top: 1px solid var(--ps-line-soft); }
.ps-faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; width: 100%; margin-inline: auto; }
.ps-faq h2 { text-align: center; margin-bottom: 6px; }
.ps-faq details { background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: 16px; padding: 18px 22px; }
.ps-faq summary { font-size: 17px; font-weight: 800; cursor: pointer; }
.ps-faq details p { margin-top: 12px; color: var(--ps-ink-2); }
.ps-band { border-radius: 24px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.ps-band--dark { background: var(--ps-ink); color: #fff; }
.ps-band--dark p { color: #d9d4e6; }
.ps-band--gold { justify-content: flex-start; background: var(--ps-gold-soft); border: 1px solid var(--ps-gold-line); color: var(--ps-gold-ink); }
.ps-band--gold p { color: #4a3a12; }
.ps-band h2 { font-size: 22px; margin-bottom: 6px; }
.ps-band > div { flex: 1 1 420px; max-width: 680px; }
.ps-icon-tile { flex: none; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--ps-gold); color: var(--ps-gold-ink); }

/* Anatomia do preço */
.ps-price-demo { position: relative; margin: 0; padding: 24px 0 24px 44px; }
.ps-price-demo__card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px; border: 1px solid var(--ps-line); border-radius: 22px; background: #fff; box-shadow: 0 20px 40px rgba(22, 19, 31, 0.08); }
.ps-price-demo__card > span { position: relative; outline: 2px dashed var(--ps-violet); outline-offset: 4px; border-radius: 4px; }
.ps-price-demo__card [data-n]::before { content: attr(data-n); position: absolute; left: -64px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 999px; background: var(--ps-violet); color: #fff; font: 900 14px/28px var(--ps-font); text-align: center; }
.ps-price-demo__value { font-size: 52px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ps-price-demo__label { font-size: 14px; color: var(--ps-ink-2); }
.ps-price-demo__date { font-size: 13px; color: var(--ps-ink-2); }
.ps-chart { width: 100%; height: auto; display: block; }

/* O app */
.ps-app-hero { background: var(--ps-dark); color: #fff; overflow: hidden; }
.ps-app-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; padding-top: clamp(32px, 5vw, 72px); }
.ps-app-hero__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(32px, 5vw, 72px); }
.ps-app-hero__copy .ps-eyebrow { color: #c9b8ff; }
.ps-app-hero__copy .ps-title { font-size: clamp(38px, 5vw, 68px); }
.ps-app-hero__copy p { color: #d9d4e6; font-size: 18px; max-width: 560px; }
.ps-app-hero__note { font-size: 14px !important; color: #b9b2cc !important; }
.ps-phones { flex: 1 1 460px; display: flex; justify-content: center; gap: 16px; align-items: flex-end; height: 520px; overflow: hidden; }
.ps-phones img { width: 200px; height: auto; margin-bottom: -80px; border-radius: 32px 32px 0 0; border: 6px solid #2e2940; border-bottom: 0; }
.ps-phones img:nth-child(2) { width: 230px; margin-bottom: -40px; }
.ps-steps { margin: 0; padding: 0; list-style: none; }
.ps-steps li { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ps-steps .ps-mono { font-size: 28px; color: var(--ps-violet); }
.ps-steps strong { font-size: 19px; }
.ps-steps span:last-child { font-size: 15px; line-height: 1.5; color: var(--ps-ink-2); }
.ps-feature { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ps-feature__head { display: flex; justify-content: space-between; align-items: center; }
.ps-feature__n { width: 44px; height: 44px; border-radius: 12px; background: var(--ps-violet-soft); color: var(--ps-violet-soft-ink); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ps-feature__n--gold { background: var(--ps-gold-soft); color: #8a5b00; }
.ps-feature strong { font-size: 19px; }
.ps-feature p { font-size: 15px; line-height: 1.5; color: var(--ps-ink-2); }
.ps-badge { height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ps-ink); color: #f2c94c; font-size: 11px; font-weight: 900; letter-spacing: 0.06em; display: inline-flex; align-items: center; }

/* Institucional */
.ps-side-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 28px; }
.ps-side-nav { flex: 1 1 240px; max-width: 260px; display: flex; flex-direction: column; gap: 2px; padding: 12px; }
.ps-side-nav a { padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 700; color: #3b3648; text-decoration: none; }
.ps-side-nav a:hover { background: var(--ps-bg); color: var(--ps-ink); }
.ps-side-nav a[aria-current='page'] { background: var(--ps-ink); color: #fff; }
.ps-side-layout > article { flex: 999 1 560px; min-width: 0; }
.ps-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.ps-contact a { flex: 1 1 220px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ps-ink); }
.ps-contact span { font-size: 14px; color: var(--ps-muted); }
.ps-updated { font-size: 14px; color: var(--ps-muted); }

/* Catálogo: carta, grade, tabela */
.ps-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ps-grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ps-tile { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: 18px; color: var(--ps-ink); text-decoration: none; min-width: 0; }
a.ps-tile:hover { border-color: #d9d0fb; color: var(--ps-ink); }
.ps-tile__art { aspect-ratio: 5 / 6; border-radius: 12px; background: var(--ps-well); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ps-tile__art img { height: 86%; width: auto; max-width: 92%; object-fit: contain; border-radius: 7px; box-shadow: 0 12px 24px rgba(22, 19, 31, 0.18); }
.ps-tile__name { font-size: 16px; font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-tile__meta { font-size: 13px; color: var(--ps-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -8px; }
.ps-tile__price { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.ps-tile__label { font-size: 12px; color: var(--ps-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-tile__value { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ps-none { font-size: 16px; font-weight: 700; color: var(--ps-ink-2); }
.ps-set-tile { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: var(--ps-surface); border: 1px solid var(--ps-line); color: var(--ps-ink); text-decoration: none; }
a.ps-set-tile:hover { border-color: #d9d0fb; color: var(--ps-ink); }
.ps-set-tile__logo { height: 96px; border-radius: 12px; background: var(--ps-well); display: flex; align-items: center; justify-content: center; padding: 12px; }
.ps-set-tile__logo img { max-width: 100%; max-height: 72px; object-fit: contain; }
.ps-set-tile strong { font-size: 15px; line-height: 1.25; }
/* Capa de coleção sem logotipo: as cartas mais valiosas em leque, ou o nome. */
.ps-cover-fan, .ps-cover-name { position: relative; overflow: hidden; padding: 0; background: #1b1626; }
.ps-cover-fan__card { position: absolute; left: 50%; top: 14px; width: 66px; height: auto; border-radius: 4px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); }
.ps-cover-fan__card--0 { z-index: 2; top: 9px; width: 72px; transform: translateX(-50%); }
.ps-cover-fan__card--1 { transform: translateX(-108%) rotate(-11deg); }
.ps-cover-fan__card--2 { transform: translateX(8%) rotate(11deg); }
.ps-cover-name { padding: 14px; text-align: center; }
.ps-cover-name::before, .ps-cover-name::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid #2e2640; }
.ps-cover-name::before { width: 180px; height: 180px; right: -60px; top: -70px; }
.ps-cover-name::after { width: 110px; height: 110px; left: -40px; bottom: -60px; }
.ps-set-tile .ps-cover-name span, .ps-cover-name span { position: relative; font-family: var(--ps-font); font-size: 16px; font-weight: 800; line-height: 1.2; color: #ede8fa; }
.ps-set-tile span { font-size: 13px; color: var(--ps-muted); }
.ps-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ps-head-row p { color: var(--ps-muted); font-size: 15px; margin-top: 6px; }
.ps-head-row a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.ps-num { font-family: var(--ps-mono); font-weight: 700; font-size: 13px; color: var(--ps-ink-2); }
.ps-table td.ps-right, .ps-table th.ps-right { text-align: right; white-space: nowrap; }
.ps-table a { color: var(--ps-ink); font-weight: 800; text-decoration: none; }
.ps-table a:hover { color: var(--ps-violet-ink); }
.ps-table .ps-strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.ps-table .ps-muted { color: var(--ps-muted); }
.ps-facts { margin: 6px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ps-facts div { padding: 12px 14px; border-radius: 14px; background: var(--ps-bg); }
.ps-facts dt { font-size: 12px; color: var(--ps-muted); }
.ps-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 800; }
.ps-tabs { display: flex; gap: 6px; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--ps-line); }
.ps-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 15px; font-weight: 700; color: var(--ps-ink-2); text-decoration: none; border-bottom: 3px solid transparent; }
.ps-tabs a[aria-current='page'] { color: var(--ps-ink); font-weight: 800; border-bottom-color: var(--ps-violet); }

/* Carta */
.ps-card-sub { font-size: 17px; color: var(--ps-ink-2); }
.ps-revised { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 13px; color: var(--ps-ink-2); background: var(--ps-bg); border-radius: 999px; height: 32px; padding: 0 12px; }
.ps-revised svg { color: var(--ps-violet-ink); }
.ps-note { font-size: 13px; line-height: 1.5; color: var(--ps-muted); }
.ps-island { min-height: 120px; }
.ps-island__status { padding: 24px; border-radius: 16px; border: 1.5px dashed #d6d1e2; background: #fbfafd; color: var(--ps-ink-2); font-size: 15px; }
.ps-segment { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ps-segment button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ps-line); background: var(--ps-surface); font: 700 14px var(--ps-font); color: var(--ps-ink-2); cursor: pointer; }
.ps-segment button[aria-pressed='true'] { background: var(--ps-ink); border-color: var(--ps-ink); color: #fff; }

/* Ranking */
.ps-podium { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.ps-podium a { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ps-ink); text-decoration: none; }
.ps-podium img { width: 180px; height: auto; border-radius: 12px; box-shadow: 0 24px 44px rgba(22, 19, 31, 0.24); }
.ps-podium__step { width: 100%; border-radius: 20px 20px 16px 16px; padding: 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ps-podium__rank { font-family: var(--ps-mono); font-weight: 700; font-size: 28px; }
.ps-podium__name { font-size: 18px; font-weight: 800; }
.ps-podium__price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ps-podium li:nth-child(1) { order: 2; } .ps-podium li:nth-child(2) { order: 1; } .ps-podium li:nth-child(3) { order: 3; }
.ps-podium li:nth-child(1) .ps-podium__step { background: #ffe9ae; border-bottom: 8px solid #f2c94c; min-height: 180px; }
.ps-podium li:nth-child(1) .ps-podium__rank { color: #6b4700; }
.ps-podium li:nth-child(2) .ps-podium__step { background: #f3f0fa; border-bottom: 8px solid #ddd7ee; min-height: 150px; }
.ps-podium li:nth-child(3) .ps-podium__step { background: #ffe6d6; border-bottom: 8px solid #f4b792; min-height: 130px; }
.ps-podium li:nth-child(3) .ps-podium__rank { color: #8c4a22; }

/* Início */
.ps-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: clamp(32px, 5vw, 72px) 40px; }
.ps-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ps-hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; }
.ps-hero__search { display: flex; align-items: center; gap: 10px; height: 66px; padding: 0 7px 0 22px; border-radius: 999px; background: #fff; border: 1.5px solid #d9d0fb; box-shadow: 0 10px 30px rgba(115, 72, 238, 0.12); max-width: 640px; }
.ps-hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 17px var(--ps-font); color: var(--ps-ink); outline: none; }
.ps-hero__search .ps-button { height: 52px; border-radius: 999px; padding: 0 24px; font-size: 16px; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ps-chips span { font-size: 14px; color: var(--ps-muted); margin-right: 4px; }
.ps-chips a { height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ps-line); color: var(--ps-ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; }
.ps-hero__art { flex: 1 1 420px; min-width: 0; position: relative; height: 460px; border-radius: 32px; background: #ece6fd; overflow: hidden; }
.ps-hero__art img { position: absolute; border-radius: 12px; box-shadow: 0 24px 40px rgba(22, 19, 31, 0.22); width: 34%; height: auto; }
.ps-hero__art img:nth-child(1) { left: 7%; top: 64px; transform: rotate(-9deg); }
.ps-hero__art img:nth-child(2) { right: 6%; top: 78px; transform: rotate(8deg); }
.ps-hero__art img:nth-child(3) { left: 31%; top: 32px; width: 38%; box-shadow: 0 30px 50px rgba(22, 19, 31, 0.28); }
.ps-game { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 240px; padding: 24px; border-radius: 24px; color: var(--ps-ink); text-decoration: none; overflow: hidden; }
.ps-game strong { font-size: 26px; letter-spacing: -0.02em; }
.ps-game span { font-size: 15px; line-height: 1.45; color: #3b3648; max-width: 320px; }
.ps-game em { font-style: normal; font-weight: 800; color: var(--ps-violet-soft-ink); margin-top: 6px; }
.ps-game--pokemon { background: #fff4cc; } .ps-game--onepiece { background: #fde4e1; } .ps-game--lorcana { background: #e2ecfc; }

/* Busca */

/* Batalha: a caixa de deck na cor do tipo do Pokémon de capa (CMBattleType do app) */
.ps-tone--grass { --tone-mid: #72c152; --tone-deep: #357a26; --tone-ink: #142c0b; --tone-soft: #ecf8e4; }
.ps-tone--fire { --tone-mid: #f37a4b; --tone-deep: #c44a22; --tone-ink: #3a1103; --tone-soft: #ffefe7; }
.ps-tone--water { --tone-mid: #5ca2ee; --tone-deep: #2f6bbe; --tone-ink: #0b2747; --tone-soft: #e8f3ff; }
.ps-tone--lightning { --tone-mid: #f7cb2b; --tone-deep: #c79a06; --tone-ink: #4a3a02; --tone-soft: #fff9dc; }
.ps-tone--psychic { --tone-mid: #9a70f0; --tone-deep: #6541cf; --tone-ink: #1b0a45; --tone-soft: #f2eaff; }
.ps-tone--fighting { --tone-mid: #d08a56; --tone-deep: #9a5529; --tone-ink: #331503; --tone-soft: #faeee4; }
.ps-tone--darkness { --tone-mid: #3d6a75; --tone-deep: #1f434c; --tone-ink: #ffffff; --tone-soft: #e3eff1; }
.ps-tone--metal { --tone-mid: #bcc7d6; --tone-deep: #8593a8; --tone-ink: #2e3848; --tone-soft: #eff2f6; }
.ps-tone--dragon { --tone-mid: #edb83f; --tone-deep: #c18614; --tone-ink: #4a3406; --tone-soft: #fff5da; }
.ps-tone--colorless { --tone-mid: #e6dccb; --tone-deep: #c2b39a; --tone-ink: #4a3f2e; --tone-soft: #f8f4ed; }
.ps-deck { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--tone-mid); color: var(--tone-ink); text-decoration: none; box-shadow: 0 16px 32px rgba(22, 19, 31, 0.14); }
a.ps-deck:hover { color: var(--tone-ink); transform: translateY(-2px); }
.ps-deck__lid { height: 14px; background: var(--tone-deep); }
.ps-deck__art { height: 150px; overflow: hidden; background: var(--tone-deep); }
.ps-deck__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ps-deck__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.ps-deck__rank { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }
.ps-deck__name { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.ps-deck__stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; font-weight: 600; }
.ps-deck__cost { margin-top: 6px; padding-top: 10px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); font-size: 14px; font-weight: 700; }
.ps-mini-box { width: 52px; height: 52px; flex: none; border-radius: 14px; border-top: 6px solid var(--tone-deep); background: var(--tone-mid); overflow: hidden; }
.ps-mini-box img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ps-meta-row { display: grid; grid-template-columns: 44px 52px minmax(0, 1.6fr) minmax(0, 1.2fr) 90px 150px; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--ps-line-soft); color: var(--ps-ink); text-decoration: none; }
a.ps-meta-row:hover { background: #faf9fd; color: var(--ps-ink); }
.ps-meta-head { background: #f8f7fb; font-size: 13px; font-weight: 700; color: var(--ps-ink-2); border-top: 0; }
.ps-bar { height: 10px; border-radius: 999px; background: var(--ps-well); overflow: hidden; }
.ps-bar span { display: block; height: 100%; border-radius: 999px; background: var(--tone-mid, var(--ps-violet)); }
.ps-w-0 { width: 0%; } .ps-w-5 { width: 5%; } .ps-w-10 { width: 10%; } .ps-w-15 { width: 15%; } .ps-w-20 { width: 20%; } .ps-w-25 { width: 25%; } .ps-w-30 { width: 30%; } .ps-w-35 { width: 35%; } .ps-w-40 { width: 40%; } .ps-w-45 { width: 45%; } .ps-w-50 { width: 50%; } .ps-w-55 { width: 55%; } .ps-w-60 { width: 60%; } .ps-w-65 { width: 65%; } .ps-w-70 { width: 70%; } .ps-w-75 { width: 75%; } .ps-w-80 { width: 80%; } .ps-w-85 { width: 85%; } .ps-w-90 { width: 90%; } .ps-w-95 { width: 95%; } .ps-w-100 { width: 100%; }
.ps-band--tone { background: var(--tone-soft); border: 1px solid color-mix(in srgb, var(--tone-deep) 30%, transparent); color: #16131f; }
.ps-piles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ps-pile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ps-pile__stack { position: relative; width: 118px; }
.ps-pile__stack img { width: 118px; height: auto; border-radius: 7px; box-shadow: 0 10px 20px rgba(22, 19, 31, 0.2); }
.ps-pile__count { position: absolute; right: -6px; bottom: -6px; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--ps-ink); color: #fff; font: 700 14px/30px var(--ps-mono); }
.ps-pile strong { font-size: 14px; line-height: 1.25; }
.ps-list3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ps-list-col { overflow: hidden; }
.ps-list-col h3 { display: flex; justify-content: space-between; padding: 14px 18px; background: #f8f7fb; font-size: 16px; }
.ps-list-col ul { margin: 0; padding: 0; list-style: none; }
.ps-list-col li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 18px; border-top: 1px solid var(--ps-line-soft); font-size: 14.5px; }
.ps-list-col li .ps-num { color: var(--ps-violet); }
.ps-matchup { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) 52px; gap: 12px; align-items: center; }
.ps-matchup .ps-bar span { background: var(--ps-up); }
.ps-matchup.is-down .ps-bar span { background: #c2410c; }
.ps-ticket { display: flex; border-radius: 22px; overflow: hidden; background: var(--ps-surface); border: 1px solid var(--ps-line); color: var(--ps-ink); text-decoration: none; }
a.ps-ticket:hover { border-color: #d9d0fb; color: var(--ps-ink); }
.ps-ticket__date { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 16px 0; background: var(--ps-ink); color: #fff; }
.ps-ticket__date strong { font: 700 30px/1 var(--ps-mono); }
.ps-ticket__date span { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ps-ticket__body { flex: 1; min-width: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; border-left: 2px dashed var(--ps-line); }
.ps-ticket__kind { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a5b00; }
.ps-ticket__name { font-size: 20px; font-weight: 800; }
.ps-ticket__place { font-size: 14px; color: var(--ps-ink-2); }
.ps-copy-list { white-space: pre-wrap; font: 700 13px/1.6 var(--ps-mono); background: var(--ps-bg); border-radius: 14px; padding: 16px; margin: 12px 0 0; max-height: 360px; overflow: auto; }

/* Editorial: guias e páginas de conteúdo */
.ps-prose-body { max-width: 860px; font-size: 17px; line-height: 1.7; color: #2e2a3a; }
.ps-prose-body h2 { font-size: 26px; margin: 28px 0 10px; scroll-margin-top: 24px; }
.ps-prose-body h2:first-child { margin-top: 0; }
.ps-prose-body h3 { font-size: 20px; margin: 20px 0 8px; }
.ps-prose-body p { margin: 0 0 14px; }
.ps-prose-body ul, .ps-prose-body ol { margin: 0 0 16px; padding-left: 22px; }
.ps-prose-body li { margin-bottom: 8px; }
.ps-prose-body blockquote { margin: 16px 0; padding: 14px 18px; border-radius: 14px; background: var(--ps-gold-soft); border: 1px solid var(--ps-gold-line); }
.ps-prose-body .table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--ps-line); border-radius: 14px; }
.ps-prose-body table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ps-prose-body th, .ps-prose-body td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--ps-line-soft); }
.ps-prose-body thead th { background: #f8f7fb; border-top: 0; color: var(--ps-ink-2); font-size: 13px; }
.ps-related { color: var(--ps-ink); text-decoration: none; font-size: 17px; font-weight: 800; }
.ps-related:hover { border-color: #d9d0fb; color: var(--ps-ink); }
.ps-guide { display: flex; flex-direction: column; gap: 8px; color: var(--ps-ink); text-decoration: none; }
.ps-guide strong { font-size: 19px; line-height: 1.25; }
.ps-guide span:last-child { font-size: 14px; color: var(--ps-ink-2); }
.ps-guide:hover { border-color: #d9d0fb; color: var(--ps-ink); }
/* Montador sem conta (Batalha) */
.ps-builder { display: flex; flex-direction: column; gap: 16px; }
.ps-builder__status { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-builder__pill { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.ps-builder__pill--ok { background: var(--ps-up-soft); color: var(--ps-up); }
.ps-builder__pill--warn { background: var(--ps-down-soft); color: var(--ps-down); }
.ps-builder .ps-list-col li { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.ps-builder__row { transition: opacity .18s ease; }
.ps-builder__row.is-out { opacity: .45; }
.ps-builder__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-stepper { display: inline-flex; align-items: center; gap: 4px; }
.ps-stepper button { width: 28px; height: 28px; border: 1px solid var(--ps-line); border-radius: 8px; background: var(--ps-surface); color: var(--ps-ink); font: 800 16px/1 var(--ps-font); cursor: pointer; transition: background-color .15s ease, transform .12s ease; }
.ps-stepper button:hover:not(:disabled) { background: var(--ps-violet-soft); border-color: #d9d0fb; }
.ps-stepper button:active:not(:disabled) { transform: scale(.92); }
.ps-stepper button:disabled { opacity: .4; cursor: default; }
.ps-stepper .ps-num { min-width: 18px; text-align: center; }
.ps-button--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.ps-button--ghost-light:hover { border-color: #fff; color: #fff; }
.ps-button:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .ps-builder__row, .ps-stepper button { transition: none; }
}
.ps-not-found { padding-block: clamp(24px, 6vw, 72px); }
.ps-editorial--screen { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.ps-editorial__screen { margin: 0; position: sticky; top: 24px; }
.ps-editorial__screen img { display: block; width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--ps-line); box-shadow: 0 18px 40px -24px rgba(36, 22, 90, .35); }
@media (max-width: 900px) {
  .ps-editorial--screen { grid-template-columns: 1fr; }
  .ps-editorial__screen { position: static; max-width: 240px; margin-inline: auto; }
}

/* Personagem Pokémon (T016b): herói na cor do tipo, família evolutiva, deck do meta */
.ps-section-gap { margin-top: 16px; }
.ps-card-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; font-weight: 700; }
.ps-card-links a { text-decoration: none; }
.ps-table a.ps-table__set { font-weight: 600; color: var(--ps-violet-ink); }
.ps-char-hero { display: flex; flex-wrap: wrap; align-items: stretch; border-radius: 28px; overflow: hidden; background: var(--tone-soft); border: 1px solid color-mix(in srgb, var(--tone-deep) 30%, transparent); }
.ps-char-hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.5vw, 44px); }
.ps-char-hero__copy .ps-lead { max-width: 620px; }
.ps-char-hero__badge { align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--tone-mid); color: var(--tone-ink); font-size: 13px; font-weight: 800; }
.ps-facts--light div { background: var(--ps-surface); }
.ps-char-hero__art { flex: 1 1 360px; min-height: 300px; position: relative; overflow: hidden; background: color-mix(in srgb, var(--tone-mid) 35%, var(--tone-soft)); }
.ps-char-hero__art img { position: absolute; width: 38%; height: auto; border-radius: 12px; box-shadow: 0 24px 40px rgba(22, 19, 31, 0.24); }
.ps-char-hero__art img:nth-child(1) { left: 31%; top: 34px; width: 40%; z-index: 2; }
.ps-char-hero__art img:nth-child(2) { left: 6%; top: 70px; transform: rotate(-9deg); }
.ps-char-hero__art img:nth-child(3) { right: 6%; top: 82px; transform: rotate(8deg); }
.ps-evo { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ps-evo__level { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 8px; }
.ps-evo__stage { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ps-evo__level.is-wide { flex: 3 1 640px; }
.ps-evo__level.is-wide .ps-evo__stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ps-evo__arrow { flex: none; width: 32px; text-align: center; font-size: 22px; font-weight: 800; color: #c18614; }
.ps-evo__item { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 20px; background: var(--ps-surface); border: 1px solid var(--ps-line); color: var(--ps-ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.ps-evo__item:hover { border-color: #d9d0fb; color: var(--ps-ink); transform: translateY(-1px); }
.ps-evo__item.is-current { border: 2px solid var(--ps-gold); }
.ps-evo__item.is-muted { opacity: .7; }
.ps-evo__art { flex: none; width: 72px; }
.ps-evo__art img { width: 72px; height: auto; border-radius: 6px; box-shadow: 0 8px 16px rgba(22, 19, 31, 0.16); }
.ps-evo__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ps-evo__kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--ps-muted); }
.ps-evo__name { font-size: 19px; font-weight: 800; }
.ps-evo__cta { font-size: 14px; font-weight: 700; color: var(--ps-violet-ink); }
.ps-evo__item.is-current .ps-evo__cta { color: #8a5b00; }
.ps-pair { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.ps-pair > * { flex: 1 1 420px; min-width: 0; }
.ps-char-deck { display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 24px; background: var(--tone-mid); color: var(--tone-ink); text-decoration: none; overflow: hidden; }
.ps-char-deck:hover { color: var(--tone-ink); }
.ps-char-deck img { flex: none; width: 180px; height: 110px; object-fit: cover; object-position: center 22%; border-radius: 14px; border-bottom: 5px solid var(--tone-deep); }
.ps-char-deck__text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; }
.ps-char-deck__kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }
.ps-char-deck__name { font-size: 22px; font-weight: 800; }
.ps-panel { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.ps-panel h2 { font-size: 19px; }
.ps-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-pills a { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--tone-soft, var(--ps-bg)); border: 1px solid color-mix(in srgb, var(--tone-deep, #c9c3d6) 35%, transparent); color: var(--ps-ink); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; }
.ps-pills a:hover { border-color: var(--ps-violet); color: var(--ps-ink); }
.ps-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ps-letters a { width: 38px; height: 38px; border-radius: 10px; background: var(--ps-surface); border: 1px solid var(--ps-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; color: var(--ps-ink); }
.ps-letters a:hover { border-color: var(--ps-violet); }
.ps-index { margin-top: 20px; columns: 4 220px; column-gap: 28px; }
.ps-index section { break-inside: avoid; margin-bottom: 20px; scroll-margin-top: 24px; }
.ps-index h3 { font: 700 20px var(--ps-mono); color: var(--ps-violet-ink); margin-bottom: 6px; }
.ps-index ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ps-index li { font-size: 15px; }
.ps-index a { color: var(--ps-ink); font-weight: 700; text-decoration: none; }
.ps-index a:hover { color: var(--ps-violet-ink); text-decoration: underline; }
.ps-index .ps-muted { color: var(--ps-muted); font-size: 13px; }

/* Hubs de One Piece e Lorcana (T016b) */
.ps-game-hero { display: flex; flex-wrap: wrap; align-items: center; border-radius: 32px; overflow: hidden; }
.ps-game-hero--onepiece { --game-soft: #fde4e1; --game-line: #f6c9c2; --game-ink: #8a1f12; --game-dot: #d93a26; --game-deep: #6e1a0f; }
.ps-game-hero--lorcana { --game-soft: #e2ecfc; --game-line: #c9daf8; --game-ink: #1e4fa8; --game-dot: #2f6fdb; --game-deep: #1e3a78; }
.ps-game-hero { background: var(--game-soft); border: 1px solid var(--game-line); }
.ps-game-hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 52px); }
.ps-game-hero__copy .ps-lead { max-width: 560px; }
.ps-game-hero__copy .ps-revised { background: var(--ps-surface); }
.ps-game-hero__pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ps-surface); font-size: 13px; font-weight: 800; color: var(--game-ink); }
.ps-game-hero__pill span { width: 8px; height: 8px; border-radius: 999px; background: var(--game-dot); }
.ps-game-hero__art { flex: 1 1 420px; position: relative; height: 380px; }
.ps-game-hero__art img { position: absolute; width: 32%; height: auto; border-radius: 12px; box-shadow: 0 20px 36px rgba(22, 19, 31, 0.22); }
.ps-game-hero__art img:nth-child(1) { left: 4%; top: 70px; transform: rotate(-12deg); }
.ps-game-hero__art img:nth-child(2) { left: 24%; top: 40px; width: 33%; transform: rotate(-4deg); }
.ps-game-hero__art img:nth-child(3) { left: 44%; top: 34px; width: 34%; transform: rotate(4deg); }
.ps-game-hero__art img:nth-child(4) { left: 63%; top: 66px; transform: rotate(12deg); }
.ps-cover-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 18px; background: var(--ps-surface); border: 1px solid var(--ps-line); }
.ps-cover-note svg { flex: none; margin-top: 1px; color: var(--ps-violet-ink); }
.ps-cover-note p { font-size: 15px; line-height: 1.55; color: #3b3648; }
.ps-chapter-group { margin-top: 16px; }
.ps-chapter-group h3 { font-size: 17px; margin-bottom: 10px; color: var(--ps-ink-2); }
.ps-chapters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ps-chapter { display: flex; flex-direction: column; gap: 8px; min-height: 132px; padding: 16px; border-radius: 18px; background: var(--ps-surface); border: 1px solid var(--ps-line); color: var(--ps-ink); }
.ps-chapter.is-latest { background: var(--ps-dark); border-color: var(--ps-dark); color: #fff; }
.ps-chapter__code { font: 700 24px/1 var(--ps-mono); overflow-wrap: anywhere; }
.ps-chapter__name { font-size: 15px; font-weight: 800; line-height: 1.25; }
.ps-chapter__meta { margin-top: auto; font-size: 13px; color: var(--ps-muted); }
.ps-chapter.is-latest .ps-chapter__meta { color: #d9d4e6; }
.ps-rarities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ps-rarity { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--ps-surface); border: 1px solid var(--ps-line); }
.ps-rarity > span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--ps-ink-2); }
.ps-rarity strong { font-size: 16px; color: var(--ps-ink); }
.ps-rarity__swatch { flex: none; width: 14px; height: 14px; margin-top: 4px; border-radius: 4px; transform: rotate(45deg); background: #9aa3b5; }
.ps-rarity__swatch--leader { background: #d93a26; }
.ps-rarity__swatch--rare { background: #c2793a; }
.ps-rarity__swatch--super { background: #8a99b8; }
.ps-rarity__swatch--secret, .ps-rarity__swatch--legendary { background: #d4a017; }
.ps-rarity__swatch--special { background: var(--ps-violet); }
.ps-rarity__swatch--promo { background: #2f6fdb; }

@media (max-width: 1100px) {
  .ps-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-chapters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-grid6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-piles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-list3 { grid-template-columns: minmax(0, 1fr); }
  .ps-meta-row { grid-template-columns: 36px 52px minmax(0, 1fr) 130px; }
  .ps-meta-row .ps-hide-narrow { display: none; }
}
@media (max-width: 900px) {
  .ps-grid3 { grid-template-columns: minmax(0, 1fr); }
  .ps-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ps-search { order: 3; flex-basis: 100%; }
  .ps-header .ps-cta { order: 2; padding: 0 14px; }
  .ps-cta span { display: none; }
  .ps-phones img:not(:nth-child(2)) { display: none; }
  .ps-phones { height: 420px; }
  .ps-side-nav { max-width: none; }
  .ps-price-demo { padding: 8px 0 8px 40px; }
  .ps-price-demo__card { padding: 18px; }
  .ps-price-demo__card [data-n]::before { left: -58px; }
  .ps-price-demo__value { font-size: 36px; }
  .ps-grid4, .ps-grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ps-podium { grid-template-columns: minmax(0, 1fr); }
  .ps-podium li { order: 0 !important; }
  .ps-piles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-ticket__date { width: 76px; }
  .ps-hero__art { display: none; }
  .ps-char-hero__art, .ps-game-hero__art { display: none; }
  .ps-evo { flex-direction: column; align-items: stretch; }
  .ps-evo__level { flex-direction: column; align-items: stretch; flex-basis: auto; }
  .ps-evo__arrow { width: auto; transform: rotate(90deg); }
  .ps-char-deck { flex-direction: column; align-items: flex-start; }
  .ps-char-deck img { width: 100%; height: 120px; }
  .ps-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-rarities { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ── Busca 2.0 ─────────────────────────────────────────────────────────── */
.ps-qband { background: var(--ps-surface); border-bottom: 1px solid var(--ps-line); }
.ps-qband__inner { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(24px, 4vw, 44px) 24px; }
.ps-qband__intro { display: flex; flex-direction: column; gap: 8px; }
.ps-qband__intro .ps-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; }
.ps-qform { display: flex; align-items: center; gap: 12px; max-width: 860px; height: 68px; padding: 0 8px 0 22px; border-radius: 999px; background: #fff; border: 2px solid var(--ps-violet); box-shadow: 0 12px 32px rgba(115, 72, 238, 0.14); box-sizing: border-box; }
.ps-qform svg { flex: none; color: var(--ps-violet-ink); }
.ps-qform input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 19px var(--ps-font); color: var(--ps-ink); outline: none; }
.ps-qform .ps-button { height: 52px; border-radius: 999px; padding: 0 26px; font-size: 16px; font-weight: 800; }
.ps-qform:focus-within { box-shadow: 0 0 0 4px var(--ps-violet-soft), 0 12px 32px rgba(115, 72, 238, 0.14); }
.ps-qpage { padding-block: 24px 16px; }
.ps-island:empty { display: none; }
.ps-results { display: flex; flex-direction: column; gap: 18px; }
.ps-results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.ps-results__head .ps-title { font-size: clamp(26px, 3vw, 36px); text-transform: none; }
.ps-results__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ps-results__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ps-muted); }
.ps-results__sort select { height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ps-line); background: #fff; font: 700 14px var(--ps-font); color: var(--ps-ink); }
.ps-results__more { display: flex; justify-content: center; }
.ps-results__foot { text-align: center; }
.ps-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ps-bg); border: 1px solid var(--ps-line); }
.ps-seg button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 700 14px var(--ps-font); color: var(--ps-ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.ps-seg button[aria-pressed="true"] { background: var(--ps-ink); color: #fff; }
.ps-seg--icons { border-radius: 12px; }
.ps-seg--icons button { width: 44px; padding: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.ps-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.ps-filter button { flex: none; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ps-line); background: #fff; color: var(--ps-ink); font: 700 14px var(--ps-font); white-space: nowrap; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.ps-filter button:hover { border-color: #d9d0fb; }
.ps-filter button[aria-pressed="true"] { border-color: var(--ps-violet); background: #f7f4ff; }
.ps-qgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ps-qtile { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--ps-line); color: var(--ps-ink); text-decoration: none; min-width: 0; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.ps-qtile:hover { border-color: #d9d0fb; color: var(--ps-ink); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(36, 22, 90, 0.35); }
.ps-qtile__art { position: relative; aspect-ratio: 63 / 88; border-radius: 11px; background: var(--ps-well); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ps-qtile__art img { width: 100%; height: 100%; object-fit: cover; }
.ps-qtile__missing { position: absolute; inset: 8px; border-radius: 8px; border: 1.5px dashed #c9b8ff; background: #f7f4ff; color: #c9b8ff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 10px; }
.ps-qtile__missing span { font-size: 12px; font-weight: 700; color: var(--ps-violet-soft-ink); }
.ps-qtile__name { font-size: 15px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-qtile__meta { font-size: 12.5px; color: var(--ps-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-qtile__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 6px; margin-top: auto; }
.ps-qtile__value { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-qtile__dim { font-family: var(--ps-mono); font-size: 10.5px; font-weight: 700; color: var(--ps-ink-2); background: var(--ps-bg); border-radius: 6px; padding: 3px 5px; white-space: nowrap; }
.ps-qtile__none { font-size: 14px; font-weight: 700; color: var(--ps-ink-2); }
.ps-qtile--skeleton { aspect-ratio: 63 / 112; background: linear-gradient(100deg, #f1eff7 30%, #f8f7fb 50%, #f1eff7 70%) 0 0 / 300% 100%; animation: ps-shimmer 1.4s ease-in-out infinite; border-color: transparent; }
@keyframes ps-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.ps-qlist th[scope="row"] a { color: var(--ps-ink); text-decoration: none; }
.ps-qlist__card { display: flex; align-items: center; gap: 12px; }
.ps-qlist__thumb { flex: none; width: 36px; height: 50px; border-radius: 5px; background: var(--ps-well); overflow: hidden; display: inline-flex; }
.ps-qlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ps-qlist__name { display: block; font-weight: 800; }
.ps-noresult { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--ps-line); }
.ps-noresult__art { flex: none; width: 72px; height: 72px; border-radius: 999px; background: var(--ps-violet); color: #fff; display: flex; align-items: center; justify-content: center; }
.ps-noresult h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; margin-bottom: 8px; }
.ps-noresult ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; color: var(--ps-ink-2); }
.ps-numtip { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.ps-numtip__tag { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 96px; border-radius: 14px; background: #1b1626; color: var(--ps-gold-soft); font-size: 22px; }
.ps-numtip div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.ps-numtip h2 { font-size: 20px; }
.ps-numtip p { font-size: 15px; line-height: 1.55; color: var(--ps-ink-2); }

/* ── Ficha da carta 2.0 ───────────────────────────────────────────────── */
.ps-cardhero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; padding-top: 8px; }
.ps-stage { position: relative; margin: 0; border-radius: 28px; background: #1b1626; padding: clamp(28px, 4vw, 48px) 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; overflow: hidden; }
.ps-stage__rings { position: absolute; left: 50%; top: 46%; width: 620px; height: 620px; transform: translate(-50%, -50%); }
.ps-stage__card { position: relative; width: min(100%, 330px); height: auto; border-radius: 16px; box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55); }
.ps-stage__missing { position: relative; display: flex; align-items: center; justify-content: center; width: min(100%, 300px); aspect-ratio: 63 / 88; border-radius: 16px; border: 2px dashed #4a3f63; color: #c9c3d8; font-weight: 700; }
.ps-stage__chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ps-stage__chips span { height: 30px; padding: 0 12px; border-radius: 999px; background: #2e2640; color: #ede8fa; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.ps-cardhero__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ps-cardhero__title { display: flex; flex-direction: column; gap: 10px; }
.ps-cardhero__title h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.04em; }
.ps-cardhero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-setchip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 14px 4px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--ps-line); color: var(--ps-ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.ps-setchip img { height: 26px; width: auto; }
.ps-setchip:hover { border-color: #d9d0fb; color: var(--ps-ink); }
.ps-market { display: flex; flex-direction: column; gap: 18px; }
.ps-pricepanel { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--ps-line); }
.ps-pricepanel__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.ps-pricepanel__label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ps-ink-2); }
.ps-pricepanel__dim { height: 28px; padding: 0 10px; border-radius: 999px; background: var(--ps-violet-soft); color: var(--ps-violet-soft-ink); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; }
.ps-pricepanel__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ps-ink-2); }
.ps-pricepanel__date svg { color: var(--ps-up); }
.ps-pricepanel__value-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; }
.ps-pricepanel__value { font-size: clamp(48px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ps-delta { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; }
.ps-delta--down { background: var(--ps-down-soft); color: var(--ps-down); }
.ps-delta--up { background: var(--ps-up-soft); color: var(--ps-up); }
.ps-range { position: relative; height: 10px; border-radius: 999px; background: #d9d0fb; margin-block: 6px 0; }
.ps-range__low { position: absolute; left: -2px; top: -4px; width: 18px; height: 18px; border-radius: 999px; background: var(--ps-violet); border: 3px solid #fff; box-sizing: border-box; }
.ps-range__median { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: var(--ps-ink); }
.ps-at-0 { left: 0%; } .ps-at-5 { left: 5%; } .ps-at-10 { left: 10%; } .ps-at-15 { left: 15%; } .ps-at-20 { left: 20%; } .ps-at-25 { left: 25%; } .ps-at-30 { left: 30%; }
.ps-at-35 { left: 35%; } .ps-at-40 { left: 40%; } .ps-at-45 { left: 45%; } .ps-at-50 { left: 50%; } .ps-at-55 { left: 55%; } .ps-at-60 { left: 60%; } .ps-at-65 { left: 65%; }
.ps-at-70 { left: 70%; } .ps-at-75 { left: 75%; } .ps-at-80 { left: 80%; } .ps-at-85 { left: 85%; } .ps-at-90 { left: 90%; } .ps-at-95 { left: 95%; } .ps-at-100 { left: 100%; }
.ps-pricepanel__band { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ps-pricepanel__band div { display: flex; flex-direction: column; gap: 2px; }
.ps-pricepanel__band div:nth-child(2) { align-items: center; }
.ps-pricepanel__band div:nth-child(3) { align-items: flex-end; }
.ps-pricepanel__band dt { font-size: 13px; color: var(--ps-muted); }
.ps-pricepanel__band dd { margin: 0; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ps-pricepanel__band .ps-pricepanel__low { color: var(--ps-violet-ink); }
.ps-pricepanel__note { padding-top: 14px; border-top: 1px solid var(--ps-line-soft); font-size: 14px; line-height: 1.5; color: var(--ps-ink-2); }
.ps-versions { display: flex; flex-direction: column; gap: 10px; }
.ps-versions__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ps-versions__head h2 { font-size: 18px; }
.ps-versions__head span { font-size: 13px; color: var(--ps-muted); }
.ps-versions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ps-version { display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--ps-line); background: #fff; color: var(--ps-ink); font-family: var(--ps-font); text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .12s ease; }
.ps-version:hover { border-color: #d9d0fb; }
.ps-version:active { transform: scale(.98); }
.ps-version.is-active { border-color: var(--ps-violet); background: #f7f4ff; }
.ps-version__kind { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.ps-version__lang { font-family: var(--ps-mono); font-size: 11px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--ps-ink); color: #fff; display: inline-flex; align-items: center; }
.ps-version__value { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ps-version__count { font-size: 12.5px; color: var(--ps-muted); }
.ps-version--skeleton { height: 86px; border-color: transparent; background: linear-gradient(100deg, #f1eff7 30%, #f8f7fb 50%, #f1eff7 70%) 0 0 / 300% 100%; animation: ps-shimmer 1.4s ease-in-out infinite; cursor: default; }
.ps-hist { display: flex; flex-direction: column; gap: 18px; }
.ps-hist__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ps-hist__head .ps-section-title { margin: 0 0 4px; }
.ps-hist__skeleton { height: 280px; border-radius: 16px; background: linear-gradient(100deg, #f1eff7 30%, #f8f7fb 50%, #f1eff7 70%) 0 0 / 300% 100%; animation: ps-shimmer 1.4s ease-in-out infinite; }
.ps-hist__empty { min-height: 220px; border-radius: 18px; border: 1.5px dashed #d6d1e2; background: #fbfafd; color: #9a95a8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
.ps-hist__empty strong { font-size: 18px; color: var(--ps-ink); }
.ps-hist__empty span { font-size: 15px; color: var(--ps-muted); max-width: 480px; }
.ps-hist__body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: start; }
.ps-hist__chart { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ps-hist__plot { position: relative; touch-action: pan-y; }
.ps-hist__readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: 15px; color: var(--ps-ink-2); font-variant-numeric: tabular-nums; }
.ps-hist__readout strong { font-size: 18px; color: var(--ps-violet-ink); }
.ps-hist__readout-date { font-weight: 800; color: var(--ps-ink); }
.ps-hist__readout-label { font-size: 13px; color: var(--ps-muted); }
.ps-histchart { display: block; max-width: 100%; height: auto; }
.ps-hist__table summary { font-size: 15px; font-weight: 700; cursor: pointer; padding-top: 12px; border-top: 1px solid var(--ps-line-soft); }
.ps-hist__table .ps-table-box { margin-top: 12px; max-height: 360px; overflow: auto; }
.ps-hist__stats { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ps-stat { padding: 14px 16px; border-radius: 16px; background: var(--ps-bg); display: flex; flex-direction: column; gap: 2px; }
.ps-stat dt { font-size: 13px; font-weight: 700; color: var(--ps-muted); }
.ps-stat dd { margin: 0; font-size: 13px; color: var(--ps-muted); }
.ps-stat .ps-stat__value { font-size: 22px; font-weight: 800; color: var(--ps-ink); font-variant-numeric: tabular-nums; }
.ps-stat--down { background: var(--ps-down-soft); }
.ps-stat--down dt, .ps-stat--down dd { color: #7a2e10; }
.ps-stat--down .ps-stat__value { color: var(--ps-down); }
.ps-stat--up { background: var(--ps-up-soft); }
.ps-stat--up dt, .ps-stat--up dd { color: #08523a; }
.ps-stat--up .ps-stat__value { color: var(--ps-up); }
.ps-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ps-facts-list { margin: 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px 16px; font-size: 15px; }
.ps-facts-list dt { color: var(--ps-muted); }
.ps-facts-list dd { margin: 0; }
.ps-legend-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ps-ink-2); }
.ps-legend-list li { display: flex; gap: 12px; }
.ps-legend-list__tag { flex: none; width: 40px; height: 24px; border-radius: 6px; background: var(--ps-well); color: var(--ps-ink-2); font: 700 12px var(--ps-mono); display: inline-flex; align-items: center; justify-content: center; }
.ps-legend-list__tag--violet { background: var(--ps-violet-soft); color: var(--ps-violet-soft-ink); }
.ps-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }

@media (max-width: 1180px) {
  .ps-qgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ps-cardhero { grid-template-columns: minmax(0, 1fr); }
  .ps-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ps-qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-hist__body, .ps-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ps-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ps-qform { height: 58px; padding-left: 16px; }
  .ps-qform input { font-size: 17px; }
  .ps-qform .ps-button { height: 44px; padding: 0 16px; }
  .ps-versions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .ps-strip > * { flex: 0 0 150px; scroll-snap-align: start; }
  .ps-facts-list { grid-template-columns: 110px minmax(0, 1fr); }
  .ps-results__head { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-qtile, .ps-version, .ps-seg button, .ps-filter button { transition: none; }
  a.ps-qtile:hover { transform: none; }
  .ps-qtile--skeleton, .ps-version--skeleton, .ps-hist__skeleton { animation: none; }
}

/* ── Coleção 2.0: vitrine, ferramentas e a grade das cartas ──────────────── */
.ps-setpage { gap: 24px; }
.ps-setpage > .ps-faq { margin-top: 16px; }
.ps-sethero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: center; padding: clamp(24px, 3vw, 36px) clamp(20px, 3.4vw, 44px); border-radius: 28px; background: #1b1626; color: #fff; }
.ps-sethero--plain { grid-template-columns: minmax(0, 1fr); }
.ps-sethero__rings { position: absolute; right: -90px; top: 50%; width: 600px; height: 600px; transform: translateY(-50%); pointer-events: none; }
.ps-sethero__copy { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ps-sethero__logo { align-self: flex-start; width: auto; height: 78px; max-width: 100%; object-fit: contain; }
.ps-sethero h1 { display: flex; flex-direction: column; gap: 8px; }
.ps-sethero__name { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.ps-sethero__sub { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: #c9c3d8; }
.ps-sethero__facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ps-sethero__facts div { padding: 11px 14px; border-radius: 14px; background: #2a2338; }
.ps-sethero__facts dt { font-size: 12.5px; color: #c9c3d8; }
.ps-sethero__facts dd { margin: 3px 0 0; font-size: 16px; font-weight: 800; line-height: 1.3; }
.ps-sethero__facts dd span { font-weight: 700; color: #c9c3d8; }
.ps-sethero__fan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
.ps-sethero__fan:hover { color: #fff; }
.ps-sethero__fan:focus-visible { outline-color: #c9b8ff; }
.ps-sethero__cards { position: relative; display: block; width: 300px; height: 228px; }
.ps-sethero__card { position: absolute; width: 128px; height: auto; border-radius: 7px; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ps-sethero__card--left { left: 10px; top: 30px; transform: rotate(-12deg); }
.ps-sethero__card--right { right: 10px; top: 30px; transform: rotate(12deg); }
.ps-sethero__card--center { left: 75px; top: 0; width: 150px; border-radius: 8px; box-shadow: 0 22px 40px rgba(0, 0, 0, 0.6); }
.ps-sethero__fan:hover .ps-sethero__card--left { transform: translateX(-10px) rotate(-16deg); }
.ps-sethero__fan:hover .ps-sethero__card--right { transform: translateX(10px) rotate(16deg); }
.ps-sethero__fan:hover .ps-sethero__card--center { transform: translateY(-6px); }
.ps-sethero__caption { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ps-sethero__kicker { font-size: 13px; font-weight: 700; color: #c9c3d8; }
.ps-sethero__num { font: 700 12px var(--ps-mono); }
.ps-sethero__price { display: inline-flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ps-sethero__dim { font: 700 11px var(--ps-mono); letter-spacing: 0; color: #ede8fa; background: #2e2640; border-radius: 6px; padding: 3px 6px; }
.ps-sethero__more { font-size: 14px; font-weight: 800; color: #c9b8ff; }
.ps-tabs__count { font-size: 12px; font-weight: 800; color: var(--ps-violet-soft-ink); background: var(--ps-violet-soft); border-radius: 999px; padding: 2px 8px; }
.ps-setcards { display: flex; flex-direction: column; gap: 22px; }
.ps-ctool { position: sticky; top: 10px; z-index: 5; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 20px; background: var(--ps-surface); border: 1px solid var(--ps-line); box-shadow: 0 10px 30px rgba(22, 19, 31, 0.08); }
.ps-ctool__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ps-cfind { flex: 1 1 320px; max-width: 480px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--ps-bg); border: 1px solid var(--ps-line); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.ps-cfind:focus-within { border-color: var(--ps-violet); background: var(--ps-surface); box-shadow: 0 0 0 4px var(--ps-violet-soft); }
.ps-cfind svg { flex: none; color: var(--ps-violet-ink); }
.ps-cfind input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 15px var(--ps-font); color: var(--ps-ink); outline: none; }
.ps-cfind input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.ps-cfind__clear { flex: none; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--ps-line); color: #3b3648; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s ease; }
.ps-cfind__clear:hover { background: #d9d0fb; }
.ps-filter__count { margin-left: 3px; font-size: 12px; font-weight: 800; color: var(--ps-muted); }
.ps-filter button[aria-pressed="true"] .ps-filter__count { color: var(--ps-violet-soft-ink); }
.ps-cgroups { display: flex; flex-direction: column; gap: 40px; }
.ps-cgroup { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 160px; }
.ps-cgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ps-cgroup__head h2 { font-size: 22px; letter-spacing: -0.02em; }
.ps-cgroup__head span { font-size: 14px; color: var(--ps-muted); }
.ps-cgroup__head a { margin-left: auto; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ps-cgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.ps-cgrid .ps-qtile { gap: 7px; padding: 8px; border-radius: 16px; }
.ps-cgrid .ps-qtile__art { border-radius: 10px; }
.ps-cgrid .ps-qtile__name { padding-inline: 2px; font-size: 14px; line-height: 1.25; }
.ps-cgrid .ps-qtile__meta { margin-top: -4px; padding-inline: 2px; font: 700 11.5px var(--ps-mono); color: var(--ps-ink-2); }
.ps-cgrid .ps-qtile__price { padding: 0 2px 2px; }
.ps-cgrid .ps-qtile__value { font-size: 16px; }
.ps-noresult__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ps-cnote { align-self: center; max-width: 780px; text-align: center; font-size: 14px; }
.ps-cpager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ps-cpager__link { display: flex; flex-direction: column; gap: 3px; padding: 18px 22px; border-radius: 20px; background: var(--ps-surface); border: 1px solid var(--ps-line); color: var(--ps-ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.ps-cpager__link:hover { border-color: #d9d0fb; color: var(--ps-ink); transform: translateY(-1px); }
.ps-cpager__link--newer { align-items: flex-end; text-align: right; }
.ps-cpager__kicker { font-size: 13px; font-weight: 700; color: var(--ps-muted); }
.ps-cpager__link strong { font-size: 18px; font-weight: 800; line-height: 1.25; }
.ps-cpager__meta { font-size: 13px; color: var(--ps-muted); }

@media (max-width: 1180px) {
  .ps-cgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .ps-cgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ps-sethero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .ps-cgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps-sethero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ps-sethero__fan { display: none; }
  .ps-sethero__logo { height: 60px; }
  .ps-ctool { position: static; box-shadow: none; }
  .ps-cgroup { scroll-margin-top: 16px; }
  .ps-cpager { grid-template-columns: minmax(0, 1fr); }
  .ps-cpager__link--newer { align-items: flex-start; text-align: left; }
}
@media (max-width: 680px) {
  .ps-cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
  .ps-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-cfind { flex-basis: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-sethero__fan:hover .ps-sethero__card--left { transform: rotate(-12deg); }
  .ps-sethero__fan:hover .ps-sethero__card--right { transform: rotate(12deg); }
  .ps-sethero__fan:hover .ps-sethero__card--center, .ps-cpager__link:hover { transform: none; }
}
