:root{
  --nova-bg:#05050a;
  --nova-bg-soft:#090910;
  --nova-panel:rgba(255,255,255,.05);
  --nova-panel-soft:rgba(0,0,0,.26);
  --nova-border:rgba(255,255,255,.10);
  --nova-border-soft:rgba(255,255,255,.08);
  --nova-text:rgba(255,255,255,.88);
  --nova-muted:rgba(255,255,255,.64);
  --nova-faint:rgba(255,255,255,.46);
  --nova-shadow:0 24px 60px rgba(0,0,0,.28);
  --nova-purple:#a855f7;
  --nova-blue:#00d9ff;
  --nova-mint:#5cffb2;
  --nova-peach:#ffb38a;
  --nova-pink:#ff4fd8;
  --nova-green:#4ade80;
  --nova-danger:#fb7185;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100vh;
  font-family:"Avenir Next","Trebuchet MS",Arial,sans-serif;
  color:#fff;
  background:
    radial-gradient(circle at top, rgba(168,85,247,.12), transparent 28%),
    radial-gradient(circle at 78% 14%, rgba(0,217,255,.08), transparent 24%),
    radial-gradient(circle at bottom, rgba(255,79,216,.12), transparent 30%),
    linear-gradient(180deg, #05050a 0%, #06060b 100%);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.25;
  background-image:radial-gradient(circle, rgba(255,255,255,.95) 0, rgba(255,255,255,0) 46%);
  background-size:3px 3px;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

.nova-page{
  position:relative;
  z-index:1;
}

.nova-wrap{
  width:min(1440px, 94vw);
  margin:0 auto;
}

.nova-rainbow{
  background:linear-gradient(90deg, var(--nova-purple) 0%, var(--nova-blue) 24%, var(--nova-mint) 50%, var(--nova-peach) 76%, var(--nova-pink) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.nova-glass{
  border:1px solid var(--nova-border);
  background:var(--nova-panel);
  backdrop-filter:blur(24px);
  box-shadow:var(--nova-shadow);
}

.nova-soft-panel{
  border:1px solid var(--nova-border-soft);
  background:var(--nova-panel-soft);
  backdrop-filter:blur(18px);
}

.nova-galaxy{
  background:
    radial-gradient(circle at 18% 18%, rgba(168,85,247,.24), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(0,217,255,.18), transparent 22%),
    radial-gradient(circle at 50% 84%, rgba(255,79,216,.16), transparent 26%),
    linear-gradient(180deg, rgba(10,10,18,.96), rgba(6,6,11,.98));
}

.nova-pill{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--nova-border);
  border-radius:999px;
  padding:8px 14px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.76);
  background:rgba(255,255,255,.06);
}

.nova-btn,
.nova-btn-outline,
.nova-btn-danger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:14px 22px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  cursor:pointer;
}

.nova-btn:hover,
.nova-btn-outline:hover,
.nova-btn-danger:hover{
  transform:translateY(-1px);
}

.nova-btn{
  color:#05050a;
  background:linear-gradient(90deg, var(--nova-purple) 0%, var(--nova-blue) 24%, var(--nova-mint) 50%, var(--nova-peach) 76%, var(--nova-pink) 100%);
}

.nova-btn-outline{
  color:#fff;
  border:1px solid var(--nova-border);
  background:rgba(255,255,255,.07);
}

.nova-btn-danger,
.nova-danger{
  color:#ffe3e8;
  border:1px solid rgba(251,113,133,.34);
  background:rgba(244,63,94,.12);
}

/* ── Form inputs ── */
.nova-input,
.nova-textarea{
  width:100%;
  border:1px solid var(--nova-border);
  border-radius:20px;
  padding:15px 16px;
  font-size:15px;
  font-family:inherit;
  color:#fff;
  background:rgba(0,0,0,.35);
  outline:none;
  transition:border-color .18s ease;
}

.nova-input:focus,
.nova-textarea:focus{
  border-color:rgba(168,85,247,.55);
}

.nova-textarea{
  min-height:130px;
  resize:vertical;
  border-radius:20px;
}

/* Profile block in sidebar */
.nova-profile{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}

.nova-profile-name{
  font-size:17px;
  font-weight:900;
}

.nova-profile-sub{
  margin-top:4px;
  font-size:13px;
  color:rgba(255,255,255,.54);
  line-height:1.5;
}

/* Mini note in sidebar */
.nova-mini-note{
  border-radius:18px;
  padding:14px 16px;
}

.nova-mini-note-label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.54);
}

.nova-mini-note-copy{
  margin-top:8px;
  font-size:13px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
}

/* Quick-access link cards in sidebar */
.nova-link-list{
  display:grid;
  gap:10px;
  margin-top:14px;
}

.nova-link-card{
  display:block;
  border-radius:18px;
  padding:14px 16px;
  transition:background .18s ease;
}

.nova-link-card:hover{
  background:rgba(255,255,255,.10);
}

.nova-link-card.is-active{
  border-color:rgba(244,114,182,.34);
  background:rgba(255,255,255,.10);
}

.nova-link-title{
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
}

.nova-link-hint{
  margin-top:4px;
  font-size:13px;
  color:rgba(255,255,255,.58);
  line-height:1.5;
}

/* Feed section spacing */
.nova-feed{
  display:grid;
  gap:16px;
}

.nova-header{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--nova-border);
  background:rgba(9,9,16,.86);
  backdrop-filter:blur(24px);
}

.nova-header-inner{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:78px;
  padding:0 4px;
}

.nova-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}

/* Brand acts as a link back to the Nova Universe */
a.nova-brand,
.nova-brand-link{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
}

.nova-brand img{
  width:auto;
  height:58px;
  max-width:90px;
  object-fit:contain;
  filter:drop-shadow(0 0 22px rgba(255,79,216,.22));
}

.nova-brand-title{
  font-size:34px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

.nova-brand-sub{
  margin-top:2px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.58);
}

.nova-nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.nova-nav a{
  border:1px solid var(--nova-border);
  border-radius:18px;
  padding:12px 18px;
  font-size:14px;
  font-weight:800;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.06);
  transition:background .18s ease;
}

.nova-nav a:hover{
  background:rgba(255,255,255,.10);
}

.nova-nav a.is-active{
  color:#fff;
  border-color:rgba(244,114,182,.34);
  background:rgba(255,255,255,.12);
}

.nova-search{
  flex:1;
  display:flex;
  justify-content:center;
}

.nova-search-box{
  width:min(100%, 420px);
  border:1px solid var(--nova-border);
  border-radius:999px;
  padding:14px 18px;
  font-size:14px;
  color:rgba(255,255,255,.42);
  background:rgba(255,255,255,.06);
}

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

.nova-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  padding:2px;
  background:linear-gradient(90deg, var(--nova-purple) 0%, var(--nova-blue) 24%, var(--nova-mint) 50%, var(--nova-peach) 76%, var(--nova-pink) 100%);
}

.nova-avatar-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  border-radius:50%;
  font-size:14px;
  font-weight:900;
  background:#0a0a12;
}

.nova-hero-shell{
  padding:34px 0 0;
  border-bottom:1px solid var(--nova-border);
}

.nova-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:30px;
  padding-bottom:42px;
}

.nova-hero-card,
.nova-snapshot{
  position:relative;
  overflow:hidden;
  border-radius:34px;
}

.nova-hero-card{
  padding:34px 34px 36px;
  border:1px solid var(--nova-border);
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(18px);
}

