/* Local portal experiment: home and top-level Guide, Files and FAQ pages. */
.nr-home { color: var(--n-text); font-family: var(--font-reading); padding-bottom: 32px; }
.nr-home * { letter-spacing: 0; box-sizing: border-box; }
.nr-home a { text-decoration: none; }
.nr-home :is(a,button):focus-visible { outline: 3px solid var(--n-accent); outline-offset: 5px; }
.nr-shell { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.nr-home, .nr-portal { --portal-header-height: 89px; }
html:has(.nr-header), body:has(.nr-header) { overflow-x: clip; }
#app:has(> .nr-home, > .nr-portal) { overflow-x: clip; overflow-y: visible; }
.nr-header { position: sticky; top: 0; z-index: 100; background: var(--n-surface); border-bottom: 1px solid var(--n-border); }
.nr-home main [id], .nr-portal :is(main,.games-container) [id] { scroll-margin-top: calc(var(--portal-header-height) + 16px); }
.nr-header a { text-decoration: none; }
.nr-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nr-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--n-text); }
.nr-brand img { width: 44px; height: 44px; border-radius: 8px; }
.nr-brand > span { font: 750 18px/1.3 var(--font-display); }
.nr-brand-sub { display: block; margin-top: 2px; font: 400 11px/1.4 var(--font-reading); color: var(--n-muted); }
.nr-header-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nr-header-nav a { font-size: 13px; font-weight: 650; color: var(--n-text); padding-block: 12px; }
.nr-header-nav a:hover { color: var(--n-accent); }
.nr-header-nav a[aria-current="page"] { color: var(--n-accent); box-shadow: inset 0 -2px var(--n-accent); }
.nr-header-tools { display: flex; gap: 8px; align-items: center; }
.nr-header-tools :is(.n-theme-toggle,.lang-floating-toggle) { background: var(--n-surface); color: var(--n-text); border: 1px solid var(--n-border); border-radius: 6px; box-shadow: none; }
.nr-header-tools .lang-floating { position: relative; inset: auto !important; }
.nr-header-tools .lang-floating-toggle { width: 44px; height: 44px; }
.nr-hero { position: relative; isolation: isolate; z-index: 1; overflow: visible; background: #e60012; color: #fff; min-height: 390px; display: grid; align-items: center; padding: 46px 32px 66px; }
.nr-hero-copy { position: relative; z-index: 1; width: min(640px, 100%); margin-inline: auto; text-align: center; }
.nr-eyebrow { font-size: 10px; font-weight: 700; line-height: 1.6; text-transform: uppercase; }
.nr-hero h1 { font: 750 72px/1.08 var(--font-display); color: #fff; margin: 12px 0 18px; text-transform: none; text-shadow: none; }
.nr-title-dot { color: #ffe47c; }
.nr-hero-description { max-width: 470px; margin-inline: auto; font-size: 15px; line-height: 1.75; color: #fff; }
.nr-search { width: min(400px, 100%); min-height: 48px; margin-top: 26px; padding: 10px 16px; display: flex; align-items: center; gap: 14px; border: 1px solid #fff8; border-radius: 6px; background: #fff; color: #38383b; font: 500 13px/1.5 var(--font-reading); text-align: left; cursor: pointer; }
.nr-search span { flex: 1; min-width: 0; }
.nr-hero .nr-search { margin-inline: auto; }
.nr-search:hover { background: #fff4e7; }
.nr-hero :is(a,button):focus-visible { outline-color: #ffe47c; }
.nr-hero-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; max-width: 1640px; margin-inline: auto; }
.nr-hero-art img { position: absolute; object-fit: contain; height: auto; }
.nr-hero-switch { width: 260px; left: 24px; top: 58px; transform: rotate(-10deg); }
.nr-hero-3ds { width: 300px; right: 8px; top: 95px; transform: rotate(8deg); }
.nr-destinations { padding-top: 80px; padding-bottom: 38px; }
.nr-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.nr-section-heading h2 { font: 700 22px/1.3 var(--font-display); color: var(--n-text); text-transform: none; }
.nr-section-heading > span { color: var(--n-muted); font-size: 11px; }
.nr-destination-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.nr-destination { --destination-color: #087a2d; --destination-tint: #e7f5eb; position: relative; display: grid; grid-template-columns: 1fr 64px; grid-template-rows: 64px 1fr auto; gap: 18px 10px; border: 1px solid var(--n-border); border-top: 3px solid var(--destination-color); border-radius: 6px; padding: 20px; background: var(--n-surface); color: var(--n-text); transition: transform 160ms ease, border-color 160ms ease; }
.nr-destination--red { --destination-color: #cb0017; --destination-tint: #ffeaed; }
.nr-destination--blue { --destination-color: #086fd4; --destination-tint: #e8f3ff; }
.nr-destination--teal { --destination-color: #00676b; --destination-tint: #e2f4f3; }
.nr-destination:hover { border-color: var(--destination-color); transform: translateY(-4px); }
.nr-destination-index { align-self: start; font: 600 11px/1.4 var(--font-display); color: var(--n-muted); }
.nr-destination-logo { width: 64px; height: 64px; border-radius: 8px; object-fit: contain; }
.nr-faq-symbol { background: var(--destination-tint); color: var(--destination-color); display: grid; place-items: center; font: 750 42px/1 var(--font-display); }
.nr-destination-copy { grid-column: 1/-1; }
.nr-destination h3 { font: 750 25px/1.2 var(--font-display); color: var(--n-text); text-transform: none; }
.nr-destination p { color: var(--n-muted); font-size: 13px; line-height: 1.7; margin-top: 10px; }
.nr-destination-action { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--n-border); font-size: 11px; font-weight: 700; color: var(--destination-color); }
.nr-destination-action i { font-size: 17px; }
.nr-requests { display: flex; gap: 14px; align-items: center; padding-block: 22px; margin-top: 10px; color: var(--n-text); }
.nr-requests > i:first-child { font-size: 20px; color: var(--n-accent); }
.nr-requests > span { flex: 1; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.nr-requests strong { font-size: 13px; }
.nr-requests span span { font-size: 12px; color: var(--n-muted); }
.nr-requests > i:last-child { font-size: 18px; }
.nr-requests:hover strong { color: var(--n-accent); }
.nr-channel-band { border-block: 1px solid var(--n-border); background: var(--n-surface); }
.nr-channel-inner { display: flex; align-items: center; gap: 22px; padding-block: 30px; }
.nr-channel-inner > img { width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; }
.nr-channel-inner > div { flex: 1; min-width: 0; }
.nr-channel-inner .nr-eyebrow { color: var(--n-accent); }
.nr-channel-inner h2 { font: 700 22px/1.3 var(--font-display); margin: 3px 0 5px; color: var(--n-text); text-transform: none; }
.nr-channel-inner p { color: var(--n-muted); font-size: 13px; line-height: 1.6; }
.nr-channel-inner > a { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 6px; background: #cf0015; color: #fff; font-size: 12px; font-weight: 650; }
.nr-channel-inner > a:hover { background: #a80011; }
.nr-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; color: var(--n-muted); font-size: 11px; line-height: 1.6; text-align: left; opacity: 1; transform: none; animation: none; }
:root[data-site-theme="dark"] .nr-destination { --destination-color: #70dc90; }
:root[data-site-theme="dark"] .nr-destination--red { --destination-color: #ff7582; }
:root[data-site-theme="dark"] .nr-destination--blue { --destination-color: #70b7ff; }
:root[data-site-theme="dark"] .nr-destination--teal { --destination-color: #73d7d3; --destination-tint: #163b3c; }
@media (max-width: 1199px) {
    .nr-hero-switch { width: 185px; left: -35px; top: 84px; }
    .nr-hero-3ds { width: 210px; right: -40px; top: 125px; }
    .nr-destination { padding: 16px; }
    .nr-header-nav { gap: 20px; }
}
@media (max-width: 900px) {
    .nr-hero { min-height: 420px; padding-bottom: 150px; }
    .nr-hero h1 { font-size: 58px; }
    .nr-hero-switch { width: 145px; left: calc(50% - 190px); top: auto; bottom: 25px; transform: rotate(-8deg); }
    .nr-hero-3ds { width: 185px; right: calc(50% - 210px); top: auto; bottom: 30px; transform: rotate(6deg); }
    .nr-destination-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nr-channel-inner { flex-wrap: wrap; }
    .nr-channel-inner > a { margin-left: 86px; }
}
@media (min-width: 761px) and (max-width: 900px) {
    .nr-header-nav { gap: 12px; }
    .nr-brand > span { font-size: 16px; }
    .nr-header-inner { gap: 12px; }
}
@media (max-width: 760px) {
    .nr-header-nav { display: none; }
}
@media (max-width: 600px) {
    .nr-home, .nr-portal { --portal-header-height: 77px; }
    .nr-home { padding-bottom: 94px; }
    .nr-shell { width: calc(100% - 32px); }
    .nr-header-inner { min-height: 76px; gap: 12px; }
    .nr-brand { gap: 10px; }
    .nr-brand > span { font-size: 16px; }
    .nr-brand img { width: 38px; height: 38px; }
    .nr-brand-sub { font-size: 10px; }
    .nr-header-tools { gap: 5px; }
    .nr-header-tools .n-theme-toggle { width: 38px; flex-basis: 38px; }
    .nr-header-tools .n-language-slot { width: 38px; min-width: 38px; flex-basis: 38px; }
    .nr-header-tools .lang-floating-toggle { width: 38px; }
    .nr-hero { min-height: 382px; padding: 30px 20px 156px; }
    .nr-hero h1 { font-size: 42px; margin-block: 10px 14px; }
    .nr-hero-description { font-size: 13px; line-height: 1.7; max-width: 350px; }
    .nr-eyebrow { font-size: 9px; }
    .nr-search { margin-top: 20px; min-height: 44px; font-size: 12px; }
    .nr-hero-switch { width: 125px; left: calc(50% - 148px); bottom: 30px; }
    .nr-hero-3ds { width: 160px; right: calc(50% - 160px); bottom: 30px; }
    .nr-destinations { padding-top: 74px; padding-bottom: 26px; }
    .nr-section-heading { margin-bottom: 16px; }
    .nr-section-heading h2 { font-size: 20px; }
    .nr-section-heading > span { display: none; }
    .nr-destination-grid { grid-template-columns: 1fr; gap: 10px; }
    .nr-destination { grid-template-columns: 48px minmax(0,1fr) 20px; grid-template-rows: auto; gap: 14px; align-items: center; min-height: 110px; padding: 18px 14px; border-top: 1px solid var(--n-border); border-left: 3px solid var(--destination-color); }
    .nr-destination-index { display: none; }
    .nr-destination-logo { width: 48px; height: 48px; }
    .nr-destination-copy { grid-column: auto; }
    .nr-destination h3 { font-size: 21px; }
    .nr-destination p { margin-top: 5px; font-size: 12px; line-height: 1.6; }
    .nr-destination-action { grid-column: auto; border: 0; padding: 0; margin: 0; font-size: 0; justify-content: center; }
    .nr-destination-action i { font-size: 20px; }
    .nr-faq-symbol { font-size: 32px; }
    .nr-requests { padding: 20px 2px; }
    .nr-requests > span { gap: 4px; }
    .nr-requests span span { font-size: 11px; }
    .nr-channel-inner { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; padding-block: 26px; }
    .nr-channel-inner > img { width: 48px; height: 48px; }
    .nr-channel-inner h2 { font-size: 20px; }
    .nr-channel-inner p { font-size: 12px; }
    .nr-channel-inner > a { grid-column: 1/-1; margin-left: 0; }
    .nr-footer { font-size: 10px; gap: 6px; }
    .nr-footer > span:last-child { width: 100%; }
}
@media (max-width: 360px) {
    .nr-brand > span { font-size: 14px; }
    .nr-brand-sub { font-size: 9px; }
    .nr-brand { gap: 8px; }
    .nr-hero h1 { font-size: 36px; }
    .nr-header-inner { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .nr-home * { transition: none !important; }
}

.nr-wave { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.nr-wave-edge { position: absolute; top: calc(100% - 1px); left: 0; z-index: -1; width: 100%; height: 64px; pointer-events: none; }
.nr-hero { --wave-color: #cc0018; }
.lang-floating-menu[hidden] { display: none; }
.nr-header-tools .lang-floating-menu { top: calc(100% + 10px); bottom: auto; border: 1px solid var(--n-border); border-radius: 6px; clip-path: none; transform: none; box-shadow: 0 5px 18px #0002; }
.nr-header-tools .lang-floating { animation: none; }
.nr-search { width: min(440px, 100%); padding: 5px 6px 5px 16px; gap: 10px; min-height: 52px; border-radius: 8px; cursor: text; }
.nr-search input { width: 100%; min-width: 0; padding: 8px 0; border: 0; outline: 0; background: transparent; color: #24272b; font: 400 14px/1.5 var(--font-reading); }
.nr-search input::placeholder { color: #626971; opacity: 1; }
.nr-search:focus-within { outline: 3px solid #fff6; outline-offset: 4px; }
.nr-search:hover { background: #fff; }
.nr-search button { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 5px; background: #c90012; color: #fff; font-size: 18px; cursor: pointer; }
.nr-search button:hover { background: #a5000f; }
.nr-reading-actions { display: flex; gap: 12px; align-items: center; }
.nr-reading-actions :is(a,button) { display: flex; gap: 7px; align-items: center; min-height: 36px; padding: 5px 0; border: 0; background: transparent; color: var(--n-muted); font: 500 12px/1.4 var(--font-reading); cursor: pointer; }
.nr-reading-actions :is(a,button):hover { color: var(--n-accent); }

.nr-resume-popup { position: fixed; z-index: 900; right: 28px; bottom: 28px; width: min(390px, calc(100% - 32px)); padding: 20px 20px 0; overflow: hidden; border: 1px solid var(--n-border); border-top: 3px solid #c90012; border-radius: 8px; background: var(--n-surface); color: var(--n-text); box-shadow: 0 8px 30px #0003; font-family: var(--font-reading); animation: nr-resume-in 220ms ease-out both; }
.nr-resume-popup * { box-sizing: border-box; letter-spacing: 0; }
.nr-resume-heading { display: flex; align-items: center; gap: 8px; color: var(--n-muted); font-size: 11px; }
.nr-resume-heading > i { color: var(--n-accent); font-size: 16px; }
.nr-resume-heading button { margin-left: auto; }
.nr-resume-popup button { border: 0; background: transparent; color: var(--n-muted); font: 500 12px/1.4 var(--font-reading); cursor: pointer; }
.nr-resume-popup :is(a,button,select):focus-visible { outline: 2px solid var(--n-accent); outline-offset: 3px; }
.nr-resume-popup [data-resume-close] { width: 32px; height: 32px; }
.nr-resume-popup h2 { margin-top: 10px; color: var(--n-text); font: 700 19px/1.35 var(--font-display); text-transform: none; overflow-wrap: anywhere; }
.nr-resume-popup > p { margin-top: 5px; color: var(--n-muted); font-size: 12px; }
.nr-resume-actions { display: flex; align-items: center; gap: 14px; padding-block: 18px; flex-wrap: wrap; }
.nr-resume-actions a { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 5px; background: #c90012; color: #fff; text-decoration: none; font-size: 12px; font-weight: 650; }
.nr-resume-actions button { min-height: 36px; }
.nr-resume-actions [data-resume-pause] { margin-left: auto; width: 30px; font-size: 17px; }
.nr-resume-preferences { padding-block: 0 20px; }
.nr-resume-preferences[hidden] { display: none; }
.nr-resume-preferences label { display: block; margin-bottom: 8px; font-size: 12px; }
.nr-resume-preferences select { width: 100%; min-height: 40px; border: 1px solid var(--n-border); border-radius: 5px; padding: 8px; color: var(--n-text); background: var(--n-page); font: 13px var(--font-reading); }
.nr-resume-preferences > div { display: flex; gap: 20px; margin-top: 12px; }
.nr-resume-preferences button { min-height: 36px; }
.nr-resume-preferences button[type="submit"] { color: var(--n-accent); font-weight: 700; }
.nr-resume-progress { height: 3px; margin-inline: -20px; background: var(--n-tint); }
.nr-resume-progress span { display: block; height: 100%; transform-origin: left; background: var(--n-accent); }
.nr-resume-popup.is-closing { animation: nr-resume-out 200ms ease-in both; }
@keyframes nr-resume-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nr-resume-out { to { opacity: 0; transform: translateY(18px); } }
@media (min-width: 761px) { .nr-resume-popup { right: 90px; } }
@media (max-width: 760px) { .nr-resume-popup { right: 16px; bottom: 102px; max-height: calc(100dvh - 120px); overflow-y: auto; } }
@media (max-width: 600px) {
    .nr-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
    .nr-search input { font-size: 16px; }
    .nr-search button { flex-basis: 34px; width: 34px; height: 36px; }
    .nr-search { min-height: 50px; }
    .nr-reading-actions :is(a,button) { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .nr-resume-popup, .nr-resume-popup.is-closing { animation: none; } }
