/* Shift Sieve website. Uses the app's color themes and light/dark mode
   (docs/requirements.md H2, H10, ST1): gradient background, rounded cards,
   an accent color, and the board's tiles: glowing prime rings and filled
   composites. Each page type has its own body class and layout
   (docs/website.md W3). */

:root {
  /* Colors come from the app's palette (lib/ui/palette.dart). The build
     appends them for every theme and mode, keyed on <html data-theme> and
     <html data-mode> (docs/website.md W8). Only sizes live here. */
  --radius: 28px;
  --max: 1080px;
  --bar-h: 56px;
  /* W3: the space between a page's sections. */
  --section-gap: 60px;
  --bar-inset: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --read: 700px;
  --title-font: "Fraunces", ui-serif, Georgia, serif;
}

/* W12: the app's title font, Fraunces (SIL Open Font License,
   /assets/fonts/Fraunces-OFL.txt), for every heading and number. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  outline: none;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* W12: the app's wordmark gradient (requirements H1) on every h1 and h2
   and the name in the header, each color kept at 3:1 on the background and
   on cards. Not on the call-to-action band, whose heading is white. */
h1,
h2:not(.cta-band h2),
.brand span,
.title-gradient {
  /* As wide as the words, so the whole gradient falls on them. */
  width: fit-content;
  max-width: 100%;
  color: var(--title-1);
  background: linear-gradient(100deg, var(--title-1), var(--title-2) 55%, var(--title-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 12px;
  z-index: 20;
}

.skip:focus {
  left: 16px;
}

/* ---------- Header & footer ---------- */

.site-header {
  /* W9: a floating, frosted bar that stays at the top of the screen. The
     header itself is see-through and lets clicks pass; only the bar takes
     them. */
  position: sticky;
  top: 0;
  z-index: 10;
  padding: var(--bar-inset) 16px 0;
  pointer-events: none;
}

.bar {
  pointer-events: auto;
  position: relative;
  width: min(100%, calc(var(--max) + 24px));
  min-height: var(--bar-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg-top) var(--bar-glass), transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 0 0 1px var(--bar-ring), 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* Once the page scrolls, the glass thickens and lifts off the page. */
.site-header.scrolled .bar {
  background: color-mix(in srgb, var(--bg-top) var(--bar-glass-scrolled), transparent);
  box-shadow: inset 0 0 0 1px var(--bar-ring), var(--bar-shadow);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  gap: 2px;
}

/* Links are soft pills: a faint tint on hover and a slightly deeper one for
   the current page, never a solid fill. */
.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-nav a:hover {
  opacity: 1;
  background: var(--nav-hover);
}

.site-nav a[aria-current="page"] {
  opacity: 1;
  background: var(--nav-current);
}

.bar-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-footer {
  margin-top: 72px;
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer a {
  color: var(--muted);
}

/* The phone menu (W9): a two-line button that turns into a cross, and a
   frosted sheet under the bar. Hidden on wider screens. */
.menu,
.scrim,
.sheet {
  display: none;
}

.menu {
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.menu:hover {
  background: var(--nav-hover);
}

.menu span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.menu span:first-child {
  top: 17px;
}

.menu span:last-child {
  top: 25px;
}

.site-header.open .menu span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.open .menu span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--menu-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.site-header.open .scrim {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  pointer-events: auto;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  padding: 10px;
  border-radius: 28px;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg-top) var(--sheet-glass), transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--bar-ring), var(--bar-shadow);
  transform-origin: top;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.25s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}

.site-header.open .sheet {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.4s var(--ease);
}

.sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each item fades down in turn as the sheet opens. */
.sheet li,
.sheet .more {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}

.site-header.open .sheet li,
.site-header.open .sheet .more {
  opacity: 1;
  transform: none;
  transition-delay: calc(45ms * var(--i) + 60ms);
}

.sheet li a {
  display: block;
  padding: 10px 16px;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sheet li a:hover {
  background: var(--nav-hover);
}

.sheet li a[aria-current="page"] {
  background: var(--nav-current);
}

.sheet .more {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin: 8px 6px 0;
  padding: 10px 0 2px;
  border-top: 1px solid var(--line);
}

.sheet .more a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.sheet .more a:hover {
  color: var(--ink);
  background: var(--nav-hover);
}

@media (prefers-reduced-motion: reduce) {
  .menu span,
  .scrim,
  .sheet,
  .sheet li,
  .sheet .more {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ---------- Color and dark mode control (W8) ---------- */

.theme-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  flex: none;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-button:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.theme-button[aria-expanded="true"] {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.theme-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(400px, calc(100vw - 32px));
  padding: 22px 20px 16px;
  z-index: 30;
}

.theme-panel[hidden] {
  display: none;
}

.theme-panel h2 {
  font-size: 20px;
  margin: 0 0 14px;
}

.theme-panel h3 {
  font-size: 15px;
  margin: 0 0 12px;
  letter-spacing: 0;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.swatches button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.swatches button span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-clip: content-box !important;
  padding: 3px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.swatches button[aria-checked="true"] {
  color: var(--ink);
}

.swatches button[aria-checked="true"] span {
  border-color: var(--ink);
}

.swatches button[aria-checked="true"] span::after {
  content: "✓";
}

.mode-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-weight: 600;
}

.mode-row #theme-dark-label {
  flex: 1;
}

.mode-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky-soft);
  color: var(--ink);
  flex: none;
}

.switch {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  padding: 3px;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease;
  flex: none;
}

.switch span {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.switch[aria-checked="true"] {
  background: var(--accent-deep);
}

.switch[aria-checked="true"] span {
  transform: translateX(22px);
}

/* ---------- Shared pieces ---------- */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 10px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 34em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.primary {
  border: 0;
  background: var(--accent-gradient);
  color: #fff;
}

.button[aria-disabled="true"] {
  opacity: 0.75;
  cursor: default;
}

.button small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.1;
}

.button span {
  text-align: left;
  line-height: 1.2;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin: 28px 0 0;
}

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

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
}

/* Glowing tiles, as on the game board. */
.tile {
  aspect-ratio: 1;
  border-radius: 28%;
  background: var(--surface-soft);
  border: 1.5px solid var(--line);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.12s ease;
}

.tile.on {
  background: var(--glow);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Home ---------- */

.page-home .hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 40px;
}

.page-home .hero h1 {
  font-size: clamp(42px, 7vw, 68px);
  margin: 0 0 16px;
}

.page-home .store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

/* W5: the download buttons, floating on a soft shadow: light in light
   mode, dark in dark mode. */
:root {
  --store-bg: #f7f7f9;
  --store-ink: #111114;
  --store-edge: rgba(0, 0, 0, 0.04);
  --store-shadow: 0 10px 24px rgba(15, 17, 21, 0.14), 0 2px 6px rgba(15, 17, 21, 0.08);
  --store-shadow-hover: 0 14px 32px rgba(15, 17, 21, 0.18), 0 3px 8px rgba(15, 17, 21, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-mode]) {
    --store-bg: #1b1c21;
    --store-ink: #ffffff;
    --store-edge: rgba(255, 255, 255, 0.08);
    --store-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
    --store-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.65), 0 3px 8px rgba(0, 0, 0, 0.45);
  }
}

html[data-mode="dark"] {
  --store-bg: #1b1c21;
  --store-ink: #ffffff;
  --store-edge: rgba(255, 255, 255, 0.08);
  --store-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
  --store-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.65), 0 3px 8px rgba(0, 0, 0, 0.45);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 26px 10px 22px;
  border-radius: 20px;
  border: 1px solid var(--store-edge);
  background: var(--store-bg);
  color: var(--store-ink);
  box-shadow: var(--store-shadow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-button svg {
  flex: none;
  width: auto;
  height: 32px;
}

.store-button > span {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.store-button small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

a.store-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--store-shadow-hover);
}

a.store-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.store-button[aria-disabled="true"] {
  cursor: default;
}

.store-button[aria-disabled="true"] svg,
.store-button[aria-disabled="true"] > span {
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .store-button {
    transition: none;
  }

  a.store-button:hover {
    transform: none;
  }
}

