body.zine-view-page {
  margin: 0;
  background: #000;
}

.zine-view-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
  background: #000;
}

.zine-reader {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.zine-reader-mobile-chrome {
  display: none;
}

.zine-reader-track {
  display: flex;
  height: 100svh;
  transition: transform 320ms ease;
}

.zine-reader-slide {
  flex: 0 0 100%;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  padding: 1.5rem 5rem;
}

.slide.slide-active.zine-reader-slide {
  display: flex;
}

.zine-reader-image {
  display: block;
  width: min(100%, 82rem);
  max-height: calc(100svh - 3rem);
  object-fit: contain;
}

[data-variant="mobile"] {
  display: none;
}

.zine-mobile-page {
  width: min(100vw, 25.125rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: 7.25rem max(0.5rem, env(safe-area-inset-right)) 2rem max(0.5rem, env(safe-area-inset-left));
  background: #000;
}

.zine-mobile-stage {
  width: min(23.5rem, 100%);
  min-height: 34.125rem;
  margin: 0 auto;
}

.zine-mobile-image {
  display: block;
  width: 100%;
  height: auto;
}

.word-search-mobile-note-stage,
.word-search-mobile-grid-stage,
.quiz-mobile-stage {
  position: relative;
  width: min(24.25rem, 100%, calc((100svh - 8.75rem) / 1.452));
  min-height: 0;
  aspect-ratio: 376 / 546;
  margin: 0 auto;
  background:
    url("assets/drive-import/Desktop/EVENTS page/Pictures (Original)/Inside_fridge.jpg")
      center / cover no-repeat;
}

.word-search-mobile-grid-stage {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.word-search-mobile-note {
  --word-search-note-width: min(24.35rem, calc(100% - 1rem));
  position: absolute;
  top: clamp(1rem, 4.9%, 1.8rem);
  left: 50%;
  width: var(--word-search-note-width);
  aspect-ratio: 320 / 344;
  height: auto;
  padding:
    clamp(6.35rem, calc(var(--word-search-note-width) * 0.305), 7.45rem)
    clamp(3.95rem, calc(var(--word-search-note-width) * 0.192), 4.7rem)
    0
    clamp(3.85rem, calc(var(--word-search-note-width) * 0.188), 4.6rem);
  background: url("assets/napkin-tape.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  transform: translateX(-50%);
}

.word-search-mobile-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: clamp(0.5rem, calc(var(--word-search-note-width, 24.35rem) * 0.028), 0.68rem);
  color: #633325;
  font-family: "Snell Roundhand", "Apple Chancery", "URW Chancery L", cursive;
  font-size: clamp(2.35rem, calc(var(--word-search-note-width, 24.35rem) * 0.14), 3.4rem);
  font-style: italic;
  line-height: 1;
}

.word-search-mobile-title span:last-child {
  transform: translateY(clamp(0.5rem, calc(var(--word-search-note-width, 24.35rem) * 0.035), 0.85rem));
}

.word-search-mobile-clues {
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(0.65rem, calc(var(--word-search-note-width, 24.35rem) * 0.042), 1rem);
  color: #3b1409;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.68rem, calc(var(--word-search-note-width, 24.35rem) * 0.038), 0.93rem);
  line-height: 1.14;
}

.word-search-mobile-grid-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.word-search-mobile-directions,
.word-search-mobile-timer,
.word-search-mobile-grid,
.word-search-mobile-button {
  position: relative;
  z-index: 1;
}

.word-search-mobile-directions {
  width: min(11.35rem, calc(100% - 6rem));
  margin: 0 auto;
  padding-top: clamp(1rem, 4.6vw, 1.75rem);
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.44rem, 1.55vw, 0.58rem);
  font-weight: 700;
  line-height: 1.125;
  text-align: center;
}

.word-search-mobile-timer {
  margin-top: clamp(0.12rem, 0.55vw, 0.2rem);
  width: 100%;
  text-align: center;
  font-size: clamp(0.82rem, 2.85vw, 1.08rem);
}

.word-search-grid.word-search-mobile-grid {
  --word-search-mobile-cell: clamp(
    0.72rem,
    min(calc((100vw - 5rem) / 12), calc((100svh - 16.5rem) / 14)),
    1.34rem
  );
  --word-search-cell: var(--word-search-mobile-cell);
  margin: clamp(0.28rem, 1.2vw, 0.45rem) auto 0;
  justify-content: center;
  grid-template-columns: repeat(12, minmax(0, var(--word-search-mobile-cell)));
  grid-auto-rows: var(--word-search-mobile-cell);
  width: calc(var(--word-search-mobile-cell) * 12);
  max-width: 100%;
}

.word-search-mobile-grid .word-search-cell {
  box-shadow: inset 0 0 0 clamp(0.045rem, calc(var(--word-search-mobile-cell) * 0.045), 0.08rem) rgba(255, 255, 255, 0.92);
  font-size: clamp(0.5rem, calc(var(--word-search-mobile-cell) * 0.55), 0.86rem);
}

.word-search-mobile-grid .word-search-cell.is-inactive {
  box-shadow: none;
}

.word-search-mobile-button {
  margin: clamp(0.34rem, calc(var(--word-search-mobile-cell, 1.48rem) * 0.44), 0.72rem) auto 0;
  min-width: clamp(3.15rem, 10.8vw, 3.9rem);
  height: clamp(1.12rem, 3.8vw, 1.42rem);
  border-radius: 0.25rem;
  font-size: clamp(0.48rem, 1.55vw, 0.58rem);
}

.quiz-mobile-stage-intro {
  background: url("assets/zine pages desktop/quiz back.png") center / cover no-repeat;
}

.quiz-mobile-title {
  position: absolute;
  top: 8.55rem;
  left: 1rem;
  color: #e8e0de;
  font-family: "Snell Roundhand", "Apple Chancery", "URW Chancery L", cursive;
  font-size: 6.55rem;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 0.25rem 0.25rem #d9a866;
}

.quiz-mobile-intro {
  position: absolute;
  left: 1.5rem;
  top: 20.8rem;
  width: 12.2rem;
  margin: 0;
  color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.56rem;
  font-style: italic;
  line-height: 1.22;
}

.quiz-mobile-stage-paper {
  margin-top: -1.25rem;
  background: url("assets/zine pages desktop/quiz back.png") center / cover no-repeat;
}

.quiz-mobile-paper {
  width: 18.0625rem;
  min-height: 28.125rem;
  margin: 0.85rem auto 0;
  padding: 2.35rem 1.25rem 1rem;
  background: url("assets/zine pages desktop/question section back.png") center / 100% 100% no-repeat;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
}

.quiz-mobile-paper .quiz-questions {
  gap: 0.42rem;
}

.quiz-mobile-paper .quiz-question p,
.quiz-mobile-paper .quiz-result-line,
.quiz-mobile-paper .quiz-result-copy,
.quiz-mobile-paper .quiz-option {
  font-size: 0.5rem;
  line-height: 1.2;
}

.quiz-mobile-paper .quiz-options {
  gap: 0.18rem 0.8rem;
}

.quiz-mobile-paper .quiz-result-line {
  margin-top: 0.45rem;
}

.quiz-mobile-paper .quiz-result-copy {
  margin-top: 0.15rem;
}

.quiz-mobile-paper .quiz-result-blank {
  min-width: 2.8rem;
}

.quiz-mobile-paper .quiz-restart {
  margin-top: 0.55rem;
  min-width: 4.2rem;
  height: 1.45rem;
  font-size: 0.65rem;
}

.quiz-slide {
  padding: 1.5rem 2.75rem;
}

.quiz-page {
  width: min(100%, 84.9375rem);
  min-height: calc(100svh - 3rem);
  display: flex;
  align-items: stretch;
}

.quiz-spread {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: url("assets/zine pages desktop/quiz back.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-left-page,
.quiz-right-page {
  position: relative;
  min-height: calc(100svh - 3rem);
}

.quiz-left-page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9.5rem 3rem 2rem 3rem;
}

.quiz-title {
  margin-left: 0.4rem;
  color: #ebe0dc;
  font-family: "Snell Roundhand", "Apple Chancery", "URW Chancery L", cursive;
  font-size: clamp(7rem, 12vw, 12.5rem);
  font-style: italic;
  line-height: 0.88;
  text-shadow: 0 0.25rem 0.25rem rgba(217, 168, 102, 0.95);
}

.quiz-intro {
  max-width: 23rem;
  margin: 0 0 3rem 1rem;
  color: #17110d;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.28;
}

.quiz-right-page {
  padding: 2.2rem 3rem 2rem;
  display: grid;
  place-items: center;
}

.quiz-paper {
  width: min(100%, 34.5rem);
  min-height: min(100%, 53.75rem);
  padding: 2rem 1.5rem 1.1rem;
  background: url("assets/zine pages desktop/question section back.png")
    center / 100% 100% no-repeat;
  box-shadow: 0 0.35rem 0.5rem rgba(0, 0, 0, 0.2);
}

.quiz-questions {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.quiz-question p,
.quiz-result-line,
.quiz-result-copy {
  margin: 0;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.93rem;
  font-style: italic;
  line-height: 1.16;
}

.quiz-question p {
  margin-bottom: 0.2rem;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.quiz-option {
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.16;
  cursor: pointer;
}

.quiz-option.is-selected {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.quiz-result-line {
  margin-top: 1rem;
}

.quiz-result-copy {
  margin-top: 0.4rem;
}

.quiz-result-blank {
  display: inline-block;
  min-width: 4.8rem;
  text-align: center;
  font-weight: 700;
}

.quiz-restart {
  margin: 1rem auto 0;
  display: block;
  min-width: 5.6rem;
  height: 1.9rem;
  padding: 0 1rem;
  border: 1px solid #000;
  border-radius: 0.65rem;
  background: transparent;
  color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 500;
}

.quiz-page-number {
  position: absolute;
  bottom: 1rem;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.quiz-page-number-left {
  left: -0.2rem;
}

.quiz-page-number-right {
  right: -0.2rem;
}

.word-search-slide {
  padding: 1.5rem 2.75rem;
}

.word-search-page {
  width: min(100%, 84.625rem);
  min-height: calc(100svh - 3rem);
  display: flex;
  align-items: stretch;
}

.word-search-spread {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 48.6%, rgba(0, 0, 0, 0.4) 48.6% 100%),
    url("assets/drive-import/Desktop/EVENTS page/Pictures (Original)/Inside_fridge.jpg")
      center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.word-search-left-page,
.word-search-right-page {
  position: relative;
  min-height: calc(100svh - 3rem);
}

.word-search-left-page {
  display: grid;
  place-items: center;
  padding: 3rem 2rem 4rem;
}

.word-search-note {
  position: relative;
  width: min(100%, 33rem);
  aspect-ratio: 320 / 344;
  padding: 8.35rem 4.55rem 4.45rem 5rem;
  background: url("assets/napkin-tape.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0.35rem 0.5rem rgba(0, 0, 0, 0.28));
}

.word-search-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.42rem;
  max-width: 23rem;
  margin: 0 auto 1.55rem;
  color: #7f3c2e;
  font-family: "Snell Roundhand", "Apple Chancery", "URW Chancery L", cursive;
  font-size: clamp(3.05rem, 4.2vw, 4.15rem);
  font-style: italic;
  line-height: 0.95;
  white-space: nowrap;
}

.word-search-title span:last-child {
  transform: translateY(1.2rem);
}

.word-search-clues {
  max-width: 22rem;
  margin: 0 auto;
  padding-left: 1.45rem;
  color: #27110b;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.31;
}

.word-search-clues li + li {
  margin-top: 0.35rem;
}

.word-search-clues li.is-found {
  opacity: 0.6;
  text-decoration: line-through;
}

.word-search-right-page {
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 4rem 2.2rem 5rem;
}

.word-search-directions {
  max-width: 20rem;
  margin: 0;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.word-search-directions strong {
  font-weight: 700;
}

.word-search-timer {
  margin-top: 0.5rem;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.word-search-grid {
  --word-search-cell: clamp(
    1.45rem,
    min(calc((50vw - 6rem) / 12), calc((100svh - 14.5rem) / 13)),
    3rem
  );
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, var(--word-search-cell)));
  grid-auto-rows: var(--word-search-cell);
  width: calc(var(--word-search-cell) * 12);
  max-width: 100%;
  gap: 0;
  user-select: none;
  touch-action: none;
}

.word-search-cell {
  width: var(--word-search-cell);
  height: var(--word-search-cell);
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 0.125rem rgba(255, 255, 255, 0.92);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(0.95rem, calc(var(--word-search-cell) * 0.7), 2.1rem);
  line-height: 1;
  text-transform: lowercase;
}

.word-search-cell.is-inactive {
  box-shadow: none;
  background: transparent;
  color: transparent;
  pointer-events: none;
}

.word-search-cell.is-active,
.word-search-cell.is-found {
  background: rgba(240, 199, 145, 0.52);
}

.word-search-cell.is-invalid {
  background: rgba(160, 30, 30, 0.42);
}

.word-search-button {
  margin-top: 1.25rem;
  min-width: 7.8rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.65rem;
  background: #720000;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.word-search-button:disabled {
  background: rgba(114, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.55);
}

.word-search-button.word-search-button-complete {
  background: rgba(114, 0, 0, 0.35);
}

.word-search-button.word-search-button-complete:not(:disabled) {
  background: #720000;
  color: #fff;
}

.word-search-page-number {
  position: absolute;
  bottom: 1rem;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.word-search-page-number-left {
  left: -0.3rem;
}

.word-search-page-number-right {
  right: -0.3rem;
}

.zine-reader-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 3.6rem;
  line-height: 1;
  transform: translateY(-50%);
}

.zine-reader-arrow[hidden] {
  display: none !important;
}

.zine-reader-arrow-icon {
  display: block;
}

.zine-reader-arrow-label {
  display: none;
}

.zine-reader-arrow-left {
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}

.zine-reader-arrow-right {
  right: 0;
}

@media (max-width: 900px) {
  .zine-reader-slide {
    padding: 1rem 3rem;
  }

  .zine-reader-image {
    width: min(100%, 58rem);
    max-height: calc(100svh - 2rem);
  }

  .quiz-slide {
    padding: 1rem 2rem;
  }

  .quiz-page,
  .quiz-spread,
  .quiz-left-page,
  .quiz-right-page {
    min-height: calc(100svh - 2rem);
  }

  .quiz-spread {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(0, auto);
    background-position: 34% center;
  }

  .quiz-left-page {
    min-height: auto;
    padding: 3rem 1.5rem 0.75rem;
    align-items: center;
    text-align: center;
  }

  .quiz-title {
    margin-left: 0;
    font-size: clamp(4.6rem, 15vw, 7rem);
  }

  .quiz-intro {
    margin: 1rem 0 0;
    max-width: 24rem;
    font-size: 0.98rem;
  }

  .quiz-right-page {
    min-height: auto;
    padding: 0.5rem 1rem 3rem;
  }

  .quiz-paper {
    width: min(100%, 31rem);
    min-height: auto;
    padding: 1.65rem 1.2rem 1rem;
  }

  .quiz-questions {
    gap: 0.68rem;
  }

  .quiz-question p,
  .quiz-result-line,
  .quiz-result-copy,
  .quiz-option {
    font-size: 0.88rem;
  }

  .quiz-page-number {
    font-size: 1.15rem;
  }

  .quiz-page-number-left {
    left: 0.45rem;
    bottom: 0.2rem;
  }

  .quiz-page-number-right {
    right: 0.45rem;
    bottom: 0.2rem;
  }

  .word-search-slide {
    padding: 1rem 2rem;
  }

  .word-search-page,
  .word-search-spread,
  .word-search-left-page,
  .word-search-right-page {
    min-height: calc(100svh - 2rem);
  }

  .word-search-spread {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(0, auto);
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0 52%, rgba(0, 0, 0, 0.42) 52% 100%),
      url("assets/drive-import/Desktop/EVENTS page/Pictures (Original)/Inside_fridge.jpg")
        center / cover no-repeat;
  }

  .word-search-left-page {
    min-height: auto;
    padding: 1.5rem 1.5rem 0.5rem;
  }

  .word-search-note {
    width: min(100%, 26rem);
    padding: 6.7rem 3.6rem 3.35rem 3.95rem;
  }

  .word-search-right-page {
    min-height: auto;
    padding: 1rem 1.2rem 4rem;
  }

  .word-search-grid {
    --word-search-cell: clamp(
      1.55rem,
      min(calc((100vw - 4.9rem) / 12), calc((100svh - 12.5rem) / 13)),
      2.4rem
    );
  }

  .word-search-cell {
    font-size: clamp(1.05rem, calc(var(--word-search-cell) * 0.72), 1.75rem);
  }

  .word-search-page-number {
    font-size: 1.15rem;
  }

  .word-search-page-number-left {
    left: 0.45rem;
    bottom: 0.2rem;
  }

  .word-search-page-number-right {
    right: 0.45rem;
    bottom: 0.2rem;
  }
}

@media (max-width: 640px) {
  .zine-reader-slide {
    padding: 1rem 2rem;
  }

  .zine-reader-arrow {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 2.8rem;
  }

  .zine-reader-image {
    width: min(100%, 24rem);
    max-height: calc(100svh - 2rem);
  }

  .quiz-slide {
    padding: 0.75rem 1rem;
  }

  .quiz-page,
  .quiz-spread,
  .quiz-left-page,
  .quiz-right-page {
    min-height: calc(100svh - 1.5rem);
  }

  .quiz-left-page {
    padding: 2.1rem 0.8rem 0.4rem;
  }

  .quiz-title {
    font-size: 4rem;
  }

  .quiz-intro {
    max-width: 18rem;
    margin-top: 0.65rem;
    font-size: 0.74rem;
    line-height: 1.24;
  }

  .quiz-right-page {
    padding: 0.25rem 0.5rem 2.2rem;
  }

  .quiz-paper {
    width: min(100%, 18.8rem);
    padding: 1rem 0.75rem 0.7rem;
  }

  .quiz-questions {
    gap: 0.42rem;
  }

  .quiz-question p,
  .quiz-result-line,
  .quiz-result-copy,
  .quiz-option {
    font-size: 0.56rem;
    line-height: 1.18;
  }

  .quiz-options {
    gap: 0.24rem 0.55rem;
  }

  .quiz-result-line {
    margin-top: 0.58rem;
  }

  .quiz-result-copy {
    margin-top: 0.18rem;
  }

  .quiz-result-blank {
    min-width: 3.1rem;
  }

  .quiz-restart {
    margin-top: 0.65rem;
    min-width: 4.8rem;
    height: 1.55rem;
    font-size: 0.7rem;
  }

  .quiz-page-number {
    font-size: 0.8rem;
  }

  .word-search-slide {
    padding: 0.75rem 1rem;
  }

  .word-search-page,
  .word-search-spread,
  .word-search-left-page,
  .word-search-right-page {
    min-height: calc(100svh - 1.5rem);
  }

  .word-search-left-page {
    padding: 1rem 0.9rem 0.25rem;
  }

  .word-search-note {
    width: min(100%, 19rem);
    padding: 4.9rem 2.6rem 2.45rem 2.85rem;
  }

  .word-search-title {
    margin-bottom: 1rem;
    font-size: 2.35rem;
  }

  .word-search-title span:last-child {
    transform: translateY(0.8rem);
  }

  .word-search-clues {
    font-size: 0.68rem;
    line-height: 1.28;
  }

  .word-search-right-page {
    padding: 0.5rem 0.55rem 3rem;
  }

  .word-search-directions {
    max-width: 15rem;
    font-size: 0.75rem;
  }

  .word-search-timer {
    margin-top: 0.45rem;
    font-size: 1.15rem;
  }

  .word-search-grid {
    --word-search-cell: clamp(
      1.15rem,
      min(calc((100vw - 2rem) / 12), calc((100svh - 11.5rem) / 13)),
      1.55rem
    );
    margin-top: 0.85rem;
  }

  .word-search-cell {
    border-width: clamp(0.05rem, calc(var(--word-search-cell) * 0.05), 0.08rem);
    font-size: clamp(0.72rem, calc(var(--word-search-cell) * 0.68), 1.05rem);
  }

  .word-search-button {
    margin-top: 1rem;
    min-width: 6.4rem;
    height: 2rem;
    border-radius: 0.45rem;
    font-size: 0.82rem;
  }

  .word-search-page-number {
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  [data-variant="desktop"] {
    display: none !important;
  }

  .zine-view-shell {
    place-items: stretch;
  }

  .zine-reader-mobile-chrome {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100vw, 25.125rem);
    padding: 0.5rem 0.75rem 0;
    transform: translateX(-50%);
    gap: 0.75rem;
  }

  .zine-reader-mobile-brand {
    max-width: calc(100% - 3rem);
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: clamp(0.82rem, 4.4vw, 0.9375rem);
    font-weight: 600;
    line-height: 1.2;
  }

  .zine-reader-mobile-close {
    flex: 0 0 auto;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: clamp(1.75rem, 8vw, 2rem);
    line-height: 1;
    text-decoration: none;
  }

  .zine-reader-track {
    height: auto;
    min-height: 100svh;
  }

  .zine-reader-slide {
    min-height: 100svh;
    padding: 0;
  }

  .slide.slide-active.zine-reader-slide[data-variant="mobile"] {
    display: flex;
  }

  .word-search-grid.word-search-mobile-grid {
    --word-search-mobile-cell: clamp(
      0.72rem,
      min(calc((100vw - 5rem) / 12), calc((100svh - 16.5rem) / 14)),
      1.34rem
    );
    --word-search-cell: var(--word-search-mobile-cell);
    margin-top: clamp(0.28rem, 1.2vw, 0.45rem);
  }

  .word-search-mobile-grid .word-search-cell {
    font-size: clamp(0.5rem, calc(var(--word-search-mobile-cell) * 0.55), 0.78rem);
  }

  .word-search-button.word-search-mobile-button {
    margin-top: clamp(0.34rem, calc(var(--word-search-mobile-cell, 1.25rem) * 0.44), 0.6rem);
    min-width: clamp(3.15rem, 10.8vw, 3.9rem);
    height: clamp(1.12rem, 3.8vw, 1.42rem);
    border-radius: 0.25rem;
    font-size: clamp(0.48rem, 1.55vw, 0.58rem);
  }

  .zine-reader-arrow {
    top: var(--zine-mobile-arrow-top, calc(7.25rem + 34.125rem + 0.75rem));
    bottom: auto;
    width: auto;
    height: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
    line-height: 1;
    text-transform: uppercase;
    transform: none;
  }

  .zine-reader-arrow-left {
    left: max(0.5rem, env(safe-area-inset-left), calc((100vw - 23.5rem) / 2));
  }

  .zine-reader-arrow-right {
    right: max(0.5rem, env(safe-area-inset-right), calc((100vw - 23.5rem) / 2));
  }

  .zine-reader-arrow-left .zine-reader-arrow-icon {
    transform: rotate(180deg);
  }

  .zine-reader-arrow-icon,
  .zine-reader-arrow-label {
    display: block;
  }
}
