/* 9W Fresh 1.1.0 — independent layout and class namespace. */
:root {
    color-scheme: dark;
    --nw-bg: #12372f;
    --nw-panel: #1b483d;
    --nw-panel-hover: #24594a;
    --nw-surface-deep: #0e2c25;
    --nw-header: #12372ff5;
    --nw-footer: #0e2c25;
    --nw-line: #3c6c58;
    --nw-line-soft: #3c6c5880;
    --nw-line-strong: #7ca58c;
    --nw-ink: #f5fbea;
    --nw-text: #dfebd8;
    --nw-muted: #bdd3be;
    --nw-quiet: #b1cbb4;
    --nw-accent: #b2ed64;
    --nw-accent-hover: #cff89c;
    --nw-accent-ink: #223815;
    --nw-accent-soft: #315239;
    --nw-rating: #f0d98a;
    --nw-badge-gold: #8ce2c0;
    --nw-badge-gold-ink: #163d2f;
    --nw-danger-bg: #492d32;
    --nw-danger-border: #c38389;
    --nw-danger-ink: #ffccd0;
    --nw-fallback-start: #38654c;
    --nw-fallback-end: #163c2e;
    --nw-hero-glow: #70ce6b36;
    --nw-hero-shade-start: #0c2a2030;
    --nw-hero-shade-end: #0c2a20ed;
    --nw-decorative-ink: #b2ed642b;
    --nw-cover-ink: #b2ed6470;
    --nw-backdrop: #09271ed9;
    --nw-drawer-backdrop: #09271ec4;
    --nw-lightbox: #102e23f7;
    --nw-lightbox-backdrop: #102e23;
    --nw-lightbox-control: #d4f7e918;
    --nw-lightbox-control-border: #d4f7e938;
    --nw-lightbox-control-hover: #d4f7e92e;
    --nw-shadow-soft: #092a2533;
    --nw-shadow-medium: #092a2544;
    --nw-shadow-drawer: #092a2566;
    --nw-shadow-dialog: #092a2588;
    --nw-radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--nw-bg); color: var(--nw-ink); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--nw-accent); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .5; cursor: not-allowed; }
