:root{
  --eyesBlue:#76c1dd; /* locked eyes badge background */
  --bg1:#f3f7ff;
  --bg2:#e7f0ff;
  --card:#ffffffcc;
  --stroke:#d7e3ff;
  --text:#0b1220;
  --muted:#52617a;
  --primary:#2f6cff;
  --primary2:#5b7cff;
  --shadow: 0 18px 60px #0b122018;
  --r: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}


*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1000px 700px at 15% 15%, #1c2a58 0%, transparent 55%),
              radial-gradient(900px 650px at 90% 30%, #2a1f66 0%, transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
}

.bg{
  position:fixed; inset:0; z-index:-2;
  background: radial-gradient(1200px 600px at 20% 10%, #dfeaff 0%, transparent 55%),
              radial-gradient(900px 500px at 80% 20%, #e8ddff 0%, transparent 55%),
              radial-gradient(900px 500px at 50% 80%, #d7f0ff 0%, transparent 55%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
}

.hidden{ display:none !important; }

.topbar{
  position:sticky; top:0;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  backdrop-filter: blur(10px);
  background: #ffffffcc;
  border-bottom:1px solid var(--stroke);
  z-index:10;
}

.brand{ display:flex; gap:12px; align-items:center; }
.logo{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: var(--eyesBlue);
  font-weight:800;
  box-shadow: 0 10px 30px #00000055;
}
.brandName{ font-weight:800; letter-spacing:.2px; }
.brandSub{ font-size:12px; color:var(--muted); margin-top:2px; }

.topActions{ display:flex; gap:10px; }

.wrap{ max-width: 980px; margin: 26px auto 60px; padding: 0 16px; }

.card{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.78);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 16px;
}

h1{ margin: 6px 0 8px; font-size: 40px; line-height:1.05; letter-spacing:-.5px; }
h2{ margin: 10px 0 8px; font-size: 28px; letter-spacing:-.3px; }

.muted{ color: var(--muted); }

.heroActions{ display:flex; gap:12px; margin-top:14px; flex-wrap:wrap; }
.btn{
  appearance:none; border:1px solid var(--stroke); color:var(--text);
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:700;
}
.btn:hover{ background:#f2f6ff; }
.btn:active{ transform: translateY(0); }
.btn.primary{
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 14px 36px #00000066;
}
.btn.ghost{
  background: transparent;
  border:1px solid var(--stroke);
}

/* ===========================
   Button aliases (Events / Producer / misc pages)
   Keep everything looking consistent + "pro".
   =========================== */
.primaryBtn,
.ghostBtn,
.pillBtn{
  appearance:none;
  border:1px solid var(--stroke);
  color:var(--text);
  background:#ffffff;
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition: transform .06s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.primaryBtn{ 
  border:none;
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 14px 36px #0000002a;
}

.ghostBtn{
  background: transparent;
  border:1px solid var(--stroke);
}

.pillBtn{
  border-radius:999px;
}

.primaryBtn:hover,
.ghostBtn:hover,
.pillBtn:hover{ 
  background: #f2f6ff;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

.primaryBtn:hover{ 
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.primaryBtn:active,
.ghostBtn:active,
.pillBtn:active{ transform: translateY(1px); }

/* Make plain links feel intentional ("hover open") */
a{
  color: var(--primary);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }
a:focus-visible,
.primaryBtn:focus-visible,
.ghostBtn:focus-visible,
.pillBtn:focus-visible{
  outline: 3px solid rgba(47,108,255,.28);
  outline-offset: 2px;
}

.chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.chip{
  border:1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 10px;
  display:flex; gap:8px; align-items:center;
  font-weight:700;
  background: rgba(255,255,255,.70);
}
.chip span{ color: var(--muted); font-weight:800; }

.heroRight{ padding: 10px 6px 6px; }
.stat{ display:flex; flex-direction:column; gap:4px; }
.statNum{ font-size: 36px; font-weight:900; }
.statLabel{ color: var(--muted); font-weight:700; font-size:12px; }
.divider{ height:1px; background: var(--stroke); margin: 12px 0; }
.miniTitle{ font-weight:900; margin-bottom: 8px; }
.miniList{ margin: 0; padding-left: 18px; color: var(--muted); }
.miniList li{ margin: 6px 0; }

.quizTop{ display:flex; align-items:center; gap:12px; margin-bottom: 12px; }
.pill{
  font-weight:900;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
}
.bar{
  flex:1;
  height:10px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  overflow:hidden;
}
.barFill{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
}

.answers{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top: 12px; }
.answerBtn{
  text-align:left;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding: 14px 14px;
  cursor:pointer;
  font-weight:800;
  line-height:1.2;
}
.answerBtn small{ display:block; margin-top:8px; color:var(--muted); font-weight:700; }
.answerBtn:hover{ transform: translateY(-1px); }

.quizBottom{ display:flex; gap:12px; align-items:center; margin-top: 14px; }
.spacer{ flex:1; }

.resultTop{ display:flex; justify-content:space-between; align-items:center; gap:12px; }
.resultBadge{
  font-weight:900;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  padding: 8px 10px;
  border-radius:999px;
}
.resultGrid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.resultBox{
  border:1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  padding: 12px;
}
.boxTitle{ font-weight:900; margin-bottom: 8px; }
.boxBody{ color: var(--muted); font-weight:700; }

.ctaRow{ display:flex; gap:12px; margin-top: 14px; flex-wrap:wrap; }

.footer{
  margin-top: 16px;
  text-align:center;
  color: var(--muted);
  font-weight:700;
  font-size: 12px;
}

.modal{
  position:fixed; inset:0;
  display:grid; place-items:center;
  background:#00000077;
  padding: 16px;
}
.modalCard{
  width:min(520px, 100%);
  border-radius: 18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow);
}

/* ===========================
   SUBTLE DOT + LINE BACKDROP
   (disabled by default in most sections unless .bgDots exists)
   =========================== */

.bgDots{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.16;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%2398b7ff' stop-opacity='.55'/%3E%3Cstop offset='100%25' stop-color='%2398b7ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='none' stroke='%2398b7ff' stroke-opacity='.22' stroke-width='1'%3E%3Cpath d='M90 120 L220 80 L330 160 L480 110 L650 140 L820 90'/%3E%3Cpath d='M110 420 L250 360 L370 450 L520 390 L690 430 L830 370'/%3E%3Cpath d='M160 250 L300 210 L420 280 L560 240 L720 260'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='90' cy='120' r='10' fill='url(%23g)'/%3E%3Ccircle cx='220' cy='80' r='9' fill='url(%23g)'/%3E%3Ccircle cx='330' cy='160' r='11' fill='url(%23g)'/%3E%3Ccircle cx='480' cy='110' r='10' fill='url(%23g)'/%3E%3Ccircle cx='650' cy='140' r='12' fill='url(%23g)'/%3E%3Ccircle cx='820' cy='90' r='9' fill='url(%23g)'/%3E%3Ccircle cx='110' cy='420' r='11' fill='url(%23g)'/%3E%3Ccircle cx='250' cy='360' r='10' fill='url(%23g)'/%3E%3Ccircle cx='370' cy='450' r='12' fill='url(%23g)'/%3E%3Ccircle cx='520' cy='390' r='10' fill='url(%23g)'/%3E%3Ccircle cx='690' cy='430' r='11' fill='url(%23g)'/%3E%3Ccircle cx='830' cy='370' r='9' fill='url(%23g)'/%3E%3Ccircle cx='160' cy='250' r='10' fill='url(%23g)'/%3E%3Ccircle cx='300' cy='210' r='9' fill='url(%23g)'/%3E%3Ccircle cx='420' cy='280' r='11' fill='url(%23g)'/%3E%3Ccircle cx='560' cy='240' r='10' fill='url(%23g)'/%3E%3Ccircle cx='720' cy='260' r='12' fill='url(%23g)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 600px;
  background-repeat: repeat;
  filter: blur(.2px);
}

/* ===========================
   EVENTS UI
   =========================== */

.eventHero{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 16px;
}

.eventHeroRight{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding: 12px;
}

.eventFilters{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items:end;
}

.field .fieldLabel{ font-weight:900; margin-bottom:6px; }
.fieldHint{ color: var(--muted); font-weight:700; font-size: 12px; }

.eventGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.eventCard{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 44px #0b122012;
  display:flex;
  flex-direction:column;
  min-height: 220px;
}

.eventTitle{ font-weight: 950; font-size: 16px; line-height: 1.2; }
.eventMeta{ color: var(--muted); font-weight:700; font-size:12px; margin-top:6px; display:flex; gap:6px; flex-wrap:wrap; }
.eventWhen{ margin-top:10px; font-weight:900; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--stroke);
  border-radius:999px;
  padding: 6px 10px;
  font-weight:900;
  font-size: 12px;
  background: rgba(255,255,255,.65);
}
.badge.ok{
  border-color: rgba(47,108,255,.25);
  background: rgba(47,108,255,.08);
}
.badge.ghost{ background: rgba(255,255,255,.45); }

.eventBadges{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
.eventDesc{ margin: 10px 0 0; color: var(--muted); font-weight:700; line-height: 1.35; }
.eventActions{ margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; padding-top: 12px; }

.eventHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.eventHeaderActions{ display:flex; gap:10px; flex-wrap:wrap; }

.eventDetailsGrid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 12px;
}

.eventDetailBox{
  border:1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  padding: 12px;
}

.dotsHeader{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 10px;
}

.dotGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dotMini{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  border-radius: 18px;
  padding: 12px;
}

.dotMiniTop{ display:flex; gap: 10px; align-items:center; }
.dotMiniName{ font-weight:950; }
.dotMiniSub{ color: var(--muted); font-weight:700; font-size: 12px; margin-top: 2px; }
.dotMiniBody{ margin-top: 10px; color: var(--muted); font-weight:700; font-size: 13px; line-height: 1.35; }
.dotMiniActions{ margin-top: 12px; display:flex; gap: 10px; flex-wrap:wrap; }

.checkinGrid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 12px;
}

.checkinCard{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  border-radius: 18px;
  padding: 14px;
}

@media (max-width: 980px){
  .hero, .eventHero, .eventDetailsGrid, .checkinGrid{ grid-template-columns: 1fr; }
  .answers, .resultGrid, .eventGrid, .dotGrid{ grid-template-columns: 1fr; }
  .eventFilters{ grid-template-columns: 1fr; }
}
  padding: 16px;
}
.modalTop{ display:flex; justify-content:space-between; align-items:center; }
.modalTitle{ font-weight:900; font-size: 16px; }
.iconBtn{
  border:1px solid var(--stroke);
  background:transparent;
  color:var(--text);
  width:38px; height:38px;
  border-radius: 12px;
  cursor:pointer;
}
.label{ display:block; margin-top: 12px; font-weight:900; }
.input{
  width:100%;
  padding: 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  color: var(--text);
  outline:none;
  margin-top: 8px;
}
.modalActions{ display:flex; gap:12px; margin-top: 12px; }

.tiny{ font-size: 12px; }
.toast{
  position:fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(11,18,32,.90);
  color: #ffffff;
  box-shadow: 0 14px 36px #00000066;
}
.toast.show{ display:block !important; }

@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; }
  .answers{ grid-template-columns: 1fr; }
  h1{ font-size: 32px; }
}


