/* ==========================================================================
   thenusumo — guest homepage
   Namespaced under .tns-* / #tns-* so it never collides with the base
   Dizzy stylesheet (style.css / night_style.css) that is still loaded on
   this page for shared chrome (popups, cookie banner, etc).
   Light mode is the default; dark mode is applied via [data-theme="dark"]
   on <html>, toggled client-side and persisted to localStorage — this is
   independent from the logged-in app's day/night setting since guests on
   this page never see that toggle.
   ========================================================================== */

:root{
  --tns-bg: #fbfbfd;
  --tns-bg-alt: #f3f3f8;
  --tns-surface: #ffffff;
  --tns-surface-2: #f6f6fb;
  --tns-border: #e6e6f0;
  --tns-text: #15151f;
  --tns-text-dim: #55555f;
  --tns-text-faint: #86869a;
  --tns-accent: #7c5cff;
  --tns-accent-2: #ff4fa3;
  --tns-accent-3: #0891b2;
  --tns-success: #17a566;
  --tns-danger: #e11d48;
  --tns-gradient: linear-gradient(120deg, #7c5cff 0%, #ff4fa3 55%, #ff8a5c 100%);
  --tns-on-gradient: #0b0b10;
  --tns-shadow: 0 20px 45px rgba(20, 20, 40, 0.08);
  --tns-shadow-lg: 0 30px 70px rgba(20, 20, 40, 0.12);
  --tns-radius: 18px;
  color-scheme: light;
}

:root[data-theme="dark"]{
  --tns-bg: #0b0b10;
  --tns-bg-alt: #121218;
  --tns-surface: #17171f;
  --tns-surface-2: #1e1e28;
  --tns-border: #2a2a36;
  --tns-text: #f5f5f7;
  --tns-text-dim: #9c9ca8;
  --tns-text-faint: #6a6a76;
  --tns-accent: #8a6bff;
  --tns-accent-2: #ff4fa3;
  --tns-accent-3: #22d3ee;
  --tns-success: #2fd480;
  --tns-danger: #ff6b81;
  --tns-on-gradient: #0b0b10;
  --tns-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  --tns-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

html{ scroll-behavior: smooth; }
#tns-pricing, #tns-for-creators{ scroll-margin-top: 90px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .tns-root *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body.tns-root, .tns-root{
  background: var(--tns-bg);
  color: var(--tns-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.tns-root *{ box-sizing: border-box; }
.tns-root h1, .tns-root h2, .tns-root h3, .tns-root h4, .tns-brand-mark{
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tns-root a{ color: inherit; text-decoration: none; }
.tns-root ul{ list-style: none; margin: 0; padding: 0; }
.tns-root img{ max-width: 100%; display: block; }
.tns-root button{ font-family: inherit; }
.tns-root input{ font-family: inherit; }

/* Subtle film-grain texture over the whole page - cheap way to add
   tactile richness without needing real photography everywhere. */
body.tns-root::before{
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body.tns-root::before{ opacity: .05; }

.tns-wrap{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px){ .tns-wrap{ padding: 0 18px; } }

.tns-grad-text{
  background: var(--tns-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: tns-gradient-shift 6s ease infinite;
}
@keyframes tns-gradient-shift{
  0%,100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}

.tns-pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

.tns-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.tns-btn:active{ transform: translateY(0) scale(.94); transition-duration: .08s; }
.loginForm{ transition: transform .18s cubic-bezier(.34,1.56,.64,1), opacity .18s ease; position: relative; overflow: hidden; }
.loginForm:active{ transform: scale(.94); }
.tns-claim-row .claimname{ position: relative; overflow: hidden; }

/* Click ripple - a small circle grows from the exact click point and fades,
   added/removed by interactions.js on every .tns-btn / .claimname / .loginForm
   click. Needs its host to be position:relative + overflow:hidden (already
   true for these). */
.tns-ripple{
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: rgba(255,255,255,0.55); transform: scale(0); opacity: .6;
  animation: tns-ripple-out .55s ease-out forwards;
}
:root:not([data-theme="dark"]) .tns-btn-outline .tns-ripple,
:root:not([data-theme="dark"]) .tns-btn-ghost .tns-ripple,
:root:not([data-theme="dark"]) .loginForm .tns-ripple{ background: rgba(21,21,31,0.16); }
@keyframes tns-ripple-out{ to{ transform: scale(9); opacity: 0; } }
/* Brief spinner feedback on click so opening the login modal doesn't feel
   like nothing happened - toggled by interactions.js for ~350ms. */
.tns-btn-loading{ pointer-events: none; position: relative; color: transparent !important; }
.tns-btn-loading::after{
  content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%;
  animation: tns-spin .6s linear infinite;
}
.tns-btn-outline.tns-btn-loading::after, .loginForm.tns-btn-loading::after{ border-color: rgba(124,92,255,0.3); border-top-color: var(--tns-accent); }
@keyframes tns-spin{ to{ transform: rotate(360deg); } }
.tns-btn-primary{ background: var(--tns-gradient); color: var(--tns-on-gradient); box-shadow: 0 10px 30px rgba(124,92,255,0.35); }
.tns-btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px rgba(124,92,255,0.45); }
.tns-btn-primary::before{
  content:''; position:absolute; top:0; bottom:0; left:-60%; width:40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left .65s ease;
}
.tns-btn-primary:hover::before{ left: 130%; }
.tns-btn-ghost{ background: var(--tns-surface-2); background: color-mix(in srgb, var(--tns-text) 6%, transparent); color: var(--tns-text); border: 1px solid var(--tns-border); }
.tns-btn-ghost:hover{ transform: translateY(-2px); background: color-mix(in srgb, var(--tns-text) 10%, transparent); }
.tns-btn-outline{ background: transparent; color: var(--tns-text); border: 1px solid var(--tns-border); }
.tns-btn-outline:hover{ border-color: var(--tns-accent); color: var(--tns-accent); }
.tns-btn-sm{ padding: 10px 18px; font-size: 14px; }
.tns-btn-block{ width: 100%; }
.tns-btn[disabled]{ opacity: .6; cursor: default; transform: none !important; }

/* ---------- Reveal-on-scroll ---------- */
.tns-reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.tns-reveal.is-visible{ opacity: 1; transform: translateY(0); }
.tns-reveal-stagger.is-visible > *{ animation: tns-fade-up .6s cubic-bezier(.16,.84,.44,1) both; }
.tns-reveal-stagger.is-visible > *:nth-child(1){ animation-delay: .02s; }
.tns-reveal-stagger.is-visible > *:nth-child(2){ animation-delay: .08s; }
.tns-reveal-stagger.is-visible > *:nth-child(3){ animation-delay: .14s; }
.tns-reveal-stagger.is-visible > *:nth-child(4){ animation-delay: .20s; }
.tns-reveal-stagger.is-visible > *:nth-child(5){ animation-delay: .26s; }
.tns-reveal-stagger.is-visible > *:nth-child(6){ animation-delay: .32s; }
@keyframes tns-fade-up{ from{ opacity: 0; transform: translateY(18px); } to{ opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.tns-header{
  position: sticky; top: 0; z-index: 200;
  background: var(--tns-bg);
  background: color-mix(in srgb, var(--tns-bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tns-border);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tns-header.is-scrolled{ box-shadow: 0 10px 30px rgba(10,10,20,0.10); }
:root[data-theme="dark"] .tns-header.is-scrolled{ box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.tns-nav{ display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.tns-brand-mark{ font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 2px; }
.tns-brand-mark .dot{ background: var(--tns-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tns-nav-links{ display: flex; gap: 30px; font-size: 14px; font-weight: 600; color: var(--tns-text-dim); }
.tns-nav-links a{ transition: color .15s ease; position: relative; padding-bottom: 3px; }
.tns-nav-links a::after{ content:''; position:absolute; left:0; right:100%; bottom:0; height:2px; border-radius:2px; background: var(--tns-gradient); transition: right .25s cubic-bezier(.16,.84,.44,1); }
.tns-nav-links a:hover{ color: var(--tns-text); }
.tns-nav-links a:hover::after{ right: 0; }
.tns-nav-actions{ display: flex; align-items: center; gap: 10px; }
.tns-mobile-login{ display:none; color:var(--tns-text); font-size:14px; font-weight:700; cursor:pointer; padding:9px 4px; }

.tns-theme-toggle{
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--tns-border);
  background: var(--tns-surface); display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: border-color .15s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.tns-theme-toggle:hover{ border-color: var(--tns-accent); transform: rotate(-12deg) scale(1.05); }
.tns-theme-toggle svg{
  width: 18px; height: 18px; stroke: var(--tns-text);
  position: absolute; top: 50%; left: 50%;
  transition: opacity .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
}
.tns-theme-toggle .tns-icon-moon{ transform: translate(-50%,-50%) rotate(0deg) scale(1); opacity: 1; }
.tns-theme-toggle .tns-icon-sun{ transform: translate(-50%,-50%) rotate(90deg) scale(.4); opacity: 0; }
:root[data-theme="dark"] .tns-theme-toggle .tns-icon-sun{ transform: translate(-50%,-50%) rotate(0deg) scale(1); opacity: 1; }
:root[data-theme="dark"] .tns-theme-toggle .tns-icon-moon{ transform: translate(-50%,-50%) rotate(-90deg) scale(.4); opacity: 0; }

.tns-mobile-toggle{ display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--tns-border); background: var(--tns-surface); cursor: pointer; align-items: center; justify-content: center; }
.tns-mobile-toggle span, .tns-mobile-toggle::before, .tns-mobile-toggle::after{ content:''; display:block; width:18px; height:2px; background: var(--tns-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.tns-mobile-toggle span{ margin: 4px 0; }
.tns-mobile-menu{ display: none; border-top: 1px solid var(--tns-border); padding: 18px 0; }
.tns-mobile-menu a{ display: block; padding: 12px 0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--tns-border); }
.tns-mobile-menu .tns-mobile-ctas{ display: flex; gap: 10px; margin-top: 14px; }
body.tns-menu-open .tns-mobile-menu{ display: block; }
body.tns-menu-open .tns-mobile-toggle span{ opacity: 0; }
body.tns-menu-open .tns-mobile-toggle::before{ transform: translateY(6px) rotate(45deg); }
body.tns-menu-open .tns-mobile-toggle::after{ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px){
  .tns-nav-links{ display: none; }
  .tns-mobile-toggle{ display: flex; }
  .tns-desktop-auth{ display:none !important; }
  .tns-mobile-login{ display:block; }
  .tns-nav{ min-height:64px; padding:11px 0; }
  .tns-brand-mark{ font-size:19px; }
  .tns-mobile-menu{
    position:absolute; top:100%; left:0; right:0; max-height:calc(100vh - 64px); overflow-y:auto;
    background:color-mix(in srgb,var(--tns-bg) 96%,transparent);
    backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
    box-shadow:0 24px 50px rgba(0,0,0,.42);
  }
  .tns-mobile-menu a{ padding:14px 0; }
}
@media (max-width:420px){
  .tns-wrap.tns-nav{ padding-left:16px; padding-right:16px; gap:10px; }
  .tns-nav-actions{ gap:8px; }
  .tns-mobile-login{ font-size:13px; }
  .tns-mobile-menu .tns-mobile-ctas{ flex-direction:column; }
}

/* ==========================================================================
   HERO - Netflix-style profile mosaic background
   ========================================================================== */
.tns-hero{
  padding: 120px 0 96px; position: relative; overflow: hidden;
  min-height: 620px; display: flex; align-items: center;
  /* The mosaic + dark scrim sit behind hero text regardless of site theme,
     so hero copy is locally forced to light-on-dark colors here.
     IMPORTANT: `color` itself must be set explicitly here too, not just
     the --tns-text custom property - `color` is what inherits down to
     text nodes, and redefining the *variable* on this element does not
     retroactively change the *computed color* that <body> already
     resolved (in light mode, that's near-black) and passed down. Without
     this line, any hero text lacking its own explicit `color: var(--tns-text)`
     - like a plain <h1> or <span> - silently inherits body's color
     instead of this scope's white, which is exactly why "Exclusive
     content," was going near-invisible in light mode: it had no color
     declaration of its own to pick up the override. */
  color: #ffffff;
  --tns-text: #ffffff;
  --tns-text-dim: rgba(255,255,255,0.82);
  --tns-text-faint: rgba(255,255,255,0.6);
  --tns-border: rgba(255,255,255,0.22);
  --tns-surface: rgba(20,18,28,0.55);
  --tns-surface-2: rgba(255,255,255,0.08);
}
.tns-hero > .tns-wrap{ position: relative; z-index: 3; width: 100%; }

.tns-hero-mosaic{
  position: absolute; inset: -2% -2%; z-index: 0; overflow: hidden; background: #0b0b10;
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  transform: rotate(-2.5deg) scale(1.08);
  pointer-events: none;
}
/* Each row is its own independent horizontal marquee - different rows run
   at different speeds and alternating directions, which is what actually
   reads as organic/alive rather than one block moving in a straight
   line. Every row's tile list is rendered twice back-to-back so
   translating -50% loops seamlessly. */
.tns-mosaic-row{
  display: flex; gap: 3px; flex-shrink: 0; width: max-content;
  animation-name: tns-mosaic-row-scroll; animation-timing-function: linear; animation-iteration-count: infinite;
  will-change: transform;
}
.tns-mosaic-row-rev{ animation-direction: reverse; }
@keyframes tns-mosaic-row-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.tns-mosaic-tile{
  width: 132px; height: 112px; flex-shrink: 0;
  background-size: cover; background-position: center; background-color: #1c1a24;
  border-radius: 4px; opacity: 0;
  animation: tns-mosaic-tile-in .9s ease both;
  transition: filter .3s ease;
}
@keyframes tns-mosaic-tile-in{ from{ opacity: 0; } to{ opacity: 1; } }
.tns-mosaic-row:nth-child(2) .tns-mosaic-tile{ animation-delay: .1s; }
.tns-mosaic-row:nth-child(3) .tns-mosaic-tile{ animation-delay: .2s; }
.tns-mosaic-row:nth-child(4) .tns-mosaic-tile{ animation-delay: .3s; }
.tns-mosaic-row:nth-child(5) .tns-mosaic-tile{ animation-delay: .4s; }
.tns-mosaic-row:nth-child(6) .tns-mosaic-tile{ animation-delay: .5s; }
.tns-mosaic-row:nth-child(7) .tns-mosaic-tile{ animation-delay: .6s; }
/* Per-position filter variants: with only a handful of real avatars (often
   just one, early on) this is what keeps repeats from reading as an
   identical stamped pattern - each slot gets its own tint/contrast. */
.tns-mosaic-tile{ filter: grayscale(25%) brightness(.8) saturate(1); }
.tns-mosaic-v0{ filter: grayscale(15%) brightness(.85) saturate(1.05); }
.tns-mosaic-v1{ filter: grayscale(40%) brightness(.72) saturate(.9) hue-rotate(8deg); }
.tns-mosaic-v2{ filter: grayscale(20%) brightness(.78) saturate(1.15) hue-rotate(-10deg); }
.tns-mosaic-v3{ filter: grayscale(35%) brightness(.9) saturate(.85) hue-rotate(14deg); }
.tns-mosaic-v4{ filter: grayscale(10%) brightness(.7) saturate(1.1) hue-rotate(-6deg); }
.tns-mosaic-tile-blank{ background-image: var(--tns-gradient); }
.tns-mosaic-tile-blank.tns-mosaic-v0{ filter: saturate(.8) brightness(.6); }
.tns-mosaic-tile-blank.tns-mosaic-v1{ filter: saturate(.8) brightness(.55) hue-rotate(35deg); }
.tns-mosaic-tile-blank.tns-mosaic-v2{ filter: saturate(.8) brightness(.5) hue-rotate(-35deg); }
.tns-mosaic-tile-blank.tns-mosaic-v3{ filter: saturate(.8) brightness(.58) hue-rotate(70deg); }
.tns-mosaic-tile-blank.tns-mosaic-v4{ filter: saturate(.8) brightness(.52) hue-rotate(-70deg); }
/* Brand duotone tint - unifies whatever's actually in the photo tiles
   (which will vary wildly once there are many real creators) into the
   purple/pink palette instead of clashing raw colors showing through. */
.tns-hero-tint{
  position: absolute; inset: 0; z-index: 1; mix-blend-mode: color;
  background: linear-gradient(135deg, #7c5cff 0%, #ff4fa3 55%, #ff8a5c 100%);
  opacity: .55;
  pointer-events: none;
}
.tns-hero-scrim{
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,6,10,0.62) 0%, rgba(6,6,10,0.38) 35%, rgba(6,6,10,0.82) 100%),
    linear-gradient(90deg, rgba(6,6,10,0.42) 0%, rgba(6,6,10,0.06) 35%, rgba(6,6,10,0.06) 65%, rgba(6,6,10,0.42) 100%);
  pointer-events: none;
}

.tns-hero-copy-center{ max-width: 720px; margin: 0 auto; text-align: center; }
.tns-hero-copy-center .tns-lede{ margin-left: auto; margin-right: auto; }
.tns-hero-copy-center .tns-claim{ margin-left: auto; margin-right: auto; }
.tns-hero-copy-center .tns-hero-ctas{ justify-content: center; }
.tns-hero-copy-center .tns-hero-trust{ justify-content: center; }

/* Hero entrance: runs once on load, no scroll needed since it's already in view */
.tns-hero-copy > *{ opacity: 0; animation: tns-fade-up .7s cubic-bezier(.16,.84,.44,1) forwards; }
.tns-hero-copy > *:nth-child(1){ animation-delay: .05s; }
.tns-hero-copy > *:nth-child(2){ animation-delay: .13s; }
.tns-hero-copy > *:nth-child(3){ animation-delay: .21s; }
.tns-hero-copy > *:nth-child(4){ animation-delay: .29s; }
.tns-hero-copy > *:nth-child(5){ animation-delay: .37s; }
.tns-hero-copy > *:nth-child(6){ animation-delay: .45s; }
.tns-hero-eyebrow{ background: rgba(124,92,255,0.22); color: #d6c9ff; border: 1px solid rgba(124,92,255,0.45); }
:root:not([data-theme="dark"]) .tns-auth-pitch .tns-hero-eyebrow{ background: #eee9ff; color: #5637d6; border-color: #cfc3ff; }
.tns-hero h1{ font-size: 54px; font-weight: 800; margin: 22px 0 18px; }
.tns-hero p.tns-lede{ font-size: 18px; color: var(--tns-text-dim); max-width: 560px; margin-bottom: 30px; }
.tns-hero-ctas{ display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }

.tns-claim{ margin-bottom: 30px; max-width: 460px; }
.tns-claim-row{ display: flex; align-items: stretch; background: var(--tns-surface); backdrop-filter: blur(8px); border: 1px solid var(--tns-border); border-radius: 14px; overflow: hidden; box-shadow: var(--tns-shadow); transition: border-color .2s ease; }
.tns-claim-row:focus-within{ border-color: var(--tns-accent); }
.tns-claim-prefix{ display:flex; align-items:center; padding: 0 4px 0 16px; font-size: 13px; color: var(--tns-text-faint); font-weight: 600; white-space: nowrap; }
.tns-claim-row input{ flex: 1; min-width: 0; border: none; background: transparent; color: var(--tns-text); font-size: 15px; font-weight: 600; padding: 15px 6px; outline: none; }
.tns-claim-row input::placeholder{ color: var(--tns-text-faint); }
.tns-claim-row .claimname{ margin: 6px; padding: 0 20px; border-radius: 9px; background: var(--tns-gradient); color: var(--tns-on-gradient); font-weight: 700; font-size: 14px; display:flex; align-items:center; cursor:pointer; border:none; transition: opacity .15s ease; }
.tns-claim-row .claimname:hover{ opacity: .88; }
.tns-claim .error_report{ display:none; color: #ff8fa3; font-size: 13px; font-weight: 600; margin-top: 8px; padding-left: 4px; }
.tns-claim .claim_status{ display:none; color: var(--tns-success); font-size: 13px; font-weight: 700; margin-top: 8px; padding-left: 4px; }
.tns-claim.is-available .claim_status{ display:block; }
.tns-claim.is-available .tns-claim-row{ border-color: var(--tns-success); }
.tns-claim.is-checking .claimname{ opacity:.65; cursor:progress; }

.tns-hero-trust{ display: flex; gap: 30px; font-size: 13px; color: var(--tns-text-faint); flex-wrap: wrap; }
.tns-hero-trust strong{ color: var(--tns-text); font-size: 21px; display: block; font-family: 'Sora', sans-serif; font-weight: 800; }
.tns-hero-trust .tns-count{ display:inline-block; }

@media (max-width: 900px){
  .tns-hero{ padding: 96px 0 72px; min-height: 520px; }
  .tns-hero h1{ font-size: 36px; }
  .tns-mosaic-tile{ width: 100px; height: 84px; }
}
@media (max-width: 560px){
  .tns-mosaic-tile{ width: 80px; height: 68px; }
}

/* ==========================================================================
   SHARED SECTION CHROME
   ========================================================================== */
.tns-section{ padding: 84px 0; position: relative; }
/* Reusable decorative glow - a soft off-center color wash so sections
   don't read as flat solid panels. Purely decorative, sits behind
   content (z-index -1), safe to drop onto any relative-positioned
   section. */
.tns-section-glow{ position: relative; overflow: hidden; }
.tns-section-glow::before{
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 640px; height: 640px; border-radius: 50%; filter: blur(60px);
  top: -260px; right: -200px;
  background: radial-gradient(circle, rgba(124,92,255,0.14), transparent 70%);
}
.tns-section-glow::after{
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%; filter: blur(60px);
  bottom: -240px; left: -180px;
  background: radial-gradient(circle, rgba(255,79,163,0.10), transparent 70%);
}
.tns-section-glow > .tns-wrap{ position: relative; z-index: 1; }
.tns-section-alt{ background: var(--tns-bg-alt); border-top: 1px solid var(--tns-border); border-bottom: 1px solid var(--tns-border); }
.tns-section-head{ text-align: center; max-width: 640px; margin: 0 auto 48px; }
.tns-kicker{ color: var(--tns-accent-3); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.tns-section-head h2{ font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.tns-section-head p{ color: var(--tns-text-dim); font-size: 16px; }

/* ---------- Ways to earn ---------- */
.tns-mon-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tns-mon-card{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: var(--tns-radius); padding: 26px; box-shadow: 0 1px 2px rgba(20,20,40,0.03), 0 6px 16px rgba(20,20,40,0.05); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
:root[data-theme="dark"] .tns-mon-card{ box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.25); }
.tns-mon-card:hover{ border-color: var(--tns-accent); transform: translateY(-5px); box-shadow: var(--tns-shadow); }
.tns-mon-icon{
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  animation: tns-icon-breathe 4.5s ease-in-out infinite;
}
.tns-mon-icon svg{ width: 27px; height: 27px; }
.tns-mon-card:nth-child(2n) .tns-mon-icon{ animation-delay: -1.5s; }
.tns-mon-card:nth-child(3n) .tns-mon-icon{ animation-delay: -3s; }
@keyframes tns-icon-breathe{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.06); } }
/* animation:none on hover hands transform back to this static rule so the
   bigger, snappier hover pop isn't fighting the idle keyframe for the
   same property. */
.tns-mon-card:hover .tns-mon-icon{ animation: none; transform: scale(1.14) rotate(-6deg); }
/* Vendor-supplied icons (from the script's own i_svg_icons library) ship as bare
   <svg><path/></svg> with no width/height/fill - size and color them here so
   they inherit the wrapper's icon color just like our hand-drawn ones. */
.tns-vicon svg{ width: 100%; height: 100%; max-width: 27px; max-height: 27px; fill: currentColor; }
.tns-feat-chip .fi.tns-vicon svg{ max-width: 21px; max-height: 21px; }
.tns-mon-card h3{ font-size: 17px; margin-bottom: 8px; }
.tns-mon-card p{ font-size: 14px; color: var(--tns-text-dim); margin: 0; }
@media (max-width: 900px){ .tns-mon-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .tns-mon-grid{ grid-template-columns: 1fr; } }

/* ---------- Category strip ---------- */
.tns-cat-strip{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tns-cat-chip{ padding: 10px 20px; border-radius: 999px; border: 1px solid var(--tns-border); background: var(--tns-surface); font-size: 14px; font-weight: 600; color: var(--tns-text-dim); transition: transform .15s ease, border-color .15s ease; }
.tns-cat-chip:hover{ transform: translateY(-2px); border-color: var(--tns-accent); color: var(--tns-text); }
.tns-cat-chip.is-active{ background: var(--tns-gradient); color: var(--tns-on-gradient); border-color: transparent; }

/* ---------- Creator / directory grids ---------- */
.tns-creator-grid{ display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tns-creator-card{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: 14px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.tns-creator-card:hover{ transform: translateY(-5px); box-shadow: var(--tns-shadow); }
.tns-creator-thumb{ aspect-ratio: 1/1; position: relative; background-size: cover; background-position: center; background-color: var(--tns-surface-2); }
.tns-creator-thumb::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%); }
.tns-creator-thumb .tns-creator-avatar{ position:absolute; left: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; overflow: hidden; z-index: 2; background: var(--tns-surface-2); }
.tns-creator-thumb .tns-creator-avatar img{ width:100%; height:100%; object-fit:cover; }
.tns-creator-info{ padding: 12px 14px; }
.tns-creator-info .name{ font-weight: 700; font-size: 14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tns-creator-info .cat{ font-size: 12px; color: var(--tns-text-faint); margin-top: 2px; }
@media (max-width: 900px){ .tns-creator-grid{ grid-template-columns: repeat(2,1fr); } }

.tns-directory-block + .tns-directory-block{ margin-top: 56px; }
.tns-directory-head{ display:flex; align-items:flex-end; justify-content:space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.tns-directory-head h2{ font-size: 26px; font-weight: 800; margin: 6px 0; }
.tns-directory-head p{ color: var(--tns-text-dim); font-size: 14px; margin: 0; }
.tns-directory-kicker{ display:flex; align-items:center; gap:8px; color: var(--tns-accent-3); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.tns-directory-kicker svg{ width:16px; height:16px; }
.tns-directory-link{ font-size: 14px; font-weight: 700; color: var(--tns-accent); flex-shrink: 0; }
.tns-directory-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tns-directory-card{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,20,40,0.03), 0 6px 16px rgba(20,20,40,0.05); transition: transform .2s ease, box-shadow .2s ease; }
:root[data-theme="dark"] .tns-directory-card{ box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.25); }
.tns-directory-card:hover{ transform: translateY(-5px); box-shadow: var(--tns-shadow); }
.tns-directory-media{ position: relative; aspect-ratio: 16/9; background-size: cover; background-position:center; display:block; }
.tns-directory-media img{ width:100%; height:100%; object-fit:cover; }
.tns-directory-media-fallback{ background: var(--tns-gradient); display:flex; align-items:center; justify-content:center; }
.tns-directory-fallback-mark{ color:#fff; opacity:.85; }
.tns-directory-fallback-mark svg{ width: 34px; height: 34px; }
.tns-directory-price{ position:absolute; top:10px; right:10px; background: rgba(0,0,0,0.6); color:#fff; font-size:11px; font-weight:700; padding: 4px 9px; border-radius: 6px; }
.tns-directory-avatar{ position:absolute; left:12px; bottom:-18px; width:42px; height:42px; border-radius:50%; border:3px solid var(--tns-surface); overflow:hidden; background: var(--tns-surface-2); }
.tns-directory-avatar img{ width:100%; height:100%; object-fit:cover; }
.tns-directory-body{ padding: 26px 16px 16px; }
.tns-directory-body h3{ font-size: 15px; margin-bottom: 4px; }
.tns-directory-owner{ font-size: 12px; color: var(--tns-text-faint); margin-bottom: 6px; }
.tns-directory-body p{ font-size: 13px; color: var(--tns-text-dim); margin: 0 0 12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.tns-directory-meta{ display:flex; gap:14px; font-size: 12px; color: var(--tns-text-faint); margin-bottom: 12px; }
.tns-directory-cta{ display:inline-block; font-size: 13px; font-weight: 700; color: var(--tns-accent); }
@media (max-width: 900px){ .tns-directory-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .tns-directory-grid{ grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.tns-steps{ display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.tns-step{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: var(--tns-radius); padding: 28px; box-shadow: 0 1px 2px rgba(20,20,40,0.03), 0 6px 16px rgba(20,20,40,0.05); }
:root[data-theme="dark"] .tns-step{ box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.25); }
.tns-step-num{ font-family: 'Sora', sans-serif; font-size: 40px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--tns-border); margin-bottom: 10px; }
.tns-step h3{ font-size: 18px; margin-bottom: 8px; }
.tns-step p{ font-size: 14px; color: var(--tns-text-dim); margin: 0; }
@media (max-width: 900px){ .tns-steps{ grid-template-columns: 1fr; } }

/* ---------- Earnings / payout ---------- */
.tns-earn-box{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: 26px; padding: 52px; box-shadow: var(--tns-shadow); }
.tns-earn-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.tns-earn-copy h2{ font-size: 30px; margin-bottom: 12px; }
.tns-earn-copy p{ color: var(--tns-text-dim); font-size: 15px; margin-bottom: 22px; }
.tns-payout-row{ display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.tns-payout-row .plat{ width: 108px; font-size: 13px; color: var(--tns-text-dim); font-weight: 600; flex-shrink:0; }
.tns-payout-bar-bg{ flex: 1; height: 10px; background: var(--tns-bg-alt); border-radius: 999px; overflow: hidden; }
.tns-payout-bar{ height: 100%; border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(.16,.84,.44,1); }
.tns-payout-row .pct{ width: 46px; text-align: right; font-size: 13px; font-weight: 700; flex-shrink:0; }
.tns-earn-box hr{ border:none; border-top:1px solid var(--tns-border); margin: 34px 0; }

.tns-simulator h2{ font-size: 26px; margin-bottom: 8px; }
.tns-simulator > p{ color: var(--tns-text-dim); font-size: 14px; margin-bottom: 24px; }
.tns-sim-labels{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 10px; }
.tns-sim-label{ display:flex; align-items:center; justify-content:space-between; font-size: 13px; color: var(--tns-text-dim); font-weight: 600; }
.tns-sim-label b{ color: var(--tns-text); font-family:'Sora',sans-serif; font-size: 15px; font-weight: 700; }
.tns-sim-sliders{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.tns-sim-sliders input[type="range"]{ width: 100%; accent-color: var(--tns-accent); cursor: pointer; }
.tns-sim-result{ background: var(--tns-bg-alt); border: 1px dashed var(--tns-border); border-radius: 16px; padding: 22px; text-align: center; }
.tns-sim-result h3{ font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.tns-sim-result h3 span{ color: var(--tns-success); }
.tns-sim-result p{ font-size: 12px; color: var(--tns-text-faint); margin: 0; }
@media (max-width: 900px){ .tns-earn-grid{ grid-template-columns: 1fr; } .tns-earn-box{ padding: 32px 24px; } .tns-sim-labels, .tns-sim-sliders{ grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.tns-faq{ max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-content: start; }
.tns-faq li{ border-bottom: 1px solid var(--tns-border); break-inside: avoid; }
@media (max-width: 760px){ .tns-faq{ grid-template-columns: 1fr; } }
.tns-faq > li > a.toggle{ display: flex; align-items: center; justify-content: space-between; padding: 20px 4px; font-weight: 700; font-size: 15px; cursor: pointer; }
.tns-faq > li > a.toggle::after{ content: '+'; font-size: 22px; font-weight: 400; color: var(--tns-text-faint); transition: transform .3s ease; flex-shrink:0; margin-left: 12px; }
.tns-faq > li > a.toggle.activeTogg::after{ transform: rotate(45deg); color: var(--tns-accent); }
.tns-faq ul.inner{ overflow: hidden; display: none; }
.tns-faq ul.inner.show{ display: block; }
.tns-faq ul.inner li{ padding: 0 4px 20px; font-size: 14px; color: var(--tns-text-dim); border: none; }

/* ---------- Final CTA ---------- */
.tns-cta-band{ background: var(--tns-gradient); background-size: 200% 200%; animation: tns-gradient-shift 8s ease infinite; border-radius: 28px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.tns-cta-band h2{ font-size: 34px; font-weight: 800; color: #0b0b10; margin-bottom: 12px; }
.tns-cta-band p{ color: rgba(11,11,16,0.75); font-size: 16px; margin-bottom: 26px; }
.tns-cta-band .tns-btn-primary{ background: #0b0b10; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.tns-cta-band .tns-btn-primary:hover{ box-shadow: 0 16px 36px rgba(0,0,0,0.45); }

/* ---------- Hero spotlight (cursor-follow glow, desktop only via JS) ---------- */
.tns-spotlight{ position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(320px circle at var(--tns-sx,50%) var(--tns-sy,20%), rgba(124,92,255,0.10), transparent 70%); }
:root[data-theme="dark"] .tns-spotlight{ background: radial-gradient(320px circle at var(--tns-sx,50%) var(--tns-sy,20%), rgba(255,255,255,0.06), transparent 70%); }

/* ---------- Hero word-by-word reveal ---------- */
.tns-hero h1{ overflow: visible; }
.tns-word{ display: inline-block; opacity: 0; transform: translateY(22px); animation: tns-word-in .6s cubic-bezier(.16,.84,.44,1) forwards; }
@keyframes tns-word-in{ to{ opacity: 1; transform: translateY(0); } }

/* ---------- Magnetic buttons (JS sets transform on mousemove) ---------- */
[data-tns-magnetic]{ transition: transform .2s cubic-bezier(.34,1.56,.64,1); }

/* ---------- Live card 3D tilt (JS sets transform on mousemove) ---------- */
.tns-live-card[data-tns-tilt]{ transition: transform .15s ease-out; transform-style: preserve-3d; will-change: transform; }

/* ---------- Marquee ticker ---------- */
.tns-marquee{ border-top: 1px solid var(--tns-border); border-bottom: 1px solid var(--tns-border); overflow: hidden; padding: 15px 0; background: var(--tns-bg-alt); }
.tns-marquee-track{ display: flex; gap: 36px; width: max-content; animation: tns-marquee-scroll 34s linear infinite; }
.tns-marquee:hover .tns-marquee-track{ animation-play-state: paused; }
@keyframes tns-marquee-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.tns-marquee-item{ display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--tns-text-dim); white-space: nowrap; }
.tns-marquee-item .dot{ width: 5px; height: 5px; border-radius: 50%; background: var(--tns-accent-3); flex-shrink: 0; }

/* ---------- Feature tour rows ("What's actually inside") ---------- */
.tns-feat-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.tns-feat-row:last-child{ margin-bottom: 0; }
.tns-feat-alt .tns-feat-visual{ order: -1; }
.tns-feat-visual{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: var(--tns-radius); padding: 26px; box-shadow: 0 1px 2px rgba(20,20,40,0.03), 0 6px 16px rgba(20,20,40,0.05); }
:root[data-theme="dark"] .tns-feat-visual{ box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.25); }
.tns-feat-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tns-feat-chip{ background: var(--tns-surface-2); border: 1px solid var(--tns-border); border-radius: 14px; padding: 18px 16px; transition: transform .25s cubic-bezier(.34,1.56,.64,1), border-color .25s ease; }
.tns-feat-chip:hover{ transform: translateY(-4px); border-color: var(--tns-accent); }
.tns-feat-chip .fi{ width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.tns-feat-chip:hover .fi{ transform: scale(1.15) rotate(8deg); }
.tns-feat-chip:nth-child(4n+1) .fi{ background: rgba(124,92,255,0.15); color: #7c5cff; }
.tns-feat-chip:nth-child(4n+2) .fi{ background: rgba(255,79,163,0.15); color: #ff4fa3; }
.tns-feat-chip:nth-child(4n+3) .fi{ background: rgba(34,145,178,0.15); color: #0891b2; }
.tns-feat-chip:nth-child(4n+4) .fi{ background: rgba(23,165,102,0.15); color: #17a566; }
.tns-feat-chip .fl{ font-size: 13px; font-weight: 600; display: block; line-height: 1.4; }
.tns-feat-text .tns-kicker{ margin-bottom: 10px; }
.tns-feat-text h3{ font-size: 26px; margin-bottom: 12px; }
.tns-feat-text p{ color: var(--tns-text-dim); font-size: 15px; margin: 0; }
@media (max-width: 900px){ .tns-feat-row, .tns-feat-alt .tns-feat-visual{ grid-template-columns: 1fr; order: 0; } .tns-feat-row{ margin-bottom: 56px; } }
@media (max-width: 560px){ .tns-feat-grid{ grid-template-columns: 1fr; } }

/* ---------- Slide-in reveal (feature rows) ---------- */
.tns-slide-left, .tns-slide-right{ opacity: 0; transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); }
.tns-slide-left{ transform: translateX(-46px); }
.tns-slide-right{ transform: translateX(46px); }
.tns-slide-left.is-visible, .tns-slide-right.is-visible{ opacity: 1; transform: translateX(0); }

/* ---------- Sticky mobile CTA ---------- */
.tns-sticky-cta{ position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--tns-bg); background: color-mix(in srgb, var(--tns-bg) 90%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--tns-border); }
.tns-sticky-cta.is-visible{ display: block; animation: tns-fade-up .35s ease both; }
@media (max-width: 640px){ .tns-sticky-cta{ display: none; } .tns-sticky-cta.is-visible{ display: block; } }

/* ==========================================================================
   LOGIN / FORGOT-PASSWORD MODAL (shared vendor partial, layouts/login_form.php)
   Only visual properties are overridden here (colors, borders, radius,
   shadows, button/input skin) - layout/position/display are left to the
   base stylesheet since inora.js's open/close logic depends on those.
   Uses the same --tns-* variables as the rest of the page, so it now
   correctly follows the light/dark toggle instead of being stuck on
   whatever the base style.css/night_style.css happened to pick.
   ========================================================================== */
.i_modal_bg{ background: rgba(6,6,10,0.65) !important; backdrop-filter: blur(4px); }
.i_modal_in, .i_modal_forgot{
  background: var(--tns-surface) !important; color: var(--tns-text) !important;
  border: 1px solid var(--tns-border) !important; border-radius: 22px !important;
  box-shadow: var(--tns-shadow-lg) !important;
  animation: tns-modal-pop .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes tns-modal-pop{ from{ opacity: 0; transform: scale(.92) translateY(10px); } to{ opacity: 1; transform: scale(1) translateY(0); } }
.i_modal_close{ background: var(--tns-bg-alt) !important; transition: transform .25s cubic-bezier(.34,1.56,.64,1), background-color .2s ease; }
.i_modal_close:hover{ background: var(--tns-border) !important; transform: rotate(90deg); }
.i_modal_close svg{ fill: var(--tns-text-dim) !important; }
.i_login_box_wellcome_icon{ background: var(--tns-gradient) !important; box-shadow: 0 10px 24px rgba(124,92,255,0.35); animation: tns-icon-breathe 3.5s ease-in-out infinite; }
.i_login_box_wellcome_icon svg{ fill: #fff !important; }
.i_login_box_wellcome_icon img{ width:58px; height:58px; object-fit:contain; display:block; }
.i_lBack{ color: var(--tns-text) !important; font-family: 'Sora', sans-serif !important; }
.i_lnot{ color: var(--tns-text-dim) !important; }
.form_label{ color: var(--tns-text-dim) !important; font-weight: 600 !important; }
.form-control, .inora_user_input{
  background: var(--tns-bg-alt) !important; color: var(--tns-text) !important;
  border: 1px solid var(--tns-border) !important; border-radius: 11px !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.form-control:focus-within, .inora_user_input:focus{
  border-color: var(--tns-accent) !important; box-shadow: 0 0 0 3px rgba(124,92,255,0.18) !important; outline: none !important;
}
.inora_user_input::placeholder{ color: var(--tns-text-faint) !important; }
.i_login_button button, .i_forgot_button{
  background: var(--tns-gradient) !important; color: var(--tns-on-gradient) !important;
  border-radius: 11px !important; border: none !important; font-weight: 700 !important;
  transition: transform .2s ease, box-shadow .2s ease !important; box-shadow: 0 8px 20px rgba(124,92,255,0.3) !important;
}
.i_login_button button:hover, .i_forgot_button:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(124,92,255,0.4) !important; }
.i_l_footer, .i_l_footer a{ color: var(--tns-text-dim) !important; }
.password-reset, .already-member{ color: var(--tns-accent) !important; transition: opacity .2s ease; }
.password-reset:hover, .already-member:hover{ opacity: .75; }
.i_social-btns a{
  background: var(--tns-bg-alt) !important; color: var(--tns-text) !important;
  border: 1px solid var(--tns-border) !important; border-radius: 11px !important;
  transition: border-color .2s ease, transform .2s ease !important;
}
.i_social-btns a:hover{ border-color: var(--tns-accent) !important; transform: translateY(-2px); }
.login-title span{ color: var(--tns-text-faint) !important; }

/* Cyberpunk login console. These rules target the legacy modal structure so
   login, reset-password, and their footer links read as one coherent panel. */
.tns-root .i_modal_bg{
  background:rgba(3,3,10,.82) !important;
  backdrop-filter:blur(12px) saturate(125%);
}
.tns-root .i_modal_in,
.tns-root .i_modal_forgot{
  width:min(460px,calc(100vw - 32px)) !important;
  border:1px solid rgba(128,91,255,.78) !important;
  border-radius:10px !important;
  overflow:hidden !important;
  background:#090914 !important;
  box-shadow:0 0 0 1px rgba(255,72,166,.18), 0 0 42px rgba(113,72,255,.38), 0 30px 80px rgba(0,0,0,.7) !important;
  color:#f4f2ff !important;
}
.tns-root .i_modal_in::before,
.tns-root .i_modal_forgot::before{
  content:'SECURE // ACCESS TERMINAL';
  position:absolute;
  top:14px;
  left:20px;
  color:#62f6ff;
  font:700 10px/1 'Inter',sans-serif;
  letter-spacing:.18em;
  text-shadow:0 0 10px rgba(98,246,255,.8);
}
.tns-root .i_modal_in::after,
.tns-root .i_modal_forgot::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  border-radius:9px;
  background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,rgba(112,240,255,.025) 4px);
}
.tns-root .i_modal_in > *,
.tns-root .i_modal_forgot > *{ position:relative; z-index:1; }
.tns-root .i_modal_in > .i_modal_content,
.tns-root .i_modal_forgot > .i_modal_content{
  padding:48px 32px 0 !important;
  border-radius:9px 9px 0 0 !important;
  border:none !important;
  background:linear-gradient(145deg,rgba(18,18,38,.98),rgba(8,8,19,.99)) !important;
  color:#f4f2ff !important;
  box-shadow:none !important;
}
.tns-root .i_login_box_header{
  padding:14px 0 22px !important;
  border-bottom:1px solid rgba(102,238,255,.18);
}
.tns-root .i_login_box_wellcome_icon{
  padding:4px !important;
  border-radius:8px !important;
  background:transparent !important;
  box-shadow:0 0 24px rgba(126,79,255,.24) !important;
  animation:none !important;
  transform:none !important;
}
.tns-root .i_login_box_wellcome_icon img{ width:70px; height:70px; object-fit:contain; filter:drop-shadow(0 0 10px rgba(133,87,255,.42)); }
.tns-root .i_lBack{ color:#fff !important; letter-spacing:-.02em; text-shadow:0 0 18px rgba(149,119,255,.4); }
.tns-root .i_lnot{ color:#9d9ab2 !important; }
.tns-root .form_label{ color:#7ff5ff !important; font-size:11px !important; letter-spacing:.11em !important; text-transform:uppercase; }
.tns-root .form-control{ background:transparent !important; }
.tns-root .i_direct_login{
  margin:0 !important;
  padding:24px 0 22px !important;
  background:transparent !important;
  color:#ff5a9f !important;
}
.tns-root .form_group{ padding:4px 0 !important; }
.tns-root .inora_user_input{
  background:#080812 !important;
  color:#f8f7ff !important;
  border:1px solid #343050 !important;
  border-radius:8px !important;
  min-height:50px;
  outline:0 !important;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:inset 0 0 18px rgba(0,0,0,.35) !important;
}
.tns-root .inora_user_input::placeholder{ color:#6f6b82 !important; }
.tns-root .inora_user_input:focus{
  border-color:#67efff !important;
  outline:0 !important;
  box-shadow:0 0 0 1px rgba(103,239,255,.22),0 0 18px rgba(103,239,255,.12) !important;
}
.tns-root .i_login_button button,
.tns-root .i_forgot_button{
  min-height:50px;
  border:0 !important;
  border-radius:8px !important;
  outline:0 !important;
  color:#080810 !important;
  background:linear-gradient(90deg,#6ff7ff 0%,#9e64ff 42%,#ff4c9e 100%) !important;
  box-shadow:0 0 25px rgba(129,89,255,.35) !important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.tns-root .i_login_button button:hover,
.tns-root .i_forgot_button:hover{ transform:none; filter:brightness(1.12); box-shadow:0 0 32px rgba(103,239,255,.3) !important; }
.tns-root .i_l_footer{
  margin:0 !important;
  padding:18px 0 8px !important;
  border-top:1px solid rgba(102,238,255,.16);
  border-radius:0;
  background:transparent !important;
  color:#8e8a9f !important;
}
.tns-root .i_l_footer a{ color:#d9d5ea !important; }
.tns-root .password-reset{
  display:block !important;
  position:static !important;
  inset:auto !important;
  width:auto !important;
  box-sizing:border-box;
  margin:0 !important;
  padding:10px 32px 22px !important;
  border:0 !important;
  border-radius:0 0 9px 9px;
  background:#090914 !important;
  color:#71efff !important;
  text-align:center;
  font-size:13px;
  text-shadow:0 0 12px rgba(113,239,255,.35);
}
.tns-root .i_modal_close{
  position:absolute !important;
  inset:12px 12px auto auto !important;
  top:12px !important;
  right:12px !important;
  bottom:auto !important;
  left:auto !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:#171627 !important;
  border:1px solid #393552 !important;
  color:#c8c3da !important;
  z-index:30 !important;
  transform:none !important;
  box-sizing:border-box !important;
}
.tns-root .form-control{
  border:0 !important;
  border-radius:8px !important;
  outline:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.tns-root .i_direct_login form{ border:0 !important; outline:0 !important; }
.tns-root .i_modal_close svg{ width:16px !important; height:16px !important; fill:#c8c3da !important; }
.tns-root .i_modal_close:hover{ transform:none; border-color:#ff4c9e; background:#211329 !important; }
.tns-root .login-title::before,
.tns-root .login-title::after{ background:rgba(102,238,255,.18) !important; }
.tns-root .login-title span{ color:#77738a !important; }
.tns-root .i_social-btns a{ background:#0d0d1a !important; color:#e8e5f4 !important; border-color:#343050 !important; border-radius:5px !important; }
.tns-root .i_social-btns a:hover{ border-color:#67efff !important; transform:none; }

/* Mobile login sheet: compact, scrollable, and safe around browser chrome and
   virtual keyboards. This deliberately overrides the desktop terminal card. */
@media (max-width:600px){
  .tns-root .i_modal_bg{
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100vh !important;
    height:100dvh !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
    padding:0 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    background:#090914 !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  .tns-root .i_modal_in,
  .tns-root .i_modal_forgot{
    position:relative !important;
    inset:auto !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-height:100vh !important;
    min-height:100dvh !important;
    height:auto !important;
    max-height:none !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:visible !important;
    box-shadow:none !important;
    background:#090914 !important;
    transform:none !important;
    animation:none !important;
  }
  .tns-root .i_modal_in::before,
  .tns-root .i_modal_forgot::before{ display:none !important; }
  .tns-root .i_modal_in > .i_modal_content,
  .tns-root .i_modal_forgot > .i_modal_content{
    width:min(100%,480px) !important;
    min-width:0 !important;
    margin:0 auto !important;
    padding:calc(76px + env(safe-area-inset-top)) 22px 0 !important;
    border-radius:0 !important;
    min-height:0 !important;
  }
  .tns-root .i_login_box_header{
    display:flex !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 44px 18px 0 !important;
    gap:13px !important;
    align-items:center !important;
  }
  .tns-root .i_login_box_wellcome_icon{
    flex:0 0 48px !important;
    width:48px !important;
    height:48px !important;
    padding:2px !important;
  }
  .tns-root .i_login_box_wellcome_icon img{ width:44px !important; height:44px !important; }
  .tns-root .i_welcome_back{ min-width:0; }
  .tns-root .i_lBack{ font-size:25px !important; line-height:1.08 !important; }
  .tns-root .i_lnot{ margin-top:4px !important; font-size:13px !important; line-height:1.35 !important; }
  .tns-root .i_modal_social_login_content{ padding:14px 0 2px !important; }
  .tns-root .i_direct_login{ padding:15px 0 12px !important; }
  .tns-root .form_group{ padding:3px 0 !important; }
  .tns-root .form_label{ font-size:10px !important; letter-spacing:.08em !important; }
  .tns-root .inora_user_input{ min-height:46px !important; font-size:16px !important; }
  .tns-root .i_login_button button,
  .tns-root .i_forgot_button{ min-height:46px !important; }
  .tns-root .i_l_footer{ padding:13px 0 5px !important; font-size:13px !important; }
  .tns-root .password-reset{ padding:9px 18px 18px !important; }
  .tns-root .i_modal_close{
    position:fixed !important;
    float:none !important;
    top:calc(14px + env(safe-area-inset-top)) !important;
    right:16px !important;
    margin:0 !important;
    width:42px !important;
    height:42px !important;
    background:#171627 !important;
    z-index:100 !important;
  }
  .tns-root .i_modal_in > .password-reset{
    width:min(100%,480px) !important;
    margin:0 auto !important;
    padding-bottom:calc(20px + env(safe-area-inset-bottom)) !important;
  }
  .tns-root .i_modal_forgot > .i_l_footer{
    width:min(100%,480px) !important;
    margin:0 auto !important;
    padding-bottom:calc(20px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width:600px) and (max-height:620px){
  .tns-root .i_login_box_wellcome_icon{ display:none !important; }
  .tns-root .i_login_box_header{ padding-top:0 !important; }
  .tns-root .i_lBack{ font-size:22px !important; }
  .tns-root .i_modal_social_login_content{ padding-top:8px !important; }
}

/* The fullscreen mobile design does not use the decorative logo block. */
@media (max-width:600px){
  .tns-root .i_login_box_wellcome_icon{ display:none !important; }
  .tns-root .i_lBack{ margin:0 !important; }
  .tns-root .i_modal_content,
  .tns-root .i_direct_login,
  .tns-root #ilogin{ overflow:visible !important; }
}

/* ==========================================================================
   FLOATING PWA INSTALL BUTTON
   ========================================================================== */
.tns-pwa-fab-wrap{ position: fixed; right: 20px; bottom: 24px; z-index: 140; transition: bottom .25s ease; }
.tns-pwa-fab-wrap[hidden]{ display: none; }
/* Dodge the sticky CTA bar (z-index:150, full-width) whenever it's showing,
   so the two never overlap - the sticky bar already has its own CTA. */
body.tns-sticky-cta-visible .tns-pwa-fab-wrap{ bottom: 78px; }
.tns-pwa-fab{
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; position: relative;
  background: var(--tns-gradient); box-shadow: 0 12px 28px rgba(124,92,255,0.45);
  display: flex; align-items: center; justify-content: center;
  animation: tns-pwa-fab-in .5s cubic-bezier(.34,1.56,.64,1) both, tns-pwa-fab-pulse 2.8s ease-in-out 1.2s infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tns-pwa-fab:hover{ transform: scale(1.08); box-shadow: 0 16px 34px rgba(124,92,255,0.55); }
@keyframes tns-pwa-fab-in{ from{ opacity: 0; transform: scale(.5); } to{ opacity: 1; transform: scale(1); } }
@keyframes tns-pwa-fab-pulse{ 0%,100%{ box-shadow: 0 12px 28px rgba(124,92,255,0.45); } 50%{ box-shadow: 0 12px 28px rgba(124,92,255,0.45), 0 0 0 8px rgba(124,92,255,0.12); } }
.tns-pwa-fab-hint{
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--tns-surface); color: var(--tns-text); border: 1px solid var(--tns-border);
  font-size: 12px; font-weight: 700; white-space: nowrap; padding: 7px 12px; border-radius: 8px; box-shadow: var(--tns-shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.tns-pwa-fab:hover .tns-pwa-fab-hint{ opacity: 1; transform: translateY(-50%) translateX(0); }
.tns-pwa-fab-steps{
  position: absolute; bottom: calc(100% + 12px); right: 0; width: 240px;
  background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: 14px;
  padding: 14px 16px; font-size: 13px; color: var(--tns-text-dim); box-shadow: var(--tns-shadow-lg);
  display: none; line-height: 1.5;
}
.tns-pwa-fab-steps.is-visible{ display: block; animation: tns-fade-up .3s ease both; }
@media (max-width: 640px){
  .tns-pwa-fab-wrap{ right: 16px; }
  body.tns-sticky-cta-visible .tns-pwa-fab-wrap{ bottom: 92px; }
  .tns-pwa-fab{ width: 48px; height: 48px; }
  .tns-pwa-fab-hint{ display: none; }
  .tns-pwa-fab-steps{ width: 210px; }
}

/* ==========================================================================
   IN-APP BROWSER GATE
   ========================================================================== */
.tns-browser-gate{ position: fixed; inset: 0; z-index: 500; display: none; align-items: flex-end; justify-content: center; padding: 0; }
.tns-browser-gate.is-visible{ display: flex; }
.tns-browser-gate-overlay{ position: absolute; inset: 0; background: rgba(6,6,10,0.55); backdrop-filter: blur(2px); animation: tns-fade-in .25s ease both; }
@keyframes tns-fade-in{ from{ opacity:0;} to{ opacity:1;} }
.tns-browser-gate-card{ position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 16px 16px; background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: 20px 20px 16px 16px; box-shadow: var(--tns-shadow-lg); padding: 22px; animation: tns-slide-up .35s cubic-bezier(.16,.84,.44,1) both; }
@media (min-width: 640px){ .tns-browser-gate{ align-items: center; } .tns-browser-gate-card{ margin-bottom: 0; border-radius: 20px; } }
@keyframes tns-slide-up{ from{ opacity:0; transform: translateY(24px);} to{ opacity:1; transform: translateY(0);} }
.tns-browser-gate-icon{ width: 46px; height: 46px; border-radius: 13px; background: var(--tns-gradient); display:flex; align-items:center; justify-content:center; margin-bottom: 14px; }
.tns-browser-gate-icon svg{ width: 22px; height: 22px; stroke: #fff; }
.tns-browser-gate-card h3{ font-family:'Sora',sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.tns-browser-gate-card p{ font-size: 14px; color: var(--tns-text-dim); margin-bottom: 16px; }
.tns-browser-gate-actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.tns-browser-gate-hint{ margin-top: 12px; font-size: 12px; color: var(--tns-text-faint); background: var(--tns-bg-alt); border-radius: 10px; padding: 10px 12px; display: none; }
.tns-browser-gate-hint.is-visible{ display: block; }
.tns-browser-gate-close{ position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--tns-bg-alt); color: var(--tns-text-faint); cursor: pointer; font-size: 16px; line-height: 1; }

/* ==========================================================================
   FOOTER CREDIT (rendered from footer.php override)
   ========================================================================== */
.tns-footer{ border-top: 1px solid var(--tns-border); padding: 56px 0 28px; background: var(--tns-bg); }
.tns-foot-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.tns-foot-grid h4{ font-size: 12px; margin-bottom: 14px; color: var(--tns-text-faint); text-transform: uppercase; letter-spacing: .06em; }
.tns-foot-grid a{ display: block; font-size: 14px; color: var(--tns-text-dim); margin-bottom: 9px; transition: color .15s ease; }
.tns-foot-grid a:hover{ color: var(--tns-text); }
.tns-foot-about p{ font-size: 14px; color: var(--tns-text-dim); max-width: 230px; margin-top: 12px; }
.tns-foot-bottom{ display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--tns-border); font-size: 13px; color: var(--tns-text-faint); }
.tns-powered-by{ display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tns-text-faint); }
.tns-powered-by a{ display:inline-flex; align-items:center; gap:5px; font-weight: 700; color: var(--tns-text-dim); border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease; }
.tns-powered-by a:hover{ color: var(--tns-accent); border-color: var(--tns-accent); }
.tns-powered-by .tns-d5-mark{ width:15px; height:15px; border-radius:4px; background: var(--tns-gradient); display:inline-block; flex-shrink:0; }
@media (max-width: 900px){ .tns-foot-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .tns-foot-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   AUTH PAGE (register.php)
   ========================================================================== */
.tns-auth-section{ position: relative; overflow: hidden; padding: 64px 0 96px; min-height: calc(100vh - 140px); display: flex; align-items: center; }
.tns-auth-glow{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tns-auth-glow::before, .tns-auth-glow::after{ content:''; position:absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(70px); animation: tns-blob-float 16s ease-in-out infinite; }
.tns-auth-glow::before{ top: -220px; right: -180px; background: radial-gradient(circle, rgba(124,92,255,0.22), transparent 70%); }
.tns-auth-glow::after{ bottom: -220px; left: -180px; background: radial-gradient(circle, rgba(255,79,163,0.16), transparent 70%); animation-delay: -8s; }
.tns-auth-layout{ position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }

.tns-auth-pitch h1{ font-size: 38px; font-weight: 800; margin: 18px 0 14px; line-height: 1.12; }
.tns-auth-pitch h1, .tns-auth-card-head h2{ color: var(--tns-text); }
.tns-auth-pitch p{ font-size: 16px; color: var(--tns-text-dim); margin-bottom: 26px; max-width: 440px; }
.tns-auth-points{ display: flex; flex-direction: column; gap: 14px; }
.tns-auth-points li{ display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--tns-text-dim); }
.tns-auth-points li svg{ flex-shrink: 0; width: 20px; height: 20px; fill: var(--tns-accent); }

.tns-auth-card{ background: var(--tns-surface); border: 1px solid var(--tns-border); border-radius: 22px; padding: 36px; box-shadow: var(--tns-shadow-lg); }
.tns-auth-card-head h2{ font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.tns-auth-card-head p{ font-size: 14px; color: var(--tns-text-dim); margin-bottom: 22px; }
.tns-auth-card-head svg{ width: 36px; height: 36px; fill: var(--tns-text-faint); margin: 0 auto 14px; }

.tns-auth-social{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.tns-auth-social a{ gap: 10px; }
.tns-auth-social a svg{ width: 18px; height: 18px; fill: currentColor; }
.tns-auth-divider{ display: flex; align-items: center; gap: 12px; margin: 6px 0 20px; font-size: 12px; color: var(--tns-text-faint); text-transform: uppercase; letter-spacing: .06em; }
.tns-auth-divider::before, .tns-auth-divider::after{ content: ''; flex: 1; height: 1px; background: var(--tns-border); }

.tns-auth-pill-row{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tns-auth-pill{ position: relative; cursor: pointer; }
.tns-auth-pill input{ position: absolute; opacity: 0; width: 0; height: 0; }
.tns-auth-pill span{
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--tns-border); background: var(--tns-bg-alt); font-size: 13px; font-weight: 600; color: var(--tns-text-dim);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.tns-auth-pill span svg{ width: 16px; height: 16px; fill: currentColor; }
.tns-auth-pill:hover span{ transform: translateY(-2px); border-color: var(--tns-accent); }
.tns-auth-pill input:checked + span{ background: var(--tns-gradient); color: var(--tns-on-gradient); border-color: transparent; }

.tns-auth-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.tns-auth-field{ display: flex; flex-direction: column; gap: 6px; }
.tns-auth-label{ font-size: 12px; font-weight: 700; color: var(--tns-text-dim); text-transform: uppercase; letter-spacing: .04em; }
.tns-auth-input{
  background: var(--tns-bg-alt); color: var(--tns-text); border: 1px solid var(--tns-border); border-radius: 11px;
  padding: 13px 14px; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
:root:not([data-theme="dark"]) .tns-auth-card{ background:#fff; border-color:#dcdce8; box-shadow:0 24px 60px rgba(35,29,70,.13); }
:root:not([data-theme="dark"]) .tns-auth-input{ background:#f7f7fb !important; color:#15151f !important; border-color:#d8d8e5 !important; }
:root:not([data-theme="dark"]) .tns-auth-pill span{ background:#f5f4fa; color:#454550; border-color:#d8d6e2; }
:root:not([data-theme="dark"]) .tns-auth-label{ color:#4f4f5c; }

/* Light auth theme: crisp panels and restrained depth. The general landing
   glow is intentionally much quieter here so the registration form remains
   the visual focus instead of floating in a large, hazy white canvas. */
:root:not([data-theme="dark"]) body.tns-root:has(.tns-auth-section){ background:#f5f4f8; }
:root:not([data-theme="dark"]) .tns-auth-section{
  background:
    radial-gradient(circle at 8% 92%, rgba(255,79,163,.09), transparent 30%),
    radial-gradient(circle at 93% 7%, rgba(124,92,255,.10), transparent 32%),
    #f5f4f8;
  padding:72px 0 84px;
}
:root:not([data-theme="dark"]) .tns-auth-glow{ display:none; }
:root:not([data-theme="dark"]) .tns-auth-layout{
  grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
  gap:28px;
  align-items:stretch;
}
:root:not([data-theme="dark"]) .tns-auth-pitch{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px;
  border:1px solid #e0ddea;
  border-radius:24px;
  background:linear-gradient(145deg, rgba(255,255,255,.94), rgba(248,246,253,.94));
  box-shadow:0 12px 36px rgba(35,29,70,.07);
}
:root:not([data-theme="dark"]) .tns-auth-pitch h1{ font-size:42px; color:#17151f; }
:root:not([data-theme="dark"]) .tns-auth-pitch p{ color:#55515f; line-height:1.65; }
:root:not([data-theme="dark"]) .tns-auth-points li{ color:#4e4a57; }
:root:not([data-theme="dark"]) .tns-auth-points li svg{ fill:#7251ed; }
:root:not([data-theme="dark"]) .tns-auth-pitch .tns-hero-eyebrow{
  align-self:flex-start;
  background:#e5ddff;
  color:#4325bd;
  border-color:#ad9af3;
  box-shadow:0 4px 14px rgba(90,61,196,.10);
}
:root:not([data-theme="dark"]) .tns-auth-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px;
  border-color:#dfdce8;
  border-radius:24px;
  box-shadow:0 14px 40px rgba(35,29,70,.09);
}
:root:not([data-theme="dark"]) .tns-auth-card-head p{ color:#625e69; }
:root:not([data-theme="dark"]) .tns-auth-input{
  min-height:48px;
  background:#f3f2f7 !important;
  border-color:#d9d6e2 !important;
  box-shadow:inset 0 1px 1px rgba(22,19,31,.025);
}
:root:not([data-theme="dark"]) .tns-auth-input:hover{ border-color:#bbb4cb !important; }
:root:not([data-theme="dark"]) .tns-auth-input:focus{
  background:#fff !important;
  border-color:#7656ee !important;
  box-shadow:0 0 0 3px rgba(118,86,238,.14) !important;
}
:root:not([data-theme="dark"]) .tns-auth-input::placeholder{ color:#85808f; opacity:1; }
:root:not([data-theme="dark"]) .tns-auth-pill span{
  background:#f1f0f5;
  color:#4a4651;
  border-color:#dbd8e2;
}
:root:not([data-theme="dark"]) .tns-auth-pill:hover span{ background:#ebe8f5; border-color:#a897e9; }
:root:not([data-theme="dark"]) .tns-auth-pill input:checked + span{
  background:linear-gradient(120deg,#7656ee,#f34d97 62%,#ff7959);
  color:#fff;
  border-color:transparent;
  text-shadow:0 1px 2px rgba(36,13,55,.28);
}
:root:not([data-theme="dark"]) .tns-auth-pill input:checked + span svg{ fill:#fff; }
:root:not([data-theme="dark"]) .tns-auth-terms{ color:#747080; }
:root:not([data-theme="dark"]) .tns-auth-card .tns-btn-primary{
  min-height:48px;
  color:#fff;
  box-shadow:0 9px 22px rgba(124,92,255,.22);
  text-shadow:0 1px 2px rgba(36,13,55,.28);
}

@media (max-width:900px){
  :root:not([data-theme="dark"]) .tns-auth-layout{ grid-template-columns:1fr; }
  :root:not([data-theme="dark"]) .tns-auth-pitch{ padding:36px; }
  :root:not([data-theme="dark"]) .tns-auth-pitch .tns-hero-eyebrow{ align-self:center; }
}
@media (max-width:560px){
  :root:not([data-theme="dark"]) .tns-auth-section{ padding:32px 0 52px; }
  :root:not([data-theme="dark"]) .tns-auth-pitch,
  :root:not([data-theme="dark"]) .tns-auth-card{ padding:24px; border-radius:18px; }
  :root:not([data-theme="dark"]) .tns-auth-pitch h1{ font-size:34px; }
}
.tns-auth-input::placeholder{ color: var(--tns-text-faint); }
.tns-auth-input:focus{ border-color: var(--tns-accent); box-shadow: 0 0 0 3px rgba(124,92,255,0.18); }
.tns-auth-terms{ font-size: 12px; color: var(--tns-text-faint); line-height: 1.6; margin: 4px 0 18px; }
.tns-auth-terms a{ color: var(--tns-accent); }

.register_warning{ display: none; color: var(--tns-danger); font-size: 13px; font-weight: 600; background: rgba(225,29,72,0.1); border: 1px solid rgba(225,29,72,0.25); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }

@media (max-width: 900px){
  .tns-auth-layout{ grid-template-columns: 1fr; gap: 36px; }
  .tns-auth-pitch{ text-align: center; }
  .tns-auth-pitch p{ margin-left: auto; margin-right: auto; }
  .tns-auth-points{ align-items: center; }
  .tns-auth-card{ padding: 26px; }
}
@media (max-width: 560px){
  .tns-auth-grid{ grid-template-columns: 1fr; }
}

/* Instant login transition. It sits above the modal as soon as the form is
   submitted and stays in place while authentication and navigation finish. */
.tns-login-loader{
  position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center;
  padding:24px; overflow:hidden; visibility:hidden; opacity:0; pointer-events:none;
  background:rgba(7,7,12,.94); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  transition:opacity .18s ease,visibility 0s linear .18s;
}
.tns-login-loader.is-active{
  visibility:visible; opacity:1; pointer-events:auto; transition-delay:0s;
}
.tns-login-loader.is-leaving{ opacity:0; pointer-events:none; }
.tns-login-loader__glow{
  position:absolute; width:min(580px,90vw); aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle,rgba(124,92,255,.2),rgba(255,79,163,.08) 42%,transparent 70%);
  animation:tns-login-breathe 2s ease-in-out infinite;
}
.tns-login-loader__content{ position:relative; width:min(330px,86vw); text-align:center; }
.tns-login-loader__mark{
  width:76px; height:76px; margin:0 auto 24px; padding:3px; border-radius:24px;
  background:var(--tns-gradient); box-shadow:0 18px 55px rgba(124,92,255,.28);
  animation:tns-login-float 1.6s ease-in-out infinite;
}
.tns-login-loader__mark span{
  display:block; width:100%; height:100%; border-radius:21px; background:#0b0b10; position:relative;
}
.tns-login-loader__mark span::before,
.tns-login-loader__mark span::after{
  content:''; position:absolute; top:50%; width:12px; height:12px; margin-top:-6px; border-radius:50%;
  background:var(--tns-gradient); box-shadow:0 0 18px rgba(138,107,255,.5);
}
.tns-login-loader__mark span::before{ left:17px; }
.tns-login-loader__mark span::after{ right:17px; animation:tns-login-dot .8s ease-in-out infinite alternate; }
.tns-login-loader__title{ color:#f5f5f7; font:700 22px/1.2 'Sora','Inter',sans-serif; letter-spacing:-.02em; }
.tns-login-loader__text{ margin-top:8px; color:#9c9ca8; font-size:14px; }
.tns-login-loader__bar{
  width:190px; height:3px; margin:24px auto 0; overflow:hidden; border-radius:99px; background:#24242f;
}
.tns-login-loader__bar span{
  display:block; width:42%; height:100%; border-radius:inherit; background:var(--tns-gradient);
  animation:tns-login-progress 1s cubic-bezier(.65,0,.35,1) infinite;
}
.tns-login-busy,.tns-login-busy body{ overflow:hidden !important; }
@keyframes tns-login-progress{ from{ transform:translateX(-115%); } to{ transform:translateX(340%); } }
@keyframes tns-login-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }
@keyframes tns-login-breathe{ 0%,100%{ transform:scale(.92); opacity:.7; } 50%{ transform:scale(1.06); opacity:1; } }
@keyframes tns-login-dot{ to{ transform:scale(.55); opacity:.5; } }
@media (prefers-reduced-motion:reduce){
  .tns-login-loader__glow,.tns-login-loader__mark,.tns-login-loader__mark span::after{ animation:none; }
  .tns-login-loader__bar span{ animation-duration:1.8s; }
}
