.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 4rem);
  padding: clamp(2rem, 6vw, 5rem) 1rem;
  color: var(--retro-ink);
  background:
    linear-gradient(90deg, rgb(5 5 5 / 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgb(5 5 5 / 0.08) 1px, transparent 1px),
    var(--retro-paper);
  background-size: 24px 24px;
}

.application-layout .auth-page {
  margin: -2rem;
}

.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 28rem);
  grid-template-areas: "console card";
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  width: min(100%, 64rem);
}

.auth-stage--solo {
  grid-template-columns: minmax(20rem, 32rem);
  justify-content: center;
}

.auth-stage--solo {
  grid-template-areas: "card";
}

.auth-console,
.auth-card {
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-lg);
}

.auth-console {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--retro-space-8);
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--retro-white);
  background: #174dbf;
  grid-area: console;
}

.auth-console__header {
  display: flex;
  align-items: center;
  gap: var(--retro-space-4);
}

.auth-console__sprite {
  width: 4.75rem;
  height: 4.75rem;
  flex: 0 0 4.75rem;
  object-fit: contain;
  image-rendering: pixelated;
  background: var(--retro-cyan);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.auth-console__label,
.auth-card__kicker,
.auth-field label,
.auth-hint,
.auth-links,
.auth-danger-zone h2,
.auth-pending {
  font-family: var(--font-mono);
}

.auth-console__label,
.auth-card__kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-console h2,
.auth-console p,
.auth-card h1,
.auth-card p {
  margin: 0;
}

.auth-console h2 {
  margin-top: var(--retro-space-2);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow:
    4px 4px 0 var(--retro-ink),
    8px 8px 0 var(--retro-pink);
}

.auth-console__copy {
  max-width: 32rem;
  color: var(--retro-white);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.auth-boot-log {
  display: grid;
  gap: var(--retro-space-2);
  padding: var(--retro-space-4);
  color: var(--retro-green);
  background: var(--retro-ink);
  border: var(--retro-border-lg) solid var(--retro-white);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.auth-boot-log p {
  margin: 0;
}

.auth-card {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--retro-white);
  grid-area: card;
}

.auth-card__header {
  margin-bottom: var(--retro-space-6);
}

.auth-card__kicker {
  display: inline-flex;
  margin-bottom: var(--retro-space-3);
  padding: 0.3rem 0.55rem;
  background: var(--retro-cyan);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
}

.auth-card h1 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.auth-card__dek {
  margin-top: var(--retro-space-3);
  color: var(--retro-muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: var(--retro-space-4);
}

.auth-field {
  display: grid;
  gap: var(--retro-space-2);
}

.auth-field__label-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-2);
  align-items: baseline;
  justify-content: space-between;
}

.auth-field label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-field input:not([type="checkbox"]) {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  border-radius: 0;
  box-shadow: var(--retro-shadow-sm);
  font: inherit;
}

.auth-field input:not([type="checkbox"]):focus {
  outline: var(--retro-border-lg) solid var(--retro-blue);
  outline-offset: 3px;
}

.auth-hint {
  color: var(--retro-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-3);
  align-items: center;
  justify-content: space-between;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--retro-space-2);
  min-height: 2.25rem;
}

.auth-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--retro-blue);
  border: var(--retro-border-sm) solid var(--retro-ink);
  border-radius: 0;
}

.auth-action {
  margin-top: var(--retro-space-2);
}

.auth-submit,
.auth-danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  color: var(--retro-ink);
  background: var(--retro-yellow);
  border: var(--retro-border-lg) solid var(--retro-ink);
  border-radius: 0;
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease;
}

.auth-submit:hover,
.auth-submit:focus,
.auth-danger-button:hover,
.auth-danger-button:focus {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--retro-ink);
  outline: 0;
}

.auth-submit:active,
.auth-danger-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.auth-links {
  display: grid;
  gap: var(--retro-space-2);
  margin-top: var(--retro-space-5);
  padding-top: var(--retro-space-5);
  border-top: var(--retro-border-md) dashed var(--retro-ink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.auth-links p {
  margin: 0;
}

.auth-inline-link,
.auth-links a,
.auth-back-link {
  color: #214bb8;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: var(--retro-border-sm);
  text-underline-offset: 0.25rem;
}

.auth-inline-link:hover,
.auth-inline-link:focus,
.auth-links a:hover,
.auth-links a:focus,
.auth-back-link:hover,
.auth-back-link:focus {
  color: #a41452;
}

.auth-inline-link:focus-visible,
.auth-links a:focus-visible,
.auth-back-link:focus-visible {
  color: var(--retro-ink);
  background: var(--retro-yellow);
  outline: var(--retro-border-md) solid var(--retro-ink);
  outline-offset: 0.2rem;
}

.auth-error {
  margin-bottom: var(--retro-space-5);
  padding: var(--retro-space-4);
  color: var(--retro-ink);
  background: #ffd1d1;
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.auth-error__header {
  display: flex;
  gap: var(--retro-space-3);
  align-items: flex-start;
  margin-bottom: var(--retro-space-3);
}

.auth-error__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  color: var(--retro-white);
  background: var(--retro-red);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-family: var(--font-mono);
  font-weight: 900;
}

.auth-error h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.auth-error ul {
  display: grid;
  gap: var(--retro-space-2);
  margin: 0;
  padding-left: 1.25rem;
}

.auth-flash {
  margin-bottom: var(--retro-space-5);
  padding: var(--retro-space-4);
  color: var(--retro-ink);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-weight: 700;
}

.auth-flash--alert {
  background: #ffd1d1;
}

.auth-pending {
  margin-bottom: var(--retro-space-4);
  padding: var(--retro-space-3);
  background: var(--retro-cyan);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.auth-danger-zone {
  margin-top: var(--retro-space-8);
  padding-top: var(--retro-space-5);
  border-top: var(--retro-border-md) dashed var(--retro-ink);
}

.auth-danger-zone h2 {
  margin: 0 0 var(--retro-space-3);
  font-size: 1rem;
  text-transform: uppercase;
}

.auth-danger-zone p {
  margin-bottom: var(--retro-space-4);
  color: var(--retro-muted);
}

.auth-danger-button {
  background: var(--retro-red);
}

.auth-back-link {
  display: inline-flex;
  margin-top: var(--retro-space-5);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}

@media (max-width: 54rem) {
  .auth-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card"
      "console";
  }

  .auth-console {
    min-height: auto;
  }
}

@media (max-width: 34rem) {
  .auth-page {
    padding: 1rem;
  }

  .auth-console,
  .auth-card {
    box-shadow: var(--retro-shadow-md);
  }

  .auth-console h2 {
    font-size: 2rem;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.blog-post article {
  background-color: white;
  padding: 2rem;
  border-width: 4px;
  border-color: black;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.75rem;
}

.blog-post h2,
.blog-post h3 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.blog-post pre {
  font-size: 0.875rem;
  overflow-x: auto;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-width: 2px;
  border-color: black;
  background-color: black;
  color: white;
}

.blog-post ul,
.blog-post ol {
  list-style-type: square;
  list-style-position: inside;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.blog-post ul li {
  margin-bottom: 0.5rem;
}

.cheat-sheets-page,
.cheat-sheet-show {
  --sheet-ink: #111111;
  --sheet-paper: #fffaf0;
  --sheet-blue: #1f5eff;
  --sheet-green: #00a878;
  --sheet-red: #b91c1c;
  --sheet-shadow: 6px 6px 0 0 var(--sheet-ink);
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.cheat-sheets-hero,
.cheat-sheet-show__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  color: var(--sheet-ink);
  background:
    linear-gradient(90deg, rgba(31, 94, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(31, 94, 255, 0.12) 1px, transparent 1px),
    var(--sheet-paper);
  background-size: 24px 24px;
  border: 4px solid var(--sheet-ink);
  box-shadow: var(--sheet-shadow);
}

.cheat-sheets-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.6rem;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  background: var(--sheet-red);
  border: 3px solid var(--sheet-ink);
  transform: rotate(-1deg);
}

.cheat-sheets-hero h1,
.cheat-sheet-show h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.cheat-sheets-hero p:not(.cheat-sheets-kicker),
.cheat-sheet-show__header p:not(.cheat-sheets-kicker) {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 1.55;
}

.cheat-sheets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
}

.cheat-sheet-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 4px solid var(--sheet-ink);
  box-shadow: 5px 5px 0 0 var(--sheet-ink);
}

.cheat-sheet-card__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f4f4;
  border: 3px solid var(--sheet-ink);
}

.cheat-sheet-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 180ms ease;
}

.cheat-sheet-card:hover .cheat-sheet-card__image img {
  transform: scale(1.03);
}

.cheat-sheet-card h2 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.cheat-sheet-card h2 a {
  text-decoration: none;
}

.cheat-sheet-card__body p {
  margin-top: 0.65rem;
  color: #333333;
  line-height: 1.5;
}

.cheat-sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cheat-sheet-tags a {
  padding: 0.25rem 0.55rem;
  color: var(--sheet-ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  background: #d7fff2;
  border: 2px solid var(--sheet-ink);
}

.cheat-sheet-show__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.cheat-sheet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  color: white;
  font-weight: 900;
  text-decoration: none;
  background: var(--sheet-blue);
  border: 3px solid var(--sheet-ink);
  box-shadow: 4px 4px 0 0 var(--sheet-ink);
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease,
    color var(--retro-motion-fast) ease;
}

.cheat-sheet-button--secondary {
  color: var(--sheet-ink);
  background: white;
}

.cheat-sheet-show__tags {
  margin: 0 0 1.5rem;
}

.cheat-sheet-show__frame {
  padding: 1rem;
  background: white;
  border: 4px solid var(--sheet-ink);
  box-shadow: var(--sheet-shadow);
}

.cheat-sheet-show__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.cheat-sheets-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  text-align: center;
  background: white;
  border: 4px dashed var(--sheet-ink);
  box-shadow: var(--sheet-shadow);
}

.cheat-sheets-empty .cheat-sheet-button {
  margin-top: 1rem;
}

.cheat-sheets-pagination {
  margin-top: 2rem;
}

@media (max-width: 760px) {
  .cheat-sheets-hero,
  .cheat-sheet-show__header {
    display: block;
    padding: 1.25rem;
  }

  .cheat-sheet-show__actions {
    justify-content: flex-start;
    margin-top: 1.25rem;
  }

  .cheat-sheets-hero h1,
  .cheat-sheet-show h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  .share-action--toolbar {
    justify-content: flex-start;
  }

  .share-action--toolbar .share-action__fallback {
    text-align: left;
  }
}

@media (max-width: 26rem) {
  .cheat-sheets-hero h1,
  .cheat-sheet-show h1 {
    font-size: 2.55rem;
  }
}

:root {
  --retro-ink: #050505;
  --retro-paper: #fff1a8;
  --retro-paper-light: #fff8cf;
  --retro-white: #fffdf1;
  --retro-blue: #2f6df6;
  --retro-yellow: #ffd43b;
  --retro-green: #21c66a;
  --retro-pink: #ff62a5;
  --retro-cyan: #44d7ff;
  --retro-red: #ff5a5f;
  --retro-muted: #5f574f;
  --retro-border-sm: 2px;
  --retro-border-md: 3px;
  --retro-border-lg: 4px;
  --retro-shadow-sm: 3px 3px 0 0 var(--retro-ink);
  --retro-shadow-md: 6px 6px 0 0 var(--retro-ink);
  --retro-shadow-lg: 10px 10px 0 0 var(--retro-ink);
  --retro-space-1: 0.25rem;
  --retro-space-2: 0.5rem;
  --retro-space-3: 0.75rem;
  --retro-space-4: 1rem;
  --retro-space-5: 1.25rem;
  --retro-space-6: 1.5rem;
  --retro-space-8: 2rem;
  --retro-space-10: 2.5rem;
  --retro-space-12: 3rem;
  --retro-motion-fast: 120ms;
  --retro-motion-default: 180ms;
  --retro-motion-slow: 420ms;
}

.scroll-progress {
  display: none;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 50;
      display: block;
      width: 100%;
      height: 0.45rem;
      pointer-events: none;
      background:
        linear-gradient(
          90deg,
          var(--retro-pink),
          var(--retro-yellow) 42%,
          var(--retro-cyan)
        );
      border-bottom: var(--retro-border-sm) solid var(--retro-ink);
      box-shadow: 0 2px 0 0 rgba(5, 5, 5, 0.28);
      transform: scaleX(0);
      transform-origin: left center;
      animation: scroll-progress linear both;
      animation-timeline: scroll(root block);
    }
  }
}

@keyframes scroll-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.blog-layout button:not(:disabled),
.blog-layout summary,
.blog-layout [role="button"]:not([aria-disabled="true"]),
.cheat-sheet-button,
.admin-analytics__button,
.retro-button:not(:disabled),
.share-button,
.books-empty a,
.family-calendar-display-mode-link {
  cursor: var(--public-button-cursor, pointer);
}

.blog-breadcrumbs {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 0.9rem 0 0;
  color: var(--retro-ink);
}

.blog-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono, "Departure Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  text-transform: uppercase;
}

.blog-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
}

.blog-breadcrumbs__separator {
  flex: 0 0 auto;
  color: var(--retro-muted);
  font-weight: 900;
}

.blog-breadcrumbs__link,
.blog-breadcrumbs__text,
.blog-breadcrumbs__current {
  display: inline;
  max-width: 100%;
  color: inherit;
  overflow-wrap: anywhere;
}

.blog-breadcrumbs__link {
  color: #1746a2;
  text-decoration: underline;
  text-decoration-color: var(--retro-ink);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

.blog-breadcrumbs__link:hover,
.blog-breadcrumbs__link:focus-visible {
  color: var(--retro-ink);
  background: var(--retro-yellow);
  outline: var(--retro-border-sm) solid var(--retro-ink);
  outline-offset: 0.12rem;
}

.blog-breadcrumbs__current {
  font-weight: 900;
  background-image: linear-gradient(var(--retro-yellow), var(--retro-yellow));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
}

.blog-main--auth {
  background-color: var(--retro-paper);
  background-image:
    linear-gradient(90deg, rgb(5 5 5 / 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgb(5 5 5 / 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.blog-main--auth .auth-page {
  background: transparent;
}

.blog-post-show__hero > .blog-breadcrumbs {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.blog-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.blog-footer__copy {
  display: grid;
  gap: 0.4rem;
}

.blog-footer__copy p {
  margin: 0;
}

.blog-footer__link {
  color: white;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.blog-footer__link:hover,
.blog-footer__link:focus-visible {
  color: var(--retro-yellow);
}

.blog-layout footer > div {
  flex-wrap: wrap;
  gap: 2rem;
}

.blog-layout footer > div > * + * {
  margin-left: 0 !important;
}

.footer-analytics {
  flex: 1 1 30rem;
  max-width: 44rem;
  color: var(--retro-ink);
  text-align: left;
  background: var(--retro-white);
  border: 4px solid var(--retro-ink);
  box-shadow: 4px 4px 0 0 var(--retro-ink);
}

.footer-analytics__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.75rem;
  color: white;
  font-family: var(--font-mono);
  text-transform: uppercase;
  background: var(--retro-ink);
}

.footer-analytics__link {
  color: var(--retro-yellow);
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-analytics__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
}

.footer-analytics__stat {
  display: inline-flex;
  flex: 1 1 8rem;
  flex-direction: column;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  background: var(--retro-paper-light);
  border: 3px solid var(--retro-ink);
}

.footer-analytics__stat--wide {
  flex-basis: 12rem;
}

.footer-analytics__stat strong {
  font-size: 1.05rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.footer-analytics__stat span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.sitemap-page {
  width: min(100% - 2rem, 58rem);
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
  color: var(--retro-ink);
}

.sitemap-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 3px solid var(--retro-ink);
}

.sitemap-kicker {
  margin: 0 0 0.75rem;
  color: var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sitemap-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 900;
  line-height: 1;
}

.sitemap-hero p:not(.sitemap-kicker) {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.sitemap-outline {
  max-width: 48rem;
}

.sitemap-outline h2,
.sitemap-outline h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.2;
}

.sitemap-outline h2 {
  font-size: 1.55rem;
}

.sitemap-outline h3 {
  font-size: 1.35rem;
}

.sitemap-outline p {
  max-width: 42rem;
  margin: 0.35rem 0 0;
  color: #374151;
  line-height: 1.5;
}

.sitemap-outline a {
  color: #1746a2;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.sitemap-outline a:hover,
.sitemap-outline a:focus-visible {
  color: #9f1239;
}

.sitemap-sections {
  margin-top: 2rem;
  padding-left: 1.25rem;
}

.sitemap-section {
  margin-top: 2rem;
}

.sitemap-section:first-child {
  margin-top: 0;
}

.sitemap-link-list {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
  margin: 0.85rem 0 0;
  padding-left: 1.4rem;
  list-style: disc;
}

.sitemap-link-list p {
  margin: 0;
}

.sitemap-link-description {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

.related-content {
  width: min(100% - 2rem, 72rem);
  margin: 3rem auto 4rem;
  padding: 1.25rem;
  color: var(--retro-ink);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(5, 5, 5, 0.08) 1px, transparent 1px),
    var(--retro-white);
  background-size: 20px 20px;
  border: 4px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.related-content__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.related-content__header p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.6rem;
  color: var(--retro-ink);
  background: var(--retro-yellow);
  border: 3px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.related-content__header h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 0.95;
  text-align: right;
  text-transform: uppercase;
}

.related-content__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-content__item {
  min-width: 0;
}

.blog-post-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1rem 1rem;
  color: var(--retro-ink);
  text-decoration: none;
  background: #f3f4f6;
  border: 4px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.blog-post-card__type {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.625rem;
  color: var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  background: var(--retro-yellow);
  border-bottom: 3px solid var(--retro-ink);
  border-left: 3px solid var(--retro-ink);
}

.blog-post-card--project .blog-post-card__type {
  background: var(--retro-cyan);
}

.blog-post-card--book .blog-post-card__type {
  background: var(--retro-green);
}

.blog-post-card--cheat-sheet .blog-post-card__type {
  background: var(--retro-pink);
}

.blog-post-card:hover,
.blog-post-card:focus-visible {
  background: #fed7aa;
  transform: translate(-2px, -2px);
  box-shadow: var(--retro-shadow-md);
}

.blog-post-card:focus-visible {
  outline: 4px solid var(--retro-blue);
  outline-offset: 4px;
}

.blog-post-card__content {
  padding-top: 1.25rem;
}

.blog-post-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1.25;
}

.blog-post-card__summary {
  margin: 0 0 1rem;
  color: #374151;
  line-height: 1.5;
}

.blog-post-card__tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-post-card__tag {
  padding: 0;
  color: #374151;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.blog-post-card__tag::before {
  content: "#";
}

.blog-post-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.blog-post-card__date {
  color: #4b5563;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.blog-post-card__image {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.admin-analytics {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.admin-analytics__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
}

.admin-analytics__kicker,
.admin-analytics__scope,
.admin-analytics__stat span,
.admin-analytics__panel h2,
.admin-analytics__filters label,
.admin-analytics__table th {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.admin-analytics h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 3px 3px 0 white, 6px 6px 0 var(--retro-pink);
}

.admin-analytics__summary {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--retro-muted);
}

.admin-analytics__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  color: var(--retro-ink);
  font-weight: 900;
  text-decoration: none;
  background: white;
  border: 4px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease,
    color var(--retro-motion-fast) ease;
}

.admin-analytics__button--primary {
  background: var(--retro-yellow);
}

.admin-analytics__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  padding: 1rem;
  background: var(--retro-white);
  border: 4px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.admin-analytics__filters > div {
  display: grid;
  flex: 1 1 13rem;
  gap: 0.35rem;
}

.admin-analytics__filters select,
.admin-analytics__filters input[type="text"] {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  background: white;
  border: 3px solid var(--retro-ink);
}

.admin-analytics__scope {
  margin: 1rem 0 0;
}

.admin-analytics__scope a {
  color: #1746a2;
  font-weight: 900;
}

.admin-analytics__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.admin-analytics__stat,
.admin-analytics__panel {
  background: var(--retro-white);
  border: 4px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.admin-analytics__stat {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 1rem;
}

.admin-analytics__stat strong {
  font-size: 2rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.admin-analytics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-analytics__panel--wide {
  grid-column: 1 / -1;
}

.admin-analytics__panel {
  min-width: 0;
  overflow-x: auto;
}

.admin-analytics__panel h2 {
  margin: 0;
  padding: 0.7rem 1rem;
  color: white;
  font-size: 1rem;
  background: var(--retro-ink);
}

.admin-analytics__table {
  width: 100%;
  border-collapse: collapse;
}

.admin-analytics__table th,
.admin-analytics__table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-top: 3px solid var(--retro-ink);
  overflow-wrap: anywhere;
}

.admin-analytics__table th:last-child,
.admin-analytics__table td:last-child {
  width: 8rem;
  text-align: right;
}

.admin-analytics__table a {
  color: #1746a2;
  font-weight: 900;
}

.blog-header__inner,
.blog-index,
.blog-layout footer > div {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.blog-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1rem 0.55rem;
  text-align: center;
  font-family: var(--blog-nav-font);
}

.blog-header__desktop-nav {
  --blog-header-nav-slot: 5rem;
  --blog-header-nav-content-offset: 1.125rem;
  grid-auto-flow: column;
  grid-auto-columns: var(--blog-header-nav-slot);
  align-items: start;
  gap: 0.75rem;
  justify-content: start;
  min-width: 0;
}

.blog-header__desktop-social {
  flex: 0 0 auto;
}

.blog-header__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.blog-header__desktop-nav > .blog-header__link,
.blog-header__desktop-nav > .blog-header__more {
  width: var(--blog-header-nav-slot);
}

.blog-header__desktop-nav > .blog-header__link {
  min-height: 5.25rem;
  justify-content: start;
  padding-top: var(--blog-header-nav-content-offset);
  overflow-wrap: anywhere;
  white-space: normal;
}

.blog-header__more {
  display: none;
  position: relative;
  flex: 0 0 auto;
  text-align: left;
}

.blog-header__more-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  list-style: none;
  cursor: pointer;
  transform: translateY(0.15rem);
}

.blog-header__desktop-nav .blog-header__more-toggle {
  width: 100%;
  min-height: 5.25rem;
  justify-content: start;
  padding-top: var(--blog-header-nav-content-offset);
}

.blog-header__more-toggle::-webkit-details-marker,
.blog-header__more-toggle::marker {
  display: none;
  content: "";
}

.blog-header__more-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.blog-header__more-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 0.25rem;
  min-width: 15rem;
  padding: 0.5rem;
  background: var(--retro-blue);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.blog-header__more-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.3rem 0.65rem;
  color: white;
  font-weight: 400;
  text-decoration: none;
  border: 2px solid transparent;
}

.blog-header__more-link--narrow-only {
  display: none;
}

.blog-header__more-link:hover,
.blog-header__more-link:focus-visible {
  color: var(--retro-ink);
  background: var(--retro-paper-light);
  border-color: var(--retro-ink);
  outline: none;
}

.blog-header__menu {
  display: none;
  width: 100%;
  text-align: right;
}

.blog-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.35rem 0.8rem;
  color: var(--retro-ink);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  background: var(--retro-yellow);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease;
}

.blog-header__menu-toggle::-webkit-details-marker,
.blog-header__menu-toggle::marker {
  display: none;
  content: "";
}

.blog-header__menu-icon {
  display: inline-flex;
  align-items: center;
}

.blog-header__menu-icon--open,
.blog-header__menu[open] .blog-header__menu-icon--closed {
  display: none;
}

.blog-header__menu[open] .blog-header__menu-icon--open {
  display: inline-flex;
}

.blog-header__menu-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0.85rem 0 0.35rem;
  text-align: left;
}

.blog-header__menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 24rem);
  min-height: 3.4rem;
  margin: 0 auto;
  padding: 0.35rem 0.85rem;
  color: white;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  border: 2px solid transparent;
}

