/*
 * The style mockups of the Customize page (R47). The build joins this file and one file for each
 * app style of the product (src/mockups/<style>.css) into one stylesheet, and only the Customize
 * page loads it. The design is in docs/superpowers/specs/2026-11-16-joinwelley-customize-design.md.
 *
 * Every mockup has the same markup (styleMock in src/pages.mjs). This file gives it the plain look
 * of Welley from tokens, and a style file changes the tokens and adds its own shapes.
 *
 * A color that differs between light and dark mode uses light-dark(). The site sets color-scheme
 * on the root element for the theme toggle and for the system mode, so light-dark() follows both.
 *
 * A style file can import the font rules of one weight of an @fontsource package, with an import
 * of '@fontsource/<family>/<weight>.css' at the top of the file.
 * The build puts the rules in place of the import, keeps only the latin, latin-ext and cyrillic
 * subsets, and copies the font files to welley.com, because the security policy of the site
 * allows fonts only from welley.com.
 */

/* ---------- The color row ---------- */

/* The fill of each accent color is the 500 step of the product palette, the same in both modes.
   A dark text is on the light fills, so the button labels stay readable. */
.style-grid {
  --m-accent: #02a2f3;
  --m-on-accent: #ffffff;
}
.style-grid[data-accent='gold'] {
  --m-accent: #ffb012;
  --m-on-accent: #1d1f24;
}
.style-grid[data-accent='pink'] {
  --m-accent: #f43f6a;
  --m-on-accent: #ffffff;
}
.style-grid[data-accent='navy'] {
  --m-accent: #2259f0;
  --m-on-accent: #ffffff;
}
.style-grid[data-accent='green'] {
  --m-accent: #7cbe02;
  --m-on-accent: #1d1f24;
}
.style-grid[data-accent='purple'] {
  --m-accent: #a855f7;
  --m-on-accent: #ffffff;
}
.style-grid[data-accent='teal'] {
  --m-accent: #10b981;
  --m-on-accent: #1d1f24;
}
.style-grid[data-accent='peach'] {
  --m-accent: #f97035;
  --m-on-accent: #1d1f24;
}
.swatch-blue { --swatch: #02a2f3; }
.swatch-gold { --swatch: #ffb012; }
.swatch-pink { --swatch: #f43f6a; }
.swatch-navy { --swatch: #2259f0; }
.swatch-green { --swatch: #7cbe02; }
.swatch-purple { --swatch: #a855f7; }
.swatch-teal { --swatch: #10b981; }
.swatch-peach { --swatch: #f97035; }

.swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-xxs) var(--sp-xs);
  margin-top: var(--sp-s);
}
.swatches[hidden] {
  display: none;
}
.swatch-label {
  margin: 0;
  font-weight: 600;
  color: var(--text-secondary);
}
.swatch-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The button is a 44-pixel touch target around a smaller color dot. */
.swatch {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.swatch span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px oklch(0% 0 0 / 0.15);
}
.swatch[aria-pressed='true'] span {
  box-shadow: 0 0 0 3px var(--bg-primary), 0 0 0 5px var(--swatch);
}
.swatch:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- The gallery ---------- */

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-s);
  margin: var(--sp-l) 0 0;
  padding: 0;
  list-style: none;
}
.style-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-secondary);
  border-radius: var(--r-m);
  background: var(--bg-primary);
}
.style-text {
  display: grid;
  gap: var(--sp-xxxs);
  padding: var(--sp-xs) var(--sp-s) var(--sp-s);
}
.style-text h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.style-text p {
  margin: 0;
}
.style-text p:not(.note) {
  color: var(--text-secondary);
}

/* ---------- The plain mockup ---------- */

.mock {
  /* The plain look is Modern: the neutral grays of the product, an 8-pixel radius and Inter. */
  --m-bg: light-dark(#f1f3f6, #0f1220);
  --m-surface: light-dark(#ffffff, #1d2236);
  --m-fg: light-dark(#1d2236, #f1f3f6);
  --m-muted: light-dark(#5b647e, #a5adc0);
  --m-line: light-dark(#e4e7ed, #2e354a);
  --m-radius: 8px;
  --m-shadow: none;
  --m-font: var(--font);
  --m-display: var(--m-font);
  --m-cat: light-dark(#16a34a, #4ade80);
  --m-avatar: var(--m-accent);
  --m-on-avatar: var(--m-on-accent);

  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  min-height: 250px;
  padding: 12px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-secondary);
  background: var(--m-bg);
  color: var(--m-fg);
  font-family: var(--m-font);
  font-size: 13px;
  line-height: 1.45;
  /* A card that is far from the screen is not laid out, so the browser loads its fonts only when
     the visitor scrolls near it. */
  content-visibility: auto;
  contain-intrinsic-size: auto 250px;
}
.mock p {
  margin: 0;
}
.m-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  background: var(--m-surface);
}
.m-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--m-accent);
}
.m-ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--m-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.m-group {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: auto;
  border-radius: var(--m-radius);
  background: var(--m-avatar);
  color: var(--m-on-avatar);
  font: 700 12px var(--m-display);
}
.m-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.m-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.m-title {
  font: 700 18px/1.15 var(--m-display);
}
.m-path {
  color: var(--m-muted);
  font-size: 12px;
}
.m-post {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  background: var(--m-surface);
  box-shadow: var(--m-shadow);
}
.m-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--m-avatar);
  color: var(--m-on-avatar);
  font: 700 14px var(--m-display);
}
.m-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.m-author b {
  font-weight: 700;
}
.m-author span {
  color: var(--m-muted);
}
.m-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--m-muted);
  font-size: 12px;
}
.m-cat {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--m-cat);
}
.m-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.m-chip {
  padding: 2px 8px;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}
.m-btn {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: var(--m-radius);
  background: var(--m-accent);
  color: var(--m-on-accent);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.m-switch {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--m-accent);
}
.m-switch > span {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}

/* lexend-latin-ext-400-normal */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/lexend-latin-ext-400-normal.b7289189.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* lexend-latin-400-normal */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/lexend-latin-400-normal.0601e0a9.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* lexend-latin-ext-600-normal */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/lexend-latin-ext-600-normal.eb0ab817.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* lexend-latin-600-normal */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/lexend-latin-600-normal.c3c29115.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Abyss: the deep sea. Dark water takes some of the accent, slanted rays of light come from the
 * surface, and glowing plankton floats in the water, with a few pink dots. The shapes are soft,
 * with a large radius, and the button, the toggle and the avatars glow in the accent. The font
 * is Lexend. In light mode the water is a shallow lagoon: pale aqua over sand, with a net of
 * light on the sand. The mockup follows web-apps packages/ui/styles/appStyles/abyss.css.
 */
