/* ═══════════════════════════════════════════════════════
   NEXIOO V2 — DESIGNSYSTEM (nx.css) · "APRICOT"
   Ljust Apple-tema (Connectify-referens): varm vit bas,
   ENBART orange-familjen (amber→eld) som accent, stora radier,
   mjuka skuggor, frostat glas i nav.
   Ersätter shared.css sida för sida under V2.x-migreringen.
   Regler: SVG-ikoner (facit: nx-components.html), emojis endast
   som diskret accent i labels, max 2-3 backdrop-filter per sida,
   inputs alltid ≥16px, touch targets ≥44px.
   ═══════════════════════════════════════════════════════ */

/* ── 1. TOKENS ─────────────────────────────────────────── */
:root {
  /* Bakgrunder — LJUST TEMA (Apple + Connectify-referens, enbart orange) */
  --bg:        #F3F1EE;   /* varm ljusgrå bas */
  --bg-soft:   #FAF8F5;   /* inputs, subtila ytor */
  --bg-raised: #FFFFFF;   /* kort, menyer, paneler */
  --bg-card:   #FFFFFF;
  --line:      rgba(26,24,21,.09);
  --line-soft: rgba(26,24,21,.06);

  /* Text */
  --ink:       #1A1815;
  --ink-2:     #6B655E;
  --ink-3:     #9A938A;

  /* Accent — enbart orange-familjen */
  --accent:    #FF6A1F;
  --accent-2:  #E8550F;
  --amber:     #FFB03A;
  --grad:      linear-gradient(115deg, #FFB03A, #FF7A1F 55%, #FF5314);
  --grad-text: linear-gradient(100deg, #FF9C2E, #FF6A1F 55%, #E8420A);
  --wash:      #FFF1E5;
  --wash-2:    #FFE4CC;
  --wash-line: #FFD1AC;

  /* Status */
  --ok:        #1FA860;
  --ok-wash:   #E4F6EC;
  --warn:      #C77A00;
  --warn-wash: #FFF2DB;
  --err:       #E03E30;
  --err-wash:  #FDEAE7;
  --info:      #2F6FD6;
  --info-wash: #E8F0FC;

  /* Effekter — Apple-mjuka skuggor + orange glow */
  --glow:      0 10px 30px rgba(255,106,31,.35);
  --glow-lg:   0 14px 44px rgba(255,106,31,.45);
  --shadow:    0 10px 36px rgba(26,24,21,.08);
  --shadow-lg: 0 28px 70px rgba(26,24,21,.13);

  /* Form — stora Apple-radier */
  --r:         24px;
  --r-sm:      15px;
  --r-pill:    999px;
  --font:      -apple-system, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --wrap:      1080px;
  --nav-h:     64px;
  --bottnav-h: 64px;
}

/* ── 2. RESET + BAS ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100dvh;
}
/* Glöd-bakgrund utan extra DOM och utan blur-perf-kostnad */
body.nx-app, body.nx-page {
  background:
    radial-gradient(640px 460px at 85% -90px,  rgba(255,140,60,.16), transparent 70%),
    radial-gradient(700px 560px at -140px 105%, rgba(255,190,120,.13), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
body.nx-app { padding-bottom: calc(var(--bottnav-h) + env(safe-area-inset-bottom, 0px) + 16px); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(255,106,31,.25); }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── 3. TYPOGRAFI ──────────────────────────────────────── */
.nx-h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.nx-h2 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.nx-h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.nx-sub { color: var(--ink-2); font-size: 15px; }
.nx-grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-mono { font-family: var(--mono); font-size: .85em; letter-spacing: .04em; }
.nx-muted { color: var(--ink-3); }

/* ── 4. LAYOUT ─────────────────────────────────────────── */
.nx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 48px; }
.nx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nx-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nx-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .nx-grid-4 { grid-template-columns: repeat(2, 1fr); } .nx-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nx-grid-2, .nx-grid-3, .nx-grid-4 { grid-template-columns: 1fr; } }

/* ── 5. TOPNAV ─────────────────────────────────────────── */
.nx-nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h); padding: 0 20px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(12px)) {
  .nx-nav { background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(160%); }
}
.nx-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; min-height: 44px; }
.nx-brand-mark { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 40deg, #FFB03A, #FF6A1F, #E8420A, #FFB03A); flex: 0 0 auto; }
.nx-nav-links { display: flex; gap: 6px; }
.nx-nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.nx-nav-links a:hover { color: var(--ink); background: rgba(26,24,21,.05); }
.nx-nav-links a.on { color: var(--accent-2); background: var(--wash); font-weight: 700; }
.nx-nav-right { display: flex; align-items: center; gap: 10px; }

/* D2 — App-toppnav: ultra-klart glas, flytande pill (Km:s val 2026-08-10) */
.nx-nav--glass {
  position: sticky; top: 12px; z-index: 200;
  max-width: 900px; margin: 12px auto 0; height: 60px;
  padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6); border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 14px 34px rgba(70,40,15,.14), inset 0 1px 0 rgba(255,255,255,.7);
}
.nx-nav--glass .nx-nav-links a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #6E6357; }
.nx-nav--glass .nx-nav-links a svg { stroke: #6E6357; }
.nx-nav--glass .nx-nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.45); }
.nx-nav--glass .nx-nav-links a.on { background: var(--grad); color: #FFFFFF; box-shadow: 0 6px 16px rgba(255,106,31,.4); }
.nx-nav--glass .nx-nav-links a.on svg { stroke: #FFFFFF; }
@media (max-width: 920px) { .nx-nav--glass { margin: 12px 12px 0; } }

/* Ikonknapp (notiser m.m.) med badge */
.nx-iconbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2);
  border: 1px solid transparent;
}
.nx-iconbtn:hover { color: var(--ink); background: rgba(26,24,21,.06); }
.nx-iconbtn svg { stroke: currentColor; }
.nx-dot {
  position: absolute; top: 7px; right: 7px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--r-pill); background: var(--grad); color: #FFFFFF;
  font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center;
  border: 2px solid var(--bg); box-sizing: content-box;
}