/* W11: the playable demo board. */
.demo {
  padding: 24px;
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.demo-head .eyebrow {
  margin: 0 auto 0 0;
}

.demo-score {
  display: grid;
  min-width: 72px;
  padding: 6px 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  text-align: center;
  line-height: 1.15;
}

.demo-score small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-score b {
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 20px;
  color: var(--title-1);
  font-variant-numeric: lining-nums tabular-nums;
}

.demo-board {
  --gap: 10px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: var(--gap);
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 24px;
  background: var(--board);
  border: 1.5px solid var(--line);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.demo-board:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.demo-cell {
  border-radius: 16px;
  background: var(--line);
  opacity: 0.55;
}

/* Tiles sit over the cells and slide between them. */
.demo-board .tile-x {
  position: absolute;
  top: var(--gap);
  left: var(--gap);
  width: calc((100% - 5 * var(--gap)) / 4);
  height: calc((100% - 5 * var(--gap)) / 4);
  transform: translate(calc(var(--c) * (100% + var(--gap))), calc(var(--r) * (100% + var(--gap))));
  transition: transform 0.12s var(--ease);
  font-size: clamp(18px, 6.5vw, 30px);
}

.demo-board .tile-x.mid {
  font-size: clamp(16px, 5vw, 24px);
}

.demo-board .tile-x.long {
  font-size: clamp(13px, 3.8vw, 19px);
}

.demo-board .tile-x.new {
  animation: tile-pop 0.18s var(--ease);
}

.demo-board .tile-x.made {
  animation: tile-made 0.2s var(--ease);
}

.demo-board .tile-x.bump {
  animation: tile-shake 0.3s;
}

@keyframes tile-pop {
  from {
    scale: 0.3;
    opacity: 0;
  }
}

@keyframes tile-made {
  50% {
    scale: 1.14;
  }
}

@keyframes tile-shake {
  25% {
    translate: -5px 0;
  }
  75% {
    translate: 5px 0;
  }
}

.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.demo-foot .button {
  white-space: nowrap;
}

.demo .status {
  margin: 0;
  min-height: 1.6em;
  font-weight: 600;
  text-align: left;
}

/* A tile as the board draws it (W11, W15): a prime is a ring in its
   family's color, a composite is filled, with its power in the corner. */
.tile-x {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 24%;
  background: var(--fill, var(--surface-soft));
  color: var(--ink);
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.tile-x.mid {
  font-size: 21px;
}

.tile-x.long {
  font-size: 16px;
}

.tile-x.prime {
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 4px var(--fam), 0 0 18px -4px var(--fam);
}

.tile-x.empty {
  background: var(--line);
  opacity: 0.55;
}

.tile-x small {
  position: absolute;
  right: 12%;
  bottom: 9%;
  font-size: 0.38em;
  font-weight: 700;
  opacity: 0.8;
}

.tile-x sup {
  font-size: 0.75em;
}

.tile-row {
  display: inline-flex;
  gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .demo-board .tile-x {
    transition: none;
    animation: none !important;
  }
}

.cta-band {
  margin-top: var(--section-gap);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius);
}

.cta-band h2 {
  margin: 0;
  font-size: 28px;
}

.cta-band .button {
  background: #fff;
  color: var(--accent-deep);
  border: 0;
}

/* Phone screenshots (W10): real screens from the app, in a phone frame. */
.phone {
  margin: 0;
  border: 10px solid #111018;
  border-radius: 46px;
  overflow: hidden;
  background: #111018;
}

/* The frame wraps the whole screen at its own shape: nothing is cropped. */
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.showcase {
  margin-top: var(--section-gap);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.showcase h2 {
  font-size: clamp(30px, 4.5vw, 42px);
  margin: 0 0 12px;
}

.showcase .phones {
  position: relative;
  height: 600px;
}

.showcase .phone {
  position: absolute;
  width: 260px;
}

.showcase .phone-back {
  left: 8%;
  top: 0;
  transform: rotate(-6deg);
}

.showcase .phone-front {
  right: 8%;
  top: 40px;
  transform: rotate(4deg);
}

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

  .showcase .phones {
    height: 520px;
  }

  .showcase .phone {
    width: 220px;
  }

  .showcase .phone-back {
    left: calc(50% - 215px);
  }

  .showcase .phone-front {
    right: calc(50% - 215px);
  }

}

@media (max-width: 480px) {
  .showcase .phones {
    height: 420px;
  }

  .showcase .phone {
    width: 170px;
    border-width: 7px;
    border-radius: 32px;
  }

  .showcase .phone img {
    border-radius: 25px;
  }

  .showcase .phone-back {
    left: 2px;
  }

  .showcase .phone-front {
    right: 2px;
  }
}

/* ---------- Features (W14): a list beside one large panel ---------- */

/* A tab's panel is hidden until its tab is chosen; the panels' own display
   rules would otherwise win over the hidden attribute. */
[data-tabs] [role="tabpanel"][hidden] {
  display: none;
}

/* Every panel shares one grid cell, so the section is as tall as its
   tallest panel and choosing another never moves what's below. Hidden
   panels keep their space but aren't shown or read out. */
.fx.is-tabs .fx-panels,
.boards.is-tabs .board-panels {
  display: grid;
}

.fx.is-tabs .fx-panel,
.boards.is-tabs .board-panel {
  grid-area: 1 / 1;
  margin: 0;
}

.fx.is-tabs .fx-panel[hidden],
.boards.is-tabs .board-panel[hidden] {
  display: flex;
  visibility: hidden;
}

.boards.is-tabs .board-panel[hidden] {
  display: grid;
}

/* W3: 60 px of padding on top of the 60 px gap between the home page's
   sections. */
.page-home .wrap > section:not(.hero):not(.cta-band) {
  padding-top: 60px;
}

.page-home .cta-band {
  margin-top: calc(var(--section-gap) + 60px);
}

.fx {
  margin-top: var(--section-gap);
}

.fx > h2,
.boards-head h2 {
  font-size: clamp(34px, 5.4vw, 60px);
  margin: 0 0 32px;
  line-height: 1.05;
}

.fx-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.fx-list {
  display: grid;
  gap: 6px;
}

.fx-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.fx-tab:hover {
  color: var(--ink);
}

.fx-tab[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.fx-tab:focus-visible,
.board-tab:focus-visible,
.closer-step:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.fx-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 10px var(--dot);
}

.fx-panels {
  display: grid;
  gap: 18px;
}

.fx-panel {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* A warm glow in the corner, in the theme's colors. */
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--glow-1) 16%, transparent), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
}

.fx-panel h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 32px 0 12px;
}

.fx-panel p {
  margin: 0;
  max-width: 40ch;
  font-size: 18px;
  color: var(--muted);
}

/* Without JavaScript, every panel shows, two to a row. */
.fx:not(.is-tabs) .fx-list {
  display: none;
}

.fx:not(.is-tabs) .fx-layout {
  grid-template-columns: 1fr;
}

.fx:not(.is-tabs) .fx-panels {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.fx:not(.is-tabs) .fx-panel {
  min-height: 0;
}

.fx-chips,
.fx-swatches,
.fx-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fx-chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--glow-3) 40%, transparent);
  background: color-mix(in srgb, var(--glow-3) 14%, var(--surface));
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.fx-chip.secret {
  border: 1.5px dashed var(--tone-1);
  background: none;
  color: var(--tone-1);
}

.fx-chip.big {
  border: 0;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--title-font);
  font-size: 19px;
}

.fx-eq {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
}

.fx-eq span {
  width: 14px;
  height: var(--h);
  border-radius: 7px;
  background: linear-gradient(to top, var(--glow-3), var(--glow-1));
  transform-origin: bottom;
  animation: fx-eq 1.3s ease-in-out infinite alternate;
}

.fx-eq span:nth-child(2n) {
  animation-delay: -0.6s;
}

.fx-eq span:nth-child(3n) {
  animation-delay: -0.3s;
}

@keyframes fx-eq {
  from {
    transform: scaleY(0.45);
  }

  to {
    transform: scaleY(1);
  }
}

.fx-swatch {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.fx-swatch.secret,
.fx-badge.secret {
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--tone-3);
  background: none;
  color: var(--tone-3);
  font-weight: 700;
}

.fx-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tone-2-soft);
  color: var(--tone-2);
}

.fx-badge:nth-child(3n + 2) {
  background: var(--tone-1-soft);
  color: var(--tone-1);
}

.fx-badge:nth-child(3n) {
  background: var(--tone-3-soft);
  color: var(--tone-3);
}

.fx-badge svg {
  width: 26px;
  height: 26px;
}

/* The achievements' own images (store/game-services). */
img.fx-badge {
  width: 64px;
  height: 64px;
  background: none;
  box-shadow: var(--shadow);
}

.fx-badge.secret {
  width: 64px;
  height: 64px;
}

/* Multiply and sieve: tiles before and after. */
.fx-tiles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.fx-arrow {
  font-size: 28px;
  font-weight: 700;
  color: var(--muted);
}

/* Learn as you play: a quiz explanation. */
.fx-fact {
  display: inline-grid;
  gap: 4px;
  padding: 16px 22px;
  border-radius: 20px;
  background: var(--tone-1-soft);
}

.fx-fact span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tone-1);
}

.fx-fact strong {
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 34px;
  color: var(--title-1);
  font-variant-numeric: lining-nums;
}

.fx-pin {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.fx-pin span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line);
}

.fx-pin .on {
  border-color: var(--accent);
  background: var(--accent);
}

.fx-switches {
  display: grid;
  gap: 10px;
}

.fx-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}

.fx-switch i {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: var(--line);
}

.fx-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.fx-switch.on i {
  background: var(--accent);
}

.fx-switch.on i::after {
  left: 19px;
}

/* ---------- A closer look (W10.1) ---------- */

/* Without JavaScript, and on narrower screens: the screens in a carousel to
   swipe through. */
.closer {
  margin-top: var(--section-gap);
}

.closer-stage {
  position: relative;
}

.closer h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  margin: 0 0 28px;
}

.closer-glow,
.closer-pellets,
.closer-track,
.closer-phone-wrap {
  display: none;
}

.closer-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  scrollbar-width: none;
}

.closer-carousel::-webkit-scrollbar {
  display: none;
}

.closer-card {
  flex: 0 0 min(72%, 250px);
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}

.closer-card figcaption {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.closer-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}

/* Wide screens, once app.js pins it: the stage holds still while the
   section scrolls by, and the steps, the phone's screen, the glow and the
   pellets follow the scroll. */
@media (min-width: 861px) {
  .closer.is-pinned {
    height: 420vh;
  }

  .closer.is-pinned .closer-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    padding-top: calc(var(--bar-h) + var(--bar-inset));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4vw;
  }

  .closer.is-pinned .closer-carousel {
    display: none;
  }

  .closer.is-pinned .closer-glow,
  .closer.is-pinned .closer-pellets,
  .closer.is-pinned .closer-track,
  .closer.is-pinned .closer-phone-wrap {
    display: block;
  }
}

.closer-intro {
  position: relative;
}

/* A soft glow behind the phone, in the current step's color. */
.closer-glow {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(70vmin, 560px);
  aspect-ratio: 1;
  transform: translateY(-40%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--closer-glow, var(--glow-1)) 0%, transparent 65%);
  opacity: 0.45;
  filter: blur(20px);
  pointer-events: none;
  transition: background 0.6s ease;
}

/* Glowing pellets drifting at their own speeds as the page scrolls. */
.closer-pellets {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.closer-pellet {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 calc(var(--s) * 1.2) var(--c);
  opacity: var(--o);
  will-change: transform;
}

/* The steps, with a line that fills as the section scrolls. */
.closer-track {
  position: relative;
  padding-left: 22px;
}

.closer-track::before,
.closer-bar {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  border-radius: 3px;
}

.closer-track::before {
  bottom: 6px;
  background: var(--line);
}

.closer-bar {
  height: 0;
  background: linear-gradient(var(--glow-1), var(--glow-3));
  box-shadow: 0 0 12px var(--glow-1);
}

.closer-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.closer-step {
  display: block;
  width: 100%;
  padding: 12px 8px;
  border: 0;
  border-radius: 16px;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  /* Dimmed, not faded out: inactive steps stay readable. */
  opacity: 0.6;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.closer-step:hover {
  opacity: 0.85;
}

.closer-step.is-active {
  opacity: 1;
  transform: translateX(6px);
}

.closer-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--link);
}

