/* Jamboreeux (jamboreeux-fd8) — bespoke stylesheet, mobile-first, Bootstrap 5 grid.
   No CSS grid clone: uses vanilla .container/.row/.col-*. Per-site component
   classes use the "nec-" prefix. min-width media queries only. Hero theme:
   Great White Shark Reef — bright sunlit coral-reef mood, vivid ocean-blue/
   turquoise canvas (not a dark near-black wash). */

:root {
  --nec-ocean: #0a4d68;
  --nec-ocean-2: #0f6e94;
  --nec-ocean-deep: #063245;
  --nec-turquoise: #17b6b0;
  --nec-coral: #ff6f61;
  --nec-coral-deep: #e0503f;
  --nec-sand: #f3e0b8;
  --nec-chrome: #c9d6dc;
  --nec-white: #f8fcfb;
  --nec-ink: #062633;
  --nec-text-dim: #bfe3e6;
  --nec-radius: 16px;
  --nec-radius-lg: 26px;

  /* --sv2-* tokens required by the shared auth-modal / cookie-banner CSS contract */
  --sv2-gold: var(--nec-coral);
  --sv2-gold-deep: var(--nec-coral-deep);
  --sv2-white: var(--nec-white);
  --sv2-ink: var(--nec-ink);
  --sv2-text-dim: var(--nec-text-dim);
  --sv2-card-bg: rgba(248, 252, 251, 0.08);
  --sv2-card-border: rgba(248, 252, 251, 0.18);
  --sv2-radius-lg: 22px;

  font-family: 'Figtree', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--nec-ocean) 0%, var(--nec-ocean-2) 45%, var(--nec-turquoise) 100%);
  background-attachment: fixed;
  color: var(--nec-white);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-width: 320px;
}
h1, h2, h3, h4, .nec-display {
  font-family: 'Unbounded', 'Figtree', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
a { color: var(--nec-sand); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.1em; }
button { font-family: inherit; }

.container { max-width: 1180px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 12px 22px; border-radius: 999px; border: none;
  font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--gold { background: linear-gradient(135deg, var(--nec-coral), var(--nec-coral-deep)); color: var(--nec-white); box-shadow: 0 8px 24px rgba(224,80,63,.35); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--ghost { background: rgba(248,252,251,.1); color: var(--nec-white); border: 1px solid rgba(248,252,251,.3); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9rem; }
.btn--link { background: none; color: var(--nec-sand); padding: 6px 4px; min-height: 44px; text-decoration: underline; }

.nec-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--nec-sand); margin-bottom: .6em; }

/* ============ NAV: tide-line-drift-nav ============ */
.nec-nav { position: sticky; top: 0; z-index: 40; background: rgba(6,38,51,.92); backdrop-filter: blur(10px); min-height: 64px; padding: 8px 0; border-bottom: 1px solid rgba(248,252,251,.12); }
.nec-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nec-nav__brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--nec-white); font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.05rem; }
.nec-nav__brand svg { width: 34px; height: 34px; color: var(--nec-turquoise); flex-shrink: 0; }
.nec-nav__links { display: none; }
.nec-nav__buoy { display: flex; align-items: center; gap: 8px; background: radial-gradient(circle at 30% 30%, rgba(255,111,97,.28), rgba(6,38,51,.6)); border: 2px solid var(--nec-coral); border-radius: 999px; padding: 6px 8px 6px 14px; position: relative; }
/* Mobile: the full buoy (balance text + Sign Up + Log In) doesn't fit a
   single ≤64px sticky-header row at narrow widths without wrapping — keep
   only the compact fused age badge here on mobile; balance + auth buttons
   reappear at the 900px breakpoint below alongside the full nav links. */
