:root {
  --yearbook-paper: #e9e1d1;
  --yearbook-paper-deep: #d7ccba;
  --yearbook-ink: #101014;
  --yearbook-red: #f04f45;
  --yearbook-cyan: #5fd2f3;
  --yearbook-lime: #c8ee66;
}

.yearbook-body {
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .035) 50%, transparent calc(50% + .5px)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .018) 79px 80px),
    #09090b;
}

.yearbook-body button,
.yearbook-body a {
  cursor: pointer;
}

.yearbook-body button:focus-visible,
.yearbook-body a:focus-visible {
  outline: 2px solid var(--yearbook-cyan);
  outline-offset: 4px;
}

.yearbook-topbar {
  position: relative;
  z-index: 10;
}

.yearbook-brand::before {
  content: "VOL.01";
  border-color: var(--yearbook-lime);
  color: var(--yearbook-lime);
}

.yearbook-hero {
  min-height: 780px;
  padding: 76px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, .62fr);
  align-items: center;
  gap: clamp(52px, 9vw, 132px);
  border-bottom: 1px solid var(--line);
}

.yearbook-hero__copy {
  max-width: 720px;
}

.yearbook-hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 8.5vw, 7.8rem);
  font-weight: 860;
  letter-spacing: -.075em;
  line-height: .84;
}

.yearbook-hero h1 span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 236, 223, .78);
}

.yearbook-hero__lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: #b7b2a9;
  font-size: 1.08rem;
  line-height: 1.9;
}

.yearbook-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.yearbook-button {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(242, 236, 223, .36);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.yearbook-button:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}

.yearbook-button--signal {
  border-color: var(--yearbook-red);
  background: var(--yearbook-red);
  color: #100f12;
}

.yearbook-button--signal:hover {
  background: #ff7168;
}

.yearbook-text-link {
  padding: 11px 4px;
  color: #a9a49c;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .04em;
  text-decoration-color: rgba(169, 164, 156, .45);
  text-underline-offset: 4px;
}

.yearbook-text-link:hover {
  color: #fff;
}

.yearbook-cover {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(15, 15, 19, .08) 47% 47.4%, transparent 47.4%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(15, 15, 19, .055) 31px 32px),
    var(--yearbook-paper);
  box-shadow: 24px 28px 0 #1a1a21, 0 38px 90px rgba(0, 0, 0, .35);
  color: var(--yearbook-ink);
  transform: rotate(1.4deg);
}

.yearbook-cover::before {
  content: "";
  width: 45%;
  height: 38%;
  position: absolute;
  top: 22%;
  right: -8%;
  border: 13px solid var(--yearbook-red);
  border-radius: 50%;
  opacity: .96;
}

.yearbook-cover::after {
  content: "";
  width: 34%;
  height: 1px;
  position: absolute;
  top: 17%;
  right: 0;
  background: var(--yearbook-ink);
  transform: rotate(-31deg);
  transform-origin: right;
}

.yearbook-cover__masthead,
.yearbook-cover__issue,
.yearbook-cover__quote,
.yearbook-cover__stats,
.yearbook-cover footer {
  position: relative;
  z-index: 1;
}

.yearbook-cover__masthead {
  padding-bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--yearbook-ink);
  font-family: var(--font-mono);
}

.yearbook-cover__masthead span {
  max-width: 90px;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.3;
}

.yearbook-cover__masthead strong {
  font-size: .94rem;
  letter-spacing: -.02em;
}

.yearbook-cover__orbit {
  width: 64%;
  aspect-ratio: 1;
  position: absolute;
  top: 20%;
  right: -3%;
  border: 1px solid rgba(15, 15, 19, .28);
  border-radius: 50%;
  transform: rotate(-17deg) scaleY(.38);
}

.yearbook-cover__orbit span {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 47%;
  left: -6px;
  border-radius: 50%;
  background: var(--yearbook-cyan);
  box-shadow: 0 0 0 6px rgba(95, 210, 243, .22);
}

.yearbook-cover__issue {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
}

.yearbook-cover__issue span {
  color: var(--yearbook-red);
  font: 900 clamp(2.4rem, 5vw, 4.2rem)/.9 var(--font-sans);
  letter-spacing: -.07em;
}

.yearbook-cover__issue strong {
  font: 900 clamp(4.4rem, 8vw, 7.2rem)/.82 var(--font-sans);
  letter-spacing: -.09em;
}

