/* AnyPS5 Easy — NEW LOOK (preview: ?design=new). Loaded after site.css; every rule is scoped to html.d-new,
   so the current site is never affected. Look only: no data, no flows, the same ad places.

   Direction: "a cinema lobby at night" — deep blue-black room, lit posters, the screen's glow on the walls.
   Type: Alexandria (display) × Readex Pro (text). Signature: the ambient glow + the drifting poster wall. */

/* ================================================================ tokens */
html.d-new {
  --ink-990: oklch(0.11 0.014 265);
  --ink-950: oklch(0.135 0.015 265);
  --ink-900: oklch(0.165 0.016 265);
  --ink-850: oklch(0.195 0.017 265);
  --ink-800: oklch(0.23 0.018 265);
  --ink-700: oklch(0.29 0.02 265);
  --blue-500: oklch(0.66 0.19 255);
  --blue-400: oklch(0.75 0.15 252);
  --gold-400: oklch(0.84 0.14 85);

  --bg: var(--ink-950);
  --bg-2: var(--ink-900);
  --surface: var(--ink-850);
  --surface-2: var(--ink-800);
  --surface-3: var(--ink-700);
  --line: oklch(1 0 0 / 0.075);
  --line-2: oklch(1 0 0 / 0.14);
  --text: oklch(0.97 0.004 265);
  --muted: oklch(0.77 0.012 265);
  --faint: oklch(0.61 0.014 265);
  --accent: var(--blue-500);
  --accent-2: var(--blue-400);

  --display: "Alexandria", "Readex Pro", system-ui, sans-serif;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-ui: 180ms;
  --glow-a: oklch(0.58 0.2 258 / 0.55);
  --glow-b: oklch(0.55 0.22 320 / 0.32);
  --lift: 0 30px 70px -30px oklch(0 0 0 / 0.9);
}
html.d-new body { background: var(--bg); }
html.d-new ::selection { background: oklch(0.66 0.19 255 / 0.45); }

/* ================================================================ ambient glow (the room) */
html.d-new .ambient { position: fixed; inset: -10vmax; z-index: -1; pointer-events: none; overflow: hidden; }
html.d-new .ambient i { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(90px) saturate(165%); opacity: 0; transform: scale(1.1); transition: opacity 1.2s var(--ease), transform 8s linear; }
html.d-new .ambient i.on { opacity: 0.6; transform: scale(1); }
html.d-new .ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 80% at 50% 0%, transparent 0%, oklch(0.135 0.015 265 / 0.55) 55%, var(--bg) 90%), linear-gradient(to bottom, transparent 55%, var(--bg) 96%); }
html.d-new body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.5;
  background: radial-gradient(60% 45% at 85% -5%, var(--glow-a), transparent 70%), radial-gradient(45% 35% at 5% 0%, var(--glow-b), transparent 70%); }
@media (max-width: 760px) { html.d-new .ambient i.on { opacity: 0.4; } html.d-new .ambient i { filter: blur(60px) saturate(150%); } }

/* ================================================================ type */
html.d-new h1, html.d-new h2, html.d-new .page-head h1, html.d-new .footer-cta h2, html.d-new .slide-body h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
html.d-new[lang="ar"] h1, html.d-new[lang="ar"] h2, html.d-new[lang="ar"] h3 { letter-spacing: 0; }
html.d-new h3 { font-family: var(--display); font-weight: 600; }

/* ================================================================ nav */
html.d-new .topbar { background: oklch(0.135 0.015 265 / 0.5); border-bottom-color: transparent; transition: background var(--t-ui) ease-out, border-color var(--t-ui) ease-out, box-shadow var(--t-ui); }
html.d-new .topbar.is-scrolled { background: oklch(0.135 0.015 265 / 0.88); border-bottom-color: var(--line); box-shadow: 0 10px 40px -20px oklch(0 0 0 / 0.8); }
html.d-new .nav-links a { font-weight: 500; }
html.d-new .nav-links a[aria-current="page"] { background: oklch(1 0 0 / 0.08); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08); color: #fff; }
html.d-new .search input { background: oklch(1 0 0 / 0.06); border-color: var(--line); }
html.d-new .search input:focus { background: oklch(1 0 0 / 0.09); border-color: oklch(0.75 0.15 252 / 0.6); box-shadow: 0 0 0 4px oklch(0.66 0.19 255 / 0.18); }
html.d-new .brand-logo { box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1), 0 8px 24px -8px var(--accent); }
html.d-new .dropdown { background: oklch(0.2 0.017 265 / 0.92); backdrop-filter: blur(16px) saturate(150%); border-color: var(--line-2); border-radius: var(--r); }

