body.vx-site.ui-refresh{--bg:#f5f3f9;--panel:#ffffff;--panel2:#ffffff;--ink:#39334c;--muted:#7a708a;--accent:#80689c;--gold:#80689c;--on:#ffffff;--soft:#f5f3f9;--line:color-mix(in srgb,#39334c 16%,#f5f3f9);--er-rule:color-mix(in srgb,#39334c 13%,#f5f3f9);--er-wash:color-mix(in srgb,#80689c 6%,#f5f3f9);}
/* November 2026: compact navigation, purposeful covers and a visible reading route. */
html{scroll-padding-top:150px}
body.vx-site.ui-refresh{--ui-rule:color-mix(in srgb,var(--ink) 12%,var(--bg));--ui-wash:color-mix(in srgb,var(--accent) 7%,var(--bg));--ui-shadow:0 16px 40px color-mix(in srgb,var(--ink) 7%,transparent);font-family:var(--ui-font,'Segoe UI','Microsoft YaHei',system-ui,sans-serif);background:var(--bg);background-image:none;color:var(--ink);font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased}
body.ui-refresh *,body.ui-refresh *::before,body.ui-refresh *::after{box-sizing:border-box}
body.ui-refresh :is(h1,h2,h3){text-wrap:pretty;word-break:normal;overflow-wrap:break-word}
body.ui-refresh :is(a,button,summary,input,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
body.ui-refresh .site-header{position:sticky!important;inset:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none;background:var(--bg)!important;color:var(--ink);border:0!important;border-bottom:1px solid var(--ui-rule)!important;z-index:100;box-shadow:0 4px 24px #00000004}
body.ui-refresh .site-header :is(.vx-header-inner,.header-inner){display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;width:min(1320px,100%)!important;max-width:1320px!important;margin:auto!important;gap:22px!important;padding:17px 40px!important;min-height:78px;position:relative}
body.ui-refresh .site-header :is(.brand,.wordmark){display:flex;align-items:center;justify-content:flex-start!important;gap:11px;flex:0 1 auto!important;flex-basis:auto!important;width:auto!important;min-width:150px;max-width:320px;margin:0!important;color:var(--ink)}
body.ui-refresh .site-header .brand>span:not(.brand-mark):not(.brand-symbol){width:auto!important;flex:1 1 auto!important;font-size:16px!important;line-height:1.3!important}
body.ui-refresh .site-header :is(.brand-name,.brand>span){white-space:normal!important;overflow-wrap:normal!important;letter-spacing:-.035em}
body.ui-refresh .site-header :is(.brand small,.brand-name small){display:block;font:500 9px/1.5 'Segoe UI',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:4px}
body.ui-refresh .site-header :is(.brand-symbol,.brand-mark,.seal){display:grid;place-items:center;flex:none;width:34px;height:34px;min-width:34px;border-radius:9px!important;background:var(--accent);color:var(--on);font-size:19px}
body.ui-refresh .site-header :is(.vx-main-nav,.main-nav){position:static!important;display:flex!important;align-items:center;justify-content:center!important;flex-direction:row!important;flex-wrap:wrap;flex:1 1 auto;gap:7px 20px!important;width:auto!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.ui-refresh .site-header :is(.vx-main-nav,.main-nav) a{padding:6px 0!important;font:600 13px/1.5 'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:0;white-space:normal;color:var(--muted);text-decoration:none!important;border:0!important;background:transparent!important}
body.ui-refresh .site-header :is(.vx-main-nav,.main-nav) a:is(:hover,[aria-current]){color:var(--accent)!important;box-shadow:0 2px var(--accent);border-radius:0!important}
body.ui-refresh .site-header :is(.vx-tools,.header-tools,.tools){display:flex!important;align-items:center;flex:none;gap:8px!important;margin:0!important}
body.ui-refresh .site-header :is(.icon-button,.search-toggle,.tool-btn,button[data-search-open],button[data-search]){display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0!important;border:1px solid var(--ui-rule);border-radius:8px;background:var(--panel);color:var(--ink)}
body.ui-refresh .site-header .language summary{min-height:36px;padding:7px 10px!important;border:1px solid var(--ui-rule);border-radius:8px;background:var(--panel);font-size:12px;color:var(--ink)}
body.ui-refresh .site-header .language>div{z-index:110;max-width:min(280px,calc(100vw - 36px));background:var(--panel);box-shadow:var(--ui-shadow)}
body.ui-refresh .site-header :is(.menu-toggle,[data-menu-toggle],[data-nav-toggle]){display:none!important}
/* Reference publications now share a full-width masthead and a small topic rail. */
body.ui-refresh.vx-reference .site-shell{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.ui-refresh.vx-reference .site-shell>main{width:100%!important;max-width:1320px!important;padding-inline:40px!important;margin:auto!important}
body.ui-refresh.vx-reference .site-header :is(.side-index,.library-sidebar,.index-sidebar){position:static!important;display:block;inset:auto!important;width:min(1240px,calc(100% - 80px))!important;max-width:1240px;min-height:0!important;height:auto;margin:0 auto!important;padding:0 0 11px!important;border:0!important;background:transparent}
body.ui-refresh.vx-reference .site-header aside :is(p,h2,strong,.eyebrow){display:none!important}
body.ui-refresh.vx-reference .site-header aside nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:24px!important;overflow:auto;margin:0!important;padding:2px 0 4px!important;scrollbar-width:thin}
body.ui-refresh.vx-reference .site-header aside nav a{flex:none;font:500 12px/1.6 'Segoe UI',sans-serif!important;max-width:250px;white-space:nowrap!important;padding:0!important;color:var(--muted)}
body.ui-refresh.vx-reference .site-header aside nav a::before{display:none}
body.ui-refresh.vx-reference .site-header .side-index-inner{position:static!important}
body.ui-refresh.vx-reference :is(.site-shell>main>.wiki-home,.site-shell>main>.shell){padding-inline:0!important}
body.ui-refresh :is(.button,.cd-official-cta){min-height:44px!important;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 18px!important;border-radius:7px!important;font:650 13px/1.6 'Segoe UI','Microsoft YaHei',sans-serif!important;transition:transform .18s,background .18s,box-shadow .18s}
body.ui-refresh .button:not(.secondary){background:var(--accent);border:1px solid var(--accent);color:var(--on)}
body.ui-refresh .button.secondary{border-color:var(--ui-rule);background:var(--panel);color:var(--ink)}
body.ui-refresh :is(.button,.cd-official-cta):hover{transform:translateY(-2px);box-shadow:0 5px 16px #00000012;text-decoration:none}
/* A consistent content edge across the original page wrappers. */
body.ui-refresh.ui-home main{padding-bottom:48px}
body.ui-refresh.ui-home main :is(.shell,.wiki-home,.motor-home,.lab-home,.journey-home,.journal-home,.workshop-home,.bg-home){width:100%!important;max-width:1320px!important;padding-inline:40px!important;margin-inline:auto!important;min-width:0}
body.ui-refresh.ui-home.vx-reference main :is(.wiki-home,.shell){padding-inline:0!important}
body.ui-refresh.ui-home main>.vx-hero,body.ui-refresh.ui-home main>.ui-discovery,body.ui-refresh.ui-home main>.cr-story{width:calc(100% - 80px)!important;max-width:1240px!important;margin-inline:auto!important}
body.ui-refresh.ui-home main :is(.vx-hero,.bg-hero){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)!important;align-items:center!important;gap:48px!important;min-height:0!important;padding:44px 0 38px!important;margin-top:0!important;margin-bottom:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;isolation:isolate}
body.ui-refresh.ui-home .vx-hero::after{display:none!important}
body.ui-refresh.ui-home :is(.vx-hero-text,.bg-hero-copy){display:block!important;grid-column:auto!important;grid-row:auto!important;position:relative!important;z-index:2;max-width:100%!important;min-width:0;text-shadow:none!important}
body.ui-refresh.ui-home :is(.vx-hero,.bg-hero) :is(.eyebrow,.bg-kicker){display:block;font:750 10px/1.8 'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase;margin:0 0 14px!important;padding:0!important;border:0!important;color:var(--accent)!important;grid-column:auto!important}
body.ui-refresh.ui-home :is(.vx-hero,.bg-hero) h1{font-family:var(--ui-heading,'Segoe UI','Microsoft YaHei',sans-serif)!important;font-size:clamp(32px,3.4vw,51px)!important;font-weight:750!important;line-height:1.12!important;letter-spacing:-.045em!important;font-style:normal!important;color:var(--ink)!important;margin:0 0 20px!important;max-width:19ch!important;grid-column:auto!important;grid-row:auto!important}
body.ui-refresh.ui-home :is(.vx-hero .vx-lead,.bg-hero-copy>p:not(.bg-kicker)){font:400 15px/1.85 'Segoe UI','Microsoft YaHei',sans-serif!important;max-width:58ch!important;color:var(--muted)!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
body.ui-refresh.ui-home :is(.vx-actions,.bg-actions){display:flex!important;flex-wrap:wrap;gap:10px!important;align-items:center;margin-top:23px!important;grid-column:auto!important;grid-row:auto!important}
body.ui-refresh.ui-home .vx-hero-media{position:relative!important;inset:auto!important;z-index:0!important;width:100%!important;max-width:none!important;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;transform:none!important;overflow:hidden;min-width:0}
body.ui-refresh.ui-home .vx-hero-media figure{display:block;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;transform:none!important;box-shadow:none!important}
body.ui-refresh.ui-home :is(.vx-hero-media img,.bg-hero>figure img){display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:420px!important;aspect-ratio:16/10!important;object-fit:cover!important;border-radius:12px!important;opacity:1!important;transform:none!important;padding:0!important;border:0!important;filter:none!important;background:var(--panel);box-shadow:none!important}
body.ui-refresh.ui-home :is(.vx-hero-media figcaption,.bg-hero>figure figcaption){display:flex!important;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;position:static!important;max-width:none!important;inset:auto!important;padding:9px 2px 0!important;margin:0!important;font:400 9px/1.6 'Segoe UI',sans-serif!important;background:transparent!important;color:var(--muted)!important}
/* Cinematic game sites use a large image with the text kept clear of the artwork. */
body.ui-refresh.ui-home.vx-cinema .vx-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:40px!important;padding-block:40px!important}
body.ui-refresh.ui-home.vx-cinema .vx-hero h1{font-size:clamp(34px,3.7vw,56px)!important}
body.ui-refresh.ui-home.vx-cinema .vx-hero-media img{aspect-ratio:4/3!important}
body.ui-refresh.ui-home.vx-editorial{--ui-heading:Georgia,'Times New Roman','Microsoft YaHei',serif}
body.ui-refresh.ui-home.vx-editorial .vx-hero h1{font-weight:500!important;font-size:clamp(36px,3.7vw,56px)!important;line-height:1.16!important;letter-spacing:-.04em!important}
body.ui-refresh.ui-home.vx-editorial .vx-hero-media{padding:9px!important;background:var(--panel)!important;border:1px solid var(--ui-rule)!important;box-shadow:var(--ui-shadow)!important}
body.ui-refresh.ui-home.vx-journal{--ui-heading:Georgia,'Times New Roman','Microsoft YaHei',serif}
body.ui-refresh.ui-home.vx-journal .vx-hero h1{font-weight:500!important;line-height:1.16!important}
body.ui-refresh.ui-home.vx-journal .vx-hero-media{border-radius:70px 12px 12px 12px!important}
body.ui-refresh.ui-home.vx-journal .vx-hero-media img{border-radius:70px 12px 12px 12px!important}
body.ui-refresh.ui-home.vx-reference :is(.vx-hero h1){font-size:clamp(31px,3.1vw,46px)!important}
body.ui-refresh.ui-home.vx-reference .vx-hero-media img{aspect-ratio:16/9!important;object-fit:contain!important;border:1px solid var(--ui-rule)!important;padding:9px!important}
/* Three translated editorial entry points, moved ahead of the long introduction. */
body.ui-refresh.ui-home .ui-discovery{display:block!important;margin:0 0 36px!important;padding:24px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid var(--ui-rule)!important;max-width:none!important;width:100%;min-width:0}
body.ui-refresh.ui-home .ui-discovery .er-path-head{display:flex!important;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 28px!important;margin:0 0 20px!important;padding:0!important}
body.ui-refresh.ui-home .ui-discovery .er-path-head>p{display:none}
body.ui-refresh.ui-home .ui-discovery .er-path-kicker{font:700 10px/1.7 'Segoe UI',sans-serif!important;text-transform:uppercase;letter-spacing:.13em;color:var(--accent);margin:0 0 7px!important}
body.ui-refresh.ui-home .ui-discovery .er-path-head h2{font:650 clamp(20px,2vw,26px)/1.35 'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:-.025em!important;margin:0!important;color:var(--ink)}
body.ui-refresh.ui-home .ui-discovery .er-path-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:0!important;margin:0!important;list-style:none;counter-reset:ui-route}
body.ui-refresh.ui-home .ui-discovery .er-path-card{position:relative!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto auto;align-content:start;gap:8px 16px!important;min-width:0!important;margin:0!important;padding:19px!important;background:var(--panel)!important;border:1px solid var(--ui-rule)!important;border-radius:10px!important;box-shadow:0 2px 5px #00000002;counter-increment:ui-route;transition:transform .18s,border-color .18s,box-shadow .18s}
body.ui-refresh.ui-home .ui-discovery .er-path-card:hover{transform:translateY(-3px);border-color:var(--accent)!important;box-shadow:var(--ui-shadow)}
body.ui-refresh.ui-home .ui-discovery .er-path-card::before{content:counter(ui-route,decimal-leading-zero)!important;display:block;position:static!important;inset:auto!important;grid-column:1;grid-row:1;font:600 12px/1.5 ui-monospace,monospace!important;color:var(--accent);padding:0!important;border:0!important;background:none!important}
body.ui-refresh.ui-home .ui-discovery .er-path-card:has(.ui-route-image)::before{position:absolute!important;top:24px!important;left:24px!important;z-index:1;padding:1px 5px!important;border-radius:3px;background:#10181cba!important;color:#fff!important;font-size:9px!important}
body.ui-refresh.ui-home .ui-discovery .ui-route-image{grid-column:1;grid-row:1/4;width:76px;height:83px;object-fit:cover;display:block;border-radius:6px}
body.ui-refresh.ui-home .ui-discovery .er-path-card h3{grid-column:2;grid-row:1;margin:0!important;padding:0!important;font:650 15px/1.5 'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:-.015em;color:var(--ink)!important;overflow-wrap:anywhere}
body.ui-refresh.ui-home .ui-discovery .er-path-card p{display:none}
body.ui-refresh.ui-home .ui-discovery .er-path-card a{grid-column:2;grid-row:2;justify-self:start;margin:2px 0 0!important;padding:0!important;border:0!important;font:600 11px/1.7 'Segoe UI','Microsoft YaHei',sans-serif!important;color:var(--accent)!important}
body.ui-refresh.ui-home .ui-discovery .er-path-card a::after{content:''!important;position:absolute;inset:0}
/* The full article collection comes before the long overview. */
body.ui-refresh.ui-home main :is(.guide-section,.guides-section,.section:has(.vx-card-grid),.library-contents,.lessons-section,.workshop-lessons){padding-block:28px 42px!important;margin-block:0!important;background:transparent!important;border:0!important}
body.ui-refresh.ui-home main :is(.section-heading,.section-head,.collection-heading,.library-heading){display:block!important;max-width:none!important;grid-template-columns:1fr!important;margin-bottom:24px!important}
body.ui-refresh.ui-home main :is(.section-heading,.section-head,.collection-heading,.library-heading) h2{font-size:clamp(24px,2.6vw,34px)!important;line-height:1.3!important;margin:8px 0!important}
body.ui-refresh.ui-home main :is(.section-heading,.section-head,.collection-heading,.library-heading)>p{max-width:76ch!important;font-size:14px!important;line-height:1.8!important;margin-top:10px!important}
body.ui-refresh.ui-home .vx-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin:0!important;padding:0!important;list-style:none}
body.ui-refresh.ui-home .vx-card-grid>.vx-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important;min-width:0!important;border:1px solid var(--ui-rule)!important;border-radius:10px!important;background:var(--panel)!important;padding:0!important;margin:0!important;overflow:hidden;box-shadow:none!important;transform:none!important;transition:border-color .18s,box-shadow .18s}
body.ui-refresh.ui-home .vx-card-grid>.vx-card:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--ui-rule))!important;box-shadow:var(--ui-shadow)!important}
body.ui-refresh.ui-home .vx-card::before{display:none!important}
body.ui-refresh.ui-home .vx-card-media{order:0!important;flex:none!important;width:100%!important;margin:0!important;border-radius:0!important}
body.ui-refresh.ui-home .vx-card-media img{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:0!important;transform:none!important}
body.ui-refresh.ui-home .vx-card .vx-card-copy{flex:1;order:1!important;min-width:0;padding:21px!important;grid-column:auto!important}
body.ui-refresh.ui-home .vx-card h3{font:650 19px/1.45 'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:-.025em!important;margin:0 0 12px!important;max-width:none!important}
body.ui-refresh.ui-home .vx-card p{font:400 14px/1.85 'Segoe UI','Microsoft YaHei',sans-serif!important;margin:10px 0!important;color:var(--muted)}
body.ui-refresh.ui-home .vx-card :is(.card-foot,.story-actions,.lesson-actions,.module-footer){margin-top:18px!important;padding-top:12px!important;border-color:var(--ui-rule)!important}
body.ui-refresh.ui-home .vx-card :is(.eyebrow,.issue-number){font-size:10px!important;color:var(--accent);letter-spacing:.08em;margin:0 0 10px!important}
body.ui-refresh.ui-home :is(.entry-number,.entry-arrow,.index-number).vx-card-copy{display:none!important}
body.ui-refresh.ui-home.vx-reference .vx-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.ui-refresh.ui-home.vx-reference .vx-card-grid>.vx-card{border:0!important;border-radius:0!important;border-top:1px solid var(--ui-rule)!important;background:transparent!important;counter-increment:entry;padding-top:12px!important}
body.ui-refresh.ui-home.vx-reference .vx-card-grid>.vx-card::before{display:block!important;content:counter(entry,decimal-leading-zero)!important;color:var(--accent);font:600 11px/1.5 ui-monospace,monospace;padding:6px 21px!important}
body.ui-refresh.ui-home.vx-reference .vx-card .vx-card-copy{padding-top:8px!important}
body.ui-refresh.ui-home.vx-journal .vx-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.ui-refresh.ui-home.vx-editorial .vx-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.ui-refresh.ui-home.vx-editorial .vx-card-grid>.vx-card{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;align-items:start;border:0!important;border-top:1px solid var(--ui-rule)!important;border-radius:0!important;background:transparent!important;padding:22px 0!important}
body.ui-refresh.ui-home.vx-editorial .vx-card-media img{aspect-ratio:1/1!important;border-radius:7px!important}
body.ui-refresh.ui-home.vx-editorial .vx-card .vx-card-copy{padding:0 0 0 20px!important}
body.ui-refresh.ui-home.vx-editorial .vx-card h3{font-family:Georgia,'Microsoft YaHei',serif!important;font-weight:500!important;font-size:23px!important;line-height:1.35!important}
body.ui-refresh.ui-home main .cr-story{border:0!important;border-top:1px solid var(--ui-rule)!important;background:transparent!important;padding:38px 0!important;margin-top:24px!important;margin-bottom:24px!important;box-shadow:none!important}
body.ui-refresh.ui-home .cr-story>h2{font:650 clamp(25px,2.5vw,34px)/1.3 var(--ui-heading,'Segoe UI','Microsoft YaHei',sans-serif)!important;max-width:none!important}
body.ui-refresh.ui-home .cr-introduction{font-size:16px!important;line-height:1.9!important;max-width:86ch!important}
body.ui-refresh.ui-home .cr-overview{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;margin-top:30px!important}
body.ui-refresh.ui-home .cr-overview>article{display:flex!important;flex-direction:column;min-width:0;padding:22px!important;background:var(--ui-wash)!important;border:0!important;border-radius:9px;gap:0!important}
body.ui-refresh.ui-home .cr-overview>article>h3{font-size:19px!important;line-height:1.5!important;margin:0 0 12px!important}
body.ui-refresh.ui-home .cr-overview>article>p{font-size:14px!important;line-height:1.9!important;margin:0 0 16px!important}
body.ui-refresh.ui-home .cr-overview>article>.gi-figure{width:100%!important;margin:0 0 14px!important;order:-1;max-width:none!important}
body.ui-refresh.ui-home .cr-overview .gi-image{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;border-radius:6px}
body.ui-refresh.ui-home .cr-overview .gi-caption{font-size:9px!important}
body.ui-refresh.ui-home .cr-overview>article>a{margin-top:auto!important;font-size:13px;line-height:1.8}
body.ui-refresh.ui-home :is(.hd-heading,.hd-faq,.er-path-head){display:block!important;grid-template-columns:1fr!important}
body.ui-refresh.ui-home .hd-heading>p{max-width:76ch!important;margin-top:12px!important}
body.ui-refresh.ui-home .hd-heading h2{font-size:28px!important}
body.ui-refresh.ui-home .hd-faq{margin-top:38px!important}
body.ui-refresh.ui-home main :is(.fact-strip,.desk-facts,.library-facts,.reference-facts){font-size:12px;gap:16px!important;padding-block:17px!important;border-color:var(--ui-rule)!important;margin-block:0 18px!important}
body.ui-refresh.ui-home main>.fact-strip{width:calc(100% - 80px);max-width:1240px;margin-inline:auto!important}
body.ui-refresh.ui-home .vx-hero-extra{margin-block:0 28px!important;padding-block:18px!important;max-width:1240px!important;border-color:var(--ui-rule)!important}
body.ui-refresh.ui-home .vx-hero-extra.ui-duplicate-link{display:none!important}
body.ui-refresh .site-footer{background:var(--panel);border-top:1px solid var(--ui-rule);margin-top:30px}
body.ui-refresh .site-footer a:hover{color:var(--accent)}
body.ui-refresh.vx-reference{padding-left:0!important;margin-left:0!important}
body.ui-refresh .site-header{overflow:visible!important}
body.ui-refresh .site-header :is(.vx-header-inner,.header-inner){flex-direction:row!important}
body.ui-refresh .site-header :is(.brand,.wordmark){order:0!important}
body.ui-refresh .site-header :is(.vx-main-nav,.main-nav){order:1!important}
body.ui-refresh .site-header :is(.vx-tools,.header-tools,.tools){order:2!important}
body.ui-refresh.vx-reference .site-footer{margin-left:0!important}
body.ui-refresh.ui-home.vx-reference .wiki-home{padding-top:0!important}
body.ui-refresh.ui-home .vx-actions:has(>.button)>.cd-official-cta{background:transparent!important;color:var(--accent)!important;border:1px solid color-mix(in srgb,var(--accent) 45%,transparent)!important;box-shadow:none}
body.ui-refresh.ui-home:not(.vx-reference) main{padding-inline:0!important;width:100%!important;max-width:none!important;margin-inline:0!important}
body.ui-refresh.ui-home main>.section{width:calc(100% - 80px)!important;max-width:1240px!important;margin-inline:auto!important;padding-inline:0!important}
body.ui-refresh.ui-home main>.section>.wrap{padding-inline:0!important}
body.ui-refresh.vx-reference .site-header :is(.side-index,.library-sidebar,.index-sidebar){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:20px}
body.ui-refresh.vx-reference .site-header aside>nav{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important}
body.ui-refresh.vx-reference .site-header aside .side-index-inner{flex:1 1 0!important;width:100%!important;min-width:0!important;max-width:100%!important}
body.ui-refresh.vx-reference .site-header aside .side-index-inner nav{width:100%!important;max-width:100%!important}
body.ui-refresh.vx-reference .site-header aside .sidebar-meta{flex:none;padding:0!important;margin:0!important;font:500 9px/1.5 'Segoe UI',sans-serif;color:var(--muted)}
body.ui-refresh.vx-reference .site-header aside nav a{max-width:none}
body.ui-refresh.vx-reference .site-header aside :is(.sidebar-foot,.side-bottom){display:flex!important;align-items:center;flex:none;gap:16px;padding:0!important;margin:0!important;border:0!important}
body.ui-refresh.vx-reference .site-header aside :is(.sidebar-foot,.side-bottom)>span{display:none}
body.ui-refresh.vx-reference .site-header aside :is(.sidebar-foot,.side-bottom)>a,body.ui-refresh.vx-reference .site-header aside>a{font:500 12px/1.6 'Segoe UI',sans-serif!important;padding:2px 0!important;color:var(--muted);white-space:nowrap}
body.ui-refresh.vx-reference .site-header aside>a{max-width:180px;overflow:hidden;text-overflow:ellipsis}
/* BG3 keeps its illustrated fantasy cover, with a tighter first screen. */
body.ui-refresh.ui-home.vx-legacy .hero{min-height:470px;height:auto;margin:24px auto 0;width:calc(100% - 80px);max-width:1240px;border-radius:12px;overflow:hidden}
body.ui-refresh.ui-home.vx-legacy .hero-inner{padding:50px 42px;min-height:470px;max-width:none}
body.ui-refresh.ui-home.vx-legacy .hero-content{max-width:630px}
body.ui-refresh.ui-home.vx-legacy .hero h1{font-size:clamp(38px,4.3vw,62px);line-height:1.12}
body.ui-refresh.ui-home.vx-legacy .hero h1 em{font-size:clamp(22px,2vw,30px);margin-top:15px}
body.ui-refresh.ui-home.vx-legacy .hero-text{font-size:15px;line-height:1.85;max-width:56ch}
body.ui-refresh.ui-home.vx-legacy .stats{max-width:1240px;width:calc(100% - 80px);margin:18px auto 30px;padding:18px}
body.ui-refresh.ui-home.vx-legacy .guide-grid{gap:22px}
body.ui-refresh.ui-home.vx-legacy .guide-card{border:1px solid var(--ui-rule);border-radius:9px;overflow:hidden;background:var(--panel)}
/* Custom BeamNG overview follows the same compact rhythm. */
body.ui-refresh.ui-home .bg-section{margin:0 0 36px!important;padding:26px 0!important;border:0!important}
body.ui-refresh.ui-home .bg-section>header{display:block!important;margin-bottom:22px!important}
body.ui-refresh.ui-home .bg-section>header p{max-width:82ch;font-size:15px!important}
body.ui-refresh.ui-home .bg-section h2{font-size:30px!important}
body.ui-refresh.ui-home .bg-activity{border-radius:10px!important;border:1px solid var(--ui-rule)!important;padding:18px!important;box-shadow:none!important}
@media(min-width:1600px){body.ui-refresh.ui-home .vx-hero h1{font-size:56px!important}}
@media(max-width:1100px){
 body.ui-refresh .site-header :is(.vx-header-inner,.header-inner){flex-wrap:wrap!important;gap:12px 16px!important;padding:14px 24px!important;min-height:72px}
 body.ui-refresh .site-header :is(.brand,.wordmark){max-width:calc(100% - 180px)!important;min-width:0;flex:1 1 auto!important}
 body.ui-refresh .site-header :is(.menu-toggle,[data-menu-toggle],[data-nav-toggle]){display:grid!important;place-items:center;position:static!important;order:3;flex:none;width:36px;height:36px;border:1px solid var(--ui-rule);border-radius:7px;background:var(--panel);color:var(--ink);font-size:17px;padding:0}
 body.ui-refresh .site-header :is(.vx-main-nav,.main-nav){display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;background:var(--panel)!important;padding:14px 24px 20px!important;gap:6px 24px!important;box-shadow:0 16px 24px #00000014!important;border-bottom:1px solid var(--ui-rule)!important;z-index:105;max-height:60vh;overflow:auto}
 body.ui-refresh .site-header :is(.vx-main-nav,.main-nav):is(.is-open,.open){display:flex!important;justify-content:flex-start!important}
 body.ui-refresh .site-header :is(.vx-main-nav,.main-nav) a{font-size:14px!important;padding:10px 0!important;flex:0 1 auto}
 body.ui-refresh.vx-reference .site-header :is(.side-index,.library-sidebar,.index-sidebar){display:none!important}
 body.ui-refresh.ui-home :is(.vx-hero,.bg-hero){gap:28px!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-card{grid-template-columns:58px minmax(0,1fr)!important;padding:14px!important;gap:7px 12px!important}
 body.ui-refresh.ui-home .ui-discovery .ui-route-image{width:58px;height:72px}
 body.ui-refresh.ui-home .ui-discovery .er-path-card h3{font-size:14px!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-card:has(.ui-route-image)::before{top:18px!important;left:18px!important}
 body.ui-refresh.ui-home.vx-editorial .vx-card-grid>.vx-card{grid-template-columns:105px minmax(0,1fr)!important}
 body.ui-refresh.ui-home .cr-overview{gap:16px!important}
}
@media(max-width:760px){
 html{scroll-padding-top:100px}
 body.ui-refresh .site-header :is(.vx-header-inner,.header-inner){padding:12px 20px!important;gap:8px!important;min-height:68px}
 body.ui-refresh .site-header :is(.brand,.wordmark){max-width:calc(100% - 137px)!important;gap:8px!important}
 body.ui-refresh .site-header .brand>span:not(.brand-mark):not(.brand-symbol),body.ui-refresh .site-header .brand-name{font-size:13px!important;line-height:1.3!important}
 body.ui-refresh .site-header :is(.brand small,.brand-name small){font-size:8px!important;letter-spacing:.04em;overflow-wrap:anywhere!important}
 body.ui-refresh .site-header :is(.brand-symbol,.brand-mark,.seal){width:28px!important;height:28px!important;min-width:28px!important;border-radius:7px!important;font-size:16px!important}
 body.ui-refresh .site-header :is(.vx-tools,.header-tools,.tools){gap:6px!important}
 body.ui-refresh .site-header .language summary{font-size:10px!important;min-height:32px;padding:7px!important}
 body.ui-refresh .site-header :is(.menu-toggle,[data-menu-toggle],[data-nav-toggle],.icon-button,.search-toggle,.tool-btn,button[data-search-open],button[data-search]){width:32px;height:32px;min-height:32px}
 body.ui-refresh.ui-home main :is(.shell,.wiki-home,.motor-home,.lab-home,.journey-home,.journal-home,.workshop-home,.bg-home){padding-inline:20px!important}
 body.ui-refresh.vx-reference .site-shell>main{padding-inline:20px!important}
 body.ui-refresh.ui-home main>.vx-hero,body.ui-refresh.ui-home main>.ui-discovery,body.ui-refresh.ui-home main>.cr-story{width:calc(100% - 40px)!important}
 body.ui-refresh.ui-home main>.section{width:calc(100% - 40px)!important}
 body.ui-refresh.ui-home main :is(.vx-hero,.bg-hero),body.ui-refresh.ui-home.vx-cinema .vx-hero{grid-template-columns:1fr!important;gap:24px!important;padding:30px 0 25px!important}
 body.ui-refresh.ui-home :is(.vx-hero,.bg-hero) h1,body.ui-refresh.ui-home.vx-editorial .vx-hero h1,body.ui-refresh.ui-home.vx-cinema .vx-hero h1{font-size:clamp(29px,8vw,39px)!important;line-height:1.18!important;max-width:100%!important;margin-bottom:16px!important;letter-spacing:-.035em!important}
 body.ui-refresh.ui-home :is(.vx-hero .vx-lead,.bg-hero-copy>p:not(.bg-kicker)){font-size:14px!important;line-height:1.85!important}
 body.ui-refresh.ui-home :is(.vx-actions,.bg-actions){margin-top:18px!important}
 body.ui-refresh :is(.button,.cd-official-cta){font-size:12px!important;padding:10px 14px!important;min-height:42px!important}
 body.ui-refresh.ui-home :is(.vx-hero-media img,.bg-hero>figure img),body.ui-refresh.ui-home.vx-cinema .vx-hero-media img{aspect-ratio:16/9!important;max-height:300px!important;border-radius:9px!important}
 body.ui-refresh.ui-home.vx-journal .vx-hero-media,body.ui-refresh.ui-home.vx-journal .vx-hero-media img{border-radius:36px 9px 9px 9px!important}
 body.ui-refresh.ui-home .ui-discovery{padding-top:20px!important;margin-bottom:24px!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-head h2{font-size:21px!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-grid{grid-template-columns:1fr!important;gap:10px!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-card{grid-template-columns:64px minmax(0,1fr)!important;padding:14px!important;gap:5px 15px!important;min-height:94px}
 body.ui-refresh.ui-home .ui-discovery .ui-route-image{width:64px;height:66px}
 body.ui-refresh.ui-home .ui-discovery .er-path-card h3{font-size:15px!important;line-height:1.5!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-card a{font-size:11px!important}
 body.ui-refresh.ui-home .vx-card-grid,body.ui-refresh.ui-home.vx-reference .vx-card-grid,body.ui-refresh.ui-home.vx-editorial .vx-card-grid,body.ui-refresh.ui-home.vx-journal .vx-card-grid{grid-template-columns:1fr!important;gap:18px!important}
 body.ui-refresh.ui-home.vx-editorial .vx-card-grid>.vx-card{grid-template-columns:96px minmax(0,1fr)!important}
 body.ui-refresh.ui-home.vx-editorial .vx-card h3{font-size:21px!important}
 body.ui-refresh.ui-home.vx-editorial .vx-card .vx-card-copy{padding-left:16px!important}
 body.ui-refresh.ui-home .vx-card .vx-card-copy{padding:20px!important}
 body.ui-refresh.ui-home .cr-overview{grid-template-columns:1fr!important;gap:18px!important}
 body.ui-refresh.ui-home .cr-story{padding-block:26px!important}
 body.ui-refresh.ui-home .hd-heading h2{font-size:23px!important}
 body.ui-refresh.ui-home .hd-row{grid-template-columns:25px minmax(0,1fr)!important;gap:10px!important}
 body.ui-refresh.ui-home .hd-row>div{grid-column:2!important}
 body.ui-refresh.ui-home .hd-row p{font-size:14px!important}
 body.ui-refresh.ui-home.vx-legacy .hero{width:calc(100% - 40px);margin-top:20px;min-height:480px}
 body.ui-refresh.ui-home.vx-legacy .hero-inner{padding:32px 24px;min-height:480px}
 body.ui-refresh.ui-home.vx-legacy .hero h1{font-size:36px}
 body.ui-refresh.ui-home.vx-legacy .hero h1 em{font-size:22px}
 body.ui-refresh.ui-home.vx-legacy .stats,body.ui-refresh.ui-home main>.fact-strip{width:calc(100% - 40px)}
 body.ui-refresh.ui-home .bg-section h2{font-size:25px!important}
}
@media(max-width:360px){
 body.ui-refresh .site-header :is(.vx-header-inner,.header-inner){padding-inline:14px!important}
 body.ui-refresh .site-header .brand small{display:none!important}
 body.ui-refresh .site-header :is(.brand-symbol,.brand-mark,.seal){display:none!important}
 body.ui-refresh.ui-home .ui-discovery .er-path-card{grid-template-columns:52px minmax(0,1fr)!important;gap:8px 12px!important}
 body.ui-refresh.ui-home .ui-discovery .ui-route-image{width:52px;height:65px}
}
body.ui-refresh .site-header button[data-language-toggle]{display:flex!important;align-items:center;gap:6px;width:auto!important;min-width:66px;padding:6px 8px!important;white-space:nowrap;font-size:11px}
body.ui-refresh .site-header button[data-language-toggle]>svg{width:16px;height:16px}
body.ui-refresh .site-header button[data-language-toggle] .chevron svg{width:10px;height:10px}
body.ui-refresh .site-header button[data-language-toggle] .language-code{white-space:nowrap}
@media(prefers-reduced-motion:reduce){body.ui-refresh *,body.ui-refresh *::before,body.ui-refresh *::after{scroll-behavior:auto!important;transition:none!important;transform:none!important}}