.yearbook-cover__quote {
  width: 55%;
  margin: auto 0 18px;
  font: 850 .68rem/1.5 var(--font-mono);
  letter-spacing: .05em;
}

.yearbook-cover__stats {
  margin: 0;
  padding: 13px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--yearbook-ink);
  border-bottom: 1px solid rgba(15, 15, 19, .5);
}

.yearbook-cover__stats div + div {
  padding-left: 10px;
  border-left: 1px solid rgba(15, 15, 19, .32);
}

.yearbook-cover__stats dt {
  font: 800 .46rem/1.3 var(--font-mono);
  letter-spacing: .07em;
}

.yearbook-cover__stats dd {
  margin: 4px 0 0;
  font: 900 1.15rem/1 var(--font-mono);
}

.yearbook-cover footer {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 800 .46rem/1.4 var(--font-mono);
  letter-spacing: .05em;
}

.yearbook-switcher {
  padding: 62px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 38px;
  border-bottom: 1px solid var(--line);
}

.yearbook-switcher h2,
.yearbook-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.yearbook-months {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.yearbook-month {
  min-width: 124px;
  min-height: 62px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #8f8b84;
  text-align: left;
}

.yearbook-month span {
  font: 850 .68rem/1 var(--font-mono);
  letter-spacing: .06em;
}

.yearbook-month strong {
  font-size: 1.55rem;
  letter-spacing: -.06em;
}

.yearbook-month:hover,
.yearbook-month[aria-pressed="true"] {
  border-color: var(--yearbook-lime);
  background: var(--yearbook-lime);
  color: #101014;
}

.yearbook-spread {
  width: 100%;
}

.yearbook-spread--paper {
  padding: 92px 0 104px;
  background:
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(15, 15, 19, .04) 95px 96px),
    var(--yearbook-paper);
  color: var(--yearbook-ink);
}

.yearbook-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .6fr);
  align-items: end;
  gap: clamp(34px, 7vw, 96px);
}

.yearbook-section-heading > p {
  margin: 0;
  color: #4f4c48;
  line-height: 1.85;
}

.yearbook-section-heading .playtest-section-label {
  color: #d43730;
}

.yearbook-stat-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 3px solid var(--yearbook-ink);
  border-bottom: 1px solid rgba(15, 15, 19, .42);
}

.yearbook-stat {
  min-height: 116px;
  padding: 18px 14px 15px 0;
}

.yearbook-stat + .yearbook-stat {
  padding-left: 15px;
  border-left: 1px solid rgba(15, 15, 19, .22);
}

.yearbook-stat span {
  display: block;
  font: 800 .6rem/1.3 var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.yearbook-stat strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.07em;
  line-height: .9;
}

.yearbook-stat small {
  display: block;
  margin-top: 8px;
  color: #625f59;
  font: 650 .6rem/1.4 var(--font-mono);
}

.yearbook-pulse-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
  gap: 18px;
}

.yearbook-calendar-panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(15, 15, 19, .32);
  background: rgba(255, 255, 255, .18);
}

.yearbook-calendar-panel > header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--yearbook-ink);
}

.yearbook-calendar-panel header span {
  font: 850 .58rem/1 var(--font-mono);
  letter-spacing: .08em;
}

.yearbook-calendar-panel h3 {
  margin: 5px 0 0;
  font-size: 1.7rem;
  letter-spacing: -.04em;
}

.yearbook-calendar-panel header button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--yearbook-ink);
  border-radius: 0;
  background: transparent;
  color: var(--yearbook-ink);
  font: 800 .62rem/1 var(--font-mono);
}

.yearbook-calendar-panel header button:hover {
  background: var(--yearbook-ink);
  color: var(--yearbook-paper);
}

.yearbook-weekdays,
.yearbook-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.yearbook-weekdays {
  border-left: 1px solid rgba(15, 15, 19, .24);
}

.yearbook-weekdays span {
  padding: 7px 4px;
  border-top: 1px solid rgba(15, 15, 19, .24);
  border-right: 1px solid rgba(15, 15, 19, .24);
  color: #625f59;
  font: 800 .58rem/1 var(--font-mono);
  text-align: center;
}

.yearbook-day,
.yearbook-day--empty {
  aspect-ratio: 1.08;
  min-width: 0;
  border: 0;
  border-right: 1px solid rgba(15, 15, 19, .24);
  border-bottom: 1px solid rgba(15, 15, 19, .24);
  border-radius: 0;
}