.blog-header__menu-link:hover,
.blog-header__menu-link:focus-visible {
  color: var(--retro-ink);
  background: var(--retro-paper-light);
  border-color: var(--retro-ink);
  outline: none;
}

.blog-header__menu-image {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  object-fit: contain;
}

.blog-header__menu-image--ruby {
  width: 3.5rem;
  height: 3.5rem;
  flex-basis: 3.5rem;
  margin-left: -0.5rem;
}

.chores-nav {
  color: var(--retro-white);
  background: #1d4fbf;
  border-bottom: var(--retro-border-lg) solid var(--retro-ink);
}

.chores-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--retro-space-4);
  min-height: 4.5rem;
}

.chores-nav__desktop-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.75rem, 1.6vw, var(--retro-space-4));
  align-items: center;
  min-width: 0;
}

.chores-nav__link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  min-height: 3.75rem;
  padding: 0.15rem 0;
  color: var(--retro-white);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--retro-motion-fast) ease,
    color var(--retro-motion-fast) ease;
}

.chores-nav__link span {
  position: relative;
  white-space: nowrap;
}

.chores-nav__link:hover,
.chores-nav__link:focus-visible {
  color: var(--retro-yellow);
  transform: translate(-2px, -2px);
}

.chores-nav__link:focus-visible {
  outline: var(--retro-border-md) solid var(--retro-white);
  outline-offset: 0.25rem;
}

.chores-nav__link--active {
  color: var(--retro-yellow);
}

.chores-nav__link--active span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: var(--retro-border-sm);
  background: var(--retro-yellow);
  box-shadow: 0 2px 0 0 var(--retro-ink);
}

.chores-nav__icon {
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 3.35rem;
  object-fit: contain;
}

.chores-nav__more {
  display: none;
  position: relative;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  text-align: left;
}

.chores-nav__more-toggle {
  flex-direction: row;
  gap: 0.45rem;
  min-height: 3.75rem;
  color: var(--retro-white);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  transform: none;
  transition:
    transform var(--retro-motion-fast) ease,
    color var(--retro-motion-fast) ease;
}

.chores-nav__more-toggle:hover,
.chores-nav__more-toggle:focus-visible,
.chores-nav__more[open] .chores-nav__more-toggle {
  color: var(--retro-yellow);
}

.chores-nav__more-toggle:hover,
.chores-nav__more-toggle:focus-visible {
  transform: translate(-2px, -2px);
}

.chores-nav__more-toggle:focus-visible {
  outline: var(--retro-border-md) solid var(--retro-white);
  outline-offset: 0.25rem;
}

.chores-nav__more-image {
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 3.35rem;
}

.chores-nav__more-panel {
  min-width: 17rem;
  background: #1d4fbf;
}

.chores-nav__more-link {
  color: var(--retro-white);
  font-family: var(--font-mono);
}

.chores-nav__more-link--narrow-only {
  display: none;
}

.chores-nav__more-link:hover,
.chores-nav__more-link:focus-visible {
  color: var(--retro-yellow);
  background: transparent;
  border-color: transparent;
}

.chores-nav__more-link:focus-visible {
  outline: var(--retro-border-md) solid var(--retro-white);
  outline-offset: 0.15rem;
}

.chores-nav__more-link--active {
  color: var(--retro-yellow);
}

.chores-nav__menu {
  max-width: 28rem;
  margin-left: auto;
}

.chores-nav__menu-toggle {
  color: var(--retro-ink);
  background: var(--retro-yellow);
}

.chores-nav__menu-panel {
  padding-bottom: var(--retro-space-2);
}

.chores-nav__menu-panel .blog-header__menu-link {
  font-family: var(--font-mono);
}

.chores-nav__menu-panel .blog-header__menu-link:hover,
.chores-nav__menu-panel .blog-header__menu-link:focus-visible {
  color: var(--retro-yellow);
  background: transparent;
  border-color: transparent;
}

.chores-nav__menu-panel .blog-header__menu-link:focus-visible {
  outline: var(--retro-border-md) solid var(--retro-white);
  outline-offset: 0.15rem;
}

.chores-nav__menu-link--active {
  color: var(--retro-yellow);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.retro-panel,
.retro-card {
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.retro-panel {
  padding: var(--retro-space-5);
}

.retro-panel--muted {
  background: #f0f0e5;
}

.retro-card {
  position: relative;
  padding: var(--retro-space-5);
  transition:
    transform var(--retro-motion-default) ease,
    box-shadow var(--retro-motion-default) ease;
}

.retro-card:hover,
.retro-card:focus-within {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 0 var(--retro-ink);
}

.routines-page {
  --routine-accent: var(--retro-blue);
  --routine-accent-soft: #bfdbfe;
  --routine-secondary: var(--retro-pink);
  --routine-panel: var(--retro-white);
  --routine-shadow: 6px 6px 0 0 var(--retro-ink);
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) 0 4rem;
  color: var(--retro-ink);
}

.routines-theme--morning {
  --routine-accent: #2f6df6;
  --routine-accent-soft: #bfdbfe;
  --routine-secondary: #ff9f1a;
}

.routines-theme--after-school {
  --routine-accent: #166534;
  --routine-accent-soft: #bbf7d0;
  --routine-secondary: #44d7ff;
}

.routines-theme--bedtime {
  --routine-accent: #7c3aed;
  --routine-accent-soft: #ddd6fe;
  --routine-secondary: #ff62a5;
}

.routines-flash,
.routines-impersonation,
.routines-hero,
.routine-dashboard-card,
.routine-empty-state,
.routine-path-hero,
.routine-path-score,
.routine-current-action,
.routine-review-card {
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--routine-shadow);
}

.routines-flash {
  margin-bottom: var(--retro-space-6);
  padding: var(--retro-space-4);
  font-weight: 800;
}

.routines-flash--notice {
  background: #bbf7d0;
}

.routines-flash--alert {
  background: #fecaca;
}

.routines-impersonation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--retro-space-4);
  margin-bottom: var(--retro-space-6);
  padding: var(--retro-space-4);
  background: #bbf7d0;
}

.routines-impersonation div {
  display: grid;
  gap: 0.2rem;
}

.routines-impersonation span {
  color: var(--retro-muted);
  font-size: 0.95rem;
}

.routines-hero,
.routine-path-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--retro-space-6);
  align-items: end;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(5, 5, 5, 0.06) 1px, transparent 1px),
    var(--routine-accent-soft);
  background-size: 22px 22px;
}

.routines-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  color: var(--retro-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--routine-accent);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.routines-hero h1,
.routine-path-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.75rem);
  font-weight: 950;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.routines-hero__summary,
.routine-path-hero p {
  max-width: 46rem;
  margin-top: var(--retro-space-4);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
}

.routines-progress-card,
.routine-path-score {
  display: grid;
  gap: var(--retro-space-2);
  min-width: 11rem;
  padding: var(--retro-space-4);
  background: var(--retro-white);
}

.routines-progress-card span,
.routine-path-score span,
.routine-path-score em {
  color: var(--retro-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.routines-progress-card strong,
.routine-path-score strong {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  line-height: 1;
}

.routines-meter {
  width: 100%;
  height: 1.2rem;
  overflow: hidden;
  background: #e5e7eb;
  border: var(--retro-border-md) solid var(--retro-ink);
}

.routines-meter span {
  display: block;
  height: 100%;
  background: var(--routine-accent);
  border-right: var(--retro-border-sm) solid var(--retro-ink);
}

.routines-toolbar,
.routine-path-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--retro-space-3);
  margin: var(--retro-space-6) 0;
}

.routine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  color: var(--retro-ink);
  font-family: var(--font-mono);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease;
}

.routine-button:hover,
.routine-button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--retro-ink);
}

.routine-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.routine-button--primary {
  background: var(--routine-accent);
  color: var(--retro-white);
}

.routine-button--secondary {
  background: var(--retro-white);
}

.routine-button--card {
  width: 100%;
  background: var(--retro-yellow);
}

.routine-button--large {
  min-height: 5.25rem;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.routine-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--retro-space-6);
}

.routine-dashboard-card {
  display: grid;
  gap: var(--retro-space-4);
  padding: var(--retro-space-5);
  background: var(--routine-panel);
}

.routine-dashboard-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--retro-space-4);
}

.routine-dashboard-card__header p,
.routine-dashboard-card__meta,
.routine-dashboard-card__next {
  color: var(--retro-muted);
  font-weight: 800;
}

.routine-dashboard-card h2 {
  margin-top: 0.25rem;
  font-size: 1.9rem;
  font-weight: 950;
  line-height: 1;
}

.routine-status-badge {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  font-family: var(--font-mono);
  font-weight: 950;
  border: var(--retro-border-md) solid var(--retro-ink);
}

.routine-status-badge--done {
  background: #bbf7d0;
}

.routine-status-badge--open {
  background: var(--routine-accent-soft);
}

.routine-mini-path {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
}

.routine-mini-path__node {
  width: 1.35rem;
  height: 1.35rem;
  background: #e5e7eb;
  border: var(--retro-border-md) solid var(--retro-ink);
}

.routine-mini-path__node--completed {
  background: var(--routine-accent);
}

.routine-mini-path__node--current {
  background: var(--retro-yellow);
}

.routine-dashboard-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-3);
  font-size: 0.95rem;
}

.routine-empty-state {
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  background: var(--retro-white);
}

.routine-empty-state h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 950;
}

.routine-empty-state p {
  margin-top: var(--retro-space-3);
  color: var(--retro-muted);
  font-size: 1.1rem;
  font-weight: 800;
}

.routine-visual-path {
  display: grid;
  gap: var(--retro-space-5);
  margin: var(--retro-space-8) 0;
}

.routine-path-node {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--retro-space-4);
  align-items: stretch;
}

.routine-path-node::before {
  content: "";
  position: absolute;
  top: 4.5rem;
  bottom: calc(-1 * var(--retro-space-5));
  left: 2.15rem;
  width: var(--retro-border-lg);
  background: var(--retro-ink);
}

.routine-path-node:last-child::before {
  display: none;
}

.routine-path-node__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  background: #e5e7eb;
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.routine-path-node__marker span {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 950;
}

.routine-path-node--completed .routine-path-node__marker {
  background: var(--routine-accent);
  color: var(--retro-white);
}

.routine-path-node--current .routine-path-node__marker {
  background: var(--retro-yellow);
  animation: routine-current-step-pulse 1.6s steps(2, end) infinite;
}

.routine-path-node__body {
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.routine-path-node__status {
  display: inline-flex;
  margin-bottom: var(--retro-space-2);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--routine-accent-soft);
  border: var(--retro-border-sm) solid var(--retro-ink);
}

.routine-path-node h2 {
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
}

.routine-path-node p {
  margin-top: var(--retro-space-2);
  color: #27272a;
  font-weight: 650;
}

.routine-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-2);
  margin-top: var(--retro-space-3);
}

.routine-step-tags span {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 850;
  background: #fef3c7;
  border: var(--retro-border-sm) solid var(--retro-ink);
}

.routine-current-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: var(--retro-space-6);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--routine-accent-soft);
}

.routine-current-action h2,
.routine-complete-message h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 950;
  line-height: 0.95;
}

.routine-current-action p,
.routine-complete-message p {
  margin-top: var(--retro-space-3);
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.45;
}

.routine-action-grid {
  display: grid;
  gap: var(--retro-space-3);
}

.routine-action-grid form {
  display: contents;
}

.routine-complete-message {
  grid-column: 1 / -1;
}

.routine-complete-message .routine-button {
  margin-top: var(--retro-space-5);
}

.routine-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: var(--retro-space-6);
  margin-top: var(--retro-space-8);
}

.routine-review-card {
  display: grid;
  gap: var(--retro-space-4);
  padding: var(--retro-space-5);
  background: var(--retro-white);
}

.routine-review-card__header {
  display: flex;
  align-items: center;
  gap: var(--retro-space-4);
}

.routine-review-avatar,
.routine-review-avatar img,
.routine-review-avatar span {
  width: 4.25rem;
  height: 4.25rem;
}

.routine-review-avatar {
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--retro-yellow);
  border: var(--retro-border-lg) solid var(--retro-ink);
}

.routine-review-avatar img {
  display: block;
  object-fit: cover;
}

.routine-review-avatar span {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 950;
}

.routine-review-card h2 {
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}

.routine-review-card__header p {
  margin-top: 0.25rem;
  color: var(--retro-muted);
  font-weight: 800;
}

.routine-review-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--retro-space-2);
}

.routine-review-stats div {
  padding: var(--retro-space-3);
  background: var(--routine-accent-soft);
  border: var(--retro-border-md) solid var(--retro-ink);
}

.routine-review-stats dt {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.routine-review-stats dd {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 950;
}

.routine-review-section {
  padding-top: var(--retro-space-4);
  border-top: var(--retro-border-md) solid var(--retro-ink);
}

.routine-review-section h3 {
  margin-bottom: var(--retro-space-2);
  font-size: 1.1rem;
  font-weight: 950;
}

.routine-review-section ul {
  display: grid;
  gap: var(--retro-space-2);
}

.routine-review-section li {
  display: flex;
  justify-content: space-between;
  gap: var(--retro-space-3);
  font-weight: 800;
}

.routine-review-section li span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.routine-review-section p {
  color: var(--retro-muted);
  font-weight: 800;
}

.routine-review-focus {
  display: grid;
  gap: var(--retro-space-1);
  padding: var(--retro-space-4);
  background: var(--retro-yellow);
  border: var(--retro-border-md) solid var(--retro-ink);
}

.routine-review-focus span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.routine-review-focus strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

@keyframes routine-current-step-pulse {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-3px, -3px);
  }
}