/* ================================================================ buttons & badges */
html.d-new .btn { font-weight: 600; transition: transform var(--t-ui) var(--ease), background var(--t-ui), box-shadow 260ms var(--ease), filter var(--t-ui), border-color var(--t-ui); }
html.d-new .btn-white { background: linear-gradient(180deg, #fff, oklch(0.93 0.005 265)); box-shadow: inset 0 -2px 0 oklch(0 0 0 / 0.12), 0 12px 32px -12px oklch(1 0 0 / 0.5); }
html.d-new .btn-accent { background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.3), 0 12px 32px -10px oklch(0.66 0.19 255 / 0.85); }
html.d-new .btn-ghost { background: oklch(1 0 0 / 0.07); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1); backdrop-filter: blur(12px); }
html.d-new .btn-outline { border-color: var(--line-2); }
html.d-new .btn-gold { box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.45), 0 12px 32px -12px oklch(0.84 0.14 85 / 0.7); }
@media (hover: hover) {
  html.d-new .btn-white:hover, html.d-new .btn-accent:hover, html.d-new .btn-gold:hover { transform: translateY(-2px); }
  html.d-new .btn-white:hover { box-shadow: inset 0 -2px 0 oklch(0 0 0 / 0.12), 0 18px 40px -12px oklch(1 0 0 / 0.6); }
  html.d-new .btn-accent:hover { filter: brightness(1.08); }
  html.d-new .btn-ghost:hover, html.d-new .btn-outline:hover { background: oklch(1 0 0 / 0.12); }
}
html.d-new .btn:active { transform: translateY(0) scale(0.98); }
html.d-new .badge { border-radius: 999px; }
html.d-new .icon-btn { background: oklch(1 0 0 / 0.07); box-shadow: inset 0 0 0 1px var(--line); }

/* ================================================================ NEW HOME (.nx) */
html.d-new .nx { overflow-x: clip; }
html.d-new .nx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
html.d-new[lang="ar"] .nx-eyebrow { letter-spacing: 0.02em; font-size: 14px; }
html.d-new .nx-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
html.d-new .nx-sec-head { margin-bottom: 40px; max-width: 820px; }
html.d-new .nx-sec-head h2 { font-size: clamp(32px, 2.6vw + 16px, 60px); line-height: 1.08; }
html.d-new[lang="ar"] .nx-sec-head h2 { line-height: 1.25; }
html.d-new .nx-sec-head.nx-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }

