/* Top-level portal pages only. Console hubs and guide articles are unchanged. */
body.faq-theme { --n-accent: #00676b; --n-active: #e2f4f3; }
:root[data-site-theme="dark"] body.faq-theme { --n-accent: #73d7d3; --n-active: #163b3c; }
body.files-theme { --n-accent: var(--files-blue); --n-active: var(--files-active); }
.nr-portal { --portal-banner: #118333; --wave-color: #0b6e2b; --portal-accent: #087a2d; --portal-tint: #e7f5eb; --n-accent: var(--portal-accent); --n-active: var(--portal-tint); padding-bottom: 32px; color: var(--n-text); }
.nr-portal--files { --portal-banner: #06428c; --wave-color: #04316c; --portal-accent: #0868c5; --portal-tint: #e8f3ff; }
.nr-portal--games { --portal-banner: #960d23; --wave-color: #760b1c; --portal-accent: #c90012; --portal-tint: #fff1f2; }
.nr-portal--faq { --portal-banner: #006b70; --wave-color: #00575b; --portal-accent: #00676b; --portal-tint: #e2f4f3; }
.nr-portal * { letter-spacing: 0; }
.nr-portal .n-shell { width: min(1184px, calc(100% - 64px)); }
.nr-section-hero { position: relative; isolation: isolate; z-index: 1; overflow: visible; background: var(--portal-banner); color: #fff; }
.nr-section-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; min-height: 210px; padding-block: 36px; }
.nr-section-hero .nr-wave-edge { height: 48px; }
.nr-portal--games .nr-section-hero { color: #fff; }
.nr-portal > .nr-section-hero + :is(main,.games-container) { padding-top: 64px; }
.nr-section-logo { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 8px; object-fit: contain; }
.nr-section-hero-inner > div { min-width: 0; }
.nr-portal .nr-section-hero h1 { margin: 0; font: 750 44px/1.15 var(--font-display); color: inherit; text-transform: none; text-shadow: none; }
.nr-section-hero p { margin-top: 14px; max-width: 720px; font-size: 14px; line-height: 1.75; color: inherit; }
.nr-section-question { display: grid; place-items: center; background: #fff; color: var(--portal-accent); font: 750 64px/1 var(--font-display); }
.nr-portal--files .nr-section-hero { color: #fff; }
.nr-portal :is(a,button,input,summary):focus-visible { outline: 3px solid var(--portal-accent); outline-offset: 4px; }
.nr-portal .nr-section-hero a:focus-visible { outline-color: #fff; }
.nr-portal .nr-footer { border-top: 1px solid var(--n-border); }
:root[data-site-theme="dark"] .nr-portal { --portal-accent: #70dc90; --portal-tint: #1c3826; }
:root[data-site-theme="dark"] .nr-portal--files { --portal-accent: #70b7ff; --portal-tint: #173652; }
:root[data-site-theme="dark"] .nr-portal--games { --portal-accent: #ff7582; --portal-tint: #402126; }
:root[data-site-theme="dark"] .nr-portal--faq { --portal-accent: #73d7d3; --portal-tint: #163b3c; }
:root[data-site-theme="dark"] .nr-portal--faq .nr-section-question { color: #00676b; }

/* Guide directory */
.nr-portal .n-guide-hub-main { padding-top: 32px; padding-bottom: 32px; }
.nr-portal .n-hub-console-grid { gap: 16px; }
.nr-portal .n-hub-console { border-radius: 6px; border-top: 3px solid var(--portal-accent); }
.nr-portal .n-hub-console-image { background: var(--n-surface); aspect-ratio: 1.8; }
.nr-portal .n-hub-console-image img { padding: 22px; }
.nr-portal .n-hub-console-copy { padding: 18px 20px; }
.nr-portal .n-hub-console-copy h2 { font-size: 23px; }
.nr-portal .n-hub-console-copy p { min-height: 42px; font-size: 13px; }
.nr-portal .n-hub-console-footer { margin-inline: 20px; padding: 14px 0; background: transparent; border-top: 1px solid var(--n-border); }
.nr-portal .n-hub-console:hover { box-shadow: none; border-color: var(--portal-accent); }
.nr-portal .n-other-guides { margin-top: 34px; border-top: 1px solid var(--n-border); padding-top: 28px; }
.nr-portal .n-other-guide { border-radius: 6px; background: var(--n-surface); }
.nr-portal .n-other-image { background: var(--n-surface); }
.nr-portal .n-hub-channel { margin-top: 32px; padding-block: 26px; border-block: 1px solid var(--n-border); }
.nr-portal .n-hub-channel > a { border-radius: 6px; }

/* Download catalogue */
.nr-portal .files-main { padding-top: 8px; }
.nr-portal .files-tools { gap: 22px; padding-block: 24px; }
.nr-portal .files-search { min-height: 48px; }
.nr-portal .files-category-tabs { gap: 8px; }
.nr-portal .files-category-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding-inline: 9px; color: var(--n-muted); }
.nr-portal .files-category-tab:is(:hover,.is-active) { color: var(--portal-accent); border-bottom-color: var(--portal-accent); background: transparent; }
.nr-portal .files-section-header { margin-bottom: 22px; }
.nr-portal .files-platform-visual { background: transparent; border: 0; }
.nr-portal .files-section-header h2 { font-size: 24px; }
.nr-portal .files-section-count { background: var(--portal-tint); color: var(--portal-accent); }
.nr-portal .files-card { border-radius: 6px; }
.nr-portal .files-card-image { background: var(--n-surface); border-right: 0; }
.nr-portal .files-card-copy { padding: 18px 18px 18px 4px; }
.nr-portal .files-card h3 { font-size: 18px; }
.nr-portal .files-card--downloadable .files-card-copy { padding: 20px 20px 20px 4px; }
.nr-portal .files-card--downloadable h3 { font-size: 22px; }
.nr-portal .files-channel { padding-block: 26px; }

/* Questions and answers */
.nr-portal .faq-main { width: min(1184px, calc(100% - 64px)); margin-inline: auto; padding: 32px 0 48px; }
.nr-portal .faq-hero { display: block; padding-bottom: 24px; }
.nr-portal .faq-search-wrap { max-width: none; min-height: 52px; border-radius: 6px; color: var(--portal-accent); }
.nr-portal .faq-search-wrap:focus-within { border-color: var(--portal-accent); box-shadow: 0 0 0 3px var(--portal-tint); }
.nr-portal .faq-toolbar { padding-block: 0 16px; border-bottom: 1px solid var(--n-border); }
.nr-portal .faq-tabs { padding: 0; gap: 8px; }
.nr-portal .faq-tabs button { padding-inline: 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--n-muted); }
.nr-portal .faq-tabs button:is(:hover,.active) { color: var(--portal-accent); border-bottom-color: var(--portal-accent); background: transparent; }
.nr-portal .faq-content { gap: 32px; }
.nr-portal .faq-section-heading h2 { font-size: 23px; }
.nr-portal .faq-section-heading > i { color: var(--portal-accent); }
.nr-portal .faq-section-heading { margin-bottom: 16px; }
.nr-portal .faq-list { border: 1px solid var(--n-border); border-radius: 6px; overflow: hidden; background: var(--n-surface); }
.nr-portal .faq-item:last-child { border-bottom: 0; }
.nr-portal .faq-item summary { padding: 18px; min-height: 76px; }
.nr-portal .faq-item summary:hover { background: var(--portal-tint); }
.nr-portal .faq-item-number { color: var(--n-muted); }
.nr-portal .faq-item-toggle { border-radius: 4px; background: var(--n-tint); color: var(--n-text); }
.nr-portal .faq-item[open] .faq-item-toggle { background: var(--portal-tint); color: var(--portal-accent); }
.nr-portal .faq-answer { max-width: none; }
.nr-portal .faq-answer a { color: var(--portal-accent); text-decoration-color: currentColor; }
.nr-portal .faq-empty > i { color: var(--portal-accent); }
.nr-portal .faq-empty button { background: var(--portal-accent); color: var(--n-page); }
.nr-portal .faq-support { border-block: 1px solid var(--n-border); }
.nr-portal .faq-support > a { border-radius: 6px; }

@media (max-width: 900px) {
    .nr-section-hero-inner { min-height: 190px; }
    .nr-portal .nr-section-hero h1 { font-size: 36px; }
    .nr-portal .files-tools { gap: 14px; }
    .nr-portal .files-category-tabs { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .nr-portal { padding-bottom: 94px; }
    .nr-portal :is(.n-shell,.faq-main) { width: calc(100% - 32px); }
    .nr-section-hero-inner { min-height: 180px; padding-block: 28px; gap: 16px; }
    .nr-section-logo { width: 56px; height: 56px; flex-basis: 56px; }
    .nr-section-question { font-size: 42px; }
    .nr-portal .nr-section-hero h1 { font-size: 28px; }
    .nr-section-hero p { margin-top: 10px; font-size: 12px; line-height: 1.65; }
    .nr-portal .n-guide-hub-main { padding-top: 22px; padding-bottom: 22px; }
    .nr-portal .n-hub-console-grid { gap: 12px; }
    .nr-portal .n-hub-console-image { aspect-ratio: 1.4; }
    .nr-portal .n-hub-console-image img { padding: 12px; }
    .nr-portal .n-hub-console-copy { padding: 12px; }
    .nr-portal .n-hub-console-copy h2 { font-size: 17px; }
    .nr-portal .n-hub-console-copy p { font-size: 12px; min-height: 0; }
    .nr-portal .n-hub-console-footer { margin-inline: 12px; padding-block: 12px; font-size: 10px; }
    .nr-portal .n-other-guides { margin-top: 24px; padding-top: 22px; }
    .nr-portal .files-tools { padding-block: 20px; }
    .nr-portal .files-section-header h2 { font-size: 22px; }
    .nr-portal .files-card-copy { padding: 15px 15px 15px 4px; }
    .nr-portal .files-card h3 { font-size: 17px; }
    .nr-portal .files-card--downloadable .files-card-copy { padding: 15px 15px 15px 4px; }
    .nr-portal .files-card--downloadable h3 { font-size: 19px; }
    .nr-portal .faq-main { padding-top: 22px; padding-bottom: 26px; }
    .nr-portal .faq-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .nr-portal .faq-tabs button { flex-shrink: 0; padding-inline: 10px; }
    .nr-portal .faq-section-heading h2 { font-size: 20px; }
    .nr-portal .faq-item summary { padding: 16px 12px; min-height: 78px; }
    .nr-portal .faq-answer { padding-inline: 16px; }
    .nr-portal .faq-support > a { width: 100%; justify-content: center; }
}

/* Compact console directory */
.nr-portal .n-hub-console-copy { padding: 14px 18px 20px; }
.nr-portal .n-hub-console-copy h2 { font-size: 21px; }
.nr-portal .n-hub-console-image { aspect-ratio: 1.8; }
.nr-portal .n-other-guide { min-height: 104px; }
.nr-portal .n-other-image { width: 180px; }

/* Game catalogue: preserve each console's existing cover proportions. */
.nr-portal--games .games-container { width: min(1184px, calc(100% - 64px)); padding-top: 28px; }
.nr-portal--games .stats-bar { padding: 0 0 24px; }
.nr-portal--games .console-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.nr-portal--games .console-tab { flex: 1 1 160px; min-height: 64px; border-radius: 6px; background: var(--n-surface); border: 1px solid var(--n-border); padding: 12px; }
.nr-portal--games .console-tab.active { background: var(--portal-tint); border-color: var(--portal-accent); color: var(--portal-accent); }
.nr-portal--games .console-tab-label { display: inline; }
.nr-portal--games .console-icon { width: 42px; height: 34px; object-fit: contain; }
.nr-portal--games .search-sort-row { padding-block: 22px; }
.nr-portal--games .search-box { min-height: 48px; border-radius: 6px; }
.nr-portal--games .sort-box select { min-height: 48px; border-radius: 6px; }
.nr-portal--games .game-card { border-radius: 6px; }

/* File library: one section at a time, with global search. */
.nr-portal .files-library { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding-top: 28px; }
.files-navigation { min-width: 0; }
.files-navigation-list { position: sticky; top: calc(var(--portal-header-height) + 20px); max-height: calc(100dvh - var(--portal-header-height) - 40px); overflow-y: auto; }
.files-navigation-list button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--n-text); text-align: left; font: 500 12px/1.4 var(--font-reading); cursor: pointer; }
.files-navigation-list button > i { width: 32px; text-align: center; font-size: 18px; color: var(--files-blue); }
.files-navigation-list button img { object-fit: contain; flex: 0 0 32px; }
.files-navigation-list button span { flex: 1; }
.files-navigation-list button small { color: var(--n-muted); font-size: 10px; }
.files-navigation-list button:is(:hover,.is-active) { background: var(--files-active); color: var(--files-blue); border-color: var(--n-border); }
.files-navigation-group { margin-top: 24px; }
.files-navigation-group h2 { margin: 0 0 8px 10px; font: 600 10px/1.4 var(--font-reading); text-transform: uppercase; color: var(--n-muted); }
.files-mobile-select { display: none; }
.files-library-content { min-width: 0; }
.nr-portal .files-library .files-tools { display: flex; align-items: center; gap: 14px; padding: 0 0 24px; }
.files-library .files-search { width: 100%; flex: 1; }
.files-reset { display: flex; align-items: center; gap: 7px; min-height: 40px; border: 0; padding: 8px; background: transparent; color: var(--files-blue); font: 500 12px var(--font-reading); cursor: pointer; }
.files-reset[hidden] { display: none; }
.files-view-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 22px; }
.files-view-heading h2 { font: 700 25px/1.3 var(--font-display); color: var(--n-text); }
.files-view-heading > span { flex-shrink: 0; font-size: 12px; color: var(--n-muted); }
.nr-portal .files-library .files-section { padding: 20px 0 0; border: 0; }
.files-library .files-section-header[hidden], .files-subgroup[hidden] { display: none; }
.files-library .files-subgroup-title { margin-bottom: 14px; font: 650 14px/1.4 var(--font-reading); color: var(--n-muted); }
.files-subgroup + .files-subgroup { margin-top: 28px; }
.nr-portal .files-library .files-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.nr-portal .files-library .files-card { grid-column: auto; grid-template-columns: 74px minmax(0, 1fr); align-self: start; }
.nr-portal .files-library .files-card--featured { grid-column: 1/-1; grid-template-columns: 100px minmax(0, 1fr); }
.nr-portal .files-library .files-card-image { padding: 12px; min-height: 120px; }
.nr-portal .files-library .files-card-copy { padding: 16px 16px 16px 0; }
.nr-portal .files-library .files-card h3 { font-size: 18px; }
.nr-portal .files-library .files-card--featured h3 { font-size: 21px; }
.files-library .files-download-groups { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
.files-library .files-download-link { grid-template-columns: minmax(0,1fr) auto; }
.files-library .files-download-link > em { grid-column: 1; justify-self: start; }
.files-library .files-download-link > i { grid-column: 2; grid-row: 1/span 2; }
.files-library .files-release-details > summary { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--files-blue); cursor: pointer; }
.files-library .files-release-details:not([open]) > .files-release-notes { display: none; }
.files-library .files-card-links { gap: 10px; }
@media (max-width: 1000px) { .nr-portal .files-library { grid-template-columns: 190px minmax(0,1fr); gap: 24px; } }
@media (max-width: 800px) {
    .nr-portal .files-library { grid-template-columns: 1fr; gap: 22px; }
    .files-navigation-list { display: none; }
    .files-mobile-select { display: grid; gap: 8px; color: var(--n-muted); font-size: 12px; }
    .files-mobile-select select { width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--n-border); border-radius: 6px; background: var(--n-surface); color: var(--n-text); font: 14px var(--font-reading); }
}
@media (max-width: 600px) {
    .nr-portal .n-hub-console-copy { padding: 8px 12px 16px; }
    .nr-portal .n-hub-console-copy h2 { font-size: 16px; }
    .nr-portal .n-other-image { width: 100px; }
    .nr-portal--games .games-container { width: calc(100% - 32px); padding-top: 22px; }
    .nr-portal--games .console-tab { flex: 1 1 90px; min-height: 58px; padding: 8px; }
    .nr-portal--games .console-tab-label { font-size: 11px; }
    .nr-portal--games .console-icon { width: 30px; height: 26px; }
    .nr-portal .files-library .files-grid { grid-template-columns: 1fr; }
    .nr-portal .files-library .files-tools { flex-wrap: wrap; }
    .files-reset { margin-top: -8px; }
    .files-view-heading h2 { font-size: 22px; }
    .nr-portal .files-library .files-card--featured { grid-template-columns: 74px minmax(0,1fr); }
}

/* Console selector and results use the same directory language as the portal. */
body.games-theme .nr-games-console-heading { margin: 0 0 16px; font: 700 19px/1.3 var(--font-display); color: var(--n-text); }
body.games-theme .nr-portal--games .games-controls { padding: 0; gap: 0; margin-bottom: 0; }
body.games-theme .nr-portal--games .console-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; overflow: visible; }
body.games-theme .nr-portal--games .console-tab { position: relative; min-width: 0; min-height: 100px; padding: 14px 10px; justify-content: center; box-shadow: none; }
body.games-theme .nr-portal--games .console-tab-left { display: flex; flex-direction: column; gap: 8px; align-items: center; }
body.games-theme .nr-portal--games .console-icon { width: 60px; height: 42px; }
body.games-theme .nr-portal--games .console-tab-label { color: inherit; font: 650 13px/1.4 var(--font-reading); }
body.games-theme .nr-portal--games .console-tab .count { position: absolute; top: 7px; right: 7px; min-width: 24px; padding: 2px 4px; border-radius: 3px; background: var(--n-bg); color: var(--n-muted); font-size: 10px; }
body.games-theme .nr-portal--games .search-sort-row { display: flex; gap: 12px; padding: 24px 0; }
body.games-theme .nr-portal--games .search-box { position: relative; flex: 1; border: 1px solid var(--n-border); border-radius: 5px; background: var(--n-surface); box-shadow: none; }
body.games-theme .nr-portal--games .search-box input { width: 100%; min-height: 48px; padding: 12px 44px; border: 0; border-radius: inherit; background: transparent; color: var(--n-text); font: 14px var(--font-reading); }
body.games-theme .nr-portal--games .search-box > i { position: absolute; left: 16px; right: auto; top: 50%; transform: translateY(-50%); color: var(--n-muted); pointer-events: none; }
body.games-theme #gamesSearchClear { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border: 0; border-radius: 4px; background: transparent; color: var(--n-muted); cursor: pointer; }
body.games-theme #gamesSearchClear[hidden] { display: none; }
body.games-theme #gamesSearchClear:hover { background: var(--portal-tint); color: var(--portal-accent); }
body.games-theme .nr-portal--games .sort-box { width: 216px; flex-shrink: 0; }
body.games-theme .nr-portal--games .sort-box select { width: 100%; border: 1px solid var(--n-border); border-radius: 5px; box-shadow: none; background: var(--n-surface); color: var(--n-text); font: 13px var(--font-reading); }
body.games-theme .nr-games-results { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 8px 0 20px; border-top: 1px solid var(--n-border); }
body.games-theme .nr-games-results h2 { margin: 12px 0 0; color: var(--n-text); font: 700 25px/1.3 var(--font-display); }
body.games-theme .nr-games-results p { display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; color: var(--n-text); font-size: 13px; }
body.games-theme .nr-games-results p span { margin-left: 12px; color: var(--n-muted); }
body.games-theme .nr-portal--games .game-card { border: 1px solid var(--n-border); box-shadow: none; background: var(--n-surface); }
body.games-theme .nr-portal--games .game-card:hover { border-color: var(--portal-accent); box-shadow: none; transform: translateY(-3px); }
body.games-theme .nr-portal--games .game-title { font: 650 14px/1.45 var(--font-reading); }
body.games-theme .nr-portal--games .game-cover { width: 100%; height: auto; object-fit: initial; }
@media (max-width: 600px) {
    body.games-theme .nr-portal--games .console-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
    body.games-theme .nr-portal--games .console-tab { flex: 0 0 112px; min-height: 100px; scroll-snap-align: start; }
    body.games-theme .nr-portal--games .search-sort-row { flex-wrap: wrap; padding-block: 16px; }
    body.games-theme .nr-portal--games .search-box { flex-basis: 100%; }
    body.games-theme .nr-portal--games .sort-box { width: 100%; }
    body.games-theme .nr-games-results { flex-direction: column; gap: 8px; }
    body.games-theme .nr-games-results h2 { font-size: 23px; }
    body.games-theme .nr-games-results p { margin: 0; }
}

/* Global search is a directory window, not a floating mobile sheet. */
body .nr-search-overlay { display: flex; justify-content: center; padding: 28px; background: rgb(12 16 20 / 68%); backdrop-filter: none; align-items: center; }
body .nr-search-overlay[hidden] { display: none; }
body .nr-search-overlay .app-search-dialog { display: flex; flex-direction: column; width: min(880px,100%); max-height: min(760px,90dvh); margin: 0; padding: 0; border: 1px solid var(--n-border); border-radius: 6px; background: var(--n-surface); color: var(--n-text); box-shadow: 0 12px 40px #0003; overflow: hidden; }
body .nr-search-overlay .app-search-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 0; background: #c90019; color: #fff; flex-shrink: 0; }
body .nr-search-overlay .app-search-head > img { border-radius: 6px; }
body .nr-search-overlay .app-search-head > div { flex: 1; }
body .nr-search-overlay .app-search-head span { font: 500 11px/1.4 var(--font-reading); }
body .nr-search-overlay .app-search-head h2 { margin: 3px 0 0; color: #fff; font: 700 22px/1.2 var(--font-display); }
body .nr-search-overlay .app-search-close { width: 40px; height: 40px; border: 1px solid #ffffff70; border-radius: 4px; background: transparent; color: #fff; }
body .nr-search-overlay .nr-search-field { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 20px 20px 14px; padding: 0 12px; border: 1px solid var(--n-border); border-radius: 4px; background: var(--n-bg); flex-shrink: 0; }
body .nr-search-overlay .nr-search-field:focus-within { outline: 2px solid #e60020; outline-offset: 2px; }
body .nr-search-overlay .nr-search-field > i { color: var(--n-muted); }
body .nr-search-overlay .nr-search-field input { width: 100%; min-width: 0; min-height: 50px; border: 0; outline: 0; box-shadow: none; background: transparent; color: var(--n-text); font: 15px var(--font-reading); }
body .nr-search-overlay .nr-search-field button { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 4px; background: transparent; color: var(--n-muted); cursor: pointer; }
body .nr-search-overlay [data-search-clear][hidden] { display: none; }
body .nr-search-overlay .nr-search-scopes { display: flex; gap: 6px; padding: 0 20px 14px; border-bottom: 1px solid var(--n-border); flex-shrink: 0; }
body .nr-search-overlay .nr-search-scopes button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--n-border); border-radius: 4px; background: transparent; color: var(--n-muted); font: 600 12px var(--font-reading); cursor: pointer; }
body .nr-search-overlay .nr-search-scopes button[aria-pressed="true"] { border-color: #e60020; background: #c90019; color: #fff; }
body .nr-search-overlay .app-search-meta { margin: 0; padding: 12px 20px; color: var(--n-muted); font: 500 12px var(--font-reading); flex-shrink: 0; }
body .nr-search-overlay .app-search-results { display: block; min-height: 0; max-height: none; margin: 0; padding: 0 20px 20px; overflow-y: auto; overscroll-behavior: contain; }
body .nr-search-overlay .app-search-result { display: flex; align-items: center; gap: 14px; min-height: 76px; width: 100%; margin: 0; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--n-border); border-radius: 0; background: transparent; color: var(--n-text); text-align: left; box-shadow: none; transform: none; }
body .nr-search-overlay .app-search-result:is(:hover,:focus-visible) { background: var(--n-bg); outline: 2px solid #e60020; outline-offset: -2px; }
body .nr-search-overlay .app-search-result-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 0; border-radius: 5px; background: transparent; color: #e60020; font-size: 24px; }
body .nr-search-overlay .app-search-result-icon img { width: 40px; height: 40px; object-fit: contain; border-radius: 5px; }
body .nr-search-overlay .app-search-result-copy { min-width: 0; flex: 1; }
body .nr-search-overlay .app-search-result-copy strong { color: var(--n-text); font: 650 14px/1.4 var(--font-reading); overflow-wrap: anywhere; }
body .nr-search-overlay .app-search-result-copy small { display: block; margin-top: 5px; color: var(--n-muted); font: 12px/1.5 var(--font-reading); white-space: normal; }
body .nr-search-overlay .app-search-result-kind { display: block; flex-shrink: 0; max-width: 100px; padding: 4px 6px; border-radius: 3px; background: var(--n-bg); color: var(--n-muted); font-size: 10px; }
body .nr-search-overlay .app-search-result-arrow { color: var(--n-muted); }
body .nr-search-overlay .app-search-games-result { margin-top: 12px; border: 1px dashed var(--n-border); border-radius: 4px; }
body .nr-search-overlay button:focus-visible { outline: 2px solid #e60020; outline-offset: 2px; }
body .nr-search-overlay input::-webkit-search-cancel-button,
body.games-theme #searchInput::-webkit-search-cancel-button { display: none; }
@media (max-width: 600px) {
    body .nr-search-overlay { padding: 0; }
    body .nr-search-overlay .app-search-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
    body .nr-search-overlay .app-search-head { padding: max(14px,env(safe-area-inset-top)) 16px 14px; }
    body .nr-search-overlay .nr-search-field { margin: 16px; }
    body .nr-search-overlay .nr-search-scopes { padding-inline: 16px; gap: 4px; }
    body .nr-search-overlay .nr-search-scopes button { padding: 8px; flex: 1; font-size: 11px; }
    body .nr-search-overlay .app-search-meta { padding-inline: 16px; }
    body .nr-search-overlay .app-search-results { padding: 0 12px max(20px,env(safe-area-inset-bottom)); }
    body .nr-search-overlay .app-search-result { gap: 10px; }
    body .nr-search-overlay .app-search-result-kind { display: none; }
}