@media (max-width: 52rem) {
  .routines-hero,
  .routine-path-hero,
  .routine-current-action {
    grid-template-columns: 1fr;
  }

  .routines-progress-card,
  .routine-path-score {
    width: 100%;
  }

  .routine-path-node {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .routine-path-node::before {
    top: 3.5rem;
    left: 1.65rem;
  }

  .routine-path-node__marker {
    width: 3.5rem;
    height: 3.5rem;
  }

  .routine-path-node__marker span {
    font-size: 1.35rem;
  }
}

@media (max-width: 36rem) {
  .routines-page {
    width: min(100% - 1rem, 76rem);
  }

  .routines-toolbar,
  .routine-path-topbar {
    justify-content: stretch;
  }

  .routines-toolbar .routine-button,
  .routine-path-topbar .routine-button,
  .routine-action-grid .routine-button {
    width: 100%;
  }

  .routine-review-stats {
    grid-template-columns: 1fr;
  }
}

.retro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 0.95rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease;
}

.retro-button:hover,
.retro-button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--retro-ink);
  outline: 0;
}

.retro-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.retro-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.retro-button--primary {
  background: var(--retro-yellow);
}

.retro-button--success {
  background: var(--retro-green);
}

.retro-button--danger {
  background: var(--retro-red);
}

.retro-button--small {
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-width: var(--retro-border-sm);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-size: 0.75rem;
}

.cheat-sheet-button:hover,
.cheat-sheet-button:focus-visible,
.admin-analytics__button:hover,
.admin-analytics__button:focus-visible,
.books-empty a:hover,
.books-empty a:focus-visible,
.family-calendar-rotation-next:hover,
.family-calendar-rotation-next:focus-visible,
.family-calendar-display-mode-link:hover,
.family-calendar-display-mode-link:focus-visible,
.blog-header__menu-toggle:hover,
.blog-header__menu-toggle:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--retro-ink);
}

.cheat-sheet-button:active,
.admin-analytics__button:active,
.books-empty a:active,
.family-calendar-rotation-next:active,
.family-calendar-display-mode-link:active,
.blog-header__menu-toggle:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.share-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.share-action--hero {
  margin-top: 2rem;
}

.share-action--toolbar {
  margin-top: 0;
  justify-content: flex-end;
}

.share-action--book {
  margin-top: 0;
  justify-content: flex-start;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  color: var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease;
  appearance: none;
}

.share-button::before {
  content: ">>";
  font-weight: 900;
}

.share-button:hover,
.share-button:focus-visible {
  background: var(--retro-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--retro-ink);
}

.share-button:focus-visible {
  outline: var(--retro-border-lg) solid var(--retro-blue);
  outline-offset: 4px;
}

.share-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.share-button[data-share-state="copied"] {
  background: var(--retro-green);
}

.share-action__fallback {
  flex: 1 0 100%;
  margin: 0;
  color: #31413d;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.share-action--toolbar .share-action__fallback {
  text-align: right;
}

.share-action__fallback a {
  color: inherit;
  cursor: var(--public-button-cursor, pointer);
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.retro-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.25rem 0.5rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.retro-chip--blue {
  background: var(--retro-cyan);
}

.retro-chip--green {
  background: var(--retro-green);
}

.retro-chip--pink {
  background: var(--retro-pink);
}

.retro-input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font: inherit;
}

.retro-input:focus {
  outline: var(--retro-border-lg) solid var(--retro-blue);
  outline-offset: 3px;
}

.retro-table-wrap {
  overflow-x: auto;
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.retro-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.retro-table th,
.retro-table td {
  padding: 0.85rem 1rem;
  border-bottom: var(--retro-border-md) solid var(--retro-ink);
  text-align: left;
  vertical-align: middle;
}

.retro-table th {
  background: #f5f5eb;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.retro-table tr:last-child td {
  border-bottom: 0;
}

.retro-table tbody tr:hover {
  background: #fff4b7;
}

.retro-meter {
  color: var(--retro-ink);
  font-family: var(--font-mono);
}

.blog-layout--family-calendar {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  overflow-x: hidden;
  background: #fff8bc;
}

.blog-layout--family-calendar .blog-main--family-calendar {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  min-height: 100svh;
  overflow-x: hidden;
  background: #fff8bc;
}

.blog-layout--family-calendar:not(.blog-layout--family-calendar-display) .blog-main--family-calendar {
  min-height: auto;
}

@supports (min-height: 100dvh) {
  .blog-layout--family-calendar .blog-main--family-calendar {
    min-height: 100dvh;
  }

  .blog-layout--family-calendar:not(.blog-layout--family-calendar-display) .blog-main--family-calendar {
    min-height: auto;
  }
}

.family-calendar-rotator {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #fff8bc;
  isolation: isolate;
}

@supports (min-height: 100dvh) {
  .family-calendar-rotator {
    min-height: 100dvh;
  }
}

.family-calendar-rotator--display {
  height: 100svh;
  min-height: 0;
  overflow-y: auto;
}

@supports (height: 100dvh) {
  .family-calendar-rotator--display {
    height: 100dvh;
  }
}

.family-calendar-rotator--display .family-calendar-view {
  position: relative;
  inset: auto;
  display: none;
  min-height: 100%;
}

.family-calendar-rotator--display .family-calendar-view.is-active {
  display: block;
}

.family-calendar-view {
  position: absolute;
  inset: 0;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 2.5rem, 0) scale(0.985);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.family-calendar-view.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.family-calendar-view--weather {
  transform: translate3d(0, -2rem, 0) scale(1.015);
}

.family-calendar-view--tomorrow {
  transform: translate3d(2rem, 0, 0) scale(0.985);
}

.family-calendar-rotator--static {
  min-height: 0;
  overflow: visible;
}

.family-calendar-rotator--static .family-calendar-view {
  position: relative;
  min-height: 100svh;
}

@supports (min-height: 100dvh) {
  .family-calendar-rotator--static .family-calendar-view {
    min-height: 100dvh;
  }
}

.family-calendar-rotation-controls {
  position: fixed;
  right: clamp(0.7rem, 1.8vw, 1.5rem);
  bottom: calc(clamp(0.7rem, 1.8vw, 1.5rem) + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: stretch;
  max-width: min(30rem, calc(100vw - 1.4rem));
  font-family: var(--font-mono);
}

.family-calendar-rotation-status,
.family-calendar-rotation-next {
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: 4px 4px 0 0 var(--retro-ink);
}

.family-calendar-rotation-status {
  display: grid;
  grid-template-columns: auto minmax(5.5rem, auto) auto;
  grid-template-rows: auto 0.6rem;
  gap: 0.25rem 0.55rem;
  align-items: center;
  min-width: min(18rem, 70vw);
  padding: 0.5rem 0.65rem 0.6rem;
  background: rgba(255, 253, 241, 0.94);
  color: var(--retro-ink);
  backdrop-filter: blur(8px);
}

.family-calendar-rotation-status span,
.family-calendar-rotation-status strong,
.family-calendar-rotation-status em {
  line-height: 1;
  text-transform: uppercase;
}

.family-calendar-rotation-status > span:first-child {
  color: var(--retro-muted);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 700;
}

.family-calendar-rotation-status strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.82rem, 1.25vw, 1rem);
}

.family-calendar-rotation-status em {
  justify-self: end;
  color: #24356f;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-style: normal;
  font-weight: 700;
}

.family-calendar-rotator--manual .family-calendar-rotation-status {
  grid-template-columns: auto minmax(5.5rem, auto);
  grid-template-rows: auto;
  min-width: min(13rem, 62vw);
  padding-block: 0.75rem;
}

.family-calendar-rotator--manual .family-calendar-rotation-status em,
.family-calendar-rotator--manual .family-calendar-rotation-progress {
  display: none;
}

.family-calendar-rotation-progress {
  grid-column: 1 / -1;
  display: block;
  height: 0.6rem;
  overflow: hidden;
  background: #d8d8d0;
  border: var(--retro-border-sm) solid var(--retro-ink);
}

.family-calendar-rotation-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #2f6df6, #44d7ff);
  transform: scaleX(1);
  transform-origin: left center;
}

.family-calendar-rotation-next {
  min-width: 4.8rem;
  min-height: 3.4rem;
  padding: 0 0.85rem;
  background: var(--retro-yellow);
  color: var(--retro-ink);
  font: inherit;
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease;
}

.family-calendar-rotation-next:active {
  box-shadow: none;
  transform: translate(3px, 3px);
}

.family-calendar-rotation-next:focus-visible {
  outline: var(--retro-border-md) solid #24356f;
  outline-offset: 3px;
}

.family-calendar-display-mode-link {
  position: fixed;
  left: clamp(0.7rem, 1.8vw, 1.5rem);
  bottom: clamp(0.7rem, 1.8vw, 1.5rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  max-width: min(13rem, calc(100vw - 1.4rem));
  padding: 0 0.9rem;
  color: var(--retro-ink);
  background: #fffdf1;
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: 4px 4px 0 0 var(--retro-ink);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease;
}

.family-calendar-display-mode-link:hover,
.family-calendar-display-mode-link:focus-visible {
  color: var(--retro-ink);
  transform: translate(-2px, -2px);
}

.family-calendar-display-mode-link:focus-visible {
  outline: var(--retro-border-md) solid #24356f;
  outline-offset: 3px;
}

.family-calendar-display-mode-link:active {
  box-shadow: none;
  transform: translate(3px, 3px);
}

@media (max-width: 520px) {
  .family-calendar-rotator--manual .family-calendar-rotation-controls {
    grid-template-columns: auto;
    max-width: calc(50vw - 0.7rem);
  }

  .family-calendar-rotator--manual .family-calendar-rotation-status {
    display: none;
  }

  .family-calendar-rotator--manual .family-calendar-rotation-next,
  .family-calendar-display-mode-link {
    min-width: 0;
    max-width: calc(100vw - 1.4rem);
    padding-inline: 0.65rem;
  }
}

.family-calendar-screen {
  --family-calendar-avatar-size: 64px;
  --family-calendar-event-gap: clamp(0.65rem, 1.25vw, 1rem);
  --family-calendar-event-min-height: clamp(5.25rem, 7.5vw, 5.75rem);
  --family-calendar-event-location-min-height: clamp(5.6rem, 8vw, 6.25rem);
  --family-calendar-screen-padding-x: clamp(1rem, 2vw, 2rem);

  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  min-height: 100%;
  margin: 0;
  padding: clamp(1rem, 2vw, 2rem) var(--family-calendar-screen-padding-x);
  padding-bottom: calc(clamp(1rem, 2vw, 2rem) + 5rem);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(rgba(5, 5, 5, 0.045) 1px, transparent 1px) 0 0 / 36px 36px;
  color: var(--retro-ink);
  font-family: var(--font-mono);
  overflow: visible;
}

.family-calendar-screen > * {
  box-sizing: border-box;
  width: calc(100vw - (2 * var(--family-calendar-screen-padding-x)) - 0.75rem);
  max-width: 100%;
}

.family-calendar-screen--tomorrow {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.055) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(rgba(5, 5, 5, 0.055) 1px, transparent 1px) 0 0 / 36px 36px,
    #dfffe8;
}

.family-calendar-screen--tomorrow .family-calendar-hero {
  background: #1c7a5a;
}

.family-calendar-screen--tomorrow .family-calendar-date span {
  background: #d45d00;
  color: var(--retro-ink);
}

.family-calendar-screen--tomorrow .family-calendar-section-divider {
  background:
    repeating-linear-gradient(
      90deg,
      #1c7a5a 0 1rem,
      var(--retro-ink) 1rem 1.45rem
    );
}

@supports (min-height: 100dvh) {
  .family-calendar-screen {
    min-height: 100%;
  }
}

.family-calendar-forecast-screen {
  --family-calendar-forecast-padding-x: clamp(1rem, 2.4vw, 2.4rem);

  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  min-height: 100%;
  width: 100%;
  padding: clamp(1rem, 2.2vw, 2rem) var(--family-calendar-forecast-padding-x);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(5, 5, 5, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    #c9f3ff;
  color: var(--retro-ink);
  font-family: var(--font-mono);
}

.family-calendar-forecast-screen > * {
  box-sizing: border-box;
  width: calc(100vw - (2 * var(--family-calendar-forecast-padding-x)) - 0.75rem);
  max-width: 100%;
}

.family-calendar-forecast-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: 0 6px 0 0 var(--retro-ink);
}

.family-calendar-forecast-hero__copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 2rem);
  background: #24356f;
  border: 0;
  color: var(--retro-white);
}

.family-calendar-forecast-kicker {
  margin: 0 0 0.35rem;
  color: #fff27a;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.family-calendar-forecast-hero h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 0.92;
}

.family-calendar-forecast-hero p {
  margin: clamp(0.45rem, 1.2vw, 0.9rem) 0 0;
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.family-calendar-forecast-now {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.3rem);
  min-width: clamp(18rem, 32vw, 27rem);
  padding: clamp(0.9rem, 2vw, 1.4rem);
  background: #fffdf1;
  border: 0;
  border-left: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: none;
}

.family-calendar-forecast-now__icon {
  width: clamp(5.5rem, 11vw, 8rem);
  height: clamp(5.5rem, 11vw, 8rem);
  image-rendering: pixelated;
  object-fit: contain;
}

.family-calendar-forecast-now strong {
  display: block;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}

.family-calendar-forecast-now span {
  display: block;
  margin-top: 0.45rem;
  color: var(--retro-muted);
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.family-calendar-forecast-days {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.35rem, 1vw, 0.75rem);
  min-height: 0;
  margin: 0;
  padding: 0 0 clamp(4rem, 8vh, 5.5rem);
  background: transparent;
  list-style: none;
}

.family-calendar-forecast-day {
  position: relative;
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-items: start;
  justify-items: stretch;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.65rem, 1.35vw, 1rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.06) 0 0.45rem, transparent 0.45rem),
    #fff8cf;
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: none;
}

.family-calendar-forecast-day:nth-child(5) {
  grid-column: 2 / span 2;
}

.family-calendar-forecast-day:nth-child(6) {
  grid-column: 4 / span 2;
}

.family-calendar-forecast-day:nth-child(7) {
  grid-column: 6 / span 2;
}

.family-calendar-forecast-day:nth-child(2n) {
  background: #dfffe8;
}

.family-calendar-forecast-day:nth-child(3n) {
  background: #ffe0ef;
}

.family-calendar-forecast-day--today {
  background: #fff27a;
}

.family-calendar-forecast-day__heading {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.family-calendar-forecast-day__heading strong,
.family-calendar-forecast-day__heading span {
  display: block;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.family-calendar-forecast-day__heading strong {
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  line-height: 1;
}

.family-calendar-forecast-day__heading span {
  margin-top: 0.25rem;
  color: var(--retro-muted);
  font-size: clamp(0.7rem, 1.1vw, 0.88rem);
  font-weight: 700;
}

.family-calendar-forecast-day__icon {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  justify-self: end;
  margin-left: clamp(0.5rem, 1vw, 0.85rem);
  width: clamp(3.75rem, 7vw, 5.5rem);
  height: clamp(3.75rem, 7vw, 5.5rem);
  image-rendering: pixelated;
  object-fit: contain;
}

.family-calendar-view--weather.is-active .family-calendar-forecast-day__icon {
  animation: family-calendar-weather-float 6s ease-in-out infinite;
}

.family-calendar-view--weather.is-active .family-calendar-forecast-day:nth-child(2n) .family-calendar-forecast-day__icon {
  animation-delay: -1.5s;
}

.family-calendar-view--weather.is-active .family-calendar-forecast-day:nth-child(3n) .family-calendar-forecast-day__icon {
  animation-delay: -3s;
}

.family-calendar-forecast-day__temps {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(0.35rem, 1vw, 0.65rem);
  width: 100%;
}

.family-calendar-forecast-day__condition {
  grid-column: 1;
  grid-row: 2;
  min-height: 2em;
  margin: clamp(0.25rem, 0.6vw, 0.45rem) 0 0.2rem;
  color: var(--retro-muted);
  font-size: clamp(0.68rem, 1.1vw, 0.85rem);
  font-weight: 700;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.family-calendar-forecast-day__temps span:first-child {
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 0.95;
}

.family-calendar-forecast-day__temps span:last-child {
  color: var(--retro-muted);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-weight: 700;
}

.family-calendar-forecast-day__rain {
  grid-column: 1 / -1;
  grid-row: 4;
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.family-calendar-forecast-day__rain span {
  display: block;
  height: 0.75rem;
  overflow: hidden;
  background: #fffdf1;
  border: var(--retro-border-sm) solid var(--retro-ink);
}

.family-calendar-forecast-day__rain span::before {
  display: block;
  width: var(--rain-chance);
  height: 100%;
  background: #2f6df6;
  content: "";
}

.family-calendar-forecast-day__rain strong {
  color: #24356f;
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .family-calendar-forecast-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .family-calendar-forecast-now {
    min-width: 0;
    border-top: var(--retro-border-lg) solid var(--retro-ink);
    border-left: 0;
  }

  .family-calendar-forecast-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .family-calendar-forecast-day,
  .family-calendar-forecast-day:nth-child(5),
  .family-calendar-forecast-day:nth-child(6),
  .family-calendar-forecast-day:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-height: 850px) and (min-width: 701px) {
  .family-calendar-forecast-screen {
    gap: 0.85rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .family-calendar-forecast-hero__copy,
  .family-calendar-forecast-now {
    padding: 0.85rem 1.1rem;
  }

  .family-calendar-forecast-hero h2 {
    font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  }

  .family-calendar-forecast-hero p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
  }

  .family-calendar-forecast-now {
    min-width: clamp(16rem, 32vw, 24rem);
  }

  .family-calendar-forecast-now__icon {
    width: 4.6rem;
    height: 4.6rem;
  }

  .family-calendar-forecast-now strong {
    font-size: clamp(3rem, 6vw, 4.6rem);
  }

  .family-calendar-forecast-day {
    padding: 0.55rem 0.75rem;
  }

  .family-calendar-forecast-day__heading strong {
    font-size: 1rem;
  }

  .family-calendar-forecast-day__icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .family-calendar-forecast-day__condition,
  .family-calendar-forecast-day__rain strong {
    font-size: 0.66rem;
  }

  .family-calendar-forecast-day__temps span:first-child {
    font-size: 2rem;
  }
}

.family-calendar-forecast-offline {
  align-self: center;
  justify-self: center;
  max-width: 44rem;
  text-align: center;
}

.family-calendar-forecast-offline h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.family-calendar-forecast-offline p {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
}

@keyframes family-calendar-weather-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.45rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .family-calendar-view,
  .family-calendar-forecast-day__icon,
  .family-calendar-rotation-progress span {
    animation: none !important;
    transition: none !important;
  }
}

.family-calendar-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: var(--retro-blue);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: 0 6px 0 0 var(--retro-ink);
  color: var(--retro-white);
}

.family-calendar-hero > div {
  min-width: 0;
}

.family-calendar-kicker {
  margin: 0 0 0.25rem;
  color: var(--retro-white);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.family-calendar-hero h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.family-calendar-date {
  display: grid;
  flex: 0 0 auto;
  min-width: clamp(5rem, 12vw, 8rem);
  overflow: hidden;
  background: var(--retro-white);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: 4px 4px 0 0 var(--retro-ink);
  color: var(--retro-ink);
  text-align: center;
  text-decoration: none;
}

.family-calendar-date span {
  padding: 0.2rem 0.5rem;
  background: #9f1020;
  border-bottom: var(--retro-border-md) solid var(--retro-ink);
  color: var(--retro-white);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
}

.family-calendar-date strong {
  padding: 0.25rem 0.5rem 0.35rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1;
}

.family-calendar-daily-info {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) repeat(4, minmax(0, 0.6fr));
  gap: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--retro-white);
  border-top: var(--retro-border-lg) solid var(--retro-ink);
  border-bottom: var(--retro-border-lg) solid var(--retro-ink);
}

.family-calendar-daily-info--single {
  grid-template-columns: minmax(0, 1fr);
}

.family-calendar-weather {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(0.45rem, 1.4vw, 1.5rem);
  min-height: 5rem;
  min-width: 0;
  padding: clamp(0.8rem, 1.7vw, 1.1rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--retro-cyan);
  border: 0;
  border-bottom: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: none;
}

.family-calendar-weather__icon {
  width: clamp(3.25rem, 7vw, 5.5rem);
  height: clamp(3.25rem, 7vw, 5.5rem);
  image-rendering: pixelated;
  object-fit: contain;
}

.family-calendar-weather div {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.family-calendar-weather span,
.family-calendar-weather p {
  margin: 0;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.family-calendar-weather strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  line-height: 1;
}

.family-calendar-weather__current {
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0.75rem;
}

.family-calendar-weather__details {
  padding-left: clamp(0.75rem, 1.8vw, 1.25rem);
  border-left: var(--retro-border-md) solid var(--retro-ink);
}

.family-calendar-weather__current strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.family-calendar-weather--muted {
  grid-template-columns: auto minmax(0, 1fr);
  background: #f0f0e5;
}

.family-calendar-lunch {
  display: grid;
  align-items: center;
  min-height: 5rem;
  min-width: 0;
  padding: clamp(0.8rem, 1.7vw, 1.1rem);
  background:
    linear-gradient(90deg, rgba(122, 29, 0, 0.12) 0 0.45rem, transparent 0.45rem),
    #fff27a;
  border: 0;
  box-shadow: none;
}

.family-calendar-lunch span {
  display: block;
  margin: 0 0 0.2rem;
  color: #7a1d00;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.family-calendar-lunch strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(0.95rem, 1.75vw, 1.2rem);
  line-height: 1.08;
}

.family-calendar-lunch--muted {
  background: #f0f0e5;
}

.family-calendar-social {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.45rem, 1vw, 0.75rem);
  min-height: 5rem;
  min-width: 0;
  padding: clamp(0.65rem, 1.4vw, 0.95rem);
  border: 0;
  border-left: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: none;
}

.family-calendar-social--youtube {
  background:
    linear-gradient(90deg, rgba(122, 29, 0, 0.12) 0 0.45rem, transparent 0.45rem),
    #ffe6e6;
}

.family-calendar-social--bluesky {
  background:
    linear-gradient(90deg, rgba(0, 70, 122, 0.12) 0 0.45rem, transparent 0.45rem),
    #e1f4ff;
}

.family-calendar-social__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.75rem, 5vw, 3.75rem);
  height: clamp(2.75rem, 5vw, 3.75rem);
  background: var(--retro-white);
  border: var(--retro-border-md) solid var(--retro-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  image-rendering: pixelated;
  object-fit: cover;
}