.yearbook-day:nth-child(7n + 1),
.yearbook-day--empty:nth-child(7n + 1) {
  border-left: 1px solid rgba(15, 15, 19, .24);
}

.yearbook-day {
  position: relative;
  padding: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: transparent;
  color: var(--yearbook-ink);
  font: 750 .7rem/1 var(--font-mono);
}

.yearbook-day--empty {
  background: rgba(15, 15, 19, .025);
}

.yearbook-day[data-count]::after {
  content: attr(data-count);
  width: 22px;
  height: 22px;
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 15, 19, .14);
  font-size: .57rem;
  font-weight: 900;
}

.yearbook-day[data-level="1"] { background: rgba(95, 210, 243, .2); }
.yearbook-day[data-level="2"] { background: rgba(95, 210, 243, .4); }
.yearbook-day[data-level="3"] { background: rgba(95, 210, 243, .62); }
.yearbook-day[data-level="4"] { background: var(--yearbook-cyan); }

.yearbook-day:not([data-count]) {
  color: #8d887e;
  cursor: default;
}

.yearbook-day[data-count]:hover,
.yearbook-day[aria-pressed="true"] {
  background: var(--yearbook-red);
  color: #101014;
}

.yearbook-day[aria-pressed="true"]::after {
  background: var(--yearbook-ink);
  color: var(--yearbook-paper);
}

.yearbook-calendar__legend {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #625f59;
  font-size: .72rem;
}

.yearbook-calendar__legend span {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--yearbook-cyan);
}

.yearbook-pace {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  background: var(--yearbook-ink);
  color: var(--yearbook-paper);
}

.yearbook-pace__number {
  margin: 0;
  color: var(--yearbook-red);
  font-size: clamp(5rem, 10vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .8;
}

.yearbook-pace > span,
.yearbook-pace__trail span {
  margin-top: 18px;
  font: 800 .58rem/1.4 var(--font-mono);
  letter-spacing: .08em;
}

.yearbook-pace h3 {
  margin: 8px 0 0;
  font-size: 1.55rem;
  letter-spacing: -.04em;
}

.yearbook-pace > p:not(.yearbook-pace__number) {
  margin: 14px 0 28px;
  color: #aaa69f;
  line-height: 1.8;
}

.yearbook-pace__trail {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 236, 223, .24);
}

.yearbook-pace__trail span,
.yearbook-pace__trail strong,
.yearbook-pace__trail small {
  display: block;
}

.yearbook-pace__trail span {
  margin: 0 0 8px;
  color: var(--yearbook-lime);
}

.yearbook-pace__trail strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.yearbook-pace__trail small {
  margin-top: 7px;
  color: #87847e;
  font: 650 .64rem/1.5 var(--font-mono);
}

.yearbook-ledger-section {
  padding: 100px 0;
}

.yearbook-section-heading--dark > p {
  color: #9b978f;
}

.yearbook-section-heading--dark .playtest-section-label {
  color: var(--yearbook-red);
}

.yearbook-ledger {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(242, 236, 223, .32);
}

.yearbook-entry {
  min-width: 0;
  padding: 18px 20px 18px 0;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid rgba(242, 236, 223, .2);
}

.yearbook-entry:nth-child(even) {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(242, 236, 223, .2);
}

.yearbook-entry__poster {
  min-height: 104px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(95, 210, 243, .26), transparent 48%),
    #1c1c23;
}

.yearbook-entry__poster img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.yearbook-entry:hover .yearbook-entry__poster img {
  transform: scale(1.035);
  filter: saturate(1.12);
}

.yearbook-entry__poster span {
  max-width: 80%;
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 1;
  padding: 4px 6px;
  background: rgba(9, 9, 11, .78);
  color: #fff;
  font: 850 .55rem/1 var(--font-mono);
  letter-spacing: .06em;
}

.yearbook-entry__copy {
  min-width: 0;
}

.yearbook-entry__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #85817a;
  font: 750 .59rem/1 var(--font-mono);
  letter-spacing: .05em;
}

.yearbook-entry__status {
  color: var(--yearbook-lime);
}

.yearbook-entry__status[data-status="visual"] { color: var(--yearbook-cyan); }
.yearbook-entry__status[data-status="prototype"] { color: var(--yearbook-red); }
.yearbook-entry__status[data-status="playable"] { color: var(--yearbook-lime); }

