/* SuperGPT 3.2.2: compact, mobile-first downloads. Product card geometry is retained. */
:root{color-scheme:dark;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#efedf8;background:#0b0b12;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid #bba7ff;outline-offset:3px}[hidden]{display:none!important}.download-header{background:#101018;border-bottom:1px solid #ffffff0d}.download-bar{width:min(1200px,100%);margin:auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}.download-brand{display:flex;align-items:center;gap:8px;min-width:0;font-size:17px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}.download-brand img{width:28px;height:28px;object-fit:contain;flex:none;border-radius:7px}.latest-actions{display:flex;gap:8px;align-items:center;flex:none}.download-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 14px;border:1px solid #ffffff25;border-radius:999px;font-size:12px;font-weight:600;background:#ffffff05;transition:background .15s,border-color .15s}.download-chip:hover{background:#bba7ff12;border-color:#bba7ff70}.download-chip svg{width:15px;height:15px;fill:currentColor;flex:none}.download-chip:last-child svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[aria-disabled="true"]{opacity:.4;cursor:default;pointer-events:none}.download-main{max-width:1200px;margin:auto;padding:32px 20px 48px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}h1,h2{font-size:19px;font-weight:650;letter-spacing:-.025em;margin:0}#productCount{font-size:12px;color:#858099}#productStatus,#applicationStatus{font-size:12px;color:#8c879e;margin:0 0 18px;line-height:1.5}.release-section{margin-top:46px;padding-top:28px;border-top:1px solid #ffffff10}.application-platform-filter{display:flex;gap:4px;background:#ffffff04;padding:3px;border:1px solid #ffffff10;border-radius:9px}.application-platform-filter button{padding:5px 10px;border:0;border-radius:6px;background:transparent;color:#938ca8;font-size:11px}.application-platform-filter button.active{background:#bba7ff1b;color:#d8cdff}.application-download-table{overflow-x:auto;border:1px solid #ffffff13;border-radius:13px;background:#101018}.application-download-table table{border-collapse:collapse;width:100%;min-width:590px;text-align:left}.application-download-table th,.application-download-table td{padding:13px 16px;border-bottom:1px solid #ffffff0b;white-space:nowrap;font-size:12px}.application-download-table th{color:#817b94;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.application-download-table tr:last-child td{border-bottom:0}.download-app-icon{width:26px;height:26px;object-fit:contain;border-radius:6px;display:block}.btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border:1px solid #ffffff1a;border-radius:7px;background:transparent;color:#bbb3cf;font-size:11px;min-height:32px}.btn-primary{background:#f1edf9;color:#16121e;border-color:#f1edf9}.release-version{border:0;background:transparent;color:#c3afff;padding:4px 0;font:inherit;cursor:pointer}.download-notes-dialog{background:#12121d;color:#f2effa;border:1px solid #ffffff20;border-radius:16px;width:min(620px,92vw);max-height:80vh;padding:22px}.download-notes-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.download-notes-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.download-notes-head h2{font-size:17px}.download-notes-head button{background:none;border:0;color:#aca5be;font-size:25px;padding:0 5px}.release-timeline{list-style:none;margin:22px 0 0;padding:0;color:#80b9ff}.release-timeline li{position:relative;display:flex;gap:14px;list-style:none;padding-bottom:22px}.release-timeline li:not(:last-child)::before{content:"";position:absolute;left:17px;top:34px;bottom:0;width:1px;background:#428deb45}.release-point-icon{width:36px;height:36px;flex:0 0 36px;border-radius:50%;border:1px solid #4b9fff60;background:#2784e516;display:grid;place-items:center}.release-timeline small{display:block;font-size:10px;letter-spacing:.07em;color:#649fdf;padding:2px 0 5px}.release-timeline p{margin:0;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px}.release-timeline li:last-child{padding-bottom:0}.release-timeline code{font-size:12px;background:#ffffff09;padding:2px 4px;border-radius:4px}
.storefront{--bg:#f4f1ea;--surface-solid:#191922;--ink:#efedf9;--muted:#a49cb9;--muted-2:#827a96;--line:#ffffff12;--line-2:#ffffff1c;--accent:#b29bff;--accent-2:#dfc4ff;--accent-fg:#10101a;--gold:#b8935a;--shadow-card:0 12px 35px #0002;--shadow-hover:0 20px 45px #0005}
  /* Grid — mobile 2, desktop 5 */
  .storefront .pg-grid {
    display: grid; gap: 10px;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  @media (min-width: 640px) { .storefront .pg-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
  @media (min-width: 900px) { .storefront .pg-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
  @media (min-width: 1200px) { .storefront .pg-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

  .storefront .pg-card {
    position: relative;
    background: rgba(255,255,255,.84);
    border: 1px solid var(--line-2); border-radius: 18px;
    content-visibility: auto; contain-intrinsic-size: 320px;
    padding: 7px 7px 8px; box-shadow: var(--shadow-card);
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.5s;
    opacity: 1; transform: none;
    display: flex; flex-direction: column;
  }
  @media (min-width: 640px) { .storefront .pg-card { padding: 9px 9px 11px; border-radius: 20px; } }
  .storefront .pg-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 25%);
    mix-blend-mode: overlay; opacity: 0.5;
  }
  .storefront .pg-card:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--accent) 40%, var(--line-2)); box-shadow: var(--shadow-hover); }

  .storefront .pg-image {
    position: relative; aspect-ratio: 1 / 1; border-radius: 12px;
    background: linear-gradient(135deg,
      color-mix(in oklab, var(--accent-2) 8%, var(--surface-solid)),
      color-mix(in oklab, var(--gold) 6%, var(--surface-solid)));
    overflow: hidden;
    margin-bottom: 8px; border: 1px solid var(--line);
    isolation: isolate;
  }
  @media (min-width: 640px) { .storefront .pg-image { border-radius: 14px; margin-bottom: 9px; } }
  .storefront .pg-image-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  }
  .storefront .pg-card:hover .pg-image-img { transform: scale(1.06); }

  .storefront .pg-body { padding: 0 3px; display: flex; flex-direction: column; flex: 1; }
  @media (min-width: 640px) { .storefront .pg-body { padding: 0 4px; } }
  .storefront .pg-name {
    font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
    font-weight: 750;
    font-size: 14px; margin: 0 0 7px; letter-spacing: -0.025em;
    line-height: 1.28; color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  @media (min-width: 640px) { .storefront .pg-name { font-size: 16px; margin-bottom: 8px; } }

  .storefront .pg-price-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px; margin-bottom: 8px;
    padding-bottom: 8px; border-bottom: 1px dashed var(--line);
  }
  .storefront .pg-price-group { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
  .storefront .pg-price {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px; line-height: 1;
    color: var(--ink); letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  @media (min-width: 640px) { .storefront .pg-price { font-size: 18px; } }
  .storefront .pg-old {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 10px; color: var(--muted-2); text-decoration: line-through;
    font-variant-numeric: tabular-nums; font-weight: 500;
  }
  .storefront .pg-sold {
    display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0;
    font-size: 9.5px; font-weight: 600; color: var(--muted);
    font-variant-numeric: tabular-nums;
    padding: 3px 7px; border-radius: 999px;
    background: color-mix(in oklab, var(--accent) 8%, transparent);
    color: color-mix(in oklab, var(--accent) 80%, var(--ink));
    letter-spacing: 0.01em;
  }
  @media (min-width: 640px) { .storefront .pg-sold { font-size: 10px; padding: 3px 8px; } }
  .storefront .pg-sold svg { color: var(--accent); }

  .storefront .pg-actions { display: flex; gap: 5px; margin-top: auto; }
  @media (min-width: 640px) { .storefront .pg-actions { gap: 6px; } }
  .storefront .pg-btn {
    padding: 8px 10px; border-radius: 9px;
    font-weight: 600; font-size: 11px; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
    font-family: inherit; letter-spacing: -0.005em;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    text-decoration: none;
    border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  }
  .storefront .pg-btn-wish { width: 30px; flex-shrink: 0; padding: 7px; }
  @media (min-width: 640px) { .storefront .pg-btn-wish { width: 34px; padding: 9px; } }
  .storefront .pg-btn-wish:hover { border-color: var(--accent); color: var(--accent); }
  .storefront .pg-btn-wish.on { background: color-mix(in oklab, var(--accent) 12%, transparent); border-color: var(--accent); color: var(--accent); }
  .storefront .pg-btn-order {
    flex: 1;
    background: var(--ink); color: var(--bg); border-color: var(--ink);
    position: relative; overflow: hidden;
  }
  .storefront .pg-btn-order::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: translateY(101%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  }
  .storefront .pg-btn-order > * { position: relative; z-index: 1; transition: transform 0.35s; }
  .storefront .pg-btn-order:hover::before { transform: translateY(0); }
  .storefront .pg-btn-order:hover { border-color: var(--accent); color: var(--accent-fg); }
  .storefront .pg-btn-order:hover svg { transform: translateX(3px); }

  .storefront .pg-empty { grid-column: 1 / -1; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 24px; }
  .storefront .pg-empty h3 { margin: 12px 0 4px; color: var(--ink); }
  .storefront .pg-empty p { margin: 0; font-size: 13px; }


.storefront .pg-card{background:#15151f;border-color:#ffffff16}.storefront .pg-image{background:#20202c;border-color:#ffffff0a}.storefront .pg-name{color:#f0edf9;font-family:inherit;line-height:1.65;font-weight:600}.storefront .pg-price{color:#f0edf9;font-family:inherit}.storefront .pg-sold{color:#c7b8ed;background:#b29bff12}.storefront .pg-btn-order{background:#f4f1fb;color:#171320;border-color:#f4f1fb}.storefront .pg-btn-wish{color:#c9c1dd;border-color:#ffffff20}.storefront .pg-price-row{gap:6px;flex-wrap:wrap}.storefront .pg-image-img{position:absolute;inset:0}.storefront .pg-btn[aria-disabled="true"]{opacity:.4;cursor:default}
@media(max-width:520px){.download-bar{padding:10px 12px;gap:8px;min-height:58px}.download-brand{font-size:14px;gap:6px}.download-brand img{width:25px;height:25px}.latest-actions{gap:5px}.download-chip{font-size:11px;gap:5px;padding:7px 10px;min-height:36px}.download-chip svg{width:13px;height:13px}.download-main{padding:24px 12px 32px}.section-head h1,.section-head h2{font-size:17px}.application-platform-filter button{padding:5px 7px;font-size:10px}.release-section{margin-top:32px;padding-top:24px}.application-download-table th,.application-download-table td{padding:12px}.storefront .pg-name{font-size:14px}.storefront .pg-btn{font-size:11px}}
@media(max-width:350px){.download-brand{font-size:12px;gap:5px}.download-brand img{width:23px;height:23px}.download-chip{padding:7px 8px;font-size:10px}.download-chip svg{width:12px;height:12px}.download-bar{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}

@media(max-width:520px){.application-download-table table{min-width:0}.application-download-table th,.application-download-table td{padding:11px 6px;font-size:10px}.application-download-table th{font-size:9px;letter-spacing:0}.application-download-table td:nth-child(3){white-space:normal;min-width:49px;line-height:1.4}.application-download-table .btn{font-size:10px;padding:5px 6px}.release-version{font-size:10px}}

/* 3.2.3: cards begin directly below the compact bar. */
.download-main{padding-top:18px}.storefront .pg-name{font-family:Inter,"Avenir Next","Segoe UI",sans-serif;font-weight:650;letter-spacing:-.035em;line-height:1.5}.storefront .pg-price{font-family:Inter,"Avenir Next","Segoe UI",sans-serif;font-weight:700;letter-spacing:-.035em}.storefront .pg-btn-order{font-weight:650;letter-spacing:-.015em}.storefront .pg-btn-order{width:100%}.storefront .pg-old{font-family:Inter,"Segoe UI",sans-serif}@media(max-width:520px){.download-main{padding-top:14px}}