.family-calendar-social--youtube .family-calendar-social__avatar {
  color: #d40000;
}

.family-calendar-social__avatar--bluesky {
  color: #0070cc;
}

.family-calendar-social div {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.family-calendar-social div span,
.family-calendar-social p {
  margin: 0;
  color: #7a1d00;
  font-size: clamp(0.65rem, 1.15vw, 0.82rem);
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.family-calendar-social--bluesky div span,
.family-calendar-social--bluesky p {
  color: #00467a;
}

.family-calendar-social strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1;
}

.family-calendar-section-divider {
  height: 0.65rem;
  min-height: 0.65rem;
  background:
    repeating-linear-gradient(
      90deg,
      var(--retro-ink) 0 1rem,
      transparent 1rem 1.45rem
    );
}

.family-calendar-events {
  display: grid;
  grid-auto-rows: auto;
  gap: 0;
  align-content: start;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-top: var(--retro-border-lg) solid var(--retro-ink);
  border-bottom: var(--retro-border-lg) solid var(--retro-ink);
  list-style: none;
}

.family-calendar-events--dense {
  --family-calendar-event-gap: clamp(0.4rem, 1vw, 0.75rem);
  --family-calendar-event-min-height: clamp(4.2rem, 6vw, 4.9rem);
  --family-calendar-event-location-min-height: clamp(4.8rem, 6.7vw, 5.25rem);
  --family-calendar-avatar-size: 56px;
}

.family-calendar-event {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, clamp(7rem, 17vw, 11rem)) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  min-height: var(--family-calendar-event-min-height);
  padding: clamp(0.65rem, 1.5vw, 1rem);
  background:
    linear-gradient(90deg, var(--family-calendar-event-accent, var(--retro-blue)) 0 0.7rem, transparent 0.7rem),
    var(--retro-white);
  border-right: var(--retro-border-lg) solid var(--retro-ink);
  border-left: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: none;
}

.family-calendar-event + .family-calendar-event {
  border-top: var(--retro-border-lg) solid var(--retro-ink);
}

.family-calendar-event--with-attendees {
  min-height: calc(var(--family-calendar-avatar-size) + clamp(1.25rem, 2.5vw, 2rem));
}

.family-calendar-event--with-location {
  min-height: var(--family-calendar-event-location-min-height);
}

.family-calendar-event--0 {
  --family-calendar-event-accent: var(--retro-yellow);

  background-color: #fff8cf;
}

.family-calendar-event--1 {
  --family-calendar-event-accent: var(--retro-cyan);

  background-color: #d7f7ff;
}

.family-calendar-event--2 {
  --family-calendar-event-accent: var(--retro-green);

  background-color: #dfffe8;
}

.family-calendar-event--3 {
  --family-calendar-event-accent: var(--retro-pink);

  background-color: #ffe0ef;
}

.family-calendar-event--past {
  --family-calendar-event-accent: #8a8a80;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(5, 5, 5, 0.045) 0 0.6rem,
      transparent 0.6rem 1.2rem
    ),
    linear-gradient(90deg, var(--family-calendar-event-accent) 0 0.7rem, transparent 0.7rem),
    #d8d8d0;
  color: #5b5b55;
}

.family-calendar-event--past time {
  background:
    linear-gradient(#5b5b55, #5b5b55) right center / var(--retro-border-md) 100% no-repeat;
  color: #5b5b55;
}

.family-calendar-event--past h2,
.family-calendar-event--past p {
  color: #5b5b55;
}

.family-calendar-event--past .family-calendar-event__avatar {
  filter: grayscale(1);
  opacity: 0.62;
}

.family-calendar-event--solar {
  --family-calendar-event-accent: #ff9f1a;

  background:
    linear-gradient(90deg, var(--family-calendar-event-accent) 0 0.7rem, transparent 0.7rem),
    #24356f;
  color: #fff5a3;
}

.family-calendar-event.family-calendar-event--solar time {
  background:
    linear-gradient(#fff5a3, #fff5a3) right center / var(--retro-border-md) 100% no-repeat;
  color: #fff5a3;
}

.family-calendar-event--solar h2 {
  flex: 0 0 auto;
  color: #fff5a3;
}

.family-calendar-event__details.family-calendar-event__details--solar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.family-calendar-event__solar-icon {
  flex: 0 0 var(--family-calendar-avatar-size);
  margin-left: clamp(2rem, 8vw, 5rem);
  width: var(--family-calendar-avatar-size);
  height: var(--family-calendar-avatar-size);
  image-rendering: pixelated;
  object-fit: contain;
}

.family-calendar-event time {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  box-sizing: border-box;
  min-width: 0;
  min-height: clamp(2.8rem, 4.5vw, 3.7rem);
  width: 100%;
  padding: 0.2rem clamp(0.55rem, 1.4vw, 0.95rem) 0.2rem 0;
  overflow-wrap: anywhere;
  background:
    linear-gradient(var(--retro-ink), var(--retro-ink)) right center / var(--retro-border-md) 100% no-repeat;
  color: var(--retro-ink);
  font-size: clamp(0.9rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.family-calendar-event__details {
  display: grid;
  align-content: center;
  align-self: stretch;
  gap: clamp(0.1rem, 0.35vw, 0.25rem);
  min-width: 0;
}

.family-calendar-event h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.family-calendar-event p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--retro-muted);
  font-size: clamp(0.75rem, 1.45vw, 1.05rem);
  font-weight: 700;
  line-height: 1.05;
}

.family-calendar-event__attendees {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  align-self: center;
  justify-content: flex-end;
  justify-self: end;
  min-width: var(--family-calendar-avatar-size);
  max-width: clamp(4rem, 18vw, 12rem);
  margin: 0;
  padding-left: clamp(0.25rem, 1vw, 0.75rem);
  list-style: none;
}

.family-calendar-event__avatar {
  display: inline-flex;
  flex: 0 0 var(--family-calendar-avatar-size);
  align-items: center;
  justify-content: center;
  width: var(--family-calendar-avatar-size);
  height: var(--family-calendar-avatar-size);
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--retro-ink);
  font-size: 2rem;
  font-weight: 700;
}

.family-calendar-event__avatar + .family-calendar-event__avatar {
  margin-left: -1rem;
}

.family-calendar-event__avatar img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  object-fit: cover;
}

@media (max-height: 1250px) and (min-width: 421px) {
  .family-calendar-screen {
    --family-calendar-avatar-size: 56px;
    --family-calendar-event-gap: 0.45rem;
    --family-calendar-event-min-height: 3.7rem;
    --family-calendar-event-location-min-height: 4.25rem;
    --family-calendar-screen-padding-x: 1rem;

    gap: 0.5rem;
    padding: 0.65rem 1rem 0.85rem;
  }

  .family-calendar-hero {
    padding: 0.6rem 0.85rem;
  }

  .family-calendar-kicker {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
  }

  .family-calendar-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
  }

  .family-calendar-date {
    min-width: 4.75rem;
  }

  .family-calendar-date span {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
  }

  .family-calendar-date strong {
    padding: 0.15rem 0.4rem 0.25rem;
    font-size: 2.35rem;
  }

  .family-calendar-daily-info {
    gap: 0.6rem;
  }

  .family-calendar-weather,
  .family-calendar-lunch,
  .family-calendar-social {
    min-height: 4.15rem;
    padding: 0.5rem 0.7rem;
  }

  .family-calendar-weather {
    gap: 0.65rem;
  }

  .family-calendar-weather__icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  .family-calendar-weather span,
  .family-calendar-weather p,
  .family-calendar-lunch span,
  .family-calendar-social div span,
  .family-calendar-social p {
    font-size: 0.7rem;
  }

  .family-calendar-weather strong {
    font-size: 1.45rem;
  }

  .family-calendar-weather__current {
    gap: 0.45rem;
  }

  .family-calendar-weather__current strong {
    font-size: 2.35rem;
  }

  .family-calendar-weather__details {
    padding-left: 0.65rem;
  }

  .family-calendar-lunch span {
    margin-bottom: 0.1rem;
  }

  .family-calendar-lunch strong {
    font-size: 0.9rem;
    line-height: 1.05;
  }

  .family-calendar-social__avatar {
    width: 3rem;
    height: 3rem;
  }

  .family-calendar-social strong {
    font-size: 0.9rem;
  }

  .family-calendar-event {
    gap: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .family-calendar-event--with-attendees {
    min-height: calc(var(--family-calendar-avatar-size) + 0.45rem);
  }

  .family-calendar-event time {
    min-height: 0;
    font-size: 1rem;
    line-height: 1.08;
  }

  .family-calendar-event h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  }

  .family-calendar-event p {
    font-size: 0.78rem;
  }

  .family-calendar-event__avatar {
    font-size: 1.6rem;
  }
}

@media (max-width: 700px) and (min-width: 421px) {
  .family-calendar-rotator {
    height: auto;
    overflow-y: auto;
  }

  .family-calendar-view {
    position: relative;
    inset: auto;
    display: none;
    min-height: 100svh;
  }

  .family-calendar-view.is-active {
    display: block;
  }

  .family-calendar-screen {
    --family-calendar-avatar-size: 48px;
    --family-calendar-event-gap: 0.45rem;
    --family-calendar-event-min-height: 3.65rem;
    --family-calendar-event-location-min-height: 4.1rem;
    --family-calendar-screen-padding-x: 0.55rem;

    gap: 0.45rem;
    padding: 0.55rem;
  }

  .family-calendar-hero {
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
  }

  .family-calendar-kicker {
    font-size: 0.62rem;
  }

  .family-calendar-hero h1 {
    font-size: 1.75rem;
  }

  .family-calendar-date {
    min-width: 3.75rem;
  }

  .family-calendar-date span {
    font-size: 0.62rem;
  }

  .family-calendar-date strong {
    font-size: 1.9rem;
  }

  .family-calendar-daily-info {
    grid-template-columns: minmax(0, 1fr);
  }

  .family-calendar-weather,
  .family-calendar-lunch,
  .family-calendar-social {
    min-height: 3.8rem;
    padding: 0.45rem 0.55rem;
  }

  .family-calendar-weather {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.45rem;
  }

  .family-calendar-weather__icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .family-calendar-weather span,
  .family-calendar-weather p,
  .family-calendar-lunch span,
  .family-calendar-social div span,
  .family-calendar-social p {
    font-size: 0.58rem;
  }

  .family-calendar-weather strong {
    font-size: 1.1rem;
  }

  .family-calendar-weather__current {
    gap: 0.3rem;
  }

  .family-calendar-weather__current strong {
    font-size: 1.9rem;
  }

  .family-calendar-weather__details {
    padding-left: 0.45rem;
  }

  .family-calendar-lunch strong {
    font-size: 0.78rem;
  }

  .family-calendar-social__avatar {
    width: 2.6rem;
    height: 2.6rem;
  }

  .family-calendar-social strong {
    font-size: 0.78rem;
  }

  .family-calendar-social {
    border-top: var(--retro-border-md) solid var(--retro-ink);
    border-left: 0;
  }

  .family-calendar-daily-info > .family-calendar-social:first-child {
    border-top: 0;
  }

  .family-calendar-event {
    grid-template-columns: minmax(0, 5.8rem) minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
  }

  .family-calendar-event--with-attendees {
    min-height: calc(var(--family-calendar-avatar-size) + 0.55rem);
  }

  .family-calendar-event time {
    padding-right: 0.45rem;
    font-size: 0.85rem;
  }

  .family-calendar-event h2 {
    font-size: 1.25rem;
  }

  .family-calendar-event p {
    font-size: 0.65rem;
  }
}

@media (max-width: 1200px) and (min-width: 701px) {
  .family-calendar-daily-info {
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.85fr));
  }

  .family-calendar-weather {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .family-calendar-lunch {
    grid-column: auto;
  }
}

.family-calendar-message {
  align-self: start;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.family-calendar-message h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.family-calendar-message p {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
}

@media (max-width: 420px) {
  .family-calendar-rotator {
    height: auto;
    overflow-y: auto;
  }

  .family-calendar-view {
    position: relative;
    inset: auto;
    display: none;
    min-height: 100svh;
  }

  .family-calendar-view.is-active {
    display: block;
  }

  .family-calendar-screen {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .family-calendar-event {
    grid-template-columns: 1fr;
  }

  .family-calendar-daily-info {
    grid-template-columns: 1fr;
  }

  .family-calendar-weather {
    grid-template-columns: 1fr;
  }

  .family-calendar-social {
    border-top: var(--retro-border-md) solid var(--retro-ink);
    border-left: 0;
  }

  .family-calendar-daily-info > .family-calendar-social:first-child {
    border-top: 0;
  }

  .family-calendar-event time {
    justify-content: flex-start;
  }

  .family-calendar-event__attendees {
    justify-self: start;
    justify-content: flex-start;
    min-width: 0;
    max-width: none;
    padding-left: 0;
  }
}

.family-calendar-rotator--display .family-calendar-screen,
.family-calendar-rotator--display .family-calendar-forecast-screen {
  padding-bottom: calc(clamp(1rem, 2vw, 2rem) + 6rem + env(safe-area-inset-bottom, 0px));
}

.family-calendar-rotator--display .family-calendar-forecast-days {
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
}

.retro-meter span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.retro-meter div {
  height: 1.2rem;
  background: var(--retro-ink);
  border: var(--retro-border-md) solid var(--retro-ink);
}

.retro-meter i {
  display: block;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      var(--retro-green) 0,
      var(--retro-green) 12px,
      #97ff5d 12px,
      #97ff5d 16px
    );
}

.retro-meter--pink i {
  background:
    repeating-linear-gradient(
      90deg,
      var(--retro-pink) 0,
      var(--retro-pink) 12px,
      #ffc1dc 12px,
      #ffc1dc 16px
    );
}

.retro-callout {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: var(--retro-space-4);
  align-items: start;
}

.retro-callout img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  transform: scaleX(-1);
}

.retro-callout p {
  position: relative;
  margin: 0;
  padding: var(--retro-space-4);
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-weight: 700;
}