/* --- Mix (percent bars) --- */
.resultMixCard{
  margin-top: 14px;
  padding: 14px 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: calc(var(--r) - 4px);
  background: var(--card);
}
.mix{ display:grid; gap: 12px; margin-top: 10px; }
.mixRow{ display:grid; gap: 6px; }
.mixTop{ display:flex; justify-content:space-between; align-items:baseline; gap: 10px; }
.mixName{ font-weight: 700; }
.mixPct{ font-weight: 800; color: var(--muted); }
.mixBar{ height: 10px; border-radius: 999px; background: #eaf1ff; border: 1px solid var(--stroke); overflow:hidden; }
.mixBarFill{ height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--primary2)); }
/* ---------------------------
   Mobile Profile Fix
---------------------------- */
@media (max-width: 720px) {

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  h2 {
    font-size: 22px;
  }

  .resultGrid {
    grid-template-columns: 1fr;
  }

  .wrap {
    margin-top: 14px;
    padding: 0 12px;
  }

  .card {
    padding: 14px;
  }

  .heroRight {
    padding: 0;
  }

}
/* ===========================
   DOT CARD UI (Public Profile)
   =========================== */

.dotCard {
  border: 1px solid rgba(60, 90, 180, .16);
  background: rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(10, 20, 40, .06);
  backdrop-filter: blur(10px);
}

