/* Synapse Fit — theme */
:root {
  --bg: #0a0e14;
  --bg-2: #0f141d;
  --card: #131a25;
  --card-2: #18202e;
  --line: rgba(148, 180, 220, 0.14);
  --text: #e9eef5;
  --muted: #8fa1b5;
  --blue: #3ea6ff;
  --teal: #2ee6c8;
  --blue-dim: rgba(62, 166, 255, 0.14);
  --teal-dim: rgba(46, 230, 200, 0.12);
  --danger: #ff6b7a;
  --glow-blue: 0 0 24px rgba(62, 166, 255, 0.35);
  --glow-teal: 0 0 24px rgba(46, 230, 200, 0.3);
  --radius: 14px;
  --fs: 16px;
}
:root.ts-lg { --fs: 18px; }
:root.ts-xl { --fs: 20px; }
:root.hc {
  --bg: #000;
  --bg-2: #06090d;
  --card: #0a0f16;
  --card-2: #101724;
  --line: rgba(180, 210, 245, 0.42);
  --text: #ffffff;
  --muted: #c2d0de;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--fs); }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(62,166,255,0.08), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(46,230,200,0.06), transparent 60%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
header.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--text);
}
.brand .bolt {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: var(--glow-blue);
  color: #05131f; font-size: 1rem;
}
nav.mainnav { display: flex; gap: 0.15rem; flex-wrap: wrap; }
nav.mainnav a {
  padding: 0.42rem 0.72rem; border-radius: 9px; color: var(--muted);
  font-size: 0.92rem; font-weight: 500;
}
nav.mainnav a:hover { color: var(--text); background: var(--card); }
nav.mainnav a.active { color: var(--text); background: var(--blue-dim); box-shadow: inset 0 0 0 1px rgba(62,166,255,0.35); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.streak-chip {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 600;
}
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center; font-size: 0.95rem;
}
.icon-btn:hover { border-color: var(--blue); box-shadow: var(--glow-blue); }

/* ---------- layout ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 1.4rem 1rem 4rem; }
.page-title { font-size: 1.55rem; font-weight: 700; margin-bottom: 0.2rem; }
.page-sub { color: var(--muted); margin-bottom: 1.4rem; max-width: 60ch; }
.grid { display: grid; gap: 1rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.card .muted { color: var(--muted); font-size: 0.92rem; }
.card.glow-hover { transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s; }
.card.glow-hover:hover { border-color: rgba(62,166,255,0.45); box-shadow: var(--glow-blue); transform: translateY(-2px); }

.hero {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem;
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(46,230,200,0.12), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
  margin-bottom: 1.2rem;
}
.hero h2 { font-size: 1.45rem; }
.hero p { color: var(--muted); max-width: 62ch; }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.6rem 1.1rem; border-radius: 11px;
  border: 1px solid var(--line); background: var(--card-2); color: var(--text);
  font-weight: 600; font-size: 0.95rem;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.btn:hover { border-color: var(--blue); }
.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #05131f; border: none; box-shadow: var(--glow-blue);
}
.btn.primary:hover { box-shadow: 0 0 34px rgba(62,166,255,0.55); }
.btn.big { padding: 0.85rem 1.6rem; font-size: 1.05rem; border-radius: 13px; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(255,107,122,0.4); color: var(--danger); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.chip-row { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.chip {
  padding: 0.38rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font-size: 0.88rem; font-weight: 500;
}
.chip:hover { color: var(--text); border-color: var(--blue); }
.chip.on {
  color: #05131f; border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 600; box-shadow: var(--glow-teal);
}

label.field { display: block; margin-bottom: 0.9rem; }
label.field span { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.3rem; font-weight: 600; }
input[type="text"], select, textarea {
  width: 100%; padding: 0.55rem 0.75rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
}
input[type="range"] { width: 100%; accent-color: var(--teal); }
textarea { resize: vertical; min-height: 70px; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.seg button { padding: 0.5rem 0.95rem; background: var(--card); border: none; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--blue-dim); color: var(--text); box-shadow: inset 0 0 0 1px rgba(62,166,255,0.4); }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; border-radius: 999px; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line); transition: 0.2s;
}
.switch .slider::before {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  left: 3px; top: 3px; background: var(--muted); transition: 0.2s;
}
.switch input:checked + .slider { background: var(--teal-dim); border-color: var(--teal); }
.switch input:checked + .slider::before { transform: translateX(20px); background: var(--teal); box-shadow: var(--glow-teal); }

/* ---------- tags & meta ---------- */
.tag {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--blue-dim); color: var(--blue);
}
.tag.teal { background: var(--teal-dim); color: var(--teal); }
.meta { color: var(--muted); font-size: 0.85rem; }