.retro-flash {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: start;
  padding: var(--retro-space-4);
  padding-right: var(--retro-space-12);
  color: var(--retro-ink);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.retro-flash strong,
.retro-flash span {
  grid-column: 1;
}

.retro-flash button {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--retro-white);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.retro-flash--success {
  background: #baf7c8;
}

.retro-flash--danger {
  background: #ffb3b5;
}

.retro-boot-log {
  padding: var(--retro-space-4);
  color: #eaffef;
  background: #101818;
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.retro-boot-log p {
  margin: 0;
  line-height: 1.55;
}

.retro-empty {
  display: grid;
  gap: var(--retro-space-3);
  justify-items: center;
  padding: var(--retro-space-8);
  text-align: center;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) dashed var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.retro-empty img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.retro-empty h3,
.retro-empty p {
  margin: 0;
}

.retro-empty h3 {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.retro-list {
  display: grid;
  gap: var(--retro-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.retro-list li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: var(--retro-space-2);
  align-items: start;
}

.retro-list li::before {
  content: ">";
  font-family: var(--font-mono);
  font-weight: 700;
}

.retro-list--ordered {
  counter-reset: retro-list;
}

.retro-list--ordered li {
  counter-increment: retro-list;
}

.retro-list--ordered li::before {
  content: counter(retro-list, decimal-leading-zero);
}

.design-system-page {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  color: var(--retro-ink);
  background-color: var(--retro-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px);
  background-size: 32px 32px;
}

.design-system-page code {
  padding: 0.1rem 0.25rem;
  color: var(--retro-ink);
  background: rgba(255, 255, 255, 0.72);
  border: var(--retro-border-sm) solid var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.design-system-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
  gap: var(--retro-space-8);
  align-items: center;
  padding: 4rem;
  background: var(--retro-yellow);
  border-bottom: var(--retro-border-lg) solid var(--retro-ink);
}

.design-system-hero__copy {
  max-width: 48rem;
}

.design-system-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow:
    5px 5px 0 var(--retro-white),
    10px 10px 0 var(--retro-pink);
}

.design-system-hero__copy > p {
  max-width: 43rem;
  margin: var(--retro-space-6) 0 0;
  font-size: 1.28rem;
  line-height: 1.55;
}

.design-system-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-3);
  margin-top: var(--retro-space-6);
}

.design-system-hero__meta span {
  padding: 0.4rem 0.6rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-cabinet {
  padding: 0.8rem;
  background: #141414;
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-lg);
  transform: rotate(1.25deg);
}

.design-system-cabinet__screen {
  position: relative;
  overflow: hidden;
  min-height: 26rem;
  padding: var(--retro-space-5);
  color: var(--retro-white);
  background: #12233d;
  border: var(--retro-border-lg) solid var(--retro-ink);
}

.design-system-cabinet__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 6px
    );
  animation: design-system-scan 5s linear infinite;
}

.design-system-cabinet .retro-meter,
.design-system-cabinet .retro-boot-log,
.design-system-player {
  position: relative;
  z-index: 1;
}

.design-system-cabinet .retro-meter {
  margin-top: var(--retro-space-5);
  color: var(--retro-white);
}

.design-system-cabinet .retro-meter span {
  color: var(--retro-yellow);
}

.design-system-player {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: var(--retro-space-4);
  align-items: center;
}

.design-system-player__portrait {
  width: 6rem;
  height: 6rem;
  padding: 0.5rem;
  overflow: hidden;
  background: var(--retro-cyan);
  border: var(--retro-border-lg) solid var(--retro-white);
  box-shadow: var(--retro-shadow-sm);
}

.design-system-player__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-system-player__label,
.design-system-player__name {
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.design-system-player__label {
  color: var(--retro-yellow);
  font-size: 0.78rem;
  font-weight: 700;
}

.design-system-player__name {
  margin-top: var(--retro-space-1);
  color: var(--retro-white);
  font-size: 2.1rem;
  line-height: 1;
}

.design-system-shell {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: var(--retro-space-8);
  max-width: 88rem;
  margin: 0 auto;
  padding: var(--retro-space-8) var(--retro-space-6) var(--retro-space-12);
}

.design-system-nav {
  position: sticky;
  top: var(--retro-space-4);
  align-self: start;
  display: grid;
  gap: var(--retro-space-5);
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
  font-family: var(--font-mono);
}

.design-system-nav p {
  margin: 0 0 var(--retro-space-2);
  color: var(--retro-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-nav a {
  display: block;
  padding: 0.25rem 0;
  color: var(--retro-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.design-system-nav a:hover,
.design-system-nav a:focus {
  color: var(--retro-white);
  background: var(--retro-ink);
  outline: 0;
}

.design-system-content {
  min-width: 0;
}

.design-system-section {
  padding: var(--retro-space-8) 0;
  border-top: var(--retro-border-lg) solid var(--retro-ink);
}

.design-system-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.design-system-section__header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-3);
  align-items: baseline;
  margin-bottom: var(--retro-space-4);
  font-family: var(--font-mono);
}

.design-system-section__header > span {
  color: var(--retro-blue);
  font-weight: 700;
}

.design-system-section h2,
.design-system-section h3 {
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.design-system-section h2 {
  font-size: 2.6rem;
  line-height: 1;
}

.design-system-section > p {
  max-width: 56rem;
  margin: 0 0 var(--retro-space-6);
  font-size: 1.08rem;
  line-height: 1.6;
}

.design-system-type-grid,
.design-system-swatches,
.design-system-border-grid,
.design-system-motion-grid,
.design-system-control-row,
.design-system-feedback-grid,
.design-system-loading-grid,
.design-system-voice-grid {
  display: grid;
  gap: var(--retro-space-4);
}

.design-system-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-type-grid > div {
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.design-system-type-grid span,
.design-system-type-grid p {
  display: block;
  margin: 0;
  color: var(--retro-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.design-system-type-grid strong {
  display: block;
  margin: var(--retro-space-2) 0;
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.design-system-swatches {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.design-system-swatch {
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--retro-space-4);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.design-system-swatch span {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-swatch--ink {
  color: var(--retro-white);
  background: var(--retro-ink);
}

.design-system-swatch--paper {
  background: var(--retro-paper);
}

.design-system-swatch--blue {
  color: var(--retro-white);
  background: var(--retro-blue);
}

.design-system-swatch--yellow {
  background: var(--retro-yellow);
}

.design-system-swatch--green {
  background: var(--retro-green);
}

.design-system-swatch--pink {
  background: var(--retro-pink);
}

.design-system-swatch--cyan {
  background: var(--retro-cyan);
}

.design-system-swatch--red {
  background: var(--retro-red);
}

.design-system-space-list {
  display: grid;
  gap: var(--retro-space-3);
}

.design-system-space-list div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) 4rem;
  gap: var(--retro-space-3);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-space-list i {
  display: block;
  height: 1.35rem;
  min-width: 0.25rem;
  background: var(--retro-blue);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
}

.design-system-border-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-border-sample {
  display: grid;
  min-height: 8rem;
  place-items: center;
  padding: var(--retro-space-4);
  background: var(--retro-paper-light);
  border: var(--retro-border-lg) dashed var(--retro-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.design-system-motion-grid {
  grid-template-columns: auto 4rem minmax(14rem, 1fr);
  align-items: center;
}

.design-system-blink {
  width: 2rem;
  height: 2rem;
  background: var(--retro-pink);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  animation: design-system-blink 1s steps(2, start) infinite;
}

.design-system-sprite-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--retro-space-4);
}

.design-system-sprite-grid div {
  display: grid;
  gap: var(--retro-space-2);
  justify-items: center;
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-sprite-grid img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.design-system-control-row {
  grid-template-columns: repeat(5, minmax(0, max-content));
  align-items: center;
}

.design-system-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--retro-space-5);
}

.design-system-form label {
  display: grid;
  gap: var(--retro-space-2);
  font-weight: 700;
}

.design-system-form label span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.design-system-link-copy a {
  color: var(--retro-ink);
  font-weight: 700;
  text-decoration-color: var(--retro-ink);
  text-decoration-style: dashed;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.design-system-link-copy a:hover,
.design-system-link-copy a:focus {
  color: var(--retro-white);
  background: var(--retro-ink);
  outline: 0;
  text-decoration-style: solid;
}

.design-system-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-2);
}

.design-system-list-grid,
.design-system-meter-stack,
.design-system-component-grid {
  display: grid;
  gap: var(--retro-space-4);
}

.design-system-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-system-meter-stack {
  max-width: 42rem;
}

.design-system-component-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-blog-card,
.design-system-chore-card {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  justify-content: space-between;
}

.design-system-blog-card {
  background: #f5f5eb;
}

.design-system-blog-card img,
.design-system-chore-card img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  align-self: flex-end;
  filter: drop-shadow(4px 4px 0 rgba(5, 5, 5, 0.35));
}

.design-system-blog-card p,
.design-system-save-card p,
.design-system-chore-card p {
  margin: var(--retro-space-3) 0;
  line-height: 1.5;
}

.design-system-save-card {
  display: grid;
  gap: var(--retro-space-4);
  background: var(--retro-cyan);
}

.design-system-save-card > img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.design-system-save-card span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-chore-card {
  background: var(--retro-green);
}

.design-system-chore-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--retro-space-4);
}

.design-system-chore-card__footer strong {
  font-family: var(--font-mono);
  font-size: 2rem;
}

.design-system-feedback-grid,
.design-system-loading-grid,
.design-system-voice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-system-feedback-grid .retro-callout {
  grid-row: span 2;
}

.design-system-loading-grid {
  align-items: stretch;
}

@keyframes design-system-scan {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 48px;
  }
}

@keyframes design-system-blink {
  50% {
    opacity: 0;
  }
}

.books-page {
  --books-ink: #101413;
  --books-paper: #edf7ee;
  --books-shelf: #21343a;
  --books-gold: #f6c343;
  --books-red: #c9344b;
  --books-blue: #3977c4;
  --books-green: #78b977;
  --books-rose: #f0a7ac;

  position: relative;
  min-height: 100%;
  overflow: hidden;
  color: var(--books-ink);
  background-color: var(--books-paper);
  background-image:
    linear-gradient(90deg, rgba(16, 20, 19, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 20, 19, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.books-page > * {
  position: relative;
}

.books-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem;
  color: white;
  background:
    linear-gradient(90deg, rgba(246, 195, 67, 0.18) 1px, transparent 1px),
    var(--books-shelf);
  background-size: 18px 18px;
  border-bottom: 4px solid var(--books-ink);
}

.books-hero__copy {
  max-width: 47rem;
}

.books-kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  color: var(--books-ink);
  background: var(--books-gold);
  border: 4px solid var(--books-ink);
  box-shadow: 4px 4px 0 0 var(--books-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.books-hero h1 {
  margin: 0;
  color: white;
  font-family: var(--font-mono);
  font-size: 6.5rem;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 var(--books-red), 10px 10px 0 var(--books-ink);
}

.books-hero__copy > p:not(.books-kicker) {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: 1.35rem;
  line-height: 1.55;
}

.books-hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22rem;
  overflow: hidden;
  padding: 0;
  background: var(--books-gold);
  border: 4px solid var(--books-ink);
  box-shadow: 10px 10px 0 0 var(--books-ink);
  transform: rotate(1.5deg);
}

.books-hero__art img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.books-hero__stats {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.2rem;
  min-width: 9rem;
  padding: 0.75rem;
  color: white;
  background: var(--books-ink);
  border: 3px solid white;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 82rem;
  margin: 0 auto;
  padding: 4rem;
}

.book-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  overflow: hidden;
  background: white;
  border: 4px solid var(--books-ink);
  box-shadow: 7px 7px 0 0 var(--books-ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.8rem;
  background: var(--book-accent, var(--books-gold));
  border-bottom: 4px solid var(--books-ink);
}

.book-card__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.book-card--marigold,
.book-detail--marigold {
  --book-accent: var(--books-gold);
}

.book-card--sage,
.book-detail--sage {
  --book-accent: var(--books-green);
}

.book-card--denim,
.book-detail--denim {
  --book-accent: var(--books-blue);
}

.book-card--rose,
.book-detail--rose {
  --book-accent: var(--books-rose);
}

.book-card:hover,
.book-card:focus-within {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 0 var(--books-ink);
}

.book-card:focus-within {
  outline: 4px solid var(--books-blue);
  outline-offset: 4px;
}

.book-card__cover {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 18rem;
  padding: 2rem 1.25rem 1rem;
  background:
    linear-gradient(0deg, var(--books-shelf) 0 1.2rem, transparent 1.2rem),
    #d9ebe3;
}

.book-card__cover img {
  width: 10rem;
  height: 14rem;
  object-fit: contain;
  background: white;
  border: 3px solid var(--books-ink);
  box-shadow: 6px 7px 0 0 rgba(16, 20, 19, 0.45);
}

.book-card__body {
  padding: 1.2rem;
}

.book-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.book-card__author,
.book-card__date,
.book-card__rating,
.book-rating {
  margin: 0;
  color: #3f524d;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.book-rating {
  display: inline-grid;
  flex: 0 0 auto;
  gap: 0;
  min-width: auto;
  padding: 0.1rem 0 0;
  color: var(--books-ink);
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.book-rating__hearts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
}

.book-rating__heart {
  width: 1.05rem;
  height: 1.05rem;
  image-rendering: pixelated;
  filter: drop-shadow(1px 1px 0 rgb(43 30 34 / 0.55));
}

.book-rating__heart--empty {
  opacity: 0.72;
  filter: drop-shadow(1px 1px 0 rgb(43 30 34 / 0.35));
}

.book-card h2 {
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  line-height: 1.05;
}

.book-card__body > p:not(.book-card__author):not(.book-card__date):not(.book-card__rating) {
  margin: 0.85rem 0 1rem;
  line-height: 1.55;
}

.book-card__takeaway {
  position: relative;
  margin-top: 1rem;
  padding: 0.35rem 0 0.1rem 1rem;
  background: transparent;
  border: 0;
  border-left: 5px solid var(--book-accent, var(--books-gold));
  box-shadow: none;
}

.book-card__takeaway span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--books-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
}

.book-card__takeaway p {
  margin: 0;
  color: #3f524d;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.45;
}

.book-card__date {
  margin-top: 1rem;
}

.book-card__tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.book-card__tags a {
  color: var(--books-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.book-card__tags a::before {
  content: "#";
}

.book-card__tags a:hover,
.book-card__tags a:focus {
  color: white;
  background: var(--books-ink);
  outline: 0;
}

.book-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  color: white;
  background: var(--books-shelf);
  border-top: 4px solid var(--books-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.books-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  background: white;
  border: 4px dashed var(--books-ink);
  box-shadow: 7px 7px 0 0 var(--books-ink);
}

.books-empty p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.25rem;
}

.books-empty a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 0.85rem;
  color: var(--books-ink);
  background: var(--books-gold);
  border: 3px solid var(--books-ink);
  box-shadow: 3px 3px 0 0 var(--books-ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease,
    color var(--retro-motion-fast) ease;
}

.book-detail {
  max-width: 74rem;
  margin: 0 auto;
  padding: 4rem;
}

.book-detail__hero {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  padding: 2rem;
  color: var(--books-ink);
  background: var(--book-accent, var(--books-gold));
  border: 4px solid var(--books-ink);
  box-shadow: 8px 8px 0 0 var(--books-ink);
}

.book-detail__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.book-detail__cover img {
  width: 100%;
  max-width: 14rem;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(5px 6px 0 rgb(16 20 19 / 0.35));
}

.book-detail__intro {
  min-width: 0;
}

.book-detail__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.book-detail__topline .book-detail__back {
  margin-bottom: 0;
}

.book-detail__intro > .share-action--book {
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.book-detail__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--books-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.book-detail h1 {
  max-width: 100%;
  margin: 0;
  color: white;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--books-red), 8px 8px 0 var(--books-ink);
}

.book-detail__byline {
  margin: 1rem 0 0;
  color: #233a36;
  font-size: 1.35rem;
}

.book-detail__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin: 1.5rem 0 0;
}

.book-detail__facts div {
  padding: 0 1rem 0 0;
  color: var(--books-ink);
  border-right: 3px solid rgb(16 20 19 / 0.35);
}

.book-detail__facts div:last-child {
  border-right: 0;
}

.book-detail__facts dt {
  color: #31413d;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.book-detail__facts dd {
  margin: 0.15rem 0 0;
  color: var(--books-ink);
  font-weight: 700;
}

.book-detail__rating {
  transform: none;
}

.book-detail__rating-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  color: var(--books-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.book-detail__rating-label {
  color: var(--books-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.book-detail__rating .book-rating__hearts {
  gap: 0.18rem;
}

.book-detail__rating .book-rating__heart {
  width: 1.35rem;
  height: 1.35rem;
}

.book-detail__section {
  padding: 1rem 0 1rem 1rem;
  background: transparent;
  border-left: 5px solid var(--book-accent, var(--books-gold));
}

.book-detail__section--lead {
  margin: 2rem 0;
  padding: 1.2rem 0 1.2rem 1.25rem;
}

.book-detail__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.book-detail__section--wide {
  grid-column: 1 / -1;
}

.book-detail__section-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.book-detail__section-heading span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.book-detail__section-icon {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 rgb(16 20 19 / 0.35));
}

.book-detail__section p,
.book-detail__quotes p {
  margin: 0;
  color: #31413d;
  font-size: 1.08rem;
  line-height: 1.55;
}

.book-detail__section--lead p,
.book-detail__section--wide p {
  font-size: 1.2rem;
}

.book-detail__section strong {
  color: var(--books-ink);
  font-family: var(--font-mono);
}

.book-detail__quotes {
  display: grid;
  gap: 0.75rem;
}

.book-detail__quotes p {
  padding-left: 1rem;
  border-left: 3px solid rgba(16, 20, 19, 0.25);
  font-style: italic;
}

.book-detail__rubric-section {
  margin: 2rem 0;
  padding: 1.2rem 0 1.2rem 1.25rem;
}

.book-rubric,
.book-form-rubric {
  --rubric-accuracy: var(--books-red, #c9344b);
  --rubric-depth: var(--books-green, #78b977);
  --rubric-structure: var(--books-blue, #3977c4);
  --rubric-usefulness: var(--books-gold, #f6c343);
  --rubric-writing: var(--books-rose, #f0a7ac);
}

.book-rubric {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.8rem;
}

.book-rubric__chart-panel {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  justify-items: center;
  padding: 1rem;
  background: white;
  border: 4px solid var(--books-ink);
  box-shadow: 5px 5px 0 0 var(--books-ink);
}

.book-rubric-radar {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  overflow: visible;
}

.book-rubric-radar__grid {
  fill: none;
  stroke: rgba(16, 20, 19, 0.2);
  stroke-width: 1.5;
}

.book-rubric-radar__axis {
  stroke: rgba(16, 20, 19, 0.26);
  stroke-width: 1.5;
}

.book-rubric-radar__shape {
  fill: rgba(57, 119, 196, 0.28);
  stroke: var(--books-blue, #3977c4);
  stroke-linejoin: round;
  stroke-width: 5;
  filter: drop-shadow(3px 4px 0 rgb(16 20 19 / 0.22));
}

.book-rubric-radar__dot {
  fill: white;
  stroke: var(--books-blue, #3977c4);
  stroke-width: 4;
}

.book-rubric-radar__label {
  fill: var(--books-ink, #101413);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-anchor: middle;
}

.book-rubric__final {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.25rem 0.8rem;
  align-items: baseline;
  width: 100%;
  padding: 0.7rem;
  color: var(--books-ink);
  background: var(--books-gold);
  border: 3px solid var(--books-ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.book-rubric__final span,
.book-rubric__final em {
  font-size: 0.75rem;
  font-style: normal;
}

.book-rubric__final strong {
  font-size: 1.6rem;
  line-height: 1;
}

.book-rubric__final em {
  grid-column: 1 / -1;
}

.book-rubric__scores {
  display: grid;
  gap: 0.75rem;
}

.book-rubric__score {
  padding: 0.8rem;
  background: white;
  border: 3px solid var(--books-ink);
  border-left-width: 0.9rem;
  border-left-color: var(--rubric-color);
  box-shadow: 4px 4px 0 0 var(--books-ink);
}

.book-rubric__score--accuracy,
.book-form-rubric__category--accuracy {
  --rubric-color: var(--rubric-accuracy);
}

.book-rubric__score--depth,
.book-form-rubric__category--depth {
  --rubric-color: var(--rubric-depth);
}

.book-rubric__score--structure,
.book-form-rubric__category--structure {
  --rubric-color: var(--rubric-structure);
}

.book-rubric__score--usefulness,
.book-form-rubric__category--usefulness {
  --rubric-color: var(--rubric-usefulness);
}

.book-rubric__score--writing,
.book-form-rubric__category--writing {
  --rubric-color: var(--rubric-writing);
}

.book-rubric__score div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.book-rubric__score span,
.book-rubric__score strong {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.book-rubric__score p {
  margin: 0.35rem 0 0;
  color: #31413d;
  font-size: 1rem;
  line-height: 1.4;
}

.book-form-rubric {
  --books-ink: #101413;
  --books-gold: #f6c343;
  --books-red: #c9344b;
  --books-blue: #3977c4;
  --books-green: #78b977;
  --books-rose: #f0a7ac;
  --rubric-color: var(--books-gold);
}

.book-form-rubric__header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.book-form-rubric__header h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.book-form-rubric__header p {
  margin: 0.35rem 0 0;
  color: #4b5563;
}

.book-form-rubric__clear {
  padding: 0.55rem 0.75rem;
  color: white;
  background: var(--books-ink);
  border: 3px solid var(--books-ink);
  box-shadow: 3px 3px 0 0 var(--books-gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.book-form-rubric__clear:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--books-gold);
}

.book-form-rubric__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(5.5rem, 1fr));
  gap: 0.5rem;
  min-width: min(100%, 24rem);
}

.book-form-rubric__summary div {
  padding: 0.55rem;
  color: var(--books-ink);
  background: var(--books-gold);
  border: 3px solid var(--books-ink);
  box-shadow: 3px 3px 0 0 var(--books-ink);
}

.book-form-rubric__summary span,
.book-form-rubric__summary strong {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.book-form-rubric__summary span {
  font-size: 0.66rem;
}

.book-form-rubric__summary strong {
  margin-top: 0.2rem;
  font-size: 1rem;
}

.book-form-rubric__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem);
  gap: 1rem;
  align-items: start;
}

.book-form-rubric__categories {
  display: grid;
  gap: 1rem;
}

.book-form-rubric__category {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 3px solid var(--books-ink);
  box-shadow: 4px 4px 0 0 var(--books-ink);
}

.book-form-rubric__category legend {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  color: var(--books-ink);
  background: white;
  border: 3px solid var(--books-ink);
  border-left: 0.75rem solid var(--rubric-color);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.book-form-rubric__category legend span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: white;
  background: var(--books-ink);
}

.book-form-rubric__category > p {
  margin: 0.75rem 0;
  color: #4b5563;
}

.book-form-rubric__buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(2.5rem, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.book-form-rubric__buttons label {
  display: block;
  min-width: 0;
}

.book-form-rubric__buttons input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.book-form-rubric__buttons span {
  display: grid;
  place-items: center;
  min-height: 2.5rem;
  padding: 0 0.45rem;
  color: var(--books-ink);
  background: #fff;
  border: 3px solid var(--books-ink);
  box-shadow: 3px 3px 0 0 var(--books-ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.book-form-rubric__buttons input:checked + span {
  color: white;
  background: var(--books-ink);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--books-ink);
}

.book-form-rubric__buttons input:focus-visible + span {
  outline: 3px solid var(--books-blue);
  outline-offset: 3px;
}

.book-form-rubric__guide {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-form-rubric__guide li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  color: #4b5563;
  font-size: 0.85rem;
  line-height: 1.3;
}

.book-form-rubric__guide strong {
  color: var(--books-ink);
  font-family: var(--font-mono);
}

.book-form-rubric__radar {
  position: sticky;
  top: 1rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #d9ebe3;
  border: 4px solid var(--books-ink);
  box-shadow: 5px 5px 0 0 var(--books-ink);
}

.book-form-rubric__radar .book-rubric-radar {
  width: min(100%, 18rem);
}

.projects-page {
  --projects-ink: #050505;
  --projects-paper: #fff1a8;
  --projects-blue: #2f6df6;
  --projects-green: #21c66a;
  --projects-yellow: #ffd43b;
  --projects-pink: #ff62a5;
  --projects-cyan: #44d7ff;

  position: relative;
  overflow: hidden;
  min-height: 100%;
  color: var(--projects-ink);
  background-color: var(--projects-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px);
  background-size: 32px 32px;
}

.projects-page > * {
  position: relative;
}

.projects-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 2rem;
  align-items: stretch;
  padding: clamp(2rem, 6vw, 5rem);
  border-bottom: 4px solid var(--projects-ink);
  background-color: #ffe060;
}

.projects-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46rem;
}

.projects-hero__copy > .blog-breadcrumbs {
  width: auto;
  max-width: 100%;
  margin: 0 0 1.35rem;
  padding: 0;
}

.projects-hero__copy .blog-breadcrumbs__current {
  background-image: linear-gradient(white, white);
}

.projects-hero h1 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 0.85;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 white, 10px 10px 0 var(--projects-pink);
}

.projects-hero__copy > p {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.projects-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.projects-hero__chips span {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  color: var(--projects-ink);
  background: white;
  border: 3px solid var(--projects-ink);
  box-shadow: 3px 3px 0 0 var(--projects-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.projects-console {
  align-self: center;
  padding: 0.8rem;
  background: #141414;
  border: 4px solid var(--projects-ink);
  box-shadow: 10px 10px 0 0 var(--projects-ink);
  transform: rotate(1.5deg);
}

.projects-console__screen {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  padding: 1.25rem;
  color: white;
  background-color: #12233d;
  border: 4px solid #050505;
}

.projects-console__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px,
    transparent 6px
  );
  animation: projects-scan 5s linear infinite;
}

.projects-player {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  align-items: center;
}

.projects-player__portrait {
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  background: var(--projects-cyan);
  border: 4px solid white;
  box-shadow: 4px 4px 0 0 #050505;
}

.projects-player__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-player__label {
  margin: 0;
  color: var(--projects-yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.projects-player__name {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  line-height: 1;
}

.projects-meter {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
}

.projects-meter span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--projects-yellow);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.projects-meter div {
  height: 1rem;
  background: #050505;
  border: 3px solid white;
}

.projects-meter i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--projects-green) 0,
    var(--projects-green) 12px,
    #97ff5d 12px,
    #97ff5d 16px
  );
}

.projects-console__prompt {
  position: relative;
  z-index: 1;
  margin: 2rem 0 0;
  padding: 0.85rem;
  color: white;
  background: #050505;
  border: 3px solid white;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.5;
}

.projects-console__prompt span {
  display: inline-block;
  width: 0.7rem;
  height: 1rem;
  margin-left: 0.2rem;
  vertical-align: text-bottom;
  background: white;
  animation: projects-blink 1s steps(2, start) infinite;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.project-card {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 1rem;
  cursor: pointer;
  background: white;
  border: 4px solid var(--projects-ink);
  box-shadow: 7px 7px 0 0 var(--projects-ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card::after {
  content: "";
  display: block;
  clear: both;
}

.project-card__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.project-card--yellow {
  background: var(--projects-yellow);
}

.project-card--green {
  background: var(--projects-green);
}

.project-card--blue {
  background: var(--projects-cyan);
}

.project-card--pink {
  background: var(--projects-pink);
}

.project-card:hover,
.project-card:focus-within,
.project-card:focus {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 0 var(--projects-ink);
}

.project-card:focus {
  outline: 4px solid var(--projects-blue);
  outline-offset: 4px;
}

.project-card__sprite {
  float: right;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 0 0.75rem 1rem;
}

.project-card__sprite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(4px 4px 0 rgba(5, 5, 5, 0.42));
}

.project-card h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  line-height: 1;
}

.project-card > p {
  margin: 0.85rem 0 1rem;
  line-height: 1.55;
}

.project-card__stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  clear: both;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.project-card__stack a {
  color: var(--projects-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.project-card__stack a::before {
  content: "#";
}

.project-card__stack a:not(:last-child)::after {
  content: " /";
  text-decoration: none;
}

.project-card__stack a:hover,
.project-card__stack a:focus {
  color: white;
  background: var(--projects-ink);
  outline: 0;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 3px solid var(--projects-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.project-detail {
  --projects-ink: #050505;
  --projects-paper: #fff1a8;
  --projects-blue: #2f6df6;
  --projects-green: #21c66a;
  --projects-yellow: #ffd43b;
  --projects-pink: #ff62a5;
  --projects-cyan: #44d7ff;
  --project-blueprint: #0f3f7f;
  --project-blueprint-deep: #082654;
  --project-blueprint-paper: #edf9ff;
  --project-blueprint-line: #8cecff;
  --project-blueprint-muted: rgba(140, 236, 255, 0.24);
  --project-detail-accent: var(--projects-yellow);

  position: relative;
  min-height: 100%;
  overflow: hidden;
  color: var(--project-blueprint-paper);
  background-color: var(--project-blueprint);
  background-image:
    linear-gradient(90deg, rgba(140, 236, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 236, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.07) 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
}

.project-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.18) calc(100% - 1px)),
    repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(255, 255, 255, 0.12) 47px, rgba(255, 255, 255, 0.12) 48px);
  background-position: 8vw 0, 0 0;
  background-size: 16vw 100%, 100% 48px;
  opacity: 0.32;
}

.project-detail > * {
  position: relative;
  z-index: 1;
}

.project-detail--yellow {
  --project-detail-accent: var(--projects-yellow);
}

.project-detail--green {
  --project-detail-accent: var(--projects-green);
}

.project-detail--blue {
  --project-detail-accent: var(--projects-cyan);
}

.project-detail--pink {
  --project-detail-accent: var(--projects-pink);
}

.project-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  padding: clamp(2rem, 6vw, 5rem);
  border-bottom: 4px solid var(--projects-ink);
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.18) 1px, transparent 1px),
    rgba(8, 38, 84, 0.72);
  background-size: 48px 48px;
}

.project-detail__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.project-detail__intro > .blog-breadcrumbs {
  width: auto;
  max-width: 100%;
  margin: 0 0 1.35rem;
  padding: 0;
}

.project-detail__intro .blog-breadcrumbs a,
.project-detail__intro .blog-breadcrumbs__current,
.project-detail__intro .blog-breadcrumbs__text {
  color: var(--project-blueprint-paper);
  background-image: linear-gradient(rgba(140, 236, 255, 0.28), rgba(140, 236, 255, 0.28));
}

.project-detail__kicker,
.project-detail__section-heading p,
.project-detail__section-kicker {
  margin: 0;
  color: var(--project-blueprint-line);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.project-detail h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.86;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: var(--project-blueprint-paper);
  text-shadow: 4px 4px 0 var(--projects-ink), 8px 8px 0 rgba(68, 215, 255, 0.9);
}

.project-detail__summary {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--project-blueprint-paper);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.project-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.project-detail__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--projects-ink);
  background: var(--projects-yellow);
  border: 3px solid var(--projects-ink);
  box-shadow: 4px 4px 0 0 var(--projects-ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-detail__button--secondary {
  color: var(--project-blueprint-paper);
  background: var(--project-blueprint-deep);
  border-color: var(--project-blueprint-line);
  box-shadow: 4px 4px 0 0 var(--projects-ink);
}

.project-detail__button:hover,
.project-detail__button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--projects-ink);
  outline: 0;
}

.project-detail__actions .share-action {
  margin-top: 0;
}

.project-detail__visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  align-self: center;
  padding: 0.8rem;
  background: #06162f;
  border: 4px solid var(--projects-ink);
  box-shadow: 10px 10px 0 0 var(--projects-ink), inset 0 0 0 2px var(--project-blueprint-line);
  transform: rotate(1deg);
}

.project-detail__image-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: clamp(1rem, 4vw, 2rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.16) 1px, transparent 1px),
    #10356e;
  background-size: 28px 28px;
  border: 4px solid var(--projects-ink);
}

.project-detail__image-frame::before {
  content: "";
  position: absolute;
  inset: 0.85rem;
  pointer-events: none;
  border: 2px dashed rgba(140, 236, 255, 0.48);
}

.project-detail__image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 6px
    );
  animation: projects-scan 5s linear infinite;
}

.project-detail__image-frame img {
  position: relative;
  z-index: 2;
  width: min(100%, 22rem);
  height: auto;
  max-height: 24rem;
  object-fit: contain;
  filter: drop-shadow(7px 7px 0 rgba(5, 5, 5, 0.48));
}

.project-detail__facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
  color: white;
  background: #050505;
  border: 3px solid var(--project-blueprint-line);
}

.project-detail__facts div {
  display: grid;
  gap: 0.35rem;
}

.project-detail__facts dt {
  color: var(--projects-yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-detail__facts dd {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin: 0;
  line-height: 1.45;
}

.project-detail__facts a {
  color: white;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.project-detail__screens,
.project-detail__body,
.project-detail__links {
  width: min(100% - 2rem, 78rem);
  margin: 0 auto;
}

.project-detail__screens {
  padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.project-detail__section-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.project-detail__section-heading h2,
.project-detail__section h2 {
  margin: 0;
  color: inherit;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.project-detail__screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-detail__screen {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.14) 1px, transparent 1px),
    #10356e;
  background-size: 24px 24px;
  border: 4px solid var(--projects-ink);
  box-shadow: 6px 6px 0 0 var(--projects-ink), inset 0 0 0 2px var(--project-blueprint-line);
}

.project-detail__screen::before,
.project-detail__section::before,
.project-detail__link::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  border-top: 2px solid var(--project-blueprint-line);
  border-left: 2px solid var(--project-blueprint-line);
}

.project-detail__screen::after,
.project-detail__section::after,
.project-detail__link::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  border-right: 2px solid var(--project-blueprint-line);
  border-bottom: 2px solid var(--project-blueprint-line);
}

.project-detail__screen img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.project-detail__screen--fallback {
  display: grid;
  place-items: center;
  max-width: 36rem;
  min-height: 20rem;
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.14) 1px, transparent 1px),
    #10356e;
  background-size: 24px 24px;
}

.project-detail__screen--fallback img {
  width: min(100%, 18rem);
  min-height: 0;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(6px 6px 0 rgba(5, 5, 5, 0.45));
}

.project-detail__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.project-detail__section {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #081a35;
  background:
    linear-gradient(90deg, rgba(47, 109, 246, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 109, 246, 0.08) 1px, transparent 1px),
    var(--project-blueprint-paper);
  background-size: 18px 18px;
  border: 4px solid var(--projects-ink);
  box-shadow: 6px 6px 0 0 var(--projects-ink), inset 0 0 0 2px rgba(140, 236, 255, 0.72);
}

.project-detail__section--lead {
  grid-column: 1 / -1;
  color: var(--project-blueprint-paper);
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.18) 1px, transparent 1px),
    #123d78;
  background-size: 24px 24px;
}