/* ---- hero: poster wall + the app */
html.d-new .nx-hero { position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); min-height: min(100svh, 980px); display: grid; isolation: isolate; overflow: hidden; }
html.d-new .nx-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 90% at var(--txt-x, 25%) 50%, oklch(0.135 0.015 265 / 0.92) 0%, oklch(0.135 0.015 265 / 0.55) 55%, transparent 100%), linear-gradient(to bottom, oklch(0.135 0.015 265 / 0.5), transparent 25%, transparent 70%, var(--bg) 100%); }
html.d-new[dir="rtl"] .nx-hero::after { --txt-x: 75%; }
html.d-new .nx-wall { position: absolute; inset: 0; z-index: 0; perspective: 1500px; opacity: 0.78; }
html.d-new .nx-wall-plane { position: absolute; inset: -30% -40%; display: grid; align-content: center; gap: 22px; transform: rotateX(24deg) rotateZ(-11deg) scale(1.05); transform-origin: center; }
html.d-new[dir="rtl"] .nx-wall-plane { transform: rotateX(24deg) rotateZ(11deg) scale(1.05); }
html.d-new .nx-wall-row { display: flex; gap: 22px; width: max-content; animation: nx-drift 120s linear infinite; }
html.d-new .nx-wall-row:nth-child(2n) { animation-duration: 150s; animation-direction: reverse; }
html.d-new .nx-wall-row:nth-child(3) { animation-duration: 105s; }
html.d-new .nx-wall-row i { flex: none; width: 380px; aspect-ratio: 16 / 10; border-radius: 14px; background: #0d0c0b center top / cover; box-shadow: 0 30px 60px -30px oklch(0 0 0 / 0.9), 0 0 0 1px oklch(1 0 0 / 0.1); filter: brightness(0.85) saturate(1.1); }
@keyframes nx-drift { to { transform: translateX(-50%); } }
html.d-new .nx-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 72px); padding-block: clamp(48px, 7vh, 96px) clamp(80px, 12vh, 140px); }
html.d-new .nx-copy { max-width: 620px; }
html.d-new .nx-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: oklch(1 0 0 / 0.07); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.12); backdrop-filter: blur(12px); }
html.d-new .nx-kicker i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.8 0.18 150); box-shadow: 0 0 0 0 oklch(0.8 0.18 150 / 0.6); animation: nx-ping 2.4s var(--ease) infinite; }
@keyframes nx-ping { 70% { box-shadow: 0 0 0 9px oklch(0.8 0.18 150 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.8 0.18 150 / 0); } }
html.d-new .nx-title { margin: 22px 0 20px; font-size: clamp(44px, 4.6vw + 10px, 100px); line-height: 1.0; font-weight: 800; text-shadow: 0 10px 60px oklch(0 0 0 / 0.6); }
html.d-new[lang="ar"] .nx-title { line-height: 1.2; }
html.d-new .nx-brand { display: block; margin-bottom: 18px; font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); text-shadow: 0 0 24px var(--accent); }
html.d-new[lang="ar"] .nx-brand { letter-spacing: 0.12em; }
html.d-new .nx-lead { font-size: clamp(16px, 0.4vw + 14px, 19px); color: var(--muted); max-width: 52ch; margin-bottom: 30px; line-height: 1.75; }
html.d-new .nx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
html.d-new .nx-cta-main { --h: 58px; padding: 0 34px; font-size: 16.5px; }
html.d-new .nx-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--faint); font-size: 13.5px; }
html.d-new .nx-trust li { display: inline-flex; align-items: center; gap: 8px; }
html.d-new .nx-trust svg { width: 15px; height: 15px; color: var(--accent-2); }

html.d-new .nx-device { position: relative; perspective: 1800px; }
html.d-new .nx-device .art { position: relative; inset: auto; overflow: visible; background: none; }
html.d-new .nx-device .art::before { display: none; }
html.d-new .nx-device .appwin { position: relative; inset: auto; width: 100%; top: auto; border-radius: 16px;
  transform: rotateY(calc(-14deg + var(--ry, 0deg))) rotateX(calc(7deg + var(--rx, 0deg))) translateZ(0);
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.12), 0 60px 120px -40px oklch(0 0 0 / 0.95), 0 0 140px -30px var(--glow-a);
  transition: transform 0.9s var(--ease-out); animation: nx-float 8s ease-in-out infinite; }
html.d-new[dir="rtl"] .nx-device .appwin { transform: rotateY(calc(14deg + var(--ry, 0deg))) rotateX(calc(7deg + var(--rx, 0deg))) translateZ(0); }
@keyframes nx-float { 50% { translate: 0 -14px; } }
html.d-new .nx-device-glow { position: absolute; inset: auto 8% -14% 8%; height: 40%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-a), transparent); filter: blur(30px); }
html.d-new .nx-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px oklch(1 0 0 / 0.3); }
html.d-new .nx-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: nx-cue 1.8s var(--ease) infinite; }
@keyframes nx-cue { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* ---- facts strip */
html.d-new .nx-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -40px; position: relative; z-index: 3; border-radius: var(--r-lg);
  background: oklch(0.19 0.017 265 / 0.7); backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 0 0 1px var(--line-2), var(--lift); }
