@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Space+Grotesk:wght@600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&display=swap');

:root {
  --pxa-bg: #090a0f;
  --pxa-surface: #12141b;
  --pxa-surface-2: #181b24;
  --pxa-surface-hi: #20242f;
  --pxa-ctl-face: #262b38;
  --pxa-ctl-edge: #4e5868;
  --pxa-well: #0c0e14;
  --pxa-line: #29303d;
  --pxa-line-hi: #3a4352;
  --pxa-text: #f8fafc;
  --pxa-muted: #b5bdca;
  --pxa-subtle: #858f9f;
  --pxa-red: #e5163a;
  --pxa-red-dark: #bd102d;
  --pxa-red-bright: #ff4d6d;
  --pxa-red-surface: #2b111a;
  --pxa-green: #22e38e;
  --pxa-green-surface: #0d2a1e;
  --pxa-danger: #ff5f77;
  --pxa-r-action: 12px;
  --pxa-r-feedback: 12px;
  --pxa-r-selector: 12px;
  --pxa-r-card: 16px;
  /* Echelle d'espacement 4/8 : toute marge verticale de la page s'y aligne. */
  --pxa-s1: 8px;
  --pxa-s2: 12px;
  --pxa-s3: 16px;
  --pxa-s4: 24px;
  --pxa-s5: 32px;
  --pxa-s6: 48px;
  --pxa-ctl: 44px;
  --pxa-ease: cubic-bezier(.4, 0, .2, 1);
}

