:root {
  --textStrong: #ffffff;
}

:root[data-theme="light"] {
  --textStrong: #000000;
}


:root {
  --bg0: #070a12;
  --bg1: #0b1020;

  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);

  --border: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);

  --accent: #5a7cff;
  --accent2: #00d1ff;

  --danger: #ff4d6d;

  --shadow: 0 12px 40px rgba(0,0,0,0.45);
  --radius: 18px;

  --inputBg: rgba(255,255,255,0.08);
  --inputText: rgba(255,255,255,0.92);
  --inputBorder: rgba(255,255,255,0.16);

  --selectMenuBg: #0e1430;
  --selectMenuText: rgba(255,255,255,0.92);

  --topbarBg: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.10));
  --topbarBlur: 14px;
  --panelBg: linear-gradient(180deg, var(--card2), var(--card));
  --calloutBg: rgba(255,255,255,0.05);
  --noteBg: rgba(0,0,0,0.12);
  --tableBg: rgba(0,0,0,0.10);
  --kbdBg: rgba(0,0,0,0.18);
  --primaryText: #061022;
}

:root[data-theme="light"] {
  --bg0: #f6f8ff;
  --bg1: #eef3ff;

  --card: rgba(255,255,255,0.70);
  --card2: rgba(255,255,255,0.78);

  --border: rgba(20,30,60,0.10);
  --text: rgba(20,30,60,0.92);

  --accent: #2f60ff;
  --accent2: #00a8d6;

  --danger: #b4142c;

  --shadow: 0 18px 50px rgba(20,30,60,0.10);

  --inputBg: rgba(255,255,255,0.82);
  --inputText: rgba(20,30,60,0.92);
  --inputBorder: rgba(20,30,60,0.14);

  --selectMenuBg: #ffffff;
  --selectMenuText: rgba(20,30,60,0.92);

  --topbarBg: rgba(255,255,255,0.62);
  --topbarBlur: 16px;
  --panelBg: rgba(255,255,255,0.70);
  --calloutBg: rgba(255,255,255,0.72);
  --noteBg: rgba(255,255,255,0.70);
  --tableBg: rgba(255,255,255,0.72);
  --kbdBg: rgba(20,30,60,0.06);
  --primaryText: #ffffff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1100px 800px at 10% 10%, rgba(90,124,255,0.20), transparent 55%),
    radial-gradient(1000px 700px at 85% 25%, rgba(0,209,255,0.16), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

:root[data-theme="light"] body {
  background:
    radial-gradient(900px 650px at 12% 8%, rgba(47,96,255,0.14), transparent 60%),
    radial-gradient(900px 650px at 88% 18%, rgba(0,168,214,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

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

hr.sep {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 18px 0;
  opacity: 0.9;
}

.page { max-width: 1100px; margin: 26px auto; padding: 0 18px 40px; }

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

.brand { display: flex; align-items: center; gap: 14px; }
.brand-link { display:flex; align-items:center; gap: 14px; }

.brand-mark {
  width: 54px;
  height: 54px;
  background-image: url("./logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 14px;
}

.brand-title { font-weight: 820; letter-spacing: 0.2px; }
.brand-subtitle { font-size: 13px; color: var(--muted); margin-top: 2px; }

.topbar-actions { display:flex; align-items:center; gap: 10px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
}

.theme-ico { opacity: 0.9; }
.theme-label { font-weight: 720; font-size: 13px; opacity: 0.9; }

.user-menu { position: relative; }

.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.user-email-short { font-weight: 720; font-size: 13px; }
.user-avatar { opacity: 0.95; }
.chev { opacity: 0.75; }

.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: rgba(10,14,30,0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

:root[data-theme="light"] .dropdown { background: rgba(255,255,255,0.92); }

.dropdown-item {
  display:block;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text);
}

.dropdown-item:hover { background: rgba(255,255,255,0.07); }
:root[data-theme="light"] .dropdown-item:hover { background: rgba(20,30,60,0.06); }

.dropdown-item.danger { color: #fff; background: rgba(255,77,109,0.28); }
.dropdown-item.danger:hover { background: rgba(255,77,109,0.34); }

.hidden { display: none !important; }

.card {
  border-radius: var(--radius);
  background: var(--panelBg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px;
}

.title {
  font-size: 44px;
  margin: 0;
  letter-spacing: -0.8px;
}

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

.callout {
  margin-top: 14px;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--calloutBg);
}

.callout-title { font-weight: 860; margin-bottom: 6px; }
.callout-text {
  color: var(--muted);
  line-height: 1.45;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--noteBg);
  color: var(--muted);
}

.reqStar { color: var(--danger); font-weight: 900; margin-left: 4px; }
.label { font-weight: 850; margin: 12px 0 8px; }

.input, select.input, textarea.input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--inputBorder);
  background: var(--inputBg);
  color: var(--inputText);
  outline: none;
}

.input:focus, select.input:focus {
  border-color: rgba(90,124,255,0.55);
  box-shadow: 0 0 0 4px rgba(90,124,255,0.16);
}

select.input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

select.input option {
  background: var(--selectMenuBg);
  color: var(--selectMenuText);
}

select.input option:checked,
select.input option:hover {
  background: rgba(90,124,255,0.25);
  color: var(--selectMenuText);
}

.button, .btn {
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 820;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button.primary, .btn.primary {
  background: linear-gradient(135deg, rgba(90,124,255,0.95), rgba(0,209,255,0.75));
  border-color: rgba(90,124,255,0.45);
  color: var(--primaryText);
}

.btn.danger {
  background: rgba(255,77,109,0.22);
  border-color: rgba(255,77,109,0.35);
  color: #fff;
}

.button:disabled, .btn:disabled, .input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fieldRow2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.fieldRow3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .fieldRow2, .fieldRow3 { grid-template-columns: 1fr; }
  .title { font-size: 36px; }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
}

.tab.active {
  background: rgba(90,124,255,0.22);
  border-color: rgba(90,124,255,0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
}

.kbd {
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--kbdBg);
}

.tableWrap {
  margin-top: 14px;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--tableBg);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th, td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
}

th { font-weight: 900; color: rgba(255,255,255,0.88); }
:root[data-theme="light"] th { color: rgba(20,30,60,0.86); }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .grid2 { grid-template-columns: 1fr; }
}

/* Landing cards (home page) */
.landingCard {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.landingTitle {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.landingText {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 18px;
}

.landingText-spacer {
  min-height: 48px;
}

.landingCard::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0.55;
}

.landingCard-student {
  background: linear-gradient(180deg, rgba(124,92,255,0.22), rgba(15,23,51,0.65));
}

.landingCard-student::before {
  background: radial-gradient(600px 320px at 20% 10%, rgba(124,92,255,0.35), transparent 60%);
}

.landingCard-admin {
  background: linear-gradient(180deg, rgba(0,212,255,0.20), rgba(15,23,51,0.65));
}

.landingCard-admin::before {
  background: radial-gradient(600px 320px at 20% 10%, rgba(0,212,255,0.30), transparent 60%);
}

/* Light mode landing highlights */
:root[data-theme="light"] .landingCard {
  background: rgba(255,255,255,0.78);
}

:root[data-theme="light"] .landingCard::before {
  opacity: 0.9;
}

:root[data-theme="light"] .landingCard-student::before {
  background:
    radial-gradient(700px 360px at 18% 12%, rgba(47,96,255,0.22), transparent 60%),
    radial-gradient(700px 360px at 85% 85%, rgba(47,96,255,0.10), transparent 60%);
}

:root[data-theme="light"] .landingCard-admin::before {
  background:
    radial-gradient(700px 360px at 18% 12%, rgba(0,168,214,0.20), transparent 60%),
    radial-gradient(700px 360px at 85% 85%, rgba(0,168,214,0.10), transparent 60%);
}

/* Modal popup */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.admin-modal {
  background: #fff;
  max-width: 460px;
  padding: 22px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: rgba(20,30,60,0.92);
}

.admin-modal h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.admin-modal p {
  margin: 0 0 18px;
  color: rgba(20,30,60,0.72);
  line-height: 1.4;
}

.admin-modal .row {
  display: flex;
  justify-content: flex-end;
}

.admin-modal button {
  border: 0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  background: #111;
  color: #fff;
}

/* =========================================================
   CYBERPUNK NEON (DARK + LIGHT) + PARTICLES + STACKING
========================================================= */

:root{
  --neonPink: #ff2bd6;
  --neonCyan: #39f5ff;
  --neonLime: #19ffa3;

  --accent: var(--neonCyan);
  --accent2: var(--neonPink);
}

:root[data-theme="light"]{
  --neonPink: #ff2bd6;
  --neonCyan: #00c6ff;
  --neonLime: #17d98a;

  --accent: var(--neonCyan);
  --accent2: var(--neonPink);
}

/* Replace page background */
body{
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background:
    radial-gradient(1100px 800px at 15% 20%, rgba(255,43,214,0.22), transparent 60%),
    radial-gradient(1000px 700px at 85% 30%, rgba(57,245,255,0.18), transparent 60%),
    radial-gradient(900px 700px at 55% 95%, rgba(25,255,163,0.10), transparent 62%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

/* smoke */
body::before{
  content:"";
  position: fixed;
  inset: -60%;
  pointer-events: none;
  z-index: -2;
  background: conic-gradient(
    from 180deg,
    rgba(255,43,214,0.14),
    rgba(57,245,255,0.14),
    rgba(25,255,163,0.10),
    rgba(255,43,214,0.14)
  );
  filter: blur(80px) saturate(1.25);
  opacity: 0.85;
  animation: cp_spin 24s linear infinite;
}

:root[data-theme="light"] body::before{
  background: conic-gradient(
    from 180deg,
    rgba(255,43,214,0.18),
    rgba(0,198,255,0.18),
    rgba(23,217,138,0.14),
    rgba(255,43,214,0.18)
  );
  filter: blur(85px) saturate(1.35) contrast(1.08);
  opacity: 0.92;
}

/* /* scanlines 
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 3px,
    transparent 8px
  );
  mix-blend-mode: overlay;
  opacity: 0.28;
}

:root[data-theme="light"] body::after{
  background: repeating-linear-gradient(
    to bottom,
    rgba(10,12,20,0.045) 0px,
    rgba(10,12,20,0.045) 1px,
    transparent 3px,
    transparent 8px
  );
  mix-blend-mode: multiply;
  opacity: 0.30;
} */

@keyframes cp_spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* Inputs */
.input:focus, select.input:focus{
  border-color: rgba(57,245,255,0.55);
  box-shadow: 0 0 0 4px rgba(57,245,255,0.14);
}
:root[data-theme="light"] .input:focus,
:root[data-theme="light"] select.input:focus{
  border-color: rgba(0,198,255,0.60);
  box-shadow: 0 0 0 4px rgba(0,198,255,0.14);
}

/* Primary buttons */
.button.primary, .btn.primary{
  background: linear-gradient(135deg, rgba(255,43,214,0.85), rgba(57,245,255,0.75));
  border-color: rgba(57,245,255,0.35);
}
:root[data-theme="light"] .button.primary,
:root[data-theme="light"] .btn.primary{
  background: linear-gradient(135deg, rgba(255,43,214,0.16), rgba(0,198,255,0.16));
  border-color: rgba(10,12,20,0.14);
  color: rgba(10,12,20,0.88);
}

/* Particles layer (created by app.js) */
#cpParticles{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

#cpParticles .cp-particle{
  position: absolute;
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(0,0,0);
  box-shadow:
    0 0 12px rgba(57,245,255,0.35),
    0 0 22px rgba(255,43,214,0.18),
    0 0 34px rgba(25,255,163,0.12);
  will-change: transform, opacity;
}

:root[data-theme="light"] #cpParticles .cp-particle{
  box-shadow:
    0 0 12px rgba(0,198,255,0.35),
    0 0 22px rgba(255,43,214,0.18),
    0 0 34px rgba(23,217,138,0.12);
}

/* Ensure UI is above particles */
.page { position: relative; z-index: 10; }
.topbar { position: sticky; top: 0; }

/* IMPORTANT: Do NOT force all body children to relative.
   If you need this pattern, exclude cpParticles + modal: */
/* keep UI above particles, but do NOT override sticky/fixed elements */
body > :not(#cpParticles):not(#cpSpot):not(.cp-rings):not(#accessDeniedBackdrop):not(.topbar){
  position: relative;
  z-index: 10;
}


/* =========================================================
   THEMED BUTTON SYSTEM (DARK + LIGHT) — final override
   Applies to: .btn and .button (anchors + buttons)
========================================================= */

/* Theme tokens */
:root{
  --btn-bg: rgba(255,255,255,0.07);
  --btn-bg-hover: rgba(255,255,255,0.11);
  --btn-bg-active: rgba(255,255,255,0.09);

  --btn-border: rgba(255,255,255,0.16);
  --btn-border-hover: rgba(57,245,255,0.55);

  --btn-text: rgba(255,255,255,0.92);
  --btn-glow: 0 0 0 rgba(0,0,0,0);

  --btn-focus: 0 0 0 4px rgba(57,245,255,0.14);
}

:root[data-theme="light"]{
  --btn-bg: rgba(255,255,255,0.88);
  --btn-bg-hover: rgba(255,255,255,0.98);
  --btn-bg-active: rgba(245,248,255,0.96);

  --btn-border: rgba(20,30,60,0.14);
  --btn-border-hover: rgba(0,198,255,0.55);

  --btn-text: rgba(20,30,60,0.92);
  --btn-glow: 0 0 0 rgba(0,0,0,0);

  --btn-focus: 0 0 0 4px rgba(0,198,255,0.14);
}

/* Base button (secondary) */
.btn,
.button{
  background: var(--btn-bg) !important;
  border-color: var(--btn-border) !important;
  color: var(--btn-text) !important;

  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.button:hover{
  background: var(--btn-bg-hover) !important;
  border-color: var(--btn-border-hover) !important;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.btn:active,
.button:active{
  background: var(--btn-bg-active) !important;
  transform: translateY(0px);
  filter: brightness(0.99);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.btn:focus-visible,
.button:focus-visible{
  outline: none;
  box-shadow: var(--btn-focus);
}

/* Primary */
.btn.primary,
.button.primary{
  background: linear-gradient(135deg, rgba(255,43,214,0.90), rgba(57,245,255,0.78)) !important;
  border-color: rgba(57,245,255,0.38) !important;
  color: var(--primaryText) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.26);
}

:root[data-theme="light"] .btn.primary,
:root[data-theme="light"] .button.primary{
  background: linear-gradient(135deg, rgba(255,43,214,0.16), rgba(0,198,255,0.16)) !important;
  border-color: rgba(20,30,60,0.16) !important;
  color: rgba(20,30,60,0.92) !important;
  box-shadow: 0 12px 30px rgba(20,30,60,0.10);
}

.btn.primary:hover,
.button.primary:hover{
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28), 0 0 18px rgba(57,245,255,0.14);
}

:root[data-theme="light"] .btn.primary:hover,
:root[data-theme="light"] .button.primary:hover{
  box-shadow: 0 16px 36px rgba(20,30,60,0.12), 0 0 18px rgba(0,198,255,0.12);
}


/* =========================================================
   ADMIN TABS + TOPBAR — PURPLE NEON INTERACTION
   Final override (dark + light)
========================================================= */

/* ---------- TAB BASE ---------- */
.tab{
  position: relative;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

/* ---------- TAB HOVER ---------- */
.tab:hover{
  background: rgba(255,43,214,0.12);
  border-color: rgba(255,43,214,0.45);
  color: rgba(255,255,255,0.95);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px rgba(255,43,214,0.14),
    0 0 18px rgba(255,43,214,0.18);
}

/* Light mode hover */
:root[data-theme="light"] .tab:hover{
  background: rgba(255,43,214,0.10);
  border-color: rgba(255,43,214,0.40);
  color: rgba(20,30,60,0.92);
  box-shadow:
    0 0 0 2px rgba(255,43,214,0.12),
    0 0 18px rgba(255,43,214,0.10);
}

/* ---------- TAB ACTIVE (SELECTED) ---------- */
.tab.active{
  background: linear-gradient(
    135deg,
    rgba(255,43,214,0.28),
    rgba(124,92,255,0.22)
  );
  border-color: rgba(255,43,214,0.65);
  color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255,43,214,0.20),
    0 0 24px rgba(255,43,214,0.28);
}

/* Light mode active */
:root[data-theme="light"] .tab.active{
  background: linear-gradient(
    135deg,
    rgba(255,43,214,0.14),
    rgba(124,92,255,0.12)
  );
  border-color: rgba(255,43,214,0.55);
  color: rgba(20,30,60,0.95);
  box-shadow:
    0 0 0 3px rgba(255,43,214,0.16),
    0 0 22px rgba(255,43,214,0.18);
}

/* ---------- TOPBAR HOVER FEEDBACK ---------- */
.topbar{
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

/* Subtle glow when user interacts with top area */
.topbar:hover{
  border-bottom-color: rgba(255,43,214,0.35);
  box-shadow:
    0 6px 26px rgba(0,0,0,0.35),
    inset 0 -1px 0 rgba(255,43,214,0.18);
}

/* Light mode topbar hover */
:root[data-theme="light"] .topbar:hover{
  border-bottom-color: rgba(255,43,214,0.30);
  box-shadow:
    0 8px 28px rgba(20,30,60,0.10),
    inset 0 -1px 0 rgba(255,43,214,0.14);
}
/* =========================================================
   CYBERPUNK NEON V4 — RINGS + SPOTLIGHT (ADDITIVE ONLY)
========================================================= */

/* Neon rings */
.cp-rings{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 35%, rgba(255,43,214,0.16) 0 6px, transparent 7px),
    radial-gradient(circle at 20% 35%, rgba(255,43,214,0.10) 0 140px, transparent 141px),
    radial-gradient(circle at 80% 40%, rgba(57,245,255,0.12) 0 180px, transparent 181px),
    radial-gradient(circle at 55% 85%, rgba(124,92,255,0.10) 0 220px, transparent 221px);
}

#cpSpot{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    600px 420px at var(--mx,50%) var(--my,30%),
    rgba(255,43,214,0.10),
    transparent 70%
  );
}
html, body { min-height: 100%; }

body{
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
/* Make the top bar fixed and add padding on narrow screens */

/* Simplify the header on very small screens */
@media (max-width: 480px) {
  /* Hide the second line of the site name to free space */
  .brand-subtitle {
    display: none;
  }
  /* Hide the word “Light”/“Dark” next to the theme icon */
  .theme-label {
    display: none;
  }
  /* Make the email pill shrink gracefully with ellipsis */
  .user-email-short {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
    .brand-title {
    /* hide original text */
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
  }
  .brand-title::before {
    content: "GP";
    text-indent: 0;
    position: absolute;
    left: 0;
    top: 0;
  }
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  /* Ensure content doesn’t scroll under the fixed bar */
  .page {
    padding-top: 72px; /* match your top bar’s height */
  }
  /* Disable heavy background layers on small devices */
  body::before,
  body::after,
  .cp-rings,
  #cpSpot {
    display: none;
  }
}
/* Disable the swirling haze */
body::before {
  animation: none !important;
  opacity: 0 !important;
}