html.d-new .nx-fact { padding: 26px 28px; display: grid; gap: 4px; }
html.d-new .nx-fact + .nx-fact { border-inline-start: 1px solid var(--line); }
html.d-new .nx-fact b { font-family: var(--display); font-size: clamp(36px, 2vw + 20px, 54px); line-height: 1; font-weight: 800; color: #fff; text-shadow: 0 0 30px oklch(0.66 0.19 255 / 0.45); }
html.d-new .nx-fact span { color: var(--muted); font-size: 14px; }

/* ---- story: a sticky screen + steps */
html.d-new .nx-story { padding-block: clamp(90px, 12vh, 150px) 40px; }
html.d-new .nx-story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
html.d-new .nx-story-media { position: sticky; top: calc(var(--nav-h) + 6vh); }
html.d-new .nx-screen { margin: 0; border-radius: 18px; overflow: hidden; background: #0d0c0b; box-shadow: 0 0 0 1px oklch(1 0 0 / 0.12), var(--lift), 0 0 160px -50px var(--glow-a); }
html.d-new .nx-screen-imgs { position: relative; aspect-ratio: 16 / 10; }
html.d-new .nx-screen-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
html.d-new .nx-screen-imgs img.on { opacity: 1; transform: none; }
html.d-new .nx-steps { list-style: none; margin: 0; padding: 0; display: grid; }
html.d-new .nx-step { position: relative; padding-block: clamp(28px, 7vh, 70px); padding-inline-start: 28px; border-inline-start: 2px solid var(--line); opacity: 0.38; transition: opacity 0.5s var(--ease); }
html.d-new .nx-step::before { content: ""; position: absolute; inset-inline-start: -2px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--accent-2), var(--accent)); transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--ease); box-shadow: 0 0 14px var(--accent); }
html.d-new .nx-step.on { opacity: 1; }
html.d-new .nx-step.on::before { transform: scaleY(1); }
html.d-new .nx-num { display: block; font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--accent-2); letter-spacing: 0.1em; margin-bottom: 10px; }
html.d-new .nx-step h3 { font-size: clamp(24px, 1.2vw + 16px, 36px); margin-bottom: 10px; }
html.d-new .nx-step p { color: var(--muted); font-size: 16px; max-width: 42ch; margin: 0; }

/* ---- features */
html.d-new .nx-bento { padding-block: clamp(70px, 10vh, 120px) 20px; }
html.d-new .nx-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
html.d-new .nx-tile { position: relative; overflow: hidden; padding: 30px; border-radius: var(--r-lg); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.05), oklch(1 0 0 / 0.015)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08), inset 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
html.d-new .nx-tile::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.4s var(--ease); background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), oklch(0.66 0.19 255 / 0.22), transparent 70%); }
html.d-new .nx-tile > * { position: relative; z-index: 1; }
@media (hover: hover) { html.d-new .nx-tile:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.12), inset 0 0 0 1px var(--line-2), var(--lift); } html.d-new .nx-tile:hover::before { opacity: 1; } }
html.d-new .nx-t1 { grid-column: span 4; }
html.d-new .nx-t2 { grid-column: span 2; }
html.d-new .nx-t3 { grid-column: span 2; }
html.d-new .nx-t4 { grid-column: span 4; }
html.d-new .nx-tile h3 { font-size: clamp(22px, 0.8vw + 16px, 30px); margin: 18px 0 8px; }
html.d-new .nx-tile p { color: var(--muted); margin: 0; max-width: 52ch; }
html.d-new .nx-tile-vis { flex: 1; display: flex; align-items: center; min-height: 120px; }
html.d-new .nx-vis-steps { gap: 10px; flex-wrap: wrap; }
html.d-new .nx-vis-steps span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: oklch(1 0 0 / 0.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: var(--muted); }
html.d-new .nx-vis-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: oklch(1 0 0 / 0.1); color: #fff; }
html.d-new .nx-vis-steps span.done { color: var(--text); }
html.d-new .nx-vis-steps span.done b { background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 0 16px -2px var(--accent); }
html.d-new .nx-vis-fps { position: relative; align-items: flex-end; gap: 8px; }
html.d-new .nx-vis-fps b { font-family: var(--display); font-size: 72px; line-height: 0.9; font-weight: 800; color: oklch(0.85 0.17 150); text-shadow: 0 0 40px oklch(0.8 0.18 150 / 0.5); }
html.d-new .nx-vis-fps small { color: var(--muted); font-weight: 600; margin-bottom: 8px; }
html.d-new .nx-vis-fps svg { position: absolute; inset: 0 0 auto auto; width: 60%; height: 70%; opacity: 0.7; }
html.d-new[dir="rtl"] .nx-vis-fps svg { inset: 0 auto auto 0; transform: scaleX(-1); }
html.d-new .nx-vis-fps polyline { fill: none; stroke: oklch(0.85 0.17 150); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 6px oklch(0.8 0.18 150 / 0.6)); }
html.d-new .nx-vis-pad { gap: 14px; }
html.d-new .nx-vis-pad span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: oklch(1 0 0 / 0.05); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
html.d-new .nx-vis-pad span:nth-child(1) { color: oklch(0.75 0.13 250); }
html.d-new .nx-vis-pad span:nth-child(2) { color: oklch(0.7 0.18 25); }
html.d-new .nx-vis-pad span:nth-child(3) { color: oklch(0.8 0.15 165); }
html.d-new .nx-vis-pad span:nth-child(4) { color: oklch(0.75 0.15 340); }
@media (hover: hover) {
  html.d-new .nx-t3:hover .nx-vis-pad span { transform: translateY(-4px); box-shadow: inset 0 0 0 1px currentColor, 0 0 24px -6px currentColor; }
  html.d-new .nx-t3:hover .nx-vis-pad span:nth-child(2) { transition-delay: 40ms; }
  html.d-new .nx-t3:hover .nx-vis-pad span:nth-child(3) { transition-delay: 80ms; }
  html.d-new .nx-t3:hover .nx-vis-pad span:nth-child(4) { transition-delay: 120ms; }
}
html.d-new .nx-vis-lib { gap: 12px; }
html.d-new .nx-vis-lib i { flex: 1; max-width: 110px; aspect-ratio: 3 / 4; border-radius: 12px; background: var(--g); box-shadow: var(--lift); transition: transform 0.4s var(--ease); }
html.d-new .nx-vis-lib i:nth-child(2n) { transform: translateY(14px); }
@media (hover: hover) { html.d-new .nx-t4:hover .nx-vis-lib i { transform: translateY(-6px) rotate(-2deg); } html.d-new .nx-t4:hover .nx-vis-lib i:nth-child(2n) { transform: translateY(6px) rotate(2deg); } }