input, select, textarea { min-width: 0; background: var(--nw-surface-deep); color: var(--nw-ink); border: 1px solid var(--nw-line-strong); border-radius: 8px; padding: 10px 12px; }
input::placeholder, textarea::placeholder { color: var(--nw-quiet); opacity: 1; }
input, select, textarea { accent-color: var(--nw-accent); }
select option { background: var(--nw-surface-deep); color: var(--nw-ink); }
textarea { resize: vertical; min-height: 120px; }
:focus-visible { outline: 2px solid var(--nw-accent); outline-offset: 4px; }
::selection { color: var(--nw-accent-ink); background: var(--nw-accent-hover); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
h2 { font-size: 22px; line-height: 1.35; letter-spacing: -.015em; }
h3 { font-size: 17px; line-height: 1.4; }
small { color: var(--nw-muted); font-size: 12px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.nw-wrap, .nw-reading-wrap { width: min(1184px, calc(100% - 48px)); margin-inline: auto; }
.nw-site-frame { min-height: 100vh; display: flex; flex-direction: column; }
.nw-site-frame > main { flex: 1; }
.nw-screen-reader, .nw-skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.nw-skip-link:focus { position: fixed; z-index: 100; inset: 12px auto auto 12px; padding: 12px; background: var(--nw-accent); color: var(--nw-accent-ink); }
.nw-masthead { border-bottom: 1px solid var(--nw-line); background: var(--nw-header); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.nw-header-bar { min-height: 78px; display: flex; align-items: center; gap: 32px; }
.nw-brand-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.nw-brand-icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--nw-accent); color: var(--nw-accent-ink); border-radius: 11px; font-size: 22px; }
.nw-wordmark { width: auto; height: auto; max-width: 200px; max-height: 48px; object-fit: contain; }
.nw-primary-nav { margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nw-primary-nav a { color: var(--nw-muted); font-size: 14px; font-weight: 650; padding: 26px 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.nw-primary-nav a:hover, .nw-primary-nav a[aria-current] { color: var(--nw-accent); border-color: var(--nw-accent); }
.nw-header-tools { display: flex; align-items: center; gap: 10px; }
.nw-language-select { border: 0; font-size: 12px; background: transparent; padding: 6px; color: var(--nw-muted); max-width: 72px; }
.nw-icon-button { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; background: transparent; border: 1px solid transparent; border-radius: 9px; font-size: 24px; }
.nw-icon-button:hover { background: var(--nw-panel); border-color: var(--nw-line); color: var(--nw-accent); }
.nw-home-view { padding-bottom: 24px; }
.nw-home-hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: 44px; align-items: center; padding-block: 36px 16px; position: relative; }
.nw-home-hero::before { content: ""; position: absolute; width: 65%; height: 90%; top: -25px; left: -10%; pointer-events: none; z-index: -1; background: radial-gradient(ellipse, var(--nw-hero-glow), transparent 65%); }
.nw-hero-solo { grid-template-columns: 1fr; min-height: 300px; }
.nw-hero-solo .nw-hero-copy { max-width: 680px; }
.nw-hero-copy h1 { margin-block: 18px; font-size: clamp(28px, 3.1vw, 40px); }
.nw-hero-copy > p { color: var(--nw-muted); font-size: 15px; max-width: 510px; }
.nw-eyebrow { display: block; color: var(--nw-accent); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 6px; }
.nw-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--nw-line); border-radius: 99px; padding: 4px 12px; margin: 0; }
.nw-hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.nw-button-primary, .nw-button-secondary, .nw-download-button, .nw-content-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; padding: 11px 22px; min-height: 44px; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
.nw-button-primary, .nw-download-button, .nw-content-button-primary { background: var(--nw-accent); color: var(--nw-accent-ink); }
.nw-button-primary:hover, .nw-download-button:hover, .nw-content-button-primary:hover { background: var(--nw-accent-hover); color: var(--nw-accent-ink); }
.nw-button-secondary { background: var(--nw-panel); border-color: var(--nw-line-strong); color: var(--nw-text); }
.nw-button-secondary:hover { background: var(--nw-panel-hover); border-color: var(--nw-accent); color: var(--nw-ink); }
.nw-hero-carousel { min-width: 0; border: 1px solid var(--nw-line); border-radius: 18px; overflow: hidden; background: var(--nw-panel); box-shadow: 0 18px 36px var(--nw-shadow-soft); }
.nw-hero-slide { display: block; aspect-ratio: 1.7; min-height: 320px; position: relative; overflow: hidden; color: var(--nw-ink); }
.nw-hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, var(--nw-hero-shade-start) 35%, var(--nw-hero-shade-end) 100%); }
.nw-hero-image { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nw-hero-slide:hover .nw-hero-image { transform: scale(1.035); }
.nw-hero-slide:hover { color: var(--nw-ink); }
.nw-hero-slide.nw-no-cover { background: radial-gradient(circle at 76% 20%, var(--nw-fallback-start), transparent 52%), linear-gradient(135deg, var(--nw-fallback-start), var(--nw-fallback-end)); }
.nw-hero-app-icon { width: 108px; height: 108px; object-fit: cover; border-radius: 24px; position: absolute; right: 36px; top: 32px; transform: rotate(8deg); box-shadow: 0 16px 50px var(--nw-shadow-medium); }
.nw-hero-monogram { position: absolute; right: 12%; top: -35px; color: var(--nw-decorative-ink); font-size: 230px; font-weight: 800; }
.nw-hero-caption { display: block; position: absolute; z-index: 1; bottom: 24px; left: 24px; right: 24px; }
.nw-hero-caption h2 { margin-block: 10px 6px; font-size: 23px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-hero-date { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--nw-text); }
.nw-label-badge { display: inline-block; background: var(--nw-accent); color: var(--nw-accent-ink); padding: 3px 8px; border-radius: 5px; text-transform: uppercase; font-size: 10px; letter-spacing: .06em; font-weight: 800; line-height: 1.5; }
.nw-label-badge.nw-violet { background: var(--nw-badge-gold); color: var(--nw-badge-gold-ink); }
.nw-carousel-controls { padding: 4px 12px; display: flex; align-items: center; justify-content: space-between; background: var(--nw-surface-deep); }
.nw-carousel-controls .nw-icon-button { font-size: 17px; width: 32px; height: 28px; }
.nw-carousel-dots { display: flex; gap: 6px; }
.nw-carousel-dots button { width: 24px; height: 24px; background: transparent; border: 0; padding: 10px 0; }
.nw-carousel-dots button::after { content: ""; display: block; height: 3px; background: var(--nw-line-strong); border-radius: 4px; }
.nw-carousel-dots button[aria-pressed=true]::after { background: var(--nw-accent); }
.nw-content-section, .nw-am-section { margin-block: 38px; }
.nw-section-head, .nw-content-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--nw-line); }
.nw-section-link, .nw-text-action { color: var(--nw-muted); font-size: 13px; font-weight: 650; white-space: nowrap; }
.nw-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.nw-app-grid, .nw-content-appgrid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.nw-app-card { padding: 18px; background: var(--nw-panel); border: 1px solid var(--nw-line); border-radius: var(--nw-radius); min-width: 0; display: flex; flex-direction: column; transition: background .15s,border-color .15s; }
.nw-app-card:hover { background: var(--nw-panel-hover); border-color: var(--nw-line-strong); }
.nw-app-card-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.nw-app-icon { flex: 0 0 auto; width: 60px; height: 60px; display: block; border-radius: 14px; overflow: hidden; background: var(--nw-surface-deep); }
.nw-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.nw-icon-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg,var(--nw-fallback-start),var(--nw-fallback-end)); color: var(--nw-accent-hover); font-size: 26px; font-weight: 800; }
.nw-app-card-copy { flex: 1; min-width: 0; }
.nw-app-card-copy > strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; font-size: 14px; }
.nw-card-meta { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 11px; color: var(--nw-muted); margin-top: 7px; line-height: 1.6; }
.nw-card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.65; color: var(--nw-muted); margin-top: 6px; }
.nw-card-bottom { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nw-card-action { background: var(--nw-accent-soft); color: var(--nw-accent); border: 1px solid var(--nw-line-strong); border-radius: 7px; padding: 4px 10px; font-weight: 650; font-size: 11px; white-space: nowrap; }
.nw-card-action:hover { background: var(--nw-accent); color: var(--nw-accent-ink); }
.nw-card-rating { color: var(--nw-rating); font-size: 12px; }
.nw-card-version { font-size: 11px; color: var(--nw-quiet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-card-wide .nw-app-icon { width: 76px; height: 76px; border-radius: 16px; }
.nw-card-wide .nw-card-bottom { padding-left: 90px; }
.nw-card-compact .nw-app-card-main { flex-direction: column; }
.nw-card-compact .nw-app-card-copy { width: 100%; }
.nw-card-compact .nw-app-card-copy > strong { min-height: 39px; }
.nw-rank-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; }
.nw-rank-card { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--nw-line); min-width: 0; }
.nw-rank-number { font-size: 19px; color: var(--nw-quiet); font-weight: 800; }
.nw-rank-card .nw-app-icon { width: 45px; height: 45px; border-radius: 11px; }
.nw-rank-card > span:last-child { min-width: 0; }
.nw-rank-card strong { display: block; font-size: 13px; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nw-rank-card small { font-size: 11px; }
.nw-filter-tabs { display: flex; gap: 4px; border: 1px solid var(--nw-line); border-radius: 10px; background: var(--nw-panel); padding: 4px; flex-shrink: 0; }
.nw-filter-tabs a { font-size: 12px; padding: 5px 14px; border-radius: 6px; color: var(--nw-muted); }
.nw-filter-tabs a:hover { background: var(--nw-panel-hover); color: var(--nw-ink); }
.nw-filter-tabs a[aria-selected=true] { background: var(--nw-accent); color: var(--nw-accent-ink); font-weight: 700; }
.nw-browse-more { display: block; text-align: center; color: var(--nw-muted); margin-top: 18px; padding: 9px; border: 1px solid var(--nw-line); border-radius: 9px; font-size: 12px; }
.nw-tab-panel + .nw-tab-panel:not([hidden]) { margin-top: 24px; }
.nw-category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.nw-sidebar-panel { background: var(--nw-panel); border: 1px solid var(--nw-line); border-radius: var(--nw-radius); padding: 22px; }
.nw-sidebar-panel h2 { font-size: 16px; margin-bottom: 15px; }
.nw-category-links { display: flex; flex-direction: column; gap: 2px; }
.nw-category-links a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--nw-line-soft); font-size: 13px; color: var(--nw-muted); }
.nw-category-links a:hover, .nw-category-links a.nw-selected { color: var(--nw-accent); }
.nw-category-links em { font-style: normal; color: var(--nw-quiet); }
.nw-category-more { margin-top: 10px; color: var(--nw-muted); font-size: 12px; }
summary { cursor: pointer; }
.nw-category-grid .nw-category-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.nw-editorial-grid, .nw-content-newsgrid, .nw-content-topicgrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.nw-editorial-card { background: var(--nw-panel); border: 1px solid var(--nw-line); border-radius: var(--nw-radius); overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.nw-editorial-card:hover { border-color: var(--nw-line-strong); color: var(--nw-ink); }
.nw-editorial-visual { aspect-ratio: 1.9; display: block; position: relative; overflow: hidden; background: linear-gradient(130deg,var(--nw-fallback-start),var(--nw-fallback-end)); }
.nw-editorial-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nw-editorial-card:hover img { transform: scale(1.025); }
.nw-editorial-visual .nw-label-badge { position: absolute; bottom: 12px; left: 16px; }
.nw-cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--nw-cover-ink); font-size: 90px; font-weight: 800; }
.nw-editorial-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.nw-editorial-body h3 { margin-bottom: 8px; }
.nw-editorial-body p { font-size: 12px; color: var(--nw-muted); }
.nw-editorial-action { display: flex; align-items: center; justify-content: space-between; color: var(--nw-quiet); font-size: 12px; margin-top: auto; padding-top: 15px; }
.nw-interior-view, .nw-detail-view, main > .nw-reading-wrap { padding-block: 20px 32px; }
.nw-breadcrumb, .nw-content-breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 20px; color: var(--nw-quiet); font-size: 12px; overflow-wrap: anywhere; }
.nw-content-breadcrumb [aria-current] { color: var(--nw-text); }
.nw-interior-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-block: 12px 28px; }
.nw-interior-heading h1 { margin-bottom: 8px; }
.nw-interior-heading p, .nw-result-count { color: var(--nw-muted); }
.nw-result-count { font-size: 13px; white-space: nowrap; }
.nw-catalog-layout { display: grid; grid-template-columns: minmax(0,1fr) 258px; gap: 24px; align-items: start; }
.nw-catalog-filter { grid-column: 2; grid-row: 1; }
.nw-catalog-results { grid-column: 1; grid-row: 1; min-width: 0; }
.nw-result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--nw-line); color: var(--nw-muted); font-size: 13px; }
.nw-result-toolbar select { padding: 6px 8px; font-size: 12px; margin-left: 6px; }
.nw-result-toolbar form { flex-shrink: 0; }
.nw-result-toolbar noscript button { background: var(--nw-accent); color: var(--nw-accent-ink); border: 1px solid var(--nw-accent); border-radius: 8px; }
.nw-result-toolbar noscript button:hover { background: var(--nw-accent-hover); border-color: var(--nw-accent-hover); }
.nw-catalog-list { display: flex; flex-direction: column; gap: 14px; }
.nw-catalog-list .nw-card-wide .nw-app-card-copy > strong { font-size: 16px; }
.nw-catalog-list .nw-card-wide .nw-card-bottom { padding-top: 6px; }
.nw-catalog-list.nw-editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.nw-catalog-row { display: flex; align-items: center; gap: 18px; padding: 20px; background: var(--nw-panel); border: 1px solid var(--nw-line); border-radius: var(--nw-radius); }
.nw-catalog-row-copy { flex: 1; min-width: 0; }
.nw-catalog-row-copy strong, .nw-catalog-row-copy small, .nw-catalog-row-summary { display: block; }
.nw-catalog-row-summary { font-size: 13px; color: var(--nw-muted); }
.nw-catalog-row-action { color: var(--nw-accent); font-size: 12px; white-space: nowrap; }
.nw-search-layout { display: grid; grid-template-columns: minmax(0,1fr) 258px; gap: 24px; }
.nw-search-layout > *, .nw-detail-columns > *, .nw-download-layout > *, .nw-versions-layout > * { min-width: 0; }
.nw-search-aside { background: var(--nw-panel); padding: 22px; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); align-self: start; }
.nw-search-aside h2 { font-size: 16px; }
.nw-filter-links { display: grid; gap: 8px; margin-top: 15px; font-size: 13px; color: var(--nw-muted); }
.nw-search { display: flex; align-items: center; gap: 10px; background: var(--nw-surface-deep); border: 1px solid var(--nw-line-strong); border-radius: 12px; padding: 8px 10px; }
.nw-search svg { color: var(--nw-muted); margin-left: 4px; }
.nw-search input { width: 100%; border: 0; background: transparent; padding: 6px; font-size: 14px; }
.nw-search button { background: var(--nw-accent); color: var(--nw-accent-ink); border: 0; border-radius: 7px; padding: 7px 14px; font-weight: 700; font-size: 13px; }
.nw-search button:hover { background: var(--nw-accent-hover); color: var(--nw-accent-ink); }
.nw-search-dialog { width: min(620px, calc(100% - 32px)); margin: 15vh auto; padding: 26px; border-radius: 18px; border: 1px solid var(--nw-line-strong); background: var(--nw-panel); color: var(--nw-ink); box-shadow: 0 30px 120px var(--nw-shadow-dialog); }
.nw-search-dialog::backdrop { background: var(--nw-backdrop); backdrop-filter: blur(5px); }
.nw-search-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: 12px; color: var(--nw-muted); }
.nw-search-shortcuts a { border: 1px solid var(--nw-line); padding: 5px 12px; border-radius: 6px; }
.nw-search-inline { margin-bottom: 24px; max-width: 720px; }
.nw-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-block: 28px 12px; flex-wrap: wrap; font-size: 13px; }
.nw-pagination a, .nw-pagination span { padding: 7px 13px; min-width: 36px; text-align: center; border: 1px solid var(--nw-line); border-radius: 8px; background: var(--nw-panel); }
.nw-pagination a:hover, .nw-browse-more:hover, .nw-search-shortcuts a:hover { background: var(--nw-panel-hover); border-color: var(--nw-accent); color: var(--nw-ink); }
.nw-pagination .nw-is-current { background: var(--nw-accent); color: var(--nw-accent-ink); border-color: var(--nw-accent); font-weight: 700; }
.nw-panel, .nw-app-hero, .nw-detail-section, .nw-info-panel, .nw-related-panel, .nw-file-main, .nw-file-facts, .nw-version-aside, .nw-release-card, .nw-reading-panel { border: 1px solid var(--nw-line); border-radius: var(--nw-radius); background: var(--nw-panel); padding: 24px; }
.nw-app-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nw-app-hero-main { display: flex; align-items: center; gap: 24px; min-width: 0; }
.nw-detail-icon, .nw-app-hero-main > .nw-app-icon { width: 100px; height: 100px; border-radius: 22px; }
.nw-app-identity { min-width: 0; }
.nw-app-identity h1 { font-size: clamp(25px,3vw,34px); }
.nw-developer { font-size: 13px; color: var(--nw-muted); }
.nw-app-identity p { font-size: 13px; color: var(--nw-muted); margin-top: 8px; max-width: 640px; }
.nw-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.nw-hero-tags span { border-radius: 5px; padding: 2px 8px; font-size: 11px; background: var(--nw-accent-soft); color: var(--nw-accent-hover); }
.nw-app-hero-actions { min-width: 190px; display: grid; gap: 9px; flex-shrink: 0; text-align: center; }
.nw-app-hero-actions small { font-size: 11px; }
.nw-detail-tabs, .nw-page-tabs { display: flex; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid var(--nw-line); margin-block: 20px; padding-bottom: 12px; font-size: 13px; color: var(--nw-muted); }
.nw-page-tabs .nw-active { color: var(--nw-accent); }
.nw-detail-columns { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 20px; align-items: start; }
.nw-detail-primary, .nw-detail-sidebar { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
.nw-detail-primary > *, .nw-detail-sidebar > * { min-width: 0; }
.nw-detail-section .nw-section-head { padding: 0; border: 0; margin-bottom: 18px; }
.nw-detail-section h2, .nw-info-panel h2, .nw-related-panel h2, .nw-file-facts h2, .nw-file-main h2, .nw-version-aside h2, .nw-reading-panel > h2 { font-size: 18px; margin-bottom: 16px; }
.nw-screenshot-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-color: var(--nw-line-strong) var(--nw-surface-deep); }
.nw-screenshot-row img { height: 300px; width: auto; max-width: none; border-radius: 10px; object-fit: contain; scroll-snap-align: start; }
.nw-prose { color: var(--nw-text); line-height: 1.85; overflow-wrap: anywhere; }
.nw-prose h2, .nw-prose h3, .nw-prose h4 { color: var(--nw-ink); margin-block: 26px 10px; }
.nw-prose p + p, .nw-prose p + ul, .nw-prose p + ol { margin-top: 16px; }
.nw-prose a { color: var(--nw-accent); text-decoration: underline; text-underline-offset: 3px; }
.nw-prose a:hover { color: var(--nw-accent-hover); }
.nw-prose img, .nw-prose iframe, .nw-prose video { max-width: 100%; border-radius: 10px; }
.nw-prose pre { white-space: pre-wrap; background: var(--nw-surface-deep); padding: 18px; border-radius: 10px; }
.nw-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.nw-prose td, .nw-prose th { padding: 10px; border: 1px solid var(--nw-line); }
.nw-prose blockquote { border-left: 3px solid var(--nw-accent); margin: 20px 0; padding-left: 20px; }
dl { margin: 0; }
dl > div { display: flex; justify-content: space-between; gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--nw-line); font-size: 12px; }
dl > div:last-child { border-bottom: 0; }
dt { color: var(--nw-quiet); flex-shrink: 0; }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.nw-catalog-related { display: flex; gap: 10px; align-items: center; padding-block: 12px; }
.nw-catalog-related .nw-app-icon { width: 42px; height: 42px; border-radius: 10px; }
.nw-catalog-related > span:last-child { min-width: 0; }
.nw-catalog-related strong { font-size: 12px; display: block; line-height: 1.4; }
.nw-catalog-related small { display: block; font-size: 11px; margin-top: 4px; }
.nw-version-preview { display: flex; align-items: center; gap: 14px; padding-block: 14px; border-top: 1px solid var(--nw-line); }
.nw-version-preview > span:last-child { margin-left: auto; color: var(--nw-accent); }
.nw-version-preview strong { font-size: 14px; }
.nw-version-preview p { font-size: 12px; color: var(--nw-muted); }
.nw-version-mark, .nw-file-symbol { display: grid; place-items: center; width: 43px; height: 43px; background: var(--nw-accent-soft); color: var(--nw-accent); font-size: 11px; font-weight: 700; border-radius: 10px; flex-shrink: 0; }
.nw-file-symbol { font-size: 24px; }
.nw-content-faq { padding: 15px 0; border-top: 1px solid var(--nw-line); }
.nw-content-faq summary { font-weight: 650; font-size: 14px; }
.nw-content-faq p { margin-top: 12px; color: var(--nw-muted); font-size: 14px; }
.nw-content-reviews-summary { display: flex; align-items: center; gap: 20px; margin-block: 20px; color: var(--nw-rating); }
.nw-content-score { font-size: 46px; font-weight: 750; line-height: 1; }
.nw-content-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--nw-accent); background: var(--nw-accent-soft); font-weight: 700; flex-shrink: 0; }
.nw-content-comment { padding-block: 18px; border-bottom: 1px solid var(--nw-line); }
.nw-content-comment-head, .nw-content-authorline { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.nw-content-comment-head small, .nw-content-authorline small { display: block; }
.nw-content-comment p { margin-top: 12px; color: var(--nw-muted); }
.nw-content-commentform { margin-top: 24px; display: grid; gap: 14px; }
.nw-content-commentform label { display: grid; gap: 6px; color: var(--nw-muted); font-size: 13px; }
.nw-content-commentform button { justify-self: start; }
.nw-content-help { font-size: 12px; color: var(--nw-quiet); }
.nw-content-message, .nw-content-demo { margin-block: 18px; border: 1px solid var(--nw-line-strong); border-radius: 10px; background: var(--nw-accent-soft); padding: 14px 18px; color: var(--nw-text); }
.nw-content-error { background: var(--nw-danger-bg); border-color: var(--nw-danger-border); color: var(--nw-danger-ink); }
.nw-compact-app-heading, .nw-file-heading { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.nw-compact-icon { width: 76px; height: 76px; border-radius: 18px; }
.nw-compact-app-heading p, .nw-file-heading p { color: var(--nw-muted); font-size: 13px; }
.nw-download-layout, .nw-versions-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 24px; align-items: start; }
.nw-file-facts > a, .nw-version-aside > a { display: block; color: var(--nw-accent); margin-block: 16px; font-size: 13px; }
.nw-file-facts .nw-sidebar-panel, .nw-version-aside .nw-sidebar-panel { border: 0; padding: 16px 0 0; border-top: 1px solid var(--nw-line); border-radius: 0; }
.nw-file-status { display: flex; align-items: center; gap: 14px; margin-block: 22px 14px; }
.nw-file-status h2 { margin: 0; font-size: 17px; }
.nw-file-status p { color: var(--nw-muted); font-size: 12px; }
.nw-catalog-source { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 18px; border-top: 1px solid var(--nw-line); }
.nw-catalog-source small { display: block; }
.nw-file-help { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--nw-line); }
.nw-file-help h2 { margin-bottom: 8px; }
.nw-file-help p { color: var(--nw-muted); font-size: 13px; }
.nw-hash-value { font-family: monospace; overflow-wrap: anywhere; }
.nw-release-card { margin-top: 16px; }
.nw-release-card-top { display: flex; gap: 14px; align-items: center; }
.nw-release-card-top p { color: var(--nw-muted); font-size: 12px; }
.nw-release-badge { margin-left: auto; padding: 3px 9px; background: var(--nw-accent-soft); color: var(--nw-accent); font-size: 11px; border-radius: 6px; }
.nw-release-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-block: 20px 12px; color: var(--nw-muted); font-size: 12px; }
.nw-release-meta strong { display: block; color: var(--nw-ink); font-size: 13px; }
.nw-version-aside p { color: var(--nw-muted); overflow-wrap: anywhere; }
.nw-topic-hero { display: flex; align-items: center; gap: 26px; }
.nw-topic-cover { width: 240px; height: 180px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.nw-topic-hero h1 { margin-block: 12px; font-size: 30px; }
.nw-topic-hero p { color: var(--nw-muted); margin-bottom: 14px; }
.nw-topic-hero + .nw-reading-panel { margin-top: 20px; }
.nw-content-article-header { max-width: 860px; margin: 12px auto 30px; }
.nw-content-article-header h1 { margin-block: 14px; font-size: clamp(30px,4vw,46px); }
.nw-content-article-header > p { color: var(--nw-muted); font-size: 17px; margin-bottom: 22px; }
.nw-content-newslabel { font-size: 12px; color: var(--nw-accent); }
.nw-content-articlevisual { max-width: 900px; margin: 0 auto 24px; }
.nw-content-articlevisual img { width: 100%; max-height: 550px; object-fit: cover; border-radius: var(--nw-radius); }
.nw-reading-wrap > .nw-reading-panel { max-width: 900px; margin: 20px auto; }
.nw-content-download-wrap { max-width: 900px; margin-inline: auto; }
.nw-content-pagehead { margin-block: 20px 28px; }
.nw-content-pagehead p { margin-top: 14px; color: var(--nw-muted); }
.nw-empty, .nw-archive-empty { padding: 36px 20px; color: var(--nw-muted); text-align: center; grid-column: 1/-1; }
.nw-content-empty { max-width: 640px; margin: 30px auto; text-align: center; }
.nw-content-errornumber { font-size: 110px; font-weight: 800; color: var(--nw-accent); line-height: 1.2; }
.nw-content-empty p { margin-block: 16px 24px; color: var(--nw-muted); }
.nw-content-empty .nw-search { margin-top: 24px; text-align: left; }
.nw-site-footer { margin-top: 50px; border-top: 1px solid var(--nw-line); background: var(--nw-footer); }
.nw-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-block: 40px 32px; }
.nw-footer-navigation { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--nw-muted); }
.nw-footer-separator { color: var(--nw-quiet); }
.nw-footer-custom { display: block; line-height: 2; }
.nw-footer-custom a { margin-inline: 7px; }
.nw-footer-copyright { color: var(--nw-quiet); font-size: 12px; }
@media (min-width: 1450px) {
    .nw-wrap, .nw-reading-wrap { width: min(1240px, calc(100% - 64px)); }
    .nw-app-grid, .nw-content-appgrid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 1050px) {
    .nw-header-bar { gap: 20px; }
    .nw-primary-nav { gap: 16px; }
    .nw-wordmark { max-width: 170px; }
    .nw-home-hero { gap: 26px; }
    .nw-hero-slide { min-height: 310px; }
    .nw-hero-copy h1 { font-size: 31px; }
    .nw-app-grid, .nw-content-appgrid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .nw-catalog-layout, .nw-search-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 18px; }
    .nw-detail-columns, .nw-download-layout, .nw-versions-layout { grid-template-columns: minmax(0,1fr) 255px; }
    .nw-app-hero { align-items: flex-start; }
    .nw-app-hero-main { gap: 18px; }
    .nw-detail-icon { width: 80px; height: 80px; }
    .nw-app-hero-actions { min-width: 165px; }
    .nw-rank-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .nw-wrap, .nw-reading-wrap { width: calc(100% - 32px); }
    .nw-header-bar { flex-wrap: wrap; gap: 0; padding-top: 12px; min-height: auto; }
    .nw-brand-link { font-size: 22px; }
    .nw-wordmark { max-width: 174px; max-height: 40px; }
    .nw-header-tools { margin-left: auto; }
    .nw-primary-nav { order: 3; width: 100%; gap: 26px; overflow-x: auto; margin: 10px 0 0; scrollbar-width: none; }
    .nw-primary-nav a { padding: 10px 0 12px; font-size: 13px; }
    .nw-home-hero { grid-template-columns: 1fr; padding-top: 28px; gap: 26px; }
    .nw-hero-copy h1 { font-size: 34px; max-width: 560px; }
    .nw-hero-copy p { font-size: 14px; }
    .nw-hero-actions { margin-top: 20px; }
    .nw-hero-slide { min-height: 0; aspect-ratio: 1.8; }
    .nw-hero-caption h2 { font-size: 22px; }
    .nw-feature-grid { grid-template-columns: 1fr; }
    .nw-editorial-grid, .nw-content-newsgrid, .nw-content-topicgrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .nw-app-grid, .nw-content-appgrid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .nw-app-card { padding: 14px; border-radius: 12px; }
    .nw-card-bottom { flex-wrap: wrap; gap: 7px; }
    .nw-card-compact .nw-card-action { width: 100%; text-align: center; }
    .nw-card-wide .nw-card-bottom { flex-wrap: nowrap; }
    .nw-category-grid { grid-template-columns: 1fr; gap: 16px; }
    .nw-catalog-layout, .nw-search-layout, .nw-detail-columns, .nw-download-layout, .nw-versions-layout { display: flex; flex-direction: column; }
    .nw-catalog-results, .nw-catalog-filter, .nw-search-layout > *, .nw-detail-columns > *, .nw-download-layout > *, .nw-versions-layout > * { width: 100%; }
    .nw-catalog-filter { order: 2; }
    .nw-search-aside .nw-filter-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nw-app-hero { flex-direction: column; padding: 20px; }
    .nw-app-hero-actions { width: 100%; }
    .nw-app-hero-main { align-items: flex-start; }
    .nw-app-hero-main > .nw-app-icon { width: 78px; height: 78px; }
    .nw-app-identity h1 { font-size: 26px; }
    .nw-detail-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nw-detail-sidebar .nw-sidebar-panel { grid-column: 1/-1; }
    .nw-topic-cover { width: 170px; height: 145px; }
    .nw-topic-hero { gap: 20px; padding: 20px; }
    .nw-topic-hero h1 { font-size: 25px; }
    .nw-screenshot-row img { height: 270px; }
    .nw-reading-panel, .nw-detail-section, .nw-file-main, .nw-file-facts { padding: 20px; }
}
@media (max-width: 480px) {
    .nw-primary-nav { gap: 18px; }
    .nw-primary-nav a { font-size: 12px; }
    .nw-hero-copy h1 { font-size: 32px; }
    .nw-hero-slide { aspect-ratio: 1.35; }
    .nw-hero-caption { left: 18px; right: 18px; bottom: 20px; }
    .nw-hero-caption h2 { font-size: 21px; }
    .nw-content-section, .nw-am-section { margin-block: 30px; }
    h2 { font-size: 21px; }
    .nw-section-head { gap: 10px; }
    .nw-section-link { font-size: 11px; }
    .nw-app-grid, .nw-content-appgrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nw-card-meta { gap: 2px 6px; font-size: 11px; }
    .nw-card-wide .nw-app-icon { width: 62px; height: 62px; border-radius: 13px; }
    .nw-card-wide .nw-card-bottom { padding-left: 76px; }
    .nw-card-wide .nw-app-card-main { gap: 14px; }
    .nw-rank-grid { grid-template-columns: 1fr; }
    .nw-editorial-grid, .nw-content-newsgrid, .nw-content-topicgrid, .nw-catalog-list.nw-editorial-grid { grid-template-columns: 1fr; }
    .nw-filter-tabs a { padding-inline: 10px; }
    .nw-topic-hero { flex-direction: column; align-items: flex-start; }
    .nw-topic-cover { width: 100%; height: auto; aspect-ratio: 1.9; }
    .nw-detail-sidebar { grid-template-columns: 1fr; }
    .nw-detail-tabs { gap: 16px; font-size: 12px; }
    .nw-app-hero-main { gap: 14px; }
    .nw-app-hero-main > .nw-app-icon { width: 62px; height: 62px; border-radius: 14px; }
    .nw-app-identity h1 { font-size: 23px; }
    .nw-app-identity p { font-size: 12px; }
    .nw-interior-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .nw-result-toolbar { flex-wrap: wrap; }
    .nw-catalog-row { gap: 12px; padding: 16px; flex-wrap: wrap; }
    .nw-catalog-row-action { margin-left: 72px; }
    .nw-catalog-source { flex-direction: column; align-items: stretch; }
    .nw-catalog-source .nw-download-button { width: 100%; }
    .nw-file-heading { gap: 14px; }
    .nw-file-heading h1, .nw-compact-app-heading h1 { font-size: 24px; }
    .nw-compact-icon { width: 60px; height: 60px; border-radius: 12px; }
    .nw-release-card-top { flex-wrap: wrap; }
    .nw-release-badge { margin-left: 57px; }
    .nw-search-dialog { padding: 20px; }
    .nw-search { padding: 6px; gap: 6px; }
    .nw-search button { padding-inline: 10px; }
    .nw-footer-inner { padding-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 1.1: catalogue modules, mobile navigation and pointer interactions. */
.nw-icon-arrow { width: 18px; height: 18px; vertical-align: middle; }
.nw-section-link, .nw-text-action, .nw-card-action, .nw-catalog-row-action, .nw-browse-more { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.nw-browse-more { display: flex; }
.nw-card-action .nw-icon-arrow, .nw-breadcrumb .nw-icon-arrow { width: 14px; height: 14px; }
.nw-pagination a { display: inline-flex; align-items: center; justify-content: center; }
.nw-category-links em { display: flex; align-items: center; }
.nw-section-intro { color: var(--nw-muted); font-size: 13px; margin-top: 6px; }
.nw-rank-file { display: block; color: var(--nw-quiet); }
.nw-hero-icon-background { object-fit: contain; padding: 42px; background: var(--nw-surface-deep); }
.nw-hero-track { touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; -webkit-user-select: none; }
.nw-hero-track.nw-is-dragging { cursor: grabbing; }
.nw-hero-track.nw-is-dragging .nw-hero-slide { transform: translateX(var(--nw-swipe-offset, 0)); }
.nw-hero-track img { -webkit-user-drag: none; }
.nw-carousel-controls .nw-icon-button { width: 44px; height: 44px; }
.nw-carousel-dots button { height: 44px; padding: 20px 0; }
.nw-editorial-four, .nw-news-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nw-topic-card .nw-editorial-visual { aspect-ratio: 1.55; }
.nw-topic-card .nw-editorial-body h3 { font-size: 16px; }
.nw-topic-count { color: var(--nw-accent); margin-top: 12px; }
.nw-result-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nw-result-title h1 { color: var(--nw-ink); font-size: clamp(24px, 2.4vw, 30px); }
.nw-category-description { color: var(--nw-muted); font-size: 13px; margin-bottom: 20px; }
.nw-collection-heading { padding: 18px 0 28px; }
.nw-collection-heading h1 { margin: 8px 0 12px; }
.nw-collection-heading p { color: var(--nw-muted); max-width: 680px; }
.nw-news-featured { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 38px; }
.nw-news-featured .nw-story-card:first-child { grid-row: 1 / 3; }
.nw-news-featured .nw-story-card:first-child .nw-editorial-visual { aspect-ratio: 1.85; }
.nw-news-featured .nw-story-card:first-child h3 { font-size: 26px; }
.nw-news-featured .nw-story-card:not(:first-child) { flex-direction: row; }
.nw-news-featured .nw-story-card:not(:first-child) .nw-editorial-visual { width: 38%; flex-shrink: 0; aspect-ratio: auto; }
.nw-news-featured .nw-story-card:not(:first-child) .nw-editorial-body { padding: 16px; }
.nw-news-featured .nw-story-card:not(:first-child) p { display: none; }
.nw-news-featured .nw-story-card:not(:first-child) h3 { font-size: 16px; }
.nw-news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.nw-news-archive, .nw-news-sidebar { min-width: 0; }
.nw-news-sidebar { display: grid; gap: 24px; }
.nw-news-side-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nw-line); }
.nw-news-side-row:last-child { border: 0; padding-bottom: 0; }
.nw-news-side-row strong { display: block; font-size: 13px; line-height: 1.5; }
.nw-news-side-row small { display: block; margin-top: 5px; font-size: 11px; }
.nw-archive-month { margin: 22px 0 5px; font-size: 13px; color: var(--nw-quiet); }
.nw-news-row { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--nw-line); }
.nw-news-row > div { flex: 1; min-width: 0; }
.nw-news-row h3 { margin-bottom: 8px; }
.nw-news-row p { font-size: 12px; color: var(--nw-muted); margin-bottom: 8px; }
.nw-news-row-image { position: relative; width: 160px; aspect-ratio: 1.5; flex: 0 0 auto; background: var(--nw-panel); border-radius: 10px; overflow: hidden; }
.nw-news-row-image img { width: 100%; height: 100%; object-fit: cover; }
.nw-news-row-image .nw-cover-fallback { font-size: 48px; }
.nw-menu-toggle { display: none; }
.nw-mobile-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(340px, 88vw); height: 100%; height: 100dvh; max-height: 100%; max-width: 100%; padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); border: 0; border-left: 1px solid var(--nw-line); background: var(--nw-panel); color: var(--nw-ink); box-shadow: -20px 0 70px var(--nw-shadow-drawer); overflow-y: auto; }
.nw-mobile-drawer[open] { animation: nw-drawer-enter .22s ease-out; }
.nw-mobile-drawer::backdrop { background: var(--nw-drawer-backdrop); }
.nw-drawer-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--nw-line); font-size: 20px; }
.nw-drawer-nav { display: flex; flex-direction: column; gap: 5px; padding-top: 22px; }
.nw-drawer-nav a { display: flex; padding: 14px 12px; border-radius: 9px; font-size: 16px; font-weight: 650; }
.nw-drawer-nav a:hover, .nw-drawer-nav a[aria-current] { background: var(--nw-accent-soft); color: var(--nw-accent); }
@keyframes nw-drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
.nw-screenshot-row > a { display: block; flex: 0 0 auto; cursor: zoom-in; scroll-snap-align: start; border-radius: 10px; }
.nw-image-lightbox { position: fixed; inset: 0; margin: 0; padding: 0; border: 0; width: 100vw; max-width: 100vw; height: 100%; height: 100dvh; max-height: 100%; background: var(--nw-lightbox); color: var(--nw-ink); overflow: hidden; }
.nw-image-lightbox::backdrop { background: var(--nw-lightbox-backdrop); }
.nw-image-lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.nw-lightbox-stage { grid-column: 2; grid-row: 1; height: calc(100% - 120px); display: flex; align-items: center; justify-content: center; min-width: 0; touch-action: pan-y pinch-zoom; user-select: none; }
.nw-lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; }
.nw-image-lightbox .nw-icon-button { background: var(--nw-lightbox-control); border-color: var(--nw-lightbox-control-border); width: 44px; height: 44px; margin-inline: auto; }
.nw-image-lightbox .nw-icon-button:hover { background: var(--nw-lightbox-control-hover); color: var(--nw-ink); }
.nw-lightbox-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 16px; z-index: 1; }
.nw-lightbox-counter { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: 14px; color: var(--nw-text); pointer-events: none; }
@media (max-width: 1050px) {
    .nw-editorial-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw-news-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
    .nw-news-row-image { width: 125px; }
}
@media (max-width: 900px) {
    .nw-menu-ready .nw-header-bar { flex-wrap: nowrap; min-height: 70px; gap: 12px; padding-block: 10px; }
    .nw-menu-ready .nw-header-bar .nw-primary-nav { display: none; }
    .nw-menu-ready .nw-header-tools { margin-left: auto; gap: 4px; flex-shrink: 0; }
    .nw-menu-ready .nw-menu-toggle { display: inline-flex; }
    .nw-menu-ready .nw-header-tools .nw-icon-button { width: 42px; height: 42px; }
    .nw-news-featured { grid-template-columns: 1.3fr 1fr; }
    .nw-news-featured .nw-story-card:not(:first-child) .nw-editorial-visual { width: 30%; }
}
@media (max-width: 760px) {
    .nw-news-layout { grid-template-columns: minmax(0, 1fr); }
    .nw-news-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw-news-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 14px; }
    .nw-news-featured .nw-story-card:first-child { grid-column: 1 / -1; grid-row: auto; }
    .nw-news-featured .nw-story-card:not(:first-child) { flex-direction: column; }
    .nw-news-featured .nw-story-card:not(:first-child) .nw-editorial-visual { width: 100%; aspect-ratio: 1.7; }
    .nw-news-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw-section-head:has(.nw-filter-tabs) { flex-wrap: wrap; }
    .nw-section-head .nw-filter-tabs { margin-left: auto; }
    .nw-result-title { gap: 8px 14px; }
}
@media (max-width: 480px) {
    .nw-menu-ready .nw-wordmark { max-width: min(145px, 36vw); }
    .nw-menu-ready .nw-brand-link { font-size: 20px; gap: 7px; min-width: 0; }
    .nw-menu-ready .nw-language-select { max-width: 56px; padding-inline: 2px; }
    .nw-menu-ready .nw-header-bar { gap: 6px; }
    .nw-editorial-four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .nw-editorial-four .nw-editorial-body { padding: 13px; }
    .nw-editorial-four h3 { font-size: 14px; }
    .nw-editorial-four .nw-editorial-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .nw-editorial-four .nw-editorial-visual .nw-label-badge { left: 10px; font-size: 9px; }
    .nw-editorial-four .nw-editorial-action { font-size: 10px; }
    .nw-news-sidebar { grid-template-columns: minmax(0, 1fr); }
    .nw-news-row { gap: 12px; }
    .nw-news-row-image { width: 94px; aspect-ratio: 1; }
    .nw-news-row h3 { font-size: 15px; }
    .nw-news-row p { display: none; }
    .nw-news-row > .nw-icon-arrow { display: none; }
    .nw-news-featured .nw-story-card:first-child h3 { font-size: 23px; }
    .nw-image-lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; }
    .nw-image-lightbox .nw-lightbox-prev, .nw-image-lightbox .nw-lightbox-next { width: 36px; height: 44px; }
}