.yearbook-entry h3 {
  margin: 11px 0 0;
  overflow-wrap: anywhere;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.yearbook-entry__version {
  margin: 7px 0 0;
  color: #8e8a83;
  font: 700 .6rem/1.4 var(--font-mono);
  letter-spacing: .04em;
}

.yearbook-entry__note {
  margin: 10px 0 0;
  color: #bbb7af;
  font-size: .82rem;
  line-height: 1.65;
}

.yearbook-entry__links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.yearbook-entry__links a {
  color: var(--paper);
  font: 800 .61rem/1.4 var(--font-mono);
  text-underline-offset: 4px;
}

.yearbook-empty {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px dashed var(--line);
  color: #8f8b84;
  text-align: center;
}

.yearbook-spread--signal {
  padding: 96px 0 104px;
  background: var(--yearbook-red);
  color: var(--yearbook-ink);
}

.yearbook-section-heading--signal .playtest-section-label {
  color: var(--yearbook-ink);
}

.yearbook-section-heading--signal > p {
  color: rgba(16, 16, 20, .72);
}

.yearbook-trails {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 3px solid var(--yearbook-ink);
}

.yearbook-trail {
  padding: 26px 25px 26px 0;
  border-bottom: 1px solid rgba(16, 16, 20, .36);
}

.yearbook-trail:nth-child(even) {
  padding-right: 0;
  padding-left: 25px;
  border-left: 1px solid rgba(16, 16, 20, .36);
}

.yearbook-trail__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.yearbook-trail h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -.035em;
}

.yearbook-trail__top span {
  flex: 0 0 auto;
  font: 900 .62rem/1 var(--font-mono);
}

.yearbook-trail ol {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--trail-cuts, 2), minmax(0, 1fr));
  list-style: none;
}

.yearbook-trail li {
  min-width: 0;
  padding: 13px 10px 0 0;
  position: relative;
  border-top: 2px solid var(--yearbook-ink);
}

.yearbook-trail li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: -6px;
  left: 0;
  border: 2px solid var(--yearbook-red);
  border-radius: 50%;
  background: var(--yearbook-ink);
}

.yearbook-trail li time,
.yearbook-trail li span {
  display: block;
}

.yearbook-trail li time {
  font: 800 .58rem/1 var(--font-mono);
}

.yearbook-trail li span {
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: .7rem;
  font-weight: 730;
  line-height: 1.4;
}

.yearbook-orbit {
  padding: 104px 0 130px;
}