.project-detail__section h2 {
  margin-top: 0.25rem;
}

.project-detail__section .project-detail__section-kicker {
  color: #1f5fb5;
}

.project-detail__section--lead .project-detail__section-kicker {
  color: var(--project-blueprint-line);
}

.project-detail__section p:not(.project-detail__section-kicker) {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.project-detail__links {
  padding: 0 0 clamp(2rem, 5vw, 4rem);
}

.project-detail__link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-detail__link {
  position: relative;
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem;
  color: var(--project-blueprint-paper);
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.15) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.15) 1px, transparent 1px),
    var(--project-blueprint-deep);
  background-size: 18px 18px;
  border: 4px solid var(--projects-ink);
  box-shadow: 5px 5px 0 0 var(--projects-ink), inset 0 0 0 2px var(--project-blueprint-line);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-detail__link span {
  color: var(--project-blueprint-line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.project-detail__link strong {
  overflow-wrap: anywhere;
}

.project-detail__link:hover,
.project-detail__link:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 0 var(--projects-ink);
  outline: 0;
}

.project-detail .related-content {
  color: var(--project-blueprint-paper);
  background:
    linear-gradient(90deg, rgba(140, 236, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 236, 255, 0.16) 1px, transparent 1px),
    var(--project-blueprint-deep);
  background-size: 24px 24px;
  border-color: var(--projects-ink);
  box-shadow: 7px 7px 0 0 var(--projects-ink), inset 0 0 0 2px var(--project-blueprint-line);
}

.project-detail .related-content__header p {
  color: var(--projects-ink);
  background: var(--projects-yellow);
}

.project-detail .blog-post-card {
  background:
    linear-gradient(90deg, rgba(47, 109, 246, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 109, 246, 0.07) 1px, transparent 1px),
    var(--project-blueprint-paper);
  background-size: 18px 18px;
}

@keyframes projects-scan {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 48px;
  }
}

@keyframes projects-blink {
  50% {
    opacity: 0;
  }
}

.resume-page {
  --resume-ink: #050505;
  --resume-paper: #fff1a8;
  --resume-blue: #2f6df6;
  --resume-green: #21c66a;
  --resume-yellow: #ffd43b;
  --resume-pink: #ff62a5;
  --resume-cyan: #44d7ff;
  --resume-red: #ff5a5f;

  min-height: 100%;
  color: var(--resume-ink);
  background-color: var(--resume-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px);
  background-size: 32px 32px;
}

.resume-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background: #ffe060;
  border-bottom: 4px solid var(--resume-ink);
}

.resume-hero__copy {
  max-width: 44rem;
}

.resume-kicker {
  display: inline-block;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.45rem 0.7rem;
  color: white;
  text-transform: uppercase;
  background: var(--resume-blue);
  border: 4px solid var(--resume-ink);
  box-shadow: 4px 4px 0 0 var(--resume-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.2;
}

.resume-hero h1 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 white, 10px 10px 0 var(--resume-pink);
}

