.brand-logo {
  display: block;
  width: 123px;
  height: 48px;
  background: url("/assets/reference/logo.webp") center / contain no-repeat;
}
.nl-copy {
  width: min(100%, 84rem);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 48px);
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.nl-copy > :is(p, ul, ol, .copy-note) { max-width: 75ch; }
.nl-copy > h1 { font-size: clamp(1.65rem, 4vw, 2.85rem); line-height: 1.14; }
.nl-copy > h2 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); margin: 1.75em 0 .3em; line-height: 1.28; }
.nl-copy > p { line-height: inherit; margin-block: .8rem; color: #dbdcf2; }
.nl-copy > :is(ul, ol) { margin: 1rem 0; padding-left: 1.45rem; color: #dbdcf2; }
.nl-copy a:not(.btn) { color: var(--aqua); text-decoration: underline; text-underline-offset: .2em; }
.nl-copy .copy-back { display: inline-block; margin: 0 0 .8em; font-size: .875rem; }
.nl-copy .copy-note { margin: 1.35rem 0; padding: .8rem 1rem; border-radius: 6px; border-left: 3px solid var(--aqua); background: var(--panel); }
.nl-copy table { width: min(100%, 75ch); border-collapse: collapse; margin: 1.35rem 0; font-size: .9rem; }
.nl-copy :is(th, td) { text-align: left; padding: .55em; border: 1px solid var(--line); vertical-align: top; }
.nl-copy th { background: var(--panel-light); }
.editorial-feature:empty { display: none; }
.editorial-feature { margin-block: 1.4rem; }
.editorial-feature .page-panel h2 { margin-block: 0 .3rem; }
.nl-copy .editorial-figure {
  width: min(100%, 45rem);
  margin: 1.65rem 0;
  padding: clamp(.65rem, 2vw, 1rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #262a4d, #151a35);
}
.nl-copy .editorial-figure--compact { width: min(100%, 31rem); }
.editorial-figure figcaption {
  margin-bottom: .55rem;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.45;
}
.editorial-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
  border-radius: 7px;
  background: #11142c;
}
.editorial-figure--compact img {
  max-height: 17rem;
  object-fit: contain;
}
.editorial-cta {
  width: min(100%, 45rem);
  margin-block: 1.6rem;
}
.editorial-cta .btn {
  white-space: normal;
  text-align: center;
  min-height: 44px;
}
.editorial-cta--2 {
  padding: .8rem 0 .8rem .9rem;
  border-left: 2px solid var(--aqua);
}
.editorial-cta--3 {
  margin-block: 1.8rem .25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.editorial-faq {
  width: min(100%, 45rem);
  margin-top: 2.1rem;
}
.editorial-faq h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.3;
  margin-bottom: .9rem;
}
.editorial-faq details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  margin: .55rem 0;
}
.editorial-faq details[open] { border-color: #5d7191; }
.editorial-faq summary {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .8rem .9rem;
  color: var(--text);
  line-height: 1.45;
  list-style: none;
}
.editorial-faq summary::-webkit-details-marker { display: none; }
.editorial-faq summary::after {
  content: "";
  width: .55rem;
  height: .55rem;
  flex: none;
  align-self: center;
  margin-left: auto;
  border-right: 2px solid var(--aqua);
  border-bottom: 2px solid var(--aqua);
  transform: rotate(45deg) translate(-2px, -2px);
}
.editorial-faq details[open] summary::after { transform: rotate(225deg); }
.faq-number { color: var(--aqua); font-variant-numeric: tabular-nums; }
.editorial-faq details p {
  color: #dbdcf2;
  font-size: .94rem;
  margin: 0;
  padding: 0 .9rem .9rem 2.25rem;
}
.site-footer { margin: 0 24px 0 calc(var(--side-width) + 24px); padding-bottom: 28px; }
body[data-route] main { padding-bottom: 32px; }
@media (min-width: 1500px) {
  .site-footer { margin-inline: calc(var(--side-width) + 32px) 32px; }
}
@media (max-width: 850px) {
  .mobile-brand .brand-logo { width: 93px; height: 37px; }
  .site-footer { margin-inline: 14px; padding-bottom: 78px; }
}
/* Page hero, breadcrumb, content column with TOC, CTAs, FAQ, image captions */
.dialog-head .dialog-title { font-weight: 700; margin: 0; }
.sh-title { margin: 0; text-transform: uppercase; }
a.game-open { display: block; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; margin: 0 0 22px; padding: clamp(22px, 4vw, 52px) clamp(18px, 4vw, 48px); min-height: 260px; display: flex; flex-direction: column; justify-content: center; background: #171b38; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero) right center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #10132cf2 0%, #10132ccc 45%, #10132c33 100%); }
.page-hero h1 { max-width: 34rem; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; }
.page-hero p { max-width: 38rem; margin-top: 12px; color: #e4e6f7; line-height: 1.6; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6b7299; }
.crumbs a { color: var(--aqua); }
.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-content: center; }
@media (min-width: 1180px) { .content-wrap { grid-template-columns: minmax(0, 860px) 250px; } }
.toc { display: none; }
@media (min-width: 1180px) {
  .toc { display: block; position: sticky; top: calc(var(--top-height) + 20px); align-self: start; max-height: calc(100vh - var(--top-height) - 40px); overflow: auto; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
}
.toc-title { font-weight: 700; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
.toc a:hover { color: var(--aqua); }
.nl-copy > h3 { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--aqua); margin: 1.3em 0 .2em; line-height: 1.35; }
.nl-copy > h2 { color: var(--text); }
.nl-copy figure.h2-figure { position: relative; width: min(100%, 45rem); margin: .6rem 0 1.2rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #11142c; }
.h2-figure img { display: block; width: 100%; height: auto; max-height: 20rem; object-fit: cover; }
.h2-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(0deg, #0d1029ee, #0d102900); font-weight: 700; font-size: clamp(.95rem, 1.8vw, 1.2rem); line-height: 1.3; color: #fff; }
.cta-box { width: min(100%, 45rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 1.6rem 0; padding: 16px 18px; border-radius: 12px; border: 1px solid #4a5a86; background: linear-gradient(110deg, #26305a, #1a1f40); }
.cta-box p { margin: 0 !important; color: #eef0ff !important; font-weight: 600; }
.cta-box.alt { background: linear-gradient(110deg, #2b2357, #1a1f40); border-color: #5b4a96; }
.cta-box.alt .btn { background: var(--lime); border-color: var(--lime); color: #151a33; }
.faq { width: min(100%, 45rem); margin-top: 2rem; }
.faq h2 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); line-height: 1.3; margin-bottom: .9rem; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin: .55rem 0; }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-item button { width: 100%; display: flex; gap: .55rem; align-items: flex-start; text-align: left; padding: .85rem .95rem; border: 0; background: none; color: var(--text); font-weight: 600; line-height: 1.45; }
.faq-item button::after { content: ""; width: .55rem; height: .55rem; flex: none; align-self: center; margin-left: auto; border-right: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq-item button[aria-expanded="true"]::after { transform: rotate(225deg); }
.faq-item button:hover { color: var(--aqua); }
.faq-a p { margin: 0; padding: 0 .95rem .95rem 2.2rem; color: #dbdcf2; font-size: .95rem; line-height: 1.6; }
.footer-col-title { font-weight: 700; color: var(--text); }
@media (min-width: 1180px) { .content-wrap .toc { order: 2; } .content-wrap article { order: 1; } }
.toc-link { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--muted); text-align: left; font: inherit; line-height: 1.4; }
.toc-link:hover { color: var(--aqua); }
/* Content images at their own resolution: no upscaling, no cropping, no text on the image */
.nl-copy figure.h2-figure { width: fit-content; max-width: 100%; background: none; border: 0; border-radius: 12px; margin: .6rem 0 1.2rem; }
.h2-figure img { width: auto; max-width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 12px; }
.h2-figure figcaption { display: none; }
/* Hero: text left, full uncropped image right */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; min-height: 0; background: linear-gradient(120deg, #1b1f42, #141834 60%, #221a45); }
.page-hero::before, .page-hero::after { content: none; }
.hero-media { display: flex; justify-content: center; }
.hero-media img { display: block; width: auto; max-width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 12px; box-shadow: 0 12px 40px #05061a99; }
@media (min-width: 900px) { .page-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .hero-media { justify-content: flex-end; } }
/* Content images alternate left and right with text wrapping around them */
.nl-copy > h2 { clear: both; }
.nl-copy .cta-box, .nl-copy table, .nl-copy .faq { clear: both; }
@media (min-width: 760px) {
  .nl-copy figure.h2-figure { width: 46%; max-width: 420px; margin-top: .4rem; margin-bottom: 1rem; }
  .nl-copy figure.fig-left { float: left; margin-right: 1.6rem; }
  .nl-copy figure.fig-right { float: right; margin-left: 1.6rem; }
  .nl-copy > :is(p, ul, ol) { max-width: none; }
  .h2-figure img { width: 100%; }
}
.nl-copy::after { content: ""; display: block; clear: both; }
/* Media rows: image and text side by side in a card, alternating left and right */
.nl-copy .media-row { clear: both; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin: .9rem 0 1.4rem; padding: 16px; border-radius: 16px; border: 1px solid #3b4370; background: linear-gradient(135deg, #20264a 0%, #181c3a 55%, #241c4a 100%); box-shadow: 0 10px 30px #05061a66; }
.nl-copy .media-row .h2-figure { float: none; width: 100%; max-width: none; margin: 0; border: 0; background: none; }
.nl-copy .media-row .h2-figure img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 12px; border: 1px solid #4b548a; box-shadow: 0 8px 26px #0a0c2a99, 0 0 0 4px #35fae712; transition: transform .25s ease, box-shadow .25s ease; }
.nl-copy .media-row:hover .h2-figure img { transform: translateY(-3px); box-shadow: 0 14px 34px #0a0c2acc, 0 0 0 4px #35fae730; }
.nl-copy .media-text p { margin: 0 0 .8rem; color: #dfe1f5; line-height: 1.7; }
.nl-copy .media-text p:last-child { margin-bottom: 0; }
.nl-copy .media-text:empty { display: none; }
@media (min-width: 760px) {
  .nl-copy .media-row { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 26px; padding: 20px; }
  .nl-copy .media-row.media-right .h2-figure { order: 2; }
  .nl-copy .media-row.media-right { background: linear-gradient(225deg, #20264a 0%, #181c3a 55%, #1c2a4a 100%); }
}
@media (prefers-reduced-motion: reduce) { .nl-copy .media-row .h2-figure img { transition: none; } }
@media (min-width: 760px) { .nl-copy .media-row.media-solo { grid-template-columns: minmax(0, 1fr); justify-items: center; } .nl-copy .media-solo .h2-figure { max-width: 620px; } }
@media (min-width: 760px) { .nl-copy .media-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .nl-copy .media-text p { font-size: .97rem; } }
/* Hero without image on legal pages */
@media (min-width: 900px) { .page-hero.hero-plain { grid-template-columns: minmax(0, 1fr); } .page-hero.hero-plain .hero-text { max-width: 760px; } }
/* Portrait images inside cards stay a sensible height */
.nl-copy .media-row .h2-figure img { max-height: 380px; width: auto; max-width: 100%; margin-inline: auto; }
/* Bullet lists as cards, numbered lists as steps */
.nl-copy ul.card-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; margin: 1rem 0 1.3rem; max-width: none; }
.nl-copy ul.card-list li { position: relative; padding: 12px 14px 12px 40px; border: 1px solid #3b4370; border-radius: 12px; background: linear-gradient(135deg, #20264a, #191d3b); color: #e3e5f7; line-height: 1.55; font-size: .95rem; }
.nl-copy ul.card-list li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9ffff6, var(--aqua) 60%, #1aa79b); box-shadow: 0 0 10px #35fae766; }
.nl-copy ol.step-list { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 1.3rem; display: grid; gap: 10px; max-width: none; }
.nl-copy ol.step-list li { counter-increment: step; position: relative; padding: 12px 14px 12px 56px; border-radius: 12px; border: 1px solid #3b4370; background: #1b2042; color: #e3e5f7; line-height: 1.55; font-size: .95rem; }
.nl-copy ol.step-list li::before { content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #151a33; font-weight: 800; font-size: .9rem; }
.nl-copy .lead-box { margin: .6rem 0 1.2rem; padding: 16px 18px 16px 20px; border-radius: 14px; border: 1px solid #3f4a7c; border-left: 4px solid var(--lime); background: linear-gradient(120deg, #232a52, #1a1e3d 70%); box-shadow: 0 8px 24px #05061a55; }
.nl-copy .lead-box p { margin: 0; color: #eef0ff; font-size: 1.02rem; line-height: 1.7; }
.footer-help{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:14px;font-size:.86rem;color:var(--muted,#aab)}
.footer-help a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.footer-help a:hover{color:#fff}
.cta-box{min-height:96px}
/* footer layout */
.site-footer{display:block;padding-top:32px}
.footer-grid{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(130px,1fr));gap:28px 32px;align-items:start}
.footer-brand{display:grid;gap:16px}
.footer-brand .footer-notice{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;line-height:1.55;max-width:320px}
.footer-col{display:flex;flex-direction:column;gap:9px;font-size:.88rem}
.footer-col .footer-col-title{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text);margin-bottom:4px}
.footer-col a{color:var(--muted);transition:color .15s}
.footer-col a:hover{color:var(--aqua)}
.footer-bottom{margin-top:28px;padding-top:16px;border-top:1px solid #2b3150;font-size:.8rem;color:var(--muted)}
@media (max-width:1100px){.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-brand{grid-column:1/-1}}
@media (max-width:620px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
/* site loader: shown on first paint of every load/refresh, removed on window load */
.site-loader{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;background:radial-gradient(circle at 50% 45%,#2c2f5a 0%,#1a1c36 55%,#121327 100%);transition:opacity .45s ease,visibility .45s ease;animation:loader-failsafe .45s ease 6s forwards}
.site-loader.is-done{opacity:0;visibility:hidden;pointer-events:none}
.loader-core{position:relative;width:150px;height:150px;display:grid;place-items:center}
.loader-ring{position:absolute;inset:0;border-radius:50%;border:4px solid transparent;border-top-color:#34e3d6;border-right-color:#34e3d6;animation:loader-spin 1s linear infinite;filter:drop-shadow(0 0 10px rgba(52,227,214,.55))}
.loader-ring-2{inset:14px;border-top-color:#ff3d8b;border-right-color:transparent;border-left-color:#ff3d8b;animation-duration:1.5s;animation-direction:reverse;filter:drop-shadow(0 0 10px rgba(255,61,139,.5))}
.loader-logo{width:96px;height:38px;animation:loader-pulse 1.4s ease-in-out infinite}
.loader-dots{display:flex;gap:8px}
.loader-dots i{width:9px;height:9px;border-radius:50%;background:#f7c948;animation:loader-bounce 1s ease-in-out infinite}
.loader-dots i:nth-child(2){animation-delay:.15s}.loader-dots i:nth-child(3){animation-delay:.3s}
@keyframes loader-spin{to{transform:rotate(360deg)}}
@keyframes loader-pulse{0%,100%{transform:scale(.94);opacity:.85}50%{transform:scale(1.04);opacity:1}}
@keyframes loader-bounce{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-8px);opacity:1}}
@keyframes loader-failsafe{to{opacity:0;visibility:hidden}}
@media (prefers-reduced-motion:reduce){.loader-ring,.loader-logo,.loader-dots i{animation:none}}