.nova-hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.10), transparent 16%),
    radial-gradient(circle at 80% 20%, rgba(168,85,247,.14), transparent 18%),
    radial-gradient(circle at 75% 70%, rgba(0,217,255,.12), transparent 20%);
  pointer-events:none;
}

.nova-hero-content{
  position:relative;
  z-index:1;
  max-width:780px;
}

.nova-title{
  margin:18px 0 0;
  font-size:clamp(56px, 9vw, 104px);
  line-height:.84;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.nova-title span{
  display:block;
  filter:drop-shadow(0 0 18px rgba(168,85,247,.18));
}

.nova-lead{
  margin:22px 0 0;
  max-width:740px;
  font-size:clamp(18px, 2vw, 24px);
  font-weight:700;
  line-height:1.7;
  color:var(--nova-text);
}

.nova-tagline{
  margin:14px 0 0;
  font-size:clamp(14px, 1.4vw, 18px);
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.nova-btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.nova-stat-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:28px;
}

.nova-stat-card{
  border-radius:20px;
  padding:18px;
}

.nova-stat-value{
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
}

.nova-stat-label{
  margin-top:6px;
  font-size:14px;
  color:rgba(255,255,255,.66);
}

.nova-snapshot{
  padding:24px;
}

.nova-brand-mark{
  overflow:hidden;
  border:1px solid var(--nova-border);
  border-radius:28px;
  background:rgba(0,0,0,.30);
}

.nova-brand-mark img{
  aspect-ratio:1;
  width:100%;
  object-fit:cover;
}

.nova-snapshot-title{
  margin:18px 0 0;
  font-size:30px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.nova-copy{
  margin:14px 0 0;
  font-size:14px;
  line-height:1.9;
  color:rgba(255,255,255,.76);
}

.nova-stack{
  display:grid;
  gap:12px;
  margin-top:22px;
}

.nova-list-card{
  border-radius:18px;
  padding:16px;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.80);
}

.nova-note{
  margin-top:22px;
  border:1px solid rgba(244,114,182,.22);
  border-radius:24px;
  padding:18px;
  background:rgba(236,72,153,.10);
}

.nova-note-label{
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.64);
}

.nova-note-copy{
  margin-top:10px;
  font-size:16px;
  font-weight:700;
  line-height:1.7;
  color:rgba(255,255,255,.90);
}

.nova-link-grid{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.nova-main{
  display:grid;
  grid-template-columns:260px minmax(0, 740px) 300px;
  gap:24px;
  padding:28px 0 40px;
  align-items:start;
}

.nova-rail{
  display:grid;
  gap:16px;
  position:sticky;
  top:96px;
}

.nova-card{
  border-radius:28px;
  padding:20px;
}

.nova-card-title{
  margin:0;
  font-size:22px;
  font-weight:900;
  text-transform:uppercase;
}

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

.nova-profile-name{
  font-size:20px;
  font-weight:900;
}

.nova-profile-sub{
  margin-top:4px;
  font-size:14px;
  color:rgba(255,255,255,.56);
}

.nova-mini-note{
  margin-top:16px;
  border-radius:22px;
  padding:16px;
}

.nova-mini-note-label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.58);
}

.nova-mini-note-copy{
  margin-top:8px;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.78);
}

.nova-link-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.nova-link-card{
  display:block;
  border-radius:20px;
  padding:14px 16px;
  transition:background .18s ease, transform .18s ease;
}

.nova-link-card:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
}

.nova-link-card.is-active{
  border:1px solid rgba(244,114,182,.34);
  background:rgba(255,255,255,.12);
}

.nova-link-title{
  font-size:14px;
  font-weight:800;
  color:#fff;
}

.nova-link-hint{
  margin-top:4px;
  font-size:12px;
  line-height:1.6;
  color:rgba(255,255,255,.58);
}

.nova-banner-card{
  overflow:hidden;
  padding:0;
}

.nova-banner-card img{
  width:100%;
  object-fit:contain;
  background:#000;
}

.nova-banner-body{
  padding:20px;
}

.nova-banner-copy{
  margin:10px 0 0;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.74);
}

.nova-feed{
  display:grid;
  gap:20px;
}

.nova-section-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.nova-story-row{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:4px;
  margin-top:18px;
}

.nova-story{
  flex:0 0 150px;
  min-height:188px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid var(--nova-border);
  border-radius:24px;
  padding:16px;
}

.nova-story-title{
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
}

.nova-story-copy{
  margin-top:8px;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
}

.nova-composer-head{
  display:flex;
  align-items:center;
  gap:14px;
}

.nova-composer-input,
.nova-input,
.nova-textarea{
  width:100%;
  border:1px solid var(--nova-border);
  border-radius:20px;
  padding:15px 16px;
  font-size:15px;
  color:#fff;
  background:rgba(0,0,0,.35);
}

.nova-composer-input{
  color:var(--nova-faint);
  border-radius:22px;
  padding:16px 18px;
}

.nova-textarea{
  min-height:180px;
  resize:vertical;
  font-family:inherit;
}

.nova-action-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}

.nova-action-card{
  border:1px solid var(--nova-border);
  border-radius:22px;
  padding:16px;
  background:rgba(255,255,255,.06);
  transition:background .18s ease;
}

.nova-action-card:hover{
  background:rgba(255,255,255,.10);
}

.nova-action-card.is-featured{
  border-color:rgba(244,114,182,.34);
  background:rgba(236,72,153,.10);
}

.nova-action-title{
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
}

.nova-action-copy{
  margin-top:8px;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.66);
}

.nova-select-grid,
.nova-form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}

.nova-label{
  display:block;
}

.nova-label span{
  display:block;
  margin-bottom:8px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.58);
}

.nova-select{
  width:100%;
  border:1px solid var(--nova-border);
  border-radius:20px;
  padding:15px 16px;
  font-size:15px;
  color:#fff;
  background:rgba(0,0,0,.35);
}

.nova-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.nova-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.nova-filter{
  border:1px solid var(--nova-border);
  border-radius:999px;
  padding:10px 16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
  background:rgba(255,255,255,.06);
}

.nova-filter.is-active{
  color:#fff;
  border-color:rgba(244,114,182,.34);
  background:rgba(255,255,255,.12);
}

.nova-post{
  display:grid;
  gap:18px;
}

.nova-post-head{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.nova-post-meta{
  flex:1;
  min-width:0;
}

.nova-post-author{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.nova-post-author strong{
  font-size:20px;
  font-weight:900;
}

.nova-post-time{
  margin-top:6px;
  font-size:14px;
  color:rgba(255,255,255,.54);
}

.nova-ghost{
  border:1px solid var(--nova-border);
  border-radius:14px;
  padding:10px 14px;
  font-size:14px;
  color:rgba(255,255,255,.66);
  background:rgba(255,255,255,.06);
}

.nova-post-title{
  margin:0;
  font-size:30px;
  font-weight:900;
  line-height:1.15;
}

.nova-post-copy{
  margin:0;
  font-size:17px;
  line-height:1.85;
  color:rgba(255,255,255,.86);
}

.nova-stats{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  border-radius:22px;
  padding:16px;
  font-size:14px;
  color:rgba(255,255,255,.62);
}

.nova-post-actions{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.nova-right-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}

.nova-right-item{
  border-radius:20px;
  padding:14px 16px;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.78);
}

.nova-alert{
  border-radius:28px;
  padding:20px;
  border:1px solid rgba(244,114,182,.22);
  background:rgba(236,72,153,.10);
  backdrop-filter:blur(24px);
  box-shadow:var(--nova-shadow);
}

.nova-alert p{
  margin:14px 0 0;
  font-size:14px;
  line-height:1.9;
  color:rgba(255,255,255,.80);
}

.nova-resource-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.nova-resource-link{
  display:block;
  border:1px solid var(--nova-border-soft);
  border-radius:18px;
  padding:14px 16px;
  font-size:14px;
  font-weight:700;
  color:rgba(255,255,255,.82);
  background:rgba(0,0,0,.25);
  transition:background .18s ease;
}

.nova-resource-link:hover{
  background:rgba(255,255,255,.10);
}

.nova-online-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}

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

