/* Puppy Sweeper website. Uses the app's colour themes and light/dark mode
   (docs/requirements.md V1, V2): gradient background, rounded cards, an
   accent colour and glowing tiles. Each page type has its own body class and
   layout (docs/website.md W3). */

:root {
  /* Colours 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;
  --read: 700px;
}

*,
*::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 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.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 {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg-top) 72%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.site-nav a:hover {
  background: var(--accent-soft);
}

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

.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);
}

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

.theme-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  flex: none;
}

.theme-button:hover {
  background: var(--accent-soft);
}

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

.get-app {
  min-height: 48px;
  padding: 0 24px;
  white-space: nowrap;
  flex: none;
}

.theme-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(360px, 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(5, 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;
  /* box-shadow: 0 10px 24px var(--glow-shadow); */
}

.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);
  /* box-shadow: 0 0 18px 1px var(--glow-shadow); */
}

/* ---------- 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;
  gap: 12px;
  margin-top: 28px;
}

.demo {
  padding: 28px;
  text-align: center;
}

.demo .board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: min(100%, 320px);
  margin: 0 auto 16px;
}

.demo .board button.tile {
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-size: clamp(16px, 5vw, 22px);
  font-weight: 800;
  color: var(--ink);
  display: grid;
  place-items: center;
  -webkit-touch-callout: none;
  user-select: none;
}

.demo .board button.tile:disabled {
  cursor: default;
}

.demo .board button.tile.on:active {
  transform: scale(0.92);
}

/* V2: each clue number has its own fixed colour. */
.demo .board .tile[data-clue="1"] { color: var(--clue-1); }
.demo .board .tile[data-clue="2"] { color: var(--clue-2); }
.demo .board .tile[data-clue="3"] { color: var(--clue-3); }
.demo .board .tile[data-clue="4"] { color: var(--clue-4); }
.demo .board .tile[data-clue="5"] { color: var(--clue-5); }
.demo .board .tile[data-clue="6"] { color: var(--clue-6); }
.demo .board .tile[data-clue="7"] { color: var(--clue-7); }
.demo .board .tile[data-clue="8"] { color: var(--clue-8); }

.demo .board .tile.poop {
  background: var(--pink-soft);
}