.nec-nav__buoy .btn { display: none; }
.nec-nav__balance { display: none; font-weight: 700; font-size: .88rem; color: var(--nec-sand); white-space: nowrap; }
.nec-nav__age-fused { position: absolute; top: -10px; right: -6px; background: var(--nec-coral-deep); color: var(--nec-white); font-size: .62rem; font-weight: 800; border-radius: 999px; padding: 2px 6px; border: 2px solid var(--nec-ink); }
.nec-nav__fab { min-width: 44px; min-height: 44px; border-radius: 50%; background: var(--nec-turquoise); color: var(--nec-ink); border: none; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

.nec-bubblewrap { position: fixed; inset: auto 16px 84px auto; z-index: 45; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; pointer-events: none; }
.nec-bubblewrap[hidden] { display: none; }
.nec-bubblewrap a {
  pointer-events: auto; background: rgba(23,182,176,.92); color: var(--nec-ink); font-weight: 700;
  border-radius: 999px; padding: 10px 18px; min-height: 44px; display: flex; align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); opacity: 0; transform: translateY(14px) scale(.85);
  animation: nec-bubble-rise .38s ease forwards;
}
@keyframes nec-bubble-rise { to { opacity: 1; transform: translateY(0) scale(1); } }

@media (min-width: 900px) {
  .nec-nav { clip-path: polygon(0 0, 100% 0, 100% 82%, 92% 100%, 75% 84%, 58% 100%, 42% 84%, 25% 100%, 8% 84%, 0 100%); padding-bottom: 20px; }
  .nec-nav__buoy .btn { display: inline-flex; }
  .nec-nav__balance { display: inline; }
  .nec-nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .nec-nav__links li { animation: nec-drift 5.5s ease-in-out infinite; }
  .nec-nav__links li:nth-child(2n) { animation-delay: .9s; }
  .nec-nav__links li:nth-child(3n) { animation-delay: 1.8s; }
  @keyframes nec-drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
  .nec-nav__links a { display: inline-block; background: rgba(23,182,176,.16); border: 1px solid rgba(23,182,176,.4); color: var(--nec-white); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; min-height: 44px; display: flex; align-items: center; }
  .nec-nav__links a:hover { background: rgba(23,182,176,.32); }
  .nec-nav__fab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nec-nav__links li { animation: none; } }

/* ============ HERO: hero-fullbleed-photo, right-anchored text ============ */
.nec-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.nec-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(6,38,51,.15) 0%, rgba(6,38,51,.55) 45%, rgba(6,38,51,.92) 100%); }
.nec-hero__inner { position: relative; z-index: 2; width: 100%; padding: 40px 0 44px; }
.nec-hero__col { max-width: 560px; margin-left: auto; text-align: left; }
.nec-hero__h1 { font-size: clamp(2rem, 6vw, 3.1rem); color: var(--nec-white); }
.nec-hero__ctarow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 14px 0 10px; }
.nec-hero__bullets { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.nec-hero__bullets li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--nec-sand); }
.nec-hero__bullets li::before { content: "🫧"; flex-shrink: 0; }
.nec-hero__microcopy { font-size: .85rem; color: var(--nec-text-dim); margin: 0; }
@media (min-width: 900px) { .nec-hero { min-height: 86vh; } }

/* ============ Stats strip ============ */
.nec-stats { padding: 34px 0; background: rgba(6,38,51,.55); }
.nec-stats__row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.nec-stats__cell { background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--nec-radius); padding: 16px; text-align: center; }
.nec-stats__num { display: block; font-family: 'Unbounded', sans-serif; font-size: 1.35rem; color: var(--nec-turquoise); }
.nec-stats__label { font-size: .82rem; color: var(--nec-text-dim); }
@media (min-width: 480px) { .nec-stats__row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .nec-stats__row { grid-template-columns: repeat(4, 1fr); } }