.resume-hero__copy > p:not(.resume-kicker) {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.resume-contact span,
.resume-contact a {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  color: var(--resume-ink);
  background: white;
  border: 3px solid var(--resume-ink);
  box-shadow: 3px 3px 0 0 var(--resume-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.resume-contact a:hover,
.resume-contact a:focus {
  color: white;
  background: var(--resume-ink);
  outline: 0;
}

.resume-hero__art {
  margin: 0;
  padding: 0.8rem;
  background: #141414;
  border: 4px solid var(--resume-ink);
  box-shadow: 10px 10px 0 0 var(--resume-ink);
  transform: rotate(1deg);
}

.resume-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--resume-ink);
  image-rendering: auto;
}

.resume-stats,
.resume-credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.resume-stat-card,
.resume-credits > div,
.resume-job {
  background: white;
  border: 4px solid var(--resume-ink);
  box-shadow: 7px 7px 0 0 var(--resume-ink);
}

.resume-stat-card,
.resume-credits > div {
  padding: 1.25rem;
}

.resume-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
}

.resume-stat-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 9rem;
  height: 9rem;
  background:
    linear-gradient(var(--resume-ink), var(--resume-ink)) 3rem 0 / 3rem 9rem,
    linear-gradient(var(--resume-ink), var(--resume-ink)) 0 3rem / 9rem 3rem,
    var(--resume-yellow);
  background-repeat: no-repeat;
  border: 4px solid var(--resume-ink);
  opacity: 0.16;
  transform: rotate(12deg);
}

.resume-stat-card--attributes {
  background: #d8ecff;
}

.resume-stat-card--inventory {
  background: #fffdf1;
}

.resume-stats h2,
.resume-credits h2,
.resume-section-heading h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.resume-attribute-list,
.resume-inventory-grid,
.resume-job ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.resume-attribute-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
}

.resume-attribute-list li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 3px solid rgba(5, 5, 5, 0.25);
}

.resume-attribute-list li:first-child {
  border-top: 3px solid rgba(5, 5, 5, 0.25);
}

.resume-attribute-list img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(5, 5, 5, 0.24));
}

.resume-attribute-list__content div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.resume-attribute-list__content span {
  flex: 0 0 auto;
  color: white;
  background: var(--resume-blue);
  border: 2px solid var(--resume-ink);
  padding: 0.1rem 0.35rem;
}

.resume-attribute-list meter {
  display: block;
  width: 100%;
  height: 1rem;
  border: 3px solid var(--resume-ink);
  background: #12233d;
}

.resume-attribute-list meter::-webkit-meter-bar {
  background: #12233d;
  border: 0;
  border-radius: 0;
}

.resume-attribute-list meter::-webkit-meter-optimum-value {
  background: repeating-linear-gradient(
    90deg,
    var(--resume-green) 0,
    var(--resume-green) 12px,
    #97ff5d 12px,
    #97ff5d 16px
  );
  border-radius: 0;
}

.resume-attribute-list meter::-moz-meter-bar {
  background: repeating-linear-gradient(
    90deg,
    var(--resume-green) 0,
    var(--resume-green) 12px,
    #97ff5d 12px,
    #97ff5d 16px
  );
}

.resume-inventory-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.2rem, 1fr));
  gap: 0.85rem 0.6rem;
}

.resume-inventory-grid li {
  display: grid;
  gap: 0.25rem;
  align-items: start;
  justify-items: center;
  color: var(--resume-ink);
}

.resume-inventory-grid img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(5, 5, 5, 0.24));
}

.resume-inventory-grid strong {
  display: block;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 1.2vw, 0.78rem);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.resume-stat-card--inventory h2 {
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
}

.resume-job li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.55;
}

.resume-job li + li {
  margin-top: 0.55rem;
}

.resume-job li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--resume-red);
  border: 2px solid var(--resume-ink);
}

.resume-timeline {
  display: grid;
  gap: 1.25rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
}

.resume-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.resume-job {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  overflow: hidden;
}

.resume-job__meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: white;
  background: #12233d;
  border-right: 4px solid var(--resume-ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.resume-job__meta span,
.resume-job__meta strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
}

.resume-job__body {
  position: relative;
  padding: 1.15rem 1.25rem 1.25rem;
}

.resume-job__heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4rem;
  padding-right: min(22rem, 48%);
}

.resume-job__heading img {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(5, 5, 5, 0.3));
}

.resume-job h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1;
}

.resume-job h3 span {
  display: inline-block;
  color: #4b5563;
  font-size: 0.6em;
}