/* Mobilmeny (hamburgare, används på publika sidor) */
.nx-ham { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); }
.nx-mobile {
  display: none; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 190;
  background: var(--bg-raised); border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px; box-shadow: var(--shadow-lg);
}
.nx-mobile[data-open="true"] { display: block; }
.nx-mobile a { display: flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.nx-mobile a:last-child { border-bottom: 0; }
@media (max-width: 820px) {
  .nx-nav-links { display: none; }
  .nx-ham { display: inline-flex; }
}

/* ── 6. BOTTNAV — A: Instagram-lik flytande glas-pill (Km:s val 2026-08-10) ── */
.nx-bottnav {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200;
  display: none; align-items: center; justify-content: space-around;
  padding: 8px 6px; border-radius: 24px;
  margin-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 14px 34px rgba(70,40,15,.2), inset 0 1px 0 rgba(255,255,255,.95);
}
.nx-bottnav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #6E6357; font-size: 9.5px; font-weight: 700; letter-spacing: .02em;
  min-height: 44px; min-width: 52px; padding: 6px 8px; border-radius: 16px;
}
.nx-bottnav a svg { stroke: currentColor; }
.nx-bottnav a.on { background: var(--grad); color: #FFFFFF; box-shadow: 0 6px 16px rgba(255,106,31,.4); }
.nx-bottnav a.on svg { stroke: #FFFFFF; }
@media (max-width: 820px) { body.nx-app .nx-bottnav { display: flex; } body.nx-app { padding-bottom: calc(var(--bottnav-h) + env(safe-area-inset-bottom, 0px) + 40px); } }
@media (min-width: 821px) { body.nx-app { padding-bottom: 0; } }

/* ── 7. KNAPPAR ────────────────────────────────────────── */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: box-shadow .18s, background .18s, transform .06s;
}
.nx-btn:active { transform: translateY(1px); }
.nx-btn svg { stroke: currentColor; }
.nx-btn--primary { background: var(--grad); color: #FFFFFF; box-shadow: var(--glow); }
.nx-btn--primary:hover { box-shadow: var(--glow-lg); }
.nx-btn--ghost { border-color: rgba(26,24,21,.18); color: var(--ink); background: #FFFFFF; }
.nx-btn--ghost:hover { border-color: rgba(26,24,21,.35); background: var(--bg-soft); }
.nx-btn--subtle { background: rgba(26,24,21,.06); color: var(--ink); }
.nx-btn--subtle:hover { background: rgba(26,24,21,.1); }
.nx-btn--danger { background: var(--err-wash); color: var(--err); border-color: rgba(255,93,110,.3); }
.nx-btn--sm { min-height: 40px; padding: 9px 16px; font-size: 13.5px; }
.nx-btn--block { width: 100%; }
.nx-btn[disabled] { opacity: .45; pointer-events: none; }

/* ── 8. KORT + STATS ───────────────────────────────────── */
.nx-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
}
.nx-card--raised { background: var(--bg-raised); box-shadow: var(--shadow); }
.nx-card--accent { border-color: var(--wash-line); background: linear-gradient(135deg, var(--wash), var(--bg-card)); }
.nx-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-card h3 a { color: var(--accent-2); font-size: 13px; font-weight: 600; }

.nx-stat { display: flex; align-items: center; gap: 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; min-height: 76px; }
a.nx-stat:hover { border-color: var(--wash-line); }
.nx-stat-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--wash); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nx-stat-ic svg { stroke: var(--accent-2); }
.nx-stat b { display: block; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.nx-stat span { color: var(--ink-2); font-size: 12.5px; }

/* ── 9. FORMULÄR ───────────────────────────────────────── */
.nx-field { margin-bottom: 16px; }
.nx-field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.nx-field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.nx-field .error { font-size: 12.5px; color: var(--err); margin-top: 6px; }
.nx-input, .nx-select, .nx-textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--bg-soft); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font); font-size: 16px; /* aldrig mindre — iOS zoom */
}
.nx-textarea { min-height: 110px; resize: vertical; }
.nx-input:focus, .nx-select:focus, .nx-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,92,57,.18);
}
.nx-input[aria-invalid="true"] { border-color: var(--err); }
.nx-input::placeholder, .nx-textarea::placeholder { color: var(--ink-3); }
.nx-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A79FB8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}