/* ============ Game catalog stack ============ */
.nec-catalog { padding: 46px 0; }
.nec-catalog__row { margin-bottom: 38px; }
.nec-catalog__row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.nec-catalog__row-head h3 { color: var(--nec-white); font-size: 1.3rem; margin: 0; }
.nec-catalog__count { font-size: .82rem; color: var(--nec-text-dim); background: rgba(23,182,176,.18); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.nec-catalog__track { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.nec-catalog__track::-webkit-scrollbar { height: 6px; }
.nec-games-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .nec-games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .nec-games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .nec-games-grid { grid-template-columns: repeat(4, 1fr); } }

/* current-drift-bubble-card */
.nec-card { position: relative; scroll-snap-align: start; flex: 0 0 240px; background: var(--sv2-card-bg); border: 1px solid var(--sv2-card-border); border-radius: var(--nec-radius-lg); overflow: hidden; transition: transform .25s ease; }
.nec-games-grid .nec-card { flex: unset; }
.nec-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.nec-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nec-card__tag { position: absolute; top: 8px; left: 8px; background: rgba(6,38,51,.75); color: var(--nec-sand); font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.nec-card__body { padding: 12px 14px 14px; }
.nec-card__title { font-weight: 700; color: var(--nec-white); margin: 0 0 4px; font-size: 1rem; }
.nec-card__meta { font-size: .78rem; color: var(--nec-text-dim); margin: 0 0 10px; }
.nec-card__bubble-cta {
  position: absolute; right: 10px; bottom: -50px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--nec-turquoise); color: var(--nec-ink); font-weight: 700; font-size: .82rem; border: none;
  display: flex; align-items: center; transition: bottom .28s ease; cursor: pointer; text-decoration: none;
}
.nec-card:hover, .nec-card:focus-within { transform: translateY(-4px) rotate(-.5deg); }
.nec-card:hover .nec-card__bubble-cta, .nec-card:focus-within .nec-card__bubble-cta { bottom: 10px; }
.nec-card:hover .nec-card__media img { transform: scale(1.06); }
@media (hover: none) { .nec-card__bubble-cta { bottom: 10px; position: static; margin-top: 4px; } }

/* ============ Jackpot meter band: single-figure ============ */
.nec-jackpot { padding: 40px 0; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(255,111,97,.22), transparent 70%); }
.nec-jackpot__figure { font-family: 'Unbounded', sans-serif; font-size: clamp(2.2rem, 7vw, 3.6rem); color: var(--nec-coral); margin: 6px 0; }
.nec-jackpot__note { color: var(--nec-text-dim); font-size: .9rem; }

/* ============ Slot showcase: coral-crest-viewport-console ============ */
.nec-slot { padding: 46px 0; }
.nec-slot__stage { position: relative; max-width: 720px; margin: 0 auto; border-radius: 50% 50% 20px 20px / 30% 30% 10px 10px; background: linear-gradient(180deg, var(--nec-ocean-deep), var(--nec-ink)); padding: 30px 22px 26px; border: 4px solid var(--nec-coral); overflow: hidden; }
.nec-slot__stage.is-flash { animation: nec-flash .5s ease; }
@keyframes nec-flash { 0%,100% { box-shadow: none; } 40% { box-shadow: 0 0 60px 10px rgba(23,182,176,.6); } }
.nec-slot__bubblerail { position: absolute; top: 0; bottom: 0; width: 14px; background: repeating-radial-gradient(circle, rgba(255,255,255,.5) 0 2px, transparent 3px 16px); opacity: .5; }
.nec-slot__bubblerail--l { left: 6px; } .nec-slot__bubblerail--r { right: 6px; }
.nec-slot__cabinet { position: relative; }
/* game-ui */
.nec-slot__reels { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6px; background: var(--nec-ocean-deep); border-radius: 14px; padding: 10px; filter: none; }
.nec-slot__reels.is-spinning .nec-slot__cell img { filter: blur(2px); }
.nec-slot__cell { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.06); position: relative; }
.nec-slot__cell img { width: 100%; height: 100%; object-fit: cover; }
.nec-slot__cell.is-win { outline: 3px solid var(--nec-turquoise); box-shadow: 0 0 16px var(--nec-turquoise); }
.nec-slot__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-top: 18px; }
.nec-slot__stat { background: rgba(255,255,255,.08); border-radius: var(--nec-radius); padding: 8px 14px; text-align: center; }
.nec-slot__stat.is-pulsing { animation: nec-pulse-stat .9s ease; }
@keyframes nec-pulse-stat { 40% { transform: scale(1.08); } }
.nec-slot__stat .k { display: block; font-size: .68rem; color: var(--nec-text-dim); text-transform: uppercase; }
.nec-slot__stat .v { font-family: 'Unbounded', sans-serif; font-size: 1.1rem; color: var(--nec-sand); }
.nec-slot__bet { display: flex; align-items: center; gap: 8px; }
.nec-slot__bet button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--nec-white); font-size: 1.2rem; }
.nec-slot__spin { min-width: 88px; min-height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffb9ae, var(--nec-coral) 60%, var(--nec-coral-deep)); border: 3px solid var(--nec-sand); color: var(--nec-ink); font-weight: 800; font-size: 1.6rem; }
.nec-slot__spin.is-spinning { animation: nec-spin-pulse .9s linear infinite; }
@keyframes nec-spin-pulse { 0% { transform: scale(1);} 50% { transform: scale(.94);} 100% { transform: scale(1);} }
.nec-slot__auto.is-active { background: var(--nec-turquoise); color: var(--nec-ink); }
.nec-slot__win { position: absolute; top: 10px; left: 50%; transform: translate(-50%, -14px); opacity: 0; background: var(--nec-turquoise); color: var(--nec-ink); font-weight: 800; padding: 8px 18px; border-radius: 999px; transition: all .3s ease; z-index: 3; }
.nec-slot__win.is-visible { opacity: 1; transform: translate(-50%, 0); }
.nec-slot__note--legal { font-size: .82rem; color: var(--nec-text-dim); margin-top: 14px; }

