/* "Ads closed" mode: the same links in the wheel site's Charcoal candy sketchbook theme.
   Everything here is scoped to body.clean / .clean-page so it never touches the pop-up desktop. */

@font-face {
  font-family: 'Shantell Sans Variable';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/shantell-sans-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Caveat Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/caveat-brush-latin-400-normal.woff2') format('woff2');
}

.clean-page {
  display: none;
}
body.clean {
  color-scheme: dark;
  --paper: #1c1c21;
  --grid: #27272e;
  --sheet: #25252c;
  --ink: #eeedf2;
  --ink-soft: #a1a0ad;
  --line: #c4c3cd;
  --accent: #ff86bd;
  --accent-ink: #25101c;
  --shadow: #0c0c0f;
  --r-small: 12px 7px 11px 8px / 8px 11px 7px 12px;
  color: var(--ink);
  font: 500 16px/1.55 'Shantell Sans Variable', 'Comic Neue', system-ui, sans-serif;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper);
  background-attachment: fixed;
}
body.clean .desktop,
body.clean .marquee,
body.clean .taskbar,
body.clean .adblock,
body.clean .dvd {
  display: none;
}
body.clean .clean-page {
  display: grid;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 18px 64px;
  animation: clean-in 0.45s ease both;
}
@keyframes clean-in {
  from {
    opacity: 0;
    translate: 0 12px;
  }
}

.clean-page h2,
.clean-page h3,
.clean-page .c-btn {
  font-family: 'Caveat Brush', 'Shantell Sans Variable', cursive;
  font-weight: 400;
  margin: 0;
}
.clean-page p {
  margin: 0;
}
.clean-page a {
  color: inherit;
}

/* surfaces: border, fill and shadow sit on a filtered layer so text stays crisp */
.c-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px 24px 24px;
}
.c-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--line);
  border-radius: 120px 16px 110px 16px / 16px 110px 16px 120px;
  background: var(--sheet);
  box-shadow: 4px 4px 0 var(--shadow);
  filter: url(#wobble);
}
.c-panel:nth-of-type(even)::before {
  border-radius: 16px 110px 16px 120px / 120px 16px 110px 16px;
}
.c-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: start;
}

/* hero */
.c-hero {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}
.c-avatar {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--shadow);
  object-fit: cover;
  background: var(--paper);
}
.c-hero h2 {
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
}
.c-tag {
  color: var(--ink-soft);
  margin-top: 6px !important;
}
.c-status {
  display: inline-block;
  margin-top: 12px !important;
  padding: 1px 12px;
  border: 2px solid currentColor;
  border-radius: var(--r-small);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}
.c-status.is-live {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--line);
}
.c-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 18px;
  border: 2px solid var(--line);
  border-radius: var(--r-small);
  background: var(--sheet);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.c-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--shadow);
}
.c-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--shadow);
}
.c-btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.c-btn.quiet {
  font-size: 1.1rem;
  color: var(--ink-soft);
}
body.clean :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* section headings get the highlighter underline from the wheel site */
.clean-page h3 {
  justify-self: start;
  padding: 0 5px;
  font-size: 1.6rem;
  line-height: 1.2;
  background: linear-gradient(transparent 84%, var(--accent) 84%, var(--accent) 93%, transparent 93%);
}
.c-links {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 14px;
  border: 1.5px solid var(--ink-soft);
  border-radius: var(--r-small);
  background: var(--paper);
  text-decoration: none;
  font-weight: 700;
}
.c-links a:hover {
  border-color: var(--accent);
}
.c-links span {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: right;
}
.c-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.c-list li::before {
  content: '•ᴗ• ';
  white-space: pre;
  color: var(--accent);
}
.c-code {
  padding: 0 8px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-small);
  color: var(--accent);
  font-weight: 700;
}
.c-sched {
  width: 100%;
  border-collapse: collapse;
}
.c-sched th,
.c-sched td {
  padding: 7px 2px;
  text-align: left;
  border-bottom: 1.5px solid var(--grid);
}
.c-sched td {
  text-align: right;
  color: var(--accent);
  font-weight: 700;
}
.c-soft {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.c-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

@media (max-width: 560px) {
  .c-hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .c-actions {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.clean .clean-page {
    animation: none;
  }
  .c-btn {
    transition: none;
  }
}