.demo .flag-mode {
  min-height: 44px;
  margin: 0 auto 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.demo .flag-mode:disabled {
  opacity: 0.5;
  cursor: default;
}

.demo .flag-mode[aria-pressed="true"] {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

.demo .status {
  min-height: 1.6em;
  font-weight: 600;
}

.demo .status button {
  font: inherit;
  color: var(--link);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.feature {
  padding: 26px;
}

.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: var(--accent-soft);
}

.feature:nth-child(3n + 2) .icon {
  background: var(--sky-soft);
}

.feature:nth-child(3n) .icon {
  background: var(--pink-soft);
}

.feature h2 {
  font-size: 20px;
  margin: 0 0 6px;
}

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

.steps {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

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

.steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  padding: 20px 22px 20px 72px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}

.cta-band {
  margin-top: 72px;
  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 (W11): real screens from the app, in a phone frame. */
.phone {
  margin: 0;
  border: 10px solid #111018;
  border-radius: 46px;
  overflow: hidden;
  background: #111018;
  /* box-shadow: 0 30px 60px -20px var(--glow-shadow), 0 12px 30px rgba(0, 0, 0, 0.18); */
}

/* 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: 72px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.showcase h2,
.gallery-section 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);
}

.gallery-section {
  margin-top: 72px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.gallery figure {
  margin: 0;
  text-align: center;
}

.gallery .phone {
  width: min(100%, 260px);
  margin: 0 auto;
}

.gallery figcaption {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 600;
  color: var(--muted);
}

@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);
  }

  /* Swipe through the screens on phones and small tablets. */
  .gallery {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: min(70%, 240px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .gallery figure {
    scroll-snap-align: center;
  }
}

@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;
  }
}

/* ---------- 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: 36px;
}

.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: 24%;
}

.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: 56px 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 {
  /* The long Google policy URL must wrap, not widen the column. */
  min-width: 0;
  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 .policy-body p + p {
  margin-top: 12px;
}

.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 .board {
  display: inline-grid;
  grid-template-columns: repeat(3, 56px);
  gap: 10px;
  margin-bottom: 24px;
}

/* ---------- 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,
  .steps,
  .page-faq .faq-layout,
  .page-privacy .policy {
    grid-template-columns: 1fr;
  }

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

  .features {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 720px) {
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 8px;
  }

  .header-actions {
    display: contents;
  }

  .header-actions .theme-button {
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding: 6px 0 8px;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }

  /* Measured from the header's content box, which is already inset. */
  .theme-panel {
    right: 0;
    top: 64px;
  }

  .site-header .wrap {
    position: relative;
  }
}

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

  .features {
    grid-template-columns: 1fr;
  }

  .site-header .wrap {
    min-height: 60px;
  }

  .get-app {
    min-height: 44px;
    padding: 0 18px;
  }

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

  .site-nav a {
    padding: 7px 8px;
    font-size: 14px;
  }

  .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: #605e78; --surface: #ffffff; --surface-soft: #f4f3fa; --line: #e6e4f0; --pink-soft: #f6ddfb; --sky-soft: #d9f1f4; --clue-1: #1f5fc4; --clue-2: #23803a; --clue-3: #c62f2f; --clue-4: #33339a; --clue-5: #8e2a2a; --clue-6: #167878; --clue-7: #26252e; --clue-8: #5e5d6b; --accent: #2683e0; --accent-soft: #dceeff; --accent-deep: #2264aa; --accent-gradient: linear-gradient(135deg, #236db9, #2264aa); --link: #2264aa; --glow: linear-gradient(135deg, #45b0ff, #5cc95a, #ffd23f); --glow-shadow: rgba(87, 179, 245, 0.55); --bg-top: #ddf1ff; --bg-bottom: #e9f8dd; --shadow: 0 8px 24px rgba(38, 131, 224, 0.08); }
@media (prefers-color-scheme: dark) { :root:not([data-mode]) { color-scheme: dark; --ink: #f1f0f7; --muted: #a3a1bc; --surface: #22212e; --surface-soft: #2c2b3a; --line: #3a3949; --pink-soft: #45304d; --sky-soft: #26414a; --clue-1: #7fb2ff; --clue-2: #79d98f; --clue-3: #ff8a80; --clue-4: #b0a8ff; --clue-5: #ffab91; --clue-6: #6fe0da; --clue-7: #e8e6f2; --clue-8: #b9b7c9; --accent: #2683e0; --accent-soft: #233e63; --accent-deep: #2264aa; --accent-gradient: linear-gradient(135deg, #236db9, #2264aa); --link: #88bbee; --glow: linear-gradient(135deg, #45b0ff, #5cc95a, #ffd23f); --glow-shadow: rgba(87, 179, 245, 0.55); --bg-top: #16263e; --bg-bottom: #0f1420; --shadow: 0 8px 24px rgba(0, 0, 0, 0.25); } }
html[data-mode="light"] { color-scheme: light; --ink: #17161f; --muted: #605e78; --surface: #ffffff; --surface-soft: #f4f3fa; --line: #e6e4f0; --pink-soft: #f6ddfb; --sky-soft: #d9f1f4; --clue-1: #1f5fc4; --clue-2: #23803a; --clue-3: #c62f2f; --clue-4: #33339a; --clue-5: #8e2a2a; --clue-6: #167878; --clue-7: #26252e; --clue-8: #5e5d6b; }
html[data-mode="dark"] { color-scheme: dark; --ink: #f1f0f7; --muted: #a3a1bc; --surface: #22212e; --surface-soft: #2c2b3a; --line: #3a3949; --pink-soft: #45304d; --sky-soft: #26414a; --clue-1: #7fb2ff; --clue-2: #79d98f; --clue-3: #ff8a80; --clue-4: #b0a8ff; --clue-5: #ffab91; --clue-6: #6fe0da; --clue-7: #e8e6f2; --clue-8: #b9b7c9; }
html[data-theme="sunnyPark"][data-mode="light"] { --accent: #2683e0; --accent-soft: #dceeff; --accent-deep: #2264aa; --accent-gradient: linear-gradient(135deg, #236db9, #2264aa); --link: #2264aa; --glow: linear-gradient(135deg, #45b0ff, #5cc95a, #ffd23f); --glow-shadow: rgba(87, 179, 245, 0.55); --bg-top: #ddf1ff; --bg-bottom: #e9f8dd; --shadow: 0 8px 24px rgba(38, 131, 224, 0.08); }
html[data-theme="sunnyPark"][data-mode="dark"] { --accent: #2683e0; --accent-soft: #233e63; --accent-deep: #2264aa; --accent-gradient: linear-gradient(135deg, #236db9, #2264aa); --link: #88bbee; --glow: linear-gradient(135deg, #45b0ff, #5cc95a, #ffd23f); --glow-shadow: rgba(87, 179, 245, 0.55); --bg-top: #16263e; --bg-bottom: #0f1420; --shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
html[data-theme="cozyDen"][data-mode="light"] { --accent: #c9603a; --accent-soft: #fbe3d6; --accent-deep: #974b32; --accent-gradient: linear-gradient(135deg, #a55135, #974b32); --link: #974b32; --glow: linear-gradient(135deg, #d9714a, #f59b66, #ffcb8e); --glow-shadow: rgba(236, 139, 93, 0.55); --bg-top: #fff5e8; --bg-bottom: #fce6d6; --shadow: 0 8px 24px rgba(201, 96, 58, 0.08); }
html[data-theme="cozyDen"][data-mode="dark"] { --accent: #c9603a; --accent-soft: #543432; --accent-deep: #974b32; --accent-gradient: linear-gradient(135deg, #a55135, #974b32); --link: #e1a893; --glow: linear-gradient(135deg, #d9714a, #f59b66, #ffcb8e); --glow-shadow: rgba(236, 139, 93, 0.55); --bg-top: #331f20; --bg-bottom: #191216; --shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
html[data-theme="bubbleBath"][data-mode="light"] { --accent: #0f9c9c; --accent-soft: #d3f4f2; --accent-deep: #117679; --accent-gradient: linear-gradient(135deg, #118183, #117679); --link: #117679; --glow: linear-gradient(135deg, #1cc6c2, #ff8fc1, #ffe45c); --glow-shadow: rgba(60, 201, 196, 0.55); --bg-top: #e2faf8; --bg-bottom: #ffeaf3; --shadow: 0 8px 24px rgba(15, 156, 156, 0.08); }
html[data-theme="bubbleBath"][data-mode="dark"] { --accent: #0f9c9c; --accent-soft: #1c464f; --accent-deep: #117679; --accent-gradient: linear-gradient(135deg, #118183, #117679); --link: #7bc9c9; --glow: linear-gradient(135deg, #1cc6c2, #ff8fc1, #ffe45c); --glow-shadow: rgba(60, 201, 196, 0.55); --bg-top: #112a31; --bg-bottom: #0e161c; --shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
html[data-theme="carnival"][data-mode="light"] { --accent: #cc2496; --accent-soft: #fadbf0; --accent-deep: #992075; --accent-gradient: linear-gradient(135deg, #a8217e, #992075); --link: #992075; --glow: linear-gradient(135deg, #e436b0, #1fc8e8, #9be34a); --glow-shadow: rgba(232, 91, 192, 0.55); --bg-top: #ffe7f6; --bg-bottom: #e2f9ff; --shadow: 0 8px 24px rgba(204, 36, 150, 0.08); }
html[data-theme="carnival"][data-mode="dark"] { --accent: #cc2496; --accent-soft: #55224d; --accent-deep: #992075; --accent-gradient: linear-gradient(135deg, #a8217e, #992075); --link: #e387c5; --glow: linear-gradient(135deg, #e436b0, #1fc8e8, #9be34a); --glow-shadow: rgba(232, 91, 192, 0.55); --bg-top: #331430; --bg-bottom: #190e1c; --shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
