@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: optional;
}

:root {
  --bg: #F0F4F8;
  --ink: #1E293B;
  --accent: #FF4500;
  --surface: #fff;
  --muted: #E2E8F0;
  --ink-2: #475569;
  --ink-3: #64748B;
  --ink-4: #94A3B8;
  --ink-5: #CBD5E1;
  --deep: #0F172A;
  --line: #334155;
  --line-2: #475569;
  --field: #F8FAFC;
  --r: 24px;
  --r-sm: 12px;
  --wrap: 1240px;
  --shadow-card: 0 24px 60px -30px rgba(30, 41, 59, .35);
  --shadow-bar: 0 20px 50px -20px rgba(30, 41, 59, .6);
  --shadow-soft: 0 12px 32px -20px rgba(30, 41, 59, .4);
  --cookie-h: 0px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: break-word;
}

a:hover { color: var(--ink); }

img { max-width: 100%; }

button { font-family: inherit; }

.nqf-btn,
.nqf-nav a,
.nqf-logo,
.nqf-burger,
button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nqf-wrap {
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding-inline: 24px;
}

/* Buttons */
.nqf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  border: 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  padding: 18px 32px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.nqf-btn--primary { background: var(--accent); color: #fff; }
.nqf-btn--primary:hover { background: #E03C00; color: #fff; }

.nqf-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 500;
}

.nqf-btn--ghost:hover { background: var(--ink); color: #fff; }

.nqf-btn--sm { font-size: 14px; padding: 10px 20px; }
.nqf-btn--sm.nqf-btn--ghost { padding: 10px 18px; }
.nqf-btn--block { width: 100%; }
.nqf-btn[disabled] { background: var(--ink-4); cursor: not-allowed; }

/* Chips */
.nqf-chip {
  background: var(--bg);
  border-radius: var(--r);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}

.nqf-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
}

.nqf-field {
  font-family: inherit;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--muted);
  background: var(--field);
  color: var(--ink);
  width: 100%;
}

.nqf-field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea.nqf-field { resize: none; }

.nqf-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 4px 0;
}

.nqf-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.nqf-close {
  background: var(--bg);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}

@keyframes nqf-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Top bar */
.nqf-topbar {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.nqf-topbar a { color: #fff; font-weight: 600; }
.nqf-topbar a:hover { color: #fff; text-decoration: underline; }

/* Header */
.nqf-header { position: sticky; top: 0; z-index: 60; }

.nqf-header-bar {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--muted);
}

.nqf-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nqf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.nqf-logo:hover { color: var(--ink); }

.nqf-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nqf-logo-mark span {
  width: 16px;
  height: 7px;
  border-radius: 4px;
  background: var(--accent);
  display: block;
}

.nqf-logo-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.nqf-logo-text b { display: block; font-weight: 600; color: var(--accent); }

.nqf-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nqf-nav a { color: var(--ink); }
.nqf-nav a:hover { color: var(--accent); }

.nqf-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.nqf-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex-shrink: 0;
}

.nqf-burger i {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, background .2s ease;
}

.nqf-burger i::before,
.nqf-burger i::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}

.nqf-burger i::before { top: -6px; }
.nqf-burger i::after { top: 6px; }
.nqf-burger[aria-expanded='true'] i { background: transparent; }
.nqf-burger[aria-expanded='true'] i::before { transform: translateY(6px) rotate(45deg); }
.nqf-burger[aria-expanded='true'] i::after { transform: translateY(-6px) rotate(-45deg); }

.nqf-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 100%);
  overflow-y: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--muted);
  box-shadow: 0 24px 50px -20px rgba(30, 41, 59, .35);
}

.nqf-mobile-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nqf-mobile a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--muted);
}

.nqf-mobile a:hover { color: var(--accent); }

.nqf-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.nqf-mobile-actions .nqf-btn { flex: 1; }