/* ---- rails, ticket, news, ads on the new home */
html.d-new .nx-rails { padding-top: 40px; }
html.d-new .nx-ad { padding-block: 26px; }
html.d-new .nx-ticket { position: relative; margin-block: 70px; display: grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(70% 120% at 0% 0%, oklch(0.84 0.14 85 / 0.16), transparent 60%), linear-gradient(120deg, oklch(0.22 0.03 70), oklch(0.17 0.02 265));
  box-shadow: inset 0 0 0 1px oklch(0.84 0.14 85 / 0.3), var(--lift), 0 0 120px -60px oklch(0.84 0.14 85 / 0.6); }
html.d-new .nx-ticket-main { padding: clamp(28px, 4vw, 54px); }
html.d-new .nx-ticket-main h2 { font-size: clamp(28px, 2vw + 16px, 48px); margin: 16px 0 10px; }
html.d-new .nx-ticket-main p { color: var(--muted); max-width: 56ch; margin: 0; }
html.d-new .nx-ticket-stub { position: relative; padding: clamp(28px, 4vw, 54px); display: grid; align-content: center; justify-items: start; gap: 14px; border-inline-start: 2px dashed oklch(0.84 0.14 85 / 0.35); }
html.d-new .nx-ticket-stub::before, html.d-new .nx-ticket-stub::after { content: ""; position: absolute; inset-inline-start: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
html.d-new .nx-ticket-stub::before { top: -13px; }
html.d-new .nx-ticket-stub::after { bottom: -13px; }
html.d-new .nx-price { font-family: var(--display); font-size: clamp(24px, 1vw + 18px, 34px); font-weight: 700; color: var(--gold-400); }
html.d-new .nx-news { padding-block: 40px; }
html.d-new .nx-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
html.d-new .nx-news-card { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: oklch(1 0 0 / 0.035); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s; }
html.d-new .nx-news-card .date { font-size: 12.5px; color: var(--accent-2); font-weight: 600; }
html.d-new .nx-news-card h3 { font-size: 19px; line-height: 1.35; }
html.d-new .nx-news-card p { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) { html.d-new .nx-news-card:hover { transform: translateY(-4px); background: oklch(1 0 0 / 0.06); box-shadow: inset 0 0 0 1px var(--line-2), var(--lift); } }

/* ---- responsive */
@media (max-width: 1100px) {
  html.d-new .nx-hero-in { grid-template-columns: 1fr; }
  html.d-new .nx-device { max-width: 760px; }
  html.d-new .nx-story-grid { grid-template-columns: 1fr; }
  html.d-new .nx-story-media { top: calc(var(--nav-h) + 8px); z-index: 2; }
  html.d-new .nx-step { padding-block: 34px; }
}
@media (max-width: 860px) {
  html.d-new .nx-facts { grid-template-columns: repeat(2, 1fr); }
  html.d-new .nx-fact:nth-child(3) { border-inline-start: 0; }
  html.d-new .nx-fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  html.d-new .nx-tiles { grid-template-columns: 1fr; }
  html.d-new .nx-t1, html.d-new .nx-t2, html.d-new .nx-t3, html.d-new .nx-t4 { grid-column: auto; }
  html.d-new .nx-news-grid { grid-template-columns: 1fr; }
  html.d-new .nx-ticket { grid-template-columns: 1fr; }
  html.d-new .nx-ticket-stub { border-inline-start: 0; border-top: 2px dashed oklch(0.84 0.14 85 / 0.35); }
  html.d-new .nx-ticket-stub::before, html.d-new .nx-ticket-stub::after { display: none; }
  html.d-new .nx-wall-row i { width: 240px; }
  html.d-new .nx-hero::after { background: linear-gradient(to bottom, oklch(0.135 0.015 265 / 0.75), oklch(0.135 0.015 265 / 0.85) 50%, var(--bg)); }
}
@media (max-width: 640px) {
  html.d-new .nx-device .appwin { display: block; transform: none; animation: none; }
  html.d-new .nx-device .appdemo-hint { display: none; }
  html.d-new .nx-cue { display: none; }
  html.d-new .nx-fact { padding: 20px; }
}

/* ================================================================ every other page */
html.d-new .page-head { padding: 72px 0 36px; }
html.d-new .page-head h1 { font-size: clamp(36px, 3.4vw + 16px, 72px); line-height: 1.05; }
html.d-new[lang="ar"] .page-head h1 { line-height: 1.22; }
html.d-new .page-head p { font-size: 17px; max-width: 60ch; }
html.d-new .section { padding: 46px 0; }
html.d-new .section-title { margin-bottom: 22px; }
html.d-new .section-title h2 { font-size: clamp(22px, 1vw + 16px, 32px); }
html.d-new .section-title h2::before { content: ""; width: 4px; height: 0.9em; border-radius: 4px; background: linear-gradient(var(--accent-2), var(--accent)); box-shadow: 0 0 14px var(--accent); margin-inline-end: 6px; }

html.d-new .card .cover { border-radius: var(--r); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px oklch(0 0 0 / 0.9); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
@media (hover: hover) {
  html.d-new .card:hover .cover, html.d-new .card:focus-visible .cover { transform: translateY(-6px) scale(1.015); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.24), 0 30px 54px -24px oklch(0 0 0 / 0.95), 0 0 56px -12px var(--glow-a); }
  html.d-new .card:hover h3 { color: #fff; }
}
html.d-new .card h3 { font-weight: 500; font-family: var(--font); }

html.d-new .stage { border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -40px oklch(0 0 0 / 0.9), 0 0 120px -40px var(--glow-a); }
html.d-new .slide-body .kicker { color: var(--accent-2); font-weight: 600; }
html.d-new .thumb.on { background: oklch(1 0 0 / 0.07); box-shadow: inset 0 0 0 1px var(--line-2); }

html.d-new .panel, html.d-new .auth-card, html.d-new .center-card, html.d-new .info-card, html.d-new .plan, html.d-new .profile-card, html.d-new .discord-card, html.d-new .wait-card, html.d-new .upsell, html.d-new .faq details, html.d-new .guide-step, html.d-new .spec, html.d-new .facts, html.d-new .compat-table {
  border-radius: var(--r-lg); background: linear-gradient(180deg, oklch(1 0 0 / 0.045), oklch(1 0 0 / 0.02)); border-color: var(--line); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06);
}
html.d-new .plan { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
@media (hover: hover) { html.d-new .plan:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.1), var(--lift); } }
html.d-new .input, html.d-new input[type="text"], html.d-new input[type="email"], html.d-new input[type="password"], html.d-new select, html.d-new textarea {
  border-radius: 12px; background: oklch(1 0 0 / 0.05); border-color: var(--line-2); transition: border-color var(--t-ui), box-shadow var(--t-ui), background var(--t-ui);
}
html.d-new .input:focus, html.d-new input[type="text"]:focus, html.d-new input[type="email"]:focus, html.d-new input[type="password"]:focus, html.d-new select:focus, html.d-new textarea:focus { border-color: oklch(0.75 0.15 252 / 0.7); box-shadow: 0 0 0 4px oklch(0.66 0.19 255 / 0.18); outline: none; }
html.d-new .cat-chip, html.d-new .genre-chip { background: oklch(1 0 0 / 0.05); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--t-ui), transform var(--t-ui) var(--ease); }
@media (hover: hover) { html.d-new .cat-chip:hover, html.d-new .genre-chip:hover { background: oklch(1 0 0 / 0.1); transform: translateY(-1px); } }
html.d-new .faq summary { font-family: var(--display); font-weight: 600; }
html.d-new .tile { border-radius: var(--r-lg); background: linear-gradient(180deg, oklch(1 0 0 / 0.045), oklch(1 0 0 / 0.015)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.07), 0 0 0 1px var(--line); }
html.d-new .tile h3 { font-family: var(--display); }
html.d-new .promo { border-radius: var(--r-lg); box-shadow: 0 0 0 1px oklch(0.84 0.14 85 / 0.35), 0 0 120px -50px oklch(0.84 0.14 85 / 0.6); }
html.d-new .news-card { border-radius: var(--r-lg); background: oklch(1 0 0 / 0.035); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.35s var(--ease); }
@media (hover: hover) { html.d-new .news-card:hover { transform: translateY(-3px); } }
html.d-new .product-head h1 { font-size: clamp(32px, 2.4vw + 16px, 60px); }
html.d-new .gallery img, html.d-new .wait-shots img { border-radius: var(--r); }
html.d-new .ad { background: oklch(1 0 0 / 0.03); border-color: var(--line); border-radius: var(--r); }
html.d-new .site-footer { background: linear-gradient(to bottom, transparent, var(--ink-990)); border-top: 1px solid var(--line); }
html.d-new .footer-cta { border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line-2), 0 0 140px -50px var(--glow-a); }
html.d-new .footer-cta h2 { font-size: clamp(30px, 2vw + 18px, 52px); }

