.new-home-body {
  margin: 0;
  background: #0b0e19;
  color: #e9edf8;
  font-family: "Barlow", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------------------
   Homepage themes
   The accent colours of the homepage live here and nowhere else: every rule
   below reads them through var(). The admin drawer (pencil icon) swaps themes
   by setting data-nh-theme on .nh, so picking a winner there means copying its
   block over the defaults in .nh and deleting the rest.
   --------------------------------------------------------------------------- */
.nh {
  /* "aion" — the default, keyed to the Aion 2 key art */
  --nh-title-from: #88d2ff;
  --nh-title-via: #62aefa;
  --nh-title-to: #3764d4;
  --nh-title-line-to: #c5cee7;
  --nh-accent: #4f7af2;
  --nh-accent-deep: #2851cb;
  --nh-accent-edge: #719fff;
  --nh-accent-glow: #92b5ff;
  --nh-accent-soft: #9dbdff;
  --nh-accent-bright: #7395fc;
  --nh-accent-ring: #8ad4ff;
  --nh-pill-from: #557ae5;
  --nh-pill-to: #6f86e8;
  --nh-pill-edge: #87a0ff;
  /* chrome: links, hairlines, hover washes, card edges */
  --nh-eyebrow: #98b9fb;
  --nh-link: #a0baf1;
  --nh-link-hover: #d5e5ff;
  --nh-rule: #8faff0;
  --nh-wordmark: #aec6ff;
  --nh-wash: rgba(95, 137, 255, .12);
  --nh-wash-strong: #1b2949;
  --nh-card-edge: #8bbaff;
  --nh-featured: #6aceff;
  --nh-muted: #aebbd8;
  --nh-dim: #8499c3;
  --nh-line: rgba(147, 172, 235, .2);
  --nh-aqua: #3ff5e3;
}

/* "lokthar" — the purple the rest of the app uses (tailwind.config.js purple: #a979cb) */
.nh[data-nh-theme="lokthar"] {
  --nh-title-from: #8f66ff;
  --nh-title-via: #8438d1;
  --nh-title-to: #7300a8;
  --nh-title-line-to: #ded3ea;
  --nh-accent: #330075;
  --nh-accent-deep: #572f93;
  --nh-accent-edge: #8f66ff;
  --nh-accent-glow: #a985ff;
  --nh-accent-soft: #b79bff;
  --nh-accent-bright: #4a1a99;
  --nh-accent-ring: #b79bff;
  --nh-pill-from: #330075;
  --nh-pill-to: #572f93;
  --nh-pill-edge: #8f66ff;
  --nh-eyebrow: #b18ef0;
  --nh-link: #b49ada;
  --nh-link-hover: #e6d9f7;
  --nh-rule: #9d7bd8;
  --nh-wordmark: #cbb4ef;
  --nh-wash: rgba(143, 102, 255, .14);
  --nh-wash-strong: #2a1b49;
  --nh-card-edge: #a483e8;
  --nh-featured: #a979cb;
  --nh-muted: #c0b0d8;
  --nh-dim: #9789b5;
  --nh-line: rgba(180, 154, 235, .2);
  --nh-aqua: #d4b1ff;
}

.nh {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(820px, 100svh);
  overflow: clip;
}

.nh *, .nh *::before, .nh *::after { box-sizing: border-box; }
.nh [hidden] { display: none !important; }
.nh a { color: inherit; text-decoration: none; }
.nh button { font: inherit; color: inherit; cursor: pointer; }
.nh button, .nh a { -webkit-tap-highlight-color: transparent; }
.nh button { border: 0; padding: 0; background: none; }
.nh img { display: block; max-width: 100%; }
.nh svg { width: 21px; height: 21px; flex-shrink: 0; }
.nh p, .nh h1, .nh h2 { margin: 0; }
.nh :focus-visible { outline: 2px solid var(--nh-accent-ring); outline-offset: 6px; }
.nh-sr-only, .nh-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nh-skip:focus { position: fixed; left: 20px; top: 75px; z-index: 100; padding: 15px; background: #152542; border-radius: 8px; }

.nh-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background-color: #0b0e19;
}

/* The artwork stops growing once the viewport is wider than 16:9, so ultrawide
   screens keep the same framing as a 1920 monitor and get plain colour at the sides. */
.nh-backdrop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  aspect-ratio: 1672 / 941;
  width: auto;
  min-width: min(100%, 1920px);
  max-width: 100%;
  background-image: var(--nh-background-image, url("/aionbghomepage.png"));
  background-size: cover;
  background-position: center top;
}

.nh-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, #0b0e18 0%, rgba(10, 13, 23, .96) 6%, rgba(10, 13, 23, .6) 23%, transparent 55%), linear-gradient(90deg, rgba(7, 10, 18, .4), transparent 65%);
}