/* win animation: reef-glow-ripple-bloom (pulse physics) */
.nec-ripple { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border: 3px solid var(--nec-turquoise); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; animation: nec-ripple-bloom var(--nec-ripple-dur, 1.1s) ease-out forwards; }
@keyframes nec-ripple-bloom { 0% { width: 10px; height: 10px; opacity: .9; border-width: 4px; } 100% { width: var(--nec-ripple-size, 420px); height: var(--nec-ripple-size, 420px); opacity: 0; border-width: 1px; } }

/* Paytable dialog (shared with slot template contract) */
.nec-paytable { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; }
.nec-paytable[hidden] { display: none; }
.nec-paytable__backdrop { position: absolute; inset: 0; background: rgba(6,38,51,.75); }
.nec-paytable__sheet { position: relative; z-index: 2; width: 100%; max-height: 82vh; overflow-y: auto; background: var(--nec-ocean-deep); border-radius: 22px 22px 0 0; padding: 20px; }
/* game-ui */
.nec-paytable__row { display: grid; grid-template-columns: 34px 1fr repeat(3, 44px); align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.nec-paytable__row img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }
.nec-paytable__row .name { font-size: .85rem; }
.nec-paytable__row .val { font-size: .8rem; text-align: right; color: var(--nec-turquoise); }
.nec-paytable__line { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
/* game-ui */
.nec-paytable__line-grid { display: grid; grid-template-columns: repeat(5, 8px); grid-template-rows: repeat(3, 8px); gap: 2px; }
.nec-paytable__line-dot { width: 8px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.15); }
.nec-paytable__line-dot.is-on { background: var(--nec-turquoise); }
.nec-paytable__line-name { font-size: .82rem; }

/* ============ FAQ teaser band ============ */
.nec-faqband { padding: 44px 0; }
.nec-accordion__item { border-bottom: 1px solid rgba(255,255,255,.12); }
.nec-accordion__q { width: 100%; text-align: left; background: none; border: none; color: var(--nec-white); font-weight: 700; padding: 16px 4px; min-height: 44px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.nec-accordion__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--nec-text-dim); }
.nec-accordion__a p { padding: 0 4px 16px; margin: 0; }
.nec-accordion__item.is-open .nec-accordion__a { max-height: 240px; }
.nec-accordion__item.is-open .nec-accordion__q .chev { transform: rotate(180deg); }
.nec-accordion__q .chev { transition: transform .2s ease; }

