/* Site themes. Red follows the SYNKEY logo and is the default; neon is the original cyan/blue/magenta.
   html[data-theme] beats each page's :root, so pages only use the tokens below. */
:root,html[data-theme=red]{
  --a1:#ff8a2c; --a1-rgb:255,138,44;
  --a2:#ff2a1f; --a2-rgb:255,42,31;
  --a3:#fc052c; --a3-rgb:252,5,44;
  --a4-rgb:255,173,57;
  --tint:#ffc6a0;
  --grad:linear-gradient(90deg,#fc052c,#ff3a1f 55%,#ffad39);
}
html[data-theme=neon]{
  --a1:#25d8ff; --a1-rgb:37,216,255;
  --a2:#3d5bff; --a2-rgb:61,91,255;
  --a3:#e43dff; --a3-rgb:228,61,255;
  --a4-rgb:123,91,255;
  --tint:#a9b6ff;
  --grad:linear-gradient(90deg,#25d8ff,#3d5bff 55%,#e43dff);
}
html[data-theme=neon] .only-red{display:none}

.theme{display:flex;gap:4px;border:1px solid var(--line);border-radius:999px;padding:3px}
.theme button{width:24px;height:24px;border-radius:50%;border:0;background:none;cursor:pointer;display:grid;place-items:center;padding:0}
.theme button::before{content:"";width:14px;height:14px;border-radius:50%;background:var(--sw);transition:transform .15s}
.theme button[data-theme=red]{--sw:linear-gradient(135deg,#fc052c,#ffad39)}
.theme button[data-theme=neon]{--sw:linear-gradient(135deg,#25d8ff,#3d5bff,#e43dff)}
.theme button[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px var(--text,#eef1f6)}
.theme button:hover::before{transform:scale(1.12)}