.nova-online-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:14px;
  font-weight:900;
  background:rgba(255,255,255,.10);
}

.nova-online-name{
  font-size:15px;
  font-weight:700;
  color:rgba(255,255,255,.82);
}

.nova-online-dot{
  width:12px;
  height:12px;
  margin-left:auto;
  border-radius:50%;
  background:var(--nova-green);
  box-shadow:0 0 12px rgba(74,222,128,.75);
}

.nova-footer{
  padding:12px 0 34px;
  border-top:1px solid var(--nova-border);
  background:rgba(0,0,0,.30);
}

.nova-footer-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:start;
}

.nova-footer-media{
  overflow:hidden;
  border-radius:28px;
  padding:0;
}

.nova-footer-media img{
  width:100%;
  object-fit:contain;
  background:#000;
}

.nova-footer-copy{
  margin-top:18px;
  display:grid;
  gap:10px;
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.78);
}

.nova-auth-shell{
  padding:44px 0;
}

.nova-auth-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 430px;
  gap:24px;
  align-items:start;
}

.nova-auth-panel{
  border-radius:32px;
  padding:24px;
}

.nova-auth-tabs{
  display:flex;
  gap:8px;
  margin-top:18px;
}

.nova-auth-tab{
  flex:1;
  border:1px solid var(--nova-border);
  border-radius:18px;
  padding:12px 16px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.68);
  background:rgba(255,255,255,.06);
}

.nova-auth-tab.is-active{
  color:#fff;
  border-color:rgba(244,114,182,.34);
  background:rgba(255,255,255,.12);
}

.nova-form{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.nova-checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:rgba(255,255,255,.72);
}

.nova-status{
  margin-top:14px;
  border-radius:18px;
  padding:14px 16px;
  font-size:14px;
  line-height:1.7;
}

.nova-status.info{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.82);
}

.nova-status.success{
  border:1px solid rgba(74,222,128,.25);
  background:rgba(74,222,128,.10);
  color:#d9ffeb;
}

.nova-status.error{
  border:1px solid rgba(251,113,133,.32);
  background:rgba(244,63,94,.12);
  color:#ffe3e8;
}

.nova-hidden{
  display:none !important;
}

@media (max-width: 1180px){
  .nova-hero-grid,
  .nova-auth-grid{
    grid-template-columns:1fr;
  }

  .nova-main{
    grid-template-columns:1fr;
  }

  .nova-rail{
    position:static;
  }
}

@media (max-width: 980px){
  .nova-header-inner{
    flex-wrap:wrap;
    padding:14px 0;
  }

  .nova-brand{
    min-width:0;
  }

  .nova-nav{
    order:3;
    width:100%;
    overflow-x:auto;
    padding-bottom:4px;
  }

  .nova-search{
    display:none;
  }

  .nova-action-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .nova-footer-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 720px){
  .nova-hero-card,
  .nova-snapshot,
  .nova-card,
  .nova-alert,
  .nova-auth-panel{
    border-radius:24px;
  }

  .nova-hero-card{
    padding:24px;
  }

  .nova-stat-grid,
  .nova-action-grid,
  .nova-select-grid,
  .nova-form-grid,
  .nova-post-actions{
    grid-template-columns:1fr;
  }

  .nova-btn-row{
    flex-direction:column;
  }

  .nova-btn,
  .nova-btn-outline,
  .nova-btn-danger{
    width:100%;
  }

  .nova-story{
    flex-basis:84%;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   Rainbow nav buttons (used in every page header — Home/Profile/Resources/Sign out, Open Orbit CTAs)
   ───────────────────────────────────────────────────────────────────── */
.nova-header a,
.nova-header button {
  all: unset;
  cursor: pointer;
}
.nova-header .rb-fill,
.rb-fill{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border-radius:999px !important;
  padding:12px 22px !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  cursor:pointer;
  text-decoration:none !important;
  transition:transform .18s, opacity .18s;
  background:linear-gradient(90deg,#a855f7,#00d9ff,#5cffb2,#ffb38a,#ff4fd8) !important;
  color:#000 !important;
  border:none !important;
  animation:rbFg 3s ease-in-out infinite;
  font-family:"Trebuchet MS","Arial Black",Arial,sans-serif;
}
.nova-header .rb-outline,
.rb-outline{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border-radius:999px !important;
  padding:12px 22px !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  cursor:pointer;
  text-decoration:none !important;
  position:relative;
  background:transparent !important;
  border:none !important;
  z-index:0;
  animation:rbOg 3s ease-in-out infinite;
  animation-delay:.5s;
  color:transparent !important;
  font-family:"Trebuchet MS","Arial Black",Arial,sans-serif;
}
.nova-header .rb-outline::before,
.rb-outline::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  z-index:-2;
  background:linear-gradient(90deg,#a855f7,#00d9ff,#5cffb2,#ffb38a,#ff4fd8);
}
.nova-header .rb-outline::after,
.rb-outline::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:999px;
  z-index:-1;
  background:#06060b;
}
.nova-header .rb-outline-text,
.rb-outline-text{
  background:linear-gradient(90deg,#a855f7,#00d9ff,#5cffb2,#ffb38a,#ff4fd8);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  position:relative;
  z-index:1;
}
.nova-header button.rb-outline,
button.rb-outline{ background:transparent !important; }
.rb-fill:hover, .rb-outline:hover{ transform:translateY(-1px); }

/* nova-hidden must always win over rb-fill / rb-outline display */
.rb-fill.nova-hidden,
.rb-outline.nova-hidden,
.nova-header .rb-fill.nova-hidden,
.nova-header .rb-outline.nova-hidden{
  display:none !important;
}

@keyframes rbFg{
  0%,100%{ box-shadow:0 0 10px rgba(168,85,247,.4),0 0 20px rgba(0,217,255,.25); }
  50%   { box-shadow:0 0 22px rgba(168,85,247,.85),0 0 38px rgba(0,217,255,.6),0 0 55px rgba(255,79,216,.45); }
}
@keyframes rbOg{
  0%,100%{ filter:drop-shadow(0 0 4px rgba(168,85,247,.4)); }
  50%   { filter:drop-shadow(0 0 10px rgba(168,85,247,.9)) drop-shadow(0 0 18px rgba(0,217,255,.65)); }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE POLISH PASS
   Targeted, conservative fixes for small screens. Won't touch desktop.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {

  /* Header — let everything wrap cleanly, tighten spacing */
  .nova-header .nova-wrap {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    gap: 10px !important;
  }
  .nova-header nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    order: 3;
  }

  /* Tighten rainbow buttons in header on phones */
  .nova-header .rb-fill,
  .nova-header .rb-outline {
    padding: 9px 14px !important;
    font-size: 10px !important;
    letter-spacing: .12em !important;
  }

  /* Welcome pill: hide on small screens — bell+name avatar replaces it */
  .nova-header [data-auth-only].nova-pill {
    display: none !important;
  }

  /* Reaction pills — keep on a single row, wrap only if forced */
  .nova-reactions {
    gap: 5px !important;
  }
  .nova-reactions button {
    padding: 5px 9px !important;
    font-size: 12px !important;
  }

  /* Notifications dropdown — make sure it sits inside the viewport */
  [data-nova-bell-panel] {
    position: fixed !important;
    top: 64px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 75vh !important;
  }

  /* Floating "Check in today" button — smaller + slightly up so it doesn't
     cover the post composer Submit button on Orbit */
  [data-nova-checkin-fab] {
    bottom: 16px !important;
    right: 14px !important;
    padding: 11px 16px !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
  }

  /* Post cards — tighten padding so titles don't squish */
  .nova-post {
    padding: 18px !important;
  }
  .nova-post-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  .nova-post-copy {
    font-size: 14px !important;
  }
  .nova-post-head {
    gap: 10px !important;
  }

  /* Post action buttons (Edit/Delete/Report) — let them wrap but stay tappable */
  .nova-post-head [data-edit-post],
  .nova-post-head [data-delete-post],
  .nova-post-head [data-report-post] {
    padding: 6px 9px !important;
    font-size: 9px !important;
  }

  /* Comment edit/delete/report links — same treatment */
  .nova-comment [data-edit-comment],
  .nova-comment [data-delete-comment],
  .nova-comment [data-report-comment] {
    padding: 3px 5px !important;
    font-size: 10px !important;
  }

  /* Auth panel padding tightened */
  .nova-auth-panel {
    padding: 22px !important;
  }

  /* Footer columns stack on phones (already done by grid auto-flow but enforce) */
  .nova-footer .nova-wrap {
    grid-template-columns: 1fr !important;
  }

  /* Onboarding modal — let internal padding breathe a bit on small phones */
  #nova-onboarding-modal > div {
    border-radius: 22px !important;
  }
  #nova-onboarding-modal [data-onb-card-area] {
    padding: 28px 22px 22px !important;
    min-height: 320px !important;
  }
  #nova-onboarding-modal h2 {
    font-size: 26px !important;
  }
}

