/* nf topnav: see topnav.js. Every selector is under .nftn / .nftn-toast so it can't clash. */
@font-face { font-family: "NFTN Geist"; src: url("../../shared/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

.nftn, .nftn-toast {
  /* desk: cream text over the night scene */
  --nftn-ink: rgba(247, 240, 228, .86);
  --nftn-hi: #FCF7EE;
  --nftn-line: rgba(252, 247, 238, .62);
  --nftn-shadow: 0 1px 2px rgba(0, 0, 0, .65), 0 0 14px rgba(0, 0, 0, .55);
  --nftn-uline-shadow: 0 1px 2px rgba(0, 0, 0, .55);
  --nftn-glyph-shadow: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .7)) drop-shadow(0 0 6px rgba(0, 0, 0, .45));
  --nftn-focus: #FCF7EE;
  --nftn-pop-bg: rgba(15, 16, 19, .76);
  --nftn-pop-line: rgba(252, 247, 238, .14);
  --nftn-toast-bg: rgba(15, 16, 19, .88);
  --nftn-toast-ink: #FCF7EE;
}
.nftn[data-mode="boring"], .nftn-toast[data-mode="boring"] {
  /* boring: the text page's own palette */
  --nftn-ink: rgba(255, 255, 255, .7);
  --nftn-hi: #FFFFFF;
  --nftn-line: rgba(255, 255, 255, .5);
  --nftn-shadow: none;
  --nftn-uline-shadow: none;
  --nftn-glyph-shadow: none;
  --nftn-focus: #4BBAF0;
  --nftn-pop-bg: linear-gradient(180deg, #0B1824, #07121B);
  --nftn-pop-line: rgba(150, 185, 215, .2);
  --nftn-toast-bg: #FFFFFF;
  --nftn-toast-ink: #02070A;
}

.nftn { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0;
  font: 450 14px/1 "NFTN Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.nftn[hidden] { display: none !important; }
.nftn, .nftn *, .nftn *::before, .nftn *::after { box-sizing: border-box; }
.nftn-fixed { position: fixed; z-index: var(--nftn-z, 50);
  top: calc(env(safe-area-inset-top, 0px) + 14px); right: calc(env(safe-area-inset-right, 0px) + 26px); }
.nftn-inline { position: relative; }
.nftn-c { position: relative; }

.nftn .nftn-a { --nftn-pad: 9px; position: relative; display: inline-block; margin: 0; padding: var(--nftn-pad) 0; border: 0; border-radius: 2px; background: none;
  font: inherit; letter-spacing: inherit; color: var(--nftn-ink); text-shadow: var(--nftn-shadow); text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; appearance: none; -webkit-appearance: none; }
/* the hover underline is a pseudo-element: a transparent text-decoration would still cast the text-shadow */
.nftn .nftn-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--nftn-pad) - 5px); height: 1px; border-radius: 1px;
  background: var(--nftn-line); box-shadow: var(--nftn-uline-shadow, none); opacity: 0; pointer-events: none; }
.nftn .nftn-a:hover, .nftn .nftn-a[aria-expanded="true"] { color: var(--nftn-hi); }
.nftn .nftn-a:hover::after, .nftn .nftn-a[aria-expanded="true"]::after { opacity: 1; }
.nftn .nftn-a:focus { outline: none; }
.nftn .nftn-a:focus-visible { color: var(--nftn-hi); outline: 1.5px solid var(--nftn-focus); outline-offset: 4px; }

/* the Contact popover */
.nftn-pop { position: absolute; z-index: 1; top: calc(100% + 6px); right: -12px; min-width: 168px; max-width: calc(100vw - 24px);
  margin: 0; padding: 6px; border: 1px solid var(--nftn-pop-line); border-radius: 12px; background: var(--nftn-pop-bg);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  opacity: 0; transform: translateY(-3px); }
.nftn-pop.is-in { opacity: 1; transform: none; }
.nftn-pop[hidden] { display: none; }
.nftn-list { margin: 0; padding: 0; list-style: none; }
.nftn-list li { margin: 0; padding: 0; }
.nftn .nftn-i { display: flex; align-items: center; gap: 11px; margin: 0; padding: 10px 10px 10px 9px; border-radius: 7px;
  font: inherit; color: var(--nftn-ink); text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.nftn .nftn-i > span:last-child { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.nftn .nftn-i:hover { color: var(--nftn-hi); }
.nftn .nftn-i:hover > span:last-child, .nftn .nftn-i:focus-visible > span:last-child { text-decoration-color: var(--nftn-line); }
.nftn .nftn-i:focus { outline: none; }
.nftn .nftn-i:focus-visible { color: var(--nftn-hi); outline: 1.5px solid var(--nftn-focus); outline-offset: -1.5px; }
/* the optional sound toggle: a glyph, no text */
.nftn .nftn-snd { display: grid; place-items: center; margin: 0 -6px; padding-left: 6px; padding-right: 6px; line-height: 0; }
.nftn .nftn-snd::after { left: 6px; right: 6px; }
.nftn .nftn-snd:focus-visible { outline-offset: 0; }
.nftn-snd svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: var(--nftn-glyph-shadow, none); }
.nftn-snd[aria-pressed="true"] .nftn-off, .nftn-snd[aria-pressed="false"] .nftn-on { display: none; }
.nftn-ic { flex: none; display: grid; place-items: center; width: 16px; height: 16px; opacity: .82; }
.nftn-ic svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.nftn-ic .nftn-st { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }

/* "Email address copied" */
.nftn-toast { position: fixed; z-index: var(--nftn-toast-z, 80); left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  max-width: calc(100vw - 32px); margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--nftn-toast-bg); color: var(--nftn-toast-ink);
  box-shadow: 0 0 0 1px var(--nftn-pop-line), 0 12px 32px -8px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 13.5px/1.35 "NFTN Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .005em; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 8px); pointer-events: none; }
.nftn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: no-preference) {
  .nftn .nftn-a, .nftn .nftn-i, .nftn .nftn-i > span:last-child { transition: color .2s ease, text-decoration-color .2s ease; }
  .nftn .nftn-a::after { transition: opacity .2s ease; }
  .nftn-pop { transition: opacity .16s ease, transform .16s ease; }
  .nftn-toast { transition: opacity .2s ease, transform .2s ease; }
}
@media (max-width: 760px) {
  .nftn { gap: 22px; }
  .nftn-pop { right: -6px; }
  .nftn-fixed { top: calc(env(safe-area-inset-top, 0px) + 8px); right: calc(env(safe-area-inset-right, 0px) + 16px); }
}
@media (pointer: coarse) {
  .nftn .nftn-a { --nftn-pad: 13px; }
  .nftn .nftn-i { padding-top: 12px; padding-bottom: 12px; }
}
@media (forced-colors: active) {
  .nftn-pop, .nftn-toast { border: 1px solid CanvasText; }
}
@media print { .nftn, .nftn-toast { display: none !important; } }