/* Page head (inner pages) */
.nqf-pagehead {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.nqf-pagehead-text {
  border-radius: var(--r);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.nqf-pagehead-text h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.03;
}

.nqf-pagehead-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.nqf-pagehead-media {
  background: var(--muted);
  border-radius: var(--r);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.nqf-pagehead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nqf-on-dark { background: var(--ink); }
.nqf-on-dark h1 { color: #fff; }
.nqf-on-dark p { color: var(--ink-4); }
.nqf-on-light { background: var(--surface); }
.nqf-on-light p { color: var(--ink-2); }
.nqf-on-accent { background: var(--accent); }
.nqf-on-accent h1 { color: #fff; }
.nqf-on-accent .nqf-kicker { color: rgba(255, 255, 255, .8); }

.nqf-stamp { font-size: 16px; color: var(--ink-3); }
.nqf-on-dark .nqf-stamp { color: var(--ink-4); }

/* Prose */
.nqf-prose {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 18px;
  line-height: 1.6;
}

.nqf-prose p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.nqf-prose > .nqf-btn { align-self: flex-start; margin-top: 8px; }

.nqf-prose-lead {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--ink) !important;
}

.nqf-prose h3 {
  margin: 24px 0 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.nqf-legal { gap: 32px; }

.nqf-legal-item { display: flex; flex-direction: column; gap: 8px; }

.nqf-legal-item h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nqf-legal-lead {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: var(--ink) !important;
}

.nqf-note {
  background: var(--surface);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nqf-note--muted { background: var(--muted); }

/* Home — hero */
.nqf-main {
  display: flex;
  flex-direction: column;
  gap: 128px;
  padding: 64px 0 0;
  overflow-x: hidden;
}

.nqf-main--inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 128px;
  gap: 64px;
  overflow: visible;
}

.nqf-hero {
  position: relative;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding-inline: 24px;
}

/* out of flow: its nowrap width must not stretch the hero past --wrap */
.nqf-hero .nqf-ghost-word {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
}

.nqf-ghost-word {
  grid-area: stack;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
}

.nqf-ghost-word span {
  font-size: 15vw;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -.05em;
  line-height: .8;
  white-space: nowrap;
}

.nqf-hero .nqf-ghost-word span { transform: translateY(-8%); }

.nqf-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr minmax(0, 1fr);
  align-items: center;
}

.nqf-hero-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 48px;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.nqf-hero-card h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 0 0 24px;
}

.nqf-hero-card p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 52ch;
  text-wrap: pretty;
}

.nqf-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.nqf-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.nqf-hero-side {
  background: var(--ink);
  border-radius: var(--r);
  padding: 32px;
  margin-left: -48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 1;
}

.nqf-hero-shot {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
}

.nqf-hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nqf-hero-note { display: flex; flex-direction: column; gap: 4px; }

.nqf-hero-note strong {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nqf-hero-note span { color: var(--ink-4); font-size: 15px; line-height: 1.5; }

/* Home — about bento */
.nqf-about-bento {
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nqf-bento-lead {
  grid-column: span 2;
  background: var(--surface);
  border-radius: var(--r);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nqf-bento-lead p { font-size: 22px; line-height: 1.55; margin: 0; text-wrap: pretty; }
.nqf-bento-lead a { font-size: 16px; font-weight: 600; margin-top: 8px; align-self: flex-start; }

.nqf-bento-stat {
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 200px;
}

.nqf-bento-stat h3 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.nqf-bento-stat p { margin: 0; font-size: 16px; }

.nqf-bento-stat--accent { background: var(--accent); }
.nqf-bento-stat--accent h3 { color: #fff; }
.nqf-bento-stat--accent p { color: rgba(255, 255, 255, .85); }

.nqf-bento-stat--dark { background: var(--ink); gap: 8px; }
.nqf-bento-stat--dark h3 { font-size: 32px; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.nqf-bento-stat--dark p { color: var(--ink-4); }

.nqf-bento-wide {
  grid-column: span 2;
  background: var(--muted);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 200px;
}

.nqf-bento-wide div { display: flex; flex-direction: column; gap: 4px; }
.nqf-bento-wide h3 { margin: 0; font-size: 44px; font-weight: 600; letter-spacing: -.04em; }
.nqf-bento-wide p { margin: 0; font-size: 16px; color: var(--ink-2); }

.nqf-bento-wide > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-3);
}

/* Home — roster */
.nqf-roster { display: flex; flex-direction: column; gap: 32px; }

.nqf-roster-head {
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
}

.nqf-roster-head h2 {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.nqf-roster-head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.nqf-roster-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 40px 24px 32px;
  scrollbar-width: thin;
}

.nqf-player {
  width: 250px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: var(--r);
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nqf-player-photo {
  margin-top: -30px;
  border-radius: var(--r);
  background: var(--muted) center / cover no-repeat;
  aspect-ratio: 1 / 1;
}

.nqf-player-id { display: flex; flex-direction: column; gap: 2px; }

.nqf-player-pos {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
}

.nqf-player-name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.nqf-player-team { font-size: 14px; color: var(--ink-3); }

.nqf-player-btn {
  margin-top: 4px;
  width: 100%;
  padding: 14px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--muted);
  background: var(--surface);
  color: var(--ink);
}

.nqf-player-btn[data-on='1'] { border: 0; background: var(--ink); color: #fff; }
.nqf-player-btn[data-locked='1'] { cursor: not-allowed; background: var(--bg); color: var(--ink-4); border-color: var(--muted); }

.nqf-squad-dock {
  position: sticky;
  bottom: var(--cookie-h);
  z-index: 50;
  padding: 0 24px 24px;
}

.nqf-squad {
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--r);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-bar);
}

.nqf-squad-left { display: flex; align-items: center; gap: 20px; }

.nqf-squad-left > span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
}

.nqf-squad-slots { display: flex; gap: 8px; }

.nqf-squad-slots span {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1.5px dashed var(--line-2);
  color: var(--line-2);
}

.nqf-squad-slots span[data-filled='1'] {
  background: var(--accent);
  border: 0;
  color: #fff;
}

.nqf-squad-sim {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Home — reviews */
.nqf-reviews {
  display: grid;
  grid-template-areas: 'stack';
  padding-bottom: 64px;
}

.nqf-reviews-body {
  grid-area: stack;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nqf-reviews-body h2 {
  margin: 64px 0 0;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.nqf-reviews-cols { column-count: 3; column-gap: 24px; }

.nqf-review {
  break-inside: avoid;
  background: var(--surface);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nqf-review-stars {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
}

.nqf-review p { margin: 0; font-size: 17px; line-height: 1.55; }
.nqf-review-name { font-size: 14px; font-weight: 500; color: var(--ink-3); }

/* Home — sim modal */
.nqf-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 41, 59, .9);
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.nqf-modal-box {
  background: var(--surface);
  border-radius: var(--r);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  animation: nqf-fade .28s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nqf-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.nqf-modal-top h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.nqf-modal-done {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  background: var(--muted);
  padding: 24px;
  border-radius: var(--r);
}

.nqf-modal-form { display: flex; flex-direction: column; gap: 16px; }
.nqf-modal-form p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.nqf-modal-form .nqf-btn { padding: 18px; }

/* Age gate */
.nqf-gate {
  position: fixed;
  inset: 0;
  background: rgba(30, 41, 59, .9);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.nqf-gate-box {
  background: var(--surface);
  border-radius: var(--r);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  animation: nqf-fade .28s ease;
}

.nqf-gate-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--r);
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.nqf-gate-box h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 0 0 16px;
}

.nqf-gate-box > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 32px;
}

.nqf-gate-yes {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  padding: 22px;
  border-radius: var(--r);
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.nqf-gate-no {
  margin-top: 16px;
  background: none;
  border: 0;
  color: var(--ink-3);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.nqf-gate-warn { margin: 24px 0 0; font-size: 14px; color: var(--accent); font-weight: 500; }

/* Auth drawer */
.nqf-drawer {
  position: fixed;
  inset: 0;
  background: rgba(30, 41, 59, .9);
  z-index: 190;
  display: flex;
  justify-content: flex-end;
}

.nqf-drawer-panel {
  background: var(--surface);
  width: min(460px, 100%);
  height: 100%;
  padding: 48px 40px;
  overflow-y: auto;
  animation: nqf-fade .3s ease;
}

.nqf-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.nqf-drawer-top > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.nqf-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg);
  padding: 6px;
  border-radius: var(--r);
  margin-bottom: 32px;
}

.nqf-tabs button {
  flex: 1;
  padding: 12px;
  border-radius: var(--r);
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
}

.nqf-tabs button[aria-selected='true'] {
  font-weight: 600;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(30, 41, 59, .12);
}

.nqf-drawer-panel h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}

.nqf-auth-form { display: flex; flex-direction: column; gap: 16px; }

.nqf-auth-form label.nqf-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.nqf-auth-form .nqf-btn { margin-top: 8px; padding: 18px; }

.nqf-auth-done {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  background: var(--muted);
  padding: 16px;
  border-radius: var(--r);
  line-height: 1.5;
}

/* Contact */
.nqf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.nqf-contact-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nqf-contact-card > span:first-child,
.nqf-contact-form > span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.nqf-contact-row { display: flex; flex-direction: column; gap: 4px; }
.nqf-contact-row > span:first-child { font-size: 13px; color: var(--ink-3); }
.nqf-contact-row > span:last-child,
.nqf-contact-row a { font-size: 17px; font-weight: 500; line-height: 1.5; }
.nqf-contact-row > span:last-child { color: var(--ink); }

.nqf-contact-form {
  background: var(--surface);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nqf-contact-form .nqf-btn { padding: 18px; }

.nqf-contact-map {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--muted);
}

.nqf-contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* FAQ */
.nqf-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.nqf-faq-item {
  background: var(--surface);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nqf-faq-item h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.nqf-faq-item p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.nqf-faq-item--accent { background: var(--accent); }
.nqf-faq-item--accent h3 { color: #fff; }
.nqf-faq-item--accent p { color: rgba(255, 255, 255, .9); }
.nqf-faq-item--dark { background: var(--ink); }
.nqf-faq-item--dark h3 { color: #fff; }
.nqf-faq-item--dark p { color: var(--ink-4); }
.nqf-faq-item--muted { background: var(--muted); }

/* Responsible play resources */
.nqf-rg-list { display: flex; flex-direction: column; gap: 16px; }

.nqf-rg-item {
  background: var(--surface);
  border-radius: var(--r);
  padding: 24px;
  font-size: 17px;
  line-height: 1.6;
}

.nqf-rg-item--dark { background: var(--ink); color: #fff; font-weight: 500; }
.nqf-rg-item--dark a { color: var(--accent); }
.nqf-rg-item--muted { background: var(--muted); font-weight: 500; }

/* About chips row */
.nqf-about-tags { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 0; }

.nqf-about-tags span {
  border-radius: var(--r);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
}

.nqf-tag--accent { background: var(--accent); color: #fff; }
.nqf-tag--dark { background: var(--ink); color: #fff; }
.nqf-tag--muted { background: var(--muted); color: var(--ink); }

/* 404 */
.nqf-e404 {
  display: grid;
  grid-template-areas: 'stack';
  padding: 96px 24px 128px;
  overflow-x: hidden;
}

.nqf-e404-ghost {
  grid-area: stack;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.nqf-e404-ghost span {
  font-size: 15vw;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -.05em;
  line-height: .8;
  white-space: nowrap;
}

.nqf-e404-grid {
  grid-area: stack;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.nqf-e404-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.nqf-e404-card > span {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.nqf-e404-card h1 {
  margin: 0;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.nqf-e404-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}

.nqf-e404-media {
  background: var(--muted);
  border-radius: var(--r);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.nqf-e404-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer */
.nqf-footer {
  background: var(--ink);
  color: var(--ink-5);
  padding: 64px 24px 32px;
}

.nqf-footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
}

.nqf-footer-col { display: flex; flex-direction: column; gap: 12px; }
.nqf-footer-brand { display: flex; flex-direction: column; gap: 16px; }

.nqf-footer-logo {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  letter-spacing: -.02em;
}

.nqf-footer-logo span { color: var(--accent); }
.nqf-footer-brand p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-4); }

.nqf-footer-18 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
}

.nqf-footer-col > span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-3);
}

.nqf-footer-col a { color: var(--ink-5); font-size: 15px; }
.nqf-footer-col a:hover { color: var(--accent); }

.nqf-footer-col input[type='email'] {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--deep);
  color: #fff;
  width: 100%;
}

.nqf-footer-news-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-4);
}

.nqf-footer-news-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.nqf-footer-col button {
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--r);
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.nqf-footer-rule {
  max-width: var(--wrap);
  margin: 48px auto 0;
  height: 1px;
  background: var(--line);
}

.nqf-footer-badges {
  max-width: var(--wrap);
  margin: 32px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nqf-footer-badges span {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-5);
}

.nqf-footer-fine {
  max-width: var(--wrap);
  margin: 24px auto 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

.nqf-footer-fine + .nqf-footer-fine { margin-top: 16px; }

/* Cookie banner */
.nqf-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--ink);
  color: var(--ink-5);
  padding: 20px 24px;
  box-shadow: var(--shadow-bar);
}

.nqf-cookie-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nqf-cookie h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: #fff; }
.nqf-cookie p { margin: 0; font-size: 14px; line-height: 1.6; max-width: 70ch; }
.nqf-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.nqf-cookie-actions button {
  border-radius: var(--r);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
}

.nqf-cookie-ok { background: var(--accent); color: #fff; }
.nqf-cookie-no { background: transparent; border: 1.5px solid var(--line-2); color: var(--ink-5); font-weight: 500; }

/* Support chat */
.nqf-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--cookie-h));
  z-index: 160;
  width: 60px;
  height: 60px;
  border-radius: var(--r);
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-bar);
  transition: transform .18s ease, box-shadow .18s ease, bottom .2s ease;
}