/* Extra-small phones (sub-420px) — tighter still */
@media (max-width: 420px) {
  .nova-header .rb-fill,
  .nova-header .rb-outline {
    padding: 8px 11px !important;
    font-size: 9px !important;
  }
  .nova-header img[alt="Nova logo"] {
    width: 36px !important;
    height: 36px !important;
  }
  .nova-post-title { font-size: 17px !important; }
  /* Slightly smaller fab so it doesn't dominate */
  [data-nova-checkin-fab] {
    padding: 10px 14px !important;
    font-size: 10px !important;
  }
}

/* ─── Mobile header — more aggressive trim so it fits one screen ─── */
@media (max-width: 720px) {
  /* Hide the "Open Orbit" / "Refresh Orbit" CTAs from header on phones.
     Users still get there via the Home nav button. The bell + sign-out + ✓ Check-in FAB stay. */
  .nova-header a.rb-fill[href$="feed.html"] {
    display: none !important;
  }
  /* If a page has a header "Profile" rb-fill (resources/home), hide on phones too — Profile is in nav */
  .nova-header a.rb-fill[href$="profile.html"] {
    display: none !important;
  }
  /* Shrink the bell button slightly so it lines up with sign-out */
  .nova-header .nova-bell-btn {
    padding: 8px 12px !important;
  }
  /* Stack the right-side controls on a new line if still too wide */
  .nova-header .nova-wrap > div:last-child {
    width: 100%;
    justify-content: center !important;
    gap: 8px !important;
  }
  /* Logo + brand block: slightly smaller so it doesn't dominate */
  .nova-header img[alt*="Nova"]:not([alt*="Wellness"]) {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   Mobile hamburger menu (≤720px)
   - Burger button sits on the right of the header
   - Original nav items are hidden on mobile, cloned into the drawer
   - Drawer slides in from the right with a dark overlay
   ───────────────────────────────────────────────────────────────────── */

/* The wrap is always in the DOM but only visible on mobile */
.nova-burger-wrap {
  display: none;
  flex-shrink: 0;
}

/* Burger button — solid purple circle with white lines */
.nova-burger {
  all: unset;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #a855f7;
  border: none;
  box-shadow: 0 4px 14px rgba(168, 85, 247, .5);
  transition: background .18s, box-shadow .18s, transform .18s;
}
.nova-burger:hover,
.nova-burger:focus-visible,
.nova-burger:active {
  background: #b965ff;
  box-shadow: 0 6px 18px rgba(168, 85, 247, .7);
  transform: scale(1.04);
  outline: none;
}
.nova-burger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 3px;
  background: #fff;
  transition: transform .22s ease, opacity .22s ease;
}

/* Animate to an X when drawer is open */
body.nova-drawer-open .nova-burger {
  background: #fb7185;
  box-shadow: 0 4px 14px rgba(251, 113, 133, .55);
}
body.nova-drawer-open .nova-burger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
body.nova-drawer-open .nova-burger-bar:nth-child(2) {
  opacity: 0;
}
body.nova-drawer-open .nova-burger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Dark overlay behind the drawer */
.nova-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
body.nova-drawer-open .nova-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* The drawer panel itself */
.nova-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  height: 100vh; /* fallback */
  width: min(86vw, 360px);
  background: linear-gradient(180deg, rgba(20, 12, 32, .98), rgba(8, 6, 18, .99));
  border-left: 1px solid rgba(168, 85, 247, .45);
  box-shadow: 0 0 40px rgba(168, 85, 247, .25), 0 0 80px rgba(0, 217, 255, .12);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .26s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.nova-drawer-open .nova-drawer {
  transform: translateX(0);
}

.nova-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(168, 85, 247, .22);
  flex-shrink: 0;
}
.nova-drawer-brand .nova-brand-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
}
.nova-drawer-brand .nova-brand-sub {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: 4px;
}
.nova-drawer-close {
  all: unset;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .05);
  transition: background .18s, color .18s;
}
.nova-drawer-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.nova-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Cloned nav items styled as full-width drawer rows */
.nova-drawer-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #fff !important;
  background: rgba(168, 85, 247, .08) !important;
  border: 1px solid rgba(168, 85, 247, .25) !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  transition: background .18s, border-color .18s, transform .18s;
  /* Override any rb-fill / rb-outline inline backgrounds from the cloned source */
  animation: none !important;
  box-shadow: none !important;
}
.nova-drawer-item:hover {
  background: rgba(168, 85, 247, .18) !important;
  border-color: rgba(168, 85, 247, .55) !important;
  transform: translateX(-2px);
}
/* Keep gradient text on rainbow elements inside the drawer */
.nova-drawer-item .rb-outline-text,
.nova-drawer-item.rb-fill {
  background: linear-gradient(90deg, #a855f7, #00d9ff, #5cffb2, #ffb38a, #ff4fd8) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
/* Welcome pill in the drawer — a quieter look */
.nova-drawer-item.nova-pill {
  background: rgba(168, 85, 247, .04) !important;
  border-color: rgba(168, 85, 247, .15) !important;
  color: rgba(255, 255, 255, .75) !important;
  letter-spacing: .12em;
  text-transform: none;
  font-size: 12px !important;
  cursor: default;
}
.nova-drawer-item.nova-pill:hover {
  transform: none;
}
/* Sign-out gets a subtle danger tint */
.nova-drawer-item[data-sign-out] {
  background: rgba(251, 113, 133, .06) !important;
  border-color: rgba(251, 113, 133, .35) !important;
  margin-top: 8px;
}
.nova-drawer-item[data-sign-out]:hover {
  background: rgba(251, 113, 133, .14) !important;
  border-color: rgba(251, 113, 133, .6) !important;
}
.nova-drawer-item[data-sign-out] .rb-outline-text {
  background: none !important;
  -webkit-text-fill-color: #fb7185 !important;
  color: #fb7185 !important;
}

/* Mobile: hide the original nav, show the burger */
@media (max-width: 720px) {
  .nova-burger-wrap {
    display: inline-flex;
  }
  /* Hide the desktop nav and its right-side controls */
  header.nova-header > .nova-header-inner > nav,
  header.nova-header > .nova-wrap > nav {
    display: none !important;
  }
  /* The right-side div that holds Welcome / Open Orbit / Sign Out — hide on mobile.
     We target the LAST direct flex child inside the header wrap. */
  header.nova-header .nova-header-inner > div:nth-last-child(2),
  header.nova-header .nova-wrap > div:nth-last-child(2) {
    display: none !important;
  }

  /* Tighten header padding/min-height on mobile */
  header.nova-header .nova-header-inner,
  header.nova-header .nova-wrap {
    min-height: 64px !important;
    gap: 8px !important;
  }
}

/* Lock body scroll when drawer is open */
body.nova-drawer-open {
  overflow: hidden;
}

/* ═════════════════════════════════════════════════════════════════════
   ORBIT (feed.html) — mobile polish
   ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {

  /* 1. Reorder so the post composer + feed comes BEFORE the sidebar/rail.
        On desktop the layout is grid (rail | feed | rail). On mobile the
        existing 1180px breakpoint already collapses to one column, but the
        rail still appears first because it's first in the DOM. We use flex
        + order to push it after the feed. */
  .nova-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 16px 0 28px !important;
  }
  .nova-main > .nova-feed {
    order: 1;
  }
  .nova-main > .nova-rail {
    order: 2;
  }
  /* If there's a second rail (right sidebar), push it last */
  .nova-main > .nova-rail:last-child {
    order: 3;
  }

  /* 2. Shrink the post composer so it fits a phone screen better */
  .nova-feed > #create-post {
    padding: 18px !important;
  }
  .nova-feed > #create-post .nova-card-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin-top: 8px !important;
  }
  .nova-feed > #create-post .nova-section-top {
    margin-bottom: 14px !important;
  }
  .nova-feed > #create-post .nova-pill {
    font-size: 10px !important;
    padding: 4px 12px !important;
  }
  /* Form grid stacks vertically (already does at 720, just tighten gaps) */
  .nova-feed .nova-form-grid {
    gap: 12px !important;
  }
  .nova-feed .nova-label > span {
    font-size: 11px !important;
  }
  .nova-feed .nova-input,
  .nova-feed .nova-select {
    font-size: 14px !important;
    padding: 12px 14px !important;
  }
  /* The Post Body textarea is huge by default — cap it on mobile */
  .nova-feed textarea.nova-input,
  .nova-feed textarea {
    min-height: 120px !important;
    max-height: 200px !important;
    font-size: 14px !important;
  }
  /* Attach photo/video panel — tighter */
  .nova-feed [class*="dashed"],
  .nova-feed .nova-attach,
  .nova-feed .nova-soft-panel {
    padding: 14px !important;
  }

  /* 3. Sidebar cards (Profile + Quick Access) become smaller / less
        prominent on mobile — they're below the feed now. */
  .nova-rail .nova-card {
    padding: 16px !important;
    border-radius: 22px !important;
  }
  .nova-rail .nova-card-title {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  .nova-rail .nova-link-card {
    padding: 12px 14px !important;
  }
  .nova-rail .nova-link-title {
    font-size: 13px !important;
  }
  .nova-rail .nova-link-hint {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  .nova-rail .nova-mini-note {
    padding: 12px 14px !important;
  }
  .nova-rail .nova-mini-note-label {
    font-size: 10px !important;
  }
  .nova-rail .nova-mini-note-copy {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  /* Profile avatar block in sidebar */
  .nova-rail .nova-profile {
    gap: 10px !important;
  }
  .nova-rail .nova-profile-name {
    font-size: 15px !important;
  }
  .nova-rail .nova-profile-sub {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  /* 4. Post cards in the feed — fix the cramped layout */
  .nova-feed [data-feed-posts] .nova-card,
  .nova-feed .nova-post {
    padding: 16px !important;
    border-radius: 22px !important;
  }
  /* Author / category / actions row should stack cleanly */
  .nova-post-meta,
  .nova-post-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  /* Category pill — smaller, single line */
  .nova-post .nova-pill,
  .nova-post-category {
    font-size: 10px !important;
    padding: 4px 10px !important;
    white-space: nowrap;
    letter-spacing: .12em !important;
  }
  /* Date text — tighten and shrink */
  .nova-post-date,
  .nova-post-time {
    font-size: 11px !important;
    color: rgba(255, 255, 255, .45) !important;
    line-height: 1.3 !important;
  }
  /* EDIT / DELETE buttons — smaller on mobile */
  .nova-post button.rb-outline,
  .nova-post .nova-btn-outline {
    padding: 6px 12px !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
  }
  /* Post title + body */
  .nova-post-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    margin: 8px 0 !important;
  }
  .nova-post-copy,
  .nova-post-body {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* 5. Tarot card images embedded in posts — preserve aspect ratio */
  /* Post media (uploaded photos/videos) — preserve aspect ratio */
  .nova-post-media img,
  .nova-post-media video {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 14px !important;
  }
  /* Tarot reading card thumbnails inside posts — leave the inline sizing
     from the renderReadingCardThumb function alone. */
  /* The shared-tarot-reading panel inside a post */
  .nova-tarot-shared,
  [data-tarot-shared] {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  /* 6. Reactions row — wrap nicely instead of overflowing */
  .nova-post-reactions,
  .nova-post-actions,
  .nova-comment-actions {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .nova-post-reactions button,
  .nova-comment-actions button {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  /* 7. Comments — tighter padding, readable text */
  .nova-comment {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
  .nova-comment-body,
  .nova-comment-copy {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  .nova-comment-author {
    font-size: 12px !important;
  }

  /* 8. Floating Check-in button — keep it out of the way of post content.
        Pin it bottom-LEFT instead of bottom-right so it doesn't overlap
        the typical Edit/Delete buttons or the right-side metadata. */
  [data-nova-checkin-fab] {
    bottom: 16px !important;
    left: 14px !important;
    right: auto !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    letter-spacing: .14em !important;
    box-shadow: 0 6px 18px rgba(168, 85, 247, .35) !important;
    z-index: 50 !important;
  }

  /* 9. The "Live in Orbit / What's in Orbit Now" header before the feed
        list — make it less giant on mobile */
  .nova-feed h2,
  [data-feed-posts] + h2,
  .nova-feed-heading {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin: 18px 0 12px !important;
  }
}

/* Even tighter at very narrow phones */
@media (max-width: 380px) {
  .nova-feed > #create-post .nova-card-title {
    font-size: 19px !important;
  }
  .nova-post-title {
    font-size: 16px !important;
  }
  .nova-post .nova-pill {
    font-size: 9px !important;
  }
  [data-nova-checkin-fab] {
    padding: 8px 12px !important;
    font-size: 10px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   PROFILE PAGE — mobile polish
   ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {

  /* CRITICAL: Add bottom padding to all pages so the floating Check-in
     button never covers content. ~80px is enough for the pill + some breathing room. */
  body {
    padding-bottom: 88px !important;
  }

  /* Floating Check-in button — back to bottom-RIGHT (more standard FAB
     position) and smaller so it's unobtrusive. The body padding above
     ensures it never overlaps content. */
  [data-nova-checkin-fab] {
    bottom: 14px !important;
    right: 14px !important;
    left: auto !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
    box-shadow: 0 6px 18px rgba(168, 85, 247, .4) !important;
    z-index: 50 !important;
  }

  /* Profile card — tighter padding, better spacing */
  main .nova-card,
  main section.nova-card {
    padding: 20px !important;
    border-radius: 22px !important;
  }

  /* The avatar block on profile.html */
  #profile-avatar-wrap {
    margin: 0 auto 0 0 !important;
  }
  /* Make profile header section flex row that wraps */
  main > section:first-of-type > div:first-of-type {
    gap: 16px !important;
  }
  /* Avatar size on mobile */
  #profile-avatar-wrap .nova-avatar {
    width: 80px !important;
    height: 80px !important;
  }
  #profile-avatar-wrap .nova-avatar-inner {
    font-size: 28px !important;
  }
  /* "Change photo" hint smaller */
  #avatar-upload-hint {
    font-size: 9px !important;
    margin-top: 4px !important;
  }
  /* Profile name + Edit Profile button */
  main h1[data-user-screen-name] {
    font-size: 22px !important;
  }
  #edit-profile-btn {
    padding: 8px 14px !important;
    font-size: 10px !important;
    margin-top: 4px !important;
  }
  /* Stars row sizing */
  #star-display {
    gap: 2px !important;
  }
  #star-display svg {
    width: 22px !important;
    height: 22px !important;
  }
  /* Status / bio text */
  main p,
  main [data-user-status] {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  /* "Member since" caption */
  main .nova-meta,
  main [class*="member-since"] {
    font-size: 11px !important;
    letter-spacing: .14em !important;
  }
  /* Stats row (POSTS / DAYS HERE / CHECK-IN STREAK) — tighter spacing */
  main .nova-stat-grid,
  main [class*="stat-grid"] {
    gap: 12px !important;
    margin-top: 18px !important;
  }
  main .nova-stat-grid > div,
  main [class*="stat"] {
    padding: 10px !important;
  }
  main .nova-stat-grid .nova-stat-value,
  main [class*="stat-value"] {
    font-size: 26px !important;
  }
  main .nova-stat-grid .nova-stat-label,
  main [class*="stat-label"] {
    font-size: 9px !important;
    letter-spacing: .14em !important;
  }

  /* Recovery Counters section header — title + Add Counter button */
  main section .nova-card-title.nova-rainbow {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  #add-counter-btn {
    padding: 8px 14px !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
  }
  /* Individual counter cards */
  #counters-list > div {
    padding: 16px !important;
    gap: 10px !important;
  }
  /* Counter buttons row (RESET / MAKE PRIVATE / DELETE) — wrap nicely */
  #counters-list > div > div:last-child,
  #counters-list .counter-actions {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  #counters-list button {
    padding: 7px 12px !important;
    font-size: 10px !important;
    letter-spacing: .12em !important;
  }

  /* Tarot readings section — already polished but tighten on mobile */
  #tarot-readings-section {
    padding: 20px !important;
  }
  #clear-readings-btn {
    padding: 7px 12px !important;
    font-size: 10px !important;
  }
  /* Bulk action bar — keep readable on small screens */
  #tarot-bulk-bar {
    padding: 10px 14px !important;
    font-size: 12px !important;
  }
  #tarot-bulk-bar button {
    font-size: 9px !important;
    padding: 6px 10px !important;
    letter-spacing: .1em !important;
  }
  /* Individual reading cards inside the readings list */
  #tarot-readings-list > div {
    padding: 16px !important;
    border-radius: 16px !important;
  }
  #tarot-readings-list .reading-action-btn,
  #tarot-readings-list button {
    padding: 6px 10px !important;
    font-size: 10px !important;
    letter-spacing: .1em !important;
  }
  /* Reading text body */
  #tarot-readings-list [style*="font-size:14px"] {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  /* Reading cards thumbnails inside profile reading list — leave as-is.
     The renderReadingCardThumb function already sets width:78px on each
     card wrapper which works fine on mobile. Don't override img sizing. */
}