/* Switch */
.nx-switch { position: relative; display: inline-block; width: 50px; height: 30px; flex: 0 0 auto; }
.nx-switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; }
.nx-switch .track { position: absolute; inset: 0; border-radius: var(--r-pill); background: rgba(26,24,21,.14); transition: background .18s; pointer-events: none; }
.nx-switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .18s; }
.nx-switch input:checked + .track { background: var(--grad); }
.nx-switch input:checked + .track::after { transform: translateX(20px); }
.nx-switch input:focus-visible + .track { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Chips (flerval, t.ex. nischer) */
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.nx-chip:hover { border-color: rgba(26,24,21,.25); }
.nx-chip.on { background: var(--wash); border-color: var(--wash-line); color: var(--accent-2); }

/* ── 10. TAGGAR + BADGES ───────────────────────────────── */
.nx-tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px;
  border-radius: var(--r-pill); font-family: var(--mono); font-size: 11px; letter-spacing: .03em;
  background: rgba(26,24,21,.06); color: var(--ink-2);
}
.nx-tag--hot  { background: var(--wash);      color: var(--accent-2); }
.nx-tag--ok   { background: var(--ok-wash);   color: var(--ok); }
.nx-tag--warn { background: var(--warn-wash); color: var(--warn); }
.nx-tag--err  { background: var(--err-wash);  color: var(--err); }
.nx-tag--info { background: var(--info-wash); color: var(--info); }
.nx-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  border-radius: var(--r-pill); font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2); background: var(--wash); border: 1px solid var(--wash-line);
}

/* ── 11. TABS ──────────────────────────────────────────── */
.nx-tabs { display: flex; gap: 4px; background: rgba(26,24,21,.05); border-radius: var(--r-sm); padding: 4px; overflow-x: auto; scrollbar-width: none; }
.nx-tabs::-webkit-scrollbar { display: none; }
.nx-tabs button {
  flex: 1 0 auto; min-height: 40px; padding: 8px 16px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.nx-tabs button.on { background: var(--bg-raised); color: var(--ink); box-shadow: 0 1px 6px rgba(26,24,21,.12); }

/* ── 12. AVATAR + PROGRESS ─────────────────────────────── */
.nx-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, #FFB03A, #FF5314);
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .02em;
}
.nx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nx-avatar--sm { width: 34px; height: 34px; font-size: 13px; }
.nx-avatar--lg { width: 72px; height: 72px; font-size: 26px; }