.pde-accounts-page .entry-content,
.pde-accounts-page .entry-content-wrap,
.pde-accounts-page .site-main,
.pde-accounts-page main article,
.pde-accounts-page #primary,
.pde-accounts-page .content-area,
.pde-accounts-page .content-container,
.pde-accounts-page .entry-hero { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.pde-accounts-page .entry-header,
.pde-accounts-page #masthead,
.pde-accounts-page .site-header,
.pde-accounts-page header.site-header { display: none !important; }
/* Seul le body est opaque : il sert de sol. Toute couche intermediaire opaque
   (.site, .entry-content, ...) recouvre le canvas pixel qui est en position fixed. */
.pde-accounts-page { background: var(--pxa-bg) !important; }
.pde-accounts-page .site,
.pde-accounts-page .site-container,
.pde-accounts-page .content-area,
.pde-accounts-page .content-container,
.pde-accounts-page .site-main,
.pde-accounts-page .entry-content-wrap,
.pde-accounts-page .entry.content-bg,
.pde-accounts-page .entry-content { background: transparent !important; }

.pxa-shell {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  min-height: 720px;
  background: transparent;
  color: var(--pxa-text);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.pxa-shell *, .pxa-modal-wrap * { box-sizing: border-box; }
.pxa-shell ul, .pxa-shell ol { margin: 0; padding: 0; padding-inline-start: 0; list-style: none; }
.pxa-shell svg, .pxa-modal-wrap svg, .pxa-global-toast svg { width: 20px; height: 20px; }
.pxa-shell button, .pxa-shell input, .pxa-shell select, .pxa-modal-wrap button, .pxa-modal-wrap input, .pxa-modal-wrap select { font: inherit; }
.pxa-shell button, .pxa-modal-wrap button { cursor: pointer; }
.pxa-shell button:disabled, .pxa-modal-wrap button:disabled { cursor: wait; filter: grayscale(.6); }
.pxa-shell :focus-visible, .pxa-modal-wrap :focus-visible { outline: 2px solid var(--pxa-red-bright); outline-offset: 3px; }
.pxa-shell input:focus-visible, .pxa-shell select:focus-visible,
.pxa-modal-wrap input:focus-visible, .pxa-modal-wrap select:focus-visible { outline: none; border-color: var(--pxa-red); box-shadow: 0 0 0 3px #2b111a; }
.pxa-modal-wrap input:focus, .pxa-modal-wrap select:focus { outline: none; border-color: var(--pxa-red); }
.pxl-page-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.pxa-boot, .pxa-load-error { min-height: 560px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 32px; text-align: center; }
.pxa-loader { width: 32px; height: 32px; border: 3px solid var(--pxa-line); border-top-color: var(--pxa-red); border-radius: 50%; animation: pxa-spin .8s linear infinite; }
@keyframes pxa-spin { to { transform: rotate(360deg); } }

.pxa-avatar { display: inline-block; width: 56px; height: 56px; flex: 0 0 auto; background-image: var(--pxa-avatar-url); background-repeat: no-repeat; background-size: 400% 300%; background-position: calc(var(--pxa-avatar-col) * 33.333333%) calc(var(--pxa-avatar-row) * 50%); image-rendering: pixelated; }
.pxa-avatar-xl { width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 0 3px var(--pxa-surface), 0 0 0 5px var(--pxa-red); }

.pxa-wrap { position: relative; z-index: 1; width: min(1600px, 100%); margin: 0 auto; padding: 0 28px 56px; display: flow-root; }
.pxa-profile-hero { display: block; padding-top: var(--pxa-s6); }
.pxa-profile-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--pxa-s4); padding: 20px; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-card); background: var(--pxa-surface); }
.pxa-profile-copy { min-width: 0; }
.pxa-profile-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pxa-profile-name h1 { margin: 0; color: var(--pxa-text); font-family: 'Russo One', sans-serif; font-size: clamp(26px, 3vw, 32px); font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.pxa-profile-actions { display: flex; align-items: center; gap: 10px; }
.pxa-profile-actions .pxa-primary, .pxa-profile-actions .pxa-icon-btn { height: var(--pxa-ctl); min-height: var(--pxa-ctl); }
.pxa-health { display: inline-flex; align-items: center; gap: 6px; color: var(--pxa-green); font-weight: 750; font-size: 12.5px; }
.pxa-health svg { width: 14px; height: 14px; }
.pxa-health-bad { color: var(--pxa-danger); }

.pxa-inline-stats { display: flex; align-items: stretch; gap: 0; margin-top: var(--pxa-s3); }
.pxa-inline-stat { min-width: 104px; padding: 0 18px; border-left: 1px solid var(--pxa-line); }
.pxa-inline-stat:first-child { padding-left: 0; border-left: 0; }
.pxa-inline-stat strong { display: block; color: var(--pxa-text); font-family: 'Space Grotesk', sans-serif; font-size: 21px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pxa-inline-stat span { display: block; margin-top: 5px; color: var(--pxa-subtle); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.pxa-inline-stat.pxa-stat-savings strong { color: var(--pxa-green); }
.pxa-inline-stat.pxa-stat-alerts strong { color: var(--pxa-red-bright); }

.pxa-dashboard-nav { width: fit-content; max-width: 100%; margin-top: var(--pxa-s3); padding: 4px; border: 1px solid var(--pxa-line); border-radius: 16px; background: var(--pxa-surface); }
.pxa-dashboard-nav > div { position: relative; display: flex; align-items: center; gap: 2px; overflow: visible; }
.pxa-dashboard-fill { position: absolute; top: 0; bottom: 0; left: 0; z-index: 0; border-radius: 12px; background: var(--pxa-red); box-shadow: 0 4px 14px var(--pxa-red-surface), 0 1px 3px #000000; transition: transform .35s cubic-bezier(.34,1.56,.64,1), width .35s cubic-bezier(.34,1.56,.64,1); will-change: transform, width; pointer-events: none; }
.pxa-dashboard-nav button { position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--pxa-ctl); padding: 8px 18px; border: 0; border-radius: 12px; background: transparent !important; color: var(--pxa-subtle) !important; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; transition: color .25s; }
.pxa-dashboard-nav button svg { width: 17px; height: 17px; }
.pxa-dashboard-nav button:hover { color: var(--pxa-text) !important; }
.pxa-dashboard-nav button[aria-selected="true"] { color: #ffffff !important; }

.pxa-dashboard-panel { padding-top: var(--pxa-s5); }
.pxa-dashboard-panel:not(:has(.pxa-view-head)) { padding-top: var(--pxa-s3); }
.pxa-dashboard-panel:focus { outline: none; }
.pxa-view-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pxa-view-head h2 { margin: 0; color: var(--pxa-text); font-family: 'Russo One', sans-serif; font-size: clamp(20px, 2.2vw, 24px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.pxa-view-head-compact { align-items: flex-start; }
.pxa-view-head-compact h2 { font-size: 20px; }

/* Bandeau de mise en avant : visuel carré comme les cartes, faits utiles sur une
   ligne, rien de plus. Il n'apparaît que s'il y a une vraie baisse. */
.pxa-spotlight { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: var(--pxa-s3); align-items: center; margin-top: var(--pxa-s4); padding: 14px; border: 1px solid var(--pxa-red); border-radius: var(--pxa-r-card); background: var(--pxa-surface-2); }
.pxa-spotlight-cover { display: grid; place-items: center; width: 116px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--pxa-well); }
.pxa-spotlight-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pxa-spotlight-cover svg { width: 26px; height: 26px; color: var(--pxa-red-bright); }
.pxa-spotlight-body { min-width: 0; }
.pxa-spotlight-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--pxa-red-bright); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pxa-spotlight-tag svg { width: 13px; height: 13px; }
.pxa-spotlight h3 { margin: 6px 0 0; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.pxa-spotlight h3 a { color: var(--pxa-text); text-decoration: none; }
.pxa-spotlight h3 a:hover { color: var(--pxa-red-bright); }
.pxa-spotlight-prices { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.pxa-spotlight-prices .pxa-old { color: var(--pxa-subtle); font-size: 14px; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pxa-spotlight-arrow { align-self: center; display: inline-flex; color: var(--pxa-subtle); }
.pxa-spotlight-arrow svg { width: 14px; height: 14px; }
.pxa-spotlight-prices .pxa-new { color: var(--pxa-red); font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pxa-spotlight-prices .pxa-delta { padding: 4px 9px; border-radius: 999px; background: #33131f; color: var(--pxa-red); font-size: 11.5px; font-weight: 850; }
.pxa-spotlight-meta { margin: 9px 0 0; color: var(--pxa-subtle); font-size: 12px; }

.pxa-controls-row { display: flex; align-items: center; justify-content: space-between; gap: var(--pxa-s3); margin-top: var(--pxa-s3); flex-wrap: wrap; }
.pxa-segments { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; width: fit-content; max-width: 100%; min-height: var(--pxa-ctl); padding: 3px; gap: 0; border: 1px solid var(--pxa-line); border-radius: 999px; background: var(--pxa-well); }
.pxa-segments-fill { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 999px; background: var(--pxa-red); box-shadow: 0 3px 10px #2b111a; transition: transform .35s cubic-bezier(.34,1.56,.64,1), width .35s cubic-bezier(.34,1.56,.64,1), height .35s cubic-bezier(.34,1.56,.64,1); will-change: transform, width; pointer-events: none; }
.pxa-segments label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; margin: 0; min-width: 0; }
.pxa-segments input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.pxa-segments label span { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: calc(var(--pxa-ctl) - 6px); padding: 0 14px; border-radius: 999px; color: var(--pxa-muted); font-size: 12.5px; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; transition: color .2s var(--pxa-ease); }
.pxa-segments input:checked + span { color: #ffffff; font-weight: 800; cursor: default; }
.pxa-segments label:hover span { color: var(--pxa-text); }
.pxa-segments input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--pxa-red-bright); }
.pxa-sort { position: relative; display: inline-flex; flex: 0 0 auto; }
.pxa-sort-btn { display: inline-flex; align-items: center; gap: 8px; min-height: var(--pxa-ctl); padding: 3px 14px 3px 16px; border: 1px solid var(--pxa-ctl-edge); border-radius: 999px; background: var(--pxa-ctl-face) !important; color: var(--pxa-text) !important; cursor: pointer; box-shadow: 0 8px 20px #030407; transition: border-color .2s var(--pxa-ease), background .2s var(--pxa-ease); }
.pxa-sort-btn:hover, .pxa-sort.is-open .pxa-sort-btn { border-color: var(--pxa-muted); }
.pxa-sort-lab { color: var(--pxa-subtle); font-size: 12.5px; font-weight: 650; }
.pxa-sort-val { font-size: 12.5px; font-weight: 700; }
.pxa-sort-btn svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--pxa-muted); pointer-events: none; transform: rotate(0deg); transition: transform .22s var(--pxa-ease), color .2s var(--pxa-ease); }
.pxa-sort.is-open .pxa-sort-btn svg { transform: rotate(180deg); color: var(--pxa-text); }
.pxa-sort-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 100%; width: max-content; padding: 6px; border: 1px solid var(--pxa-line-hi); border-radius: 12px; background: var(--pxa-surface-2); box-shadow: 0 18px 42px #030407; }
.pxa-sort-menu[hidden] { display: none; }
.pxa-sort-menu:not([hidden]) { display: flex; flex-direction: column; }
.pxa-sort-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 7px; background: transparent !important; color: var(--pxa-text) !important; text-align: left; font-size: 12.5px; font-weight: 650; }
.pxa-sort-menu button:hover, .pxa-sort-menu button[aria-selected="true"] { background: var(--pxa-surface-hi) !important; }
.pxa-sort-menu button svg { width: 15px; height: 15px; color: var(--pxa-red-bright); }

.pxa-list-chips { display: flex; align-items: center; gap: var(--pxa-s1); margin-top: var(--pxa-s4); padding-bottom: 3px; overflow-x: auto; scrollbar-width: thin; }
.pxa-list-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: var(--pxa-ctl); padding: 8px 18px; border: 1px solid var(--pxa-line); border-radius: 999px; background: var(--pxa-surface) !important; color: var(--pxa-muted) !important; font-size: 12.5px; font-weight: 750; transition: border-color .2s var(--pxa-ease), background .2s var(--pxa-ease), color .2s var(--pxa-ease); }
.pxa-list-chip:hover { border-color: var(--pxa-line-hi); color: var(--pxa-text) !important; }
.pxa-list-chip .pxa-n { color: var(--pxa-subtle); font-weight: 600; }
.pxa-list-chip.pxa-active { border-color: var(--pxa-red); background: var(--pxa-red) !important; color: #ffffff !important; box-shadow: 0 4px 14px #2b111a; }
.pxa-list-chip.pxa-active .pxa-n { color: #ffdce2; }
.pxa-list-chip.pxa-new { padding-left: 14px; }
.pxa-list-tools { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.pxa-list-tools button { min-height: 36px; padding: 0 8px; border: 0; background: transparent !important; color: var(--pxa-subtle) !important; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pxa-list-tools button:hover { color: var(--pxa-text) !important; }

.pxa-alert-card {
  overflow: hidden;
  border: 1px solid var(--pxa-line);
  border-radius: var(--pxa-r-card);
  background: var(--pxa-surface);
}
.pxa-alert-card + .pxa-alert-card { margin-top: var(--pxa-s5); }
.pxa-alert-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 56px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pxa-line);
}
.pxa-alert-card-head h2 {
  margin: 0;
  color: var(--pxa-text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pxa-alert-card-head .pxa-controls-row {
  margin: 0;
  justify-content: flex-end;
}
.pxa-alert-filters { justify-content: flex-end; margin-bottom: 0; }
.pxa-alert-card > .pxa-feed-empty,
.pxa-alert-card .pxa-feed-empty { padding: 16px; }
.pxa-alert-card ul.pxa-feed,
.pxa-alert-card ul.pxa-watchlist {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  padding-inline-start: 0 !important;
  list-style: none;
}
.pxa-alert-card .pxa-feed-row,
.pxa-alert-card .pxa-watch-row { width: 100%; }
.pxa-alert-card .pxa-feed-link {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 0;
}
.pxa-alert-card .pxa-feed-cover { width: 52px; height: 52px; border-radius: 8px; }
.pxa-alert-card .pxa-feed-title { font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; }
.pxa-alert-card .pxa-feed-chan,
.pxa-alert-card .pxa-feed-chan.is-physical,
.pxa-alert-card .pxa-feed-chan.is-eshop {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.pxa-alert-card .pxa-feed-chan.is-physical { color: #9bb8ff; }
.pxa-alert-card .pxa-feed-chan.is-eshop { color: #ff8d97; }
.pxa-alert-card .pxa-feed-new { font-size: 14.5px; font-weight: 700; }
.pxa-alert-card .pxa-feed-save {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pxa-green);
  gap: 5px;
}
.pxa-alert-card .pxa-feed-save-val { font-size: 16px; font-weight: 700; }
.pxa-alert-card .pxa-feed-save-lab { color: var(--pxa-muted); font-size: 11.5px; font-weight: 550; }
.pxa-alert-card .pxa-watchlist { border: 0; border-radius: 0; background: transparent; }
.pxa-alert-card .pxa-watch-row { gap: 10px 12px; padding: 10px 16px; }
.pxa-alert-card .pxa-watch-cover { width: 48px; height: 48px; border-radius: 8px; }
.pxa-alert-card .pxa-watch-title { font-size: 13.5px; font-weight: 650; }
.pxa-alert-card .pxa-watch-state,
.pxa-alert-card .pxa-watch-state.is-on,
.pxa-alert-card .pxa-watch-state.is-off {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.pxa-alert-card .pxa-watch-state.is-on { color: var(--pxa-green); }
.pxa-alert-card .pxa-watch-state.is-off { color: #f4b02c; }

.pxa-alert-proof {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  flex-shrink: 0;
  color: var(--pxa-muted);
  font-size: 13px;
  font-weight: 550;
}
.pxa-alert-proof strong {
  color: var(--pxa-green);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.pxa-alert-warn { margin: 0; padding: 10px 12px 0; color: var(--pxa-red-bright); font-size: 13px; font-weight: 650; }

.pxa-watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: var(--pxa-s4); }
.pxa-card-menu { position: absolute; top: 8px; right: 8px; z-index: 6; }
.pjp-card.is-switch2 .pxa-card-menu { top: 42px; }
.pxa-card-menu-btn { position: relative; display: grid; place-items: center; width: 30px; height: 22px; padding: 0; border: 1px solid var(--pxa-line); border-radius: 8px; background: var(--pxa-well) !important; color: var(--pxa-subtle) !important; box-shadow: none; line-height: 0; transition: background .2s var(--pxa-ease), border-color .2s var(--pxa-ease), color .2s var(--pxa-ease); }
.pxa-card-menu-btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.pxa-card-menu-btn:hover, .pxa-card-menu-btn[aria-expanded="true"] { border-color: var(--pxa-line-hi); background: var(--pxa-surface) !important; color: var(--pxa-text) !important; }
.pxa-card-menu-btn svg { display: block; width: 16px; height: 16px; }
.pxa-card-menu-pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: max-content; min-width: 216px; max-width: min(260px, calc(100vw - 32px)); padding: 6px; border: 1px solid var(--pxa-line-hi); border-radius: 12px; background: var(--pxa-surface-2); box-shadow: 0 18px 42px #030407; }
.pxa-card-menu-pop[hidden] { display: none; }
.pxa-card-menu-pop:not([hidden]) { display: flex; flex-direction: column; }
.pxa-card-menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 12px; white-space: nowrap; border: 0; border-radius: 7px; background: transparent !important; color: var(--pxa-text) !important; text-align: left; font-size: 12.5px; font-weight: 650; }
.pxa-card-menu-pop button:hover { background: var(--pxa-surface-hi) !important; }
.pxa-card-menu-pop button svg { width: 15px; height: 15px; }
.pxa-card-menu-pop .pxa-card-menu-danger { color: var(--pxa-danger) !important; }

/* Carte identique à celle de /jeux-physiques/ (classes .pjp-*, mêmes règles).
   Les couleurs semi-transparentes du catalogue sont aplaties sur le fond de
   carte #13131a : la page compte n'utilise que des couleurs solides. */
.pjp-card { position: relative; display: flex; flex-direction: column; border: 1px solid #24242a; border-radius: 14px; background: #13131a; box-shadow: 0 10px 30px #05050b; color: inherit; text-decoration: none; transition: transform .32s cubic-bezier(.4,0,.2,1), border-color .25s; }
.pjp-card:hover { transform: translateY(-7px); border-color: #323238; box-shadow: 0 22px 54px #030407; }
.pjp-card.is-promo { border-color: #391420; }
.pjp-card.is-promo:hover { border-color: #5c1b2c; box-shadow: 0 22px 54px #030407, 0 8px 26px #2b111a; }
.pjp-sw2-banner { display: flex; align-items: center; justify-content: center; padding: 7px 4px; border-radius: 14px 14px 0 0; background: #e60012; }
.pjp-sw2-banner svg { display: block; width: 44px; height: auto; }
.pjp-card-img { position: relative; display: block; overflow: hidden; flex-shrink: 0; border-radius: 13px 13px 0 0; background: #1e1e28; text-decoration: none; }
.pjp-card-img img { display: block; width: 100%; height: auto; transition: transform .35s; }
.pjp-no-img { display: flex; width: 100%; min-height: 180px; align-items: center; justify-content: center; background: #1e1e28; color: #55555a; }
.pjp-no-img svg { width: 34px; height: 34px; }
.pjp-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 11px 12px 12px; }
.pjp-badge { display: inline-flex; align-items: center; width: fit-content; gap: 4px; padding: 3px 10px; border-radius: 100px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.pjp-b-sw1 { border: 1px solid #6393f2; background: #2f6fed; color: #ffffff; }
.pjp-b-sw2 { border: 1px solid #ec404d; background: #e60012; color: #ffffff; }
.pjp-title { flex: 1; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #ffffff; font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.pjp-title:hover { color: var(--pxa-red); }
.pjp-price-block { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 8px; }
.pjp-price-orig { color: #55555a; font-size: 13px; line-height: 1; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pjp-price-orig.pxa-na { text-decoration: none; }
.pjp-price-main { display: flex; align-items: baseline; gap: 5px; }
.pjp-price-from { padding-bottom: 2px; color: #a1a1a3; font-size: 11px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
.pjp-price-val { color: #ffffff; font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pjp-price-val.is-promo { color: var(--pxa-red); }
.pxl-price-flag { font-size: .7em; margin-right: 4px; }
.pxa-watch-price .pxl-price-flag { font-size: .85em; }
.pjp-disc-inline { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 7px; border-radius: 20px; background: #33131f; color: var(--pxa-red); font-size: 11px; font-weight: 800; letter-spacing: .2px; vertical-align: middle; }
.pjp-buy-cta { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; box-sizing: border-box; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--pxa-red); color: #ffffff; box-shadow: 0 8px 26px #2b111a; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.pjp-buy-cta:hover { transform: translateY(-2px); background: var(--pxa-red-dark); color: #ffffff; }
.pjp-ext-ico { font-size: 12px; }

.pxa-watchlist { display: flex; flex-direction: column; margin: 0; padding: 0; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-card); background: var(--pxa-surface); list-style: none; overflow: hidden; }
.pxa-watch-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: var(--pxa-s2) var(--pxa-s3); padding: var(--pxa-s2) var(--pxa-s3); border-bottom: 1px solid var(--pxa-line); }
.pxa-watch-row:last-child { border-bottom: 0; }
.pxa-watch-cover { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 9px; background: var(--pxa-well); }
.pxa-watch-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pxa-watch-cover svg { width: 18px; height: 18px; color: var(--pxa-subtle); }
.pxa-watch-main { min-width: 0; }
.pxa-watch-title { display: block; overflow: hidden; color: var(--pxa-text); font-size: 13.5px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.pxa-watch-title:hover { color: var(--pxa-red-bright); }
.pxa-watch-meta { display: flex; align-items: center; gap: var(--pxa-s1); margin-top: 5px; flex-wrap: wrap; color: var(--pxa-subtle); font-size: 11.5px; }
.pxa-watch-price { color: var(--pxa-text); font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; }
.pxa-watch-state { padding: 4px 10px; border-radius: 100px; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pxa-watch-state.is-on { border: 1px solid #2ea36f; background: #12603f; color: #ffffff; }
.pxa-watch-state.is-off { border: 1px solid #8a6a14; background: #3d2f0c; color: #f4b02c; }
.pxa-watch-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: max-content;
  justify-self: end;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--pxa-ctl-edge);
  border-radius: 8px;
  background: var(--pxa-surface-hi) !important;
  color: var(--pxa-muted) !important;
  font-size: 12.5px;
  font-weight: 550;
  letter-spacing: .01em;
  transition: color .2s var(--pxa-ease), border-color .2s var(--pxa-ease), background .2s var(--pxa-ease);
}
.pxa-watch-toggle svg { width: 13px; height: 13px; flex: 0 0 auto; }
.pxa-watch-toggle:hover { border-color: var(--pxa-muted); color: var(--pxa-text) !important; }
.pxa-watch-toggle:active { transform: translateY(1px); }
.pxa-watch-toggle.is-off {
  border-color: var(--pxa-red);
  background: var(--pxa-red-surface) !important;
  color: var(--pxa-red-bright) !important;
  font-weight: 650;
}
.pxa-watch-toggle.is-off:hover {
  background: var(--pxa-red) !important;
  color: #ffffff !important;
}
.pxa-empty { display: flex; min-height: 260px; align-items: center; justify-content: center; flex-direction: column; margin-top: var(--pxa-s4); padding: 40px; border: 1px dashed var(--pxa-line); border-radius: var(--pxa-r-card); color: var(--pxa-muted); text-align: center; }
.pxa-empty > svg { width: 40px; height: 40px; color: var(--pxa-red); }
.pxa-empty h3 { margin: 16px 0 6px; color: var(--pxa-text); font-size: 19px; }
.pxa-empty p { max-width: 44ch; margin: 0 0 18px; line-height: 1.5; }

.pxa-activity-panel { margin-top: var(--pxa-s6); padding: var(--pxa-s4) var(--pxa-s3); border: 1px solid var(--pxa-line); border-top: 2px solid var(--pxa-red); border-radius: var(--pxa-r-card); background: var(--pxa-surface); }
.pxa-activity-head { display: flex; align-items: flex-start; gap: var(--pxa-s2); }
.pxa-activity-head h2 { margin: 0; color: var(--pxa-text); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.pxa-activity-head p { margin: 5px 0 0; color: var(--pxa-muted); font-size: 13.5px; line-height: 1.5; }
.pxa-activity-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: var(--pxa-red); color: #ffffff; }
.pxa-activity-icon svg { width: 17px; height: 17px; }
.pxa-feed { display: flex; flex-direction: column; margin-top: var(--pxa-s2); padding: 0; list-style: none; }
.pxa-feed-row { min-width: 0; border-bottom: 1px solid var(--pxa-line); }
.pxa-feed-row:last-child { border-bottom: 0; }
.pxa-feed-link { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: var(--pxa-s2); padding: var(--pxa-s2) var(--pxa-s1) var(--pxa-s2) 0; border-radius: 0 var(--pxa-r-feedback) var(--pxa-r-feedback) 0; color: var(--pxa-text); text-decoration: none; transition: background .2s var(--pxa-ease); }
.pxa-feed-link:hover { background: var(--pxa-surface-2); }
.pxa-feed-cover { position: relative; display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 10px; background: var(--pxa-well); }
.pxa-feed-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pxa-feed-cover .pxa-cover-empty { display: grid; width: 100%; height: 100%; place-items: center; }
.pxa-feed-cover .pxa-cover-empty svg { width: 22px; height: 22px; color: var(--pxa-subtle); }
.pxa-feed-main { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 7px; }
.pxa-feed-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; }
.pxa-feed-title { overflow: hidden; color: var(--pxa-text); font-size: 14px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pxa-feed-link:hover .pxa-feed-title { color: var(--pxa-red-bright); }
.pxa-feed-time { flex: 0 0 auto; color: var(--pxa-subtle); font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.pxa-feed-prices { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pxa-feed-old { color: #55555a; font-size: 13px; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pxa-feed-arrow { display: inline-flex; color: var(--pxa-subtle); }
.pxa-feed-arrow svg { width: 13px; height: 13px; }
.pxa-feed-new { color: var(--pxa-red); font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pxa-feed-delta { padding: 2px 7px; border-radius: 20px; background: #33131f; color: var(--pxa-red); font-size: 11px; font-weight: 800; letter-spacing: -.01em; }
.pxa-feed-meta { display: flex; align-items: center; gap: var(--pxa-s1); flex-wrap: wrap; }
.pxa-feed-chan { padding: 3px 10px; border-radius: 100px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pxa-feed-chan.is-physical { border: 1px solid #6393f2; background: #2f6fed; color: #ffffff; }
.pxa-feed-chan.is-eshop { border: 1px solid #ec404d; background: #e60012; color: #ffffff; }
.pxa-feed-save { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid #2ea36f; border-radius: 100px; background: #12603f; color: #ffffff; }
.pxa-feed-save-val { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pxa-feed-save-lab { font-size: 11px; font-weight: 700; letter-spacing: .01em; }
.pxa-feed-empty { padding: var(--pxa-s2) 0; color: var(--pxa-subtle); font-size: 13.5px; }

.pxa-settings-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pxa-s3); width: min(820px, 100%); margin-top: 0; align-items: start; }
.pxa-acc-item { margin-bottom: var(--pxa-s3); overflow: hidden; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-card); background: var(--pxa-surface); }
.pxa-acc-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: var(--pxa-s3) 18px; color: var(--pxa-text); font-size: 14px; font-weight: 800; }
.pxa-acc-item summary::-webkit-details-marker { display: none; }
.pxa-acc-item summary svg.pxa-gi { width: 17px; height: 17px; color: var(--pxa-red); }
.pxa-acc-item summary .pxa-chev { margin-left: auto; width: 16px; height: 16px; color: var(--pxa-subtle); transition: transform .2s ease; }
.pxa-acc-item[open] summary .pxa-chev { transform: rotate(180deg); }
.pxa-acc-body { padding: var(--pxa-s1) 18px 20px; border-top: 1px solid var(--pxa-line); }
.pxa-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pxa-s3) 20px; margin-top: var(--pxa-s3); }
label.pxa-field, .pxa-field { display: flex; flex-direction: column; gap: var(--pxa-s1); color: var(--pxa-text); font-size: 13px; font-weight: 720; line-height: 1.3; }
.pxa-field-full { grid-column: 1 / -1; }
.pxa-field label, .pxa-field-label { display: block; color: var(--pxa-text); font-size: 13px; font-weight: 720; line-height: 1.3; }
.pxa-field input[type="text"], .pxa-field select,
.pxa-profile input[type="text"], .pxa-modal input[type="text"], .pxa-modal input[type="email"], .pxa-modal select, .pxa-login input[type="email"] { width: 100%; min-height: var(--pxa-ctl); margin-top: var(--pxa-s1); padding: 0 14px; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-selector); background: var(--pxa-well); color: var(--pxa-text); transition: border-color .2s var(--pxa-ease); }
.pxa-field input[type="text"], .pxa-field select { margin-top: 0; }
.pxa-avatar-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--pxa-s1); margin-top: 0; }
.pxa-avatar-choice { position: relative; }
.pxa-avatar-choice input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.pxa-avatar-choice .pxa-avatar { width: 100%; height: auto; aspect-ratio: 1; border: 2px solid transparent; border-radius: 12px; background-color: var(--pxa-well); transition: border-color .2s var(--pxa-ease), background-color .2s var(--pxa-ease); }
.pxa-avatar-choice input:checked + .pxa-avatar { border-color: var(--pxa-red); background-color: var(--pxa-red-surface); }
.pxa-avatar-choice input:focus-visible + .pxa-avatar { outline: 2px solid var(--pxa-red-bright); outline-offset: 2px; }
.pxa-check { display: flex !important; gap: 10px; align-items: flex-start; margin-top: var(--pxa-s4); color: var(--pxa-muted) !important; font-size: 14px; font-weight: 500 !important; line-height: 1.5; }
.pxa-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pxa-red); }
.pxa-acc-actions { display: flex; gap: var(--pxa-s2); margin: 2px 0 var(--pxa-s1); padding-top: var(--pxa-s3); border-top: 1px solid var(--pxa-line); }
.pxa-danger-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.pxa-danger-row:not(:last-child) { border-bottom: 1px solid var(--pxa-line); }
.pxa-danger-row .pxa-t { font-size: 13.5px; font-weight: 750; }
.pxa-danger-row .pxa-d { margin-top: 3px; color: var(--pxa-subtle); font-size: 12px; }

.pxa-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: var(--pxa-s3); padding: var(--pxa-s4) 0; border-top: 1px solid var(--pxa-line); color: var(--pxa-subtle); font-size: 12.5px; }
.pxa-rail-logout, .pxa-icon-link { display: inline-flex; align-items: center; gap: 7px; min-height: var(--pxa-ctl); padding: 0 12px; border: 0; border-radius: var(--pxa-r-action); background: transparent !important; color: var(--pxa-muted) !important; text-decoration: none; font-size: 13px; font-weight: 700; }
.pxa-rail-logout:hover, .pxa-icon-link:hover { background: var(--pxa-surface) !important; color: var(--pxa-text) !important; }
.pxa-rail-logout svg, .pxa-icon-link svg { width: 16px; height: 16px; }

.pxa-primary, .pxa-secondary, .pxa-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--pxa-ctl); padding: 0 18px; border-radius: var(--pxa-r-action); font-size: 13px; font-weight: 800; letter-spacing: -.005em; text-decoration: none; transition: background .2s var(--pxa-ease), border-color .2s var(--pxa-ease), color .2s var(--pxa-ease); }
.pxa-primary { border: 1px solid var(--pxa-red); background: var(--pxa-red) !important; color: #ffffff !important; }
.pxa-primary:hover { border-color: var(--pxa-red-dark); background: var(--pxa-red-dark) !important; }
.pxa-secondary { border: 1px solid var(--pxa-line); background: var(--pxa-surface-2) !important; color: var(--pxa-text) !important; }
.pxa-secondary:hover { border-color: var(--pxa-line-hi); background: var(--pxa-surface-hi) !important; }
.pxa-danger { border: 1px solid var(--pxa-red); background: transparent !important; color: var(--pxa-red-bright) !important; }
.pxa-danger:hover { background: var(--pxa-red-surface) !important; }
.pxa-text-danger { border: 0; background: transparent !important; color: var(--pxa-danger) !important; }
.pxa-icon-btn { display: inline-grid; place-items: center; width: var(--pxa-ctl); height: var(--pxa-ctl); padding: 0; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-action); background: var(--pxa-surface) !important; color: var(--pxa-muted) !important; transition: border-color .2s var(--pxa-ease), color .2s var(--pxa-ease); }
.pxa-icon-btn:hover { border-color: var(--pxa-line-hi); color: var(--pxa-text) !important; }

.pxa-login { position: relative; z-index: 1; width: min(580px, calc(100% - 32px)); margin: 0 auto; padding: 90px 0 100px; }
.pxa-login-card { position: relative; z-index: 1; padding: var(--pxa-s5); border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-card); background: var(--pxa-surface); box-shadow: 0 24px 60px #030407; }
.pxa-login-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: var(--pxa-r-feedback); background: var(--pxa-red); color: #ffffff; }
.pxa-login-mark svg { width: 24px; height: 24px; }
.pxa-login h1 { margin: 0; color: var(--pxa-text); font-family: 'Russo One', sans-serif; font-size: clamp(34px, 6vw, 54px); font-weight: 400; line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.pxa-login h1 span { color: var(--pxa-red); }
.pxa-login > p { max-width: 48ch; color: var(--pxa-muted); font-size: 16px; line-height: 1.6; }
.pxa-login form { margin-top: 30px; }
.pxa-login .pxa-primary { width: 100%; margin-top: 13px; }
.pxa-login .pxa-form-note, .pxa-modal .pxa-form-note { margin: 20px 0 0; color: var(--pxa-subtle); font-size: 12.5px; line-height: 1.45; }
.pxa-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.pxa-form-status { margin: 16px 0 0; }
.pxa-form-status.pxa-ok, .pxa-form-status.pxa-bad { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--pxa-r-feedback); font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.pxa-form-status.pxa-ok { background: var(--pxa-green-surface); color: #d9ffea; }
.pxa-form-status.pxa-bad { background: var(--pxa-red-surface); color: #ffffff; }
.pxa-form-status-icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
.pxa-form-status-icon svg { display: block; width: 18px; height: 18px; }
.pxa-form-status-text { flex: 1 1 auto; }

.pxa-modal-open { overflow: hidden; }
.pxa-modal-wrap { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 18px; font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif; }
.pxa-modal-backdrop { position: absolute; inset: 0; background: #0a0b1099; -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%); will-change: opacity; animation: pxa-backdrop-in .26s cubic-bezier(.32, .72, 0, 1) both; }
.pxa-modal { position: relative; width: min(560px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: 30px; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-card); background: var(--pxa-surface); color: var(--pxa-text); box-shadow: 0 28px 80px #000000; transform-origin: center 42%; will-change: transform, opacity; animation: pxa-modal-in .42s cubic-bezier(.32, .72, 0, 1) both; }
@keyframes pxa-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pxa-modal-in { from { opacity: 0; transform: translateY(14px) scale(.965); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pxa-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pxa-modal-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px) scale(.985); } }
.pxa-modal-wrap.pxa-closing .pxa-modal-backdrop { animation: pxa-backdrop-out .16s ease-in both; }
.pxa-modal-wrap.pxa-closing .pxa-modal { animation: pxa-modal-out .16s ease-in both; }
.pxa-modal-close { position: absolute; top: 14px; right: 14px; }
.pxa-modal h2 { margin: 0 44px 10px 0; color: var(--pxa-text); font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.pxa-modal p { color: var(--pxa-muted); line-height: 1.55; }
.pxa-modal-head { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 24px; }
.pxa-modal-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--pxa-red); color: #ffffff; }
.pxa-modal-cover { display: block; width: 72px; height: 72px; flex: 0 0 auto; overflow: hidden; border-radius: 10px; background: var(--pxa-surface-hi); }
.pxa-modal-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pxa-modal-head p { margin: 0; }
.pxa-modal form > label:not(.pxa-check) { display: block; color: var(--pxa-text); font-size: 13px; font-weight: 720; }
.pxa-modal form input[type="text"] { font-size: 15px; font-weight: 600; }
.pxa-modal form > label:not(.pxa-check), .pxa-modal .pxa-field-label { margin: 18px 0 8px; }
.pxa-modal form > .pxa-primary { width: 100%; margin-top: 20px; }
.pxa-add-search input { width: 100%; min-height: 48px; margin-top: 4px; padding: 0 16px; border: 1px solid var(--pxa-line-hi); border-radius: var(--pxa-r-selector); background: var(--pxa-well); color: var(--pxa-text) !important; font-size: 15px; font-weight: 600; transition: border-color .2s var(--pxa-ease); }
.pxa-add-search input::placeholder { color: var(--pxa-subtle); font-weight: 500; }
.pxa-add-search input:focus { border-color: var(--pxa-red); outline: none; }
.pxa-modal input[type="text"], .pxa-modal input[type="email"], .pxa-modal input[type="search"], .pxa-modal select { color: var(--pxa-text) !important; }
.pxa-modal input::placeholder { color: var(--pxa-subtle); }
.pxa-add-results { display: flex; flex-direction: column; gap: 7px; max-height: 340px; margin-top: 16px; overflow-y: auto; }
.pxa-add-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 10px; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-action); background: var(--pxa-surface-2) !important; text-align: left; }
.pxa-add-row:hover { border-color: var(--pxa-line-hi); background: var(--pxa-surface-hi) !important; }
.pxa-add-row img, .pxa-add-row .pxa-cover-empty { display: grid; place-items: center; width: 40px; height: 53px; flex: 0 0 auto; border-radius: 6px; background: var(--pxa-surface-hi); object-fit: cover; }
.pxa-add-row .pxa-cover-empty svg { width: 16px; height: 16px; color: var(--pxa-subtle); }
.pxa-add-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pxa-add-row-text strong { overflow: hidden; color: var(--pxa-text); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pxa-add-row-text em { color: var(--pxa-subtle); font-size: 11.5px; font-style: normal; }
.pxa-add-picked { display: flex; align-items: center; gap: var(--pxa-s2); padding: 10px; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-feedback); background: var(--pxa-surface-2); }
.pxa-add-picked img, .pxa-add-picked .pxa-cover-empty { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; overflow: hidden; border-radius: 10px; background: var(--pxa-well); object-fit: cover; }
.pxa-add-picked strong { display: block; color: var(--pxa-text); font-size: 14px; font-weight: 750; line-height: 1.3; }
.pxa-add-picked em { color: var(--pxa-subtle); font-size: 12px; font-style: normal; }
.pxa-add-step { margin-top: var(--pxa-s4); }
.pxa-add-step > .pxa-field-label { display: block; margin-bottom: var(--pxa-s1); }
.pxa-add-step select { width: 100%; min-height: var(--pxa-ctl); padding: 0 14px; border: 1px solid var(--pxa-line); border-radius: var(--pxa-r-selector); background: var(--pxa-well); color: var(--pxa-text); font-size: 13.5px; font-weight: 650; }
.pxa-add-actions { display: flex; gap: var(--pxa-s2); margin-top: var(--pxa-s4); }
.pxa-add-actions .pxa-primary { flex: 1 1 auto; }
.pxa-modal-sub { margin: 0 0 var(--pxa-s3); color: var(--pxa-muted); font-size: 13.5px; line-height: 1.5; }

.pxa-global-toast { position: fixed; left: 50%; bottom: 22px; z-index: 100001; max-width: min(560px, calc(100% - 32px)); padding: 13px 17px; border-radius: var(--pxa-r-selector); background: var(--pxa-green-surface); color: #d9ffea; box-shadow: 0 14px 38px #000000; transform: translate(-50%, 24px); visibility: hidden; pointer-events: none; }
.pxa-global-toast.pxa-error { background: var(--pxa-red-surface); color: #ffffff; }
.pxa-global-toast.pxa-show { visibility: visible; transform: translate(-50%, 0); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.pxa-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.sg-actions-row .sg-action-link { min-height: 44px; padding: 12px 4px !important; }
.sg-action-link[data-sg-wish][aria-pressed="true"] { color: var(--pxa-red) !important; }
.sg-action-link[data-sg-wish] .sg-action-icon svg { width: 18px; height: 18px; vertical-align: -3px; }
.sg-action-link[data-sg-wish][aria-pressed="true"] .sg-action-icon svg { fill: currentColor; }

/* ============================================================================
   Refonte UI/UX des 4 onglets (03/09) : mêmes hauteurs de contrôle, mêmes
   badges, mêmes tailles de texte d'un onglet à l'autre.
   ========================================================================= */

/* --- Cartes : même visuel que /jeux-physiques/ — jaquette entière
       (height:auto), bandeau Switch 2 au-dessus de l'image, jamais dessus. --- */

/* --- Listes de la wishlist : les chips d'un côté, l'action de création de
       l'autre, avec une hiérarchie visuelle nette. --- */
.pxa-lists-row { display: flex; align-items: center; gap: var(--pxa-s2); margin-top: 0; }
.pxa-lists-row .pxa-list-chips { margin-top: 0; flex: 1 1 auto; min-width: 0; }
.pxa-lists-row .pxa-list-chip.pxa-new { flex: 0 0 auto; }
.pxa-list-chip { padding: 0 18px; font-size: 12.5px; font-weight: 700; }
.pxa-list-chip.pxa-new { gap: 9px; padding: 0 18px 0 12px; border: 1px solid var(--pxa-red) !important; background: var(--pxa-red-surface) !important; color: var(--pxa-red-bright) !important; font-weight: 800; }
.pxa-list-chip.pxa-new .pxa-new-plus { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 8px; background: var(--pxa-red); }
.pxa-list-chip.pxa-new .pxa-new-plus svg { width: 15px; height: 15px; color: #ffffff; }
.pxa-list-chip.pxa-new:hover { background: var(--pxa-red) !important; color: #ffffff !important; }
.pxa-list-chip.pxa-new:hover .pxa-new-plus { background: #ffffff; }
.pxa-list-chip.pxa-new:hover .pxa-new-plus svg { color: var(--pxa-red); }

/* --- Jeux sous surveillance : statut lisible au premier coup d'œil, action de
       largeur fixe pour que la colonne des prix reste alignée. --- */
.pxa-watch-row { grid-template-columns: 52px minmax(0, 1fr) auto 132px; }
.pxa-watch-canal { color: var(--pxa-subtle); font-size: 11.5px; font-weight: 600; }

/* --- Réglages : le bloc occupe la même largeur que les autres onglets, les
       champs partagent une hauteur unique et la grille d'avatars respire. --- */
.pxa-settings-grid { width: 100%; }
.pxa-field-grid { gap: var(--pxa-s4) var(--pxa-s4); align-items: start; }
.pxa-field-label { display: block; margin: 0; font-size: 12.5px; font-weight: 750; line-height: 1.3; color: var(--pxa-text); }
.pxa-field input[type="text"], .pxa-field select { min-height: var(--pxa-ctl); padding: 0 14px; font-size: 13.5px; }
.pxa-field .pxa-segments { width: 100%; min-height: var(--pxa-ctl); }
.pxa-field .pxa-segments label span { min-width: 0; }
.pxa-avatar-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--pxa-s4); margin-top: var(--pxa-s2); }
.pxa-avatar-choice .pxa-avatar { border-width: 3px; border-color: var(--pxa-line); background-color: var(--pxa-well); transition: transform .18s var(--pxa-ease), border-color .18s var(--pxa-ease); }
.pxa-avatar-choice:hover .pxa-avatar { transform: translateY(-3px); border-color: var(--pxa-red-bright); }
.pxa-avatar-choice input:checked + .pxa-avatar { border-color: var(--pxa-red); background-color: var(--pxa-red-surface); }

@media (max-width: 900px) {
  .pxa-wrap { padding-inline: 22px; }
  .pxa-settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pxa-wrap { padding: 0 16px 56px; }
  .pxa-profile-hero { padding-top: var(--pxa-s5); }
  .pxa-profile-bar { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px; }
  .pxa-profile-copy { display: contents; }
  .pxa-avatar-xl { width: 64px; height: 64px; }
  .pxa-profile-name { gap: 7px; }
  .pxa-profile-name h1 { font-size: 25px; }
  .pxa-health { width: 100%; font-size: 11px; }
  .pxa-profile-actions { grid-column: 1 / -1; }
  .pxa-profile-actions .pxa-primary { flex: 1 1 auto; }
  .pxa-inline-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-top: 0; }
  .pxa-inline-stat { min-width: 0; padding: 0 9px; }
  .pxa-inline-stat strong { font-size: 19px; }
  .pxa-inline-stat span { overflow: hidden; font-size: 9.5px; text-overflow: ellipsis; }
  .pxa-dashboard-nav { width: 100%; margin-top: 14px; }
  .pxa-dashboard-nav > div { gap: 0; }
  .pxa-dashboard-nav button { flex: 1 1 25%; min-width: 0; min-height: 44px; gap: 5px; padding: 0 6px; font-size: 11.5px; }
  .pxa-dashboard-nav button[data-pxa-view="feed"] span { font-size: 0; }
  .pxa-dashboard-nav button[data-pxa-view="feed"] span::after { content: 'Fil'; font-size: 11.5px; }
  .pxa-dashboard-panel { padding-top: var(--pxa-s4); }
  .pxa-view-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .pxa-view-head h2 { font-size: 20px; }
  .pxa-view-head > .pxa-secondary, .pxa-view-head > .pxa-sort { width: 100%; }
  .pxa-spotlight { grid-template-columns: 88px minmax(0, 1fr); gap: var(--pxa-s2); padding: 12px; }
  .pxa-spotlight-cover { width: 88px; }
  .pxa-spotlight h3 { font-size: 15.5px; }
  .pxa-spotlight-prices .pxa-new { font-size: 22px; }
  .pxa-spotlight-cta { grid-column: 1 / -1; }
  .pxa-spotlight-cta .pxa-primary { width: 100%; }
  .pxa-controls-row { align-items: stretch; flex-direction: column; }
  .pxa-segments { width: 100%; }
  .pxa-segments label span { min-width: 0; padding: 0 8px; font-size: 12px; }
  .pxa-lists-row { align-items: stretch; flex-direction: column; }
  .pxa-lists-row .pxa-list-chip.pxa-new { justify-content: center; }
  .pxa-alert-card-head { align-items: flex-start; flex-wrap: wrap; min-height: 0; padding: 12px 16px; }
  .pxa-alert-card-head .pxa-controls-row { width: 100%; justify-content: stretch; }
  .pxa-alert-card .pxa-feed-link { grid-template-columns: 48px minmax(0, 1fr); padding: 10px 16px; }
  .pxa-alert-card .pxa-feed-cover { width: 48px; height: 48px; }
  .pxa-alert-card .pxa-feed-side { align-items: flex-start; }
  .pxa-alert-card .pxa-watch-row { padding: 10px 16px; }
  .pxa-alert-proof strong { font-size: 20px; }
  .pxa-watch-row { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .pxa-watch-toggle { grid-column: 1 / -1; width: 100%; justify-self: stretch; min-height: 40px; }
  .pxa-sort, .pxa-sort-btn { width: 100%; }
  .pxa-sort-btn { justify-content: center; }
  .pxa-sort-menu { left: 0; right: 0; }
  .pxa-watch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pjp-body { padding: 8px 8px 9px; }
  .pjp-badge { padding: 2px 7px; font-size: 8px; letter-spacing: .03em; gap: 2px; }
  .pjp-price-from { font-size: 8px; }
  .pjp-price-val { font-size: 15px; }
  .pjp-disc-inline { margin-left: 3px; padding: 1px 5px; font-size: 9px; }
  .pjp-card { border-radius: 12px; }
  .pjp-buy-cta { min-height: 40px; padding: 8px 12px; font-size: 12.5px; }
  .pxa-card-menu-btn { width: 28px; height: 20px; }
  .pxa-card-menu-btn svg { width: 15px; height: 15px; }
  .pjp-card-img { border-radius: 11px 11px 0 0; }
  .pxa-activity-panel { margin-top: var(--pxa-s5); padding: var(--pxa-s3); }
  .pxa-feed-link { grid-template-columns: 56px minmax(0, 1fr); gap: var(--pxa-s2); row-gap: var(--pxa-s1); padding-right: 0; }
  .pxa-feed-cover { width: 56px; height: 56px; }
  .pxa-feed-side { grid-column: 2; align-items: flex-start; }
  .pxa-feed-prices { justify-content: flex-start; }
  .pxa-feed-title { white-space: normal; }
  .pxa-feed-save-val { font-size: 16px; }
  .pxa-avatar-choice:hover .pxa-avatar { transform: none; }
  .pxa-field-grid { grid-template-columns: 1fr; }
  .pxa-avatar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pxa-danger-row { align-items: flex-start; flex-direction: column; }
  .pxa-danger-row button { width: 100%; }
  .pxa-foot-row { align-items: flex-start; flex-direction: column; }
  .pxa-modal { padding: 24px 18px; }
}

@media (max-width: 420px) {
  .pxa-wrap { padding-inline: 12px; }
  .pxa-profile-bar { padding: 14px; }
  .pxa-inline-stat { padding-inline: 7px; }
  .pxa-card-menu-pop { max-width: calc(100vw - 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .pxl-page-canvas { display: none; }
  .pxa-loader, .pxa-modal, .pxa-modal-backdrop { animation: none; }
  .pjp-card, .pjp-card-img img, .pxa-segments-fill, .pxa-dashboard-fill, .pxa-global-toast, .pxa-acc-item summary .pxa-chev, .pxa-avatar-choice .pxa-avatar { transition: none; }
  .pjp-card:hover, .pjp-card:hover .pjp-card-img img, .pjp-buy-cta:hover, .pxa-avatar-choice:hover .pxa-avatar { transform: none; }
}