/* Even tighter on very narrow phones */
@media (max-width: 380px) {
  main h1[data-user-screen-name] {
    font-size: 19px !important;
  }
  main .nova-stat-grid .nova-stat-value {
    font-size: 22px !important;
  }
  [data-nova-checkin-fab] {
    padding: 8px 12px !important;
    font-size: 10px !important;
  }
  body {
    padding-bottom: 78px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   MEMBER PROFILE (member.html) — mobile polish
   ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {

  /* Hero card — tighter padding */
  .member-hero {
    padding: 22px 18px !important;
    border-radius: 20px !important;
    margin-top: 16px !important;
  }

  /* Avatar + info: stack vertically on mobile, center the avatar */
  .member-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    text-align: center !important;
  }
  .member-avatar {
    width: 92px !important;
    height: 92px !important;
    font-size: 38px !important;
    margin: 0 auto !important;
  }
  .member-name {
    font-size: 24px !important;
    margin: 0 0 4px !important;
  }
  .member-bio {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .member-meta {
    font-size: 10px !important;
    letter-spacing: .14em !important;
  }
  .member-eyebrow {
    font-size: 9px !important;
    padding: 5px 12px !important;
    letter-spacing: .22em !important;
    margin-bottom: 12px !important;
  }

  /* Stats row — tighten + center */
  .member-stats {
    gap: 18px !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    justify-content: center !important;
  }
  .member-stat-num {
    font-size: 24px !important;
  }
  .member-stat-label {
    font-size: 10px !important;
    letter-spacing: .12em !important;
  }

  /* Back to Orbit link */
  .member-back {
    font-size: 11px !important;
    letter-spacing: .14em !important;
    margin-top: 12px !important;
  }

  /* Public tarot readings section header */
  #member-readings h2 {
    font-size: 18px !important;
  }
  #member-readings-meta {
    font-size: 10px !important;
  }

  /* Public readings list — match the reading card styles from profile */
  #member-readings-list > div {
    padding: 16px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }
  #member-readings-list h3 {
    font-size: 15px !important;
  }
  #member-readings-list [style*="font-size:14px"],
  #member-readings-list .reading-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  /* Card thumbnails inside member readings — leave the inline 78px sizing alone */

  /* Private profile message */
  .member-private {
    padding: 40px 18px !important;
    font-size: 14px !important;
  }
  .member-private > div:first-child {
    font-size: 38px !important;
  }
  #member-private [style*="font-size:18px"] {
    font-size: 16px !important;
  }
}