.nx-progress { height: 8px; border-radius: var(--r-pill); background: rgba(26,24,21,.08); overflow: hidden; }
.nx-progress > div { height: 100%; border-radius: var(--r-pill); background: var(--grad); transition: width .3s; }

/* ── 13. LISTRADER (kampanjer, ansökningar, trådar) ────── */
.nx-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; flex-wrap: wrap;
}
a.nx-item:hover { border-color: var(--wash-line); }
.nx-item .t b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.nx-item .t span { color: var(--ink-2); font-size: 13px; }
.nx-list { display: grid; gap: 10px; }

/* ── 14. EMPTY + SKELETON ──────────────────────────────── */
.nx-empty { text-align: center; padding: 56px 20px; color: var(--ink-2); }
.nx-empty .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--wash); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.nx-empty .ic svg { stroke: var(--accent-2); }
.nx-empty h3 { color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.nx-empty p { font-size: 14px; margin-bottom: 18px; }

.nx-skel { border-radius: var(--r-sm); background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-raised) 50%, var(--bg-soft) 100%); background-size: 200% 100%; animation: nx-shimmer 1.4s infinite; }
@keyframes nx-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── 15. MODAL ─────────────────────────────────────────── */
.nx-modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: flex-end; justify-content: center;
  background: rgba(26,24,21,.4); backdrop-filter: blur(6px); padding: 20px;
}
.nx-modal-overlay[data-open="true"] { display: flex; }
.nx-modal {
  width: 100%; max-width: 480px; max-height: 85dvh; overflow-y: auto;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--r) var(--r) 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-lg);
}
@media (min-width: 561px) {
  .nx-modal-overlay { align-items: center; }
  .nx-modal { border-radius: var(--r); padding: 28px; }
}
.nx-modal h2 { font-size: 20px; margin-bottom: 8px; }
.nx-modal .nx-sub { margin-bottom: 20px; }

/* ── 16. TABELL (admin, payments) ──────────────────────── */
.nx-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.nx-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.nx-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.nx-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.nx-table tr:last-child td { border-bottom: 0; }
.nx-table tr:hover td { background: rgba(26,24,21,.025); }

/* ── 17. DIVERSE ───────────────────────────────────────── */
.nx-divider { border: 0; border-top: 1px solid var(--line-soft); margin: 24px 0; }
.nx-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.nx-back:hover { color: var(--ink); }
.nx-alert { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; border: 1px solid; }
.nx-alert svg { flex: 0 0 auto; margin-top: 1px; }
.nx-alert--info { background: var(--info-wash); border-color: rgba(111,168,255,.3); color: var(--info); }
.nx-alert--warn { background: var(--warn-wash); border-color: rgba(255,194,75,.3); color: var(--warn); }
.nx-alert--err  { background: var(--err-wash);  border-color: rgba(255,93,110,.3); color: var(--err); }
.nx-alert--ok   { background: var(--ok-wash);   border-color: rgba(61,220,132,.3); color: var(--ok); }