.dotCardTop {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dotAvatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(60, 90, 180, .18);
  background: linear-gradient(180deg, rgba(120,170,255,.28), rgba(120,170,255,.10));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.dotAvatarInitials {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .5px;
  color: rgba(12, 26, 60, .92);
}

.dotMeta {
  flex: 1;
  min-width: 0;
}

.dotNameRow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dotDisplayName {
  font-weight: 900;
  font-size: 16px;
  color: rgba(10, 20, 45, .95);
  line-height: 1.1;
}

.dotBadges {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.dotBadge {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(60, 90, 180, .18);
  background: rgba(80, 120, 255, .08);
  color: rgba(18, 40, 90, .92);
}

.dotSubRow {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(30, 50, 85, .88);
  font-size: 13px;
  font-weight: 700;
}

.dotChips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dotChip {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(60, 90, 180, .16);
  background: rgba(255,255,255,.65);
  color: rgba(12, 28, 70, .9);
}

.dotDivider {
  height: 1px;
  background: rgba(60, 90, 180, .12);
  margin: 12px 0;
}

.dotReason {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(12, 28, 70, .85);
}

.dotBars {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.dotBarRow {
  display: grid;
  grid-template-columns: 80px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.dotBarLabel {
  font-size: 12px;
  font-weight: 900;
  color: rgba(12, 28, 70, .85);
}

.dotBarTrack {
  height: 10px;
  border-radius: 999px;
  background: rgba(60, 90, 180, .10);
  border: 1px solid rgba(60, 90, 180, .12);
  overflow: hidden;
}

.dotBarFill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(80,120,255,.55), rgba(80,120,255,.25));
}

.dotBarPct {
  text-align: right;
  font-size: 12px;
  font-weight: 900;
  color: rgba(12, 28, 70, .85);
}

.dotActions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dotBtn {
  border: 1px solid rgba(60, 90, 180, .20);
  background: rgba(80, 120, 255, .10);
  color: rgba(12, 28, 70, .95);
  font-weight: 900;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dotBtnPrimary {
  background: rgba(80, 120, 255, .18);
}

.dotBtnDanger {
  background: rgba(255, 90, 120, .10);
  border-color: rgba(255, 90, 120, .18);
}

.dotBtn:active {
  transform: translateY(1px);
}

/* Mobile polish */
@media (max-width: 520px) {
  .dotBarRow { grid-template-columns: 70px 1fr 40px; }
  .dotAvatar { width: 50px; height: 50px; border-radius: 15px; }
}
/* Dot avatar “spark” (no image needed) */
.dotAvatar::before{
  content:"";
  position:absolute; inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(circle at 70% 20%, rgba(120,170,255,.55) 0%, rgba(120,170,255,0) 60%),
    radial-gradient(circle at 60% 80%, rgba(190,140,255,.45) 0%, rgba(190,140,255,0) 60%);
  transform: rotate(18deg);
  opacity:.9;
}

.dotAvatar::after{
  content:"";
  position:absolute;
  width:10px; height:10px;
  border-radius:999px;
  right:8px; bottom:8px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.75);
}




/* ===========================
   NetworkAnimal Dot Mark
   Ring + single orbit dot
   =========================== */

/* ===========================
   NetworkAnimal Dot Mark
   (clean, no halo, no clipping)
   =========================== */

.naDotMark{
  --ring: #2f6cff;
  --core: #dfeaff;
  --orb:  rgba(40,40,40,.55);

  --size: 64px;
  --ringW: 10px;
  --orbS:  14px;
  --orbitDur: 6.8s; /* slower, calmer motion */

  width: var(--size);
  height: var(--size);
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible; /* orbit can extend */
}

/* Size presets */
.naDotMark--hero{ --size: 88px; --ringW: 10px; --orbS: 16px; }
.naDotMark--avatar{ --size: 72px; --ringW: 10px; --orbS: 16px; }
.naDotMark--mini{ --size: 36px; --ringW: 6px;  --orbS: 10px; }

.naDotRing{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: transparent;

  /* CRISP ring (no inset-shadow halo) */
  border: var(--ringW) solid var(--ring);
  box-shadow: none;
}

.naDotCore{
  position: absolute;
  inset: var(--ringW);          /* perfectly flush inside ring */
  border-radius: 999px;
  background: var(--core);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.naDotCenter{
  font-size: calc(var(--size) * .42);
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.12));
}

/* Orbit */
.naDotOrbiter{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  animation: naOrbit var(--orbitDur) linear infinite;
  pointer-events: none;
}

.naDotOrb{
  position: absolute;
  top: 50%;
  /* Put the orb ON the ring track (centered over the ring stroke) */
  right: calc((var(--ringW) - var(--orbS)) / 2);
  width: var(--orbS);
  height: var(--orbS);
  border-radius: 999px;
  background: var(--orb);
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.45);
}