/* Even tighter on very narrow phones */
@media (max-width: 380px) {
  .member-hero {
    padding: 18px 14px !important;
  }
  .member-name {
    font-size: 21px !important;
  }
  .member-stat-num {
    font-size: 22px !important;
  }
}


/* ── Orbit posting upgrades: hashtags, fonts, share buttons ── */
.nova-help-text{
  margin-top:7px;
  font-size:12px;
  line-height:1.5;
  color:rgba(255,255,255,.48);
}
.nova-help-text.is-warning{
  color:#ffb38a;
  font-weight:900;
}
.nova-post-title-input{
  font-size:24px !important;
  font-weight:900 !important;
  letter-spacing:.02em;
}
.nova-post-body-input{
  font-size:17px !important;
  line-height:1.65 !important;
}
.nova-post-copy{
  white-space:normal;
}
.nova-hashtag-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.nova-hashtag-chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 11px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  color:#05050a;
  background:linear-gradient(90deg,#ffd21f,#ff2a8c,#178cff);
}
.nova-share-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.nova-share-btn{
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:8px 13px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  font-family:"Trebuchet MS","Arial Black",Arial,sans-serif;
}
.nova-share-btn:hover{
  background:rgba(255,255,255,.11);
}
.nova-font-nova-default{font-family:"Avenir Next","Trebuchet MS",Arial,sans-serif;}
.nova-font-lucky-guy{font-family:"Lucky Guy","Trebuchet MS",Arial,sans-serif;}
.nova-font-clean-bold{font-family:"Arial Black","Trebuchet MS",Arial,sans-serif;}
.nova-font-soft-serif{font-family:Georgia,"Times New Roman",serif;}
.nova-font-typewriter{font-family:"Courier New",monospace;}
.nova-font-brush-style{font-family:"Brush Script MT","Segoe Script",cursive;}
.nova-font-brush-style .nova-post-title{font-size:38px;}
.nova-font-handwritten{font-family:"Segoe Script","Bradley Hand","Comic Sans MS",cursive;}
.nova-font-modern-sans{font-family:"Helvetica Neue","Avenir Next",Arial,sans-serif;letter-spacing:.006em;}
.nova-font-cosmic-glow{font-family:"Trebuchet MS",Arial,sans-serif;color:#fff;text-shadow:0 0 6px rgba(168,85,247,.85),0 0 16px rgba(0,217,255,.55),0 0 30px rgba(168,85,247,.35);}
@media (max-width:720px){
  .nova-post-title-input{font-size:20px !important;}
  .nova-font-brush-style .nova-post-title{font-size:30px;}
}

/* ── Post media carousel ─────────────────────────────────────────────── */
.nova-media-single{margin-top:14px;}
.nova-carousel{position:relative;margin-top:14px;}
.nova-carousel-track{
  display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  border-radius:16px;background:#000;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.nova-carousel-track::-webkit-scrollbar{display:none;}
.nova-carousel-slide{
  flex:0 0 100%;scroll-snap-align:center;
  display:flex;align-items:center;justify-content:center;
}
.nova-carousel-slide img,
.nova-carousel-slide video{
  width:100%;max-height:520px;object-fit:contain;background:#000;display:block;
}
.nova-carousel-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border-radius:50%;
  border:1px solid rgba(168,85,247,.5);background:rgba(8,6,18,.7);
  color:#fff;font-size:24px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  backdrop-filter:blur(4px);box-shadow:0 0 14px rgba(168,85,247,.35);z-index:2;
  font-family:"Trebuchet MS",Arial,sans-serif;
}
.nova-carousel-arrow:hover{background:rgba(168,85,247,.32);}
.nova-carousel-prev{left:10px;}
.nova-carousel-next{right:10px;}
.nova-carousel-dots{display:flex;gap:7px;justify-content:center;margin-top:10px;flex-wrap:wrap;}
.nova-carousel-dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(168,85,247,.95);opacity:.4;transition:opacity .2s;
}