/* ============ Footer: tide-pool-cluster-footer ============ */
.nec-footer { position: relative; margin-top: 30px; padding: 60px 0 0; background: var(--nec-ocean-deep); }
.nec-footer::before { content: ""; position: absolute; top: -28px; left: 0; right: 0; height: 30px; background: var(--nec-ocean-deep); clip-path: polygon(0 100%, 0 40%, 8% 60%, 16% 30%, 24% 60%, 32% 20%, 40% 60%, 48% 30%, 56% 60%, 64% 20%, 72% 60%, 80% 30%, 88% 60%, 96% 20%, 100% 60%, 100% 100%); }
.nec-footer__pools { display: grid; gap: 22px; }
.nec-footer__pool { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 22px; }
.nec-footer__pool--brand { text-align: center; }
.nec-footer__pool--brand svg { width: 40px; height: 40px; color: var(--nec-turquoise); }
.nec-footer__pool h4 { color: var(--nec-sand); font-size: .95rem; margin: 0 0 12px; }
.nec-footer__pool ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nec-footer__pool a { color: var(--nec-white); min-height: 44px; display: flex; align-items: center; }
.nec-footer__orgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.nec-footer__org { display: flex; align-items: center; gap: 8px; background: var(--nec-ocean-deep); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 8px 12px; min-height: 44px; }
.nec-footer__org img, .nec-footer__org svg { height: 22px; width: auto; }
.nec-footer__org--text { font-size: .78rem; font-weight: 700; color: var(--nec-white); }
.nec-footer__bottombar { margin-top: 26px; border-top: 1px dashed rgba(255,255,255,.2); padding: 18px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--nec-text-dim); }
@media (min-width: 900px) { .nec-footer__pools { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; } }

/* Sidebar/nav age note pattern (near primary CTA, non-dominant) */
.nec-age-note { font-size: .78rem; color: var(--nec-text-dim); }

/* ============ Legal / page-intro / prose ============ */
.nec-page-intro { padding: 48px 0 20px; }
.nec-prose h2 { color: var(--nec-white); font-size: 1.3rem; margin-top: 1.6em; }
.nec-prose ul { color: var(--nec-text-dim); }
.nec-prose { padding-bottom: 50px; }
.nec-page-footnote { font-size: .85rem; color: var(--nec-text-dim); border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; margin-top: 30px; }