.nqf-chat-toggle:hover { transform: scale(1.06); }
.nqf-chat-toggle svg { width: 30px; height: 30px; display: block; }

.nqf-chat-panel {
  position: fixed;
  right: 24px;
  bottom: calc(96px + var(--cookie-h));
  z-index: 161;
  width: 360px;
  height: 460px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: 0 30px 70px -20px rgba(30, 41, 59, .5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: nqf-fade .24s ease;
}

.nqf-chat-head {
  background: var(--ink);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nqf-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nqf-chat-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nqf-chat-who strong { color: #fff; font-size: 15px; font-weight: 600; }
.nqf-chat-who span { color: var(--ink-4); font-size: 12px; }
.nqf-chat-head .nqf-close { margin-left: auto; background: var(--line); color: #fff; }

.nqf-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.nqf-chat-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.55;
  animation: nqf-fade .2s ease;
}

.nqf-chat-msg--bot { background: var(--surface); color: var(--ink); align-self: flex-start; }
.nqf-chat-msg--me { background: var(--accent); color: #fff; align-self: flex-end; }
.nqf-chat-msg a { color: var(--accent); font-weight: 600; }
.nqf-chat-msg--me a { color: #fff; text-decoration: underline; }

.nqf-chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; background: var(--bg); }

.nqf-chat-quick button {
  border: 1.5px solid var(--muted);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r);
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.nqf-chat-quick button:hover { border-color: var(--accent); color: var(--accent); }

.nqf-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--muted);
  background: var(--surface);
}

.nqf-chat-form input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--r);
  border: 1.5px solid var(--muted);
  background: var(--field);
  color: var(--ink);
}