/* Give the ring a subtle inner "track" so the orbit feels intentional */
.naDotRing::after{
  content:"";
  position:absolute;
  inset: calc(var(--ringW) * .45);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  opacity: .55;
  pointer-events: none;
}

/* Dot center uses the eyes mark (fill the ring) */
.naDotCore{
  background: var(--core);
}

.naDotCore::before{
  content:"";
  position:absolute;
  inset: 8%;
  border-radius: 999px;
  background: url('./na_eyes.png') center/contain no-repeat;
  opacity: .98;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
  pointer-events: none;
}

/* Orbit animation */
@keyframes naOrbit{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}


/* size presets */
.naDotMark--hero{ --size: 88px; --ringW: 10px; --orbS: 16px; }
.naDotMark--avatar{ --size: 72px; --ringW: 10px; --orbS: 16px; }
.naDotMark--mini{ --size: 36px; --ringW: 6px; --orbS: 10px; }



.heroDotWrap{
  display:flex;
  justify-content:flex-end;
  margin-bottom:14px;
}
@media (max-width: 860px){
  .heroDotWrap{ justify-content:flex-start; }
}



/* Override dotAvatar container to host naDotMark */
.dotAvatar{
  width:auto;
  height:auto;
  border:none;
  background:transparent;
  box-shadow:none;
  padding:0;
  overflow: visible;
}
.dotAvatarInitials{ display:none; }