.closer-step-title {
  display: block;
  margin: 2px 0 4px;
  font-family: var(--title-font);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.closer-step-body {
  display: block;
  max-width: 36ch;
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  transition: max-height 0.5s ease;
}

.closer-step.is-active .closer-step-body {
  max-height: 6em;
}

/* The phone: one screen per step, cross-fading as the steps change. */
.closer-phone-wrap {
  position: relative;
  justify-self: center;
}

.closer-phone {
  position: relative;
  width: min(300px, 28vw, calc((100vh - 220px) * 0.46));
  aspect-ratio: 570 / 1240;
}

.closer-phone img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04) translateY(14px);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.closer-phone img.is-active {
  opacity: 1;
  transform: none;
}

.closer-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.closer-dots span {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  transition: width 0.4s var(--ease), background-color 0.4s var(--ease);
}

.closer-dots span.is-active {
  width: 24px;
  background: var(--accent);
}

/* ---------- The boards (W15): tabs above one large panel ---------- */

.boards {
  margin-top: var(--section-gap);
  text-align: center;
}

.boards-head h2,
.page-faq .still h2,
.page-article .article-head h1,
.page-404 .lost h1 {
  /* Centered headings stay centered at their own width. */
  margin-inline: auto;
}

.board-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.board-tab {
  min-height: 46px;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.board-tab span {
  margin-right: 4px;
  color: var(--muted);
}

.board-tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.board-tab[aria-selected="true"] span {
  color: inherit;
  opacity: 0.6;
}

.board-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(16px, 2.6vw, 40px);
  border: 1px solid var(--line);
  text-align: left;
}

.board-panel + .board-panel {
  margin-top: 18px;
}

.board-art {
  overflow: hidden;
  aspect-ratio: 400 / 260;
  border-radius: calc(var(--radius) - 8px);
  background: var(--board);
}

.board-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* W15: a rule as a line of tiles before and after a swipe. */
.rule-art {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 18px;
}

.rule-line {
  display: flex;
  gap: 10px;
}

.rule-arrow {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
}

.rule-art.shake .after .tile-x:nth-child(-n + 2) {
  animation: tile-shake 0.45s 0.4s 2;
}

@media (max-width: 480px) {
  .rule-art .tile-x {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .rule-art .tile-x.mid {
    font-size: 18px;
  }

  .rule-art .tile-x.long {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rule-art .tile-x {
    animation: none !important;
  }
}

.art-pulse circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: art-pulse 2s ease-out infinite;
}

@keyframes art-pulse {
  from {
    transform: scale(0.6);
    opacity: 0.9;
  }

  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.board-count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.board-copy h3 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 10px 0 14px;
}

.board-adds {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--link);
  font-weight: 600;
  font-size: 15px;
}

.board-copy p {
  margin: 18px 0 26px;
  font-size: 18px;
  color: var(--muted);
}

.board-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.board-progress span {
  height: 5px;
  border-radius: 3px;
  background: var(--line);
}

.board-progress .on {
  background: var(--glow);
}

/* Without JavaScript, every board shows, one after another. */
.boards:not(.is-tabs) .board-tabs {
  display: none;
}

/* ---------- From the blog (W13) ---------- */

.blog-teaser {
  margin-top: var(--section-gap);
}

.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.blog-head h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
}

.blog-head .button {
  border: 2px solid var(--link);
  background: transparent;
  color: var(--link);
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.blog-feature,
.blog-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.blog-feature:hover,
.blog-item:hover {
  transform: translateY(-3px);
}

.blog-art {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: var(--tone-soft);
  color: var(--tone);
}

.blog-art svg {
  width: 52px;
  height: 52px;
}

.blog-art .big svg {
  width: 104px;
  height: 104px;
}

.blog-body {
  padding: 26px 32px 34px;
}

.blog-tag,
.blog-cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tone);
}

.blog-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--tone-soft);
}

.blog-teaser h3 {
  margin: 14px 0 12px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.blog-item h3 {
  margin: 6px 0 8px;
  font-size: 21px;
}

.blog-teaser h3 a {
  color: var(--link);
  text-decoration: none;
}

/* The whole card is the link. */
.blog-teaser h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.blog-teaser h3 a:hover {
  text-decoration: underline;
}

.blog-teaser h3 a:focus-visible {
  outline: none;
}

.blog-feature:focus-within,
.blog-item:focus-within {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.blog-teaser article p {
  margin: 0;
  color: var(--muted);
}

.blog-side {
  display: grid;
  gap: 24px;
}

.blog-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
}

.blog-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--tone-soft);
  color: var(--tone);
}

.blog-icon svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 860px) {
  .fx-layout,
  .blog-grid,
  .board-panel {
    grid-template-columns: 1fr;
  }

  .fx-panel {
    min-height: 0;
  }

  /* The board tabs scroll sideways rather than wrap. */
  .board-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 2px 16px 6px;
    scrollbar-width: none;
  }

  .board-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  .blog-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }

  .blog-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .blog-art {
    height: 170px;
  }

  .blog-body {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-eq span,
  .art-pulse circle {
    animation: none;
  }
}

/* ---------- FAQ ---------- */

.page-faq .page-hero,
.page-blog .page-hero,
.page-privacy .page-hero,
.page-404 .page-hero {
  padding: 56px 0 24px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 54px);
  margin: 0 0 12px;
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}

.page-faq .faq-toc {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.page-faq .faq-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.page-faq .faq-toc a:hover {
  background: var(--accent-soft);
}

.page-faq .faq-group {
  margin-bottom: var(--section-gap);
}

.page-faq .faq-group h2 {
  font-size: 22px;
  margin: 0 0 14px;
}

.page-faq details {
  margin-bottom: 12px;
  padding: 0 22px;
}

.page-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  position: relative;
}

.page-faq summary::-webkit-details-marker {
  display: none;
}

.page-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--link);
  font-weight: 700;
}

.page-faq details[open] summary::after {
  content: "–";
}

.page-faq details > div {
  padding: 0 0 20px;
  color: var(--muted);
}

.page-faq details > div p {
  margin: 0 0 10px;
}

.page-faq .still {
  padding: 28px;
  text-align: center;
}

/* ---------- Blog index ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
}

.post-card .cover {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 18px 28px;
  background: var(--surface-soft);
}

.post-card .cover .tile {
  border-radius: 50%;
  transform: scale(0.62);
}

.post-card .body {
  padding: 22px 24px 26px;
}

.post-card h2 {
  font-size: 21px;
  margin: 8px 0;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.meta {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Article ---------- */

.page-article .article-head {
  width: min(100% - 32px, var(--read));
  margin: 0 auto;
  padding: 40px 0 28px;
  text-align: center;
}

.page-article .article-head h1 {
  font-size: clamp(34px, 5.5vw, 50px);
  margin: 14px 0;
}

.page-article .article-head .crumbs ol {
  justify-content: center;
}

.page-article .prose {
  width: min(100% - 32px, var(--read));
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 56px);
}

.prose h2 {
  font-size: 27px;
  margin: 40px 0 10px;
}

.prose h3 {
  font-size: 21px;
  margin: 28px 0 8px;
}

.prose p,
.prose li {
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
}

.prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 0 16px 16px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-variant-numeric: tabular-nums;
}

.prose td code {
  font-size: 1.25em;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--surface-soft);
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.prose .mini-board {
  display: inline-grid;
  grid-template-columns: repeat(var(--n, 5), 22px);
  gap: 4px;
  margin: 8px 0 18px;
}

.related {
  width: min(100% - 32px, var(--max));
  margin: var(--section-gap) auto 0;
}

.related h2 {
  font-size: 22px;
}

/* ---------- Privacy ---------- */

.page-privacy .policy {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px;
  align-items: start;
}

.page-privacy .policy-body {
  overflow-wrap: anywhere;
  padding: 40px clamp(20px, 5vw, 52px);
}

.page-privacy .policy-body h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}

.page-privacy .policy-body h2:first-child {
  margin-top: 0;
}

.page-privacy .policy-body p {
  margin: 0;
}

.page-privacy aside {
  position: sticky;
  top: 92px;
  padding: 20px;
  font-size: 15px;
}

.page-privacy aside ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.page-privacy aside li {
  margin: 6px 0;
}

/* ---------- 404 ---------- */

.page-404 .lost {
  text-align: center;
  padding: 40px 0;
}

.page-404 .lost .rule-art {
  margin-bottom: 12px;
}

/* ---------- Page transitions & small screens ---------- */

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.22s;
  }
}

@media (max-width: 860px) {
  .page-home .hero,
  .page-faq .faq-layout,
  .page-privacy .policy {
    grid-template-columns: 1fr;
  }

  .page-home .hero {
    padding-top: 36px;
    gap: 32px;
  }

  .page-faq .faq-toc,
  .page-privacy aside {
    position: static;
  }

  .page-privacy aside {
    order: -1;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 84px;
  }

  /* One row: the logo, the palette button and the menu button; the links
     move into the sheet. */
  .bar {
    grid-template-columns: 1fr auto;
    padding: 0 6px 0 16px;
  }

  .site-nav {
    display: none;
  }

  .menu,
  .scrim,
  .sheet {
    display: block;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding-inline: 10px;
  }

  .sheet {
    left: 10px;
    right: 10px;
  }

  .theme-button {
    width: 44px;
    height: 44px;
  }

  .site-nav {
    gap: 0;
  }

  .cta-band {
    padding: 28px;
  }
}


