    :root {
      color-scheme: dark;
      --bg: #000000;
      --surface: #101010;
      --surface-2: #171717;
      --line: rgba(225, 225, 225, .14);
      --text: #f4f8ff;
      --muted: #9cacc5;
      --blue: #3188ff;
      --blue-bright: #60b5ff;
      --green: #35d07f;
      --danger: #ff647c;
      --radius: 22px;
    }
    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    html { min-height: 100%; background: #000; scrollbar-width: none; -ms-overflow-style: none; }
    html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
    body {
      position: relative;
      isolation: isolate;
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #000;
      -webkit-font-smoothing: antialiased;
    }
    /* Fondo ambiental azul inspirado en la iluminación del menú de PS5.
       La luz se desplaza mediante transform/opacity; no utiliza filtros pesados. */
    .ambient-atmosphere {
      position: absolute;
      z-index: 0;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      background: #000;
    }
    .ambient-atmosphere::before,
    .ambient-atmosphere::after {
      content: "";
      position: absolute;
      pointer-events: none;
    }
    .ambient-atmosphere::before {
      inset: 0;
      opacity: .94;
      background:
        radial-gradient(ellipse 66% 61% at 0% 0%, rgba(20, 101, 224, .43) 0%, rgba(13, 67, 157, .25) 34%, rgba(5, 31, 83, .10) 59%, transparent 82%),
        radial-gradient(ellipse 66% 61% at 100% 0%, rgba(20, 101, 224, .43) 0%, rgba(13, 67, 157, .25) 34%, rgba(5, 31, 83, .10) 59%, transparent 82%),
        radial-gradient(ellipse 50% 36% at 23% 0%, rgba(22, 91, 190, .21), transparent 76%),
        radial-gradient(ellipse 50% 36% at 77% 0%, rgba(22, 91, 190, .21), transparent 76%),
        radial-gradient(ellipse 42% 30% at 0% 25%, rgba(17, 80, 187, .14), transparent 78%),
        radial-gradient(ellipse 42% 30% at 100% 25%, rgba(17, 80, 187, .14), transparent 78%);
      /* Gradiente estático: evita repintados y parpadeos al hacer scroll en móvil. */
    }
    .ambient-atmosphere::after {
      inset: 0;
      opacity: .78;
      background:
        radial-gradient(ellipse 40% 30% at 3% 5%, rgba(83, 160, 255, .25), transparent 76%),
        radial-gradient(ellipse 40% 30% at 97% 5%, rgba(83, 160, 255, .25), transparent 76%),
        radial-gradient(ellipse 31% 24% at 17% 17%, rgba(21, 91, 210, .16), transparent 80%),
        radial-gradient(ellipse 31% 24% at 83% 17%, rgba(21, 91, 210, .16), transparent 80%);
      /* Segundo halo estático, conservando la iluminación azul original. */
    }
    /* Canvas único y transparente: las partículas flotan delante de la luz ambiental. */
    .particle-background {
      position: fixed;
      z-index: 1;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      pointer-events: none;
      contain: strict;
    }

    /* El texto base se mantiene limpio. Cada 3 s entra un rayo nuevo; tarda 6 s en cruzar la frase. */
    .masked-heading {
      position: relative;
      display: block;
      max-width: 100%;
      margin: 0;
      color: #d1e5ff;
      -webkit-text-fill-color: currentColor;
      -webkit-text-stroke: .28px rgba(183, 216, 255, .30);
      text-shadow: 0 0 7px rgba(77, 151, 255, .16);
      font-weight: 880;
      animation: headingAppear .65s ease-out both;
    }
    .heading-ray {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      pointer-events: none;
      color: transparent;
      -webkit-text-fill-color: transparent;
    }
    .heading-ray::before {
      content: attr(data-text);
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      color: transparent;
      -webkit-text-fill-color: transparent;
      text-wrap: balance;
      background-image: linear-gradient(108deg,
        transparent 0%, transparent 39%,
        rgba(82, 208, 255, 0) 41%,
        rgba(100, 222, 255, .92) 45.5%,
        #ffffff 48.4%,
        #ffffff 51.2%,
        rgba(105, 226, 255, 1) 54%,
        rgba(51, 157, 255, .66) 58%,
        transparent 64%, transparent 100%);
      background-size: 320% 100%;
      background-position: 100% 0;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      animation: headingLightPass 2.8s linear forwards;
      will-change: background-position;
    }
    @keyframes headingAppear {
      from { opacity: 0; transform: translateY(7px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes headingLightPass {
      from { background-position: 100% 0; }
      to { background-position: 0 0; }
    }
    button, input { font: inherit; }
    button { cursor: pointer; }
    button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
    button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
    button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
    .page { position: relative; z-index: 2; width: min(690px, calc(100% - 32px)); margin: 0 0 0 16px; padding: 28px 0 54px; }
    .topline { display: block; margin: 0 0 10px; padding: 8px 0 12px; text-align: left; cursor: default; user-select: none; }
    h1 { max-width: 650px; margin: 0; color: #f6faff; font-size: clamp(29px, 6vw, 43px); font-weight: 850; letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; text-align: left; }
    .rule { height: 1px; margin: 0 0 22px; background: linear-gradient(90deg, rgba(39, 133, 255, .76), rgba(21, 75, 163, .20) 76%, transparent); }
    .category-filter-row { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; margin: 0 0 16px; }
    .category-filter-label { color: #8493a8; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .category-picker { position: relative; width: min(245px, calc(100vw - 96px)); min-width: 0; flex: 0 0 auto; }
    .category-trigger {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      width: 100%; min-height: 42px; padding: 9px 12px;
      border: 1px solid rgba(74, 142, 255, .42); border-radius: 12px;
      color: #eaf3ff; background: linear-gradient(145deg, rgba(16, 29, 47, .98), rgba(5, 8, 14, .99));
      font: inherit; font-size: 12px; font-weight: 800; text-align: left;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 5px 15px rgba(0,0,0,.2);
      transition: border-color .15s ease, background-color .15s ease;
    }
    .category-trigger:hover, .category-picker.is-open .category-trigger { border-color: rgba(91, 174, 255, .76); }
    .category-trigger-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .category-trigger svg { flex: 0 0 auto; color: #8fcaff; transition: transform .16s ease; }
    .category-picker.is-open .category-trigger svg { transform: rotate(180deg); }
    .category-menu {
      position: absolute; z-index: 20; top: calc(100% + 3px); left: 0;
      width: 100%; max-height: min(320px, 52vh); overflow: auto;
      transform-origin: top center;
      padding: 7px; border: 1px solid rgba(74, 142, 255, .34); border-radius: 14px;
      background: linear-gradient(150deg, #101d2e, #05090f 78%);
      box-shadow: 0 14px 34px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.045);
      overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(88,155,230,.45) transparent;
    }
    .category-menu[hidden] { display: none !important; }
    .category-picker.is-open .category-menu {
      animation: categoryPanelIn .24s cubic-bezier(.2,.78,.25,1) both;
      will-change: opacity, transform;
    }
    .category-picker.is-closing .category-menu {
      pointer-events: none;
      animation: categoryPanelOut .17s cubic-bezier(.4,0,.8,.35) both;
      will-change: opacity, transform;
    }
    @keyframes categoryPanelIn {
      from { opacity: 0; transform: translate3d(0, -7px, 0) scale(.985); }
      to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes categoryPanelOut {
      from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
      to { opacity: 0; transform: translate3d(0, -4px, 0) scale(.99); }
    }
    .category-option {
      display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px;
      padding: 9px 10px; border: 1px solid transparent; border-radius: 9px;
      color: #cbd9eb; background: transparent; font: inherit; font-size: 12px;
      font-weight: 700; text-align: left; transition: background-color .12s ease, color .12s ease;
    }
    .category-option::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #52657f; }
    .category-option:hover, .category-option:focus-visible { color: #fff; background: rgba(44, 112, 190, .17); }
    .category-option[aria-selected="true"] {
      color: #b9e3ff; border-color: rgba(68, 153, 255, .2);
      background: linear-gradient(100deg, rgba(26, 111, 204, .25), rgba(17, 50, 83, .12));
    }
    .category-option[aria-selected="true"]::before {
      background: #ffd84d;
      box-shadow: 0 0 5px rgba(255, 216, 77, .95), 0 0 11px rgba(255, 205, 48, .78), 0 0 19px rgba(255, 190, 28, .48);
    }
    .category-filter-native { display: none !important; }
    .catalog { display: grid; gap: 18px; }
    .product {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
      align-items: stretch;
      padding: 11px;
      overflow: hidden;
      border: 1px solid rgba(120, 166, 224, .19);
      border-radius: 21px;
      background: linear-gradient(145deg, rgba(13, 20, 31, .97), rgba(7, 11, 18, .99));
      box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
      content-visibility: auto;
      contain-intrinsic-size: auto 850px;
    }
    .product-visual { position: relative; width: 100%; aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; border-radius: 14px; background: linear-gradient(145deg, #10233a, #070b12 73%); }
    .product-visual::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(95, 177, 255, .06), transparent 56%); }
    .product-visual::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 43%; pointer-events: none; background: linear-gradient(180deg, rgba(7, 11, 18, 0) 0%, rgba(7, 11, 18, .10) 28%, rgba(7, 11, 18, .58) 72%, rgba(7, 11, 18, .96) 100%); }
    .product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
    .visual-placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
    .placeholder-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: rgba(45, 135, 255, .14); }
    .can { position: relative; width: 61px; height: 119px; border-radius: 13px 13px 16px 16px; border: 1px solid rgba(255,255,255,.45); background: linear-gradient(90deg, #1b54bd, #318cf7 47%, #1252b5); box-shadow: 7px 14px 24px rgba(0,0,0,.35), inset 5px 0 7px rgba(255,255,255,.14), inset -5px 0 7px rgba(0,0,0,.18); transform: rotate(-7deg); }
    .can::before { content: ""; position: absolute; top: -4px; left: 5px; right: 5px; height: 7px; border-radius: 5px; border: 1px solid #b7d2f5; background: linear-gradient(#eaf3ff,#769ac7); }
    .can::after { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 34px; border-block: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
    .product-info { display: flex; min-width: 0; flex-direction: column; padding: 15px 8px 7px; }
    .product-name { margin: 0; overflow-wrap: anywhere; font-size: clamp(20px, 4.2vw, 25px); line-height: 1.2; font-weight: 780; letter-spacing: -.035em; }
    .product-size { display: inline-flex; align-self: flex-start; margin: 8px 0 0; padding: 5px 9px; border: 1px solid rgba(91, 157, 255, .17); border-radius: 8px; color: #a8cfff; background: rgba(41, 103, 183, .12); font-size: 12px; font-weight: 700; }
    .product-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
    .price-wrap { min-width: 86px; }
    .price-caption {
      display: block; margin-bottom: 3px; color: #85e5ae; font-size: 10px;
      font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
      text-shadow: 0 0 6px rgba(67, 229, 139, .52), 0 0 14px rgba(67, 229, 139, .34), 0 0 24px rgba(67, 229, 139, .20);
    }
    .price {
      color: #43e58b; font-size: clamp(22px, 4vw, 28px); font-weight: 850;
      letter-spacing: -.04em; line-height: 1.15; white-space: nowrap;
      text-shadow: 0 0 6px rgba(67, 229, 139, .52), 0 0 14px rgba(67, 229, 139, .34), 0 0 24px rgba(67, 229, 139, .20);
    }
    .request {
      display: inline-flex; align-items: center; justify-content: center; gap: 9px;
      min-height: 47px; padding: 0 18px; border: 1px solid rgba(116, 255, 178, .28); border-radius: 13px;
      color: #04150b; text-decoration: none; font-size: 13px; font-weight: 850; white-space: nowrap;
      background: linear-gradient(120deg, #45e98c, #21c767);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.34),
        0 5px 15px rgba(25,207,103,.23),
        0 0 0 1px rgba(67,229,139,.18),
        0 0 13px rgba(25,207,103,.48),
        0 0 27px rgba(25,207,103,.31),
        0 0 42px rgba(25,207,103,.17);
      transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
    }
    .request:hover {
      filter: brightness(1.09);
      transform: translateY(-1px);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 6px 18px rgba(25,207,103,.30), 0 0 16px rgba(25,207,103,.58), 0 0 34px rgba(25,207,103,.38);
    }
    .request svg { flex: 0 0 auto; }
    .empty { text-align: center; padding: 52px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 33, 56, .78), rgba(9, 17, 30, .9)); }
    .empty-symbol { width: 47px; height: 47px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 15px; background: rgba(51, 134, 255, .13); color: #75baff; }
    .empty h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
    .empty p { max-width: 310px; margin: 9px auto 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .footnote { margin: 20px 0 0; text-align: center; color: #61728e; font-size: 11px; }
    .cloud-notice { max-width: 540px; margin: 8px auto 0; color: #8ea3bd; text-align: center; font-size: 10px; line-height: 1.5; }
    .cloud-notice:empty { display: none; }
    .admin-head-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
    .admin-head-actions .secondary { min-height: 35px; padding: 0 10px; font-size: 11px; }
    .admin-access { position: fixed; right: 0; bottom: 0; z-index: 30; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 0 !important; border-radius: 50%; background: transparent !important; background-color: transparent !important; box-shadow: none !important; outline: 0 !important; opacity: .06; transition: opacity .2s ease; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent !important; appearance: none; -webkit-appearance: none; }
    .admin-access::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: #8a9db8; box-shadow: none; transition: transform .2s ease, opacity .2s ease; }
    .admin-access.holding::before { transform: scale(1.3); opacity: .8; }
    .admin-access:hover { opacity: .28; }
    .admin-access:focus, .admin-access:focus-visible, .admin-access:active { outline: 0 !important; background: transparent !important; background-color: transparent !important; border-color: transparent !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent !important; }

    /* Administración */
    .overlay { position: fixed; inset: 0; z-index: 40; display: none; align-items: flex-start; justify-content: center; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .96); }
    .overlay.show { display: flex; }
    .dialog { width: min(690px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 22px; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(117, 167, 255, .22); border-radius: 20px; background: #050505; box-shadow: 0 22px 70px rgba(0,0,0,.58); }
    .dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 19px; }
    .dialog-kicker { margin: 0 0 5px; color: #75baff; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
    .dialog h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
    .subtext { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .icon-button { width: 35px; height: 35px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; color: #cfddf3; background: #112039; font-size: 20px; }
    .field { display: grid; gap: 7px; margin-bottom: 14px; }
    .field label { color: #d6e4fa; font-size: 12px; font-weight: 650; }
    .field input, .field select { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid rgba(141, 174, 225, .2); border-radius: 11px; color: var(--text); background: #020202; }
    .field select { cursor: pointer; }
    .field input:focus-visible, .field select:focus-visible { border-color: rgba(96, 181, 255, .65); }
    .field input[type="file"] { padding: 9px; color: var(--muted); font-size: 12px; }
    .field input::file-selector-button { margin-right: 10px; padding: 6px 9px; border: 0; border-radius: 7px; color: #eaf3ff; background: #1d3c66; }
    .form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(120px, .6fr); gap: 12px; }
    .primary, .secondary, .danger-button { min-height: 43px; padding: 0 15px; border-radius: 11px; font-size: 12px; font-weight: 750; }
    .primary { border: 1px solid rgba(120, 190, 255, .4); color: white; background: linear-gradient(120deg, #1678ed, #2460dc); }
    .secondary { border: 1px solid var(--line); color: #dceaff; background: #14233a; }
    .danger-button { border: 1px solid rgba(255,100,124,.25); color: #ff9aab; background: rgba(255,100,124,.08); }
    .form-actions { display: flex; gap: 9px; flex-wrap: wrap; }
    .status { min-height: 18px; margin: 11px 0 0; color: #7cbaff; font-size: 12px; line-height: 1.45; }
    .admin-divider { height: 1px; margin: 22px 0 17px; background: var(--line); }
    .admin-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
    .admin-list-head h3 { margin: 0; font-size: 14px; }
    .count { color: var(--muted); font-size: 11px; }
    .admin-products { display: grid; gap: 8px; }
    .admin-product { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 9px; border: 1px solid rgba(141,174,225,.12); border-radius: 12px; background: rgba(17,32,53,.72); }
    .admin-thumb { position: relative; width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #10294b; }
    .admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .admin-product-name { overflow-wrap: anywhere; font-size: 13px; font-weight: 700; }
    .admin-product-price { margin-top: 4px; color: #90a6c6; font-size: 11px; }
    .row-actions { display: flex; gap: 6px; }
    .small-action { min-height: 33px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: #d9e7fc; background: #14243b; font-size: 11px; font-weight: 700; }
    .small-action.delete { color: #ff9aab; }
    .login-dialog { width: min(390px,100%); }
    .login-lock { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 15px; border: 1px solid rgba(94,168,255,.25); border-radius: 14px; color: #78bbff; background: rgba(44,124,237,.12); }
    .brand-create { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .brand-create input { min-width: 0; width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(141, 174, 225, .2); border-radius: 11px; color: var(--text); background: #020202; }
    .brand-options { display: grid; gap: 7px; }
    .brand-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 1px solid rgba(141,174,225,.12); border-radius: 10px; background: #080808; }
    .brand-option-name { min-width: 0; overflow-wrap: anywhere; color: #e8f0fc; font-size: 12px; font-weight: 700; }
    .brand-option-actions { display: flex; flex: 0 0 auto; gap: 6px; }
    .login-actions { display: flex; gap: 9px; margin-top: 4px; }
    .login-actions button { flex: 1; }
    .passkey-login-wrap { display: grid; gap: 7px; margin-top: 13px; }
    .passkey-login-wrap .secondary { width: 100%; min-height: 42px; }
    .passkey-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .passkey-settings { margin: 0 0 18px; padding: 13px; border: 1px solid rgba(119,177,255,.18); border-radius: 13px; background: rgba(12,29,51,.58); }
    .passkey-settings h3 { margin: 0 0 5px; font-size: 13px; }
    .passkey-settings p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
    .passkey-settings .secondary { width: 100%; min-height: 39px; }
    .hidden { display: none !important; }

    /* Compartir: discreto y anclado a la posición inicial de la página. */
    .share-launcher {
      position: absolute;
      z-index: 35;
      top: max(36px, env(safe-area-inset-top));
      right: max(13px, env(safe-area-inset-right));
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      padding: 0;
      border: 1px solid rgba(119, 177, 255, .19);
      border-radius: 14px;
      color: rgba(194, 221, 255, .88);
      background: rgba(5, 13, 25, .42);
      box-shadow: 0 0 18px rgba(53, 130, 255, .055), inset 0 1px 0 rgba(255,255,255,.035);
      opacity: .86;
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      transition: opacity .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
    }
    .share-launcher:hover,
    .share-launcher[aria-expanded="true"] {
      opacity: .98;
      border-color: rgba(119, 177, 255, .36);
      background: rgba(8, 21, 40, .72);
    }
    .share-launcher:active { transform: scale(.96); }
    .share-launcher svg { width: 19px; height: 19px; }
    .share-panel {
      position: absolute;
      z-index: 35;
      top: calc(max(36px, env(safe-area-inset-top)) + 52px);
      right: max(13px, env(safe-area-inset-right));
      width: min(360px, calc(100vw - 26px));
      padding: 16px;
      border: 1px solid rgba(104, 166, 255, .25);
      border-radius: 17px;
      color: #edf5ff;
      background: linear-gradient(150deg, rgba(13, 27, 46, .97), rgba(3, 7, 13, .985) 76%);
      box-shadow: 0 18px 48px rgba(0,0,0,.62), 0 0 24px rgba(44, 125, 255, .105), inset 0 1px 0 rgba(255,255,255,.045);
      -webkit-backdrop-filter: blur(16px);
      backdrop-filter: blur(16px);
      transform-origin: top right;
    }
    .share-panel[hidden] { display: none !important; }
    .share-panel.is-open {
      animation: sharePanelIn .23s cubic-bezier(.2,.78,.25,1) both;
      will-change: opacity, transform;
    }
    .share-panel.is-closing {
      pointer-events: none;
      animation: sharePanelOut .17s cubic-bezier(.4,0,.8,.35) both;
      will-change: opacity, transform;
    }
    @keyframes sharePanelIn {
      from { opacity: 0; transform: translate3d(0,-7px,0) scale(.975); }
      to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
    }
    @keyframes sharePanelOut {
      from { opacity: 1; transform: translate3d(0,0,0) scale(1); }
      to { opacity: 0; transform: translate3d(0,-4px,0) scale(.985); }
    }
    .share-panel-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    .share-panel-title {
      margin: 1px 0 0;
      color: #f1f7ff;
      font-size: 15px;
      font-weight: 800;
      letter-spacing: -.025em;
      line-height: 1.3;
    }
    .share-close {
      display: grid;
      flex: 0 0 auto;
      place-items: center;
      width: 30px;
      height: 30px;
      margin: -4px -4px 0 0;
      padding: 0;
      border: 1px solid rgba(171, 196, 228, .13);
      border-radius: 9px;
      color: #aebed3;
      background: rgba(255,255,255,.035);
      font-size: 21px;
      line-height: 1;
      transition: color .15s ease, background-color .15s ease, border-color .15s ease;
    }
    .share-close:hover { color: #fff; background: rgba(255,255,255,.09); border-color: rgba(171,196,228,.26); }
    .share-link-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 8px; }
    .share-link-input {
      width: 100%;
      min-width: 0;
      min-height: 41px;
      padding: 0 10px;
      border: 1px solid rgba(119, 157, 207, .2);
      border-radius: 10px;
      color: #d5e7ff;
      background: rgba(0,0,0,.42);
      font: inherit;
      font-size: 11px;
      text-overflow: ellipsis;
    }
    .share-link-input::placeholder { color: #71839b; opacity: 1; }
    .share-copy {
      min-width: 82px;
      min-height: 41px;
      padding: 0 13px;
      border: 1px solid rgba(79, 158, 255, .44);
      border-radius: 10px;
      color: #edf6ff;
      background: linear-gradient(145deg, rgba(27, 94, 163, .72), rgba(13, 48, 88, .88));
      box-shadow: 0 0 14px rgba(53, 130, 255, .10), inset 0 1px 0 rgba(255,255,255,.07);
      font-size: 11px;
      font-weight: 800;
      transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
    }
    .share-copy:hover:not(:disabled) { border-color: rgba(112, 185, 255, .7); }
    .share-copy:active:not(:disabled) { transform: scale(.97); }
    .share-copy:disabled { cursor: not-allowed; opacity: .42; }
    .share-status { min-height: 0; margin: 8px 1px 0; color: #7ed9a5; font-size: 10px; line-height: 1.4; }
    .share-status:empty { display: none; }
    @media (max-width: 560px) {
      .page { width: calc(100% - 22px); max-width: 480px; margin-left: 11px; padding-top: 20px; }
      .share-panel { right: max(11px, env(safe-area-inset-right)); width: min(360px, calc(100vw - 22px)); }
      .topline { margin-bottom: 9px; }
      .catalog { gap: 13px; }
      .product { padding: 9px; border-radius: 17px; contain-intrinsic-size: auto 520px; }
      .product-visual { border-radius: 12px; }
      .product-info { padding: 13px 4px 5px; }
      .product-name { font-size: 20px; }
      .product-bottom { gap: 10px; margin-top: 12px; }
      .price { font-size: 22px; }
      .price-caption { font-size: 9px; }
      .request { flex: 1; min-width: 138px; min-height: 43px; padding: 0 10px; font-size: 12px; }
      .dialog { width: 100%; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 16px; border-radius: 15px; }
      .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
      .category-filter-row { gap: 7px; margin-bottom: 14px; }
      .category-filter { width: min(235px, calc(100vw - 92px)); }
      .brand-create { grid-template-columns: minmax(0, 1fr); }
      .admin-product { grid-template-columns: 45px minmax(0,1fr); }
      .admin-thumb { position: relative; width: 45px; height: 45px; }
      .row-actions { grid-column: 2; flex-wrap: wrap; }
      .empty { padding: 40px 18px; }
    }
    @media (max-height: 520px) and (orientation: landscape) {
      .overlay { padding-top: 8px; padding-bottom: 8px; }
      .dialog { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 14px; }
      .dialog-head { margin-bottom: 12px; }
    }
    /* Los efectos decorativos descansan si la pestaña queda oculta; nunca se pausan por scroll o toque. */
    body.is-page-hidden .masked-heading,
    body.is-page-hidden .heading-ray::before,
    body.is-page-hidden .ambient-atmosphere::before,
    body.is-page-hidden .ambient-atmosphere::after { animation-play-state: paused !important; }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    }