/* When we render the official Dot Mark inside .dotAvatar, remove the legacy spark/dot pseudo-elements
   (these were causing the extra "rogue" dot on the Dot Created page). */
.dotAvatar::before,
.dotAvatar::after{
  content: none !important;
  display: none !important;
}


/* --- NetworkAnimal Eyes mark (fills the Dot) --- */
.naDotEyesImg{
  width: 86%;
  height: auto;
  display: block;
  opacity: .98;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.16));
}



/* ===========================
   PROFILE FIELDS (Dot Profile)
   =========================== */
.profileCard{
  margin-top:14px;
  border:1px solid rgba(60,90,180,.18);
  background:rgba(80,120,255,.06);
  border-radius:18px;
  padding:14px;
}
.profileGrid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.fieldLabel{
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
  opacity:.9;
  margin-bottom:6px;
}
.fieldInput, .fieldTextarea{
  width:100%;
  box-sizing:border-box;
  border-radius:14px;
  border:1px solid rgba(60,90,180,.18);
  background:rgba(255,255,255,.85);
  padding:12px 12px;
  font:inherit;
  outline:none;
}
.fieldTextarea{ min-height:92px; resize:vertical; }
.fieldHint{ font-size:12px; opacity:.72; margin-top:6px; }
.profileActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}
.profileSaved{
  margin-top:10px;
  font-size:13px;
  font-weight:700;
  opacity:.85;
}