/* Generated by tool/build_website.dart from lib/ui/palette.dart. */
:root { color-scheme: light; --ink: #17161f; --muted: #5e5c78; --surface: #ffffff; --surface-soft: #f4f3fa; --line: #e6e4f0; --pink-soft: #f6ddfb; --sky-soft: #d9f1f4; --title-1: #2a2350; --title-2: #2a2350; --title-3: #2a2350; --bar-glass: 58%; --bar-glass-scrolled: 84%; --bar-ring: rgba(255, 255, 255, 0.55); --bar-shadow: 0 14px 34px -16px rgba(23, 22, 31, 0.3); --nav-hover: rgba(23, 22, 31, 0.06); --nav-current: rgba(23, 22, 31, 0.09); --sheet-glass: 90%; --menu-scrim: rgba(23, 22, 31, 0.2); --accent: #6d5df6; --accent-soft: #e6e2ff; --accent-deep: #5549ba; --accent-gradient: linear-gradient(135deg, #5c4fcb, #5549ba); --link: #5549ba; --glow: linear-gradient(135deg, #7c6cff, #b57bff, #f0a3f5); --glow-1: #7c6cff; --glow-2: #b57bff; --glow-3: #f0a3f5; --board: #f4f3fa; --star: #f0a3f5; --f2-ring: #8fd3ff; --f2-prime: #1f6fb2; --f2-p2: #77beef; --f2-p2-ink: #17161f; --f2-p3: #69b1e5; --f2-p3-ink: #17161f; --f2-p4: #5fa8de; --f2-p4-ink: #17161f; --f2-p5: #58a2d9; --f2-p5-ink: #17161f; --f2-p6: #519cd5; --f2-p6-ink: #17161f; --f2-p7: #4c97d1; --f2-p7-ink: #17161f; --f2-p8: #4893ce; --f2-p8-ink: #17161f; --f2-p9: #4490cb; --f2-p9-ink: #17161f; --f2-p10: #408cc9; --f2-p10-ink: #17161f; --f2-p11: #3d89c6; --f2-p11-ink: #17161f; --f2-p12: #3a87c4; --f2-p12-ink: #17161f; --f2-p13: #3784c2; --f2-p13-ink: #17161f; --f2-p14: #3482c1; --f2-p14-ink: #17161f; --f2-p15: #3280bf; --f2-p15-ink: #17161f; --f2-p16: #307ebe; --f2-p16-ink: #ffffff; --f3-ring: #ff9eae; --f3-prime: #b3264a; --f3-p2: #ef8499; --f3-p2-ink: #17161f; --f3-p3: #e5768c; --f3-p3-ink: #17161f; --f3-p4: #df6b84; --f3-p4-ink: #17161f; --f3-p5: #da637d; --f3-p5-ink: #17161f; --f3-p6: #d55c77; --f3-p6-ink: #17161f; --f3-p7: #d25672; --f3-p7-ink: #17161f; --f3-p8: #cf526e; --f3-p8-ink: #17161f; --f3-p9: #cc4d6b; --f3-p9-ink: #ffffff; --f3-p10: #c94967; --f3-p10-ink: #ffffff; --f3-p11: #c74664; --f3-p11-ink: #ffffff; --f3-p12: #c54362; --f3-p12-ink: #ffffff; --f3-p13: #c3405f; --f3-p13-ink: #ffffff; --f3-p14: #c23d5d; --f3-p14-ink: #ffffff; --f3-p15: #c03a5b; --f3-p15-ink: #ffffff; --f3-p16: #be3859; --f3-p16-ink: #ffffff; --f5-ring: #ffd873; --f5-prime: #8a6200; --f5-p2: #e6bf5b; --f5-p2-ink: #17161f; --f5-p3: #d8b04c; --f5-p3-ink: #17161f; --f5-p4: #cda642; --f5-p4-ink: #17161f; --f5-p5: #c59e3a; --f5-p5-ink: #17161f; --f5-p6: #bf9734; --f5-p6-ink: #17161f; --f5-p7: #b9922e; --f5-p7-ink: #17161f; --f5-p8: #b48d2a; --f5-p8-ink: #17161f; --f5-p9: #b08926; --f5-p9-ink: #17161f; --f5-p10: #ac8522; --f5-p10-ink: #17161f; --f5-p11: #a9811e; --f5-p11-ink: #17161f; --f5-p12: #a67e1b; --f5-p12-ink: #17161f; --f5-p13: #a37b19; --f5-p13-ink: #17161f; --f5-p14: #a07916; --f5-p14-ink: #17161f; --f5-p15: #9e7614; --f5-p15-ink: #17161f; --f5-p16: #9c7411; --f5-p16-ink: #ffffff; --tone-1: #5c50bd; --tone-1-soft: #dad6ff; --tone-2: #7751a8; --tone-2-soft: #eadaff; --tone-3: #865b89; --tone-3-soft: #fbe5fc; --bg-top: #ece9ff; --bg-bottom: #dcebff; --shadow: 0 8px 24px rgba(155, 123, 255, 0.16); }
@media (prefers-color-scheme: dark) { :root:not([data-mode]) { color-scheme: dark; --ink: #f1f0f7; --muted: #9c9ab5; --surface: #22212e; --surface-soft: #2c2b3a; --line: #3a3949; --pink-soft: #45304d; --sky-soft: #26414a; --title-1: #f1f0f7; --title-2: #f1f0f7; --title-3: #f1f0f7; --bar-glass: 45%; --bar-glass-scrolled: 74%; --bar-ring: rgba(255, 255, 255, 0.08); --bar-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.6); --nav-hover: rgba(255, 255, 255, 0.10); --nav-current: rgba(255, 255, 255, 0.15); --sheet-glass: 88%; --menu-scrim: rgba(0, 0, 0, 0.45); --accent: #6d5df6; --accent-soft: #39336a; --accent-deep: #5549ba; --accent-gradient: linear-gradient(135deg, #5c4fcb, #5549ba); --link: #afa6fa; --glow: linear-gradient(135deg, #7c6cff, #b57bff, #f0a3f5); --glow-1: #7c6cff; --glow-2: #b57bff; --glow-3: #f0a3f5; --board: #2c2b3a; --star: #f0a3f5; --f2-ring: #8fd3ff; --f2-prime: #8fd3ff; --f2-p2: #77beef; --f2-p2-ink: #17161f; --f2-p3: #69b1e5; --f2-p3-ink: #17161f; --f2-p4: #5fa8de; --f2-p4-ink: #17161f; --f2-p5: #58a2d9; --f2-p5-ink: #17161f; --f2-p6: #519cd5; --f2-p6-ink: #17161f; --f2-p7: #4c97d1; --f2-p7-ink: #17161f; --f2-p8: #4893ce; --f2-p8-ink: #17161f; --f2-p9: #4490cb; --f2-p9-ink: #17161f; --f2-p10: #408cc9; --f2-p10-ink: #17161f; --f2-p11: #3d89c6; --f2-p11-ink: #17161f; --f2-p12: #3a87c4; --f2-p12-ink: #17161f; --f2-p13: #3784c2; --f2-p13-ink: #17161f; --f2-p14: #3482c1; --f2-p14-ink: #17161f; --f2-p15: #3280bf; --f2-p15-ink: #17161f; --f2-p16: #307ebe; --f2-p16-ink: #ffffff; --f3-ring: #ff9eae; --f3-prime: #ff9eae; --f3-p2: #ef8499; --f3-p2-ink: #17161f; --f3-p3: #e5768c; --f3-p3-ink: #17161f; --f3-p4: #df6b84; --f3-p4-ink: #17161f; --f3-p5: #da637d; --f3-p5-ink: #17161f; --f3-p6: #d55c77; --f3-p6-ink: #17161f; --f3-p7: #d25672; --f3-p7-ink: #17161f; --f3-p8: #cf526e; --f3-p8-ink: #17161f; --f3-p9: #cc4d6b; --f3-p9-ink: #ffffff; --f3-p10: #c94967; --f3-p10-ink: #ffffff; --f3-p11: #c74664; --f3-p11-ink: #ffffff; --f3-p12: #c54362; --f3-p12-ink: #ffffff; --f3-p13: #c3405f; --f3-p13-ink: #ffffff; --f3-p14: #c23d5d; --f3-p14-ink: #ffffff; --f3-p15: #c03a5b; --f3-p15-ink: #ffffff; --f3-p16: #be3859; --f3-p16-ink: #ffffff; --f5-ring: #ffd873; --f5-prime: #ffd873; --f5-p2: #e6bf5b; --f5-p2-ink: #17161f; --f5-p3: #d8b04c; --f5-p3-ink: #17161f; --f5-p4: #cda642; --f5-p4-ink: #17161f; --f5-p5: #c59e3a; --f5-p5-ink: #17161f; --f5-p6: #bf9734; --f5-p6-ink: #17161f; --f5-p7: #b9922e; --f5-p7-ink: #17161f; --f5-p8: #b48d2a; --f5-p8-ink: #17161f; --f5-p9: #b08926; --f5-p9-ink: #17161f; --f5-p10: #ac8522; --f5-p10-ink: #17161f; --f5-p11: #a9811e; --f5-p11-ink: #17161f; --f5-p12: #a67e1b; --f5-p12-ink: #17161f; --f5-p13: #a37b19; --f5-p13-ink: #17161f; --f5-p14: #a07916; --f5-p14-ink: #17161f; --f5-p15: #9e7614; --f5-p15-ink: #17161f; --f5-p16: #9c7411; --f5-p16-ink: #ffffff; --tone-1: #9b8fff; --tone-1-soft: #343058; --tone-2: #be8bff; --tone-2-soft: #3f3358; --tone-3: #f0a3f5; --tone-3-soft: #4b3b56; --bg-top: #221f42; --bg-bottom: #141222; --shadow: 0 8px 24px rgba(155, 123, 255, 0.20); } }
html[data-mode="light"] { color-scheme: light; --ink: #17161f; --muted: #5e5c78; --surface: #ffffff; --surface-soft: #f4f3fa; --line: #e6e4f0; --pink-soft: #f6ddfb; --sky-soft: #d9f1f4; --title-1: #2a2350; --title-2: #2a2350; --title-3: #2a2350; --bar-glass: 58%; --bar-glass-scrolled: 84%; --bar-ring: rgba(255, 255, 255, 0.55); --bar-shadow: 0 14px 34px -16px rgba(23, 22, 31, 0.3); --nav-hover: rgba(23, 22, 31, 0.06); --nav-current: rgba(23, 22, 31, 0.09); --sheet-glass: 90%; --menu-scrim: rgba(23, 22, 31, 0.2); }
html[data-mode="dark"] { color-scheme: dark; --ink: #f1f0f7; --muted: #9c9ab5; --surface: #22212e; --surface-soft: #2c2b3a; --line: #3a3949; --pink-soft: #45304d; --sky-soft: #26414a; --title-1: #f1f0f7; --title-2: #f1f0f7; --title-3: #f1f0f7; --bar-glass: 45%; --bar-glass-scrolled: 74%; --bar-ring: rgba(255, 255, 255, 0.08); --bar-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.6); --nav-hover: rgba(255, 255, 255, 0.10); --nav-current: rgba(255, 255, 255, 0.15); --sheet-glass: 88%; --menu-scrim: rgba(0, 0, 0, 0.45); }
html[data-theme="aurora"][data-mode="light"] { --accent: #6d5df6; --accent-soft: #e6e2ff; --accent-deep: #5549ba; --accent-gradient: linear-gradient(135deg, #5c4fcb, #5549ba); --link: #5549ba; --glow: linear-gradient(135deg, #7c6cff, #b57bff, #f0a3f5); --glow-1: #7c6cff; --glow-2: #b57bff; --glow-3: #f0a3f5; --board: #f4f3fa; --star: #f0a3f5; --f2-ring: #8fd3ff; --f2-prime: #1f6fb2; --f2-p2: #77beef; --f2-p2-ink: #17161f; --f2-p3: #69b1e5; --f2-p3-ink: #17161f; --f2-p4: #5fa8de; --f2-p4-ink: #17161f; --f2-p5: #58a2d9; --f2-p5-ink: #17161f; --f2-p6: #519cd5; --f2-p6-ink: #17161f; --f2-p7: #4c97d1; --f2-p7-ink: #17161f; --f2-p8: #4893ce; --f2-p8-ink: #17161f; --f2-p9: #4490cb; --f2-p9-ink: #17161f; --f2-p10: #408cc9; --f2-p10-ink: #17161f; --f2-p11: #3d89c6; --f2-p11-ink: #17161f; --f2-p12: #3a87c4; --f2-p12-ink: #17161f; --f2-p13: #3784c2; --f2-p13-ink: #17161f; --f2-p14: #3482c1; --f2-p14-ink: #17161f; --f2-p15: #3280bf; --f2-p15-ink: #17161f; --f2-p16: #307ebe; --f2-p16-ink: #ffffff; --f3-ring: #ff9eae; --f3-prime: #b3264a; --f3-p2: #ef8499; --f3-p2-ink: #17161f; --f3-p3: #e5768c; --f3-p3-ink: #17161f; --f3-p4: #df6b84; --f3-p4-ink: #17161f; --f3-p5: #da637d; --f3-p5-ink: #17161f; --f3-p6: #d55c77; --f3-p6-ink: #17161f; --f3-p7: #d25672; --f3-p7-ink: #17161f; --f3-p8: #cf526e; --f3-p8-ink: #17161f; --f3-p9: #cc4d6b; --f3-p9-ink: #ffffff; --f3-p10: #c94967; --f3-p10-ink: #ffffff; --f3-p11: #c74664; --f3-p11-ink: #ffffff; --f3-p12: #c54362; --f3-p12-ink: #ffffff; --f3-p13: #c3405f; --f3-p13-ink: #ffffff; --f3-p14: #c23d5d; --f3-p14-ink: #ffffff; --f3-p15: #c03a5b; --f3-p15-ink: #ffffff; --f3-p16: #be3859; --f3-p16-ink: #ffffff; --f5-ring: #ffd873; --f5-prime: #8a6200; --f5-p2: #e6bf5b; --f5-p2-ink: #17161f; --f5-p3: #d8b04c; --f5-p3-ink: #17161f; --f5-p4: #cda642; --f5-p4-ink: #17161f; --f5-p5: #c59e3a; --f5-p5-ink: #17161f; --f5-p6: #bf9734; --f5-p6-ink: #17161f; --f5-p7: #b9922e; --f5-p7-ink: #17161f; --f5-p8: #b48d2a; --f5-p8-ink: #17161f; --f5-p9: #b08926; --f5-p9-ink: #17161f; --f5-p10: #ac8522; --f5-p10-ink: #17161f; --f5-p11: #a9811e; --f5-p11-ink: #17161f; --f5-p12: #a67e1b; --f5-p12-ink: #17161f; --f5-p13: #a37b19; --f5-p13-ink: #17161f; --f5-p14: #a07916; --f5-p14-ink: #17161f; --f5-p15: #9e7614; --f5-p15-ink: #17161f; --f5-p16: #9c7411; --f5-p16-ink: #ffffff; --tone-1: #5c50bd; --tone-1-soft: #dad6ff; --tone-2: #7751a8; --tone-2-soft: #eadaff; --tone-3: #865b89; --tone-3-soft: #fbe5fc; --bg-top: #ece9ff; --bg-bottom: #dcebff; --shadow: 0 8px 24px rgba(155, 123, 255, 0.16); }
html[data-theme="aurora"][data-mode="dark"] { --accent: #6d5df6; --accent-soft: #39336a; --accent-deep: #5549ba; --accent-gradient: linear-gradient(135deg, #5c4fcb, #5549ba); --link: #afa6fa; --glow: linear-gradient(135deg, #7c6cff, #b57bff, #f0a3f5); --glow-1: #7c6cff; --glow-2: #b57bff; --glow-3: #f0a3f5; --board: #2c2b3a; --star: #f0a3f5; --f2-ring: #8fd3ff; --f2-prime: #8fd3ff; --f2-p2: #77beef; --f2-p2-ink: #17161f; --f2-p3: #69b1e5; --f2-p3-ink: #17161f; --f2-p4: #5fa8de; --f2-p4-ink: #17161f; --f2-p5: #58a2d9; --f2-p5-ink: #17161f; --f2-p6: #519cd5; --f2-p6-ink: #17161f; --f2-p7: #4c97d1; --f2-p7-ink: #17161f; --f2-p8: #4893ce; --f2-p8-ink: #17161f; --f2-p9: #4490cb; --f2-p9-ink: #17161f; --f2-p10: #408cc9; --f2-p10-ink: #17161f; --f2-p11: #3d89c6; --f2-p11-ink: #17161f; --f2-p12: #3a87c4; --f2-p12-ink: #17161f; --f2-p13: #3784c2; --f2-p13-ink: #17161f; --f2-p14: #3482c1; --f2-p14-ink: #17161f; --f2-p15: #3280bf; --f2-p15-ink: #17161f; --f2-p16: #307ebe; --f2-p16-ink: #ffffff; --f3-ring: #ff9eae; --f3-prime: #ff9eae; --f3-p2: #ef8499; --f3-p2-ink: #17161f; --f3-p3: #e5768c; --f3-p3-ink: #17161f; --f3-p4: #df6b84; --f3-p4-ink: #17161f; --f3-p5: #da637d; --f3-p5-ink: #17161f; --f3-p6: #d55c77; --f3-p6-ink: #17161f; --f3-p7: #d25672; --f3-p7-ink: #17161f; --f3-p8: #cf526e; --f3-p8-ink: #17161f; --f3-p9: #cc4d6b; --f3-p9-ink: #ffffff; --f3-p10: #c94967; --f3-p10-ink: #ffffff; --f3-p11: #c74664; --f3-p11-ink: #ffffff; --f3-p12: #c54362; --f3-p12-ink: #ffffff; --f3-p13: #c3405f; --f3-p13-ink: #ffffff; --f3-p14: #c23d5d; --f3-p14-ink: #ffffff; --f3-p15: #c03a5b; --f3-p15-ink: #ffffff; --f3-p16: #be3859; --f3-p16-ink: #ffffff; --f5-ring: #ffd873; --f5-prime: #ffd873; --f5-p2: #e6bf5b; --f5-p2-ink: #17161f; --f5-p3: #d8b04c; --f5-p3-ink: #17161f; --f5-p4: #cda642; --f5-p4-ink: #17161f; --f5-p5: #c59e3a; --f5-p5-ink: #17161f; --f5-p6: #bf9734; --f5-p6-ink: #17161f; --f5-p7: #b9922e; --f5-p7-ink: #17161f; --f5-p8: #b48d2a; --f5-p8-ink: #17161f; --f5-p9: #b08926; --f5-p9-ink: #17161f; --f5-p10: #ac8522; --f5-p10-ink: #17161f; --f5-p11: #a9811e; --f5-p11-ink: #17161f; --f5-p12: #a67e1b; --f5-p12-ink: #17161f; --f5-p13: #a37b19; --f5-p13-ink: #17161f; --f5-p14: #a07916; --f5-p14-ink: #17161f; --f5-p15: #9e7614; --f5-p15-ink: #17161f; --f5-p16: #9c7411; --f5-p16-ink: #ffffff; --tone-1: #9b8fff; --tone-1-soft: #343058; --tone-2: #be8bff; --tone-2-soft: #3f3358; --tone-3: #f0a3f5; --tone-3-soft: #4b3b56; --bg-top: #221f42; --bg-bottom: #141222; --shadow: 0 8px 24px rgba(155, 123, 255, 0.20); }
html[data-theme="ocean"][data-mode="light"] { --accent: #2f7df6; --accent-soft: #dcebff; --accent-deep: #2860ba; --accent-gradient: linear-gradient(135deg, #2a68cb, #2860ba); --link: #2860ba; --glow: linear-gradient(135deg, #2f7df6, #3fb6f2, #6fe3e1); --glow-1: #2f7df6; --glow-2: #3fb6f2; --glow-3: #6fe3e1; --board: #f4f3fa; --star: #6fe3e1; --f2-ring: #92c2ff; --f2-prime: #1c58b0; --f2-p2: #79abee; --f2-p2-ink: #17161f; --f2-p3: #6a9ee4; --f2-p3-ink: #17161f; --f2-p4: #6095dd; --f2-p4-ink: #17161f; --f2-p5: #588ed8; --f2-p5-ink: #17161f; --f2-p6: #5188d4; --f2-p6-ink: #17161f; --f2-p7: #4c83d0; --f2-p7-ink: #17161f; --f2-p8: #477ecd; --f2-p8-ink: #17161f; --f2-p9: #437bca; --f2-p9-ink: #ffffff; --f2-p10: #3f77c7; --f2-p10-ink: #ffffff; --f2-p11: #3b74c5; --f2-p11-ink: #ffffff; --f2-p12: #3871c3; --f2-p12-ink: #ffffff; --f2-p13: #356fc1; --f2-p13-ink: #ffffff; --f2-p14: #336cbf; --f2-p14-ink: #ffffff; --f2-p15: #306abd; --f2-p15-ink: #ffffff; --f2-p16: #2e68bc; --f2-p16-ink: #ffffff; --f3-ring: #86e3be; --f3-prime: #0b6b47; --f3-p2: #6cc9a5; --f3-p2-ink: #17161f; --f3-p3: #5dbb96; --f3-p3-ink: #17161f; --f3-p4: #52b08b; --f3-p4-ink: #17161f; --f3-p5: #49a883; --f3-p5-ink: #17161f; --f3-p6: #42a17d; --f3-p6-ink: #17161f; --f3-p7: #3d9b77; --f3-p7-ink: #17161f; --f3-p8: #389672; --f3-p8-ink: #17161f; --f3-p9: #33926e; --f3-p9-ink: #17161f; --f3-p10: #2f8e6a; --f3-p10-ink: #17161f; --f3-p11: #2c8b67; --f3-p11-ink: #17161f; --f3-p12: #288863; --f3-p12-ink: #ffffff; --f3-p13: #258560; --f3-p13-ink: #ffffff; --f3-p14: #22825e; --f3-p14-ink: #ffffff; --f3-p15: #207f5b; --f3-p15-ink: #ffffff; --f3-p16: #1d7d59; --f3-p16-ink: #ffffff; --f5-ring: #ffd98c; --f5-prime: #855e00; --f5-p2: #e5bf6e; --f5-p2-ink: #17161f; --f5-p3: #d6b05d; --f5-p3-ink: #17161f; --f5-p4: #cba551; --f5-p4-ink: #17161f; --f5-p5: #c39c47; --f5-p5-ink: #17161f; --f5-p6: #bc953f; --f5-p6-ink: #17161f; --f5-p7: #b69038; --f5-p7-ink: #17161f; --f5-p8: #b18b33; --f5-p8-ink: #17161f; --f5-p9: #ad862e; --f5-p9-ink: #17161f; --f5-p10: #a98229; --f5-p10-ink: #17161f; --f5-p11: #a57f25; --f5-p11-ink: #17161f; --f5-p12: #a27b21; --f5-p12-ink: #17161f; --f5-p13: #9f781e; --f5-p13-ink: #17161f; --f5-p14: #9c751b; --f5-p14-ink: #17161f; --f5-p15: #9a7318; --f5-p15-ink: #ffffff; --f5-p16: #977015; --f5-p16-ink: #ffffff; --tone-1: #235db6; --tone-1-soft: #c5dbfc; --tone-2: #266d91; --tone-2-soft: #c9ebfb; --tone-3: #3a7675; --tone-3-soft: #d7f7f7; --bg-top: #e3f1ff; --bg-bottom: #ddf7f5; --shadow: 0 8px 24px rgba(63, 169, 245, 0.16); }
html[data-theme="ocean"][data-mode="dark"] { --accent: #2f7df6; --accent-soft: #263d6a; --accent-deep: #2860ba; --accent-gradient: linear-gradient(135deg, #2a68cb, #2860ba); --link: #8db7fa; --glow: linear-gradient(135deg, #2f7df6, #3fb6f2, #6fe3e1); --glow-1: #2f7df6; --glow-2: #3fb6f2; --glow-3: #6fe3e1; --board: #2c2b3a; --star: #6fe3e1; --f2-ring: #92c2ff; --f2-prime: #92c2ff; --f2-p2: #79abee; --f2-p2-ink: #17161f; --f2-p3: #6a9ee4; --f2-p3-ink: #17161f; --f2-p4: #6095dd; --f2-p4-ink: #17161f; --f2-p5: #588ed8; --f2-p5-ink: #17161f; --f2-p6: #5188d4; --f2-p6-ink: #17161f; --f2-p7: #4c83d0; --f2-p7-ink: #17161f; --f2-p8: #477ecd; --f2-p8-ink: #17161f; --f2-p9: #437bca; --f2-p9-ink: #ffffff; --f2-p10: #3f77c7; --f2-p10-ink: #ffffff; --f2-p11: #3b74c5; --f2-p11-ink: #ffffff; --f2-p12: #3871c3; --f2-p12-ink: #ffffff; --f2-p13: #356fc1; --f2-p13-ink: #ffffff; --f2-p14: #336cbf; --f2-p14-ink: #ffffff; --f2-p15: #306abd; --f2-p15-ink: #ffffff; --f2-p16: #2e68bc; --f2-p16-ink: #ffffff; --f3-ring: #86e3be; --f3-prime: #86e3be; --f3-p2: #6cc9a5; --f3-p2-ink: #17161f; --f3-p3: #5dbb96; --f3-p3-ink: #17161f; --f3-p4: #52b08b; --f3-p4-ink: #17161f; --f3-p5: #49a883; --f3-p5-ink: #17161f; --f3-p6: #42a17d; --f3-p6-ink: #17161f; --f3-p7: #3d9b77; --f3-p7-ink: #17161f; --f3-p8: #389672; --f3-p8-ink: #17161f; --f3-p9: #33926e; --f3-p9-ink: #17161f; --f3-p10: #2f8e6a; --f3-p10-ink: #17161f; --f3-p11: #2c8b67; --f3-p11-ink: #17161f; --f3-p12: #288863; --f3-p12-ink: #ffffff; --f3-p13: #258560; --f3-p13-ink: #ffffff; --f3-p14: #22825e; --f3-p14-ink: #ffffff; --f3-p15: #207f5b; --f3-p15-ink: #ffffff; --f3-p16: #1d7d59; --f3-p16-ink: #ffffff; --f5-ring: #ffd98c; --f5-prime: #ffd98c; --f5-p2: #e5bf6e; --f5-p2-ink: #17161f; --f5-p3: #d6b05d; --f5-p3-ink: #17161f; --f5-p4: #cba551; --f5-p4-ink: #17161f; --f5-p5: #c39c47; --f5-p5-ink: #17161f; --f5-p6: #bc953f; --f5-p6-ink: #17161f; --f5-p7: #b69038; --f5-p7-ink: #17161f; --f5-p8: #b18b33; --f5-p8-ink: #17161f; --f5-p9: #ad862e; --f5-p9-ink: #17161f; --f5-p10: #a98229; --f5-p10-ink: #17161f; --f5-p11: #a57f25; --f5-p11-ink: #17161f; --f5-p12: #a27b21; --f5-p12-ink: #17161f; --f5-p13: #9f781e; --f5-p13-ink: #17161f; --f5-p14: #9c751b; --f5-p14-ink: #17161f; --f5-p15: #9a7318; --f5-p15-ink: #ffffff; --f5-p16: #977015; --f5-p16-ink: #ffffff; --tone-1: #619cf8; --tone-1-soft: #253356; --tone-2: #3fb6f2; --tone-2-soft: #283f55; --tone-3: #6fe3e1; --tone-3-soft: #314852; --bg-top: #172442; --bg-bottom: #101422; --shadow: 0 8px 24px rgba(63, 169, 245, 0.20); }
html[data-theme="sunset"][data-mode="light"] { --accent: #e8613a; --accent-soft: #ffe4d6; --accent-deep: #ad4c32; --accent-gradient: linear-gradient(135deg, #be5235, #ad4c32); --link: #ad4c32; --glow: linear-gradient(135deg, #ff6f59, #ff9f5a, #ffd36e); --glow-1: #ff6f59; --glow-2: #ff9f5a; --glow-3: #ffd36e; --board: #f4f3fa; --star: #ffd36e; --f2-ring: #ffa0ae; --f2-prime: #b0243f; --f2-p2: #ee8696; --f2-p2-ink: #17161f; --f2-p3: #e47689; --f2-p3-ink: #17161f; --f2-p4: #dd6b7f; --f2-p4-ink: #17161f; --f2-p5: #d86377; --f2-p5-ink: #17161f; --f2-p6: #d45c71; --f2-p6-ink: #17161f; --f2-p7: #d0566c; --f2-p7-ink: #17161f; --f2-p8: #cd5167; --f2-p8-ink: #17161f; --f2-p9: #ca4c63; --f2-p9-ink: #ffffff; --f2-p10: #c74860; --f2-p10-ink: #ffffff; --f2-p11: #c5455c; --f2-p11-ink: #ffffff; --f2-p12: #c34259; --f2-p12-ink: #ffffff; --f2-p13: #c13e57; --f2-p13-ink: #ffffff; --f2-p14: #bf3c54; --f2-p14-ink: #ffffff; --f2-p15: #bd3952; --f2-p15-ink: #ffffff; --f2-p16: #bc3750; --f2-p16-ink: #ffffff; --f3-ring: #c7a8ff; --f3-prime: #5a35b8; --f3-p2: #b090f0; --f3-p2-ink: #17161f; --f3-p3: #a281e7; --f3-p3-ink: #17161f; --f3-p4: #9977e1; --f3-p4-ink: #17161f; --f3-p5: #916fdc; --f3-p5-ink: #17161f; --f3-p6: #8b69d8; --f3-p6-ink: #17161f; --f3-p7: #8663d5; --f3-p7-ink: #ffffff; --f3-p8: #825fd2; --f3-p8-ink: #ffffff; --f3-p9: #7e5bcf; --f3-p9-ink: #ffffff; --f3-p10: #7a57cd; --f3-p10-ink: #ffffff; --f3-p11: #7753cb; --f3-p11-ink: #ffffff; --f3-p12: #7450c9; --f3-p12-ink: #ffffff; --f3-p13: #714ec7; --f3-p13-ink: #ffffff; --f3-p14: #6f4bc6; --f3-p14-ink: #ffffff; --f3-p15: #6d49c4; --f3-p15-ink: #ffffff; --f3-p16: #6a46c3; --f3-p16-ink: #ffffff; --f5-ring: #ffdc78; --f5-prime: #7f5f00; --f5-p2: #e4c15e; --f5-p2-ink: #17161f; --f5-p3: #d4b250; --f5-p3-ink: #17161f; --f5-p4: #c9a745; --f5-p4-ink: #17161f; --f5-p5: #c09e3d; --f5-p5-ink: #17161f; --f5-p6: #b99736; --f5-p6-ink: #17161f; --f5-p7: #b39130; --f5-p7-ink: #17161f; --f5-p8: #ad8c2c; --f5-p8-ink: #17161f; --f5-p9: #a98827; --f5-p9-ink: #17161f; --f5-p10: #a58423; --f5-p10-ink: #17161f; --f5-p11: #a18020; --f5-p11-ink: #17161f; --f5-p12: #9d7d1d; --f5-p12-ink: #17161f; --f5-p13: #9a7a1a; --f5-p13-ink: #17161f; --f5-p14: #977717; --f5-p14-ink: #17161f; --f5-p15: #957414; --f5-p15-ink: #ffffff; --f5-p16: #927212; --f5-p16-ink: #ffffff; --tone-1: #a34739; --tone-1-soft: #ffd7d1; --tone-2: #8f5932; --tone-2-soft: #ffe4d1; --tone-3: #7f6937; --tone-3-soft: #fff3d6; --bg-top: #ffefe6; --bg-bottom: #fff6dd; --shadow: 0 8px 24px rgba(255, 138, 91, 0.16); }
html[data-theme="sunset"][data-mode="dark"] { --accent: #e8613a; --accent-soft: #5d3432; --accent-deep: #ad4c32; --accent-gradient: linear-gradient(135deg, #be5235, #ad4c32); --link: #f2a893; --glow: linear-gradient(135deg, #ff6f59, #ff9f5a, #ffd36e); --glow-1: #ff6f59; --glow-2: #ff9f5a; --glow-3: #ffd36e; --board: #2c2b3a; --star: #ffd36e; --f2-ring: #ffa0ae; --f2-prime: #ffa0ae; --f2-p2: #ee8696; --f2-p2-ink: #17161f; --f2-p3: #e47689; --f2-p3-ink: #17161f; --f2-p4: #dd6b7f; --f2-p4-ink: #17161f; --f2-p5: #d86377; --f2-p5-ink: #17161f; --f2-p6: #d45c71; --f2-p6-ink: #17161f; --f2-p7: #d0566c; --f2-p7-ink: #17161f; --f2-p8: #cd5167; --f2-p8-ink: #17161f; --f2-p9: #ca4c63; --f2-p9-ink: #ffffff; --f2-p10: #c74860; --f2-p10-ink: #ffffff; --f2-p11: #c5455c; --f2-p11-ink: #ffffff; --f2-p12: #c34259; --f2-p12-ink: #ffffff; --f2-p13: #c13e57; --f2-p13-ink: #ffffff; --f2-p14: #bf3c54; --f2-p14-ink: #ffffff; --f2-p15: #bd3952; --f2-p15-ink: #ffffff; --f2-p16: #bc3750; --f2-p16-ink: #ffffff; --f3-ring: #c7a8ff; --f3-prime: #c7a8ff; --f3-p2: #b090f0; --f3-p2-ink: #17161f; --f3-p3: #a281e7; --f3-p3-ink: #17161f; --f3-p4: #9977e1; --f3-p4-ink: #17161f; --f3-p5: #916fdc; --f3-p5-ink: #17161f; --f3-p6: #8b69d8; --f3-p6-ink: #17161f; --f3-p7: #8663d5; --f3-p7-ink: #ffffff; --f3-p8: #825fd2; --f3-p8-ink: #ffffff; --f3-p9: #7e5bcf; --f3-p9-ink: #ffffff; --f3-p10: #7a57cd; --f3-p10-ink: #ffffff; --f3-p11: #7753cb; --f3-p11-ink: #ffffff; --f3-p12: #7450c9; --f3-p12-ink: #ffffff; --f3-p13: #714ec7; --f3-p13-ink: #ffffff; --f3-p14: #6f4bc6; --f3-p14-ink: #ffffff; --f3-p15: #6d49c4; --f3-p15-ink: #ffffff; --f3-p16: #6a46c3; --f3-p16-ink: #ffffff; --f5-ring: #ffdc78; --f5-prime: #ffdc78; --f5-p2: #e4c15e; --f5-p2-ink: #17161f; --f5-p3: #d4b250; --f5-p3-ink: #17161f; --f5-p4: #c9a745; --f5-p4-ink: #17161f; --f5-p5: #c09e3d; --f5-p5-ink: #17161f; --f5-p6: #b99736; --f5-p6-ink: #17161f; --f5-p7: #b39130; --f5-p7-ink: #17161f; --f5-p8: #ad8c2c; --f5-p8-ink: #17161f; --f5-p9: #a98827; --f5-p9-ink: #17161f; --f5-p10: #a58423; --f5-p10-ink: #17161f; --f5-p11: #a18020; --f5-p11-ink: #17161f; --f5-p12: #9d7d1d; --f5-p12-ink: #17161f; --f5-p13: #9a7a1a; --f5-p13-ink: #17161f; --f5-p14: #977717; --f5-p14-ink: #17161f; --f5-p15: #957414; --f5-p15-ink: #ffffff; --f5-p16: #927212; --f5-p16-ink: #ffffff; --tone-1: #ff7b66; --tone-1-soft: #4e3137; --tone-2: #ff9f5a; --tone-2-soft: #4e3a37; --tone-3: #ffd36e; --tone-3-soft: #4e453b; --bg-top: #391f20; --bg-bottom: #1b1216; --shadow: 0 8px 24px rgba(255, 138, 91, 0.20); }
html[data-theme="forest"][data-mode="light"] { --accent: #2e9e6b; --accent-soft: #d9f3e6; --accent-deep: #287856; --accent-gradient: linear-gradient(135deg, #29835c, #287856); --link: #287856; --glow: linear-gradient(135deg, #23a26d, #5cc98a, #b7e86b); --glow-1: #23a26d; --glow-2: #5cc98a; --glow-3: #b7e86b; --board: #f4f3fa; --star: #b7e86b; --f2-ring: #8edbaf; --f2-prime: #1a7046; --f2-p2: #75c499; --f2-p2-ink: #17161f; --f2-p3: #67b78c; --f2-p3-ink: #17161f; --f2-p4: #5dae82; --f2-p4-ink: #17161f; --f2-p5: #55a67b; --f2-p5-ink: #17161f; --f2-p6: #4ea075; --f2-p6-ink: #17161f; --f2-p7: #499b70; --f2-p7-ink: #17161f; --f2-p8: #44976c; --f2-p8-ink: #17161f; --f2-p9: #409368; --f2-p9-ink: #17161f; --f2-p10: #3c8f65; --f2-p10-ink: #17161f; --f2-p11: #398c62; --f2-p11-ink: #17161f; --f2-p12: #36895f; --f2-p12-ink: #ffffff; --f2-p13: #33875c; --f2-p13-ink: #ffffff; --f2-p14: #30845a; --f2-p14-ink: #ffffff; --f2-p15: #2e8258; --f2-p15-ink: #ffffff; --f2-p16: #2b8056; --f2-p16-ink: #ffffff; --f3-ring: #c6ea86; --f3-prime: #4f6e0a; --f3-p2: #add06c; --f3-p2-ink: #17161f; --f3-p3: #9ec05c; --f3-p3-ink: #17161f; --f3-p4: #93b551; --f3-p4-ink: #17161f; --f3-p5: #8bad49; --f3-p5-ink: #17161f; --f3-p6: #85a642; --f3-p6-ink: #17161f; --f3-p7: #7fa03c; --f3-p7-ink: #17161f; --f3-p8: #7a9b37; --f3-p8-ink: #17161f; --f3-p9: #769632; --f3-p9-ink: #17161f; --f3-p10: #72922e; --f3-p10-ink: #17161f; --f3-p11: #6f8f2b; --f3-p11-ink: #17161f; --f3-p12: #6b8c28; --f3-p12-ink: #17161f; --f3-p13: #688824; --f3-p13-ink: #17161f; --f3-p14: #668622; --f3-p14-ink: #17161f; --f3-p15: #63831f; --f3-p15-ink: #ffffff; --f3-p16: #61811d; --f3-p16-ink: #ffffff; --f5-ring: #f7b98a; --f5-prime: #8f4a10; --f5-p2: #e1a170; --f5-p2-ink: #17161f; --f5-p3: #d49461; --f5-p3-ink: #17161f; --f5-p4: #cb8a56; --f5-p4-ink: #17161f; --f5-p5: #c4824e; --f5-p5-ink: #17161f; --f5-p6: #be7c47; --f5-p6-ink: #17161f; --f5-p7: #b97741; --f5-p7-ink: #17161f; --f5-p8: #b5723c; --f5-p8-ink: #17161f; --f5-p9: #b16e38; --f5-p9-ink: #17161f; --f5-p10: #ae6b34; --f5-p10-ink: #ffffff; --f5-p11: #ab6730; --f5-p11-ink: #ffffff; --f5-p12: #a8642d; --f5-p12-ink: #ffffff; --f5-p13: #a5622a; --f5-p13-ink: #ffffff; --f5-p14: #a35f27; --f5-p14-ink: #ffffff; --f5-p15: #a15d25; --f5-p15-ink: #ffffff; --f5-p16: #9f5b22; --f5-p16-ink: #ffffff; --tone-1: #186e4a; --tone-1-soft: #c1e5d6; --tone-2: #357550; --tone-2-soft: #d1f0de; --tone-3: #5b7435; --tone-3-soft: #ebf9d6; --bg-top: #e3f6ec; --bg-bottom: #eef8dc; --shadow: 0 8px 24px rgba(76, 191, 127, 0.16); }
html[data-theme="forest"][data-mode="dark"] { --accent: #2e9e6b; --accent-soft: #264740; --accent-deep: #287856; --accent-gradient: linear-gradient(135deg, #29835c, #287856); --link: #8ccaae; --glow: linear-gradient(135deg, #23a26d, #5cc98a, #b7e86b); --glow-1: #23a26d; --glow-2: #5cc98a; --glow-3: #b7e86b; --board: #2c2b3a; --star: #b7e86b; --f2-ring: #8edbaf; --f2-prime: #8edbaf; --f2-p2: #75c499; --f2-p2-ink: #17161f; --f2-p3: #67b78c; --f2-p3-ink: #17161f; --f2-p4: #5dae82; --f2-p4-ink: #17161f; --f2-p5: #55a67b; --f2-p5-ink: #17161f; --f2-p6: #4ea075; --f2-p6-ink: #17161f; --f2-p7: #499b70; --f2-p7-ink: #17161f; --f2-p8: #44976c; --f2-p8-ink: #17161f; --f2-p9: #409368; --f2-p9-ink: #17161f; --f2-p10: #3c8f65; --f2-p10-ink: #17161f; --f2-p11: #398c62; --f2-p11-ink: #17161f; --f2-p12: #36895f; --f2-p12-ink: #ffffff; --f2-p13: #33875c; --f2-p13-ink: #ffffff; --f2-p14: #30845a; --f2-p14-ink: #ffffff; --f2-p15: #2e8258; --f2-p15-ink: #ffffff; --f2-p16: #2b8056; --f2-p16-ink: #ffffff; --f3-ring: #c6ea86; --f3-prime: #c6ea86; --f3-p2: #add06c; --f3-p2-ink: #17161f; --f3-p3: #9ec05c; --f3-p3-ink: #17161f; --f3-p4: #93b551; --f3-p4-ink: #17161f; --f3-p5: #8bad49; --f3-p5-ink: #17161f; --f3-p6: #85a642; --f3-p6-ink: #17161f; --f3-p7: #7fa03c; --f3-p7-ink: #17161f; --f3-p8: #7a9b37; --f3-p8-ink: #17161f; --f3-p9: #769632; --f3-p9-ink: #17161f; --f3-p10: #72922e; --f3-p10-ink: #17161f; --f3-p11: #6f8f2b; --f3-p11-ink: #17161f; --f3-p12: #6b8c28; --f3-p12-ink: #17161f; --f3-p13: #688824; --f3-p13-ink: #17161f; --f3-p14: #668622; --f3-p14-ink: #17161f; --f3-p15: #63831f; --f3-p15-ink: #ffffff; --f3-p16: #61811d; --f3-p16-ink: #ffffff; --f5-ring: #f7b98a; --f5-prime: #f7b98a; --f5-p2: #e1a170; --f5-p2-ink: #17161f; --f5-p3: #d49461; --f5-p3-ink: #17161f; --f5-p4: #cb8a56; --f5-p4-ink: #17161f; --f5-p5: #c4824e; --f5-p5-ink: #17161f; --f5-p6: #be7c47; --f5-p6-ink: #17161f; --f5-p7: #b97741; --f5-p7-ink: #17161f; --f5-p8: #b5723c; --f5-p8-ink: #17161f; --f5-p9: #b16e38; --f5-p9-ink: #17161f; --f5-p10: #ae6b34; --f5-p10-ink: #ffffff; --f5-p11: #ab6730; --f5-p11-ink: #ffffff; --f5-p12: #a8642d; --f5-p12-ink: #ffffff; --f5-p13: #a5622a; --f5-p13-ink: #ffffff; --f5-p14: #a35f27; --f5-p14-ink: #ffffff; --f5-p15: #a15d25; --f5-p15-ink: #ffffff; --f5-p16: #9f5b22; --f5-p16-ink: #ffffff; --tone-1: #4bb387; --tone-1-soft: #223b3b; --tone-2: #5cc98a; --tone-2-soft: #2e4340; --tone-3: #b7e86b; --tone-3-soft: #40493a; --bg-top: #172a29; --bg-bottom: #101619; --shadow: 0 8px 24px rgba(76, 191, 127, 0.20); }
html[data-theme="rose"][data-mode="light"] { --accent: #e0457b; --accent-soft: #ffe0ea; --accent-deep: #a83861; --accent-gradient: linear-gradient(135deg, #b83c69, #a83861); --link: #a83861; --glow: linear-gradient(135deg, #f2557f, #ff7eb0, #ffb3d1); --glow-1: #f2557f; --glow-2: #ff7eb0; --glow-3: #ffb3d1; --board: #f4f3fa; --star: #ffb3d1; --f2-ring: #ffa3cf; --f2-prime: #a8235f; --f2-p2: #ed88b7; --f2-p2-ink: #17161f; --f2-p3: #e278a9; --f2-p3-ink: #17161f; --f2-p4: #da6d9f; --f2-p4-ink: #17161f; --f2-p5: #d46498; --f2-p5-ink: #17161f; --f2-p6: #cf5d91; --f2-p6-ink: #17161f; --f2-p7: #cb578c; --f2-p7-ink: #17161f; --f2-p8: #c85188; --f2-p8-ink: #17161f; --f2-p9: #c44d84; --f2-p9-ink: #ffffff; --f2-p10: #c24980; --f2-p10-ink: #ffffff; --f2-p11: #bf457d; --f2-p11-ink: #ffffff; --f2-p12: #bd417a; --f2-p12-ink: #ffffff; --f2-p13: #bb3e77; --f2-p13-ink: #ffffff; --f2-p14: #b93b74; --f2-p14-ink: #ffffff; --f2-p15: #b73972; --f2-p15-ink: #ffffff; --f2-p16: #b53670; --f2-p16-ink: #ffffff; --f3-ring: #d3aeff; --f3-prime: #6534b5; --f3-p2: #bc94ef; --f3-p2-ink: #17161f; --f3-p3: #ae85e6; --f3-p3-ink: #17161f; --f3-p4: #a47ae0; --f3-p4-ink: #17161f; --f3-p5: #9d72da; --f3-p5-ink: #17161f; --f3-p6: #976bd6; --f3-p6-ink: #17161f; --f3-p7: #9165d3; --f3-p7-ink: #17161f; --f3-p8: #8d60d0; --f3-p8-ink: #ffffff; --f3-p9: #895ccd; --f3-p9-ink: #ffffff; --f3-p10: #8558cb; --f3-p10-ink: #ffffff; --f3-p11: #8254c9; --f3-p11-ink: #ffffff; --f3-p12: #7f51c7; --f3-p12-ink: #ffffff; --f3-p13: #7d4ec5; --f3-p13-ink: #ffffff; --f3-p14: #7a4bc3; --f3-p14-ink: #ffffff; --f3-p15: #7849c2; --f3-p15-ink: #ffffff; --f3-p16: #7646c0; --f3-p16-ink: #ffffff; --f5-ring: #ffcf9c; --f5-prime: #8f5410; --f5-p2: #e7b57e; --f5-p2-ink: #17161f; --f5-p3: #d9a66d; --f5-p3-ink: #17161f; --f5-p4: #cf9b61; --f5-p4-ink: #17161f; --f5-p5: #c89257; --f5-p5-ink: #17161f; --f5-p6: #c18b4f; --f5-p6-ink: #17161f; --f5-p7: #bc8648; --f5-p7-ink: #17161f; --f5-p8: #b88143; --f5-p8-ink: #17161f; --f5-p9: #b47c3e; --f5-p9-ink: #17161f; --f5-p10: #b07839; --f5-p10-ink: #17161f; --f5-p11: #ad7535; --f5-p11-ink: #17161f; --f5-p12: #aa7131; --f5-p12-ink: #17161f; --f5-p13: #a76e2e; --f5-p13-ink: #ffffff; --f5-p14: #a46b2b; --f5-p14-ink: #ffffff; --f5-p15: #a26928; --f5-p15-ink: #ffffff; --f5-p16: #a06625; --f5-p16-ink: #ffffff; --tone-1: #a53a56; --tone-1-soft: #fbcfdb; --tone-2: #994c6a; --tone-2-soft: #ffdbe9; --tone-3: #8a6171; --tone-3-soft: #ffeaf2; --bg-top: #ffe8ef; --bg-bottom: #f6e6ff; --shadow: 0 8px 24px rgba(245, 108, 152, 0.16); }
html[data-theme="rose"][data-mode="dark"] { --accent: #e0457b; --accent-soft: #5b2c45; --accent-deep: #a83861; --accent-gradient: linear-gradient(135deg, #b83c69, #a83861); --link: #ee99b6; --glow: linear-gradient(135deg, #f2557f, #ff7eb0, #ffb3d1); --glow-1: #f2557f; --glow-2: #ff7eb0; --glow-3: #ffb3d1; --board: #2c2b3a; --star: #ffb3d1; --f2-ring: #ffa3cf; --f2-prime: #ffa3cf; --f2-p2: #ed88b7; --f2-p2-ink: #17161f; --f2-p3: #e278a9; --f2-p3-ink: #17161f; --f2-p4: #da6d9f; --f2-p4-ink: #17161f; --f2-p5: #d46498; --f2-p5-ink: #17161f; --f2-p6: #cf5d91; --f2-p6-ink: #17161f; --f2-p7: #cb578c; --f2-p7-ink: #17161f; --f2-p8: #c85188; --f2-p8-ink: #17161f; --f2-p9: #c44d84; --f2-p9-ink: #ffffff; --f2-p10: #c24980; --f2-p10-ink: #ffffff; --f2-p11: #bf457d; --f2-p11-ink: #ffffff; --f2-p12: #bd417a; --f2-p12-ink: #ffffff; --f2-p13: #bb3e77; --f2-p13-ink: #ffffff; --f2-p14: #b93b74; --f2-p14-ink: #ffffff; --f2-p15: #b73972; --f2-p15-ink: #ffffff; --f2-p16: #b53670; --f2-p16-ink: #ffffff; --f3-ring: #d3aeff; --f3-prime: #d3aeff; --f3-p2: #bc94ef; --f3-p2-ink: #17161f; --f3-p3: #ae85e6; --f3-p3-ink: #17161f; --f3-p4: #a47ae0; --f3-p4-ink: #17161f; --f3-p5: #9d72da; --f3-p5-ink: #17161f; --f3-p6: #976bd6; --f3-p6-ink: #17161f; --f3-p7: #9165d3; --f3-p7-ink: #17161f; --f3-p8: #8d60d0; --f3-p8-ink: #ffffff; --f3-p9: #895ccd; --f3-p9-ink: #ffffff; --f3-p10: #8558cb; --f3-p10-ink: #ffffff; --f3-p11: #8254c9; --f3-p11-ink: #ffffff; --f3-p12: #7f51c7; --f3-p12-ink: #ffffff; --f3-p13: #7d4ec5; --f3-p13-ink: #ffffff; --f3-p14: #7a4bc3; --f3-p14-ink: #ffffff; --f3-p15: #7849c2; --f3-p15-ink: #ffffff; --f3-p16: #7646c0; --f3-p16-ink: #ffffff; --f5-ring: #ffcf9c; --f5-prime: #ffcf9c; --f5-p2: #e7b57e; --f5-p2-ink: #17161f; --f5-p3: #d9a66d; --f5-p3-ink: #17161f; --f5-p4: #cf9b61; --f5-p4-ink: #17161f; --f5-p5: #c89257; --f5-p5-ink: #17161f; --f5-p6: #c18b4f; --f5-p6-ink: #17161f; --f5-p7: #bc8648; --f5-p7-ink: #17161f; --f5-p8: #b88143; --f5-p8-ink: #17161f; --f5-p9: #b47c3e; --f5-p9-ink: #17161f; --f5-p10: #b07839; --f5-p10-ink: #17161f; --f5-p11: #ad7535; --f5-p11-ink: #17161f; --f5-p12: #aa7131; --f5-p12-ink: #17161f; --f5-p13: #a76e2e; --f5-p13-ink: #ffffff; --f5-p14: #a46b2b; --f5-p14-ink: #ffffff; --f5-p15: #a26928; --f5-p15-ink: #ffffff; --f5-p16: #a06625; --f5-p16-ink: #ffffff; --tone-1: #f47496; --tone-1-soft: #4c2b3e; --tone-2: #ff7eb0; --tone-2-soft: #4e3448; --tone-3: #ffb3d1; --tone-3-soft: #4e3e4f; --bg-top: #371a2b; --bg-bottom: #1b101a; --shadow: 0 8px 24px rgba(245, 108, 152, 0.20); }