.resume-job__role {
  width: fit-content;
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  margin: 0;
  padding: 0.25rem 0.45rem;
  color: var(--resume-ink);
  background: var(--resume-yellow);
  border: 3px solid var(--resume-ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.resume-job__body > p:last-child,
.resume-credits p {
  margin: 0.75rem 0 0;
  line-height: 1.55;
}

.resume-credits {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.resume-credits .resume-kicker {
  margin-bottom: 1.5rem;
}

.resume-credits > div:first-child {
  background: var(--resume-cyan);
}

.resume-credits > div:last-child {
  background: var(--resume-pink);
}

@media (max-width: 68rem) {
  .blog-header__more {
    display: block;
  }

  .blog-header__link--more-collapse {
    display: none;
  }

  .design-system-hero,
  .design-system-shell {
    grid-template-columns: 1fr;
  }

  .design-system-hero {
    padding: var(--retro-space-8) var(--retro-space-5);
  }

  .design-system-hero h1 {
    font-size: 4.4rem;
  }

  .design-system-cabinet {
    max-width: 34rem;
    transform: none;
  }

  .design-system-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-system-type-grid,
  .design-system-border-grid,
  .design-system-component-grid,
  .design-system-feedback-grid,
  .design-system-loading-grid,
  .design-system-voice-grid {
    grid-template-columns: 1fr;
  }

  .design-system-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-system-sprite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .design-system-control-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-system-control-row .retro-button {
    width: 100%;
  }

  .books-hero,
  .projects-hero,
  .project-detail__hero,
  .resume-hero,
  .resume-stats,
  .resume-credits {
    grid-template-columns: 1fr;
  }

  .books-hero__art,
  .projects-console,
  .project-detail__visual {
    transform: none;
  }

  .resume-hero__art {
    transform: none;
  }

  .books-grid,
  .book-detail__sections,
  .book-rubric,
  .projects-grid,
  .project-detail__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-form-rubric__layout {
    grid-template-columns: 1fr;
  }

  .book-form-rubric__radar {
    position: static;
  }

  .book-detail__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 79.99rem) {
  .chores-nav__more {
    display: none;
  }

  .chores-nav__more--always,
  .chores-nav__more--narrow {
    display: block;
  }

  .chores-nav__link--more-collapse,
  .chores-nav__link--narrow-collapse {
    display: none;
  }

  .chores-nav__more-link--narrow-only {
    display: flex;
  }

  .chores-nav__menu {
    display: none;
  }
}

@media (min-width: 48rem) {
  .blog-header__inner,
  .blog-index {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (min-width: 68.001rem) {
  .blog-header__desktop-nav {
    display: grid;
  }

  .blog-header__desktop-social {
    display: flex;
  }
}

@media (min-width: 96rem) {
  .blog-header__inner {
    max-width: 96rem;
  }
}

@media (max-width: 58rem) {
  .blog-header__link--narrow-collapse {
    display: none;
  }

  .blog-header__more-link--narrow-only {
    display: flex;
  }

  .chores-nav__link--narrow-collapse {
    display: none;
  }

  .chores-nav__more--narrow {
    display: block;
  }

  .chores-nav__more-link--narrow-only {
    display: flex;
  }
}

@media (max-width: 42rem) {
  .chores-nav__inner {
    align-items: stretch;
    justify-content: flex-end;
  }

  .chores-nav__desktop-nav {
    display: none;
  }

  .chores-nav__menu {
    display: block;
  }
}

@media (max-width: 64rem) {
  .blog-layout footer > div {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .blog-footer__brand {
    flex-wrap: wrap;
  }

  .footer-analytics {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }

  .admin-analytics__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-analytics__stats,
  .admin-analytics__grid {
    grid-template-columns: 1fr;
  }

  .admin-analytics__stat strong {
    font-size: 1.6rem;
  }

  .blog-header__inner {
    align-items: stretch;
    justify-content: flex-end;
    padding-top: 0.45rem;
    padding-bottom: 0.55rem;
  }

  .blog-header__desktop-nav,
  .blog-header__desktop-social {
    display: none;
  }

  .blog-header__menu {
    display: block;
  }

  .blog-header__menu-toggle {
    width: 100%;
  }

  .blog-breadcrumbs {
    width: min(100% - 1.25rem, 72rem);
    padding-top: 0.7rem;
  }

  .blog-breadcrumbs__list {
    gap: 0.25rem 0.45rem;
    font-size: 0.74rem;
  }

  .blog-breadcrumbs__item {
    gap: 0.45rem;
  }

  .related-content__header {
    display: grid;
    align-items: start;
  }

  .related-content__header h2 {
    text-align: left;
  }

  .related-content__grid {
    grid-template-columns: 1fr;
  }

  .design-system-hero {
    padding: var(--retro-space-6) var(--retro-space-4);
  }

  .design-system-hero h1 {
    font-size: 3rem;
    text-shadow:
      3px 3px 0 var(--retro-white),
      6px 6px 0 var(--retro-pink);
  }

  .design-system-hero__copy > p {
    font-size: 1.05rem;
  }

  .design-system-shell {
    padding: var(--retro-space-6) var(--retro-space-4) var(--retro-space-10);
  }

  .design-system-nav,
  .design-system-swatches,
  .design-system-form,
  .design-system-list-grid,
  .design-system-control-row {
    grid-template-columns: 1fr;
  }

  .design-system-section h2 {
    font-size: 2rem;
  }

  .design-system-section > p {
    font-size: 1rem;
  }

  .design-system-cabinet__screen {
    min-height: 0;
  }

  .design-system-player {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .design-system-player__portrait {
    width: 4.5rem;
    height: 4.5rem;
  }

  .design-system-player__name {
    font-size: 1.5rem;
  }

  .design-system-space-list div {
    grid-template-columns: 5.5rem minmax(0, 1fr) 3.5rem;
  }

  .design-system-motion-grid {
    grid-template-columns: 1fr;
  }

  .design-system-sprite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retro-callout {
    grid-template-columns: 1fr;
  }

  .books-hero {
    padding: 2rem 1rem;
  }

  .books-hero h1 {
    font-size: 3.5rem;
    text-shadow: 3px 3px 0 var(--books-red), 6px 6px 0 var(--books-ink);
  }

  .books-hero__copy > p:not(.books-kicker) {
    font-size: 1.05rem;
  }

  .books-hero__art {
    min-height: 16rem;
  }

  .books-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .book-rubric,
  .book-form-rubric__layout {
    grid-template-columns: 1fr;
  }

  .book-form-rubric__summary,
  .book-form-rubric__buttons {
    grid-template-columns: 1fr;
  }

  .book-detail {
    padding: 2rem 1rem;
  }

  .book-detail__hero {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .book-detail__topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .book-detail__intro > .share-action--book {
    justify-content: flex-end;
  }

  .book-detail h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 0.95;
    text-shadow: 2px 2px 0 var(--books-red), 4px 4px 0 var(--books-ink);
  }

  .book-detail__sections {
    grid-template-columns: 1fr;
  }

  .book-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .projects-hero {
    padding: 2rem 1rem;
  }

  .projects-hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
    text-shadow: 3px 3px 0 white, 6px 6px 0 var(--projects-pink);
  }

  .projects-console__screen {
    min-height: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-detail__hero {
    padding: 2rem 1rem;
  }

  .project-detail h1 {
    max-width: 100%;
    font-size: clamp(3rem, 18vw, 5rem);
    text-shadow: 3px 3px 0 var(--projects-ink), 6px 6px 0 rgba(68, 215, 255, 0.9);
  }

  .project-detail__image-frame {
    min-height: 16rem;
  }

  .project-detail__actions,
  .project-detail__button,
  .project-detail__actions .share-action,
  .project-detail__actions .share-button {
    width: 100%;
  }

  .project-detail__screen-grid,
  .project-detail__body,
  .project-detail__link-list {
    grid-template-columns: 1fr;
  }

  .project-detail__screen img {
    min-height: 14rem;
  }

  .resume-hero {
    padding: 2rem 1rem;
  }

  .resume-hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
    text-shadow: 3px 3px 0 white, 6px 6px 0 var(--resume-pink);
  }

  .resume-stats,
  .resume-timeline,
  .resume-credits {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .resume-section-heading {
    display: block;
  }

  .resume-job {
    grid-template-columns: 1fr;
  }

  .resume-job__meta {
    border-right: 0;
    border-bottom: 4px solid var(--resume-ink);
  }

  .resume-job__heading {
    padding-right: 0;
  }

  .resume-job__role {
    position: static;
    margin: 0.45rem 0 0.85rem;
  }

  .resume-inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 0.35rem;
  }

  .resume-inventory-grid img {
    width: 3.7rem;
    height: 3.7rem;
  }

  .resume-inventory-grid strong {
    font-size: 0.6rem;
  }
}

@media (min-width: 42.001rem) and (max-width: 68rem) {
  .chores-nav__menu {
    display: none;
  }
}

.admin-chore-templates__table {
  table-layout: fixed;
}

.admin-chore-templates__table th,
.admin-chore-templates__table td {
  vertical-align: top;
}

.admin-chore-templates__table th:nth-child(1),
.admin-chore-templates__template-cell {
  width: 34%;
}

.admin-chore-templates__table th:nth-child(2),
.admin-chore-templates__details-cell {
  width: 25%;
}

.admin-chore-templates__table th:nth-child(3),
.admin-chore-templates__assignees-cell {
  width: 21%;
}

.admin-chore-templates__table th:nth-child(4),
.admin-chore-templates__status-cell {
  width: 12%;
}

.admin-chore-templates__table th:nth-child(5),
.admin-chore-templates__actions-cell {
  width: 8%;
}

.admin-chore-templates__details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.admin-chore-templates__details-wide {
  grid-column: 1 / -1;
}

.admin-chore-templates__meta-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #4b5563;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.admin-chore-templates__meta-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-chore-templates__pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.45rem;
  border: 2px solid #000;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-chore-templates__pill--category {
  background: #e0f2fe;
  white-space: normal;
}

.admin-chore-templates__pill--active {
  background: #bbf7d0;
  white-space: nowrap;
}

.admin-chore-templates__pill--disabled {
  background: #fecaca;
  white-space: nowrap;
}

.admin-chore-templates__assignee-list,
.admin-chore-templates__status-stack,
.admin-chore-templates__image-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.admin-chore-templates__status-stack {
  align-items: flex-start;
}

.admin-chore-templates__image-summary {
  color: #4b5563;
  font-size: 0.8rem;
  white-space: nowrap;
}

.admin-chore-templates__thumb {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border: 2px solid #000;
  background: #fef3c7;
}

@media (max-width: 90rem) {
  .admin-projects__table-wrap,
  .admin-books__table-wrap {
    overflow: visible;
  }

  .admin-projects__table,
  .admin-projects__table thead,
  .admin-projects__table tbody,
  .admin-projects__table tr,
  .admin-projects__table td,
  .admin-books__table,
  .admin-books__table thead,
  .admin-books__table tbody,
  .admin-books__table tr,
  .admin-books__table td {
    display: block;
  }

  .admin-projects__table thead,
  .admin-books__table thead {
    display: none;
  }

  .admin-projects__table tbody,
  .admin-books__table tbody {
    border-top: 0;
  }

  .admin-projects__table tr,
  .admin-books__table tr {
    padding: 1rem;
  }

  .admin-projects__table tr + tr,
  .admin-books__table tr + tr {
    border-top: 4px solid #000;
  }

  .admin-projects__table td,
  .admin-books__table td {
    padding: 0.45rem 0;
    text-align: left;
    white-space: normal;
    min-width: 0;
  }

  .admin-projects__table td[data-label]::before,
  .admin-books__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #4b5563;
  }

  .admin-projects__project-cell > div,
  .admin-books__book-cell > div {
    align-items: flex-start;
  }

  .admin-projects__actions-cell > div,
  .admin-books__actions-cell > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.activity-log {
  min-width: 0;
}

.activity-log__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.activity-log__title {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.5rem;
  color: #111827;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.2;
  background: #86efac;
  box-shadow: 4px 4px 0 0 #000;
  transform: rotate(1deg);
}

.activity-log__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-log__body {
  min-width: 0;
  padding: 1rem;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 0 #000;
}

.activity-log__topline,
.activity-log__meta,
.activity-log__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  color: #4b5563;
  font-size: 0.875rem;
}

.activity-log__topline {
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.activity-log__type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.2rem 0.625rem 0.2rem 0.3rem;
  color: #111827;
  font-size: 0.75rem;
  line-height: 1;
  background: #fde047;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 0 #000;
}

.activity-log__item--bluesky-post .activity-log__type {
  background: #67e8f9;
}

.activity-log__item--linkedin-post .activity-log__type {
  background: #c7d2fe;
}

.activity-log__icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.activity-log__source,
.activity-log__project,
.activity-log__message {
  color: #111827;
  overflow-wrap: anywhere;
}

.activity-log__source,
.activity-log__project {
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.activity-log__separator {
  color: #6b7280;
}

.activity-log__message {
  display: block;
  margin: 0.35rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.activity-log__message:hover,
.activity-log__message:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.activity-log__details span:first-child {
  font-family: var(--blog-retro-font);
  color: #111827;
}

.now-page {
  --now-ink: #050505;
  --now-paper: #fff7c7;
  --now-blue: #2459d6;
  --now-green: #22c55e;
  --now-coral: #ff6b6b;
  --now-cyan: #67e8f9;
  --now-yellow: #fde047;

  min-height: 100%;
  padding: 0 0 4rem;
  color: var(--now-ink);
  background-color: var(--now-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

.now-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.36fr);
  gap: 2rem;
  align-items: end;
  padding: 4rem;
  color: white;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    var(--now-blue);
  background-size: 18px 18px;
  border-bottom: 4px solid var(--now-ink);
}

.now-hero__copy {
  max-width: 54rem;
}

.now-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.7rem;
  color: var(--now-ink);
  background: var(--now-yellow);
  border: 4px solid var(--now-ink);
  box-shadow: 4px 4px 0 0 var(--now-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.now-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: white;
  font-family: var(--font-mono);
  font-size: 5.75rem;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 var(--now-coral), 10px 10px 0 var(--now-ink);
}

.now-hero__copy > p:not(.now-kicker) {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  line-height: 1.55;
}

.now-hero__status {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  color: var(--now-ink);
  background: white;
  border: 4px solid var(--now-ink);
  box-shadow: 7px 7px 0 0 var(--now-ink);
  transform: rotate(1deg);
}

.now-hero__status span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.now-hero__status strong,
.now-hero__status time {
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
}

.now-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 2rem;
  max-width: 82rem;
  margin: 0 auto;
  padding: 3rem 2rem 0;
}

.now-section {
  min-width: 0;
}

.now-section h2,
.now-section--activity .activity-log__title,
.now-section--activity > h2 {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.5rem;
  color: var(--now-ink);
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
  background: var(--now-green);
  border: 0;
  box-shadow: 4px 4px 0 0 var(--now-ink);
  transform: rotate(-1deg);
}

.now-section--updates,
.now-section--activity {
  grid-column: 1 / -1;
}

.now-theme-list,
.now-update-list,
.now-reading-list,
.now-exploration-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.now-theme,
.now-exploration,
.now-empty {
  padding: 1rem;
  background: white;
  border: 4px solid var(--now-ink);
  box-shadow: 4px 4px 0 0 var(--now-ink);
}

.now-theme h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
}

.now-theme p,
.now-empty {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.now-update-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.now-update,
.now-reading__link {
  display: grid;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1rem;
  color: var(--now-ink);
  text-decoration: none;
  background: white;
  border: 4px solid var(--now-ink);
  box-shadow: 4px 4px 0 0 var(--now-ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.now-update:hover,
.now-update:focus-visible,
.now-reading__link:hover,
.now-reading__link:focus-visible {
  background: #fffdf1;
  outline: 0;
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 0 var(--now-ink);
}

.now-update__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  color: #4b5563;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.now-update__title,
.now-reading__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  line-height: 1.1;
}

.now-update__summary,
.now-reading__takeaway,
.now-reading__author,
.now-reading__date {
  color: #374151;
  font-size: 1rem;
  line-height: 1.45;
}

.now-update__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.now-update__tags span {
  padding: 0.24rem 0.45rem;
  background: var(--now-cyan);
  border: 2px solid var(--now-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.now-reading__author,
.now-reading__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.now-exploration {
  position: relative;
  padding-left: 2.5rem;
  line-height: 1.55;
}

.now-exploration::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--now-coral);
  border: 3px solid var(--now-ink);
  box-shadow: 2px 2px 0 0 var(--now-ink);
}

.now-section--activity {
  max-width: 82rem;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.now-section--activity .activity-log__title {
  background: var(--now-cyan);
}

.now-section--activity .activity-log__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .now-hero,
  .now-page__grid,
  .now-update-list,
  .now-section--activity .activity-log__list {
    grid-template-columns: 1fr;
  }

  .now-hero {
    padding: 3rem 1rem;
  }

  .now-page__grid,
  .now-section--activity {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .now-hero h1 {
    font-size: 3.75rem;
  }
}

@media (max-width: 520px) {
  .now-hero h1 {
    font-size: 2.85rem;
  }

  .now-section h2,
  .now-section--activity .activity-log__title,
  .now-section--activity > h2 {
    font-size: 1.45rem;
  }
}

@media (max-width: 64rem) {
  .admin-chore-templates__table-wrap {
    overflow: visible;
  }

  .admin-chore-templates__table,
  .admin-chore-templates__table thead,
  .admin-chore-templates__table tbody,
  .admin-chore-templates__table tr,
  .admin-chore-templates__table td {
    display: block;
  }

  .admin-chore-templates__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .admin-chore-templates__table tbody {
    border-top: 0;
  }

  .admin-chore-templates__table tr {
    padding: 1rem;
  }

  .admin-chore-templates__table tr + tr {
    border-top: 4px solid #000;
  }

  .admin-chore-templates__table td {
    width: auto;
    min-width: 0;
    padding: 0.45rem 0;
    text-align: left;
    white-space: normal;
  }

  .admin-chore-templates__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    color: #4b5563;
    font-family: var(--font-mono);
    font-size: 0.75rem;
  }

  .admin-chore-templates__details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-chore-templates__actions-cell {
    text-align: left;
  }
}

@media (max-width: 34rem) {
  .admin-chore-templates__details-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-system-cabinet__screen::after,
  .design-system-blink,
  .project-detail__image-frame::after,
  .projects-console__screen::after,
  .projects-console__prompt span {
    animation: none;
  }

  .retro-card,
  .retro-button,
  .cheat-sheet-button,
  .admin-analytics__button,
  .share-button,
  .books-empty a,
  .family-calendar-rotation-next,
  .family-calendar-display-mode-link,
  .blog-header__menu-toggle,
  .project-card,
  .book-card,
  .now-update,
  .now-reading__link,
  .blog-post-card,
  .scroll-progress {
    transition: none;
    animation: none !important;
  }

  .cheat-sheet-button:hover,
  .cheat-sheet-button:focus-visible,
  .admin-analytics__button:hover,
  .admin-analytics__button:focus-visible,
  .retro-button:hover,
  .retro-button:focus-visible,
  .share-button:hover,
  .share-button:focus-visible,
  .books-empty a:hover,
  .books-empty a:focus-visible,
  .family-calendar-rotation-next:hover,
  .family-calendar-rotation-next:focus-visible,
  .family-calendar-display-mode-link:hover,
  .family-calendar-display-mode-link:focus-visible,
  .blog-header__menu-toggle:hover,
  .blog-header__menu-toggle:focus-visible,
  .now-update:hover,
  .now-update:focus-visible,
  .now-reading__link:hover,
  .now-reading__link:focus-visible,
  .blog-post-card:hover,
  .blog-post-card:focus-visible {
    transform: none;
  }

  .scroll-progress {
    display: none !important;
  }
}

input[type="file"]::file-selector-button {
  margin-right: 0.5rem;
  padding: 0;
  color: #1f5eff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  background: transparent;
  border: 0;
  cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.5rem;
  padding: 0;
  color: #1f5eff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  background: transparent;
  border: 0;
  cursor: pointer;
}

input[type="file"]:hover::file-selector-button,
input[type="file"]:focus-visible::file-selector-button,
input[type="file"]:hover::-webkit-file-upload-button,
input[type="file"]:focus-visible::-webkit-file-upload-button {
  color: #163fb0;
  cursor: var(--public-button-cursor, pointer);
}
@font-face {
  font-family: 'Departure Mono';
  src: url(/assets/DepartureMono-Regular-41253d259e995fcba30b2c32fffa8cbe21fdcd78713afbdea262bcaecccd0f12.woff2) format('woff2'),
       url(/assets/DepartureMono-Regular-18fbdcd0572635eb13a5bd6db5ac8f5aa8eaa006885ca9b6916c909b84031e37.woff) format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.globe-screen {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.45), rgba(17, 24, 39, 0) 58%),
    #111827;
  background-size: 22px 22px, 22px 22px, auto, auto;
  cursor: grab;
  image-rendering: pixelated;
}

.globe-screen:active {
  cursor: grabbing;
}

.globe-screen.is-pin-hovering:not(:active),
.globe-screen.is-pin-hovering:not(:active) .globe-canvas {
  cursor: var(--globe-pin-cursor, pointer);
}

.globe-screen::before,
.globe-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-screen::before {
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.07) 2px,
    transparent 2px,
    transparent 7px
  );
  mix-blend-mode: screen;
  opacity: 0.35;
}

.globe-screen::after {
  border: 8px solid rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 4px rgba(250, 204, 21, 0.2);
}

.globe-canvas {
  display: block;
  height: 100%;
  image-rendering: pixelated;
  position: relative;
  width: 100%;
  z-index: 1;
}

.globe-pin-row.is-selected {
  background-color: #f9a8d4;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 #000;
}

.globe-pin-row--visited.is-selected {
  background-color: #67e8f9;
}

.globe-pin-type-input:checked + .globe-pin-type-card {
  box-shadow: 6px 6px 0 0 #000;
  transform: translate(-2px, -2px);
}

.globe-pin-type-input:checked + .globe-pin-type-card--lived {
  background-color: #f9a8d4;
}

.globe-pin-type-input:checked + .globe-pin-type-card--visited {
  background-color: #67e8f9;
}

.globe-pin-type-input:focus-visible + .globe-pin-type-card {
  outline: 4px solid #1d4ed8;
  outline-offset: 4px;
}
/*
 * Tailwind-generated builds expect inter-font.css to exist. Keep this file local-only
 * so page rendering never waits on a third-party font stylesheet.
 */
:root {
  --page-transition-background: #111827;
  --page-transition-surface: #111827;
  --page-transition-out-duration: 430ms;
  --page-transition-in-duration: 520ms;
  --page-transition-webkit-duration: 440ms;
}

html {
  background: var(--page-transition-background);
}

html.application-layout-root,
html.marketing-layout-root,
html:has(> body.application-layout),
html:has(> body.marketing-layout) {
  --page-transition-background: #111827;
  --page-transition-surface: #111827;
}

html.blog-layout-root,
html:has(> body.blog-layout) {
  --page-transition-background: #2b7fff;
  --page-transition-surface: #fef9c3;
}

::view-transition {
  background: var(--page-transition-surface);
}

@media (prefers-reduced-motion: no-preference) {
  html[data-page-transition-engine="pixelate"][data-page-transition-phase="out"] body {
    animation: retro-live-pixelate-out var(--page-transition-out-duration) steps(4, end) both;
    pointer-events: none;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-phase="out"] body {
    animation: retro-webkit-live-slide-out var(--page-transition-out-duration) steps(5, end) both;
    pointer-events: none;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-direction="back"][data-page-transition-phase="out"] body {
    animation-name: retro-webkit-live-slide-out-reverse;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-phase="in"] body {
    pointer-events: none;
  }

  html[data-page-transition-engine="webkit"] body::before,
  html[data-page-transition-engine="webkit"] body::after {
    content: none;
  }

  html[data-page-transition-engine="webkit"] body::before {
    animation: none;
  }

  html[data-page-transition-engine="webkit"] body::after {
    animation: none;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-phase="out"] body::before {
    animation: none;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-phase="out"] body::after {
    animation: none;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-phase="in"] body::before {
    animation: none;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-phase="in"] body::after {
    animation: none;
  }

  ::view-transition-group(root) {
    animation-duration: var(--page-transition-in-duration);
    animation-fill-mode: both;
    animation-timing-function: steps(5, end);
    background: var(--page-transition-surface);
  }

  ::view-transition-image-pair(root) {
    background: var(--page-transition-surface);
    isolation: isolate;
    overflow: hidden;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: var(--page-transition-in-duration);
    animation-fill-mode: both;
    animation-timing-function: steps(5, end);
    backface-visibility: hidden;
    background: var(--page-transition-surface);
    image-rendering: pixelated;
    mix-blend-mode: normal;
  }

  html[data-page-transition-engine="pixelate"]::view-transition-old(root) {
    animation-name: retro-pixelated-old-exit;
    z-index: 2;
  }

  html[data-page-transition-engine="pixelate"]::view-transition-new(root) {
    animation-name: retro-pixelate-in;
    z-index: 1;
  }

  html[data-page-transition-engine="webkit"]::view-transition-group(root) {
    animation-duration: var(--page-transition-webkit-duration);
    animation-timing-function: steps(6, end);
  }

  html[data-page-transition-engine="webkit"]::view-transition-old(root),
  html[data-page-transition-engine="webkit"]::view-transition-new(root) {
    animation-duration: var(--page-transition-webkit-duration);
    animation-timing-function: steps(6, end);
  }

  html[data-page-transition-engine="webkit"]::view-transition-old(root) {
    animation-name: retro-webkit-old-slide-exit;
    z-index: 2;
  }

  html[data-page-transition-engine="webkit"]::view-transition-new(root) {
    animation-name: retro-webkit-new-slide-enter;
    z-index: 1;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-direction="back"]::view-transition-old(root) {
    animation-name: retro-webkit-old-slide-exit-reverse;
  }

  html[data-page-transition-engine="webkit"][data-page-transition-direction="back"]::view-transition-new(root) {
    animation-name: retro-webkit-new-slide-enter-reverse;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-page-transition-phase="out"] body,
  html[data-page-transition-engine="webkit"] body::before,
  html[data-page-transition-engine="webkit"] body::after,
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

@keyframes retro-screen-wipe-out {
  0% {
    clip-path: inset(0);
    filter: contrast(1) saturate(1);
    transform: translate(0, 0);
  }

  45% {
    clip-path: inset(0 0 0 0);
    filter: contrast(1.65) saturate(1.5);
    transform: translate(-10px, 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
    filter: contrast(2) saturate(1.7);
    transform: translate(-34px, 0);
  }
}

@keyframes retro-screen-wipe-in {
  0% {
    clip-path: inset(0 0 0 100%);
    filter: contrast(1.8) saturate(1.5);
    transform: translate(34px, 0);
  }

  55% {
    clip-path: inset(0 0 0 12%);
    filter: contrast(1.35) saturate(1.25);
    transform: translate(8px, 0);
  }

  100% {
    clip-path: inset(0);
    filter: contrast(1) saturate(1);
    transform: translate(0, 0);
  }
}

@keyframes retro-power-up-out {
  0% {
    clip-path: circle(160vmax at var(--page-transition-x, 50vw) var(--page-transition-y, 50vh));
    filter: brightness(1) contrast(1);
    transform: scale(1);
  }

  100% {
    clip-path: circle(0 at var(--page-transition-x, 50vw) var(--page-transition-y, 50vh));
    filter: brightness(1.45) contrast(1.8);
    transform: scale(0.985);
  }
}

@keyframes retro-power-up-in {
  0% {
    clip-path: circle(0 at var(--page-transition-x, 50vw) var(--page-transition-y, 50vh));
    filter: brightness(1.6) contrast(1.7) saturate(1.4);
    transform: scale(1.025);
  }

  68% {
    clip-path: circle(95vmax at var(--page-transition-x, 50vw) var(--page-transition-y, 50vh));
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
    transform: scale(1.006);
  }

  100% {
    clip-path: circle(160vmax at var(--page-transition-x, 50vw) var(--page-transition-y, 50vh));
    filter: brightness(1) contrast(1) saturate(1);
    transform: scale(1);
  }
}

@keyframes retro-live-pixelate-out {
  0% {
    filter: none;
  }

  24% {
    filter: url("#headway-pixelate-6") brightness(1.04) contrast(1.15) saturate(1.08);
  }

  48% {
    filter: url("#headway-pixelate-12") brightness(1.08) contrast(1.28) saturate(1.12);
  }

  72% {
    filter: url("#headway-pixelate-24") brightness(1.15) contrast(1.45) saturate(1.18);
  }

  100% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
  }
}

@keyframes retro-webkit-live-slide-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  48% {
    opacity: 0.98;
    transform: translate3d(-8px, 0, 0);
  }

  100% {
    opacity: 0.94;
    transform: translate3d(-18px, 0, 0);
  }
}

@keyframes retro-webkit-live-slide-out-reverse {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  48% {
    opacity: 0.98;
    transform: translate3d(8px, 0, 0);
  }

  100% {
    opacity: 0.94;
    transform: translate3d(18px, 0, 0);
  }
}

@keyframes retro-webkit-starpulse-out {
  0% {
    opacity: 0;
  }

  36% {
    opacity: 0.14;
  }

  72% {
    opacity: 0.22;
  }

  100% {
    opacity: 0;
  }
}

@keyframes retro-webkit-starpulse-in {
  0%,
  18% {
    opacity: 0.16;
  }

  48% {
    opacity: 0.1;
  }

  76% {
    opacity: 0.04;
  }

  100% {
    opacity: 0;
  }
}

@keyframes retro-webkit-portal-out {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }

  38% {
    opacity: 0.72;
    transform: scale(0.9);
  }

  68% {
    opacity: 0.44;
    transform: scale(1.08);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes retro-webkit-portal-in {
  0%,
  14% {
    opacity: 0;
    transform: scale(1.18);
  }

  44% {
    opacity: 0.42;
    transform: scale(0.98);
  }

  68% {
    opacity: 0.22;
    transform: scale(0.82);
  }

  100% {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes retro-pixelated-old-exit {
  0% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 1;
  }

  16%,
  100% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 0;
  }
}

@keyframes retro-webkit-old-slide-exit {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(-48%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes retro-webkit-old-slide-exit-reverse {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(48%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes retro-pixelate-in {
  0% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 1;
  }

  16% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 1;
  }

  40% {
    filter: url("#headway-pixelate-24") brightness(1.15) contrast(1.45) saturate(1.18);
    opacity: 1;
  }

  64% {
    filter: url("#headway-pixelate-12") brightness(1.08) contrast(1.28) saturate(1.12);
    opacity: 1;
  }

  84% {
    filter: url("#headway-pixelate-6") brightness(1.04) contrast(1.15) saturate(1.08);
    opacity: 1;
  }

  100% {
    filter: none;
    opacity: 1;
  }
}

@keyframes retro-webkit-new-slide-enter {
  0%,
  28% {
    opacity: 1;
    transform: translate3d(100%, 0, 0);
  }

  48% {
    opacity: 1;
    transform: translate3d(58%, 0, 0);
  }

  76% {
    opacity: 1;
    transform: translate3d(18%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
}

@keyframes retro-webkit-new-slide-enter-reverse {
  0%,
  28% {
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
  }

  48% {
    opacity: 1;
    transform: translate3d(-58%, 0, 0);
  }

  76% {
    opacity: 1;
    transform: translate3d(-18%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
}

@keyframes retro-level-select-out {
  0% {
    clip-path: inset(0);
    filter: hue-rotate(0deg) contrast(1);
    transform: translateY(0);
  }

  100% {
    clip-path: inset(100% 0 0 0);
    filter: hue-rotate(24deg) contrast(1.55);
    transform: translateY(-28px);
  }
}

@keyframes retro-level-select-in {
  0% {
    clip-path: inset(0 0 100% 0);
    filter: hue-rotate(-28deg) contrast(1.65) saturate(1.35);
    transform: translateY(28px);
  }

  100% {
    clip-path: inset(0);
    filter: hue-rotate(0deg) contrast(1) saturate(1);
    transform: translateY(0);
  }
}

@keyframes retro-rewind-out {
  0% {
    clip-path: inset(0);
    filter: grayscale(0) contrast(1);
    transform: translateX(0) scale(1);
  }

  100% {
    clip-path: inset(0 0 0 100%);
    filter: grayscale(0.45) contrast(1.6);
    transform: translateX(40px) scale(0.99);
  }
}

@keyframes retro-rewind-in {
  0% {
    clip-path: inset(0 100% 0 0);
    filter: grayscale(0.45) contrast(1.6);
    transform: translateX(-40px) scale(1.01);
  }

  100% {
    clip-path: inset(0);
    filter: grayscale(0) contrast(1);
    transform: translateX(0) scale(1);
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@import 'fonts';