/* ===========================
   PROFILE (Dot Hub) POLISH
   =========================== */

.profileHero{ padding: 16px; }
.dotAvatar{
  width: 54px; height: 54px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,.35)),
              linear-gradient(135deg, rgba(80,120,255,.55), rgba(160,190,255,.25));
  border: 1px solid rgba(60,90,180,.18);
  box-shadow: 0 12px 28px rgba(10,20,40,.10);
  flex: 0 0 auto;
}

.dotNameRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.dotName{
  font-size: 34px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.4px;
  color: rgba(10, 20, 40, .92);
}

.profileHeroActions{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left:auto;
}

.profileCols{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.infoCard{
  border: 1px solid rgba(60,90,180,.14);
  background: rgba(255,255,255,.72);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(10,20,40,.05);
  backdrop-filter: blur(10px);
}

.infoTitle{
  font-weight: 950;
  font-size: 14px;
  letter-spacing: .2px;
  margin-bottom: 8px;
  color: rgba(18,40,90,.92);
}

.infoBody{
  color: rgba(30,50,85,.88);
  font-weight: 700;
  line-height: 1.45;
  white-space: pre-wrap;
}

@media (min-width: 900px){
  .profileCols{
    grid-template-columns: 1fr 1fr;
  }
  .infoCard:nth-child(1){
    grid-column: 1 / -1;
  }
}

/* ===========================
   Dot Hub — Profile polish
   =========================== */

.dotQuickGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 720px){
  .dotQuickGrid{ grid-template-columns: 1fr; }
}

.dotQuick{
  border: 1px solid rgba(60,90,180,.14);
  background: rgba(255,255,255,.60);
  border-radius: 14px;
  padding: 10px 12px;
}

.dotQuickLabel{
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: .02em;
  margin-bottom: 4px;
}

.dotQuickValue{
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
}

.dotProfileGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .dotProfileGrid{ grid-template-columns: 1fr; }
}

.dotSection{
  border: 1px solid rgba(60,90,180,.12);
  background: rgba(255,255,255,.68);
  border-radius: 16px;
  padding: 14px;
}

.dotText{
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-wrap;
}

.dotDetails{
  display:grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.dotDetailLabel{
  display:inline-block;
  min-width: 78px;
  color: var(--muted);
  font-weight: 900;
}

.link{
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}
.link:hover{ text-decoration: underline; }



/* ===========================
   DOT HUB LOCKED HEADER + GRID
   These classes are used by profile.js
   =========================== */

.naDotHeaderCard{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.78);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px;
}
.naDotHeaderRow{
  display:flex;
  align-items:center;
  gap:16px;
}
.naDotAvatar{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.naDotHeaderText{ flex:1; min-width:0; }
.naDotTitle{
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -.5px;
  font-weight: 950;
}
.naDotPill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  font-weight: 900;
}
.naDotHeaderActions{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left:auto;
  flex-wrap:wrap;
}
.naBtn{
  appearance:none;
  border:1px solid var(--stroke);
  background:#ffffff;
  color:var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:800;
}
.naBtn:hover{ background:#f2f6ff; }
.naBtnPrimary{
  border:none;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 14px 36px #00000033;
  color:#fff;
}

.naDotGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 900px){
  .naDotGrid{ grid-template-columns: 1fr; }
}
.naDotSection{
  border:1px solid rgba(60,90,180,.12);
  background: rgba(255,255,255,.68);
  border-radius: 16px;
  padding: 14px;
}
.naDotLabel{
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(18,40,90,.92);
  margin-bottom: 8px;
}
.naDotValue{
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-wrap;
}


/* ===========================
   DOT ORBIT CLIP FIX (GLOBAL)
   =========================== */