.nqf-chat-form button {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

/* Toast */
.nqf-toast {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(30, 41, 59, .9);
}

.nqf-toast-box {
  background: var(--surface);
  border-radius: var(--r);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: nqf-fade .24s ease;
}

.nqf-toast-box h2 { margin: 0 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.nqf-toast-box p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Table wrap (JS) */
.x-wrap { overflow-x: auto; }

/* ===== Responsive ===== */
@media (max-width: 1220px) {
  .nqf-nav,
  .nqf-actions { display: none; }
  .nqf-burger { display: grid; }
  .nqf-mobile.is-open { display: block; }

  .nqf-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 7vw; }
  .nqf-hero-side { margin-left: 0; }
  .nqf-hero-shot { aspect-ratio: 16 / 10; }
  .nqf-ghost-word span { font-size: 17vw; }

  .nqf-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 1100px) {
  .nqf-pagehead { grid-template-columns: minmax(0, 1fr); }
  .nqf-pagehead-media { min-height: 240px; max-height: 340px; }
  .nqf-roster-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .nqf-e404-grid { grid-template-columns: minmax(0, 1fr); }
  .nqf-e404-media { min-height: 240px; max-height: 320px; }
}

@media (max-width: 900px) {
  .nqf-about-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nqf-reviews-cols { column-count: 2; }
}

@media (max-width: 820px) {
  .nqf-main { gap: 80px; }
  .nqf-main--inner { padding: 48px 24px 96px; gap: 48px; }
  .nqf-about-bento { grid-template-columns: minmax(0, 1fr); }
  .nqf-bento-lead,
  .nqf-bento-wide { grid-column: auto; }
  .nqf-bento-lead { padding: 32px; }
  .nqf-bento-lead p { font-size: 19px; }
  .nqf-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .nqf-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .nqf-hero-card { padding: 32px; }
  .nqf-pagehead-text { padding: 32px; }
  .nqf-e404 { padding: 64px 24px 96px; }
  .nqf-e404-card { padding: 32px; }
  .nqf-squad { padding: 16px 18px; padding-right: 84px; flex-wrap: wrap; gap: 14px; }
  .nqf-squad-left { flex-wrap: wrap; gap: 12px; }
  .nqf-squad-slots span { width: 34px; height: 34px; font-size: 12px; }
  .nqf-squad-sim { width: 100%; padding: 14px 20px; }
  .nqf-contact-map iframe { height: 320px; }
  .nqf-modal-box,
  .nqf-gate-box { padding: 32px; }
  .nqf-gate-box h2 { font-size: 32px; }
  .nqf-drawer-panel { padding: 32px 24px; }
  .nqf-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 560px) {
  .nqf-reviews-cols { column-count: 1; }
  .nqf-reviews-body h2 { margin-top: 40px; }
  .nqf-prose { font-size: 17px; }
  .nqf-prose-lead { font-size: 21px; }
  .nqf-prose h3 { font-size: 24px; }
  .nqf-topbar { font-size: 8px; }
  .nqf-chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
    height: min(70vh, 460px);
  }
}