.yearbook-orbit__totals {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.yearbook-total {
  min-height: 184px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.yearbook-total span {
  color: #8f8b84;
  font: 800 .62rem/1.4 var(--font-mono);
  letter-spacing: .06em;
}

.yearbook-total strong {
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -.09em;
  line-height: .8;
}

.yearbook-total small {
  color: #77736d;
  font-size: .7rem;
}

.yearbook-total:nth-child(2) strong { color: var(--yearbook-red); }
.yearbook-total:nth-child(3) strong { color: var(--yearbook-cyan); }
.yearbook-total:nth-child(4) strong { color: var(--yearbook-lime); }

.yearbook-tool-note {
  margin-top: 18px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(150px, .32fr) 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.yearbook-tool-note span {
  color: var(--yearbook-cyan);
  font: 850 .65rem/1.4 var(--font-mono);
  letter-spacing: .07em;
}

.yearbook-tool-note strong {
  font-size: 1.15rem;
}

.yearbook-tool-note a {
  color: var(--paper);
  font: 800 .65rem/1.4 var(--font-mono);
  text-underline-offset: 4px;
}

.yearbook-footer {
  min-height: 94px;
  padding-bottom: 18px;
}

.yearbook-footer div {
  display: flex;
  gap: 18px;
}

.yearbook-toast {
  max-width: min(360px, calc(100% - 32px));
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147483001;
  padding: 13px 16px;
  border: 1px solid var(--yearbook-lime);
  background: #101014;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .42);
  color: var(--paper);
  font: 750 .72rem/1.5 var(--font-mono);
}

.yearbook-body .lelune-passport-return {
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 72px));
}

@media (max-width: 1060px) {
  .yearbook-topbar {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .yearbook-topbar .playtest-nav {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .yearbook-topbar .playtest-nav::-webkit-scrollbar {
    display: none;
  }

  .yearbook-topbar .playtest-nav a {
    flex: 0 0 auto;
  }

  .yearbook-hero {
    grid-template-columns: minmax(0, .9fr) minmax(320px, .58fr);
    gap: 52px;
  }

  .yearbook-stat-strip,
  .yearbook-orbit__totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yearbook-stat:nth-child(4),
  .yearbook-stat:nth-child(5) {
    border-top: 1px solid rgba(15, 15, 19, .22);
  }

  .yearbook-stat:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .yearbook-hero {
    min-height: 0;
    padding: 66px 0 96px;
    grid-template-columns: 1fr;
  }

  .yearbook-cover {
    width: min(88%, 430px);
    justify-self: center;
    transform: rotate(.8deg);
  }

  .yearbook-switcher,
  .yearbook-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .yearbook-months {
    justify-content: flex-start;
  }

  .yearbook-pulse-grid {
    grid-template-columns: 1fr;
  }

  .yearbook-pace {
    min-height: 410px;
  }

  .yearbook-ledger,
  .yearbook-trails {
    grid-template-columns: 1fr;
  }

  .yearbook-entry:nth-child(even),
  .yearbook-trail:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .yearbook-tool-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .playtest-shell {
    width: min(100% - 28px, 1220px);
  }

  .yearbook-topbar {
    min-height: 0;
    padding: 13px 0;
  }

  .yearbook-topbar .playtest-brand {
    font-size: .68rem;
  }

  .yearbook-topbar .playtest-nav {
    margin: 0 -5px;
    width: calc(100% + 10px);
  }

  .yearbook-topbar .playtest-nav a {
    min-height: 38px;
    padding: 0 9px;
    font-size: .64rem;
  }

  .yearbook-hero {
    padding: 48px 0 76px;
    gap: 50px;
  }

  .yearbook-hero h1 {
    font-size: 4rem;
  }

  .yearbook-hero__lead {
    font-size: .98rem;
  }

  .yearbook-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .yearbook-button,
  .yearbook-text-link {
    width: 100%;
    text-align: center;
  }

  .yearbook-cover {
    width: calc(100% - 12px);
    padding: 22px;
    box-shadow: 12px 14px 0 #1a1a21;
  }

  .yearbook-cover__issue span {
    font-size: 2.3rem;
  }

  .yearbook-cover__issue strong {
    font-size: 4.4rem;
  }

  .yearbook-switcher {
    padding: 50px 0;
  }

  .yearbook-switcher h2,
  .yearbook-section-heading h2 {
    font-size: 2.3rem;
  }

  .yearbook-months {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yearbook-month {
    min-width: 0;
  }

  .yearbook-spread--paper,
  .yearbook-spread--signal,
  .yearbook-ledger-section,
  .yearbook-orbit {
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .yearbook-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yearbook-stat:nth-child(3),
  .yearbook-stat:nth-child(5) {
    padding-left: 0;
    border-left: 0;
  }

  .yearbook-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(15, 15, 19, .22);
  }

  .yearbook-calendar-panel {
    padding: 15px;
  }

  .yearbook-calendar-panel > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .yearbook-day,
  .yearbook-day--empty {
    aspect-ratio: .9;
  }

  .yearbook-day {
    padding: 5px;
    font-size: .61rem;
  }

  .yearbook-day[data-count]::after {
    width: 18px;
    height: 18px;
    right: 4px;
    bottom: 4px;
    font-size: .5rem;
  }

  .yearbook-calendar__legend {
    align-items: flex-start;
    font-size: .66rem;
  }

  .yearbook-entry {
    padding-right: 0;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }

  .yearbook-entry__poster {
    min-height: 96px;
  }

  .yearbook-entry__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .yearbook-entry__note {
    font-size: .77rem;
  }

  .yearbook-trail {
    padding-right: 0;
  }

  .yearbook-trail__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .yearbook-trail ol {
    grid-template-columns: 1fr;
  }

  .yearbook-trail li {
    padding: 11px 0 14px 18px;
    border-top: 0;
    border-left: 2px solid var(--yearbook-ink);
  }

  .yearbook-trail li::before {
    top: 12px;
    left: -6px;
  }

  .yearbook-orbit__totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yearbook-total {
    min-height: 148px;
    padding: 17px;
  }

  .yearbook-total strong {
    font-size: 3rem;
  }

  .yearbook-footer {
    min-height: 150px;
    padding-bottom: 82px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .yearbook-body .lelune-passport-return {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .yearbook-button,
  .yearbook-entry__poster img {
    transition: none;
  }
}
