/* web32: the website redesign — premium fantasy MMORPG look for day AND night, loaded LAST on every website page:
   the landing pages /<lang>/ and /<lang>/jobs/ (server/web2.js), the game's own site at / (site.js) and the signed-in
   account page (screens.js showSelect: header, menu tiles, character cards). Not the in-game HUD / windows.
   Night = deep navy → indigo / violet sky with aurora and stars, glowing gold, glass panels with fine gold borders.
   Day   = sapphire sky → pearl white with gold — bright, never washed out (text keeps WCAG AA contrast).
   It re-points the web12 / web2 tokens, so the older sections follow, and styles the new web32 sections (.x32-*:
   devices, features, jobs, news — public/js/web32sec.js). No inline styles (CSP); motion respects prefers-reduced-motion. */

/* ================================================================ tokens */
:root {
  --x32-sky:
    radial-gradient(1100px 520px at 12% -6%, rgba(70, 224, 210, .17), transparent 62%),
    radial-gradient(1000px 640px at 88% -4%, rgba(146, 98, 255, .32), transparent 62%),
    radial-gradient(900px 520px at 50% 108%, rgba(255, 170, 80, .1), transparent 62%),
    linear-gradient(180deg, #050821 0%, #0a0f34 26%, #151249 58%, #0b0b28 100%);
  --x32-panel: linear-gradient(180deg, rgba(40, 46, 116, .58), rgba(14, 16, 50, .8));
  --x32-panel-solid: #12153f;
  --x32-line: rgba(245, 205, 106, .2); --x32-line2: rgba(245, 205, 106, .52);
  --x32-ink: #eef0ff; --x32-ink2: #c6cbef; --x32-mute: #959cc9;
  --x32-head: #fff4d6; --x32-acc: #f5cd6a; --x32-acc2: #e2a53c; --x32-vio: #9a78ff; --x32-cyan: #4fe3d4;
  --x32-gold: linear-gradient(180deg, #fff7d6 0%, #f8d77f 34%, #e1a73e 66%, #b4771a 100%);
  --x32-headgrad: linear-gradient(180deg, #fffaf0 0%, #ffe49d 46%, #e6a741 100%);
  --x32-shadow: 0 24px 60px rgba(3, 4, 22, .55);
  --x32-glow: rgba(245, 205, 106, .3);
  --x32-ring: conic-gradient(from 210deg, #fff3c4, #e0a63d, #8a5a12, #f5cd6a, #fff3c4);
  --x32-chip: rgba(18, 22, 62, .6);
  --x32-r: 22px;
  --x32-wrap: 1200px;
  --x32-serif: "IRO Serif", Kanit, "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="light"] {
  --x32-sky:
    radial-gradient(1000px 560px at 82% -8%, rgba(255, 255, 255, .95), transparent 60%),
    radial-gradient(900px 520px at 6% 6%, rgba(110, 185, 255, .6), transparent 62%),
    radial-gradient(1000px 600px at 50% 102%, rgba(255, 214, 140, .35), transparent 62%),
    linear-gradient(180deg, #2a72e0 0%, #579ff2 20%, #a3cefa 44%, #e6f2ff 70%, #fbf8f0 100%);
  --x32-panel: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(242, 247, 255, .9));
  --x32-panel-solid: #ffffff;
  --x32-line: rgba(28, 78, 170, .16); --x32-line2: rgba(190, 140, 44, .55);
  --x32-ink: #0f1c3f; --x32-ink2: #304370; --x32-mute: #55668f;
  --x32-head: #0b1f52; --x32-acc: #8a5a00; --x32-acc2: #c4901f; --x32-vio: #5b3fd0; --x32-cyan: #0b7f86;
  --x32-headgrad: linear-gradient(180deg, #1646a6 0%, #0b1f52 100%);
  --x32-shadow: 0 18px 44px rgba(22, 64, 150, .16);
  --x32-glow: rgba(255, 192, 72, .38);
  --x32-chip: rgba(255, 255, 255, .82);
}

/* the older web12 / web2 sections take the new palette */
:root, body.w2 {
  --w12-card: var(--x32-panel); --w12-card-solid: var(--x32-panel-solid);
  --w12-line: var(--x32-line); --w12-line2: var(--x32-line2);
  --w12-ink: var(--x32-ink); --w12-ink2: var(--x32-ink2); --w12-mute: var(--x32-mute);
  --w12-head: var(--x32-head); --w12-acc: var(--x32-acc); --w12-acc2: var(--x32-acc2);
  --w12-gold: var(--x32-gold); --w12-headgrad: var(--x32-headgrad); --w12-shadow: var(--x32-shadow); --w12-glow: var(--x32-glow);
  --w12-band: linear-gradient(90deg, transparent, rgba(154, 120, 255, .16) 30%, rgba(79, 227, 212, .12) 70%, transparent), linear-gradient(180deg, rgba(10, 12, 40, .7), rgba(16, 14, 54, .7));
  --w12-r: var(--x32-r);
}
:root[data-theme="light"], :root[data-theme="light"] body.w2 {
  --w12-band: linear-gradient(90deg, transparent, rgba(255, 214, 120, .35) 30%, rgba(120, 190, 255, .3) 70%, transparent), linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(236, 245, 255, .9));
}
body.w2 {
  --w2-n0: #070a26; --w2-n1: #0c1034; --w2-n2: #16174a; --w2-n3: #22235e; --w2-n4: #2f2f78;
  --w2-ink: var(--x32-ink); --w2-ink2: var(--x32-ink2); --w2-muted: var(--x32-mute); --w2-line: var(--x32-line); --w2-line2: var(--x32-line2);
  --w2-card: var(--x32-panel); --w2-gold: var(--x32-gold);
  background: #070a26 !important;
}
/* the sky as one fixed layer (composited once, cheap to scroll) */
body.w2::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--x32-sky); }
:root[data-theme="light"] body.w2 {
  --w2-n0: #eef5ff; --w2-n1: #ffffff; --w2-n2: #e4effd; --w2-n3: #d3e4fb; --w2-n4: #bcd5f6;
  --w2-g1: #0b1f52; --w2-g2: #8a5a00; --w2-g3: #b5841c; --w2-g4: #8a5a00; --w2-g5: #5a3a0a;
  background: #eef5ff !important;
}
/* night stars over the whole page (cheap: one fixed layer of dots) */
body.w2::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image: radial-gradient(1.2px 1.2px at 8% 12%, #fff, transparent), radial-gradient(1px 1px at 22% 32%, #fff, transparent), radial-gradient(1.4px 1.4px at 37% 8%, #fff, transparent),
    radial-gradient(1px 1px at 51% 24%, #fff, transparent), radial-gradient(1.3px 1.3px at 66% 14%, #fff, transparent), radial-gradient(1px 1px at 79% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 92% 9%, #fff, transparent),
    radial-gradient(1px 1px at 14% 58%, #fff, transparent), radial-gradient(1.2px 1.2px at 44% 66%, #fff, transparent), radial-gradient(1px 1px at 72% 52%, #fff, transparent), radial-gradient(1.2px 1.2px at 88% 72%, #fff, transparent);
  background-size: 640px 640px; }
:root[data-theme="light"] body.w2::before { display: none; }

/* ================================================================ landing top bar */
body.w2 .w2-bar { background: linear-gradient(180deg, rgba(8, 10, 38, .86), rgba(12, 12, 46, .72)); border-bottom: 1px solid var(--x32-line2); box-shadow: 0 10px 30px rgba(2, 3, 18, .35); }
:root[data-theme="light"] body.w2 .w2-bar { background: rgba(255, 255, 255, .86); border-bottom-color: rgba(190, 140, 44, .45); box-shadow: 0 8px 26px rgba(22, 64, 150, .12); }
:root[data-theme="light"] body.w2 .w2-nav a { color: #1a2c5c; }
:root[data-theme="light"] body.w2 .w2-nav a:hover, :root[data-theme="light"] body.w2 .w2-nav a[aria-current] { color: #0b1f52; background: rgba(255, 200, 90, .2); }
.w2-theme, body.w2 .w2-lang > summary, body.w2 .w2-bar .w2-play { min-height: 44px; min-width: 44px; }
body.w2 .w2-theme { background: var(--x32-chip); border-color: var(--x32-line2); color: var(--x32-acc); }
:root[data-theme="light"] body.w2 .w2-theme, :root[data-theme="light"] body.w2 .w2-lang summary { background: #fff; color: #0b1f52; }
:root[data-theme="light"] body.w2 .w2-lang-list { background: #fff; }
:root[data-theme="light"] body.w2 .w2-lang-list a { color: #0f1c3f; }
body.w2 .w2-lang-list { background: #0e1140; }

/* ================================================================ landing hero: cinematic sky, light rays, sparkles */
body.w2 .w2-hero { min-height: min(100svh, 980px); display: grid; align-items: center; overflow: hidden; }
body.w2 .w12-scene .sky { background:
  radial-gradient(40% 32% at 50% 30%, rgba(255, 226, 160, .22), transparent 72%),
  radial-gradient(70% 45% at 18% 8%, rgba(79, 227, 212, .28), transparent 70%),
  radial-gradient(70% 50% at 85% 4%, rgba(154, 120, 255, .45), transparent 70%),
  linear-gradient(180deg, #040720 0%, #0b1240 34%, #241a62 62%, #3b2470 82%, #6a3a6a 100%); }
:root[data-theme="light"] body.w2 .w12-scene .sky { background:
  radial-gradient(42% 36% at 50% 34%, rgba(255, 250, 225, .95), transparent 72%),
  radial-gradient(60% 40% at 80% 12%, rgba(255, 255, 255, .7), transparent 70%),
  linear-gradient(180deg, #1f63d6 0%, #3f8cf0 26%, #7fbaf8 52%, #cfe6ff 76%, #fff3d6 100%); }
/* aurora ribbons (night) / soft clouds (day) */
body.w2 .w12-scene .sky::after { content: ""; position: absolute; inset: -10% -20% 40% -20%; top: -90px; /* seo473: a fixed top — a hero that grows (a web font swaps in) must not move this glow (CLS) */ pointer-events: none; mix-blend-mode: screen; opacity: .55; filter: blur(28px);
  background: radial-gradient(40% 18% at 30% 40%, rgba(79, 227, 212, .7), transparent 70%), radial-gradient(35% 16% at 62% 30%, rgba(154, 120, 255, .8), transparent 70%), radial-gradient(30% 14% at 82% 46%, rgba(255, 120, 200, .45), transparent 70%);
  animation: x32-aurora 18s ease-in-out infinite alternate; }
:root[data-theme="light"] body.w2 .w12-scene .sky::after { mix-blend-mode: normal; opacity: .8; filter: blur(22px);
  background: radial-gradient(22% 9% at 20% 30%, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(26% 10% at 70% 22%, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(18% 7% at 88% 48%, rgba(255, 255, 255, .85), transparent 70%); }
@keyframes x32-aurora { from { transform: translateX(-4%) skewX(-6deg); } to { transform: translateX(4%) skewX(6deg); } }
/* rotating god rays behind the logo */
body.w2 .w2-hero-in::before { content: ""; position: absolute; left: 50%; top: 200px; /* seo473: was 22% of the hero text block — moved when a web font re-wrapped the title (CLS 0.38 on /es/) */ width: min(1100px, 170vw); aspect-ratio: 1; translate: -50% -50%; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 150, .22) 0deg 5deg, transparent 5deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 18%, transparent 72%); mask: radial-gradient(closest-side, #000 18%, transparent 72%); animation: x32-spin 90s linear infinite; will-change: rotate; }
:root[data-theme="light"] body.w2 .w2-hero-in::before { opacity: .75; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0deg 5deg, transparent 5deg 18deg); }
@keyframes x32-spin { to { rotate: 360deg; } }
.x32-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body.w2 .w12-scene .f1 { fill: #1d1d5a; } body.w2 .w12-scene .f2 { fill: #13133f; } body.w2 .w12-scene .f3 { fill: #070a26; }
:root[data-theme="light"] body.w2 .w12-scene .f1 { fill: #7fa6e0; } :root[data-theme="light"] body.w2 .w12-scene .f2 { fill: #5a83c8; } :root[data-theme="light"] body.w2 .w12-scene .f3 { fill: #eef5ff; }
:root[data-theme="light"] body.w2 .w12-scene .moon { top: 10%; background: #fffbe8; box-shadow: 0 0 80px 36px rgba(255, 236, 170, .75), 0 0 0 10px rgba(255, 255, 255, .25); }
body.w2 .w2-hero h1 { font-size: clamp(28px, 4.6vw, 54px); text-wrap: balance; background: var(--x32-headgrad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .35)); }
:root[data-theme="light"] body.w2 .w2-hero h1 { background: none; color: #0b1f52; -webkit-text-fill-color: #0b1f52; text-shadow: 0 1px 0 #fff, 0 2px 18px rgba(255, 255, 255, .9); filter: none; }
body.w2 .w2-tagline { color: var(--x32-acc); letter-spacing: .08em; text-shadow: 0 0 18px rgba(245, 205, 106, .45); }
:root[data-theme="light"] body.w2 .w2-tagline { color: #6b4300; text-shadow: 0 1px 0 rgba(255, 255, 255, .9); }
body.w2 .w2-lead { color: #dfe3ff; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
:root[data-theme="light"] body.w2 .w2-lead { color: #13254f; text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 0 16px rgba(255, 255, 255, .8); }
body.w2 .w2-hero .w2-logo { filter: drop-shadow(0 10px 40px rgba(245, 205, 106, .35)); }
:root[data-theme="light"] body.w2 .w2-hero .w2-logo { filter: drop-shadow(0 8px 26px rgba(255, 255, 255, .9)) drop-shadow(0 2px 6px rgba(22, 64, 150, .25)); }
body.w2 .w2-chips li { background: var(--x32-chip); border-color: var(--x32-line2); }
:root[data-theme="light"] body.w2 .w2-chips li { color: #0f1c3f; }
/* the big call to play */
body.w2 .w2-cta .w2-btn-gold.w2-btn-big, .x32-btn.x32-gold, .site.w12 .hero-play { position: relative; overflow: hidden; min-height: 58px; padding-inline: 38px; font-size: 19px; font-weight: 800; letter-spacing: .02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(110, 67, 16, .35), 0 0 0 4px rgba(245, 205, 106, .16), 0 14px 38px rgba(226, 165, 60, .5); }
body.w2 .w2-cta .w2-btn-gold.w2-btn-big::after, .x32-btn.x32-gold::after, .site.w12 .hero-play::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: x32-shine 3.6s ease-in-out 1.2s infinite; }
@keyframes x32-shine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
:root[data-theme="light"] body.w2 .w2-btn-ghost { background: rgba(255, 255, 255, .85); color: #0b1f52; border-color: rgba(190, 140, 44, .55); }
/* live online pill */
.x32-live { display: inline-flex; align-items: center; gap: 9px; margin: 16px auto 0; padding: 8px 16px; min-height: 40px; border-radius: 999px; font-weight: 700; font-size: 15px;
  color: #d9ffe6; background: rgba(10, 40, 30, .55); border: 1px solid rgba(94, 240, 138, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.x32-live[hidden] { display: none; }
.x32-live i { width: 10px; height: 10px; border-radius: 50%; background: #5ef08a; box-shadow: 0 0 0 0 rgba(94, 240, 138, .7); animation: w12-pulse 2s ease-out infinite; }
:root[data-theme="light"] .x32-live { color: #0d4a26; background: rgba(255, 255, 255, .9); border-color: rgba(30, 150, 80, .55); }

/* ================================================================ shared parts of the new sections */
.x32-sec, .x32-sec * { box-sizing: border-box; }
.x32-sec { width: min(var(--x32-wrap), 100%); margin-inline: auto; margin-block-start: clamp(56px, 8vw, 112px); padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); color: var(--x32-ink); scroll-margin-block-start: 80px; }
.x32-sec h2, .x32-sec h3, .x32-sec p { margin: 0; }
.x32-head { display: grid; justify-items: center; text-align: center; gap: 12px; margin-block-end: clamp(22px, 3.4vw, 40px); }
.x32-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--x32-acc); background: var(--x32-chip); border: 1px solid var(--x32-line2); }
.x32-kicker a { color: inherit; }
.x32-kicker svg { width: 18px; height: 18px; }
.x32-head h2, .x32-head h1 { font-family: var(--x32-serif); font-size: clamp(28px, 4.4vw, 50px); line-height: 1.18; max-width: 22ch; text-wrap: balance; margin: 0;
  background: var(--x32-headgrad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.x32-head h2::after, .x32-head h1::after { content: ""; display: block; width: 130px; height: 12px; margin: 14px auto 0; -webkit-text-fill-color: initial;
  background: radial-gradient(circle, var(--x32-acc) 0 3.5px, transparent 4px), linear-gradient(90deg, transparent, var(--x32-acc2) 25%, transparent 44% 56%, var(--x32-acc2) 75%, transparent) center / 100% 1.5px no-repeat; }
.x32-sub { max-width: 64ch; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.75; color: var(--x32-ink2); text-wrap: pretty; }
.x32-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 28px; border-radius: 999px; font: 700 16px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
  color: var(--x32-ink); border: 1px solid var(--x32-line2); background: var(--x32-chip); transition: transform .15s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
.x32-btn svg { width: 20px; height: 20px; }
.x32-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--x32-glow); }
.x32-gold { color: #2a1700 !important; border-color: #fff0b8; background: var(--x32-gold); }
.x32-ghost { background: var(--x32-chip); }
.x32-btn[hidden] { display: none; }
.x32-sec a:focus-visible, .x32-sec button:focus-visible { outline: 3px solid var(--x32-acc); outline-offset: 3px; }
/* glass card */
.x32-glass, .x32-feat, .x32-job, .x32-news { position: relative; border-radius: var(--x32-r); background: var(--x32-panel); border: 1px solid var(--x32-line2); box-shadow: var(--x32-shadow); }
/* (no backdrop blur on the many cards: the panels are nearly opaque, and blur on dozens of cards is slow on phones) */
.x32-feat::before, .x32-job::before, .x32-news::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .03); }

/* ================================================================ features */
.x32-fgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.x32-fgrid > li { grid-column: span 2; }
.x32-feat { display: grid; align-content: start; gap: 10px; padding: clamp(18px, 2vw, 26px); overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.x32-feat:hover { transform: translateY(-4px); border-color: var(--x32-acc); box-shadow: 0 0 0 1px var(--x32-glow), var(--x32-shadow); }
.x32-feat h3 { font-family: var(--x32-serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; color: var(--x32-head); }
.x32-feat p { font-size: 15px; line-height: 1.65; color: var(--x32-ink2); }
.x32-fgrid > .x32-feat.x32-hot { grid-column: span 3; }
.x32-feat.x32-hot { background: radial-gradient(90% 120% at 100% 0%, rgba(154, 120, 255, .28), transparent 60%), radial-gradient(70% 100% at 0% 100%, rgba(79, 227, 212, .16), transparent 60%), var(--x32-panel); }
:root[data-theme="light"] .x32-feat.x32-hot { background: radial-gradient(90% 120% at 100% 0%, rgba(255, 210, 110, .3), transparent 60%), radial-gradient(70% 100% at 0% 100%, rgba(120, 190, 255, .28), transparent 60%), var(--x32-panel); }
.x32-feat.x32-hot h3 { font-size: clamp(20px, 2.1vw, 27px); }
.x32-ring { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #2a1700; background: var(--x32-gold);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .25), 0 0 0 5px rgba(245, 205, 106, .55), 0 10px 26px var(--x32-glow), inset 0 2px 0 rgba(255, 255, 255, .7); }
.x32-ring svg { width: 30px; height: 30px; }
.x32-hot .x32-ring { width: 68px; height: 68px; }
:root[data-theme="light"] .x32-ring { box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(196, 144, 31, .6), 0 10px 22px var(--x32-glow), inset 0 2px 0 rgba(255, 255, 255, .7); }

/* ================================================================ devices */
.x32-devs { position: relative; overflow-x: clip; }
.x32-stage { --x32-px: 0; --x32-py: 0; --x32-sy: 0; position: relative; width: 100%; aspect-ratio: 16 / 8.4; margin-inline: auto; max-width: 1180px; isolation: isolate; }
.x32-glow { position: absolute; inset: 8% 10% 2%; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: .8;
  background: radial-gradient(50% 50% at 50% 55%, rgba(154, 120, 255, .55), transparent 70%), radial-gradient(40% 40% at 30% 70%, rgba(79, 227, 212, .35), transparent 70%), radial-gradient(40% 40% at 72% 70%, rgba(245, 205, 106, .35), transparent 70%); }
:root[data-theme="light"] .x32-glow { opacity: .9; background: radial-gradient(50% 50% at 50% 55%, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(40% 40% at 30% 70%, rgba(120, 190, 255, .6), transparent 70%), radial-gradient(40% 40% at 72% 70%, rgba(255, 210, 110, .55), transparent 70%); }
.x32-d { position: absolute; margin: 0; display: grid; justify-items: center; gap: 10px;
  transform: translate3d(calc(var(--x32-px) * var(--dx, 20px)), calc(var(--x32-py) * var(--dx, 20px) + var(--x32-sy) * var(--dy, 24px)), 0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.x32-d figcaption { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--x32-ink2); padding: 4px 12px; border-radius: 999px; background: var(--x32-chip); border: 1px solid var(--x32-line); white-space: nowrap; }
.x32-body { position: relative; width: 100%; animation: x32-float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes x32-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.x32-screen { position: relative; overflow: hidden; background: #000; }
.x32-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.x32-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .22) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, .06) 100%); }
/* laptop / monitor: thin bezel, a lid and a base */
.x32-d-pc { left: 18%; top: 0; width: 64%; --dx: 10px; --dy: 10px; z-index: 1; --fd: 0s; }
.x32-d-pc .x32-body { padding: 1.4% 1.4% 2.6%; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #2a2d3a, #12131a); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .55); }
.x32-d-pc .x32-screen { aspect-ratio: 16 / 10; border-radius: 8px; }
.x32-d-pc .x32-base { display: block; width: 116%; height: 14px; margin-top: -10px; border-radius: 0 0 22px 22px / 0 0 14px 14px; background: linear-gradient(180deg, #d9dde6, #9aa0ad 60%, #6b7080); box-shadow: 0 16px 30px rgba(0, 0, 0, .45); position: relative; }
.x32-d-pc .x32-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; translate: -50% 0; border-radius: 0 0 8px 8px; background: rgba(0, 0, 0, .25); }
/* tablet: even bezel, rounded */
.x32-d-tab { left: 0; top: 30%; width: 34%; --dx: 26px; --dy: 30px; z-index: 2; --fd: -2s; }
.x32-d-tab .x32-body { padding: 3.2%; border-radius: 26px; background: linear-gradient(145deg, #3a3e4c, #15161d); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 2px rgba(0, 0, 0, .5), 0 30px 60px rgba(0, 0, 0, .55); }
.x32-d-tab .x32-screen { aspect-ratio: 1180 / 820; border-radius: 12px; }
/* foldable (open): two panels and a hinge */
.x32-d-fold { right: 15%; top: 36%; width: 22%; --dx: 34px; --dy: 40px; z-index: 3; --fd: -4s; }
.x32-d-fold .x32-body { padding: 4%; border-radius: 22px; background: linear-gradient(145deg, #464a58, #1a1b22); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px rgba(0, 0, 0, .6); }
.x32-d-fold .x32-screen { aspect-ratio: 884 / 1104; border-radius: 12px; }
.x32-hinge { position: absolute; left: 50%; top: 2%; bottom: 2%; width: 3px; translate: -50% 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .25) 20%, rgba(0, 0, 0, .35) 50%, rgba(255, 255, 255, .25) 80%, transparent); pointer-events: none; }
.x32-cam { position: absolute; top: 2.4%; left: 50%; width: 3.2%; min-width: 6px; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a5a7a, #05060a 60%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08); }
.x32-d-fold .x32-cam { left: 75%; top: 5%; width: 3.6%; }
/* phone: slim bezel, punch-hole camera */
.x32-d-phone { right: 0; top: 18%; width: 15%; --dx: 44px; --dy: 52px; z-index: 4; --fd: -1s; }
.x32-d-phone .x32-body { padding: 4.5%; border-radius: 30px; background: linear-gradient(145deg, #50556a, #15161d); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 2px rgba(0, 0, 0, .55), 0 34px 60px rgba(0, 0, 0, .6); }
.x32-d-phone .x32-screen { aspect-ratio: 390 / 844; border-radius: 22px; }
.x32-d-phone .x32-cam { top: 3.6%; width: 9%; }
.x32-d-phone .x32-body::before { content: ""; position: absolute; right: -2px; top: 22%; width: 3px; height: 12%; border-radius: 3px; background: #2a2d38; }
:root[data-theme="light"] .x32-d .x32-body { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 26px 50px rgba(22, 64, 150, .3); }
:root[data-theme="light"] .x32-d-pc .x32-body { background: linear-gradient(180deg, #e9ecf2, #c3c8d3); }
:root[data-theme="light"] .x32-d-tab .x32-body, :root[data-theme="light"] .x32-d-fold .x32-body, :root[data-theme="light"] .x32-d-phone .x32-body { background: linear-gradient(145deg, #f4f6fa, #c9cfdb); }
:root[data-theme="light"] .x32-d-phone .x32-body::before { background: #b7bdca; }
.x32-os { list-style: none; margin: clamp(22px, 3vw, 36px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.x32-os li { padding: 8px 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--x32-ink); background: var(--x32-chip); border: 1px solid var(--x32-line2); }

/* ================================================================ jobs */
.x32-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(18px, 2.4vw, 28px); }
.x32-tab { min-height: 44px; padding: 8px 18px; border-radius: 999px; font: 700 15px/1.2 inherit; font-family: inherit; cursor: pointer; color: var(--x32-ink2); background: var(--x32-chip); border: 1px solid var(--x32-line); transition: background .15s ease, color .15s ease; }
.x32-tab b { margin-inline-start: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .1); }
.x32-tab.on { color: #2a1700; background: var(--x32-gold); border-color: #fff0b8; box-shadow: 0 6px 18px var(--x32-glow); }
.x32-tab.on b { background: rgba(42, 23, 0, .15); }
:root[data-theme="light"] .x32-tab b { background: rgba(11, 31, 82, .08); }
.x32-jgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.x32-jgrid.x32-capped > .x32-more { display: none; }
/* job40: the filter rows (status · paths), the path colours, the group headers and the coming jobs' date + countdown */
.x32-jobs { --j40-warrior: #ff8a7a; --j40-scout: #6fe08f; --j40-arcane: #b99aff; --j40-faith: #5fe0f0; --j40-soon: #ffb85c; }
:root[data-theme="light"] .x32-jobs { --j40-warrior: #c8321e; --j40-scout: #17803a; --j40-arcane: #6a3fd6; --j40-faith: #0a7f8c; --j40-soon: #b25f00; }
.x32-tabs { flex-direction: column; align-items: center; }
.x32-trow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; }
.x32-trow:empty { display: none; }
.x32-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.x32-tab b { margin-inline-start: 0; }
.x32-tic { display: inline-grid; width: 20px; height: 20px; }
.x32-tic svg { width: 100%; height: 100%; }
.x32-ptab { --pc: var(--x32-acc); border-color: color-mix(in srgb, var(--pc) 55%, transparent); }
.x32-ptab .x32-tic { color: var(--pc); }
.x32-ptab.on { background: var(--pc); border-color: #fff; color: #10122e; box-shadow: 0 6px 18px color-mix(in srgb, var(--pc) 45%, transparent); }
.x32-ptab.on .x32-tic { color: inherit; }
.x32-tab[data-f="soon"] { border-color: color-mix(in srgb, var(--j40-soon) 60%, transparent); }
.g-warrior { --pc: var(--j40-warrior); } .g-scout { --pc: var(--j40-scout); } .g-arcane { --pc: var(--j40-arcane); } .g-faith { --pc: var(--j40-faith); } .g-soon { --pc: var(--j40-soon); }
.x32-jhead { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 14px; border-radius: 14px; color: var(--x32-head);
  background: linear-gradient(90deg, color-mix(in srgb, var(--pc, var(--x32-acc)) 26%, transparent), transparent 80%); border-inline-start: 4px solid var(--pc, var(--x32-acc)); }
.x32-jhead:first-child { margin-top: 0; }
.x32-jhead[hidden] { display: none !important; }
.x32-jh-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--pc, var(--x32-acc)); background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc, var(--x32-acc)) 60%, transparent); }
:root[data-theme="light"] .x32-jh-ic { background: rgba(255, 255, 255, .7); }
.x32-jh-ic svg { width: 20px; height: 20px; }
.x32-jh-t { font-family: var(--x32-serif); font-size: 20px; font-weight: 800; line-height: 1.2; }
.x32-jh-n { margin-inline-start: auto; padding: 2px 10px; border-radius: 999px; font-size: 13px; color: var(--x32-ink2); background: rgba(255, 255, 255, .08); white-space: nowrap; }
:root[data-theme="light"] .x32-jh-n { background: rgba(11, 31, 82, .07); }
.x32-path.p-warrior, .x32-path.p-scout, .x32-path.p-arcane, .x32-path.p-faith { color: var(--pc); border-color: color-mix(in srgb, var(--pc) 60%, transparent); }
.x32-path.p-warrior { --pc: var(--j40-warrior); } .x32-path.p-scout { --pc: var(--j40-scout); } .x32-path.p-arcane { --pc: var(--j40-arcane); } .x32-path.p-faith { --pc: var(--j40-faith); }
.x32-jwhen { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 13px; line-height: 1.5; }
.x32-jwhen b { color: var(--j40-soon); }
.x32-cd { color: var(--x32-ink2); font-variant-numeric: tabular-nums; }
.x32-job.is-soon .x32-badge.soon { display: none; }
.x32-jh-tt { display: flex; flex-direction: column; min-width: 0; }
.x32-jh-d { font-size: 13px; line-height: 1.35; color: var(--x32-ink2); }
.x32-hl { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.x32-hl li { padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--x32-head);
  background: color-mix(in srgb, var(--pc, var(--x32-acc)) 16%, transparent); border: 1px solid color-mix(in srgb, var(--pc, var(--x32-acc)) 40%, transparent); }
.x32-job[data-path="warrior"] { --pc: var(--j40-warrior); } .x32-job[data-path="scout"] { --pc: var(--j40-scout); } .x32-job[data-path="arcane"] { --pc: var(--j40-arcane); } .x32-job[data-path="faith"] { --pc: var(--j40-faith); }
.x32-hh { display: block; font-size: 12.5px; font-weight: 800; color: var(--pc, var(--x32-acc)); }
.x32-sks { margin-top: 8px; } .x32-sks ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 3px; }
.x32-sks li { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; padding-inline-start: 8px; border-inline-start: 2px solid color-mix(in srgb, var(--pc, var(--x32-acc)) 60%, transparent); }
.x32-sks li small { color: var(--x32-ink2); font-size: 12.5px; }
.x32-gear { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.x32-gear .x32-hh { display: inline; } .x32-gear span { padding: 1px 9px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--pc, var(--x32-acc)) 50%, transparent); }
.x32-job { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 12px 16px 12px 10px; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.x32-job[hidden] { display: none !important; }
.x32-job:hover { transform: translateY(-3px); border-color: var(--x32-acc); }
.x32-jart { position: relative; width: 96px; height: 112px; display: grid; place-items: end center; border-radius: 16px; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 88%, rgba(245, 205, 106, .55), transparent 70%), radial-gradient(90% 80% at 50% 0%, rgba(154, 120, 255, .45), transparent 70%), linear-gradient(180deg, #22256a, #0d0f33); box-shadow: inset 0 0 0 1px var(--x32-line2); }
:root[data-theme="light"] .x32-jart { background: radial-gradient(70% 55% at 50% 88%, rgba(255, 214, 120, .85), transparent 70%), linear-gradient(180deg, #8cc2fb, #e8f3ff); }
.x32-jart img { width: 92px; height: auto; display: block; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); transition: transform .25s ease; }
.x32-job:hover .x32-jart img { transform: scale(1.06) translateY(-2px); }
.x32-jem { display: grid; place-items: center; width: 100%; height: 100%; color: var(--x32-acc); }
.x32-jem svg { width: 48px; height: 48px; }
.x32-jtxt { display: grid; gap: 6px; min-width: 0; }
.x32-jtxt h3, .x32-jtxt h2 { margin: 0; font-family: var(--x32-serif); font-size: 18px; line-height: 1.25; color: var(--x32-head); }
.x32-jmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; }
.x32-role, .x32-path { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; border: 1px solid transparent; }
.x32-role { color: #2a1700; background: var(--x32-gold); }
.x32-role.r-tank { background: linear-gradient(180deg, #d8e6ff, #8fb1f0); color: #0b1f52; }
.x32-role.r-magic { background: linear-gradient(180deg, #ecdcff, #b494ff); color: #2a0f5a; }
.x32-role.r-support { background: linear-gradient(180deg, #d6fff3, #77dcc0); color: #053c30; }
.x32-role.r-ranged { background: linear-gradient(180deg, #fff1cf, #f3c35e); color: #3d2600; }
.x32-role.r-melee { background: linear-gradient(180deg, #ffe0dc, #f59a8c); color: #4a0f08; }
.x32-path { color: var(--x32-ink2); border-color: var(--x32-line2); }
.x32-diff { font-size: 12px; letter-spacing: 1px; color: var(--x32-acc); }
.x32-diff i { font-style: normal; opacity: .3; }
.x32-jpitch { margin: 0; font-size: 14px; line-height: 1.55; color: var(--x32-ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.x32-badge { position: absolute; top: 6px; inset-inline-start: 6px; z-index: 1; max-width: calc(100% - 12px); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x32-badge.new { color: #fff; background: linear-gradient(180deg, #ff6b8a, #d61f4f); box-shadow: 0 0 12px rgba(255, 80, 120, .6); animation: x32-blink 1.8s ease-in-out infinite; }
.x32-badge.soon { inset: auto 4px 4px 4px; max-width: none; text-align: center; color: #2a1700; background: var(--x32-gold); white-space: normal; font-size: 10.5px; }
@keyframes x32-blink { 50% { filter: brightness(1.3); } }
.x32-job.is-soon .x32-jart img { filter: grayscale(.55) brightness(.75) drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.x32-job.is-new { border-color: rgba(255, 107, 138, .7); }
.x32-jfoot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(18px, 2.4vw, 28px); }
/* the full job guide (/<lang>/jobs/) */
.x32-jobsmain { padding-block-start: clamp(28px, 4vw, 54px); padding-block-end: 40px; }
.x32-pagehead { padding-inline: 16px; }
.x32-jobs-full { margin-block-start: 0; }
.x32-jobs-full .x32-jgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.x32-jobs-full .x32-job { align-items: start; grid-template-columns: 110px minmax(0, 1fr); padding: 16px; }
.x32-jobs-full .x32-jart { width: 110px; height: 132px; }
.x32-jobs-full .x32-jart img { width: 106px; }
.x32-jobs-full .x32-jpitch { -webkit-line-clamp: unset; display: block; }
.x32-jtags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.x32-jtags span { font-size: 12px; padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--x32-line); color: var(--x32-ink2); }
:root[data-theme="light"] .x32-jtags span { background: rgba(11, 31, 82, .04); }
.x32-jplay { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--x32-ink2); }
.x32-jplay b { color: var(--x32-acc); }

/* ================================================================ latest updates */
.x32-ngrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.x32-news { display: grid; align-content: start; gap: 8px; padding: clamp(18px, 2vw, 24px); }
.x32-news time { font-size: 13px; font-weight: 700; color: var(--x32-acc); letter-spacing: .04em; }
.x32-news h3 { font-family: var(--x32-serif); font-size: 18px; line-height: 1.35; color: var(--x32-head); }
.x32-news p { font-size: 14.5px; line-height: 1.6; color: var(--x32-ink2); }
.x32-news ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--x32-ink2); }
.x32-news.x32-latest { background: radial-gradient(100% 90% at 100% 0%, rgba(245, 205, 106, .22), transparent 60%), var(--x32-panel); border-color: var(--x32-acc); }
.x32-news.x32-latest h3 { font-size: clamp(19px, 1.8vw, 23px); }

/* ================================================================ older landing sections in the new skin */
body.w2 .w12-stats { border-block-color: var(--x32-line2); }
body.w2 .w2-qa, body.w2 .w2-tab, body.w2 .w2-rk-tab { background: var(--x32-panel); border-color: var(--x32-line2); }
:root[data-theme="light"] body.w2 .w2-qa, :root[data-theme="light"] body.w2 .w2-tab, :root[data-theme="light"] body.w2 .w2-rk-tab, :root[data-theme="light"] body.w2 .w2-lang-cloud a { background: #fff; color: #0f1c3f; }
:root[data-theme="light"] body.w2 .w2-qa p, :root[data-theme="light"] body.w2 .w2-tab small { color: #304370; }
:root[data-theme="light"] body.w2 a { color: #7a4f00; }
:root[data-theme="light"] body.w2 .w2-foot { background: linear-gradient(180deg, #e4effd, #d3e4fb); color: #233a6a; }
:root[data-theme="light"] body.w2 .w2-foot p, :root[data-theme="light"] body.w2 .w2-foot h2 { color: #233a6a; }
body.w2 .w2-foot { background: linear-gradient(180deg, rgba(8, 9, 32, .6), #05061a); border-top: 1px solid var(--x32-line2); }
body.w2 .w12-cta-in { background: radial-gradient(80% 120% at 50% 0%, rgba(154, 120, 255, .35), transparent 70%), var(--x32-panel); border-color: var(--x32-acc); }
:root[data-theme="light"] body.w2 .w12-cta-in { background: radial-gradient(80% 120% at 50% 0%, rgba(255, 214, 120, .45), transparent 70%), #fff; }

/* ================================================================ the game's own site at / (site.js) */
.site.w12 { position: relative; isolation: isolate; background: #070a26; color: var(--x32-ink); }
.site.w12::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--x32-sky); }
:root[data-theme="light"] .site.w12 { background: #eef5ff; }
.site.w12 .site-bar { background: linear-gradient(180deg, rgba(8, 10, 38, .88), rgba(12, 12, 46, .74)); border-bottom: 1px solid var(--x32-line2); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
:root[data-theme="light"] .site.w12 .site-bar { background: rgba(255, 255, 255, .88); border-bottom-color: rgba(190, 140, 44, .45); }
:root[data-theme="light"] .site.w12 .site-nav-a { color: #1a2c5c; }
.site.w12 .hero-tag { color: var(--x32-acc); text-shadow: 0 0 18px rgba(245, 205, 106, .45); }
:root[data-theme="light"] .site.w12 .hero-tag { color: #6b4300; text-shadow: 0 1px 0 rgba(255, 255, 255, .9); }
:root[data-theme="light"] .site.w12 .hero-sub { color: #13254f; text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 0 14px rgba(255, 255, 255, .85); }
.site.w12 .site-hero { position: relative; isolation: isolate; }
.site.w12 .site-foot { background: linear-gradient(180deg, rgba(8, 9, 32, .6), #05061a); border-top: 1px solid var(--x32-line2); }
:root[data-theme="light"] .site.w12 .site-foot { background: linear-gradient(180deg, #e4effd, #d3e4fb); }
.site.w12 .x32-sec { font-family: inherit; }

/* ================================================================ signed-in account page (screens.js showSelect) */
#scr-select { background: var(--x32-sky) !important; background-color: #070a26 !important; }
:root[data-theme="light"] #scr-select { background-color: #eef5ff !important; }
#scr-select::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .6;
  background-image: radial-gradient(1.2px 1.2px at 8% 12%, #fff, transparent), radial-gradient(1px 1px at 26% 34%, #fff, transparent), radial-gradient(1.4px 1.4px at 41% 8%, #fff, transparent),
    radial-gradient(1px 1px at 58% 22%, #fff, transparent), radial-gradient(1.3px 1.3px at 72% 12%, #fff, transparent), radial-gradient(1px 1px at 86% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 94% 6%, #fff, transparent);
  background-size: 480px 480px; }
:root[data-theme="light"] #scr-select::before { display: none; }
/* sel55: stays absolute (style.css: inset 0). "relative" let the box grow to its content inside the fixed overflow:hidden screen, so nothing scrolled */
.sel-wrap.w12-acc { position: absolute; z-index: 1; color: var(--x32-ink); }
/* sel55: phones (portrait) scroll the whole column (web12.css); the list must not be a second, few-pixel scroller that eats the first swipe */
@media (max-width: 760px) and (orientation: portrait), (max-width: 520px) { .sel-wrap.w12-acc .slots { overflow: visible; } }
/* the header bar: glass with a gold edge */
.sel-wrap.w12-acc .topbar { background: linear-gradient(180deg, rgba(34, 36, 104, .78), rgba(12, 13, 46, .86)) !important; border: 1px solid var(--x32-line2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 3px rgba(245, 205, 106, .08), 0 14px 34px rgba(2, 3, 20, .45) !important; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
:root[data-theme="light"] .sel-wrap.w12-acc .topbar { background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 245, 255, .94)) !important; box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(22, 64, 150, .16) !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .topbar .credit-pill { background: #0b1f52; color: #fff4d6; }
.sel-wrap.w12-acc .top-more-btn { min-height: 44px !important; min-width: 44px; background: var(--x32-gold) !important; color: #2a1700 !important; border-color: #fff0b8 !important; box-shadow: 0 6px 18px var(--x32-glow); }
/* the menu drawer: glass sheet, rich tiles with a ringed icon */
.sel-wrap.w12-acc .top-more { gap: 10px !important; padding: 14px !important; border-radius: 24px !important; border: 1px solid var(--x32-line2) !important;
  background: radial-gradient(120% 70% at 100% 0%, rgba(154, 120, 255, .3), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(79, 227, 212, .16), transparent 60%), linear-gradient(180deg, rgba(22, 24, 74, .97), rgba(8, 9, 34, .98)) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 70px rgba(2, 3, 20, .6) !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .top-more { background: radial-gradient(120% 70% at 100% 0%, rgba(255, 220, 140, .45), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(120, 190, 255, .35), transparent 60%), linear-gradient(180deg, #ffffff, #f1f6ff) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 26px 60px rgba(22, 64, 150, .25) !important; }
.sel-wrap.w12-acc .top-more > .btn, .sel-wrap.w12-acc .top-more > a.btn, .sel-wrap.w12-acc .top-more > .theme-btn, .sel-wrap.w12-acc .top-more > .lang-btn {
  --btn-bg: linear-gradient(180deg, rgba(48, 52, 128, .7), rgba(18, 20, 60, .85)) !important; --btn-ink: #f2f3ff !important;
  min-height: 88px !important; gap: 8px !important; border-radius: 18px !important; border: 1px solid rgba(245, 205, 106, .3) !important; color: #f2f3ff !important;
  background: linear-gradient(180deg, rgba(48, 52, 128, .7), rgba(18, 20, 60, .85)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px rgba(0, 0, 0, .3) !important;
  font-weight: 700; font-size: 14px; line-height: 1.25; text-align: center; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.sel-wrap.w12-acc .top-more > .btn:hover, .sel-wrap.w12-acc .top-more > .theme-btn:hover, .sel-wrap.w12-acc .top-more > .lang-btn:hover { transform: translateY(-2px); border-color: var(--x32-acc) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px var(--x32-glow), 0 10px 22px rgba(0, 0, 0, .35) !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .top-more > .btn, :root[data-theme="light"] .sel-wrap.w12-acc .top-more > a.btn, :root[data-theme="light"] .sel-wrap.w12-acc .top-more > .theme-btn, :root[data-theme="light"] .sel-wrap.w12-acc .top-more > .lang-btn {
  --btn-bg: #fff !important; --btn-ink: #0f1c3f !important; color: #0f1c3f !important; background: linear-gradient(180deg, #ffffff, #f2f7ff) !important; border-color: rgba(28, 78, 170, .18) !important;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(22, 64, 150, .1) !important; }
.sel-wrap.w12-acc .w12-mi-ic, .sel-wrap.w12-acc .top-more > .theme-btn svg, .sel-wrap.w12-acc .top-more > .lang-btn svg { box-sizing: content-box; }
.sel-wrap.w12-acc .w12-mi-ic { width: 40px !important; height: 40px !important; border-radius: 50% !important; color: #2a1700 !important; background: var(--x32-gold) !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .3), 0 0 0 4px rgba(245, 205, 106, .5), 0 6px 14px var(--x32-glow), inset 0 2px 0 rgba(255, 255, 255, .7) !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .w12-mi-ic { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(196, 144, 31, .55), 0 6px 14px var(--x32-glow), inset 0 2px 0 rgba(255, 255, 255, .7) !important; }
.sel-wrap.w12-acc .w12-mi-ic svg { width: 21px !important; height: 21px !important; }
.sel-wrap.w12-acc .top-more > .theme-btn svg, .sel-wrap.w12-acc .top-more > .lang-btn svg { width: 22px !important; height: 22px !important; padding: 9px; border-radius: 50%; color: #2a1700 !important; background: var(--x32-gold);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .3), 0 0 0 4px rgba(245, 205, 106, .5), 0 6px 14px var(--x32-glow); }
:root[data-theme="light"] .sel-wrap.w12-acc .top-more > .theme-btn svg, :root[data-theme="light"] .sel-wrap.w12-acc .top-more > .lang-btn svg { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(196, 144, 31, .55), 0 6px 14px var(--x32-glow); }
.sel-wrap.w12-acc .top-more > .theme-btn::after { content: attr(data-x32); display: block; font-size: 14px; font-weight: 700; }
.sel-wrap.w12-acc .top-more > .w12-mi-out { --btn-bg: linear-gradient(180deg, rgba(150, 40, 70, .55), rgba(70, 14, 34, .8)) !important; background: linear-gradient(180deg, rgba(150, 40, 70, .55), rgba(70, 14, 34, .8)) !important; border-color: rgba(255, 130, 150, .45) !important; }
.sel-wrap.w12-acc .top-more > .w12-mi-out .w12-mi-ic { background: linear-gradient(180deg, #ffd2da, #ff8aa0) !important; color: #4a0614 !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .top-more > .w12-mi-out { background: linear-gradient(180deg, #fff5f6, #ffe1e6) !important; border-color: rgba(200, 60, 90, .35) !important; color: #6a0a1e !important; }
/* the character area */
.sel-wrap.w12-acc .slots, .sel-wrap.w12-acc .panel.preview { background: var(--x32-panel) !important; border: 1px solid var(--x32-line2) !important; box-shadow: var(--x32-shadow) !important; }
.sel-wrap.w12-acc .slot { background: radial-gradient(80% 60% at 50% 75%, rgba(245, 205, 106, .22), transparent 70%), linear-gradient(180deg, rgba(40, 44, 112, .5), rgba(16, 18, 54, .6)) !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .slot { background: radial-gradient(80% 60% at 50% 75%, rgba(255, 214, 120, .5), transparent 70%), linear-gradient(180deg, #ffffff, #eef5ff) !important; }
.sel-wrap.w12-acc .panel.preview { background: radial-gradient(60% 50% at 50% 80%, rgba(245, 205, 106, .25), transparent 70%), radial-gradient(80% 60% at 50% 0%, rgba(154, 120, 255, .3), transparent 70%), var(--x32-panel) !important; }
:root[data-theme="light"] .sel-wrap.w12-acc .panel.preview { background: radial-gradient(60% 50% at 50% 82%, rgba(255, 214, 120, .6), transparent 70%), radial-gradient(80% 60% at 50% 0%, rgba(120, 190, 255, .45), transparent 70%), #fff !important; }
.sel-wrap.w12-acc .sel-name { font-family: var(--x32-serif); background: var(--x32-headgrad); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
.sel-wrap.w12-acc .fv-sel-btns .btn { --btn-bg: linear-gradient(180deg, rgba(48, 52, 128, .8), rgba(18, 20, 60, .9)) !important; border-color: var(--x32-line2) !important; min-height: 44px; }
:root[data-theme="light"] .sel-wrap.w12-acc .fv-sel-btns .btn { --btn-bg: linear-gradient(180deg, #ffffff, #eef5ff) !important; --btn-ink: #0f1c3f !important; color: #0f1c3f !important; border-color: rgba(190, 140, 44, .5) !important; }
.sel-wrap.w12-acc .u16-actbar { background: linear-gradient(180deg, rgba(30, 32, 96, .9), rgba(10, 11, 40, .94)) !important; border: 1px solid var(--x32-line2) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root[data-theme="light"] .sel-wrap.w12-acc .u16-actbar { background: rgba(255, 255, 255, .94) !important; }

/* ================================================================ every screen size */
@media (max-width: 1100px) {
  .x32-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x32-fgrid > li, .x32-fgrid > .x32-feat.x32-hot { grid-column: span 1; }
  .x32-ngrid { grid-template-columns: 1fr 1fr; }
  .x32-ngrid > .x32-latest { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* devices: phone + foldable in front, tablet and laptop behind — a taller stage */
  .x32-stage { aspect-ratio: 1 / 1.02; }
  .x32-d-pc { left: 2%; top: 0; width: 96%; }
  .x32-d-tab { left: 0; top: 46%; width: 56%; }
  .x32-d-fold { right: 18%; top: 54%; width: 36%; }
  .x32-d-phone { right: 0; top: 36%; width: 25%; }
  .x32-d figcaption { font-size: 11px; padding: 2px 8px; }
  .x32-d-pc figcaption { display: none; }
  .x32-d-pc .x32-base { width: 104%; }
  .x32-d-phone .x32-body { border-radius: 18px; } .x32-d-phone .x32-screen { border-radius: 13px; }
  .x32-d-fold .x32-body, .x32-d-tab .x32-body { border-radius: 14px; } .x32-d-fold .x32-screen, .x32-d-tab .x32-screen { border-radius: 8px; }
  .x32-ngrid { grid-template-columns: 1fr; }
  .x32-job { grid-template-columns: 80px minmax(0, 1fr); padding: 10px 12px 10px 8px; }
  .x32-jart { width: 80px; height: 96px; }
  .x32-jart img { width: 78px; }
  body.w2 .w2-hero { min-height: auto; }
}
@media (max-width: 560px) {
  .x32-fgrid { grid-template-columns: 1fr; }
  .x32-feat { grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .x32-feat .x32-ring, .x32-hot .x32-ring { width: 52px; height: 52px; grid-row: span 2; }
  .x32-feat .x32-ring svg { width: 26px; height: 26px; }
  /* job40: phones — every filter on screen in two rows (no sideways scroller to miss): status tabs, then the paths */
  .x32-tabs { align-items: stretch; gap: 8px; }
  .x32-trow { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .x32-trow2 { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
  .x32-tab { min-width: 0; padding: 6px 6px; font-size: 14px; flex-wrap: wrap; row-gap: 2px; }
  .x32-tab .x32-tl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .x32-ptab { flex-direction: column; padding-block: 6px; border-radius: 16px; gap: 2px; }
  .x32-ptab .x32-tic { display: none; }
  .x32-ptab b { font-size: 11px; padding: 0 7px; }
  .x32-jh-t { font-size: 18px; }
  .x32-jgrid { grid-template-columns: 1fr; }
  .x32-jgrid.x32-capped > .x32-more6 { display: none; } /* phones: six cards, then "show all" (job40: + their headers) */
  .x32-jobs-full .x32-job { grid-template-columns: 84px minmax(0, 1fr); }
  .x32-jobs-full .x32-jart { width: 84px; height: 100px; }
  .x32-jobs-full .x32-jart img { width: 80px; }
  .sel-wrap.w12-acc .top-more > .btn, .sel-wrap.w12-acc .top-more > a.btn, .sel-wrap.w12-acc .top-more > .theme-btn, .sel-wrap.w12-acc .top-more > .lang-btn { min-height: 84px !important; font-size: 13px; }
}
/* phone landscape / short screens: the hero fits, the devices row stays wide */
@media (max-height: 500px) and (orientation: landscape) {
  body.w2 .w2-hero { min-height: auto; }
  .x32-stage { aspect-ratio: 16 / 8.4; }
}
@media (prefers-reduced-motion: reduce) {
  .x32-body, .x32-badge.new, body.w2 .w2-hero-in::before, body.w2 .w12-scene .sky::after, .x32-live i,
  body.w2 .w2-cta .w2-btn-gold.w2-btn-big::after, .x32-btn.x32-gold::after, .site.w12 .hero-play::after { animation: none !important; }
  .x32-d, .x32-feat, .x32-job, .x32-jart img { transition: none !important; }
}

/* ================================================================ web41: lighter, same look (scroll smoothness) */
/* the shine on the gold buttons moves with transform (the compositor) instead of "left" (a repaint every frame) */
@keyframes w41-shine { 0%, 55% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(500%) skewX(-20deg); } }
body.w2 .w2-cta .w2-btn-gold.w2-btn-big::after, .x32-btn.x32-gold::after, .site.w12 .hero-play::after { left: -60%; animation-name: w41-shine; will-change: transform; }
/* the live dots pulse with transform / opacity (the box-shadow ring repainted every frame) */
@keyframes w41-pulse { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(.72); opacity: .55; } 100% { transform: scale(1); opacity: 1; } }
.x32-live i, .w12-live .stat-line::before { box-shadow: 0 0 6px rgba(94, 240, 138, .8); animation-name: w41-pulse; }
/* the floating devices rest while their stage is off screen (web32fx.js sets .x32-in) */
.x32-stage[data-w32]:not(.x32-in) .x32-body { animation-play-state: paused; }
/* phones / touch screens: no live blur behind the sticky header and the hero chips (re-blurred on every scrolled frame);
   a slightly deeper glass colour gives the same look */
@media (hover: none), (max-width: 900px) {
  .site.w12 .site-bar, .site-bar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site.w12 .site-bar { background: linear-gradient(180deg, rgba(8, 10, 38, .97), rgba(12, 12, 46, .92)); }
  :root[data-theme="light"] .site.w12 .site-bar { background: rgba(255, 255, 255, .96); }
  .site.w12 .hero-chips li, .x32-live { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site.w12 .hero-chips li { background: rgba(10, 22, 52, .78); }
  :root[data-theme="light"] .site.w12 .hero-chips li { background: rgba(255, 252, 244, .9); }
  .x32-live { background: rgba(10, 40, 30, .78); }
}
/* low-end phones / data saver (web32fx.js sets html.w41-lite): the endless decorations rest */
html.w41-lite .x32-body, html.w41-lite .x32-badge.new, html.w41-lite body.w2 .w2-hero-in::before, html.w41-lite body.w2 .w12-scene .sky::after,
html.w41-lite .hero-h::before, html.w41-lite .w2-orb, html.w41-lite .x32-live i, html.w41-lite .w12-live .stat-line::before,
html.w41-lite body.w2 .w2-cta .w2-btn-gold.w2-btn-big::after, html.w41-lite .x32-btn.x32-gold::after, html.w41-lite .site.w12 .hero-play::after { animation: none !important; }
html.w41-lite .x32-glow, html.w41-lite body.w2 .w12-scene .sky::after { filter: none; }
/* ================================================================ end web41 */