/* Game detail page */
.nec-gdetail__hero { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding: 40px 0 20px; }
.nec-gdetail__hero img { width: 100%; max-width: 320px; border-radius: var(--nec-radius-lg); aspect-ratio: 16/9; object-fit: cover; }
.nec-quickfacts { display: grid; gap: 10px; list-style: none; padding: 0; margin: 18px 0; }
.nec-quickfacts li { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.nec-tips { padding-left: 1.2em; }
.nec-tips li { margin-bottom: 10px; }
.nec-related__heading { color: var(--nec-white); font-size: 1.2rem; margin: 30px 0 14px; }

/* ============ Testimonials (if used) ============ */
.nec-testimonial { background: rgba(255,255,255,.06); border-radius: var(--nec-radius-lg); padding: 18px; height: 100%; }
.nec-testimonial cite { display: block; margin-top: 10px; font-size: .82rem; color: var(--nec-text-dim); font-style: normal; }

/* ============ Auth modal chrome: tide-pool-surface-rise ============ */
.nj-auth { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.nj-auth[hidden] { display: none; }
.nj-auth__backdrop { position: absolute; inset: 0; background: rgba(6,38,51,.8); }
.nj-auth__sheet {
  position: relative; z-index: 2; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--nec-ocean-2), var(--nec-ocean-deep));
  border-radius: var(--sv2-radius-lg) var(--sv2-radius-lg) 0 0; padding: 24px 22px 30px;
  border-top: 4px solid var(--nec-turquoise);
  clip-path: polygon(0 6%, 4% 3%, 9% 6%, 14% 2%, 20% 6%, 26% 2%, 32% 6%, 38% 3%, 44% 6%, 50% 2%, 56% 6%, 62% 3%, 68% 6%, 74% 2%, 80% 6%, 86% 3%, 92% 6%, 96% 2%, 100% 6%, 100% 100%, 0 100%);
  animation: nec-rise .35s ease;
}
@keyframes nec-rise { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.nj-auth__handle { display: none; }
.nj-auth__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-top: 6px; }
.nj-auth__header h3 { font-family: 'Unbounded', sans-serif; color: var(--nec-white); margin: 0; font-size: 1.2rem; }
.nj-auth__close { min-width: 40px; min-height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.1); color: var(--nec-white); font-size: 1rem; }
.nj-auth__lead { color: var(--nec-text-dim); font-size: .92rem; }
.nj-auth__tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.nj-auth__tab { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: var(--nec-white); font-weight: 700; }
.nj-auth__tab.is-active { background: var(--nec-turquoise); color: var(--nec-ink); border-color: var(--nec-turquoise); }
.nj-auth__provider {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; margin-bottom: 10px;
  border-radius: 14px; border: 1px solid var(--sv2-card-border); background: var(--sv2-card-bg); color: var(--nec-white);
  font-weight: 600; cursor: pointer; position: relative;
}
.nj-auth__provider-icon { width: 22px; height: 22px; display: flex; }
.nj-auth__provider-icon svg { width: 100%; height: 100%; }
.nj-auth__provider.is-suggested { animation: nec-glow-pulse 1.1s ease 2; border-color: var(--nec-turquoise); }
@keyframes nec-glow-pulse { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 0 4px rgba(23,182,176,.35); } }
.nj-auth__bubble-note { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) scale(.3); background: var(--nec-turquoise); color: var(--nec-ink); font-size: .78rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none; transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.nj-auth__bubble-note::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--nec-turquoise); }
.nj-auth__bubble-note.is-visible { opacity: 1; transform: translateX(-50%) scale(1); }
.nj-auth__field { display: block; margin-bottom: 12px; }
.nj-auth__field span { display: block; font-size: .82rem; color: var(--nec-text-dim); margin-bottom: 6px; }
.nj-auth__field input { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--sv2-card-border); background: rgba(255,255,255,.06); color: var(--nec-white); padding: 10px 14px; font-size: 1rem; }
.nj-auth__submit { width: 100%; margin-top: 6px; }
.nj-auth__fine { font-size: .74rem; color: var(--nec-text-dim); margin-top: 12px; }
.nj-auth__back { background: none; border: none; color: var(--nec-text-dim); padding: 8px 0; min-height: 44px; cursor: pointer; }
.nj-auth__error { color: #ffb4a8; font-size: .82rem; min-height: 1.2em; }
@media (min-width: 640px) {
  .nj-auth { align-items: center; }
  .nj-auth__sheet { border-radius: var(--sv2-radius-lg); clip-path: none; border-top: none; border: 1px solid var(--sv2-card-border); }
}

/* ============ Cookie banner (.nj-cookie* copied verbatim per contract) ============ */
.nj-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; }
.nj-cookie[hidden] { display: none; }
.nj-cookie__bar { background: var(--nec-ocean-deep); border-top: 1px solid rgba(255,255,255,.15); padding: 16px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.nj-cookie__text { margin: 0; font-size: .85rem; color: var(--sv2-text-dim); flex: 1 1 260px; }
.nj-cookie__text a { color: var(--nec-turquoise); }
.nj-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nj-cookie__panel { background: var(--nec-ocean-deep); border-top: 1px solid rgba(255,255,255,.15); padding: 20px; max-height: 70vh; overflow-y: auto; }
.nj-cookie__panel[hidden] { display: none; }
.nj-cookie__panel-head { display: flex; justify-content: space-between; align-items: center; }
.nj-cookie__panel-head h3 { margin: 0; color: var(--nec-white); }
.nj-cookie__panel-intro { color: var(--sv2-text-dim); font-size: .85rem; }
.nj-cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.nj-cookie__row-copy strong { display: block; color: var(--nec-white); }
.nj-cookie__row-copy span { font-size: .8rem; color: var(--sv2-text-dim); }
.nj-cookie__locked-badge { font-size: .75rem; background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 999px; color: var(--sv2-text-dim); }
.nj-cookie__toggle { width: 46px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.2); border: none; position: relative; cursor: pointer; }
.nj-cookie__toggle-dot { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s ease; }
.nj-cookie__toggle.is-on { background: var(--nec-turquoise); }
.nj-cookie__toggle.is-on .nj-cookie__toggle-dot { left: 23px; }
.nj-cookie__panel-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ============ Utility ============ */
.nec-section-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.nec-section-head h2 { color: var(--nec-white); font-size: clamp(1.6rem, 4vw, 2.2rem); }
.nec-hazard-strip { background: repeating-linear-gradient(135deg, var(--nec-coral) 0 14px, var(--nec-coral-deep) 14px 28px); color: var(--nec-white); text-align: center; font-weight: 700; padding: 8px 12px; font-size: .82rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