.nw-lightbox-prev { grid-column: 1; grid-row: 1; }
.nw-lightbox-next { grid-column: 3; grid-row: 1; }

/* Brand wordmarks remain readable with a visible .com suffix. */
.nw-wordmark{max-width:224px;max-height:54px}.nw-site-footer .nw-wordmark{max-width:230px}.nw-hero-eyebrow{letter-spacing:.1em}
@media(max-width:480px){.nw-wordmark{max-width:176px;max-height:44px}}

.nw-hero-copy > .nw-brand-price-note{font-size:12px;line-height:1.6;color:var(--nw-muted);margin-top:16px;max-width:470px}

/* Shared functional constraints; selectors are namespaced in this release. */
    .nw-home-view > *, .nw-hero-copy, .nw-content-section, .nw-tab-panel { min-width: 0; }
    .nw-section-head > div:first-child { min-width: 0; }
    .nw-hero-copy h1, .nw-app-card-copy, .nw-editorial-body h3 { overflow-wrap: anywhere; }
    .nw-hero-slide .nw-hero-caption, .nw-hero-slide:hover .nw-hero-caption { color: #fff; }
    .nw-hero-date { color: #e5e9f1; }
    .nw-icon-button { min-width: 44px; min-height: 44px; }
    .nw-section-link { white-space: normal; }
    @media(max-width:360px) { .nw-header-tools { gap: 0; } .nw-wordmark { max-width: 132px; } }
    
/* 9W Fresh: a light search-led directory with warm orange and forest green. */
:root { color-scheme:light; --nw-bg:#f7f6ef; --nw-panel:#ffffff; --nw-panel-hover:#f3f8ef; --nw-surface-deep:#eef2e9; --nw-header:#123e34; --nw-footer:#123e34; --nw-line:#d5ddcf; --nw-line-soft:#d5ddcf90; --nw-line-strong:#91a697; --nw-ink:#173b30; --nw-text:#344c40; --nw-muted:#53645b; --nw-quiet:#5f7065; --nw-accent:#176447; --nw-accent-hover:#0d4c34; --nw-accent-ink:#ffffff; --nw-accent-soft:#e0efdf; --nw-rating:#8b5600; --nw-badge-gold:#ffe3bc; --nw-badge-gold-ink:#66320b; --nw-danger-bg:#fff1ee; --nw-danger-border:#be6f56; --nw-danger-ink:#8a2514; --nw-fallback-start:#c0ddc3; --nw-fallback-end:#e4eedb; --nw-hero-glow:#e8c59050; --nw-hero-shade-start:#17392c33; --nw-hero-shade-end:#123b2ced; --nw-decorative-ink:#17644733; --nw-cover-ink:#2d694d; --nw-backdrop:#102c26bb; --nw-drawer-backdrop:#102c26bb; --nw-lightbox:#102c26f7; --nw-lightbox-backdrop:#102c26; --nw-shadow-soft:#263c2012; --nw-shadow-medium:#263c2025; --nw-shadow-drawer:#10291e44; --nw-shadow-dialog:#10291e55; --nw-radius:20px; --nw-cta:#af4616; --nw-cta-hover:#89340f; }
.nw-wrap, .nw-reading-wrap { width:min(1160px,calc(100% - 48px)); }
.nw-masthead { color:#fff; border-color:#315e50; }
.nw-header-bar { min-height:82px; }
.nw-masthead .nw-primary-nav a, .nw-masthead .nw-language-select { color:#d8eade; }
.nw-masthead .nw-primary-nav a[aria-current], .nw-masthead .nw-primary-nav a:hover { color:#ffce8b; border-color:#ffce8b; }
.nw-masthead .nw-icon-button { color:#fff; }
.nw-masthead .nw-icon-button:hover { color:#fff; background:#245846; border-color:#78a08a; }
.nw-masthead .nw-language-select option { background:#fff; color:#173b30; }
.nw-masthead .nw-brand-link:hover { color:#fff; }
.nw-site-footer { --nw-muted:#d7e9dc; --nw-quiet:#c4dacd; --nw-accent:#ffce8b; --nw-ink:#fff; color:#fff; }
.nw-fresh-welcome { text-align:center; padding:50px 24px 34px; margin:26px 0; background:radial-gradient(ellipse at 14% 0,#ffe4bf80,transparent 55%),radial-gradient(ellipse at 90% 100%,#e0efcf70,transparent 60%),#fff; border:1px solid #e0dfcb; border-radius:28px; }
.nw-fresh-welcome .nw-hero-eyebrow { border:0; border-radius:0; padding:0; color:#8d471a; letter-spacing:.16em; }
.nw-fresh-welcome .nw-hero-copy h1 { max-width:850px; margin:16px auto; font-size:clamp(32px,3.7vw,46px); line-height:1.18; }
.nw-fresh-welcome .nw-hero-copy > p { max-width:760px; margin-inline:auto; font-size:15px; }
.nw-fresh-welcome .nw-hero-actions { justify-content:center; margin-top:22px; }
.nw-fresh-welcome .nw-brand-price-note { max-width:660px; margin:15px auto 0; font-size:12px; }
.nw-fresh-search { max-width:650px; margin:24px auto 0; }
.nw-fresh-search .nw-search { background:#fff; border-color:#92ad97; border-radius:99px; box-shadow:0 4px 20px #173b300d; padding:8px 10px 8px 16px; }
.nw-fresh-search .nw-search button { border-radius:99px; padding:10px 22px; }
.nw-button-primary, .nw-download-button, .nw-content-button-primary { background:var(--nw-cta); color:#fff; }
.nw-button-primary:hover, .nw-download-button:hover, .nw-content-button-primary:hover { background:var(--nw-cta-hover); color:#fff; }
.nw-button-primary, .nw-button-secondary, .nw-download-button { border-radius:99px; }
.nw-button-secondary { border-color:#729b7c; background:#fff; }
.nw-fresh-discovery { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:26px; align-items:stretch; }
.nw-fresh-discovery > * { min-width:0; }
.nw-fresh-discovery .nw-hero-carousel { height:100%; border-radius:22px; display:flex; flex-direction:column; }
.nw-fresh-discovery .nw-hero-track { flex:1; }
.nw-fresh-discovery .nw-hero-slide { min-height:320px; height:100%; aspect-ratio:1.8; }
.nw-fresh-discovery .nw-hero-caption h2 { color:#fff; }
.nw-fresh-discovery .nw-carousel-controls { background:#e6eddf; }
.nw-fresh-categories { padding:26px; border-radius:22px; border:1px solid var(--nw-line); background:#edf2e7; }
.nw-fresh-categories .nw-section-head { border:0; padding:0; margin-bottom:18px; }
.nw-fresh-categories .nw-sidebar-panel { padding:0; border:0; background:transparent; margin-top:14px; }
.nw-fresh-categories .nw-sidebar-panel h2 { font-size:13px; margin-bottom:10px; }
.nw-fresh-categories .nw-category-links { flex-direction:row; flex-wrap:wrap; gap:8px; }
.nw-fresh-categories .nw-category-links a { border:1px solid #b6c9b3; background:#fff; padding:6px 12px; border-radius:99px; font-size:12px; }
.nw-fresh-categories .nw-category-links a em { display:none; }
.nw-fresh-categories .nw-category-more { font-size:11px; }
.nw-content-section { margin-block:42px; }
.nw-section-head { border-bottom:0; padding-bottom:0; margin-bottom:20px; }
.nw-section-head h2 { font-size:26px; }
.nw-section-head .nw-eyebrow { color:#8d471a; font-size:10px; }
.nw-filter-tabs { border-radius:99px; background:#e9eee2; border-color:#c7d5bf; }
.nw-filter-tabs a { border-radius:99px; padding:6px 17px; }
.nw-app-grid, .nw-content-appgrid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.nw-fresh-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; padding:20px; border-radius:16px; box-shadow:0 3px 8px #23392005; }
.nw-fresh-row .nw-app-card-main, .nw-card-compact .nw-app-card-main { flex-direction:row; gap:16px; align-items:center; }
.nw-fresh-row .nw-app-icon, .nw-card-wide .nw-app-icon { width:66px; height:66px; border-radius:16px; }
.nw-fresh-row .nw-app-card-copy > strong { min-height:0; font-size:15px; }
.nw-fresh-row .nw-card-meta { font-size:11px; margin-top:4px; }
.nw-fresh-row .nw-card-description { font-size:12px; -webkit-line-clamp:1; margin-top:3px; }
.nw-fresh-row .nw-card-bottom, .nw-card-wide .nw-card-bottom { padding:0; margin:0; flex-direction:column; align-items:flex-end; gap:7px; }
.nw-fresh-row .nw-card-action { width:auto; padding:5px 10px; border-radius:99px; font-size:10px; border-color:#b9d3b3; }
.nw-fresh-row .nw-card-version { max-width:85px; font-size:10px; }
.nw-fresh-popular { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; }
.nw-fresh-popular > * { min-width:0; }
.nw-fresh-popular .nw-section-head { flex-wrap:wrap; }
.nw-fresh-popular .nw-feature-grid { grid-template-columns:1fr; gap:14px; }
.nw-fresh-popular .nw-rank-grid { grid-template-columns:1fr; gap:0; background:#fff; border:1px solid var(--nw-line); border-radius:18px; padding:4px 22px; }
.nw-fresh-popular .nw-rank-card { padding:14px 0; }
.nw-fresh-popular .nw-rank-card:last-child { border-bottom:0; }
.nw-fresh-popular .nw-rank-number { color:#8d471a; width:23px; flex-shrink:0; }
.nw-fresh-popular .nw-rank-card .nw-app-icon { width:38px; height:38px; }
.nw-fresh-topics .nw-editorial-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.nw-fresh-topics .nw-topic-card { background:#e5efdd; border-color:#c7d8bb; }
.nw-fresh-topics .nw-editorial-visual { aspect-ratio:1.6; }
.nw-fresh-topics .nw-editorial-body p { -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
.nw-fresh-news .nw-editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.nw-fresh-news .nw-story-card { flex-direction:row; }
.nw-fresh-news .nw-editorial-visual { flex:0 0 35%; width:35%; aspect-ratio:auto; min-height:160px; }
.nw-fresh-news .nw-editorial-body { padding:20px; }
.nw-fresh-news h3 { font-size:17px; }
.nw-browse-more { border-radius:99px; background:#fff; }
.nw-catalog-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
.nw-catalog-filter { grid-column:1; grid-row:1; }
.nw-catalog-results { grid-column:1; grid-row:2; }
.nw-catalog-filter .nw-sidebar-panel { padding:18px 22px; background:#edf2e7; }
.nw-catalog-filter .nw-sidebar-panel h2 { font-size:14px; margin-bottom:10px; }
.nw-catalog-filter .nw-category-links { flex-direction:row; flex-wrap:wrap; gap:7px; }
.nw-catalog-filter .nw-category-links a { padding:5px 12px; background:#fff; border:1px solid #b6c9b3; border-radius:99px; }
.nw-catalog-filter .nw-category-links a em { display:none; }
.nw-fresh-catalog { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.nw-app-hero { flex-direction:column; text-align:center; padding:36px; border-top:4px solid #d87a39; background:#fff; }
.nw-app-hero-main { flex-direction:column; gap:18px; align-items:center; }
.nw-app-hero-main .nw-app-icon { width:108px; height:108px; border-radius:24px; }
.nw-app-identity h1 { font-size:clamp(28px,3.6vw,42px); }
.nw-app-identity p { margin:12px auto 0; max-width:740px; }
.nw-hero-tags { justify-content:center; }
.nw-app-hero-actions { width:min(320px,100%); }
.nw-fresh-facts { margin-block:22px; }
.nw-fresh-facts .nw-info-panel { background:#eaf0e3; padding:22px; }
.nw-fresh-facts dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 22px; }
.nw-fresh-facts dl > div { display:block; padding:12px 0; min-width:0; }
.nw-fresh-facts dt { font-size:11px; margin-bottom:4px; }
.nw-fresh-facts dd { text-align:left; font-size:13px; color:var(--nw-ink); }
.nw-detail-columns { display:flex; flex-direction:column; gap:24px; }
.nw-detail-primary, .nw-detail-sidebar { width:100%; }
.nw-detail-primary .nw-detail-section, .nw-detail-primary .nw-reading-panel { padding:30px; }
.nw-detail-primary .nw-prose { max-width:900px; }
.nw-detail-sidebar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.nw-detail-sidebar .nw-sidebar-panel { grid-column:auto; }
.nw-screenshot-row img { height:310px; }
.nw-image-lightbox { color:#fff; }
.nw-image-lightbox .nw-icon-button:hover { color:#fff; }
.nw-lightbox-counter { color:#e4eee6; }
.nw-news-featured { grid-template-columns:1fr; grid-template-rows:auto; }
.nw-news-featured .nw-story-card:first-child { grid-row:auto; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }
.nw-news-featured .nw-story-card:first-child .nw-editorial-visual { height:100%; aspect-ratio:1.6; }
.nw-news-featured .nw-story-card:first-child .nw-editorial-body { justify-content:center; padding:32px; }
.nw-news-featured .nw-story-card:first-child h3 { font-size:28px; }
.nw-news-featured .nw-story-card:first-child .nw-editorial-action { margin-top:14px; }
.nw-news-layout { grid-template-columns:minmax(0,1fr) 280px; }
.nw-topics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.nw-topics-grid .nw-topic-card { flex-direction:row; background:#ecf2e4; border-color:#c7d8bb; }
.nw-topics-grid .nw-editorial-visual { flex:0 0 38%; width:38%; aspect-ratio:auto; min-height:220px; }
.nw-topics-grid .nw-label-badge { display:none; }
.nw-topics-grid .nw-editorial-body { padding:24px; }
.nw-topics-grid .nw-editorial-body h3 { font-size:22px; }
.nw-content-article-header { text-align:center; max-width:840px; padding-block:24px; }
.nw-content-authorline { justify-content:center; }
.nw-content-articlevisual, .nw-reading-wrap > .nw-reading-panel { max-width:920px; }
@media(max-width:1050px) {
    .nw-fresh-row { padding:16px; gap:12px; }
    .nw-fresh-row .nw-app-icon { width:54px; height:54px; border-radius:13px; }
    .nw-fresh-row .nw-app-card-main, .nw-card-compact .nw-app-card-main { gap:12px; }
    .nw-fresh-row .nw-card-description { display:none; }
    .nw-fresh-topics .nw-editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
    .nw-wrap, .nw-reading-wrap { width:calc(100% - 32px); }
    .nw-fresh-welcome { margin-top:20px; padding:30px 18px; border-radius:20px; }
    .nw-fresh-welcome .nw-hero-copy h1 { font-size:34px; }
    .nw-fresh-welcome .nw-hero-copy > p { font-size:14px; }
    .nw-fresh-discovery { grid-template-columns:1fr; gap:20px; }
    .nw-fresh-discovery .nw-hero-slide { min-height:0; aspect-ratio:1.9; }
    .nw-fresh-categories { padding:22px; }
    .nw-fresh-categories .nw-sidebar-panel { display:inline-block; width:100%; vertical-align:top; }
    .nw-fresh-popular { grid-template-columns:1fr; gap:0; }
    .nw-fresh-popular .nw-content-section { margin-block:24px; }
    .nw-fresh-releases .nw-app-grid, .nw-fresh-catalog { grid-template-columns:1fr; }
    .nw-fresh-row .nw-app-card-main, .nw-card-compact .nw-app-card-main { flex-direction:row; }
    .nw-fresh-row .nw-card-description { display:-webkit-box; }
    .nw-fresh-news .nw-editorial-grid { grid-template-columns:1fr; }
    .nw-catalog-layout { display:flex; }
    .nw-catalog-filter { order:0; }
    .nw-catalog-results { order:1; }
    .nw-app-hero { padding:28px 20px; }
    .nw-app-hero-main { align-items:center; }
    .nw-fresh-facts dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .nw-detail-sidebar { grid-template-columns:1fr; }
    .nw-detail-primary .nw-detail-section, .nw-detail-primary .nw-reading-panel { padding:22px; }
    .nw-news-layout { grid-template-columns:1fr; }
    .nw-news-featured .nw-story-card:first-child { grid-template-columns:1fr; }
    .nw-news-featured .nw-story-card:first-child .nw-editorial-body { padding:24px; }
    .nw-topics-grid { grid-template-columns:1fr; }
    .nw-screenshot-row img { height:260px; }
}
@media(max-width:480px) {
    .nw-fresh-welcome .nw-hero-copy h1 { font-size:30px; }
    .nw-fresh-welcome .nw-hero-actions { gap:8px; }
    .nw-fresh-welcome .nw-hero-actions a { padding-inline:15px; }
    .nw-fresh-search .nw-search { padding:6px 7px; }
    .nw-fresh-search .nw-search button { padding:9px 12px; }
    .nw-fresh-search .nw-search svg { display:none; }
    .nw-fresh-discovery .nw-hero-slide { aspect-ratio:1.5; }
    .nw-fresh-row { padding:14px; gap:10px; }
    .nw-fresh-row .nw-app-card-copy > strong { font-size:14px; }
    .nw-fresh-row .nw-app-icon { width:50px; height:50px; }
    .nw-fresh-row .nw-card-action { padding:5px 9px; }
    .nw-fresh-row .nw-card-action .nw-icon-arrow { display:none; }
    .nw-fresh-row .nw-card-bottom { max-width:78px; }
    .nw-app-grid, .nw-content-appgrid { grid-template-columns:1fr; }
    .nw-section-head h2 { font-size:23px; }
    .nw-fresh-topics .nw-editorial-grid { gap:12px; }
    .nw-fresh-news .nw-editorial-visual { flex-basis:30%; width:30%; min-height:140px; }
    .nw-fresh-news .nw-editorial-body { padding:16px; }
    .nw-fresh-news h3 { font-size:16px; }
    .nw-topics-grid .nw-editorial-body { padding:18px; }
    .nw-topics-grid .nw-editorial-body h3 { font-size:19px; }
}
/* Dedicated 404 page: native navigation, responsive and keyboard accessible. */
.nw-notfound { --nf-ink: var(--nw-ink); --nf-muted: var(--nw-muted); --nf-line: var(--nw-line); --nf-accent: var(--nw-accent); --nf-accent-ink: var(--nw-accent-ink); --nf-accent-hover: var(--nw-accent-hover); --nf-accent-soft: var(--nw-accent-soft); --nf-bg: var(--nw-panel); width: min(1120px, calc(100% - 40px)); margin: clamp(28px, 6vw, 72px) auto; color: var(--nf-ink); }
.nw-notfound-hero { display: grid; grid-template-columns: minmax(0, 1fr); text-align: center; align-items: center; gap: 24px; padding: clamp(24px, 5vw, 64px); border: 1px solid var(--nf-line); border-radius: 24px; background: var(--nf-bg); }
.nw-notfound-code { color: var(--nf-accent); font-size: clamp(88px, 14vw, 176px); font-weight: 850; line-height: 1; letter-spacing: -.06em; text-align: center; }
.nw-notfound-copy { min-width: 0; }
.nw-notfound h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: -.025em; color: var(--nf-ink); }
.nw-notfound-copy > p { margin: 16px 0 24px; color: var(--nf-muted); line-height: 1.7; }
.nw-notfound-home { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 12px; background: var(--nf-accent); color: var(--nf-accent-ink); text-decoration: none; font-weight: 700; line-height: 1.4; }
.nw-notfound-home:hover { color: var(--nf-accent-ink); background: var(--nf-accent-hover); text-decoration: none; }
.nw-notfound-home:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 4px; }
.nw-notfound-home svg { display: block; flex: none; width: 20px; height: 20px; }
.nw-notfound-search { width: 100%; max-width: 520px; margin: 28px auto 0; }
.nw-notfound-search form { margin: 0; max-width: none; width: 100%; }
.nw-notfound-related { margin-top: 40px; }
.nw-notfound-related h2 { margin: 0 0 20px; font-size: 24px; line-height: 1.3; }
.nw-notfound-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) {
    .nw-notfound { width: calc(100% - 28px); margin: 24px auto; }
    .nw-notfound-hero { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 28px 18px; gap: 24px; }
    .nw-notfound-search { margin: 24px auto 0; }
    .nw-notfound-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) { .nw-notfound-grid { grid-template-columns: minmax(0, 1fr); } }