.progress { height: 7px; border-radius: 999px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.progress > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width 0.4s; }

/* ---------- stats & tracker ---------- */
.stat { text-align: center; padding: 1rem 0.6rem; }
.stat .num { font-size: 1.9rem; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.heatgrid { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; }
.heatgrid .cell {
  aspect-ratio: 1; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--line);
}
.heatgrid .cell.l1 { background: rgba(46,230,200,0.25); border-color: rgba(46,230,200,0.3); }
.heatgrid .cell.l2 { background: rgba(46,230,200,0.55); border-color: rgba(46,230,200,0.5); }
.heatgrid .cell.l3 { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 8px rgba(46,230,200,0.5); }
.heatgrid .cell.today { outline: 2px solid var(--blue); outline-offset: 1px; }

.badge-tile { text-align: center; padding: 0.9rem 0.5rem; opacity: 0.35; filter: grayscale(0.8); }
.badge-tile.earned { opacity: 1; filter: none; border-color: rgba(46,230,200,0.4); box-shadow: var(--glow-teal); }
.badge-tile .icon { font-size: 1.7rem; }
.badge-tile .name { font-weight: 700; font-size: 0.9rem; margin-top: 0.25rem; }
.badge-tile .desc { color: var(--muted); font-size: 0.78rem; }

.session-row {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.session-row:last-child { border-bottom: none; }
.session-row .ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--blue-dim); }
.dots { color: var(--teal); letter-spacing: 2px; font-size: 0.8rem; }