/* Nova Hub requested clean navigation */
.nova-hub-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-width:0;}
.nova-hub-nav .rb-outline,.nova-hub-nav .rb-fill{white-space:nowrap;padding:10px 18px;font-size:11px;letter-spacing:.18em;}
.nova-tools-menu{position:relative;display:inline-flex;align-items:center;}
.nova-tools-dropdown{display:none;position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);min-width:210px;padding:10px;border-radius:18px;background:rgba(7,7,22,.98);border:1px solid rgba(255,255,255,.14);box-shadow:0 0 26px rgba(168,85,247,.35),0 0 34px rgba(0,217,255,.16);z-index:9999;}
.nova-tools-menu:hover .nova-tools-dropdown,.nova-tools-menu:focus-within .nova-tools-dropdown{display:grid;gap:8px;}
.nova-tools-dropdown a{display:block;text-decoration:none;color:#f7f7ff;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:900;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10);}
.nova-tools-dropdown a:hover{background:linear-gradient(90deg,rgba(255,42,140,.25),rgba(0,216,255,.18));}
@media (max-width:900px){.nova-hub-nav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;width:100%;padding:8px 0;scrollbar-width:thin;}.nova-hub-nav .rb-outline,.nova-hub-nav .rb-fill{padding:9px 14px;font-size:10px;}.nova-tools-dropdown{left:auto;right:0;transform:none;}}