.naDotHeaderCard,
.naDotHeaderRow,
.naDotAvatar{
  overflow: visible !important;
}
.naDotHeaderRow{
  padding-left: 6px;
}
.naDotAvatar{
  min-width: calc(var(--size, 72px) + 18px);
}


/* ===========================
   Dot Hub Accordion
   =========================== */
.naAccordionWrap{ margin-top:16px; display:grid; gap:10px; }
.naAccordion{ border:1px solid var(--stroke); border-radius:14px; background:rgba(255,255,255,.7); overflow:hidden; }
.naAccHead{
  width:100%;
  background:none;
  border:none;
  padding:12px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:900;
  cursor:pointer;
}
.naAccChevron{ transition:transform .2s ease; }
.naAccHead.open .naAccChevron{ transform:rotate(180deg); }
.naAccBody{ display:none; padding:0 14px 14px; }
.naAccBody.open{ display:block; }
.naAccInner{ font-weight:700; line-height:1.45; }
.naAccTitle{ font-size:16px; font-weight:950; margin:2px 0 8px; }
.naAccLine{ margin-top:6px; color:var(--text); font-size:14px; }
.naAccLine strong{ font-weight:950; }

.hubMatchGrid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; }
.hubMatchCard{ border:1px solid var(--stroke); border-radius:12px; padding:10px 12px; background:rgba(255,255,255,.65); }
.hubMatchLabel{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:950; }
.hubMatchValue{ font-size:14px; font-weight:950; margin-top:6px; }

.hubMixLabel{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:950; margin-bottom:8px; }
.hubMixRow{ margin-top:10px; }
.hubMixTop{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.hubMixName{ font-weight:900; font-size:14px; }
.hubMixPct{ font-weight:950; color:var(--muted); font-size:13px; }
.hubMixBar{ height:10px; border-radius:999px; border:1px solid var(--stroke); background:rgba(255,255,255,.6); overflow:hidden; }
.hubMixFill{ height:100%; border-radius:999px; background:linear-gradient(90deg, var(--primary), var(--primary2)); }

/* ===========================
   Events list cards
   =========================== */
.listGrid{ display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.listCard{
  display:block;
  text-decoration:none;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.65);
  border-radius:16px;
  padding:14px 14px 12px;
  box-shadow: 0 10px 30px rgba(11,18,32,.06);
}
.listTitle{ font-weight:950; color:var(--text); font-size:16px; }
.listMeta{ margin-top:6px; color:var(--muted); font-weight:750; font-size:13px; }
.listHint{ margin-top:10px; color:var(--primary); font-weight:950; font-size:13px; }

/* Event page action buttons */
.stack{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

/* Who's-here controls */
.whoControls{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.whoTabs{ display:flex; gap:8px; flex-wrap:wrap; }
.whoTab{
  appearance:none;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  color: var(--text);
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  transition: background .18s ease, transform .06s ease, box-shadow .18s ease;
}
.whoTab:hover{ background:#f2f6ff; box-shadow: 0 10px 22px rgba(11,18,32,.08); }
.whoTab:active{ transform: translateY(1px); }
.whoTab.active{ 
  border:none;
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}
.whoRight{ display:flex; align-items:center; gap:10px; }
.whoToggle{ display:flex; align-items:center; gap:8px; color:var(--muted); font-weight:850; }

.whoGrid{ display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.whoCard{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.65);
  border-radius:14px;
  padding:12px;
  text-decoration:none;
  color:var(--text);
}
.whoTop{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.whoName{ font-weight:950; }
.whoMeta{ color:var(--muted); font-weight:750; font-size:12px; margin-top:6px; }
.whoStatus{ font-weight:950; font-size:12px; color:var(--muted); }


/* Eyes logo image sizing */
.logo img{width:28px;height:28px;display:block;}
/* Result Bars */

.mixBar {
  height: 10px;
  background: #e8eeff;
  border-radius: 999px;
  overflow: hidden;
}
.mixFill {
  height: 100%;
  border-radius: 999px;
  transition: width .4s ease;
}