/* ── 18. GLASKORT — LJUST GLAS (Km:s korrigering 2026-08-10) ── */
.nx-glassbg { background: radial-gradient(520px 420px at 12% 8%, rgba(255,180,100,.38), transparent 70%), radial-gradient(620px 520px at 88% 45%, rgba(255,120,60,.22), transparent 70%), radial-gradient(740px 620px at 45% 100%, rgba(255,150,80,.28), transparent 70%), linear-gradient(165deg, #FBF3EA, #F8E7D8 45%, #F5D9C4) fixed; }
.nx-gcard { border-radius: 26px; padding: 12px; background: rgba(255,255,255,.42); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1.5px solid rgba(255,255,255,.75); box-shadow: 0 14px 34px rgba(70,40,15,.18), inset 0 1px 0 rgba(255,255,255,.9); transition: transform .2s; display: flex; flex-direction: column; gap: 9px; color: var(--ink); text-align: center; position: relative; }
.nx-gcard:hover { transform: translateY(-4px); }
.nx-gcard .gc-av { width: 78px; height: 78px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 28px; color: #fff; margin: 14px auto 0; background: linear-gradient(135deg, #FFB03A, #FF5314); box-shadow: 0 0 0 3px rgba(255,255,255,.7), 0 0 0 6px #FF7A1F, 0 10px 26px rgba(70,40,15,.25); }
.nx-gcard .gc-av img { width: 100%; height: 100%; object-fit: cover; }
.nx-gcard .gc-name { font-weight: 800; font-size: 16.5px; margin-top: 10px; letter-spacing: -.01em; }
.nx-gcard .gc-foll { font-size: 12.5px; color: rgba(26,24,21,.6); margin-top: 2px; }
.nx-gcard .gc-foll b { color: var(--ink); font-family: var(--mono); }
.nx-gcard .gc-btnbox { border-radius: 17px; padding: 9px; background: linear-gradient(115deg, #FFB03A, #FF7A1F 55%, #FF5314); display: flex; gap: 8px; margin-top: 10px; }
.nx-gcard .gc-btnbox .gc-b { flex: 1; min-height: 44px; border-radius: 12px; font-weight: 800; font-size: 12.5px; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: var(--font); }
.nx-gcard .gc-btnbox .gc-b1 { background: rgba(255,255,255,.95); color: #1A1815; }
.nx-gcard .gc-btnbox .gc-b1:hover { background: #fff; }
.nx-gcard .gc-btnbox .gc-b2 { background: rgba(255,255,255,.22); color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
.nx-gcard .gc-btnbox .gc-b2:hover { background: rgba(255,255,255,.32); }
.nx-gcard .gc-btnbox .gc-b2.saved { background: rgba(255,255,255,.95); color: #E8420A; border-color: transparent; }
.nx-gcard .gc-box { border-radius: 17px; padding: 12px 14px; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.7); text-align: left; }
.nx-gcard .gc-box .gc-bt { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(26,24,21,.5); font-weight: 700; margin-bottom: 4px; font-family: var(--mono); }
.nx-gcard .gc-box .gc-bv { font-size: 12.5px; color: rgba(26,24,21,.85); line-height: 1.5; }
.nx-gcard .gc-box.grad { background: linear-gradient(115deg, rgba(255,176,58,.28), rgba(255,83,20,.22)); border-color: rgba(255,140,60,.4); }
.nx-gcard .gc-bio { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.nx-gcard .gc-nchips { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-gcard .gc-nchip { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.75); }
.nx-gcard .gc-chans { display: flex; justify-content: space-around; align-items: center; gap: 6px; }
.nx-gcard .gc-chan { text-align: center; }
.nx-gcard .gc-chan .cc { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 10.5px; font-family: var(--mono); box-shadow: 0 4px 14px rgba(70,40,15,.25); margin: 0 auto 4px; }
.nx-gcard .gc-chan.off { opacity: .35; }
.nx-gcard .gc-chan .cl { font-size: 8.5px; text-transform: uppercase; letter-spacing: .05em; color: rgba(26,24,21,.55); font-weight: 700; }
.nx-gcard .cc-tt { background: linear-gradient(135deg, #25F4EE, #010101 55%, #FE2C55); }
.nx-gcard .cc-ig { background: linear-gradient(45deg, #FEDA75, #D62976 55%, #962FBF); }
.nx-gcard .cc-yt { background: linear-gradient(135deg, #FF4E45, #CC0000); }
.nx-gcard .gc-lvl { font-size: 15px; font-weight: 900; font-family: var(--mono); background: linear-gradient(100deg,#FF8A2A,#FF5314); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-gcard .gc-demo { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.55); color: rgba(26,24,21,.55); padding: 3px 9px; border-radius: 999px; z-index: 1; }
.nx-gcard.is-demo .gc-btnbox { opacity: .55; }
.nx-gcard.is-demo .gc-b { cursor: default; }
/* Glas-rader (topplista) — ljusa */
.nx-grow { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.45); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1.5px solid rgba(255,255,255,.8); border-radius: 18px; padding: 12px 16px; margin-bottom: 8px; color: var(--ink); box-shadow: 0 10px 26px rgba(70,40,15,.14); transition: transform .15s; }
.nx-grow:hover { transform: translateY(-2px); }
/* Tomvyer på glas-bakgrund — ljusa */
.nx-glassbg .nx-empty { background: rgba(255,255,255,.45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1.5px solid rgba(255,255,255,.8); border-radius: 24px; color: var(--ink-2); }
.nx-glassbg .nx-empty .ic { background: rgba(255,255,255,.6); }
.nx-glassbg .nx-empty .ic svg { stroke: var(--accent-2); }
