/* Panel de usuario — diseño «Cabecera» con menú a la izquierda (2026-10-16). Se carga después de quantum-support-20260915-r1/profile.css. */
/* ================= común a las tres ================= */
html[data-pv] body.q-profile-relief {
  --ds-acc: #a855f7; --ds-acc2: #7c3aed; --ds-accRgb: 168, 85, 247;
  --qp-accent: #a855f7;
  --pv-ink: #dcc4ff; --pv-soft: rgba(168, 85, 247, .14); --pv-line: rgba(168, 85, 247, .32);
  --pv-grad: linear-gradient(135deg, #a855f7, #7c3aed);
  /* sin relieve: fuera las sombras dobles de botón hundido/levantado */
  --qp-raised: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --qp-inset: none;
}
html[data-pv] .q-profile-relief .sidebar { --acc: #a855f7; --acc2: #7c3aed; --accRgb: 168, 85, 247; }
html[data-pv] .q-profile-relief :is(button, a, input, select, textarea):focus-visible { outline-color: #c9a3ff; }

/* barra lateral */
html[data-pv] .q-profile-relief .user-card-avatar { background: var(--pv-grad); color: #fff; border-color: transparent; }
html[data-pv] .q-profile-relief .sidebar .nav-item.active { background: var(--pv-soft); border-color: var(--pv-line); color: #f1e6ff; box-shadow: none; }
html[data-pv] .q-profile-relief .sidebar .nav-item.active:before { background: #a855f7; box-shadow: 0 0 10px rgba(168, 85, 247, .5); }
html[data-pv] .q-profile-relief .sidebar .nav-item.active span.icon { color: #d5b4ff; }
html[data-pv] .q-profile-relief .sidebar .nav-item .badge { color: #f1e6ff; background: rgba(168, 85, 247, .28); border-color: transparent; }
html[data-pv] .q-profile-relief .sidebar .nav-item:hover { background: rgba(255, 255, 255, .05); }

/* textos y acentos */
html[data-pv] .q-profile-relief #welcomeName { color: #c9a3ff; }
html[data-pv] .q-profile-relief .page-header h1 > svg, html[data-pv] .q-profile-relief .card-header h3 svg { color: #c9a3ff; }
html[data-pv] .q-profile-relief .card-header :is(a, button) { color: #d5b4ff; }
html[data-pv] .q-profile-relief .card-header button[onclick*="support"] { background: var(--pv-soft) !important; border-color: var(--pv-line) !important; color: #e9d8ff !important; }

/* tarjetas de resumen: un tono por dato, dentro de la paleta Quantum */
html[data-pv] .q-profile-relief .stat-icon { box-shadow: none; }
html[data-pv] .q-profile-relief .stat-icon.green { background: rgba(168, 85, 247, .18); color: #d5b4ff; }
html[data-pv] .q-profile-relief .stat-icon.blue { background: rgba(99, 102, 241, .18); color: #b9bcff; }
html[data-pv] .q-profile-relief .stat-icon.purple { background: rgba(6, 182, 212, .16); color: #8be4f3; }
html[data-pv] .q-profile-relief .stat-icon.yellow { background: rgba(242, 202, 120, .16); color: #f2ca78; }
html[data-pv] .q-profile-relief .level-bar { background: rgba(255, 255, 255, .08); }

/* compras: color por método (Gamepass rojo · Grupo dorado · Ingame violeta) */
html[data-pv] .q-profile-relief .oh-chip { box-shadow: none; }
html[data-pv] .q-profile-relief .oh-chip.gp { background: rgba(239, 68, 68, .16); color: #fca5a5; }
html[data-pv] .q-profile-relief .oh-chip.gr { background: rgba(242, 202, 120, .16); color: #f2ca78; }
html[data-pv] .q-profile-relief .oh-chip:is(.pa, .it) { background: rgba(168, 85, 247, .18); color: #d5b4ff; }
html[data-pv] .q-profile-relief .oh-timeline:before { background: linear-gradient(180deg, rgba(168, 85, 247, .6), rgba(168, 85, 247, .12)); }
html[data-pv] .q-profile-relief .oh-mes:before { background: #a855f7; }
html[data-pv] .q-profile-relief .oh-row:hover { border-color: var(--pv-line); box-shadow: none; }

/* acciones rápidas y formularios */
html[data-pv] .q-profile-relief .config-item span.icon { background: var(--pv-soft); color: #d5b4ff; box-shadow: none; }
html[data-pv] .q-profile-relief .config-item .arrow { color: #a99bc0; }
html[data-pv] .q-profile-relief :is(.form-group input, .form-group select, .form-group textarea, .inv-form input) { background: rgba(0, 0, 0, .28) !important; border-color: rgba(255, 255, 255, .12) !important; box-shadow: none; }
html[data-pv] .q-profile-relief :is(.form-group input, .form-group select, .form-group textarea, .inv-form input):focus { border-color: #a855f7 !important; box-shadow: 0 0 0 3px rgba(168, 85, 247, .18) !important; }
html[data-pv] .q-profile-relief :is(.btn-primary, .empty-state a, .method-card .btn, .step-number) { background: var(--pv-grad) !important; color: #fff !important; box-shadow: 0 10px 24px -14px rgba(168, 85, 247, .95); }
html[data-pv] .q-profile-relief .btn-primary:hover { background: linear-gradient(135deg, #b46cf8, #8b4cf0) !important; }
html[data-pv] .q-profile-relief .btn-secondary { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
html[data-pv] .q-profile-relief .toggle-slider { background: rgba(0, 0, 0, .35); box-shadow: none; border-color: rgba(255, 255, 255, .14); }
html[data-pv] .q-profile-relief .toggle-switch input:checked + .toggle-slider { background: var(--pv-grad); border-color: #a855f7; }
html[data-pv] .q-profile-relief .toggle-switch input:checked + .toggle-slider:before { background: #fff; }
html[data-pv] .q-profile-relief .toggle-switch:has(input:focus-visible) { outline-color: #c9a3ff; }
html[data-pv] .q-profile-relief .benefit-icon { background: var(--pv-soft); color: #d5b4ff; }
html[data-pv] .q-profile-relief #profileAvatar { background: var(--pv-grad) !important; border-color: rgba(255, 255, 255, .18) !important; color: #fff !important; box-shadow: none; }
html[data-pv] .q-profile-relief .foto-boton { background: #a855f7; color: #fff; }
html[data-pv] .q-profile-relief #section-profile .card:first-child { background: radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, .18), transparent 62%), linear-gradient(135deg, #24212b, #1c1a22) !important; }
html[data-pv] .q-profile-relief .empty-state-graphic { background: var(--pv-soft); border-color: var(--pv-line); color: #d5b4ff; }
html[data-pv] .q-profile-relief .loading-spinner { border-top-color: #a855f7; }
html[data-pv] .q-profile-relief .qpf-preview-tools i { background: #a855f7; }
html[data-pv] .q-profile-relief .inv-aviso, html[data-pv] .q-profile-relief .inv-aviso .ic { box-shadow: none; }
html[data-pv] .q-profile-relief :is(.roblox-status, .benefit-item) { box-shadow: none; }
html[data-pv] .q-profile-relief .toast { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
@media (max-width: 768px) {
  html[data-pv] .q-profile-relief .mobile-menu-btn { background: rgba(16, 13, 24, .9); border-color: var(--pv-line); box-shadow: none; }
  html[data-pv] .q-profile-relief .mobile-menu-btn svg { stroke: #d5b4ff; }
}


/* ================= diseño elegido: «Cabecera» con el menú a la izquierda ================= */
.pv-head { display: none; }
.pv-side { display: contents; }
html[data-pv] #section-dashboard > .page-header { display: none; }
html[data-pv] .q-profile-relief .page-header { margin-bottom: 18px; padding-top: 6px; }
html[data-pv] .q-profile-relief .page-header h1 { font-size: clamp(22px, 2vw, 28px); }
html[data-pv] .q-profile-relief .page-header h1 > svg { opacity: 1 !important; }

/* contenido sin marco: se ve el fondo del sitio */
html[data-pv] .q-profile-relief .main-content,
html[data-pv] body.q-profile-relief:has(.sidebar:hover) .main-content { background: transparent; border-color: transparent; box-shadow: none; max-width: 1240px; padding-top: 18px; }

/* ---------- menú izquierdo con el estilo de las pestañas ---------- */
html[data-pv] .q-profile-relief .sidebar,
html[data-pv] .q-profile-relief .sidebar:hover { background: rgba(15, 12, 22, .82); border-color: rgba(255, 255, 255, .07); box-shadow: none; border-radius: 24px; }
html[data-pv] .q-profile-relief .sidebar .sidebar-header { padding: 6px 8px 12px; margin-bottom: 8px; border-bottom-color: rgba(255, 255, 255, .06); }
html[data-pv] .q-profile-relief .sidebar .sidebar-header h2 { margin: 0; font: 700 12px var(--ds-sans); letter-spacing: .06em; text-transform: uppercase; color: #a99bc0; }
html[data-pv] .q-profile-relief .sidebar .user-card { display: none; }
html[data-pv] .q-profile-relief .sidebar .nav-section-title { padding: 4px 12px 6px; color: #8d86a0; }
html[data-pv] .q-profile-relief .sidebar .nav-item { min-height: 42px; padding: 6px 12px; margin: 3px 0; border: 1px solid transparent; border-radius: 999px; color: #d9d3e3; font-size: 13px; }
html[data-pv] .q-profile-relief .sidebar .nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html[data-pv] .q-profile-relief .sidebar .nav-item.active { background: #fff; border-color: #fff; color: #120f1c; box-shadow: none; }
html[data-pv] .q-profile-relief .sidebar .nav-item.active:before { display: none; }
html[data-pv] .q-profile-relief .sidebar .nav-item.active span.icon { color: #7c3aed; }
html[data-pv] .q-profile-relief .sidebar .nav-item span.icon { width: 26px; height: 26px; }
html[data-pv] .q-profile-relief .sidebar .nav-item span.icon svg { width: 17px; height: 17px; }
html[data-pv] .q-profile-relief .sidebar .nav-item .badge { background: rgba(168, 85, 247, .3); color: #f1e6ff; border: 0; border-radius: 999px !important; }
html[data-pv] .q-profile-relief .sidebar .nav-item.active .badge { background: #120f1c; color: #fff; }
html[data-pv] .q-profile-relief .sidebar .sidebar-footer { border-top-color: rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 6px; }
html[data-pv] .q-profile-relief .sidebar :is(.btn-back, .btn-logout) { min-height: 40px; border-radius: 999px; font-size: 13px; }
html[data-pv] .q-profile-relief .sidebar .btn-back { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #e9e4f0; }
html[data-pv] .q-profile-relief .sidebar .btn-back:hover { background: rgba(255, 255, 255, .1); }
html[data-pv] .q-profile-relief .sidebar .btn-logout { color: #e3a5ad; }

/* ---------- portada de la cuenta ---------- */
html[data-pv] .pv-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "id level" "stats cta"; align-items: end; gap: 18px 22px; margin: 0 0 20px; padding: 26px 28px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 26px;
  background: radial-gradient(120% 150% at 0% 0%, rgba(168, 85, 247, .36), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(99, 102, 241, .2), transparent 60%), rgba(16, 13, 24, .88); }
.pv-id { grid-area: id; display: flex; align-items: center; gap: 18px; min-width: 0; }
.pv-avw { position: relative; flex-shrink: 0; }
.pv-av { display: block; width: 84px; height: 84px; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); }
.pv-av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-edit { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 2px solid #15121e; border-radius: 50%; background: #fff; color: #120f1c; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .8); transition: transform .15s, background .15s; }
.pv-edit:hover { transform: scale(1.08); background: #ede4ff; }
.pv-edit:focus-visible { outline: 2px solid #c9a3ff; outline-offset: 2px; }
.pv-edit svg, .pv-menu svg, .pv-cta svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-edit svg { width: 15px; height: 15px; }
.pv-menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 70; min-width: 230px; padding: 6px; border-radius: 14px; background: #16131f; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .95); }
.pv-menu[hidden] { display: none; }
.pv-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: #e9e4f0; font: 600 13.5px var(--ds-sans); text-align: left; cursor: pointer; }
.pv-menu button svg { width: 17px; height: 17px; color: #c9a3ff; }
.pv-menu button:hover { background: rgba(255, 255, 255, .06); }
.pv-menu button[disabled] { opacity: .4; cursor: not-allowed; }
.pv-menu button[hidden] { display: none; }
.pv-menu button.rojo, .pv-menu button.rojo svg { color: #f8a5ad; }
.pv-who { min-width: 0; }
.pv-hi { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-hi b { color: #d5b4ff; font-weight: 750; }
.pv-mail { margin: 4px 0 0; font-size: 13px; color: #b4aac4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-level { grid-area: level; align-self: start; padding: 16px 18px; border-radius: 18px; background: rgba(10, 8, 16, .55); border: 1px solid rgba(255, 255, 255, .08); }
.pv-level-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; }
.pv-tier { font-weight: 750; color: #f2ca78; font-size: 14px; }
.pv-next { color: #a9a3b6; white-space: nowrap; }
.pv-bar { height: 6px; margin-top: 9px; border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.pv-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b68842, #f2ca78); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.pv-stats { grid-area: stats; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pv-stats div { display: flex; align-items: baseline; gap: 6px; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.pv-stats dt { order: 2; font-size: 12.5px; color: #b4aac4; }
.pv-stats dd { margin: 0; font-weight: 800; font-size: 15px; color: #fff; }
.pv-stats dd small { font-size: 10px; color: #b4aac4; font-weight: 700; }
.pv-cta { grid-area: cta; justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: #fff; color: #120f1c; font: 700 14px var(--ds-sans); text-decoration: none; transition: background .15s, transform .15s; }
.pv-cta:hover { background: #ede4ff; }
.pv-cta:active { transform: scale(.97); }
.pv-cta svg { width: 17px; height: 17px; }
html[data-pv] .q-profile-relief .stats-grid { display: none; }

/* ---------- tarjetas: sin relieve ni franja gris en la cabecera (se habían perdido al rehacer compras) ---------- */
html[data-pv] .q-profile-relief :is(.card, .method-card, .tutorial-card, .ticket-card) { background: rgba(18, 15, 27, .66) !important; border-color: rgba(255, 255, 255, .07) !important; box-shadow: none; border-radius: 22px !important; }
html[data-pv] .q-profile-relief .card-header { background: transparent !important; border-bottom-color: rgba(255, 255, 255, .06) !important; padding: 16px 20px; }
html[data-pv] .q-profile-relief .content-grid { gap: 20px; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
html[data-pv] .q-profile-relief .content-grid.full { grid-template-columns: minmax(0, 1fr); }

/* ---------- compras: Vitrina en el inicio, Recibos en Mis compras (ux.js las dibuja; la lista original queda oculta) ---------- */
html[data-pv] .q-profile-relief :is(#recentOrdersList, #allOrdersTimeline) { display: none !important; }
.pvc { container: pvc / inline-size; padding: 14px; color: #f6f1fd; }
#allOrdersTimeline + .pvc { padding: 18px 20px 22px; }
.pvc h4, .pvc h5, .pvc p { margin: 0; }
.pvc [data-open] { cursor: pointer; }
.pvc [data-open]:focus-visible { outline: 2px solid #c9a3ff; outline-offset: 3px; border-radius: 14px; }
.pvc-t { font: 700 15px/1.3 var(--ds-sans, 'DM Sans', system-ui, sans-serif); color: #f6f1fd; letter-spacing: -.005em; overflow-wrap: anywhere; }
.pvc-mas { display: inline-block; margin-left: 7px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: #d6cde3; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.pvc-m { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 4px !important; font-size: 13px; line-height: 1.4; color: #a7a0b6; }
.pvc-m i { font-style: normal; color: rgba(255, 255, 255, .25); }
.pvc-m a { color: #cfadff; font-weight: 600; text-decoration: none; }
.pvc-m a:hover { text-decoration: underline; }
.pvc-card .pvc-x { display: none; }
.pvc-mes { margin: 22px 2px 10px !important; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8f879f; }
.pvc-mes:first-child { margin-top: 0 !important; }

/* imagen: Robux sobre el color del método, o la imagen real del pase/item */
.pvc-img { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; overflow: hidden; }
.pvc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pvc-img.rbx img { width: 56%; height: 56%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.pvc-img.gp { background: radial-gradient(circle at 30% 20%, rgba(248, 113, 113, .5), rgba(127, 29, 29, .3) 72%), #1c1116; color: #fca5a5; }
.pvc-img.gr { background: radial-gradient(circle at 30% 20%, rgba(242, 202, 120, .45), rgba(120, 82, 20, .3) 72%), #1b160e; color: #f2ca78; }
.pvc-img:is(.pa, .it) { background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, .5), rgba(76, 29, 149, .3) 72%), #160f22; color: #d5b4ff; }
.pvc-img.prod { background: #1a1424; }
.pvc-img.icon svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pvc-price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; white-space: nowrap; }
.pvc-price b { font-size: 15px; font-weight: 750; color: #fff; letter-spacing: -.01em; }
.pvc-price em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #a7a0b6; }
.pvc-price small { font-size: 12.5px; color: #8f879f; }
.pvc-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pvc-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.pvc-st.ok { color: #4ade80; }
.pvc-st.pe { color: #fbbf24; }
.pvc-st.ca { color: #f87171; }

/* lo que el cliente tiene que completar (link del Gamepass o usuario) */
.pvc-act { display: grid; gap: 10px; cursor: default; }
.pvc-act-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; font-weight: 600; color: #ece6f6; }
.pvc-act-h strong { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.pvc-act-p { font-size: 13px; line-height: 1.5; color: #aaa2b9; }
.pvc-copy { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #f1eaff; font: 600 13px var(--ds-sans, inherit); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.pvc-copy:hover { background: rgba(255, 255, 255, .13); }
.pvc-copy.ok { color: #4ade80; border-color: rgba(74, 222, 128, .45); }
.pvc-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pvc-field { display: flex; gap: 8px; }
.pvc-field input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 6, 14, .55); color: #fff; font: 500 14px var(--ds-sans, inherit); }
.pvc-field input::placeholder { color: rgba(255, 255, 255, .38); }
.pvc-field input:focus { border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168, 85, 247, .28); outline: none; }
.pvc-save { flex: none; height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #b05cff, #7c3aed); color: #fff; font: 700 14px var(--ds-sans, inherit); cursor: pointer; box-shadow: 0 10px 26px -12px rgba(168, 85, 247, .95); transition: filter .15s, transform .15s; }
.pvc-save:hover { filter: brightness(1.1); }
.pvc-save:active { transform: scale(.97); }
.pvc-save:disabled { opacity: .7; cursor: wait; }
.pvc-vid { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #d2b2ff; font: 600 13.5px var(--ds-sans, inherit); text-align: left; cursor: pointer; }
.pvc-vid i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(168, 85, 247, .25); }
.pvc-vid svg { width: 11px; height: 11px; margin-left: 2px; fill: currentColor; }
.pvc-vid:hover { color: #fff; }
.pvc-vid:hover span { text-decoration: underline; }
/* borde real (no sombra interior): así encierra también la imagen de la izquierda */
.pvc-card.pvc-wide, .pvc-alert { border: 1px solid rgba(168, 85, 247, .38); box-shadow: none; }

/* ===== 1 · Vitrina ===== */
.pvc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.pvc-card { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); transition: transform .18s, border-color .18s, background .18s; }
.pvc-card[data-open]:hover { transform: translateY(-2px); border-color: rgba(168, 85, 247, .45); background: rgba(255, 255, 255, .055); }
.pvc-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; }
.pvc-media.gp { background: radial-gradient(70% 85% at 50% 42%, rgba(239, 68, 68, .34), transparent 72%), linear-gradient(160deg, #2a1218, #130b11); }
.pvc-media.gr { background: radial-gradient(70% 85% at 50% 42%, rgba(242, 202, 120, .3), transparent 72%), linear-gradient(160deg, #271e0f, #130f0a); }
.pvc-media:is(.pa, .it) { background: radial-gradient(70% 85% at 50% 42%, rgba(168, 85, 247, .38), transparent 72%), linear-gradient(160deg, #22143a, #110b1c); }
.pvc-media .pvc-img { width: 84px; height: 84px; border-radius: 20px; background: none; }
.pvc-media .pvc-img.rbx img { width: 74%; height: 74%; }
.pvc-media .pvc-img.prod { box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .8); }
.pvc-media .pvc-st { position: absolute; top: 10px; left: 10px; padding: 5px 10px 5px 9px; border-radius: 999px; background: rgba(10, 8, 16, .74); font-size: 12px; }
.pvc-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.pvc-card .pvc-body > .pvc-price { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.pvc-card.pvc-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(170px, 30%) minmax(0, 1fr); background: linear-gradient(135deg, rgba(150, 70, 255, .17), rgba(255, 255, 255, .02)); }
.pvc-wide .pvc-media { aspect-ratio: auto; min-height: 100%; }
.pvc-wide .pvc-body { gap: 16px; padding: 18px 20px 20px; }
.pvc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }

/* ===== 2 · Recibos ===== */
.pvc-alert { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; margin-bottom: 12px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(150, 70, 255, .22), rgba(100, 40, 210, .08) 60%, rgba(255, 255, 255, .02)); }
.pvc-alert > .pvc-img { width: 56px; height: 56px; border-radius: 16px; }
.pvc-alert-k { font-size: 12.5px; font-weight: 700; color: #fcd34d; }
.pvc-alert-t { margin: 3px 0 14px !important; font-size: 17px; font-weight: 750; line-height: 1.3; color: #fff; }
.pvc-list { display: flex; flex-direction: column; gap: 2px; }
.pvc-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background .15s; }
.pvc-row:hover { background: rgba(255, 255, 255, .05); }
.pvc-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* columna angosta (celular o lista estrecha) */
@container pvc (max-width: 520px) {
  .pvc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pvc-card.pvc-wide { grid-template-columns: minmax(0, 1fr); }
  .pvc-wide .pvc-media { aspect-ratio: 16 / 7; }
  .pvc-wide .pvc-body { padding: 16px; }
  .pvc-media .pvc-img { width: 64px; height: 64px; border-radius: 16px; }
  .pvc-body { padding: 11px 12px 12px; }
  .pvc-card .pvc-body > .pvc-price { flex-direction: column; align-items: flex-start; gap: 0; }
  .pvc-field { flex-direction: column; }
  .pvc-save { width: 100%; }
  .pvc-alert { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .pvc-row { gap: 12px; padding: 10px 6px; }
  .pvc-m .pvc-x { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pvc-card { transition: none; } }

/* video «¿Cómo creo mi Gamepass?» */
.pv-video { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: #0d0a14; color: #fff; overflow: hidden; }
.pv-video.vertical { width: min(400px, calc(100vw - 24px)); }
.pv-video::backdrop { background: rgba(5, 3, 10, .82); }
.pv-vh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; font: 700 15px 'DM Sans', system-ui, sans-serif; }
.pv-x { width: 38px; height: 38px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; cursor: pointer; }
.pv-x:hover { background: rgba(255, 255, 255, .16); }
.pv-video video { display: block; width: 100%; max-height: calc(100dvh - 100px); background: #000; }

/* ---------- accesos rápidos en fichas ---------- */
html[data-pv] .pv-side { display: flex; flex-direction: column; gap: 16px; }
html[data-pv] .q-profile-relief #accionesRapidas .config-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
html[data-pv] .q-profile-relief #accionesRapidas .config-item { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 92px; padding: 12px; border: 1px solid rgba(255, 255, 255, .07) !important; border-radius: 16px !important; background: rgba(255, 255, 255, .03); color: #e9e4f0; font-size: 13px; font-weight: 600; line-height: 1.25; transition: background .15s, border-color .15s, transform .15s; }
html[data-pv] .q-profile-relief #accionesRapidas .config-item:hover { background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .35) !important; transform: translateY(-1px); }
html[data-pv] .q-profile-relief #accionesRapidas .config-item span.icon { width: 34px; height: 34px; border-radius: 11px; }
html[data-pv] .q-profile-relief #accionesRapidas .config-item .arrow { display: none; }
html[data-pv] .q-profile-relief #accionesRapidas .config-item:first-child { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; background: linear-gradient(135deg, #a855f7, #7c3aed); border-color: transparent !important; color: #fff; justify-content: flex-start; }
html[data-pv] .q-profile-relief #accionesRapidas .config-item:first-child span.icon { background: rgba(255, 255, 255, .2); color: #fff; }

/* foto por defecto también en «Editar perfil» y el menú lateral (nunca la letra) */
html[data-pv] .q-profile-relief :is(#profileAvatar, #sidebarAvatar):not(:has(img)) { background: url("/quantum-profile-ux-20261016-r2/default-avatar.svg") center / cover no-repeat !important; color: transparent !important; }

/* ---------- medianas y celular ---------- */
@media (max-width: 1100px) {
  html[data-pv] .pv-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "stats" "level" "cta"; }
  html[data-pv] .pv-cta { justify-self: stretch; justify-content: center; }
  html[data-pv] .q-profile-relief .content-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  html[data-pv] .q-profile-relief .main-content, html[data-pv] body.q-profile-relief:has(.sidebar:hover) .main-content { padding: 14px 10px; }
  html[data-pv] .pv-head { padding: 18px; gap: 14px; border-radius: 22px; }
  html[data-pv] .pv-av { width: 64px; height: 64px; border-radius: 19px; }
  html[data-pv] .pv-hi { font-size: 22px; }
  html[data-pv] .pv-stats div { padding: 6px 11px; }
  html[data-pv] .q-profile-relief .oh-list { padding: 4px 6px 8px; }
  html[data-pv] .q-profile-relief .mobile-menu-btn { border-radius: 999px; }
}
@media (prefers-reduced-motion: reduce) { .pv-bar i, .pv-edit, .pv-cta, html[data-pv] .q-profile-relief #accionesRapidas .config-item { transition: none; } }