/* Only fade the artwork edges when there is actually colour beside them. */
@media (min-width: 1921px) and (min-aspect-ratio: 16 / 9) {
  .nh-backdrop::before {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 110px, #000 calc(100% - 110px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 110px, #000 calc(100% - 110px), transparent);
  }
}

.nh-header { position: relative; z-index: 30; border-bottom: 1px solid rgba(157, 177, 239, .08); background: rgba(12, 15, 27, .5); }
.nh-nav-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1800px; margin: auto; padding: 0 3.5%; }
.nh-nav-start, .nh-nav-end, .nh-desktop-nav { display: flex; align-items: center; }
.nh-nav-start { gap: 30px; }
.nh-brand { display: block; flex-shrink: 0; }
.nh-brand img { width: 43px; height: 43px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(170, 212, 255, .2)); }
.nh-nav-divider { height: 26px; width: 1px; background: var(--nh-line); }
.nh-desktop-nav { gap: 30px; }
.nh .nh-nav-link { display: flex; align-items: center; gap: 9px; min-height: 64px; font-size: 15px; color: #bdc8e3; transition: color .2s; white-space: nowrap; }
.nh .nh-nav-link:hover, .nh .nh-nav-link[aria-expanded="true"] { color: #fff; }
.nh .nh-chevron { width: 14px; height: 14px; margin-left: 3px; transition: transform .2s; }
.nh [aria-expanded="true"] .nh-chevron { transform: rotate(180deg); }
.nh-wordmark { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 31px; font-size: 17px; letter-spacing: .43em; color: var(--nh-wordmark) !important; }
.nh-wordmark span { position: relative; width: 88px; height: 1px; background: linear-gradient(90deg, transparent, var(--nh-rule)); }
.nh-wordmark span::after { content: ""; position: absolute; right: 0; top: -1px; width: 3px; height: 3px; background: var(--nh-wordmark); border-radius: 50%; }
.nh-wordmark span:last-child { transform: rotate(180deg); }
.nh-nav-end { gap: 12px; }
.nh .nh-edit-button { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--nh-line); border-radius: 50%; color: var(--nh-link); background: #10172ba6; transition: background .2s, border-color .2s; }
.nh .nh-edit-button:hover, .nh .nh-edit-button[aria-expanded="true"] { background: var(--nh-wash-strong); border-color: var(--nh-accent-edge); }
.nh-edit-button svg { width: 18px; height: 18px; }
.nh-dropdown { position: relative; }
.nh .nh-language, .nh .nh-account { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px; border: 1px solid var(--nh-line); border-radius: 24px; font-size: 15px; background: rgba(10, 14, 26, .62); transition: background .2s, border-color .2s; }
.nh .nh-language:hover { border-color: var(--nh-rule); background: var(--nh-wash-strong); }
.nh-flag { font-family: sans-serif; font-size: 22px; line-height: 1; }
.nh .nh-account { min-width: 140px; background: linear-gradient(110deg, var(--nh-pill-from), var(--nh-pill-to)); border-color: var(--nh-pill-edge); box-shadow: inset 0 1px rgba(255, 255, 255, .12); }
.nh .nh-account:hover { background: var(--nh-accent-bright); }
.nh-account .nh-chevron { margin-left: 12px; }
.nh-login-form { display: none; margin: 0; }
.nh .nh-login { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px; border: 1px solid var(--nh-pill-edge); border-radius: 24px; font-size: 15px; color: #f2f6ff; background: linear-gradient(110deg, var(--nh-pill-from), var(--nh-pill-to)); box-shadow: inset 0 1px rgba(255, 255, 255, .12); transition: background .2s; }
.nh .nh-login:hover { background: var(--nh-accent-bright); }

.nh-popover { position: absolute; top: calc(100% + 13px); right: 0; min-width: 190px; border: 1px solid var(--nh-line); border-radius: 13px; padding: 7px; background: rgba(15, 21, 37, .98); box-shadow: 0 18px 40px #05071099; backdrop-filter: blur(20px); }
.nh-account-dropdown .nh-popover { min-width: 225px; }
.nh-popover form { margin: 0; }
.nh .nh-popover-link { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; text-align: left; font-size: 14px; white-space: nowrap; border-radius: 8px; color: var(--nh-muted); }
.nh .nh-popover-link:hover, .nh .nh-popover-link[aria-current="true"] { color: var(--nh-link-hover); background: var(--nh-wash); }
.nh-popover-link svg:last-child:not(:first-child) { margin-left: auto; width: 17px; }
.nh-games-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); max-height: calc(100svh - 64px); overflow-y: auto; gap: 20px; padding: 28px 5%; background: rgba(12, 17, 31, .98); border-bottom: 1px solid var(--nh-line); box-shadow: 0 30px 50px #0008; backdrop-filter: blur(24px); }
.nh .nh-menu-game { text-align: left; min-width: 0; }
.nh-menu-game img { width: 100%; height: 112px; object-fit: cover; border-radius: 10px; border: 1px solid var(--nh-line); transition: border-color .2s, transform .2s; }
.nh-menu-game:hover img { border-color: var(--nh-accent-edge); transform: translateY(-4px); }
.nh-menu-game span { display: block; margin-top: 12px; font-weight: 600; font-size: 15px; }
.nh-menu-game small { display: block; margin-top: 5px; color: var(--nh-dim); font-size: 12px; }
.nh-mobile-toggle, .nh-mobile-menu { display: none; }

.nh-main { display: flex; flex-direction: column; flex: 1; }
.nh-hero { position: relative; z-index: 2; width: 90%; max-width: 1640px; margin: 0 auto; padding-top: clamp(40px, 5.1vh, 60px); }
.nh-eyebrow { display: flex; align-items: center; gap: 15px; color: var(--nh-eyebrow); font-size: 12px; font-weight: 600; letter-spacing: .29em; text-transform: uppercase; }
.nh-slashes { color: #708ec8; letter-spacing: .15em; }
.nh h1 { margin: 10px 0 10px -5px; font-weight: 900; letter-spacing: -.035em; line-height: .82; }
.nh-title-line { display: block; font-size: clamp(68px, 5.95vw, 108px); background: linear-gradient(180deg, #fff 12%, var(--nh-title-line-to) 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.nh-title-game { display: block; font-size: clamp(86px, 6.7vw, 120px); background: linear-gradient(180deg, var(--nh-title-from) 5%, var(--nh-title-via) 45%, var(--nh-title-to) 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.nh-intro { max-width: 720px; color: #bdcae6; font-size: clamp(17px, 1.28vw, 22px); line-height: 1.35; text-wrap: pretty; }
.nh-actions { display: flex; align-items: center; gap: 38px; margin-top: 24px; }
.nh .nh-primary { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 15px 31px; border: 1px solid var(--nh-accent-edge); border-radius: 12px; background: linear-gradient(115deg, var(--nh-accent), var(--nh-accent-deep)); box-shadow: inset 0 0 15px color-mix(in srgb, var(--nh-accent-glow) 25%, transparent), 0 0 0 1px color-mix(in srgb, var(--nh-accent) 46%, transparent), 0 7px 25px color-mix(in srgb, var(--nh-accent-deep) 22%, transparent); color: #f2f6ff; font-size: 13px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; transition: box-shadow .25s, transform .25s, filter .25s; }
.nh .nh-primary:hover { filter: brightness(1.15); transform: translateY(-2px); box-shadow: inset 0 0 15px color-mix(in srgb, var(--nh-accent-glow) 25%, transparent), 0 0 0 1px color-mix(in srgb, var(--nh-accent) 46%, transparent), 0 7px 35px color-mix(in srgb, var(--nh-accent) 40%, transparent); }
.nh-primary svg { width: 20px; }
.nh-hero .nh-primary { min-width: min(310px, 100%); }
.nh .nh-explore { display: flex; align-items: center; gap: 13px; color: var(--nh-link); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 15px 0; }
.nh-explore span { padding-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--nh-rule) 47%, transparent); }
.nh-explore svg { width: 15px; margin-top: -5px; transition: transform .2s; }
.nh-explore:hover svg { transform: translateX(4px); }
.nh .nh-explore:hover { color: var(--nh-link-hover); }
.nh-recruitment { display: flex; align-items: center; position: relative; margin-top: 24px; padding-top: 22px; width: 570px; max-width: 100%; border-top: 1px solid var(--nh-line); font-size: 11px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; color: var(--nh-dim); }
.nh-recruitment::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 28px; background: var(--nh-accent-soft); }
.nh-next { padding: 0 26px; min-width: 190px; border-left: 1px solid #8cadd173; }
.nh-next span { display: block; }
.nh-next img { width: 73px; height: 45px; object-fit: contain; margin-top: 5px; }
.nh-recruitment-info { border-left: 1px solid #839cce52; padding: 6px 0 6px 25px; }
.nh-recruitment-info p { line-height: 1.9; }
.nh-recruitment-info strong { font-weight: 600; color: var(--nh-aqua); padding-left: 6px; letter-spacing: .23em; }
.nh-recruitment-info span { padding: 0 4px; color: #6d85b8; }

.nh-games { position: relative; z-index: 3; flex-shrink: 0; height: clamp(295px, 34vh, 360px); margin-top: auto; scroll-margin-top: 95px; }
.nh-games::before { content: ""; position: absolute; left: 5.5%; right: 5.5%; height: 150px; bottom: 8px; border: 1px solid #839bde21; border-bottom: none; border-radius: 45px 45px 0 0; transform: perspective(800px) rotateX(8deg); pointer-events: none; }
.nh-card-track { --card-width: min(calc(115% / var(--visible-count)), 244px, 100%); position: relative; height: 100%; width: min(84%, calc(var(--visible-count) * 220px)); max-width: 1500px; margin: 0 auto; }
.nh-card-slot { position: absolute; width: var(--card-width); height: clamp(265px, 18.3vw, 320px); left: calc(var(--slot) * ((100% - var(--card-width)) / max(1, calc(var(--visible-count) - 1)))); top: 4px; transform: translateY(var(--drop)) rotate(var(--angle)) scale(var(--scale)); transform-origin: center top; z-index: 3; transition: left .55s cubic-bezier(.2, .7, .25, 1), transform .45s cubic-bezier(.2, .7, .25, 1); }
.nh-card-slot:has(.is-featured) { z-index: 8; }
.nh-card-slot:hover, .nh-card-slot:focus-within { transform: translateY(-25px) rotate(0) scale(1.045); z-index: 12; }
.nh .nh-game-card { position: relative; display: block; width: 100%; height: 100%; border: 1px solid rgba(133, 153, 201, .24); border-radius: 19px; box-shadow: 0 15px 35px #0006; text-align: left; transition: border-color .25s, box-shadow .25s; }
.nh-card-art { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: #131c32; }
.nh-card-art > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.76); transition: filter .35s, transform .6s; }
.nh-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0c101be8 0%, #10152277 32%, transparent 70%), linear-gradient(180deg, #141f3c4d, transparent 50%); }
.nh-game-card--gold .nh-card-shade { background: linear-gradient(0deg, #0c101bef, #1c151c44 55%, #dd914e25); }
.nh-game-card--red .nh-card-shade { background: linear-gradient(0deg, #100e1be8, #8e172133 55%, #ed613c12); }
.nh-game-card--violet .nh-card-shade { background: linear-gradient(0deg, #100e1be8, #34175433 55%, #8f6bd525); }
.nh-card-status { position: absolute; z-index: 4; left: 17px; right: 12px; top: 15px; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; color: #d4e0fa; text-shadow: 0 1px 5px #0a1027; }
.nh-card-status i { width: 5px; height: 5px; background: var(--nh-aqua); border-radius: 1px; box-shadow: 0 0 10px #3ff5e366; }
.nh .nh-card-open { position: absolute; top: 11px; right: 10px; z-index: 7; display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid #b8d7ff55; border-radius: 50%; background: #0e18286b; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.nh-card-open svg { width: 17px; height: 17px; }
.nh-card-logo { position: absolute; bottom: 54px; left: 18px; right: 18px; z-index: 6; display: flex; align-items: center; justify-content: center; height: 72px; transition: transform .35s; }
.nh-card-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 10px #000a); }
.nh-card-name { font-size: 25px; font-weight: 800; text-align: center; line-height: 1.1; text-shadow: 0 3px 10px #000; overflow-wrap: anywhere; }
.nh-card-status { overflow-wrap: anywhere; }
.nh-card-caption { text-align: center; overflow-wrap: anywhere; }
.nh-card-caption { position: absolute; bottom: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 10px; height: 43px; padding: 0 6px; border-radius: 15px 15px 18px 18px; background: rgba(11, 16, 29, .8); border-top: 1px solid #899bd010; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #a5b9e8; }
.nh-card-caption::before, .nh-card-caption::after { content: ""; height: 1px; width: 16px; background: #6b87c726; }
.nh-card-character { position: absolute; z-index: 5; bottom: 24px; left: -5%; width: 110%; max-width: none !important; height: 114%; object-fit: contain; object-position: center bottom; pointer-events: none; opacity: 0; transform: translateY(15px) scale(.95); filter: drop-shadow(0 10px 14px #0008); transition: opacity .3s, transform .4s cubic-bezier(.2, .7, .25, 1); }
.nh-card-slot:hover .nh-card-character, .nh-card-slot:focus-within .nh-card-character { opacity: 1; transform: translateY(-8px) scale(1.03); }
.nh-card-slot:hover .nh-card-open, .nh-card-slot:focus-within .nh-card-open { opacity: 1; transform: translateY(0); }
.nh-card-slot:hover .nh-card-art > img, .nh-card-slot:focus-within .nh-card-art > img { filter: saturate(1.15) brightness(.92); transform: scale(1.05); }
.nh-card-slot:hover .nh-game-card, .nh-card-slot:focus-within .nh-game-card { border-color: var(--nh-card-edge); box-shadow: 0 0 25px color-mix(in srgb, var(--nh-card-edge) 27%, transparent), 0 18px 35px #0007; }
.nh-card-slot:hover .nh-card-logo, .nh-card-slot:focus-within .nh-card-logo { transform: translateY(5px); }
.nh .nh-game-card.is-featured { border-color: var(--nh-featured); box-shadow: 0 0 0 1px color-mix(in srgb, var(--nh-featured) 53%, transparent), 0 0 26px color-mix(in srgb, var(--nh-featured) 32%, transparent), inset 0 0 20px color-mix(in srgb, var(--nh-featured) 27%, transparent), 0 20px 40px #0007; }
.nh .is-featured .nh-card-art > img { filter: saturate(1.1) brightness(.95); object-position: 36% center; }
.nh .is-featured .nh-card-status { color: var(--nh-aqua); font-weight: 600; padding: 10px 0 10px 0; top: 0; text-shadow: 0 1px 10px #000; }
.nh .is-featured .nh-card-status::before { content: ""; position: absolute; z-index: -1; inset: 0 -2px 0 -17px; background: linear-gradient(90deg, #102743db, #102743bb 80%, transparent); border-radius: 18px 0 12px 0; }
.nh .is-featured .nh-card-caption { color: var(--nh-aqua); height: 47px; font-size: 10px; background: linear-gradient(110deg, #102641ee, #112139dc); }
.nh .is-featured .nh-card-caption::before { position: absolute; bottom: 10px; width: 24px; background: var(--nh-aqua); box-shadow: 0 0 7px #3ff5e380; }
.nh .is-featured .nh-card-caption::after { display: none; }
.nh .nh-carousel-arrow { position: absolute; top: 51%; z-index: 15; display: flex; align-items: center; justify-content: center; height: 50px; width: 50px; border: 1px solid color-mix(in srgb, var(--nh-rule) 25%, transparent); border-radius: 50%; background: #0d111cd1; transition: border-color .2s, background .2s; }
.nh .nh-carousel-arrow:hover { border-color: var(--nh-accent-edge); background: var(--nh-wash-strong); }
.nh-carousel-arrow--previous { left: 3.3%; }
.nh-carousel-arrow--next { right: 3.3%; }
.nh-carousel-dots { display: none; }
.nh-footer { display: flex; align-items: center; gap: 30px; min-height: 54px; width: 94%; max-width: 1770px; margin: 0 auto; position: relative; z-index: 4; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: #94a8ce; }
.nh-footer a:hover { color: var(--nh-link-hover); }
.nh-footer-rule { flex: 1; height: 1px; background: #748cca2e; position: relative; }
.nh-footer-rule::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 1px; background: #a4bde178; }

.nh-dialog { width: min(520px, calc(100% - 36px)); max-height: calc(100svh - 48px); overflow-y: auto; padding: 42px; border: 1px solid #6587c650; border-radius: 22px; background: #101828; color: #d6e0f5; box-shadow: 0 25px 100px #000a; }
.nh-dialog::backdrop { background: rgba(3, 6, 15, .78); backdrop-filter: blur(12px); }
.nh .nh-dialog-close { position: absolute; top: 15px; right: 15px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #9eb8eb40; border-radius: 50%; background: #0b122acc; }
.nh-dialog-close:hover { background: #293858; }
.nh-about-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 24px; }
.nh-dialog .nh-eyebrow { font-size: 11px; line-height: 1.5; }
.nh-dialog h2 { margin: 14px 0 20px; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.nh-dialog p:not(.nh-eyebrow) { margin-bottom: 16px; font-size: 16px; color: #b5c4df; line-height: 1.7; }
.nh-dialog .nh-primary { margin-top: 12px; padding: 15px 20px; font-size: 11px; letter-spacing: .13em; }
.nh-game-dialog { padding: 0; }
.nh-dialog-art { height: 220px; background-size: cover; background-position: center 32%; position: relative; }
.nh-dialog-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.nh-game-description { white-space: pre-line; }
.nh-dialog-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #101828); }
.nh-dialog-content { position: relative; margin-top: -25px; padding: 0 35px 35px; }

.nh-editor { position: fixed; inset: 0 0 0 auto; width: min(390px, 100%); height: 100dvh; max-height: none; max-width: 100%; margin: 0; padding: 28px; border: 0; border-left: 1px solid #6689ce55; background: #101726; color: #e3ecff; box-shadow: -15px 0 55px #0005; overflow-y: auto; }
.nh-editor[open] { display: flex; flex-direction: column; animation: nh-editor-enter .22s ease-out; }
.nh-editor::backdrop { background: transparent; }
.nh-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.nh-editor-heading .nh-eyebrow { font-size: 10px; letter-spacing: .18em; }
.nh-editor h2 { font-size: 26px; font-weight: 700; margin-top: 7px; letter-spacing: -.02em; }
.nh .nh-editor-close { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #ffffff08; border: 1px solid var(--nh-line); }
.nh .nh-editor-close:hover { background: #263654; }
.nh-editor-description { font-size: 14px; line-height: 1.6; color: var(--nh-muted); margin-top: 20px !important; }
.nh-editor-form { margin-top: 27px; border-top: 1px solid var(--nh-line); padding-top: 24px; }
.nh-editor-form h3 { margin: 0 0 15px; font-size: 16px; font-weight: 600; }
.nh-editor-preview { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--nh-line); border-radius: 10px; background: #090e1c; margin-bottom: 22px; }
.nh-editor-preview img { width: 100%; height: 100%; object-fit: cover; }
.nh-editor-form label { display: block; font-size: 13px; color: #d5e0f6; margin-bottom: 9px; }
.nh-editor-form input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #768ebe55; border-radius: 8px; font: inherit; font-size: 13px; color: #dbe7ff; background: #0b1120; }
.nh-editor-form input[aria-invalid="true"] { border-color: #ed9696; }
.nh-editor-form input::placeholder { color: #7286aa; }
.nh-editor-hint { font-size: 12px; color: #9baece; line-height: 1.6; margin-top: 8px !important; }
.nh .nh-editor-preview-button { width: 100%; min-height: 46px; margin-top: 22px; padding: 12px; font-size: 11px; }
.nh .nh-editor-preview-button:disabled { opacity: .6; cursor: wait; transform: none; filter: none; }
.nh-editor-status { min-height: 40px; margin-top: 14px !important; font-size: 12px; color: var(--nh-aqua); line-height: 1.6; }
.nh-editor-status.is-error { color: #ffb0b0; }
.nh .nh-editor-reset { margin: 5px 0 28px; font-size: 13px; color: #aebfe4; text-decoration: underline; text-underline-offset: 4px; }
.nh .nh-editor-reset:hover { color: #fff; }
.nh-editor-note { display: flex; gap: 9px; align-items: flex-start; border-top: 1px solid var(--nh-line); padding-top: 18px; margin-top: auto !important; color: #9bafd4; font-size: 12px; line-height: 1.7; }
.nh-editor-note span { width: 5px; height: 5px; flex-shrink: 0; margin-top: 7px; border-radius: 50%; background: var(--nh-aqua); }
.nh-editor-theme { margin-top: 5px; border-top: 1px solid var(--nh-line); padding-top: 24px; }
.nh-editor-theme h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.nh-theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 16px; }
.nh-theme-option { display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border: 1px solid var(--nh-line); border-radius: 12px; font-size: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.nh-theme-option:hover { background: #ffffff08; }
.nh-theme-option:has(input:checked) { border-color: #7ea5f5; background: #1b2a4a; }
.nh-theme-option input { position: absolute; opacity: 0; pointer-events: none; }
.nh-theme-swatch { width: 100%; height: 26px; border-radius: 7px; border: 1px solid #ffffff1f; }
.nh-theme-swatch--aion { background: linear-gradient(115deg, #88d2ff, #4f7af2 55%, #2851cb); }
.nh-theme-swatch--lokthar { background: linear-gradient(115deg, #8f66ff, #572f93 55%, #330075); }
.nh-theme-swatch--custom { background: linear-gradient(115deg, #f5a8c4, #9fe0b8 50%, #ffd88a); }
.nh-theme-custom { display: grid; gap: 14px; margin-bottom: 18px; }
.nh-theme-field label { display: block; font-size: 13px; color: #d5e0f6; margin-bottom: 8px; }
.nh-theme-inputs { display: flex; gap: 8px; }
.nh-theme-inputs input[type="color"] { width: 46px; height: 40px; flex-shrink: 0; padding: 3px; border: 1px solid #768ebe55; border-radius: 8px; background: #0b1120; cursor: pointer; }
.nh-theme-inputs input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.nh-theme-inputs input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }
.nh-theme-inputs input[type="text"] { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #768ebe55; border-radius: 8px; font: inherit; font-size: 13px; color: #dbe7ff; background: #0b1120; text-transform: uppercase; }
.nh-theme-inputs input[aria-invalid="true"] { border-color: #ed9696; }
.nh-theme-output { margin: 0; padding: 12px; border: 1px dashed #768ebe55; border-radius: 8px; background: #0b1120; color: #9fb6e4; font-size: 11px; line-height: 1.7; white-space: pre-wrap; user-select: all; }

.nh .nh-editor-manage { display: block; padding: 16px 0; margin-bottom: 20px; border-top: 1px solid var(--nh-line); font-size: 13px; color: #a9c4ff; }
@keyframes nh-editor-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 420px) { .nh:has(.nh-edit-button) .nh-wordmark, .nh:has(.nh-login) .nh-wordmark { display: none; } }
@media (max-width: 340px) {
  .nh .nh-login { padding: 0 9px; }
  .nh-login-label { display: none; }
}

@media (min-width: 1800px) {
  .nh-hero { padding-top: 70px; }
  .nh-games { height: 380px; }
}

@media (max-width: 1250px) {
  .nh-wordmark span { display: none; }
  .nh-wordmark { display: none; }
  .nh-nav-start { gap: 22px; }
  .nh-desktop-nav { gap: 20px; }
  .nh-card-track { width: min(86%, calc(var(--visible-count) * 220px)); }
  .nh-card-slot { height: 255px; }
  .nh-card-status { font-size: 10px; letter-spacing: .11em; left: 12px; }
  .nh-card-caption { font-size: 9px; letter-spacing: .1em; }
  .nh .is-featured .nh-card-caption { font-size: 10px; }
  .nh-card-caption::before, .nh-card-caption::after { display: none; }
  .nh-card-logo { left: 12px; right: 12px; }
  .nh .nh-carousel-arrow { width: 40px; height: 40px; }
  .nh-carousel-arrow--previous { left: 2%; }
  .nh-carousel-arrow--next { right: 2%; }
  .nh-games { height: 315px; margin-top: 30px; }
  .nh-footer { min-height: 60px; font-size: 11px; }
}

@media (max-width: 1100px) {
  .nh { min-height: 100svh; }
  .nh-header { position: sticky; top: 0; background: #0b1022c9; backdrop-filter: blur(18px); }
  .nh-desktop-nav, .nh-nav-divider, .nh-account-dropdown { display: none; }
  .nh-nav-bar { padding: 0 24px; }
  .nh-wordmark { display: flex; font-size: 16px; }
  .nh .nh-mobile-toggle { display: grid; place-items: center; width: 36px; height: 40px; }
  .nh-mobile-toggle .nh-close-icon { display: none; }
  .nh-mobile-toggle[aria-expanded="true"] .nh-close-icon { display: block; }
  .nh-mobile-toggle[aria-expanded="true"] .nh-menu-icon { display: none; }
  .nh-login-form { display: block; }
  .nh .nh-login { border-radius: 20px; height: 35px; padding: 0 12px; gap: 7px; font-size: 13px; font-weight: 600; }
  .nh .nh-login svg { width: 18px; height: 18px; }
  .nh .nh-language { width: 35px; height: 35px; padding: 0; gap: 0; border-radius: 50%; font-size: 13px; }
  .nh-language-code, .nh-language .nh-chevron { display: none; }
  .nh-flag { font-size: 17px; line-height: 1; }
  .nh-mobile-menu { position: absolute; top: 64px; left: 0; right: 0; display: block; padding: 25px; background: #0d1528fa; border-bottom: 1px solid #6585c340; box-shadow: 0 20px 35px #0008; max-height: calc(100svh - 64px); overflow-y: auto; }
  .nh .nh-mobile-link { width: 100%; display: flex; gap: 15px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--nh-line); font-size: 17px; }
  .nh-mobile-link svg:last-child { margin-left: auto; width: 16px; }
  .nh-mobile-link .nh-chevron { transition: transform .2s; }
  .nh-mobile-link[aria-expanded="true"] { border-bottom-color: transparent; }
  .nh-mobile-link[aria-expanded="true"] .nh-chevron { transform: rotate(180deg); }
  .nh-mobile-games { display: grid; padding: 4px 0 12px; border-bottom: 1px solid var(--nh-line); }
  .nh .nh-mobile-game { display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 0; text-align: left; }
  .nh-mobile-game img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--nh-line); }
  .nh-mobile-game > span { display: grid; gap: 3px; font-size: 15px; }
  .nh-mobile-game small { color: var(--nh-dim); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
  .nh-mobile-game svg:last-child { margin-left: auto; width: 15px; color: #7e93c4; }
  .nh-mobile-account { margin: 22px -12px 0; }
  .nh-mobile-account form { margin: 0; }
  .nh-mobile-account .nh-popover-link { gap: 15px; padding: 17px 12px; font-size: 16px; }
  .nh-mobile-signature { color: var(--nh-dim); font-size: 12px; letter-spacing: .16em; padding: 28px 0 5px; }
  .nh-backdrop::before { background-size: auto 900px; background-repeat: no-repeat; background-position: 58% top; }
  .nh-backdrop::after { background-image: linear-gradient(0deg, #0b0e18 0%, rgba(10, 13, 23, .92) 12%, rgba(10, 13, 23, .2) 70%), linear-gradient(90deg, #070a1280, #070a1226); }
  .nh-hero { width: calc(100% - 64px); padding-top: 58px; }
  .nh-title-line { font-size: clamp(60px, 8.7vw, 88px); }
  .nh-title-game { font-size: clamp(88px, 12vw, 116px); }
  .nh-intro { max-width: 600px; font-size: 19px; }
  .nh-eyebrow { font-size: 11px; letter-spacing: .22em; gap: 11px; }
  .nh-actions { gap: 25px; }
  .nh .nh-primary { padding: 15px 25px; font-size: 12px; }
  .nh .nh-explore { font-size: 12px; letter-spacing: .1em; }
  .nh-games { height: auto; margin-top: 22px; }
  .nh-games::before { display: none; }
  .nh-card-track { display: flex; gap: 20px; width: 100%; max-width: none; height: auto; padding: 48px 32px 26px; padding-right: calc(100% - 252px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 32px; overscroll-behavior-x: contain; }
  .nh-card-track::-webkit-scrollbar { display: none; }
  .nh-card-slot { position: relative; flex: 0 0 220px; left: auto; top: auto; height: 292px; transform: none; scroll-snap-align: start; }
  .nh-card-slot:hover, .nh-card-slot:focus-within { transform: translateY(-8px); }
  .nh-card-status { font-size: 11px; left: 17px; letter-spacing: .17em; }
  .nh-card-caption { font-size: 10px; letter-spacing: .15em; }
  .nh .is-featured .nh-card-caption { font-size: 11px; }
  .nh-card-logo { left: 18px; right: 18px; }
  .nh .nh-carousel-arrow { display: none; }
  .nh-carousel-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; padding: 0 12px; }
  .nh .nh-dot { width: 28px; height: 30px; display: grid; place-items: center; }
  .nh-dot::before { content: ""; width: 5px; height: 5px; background: var(--nh-dim); border-radius: 5px; transition: width .2s, background .2s; }
  .nh-dot.is-active::before { width: 23px; background: var(--nh-accent-edge); box-shadow: 0 0 10px color-mix(in srgb, var(--nh-accent) 33%, transparent); }
  .nh-footer { width: calc(100% - 64px); min-height: 90px; gap: 20px; margin-top: 10px; letter-spacing: .1em; }
}

@media (max-width: 600px) {
  .nh-nav-bar { padding: 0 20px; }
  .nh-brand img { width: 37px; height: 37px; }
  .nh-wordmark { left: 78px; transform: none; font-size: 14px; letter-spacing: .28em; }
  .nh-nav-end { gap: 8px; }
  .nh-hero { width: calc(100% - 40px); padding-top: 46px; }
  .nh-backdrop::before { background-size: auto 850px; background-position: 59% top; }
  .nh-backdrop::after { background-image: linear-gradient(0deg, #0b0e18 4%, rgba(10, 13, 23, .84) 20%, rgba(10, 13, 23, .15) 85%), linear-gradient(90deg, #070a1273, #070a122b); }
  .nh-eyebrow { font-size: 9px; letter-spacing: .18em; gap: 8px; }
  .nh-hero > .nh-eyebrow { flex-wrap: wrap; row-gap: 7px; }
  .nh h1 { margin: 22px 0 18px -2px; line-height: .96; }
  .nh-title-line { font-size: clamp(40px, 10.4vw, 62px); letter-spacing: -.045em; }
  .nh-title-game { font-size: clamp(74px, 19vw, 105px); }
  .nh-intro { font-size: 16px; line-height: 1.55; max-width: 400px; text-shadow: 0 1px 7px #070b18; }
  .nh-actions { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 24px; }
  .nh .nh-primary { min-height: 52px; padding: 15px 23px; font-size: 11px; letter-spacing: .15em; }
  .nh-hero .nh-primary { width: 100%; }
  .nh .nh-explore { align-self: center; font-size: 11px; padding: 10px 0; }
  .nh-recruitment { margin-top: 17px; padding-top: 20px; font-size: 10px; letter-spacing: .12em; }
  .nh-next { min-width: 129px; padding: 0 14px; }
  .nh-next img { width: 61px; height: 39px; }
  .nh-recruitment-info { padding-left: 14px; }
  .nh-recruitment-info strong { padding-left: 3px; letter-spacing: .16em; }
  .nh-recruitment-info span { padding: 0 1px; }
  .nh-games { margin-top: 4px; }
  .nh-card-track { gap: 18px; padding: 40px 20px 20px; padding-right: calc(100% - 238px); scroll-padding-inline: 20px; }
  .nh-card-slot { flex-basis: 218px; height: 284px; }
  .nh-footer { flex-wrap: wrap; justify-content: center; width: calc(100% - 40px); gap: 15px; min-height: 100px; margin-top: 15px; padding: 15px 0 24px; font-size: 10px; }
  .nh-footer a { order: 0; }
  .nh-footer-rule { order: 1; min-width: 20%; }
  .nh-footer > span:last-child { order: 2; width: 100%; text-align: center; color: #8196c0; }
  .nh-dialog { padding: 30px 24px; }
  .nh-dialog h2 { font-size: 30px; }
  .nh-game-dialog { padding: 0; }
  .nh-dialog-content { padding: 0 24px 26px; }
}

@media (hover: none) {
  .nh-card-slot:hover { transform: none; }
  .nh-card-slot:hover .nh-card-character { opacity: 0; }
  .nh .nh-card-open { opacity: 1; transform: none; top: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  .nh *, .nh *::before, .nh *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