/* PASS 2: shared Nova Hub page navigation and tool-page polish */
.nova-clean-header .nova-header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.nova-hub-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
}
.nova-tools-menu{position:relative;display:inline-flex;align-items:center;}
.nova-tools-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:230px;
  padding:10px;
  border-radius:18px;
  background:rgba(6,6,11,.96);
  border:1px solid rgba(168,85,247,.45);
  box-shadow:0 18px 45px rgba(0,0,0,.45),0 0 22px rgba(0,217,255,.18);
  backdrop-filter:blur(18px);
  display:none;
  z-index:9999;
}
.nova-tools-menu:hover .nova-tools-dropdown,
.nova-tools-menu:focus-within .nova-tools-dropdown{display:grid;gap:8px;}
.nova-tools-dropdown a{
  display:block !important;
  padding:11px 13px !important;
  border-radius:14px !important;
  color:rgba(247,247,255,.92) !important;
  text-decoration:none !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  cursor:pointer;
  white-space:nowrap;
  font-family:"Trebuchet MS","Arial Black",Arial,sans-serif;
}
.nova-tools-dropdown a:hover{background:rgba(255,255,255,.10) !important;}
.nova-tool-page-body{margin:0;background:#070716;color:#f7f7ff;}
.nova-tool-page-wrap{min-height:100vh;background:radial-gradient(circle at 18% 12%,rgba(255,42,140,.18),transparent 24%),radial-gradient(circle at 82% 16%,rgba(0,216,255,.12),transparent 30%),linear-gradient(180deg,#070716,#050513 72%,#070716);}
.nova-page-card{
  width:min(1100px,92vw);
  margin:34px auto 80px;
  padding:34px;
  border-radius:34px;
  background:radial-gradient(circle at 18% 18%,rgba(255,42,140,.12),transparent 34%),radial-gradient(circle at 86% 28%,rgba(0,216,255,.10),transparent 36%),rgba(16,19,51,.74);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 0 44px rgba(168,85,247,.12),0 0 44px rgba(0,217,255,.08);
}
@media(max-width:900px){
  .nova-clean-header .nova-header-inner{align-items:flex-start;flex-direction:column;padding-top:12px;padding-bottom:12px;}
  .nova-hub-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:6px;}
  .nova-tools-dropdown{left:auto;right:0;}
}


/* Nova pass 3: restore login/auth area in header */
.nova-auth-actions .rb-outline,.nova-auth-actions .rb-fill{white-space:nowrap;}
@media (max-width: 980px){.nova-header-inner{justify-content:center!important}.nova-auth-actions{justify-content:center!important;width:100%;}.nova-hub-nav{order:3;width:100%;}}


/* PASS 4 RESPONSIVE + HUB PAGE POLISH */
html{scroll-behavior:smooth;}
.nova-clean-header{position:relative;z-index:50;}
.nova-clean-header .nova-header-inner{max-width:1280px;margin:0 auto;padding:10px 18px;}
.nova-hub-nav,.nova-auth-actions{min-width:0;}
.nova-hub-nav a,.nova-hub-nav button,.nova-auth-actions a,.nova-auth-actions button{white-space:nowrap;}
@media (max-width: 1180px){
  .nova-clean-header .nova-header-inner{justify-content:center!important;}
  .nova-brand{flex-basis:100%;justify-content:center!important;}
  .nova-hub-nav{order:2;flex-basis:100%;overflow-x:auto;flex-wrap:nowrap!important;justify-content:flex-start!important;padding:8px 2px 10px;scrollbar-width:thin;}
  .nova-auth-actions{order:3;flex-basis:100%;justify-content:center!important;}
}
@media (max-width: 760px){
  .nova-clean-header .nova-header-inner{padding:8px 12px;gap:8px!important;}
  .nova-brand img{width:54px!important;height:auto!important;}
  .nova-brand-title{font-size:28px!important;line-height:1!important;}
  .nova-brand-sub{font-size:10px!important;letter-spacing:.18em!important;}
  .rb-outline,.rb-fill{min-height:38px!important;padding:9px 14px!important;font-size:10px!important;letter-spacing:.14em!important;}
  .nova-pill{font-size:10px!important;padding:9px 12px!important;}
  .nova-tools-dropdown{left:auto!important;right:0!important;min-width:210px!important;}
  main,.nova-wrap{max-width:100%!important;}
}
@media (max-width: 520px){
  .nova-auth-actions{gap:6px!important;}
  .nova-hub-nav{gap:6px!important;}
  .rb-outline,.rb-fill{padding:8px 12px!important;font-size:9px!important;}
}


/* PASS 6: Nova Tools dropdown click/touch fix */
.nova-tools-menu { position: relative; display: inline-flex !important; align-items: center; }
.nova-tools-menu > button { cursor: pointer; }
.nova-tools-menu.open .nova-tools-dropdown { display: grid !important; gap: 8px; }
.nova-tools-dropdown { z-index: 99999 !important; }
@media (max-width: 720px) {
  .nova-hub-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap !important; justify-content: flex-start !important; padding: 6px 0 10px; -webkit-overflow-scrolling: touch; }
  .nova-tools-menu { display: inline-flex !important; flex: 0 0 auto; }
  .nova-tools-dropdown { left: auto !important; right: 0 !important; min-width: 220px !important; }
}


/* ════════════════════════════════════════════════════════════════════
   NOVA UNIFIED BUTTON SYSTEM  (added: button cleanup pass)
   Consistent action rows + compact "More" / dropdown menus.
   Does not remove any button — only standardises sizing, spacing,
   grouping and mobile behaviour. Keeps the dark cosmic / neon look.
   ════════════════════════════════════════════════════════════════════ */

/* Action row — groups related buttons, controlled wrapping (no ugly
   multi-row sprawl; stays on one line and aligns right where wanted). */
.nova-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.nova-actions-end{ justify-content:flex-end; }
.nova-actions-tight{ gap:6px; }

/* Small action / icon buttons — edit, report, share-item, tarot tools,
   counter controls. One consistent pill across the whole Hub. */
.nova-action-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:999px;
  padding:7px 13px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  color:rgba(255,255,255,.80);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  font-family:"Trebuchet MS","Arial Black",Arial,sans-serif;
  transition:transform .15s ease, background .15s ease,
             border-color .15s ease, box-shadow .15s ease;
}
.nova-action-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.11);
  box-shadow:0 0 14px rgba(168,85,247,.28);
}
/* Accent (purple) variant for primary-ish small actions (Edit, Save reading…) */
.nova-action-btn-accent{
  border-color:rgba(168,85,247,.36);
  color:rgba(168,85,247,.95);
  background:rgba(168,85,247,.08);
}
.nova-action-btn-accent:hover{ box-shadow:0 0 14px rgba(168,85,247,.40); }
/* Mint variant (positive / save) */
.nova-action-btn-mint{
  border-color:rgba(92,255,178,.32);
  color:#5cffb2;
  background:rgba(92,255,178,.08);
}
.nova-action-btn-mint:hover{ box-shadow:0 0 14px rgba(92,255,178,.34); }
/* Cyan variant (info / print / download) */
.nova-action-btn-cyan{
  border-color:rgba(0,217,255,.32);
  color:#00d9ff;
  background:rgba(0,217,255,.08);
}
.nova-action-btn-cyan:hover{ box-shadow:0 0 14px rgba(0,217,255,.32); }
/* Danger variant — delete / remove. Visually distinct. */
.nova-action-btn-danger{
  border-color:rgba(251,113,133,.36);
  color:rgba(251,113,133,.95);
  background:rgba(251,113,133,.08);
}
.nova-action-btn-danger:hover{ box-shadow:0 0 14px rgba(251,113,133,.36); }

/* ── Compact dropdown menu (Share Post / Post Options / More) ───────── */
.nova-menu{ position:relative; display:inline-flex; }
.nova-menu-toggle .nova-menu-caret{
  font-size:9px;
  opacity:.7;
  margin-left:2px;
}
.nova-menu-panel{
  position:absolute;
  z-index:60;
  top:calc(100% + 8px);
  right:0;
  min-width:200px;
  max-width:min(78vw,260px);
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:8px;
  border-radius:16px;
  border:1px solid rgba(168,85,247,.32);
  background:linear-gradient(180deg,rgba(20,12,32,.98),rgba(8,6,18,.99));
  box-shadow:0 14px 44px rgba(0,0,0,.58), 0 0 24px rgba(168,85,247,.24);
}
.nova-menu-panel[hidden]{ display:none; }
.nova-menu-left .nova-menu-panel{ right:auto; left:0; }

/* Items inside a menu panel become calm full-width rows regardless of the
   classes the original buttons carried (so handlers/data-attrs stay intact). */
.nova-menu-panel > button,
.nova-menu-panel > a{
  display:flex !important;
  align-items:center;
  gap:9px;
  width:100%;
  text-align:left;
  justify-content:flex-start !important;
  border:1px solid transparent !important;
  background:transparent !important;
  border-radius:11px !important;
  padding:10px 12px !important;
  margin:0 !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  color:rgba(255,255,255,.84) !important;
  text-decoration:none !important;
  cursor:pointer;
  transition:background .14s ease, color .14s ease;
  animation:none !important;
}
.nova-menu-panel > button:hover,
.nova-menu-panel > a:hover{
  transform:none !important;
  background:rgba(168,85,247,.16) !important;
  color:#fff !important;
  box-shadow:none !important;
}
.nova-menu-panel > .nova-menu-danger{ color:rgba(251,113,133,.92) !important; }
.nova-menu-panel > .nova-menu-danger:hover{ background:rgba(251,113,133,.18) !important; color:#ffe3e8 !important; }
.nova-menu-sep{
  height:1px;
  margin:4px 6px;
  background:rgba(255,255,255,.10);
}
.nova-menu-label{
  padding:6px 12px 2px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(255,255,255,.42);
}

/* ── Mobile: action rows stack/scroll cleanly, menus never overflow ── */
@media (max-width:560px){
  .nova-actions{ gap:6px; }
  .nova-action-btn{ padding:8px 12px; font-size:10px; }
  /* Dropdown panels stay on-screen and finger-friendly */
  .nova-menu-panel{
    right:0;
    left:auto;
    min-width:180px;
    max-width:min(86vw,260px);
  }
  .nova-menu-left .nova-menu-panel{ left:0; right:auto; }
  .nova-menu-panel > button,
  .nova-menu-panel > a{ padding:12px 14px !important; }
}

/* Header nav polish — keep wrapped rows aligned & evenly spaced on desktop
   (mobile already collapses into the burger drawer / horizontal scroll). */
@media (min-width:901px){
  .nova-hub-nav{ row-gap:8px; align-items:center; }
  .nova-auth-actions{ row-gap:8px; }
}