.s-abyss {
  --ab-pink: #ff8fd8;
  /* The pale color of the rays and the plankton. In the deep sea it comes from the accent. */
  --ab-light: light-dark(#ffffff, color-mix(in oklab, var(--m-accent) 40%, #b4fff0));
  --ab-ray: light-dark(rgb(255 255 255 / 0.45), color-mix(in srgb, var(--ab-light) 30%, transparent));
  /* Each mode hides the light of the other mode: plankton in the deep sea, and the net of
     light on the sand in the lagoon. */
  --ab-dot: light-dark(transparent, var(--ab-light));
  --ab-dot-halo: light-dark(transparent, color-mix(in srgb, var(--ab-light) 30%, transparent));
  --ab-dot-pink: light-dark(transparent, var(--ab-pink));
  --ab-dot-pink-halo: light-dark(transparent, color-mix(in srgb, var(--ab-pink) 30%, transparent));
  --ab-net: light-dark(rgb(255 255 255 / 0.55), transparent);
  --ab-edge: color-mix(in srgb, var(--m-accent) 14%, transparent);
  --ab-shade: light-dark(rgb(16 84 92 / 0.14), rgb(0 0 0 / 0.42));
  --ab-glow: light-dark(color-mix(in srgb, var(--m-accent) 40%, transparent), color-mix(in srgb, var(--m-accent) 55%, transparent));
  --ab-glow-soft: light-dark(color-mix(in srgb, var(--m-accent) 26%, transparent), color-mix(in srgb, var(--m-accent) 36%, transparent));

  --m-bg: light-dark(#e3f6f3, #021016);
  --m-surface: light-dark(#fbfffe, #041e26);
  --m-fg: light-dark(#0b2f33, #dcfbf7);
  --m-muted: light-dark(#46696d, #7fb9b4);
  --m-line: light-dark(#cde6e3, #134550);
  --m-radius: 14px;
  --m-shadow: 0 0 0 1px var(--ab-edge), 0 12px 30px var(--ab-shade);
  --m-font: 'Lexend', var(--font);

  /* The water takes some of the accent and is darkest at the bottom. The lagoon ends in sand. */
  background: linear-gradient(
    180deg,
    light-dark(color-mix(in oklch, var(--m-accent) 16%, #bdeee8), color-mix(in oklch, var(--m-accent) 28%, #0a404b)) 0%,
    light-dark(color-mix(in oklch, var(--m-accent) 8%, #d7f3ec), color-mix(in oklch, var(--m-accent) 14%, #05242e)) 45%,
    light-dark(#efe9d6, #020c12) 100%
  );
}

.s-abyss::before,
.s-abyss::after {
  content: '';
  position: absolute;
  z-index: -1;
}

/* Two sets of rays hang from the surface. The layer is wider than the mockup and tilted a
   little, so its edges never show, and the rays fade out toward the bottom. */
.s-abyss::before {
  top: -15%;
  left: -30%;
  width: 160%;
  height: 125%;
  background:
    repeating-linear-gradient(112deg, transparent 0, var(--ab-ray) 40px, transparent 80px, transparent 150px),
    repeating-linear-gradient(118deg, transparent 0, transparent 60px, var(--ab-ray) 80px, transparent 104px, transparent 200px);
  transform: rotate(-4deg);
  transform-origin: 50% 0;
  mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
}

/* In the deep sea this layer holds the plankton: dots with a bright core and a soft halo, in
   two tiles of different sizes. In the lagoon it holds the net of light on the sand: two tiles
   of soft rings that cross, shown only in the lower part. */
.s-abyss::after {
  inset: 0;
  background:
    radial-gradient(circle 5px at 24px 30px, var(--ab-dot) 0 1.5px, var(--ab-dot-halo) 2.5px, transparent) 0 0 / 170px 130px,
    radial-gradient(circle 5px at 120px 12px, var(--ab-dot) 0 1.5px, var(--ab-dot-halo) 2.5px, transparent) 0 0 / 170px 130px,
    radial-gradient(circle 5px at 150px 96px, var(--ab-dot-pink) 0 1.5px, var(--ab-dot-pink-halo) 2.5px, transparent) 0 0 / 170px 130px,
    radial-gradient(circle 5px at 78px 108px, var(--ab-dot) 0 1.5px, var(--ab-dot-halo) 2.5px, transparent) 0 0 / 170px 130px,
    radial-gradient(circle 2px at 60px 70px, var(--ab-dot), transparent) 0 0 / 170px 130px,
    radial-gradient(circle 2px at 20px 40px, var(--ab-dot), transparent) 31px 17px / 110px 90px,
    radial-gradient(ellipse 50% 50%, transparent 64%, var(--ab-net) 76%, transparent 88%) 0 0 / 47px 29px,
    radial-gradient(ellipse 50% 50%, transparent 64%, var(--ab-net) 76%, transparent 88%) 17px 11px / 71px 41px,
    radial-gradient(ellipse 50% 50%, transparent 64%, var(--ab-net) 76%, transparent 88%) 5px 23px / 37px 53px;
  mask-image: linear-gradient(180deg, light-dark(transparent, #000) 45%, #000 90%);
}

.s-abyss :is(.m-rail, .m-post) {
  box-shadow: var(--m-shadow);
}
.s-abyss :is(.m-title, .m-author b, .m-avatar, .m-group, .m-btn) {
  font-weight: 600;
}
.s-abyss .m-logo {
  border-radius: 7px;
  box-shadow: 0 0 10px var(--ab-glow-soft);
}

/* The active group in the rail glows stronger than an avatar in a post. */
.s-abyss .m-group {
  border-radius: 50%;
  box-shadow: 0 0 12px var(--ab-glow);
}
.s-abyss .m-avatar {
  box-shadow: 0 0 10px var(--ab-glow-soft);
}

/* The button is a pill, and the button and the toggle glow in the accent. */
.s-abyss .m-btn {
  border-radius: 999px;
  box-shadow: 0 0 14px var(--ab-glow);
}
.s-abyss .m-switch {
  box-shadow: 0 0 12px var(--ab-glow);
}

/* A category mark is a small mark, so it glows pink. */
.s-abyss .m-cat {
  box-shadow: 0 0 6px var(--ab-pink);
}

/* manrope-cyrillic-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/manrope-cyrillic-400-normal.5a987d14.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* manrope-latin-ext-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/manrope-latin-ext-400-normal.72c5354a.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* manrope-latin-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/manrope-latin-400-normal.849290ef.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* manrope-cyrillic-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/manrope-cyrillic-700-normal.2ad647b9.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* manrope-latin-ext-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/manrope-latin-ext-700-normal.dc7c46d7.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* manrope-latin-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/manrope-latin-700-normal.d2a12c85.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* sora-latin-ext-600-normal */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/sora-latin-ext-600-normal.2c17a94f.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* sora-latin-600-normal */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/sora-latin-600-normal.fa9ab76f.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Aurora: a night sky with three soft curtains of light behind the panels. The curtains take
 * the accent and the two hues next to it on the color wheel, so every accent gives its own
 * aurora. The panels are solid, with large round corners, a thin light edge at the top and a
 * deep shadow. The text is Manrope and the title is Sora. The button is a pill with a gradient
 * of the accent. Dark mode is the night sky with stars and bright curtains. Light mode is a
 * pale dawn sky with pastel curtains. The product curtains drift, and this picture is one still
 * frame. This follows the product style web-apps packages/ui/styles/appStyles/aurora.css.
 */
.s-aurora {
  /* The three curtains have the hue of the accent and the hues 50 degrees to each side of it.
     The lightness and the chroma are fixed for each mode, so every accent gives a bright aurora
     at night and a pastel aurora at dawn. The pastels are a little stronger than in the product,
     because only narrow strips of the sky show around the panels. */
  --au-c1: light-dark(
    oklch(from var(--m-accent) 0.85 0.11 calc(h - 50)),
    oklch(from var(--m-accent) 0.8 0.16 calc(h - 50))
  );
  --au-c2: light-dark(
    oklch(from var(--m-accent) 0.83 0.12 h),
    oklch(from var(--m-accent) 0.74 0.16 h)
  );
  --au-c3: light-dark(
    oklch(from var(--m-accent) 0.84 0.11 calc(h + 50)),
    oklch(from var(--m-accent) 0.7 0.17 calc(h + 50))
  );
  --au-sky-top: light-dark(#e2e7fb, #04071a);
  --au-sky-mid: light-dark(#eeeafb, #070b22);
  --au-sky-low: light-dark(#fdeee6, #0b1130);
  --au-star: light-dark(transparent, rgb(255 255 255 / 0.6));
  /* The light edge is a white line at the top at night. A white line does not show on the pale
     sky, so at dawn the edge is a faint line around the panel. */
  --au-edge-top: light-dark(transparent, rgb(255 255 255 / 0.13));
  --au-edge-ring: light-dark(rgb(44 52 110 / 0.07), transparent);
  --au-shade: light-dark(rgb(44 52 110 / 0.12), rgb(0 0 0 / 0.4));
  --au-button-start: oklch(from var(--m-accent) l c calc(h - 50));

  --m-bg: light-dark(#eef0fa, #060a1c);
  --m-surface: light-dark(#ffffff, #0e1430);
  --m-fg: light-dark(#121833, #eef1ff);
  --m-muted: light-dark(#5b6487, #9aa5d1);
  --m-line: light-dark(#d9ddef, #2c3662);
  --m-radius: 16px;
  --m-shadow: 0 -1px 0 var(--au-edge-top), 0 0 0 1px var(--au-edge-ring), 0 10px 24px var(--au-shade);
  --m-font: 'Manrope', var(--font);
  --m-display: 'Sora', 'Manrope', var(--font);
  --m-avatar: var(--au-c2);
  --m-on-avatar: light-dark(#121833, #060a1c);

  /* The sky with a few still stars. The stars are transparent at dawn. */
  background-image:
    radial-gradient(1px 1px at 23px 41px, var(--au-star), transparent),
    radial-gradient(1px 1px at 151px 17px, var(--au-star), transparent),
    radial-gradient(1.4px 1.4px at 97px 139px, var(--au-star), transparent),
    radial-gradient(1px 1px at 214px 196px, var(--au-star), transparent),
    radial-gradient(1.4px 1.4px at 187px 104px, var(--au-star), transparent),
    linear-gradient(180deg, var(--au-sky-top), var(--au-sky-mid) 55%, var(--au-sky-low));
  background-size: 263px 251px, 263px 251px, 263px 251px, 263px 251px, 263px 251px, auto;
}

/* The curtains are tall soft ellipses on one layer. The layer leans, so the curtains tilt, and
   uneven vertical bands in its mask make folds in the light. A glow of the middle hue lies on
   the horizon. */
.s-aurora::before {
  content: '';
  position: absolute;
  inset: -30% -20%;
  z-index: -1;
  background:
    radial-gradient(ellipse 13% 42% at 26% 44%, color-mix(in srgb, var(--au-c1) 70%, transparent), transparent),
    radial-gradient(ellipse 12% 46% at 50% 36%, color-mix(in srgb, var(--au-c2) 65%, transparent), transparent),
    radial-gradient(ellipse 13% 40% at 76% 42%, color-mix(in srgb, var(--au-c3) 65%, transparent), transparent),
    radial-gradient(ellipse 70% 30% at 50% 82%, color-mix(in srgb, var(--au-c2) 30%, transparent), transparent);
  transform: skewX(-16deg);
  mask-image: repeating-linear-gradient(
    90deg,
    rgb(0 0 0 / 0.6) 0,
    #000 14px,
    rgb(0 0 0 / 0.75) 30px,
    #000 44px,
    rgb(0 0 0 / 0.55) 70px,
    #000 92px,
    rgb(0 0 0 / 0.6) 120px
  );
}

.s-aurora :is(.m-rail, .m-post) {
  border: 0;
}
.s-aurora .m-rail {
  box-shadow: var(--m-shadow);
}
.s-aurora .m-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.s-aurora .m-group {
  border-radius: 10px;
  font-weight: 600;
}
/* The avatar shows the three curtain hues, with a thin accent ring and a small gap. */
.s-aurora .m-avatar {
  background-image: linear-gradient(135deg, var(--au-c1), var(--au-c2) 55%, var(--au-c3));
  font-weight: 600;
  outline: 1.5px solid color-mix(in srgb, var(--m-accent) 60%, transparent);
  outline-offset: 2px;
}
/* A forum category mark glows softly in its own color. */
.s-aurora .m-cat {
  box-shadow: 0 0 5px var(--m-cat);
}
/* The button and the switch are pills with a gradient from the hue next to the accent to the
   accent. The gradient keeps the lightness of the accent, so the label keeps its contrast. */
.s-aurora :is(.m-btn, .m-switch) {
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--au-button-start), var(--m-accent));
}
.s-aurora .m-btn {
  padding-inline: 14px;
}

/* jost-cyrillic-400-normal */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/jost-cyrillic-400-normal.9e5bf9b5.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* jost-latin-ext-400-normal */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/jost-latin-ext-400-normal.470fd716.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* jost-latin-400-normal */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/jost-latin-400-normal.f94cffda.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* jost-cyrillic-600-normal */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/jost-cyrillic-600-normal.ba85e3fe.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* jost-latin-ext-600-normal */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/jost-latin-ext-600-normal.cbf14d41.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* jost-latin-600-normal */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/jost-latin-600-normal.d0487d68.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Bauhaus: a poster of the Bauhaus school. Flat shapes in red, yellow and blue lie on paper
 * behind the content: a large circle, a half circle, a quarter circle, a bar and a small square.
 * The font is the geometric Jost and the title is lowercase. The panels are square with a thick
 * rule at the top, and they have no outlines and no shadows. Dark mode is a charcoal ground with
 * the same three colors and a light rule. This follows the product style
 * web-apps packages/ui/styles/appStyles/bauhaus.css.
 */
.s-bauhaus {
  --bh-red: #d7301f;
  --bh-yellow: #f2b705;
  --bh-blue: #1f4fbf;
  /* The accent takes the place of the primary that is nearest to it, and the other two shapes
     keep their primaries. Most accents are near blue, so the default is red and yellow. The
     rules after this one change the pair for the red and the yellow accents. */
  --bh-first: var(--bh-red);
  --bh-second: var(--bh-yellow);
  --bh-on-second: #141414;
  --bh-ink: light-dark(#141414, #f1ebdf);

  --m-bg: light-dark(#efe9dc, #1c1b19);
  --m-surface: light-dark(#faf7f0, #262522);
  --m-fg: light-dark(#141414, #f1ebdf);
  --m-muted: light-dark(#5b574f, #a39d92);
  --m-line: light-dark(#ddd5c5, #393733);
  --m-radius: 0;
  --m-font: 'Jost', var(--font);
  --m-cat: var(--bh-first);
  --m-avatar: var(--bh-second);
  --m-on-avatar: var(--bh-on-second);

  /* The shapes are layers of the ground, so they need no extra elements. A hard stop that is
     half a pixel wide keeps the edge of a circle smooth. */
  background-image:
    radial-gradient(circle 92px at calc(100% + 18px) -26px, var(--bh-first) calc(100% - 0.5px), transparent 100%),
    linear-gradient(var(--bh-ink), var(--bh-ink)),
    radial-gradient(circle 40px at 72% 100%, var(--bh-second) calc(100% - 0.5px), transparent 100%),
    linear-gradient(var(--m-accent), var(--m-accent)),
    radial-gradient(circle 58px at 0 100%, var(--m-accent) calc(100% - 0.5px), transparent 100%);
  background-size: auto, 12px 12px, auto, 5px 42%, auto;
  background-position: 0 0, calc(100% - 64px) 22px, 0 0, calc(100% - 3px) 100%, 0 0;
  background-repeat: no-repeat;
}
.style-grid:is([data-accent='pink'], [data-accent='peach']) .s-bauhaus {
  --bh-first: var(--bh-blue);
}
.style-grid[data-accent='gold'] .s-bauhaus {
  --bh-first: var(--bh-blue);
  --bh-second: var(--bh-red);
  --bh-on-second: #ffffff;
}

/* The rail ends above the bottom edge, so the quarter circle shows in the corner. */
.s-bauhaus .m-rail {
  margin-bottom: 30px;
}
/* The panels have no outline, only a thick rule at the top. */
.s-bauhaus :is(.m-rail, .m-post) {
  border: 0;
  border-top: 4px solid var(--bh-ink);
}
/* The Bauhaus printed its texts in lowercase only. The space at the right keeps the title off
   the large circle. */
.s-bauhaus .m-head {
  padding-right: 80px;
}
.s-bauhaus .m-title {
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.s-bauhaus :is(.m-group, .m-avatar, .m-author b) {
  font-weight: 600;
}
.s-bauhaus .m-group {
  background: var(--bh-first);
  color: #ffffff;
}
/* Circle, square and triangle: the logo is a circle, and a forum category is a triangle. */
.s-bauhaus .m-logo {
  border-radius: 50%;
}
.s-bauhaus .m-cat {
  width: 11px;
  height: 11px;
  border-radius: 0;
  clip-path: polygon(50% 8%, 96% 90%, 4% 90%);
}
.s-bauhaus .m-chip {
  border: 0;
  border-radius: 0;
  background: light-dark(#ece5d6, #34322e);
}
/* A filled button has a square start and a round end. */
.s-bauhaus .m-btn {
  border-radius: 0 999px 999px 0;
}
/* The toggle is a square track with a round knob. */
.s-bauhaus .m-switch {
  border-radius: 0;
}

/* archivo-latin-ext-400-normal */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/archivo-latin-ext-400-normal.c7807623.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* archivo-latin-400-normal */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/archivo-latin-400-normal.07f91601.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* archivo-latin-ext-700-normal */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/archivo-latin-ext-700-normal.8affe3b4.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* archivo-latin-700-normal */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/archivo-latin-700-normal.abada6cd.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* archivo-black-latin-ext-400-normal */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/archivo-black-latin-ext-400-normal.a69dfe4f.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* archivo-black-latin-400-normal */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/archivo-black-latin-400-normal.25f33e61.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Brutal (neubrutalism): thick outlines, hard offset shadows with no blur, flat fills in the
 * accent color and the heavy grotesk Archivo Black for titles. In light mode the ground is a
 * warm cream and the ink is black. In dark mode the ground is dark gray, and the outlines and
 * the shadows turn a light cream.
 * It follows web-apps packages/ui/styles/appStyles/brutal.css.
 */
.s-brutal {
  /* The color of every outline and every hard shadow. */
  --brutal-ink: light-dark(#111111, #f4efe3);
  /* Like in the product, dark text is on the accent fills, because it reads better than white
     on the bright accents. */
  --brutal-on-fill: #111111;

  --m-bg: light-dark(#fff3cf, #141414);
  --m-surface: light-dark(#ffffff, #1f1f1f);
  --m-fg: var(--brutal-ink);
  --m-muted: light-dark(#555555, #aaa498);
  --m-line: var(--brutal-ink);
  --m-radius: 6px;
  --m-shadow: 4px 4px 0 var(--brutal-ink);
  --m-font: 'Archivo', var(--font);
  --m-display: 'Archivo Black', 'Archivo', var(--font);
  --m-cat: #00b37a;
  --m-avatar: #ffc900;
  --m-on-avatar: #111111;
}
/* Navy is the one accent that is dark enough for white text. */
.style-grid[data-accent='navy'] .s-brutal {
  --brutal-on-fill: #ffffff;
}
.s-brutal .m-rail,
.s-brutal .m-post {
  border-width: 2px;
}
.s-brutal .m-rail {
  box-shadow: var(--m-shadow);
}
.s-brutal .m-ico {
  stroke: var(--brutal-ink);
  stroke-width: 2.25;
}
.s-brutal .m-logo {
  border: 2px solid var(--brutal-ink);
  border-radius: 3px;
}
/* Archivo Black has one weight. A bolder weight would make the browser thicken it by hand. */
.s-brutal .m-title {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.s-brutal .m-path {
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--brutal-ink);
  color: var(--m-surface);
  font-weight: 700;
}
.s-brutal .m-avatar,
.s-brutal .m-group {
  border: 2px solid var(--brutal-ink);
  border-radius: 24%;
  font-weight: 400;
}
.s-brutal .m-cat {
  width: 12px;
  height: 12px;
  border: 2px solid var(--brutal-ink);
  border-radius: 3px;
}
.s-brutal .m-chip {
  border: 2px solid var(--brutal-ink);
  border-radius: 6px;
  background: var(--m-surface);
  font-weight: 700;
}
/* The first reaction is the one that the reader chose. It is filled with the accent, like a
   pressed key. */
.s-brutal .m-chip:first-child {
  background: var(--m-accent);
  color: var(--brutal-on-fill);
  box-shadow: 2px 2px 0 var(--brutal-ink);
}
.s-brutal .m-btn {
  border: 2px solid var(--brutal-ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--brutal-ink);
  color: var(--brutal-on-fill);
  font-weight: 700;
}
.s-brutal .m-switch {
  width: 34px;
  height: 20px;
  border: 2px solid var(--brutal-ink);
  border-radius: 6px;
}
.s-brutal .m-switch > span {
  top: 1px;
  right: 1px;
  border-radius: 2px;
  background: var(--brutal-ink);
}

/* tomorrow-latin-ext-400-normal */
@font-face {
  font-family: 'Tomorrow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/tomorrow-latin-ext-400-normal.fb2f17dc.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* tomorrow-latin-400-normal */
@font-face {
  font-family: 'Tomorrow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/tomorrow-latin-400-normal.dac69cca.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* tomorrow-latin-ext-600-normal */
@font-face {
  font-family: 'Tomorrow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/tomorrow-latin-ext-600-normal.f4c46e01.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* tomorrow-latin-600-normal */
@font-face {
  font-family: 'Tomorrow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/tomorrow-latin-600-normal.1318f373.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* martian-mono-cyrillic-400-normal */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/martian-mono-cyrillic-400-normal.b4099b8a.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* martian-mono-latin-ext-400-normal */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/martian-mono-latin-ext-400-normal.6ef45f40.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* martian-mono-latin-400-normal */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/martian-mono-latin-400-normal.bb677c9c.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Circuit: a circuit board. Copper traces with vias run behind the panels, and two pulses of
 * light in the accent color sit on the traces like signals. The panels look like chips: small
 * corners, a thin edge, a pin 1 mark, and pins on the sides of the rail. Handles, times and
 * counts are in a technical mono font. Dark mode is a dark green board. Light mode is a pale
 * green board with dark copper traces. The mockup follows
 * web-apps packages/ui/styles/appStyles/circuit.css.
 */
.s-circuit {
  --c-copper: light-dark(rgb(138 84 36 / 0.45), rgb(201 138 69 / 0.5));
  --c-pin: light-dark(rgb(138 84 36 / 0.8), rgb(201 138 69 / 0.85));
  /* On the pale board a pale accent does not show, so the pulse mixes it with a dark green. */
  --c-pulse: light-dark(color-mix(in oklab, var(--m-accent) 75%, #0b2a1a), var(--m-accent));
  --c-label: 'Martian Mono', var(--mono), var(--font);
  /* One copper fill for every straight piece of a trace. */
  --c-cu: linear-gradient(var(--c-copper), var(--c-copper));
  /* A via is a copper ring with a hole. */
  --c-via: radial-gradient(circle, transparent 2px, var(--c-copper) 2.4px 3.8px, transparent 4.2px);
  /* A diagonal piece is the diagonal of its own box. With a corner direction, the middle of a
     linear gradient runs through the two other corners of the box. */
  --c-diag: transparent calc(50% - 0.8px), var(--c-copper) calc(50% - 0.8px) calc(50% + 0.8px), transparent calc(50% + 0.8px);

  --m-bg: light-dark(#dcebdf, #04120c);
  --m-surface: light-dark(#f6faf7, #081c14);
  --m-fg: light-dark(#0f2a1f, #dcf7ea);
  --m-muted: light-dark(#4f6d60, #7fae98);
  --m-line: light-dark(#bed4c5, #1f4a39);
  --m-radius: 3px;
  --m-font: 'Tomorrow', var(--font);
}

/* The traces sit where the board shows: above the post on the right, in the gap next to the
   rail and under the post. The pieces of a trace are placed from the nearest edge, so the
   traces stay in place when the mockup is narrow. */
.s-circuit::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    /* The pulses: a bright head in the accent and a tail that fades. */
    linear-gradient(90deg, transparent, var(--c-pulse)) left 150px bottom 28.5px / 30px 3px no-repeat,
    linear-gradient(270deg, transparent, var(--c-pulse)) right 18px top 10.5px / 26px 3px no-repeat,
    /* Above the post: a trace comes in from the right, steps down and ends in a via. */
    var(--c-cu) right 0 top 11.25px / 50px 1.5px no-repeat,
    linear-gradient(to bottom right, var(--c-diag)) right 50px top 12px / 14px 14px no-repeat,
    var(--c-cu) right 64px top 25.25px / 56px 1.5px no-repeat,
    var(--c-via) right 115px top 21px / 10px 10px no-repeat,
    /* A second trace comes in from the right and runs under the post. */
    var(--c-cu) right 0 top 35.25px / 26px 1.5px no-repeat,
    linear-gradient(to bottom right, var(--c-diag)) right 26px top 36px / 12px 12px no-repeat,
    /* Next to the rail: a trace runs down the gap, steps right and runs under the post to the
       right edge. */
    var(--c-via) left 56px top 55px / 10px 10px no-repeat,
    var(--c-cu) left 60.25px top 60px / 1.5px calc(100% - 104px) no-repeat,
    linear-gradient(to top right, var(--c-diag)) left 61px bottom 30px / 14px 14px no-repeat,
    var(--c-cu) left 75px bottom 29.25px / calc(100% - 185px) 1.5px no-repeat,
    linear-gradient(to top right, var(--c-diag)) right 96px bottom 16px / 14px 14px no-repeat,
    var(--c-cu) right 0 bottom 15.25px / 96px 1.5px no-repeat,
    /* A short trace between two pads under the post. */
    var(--c-via) left 105px bottom 41px / 10px 10px no-repeat,
    var(--c-cu) left 114px bottom 45.25px / 60px 1.5px no-repeat,
    var(--c-via) left 173px bottom 41px / 10px 10px no-repeat;
}

/* A panel is a chip: a thin edge and a copper pin 1 mark in the top left corner. */
.s-circuit .m-post {
  background-image: radial-gradient(circle at 6px 6px, var(--c-pin) 2px, transparent 2.5px);
  background-repeat: no-repeat;
}
/* The rail also has a row of pins on each side, inside the edge. The icons sit in the middle
   of the rail, so the pins do not touch them. */
.s-circuit .m-rail {
  background-image:
    radial-gradient(circle at 6px 6px, var(--c-pin) 2px, transparent 2.5px),
    repeating-linear-gradient(180deg, var(--c-pin) 0 4px, transparent 4px 11px),
    repeating-linear-gradient(180deg, var(--c-pin) 0 4px, transparent 4px 11px);
  background-size: 100% 100%, 3px calc(100% - 48px), 3px calc(100% - 48px);
  background-position: 0 0, 0 24px, 100% 24px;
  background-repeat: no-repeat;
}

.s-circuit :is(.m-title, .m-author b, .m-avatar, .m-group, .m-btn) {
  font-weight: 600;
}
/* Handles, times, the channel and the counts read like the print on a board. */
.s-circuit :is(.m-path, .m-author span, .m-chip) {
  font-family: var(--c-label);
  font-size: 11px;
}
.s-circuit .m-chip {
  border-radius: 3px;
}

/* An avatar is a small chip with soft corners, not a circle. */
.s-circuit .m-avatar {
  border-radius: 4px;
}
.s-circuit .m-logo {
  border-radius: 2px;
}
.s-circuit .m-switch {
  border-radius: 3px;
}
.s-circuit .m-switch > span {
  border-radius: 2px;
}

/* A category shows its color as a via: a ring with a hole. */
.s-circuit .m-cat {
  width: 11px;
  height: 11px;
  background: radial-gradient(circle closest-side, transparent 38%, var(--m-cat) 42% 92%, transparent 96%);
}

/* fredoka-latin-ext-400-normal */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/fredoka-latin-ext-400-normal.fe97fe96.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* fredoka-latin-400-normal */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/fredoka-latin-400-normal.9cf74f70.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* fredoka-latin-ext-600-normal */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/fredoka-latin-ext-600-normal.d7d22ddf.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* fredoka-latin-600-normal */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/fredoka-latin-600-normal.b62f2898.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Clay: soft, puffy shapes like modeling clay, with a soft shadow outside, a soft highlight
 * inside, large radii, pill buttons and the round font Fredoka. In light mode the surfaces are
 * pastels of the accent color, and the accent also tints the shadows. In dark mode the clay is
 * a muted dark clay with faint highlights.
 * It follows web-apps packages/ui/styles/appStyles/clay.css.
 */
.s-clay {
  /* The shade of the clay is the accent mixed with a deep ink, so each accent tints the
     shadows in light mode. The gloss is white. Dark mode uses black shadows and a faint gloss. */
  --clay-shade: color-mix(in srgb, var(--m-accent) 40%, #262a5c);
  --clay-drop: light-dark(color-mix(in srgb, var(--clay-shade) 30%, transparent), rgb(0 0 0 / 0.5));
  --clay-dent: light-dark(color-mix(in srgb, var(--clay-shade) 14%, transparent), rgb(0 0 0 / 0.28));
  --clay-gloss: light-dark(rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.08));
  --clay-puff-sm: 2px 4px 8px var(--clay-drop), inset 1px 2px 2px var(--clay-gloss), inset -2px -3px 4px var(--clay-dent);

  --m-bg: light-dark(
    color-mix(in srgb, var(--m-accent) 13%, #f1f2f9),
    color-mix(in srgb, var(--m-accent) 10%, #181922)
  );
  --m-surface: light-dark(
    color-mix(in srgb, var(--m-accent) 3%, #ffffff),
    color-mix(in srgb, var(--m-accent) 9%, #252735)
  );
  --m-fg: light-dark(color-mix(in srgb, var(--m-accent) 12%, #1d1f35), #f2f2f8);
  --m-muted: light-dark(
    color-mix(in srgb, var(--m-accent) 10%, #66697f),
    color-mix(in srgb, var(--m-accent) 8%, #9194a8)
  );
  /* Clay shows its edges with light and shade, so the outlines are transparent. */
  --m-line: transparent;
  --m-radius: 24px;
  --m-shadow: 0 14px 24px -12px var(--clay-drop), 0 2px 5px var(--clay-dent), inset 2px 3px 4px var(--clay-gloss),
    inset -3px -4px 8px var(--clay-dent);
  --m-font: 'Fredoka', var(--font);
  --m-cat: #4cc38a;
  --m-avatar: light-dark(#ffb4c8, #e398ad);
  --m-on-avatar: #2b2f55;
}
.s-clay .m-rail {
  box-shadow: var(--m-shadow);
}
/* The small filled shapes are pebbles with a highlight on the top left and a dent on the
   bottom right. */
.s-clay .m-logo,
.s-clay .m-avatar,
.s-clay .m-group {
  border-radius: 38%;
  box-shadow: inset 2px 3px 4px rgb(255 255 255 / 0.45), inset -3px -4px 6px rgb(0 0 0 / 0.14);
}
.s-clay .m-avatar,
.s-clay .m-group {
  font-family: var(--m-font);
  font-weight: 600;
}
.s-clay .m-title {
  font-weight: 600;
  font-size: 21px;
}
.s-clay .m-author b {
  font-weight: 600;
}
.s-clay .m-cat {
  width: 11px;
  height: 11px;
  border-radius: 40%;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.65), transparent 50%), var(--m-cat);
}
.s-clay .m-chip {
  background: var(--m-surface);
  box-shadow: var(--clay-puff-sm);
}
.s-clay .m-btn {
  padding: 6px 15px;
  border-radius: 999px;
  box-shadow: 4px 5px 10px var(--clay-drop), inset 2px 2px 3px rgb(255 255 255 / 0.4), inset -3px -3px 5px rgb(0 0 0 / 0.14);
}
/* The track of the toggle is pressed into the clay, and the knob sits on it. */
.s-clay .m-switch {
  width: 34px;
  height: 20px;
  box-shadow: inset 2px 2px 4px rgb(0 0 0 / 0.18);
}
.s-clay .m-switch > span {
  width: 16px;
  height: 16px;
  box-shadow: 1px 2px 3px rgb(0 0 0 / 0.2);
}

/* mulish-cyrillic-400-normal */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/mulish-cyrillic-400-normal.00a3d828.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* mulish-latin-ext-400-normal */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/mulish-latin-ext-400-normal.ad05a0ff.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* mulish-latin-400-normal */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/mulish-latin-400-normal.95efc771.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* mulish-cyrillic-700-normal */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/mulish-cyrillic-700-normal.fed75172.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* mulish-latin-ext-700-normal */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/mulish-latin-ext-700-normal.f3ecd129.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* mulish-latin-700-normal */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/mulish-latin-700-normal.f3bfe7ec.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* playfair-display-cyrillic-600-italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/playfair-display-cyrillic-600-italic.db521fb8.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* playfair-display-latin-ext-600-italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/playfair-display-latin-ext-600-italic.4f6a4778.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* playfair-display-latin-600-italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/playfair-display-latin-600-italic.8176ed85.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Coquette: a vintage, decorated look in soft tints of the accent. Blush stripes lie behind the
 * panels, a line of lace runs inside the bottom edge of the post, and a bow follows the title.
 * The avatar wears a ring of pearls, the category is a heart, and the knob of the toggle is a
 * pearl. Titles are Playfair Display italic, and the text is Mulish. Light mode is blush on
 * near white. Dark mode is "velvet": a deep ground with dusky lace. Every tint mixes the accent
 * with white, gray or black, so the pink accent gives ballet pink.
 * It follows the product style in web-apps packages/ui/styles/appStyles/coquette.css.
 */
.s-coquette {
  --cq-stripe: light-dark(
    color-mix(in srgb, var(--m-accent) 14%, #ffffff),
    color-mix(in srgb, var(--m-accent) 13%, #0b0b0b)
  );
  --cq-lace: light-dark(
    color-mix(in srgb, var(--m-accent) 42%, #ffffff),
    color-mix(in srgb, var(--m-accent) 45%, #575757)
  );
  --cq-pearl: light-dark(
    color-mix(in srgb, var(--m-accent) 15%, #d6d6d6),
    color-mix(in srgb, var(--m-accent) 26%, #8a8a8a)
  );
  --cq-chip: light-dark(
    color-mix(in srgb, var(--m-accent) 10%, #ffffff),
    color-mix(in srgb, var(--m-accent) 19%, #151515)
  );
  /* The bow is the accent. In dark mode it is a lighter tint, so it shows on the velvet. */
  --cq-ribbon: light-dark(var(--m-accent), color-mix(in srgb, var(--m-accent) 70%, #ffffff));
  --cq-knot: light-dark(color-mix(in srgb, var(--m-accent) 75%, #000000), var(--m-accent));

  --m-bg: light-dark(
    color-mix(in srgb, var(--m-accent) 7%, #ffffff),
    color-mix(in srgb, var(--m-accent) 11%, #0a0a0a)
  );
  --m-surface: light-dark(
    color-mix(in srgb, var(--m-accent) 2%, #ffffff),
    color-mix(in srgb, var(--m-accent) 15%, #0e0e0e)
  );
  --m-fg: light-dark(
    color-mix(in srgb, var(--m-accent) 25%, #141414),
    color-mix(in srgb, var(--m-accent) 13%, #ffffff)
  );
  --m-muted: light-dark(
    color-mix(in srgb, var(--m-accent) 30%, #505050),
    color-mix(in srgb, var(--m-accent) 29%, #a6a6a6)
  );
  --m-line: light-dark(
    color-mix(in srgb, var(--m-accent) 19%, #ffffff),
    color-mix(in srgb, var(--m-accent) 21%, #232323)
  );
  --m-radius: 14px;
  --m-font: 'Mulish', var(--font);
  --m-display: 'Playfair Display', var(--font);
  /* A category keeps its own color, because it is content. This one is a rose. */
  --m-cat: light-dark(#d6336c, #f783ac);
  --m-avatar: light-dark(
    color-mix(in srgb, var(--m-accent) 28%, #ffffff),
    color-mix(in srgb, var(--m-accent) 40%, #1c1c1c)
  );
  --m-on-avatar: var(--m-fg);

  background-image: repeating-linear-gradient(90deg, transparent 0 16px, var(--cq-stripe) 16px 32px);
}

.s-coquette :is(.m-title, .m-avatar, .m-group) {
  font-style: italic;
  font-weight: 600;
}
.s-coquette .m-title {
  font-size: 21px;
}

/* The bow follows the title. Its outline is a polygon after the bow of the product, which is
   24 by 16 units, and a darker dot on top is the knot. */
.s-coquette .m-title::after {
  content: '';
  display: inline-block;
  width: 1.15em;
  height: 0.77em;
  margin-left: 0.3em;
  background:
    radial-gradient(circle 0.1em at 50% 48%, var(--cq-knot) 85%, transparent),
    var(--cq-ribbon);
  clip-path: polygon(
    50% 36%, 62.7% 23.8%, 76.3% 15.6%, 87.2% 19.1%, 91.7% 34.4%, 87.5% 50.5%, 77.1% 57.6%,
    63.5% 57.3%, 54.2% 53.1%, 68.8% 93.8%, 58.8% 88.8%, 53.3% 100%, 50% 65%, 46.7% 100%,
    41.3% 88.8%, 31.3% 93.8%, 45.8% 53.1%, 36.5% 57.3%, 22.9% 57.6%, 12.5% 50.5%, 8.3% 34.4%,
    12.8% 19.1%, 23.7% 15.6%, 37.3% 23.8%
  );
}

.s-coquette .m-logo {
  border-radius: 50%;
}

/* A line of lace runs inside the bottom edge of the post: a row of small scallops. It stops
   before the round corners, and it shows only whole scallops. The padding keeps the text off
   the lace. */
.s-coquette .m-post {
  position: relative;
  padding-bottom: 22px;
}
.s-coquette .m-post::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 7px;
  background: radial-gradient(circle at 7px 0, transparent 4.5px, var(--cq-lace) 4.5px 5.7px, transparent 6.2px)
    0 0 / 14px 7px round no-repeat;
}

/* The avatar wears a ring of pearls. It is a dotted outline, so the avatar keeps its size. */
.s-coquette .m-avatar {
  outline: 3px dotted var(--cq-pearl);
  outline-offset: 1px;
}

/* The category is a heart in its own color. The variation selector keeps it a text symbol,
   not a color emoji. */
.s-coquette .m-cat {
  width: auto;
  height: auto;
  background: none;
  color: var(--m-cat);
  font-size: 13px;
  line-height: 1;
}
.s-coquette .m-cat::before {
  content: '\2665\FE0E';
}

.s-coquette .m-chip {
  border-color: var(--m-line);
  background: var(--cq-chip);
}
.s-coquette .m-btn {
  border-radius: 999px;
  font-weight: 700;
}

/* The knob of the toggle is a pearl with a thin edge, so it shows on a pale track. */
.s-coquette .m-switch > span {
  background: radial-gradient(circle at 35% 30%, #ffffff, color-mix(in srgb, var(--m-accent) 8%, #e8e8e8));
  box-shadow: 0 0 0 1px var(--cq-pearl), 0 1px 2px rgb(0 0 0 / 0.3);
}

/* noto-serif-cyrillic-400-normal */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/noto-serif-cyrillic-400-normal.8deaf453.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* noto-serif-latin-ext-400-normal */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/noto-serif-latin-ext-400-normal.536857e8.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* noto-serif-latin-400-normal */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/noto-serif-latin-400-normal.4c0cbe3e.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* noto-serif-cyrillic-700-normal */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/noto-serif-cyrillic-700-normal.1dd6e758.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* noto-serif-latin-ext-700-normal */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/noto-serif-latin-ext-700-normal.52c9361e.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* noto-serif-latin-700-normal */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/noto-serif-latin-700-normal.0d0b4407.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Editorial: the plain look of Welley in the serif font Noto Serif. Like the product style
 * (web-apps packages/ui/styles/appStyles/editorial.css), it changes only the font.
 */
.s-editorial {
  --m-font: 'Noto Serif', var(--font);
}

/* geist-cyrillic-400-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-cyrillic-400-normal.a84e32cc.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-latin-ext-400-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-latin-ext-400-normal.6e4c9792.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-latin-400-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-latin-400-normal.ead637fd.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* geist-cyrillic-600-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/geist-cyrillic-600-normal.05f146c5.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-latin-ext-600-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/geist-latin-ext-600-normal.bc1a2cbd.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-latin-600-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/geist-latin-600-normal.edde7cc4.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* geist-mono-cyrillic-400-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-mono-cyrillic-400-normal.c3e3d989.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-mono-latin-ext-400-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-mono-latin-ext-400-normal.8ede9cb6.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-mono-latin-400-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-mono-latin-400-normal.3f98383b.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* geist-mono-cyrillic-500-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/geist-mono-cyrillic-500-normal.4c8a1cdd.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-mono-latin-ext-500-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/geist-mono-latin-ext-500-normal.84c2a01e.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-mono-latin-500-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/geist-mono-latin-500-normal.72971bd4.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* michroma-latin-ext-400-normal */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/michroma-latin-ext-400-normal.389fd1a8.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* michroma-latin-400-normal */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/michroma-latin-400-normal.754fdb31.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Graphite: a graphite screen for engineers. A faint dot grid covers the ground, a wireframe
 * globe sits in the lower right corner, and a soft band of light crosses the ground. Titles use
 * a wide techno font in capitals, handles, times, counts and the button label use a mono font,
 * and all colors are grays. Dark mode is near black with pale gray lines. Light mode is a pale
 * gray ground with dark gray lines and the same globe. The mockup follows
 * web-apps packages/ui/styles/appStyles/graphite.css.
 */
.s-graphite {
  /* The style has no accent, so it replaces the accent of the gallery with a gray: pale with
     dark ink in dark mode, and dark with light ink in light mode. */
  --m-accent: light-dark(#1c1c1e, #e6e6e6);
  --m-on-accent: light-dark(#f7f7f8, #0b0b0c);
  --g-dot: light-dark(rgb(0 0 0 / 0.14), rgb(255 255 255 / 0.12));
  --g-line: light-dark(rgb(0 0 0 / 0.24), rgb(255 255 255 / 0.22));
  --g-sweep: light-dark(rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.05));
  --g-label: 'Geist Mono', var(--mono), var(--font);
  /* The radius of the globe, and the place of its center from the right and the bottom edge.
     The center is under the bottom edge, so only the upper part of the globe shows. */
  --g-r: 72px;
  --g-x: 58px;
  --g-y: -8px;

  --m-bg: light-dark(#e6e6e7, #0b0b0c);
  --m-surface: light-dark(#f7f7f8, #141415);
  --m-fg: light-dark(#141415, #ececec);
  --m-muted: light-dark(#646468, #8a8a8c);
  --m-line: light-dark(#d9d9db, #2a2a2b);
  --m-radius: 4px;
  --m-font: 'Geist', var(--font);
  --m-display: 'Michroma', var(--m-font);

  background:
    radial-gradient(var(--g-dot) 1px, transparent 1.3px) 0 0 / 12px 12px,
    var(--m-bg);
}

/* The band of light stands still across the ground. */
.s-graphite::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, var(--g-sweep) 42%, transparent 54%);
}

/* The globe is five ellipses with a thin line: the outline, two meridians and two latitude
   rings. The main column and the header are not positioned, so their pseudo-elements are placed
   in the mockup, behind the panels. Each ellipse has a half width (--a), a half height (--b)
   and a distance (--d) of its center above the center of the globe. The globe leans to the
   left, so each ellipse turns around the center of the globe. */
.s-graphite::after,
.s-graphite :is(.m-main, .m-head)::before,
.s-graphite :is(.m-main, .m-head)::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: calc(var(--g-x) - var(--a));
  bottom: calc(var(--g-y) + var(--d, 0px) - var(--b));
  width: calc(2 * var(--a));
  height: calc(2 * var(--b));
  border: 1px solid var(--g-line);
  border-radius: 50%;
  transform: rotate(-18deg);
  transform-origin: 50% calc(50% + var(--d, 0px));
}
.s-graphite::after {
  --a: var(--g-r);
  --b: var(--g-r);
}
.s-graphite .m-main::before {
  --a: calc(var(--g-r) * 0.62);
  --b: var(--g-r);
}
.s-graphite .m-main::after {
  --a: calc(var(--g-r) * 0.24);
  --b: var(--g-r);
}
/* A latitude ring shrinks to the cosine of its latitude and moves up by the sine. The globe
   leans toward the viewer, so the rings show as flat ellipses. */
.s-graphite .m-head::before {
  --a: calc(var(--g-r) * 0.82);
  --b: calc(var(--g-r) * 0.25);
  --d: calc(var(--g-r) * 0.54);
}
.s-graphite .m-head::after {
  --a: calc(var(--g-r) * 0.5);
  --b: calc(var(--g-r) * 0.15);
  --d: calc(var(--g-r) * 0.82);
}

/* The title is in the wide techno font, in capitals with open letter spacing. The font is wide,
   so the title is smaller. */
.s-graphite .m-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.s-graphite :is(.m-avatar, .m-group) {
  font-weight: 400;
}
.s-graphite .m-author b {
  font-weight: 600;
}
.s-graphite :is(.m-path, .m-author span, .m-meta, .m-chip) {
  font-family: var(--g-label);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.s-graphite .m-chip {
  border-radius: 4px;
}

/* A filled button has a label in the mono font, in capitals. Capitals are wide, so the label is
   a little smaller. */
.s-graphite .m-btn {
  padding-inline: 10px;
  font-family: var(--g-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.s-graphite .m-logo {
  border-radius: 3px;
}
.s-graphite .m-switch {
  border-radius: 4px;
}
.s-graphite .m-switch > span {
  border-radius: 2px;
  background: var(--m-on-accent);
}

/* A category shows a gray ring instead of its color. */
.s-graphite .m-cat {
  background: none;
  box-shadow: inset 0 0 0 2px var(--m-fg);
}

/* figtree-latin-ext-400-normal */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/figtree-latin-ext-400-normal.3f581261.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* figtree-latin-400-normal */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/figtree-latin-400-normal.8f98dd64.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* figtree-latin-ext-600-normal */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/figtree-latin-ext-600-normal.066f04a6.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* figtree-latin-600-normal */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/figtree-latin-600-normal.367d7132.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* young-serif-latin-ext-400-normal */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/young-serif-latin-ext-400-normal.9e6eb8e5.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* young-serif-latin-400-normal */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/young-serif-latin-400-normal.6ba68b99.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Grove: natural greens on a soft ground with a fine grain, leaf shapes on the panels, the
 * buttons and the chips, and the warm serif Young Serif for the title. Light mode is a pale sage
 * ground with earthy text. Dark mode is a deep forest green with pale green text. The style has
 * its own greens, so the accent is only on the logo, the button and the switch. This follows the
 * product style web-apps packages/ui/styles/appStyles/grove.css.
 */
.s-grove {
  --grove-leaf: light-dark(#4f8a43, #8fbf78);
  --grove-shade: light-dark(rgb(63 125 58 / 0.16), rgb(0 0 0 / 0.35));
  --grove-speck: light-dark(rgb(51 71 38 / 0.2), rgb(204 230 184 / 0.12));

  --m-bg: light-dark(#eceee0, #0d150f);
  --m-surface: light-dark(#fbfaf3, #1a271c);
  --m-fg: light-dark(#24301f, #eaf0e1);
  --m-muted: light-dark(#5f6a55, #919d86);
  --m-line: light-dark(#d2d7bf, #2c3c2e);
  /* A leaf has two round corners and two sharp corners on the other diagonal. */
  --m-radius: 18px 5px;
  --m-shadow: 0 2px 0 var(--grove-shade);
  --m-font: 'Figtree', var(--font);
  --m-display: 'Young Serif', 'Figtree', var(--font);
  --m-cat: light-dark(#c8741f, #e3a15a);
  --m-avatar: light-dark(#c9a66b, #c4a26a);
  --m-on-avatar: #24301f;

  /* The product draws the grain with an SVG image, but the site blocks data: URLs. Four grids
     of tiny dots overlap. Their sizes have no common divisor, so the speckle has no clear rows. */
  background-image:
    radial-gradient(circle at 30% 40%, var(--grove-speck) 0.45px, transparent 0.9px),
    radial-gradient(circle at 70% 20%, var(--grove-speck) 0.4px, transparent 0.85px),
    radial-gradient(circle at 15% 80%, var(--grove-speck) 0.5px, transparent 0.95px),
    radial-gradient(circle at 60% 65%, var(--grove-speck) 0.35px, transparent 0.8px);
  background-size: 5px 7px, 11px 6px, 13px 17px, 7px 19px;
}

/* The icons are leaf green, and the text stays an earthy neutral. */
.s-grove .m-ico {
  stroke: light-dark(#3f6b36, #a9cc95);
}
.s-grove .m-logo {
  border-radius: 0 60% 0 60%;
}
/* Young Serif has one weight. A bold title would get a synthesized bold face, so the titles keep
   the regular weight. */
.s-grove .m-title {
  font-size: 20px;
  font-weight: 400;
}
/* A small leaf grows before the title. */
.s-grove .m-title::before {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.3em;
  border-radius: 0 70% 0 70%;
  background: var(--grove-leaf);
}
.s-grove .m-group {
  border-radius: 12px 3px;
  background: var(--grove-leaf);
  color: light-dark(#fbfaf3, #0d150f);
  font-weight: 400;
}
/* An avatar is round with one pointed corner, like a leaf bud. */
.s-grove .m-avatar {
  border-radius: 50% 50% 50% 18%;
  font: 600 14px var(--m-font);
}
.s-grove .m-author b {
  font-weight: 600;
}
/* The round corner of a chip cuts into its first character, so the chip gets more room at its
   sides. */
.s-grove .m-chip {
  padding-inline: 10px;
  border-radius: 12px 2px;
  background: light-dark(#eef1e2, #213023);
}
.s-grove .m-btn {
  border-radius: 16px 4px;
}
/* A forum category shows its color as a small leaf. */
.s-grove .m-cat {
  width: 11px;
  height: 11px;
  border-radius: 0 70% 0 70%;
}
.s-grove .m-switch > span {
  border-radius: 50% 50% 50% 22%;
}

/* saira-latin-ext-400-normal */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/saira-latin-ext-400-normal.cb487591.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* saira-latin-400-normal */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/saira-latin-400-normal.f477825b.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* saira-latin-ext-600-normal */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/saira-latin-ext-600-normal.60964ee6.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* saira-latin-600-normal */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/saira-latin-600-normal.4f11a174.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* oxanium-latin-ext-600-normal */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/oxanium-latin-ext-600-normal.0b9e0741.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* oxanium-latin-600-normal */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/oxanium-latin-600-normal.149d8c3d.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* share-tech-mono-latin-400-normal */
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/share-tech-mono-latin-400-normal.41e6b9f2.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * HUD: the display of a cockpit. A faint dot grid and two still radars are behind the panels.
 * The panels have hairline frames with corner brackets and square corners, and no shadows.
 * Titles are uppercase with wide letters, and handles, times and counts are in a mono font.
 * The lines take the accent color, and an amber blip marks the large radar. Dark mode is a
 * night display. Light mode is a daylight cockpit: pale blue-gray with navy lines. The mockup
 * follows web-apps packages/ui/styles/appStyles/hud.css.
 */
.s-hud {
  /* In light mode the lines are navy with a small part of the accent, as in the product. A
     larger part of a warm accent, such as gold, would turn the navy gray. */
  --hud-line: light-dark(color-mix(in oklab, var(--m-accent) 15%, #163a6b), var(--m-accent));
  --hud-frame: color-mix(in srgb, var(--hud-line) 30%, transparent);
  --hud-dot: color-mix(in srgb, var(--hud-line) 24%, transparent);
  --hud-sweep: color-mix(in srgb, var(--hud-line) 30%, transparent);
  /* A dark accent such as navy is too dark for text on the night display, so the text mixes
     the accent with white. */
  --hud-ink: light-dark(var(--hud-line), color-mix(in srgb, var(--m-accent) 72%, #ffffff));
  --hud-title: light-dark(var(--hud-line), color-mix(in srgb, var(--m-accent) 22%, #ffffff));
  --hud-alert: light-dark(#f2a024, #ffb547);
  --hud-label: 'Share Tech Mono', var(--mono), var(--font);
  --hud-bracket: linear-gradient(var(--hud-line), var(--hud-line));

  --m-bg: light-dark(#e3eaef, color-mix(in srgb, var(--m-accent) 3%, #040a12));
  --m-surface: light-dark(#f4f7f9, color-mix(in srgb, var(--m-accent) 3%, #06121e));
  --m-fg: light-dark(#0b1b2b, #d9f6ff);
  --m-muted: light-dark(#51677a, #7fa5b8);
  --m-line: var(--hud-frame);
  --m-radius: 0;
  --m-font: 'Saira', var(--font);
  --m-display: 'Oxanium', var(--m-font);

  background:
    radial-gradient(circle, var(--hud-dot) 1px, transparent 1.4px) 0 0 / 14px 14px,
    var(--m-bg);
}

/* Two radars sit in the right corners, where the backdrop shows above and under the post. Each
   one has range rings, a cross, a still sweep and one blip. The large radar is in the lower
   corner, with an amber blip. */
.s-hud::before,
.s-hud::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.s-hud::before {
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle, var(--hud-alert) 2.5px, transparent 3.5px) 25% 46% / 12px 12px no-repeat,
    conic-gradient(from 290deg, transparent 290deg, var(--hud-sweep) 360deg),
    repeating-radial-gradient(circle, transparent 0 29px, var(--hud-frame) 29px 30px),
    linear-gradient(var(--hud-frame), var(--hud-frame)) center / 1px 100% no-repeat,
    linear-gradient(var(--hud-frame), var(--hud-frame)) center / 100% 1px no-repeat;
}
.s-hud::after {
  right: -50px;
  top: -60px;
  width: 150px;
  height: 150px;
  background:
    radial-gradient(circle, var(--hud-line) 2px, transparent 3px) 18% 57% / 10px 10px no-repeat,
    conic-gradient(from 320deg, transparent 290deg, var(--hud-sweep) 360deg),
    repeating-radial-gradient(circle, transparent 0 24px, var(--hud-frame) 24px 25px),
    linear-gradient(var(--hud-frame), var(--hud-frame)) center / 1px 100% no-repeat,
    linear-gradient(var(--hud-frame), var(--hud-frame)) center / 100% 1px no-repeat;
}

/* A panel has a hairline frame and a bracket in each corner. The brackets are eight thin
   gradients over the color of the panel, and they cover the corners of the frame. */
.s-hud :is(.m-rail, .m-post) {
  background-image:
    var(--hud-bracket), var(--hud-bracket), var(--hud-bracket), var(--hud-bracket),
    var(--hud-bracket), var(--hud-bracket), var(--hud-bracket), var(--hud-bracket);
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-origin: border-box;
  background-repeat: no-repeat;
}

.s-hud .m-title {
  color: var(--hud-title);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.s-hud .m-author b {
  font-weight: 600;
}
.s-hud :is(.m-path, .m-author span, .m-meta, .m-chip) {
  font-family: var(--hud-label);
  letter-spacing: 0.04em;
}
.s-hud .m-path {
  color: var(--hud-ink);
}

.s-hud .m-logo {
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--hud-line);
  background-image: radial-gradient(circle, var(--hud-line) 2px, transparent 2.5px);
}
.s-hud .m-ico {
  stroke-width: 1.6;
}
.s-hud :is(.m-group, .m-avatar) {
  font-weight: 600;
}

/* An avatar keeps its circle and gets a thin ring with a gap, like a target on the display. */
.s-hud .m-avatar {
  outline: 1px solid var(--hud-frame);
  outline-offset: 2px;
}
.s-hud :is(.m-cat, .m-chip) {
  border-radius: 0;
}

/* A button is a frame with a faint tint of the accent and a mono label in the color of the
   lines. It has no solid fill and no glow, which keeps the style apart from Neon. */
.s-hud .m-btn {
  background: color-mix(in srgb, var(--m-accent) 12%, var(--m-surface));
  box-shadow: inset 0 0 0 1px var(--hud-line);
  color: var(--hud-ink);
  font-family: var(--hud-label);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The toggle is a framed square track with a square knob. */
.s-hud .m-switch {
  border-radius: 0;
  background: color-mix(in srgb, var(--m-accent) 22%, var(--m-surface));
  box-shadow: inset 0 0 0 1px var(--hud-line);
}
.s-hud .m-switch > span {
  border-radius: 0;
  background: var(--hud-line);
}

/* m-plus-rounded-1c-cyrillic-400-normal */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/m-plus-rounded-1c-cyrillic-400-normal.5098d47e.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* m-plus-rounded-1c-latin-ext-400-normal */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/m-plus-rounded-1c-latin-ext-400-normal.34eb71ee.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* m-plus-rounded-1c-latin-400-normal */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/m-plus-rounded-1c-latin-400-normal.0fc4b05c.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* m-plus-rounded-1c-cyrillic-700-normal */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/m-plus-rounded-1c-cyrillic-700-normal.caf53138.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* m-plus-rounded-1c-latin-ext-700-normal */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/m-plus-rounded-1c-latin-ext-700-normal.eeea363a.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* m-plus-rounded-1c-latin-700-normal */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/m-plus-rounded-1c-latin-700-normal.1688f144.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* mochiy-pop-one-latin-400-normal */
@font-face {
  font-family: 'Mochiy Pop One';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/mochiy-pop-one-latin-400-normal.5b66adb4.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Kawaii: cute paper stickers on pastel polka dots. The avatar, the reaction chips, the button
 * and the toggle are die-cut stickers with a white outline and a hard shadow in a soft color,
 * and some of them tilt a little. The title is a sticker of letters with a star after it, and
 * the category is a star. Titles are Mochiy Pop One, and the text is M PLUS Rounded 1c. The
 * accent colors the actions and tints the surfaces, the text and one color of the dots. Light
 * mode is candy pastels on near white. Dark mode is "night candy": a deep shade of the accent
 * with the same bright stickers.
 * It follows the product style in web-apps packages/ui/styles/appStyles/kawaii.css.
 */
.s-kawaii {
  --kw-dot-a: light-dark(
    color-mix(in srgb, var(--m-accent) 22%, #ffffff),
    color-mix(in srgb, var(--m-accent) 33%, #0e0e0e)
  );
  --kw-dot-b: light-dark(#d6f0ff, #2c3558);
  --kw-lemon: light-dark(#fff3c4, #4f4524);
  --kw-mint: light-dark(#d9f5e8, #23463b);
  --kw-star: light-dark(#ffc928, #ffd34d);
  --kw-text-2: light-dark(
    color-mix(in srgb, var(--m-accent) 30%, #282828),
    color-mix(in srgb, var(--m-accent) 18%, #dbdbdb)
  );
  /* The letters of the title mix the accent with a dark ink, so they stand out from the white
     outline for every accent in both modes. */
  --kw-title: light-dark(
    color-mix(in srgb, var(--m-accent) 70%, #141414),
    color-mix(in srgb, var(--m-accent) 67%, #050505)
  );
  /* A sticker is a white outline and a hard shadow below it. Both are outside the box, so the
     size of the element does not change. */
  --kw-outline: light-dark(#ffffff, color-mix(in srgb, var(--m-accent) 8%, #ffffff));
  --kw-drop: light-dark(rgb(20 20 20 / 0.16), rgb(0 0 0 / 0.4));
  --kw-sticker: 0 0 0 2.5px var(--kw-outline), 0 3.5px 0 2.5px var(--kw-drop);

  --m-bg: light-dark(
    color-mix(in srgb, var(--m-accent) 6%, #ffffff),
    color-mix(in srgb, var(--m-accent) 18%, #050505)
  );
  --m-surface: light-dark(#ffffff, color-mix(in srgb, var(--m-accent) 24%, #080808));
  --m-fg: light-dark(
    color-mix(in srgb, var(--m-accent) 25%, #141414),
    color-mix(in srgb, var(--m-accent) 10%, #ffffff)
  );
  --m-muted: light-dark(
    color-mix(in srgb, var(--m-accent) 30%, #505050),
    color-mix(in srgb, var(--m-accent) 23%, #aeaeae)
  );
  --m-line: light-dark(
    color-mix(in srgb, var(--m-accent) 12%, #ffffff),
    color-mix(in srgb, var(--m-accent) 28%, #1f1f1f)
  );
  --m-radius: 18px;
  --m-font: 'M PLUS Rounded 1c', var(--font);
  --m-display: 'Mochiy Pop One', 'M PLUS Rounded 1c', var(--font);
  /* A category keeps its own color, because it is content. This one is a candy pink. The
     avatar is a fixed pastel, the same in both modes, as a bright sticker is. */
  --m-cat: light-dark(#f0609e, #ff8fbf);
  --m-avatar: #ffc2dc;
  --m-on-avatar: #5a1f3c;

  /* Mochiy Pop One has one face. A browser must not make a fake bold of it. */
  font-synthesis-weight: none;
  background-image:
    radial-gradient(var(--kw-dot-a) 2.2px, transparent 2.7px),
    radial-gradient(var(--kw-dot-b) 2.2px, transparent 2.7px);
  background-position: 0 0, 11px 11px;
  background-size: 22px 22px;
}

/* The rail and the post have a pastel ring inside their edge. */
.s-kawaii :is(.m-rail, .m-post) {
  border-width: 2px;
}
.s-kawaii .m-logo {
  border-radius: 50%;
}

/* The title is a sticker of letters: a white outline and a hard shadow, with a star after it.
   The title is small, so the outline is the thin one of the product on a phone. This keeps
   the gaps between the letters open. */
.s-kawaii .m-title {
  color: var(--kw-title);
  font-weight: 700;
  text-shadow:
    1.5px 0 0 var(--kw-outline),
    -1.5px 0 0 var(--kw-outline),
    0 1.5px 0 var(--kw-outline),
    0 -1.5px 0 var(--kw-outline),
    1.5px 1.5px 0 var(--kw-outline),
    -1.5px -1.5px 0 var(--kw-outline),
    1.5px -1.5px 0 var(--kw-outline),
    -1.5px 1.5px 0 var(--kw-outline),
    0 3px 0 var(--kw-drop);
}
.s-kawaii .m-title::after {
  content: '\2605';
  margin-left: 0.25em;
  color: var(--kw-star);
}

/* The avatar is a sticker with a small tilt. The avatar of the group in the rail stays flat,
   as the small avatars of the rail do in the product. */
.s-kawaii .m-avatar {
  box-shadow: var(--kw-sticker);
  rotate: -3deg;
}

/* The reaction chips are pastel stickers that tilt one way and then the other. */
.s-kawaii .m-actions {
  gap: 10px;
}
.s-kawaii .m-chip {
  border: 0;
  padding: 2px 9px;
  background: var(--kw-lemon);
  color: var(--kw-text-2);
  box-shadow: var(--kw-sticker);
  rotate: -2deg;
}
.s-kawaii .m-chip:nth-child(even) {
  background: var(--kw-mint);
  rotate: 2deg;
}

/* The filled button is a sticker pill with its label in the title font. */
.s-kawaii .m-btn {
  border-radius: 999px;
  box-shadow: var(--kw-sticker);
  font-family: var(--m-display);
  font-weight: 700;
}
.s-kawaii .m-switch {
  box-shadow: var(--kw-sticker);
}

/* The category is a star in its own color. */
.s-kawaii .m-cat {
  width: auto;
  height: auto;
  background: none;
  color: var(--m-cat);
  font-size: 14px;
  line-height: 1;
}
.s-kawaii .m-cat::before {
  content: '\2605';
}

/* geist-cyrillic-400-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-cyrillic-400-normal.a84e32cc.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-latin-ext-400-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-latin-ext-400-normal.6e4c9792.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-latin-400-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-latin-400-normal.ead637fd.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* geist-cyrillic-600-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/geist-cyrillic-600-normal.05f146c5.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-latin-ext-600-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/geist-latin-ext-600-normal.bc1a2cbd.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-latin-600-normal */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/geist-latin-600-normal.edde7cc4.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* geist-mono-cyrillic-400-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-mono-cyrillic-400-normal.c3e3d989.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* geist-mono-latin-ext-400-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-mono-latin-ext-400-normal.8ede9cb6.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* geist-mono-latin-400-normal */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/geist-mono-latin-400-normal.3f98383b.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Mono: a minimal screen in white and grays only, with thin hairlines, a small radius and no
 * shadows. The button is black in light mode and white in dark mode. Dark mode is near black
 * with light gray text. The handle, the time and the channel use a mono font. It follows the
 * product style in web-apps packages/ui/styles/appStyles/mono.css.
 */
.s-mono {
  /* The style has no accent in the product, so it sets its own gray accent. This value
     replaces the accent that the visitor picks in the color row. */
  --m-accent: light-dark(#111111, #ededed);
  --m-on-accent: light-dark(#ffffff, #0a0a0a);

  --m-bg: light-dark(#fafafa, #0a0a0a);
  --m-surface: light-dark(#ffffff, #111111);
  --m-fg: light-dark(#111111, #ededed);
  --m-muted: light-dark(#6b6b6b, #8a8a8a);
  --m-line: light-dark(#e6e6e6, #262626);
  --m-radius: 6px;
  --m-shadow: none;
  --m-font: 'Geist', var(--font);
  --m-label: 'Geist Mono', 'JetBrains Mono', var(--font);
  --m-cat: light-dark(#9a9a9a, #5e5e5e);
  /* A letter avatar is a soft gray, so the black or white fill stays for the button only. */
  --m-avatar: light-dark(#ebebeb, #262626);
  --m-on-avatar: light-dark(#262626, #d4d4d4);
}

/* The product has no bold weight in this style. Titles and names are semibold. */
.s-mono .m-title {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.s-mono :is(.m-author b, .m-avatar, .m-group) {
  font-weight: 600;
}

/* Meta text uses the mono font, at a slightly smaller size so that it has the same visual size
   as the body text. */
.s-mono :is(.m-author span, .m-path) {
  font-family: var(--m-label);
  font-size: 12px;
  letter-spacing: -0.01em;
}

/* A forum category shows a small gray square instead of its color dot. */
.s-mono .m-cat {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

/* Pills have the same small radius as the other shapes. */
.s-mono .m-chip {
  border-radius: var(--m-radius);
}

/* The track of the switch is black in light mode and near white in dark mode, so the knob is
   white in light mode and near black in dark mode. */
.s-mono .m-switch > span {
  background: light-dark(#ffffff, #0a0a0a);
}

/* chakra-petch-latin-ext-400-normal */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/chakra-petch-latin-ext-400-normal.df0ee4f9.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* chakra-petch-latin-400-normal */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/chakra-petch-latin-400-normal.7d75be85.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* chakra-petch-latin-ext-700-normal */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/chakra-petch-latin-ext-700-normal.3b237255.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* chakra-petch-latin-700-normal */
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/chakra-petch-latin-700-normal.ce5095dc.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Neon: a gaming screen with sharp corners, buttons with cut corners, hexagon avatars and
 * uppercase titles in the squared font Chakra Petch. In dark mode the ground is dark violet,
 * and the edges and the titles glow in the accent color. In light mode the ground is pale
 * lavender, and a thin accent edge replaces most of the glow.
 * It follows web-apps packages/ui/styles/appStyles/neon.css.
 */
.s-neon {
  /* The edge and the glow take the accent. Dark mode makes both of them stronger. */
  --neon-edge: light-dark(
    color-mix(in srgb, var(--m-accent) 45%, transparent),
    color-mix(in srgb, var(--m-accent) 60%, transparent)
  );
  --neon-glow: light-dark(
    color-mix(in srgb, var(--m-accent) 12%, transparent),
    color-mix(in srgb, var(--m-accent) 34%, transparent)
  );
  /* Only dark mode makes the title and the small marks glow. */
  --neon-title-glow: light-dark(transparent, color-mix(in srgb, var(--m-accent) 70%, transparent));
  --neon-haze: light-dark(
    color-mix(in srgb, var(--m-accent) 10%, transparent),
    color-mix(in srgb, var(--m-accent) 18%, transparent)
  );

  --m-bg: light-dark(#ece8f8, #0b0716);
  --m-surface: light-dark(#fbfaff, #130d24);
  --m-fg: light-dark(#170f2e, #efeaff);
  --m-muted: light-dark(#685e92, #8f85ba);
  --m-line: var(--neon-edge);
  --m-radius: 2px;
  --m-shadow: 0 0 14px var(--neon-glow);
  --m-font: 'Chakra Petch', var(--font);
  --m-cat: light-dark(#d61aa8, #ff2bd6);
  --m-avatar: linear-gradient(135deg, #ff2bd6, var(--m-accent));
  --m-on-avatar: #0b0716;

  background: radial-gradient(ellipse at 85% 0%, var(--neon-haze), transparent 55%), var(--m-bg);
}
.s-neon .m-rail {
  box-shadow: 0 0 22px var(--neon-glow);
}
.s-neon .m-logo {
  border-radius: 0;
  box-shadow: 0 0 10px var(--neon-edge);
}
/* The first icon is the active page, so it takes the accent. In light mode a darker accent keeps
   the icon visible on the pale rail. */
.s-neon .m-ico:first-of-type {
  stroke: light-dark(color-mix(in srgb, var(--m-accent) 70%, #170f2e), var(--m-accent));
  filter: drop-shadow(0 0 4px var(--neon-title-glow));
}
.s-neon .m-title {
  color: light-dark(#170f2e, color-mix(in srgb, var(--m-accent) 25%, #ffffff));
  text-shadow: 0 0 12px var(--neon-title-glow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.s-neon .m-avatar,
.s-neon .m-group {
  border-radius: 0;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.s-neon .m-cat {
  border-radius: 0;
  transform: rotate(45deg) scale(0.85);
  box-shadow: 0 0 8px var(--neon-title-glow);
}
.s-neon .m-chip {
  border-radius: 2px;
}
/* A filled button has two cut corners, so its own corners are square. */
.s-neon .m-btn {
  border-radius: 0;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.s-neon .m-switch {
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-edge);
}
.s-neon .m-switch > span {
  border-radius: 1px;
}

/* space-grotesk-latin-ext-400-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/space-grotesk-latin-ext-400-normal.a6658ce6.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* space-grotesk-latin-400-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/space-grotesk-latin-400-normal.65fd17fc.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* space-grotesk-latin-ext-600-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/space-grotesk-latin-ext-600-normal.0bdc872e.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* space-grotesk-latin-600-normal */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/space-grotesk-latin-600-normal.685bbbf6.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* space-mono-latin-ext-400-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/space-mono-latin-ext-400-normal.44ad50c7.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* space-mono-latin-400-normal */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/space-mono-latin-400-normal.fb4a81a2.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Orbit: deep space. Stars are behind the panels, the edge of a planet in the accent color sits
 * in the lower right corner with an orbit ring around it, and the avatar has a small orbit ring
 * with a moon. The text is Space Grotesk, and handles and times are Space Mono. In light mode
 * the ground is a star chart: pale paper with faint chart circles, dark stars and thin
 * constellation lines. The mockup follows web-apps packages/ui/styles/appStyles/orbit.css.
 */
.s-orbit {
  --o-star: light-dark(#1b2246, #ffffff);
  --o-star-dim: light-dark(rgb(27 34 70 / 0.5), rgb(255 255 255 / 0.5));
  --o-star-cool: light-dark(#1b2246, #c9d6ff);
  --o-star-warm: light-dark(#1b2246, #ffe2b8);
  --o-ring: color-mix(in srgb, var(--m-accent) 55%, transparent);
  --o-edge: light-dark(rgb(27 34 70 / 0.1), color-mix(in srgb, var(--m-accent) 12%, transparent));
  --o-shade: light-dark(rgb(27 34 70 / 0.1), rgb(0 0 0 / 0.45));
  /* The colors of the sky. Each mode leaves out the parts of the other mode as transparent:
     the dark sky has a faint glow of the accent, and the star chart has thin circles. */
  --o-sky-top: light-dark(#f1eee5, #03050d);
  --o-sky-bottom: light-dark(#ebe6d9, #050816);
  --o-glow: light-dark(transparent, color-mix(in srgb, var(--m-accent) 12%, transparent));
  --o-chart: light-dark(rgb(27 34 70 / 0.08), transparent);
  /* The constellation lines show only on the star chart. */
  --o-lines: light-dark(color-mix(in srgb, color-mix(in srgb, var(--m-accent) 60%, #1b2246) 55%, transparent), transparent);
  --o-label: 'Space Mono', var(--mono), var(--font);

  --m-bg: light-dark(#ede9de, #03050d);
  --m-surface: light-dark(#fbf9f4, #0b1020);
  --m-fg: light-dark(#141a33, #e9edff);
  --m-muted: light-dark(#575d7b, #8d97bd);
  --m-line: light-dark(#e7e2d5, #1a2240);
  --m-radius: 10px;
  --m-shadow: 0 0 0 1px var(--o-edge), 0 14px 30px var(--o-shade);
  --m-font: 'Space Grotesk', var(--font);

  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, var(--o-glow), transparent),
    repeating-radial-gradient(circle at 18% 125%, transparent 0 79px, var(--o-chart) 79px 80px),
    linear-gradient(180deg, var(--o-sky-top), var(--o-sky-bottom));
}

/* The main column is not positioned, so its pseudo-elements are placed in the mockup too. All
   four sit behind the panels. */
.s-orbit::before,
.s-orbit::after,
.s-orbit .m-main::before,
.s-orbit .m-main::after {
  content: '';
  position: absolute;
  z-index: -1;
}

/* The stars are copies of one small dot, made with box shadows. Most of them sit where the sky
   shows: above the post, under it and in the margins. */
.s-orbit::before {
  top: 0;
  left: 0;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  box-shadow:
    180px 4px 0 0 var(--o-star-dim), 230px 8px 0 0 var(--o-star-dim),
    262px 30px 0 0.7px var(--o-star-warm), 300px 14px 0 0.3px var(--o-star),
    338px 36px 0 0.3px var(--o-star-cool), 362px 6px 0 0 var(--o-star-dim),
    392px 22px 0 0.3px var(--o-star), 414px 10px 0 0 var(--o-star-dim),
    404px 60px 0 0 var(--o-star-dim), 402px 124px 0 0.3px var(--o-star-cool),
    60px 92px 0 0.3px var(--o-star), 61px 150px 0 0 var(--o-star-dim),
    5px 70px 0 0 var(--o-star-dim), 6px 196px 0 0.3px var(--o-star),
    4px 4px 0 0 var(--o-star-dim), 40px 246px 0 0 var(--o-star-dim),
    232px 204px 0 0.3px var(--o-star), 250px 240px 0 0 var(--o-star-dim),
    270px 214px 0 0.7px var(--o-star-cool), 300px 196px 0 0 var(--o-star-dim);
}

/* The edge of the planet fills the lower right corner, in front of the stars. In dark mode it
   glows in the accent, and on the star chart it is a pale disk with a thin ring. */
.s-orbit::after {
  right: -90px;
  bottom: -150px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    light-dark(color-mix(in srgb, var(--m-accent) 10%, #fbf9f4), color-mix(in oklab, var(--m-accent) 55%, #ffffff)),
    light-dark(color-mix(in srgb, var(--m-accent) 18%, #fbf9f4), var(--m-accent)) 38%,
    light-dark(color-mix(in srgb, var(--m-accent) 26%, #fbf9f4), color-mix(in oklab, var(--m-accent) 30%, #0b1020)) 72%
  );
  box-shadow:
    0 0 0 1.5px light-dark(var(--o-ring), transparent),
    0 0 60px light-dark(transparent, color-mix(in srgb, var(--m-accent) 30%, transparent));
}

/* The orbit ring is a tilted ellipse around the planet. The planet comes later in the
   document, so it covers the ring. */
.s-orbit .m-main::before {
  right: -220px;
  bottom: -115px;
  width: 480px;
  height: 150px;
  border: 1px solid color-mix(in srgb, var(--m-accent) 45%, transparent);
  border-radius: 50%;
  transform: rotate(16deg);
}

/* A constellation under the post: five stars and the lines between them. A line is a diagonal
   of its own box. With a corner direction, the middle of a linear gradient runs through the two
   other corners of the box. */
.s-orbit .m-main::after {
  left: 74px;
  bottom: 10px;
  width: 150px;
  height: 46px;
  --o-seg: transparent calc(50% - 0.5px), var(--o-lines) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px);
  background:
    radial-gradient(circle 2px at 4px 30px, var(--o-star), transparent),
    radial-gradient(circle 2px at 40px 8px, var(--o-star), transparent),
    radial-gradient(circle 2.4px at 78px 22px, var(--o-star-warm), transparent),
    radial-gradient(circle 2px at 112px 6px, var(--o-star), transparent),
    radial-gradient(circle 2px at 140px 36px, var(--o-star-cool), transparent),
    linear-gradient(to bottom right, var(--o-seg)) 4px 8px / 36px 22px no-repeat,
    linear-gradient(to top right, var(--o-seg)) 40px 8px / 38px 14px no-repeat,
    linear-gradient(to bottom right, var(--o-seg)) 78px 6px / 34px 16px no-repeat,
    linear-gradient(to top right, var(--o-seg)) 112px 6px / 28px 30px no-repeat;
}

.s-orbit :is(.m-rail, .m-post) {
  box-shadow: var(--m-shadow);
}
.s-orbit :is(.m-title, .m-author b, .m-avatar, .m-group, .m-btn) {
  font-weight: 600;
}
/* Handles, times and the channel read like the clock of a mission. */
.s-orbit :is(.m-path, .m-author span) {
  font-family: var(--o-label);
  font-size: 12px;
}
.s-orbit :is(.m-btn, .m-chip) {
  border-radius: 8px;
}

/* The avatar has a small orbit: a tilted ring behind it and a moon on the lower end of the
   ring. The post is its own stacking context, so the ring sits behind the avatar but in front
   of the post. */
.s-orbit .m-post {
  isolation: isolate;
}
.s-orbit .m-avatar {
  position: relative;
}
.s-orbit .m-avatar::before,
.s-orbit .m-avatar::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.s-orbit .m-avatar::before {
  z-index: -1;
  inset: 32% -20%;
  border: 1px solid var(--o-ring);
  transform: rotate(-20deg);
}
.s-orbit .m-avatar::after {
  bottom: 19%;
  left: -23%;
  width: 5px;
  height: 5px;
  background: var(--m-accent);
}

/* A category mark is a small planet with a ring in its own color. */
.s-orbit .m-cat {
  width: 7px;
  height: 7px;
  margin: 0 2px;
  outline: 1px solid color-mix(in srgb, var(--m-cat) 60%, transparent);
  outline-offset: 1.5px;
}

/* fira-code-cyrillic-400-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/fira-code-cyrillic-400-normal.2a8f07c0.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* fira-code-latin-ext-400-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/fira-code-latin-ext-400-normal.587dcb11.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* fira-code-latin-400-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/fira-code-latin-400-normal.6dc9da17.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* fira-code-cyrillic-700-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/fira-code-cyrillic-700-normal.f2cfd516.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* fira-code-latin-ext-700-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/fira-code-latin-ext-700-normal.f7a3c0d5.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* fira-code-latin-700-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/fira-code-latin-700-normal.98730669.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Powerline: a tiled text UI, like tmux or Neovim with a status line. All text is Fira Code.
 * The rail and the main column are framed boxes with rounded corners and no shadows. A chain
 * of arrow segments sits on the top line of the main pane: the group name in a pastel of the
 * accent, then the path in gray. The filled button ends in an arrow too. Dark mode has
 * violet-gray neutrals, and light mode has a pale "latte" gray with a paler pastel.
 * It follows the product style in web-apps packages/ui/styles/appStyles/powerline.css.
 */
.s-powerline {
  /* The segment is a pastel of the accent with dark text, so the text stays readable for
     every accent. */
  --pl-seg: light-dark(
    color-mix(in srgb, var(--m-accent) 35%, #ffffff),
    color-mix(in srgb, var(--m-accent) 70%, #ffffff)
  );
  --pl-on-seg: light-dark(#2c2840, #16151f);
  --pl-path: light-dark(#dcd8e7, #302c45);
  --pl-on-path: light-dark(#4f4a68, #b2abd0);
  --pl-chip: light-dark(#e6e3ee, #272439);
  --pl-frame: light-dark(#c9c4da, #4a4566);
  /* Names are in the accent, as the section titles of the product are. Light mode mixes the
     accent with the text color, so that a pale accent is still readable on the latte gray. */
  --pl-name: light-dark(
    color-mix(in srgb, var(--m-accent) 45%, #2c2840),
    color-mix(in srgb, var(--m-accent) 70%, #ffffff)
  );

  --m-bg: light-dark(#eceaf2, #16151f);
  --m-surface: light-dark(#f8f7fb, #1d1b2a);
  --m-fg: light-dark(#2c2840, #e4dff7);
  --m-muted: light-dark(#6c6688, #8a83ab);
  --m-line: light-dark(#dcd8e7, #343049);
  --m-radius: 6px;
  --m-font: 'Fira Code', var(--font);
  --m-avatar: var(--pl-seg);
  --m-on-avatar: var(--pl-on-seg);

  font-size: 12px;
  font-variant-ligatures: none;
}

.s-powerline .m-rail {
  border-color: var(--pl-frame);
  border-radius: 10px;
}

/* The main column is the framed pane. Its top margin makes room for the upper half of the
   chain, which sits on the top line of the frame. */
.s-powerline .m-main {
  margin-top: 10px;
  padding: 0 10px 10px;
  border: 1px solid var(--pl-frame);
  border-radius: 10px;
  background: var(--m-surface);
}

/* The chain is one line. Its background has the page color above the line of the frame and the
   pane color below it, so the line seems to stop at the chain. */
.s-powerline .m-head {
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: flex-start;
  gap: 0;
  max-width: calc(100% - 12px);
  margin: -11px 0 0 6px;
  padding: 0 4px;
  background: linear-gradient(var(--m-bg) 50%, var(--m-surface) 50%);
  line-height: 20px;
}
/* A long name or path ends in an ellipsis. The path gives up its room first. */
.s-powerline :is(.m-title, .m-path) {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.s-powerline .m-title {
  padding: 0 18px 0 10px;
  border-radius: 4px 0 0 4px;
  background: var(--pl-seg);
  color: var(--pl-on-seg);
  line-height: inherit;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
/* The path has a notch at its start, so it fits around the arrow of the name. On a narrow card
   it keeps room for one character and the ellipsis, so no cut glyph shows. */
.s-powerline .m-path {
  flex-shrink: 50;
  min-width: calc(2ch + 36px);
  margin-left: -8px;
  padding: 0 18px;
  background: var(--pl-path);
  color: var(--pl-on-path);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

/* A card inside the pane has no ring of its own, as in the product. This also keeps room for
   the text on a phone. */
.s-powerline .m-post {
  padding: 4px 0 0;
  border: 0;
  background: none;
}
.s-powerline .m-author b {
  color: var(--pl-name);
}
.s-powerline :is(.m-logo, .m-group) {
  border-radius: 6px;
}
.s-powerline .m-chip {
  border-color: transparent;
  border-radius: 6px;
  background: var(--pl-chip);
}

/* A filled button is a segment with an arrow at its end. */
.s-powerline .m-btn {
  padding-right: 20px;
  border-radius: 6px 0 0 6px;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}

/* The switch is a block like the boxes. The knob has the pane color, so it shows on every
   accent. */
.s-powerline .m-switch {
  border-radius: 6px;
}
.s-powerline .m-switch > span {
  border-radius: 4px;
  background: var(--m-surface);
}

/* google-sans-code-latin-ext-400-normal */
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/google-sans-code-latin-ext-400-normal.44fc8ced.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* google-sans-code-latin-400-normal */
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/google-sans-code-latin-400-normal.4fb87d09.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* google-sans-code-latin-ext-600-normal */
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/google-sans-code-latin-ext-600-normal.66735eae.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* google-sans-code-latin-600-normal */
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/google-sans-code-latin-600-normal.1592db13.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* google-sans-code-latin-ext-700-normal */
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/google-sans-code-latin-ext-700-normal.69078ac7.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* google-sans-code-latin-700-normal */
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/google-sans-code-latin-700-normal.ccaea453.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Retro: the plain look of Welley in the code font Google Sans Code, in light and dark mode.
 * Like the product style (web-apps packages/ui/styles/appStyles/retro.css), it changes only the
 * font. The product puts JetBrains Mono second in the stack, and the site already loads it.
 */
.s-retro {
  --m-font: 'Google Sans Code', 'JetBrains Mono', var(--font);
}

/* patrick-hand-latin-ext-400-normal */
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/patrick-hand-latin-ext-400-normal.c16846ba.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* patrick-hand-latin-400-normal */
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/patrick-hand-latin-400-normal.ac5bc903.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* caveat-cyrillic-700-normal */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/caveat-cyrillic-700-normal.55a5d86e.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* caveat-latin-ext-700-normal */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/caveat-latin-ext-700-normal.f97b5578.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* caveat-latin-700-normal */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/caveat-latin-700-normal.15f96380.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Sketch: drawn by hand on graph paper. Outlines have uneven, wobbly corners, the text uses the
 * handwriting font Patrick Hand, titles and buttons use Caveat, and the title has a marker line.
 * The accent is the ink: the grid, the outlines and the marker take its color. In light mode
 * the ink is dark on white paper. In dark mode it is a night notebook with light ink.
 * It follows web-apps packages/ui/styles/appStyles/sketch.css.
 */
.s-sketch {
  /* The ink is the accent mixed with the text color, so it stays dark on paper and light on
     the night page. */
  --sketch-ink: light-dark(
    color-mix(in srgb, var(--m-accent) 45%, #1f2430),
    color-mix(in srgb, var(--m-accent) 45%, #eef0f4)
  );
  --sketch-pencil: light-dark(rgb(31 36 48 / 0.16), rgb(238 240 244 / 0.16));
  --sketch-grid: color-mix(in srgb, var(--m-accent) 11%, transparent);
  --sketch-marker: light-dark(
    color-mix(in srgb, var(--m-accent) 35%, #ffffff),
    color-mix(in srgb, var(--m-accent) 45%, #1a1d24)
  );
  /* The elliptical radii give each corner a different curve, so a box looks drawn by hand. */
  --sketch-wobble: 255px 16px 225px 16px / 16px 225px 16px 255px;
  --sketch-blob: 50% 44% 55% 47% / 47% 55% 44% 50%;

  --m-bg: light-dark(#fbfbf6, #1a1d24);
  --m-surface: light-dark(#ffffff, #21252e);
  --m-fg: light-dark(#1f2430, #eef0f4);
  --m-muted: light-dark(#5d6576, #8d94a3);
  --m-line: var(--sketch-ink);
  --m-radius: 16px 8px 14px 7px / 7px 14px 8px 16px;
  --m-shadow: 2px 3px 0 var(--sketch-pencil);
  --m-font: 'Patrick Hand', var(--font);
  --m-display: 'Caveat', 'Patrick Hand', var(--font);
  --m-cat: #e8590c;
  --m-avatar: var(--m-surface);
  --m-on-avatar: var(--sketch-ink);

  /* Patrick Hand and Caveat have a smaller x-height than Inter. The adjustment makes their
     letters about as large as the letters of the other styles. */
  font-size-adjust: 0.53;
  background:
    linear-gradient(var(--sketch-grid) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, var(--sketch-grid) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--m-bg);
}
.s-sketch .m-rail,
.s-sketch .m-post {
  border-width: 1.5px;
  border-radius: var(--sketch-wobble);
}
.s-sketch .m-rail {
  box-shadow: var(--m-shadow);
}
.s-sketch .m-ico {
  stroke: var(--m-fg);
}
.s-sketch .m-logo {
  border-radius: 40% 55% 45% 50%;
}
/* The marker line is a thick underline, because an underline follows the text and not the
   width of the box. */
.s-sketch .m-title {
  font-size: 20px;
  font-size-adjust: 0.5;
  text-decoration-line: underline;
  text-decoration-color: var(--sketch-marker);
  text-decoration-thickness: 0.42em;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}
.s-sketch .m-avatar,
.s-sketch .m-group {
  border-radius: var(--sketch-blob);
  outline: 1.5px solid var(--sketch-ink);
  font-size: 16px;
  font-size-adjust: 0.5;
}
/* A forum category shows its color as a blob drawn by hand. */
.s-sketch .m-cat {
  width: 12px;
  height: 12px;
  border-radius: 0;
  clip-path: inset(10% 6% 8% 8% round 60% 35% 55% 40% / 45% 60% 40% 55%);
}
.s-sketch .m-chip {
  border: 1.5px solid light-dark(#a3a8b4, #555c6b);
  border-radius: 16px 10px 14px 11px / 11px 14px 10px 16px;
}
.s-sketch .m-btn {
  border-radius: 15px 255px 15px 225px / 225px 15px 255px 15px;
  font: 700 14px/1.2 var(--m-display);
  font-size-adjust: 0.5;
}
/* The toggle is an ink outline with a knob in the accent. */
.s-sketch .m-switch {
  border: 1.5px solid var(--sketch-ink);
  border-radius: 12px 6px 12px 6px;
  background: var(--m-surface);
}
.s-sketch .m-switch > span {
  top: 1.5px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: var(--sketch-blob);
  background: var(--m-accent);
}

/* nunito-cyrillic-400-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/nunito-cyrillic-400-normal.e44e669f.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* nunito-latin-ext-400-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/nunito-latin-ext-400-normal.67250a41.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* nunito-latin-400-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/nunito-latin-400-normal.a5906e15.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* nunito-cyrillic-600-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/nunito-cyrillic-600-normal.e61eb97b.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* nunito-latin-ext-600-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/nunito-latin-ext-600-normal.a7ba5f4f.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* nunito-latin-600-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/nunito-latin-600-normal.45f437de.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* nunito-cyrillic-700-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/nunito-cyrillic-700-normal.8fcefcc9.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* nunito-latin-ext-700-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/nunito-latin-ext-700-normal.0a4e4a02.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* nunito-latin-700-normal */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/nunito-latin-700-normal.fa89300b.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Soft: the plain look of Welley in the rounded font Nunito, in light and dark mode. Like the
 * product style (web-apps packages/ui/styles/appStyles/soft.css), it changes only the font.
 */
.s-soft {
  --m-font: 'Nunito', var(--font);
}

/* instrument-sans-latin-ext-400-normal */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/instrument-sans-latin-ext-400-normal.a7bedd76.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* instrument-sans-latin-400-normal */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/instrument-sans-latin-400-normal.9a91efaa.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* instrument-sans-latin-ext-700-normal */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/instrument-sans-latin-ext-700-normal.3ce67836.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* instrument-sans-latin-700-normal */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/instrument-sans-latin-700-normal.bcf65053.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Swiss: the International Typographic Style of Swiss posters. The page is one sheet with no
 * cards. Ink rules separate the rail and the post, the title is large and tight, and a small
 * uppercase label in the accent sits flush left above it. There are no round corners and no
 * shadows, the neutrals are pure grays, and the accent is the only color. Light mode is a white
 * sheet with black ink. Dark mode is a black sheet with white ink. This follows the product
 * style web-apps packages/ui/styles/appStyles/swiss.css.
 */
.s-swiss {
  --swiss-ink: light-dark(#0b0b0b, #ffffff);

  --m-bg: light-dark(#fafafa, #000000);
  --m-surface: var(--m-bg);
  --m-fg: light-dark(#0b0b0b, #ffffff);
  --m-muted: light-dark(#595959, #9e9e9e);
  --m-line: light-dark(#8a8a8a, #6e6e6e);
  --m-radius: 0;
  --m-font: 'Instrument Sans', var(--font);
  --m-cat: var(--m-accent);
  --m-avatar: var(--swiss-ink);
  --m-on-avatar: var(--m-bg);
}

/* The rail is a column of the sheet, so a thin rule at its right separates it from the content. */
.s-swiss .m-rail {
  border: 0;
  border-right: 1px solid var(--swiss-ink);
  background: none;
}
/* The post is not a card. A rule in ink at the top separates it on the sheet. */
.s-swiss .m-post {
  padding: 10px 0 0;
  border: 0;
  border-top: 2px solid var(--swiss-ink);
  background: none;
}
/* The label sits above the title, so the head is a column. */
.s-swiss .m-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.s-swiss .m-title {
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
/* A label is the accent as text. A light accent gets darker on the white sheet and a dark
   accent gets lighter on the black sheet, so the label stays readable with every accent. */
.s-swiss .m-path {
  order: -1;
  color: light-dark(
    oklch(from var(--m-accent) min(l, 0.5) c h),
    oklch(from var(--m-accent) max(l, 0.74) c h)
  );
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.s-swiss :is(.m-logo, .m-group, .m-avatar, .m-cat, .m-switch, .m-switch > span) {
  border-radius: 0;
}
.s-swiss .m-cat {
  width: 8px;
  height: 8px;
}
/* A reaction count is a bold figure, and the figures of a row line up. */
.s-swiss .m-chip {
  border-radius: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.s-swiss .m-btn {
  border-radius: 0;
  font-weight: 700;
}

/* exo-2-cyrillic-400-normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/exo-2-cyrillic-400-normal.fa7e0b05.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* exo-2-latin-ext-400-normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/exo-2-latin-ext-400-normal.151e5e35.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* exo-2-latin-400-normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/exo-2-latin-400-normal.49c9cd32.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* exo-2-cyrillic-700-normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/exo-2-cyrillic-700-normal.bdfbd0f9.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* exo-2-latin-ext-700-normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/exo-2-latin-ext-700-normal.eb2c0647.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* exo-2-latin-700-normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/exo-2-latin-700-normal.96c87b15.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* orbitron-latin-700-normal */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/orbitron-latin-700-normal.ee6acc5a.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Synthwave: the cover of a synth album at sunset. A sky gradient, a striped sun on the horizon
 * and a grid floor are behind the panels. The panels are opaque, with soft corners and a thin
 * accent edge. The title is chrome letters in the wide font Orbitron, and the button is a
 * gradient. The sky, the sun, the grid and the gradients take the accent. Dark mode is a night
 * sunset with stars and a glowing title. Light mode is a day sunset with a peach and pink sky.
 * The product grid moves, and this picture is one still frame. This follows the product style
 * web-apps packages/ui/styles/appStyles/synthwave.css.
 */
.s-synthwave {
  /* The second color of a gradient turns the hue of the accent and keeps its lightness, so the
     label of the button keeps the contrast that it has on the accent. */
  --sw-hot: oklch(from var(--m-accent) l c calc(h + 40));
  --sw-sky-1: light-dark(#ffe8dc, color-mix(in oklab, var(--m-accent) 8%, #0b0220));
  --sw-sky-2: light-dark(#ffd6e4, color-mix(in oklab, var(--m-accent) 22%, #2a0848));
  --sw-sky-3: light-dark(
    color-mix(in oklab, var(--m-accent) 22%, #ffb8d2),
    color-mix(in oklab, var(--m-accent) 55%, #7a0f55)
  );
  --sw-sky-4: light-dark(
    color-mix(in oklab, var(--m-accent) 15%, #ffc79c),
    color-mix(in oklab, var(--m-accent) 30%, #ff7a3d)
  );
  --sw-sun-1: light-dark(#fff4ae, #ffe36e);
  --sw-sun-2: light-dark(#ffc477, color-mix(in oklch, var(--m-accent) 45%, #ff8a3d));
  --sw-sun-3: light-dark(color-mix(in oklch, var(--m-accent) 35%, #ff8fb0), var(--m-accent));
  --sw-glow: light-dark(rgb(255 214 150 / 0.9), color-mix(in srgb, var(--m-accent) 45%, #ff785a));
  --sw-floor: color-mix(in oklab, var(--m-accent) 6%, light-dark(#fff1f5, #12021f));
  --sw-grid: color-mix(in srgb, var(--m-accent) 85%, transparent);
  --sw-star: light-dark(transparent, rgb(255 240 255 / 0.6));
  --sw-chrome-1: light-dark(#2a0b3d, #ffffff);
  --sw-chrome-2: light-dark(#4a1670, color-mix(in srgb, var(--m-accent) 15%, #c7f3ff));
  --sw-chrome-3: light-dark(
    color-mix(in srgb, var(--m-accent) 70%, #3a0a3a),
    color-mix(in srgb, var(--m-accent) 55%, #ffffff)
  );
  --sw-chrome-4: light-dark(#7c2a0e, #ffd36e);
  --sw-title-glow: light-dark(transparent, color-mix(in srgb, var(--m-accent) 45%, transparent));

  --m-bg: light-dark(#fff0ea, color-mix(in srgb, var(--m-accent) 5%, #140326));
  --m-surface: light-dark(#fffafb, color-mix(in srgb, var(--m-accent) 5%, #1b0a33));
  --m-fg: light-dark(#2a0b3d, #fbeaff);
  --m-muted: light-dark(#775a8d, #a98cc6);
  --m-line: color-mix(in srgb, var(--m-accent) 32%, transparent);
  --m-radius: 8px;
  --m-shadow: 0 18px 40px -22px rgb(0 0 0 / 0.55);
  --m-font: 'Exo 2', var(--font);
  --m-display: 'Orbitron', 'Exo 2', var(--font);
  --m-cat: light-dark(#c2185b, #ff7ad9);
}

/* The top edge of the post is the horizon. The sky is drawn from the head down to the horizon,
   and the sun and the floor are drawn from the post. A title on two lines moves the horizon
   down, and the scene moves with it. All three are behind every panel, because the mockup is
   their stacking context. */
.s-synthwave :is(.m-head, .m-post) {
  position: relative;
}
/* The sky has a glow around the sun and a few stars. The stars are transparent in light mode. */
.s-synthwave .m-head::before {
  content: '';
  position: absolute;
  inset: -12px -12px -10px -66px;
  z-index: -1;
  background:
    radial-gradient(circle 70px at calc(100% - 56px) calc(100% - 6px), var(--sw-glow), transparent),
    radial-gradient(1.5px 1.5px at 24px 8px, var(--sw-star), transparent),
    radial-gradient(1px 1px at 132px 22px, var(--sw-star), transparent),
    radial-gradient(1.5px 1.5px at 210px 6px, var(--sw-star), transparent),
    radial-gradient(1px 1px at 300px 26px, var(--sw-star), transparent),
    linear-gradient(180deg, var(--sw-sky-1), var(--sw-sky-2) 40%, var(--sw-sky-3) 75%, var(--sw-sky-4));
}
/* The sun sits on the horizon at the right, and the floor covers its lower part. The mask cuts
   the stripes, which get wider toward the horizon. */
.s-synthwave .m-post::before {
  content: '';
  position: absolute;
  right: 18px;
  bottom: calc(100% - 16px);
  z-index: -1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sw-sun-1) 10%, var(--sw-sun-2) 50%, var(--sw-sun-3) 90%);
  mask: linear-gradient(180deg, #000 0 40%, transparent 40% 43%, #000 43% 50%,
    transparent 50% 54%, #000 54% 60%, transparent 60% 65%, #000 65%);
}
/* The floor is a grid on a plane that is tilted back from the horizon, so its lines run toward
   the viewer and get wider apart near the bottom. A haze in the color of the horizon hides the
   thinnest lines far away. */
.s-synthwave .m-post::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -66px;
  right: -12px;
  z-index: -1;
  height: 300px;
  background-color: var(--sw-floor);
  background-image:
    linear-gradient(var(--sw-sky-4), transparent 24%),
    linear-gradient(var(--sw-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sw-grid) 1px, transparent 1px);
  background-size: auto, 20px 12px, 20px 12px;
  background-position: center top;
  transform: perspective(400px) rotateX(70deg);
  transform-origin: 50% 0;
}

.s-synthwave .m-rail {
  box-shadow: var(--m-shadow);
}
/* The space at the right keeps the title off the sun. */
.s-synthwave .m-head {
  padding-right: 74px;
}
/* The title is chrome: a gradient clipped to the letters, in the wide display font. In dark
   mode it has a soft glow in the accent. */
.s-synthwave .m-title {
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-image: linear-gradient(180deg, var(--sw-chrome-1), var(--sw-chrome-2) 46%,
    var(--sw-chrome-3) 54%, var(--sw-chrome-4));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px var(--sw-title-glow));
}
.s-synthwave .m-path {
  color: light-dark(#51306a, #d8c0ec);
}
.s-synthwave .m-chip {
  border-radius: 4px;
}
/* The button and the switch that is on are a gradient from the accent to a warmer hue. The
   label of the button is uppercase, like the type on an album cover. */
.s-synthwave :is(.m-btn, .m-switch) {
  border-radius: 4px;
  background-image: linear-gradient(90deg, var(--m-accent), var(--sw-hot));
}
.s-synthwave .m-btn {
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.s-synthwave .m-switch > span {
  border-radius: 3px;
}

/*
 * Terminal: the look of a modern terminal window. The text is monospace, the surfaces are flat
 * with no shadows, and the panels and pills are square. Prompt marks are in the accent color,
 * and one framed pane with a title line holds the group. Light mode keeps the neutral grays,
 * and dark mode uses slates. It works with every accent. It follows the product style in
 * web-apps packages/ui/styles/appStyles/terminal.css.
 */
.s-terminal {
  --m-bg: light-dark(#f1f3f6, #0f1b23);
  --m-surface: light-dark(#ffffff, #17242e);
  --m-fg: light-dark(#1d2236, #e3edf8);
  --m-muted: light-dark(#5b647e, #a9b5bf);
  --m-line: light-dark(#e4e7ed, #2c3e4a);
  --m-radius: 0;
  --m-shadow: none;
  --m-font: 'JetBrains Mono', var(--font);
  /* The frame of a pane is one step stronger than the lines inside it. */
  --m-frame: light-dark(#a5adc0, #557a90);
  /* The prompt marks are a little darker in light mode, so a light accent still shows on white. */
  --m-mark: light-dark(color-mix(in srgb, var(--m-accent) 80%, #000000), var(--m-accent));

  font-size: 12px;
  font-variant-ligatures: none;
}

/* The rail is a pane of its own: framed, flat and with the small radius of the frame. */
.s-terminal .m-rail {
  border-color: var(--m-frame);
  border-radius: 6px;
  background: none;
}
.s-terminal .m-logo {
  border-radius: 0;
}
.s-terminal :is(.m-group, .m-avatar) {
  border-radius: 4px;
}

/* The main column is the framed pane. The head is its title line. */
.s-terminal .m-main {
  gap: 0;
  border: 1px solid var(--m-frame);
  border-radius: 6px;
  background: var(--m-surface);
}
/* The title line flows as plain text, so the mark stays next to a long name that wraps. */
.s-terminal .m-head {
  display: block;
  padding: 7px 10px;
  border-bottom: 1px solid var(--m-line);
}
.s-terminal .m-head::before {
  content: '\25A0';
  margin-right: 1ch;
  color: var(--m-mark);
}
.s-terminal .m-title {
  margin-right: 1ch;
  font-size: 12px;
  font-weight: 700;
}

/* The post is a flat row inside the pane, like a row of a list in a terminal program. A line
   separates it from the prompt. It has no box of its own, so the text keeps room on a phone. */
.s-terminal .m-post {
  padding: 10px;
  border-width: 0 0 1px;
  background: none;
}

/* A prompt with a block cursor waits under the post, like the composer of the product.
   It is a still picture, so the cursor does not blink. */
.s-terminal .m-main::after {
  /* The space after an escape ends the escape, so a second space is the visible one. */
  content: '\276F  \2588';
  padding: 8px 10px 10px;
  color: var(--m-mark);
  font-weight: 700;
}

/* A forum category shows its color as a small square. */
.s-terminal .m-cat {
  width: 8px;
  height: 8px;
  border-radius: 1px;
}
.s-terminal .m-meta,
.s-terminal .m-chip,
.s-terminal .m-btn,
.s-terminal .m-path {
  font-size: 11px;
}
.s-terminal .m-chip {
  border-radius: 0;
}
.s-terminal .m-btn {
  border-radius: 4px;
}

/* The switch is a framed track with a solid block for the knob. */
.s-terminal .m-switch {
  border: 1px solid var(--m-mark);
  border-radius: 2px;
  background: none;
}
.s-terminal .m-switch > span {
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 1px;
  background: var(--m-mark);
}

/* barlow-latin-ext-400-normal */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/barlow-latin-ext-400-normal.122b24bc.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* barlow-latin-400-normal */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/barlow-latin-400-normal.b0a8ad37.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* barlow-latin-ext-600-normal */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/barlow-latin-ext-600-normal.b7f099c4.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* barlow-latin-600-normal */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/barlow-latin-600-normal.4b52ddd4.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* barlow-condensed-latin-ext-700-italic */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/barlow-condensed-latin-ext-700-italic.3ce6b38d.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* barlow-condensed-latin-700-italic */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/barlow-condensed-latin-700-italic.3e911327.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* barlow-condensed-latin-ext-800-italic */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-display: swap;
  font-weight: 800;
  src: url(/assets/fonts/barlow-condensed-latin-ext-800-italic.6ed202b9.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* barlow-condensed-latin-800-italic */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-display: swap;
  font-weight: 800;
  src: url(/assets/fonts/barlow-condensed-latin-800-italic.59b48100.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Varsity: the look of a sports team. Titles are bold condensed italic capitals on a slanted
 * plate that ends in stripes. Buttons, chips and the toggle are slanted, corners are square,
 * and the accent is the team color. The neutrals are cool navy grays in light mode and a deep
 * navy in dark mode, so every accent reads as a team color next to them.
 * It follows web-apps packages/ui/styles/appStyles/varsity.css.
 */
.s-varsity {
  /* The color of the title plate. The stripes on it use the accent. */
  --varsity-plate: light-dark(#0b1f44, #22355e);
  /* How far a slanted shape leans: the top edge moves this much to the right. */
  --varsity-slant: 8px;
  /* Like in the product, dark text is on the accent fills, because it reads better than white
     on the bright accents. */
  --varsity-on-fill: #0b1a33;

  --m-bg: light-dark(#e9edf3, #0a1020);
  --m-surface: light-dark(#ffffff, #111a2d);
  --m-fg: light-dark(#0b1a33, #eef2f8);
  --m-muted: light-dark(#5a6680, #8491a9);
  --m-line: light-dark(#c6cedb, #34415c);
  --m-radius: 2px;
  --m-font: 'Barlow', var(--font);
  --m-display: 'Barlow Condensed', 'Barlow', var(--font);
  --m-cat: light-dark(#d01c3a, #ff5c74);
  --m-avatar: var(--varsity-plate);
  --m-on-avatar: #ffffff;
}
/* Navy is the one accent that is dark enough for white text. */
.style-grid[data-accent='navy'] .s-varsity {
  --varsity-on-fill: #ffffff;
}
/* A clip shape slants the box and keeps the text upright, so a label stays easy to read. */
.s-varsity .m-logo,
.s-varsity .m-title,
.s-varsity .m-btn,
.s-varsity .m-chip {
  border-radius: 0;
  clip-path: polygon(var(--varsity-slant) 0, 100% 0, calc(100% - var(--varsity-slant)) 100%, 0 100%);
}
.s-varsity .m-logo {
  --varsity-slant: 5px;
  width: 24px;
}
/* The title sits on a plate that ends in stripes of the team color, like the name on a match
   day banner. */
.s-varsity .m-title {
  max-width: 100%;
  padding: 2px 44px 2px 16px;
  background: linear-gradient(
    90deg,
    var(--varsity-plate) calc(100% - 34px),
    var(--m-accent) calc(100% - 34px) calc(100% - 24px),
    #ffffff calc(100% - 24px) calc(100% - 18px),
    var(--m-accent) calc(100% - 18px)
  );
  color: #ffffff;
  font-size: 21px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.s-varsity .m-path {
  font: italic 700 13px var(--m-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* The post starts with a stripe in the team color. */
.s-varsity .m-post {
  border-top: 4px solid var(--m-accent);
}
/* Every avatar wears a ring in the team color. */
.s-varsity .m-avatar,
.s-varsity .m-group {
  border: 2px solid var(--m-accent);
  font-style: italic;
  font-weight: 800;
}
.s-varsity .m-author b {
  font-weight: 600;
}
/* A forum category shows its color as a slanted flag. */
.s-varsity .m-cat {
  width: 14px;
  height: 12px;
  border-radius: 0;
  clip-path: polygon(40% 10%, 100% 10%, 60% 90%, 0 90%);
}
/* A reaction count reads like a score. A chip is low, so it leans less than a button. */
.s-varsity .m-chip {
  --varsity-slant: 6px;
  padding: 1px 12px;
  border-color: transparent;
  background: light-dark(#eef1f6, #1a2439);
  font: italic 700 15px var(--m-display);
}
/* The first reaction is the one that the reader chose, so it shows the team color. */
.s-varsity .m-chip:first-child {
  background: var(--m-accent);
  color: var(--varsity-on-fill);
}
/* A filled button has the label of a jersey: condensed italic capitals. */
.s-varsity .m-btn {
  padding: 4px 16px;
  color: var(--varsity-on-fill);
  font: italic 700 14px var(--m-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* The toggle leans as a whole, and its knob has square corners. */
.s-varsity .m-switch {
  border-radius: 2px;
  transform: skewX(-12deg);
}
.s-varsity .m-switch > span {
  border-radius: 1px;
}

/* outfit-latin-ext-400-normal */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/outfit-latin-ext-400-normal.e279fd50.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* outfit-latin-400-normal */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/outfit-latin-400-normal.71f028fd.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* outfit-latin-ext-600-normal */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/outfit-latin-ext-600-normal.a049363d.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* outfit-latin-600-normal */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/outfit-latin-600-normal.8cfe15c2.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* syncopate-latin-ext-700-normal */
@font-face {
  font-family: 'Syncopate';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/syncopate-latin-ext-700-normal.561dfbe5.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* syncopate-latin-700-normal */
@font-face {
  font-family: 'Syncopate';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/syncopate-latin-700-normal.8a462650.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * Y2K: the shiny, pastel web design of the year 2000. It has an iridescent ground, glossy pill
 * buttons, chrome titles in the wide font Syncopate, Outfit for the text, and sparkles as
 * marks. The accent starts every gradient and a hot pink ends it. In light mode the ground runs
 * from a pale accent tint through lilac to cream. In dark mode the ground is a deep night with
 * the same iridescent highlights, and the chrome is light.
 * It follows web-apps packages/ui/styles/appStyles/y2k.css.
 */
.s-y2k {
  --y2k-pink: #ff5fcf;
  --y2k-sheen: linear-gradient(100deg, var(--m-accent), color-mix(in srgb, var(--m-accent) 50%, var(--y2k-pink)) 55%, var(--y2k-pink));
  /* A surface with a label on it ends in a deeper pink, so that the label keeps its contrast at
     the pink end. */
  --y2k-sheen-text: linear-gradient(100deg, var(--m-accent), color-mix(in srgb, var(--m-accent) 50%, #c2187f) 55%, #c2187f);
  --y2k-gloss: linear-gradient(180deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.15) 50%, transparent 51%);
  --y2k-glow: light-dark(
    color-mix(in srgb, var(--m-accent) 22%, transparent),
    color-mix(in srgb, var(--m-accent) 30%, transparent)
  );
  --y2k-rim: light-dark(rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.1));
  --y2k-avatar-rim: light-dark(#ffffff, rgb(255 255 255 / 0.35));
  --y2k-ground-1: light-dark(
    color-mix(in srgb, var(--m-accent) 22%, #eef9ff),
    color-mix(in srgb, var(--m-accent) 24%, #0e0b25)
  );
  --y2k-ground-2: light-dark(#f3e7ff, #170f30);
  --y2k-ground-3: light-dark(#fff1dc, #0b1a2d);
  /* The chrome of the title. It is dark with a light band in light mode, and light with a dark
     band in dark mode. The thin outline keeps the letters whole on a pale ground. */
  --y2k-chrome-1: light-dark(#4d4884, #ffffff);
  --y2k-chrome-2: light-dark(#cbc6f0, #d9d5ff);
  --y2k-chrome-3: light-dark(#322d62, #8c86c8);
  --y2k-chrome-4: light-dark(#45407a, #f1efff);
  --y2k-chrome-5: light-dark(#837dbd, #bdb8ee);
  --y2k-chrome-stroke: light-dark(#5e5a85, transparent);

  --m-bg: var(--y2k-ground-2);
  --m-surface: light-dark(
    color-mix(in srgb, var(--m-accent) 2%, #fffdff),
    color-mix(in srgb, var(--m-accent) 8%, #1d1838)
  );
  --m-fg: light-dark(#231b44, #f5f2ff);
  --m-muted: light-dark(#6b6293, #9c94c2);
  --m-line: light-dark(
    color-mix(in srgb, var(--m-accent) 10%, #ebe4f9),
    color-mix(in srgb, var(--m-accent) 10%, #2f2950)
  );
  --m-radius: 22px;
  --m-shadow: 0 8px 26px var(--y2k-glow), inset 0 1px 0 var(--y2k-rim);
  --m-font: 'Outfit', var(--font);
  --m-display: 'Syncopate', 'Outfit', var(--font);
  --m-cat: var(--y2k-pink);
  /* An avatar is a small iridescent pearl. */
  --m-avatar: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.85), transparent 55%), var(--y2k-sheen);
  --m-on-avatar: #231b44;

  background: linear-gradient(180deg, var(--y2k-ground-1), var(--y2k-ground-2) 50%, var(--y2k-ground-3));
}
.s-y2k .m-rail {
  box-shadow: 0 12px 26px -10px var(--y2k-glow), inset 0 1px 0 var(--y2k-rim);
}
.s-y2k .m-logo {
  border-radius: 50%;
  background: var(--m-avatar);
}
.s-y2k .m-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(
    180deg,
    var(--y2k-chrome-1),
    var(--y2k-chrome-2) 46%,
    var(--y2k-chrome-3) 52%,
    var(--y2k-chrome-4) 62%,
    var(--y2k-chrome-5)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.5px var(--y2k-chrome-stroke);
}
/* Two sparkles follow the title. The word joiner keeps them on the line of the last word. */
.s-y2k .m-title::after {
  content: '\2060\2727\2726';
  margin-left: 0.4em;
  font-size: 0.6em;
  letter-spacing: 0.15em;
  vertical-align: 0.4em;
  -webkit-text-fill-color: var(--y2k-pink);
  -webkit-text-stroke: 0;
}
/* The rim is an inset outline, so the avatar keeps its size. */
.s-y2k .m-avatar,
.s-y2k .m-group {
  outline: 2px solid var(--y2k-avatar-rim);
  outline-offset: -2px;
  filter: drop-shadow(0 2px 6px var(--y2k-glow));
  font-family: var(--m-font);
  font-weight: 600;
}
.s-y2k .m-author b {
  font-weight: 600;
}
/* A forum category shows its color as a sparkle. */
.s-y2k .m-cat {
  width: 12px;
  height: 12px;
  border-radius: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.s-y2k .m-chip {
  background: light-dark(
    color-mix(in srgb, var(--m-accent) 8%, #f6f1ff),
    color-mix(in srgb, var(--m-accent) 10%, #272144)
  );
}
/* A filled button is a glossy pill: the sheen of the accent with a white highlight on its
   upper half. */
.s-y2k .m-btn {
  border-radius: 999px;
  background: var(--y2k-gloss), var(--y2k-sheen-text);
  box-shadow: 0 3px 10px var(--y2k-glow), inset 0 -2px 4px rgb(0 0 0 / 0.15);
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.25);
}
.s-y2k .m-switch {
  background: var(--y2k-gloss), var(--y2k-sheen);
}