/* ================================================================ motion */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms ease-in both nx-fade-out; }
::view-transition-new(root) { animation: 280ms cubic-bezier(0.22, 1, 0.36, 1) both nx-fade-in; }
@keyframes nx-fade-out { to { opacity: 0; } }
@keyframes nx-fade-in { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) {
  html.d-new .nx-wall-row, html.d-new .nx-device .appwin, html.d-new .nx-kicker i, html.d-new .nx-cue span { animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ================================================================ preview switch */
html.d-new .design-pill { position: fixed; z-index: 70; bottom: 16px; inset-inline-start: 16px; padding: 7px 13px; border-radius: 999px; font-size: 12px; color: var(--text);
  background: oklch(0.66 0.19 255 / 0.22); border: 1px solid oklch(0.75 0.15 252 / 0.45); backdrop-filter: blur(10px); }
html.d-new .design-pill:hover { background: oklch(0.66 0.19 255 / 0.34); }
html.d-new body.has-anchor .design-pill { bottom: 128px; }
html.d-new .nx-hero.nx-off .nx-wall-row, html.d-new .nx-hero.nx-off .appwin { animation-play-state: paused; }
html.d-new .nx-wall-row { will-change: transform; }
html.d-new .nx-wall-row i.c { width: 200px; aspect-ratio: 3 / 4; border-radius: 16px; background-position: center; filter: brightness(0.8) saturate(1.15); }
@media (max-width: 860px) { html.d-new .nx-wall-row i.c { width: 130px; } }
