/* Staging content families. Load after site.css and site-glass/base.css.
   Original sections live in .site-main; the first section-tight header also
   has .page-hero. Shared navigation, footer, type and buttons belong to base.
   :has() targets existing structures without markup or script changes. */

body.site-glass .site-main {
  --mist: var(--muted, #c2c2c6);
  --hair: var(--line, rgba(224, 220, 255, .16));
  --content-panel: linear-gradient(135deg, rgba(45, 48, 78, .78), rgba(23, 29, 52, .86));
  --content-lilac: #f8afa8;
  --content-cyan: #70e0eb;
  --content-mint: #89e4bc;
  --content-radius: 28px;
  min-width: 0;
  padding-bottom: clamp(48px, 7vw, 104px);
}

/* Broad, left-aligned openings; retain the original headline and emphasis. */
body.site-glass .site-main > .page-hero.section-tight {
  padding-block: clamp(60px, 7vw, 108px) clamp(36px, 4.5vw, 68px);
}

body.site-glass .site-main .page-hero h1.display {
  max-width: 1120px;
  font-size: clamp(40px, 5.6vw, 78px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-transform: none;
  overflow-wrap: anywhere;
}

body.site-glass .site-main .page-hero .lead {
  max-width: 70ch;
  margin-top: 26px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.7;
  color: var(--muted);
}

body.site-glass .site-main :is(.kicker, .p-kick) {
  color: var(--gold);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

body.site-glass .site-main .kicker { margin-bottom: 20px; }
body.site-glass .site-main .crumbs { margin-bottom: 22px; color: var(--muted); }
body.site-glass .site-main > .section-tight { padding-block: clamp(24px, 3.4vw, 48px); }
body.site-glass .site-main > .section { padding-block: clamp(40px, 5.5vw, 80px); }
body.site-glass .site-main :is(section, [id]) { scroll-margin-top: 104px; }

body.site-glass .site-main h2.display {
  max-width: 28ch;
  font-size: clamp(29px, 3.3vw, 46px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: none;
}

body.site-glass .site-main :is(.lead, .card p, .prose p, .prose li) {
  color: var(--muted);
  line-height: 1.75;
}

body.site-glass .site-main .grid {
  gap: 22px;
  min-width: 0;
}

body.site-glass .site-main .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.site-glass .site-main .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.site-glass .site-main :is(.grid, .scr-grid) > * { min-width: 0; }
body.site-glass .site-main .wrap > :is(h2, .lead) + .grid { margin-top: 28px; }

/* Glass at the panel level, quieter surfaces inside it. */
body.site-glass .site-main :is(.card, .surface) {
  border: 1px solid var(--line);
  border-radius: var(--content-radius);
  background: var(--content-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 18px 42px rgba(3, 6, 23, .12);
  padding: clamp(24px, 2.65vw, 38px);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

body.site-glass .site-main .surface { padding: clamp(28px, 3.8vw, 52px); }
body.site-glass .site-main .surface + .surface { margin-top: 24px; }
body.site-glass .site-main .surface .card {
  background: rgba(12, 16, 36, .24);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.site-glass .site-main .card h3 {
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}

body.site-glass .site-main .card p { font-size: 15px; }
body.site-glass .site-main .card p + p { margin-top: 14px; }
body.site-glass .site-main .card :is(p, h3) a { text-decoration: underline; text-underline-offset: 4px; }
body.site-glass .site-main :is(.card, .surface) > :last-child { margin-bottom: 0; }
body.site-glass .site-main .surface > .lead { max-width: 70ch; }

/* The opening benefits and real numbered steps inherit the homepage tints. */
body.site-glass .site-main .page-hero + section .g3 > .card:first-child,
body.site-glass .site-main .card:has(> .ord):first-child {
  background: linear-gradient(140deg, rgba(85, 61, 142, .40), rgba(28, 30, 49, .86));
  border-color: rgba(174, 134, 255, .28);
}

body.site-glass .site-main .page-hero + section .g3 > .card:nth-child(2),
body.site-glass .site-main .card:has(> .ord):nth-child(2) {
  background: linear-gradient(140deg, rgba(41, 84, 94, .36), rgba(23, 30, 51, .86));
  border-color: rgba(112, 224, 235, .22);
}

body.site-glass .site-main .page-hero + section .g3 > .card:nth-child(3),
body.site-glass .site-main .card:has(> .ord):nth-child(3) {
  background: linear-gradient(140deg, rgba(83, 61, 123, .38), rgba(27, 28, 52, .86));
  border-color: rgba(183, 161, 255, .24);
}

body.site-glass .site-main .card:has(> .ord) { padding-top: 30px; }
body.site-glass .site-main .ord { margin-bottom: 38px; font-size: 48px; font-weight: 550; letter-spacing: -.05em; }
body.site-glass .site-main .card:nth-child(2) > .ord { color: var(--content-cyan); }
body.site-glass .site-main .card:nth-child(3) > .ord { color: var(--content-lilac); }

/* Features: give the existing application screenshots room to be evidence. */
body.site-glass .site-main .scr-grid { grid-template-columns: 1.12fr 1fr; gap: 24px; align-items: start; }
body.site-glass .site-main .scr {
  --screenshot-surface: #2c2c30;
  border-radius: var(--content-radius);
  border-color: var(--line);
  background: var(--screenshot-surface);
  box-shadow: 0 22px 56px rgba(3, 6, 23, .25);
}
body.site-glass .site-main .scr img {
  background: var(--screenshot-surface);
}
body.site-glass .site-main .scr:nth-child(2) { margin-top: 48px; }
body.site-glass .site-main .scr figcaption {
  position: static;
  padding: 18px 22px;
  background: var(--screenshot-surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

body.site-glass .site-main .chips { display: flex; gap: 10px; flex-wrap: wrap; }
body.site-glass .site-main .chip {
  white-space: normal;
  padding: 9px 15px;
  color: var(--muted);
  background: rgba(183, 161, 255, .055);
  border-color: var(--line);
  line-height: 1.5;
}
body.site-glass .site-main a.chip { min-height: 44px; align-content: center; }
body.site-glass .site-main .badge { color: var(--gold); background: rgba(174, 134, 255, .10); border-radius: 8px; }
body.site-glass .site-main .tick { padding-block: 9px; line-height: 1.65; }
body.site-glass .site-main .tick svg { margin-top: 4px; }

/* Pricing is recognized by its original price + direct purchase CTA structure.
   Important declarations here only replace existing inline presentation. */
body.site-glass[data-template="content"] .site-main .g2:has(> .card > .display) {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center !important;
}
body.site-glass[data-template="content"] .site-main .g2 > .card:has(> .display) {
  padding: clamp(30px, 4vw, 54px);
  border-color: rgba(174, 134, 255, .44) !important;
  background: linear-gradient(125deg, rgba(80, 66, 52, .66), rgba(36, 35, 62, .92) 65%, rgba(72, 47, 61, .66));
  box-shadow: inset 0 1px 0 rgba(255, 241, 193, .10), 0 24px 64px rgba(3, 6, 23, .25);
}
body.site-glass[data-template="content"] .site-main .card > p.display {
  font-size: clamp(60px, 6vw, 84px) !important;
  line-height: 1.15;
  letter-spacing: -.055em;
  margin-block: 16px 20px !important;
}
body.site-glass[data-template="content"] .site-main .card > p.display > span { color: var(--gold) !important; }
body.site-glass[data-template="content"] .site-main .card:has(> .display) > .btn { margin-top: 12px; min-height: 54px; align-content: center; }
body.site-glass[data-template="content"] .site-main .g2:has(> .card > .display) > .grid > .card {
  padding: 22px 26px;
  border-radius: 20px;
  gap: 18px;
  flex-wrap: wrap;
}
body.site-glass[data-template="content"] .site-main .g2:has(> .card > .display) > .grid > .card:first-child {
  padding-block: 30px;
  background: rgba(174, 134, 255, .08);
  font-size: 24px;
}

/* Native details remain native; opening does not depend on animation or JS. */
body.site-glass .site-main .faq { max-width: 1040px; }
body.site-glass .site-main :is(.faq details, .wrap > details) {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(29, 35, 60, .75);
  padding-inline: clamp(20px, 2.6vw, 34px);
}
body.site-glass .site-main :is(.faq details, .wrap > details)[open] {
  background: rgba(49, 43, 78, .70);
  border-color: rgba(183, 161, 255, .38);
}
body.site-glass .site-main :is(.faq, .wrap > details) summary {
  padding: 24px 0;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 550;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
body.site-glass .site-main .faq summary::after { color: var(--content-lilac); flex: 0 0 auto; }
body.site-glass .site-main .wrap > details summary::marker { color: var(--content-lilac); }
body.site-glass .site-main :is(.faq details, .wrap > details) p {
  max-width: 76ch;
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
body.site-glass .site-main :is(.faq details, .wrap > details) p a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* About and legal stay readable documents rather than a grid of fragments. */
body.site-glass .site-main .prose { max-width: 80ch; }
body.site-glass .site-main .prose :is(p, li) { font-size: 16px; overflow-wrap: anywhere; }
body.site-glass .site-main .prose h2 { margin-block: 36px 12px; font-size: 24px; letter-spacing: -.025em; }
body.site-glass .site-main .prose h3 { font-size: 19px; }
body.site-glass .site-main .prose a { text-decoration: underline; text-underline-offset: 4px; }
body.site-glass .site-main .prose :is(b, strong) { color: var(--text); }
body.site-glass .site-main .prose ul { padding-inline-start: 22px; margin-inline: 0; }
body.site-glass[data-template="legal"] .site-main .page-hero { padding-bottom: 28px; }
body.site-glass[data-template="legal"] .site-main .page-hero .lead { font-size: 15px; }
body.site-glass[data-template="legal"] .site-main .wrap > .prose {
  max-width: 960px;
  padding: clamp(26px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--content-radius);
  background: var(--content-panel);
}
body.site-glass[data-template="legal"] .site-main .prose > :first-child { margin-top: 0; }

/* Release entries: an actual timeline with a separate version/date column. */
body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) {
  display: grid;
  grid-template-columns: minmax(140px, .32fr) minmax(0, 1fr);
  gap: 24px 40px;
}
body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) > div:first-child {
  align-self: start;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 14px !important;
}
body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) > :not(:first-child) { grid-column: 2; margin-top: 0 !important; }
body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) .tick + .tick { border-top: 1px solid var(--line); }

/* Catalog: popular links become an orderly launch list; original input and
   table rows keep their IDs and script-controlled display values. */
body.site-glass[data-template="catalog"] .site-main .wrap > .chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.site-glass[data-template="catalog"] .site-main .wrap > .chips > .chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  min-height: 60px;
  border-radius: 16px;
  color: var(--text);
  font-size: 14px;
}
body.site-glass[data-template="catalog"] .site-main .chip > span { flex-shrink: 0; }
body.site-glass[data-template="catalog"] .site-main input#q {
  width: min(640px, 100%) !important;
  min-height: 58px;
  margin-bottom: 22px !important;
  padding: 16px 20px !important;
  border: 1px solid rgba(183, 161, 255, .32) !important;
  border-radius: 18px !important;
  background: rgba(24, 31, 55, .92) !important;
  font-size: 16px;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
body.site-glass[data-template="catalog"] .site-main input#q::placeholder { color: var(--muted); opacity: 1; }
body.site-glass[data-template="catalog"] .site-main .sg-catalog-tools input#q { width: min(500px, 100%) !important; margin: 0 !important; }
body.site-glass[data-template="catalog"] .site-main .surface:has(.tbl) { background: #242428; }
body.site-glass[data-template="catalog"] .site-main .surface > div:has(> .tbl) {
  scrollbar-color: #84848d #242428;
  scrollbar-width: auto;
  scrollbar-gutter: stable;
}
body.site-glass .site-main .tbl { font-size: 14px; }
body.site-glass .site-main .tbl thead th {
  padding: 18px 20px;
  color: var(--muted);
  background: #2e2e31;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  border-color: var(--line);
}
body.site-glass .site-main .tbl td { padding: 16px 20px; border-color: rgba(224, 220, 255, .09); }
body.site-glass[data-template="catalog"] .site-main .tbl thead th { position: sticky; top: 0; z-index: 1; }
body.site-glass[data-template="catalog"] .site-main .tbl { min-width: 540px; }
body.site-glass[data-template="compare"] .site-main .tbl { min-width: 700px; }
body.site-glass[data-template="compare"] .site-main .tbl tbody tr:first-child { background: rgba(174, 134, 255, .065); }
body.site-glass[data-template="compare"] .site-main .surface:has(> .tbl) { border-color: rgba(183, 161, 255, .27); }

body.site-glass[data-template="vr"] .site-main :is(.surface, .wrap) > ul,
body.site-glass[data-template="vr"] .site-main .card ul {
  padding-inline-start: 22px;
  color: var(--muted);
  line-height: 1.8;
}
body.site-glass[data-template="vr"] .site-main li + li { margin-top: 10px; }
body.site-glass[data-template="vr"] .site-main .surface > p { max-width: 76ch; color: var(--muted); line-height: 1.8; }
body.site-glass[data-template="vr"] .site-main .vr-cta { border-color: rgba(174, 134, 255, .3); }
body.site-glass[data-template="vr"] .site-main .vr-cta > p:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-inline: auto;
}
body.site-glass[data-template="vr"] .site-main .vr-cta > p:last-child .btn { margin: 0; }

/* Existing closing invitations, never the common site footer. */
body.site-glass .site-main > .section > .wrap[style*="text-align:center"] {
  padding-block: clamp(36px, 5vw, 64px);
  border-block: 1px solid var(--line);
}
body.site-glass .site-main :is(.vr-cta, .wrap[style*="text-align:center"]) h2 { margin-inline: auto; }
body.site-glass .site-main .btn { max-width: 100%; white-space: normal; }
body.site-glass .site-main :is(h1, h2, h3):dir(rtl) { letter-spacing: normal; }
body.site-glass .site-main :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Localized legacy homes retain their hub, Alpine search, engine controls and
   review content. No rules for .rail, global headers, footer or world layers. */
body.site-glass[data-template="localized-home"] .site-main {
  --inset: max(32px, calc((100% - 1280px) / 2));
}
body.site-glass[data-template="localized-home"] .site-main .hero {
  min-height: calc(100svh - var(--rail-h, 74px));
  padding: clamp(28px, 5.2vh, 64px) var(--inset) clamp(52px, 8vh, 96px);
  justify-content: center;
  gap: clamp(32px, 5.2vh, 68px);
}
body.site-glass[data-template="localized-home"] .site-main .hub {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 52px);
  align-items: center;
}
body.site-glass[data-template="localized-home"] .site-main h1.hub-h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
  overflow-wrap: anywhere;
}
body.site-glass[data-template="localized-home"] .site-main .hub-sub {
  max-width: 50ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  line-height: 1.7;
}
body.site-glass[data-template="localized-home"] .site-main .hub-search { max-width: 540px; margin-top: 28px; }
body.site-glass[data-template="localized-home"] .site-main .gs-input {
  min-height: 58px;
  border-radius: 17px;
  border-color: rgba(183, 161, 255, .3);
  background-color: rgba(20, 27, 49, .88);
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
body.site-glass[data-template="localized-home"] .site-main .gs-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(174, 134, 255, .1);
}
body.site-glass[data-template="localized-home"] .site-main .gs-res {
  border-radius: 18px;
  border-color: rgba(183, 161, 255, .35);
  background: #242428;
}
body.site-glass[data-template="localized-home"] .site-main .gs-row { padding-block: 14px; text-align: start; }
body.site-glass[data-template="localized-home"] .site-main .hub-chips { gap: 8px; margin-top: 20px; }
body.site-glass[data-template="localized-home"] .site-main .hub-chips .chip { font-size: 11px; padding: 5px 10px; }
body.site-glass[data-template="localized-home"] .site-main .tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(126px, auto);
  gap: 14px;
}
body.site-glass[data-template="localized-home"] .site-main .tile {
  padding: 22px;
  gap: 10px;
  border-radius: 24px;
  border-color: var(--line);
  background: rgba(33, 38, 66, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  text-align: start;
  overflow-wrap: anywhere;
  animation: none;
  transition: border-color .2s, background-color .2s;
}
body.site-glass[data-template="localized-home"] .site-main .tile .ic { margin-bottom: auto; font-size: 24px; }
body.site-glass[data-template="localized-home"] .site-main .tile .tt { font-size: 15px; line-height: 1.35; font-weight: 650; }
body.site-glass[data-template="localized-home"] .site-main .tile .td { font-size: 12px; line-height: 1.55; color: var(--muted); }
body.site-glass[data-template="localized-home"] .site-main .tile.feat { background: rgba(97, 75, 41, .30); border-color: rgba(174, 134, 255, .35); }
body.site-glass[data-template="localized-home"] .site-main .tile.feat .tt { font-size: 24px; }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(2) { background: rgba(91, 64, 136, .28); }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(2) .ic { color: var(--content-lilac); }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(3) { background: rgba(120, 67, 57, .25); }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(4) { background: rgba(40, 101, 112, .25); }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(4) .ic { color: var(--content-cyan); }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(6) { background: rgba(59, 105, 87, .23); }
body.site-glass[data-template="localized-home"] .site-main .tile:nth-child(6) .ic { color: var(--content-mint); }
body.site-glass[data-template="localized-home"] .site-main .tile.buy { background: var(--gold); border-color: var(--gold); color: #201b0e; }
body.site-glass[data-template="localized-home"] .site-main .tile.buy .tt { font-size: 21px; }
body.site-glass[data-template="localized-home"] .site-main .tile.buy .td { color: #554525; opacity: 1; }
body.site-glass[data-template="localized-home"] .site-main :is(.tile, .review):hover { transform: none; }
body.site-glass[data-template="localized-home"] .site-main :is(.appwin, .shot) {
  border-radius: var(--content-radius);
  border-color: rgba(183, 161, 255, .3);
  background: #242428;
  box-shadow: 0 22px 50px rgba(3, 6, 23, .25);
}
body.site-glass[data-template="localized-home"] .site-main .hero-reviews { gap: 20px; }
body.site-glass[data-template="localized-home"] .site-main .review {
  padding: 26px;
  border-radius: 24px;
  border-color: var(--line);
  background: rgba(30, 37, 62, .7);
}
body.site-glass[data-template="localized-home"] .site-main .review-q { font-size: 14px; line-height: 1.8; }
body.site-glass[data-template="localized-home"] .site-main :is(.review-av, .review-avatar) { background: var(--gold); color: #201b0e; }
body.site-glass[data-template="localized-home"] .site-main .block { padding: clamp(36px, 4.5vw, 64px) var(--inset); }
body.site-glass[data-template="localized-home"] .site-main .p-title { font-size: clamp(30px, 3.2vw, 44px); font-weight: 650; letter-spacing: -.035em; }
body.site-glass[data-template="localized-home"] .site-main :is(.cols-2, .split) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
body.site-glass[data-template="localized-home"] .site-main .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.site-glass[data-template="localized-home"] .site-main :is(.cols-2, .cols-3, .split) > * { min-width: 0; }
body.site-glass[data-template="localized-home"] .site-main .seg button { min-height: 44px; padding-inline: 16px; font-weight: 550; }
body.site-glass[data-template="localized-home"] .site-main .seg button.on { background: rgba(112, 224, 235, .12); border-color: rgba(112, 224, 235, .6); color: var(--content-cyan); }
body.site-glass[data-template="localized-home"] .site-main #pricing > .surface {
  border-color: rgba(174, 134, 255, .35);
  background: linear-gradient(125deg, rgba(64, 55, 66, .82), rgba(29, 31, 54, .88) 65%, rgba(75, 51, 63, .5));
}
body.site-glass[data-template="localized-home"] .site-main #pricing .card { flex-wrap: wrap; gap: 10px; }
body.site-glass[data-template="localized-home"] .site-main #pricing .card > p.display { font-size: clamp(54px, 5vw, 76px) !important; line-height: 1.15; }
body.site-glass[data-template="localized-home"] .site-main #pricing .card > p.display > span { color: var(--gold) !important; }
body.site-glass[data-template="localized-home"] .site-main .faq-item { border: 1px solid var(--line); border-radius: 20px; background: rgba(24, 31, 54, .65); padding-inline: 24px; margin-bottom: 12px; }
body.site-glass[data-template="localized-home"] .site-main .faq-item[open] { background: rgba(58, 46, 89, .4); border-color: rgba(183, 161, 255, .35); }
body.site-glass[data-template="localized-home"] .site-main .faq-item summary { padding-block: 23px; }
body.site-glass[data-template="localized-home"] .site-main .faq-item .pm { color: var(--content-lilac); }
body.site-glass[data-template="localized-home"] .site-main .faq-a { color: var(--muted); font-size: 15px; line-height: 1.8; }
body.site-glass[data-template="localized-home"] .site-main .more-link { white-space: normal; }
body.site-glass[data-template="localized-home"] .site-main h1.hub-h1:dir(rtl) { letter-spacing: normal; line-height: 1.3; }
body.site-glass[data-template="localized-home"] .site-main .gs-input:dir(rtl) { background-position: right 15px center; padding-inline: 44px 16px; }

@media (hover: hover) {
  body.site-glass .site-main a.chip:hover { border-color: rgba(183, 161, 255, .55); color: var(--text); background: rgba(183, 161, 255, .12); }
  body.site-glass .site-main .card :is(p, h3) a:hover { color: var(--gold); }
  body.site-glass .site-main .tbl tbody tr:hover { background: rgba(183, 161, 255, .08); }
}

@media (min-width: 1100px) {
  /* Eight secondary features: the two longer opening stories get more space. */
  body.site-glass[data-template="content"] .site-main .g3:has(> .card:nth-child(8)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body.site-glass[data-template="content"] .site-main .g3:has(> .card:nth-child(8)) > .card { grid-column: span 2; }
  body.site-glass[data-template="content"] .site-main .g3:has(> .card:nth-child(8)) > .card:nth-child(-n+2) { grid-column: span 3; }
}

@media (max-width: 1000px) {
  body.site-glass[data-template="localized-home"] .site-main :is(.hub, .cols-2, .cols-3, .split) { grid-template-columns: minmax(0, 1fr); }
  body.site-glass[data-template="localized-home"] .site-main .hub { gap: 40px; }
  body.site-glass .site-main .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-glass .site-main .g3:has(> .card:nth-child(3):last-child) > .card:last-child { grid-column: 1 / -1; }
  body.site-glass[data-template="catalog"] .site-main .wrap > .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-glass[data-template="content"] .site-main .g2:has(> .card > .display) { gap: 24px; }
}

@media (max-width: 760px) {
  body.site-glass[data-template="localized-home"] .site-main .hero-reviews { grid-template-columns: minmax(0, 1fr); }
  body.site-glass[data-template="localized-home"] .site-main .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-glass[data-template="localized-home"] .site-main .tile.buy { grid-column: 1 / -1; }
  body.site-glass .site-main .page-hero h1.display { font-size: clamp(36px, 7.8vw, 58px); }
  body.site-glass .site-main :is(.g2, .g3, .scr-grid),
  body.site-glass[data-template="content"] .site-main .g2:has(> .card > .display) { grid-template-columns: minmax(0, 1fr); }
  body.site-glass .site-main .scr:nth-child(2) { margin-top: 0; }
  body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) > div:first-child { flex-direction: row; align-items: center !important; }
  body.site-glass[data-template="content"] .site-main .surface:has(> div:first-child > .badge) > :not(:first-child) { grid-column: 1; }
  body.site-glass .site-main .ord { margin-bottom: 26px; }
}

@media (max-width: 640px) {
  body.site-glass[data-template="localized-home"] .site-main { --inset: 20px; }
  body.site-glass[data-template="catalog"] .site-main .sg-catalog-tools input#q { width: 100% !important; }
}

@media (max-width: 480px) {
  body.site-glass[data-template="localized-home"] .site-main .hero { padding-top: 48px; }
  body.site-glass[data-template="localized-home"] .site-main h1.hub-h1 { font-size: clamp(32px, 8.8vw, 42px); }
  body.site-glass[data-template="localized-home"] .site-main .tile { padding: 20px; }
  body.site-glass[data-template="localized-home"] .site-main .tile.buy .tt { font-size: 20px; }
  body.site-glass[data-template="localized-home"] .site-main .shot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.site-glass[data-template="localized-home"] .site-main .faq-item { padding-inline: 18px; }
  body.site-glass .site-main > .page-hero.section-tight { padding-top: 44px; padding-bottom: 28px; }
  body.site-glass .site-main .page-hero h1.display { font-size: clamp(32px, 9.4vw, 44px); letter-spacing: -.04em; }
  body.site-glass .site-main .page-hero .lead { font-size: 17px; margin-top: 22px; }
  body.site-glass .site-main :is(.card, .surface) { padding: 24px; }
  body.site-glass .site-main .card h3 { font-size: 21px; }
  body.site-glass .site-main .grid { gap: 16px; }
  body.site-glass[data-template="catalog"] .site-main .wrap > .chips { grid-template-columns: minmax(0, 1fr); }
  body.site-glass .site-main .tbl :is(th, td) { padding: 14px 16px; }
  body.site-glass .site-main .faq summary { padding-block: 21px; }
  body.site-glass .site-main > .section > .wrap[style*="text-align:center"] > .btn { margin-block: 5px; }
}

@media (prefers-reduced-transparency: reduce) {
  body.site-glass .site-main :is(.card, .surface, .faq details, .wrap > details) {
    background: #29292c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-glass[data-template="localized-home"] .site-main :is(.tile, .review, .bar i, .seg button, .faq-item summary .pm) { animation: none; transition: none; }
}
/* Retained catalog instructions are a real process, not loose legacy text. */
body.site-glass .profile-source > .profile-facts { margin-block:32px; }

/* Support shortcuts need breathing room after the activation note. */
body.site-glass[data-page="support"] .site-main > .section-tight > .wrap > div:last-child {
  margin-top:32px !important;
  gap:28px !important;
}
body.site-glass .profile-source > h2 { font-size:clamp(25px,2.6vw,34px); line-height:1.2; margin-block:30px 20px; color:var(--text); }
body.site-glass .profile-catalog-steps { display:grid; gap:14px; list-style:none; padding:0; margin:24px 0 36px; }
body.site-glass .profile-catalog-steps > li { position:relative; display:grid; grid-template-columns:48px minmax(0,1fr); align-items:start; gap:20px; padding:24px; border:1px solid #fce1df29; border-radius:20px; background:linear-gradient(115deg,#f5c95709,#26262aa6 45%); backdrop-filter:blur(16px); }
body.site-glass .profile-catalog-steps > li:last-child { border-color:#f5c95755; }
body.site-glass .profile-step-number { display:grid; place-items:center; width:48px; height:48px; border:1px solid #f5c95755; border-radius:14px; background:#f5c95714; color:var(--gold); font-size:21px; line-height:1; font-weight:700; font-variant-numeric:tabular-nums; }
body.site-glass .profile-catalog-steps > li:last-child .profile-step-number { background:var(--gold); color:var(--gold-ink); }
body.site-glass .profile-source .profile-step-copy h3 { font-size:20px; line-height:1.35; color:var(--text); margin:0 0 10px; }
body.site-glass .profile-source .profile-step-copy p { margin:0; font-size:14px; line-height:1.8; max-width:65ch; }
body.site-glass .profile-source .profile-step-copy p + p { margin-top:12px; }
@media(max-width:560px) {
  body.site-glass .profile-catalog-steps > li { grid-template-columns:38px minmax(0,1fr); gap:14px; padding:18px 14px; border-radius:16px; }
  body.site-glass .profile-step-number { width:38px; height:38px; font-size:18px; border-radius:11px; }
  body.site-glass .profile-source .profile-step-copy h3 { font-size:18px; }
  body.site-glass .profile-source > .profile-facts { margin-block:28px; }
}

/* Viorun page content and catalog. */
body[data-template="content"] .grid{display:grid}body[data-template="content"] .card{display:flex;flex-direction:column}body[data-template="content"] .pn-actions{margin-top:24px;display:flex;flex-wrap:wrap;gap:12px}.pn-note{font-size:13px;color:var(--muted,#b3b3b8);line-height:1.65;margin-top:22px}.pn-center{text-align:center}.pn-center .display,.pn-center .lead{margin:0 auto 20px}.pn-center .chips{justify-content:center}.pn-feature-icon{font-size:32px;color:var(--gold);margin-bottom:24px}.pn-language{font-size:12px;color:var(--muted);white-space:nowrap}.pn-library-illustration{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#1f1f21;box-shadow:0 35px 80px #00000033}.pn-demo-top{display:flex;align-items:center;gap:10px;padding:20px 26px;border-bottom:1px solid var(--line);font-weight:700}.pn-demo-top span{margin-left:auto;color:var(--muted);font-size:12px;font-weight:400}.pn-demo-body{display:flex}.pn-demo-body aside{padding:28px;width:180px;font-size:14px;border-right:1px solid var(--line)}.pn-demo-body aside span{display:block;color:var(--muted);margin-top:24px}.pn-demo-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:26px;flex:1}.pn-demo-games figure{margin:0}.pn-demo-games img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px}.pn-demo-games figcaption{font-size:12px;margin-top:12px;line-height:1.5}.pn-price-line{flex-direction:row!important;align-items:center;justify-content:space-between;padding:24px!important;margin-bottom:14px;gap:12px}.pn-highlight{border-color:#f6988f88!important}.pn-price-line b{color:var(--gold)}.pn-price-grid{align-items:start}.pn-price-main{border-color:#f6988f66!important}.pn-price-number{font-size:76px!important;line-height:1.1!important;font-weight:700;letter-spacing:-.06em;color:var(--text)!important;margin:10px 0 18px}.pn-price-number small{font-size:16px;color:var(--muted);font-weight:400;letter-spacing:0}.pn-checks{list-style:none;padding:0;margin:24px 0}.pn-checks li{padding:9px 0 9px 28px;position:relative;line-height:1.6;color:var(--muted)}.pn-checks li:before{content:'✓';position:absolute;left:0;color:var(--gold)}.pn-download-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:34px;margin-top:28px;align-items:start}.pn-download-icon img{border-radius:22px}.pn-download-card .btn{margin-top:22px}.pn-faq{max-width:900px;margin:auto}.pn-faq details{border-bottom:1px solid var(--line);padding:26px 0}.pn-faq summary{cursor:pointer;list-style:none;font-size:20px;font-weight:550;padding-right:28px;position:relative}.pn-faq summary:after{content:'+';position:absolute;right:0;color:var(--gold)}.pn-faq details[open] summary:after{content:'−'}.pn-faq p{margin-top:18px;color:var(--muted);line-height:1.75}.pn-latest-feature{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:36px;align-items:center}.pn-latest-feature>img{width:100%;border-radius:16px}.pn-reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}.pn-review{border:1px solid var(--line);border-radius:24px;background:linear-gradient(140deg,#303034bb,#222225e8);overflow:hidden;transition:transform .2s,border-color .2s}.pn-review:hover{transform:translateY(-5px);border-color:#f6988f88}.pn-review>img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;display:block}.pn-review>div{padding:24px}.pn-review h3{font-size:21px;line-height:1.3;margin-bottom:18px}.pn-review-arrow{display:block;color:var(--muted);margin-top:22px;font-size:13px}.catalog-controls{display:grid;grid-template-columns:minmax(0,1.5fr) 1fr 1fr;gap:14px}.catalog-controls label>span{display:block;margin-bottom:10px;font-size:13px;color:var(--muted)}.catalog-controls input,.catalog-controls select{width:100%;border:1px solid var(--line);border-radius:14px;background:#242426;color:var(--text);font:inherit;padding:15px;outline:none}.catalog-controls input:focus,.catalog-controls select:focus{border-color:var(--gold);box-shadow:0 0 0 3px #f6988f22}#catalog-count{color:var(--muted);margin:26px 0 20px;font-size:14px}#catalog-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-card{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:18px;color:var(--text);font:inherit;border:1px solid var(--line);border-radius:18px;background:#2a2a2ea8;cursor:pointer;transition:background .2s,border-color .2s}.catalog-card:hover{background:#333338;border-color:#f6988f77}.catalog-card-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:10px;color:var(--gold);background:#f6988f18;font-weight:650}.catalog-card-body{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}.catalog-card-name{font-size:14px;font-weight:550;line-height:1.4}.catalog-card-evidence{font-size:10px;color:var(--muted)}.catalog-card-meta{display:flex;flex-direction:column;align-items:end;gap:8px;flex:none}.catalog-card-engine{font-size:12px;color:var(--gold)}.catalog-card-status{font-size:10px;color:var(--muted)}.catalog-empty{color:var(--muted);padding:32px;grid-column:1/-1}.pn-more{display:flex;margin:28px auto 0}.pn-more[hidden]{display:none}.game-dialog{color:var(--text);border:1px solid var(--line);border-radius:28px;background:#232326;max-width:760px;width:calc(100% - 32px);max-height:85dvh;padding:34px}.game-dialog::backdrop{background:#111112e8;backdrop-filter:blur(6px)}.game-dialog-close{position:absolute;top:14px;right:18px;width:32px;height:32px;border:0;background:transparent;color:var(--muted);font-size:28px;cursor:pointer}.game-detail-art{height:180px;overflow:hidden;border-radius:14px;margin-bottom:24px;background:#f6988f15;display:grid;place-items:center;font-size:64px;color:var(--gold)}.game-detail-art img{width:100%;height:100%;object-fit:cover}.game-detail-badge{font-size:12px;color:var(--gold)}.game-detail-heading h2{margin:12px 0;font-size:30px}.game-detail-engine{color:var(--muted);font-size:14px}.game-detail-copy{margin:20px 0;color:var(--muted);line-height:1.75}.game-detail-copy p{margin-bottom:14px}.game-detail-copy small{font-size:12px}.game-detail-links{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;color:var(--gold)}.pn-catalog .chip{cursor:pointer}
@media(max-width:900px){.pn-reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pn-demo-body aside{display:none}.pn-demo-games{padding:20px;gap:12px}.catalog-controls{grid-template-columns:1fr 1fr}.catalog-search{grid-column:1/-1}.pn-latest-feature{grid-template-columns:1fr}.pn-latest-feature>img{max-height:260px;object-fit:cover}.hn-actions>.pn-language{display:none}}
@media(max-width:640px){body[data-template="content"] .grid.g3,body[data-template="content"] .grid.g2{grid-template-columns:1fr}.pn-reviews-grid{grid-template-columns:1fr}.pn-demo-games{grid-template-columns:repeat(2,minmax(0,1fr))}.pn-demo-top span{font-size:10px;max-width:140px;text-align:right}.pn-download-card{grid-template-columns:1fr;gap:22px}.pn-download-icon img{width:64px;height:64px}.pn-price-number{font-size:64px!important}.pn-faq summary{font-size:18px}#catalog-results{grid-template-columns:1fr}.catalog-card{padding:15px;gap:10px}.catalog-card-meta{max-width:80px}.catalog-card-evidence{line-height:1.5}.catalog-controls{gap:10px}.catalog-controls input,.catalog-controls select{font-size:14px;padding:13px}.game-dialog{padding:34px 22px}.game-detail-heading h2{font-size:26px}.pn-latest-feature{gap:24px}}
@media(prefers-reduced-motion:reduce){.pn-review,.catalog-card{transition:none}}
/* Shared reference content primitives, scoped to the inner pages. */
body[data-template="content"] .gtext{color:#f7a9a2;background:linear-gradient(110deg,#fdeceb,#f7a49d 48%,#e08279);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body[data-template="content"] .btn-ghost{color:var(--text);background:rgba(255,255,255,.035);border:1px solid var(--line)}
body[data-template="content"] .btn-ghost:hover{background:rgba(174,134,255,.1);border-color:rgba(174,134,255,.4)}
body[data-template="content"] .sg-skip{position:fixed;left:16px;top:8px;padding:10px 18px;transform:translateY(-150%);z-index:1000;background:var(--gold);color:#171718;border-radius:10px}
body[data-template="content"] .sg-skip:focus{transform:translateY(0)}
body[data-template="content"] .sg-footer{border-top:1px solid var(--line);background:rgba(7,10,23,.55);padding:58px 0 24px}
body[data-template="content"] .sg-footer-inner{display:grid;grid-template-columns:240px 1fr;gap:40px}
body[data-template="content"] .sg-brand{display:inline-flex;align-items:center;gap:12px;font-size:25px;font-weight:700}
body[data-template="content"] .sg-brand img{border-radius:9px}
body[data-template="content"] .sg-footer-brand p{color:var(--muted);font-size:13px;line-height:1.8;margin:18px 0}
body[data-template="content"] .sg-footer-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
body[data-template="content"] .sg-footer-column h3{font-size:13px;font-weight:550;color:var(--text);margin:0 0 18px}
body[data-template="content"] .sg-footer-column a{display:block;margin:10px 0;color:var(--muted);font-size:12px}
body[data-template="content"] .sg-footer-column a:hover{color:var(--gold)}
body[data-template="content"] .sg-copyright{grid-column:1/-1;display:flex;justify-content:space-between;gap:28px;padding-top:26px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
body[data-template="content"] .chip{display:inline-flex;align-items:center;border:1px solid var(--line);padding:8px 14px;background:rgba(255,255,255,.03);border-radius:999px;font:inherit;font-size:12px;line-height:1.3}
body[data-template="content"] .chips{display:flex;flex-wrap:wrap;gap:10px}
body[data-template="content"] .pn-actions{display:flex}
body[data-template="content"] .pn-center .display{max-width:unset}
body[data-template="content"] .site-main .section-tight.page-hero .gtext{display:inline}
@media(max-width:1000px){body[data-template="content"] .sg-footer-inner{grid-template-columns:1fr}body[data-template="content"] .sg-copyright{grid-column:auto}}
@media(max-width:640px){body[data-template="content"] .sg-footer-menu{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-template="content"] .sg-copyright{flex-direction:column;gap:12px}}

/* Shared Viorun liquid glass across the complete site. */
body.site-glass .site-main :is(.card,.surface) {
  background:linear-gradient(135deg,#f8aea712,#2d2d309c 50%,#222225bb);
  border-color:#fce1df2e;
  box-shadow:inset 0 1px 0 #ffffff14,inset 0 -1px 0 #13131540,0 20px 55px #0c0c0c38;
  backdrop-filter:blur(24px) saturate(150%);
  -webkit-backdrop-filter:blur(24px) saturate(150%);
}
body.site-glass .site-main .gtext { background:linear-gradient(115deg,#facbc7,#f7a69f 55%,#db766d); background-clip:text; -webkit-background-clip:text; color:transparent; }
body.site-glass .site-main .pn-library-illustration { box-shadow:0 20px 85px #00000066,0 0 75px #df7e7515,inset 0 1px 0 #ffffff14; }