/* ---------- player ---------- */
.player-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.ring-box { position: relative; width: 240px; height: 240px; margin: 1.2rem auto; }
.ring-box svg { transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--bg-2); stroke-width: 10; }
.ring-fill { fill: none; stroke: url(#ringGrad); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 0.5s linear; filter: drop-shadow(0 0 8px rgba(46,230,200,0.6)); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-center .time { font-size: 2.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ring-center .phase { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; }
.cue-card {
  min-height: 4.2em; display: flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.2rem; font-size: 1.08rem; color: var(--text);
}
.breath-orb {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 0.8rem;
  background: radial-gradient(circle at 35% 35%, rgba(46,230,200,0.9), rgba(62,166,255,0.5));
  box-shadow: var(--glow-teal);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(0.75); opacity: 0.7; } 40% { transform: scale(1.15); opacity: 1; } }

/* ---------- heatmap ---------- */
.heatmap-layout { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 760px) { .heatmap-layout { grid-template-columns: 1fr; } }
.body-svg { display: block; margin: 0 auto; width: auto; height: min(64vh, 440px); max-width: 100%; }
.body-svg .muscle { fill: rgba(62,166,255,0.18); stroke: rgba(62,166,255,0.4); stroke-width: 1; cursor: pointer; transition: fill 0.25s, filter 0.25s; }
.body-svg .muscle:hover { fill: rgba(62,166,255,0.45); }
.body-svg .muscle.hot { fill: url(#muscleGrad); stroke: var(--teal); stroke-width: 1.2; filter: drop-shadow(0 0 8px rgba(46,230,200,0.85)); }
.body-svg .silhouette { fill: url(#silGrad); stroke: rgba(148,180,220,0.22); stroke-width: 1.2; }
.body-svg .signal-line { stroke: var(--teal); stroke-width: 1.6; stroke-dasharray: 5 6; fill: none; opacity: 0.9; animation: signalflow 1.2s linear infinite; }
@keyframes signalflow { to { stroke-dashoffset: -22; } }
.body-svg .brain-dot { fill: var(--blue); filter: drop-shadow(0 0 6px rgba(62,166,255,0.9)); }

/* ---------- steps / accordion ---------- */
.week-row { border: 1px solid var(--line); border-radius: 11px; padding: 0.8rem 1rem; margin-bottom: 0.55rem; background: var(--bg-2); }
.week-row b { color: var(--teal); }
.step-list { counter-reset: step; }
.step-item { display: flex; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.step-item:last-child { border-bottom: none; }
.step-item .n {
  counter-increment: step; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
  background: var(--blue-dim); color: var(--blue);
}
.step-item.active .n { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #05131f; box-shadow: var(--glow-teal); }
.step-item.done { opacity: 0.5; }

/* ---------- modal / onboarding ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 8, 12, 0.8); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  overflow-y: auto;
}
.modal {
  width: min(620px, 100%); max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid rgba(62,166,255,0.3); border-radius: 18px;
  padding: 1.8rem; box-shadow: 0 0 60px rgba(62,166,255,0.15);
}
.modal h2 { margin-bottom: 0.4rem; }
.modal .steps-dots { display: flex; gap: 6px; margin-bottom: 1.1rem; }
.modal .steps-dots i { width: 26px; height: 5px; border-radius: 99px; background: var(--bg-2); }
.modal .steps-dots i.on { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.modal-actions { display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 1.4rem; }

.toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  background: var(--card-2); border: 1px solid rgba(46,230,200,0.5);
  border-radius: 12px; padding: 0.7rem 1.2rem; z-index: 200;
  box-shadow: var(--glow-teal); font-weight: 600;
  animation: toastin 0.25s ease-out;
}
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- misc ---------- */
.row { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.1rem; } .mt-3 { margin-top: 1.7rem; }
.mb-1 { margin-bottom: 0.6rem; } .mb-2 { margin-bottom: 1.1rem; }
.fav-btn { background: none; border: none; font-size: 1.25rem; color: var(--muted); }
.fav-btn.on { color: #ffd76a; text-shadow: 0 0 12px rgba(255, 215, 106, 0.7); }
.quote { font-style: italic; color: var(--muted); border-left: 3px solid var(--teal); padding-left: 0.9rem; }
.article-body p { margin-bottom: 0.95rem; color: #cdd8e3; max-width: 68ch; line-height: 1.7; }
:root.hc .article-body p { color: var(--text); }
.disclaimer { font-size: 0.83rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; }
footer.site { text-align: center; color: var(--muted); font-size: 0.82rem; padding: 1.5rem 1rem 2.5rem; border-top: 1px solid var(--line); }

/* ---------- upgrade chip (header) ---------- */
.upgrade-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; color: #05131f;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: var(--glow-blue); white-space: nowrap;
}
.upgrade-chip:hover { box-shadow: 0 0 26px rgba(62, 166, 255, 0.6); transform: translateY(-1px); }

/* ---------- pricing ---------- */
.pricing-head { text-align: center; max-width: 640px; margin: 0.5rem auto 2.2rem; }
.pricing-head .tag { margin-bottom: 0.8rem; }
.pricing-head h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.2; margin-bottom: 0.6rem; }
.pricing-head p { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }

.price-grid {
  display: grid; gap: 1.2rem; max-width: 980px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch;
}
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.9rem 1.6rem 1.6rem; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  opacity: 0; transform: translateY(16px); animation: cardIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.price-card:nth-child(1) { animation-delay: 0.04s; }
.price-card:nth-child(2) { animation-delay: 0.12s; }
.price-card:nth-child(3) { animation-delay: 0.2s; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(62, 166, 255, 0.45); box-shadow: var(--glow-blue); }
.price-card.featured {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(62, 166, 255, 0.16), rgba(46, 230, 200, 0.05)), var(--card);
  box-shadow: 0 0 0 1.5px rgba(46, 230, 200, 0.55), 0 24px 55px -24px rgba(46, 230, 200, 0.5);
}
.price-card.featured:hover { transform: translateY(-8px); box-shadow: 0 0 0 1.5px rgba(46, 230, 200, 0.7), 0 30px 60px -22px rgba(46, 230, 200, 0.6); }
@keyframes cardIn { to { opacity: 1; transform: none; } }

.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #05131f;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.32rem 0.85rem; border-radius: 999px; box-shadow: var(--glow-teal); white-space: nowrap;
}
.price-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: var(--blue-dim); margin-bottom: 1rem; }
.featured .price-ico { background: var(--teal-dim); }
.price-name { font-size: 1.18rem; font-weight: 700; }
.price-tag-line { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.55rem; }
.price-amount .now { font-size: 2.7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount .was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; font-weight: 600; }
.price-save { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 700; color: var(--teal); background: var(--teal-dim); padding: 0.18rem 0.6rem; border-radius: 999px; margin-top: 0.55rem; }
.price-renew { color: var(--muted); font-size: 0.83rem; margin: 0.7rem 0 1.3rem; }
.price-feats { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-direction: column; gap: 0.65rem; }
.price-feats li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: #cdd8e3; line-height: 1.5; }
:root.hc .price-feats li { color: var(--text); }
.price-feats li .ck { flex: none; font-weight: 800; color: var(--teal); }
.price-feats li.off { color: var(--muted); }
.price-feats li.off .ck { color: var(--danger); opacity: 0.8; }
.price-card .price-cta { margin-top: auto; width: 100%; }
.price-fine { text-align: center; color: var(--muted); font-size: 0.8rem; margin: 1.8rem auto 0; max-width: 580px; line-height: 1.6; }
.price-skip { display: block; text-align: center; margin-top: 1.1rem; color: var(--muted); font-weight: 600; }

.paywall-modal { width: min(980px, 100%); }
.paywall-modal .price-card { animation: none; opacity: 1; transform: none; }

/* ---------- auth screen ---------- */
.hidden { display: none !important; }
.auth-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  max-width: 980px; margin: 2rem auto; min-height: 70vh;
}
@media (max-width: 800px) { .auth-wrap { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0.5rem; min-height: 0; } .auth-hero { text-align: center; } }
.auth-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.15; margin: 0.7rem 0; }
.auth-hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 42ch; }
.auth-hero .auth-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: 0.7rem; }
.auth-hero .auth-points li { display: flex; align-items: center; gap: 0.6rem; color: #cdd8e3; font-weight: 500; }
@media (max-width: 800px) { .auth-hero .auth-points { display: none; } }
.auth-card { max-width: 420px; width: 100%; margin: 0 auto; padding: 1.6rem; box-shadow: 0 24px 60px -30px rgba(62, 166, 255, 0.5); }
.auth-tabs { width: 100%; }
.auth-tabs button { flex: 1; }
.auth-error { color: var(--danger); font-size: 0.88rem; min-height: 1.1em; margin: 0.2rem 0 0.7rem; line-height: 1.4; }
.auth-error:empty { margin: 0; }
.auth-switch a { font-weight: 600; }
.auth-fine { line-height: 1.5; }

.acct-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #05131f;
  background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: var(--glow-blue);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 700px) {
  nav.mainnav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.2rem; }
  nav.mainnav a { white-space: nowrap; }
  .ring-box { width: 200px; height: 200px; }
}