@media (max-width: 430px) {
  .nqf-wrap,
  .nqf-hero,
  .nqf-about-bento,
  .nqf-roster-head,
  .nqf-reviews-body { padding-inline: 16px; }
  .nqf-main--inner { padding: 32px 16px 80px; gap: 32px; }
  .nqf-main { gap: 56px; padding-top: 40px; }
  .nqf-roster-rail { padding: 32px 16px 24px; }
  .nqf-squad-dock { padding: 0 16px 16px; }
  .nqf-e404 { padding: 48px 16px 72px; }
  .nqf-footer { padding: 48px 16px 24px; }
  .nqf-cookie { padding: 16px; }
  .nqf-hero-card,
  .nqf-pagehead-text,
  .nqf-bento-lead,
  .nqf-e404-card,
  .nqf-contact-card,
  .nqf-contact-form,
  .nqf-faq-item,
  .nqf-note,
  .nqf-modal-box,
  .nqf-gate-box { padding: 24px; }
  .nqf-bento-stat,
  .nqf-bento-wide { padding: 24px; min-height: 160px; }
  .nqf-bento-wide { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nqf-bento-stat h3,
  .nqf-bento-wide h3 { font-size: 36px; }
  .nqf-btn { font-size: 16px; padding: 16px 24px; }
  .nqf-hero-cta .nqf-btn { width: 100%; }
  .nqf-player { width: 220px; }
  .nqf-ghost-word span,
  .nqf-e404-ghost span { font-size: 20vw; }
  .nqf-chat-toggle { right: 16px; width: 54px; height: 54px; }
  .nqf-chat-toggle svg { width: 26px; height: 26px; }
  .nqf-cookie-actions { width: 100%; }
  .nqf-cookie-actions button { flex: 1; }
  .nqf-toast-box { padding: 28px; }
}

@media (max-width: 360px) {
  .nqf-player { width: 200px; }
  .nqf-gate-box h2 { font-size: 27px; }
  .nqf-drawer-panel { padding: 24px 16px; }
  .nqf-squad { padding-right: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
