@font-face {
  font-family: DessMain;
  src: url('../fonts/main.ttf') format('truetype');
  font-display: swap;
}

/* THE BITE OF 1997 */

body.note-bite-page {
  background: #050305;
}

@media (hover: hover) and (pointer: fine) {
  body.note-bite-page {
    zoom: 75%;
  }

  body.note-bite-page .bite-audio {
    zoom: 133.333333%;
  }
}

.bite-wallpaper {
  position: fixed;
  inset: 48px 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #060509;
}

.bite-wallpaper::before,
.bite-wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
}

.bite-wallpaper::before {
  background: rgba(0, 0, 0, .34);
}

.bite-wallpaper::after {
  opacity: .16;
  background:
    linear-gradient(90deg, rgba(255, 0, 80, .04), transparent 18%, transparent 82%, rgba(0, 220, 255, .04)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, .1) 0,
      rgba(255, 255, 255, .1) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: overlay;
  animation:
    bite-scanlines 9s linear infinite,
    bite-global-vhs 5.4s steps(8, end) infinite;
}

.bite-wallpaper__scene {
  --bite-scene-scale: 1;
  --bite-parallax-x: 0px;
  --bite-parallax-y: 0px;
  position: absolute;
  top: calc(50% + var(--bite-parallax-y));
  left: calc(50% + var(--bite-parallax-x));
  width: 3840px;
  height: 1080px;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--bite-scene-scale));
  transform-origin: center;
  user-select: none;
  background: #1b1f3e;
  animation: bite-scene-color 3.6s steps(12, end) infinite;
}

.bite-wallpaper__city {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../wallpapers/big-shot-pc/images/spambackground.png");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 2009px 1080px;
  opacity: .92;
  image-rendering: pixelated;
  filter: brightness(1.24) saturate(1.08);
  animation: bite-city-scroll 46s linear infinite;
}

.bite-wallpaper__object {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%) rotate(var(--bite-object-angle));
  transform-origin: center;
}

.bite-wallpaper__visual,
.bite-wallpaper__group,
.bite-wallpaper__group-frame,
.bite-wallpaper__group img,
.bite-phone--wallpaper {
  display: block;
  width: 100%;
  height: 100%;
}

.bite-wallpaper__visual,
.bite-wallpaper__group img {
  position: absolute;
  inset: 0;
  object-fit: fill;
  image-rendering: pixelated;
}

.bite-wallpaper__group {
  position: relative;
}

.bite-wallpaper__banana {
  animation: bite-window-drift-a 13s ease-in-out infinite;
}

.bite-wallpaper__banana-cat {
  top: 9% !important;
  left: 27% !important;
  width: 46% !important;
  height: 69% !important;
  object-fit: contain !important;
}

.bite-wallpaper__television {
  animation: bite-window-drift-b 15s ease-in-out -6s infinite;
}

.bite-wallpaper__television-screen {
  top: 22% !important;
  left: 10% !important;
  width: 80% !important;
  height: 58% !important;
  object-fit: fill !important;
}

.bite-wallpaper__big-shot-window {
  animation: bite-window-drift-a 17s ease-in-out -3s infinite;
}

.bite-wallpaper__big-shot-ad {
  top: 6% !important;
  left: 4% !important;
  width: 92% !important;
  height: 90% !important;
  object-fit: fill !important;
}

.bite-wallpaper__worms::after,
.bite-wallpaper__deal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.bite-wallpaper__phone {
  z-index: 8;
  animation: bite-phone-shake 2.1s steps(10, end) infinite;
}

.bite-phone {
  display: block;
  overflow: hidden;
  background-image: url("../wallpapers/big-shot-pc/images/specildealphone-spritesheet.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 500% 100%;
  image-rendering: pixelated;
  animation: bite-phone-frames 1s steps(5, end) infinite;
}

.bite-wallpaper__dog {
  z-index: 12;
}

.bite-wallpaper__dog .bite-wallpaper__visual {
  transform: scaleX(-1);
}

.bite-wallpaper__queen {
  animation: bite-window-drift-b 18s ease-in-out -8s infinite;
}

.bite-wallpaper__plush {
  animation: none;
}

.bite-wallpaper__worms {
  overflow: hidden;
  filter: saturate(.95) contrast(1.04);
}

.bite-wallpaper__worms .bite-wallpaper__visual,
.bite-wallpaper__deal .bite-wallpaper__visual {
  animation: bite-vhs-color 1.45s steps(12, end) infinite;
}

.bite-wallpaper__worms::after,
.bite-wallpaper__deal::after {
  opacity: .2;
  background:
    linear-gradient(90deg, rgba(255, 28, 91, .12), transparent 8%, transparent 92%, rgba(0, 224, 255, .12)),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, .18) 10px, transparent 12px);
  mix-blend-mode: screen;
  animation: bite-vhs-tracking 1.25s steps(10, end) infinite;
}

.bite-wallpaper__worms--right {
  animation: bite-vhs-drift 13s steps(12, end) -5s infinite reverse;
}

.bite-wallpaper__deal {
  overflow: hidden;
  filter: saturate(.96) brightness(1.02);
  animation: bite-audio-pulse 1.8s ease-in-out infinite;
  animation-play-state: paused;
}

.bite-wallpaper__deal--right {
  animation-delay: -.9s;
}

.bite-wallpaper__worms--right::after,
.bite-wallpaper__deal--right::after {
  animation-delay: -.7s;
}

body.bite-music-playing .bite-wallpaper__deal {
  animation-play-state: running;
}

.bite-wallpaper__clock {
  z-index: 3;
}

.bite-wallpaper__clock-value {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, .81);
  font: 38px/1 var(--font-main);
  text-align: center;
}

body.note-bite-page .note-page {
  z-index: 1;
  overflow: visible;
  background: transparent;
}

body.note-bite-page .note-page::after {
  z-index: 0;
  background: rgba(0, 0, 0, .18);
}

.note-article--bite {
  width: min(940px, 100%);
  background: rgba(0, 0, 0, .9);
  box-shadow:
    0 0 0 2px rgba(254, 242, 0, .15),
    0 0 70px rgba(0, 0, 0, .95);
}

.note-hero--bite {
  min-height: 0;
  align-content: start;
  gap: 18px;
  padding: 28px 0 24px;
}

.note-hero--bite .note-hero__copy {
  width: min(760px, 100%);
}

.note-hero--bite h1 {
  font-family: var(--font-main);
  line-height: .84;
  text-wrap: balance;
}

.note-hero__deck--bite {
  display: grid;
  gap: 10px;
  width: min(720px, 100%);
  font-size: clamp(16px, 2.6vw, 23px);
}

.note-hero__deck--bite strong {
  font-weight: normal;
}

.note-hero__thanks {
  margin-top: 18px !important;
  color: #c9c9c9 !important;
  font-size: 14px !important;
}

.note-hero__wallpaper-credit {
  margin-top: 7px !important;
  color: #c9c9c9 !important;
  font-size: 13px !important;
}

.note-hero__media--bite {
  grid-template-columns: 1fr;
  align-items: stretch;
  width: min(506px, 100%);
}

.note-figure--phone {
  overflow: hidden;
  border: 3px solid #fff;
  background: #c0c0c0;
  box-shadow: 0 0 0 4px #000, 0 14px 0 rgba(254, 242, 0, .18);
}

.bite-phone--hero {
  width: 100%;
  aspect-ratio: 253 / 225;
}

.bite-video-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.bite-video {
  margin: 0;
}

.bite-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid #fff;
  background: #000;
  box-shadow: 0 0 0 4px #000, 0 14px 0 rgba(254, 242, 0, .18);
}

.bite-video figcaption {
  margin-top: 12px;
  color: #d5d3f4;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.bite-video--single {
  margin: 30px 0;
}

.note-toc--bite {
  border-color: #fef200;
}

.note-section {
  scroll-margin-top: 76px;
}

.note-table-wrap--translations {
  margin: 30px 0;
  overflow-x: auto;
  border: 2px solid #fef200;
  background: #050505;
}

.note-table-wrap--translations table {
  min-width: 760px;
  border-collapse: collapse;
}

.note-table-wrap--translations th,
.note-table-wrap--translations td {
  padding: 13px 14px;
  border: 1px solid #585858;
  vertical-align: top;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.note-table-wrap--translations th {
  color: #fef200;
  background: #101010;
  font-weight: normal;
}

.note-table-wrap--translations td:nth-child(2) {
  color: #fff;
}

.note-code-editor {
  max-width: 680px;
  margin: 26px auto;
  padding: 3px;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  background: #c0c0c0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .5);
  color: #000;
  font-family: Tahoma, Arial, sans-serif;
}

.note-code-editor__titlebar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  padding: 2px 3px 2px 5px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font: bold 12px/1 Tahoma, Arial, sans-serif;
}

.note-code-editor__icon {
  width: 16px;
  height: 16px;
  background: url("../images/notes/the-bite-of-1997/code-window.png") center / contain no-repeat;
}

.note-code-editor__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-code-editor__controls {
  display: flex;
  gap: 2px;
}

.note-code-editor__controls > span {
  width: 18px;
  height: 17px;
  border: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.note-code-editor__control--minimize {
  background-image: url("../images/notes/the-bite-of-1997/window-minimize.png");
}

.note-code-editor__control--maximize {
  background-image: url("../images/notes/the-bite-of-1997/window-maximize.png");
}

.note-code-editor__control--close {
  background-image: url("../images/notes/the-bite-of-1997/window-close.png");
}

.note-code-editor__menu {
  display: flex;
  gap: 18px;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-bottom: 1px solid #808080;
  color: #000;
  font: 12px/1 Tahoma, Arial, sans-serif;
}

.note-code-editor__menu > span::first-letter {
  text-decoration: underline;
}

.note-code-editor__toolbar {
  display: flex;
  gap: 4px;
  align-items: center;
  min-height: 32px;
  padding: 3px 7px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #808080;
}

.note-code-editor__toolbar > i {
  width: 1px;
  height: 22px;
  margin: 0 3px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
}

.note-code-editor__tool {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 1px solid transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px 21px;
}

.note-code-editor__tool::before,
.note-code-editor__tool::after {
  content: none;
}

.note-code-editor__tool--new {
  background-image: url("../images/notes/the-bite-of-1997/code-new.png");
}

.note-code-editor__tool--open {
  background-image: url("../images/notes/the-bite-of-1997/code-open.png");
}

.note-code-editor__tool--save {
  background-image: url("../images/notes/the-bite-of-1997/code-save.png");
}

.note-code-editor__tool--run {
  background-image: url("../images/notes/the-bite-of-1997/code-run.png");
}

.note-code-editor__workspace {
  min-height: 124px;
  margin: 4px;
  padding: 8px 0;
  overflow-x: auto;
  border: 2px solid;
  border-color: #404040 #fff #fff #404040;
  background: #071014;
  color: #c9fbff;
  font: 15px/1.65 "Courier New", monospace;
  tab-size: 2;
}

.note-code-editor__line {
  display: grid;
  grid-template-columns: 42px minmax(max-content, 1fr);
  min-height: 25px;
}

.note-code-editor__number {
  padding-right: 10px;
  border-right: 1px solid #3a5c65;
  color: #718c93;
  text-align: right;
  user-select: none;
}

.note-code-editor__line code {
  padding: 0 12px;
  color: inherit;
  font: inherit;
  white-space: pre;
}

.note-code-editor__status {
  display: grid;
  grid-template-columns: minmax(92px, auto) 48px minmax(130px, 1fr);
  gap: 3px;
  min-height: 22px;
  padding-top: 2px;
  color: #111;
  font: 11px/1 Tahoma, Arial, sans-serif;
}

.note-code-editor__status > span {
  display: flex;
  align-items: center;
  padding: 0 6px;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
}

@media (max-width: 560px) {
  .note-code-editor__menu {
    gap: 12px;
  }

  .note-code-editor__workspace {
    font-size: 13px;
  }

  .note-code-editor__line {
    grid-template-columns: 34px minmax(max-content, 1fr);
  }

  .note-code-editor__status {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .note-code-editor__status > span:last-child {
    display: none;
  }
}

.bite-audio {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: min(630px, var(--bite-controls-width, 48vw));
  max-width: calc(100vw - 24px);
}

.bite-audio.is-in-flow {
  position: static;
  justify-self: end;
  width: min(630px, 48vw);
  margin: 12px 16px 0 0;
}

.bite-audio > audio {
  display: none;
}

.bite-audio__volume {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 9px;
  border: 2px solid #fef200;
  background: #050505;
  color: #fef200;
  box-shadow: 4px 4px 0 #000;
  box-sizing: border-box;
}

.bite-audio__volume input {
  --bite-volume: 38%;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 6px;
  margin: 0;
  border: 0;
  appearance: none;
  background: linear-gradient(
    90deg,
    #fef200 0 var(--bite-volume),
    #414141 var(--bite-volume) 100%
  );
  cursor: pointer;
}

.bite-audio__volume input::-webkit-slider-thumb {
  width: 15px;
  height: 22px;
  border: 2px solid #000;
  border-radius: 0;
  appearance: none;
  background: #fef200;
  box-shadow: 0 0 0 1px #fff;
}

.bite-audio__volume input::-moz-range-thumb {
  width: 13px;
  height: 20px;
  border: 2px solid #000;
  border-radius: 0;
  background: #fef200;
  box-shadow: 0 0 0 1px #fff;
}

.bite-audio__volume input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.bite-audio__volume output {
  width: 3.4em;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: right;
}

.bite-audio__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid #fef200;
  background: #050505;
  color: #fef200;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  box-sizing: border-box;
}

.bite-audio__toggle:is(:hover, :focus-visible) {
  background: #fef200;
  color: #000;
  outline: 0;
}

.bite-audio__toggle.is-muted {
  border-color: #fff;
  color: #fff;
}

.bite-audio__icon {
  width: 20px;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.bite-audio__icon::before {
  content: "♪";
}

.bite-audio__toggle.is-muted .bite-audio__icon::before {
  content: "×";
}

.note-bite-page .bite-audio .dess-feedback-fab {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
}

.bite-audio.is-mobile-bgm-disabled {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(220px, calc(100vw - 20px));
}

.bite-audio.is-mobile-bgm-disabled .bite-audio__volume,
.bite-audio.is-mobile-bgm-disabled .bite-audio__toggle {
  display: none;
}

.bite-audio.is-rail-compact {
  gap: 6px;
}

.bite-audio.is-rail-compact .bite-audio__volume,
.bite-audio.is-rail-compact .bite-audio__toggle,
.note-bite-page .bite-audio.is-rail-compact .dess-feedback-fab {
  height: 48px;
  min-height: 48px;
}

.bite-audio.is-rail-compact .bite-audio__volume {
  gap: 5px;
  padding: 0 6px;
}

.bite-audio.is-rail-compact .bite-audio__volume output {
  width: 3em;
  font-size: 11px;
}

.bite-audio.is-rail-compact .bite-audio__toggle {
  gap: 5px;
  padding: 0 7px;
  font-size: 12px;
  line-height: 1.15;
}

.bite-audio.is-rail-compact .bite-audio__icon {
  width: 14px;
  font-size: 16px;
}

.note-bite-page .bite-audio.is-rail-compact .dess-feedback-fab {
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.15;
}

.bite-rarecats {
  margin: 34px 0;
  background: #000;
}

.bite-rarecats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 2px solid #fff;
}

.bite-rarecats__header h3,
.bite-rarecats__header p {
  margin: 0;
  font-weight: normal;
}

.bite-rarecats__header h3 {
  color: #fff;
  font-size: 24px;
}

.bite-rarecats__header p {
  color: #fff;
  font-size: 18px;
}

.bite-rarecats__status {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bite-rarecats__stage {
  position: relative;
  height: clamp(360px, 60vw, 560px);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.bite-rarecats__cat {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 200px;
  height: 200px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  will-change: left, top;
}

.bite-rarecats__cat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
}

.bite-rarecats__cat.is-caught {
  animation: bite-cat-caught 1s cubic-bezier(.25, 1, .5, 1) forwards;
  pointer-events: none;
}

.bite-rarecats__cat.is-friend {
  pointer-events: none;
  animation: bite-friend-arrives 1s linear forwards;
}

.bite-rarecats__window {
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 178px;
  image-rendering: pixelated;
  opacity: 0;
  pointer-events: none;
}

.bite-rarecats__window[hidden] {
  display: none;
}

.bite-rarecats__window.is-visible {
  animation: bite-window-in 1s ease-out forwards;
}

.bite-rarecats__window.is-leaving {
  animation: bite-window-out 2s ease-out forwards;
}

.bite-rarecats__toast {
  position: absolute;
  z-index: 5;
  width: 96px;
  height: 48px;
  color: #fff;
  font-size: 24px;
  line-height: 48px;
  text-align: center;
  pointer-events: none;
  animation: bite-toast 1s cubic-bezier(.25, 1, .5, 1) forwards;
}

.bite-rarecats__toast--down {
  animation-name: bite-toast-down;
}

.bite-rarecats__reset {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.bite-rarecats__reset:is(:hover, :focus-visible) {
  border-color: #fef200;
  color: #fef200;
  outline: 0;
}

@keyframes bite-city-scroll {
  from { background-position: 0 center; }
  to { background-position: -2009px center; }
}

@keyframes bite-scanlines {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}

@keyframes bite-global-vhs {
  0%,
  100% { opacity: .14; filter: hue-rotate(0deg); }
  20% { opacity: .18; filter: hue-rotate(1deg); }
  21% { opacity: .13; }
  58% { opacity: .17; filter: hue-rotate(-1deg); }
  59% { opacity: .14; }
}

@keyframes bite-scene-color {
  0%,
  100% { filter: contrast(1.02) saturate(1); }
  35% { filter: contrast(1.045) saturate(1.03); }
  36% { filter: contrast(1.015) saturate(.99); }
  72% { filter: contrast(1.035) saturate(1.02); }
}

@keyframes bite-phone-frames {
  to { background-position: 125% 0; }
}

@keyframes bite-phone-shake {
  0% { transform: translate(-50%, -50%) rotate(3.1deg); }
  5% { transform: translate(-50%, -50%) rotate(13.6deg); }
  10% { transform: translate(-50%, -50%) rotate(4.3deg); }
  15% { transform: translate(-50%, -50%) rotate(21deg); }
  20% { transform: translate(-50%, -50%) rotate(6.2deg); }
  25% { transform: translate(-50%, -50%) rotate(12.4deg); }
  30% { transform: translate(-50%, -50%) rotate(.8deg); }
  35% { transform: translate(-50%, -50%) rotate(5.8deg); }
  40% { transform: translate(-50%, -50%) rotate(-5.8deg); }
  45% { transform: translate(-50%, -50%) rotate(5.1deg); }
  50% { transform: translate(-50%, -50%) rotate(-16.2deg); }
  55% { transform: translate(-50%, -50%) rotate(-6.9deg); }
  60% { transform: translate(-50%, -50%) rotate(8.6deg); }
  65% { transform: translate(-50%, -50%) rotate(-4.6deg); }
  70% { transform: translate(-50%, -50%) rotate(5.8deg); }
  75% { transform: translate(-50%, -50%) rotate(-10.4deg); }
  80% { transform: translate(-50%, -50%) rotate(-21.7deg); }
  85% { transform: translate(-50%, -50%) rotate(-.7deg); }
  90% { transform: translate(-50%, -50%) rotate(-13.5deg); }
  95% { transform: translate(-50%, -50%) rotate(9.7deg); }
  100% { transform: translate(-50%, -50%) rotate(-.7deg); }
}

@keyframes bite-vhs-color {
  0%,
  100% {
    filter:
      saturate(.96)
      contrast(1.04)
      drop-shadow(1px 0 rgba(255, 24, 96, .22))
      drop-shadow(-1px 0 rgba(0, 225, 255, .2));
  }
  35% {
    filter:
      saturate(1.05)
      contrast(1.09)
      drop-shadow(3px 0 rgba(255, 24, 96, .28))
      drop-shadow(-2px 0 rgba(0, 225, 255, .25));
  }
  36% {
    filter:
      saturate(.92)
      contrast(1.02)
      drop-shadow(1px 0 rgba(255, 24, 96, .18))
      drop-shadow(-1px 0 rgba(0, 225, 255, .18));
  }
}

@keyframes bite-vhs-tracking {
  0%,
  100% { transform: translateY(-18%); }
  40% { transform: translateY(22%); }
  41% { transform: translate(2px, 23%); }
  70% { transform: translateY(76%); }
  71% { transform: translate(-2px, 74%); }
}

@keyframes bite-window-drift-a {
  0%,
  100% { transform: translate(-50%, -50%) rotate(var(--bite-object-angle)); }
  50% { transform: translate(calc(-50% + 15px), calc(-50% - 12px)) rotate(var(--bite-object-angle)); }
}

@keyframes bite-window-drift-b {
  0%,
  100% { transform: translate(-50%, -50%) rotate(var(--bite-object-angle)); }
  50% { transform: translate(calc(-50% - 12px), calc(-50% + 16px)) rotate(var(--bite-object-angle)); }
}

@keyframes bite-vhs-drift {
  0%,
  100% { transform: translate(-50%, -50%) skewX(0); }
  25% { transform: translate(calc(-50% + 3px), -50%) skewX(.4deg); }
  50% { transform: translate(calc(-50% - 2px), -50%) skewX(-.5deg); }
  75% { transform: translate(calc(-50% + 1px), -50%) skewX(.2deg); }
}

@keyframes bite-audio-pulse {
  0%,
  100% { transform: translate(-50%, -50%) rotate(var(--bite-object-angle)) scale(1.03); }
  50% { transform: translate(-50%, -50%) rotate(var(--bite-object-angle)) scale(1.16); }
}

@keyframes bite-cat-caught {
  0% { transform: scale(.8); opacity: 1; }
  25% { transform: scale(1.2); opacity: 1; }
  50% { transform: scale(1); opacity: 1; }
  75% { transform: scale(.95); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes bite-friend-arrives {
  from { transform: scale(1); }
  to { transform: scale(10); }
}

@keyframes bite-window-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bite-window-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes bite-toast {
  0% { transform: translateY(0); opacity: 0; }
  25% { transform: translateY(-10px); opacity: 1; }
  75% { transform: translateY(-10px); opacity: 1; }
  100% { transform: translateY(-60px); opacity: 0; }
}

@keyframes bite-toast-down {
  0% { transform: translateY(0); opacity: 0; }
  25% { transform: translateY(10px); opacity: 1; }
  75% { transform: translateY(10px); opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

@media (max-width: 1000px) and (hover: hover) and (pointer: fine) {
  .bite-audio {
    gap: 6px;
  }

  .bite-audio__volume,
  .bite-audio__toggle,
  .note-bite-page .bite-audio .dess-feedback-fab {
    height: 46px;
    min-height: 46px;
  }

  .bite-audio__volume {
    gap: 5px;
    padding: 0 6px;
  }

  .bite-audio__volume output {
    width: 3em;
    font-size: 10px;
  }

  .bite-audio__toggle {
    gap: 5px;
    padding: 0 7px;
    font-size: 11px;
    line-height: 1.15;
  }

  .bite-audio__icon {
    width: 14px;
    font-size: 16px;
  }

  .note-bite-page .bite-audio .dess-feedback-fab {
    padding: 0 6px;
    font-size: 10px;
    line-height: 1.15;
  }
}

@media (max-width: 720px) {
  .bite-wallpaper::before {
    background: rgba(0, 0, 0, .46);
  }

  .note-hero__media--bite {
    grid-template-columns: 1fr;
  }

  .bite-phone--hero {
    min-height: 0;
  }

  .bite-audio {
    right: 10px;
    bottom: 10px;
    gap: 6px;
    width: min(660px, 48vw);
  }

  .bite-audio__volume,
  .bite-audio__toggle,
  .note-bite-page .bite-audio .dess-feedback-fab {
    height: 42px;
    min-height: 42px;
  }

  .bite-audio__volume {
    gap: 5px;
    padding: 0 6px;
  }

  .bite-audio__volume output {
    width: 3em;
    font-size: 11px;
  }

  .bite-audio__toggle {
    gap: 5px;
    padding: 0 6px;
    font-size: 11px;
  }

  .bite-audio__icon {
    width: 14px;
    font-size: 16px;
  }

  .note-bite-page .bite-audio .dess-feedback-fab {
    padding: 0 5px;
    font-size: 10px;
    line-height: 1.15;
  }

  .bite-rarecats__stage {
    min-height: 300px;
  }
}

@media (max-width: 720px) and (hover: none) and (pointer: coarse) {
  .bite-audio {
    width: calc(100vw - 20px);
  }
}

@media (max-width: 720px) and (hover: hover) and (pointer: fine) {
  .bite-audio.is-in-flow {
    width: min(630px, 48vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bite-wallpaper__scene,
  .bite-wallpaper__city,
  .bite-wallpaper__object,
  .bite-phone,
  .bite-wallpaper::after,
  .bite-wallpaper__worms .bite-wallpaper__visual,
  .bite-wallpaper__worms::after,
  .bite-wallpaper__deal .bite-wallpaper__visual,
  .bite-wallpaper__deal::after,
  .bite-rarecats__cat,
  .bite-rarecats__window,
  .bite-rarecats__toast {
    animation: none !important;
  }
}

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #808080;
  --yellow: #ffff00;
  --blue: #2020ff;
  --font: DessMain, "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #000;
  color: var(--fg);
}

.chapter-menu-body {
  overflow: hidden;
}

.chapter-menu-screen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

#chapter-menu {
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  outline: 0;
  touch-action: none;
}

.chapter-menu-fallback {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.boot-sequence {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  animation: boot-hide 1.55s steps(1, end) forwards;
}

.boot-lines {
  width: min(780px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  color: var(--fg);
  font-size: clamp(14px, 2vw, 24px);
  text-transform: uppercase;
}

.boot-lines span {
  min-height: 1.2em;
  overflow: hidden;
  white-space: nowrap;
  animation: boot-type .45s steps(24, end) both;
}

.boot-lines span:nth-child(2) {
  color: var(--muted);
  animation-delay: .28s;
}

.boot-lines span:nth-child(3) {
  color: var(--yellow);
  animation-delay: .56s;
}

.chapterselect-page,
.sub-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
}

.cs-stage {
  position: relative;
  width: 640px;
  height: 480px;
  overflow: hidden;
  background: #000;
  color: #fff;
  image-rendering: pixelated;
  outline: 0;
  transform: scale(var(--cs-scale, 1));
  transform-origin: center;
}

.cs-row {
  position: absolute;
  left: 0;
  width: 640px;
  height: 72px;
  color: #fff;
  background: #000;
  overflow: visible;
}

.cs-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
}

.cs-row:nth-child(1) {
  top: -10px;
}

.cs-row:nth-child(2) {
  top: 50px;
}

.cs-row:nth-child(3) {
  top: 110px;
}

.cs-row:nth-child(4) {
  top: 170px;
}

.cs-row:nth-child(5) {
  top: 230px;
}

.cs-row:nth-child(6) {
  top: 290px;
}

.cs-row:nth-child(7) {
  top: 350px;
}

.cs-soul {
  position: absolute;
  left: 20px;
  top: 34px;
  width: 18px;
  height: 18px;
  opacity: 0;
  image-rendering: pixelated;
}

.cs-label,
.cs-title {
  position: absolute;
  top: 26px;
  transform: none;
  font-size: 24px;
  line-height: 1.15;
  white-space: nowrap;
}

.cs-label {
  left: 48px;
}

.cs-icon {
  position: absolute;
  left: 222px;
  top: 16px;
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

.cs-title {
  left: 312px;
}

.cs-row:is(:hover, :focus-visible),
.cs-row.is-selected {
  color: var(--yellow);
  outline: 0;
}

.cs-row.is-confirming .cs-title {
  opacity: 0;
}

.cs-confirm {
  position: absolute;
  left: 310px;
  top: 26px;
  display: none;
  grid-template-columns: 132px 110px;
  transform: none;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
  white-space: nowrap;
}

.cs-row.is-confirming .cs-confirm {
  display: grid;
}

.cs-confirm [data-choice] {
  position: relative;
  padding-left: 28px;
}

.cs-confirm [data-choice].is-choice {
  color: var(--yellow);
}

.cs-confirm [data-choice].is-choice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  transform: none;
  background: url('../images/chapterselect/heart.png') center / contain no-repeat;
  image-rendering: pixelated;
}

.cs-row.is-locked {
  color: var(--muted);
}

.cs-row:is(:hover, :focus-visible) .cs-soul,
.cs-row.is-selected .cs-soul {
  opacity: 1;
}

.cs-row.is-confirming .cs-soul {
  opacity: 0;
}

.cs-row:is(:hover, :focus-visible) .cs-icon,
.cs-row.is-selected .cs-icon {
  filter: sepia(1) saturate(6) hue-rotate(0deg) brightness(1.35);
}

.cs-row.is-locked .cs-icon {
  filter: grayscale(1);
  opacity: .72;
}

.cs-footer {
  position: absolute;
  left: 0;
  right: auto;
  top: 410px;
  bottom: auto;
  display: block;
  width: 640px;
  height: 70px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.cs-version {
  position: absolute;
  left: 16px;
  top: 24px;
  display: grid;
  gap: 4px;
}

.cs-memory {
  position: absolute;
  left: 312px;
  top: 30px;
  width: 312px;
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.cs-exit {
  position: absolute;
  left: 180px;
  top: 24px;
  min-width: 112px;
  border: 0;
  padding: 0 0 0 28px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 24px;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
}

.cs-exit .cs-soul {
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  transform: none;
}

.cs-exit:is(:hover, :focus-visible),
.cs-exit.is-selected {
  color: var(--yellow);
  outline: 0;
}

.cs-exit:is(:hover, :focus-visible) .cs-soul,
.cs-exit.is-selected .cs-soul {
  opacity: 1;
}

.back-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 10px 14px;
  border: 3px solid var(--fg);
  background: #000;
  color: var(--fg);
  text-transform: uppercase;
}

.back-link:is(:hover, :focus-visible) {
  color: var(--yellow);
  outline: 0;
}

.notes-locked-screen {
  padding: clamp(20px, 5vw, 56px);
}

.dev-warning {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 24px;
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border: 4px solid #fff;
  background: #000;
  box-shadow: 0 0 0 4px #000;
}

.dev-warning__heart {
  width: 18px;
  height: 18px;
  margin-top: 12px;
  image-rendering: pixelated;
}

.dev-warning__label,
.dev-warning h1,
.dev-warning p {
  margin: 0;
  font-weight: normal;
  text-shadow: 3px 3px 0 #000;
}

.dev-warning__label {
  color: var(--muted);
  font-size: clamp(14px, 2vw, 20px);
}

.dev-warning h1 {
  margin-top: 8px;
  color: var(--yellow);
  font-size: clamp(42px, 8vw, 86px);
  line-height: .9;
}

.dev-warning p:not(.dev-warning__label) {
  margin-top: 26px;
  color: #fff;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.25;
}

.notes-page,
.note-page {
  min-height: calc(100vh - 48px);
  background:
    linear-gradient(180deg, rgba(52, 45, 181, .34), rgba(0, 0, 0, 0) 260px),
    #000;
  color: #fff;
}

.notes-page {
  display: block;
  padding: clamp(26px, 6vw, 68px) 16px 80px;
}

.notes-list {
  width: min(760px, 100%);
  margin: 0 auto;
}

.notes-list__header {
  margin-bottom: 34px;
}

.notes-list__header p,
.notes-list__header h1 {
  margin: 0;
  font-weight: normal;
  text-shadow: 3px 3px 0 #000;
}

.notes-list__header p {
  color: var(--muted);
  font-size: clamp(14px, 2vw, 20px);
}

.notes-list__header h1 {
  margin-top: 8px;
  color: var(--yellow);
  font-size: clamp(42px, 8vw, 86px);
  line-height: .9;
}

.note-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 3px solid #fff;
  background: #050505;
  color: #fff;
  box-shadow: 0 0 0 4px #000;
}

.note-card:is(:hover, :focus-visible) {
  border-color: var(--yellow);
  color: var(--yellow);
  outline: 0;
}

.note-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #fff;
  background: #000;
}

.note-card__preview--bite {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

.note-card__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.note-card__tag {
  color: #d5d3f4;
  font-size: 13px;
  line-height: 1.2;
}

.note-card__title {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.05;
}

.note-card__summary {
  color: #fff;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.35;
}

.note-card__summary--bite {
  display: grid;
  gap: 6px;
}

.note-card__date {
  color: #d5d3f4;
  font-size: 14px;
  line-height: 1.25;
}

.note-card__date span,
.note-article__date span {
  color: var(--muted);
}

.note-page {
  display: block;
  padding: 0 16px 110px;
}

body[data-page="note-article"] .note-page {
  position: relative;
  overflow: hidden;
  background: #000;
}

body[data-page="note-article"] .note-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.note-depth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.note-depth-bg span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(54vw, 620px);
  height: max(54vh, 470px);
  background-image: url('../images/notes/deltarune-bible/depth.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  image-rendering: auto;
  opacity: .54;
  filter: brightness(1.35) saturate(1.55) contrast(1.28);
  transform-origin: left top;
  will-change: transform, opacity;
}

.note-depth-bg span:nth-child(1) {
  animation: depth-q1 18s ease-in-out infinite, depth-breathe 7s ease-in-out infinite;
}

.note-depth-bg span:nth-child(2) {
  animation: depth-q2 18s ease-in-out infinite, depth-breathe 7s ease-in-out infinite;
}

.note-depth-bg span:nth-child(3) {
  animation: depth-q3 18s ease-in-out infinite, depth-breathe 7s ease-in-out infinite;
}

.note-depth-bg span:nth-child(4) {
  animation: depth-q4 18s ease-in-out infinite, depth-breathe 7s ease-in-out infinite;
}

body[data-page="note-article"] .note-page::after {
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)),
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .34) 360px, rgba(0, 0, 0, .58)),
    radial-gradient(circle at 50% 22%, rgba(70, 62, 214, .16), rgba(0, 0, 0, .34) 78%);
}

.note-article {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 44px) 78px;
  background: #000;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 0 48px rgba(0, 0, 0, .85);
  font-size: 16px;
  line-height: 1.5;
  overflow: clip;
}

.note-hero {
  min-height: calc(100vh - 48px);
  display: grid;
  align-content: center;
  gap: 30px;
  padding: clamp(28px, 6vw, 68px) 0 42px;
}

.note-hero__copy {
  width: min(620px, 100%);
  margin: 0 auto;
  text-align: center;
}

.note-back {
  display: inline-block;
  justify-self: start;
  margin-bottom: 2px;
  padding: 8px 10px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 16px;
  line-height: 1;
}

.note-back:is(:hover, :focus-visible) {
  background: var(--yellow);
  color: #000;
  outline: 0;
}

.note-article h1 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(42px, 9vw, 82px);
  font-weight: normal;
  line-height: .9;
  text-shadow: 3px 3px 0 #000;
}

.note-hero__deck {
  width: min(560px, 100%);
  margin: 18px auto 0;
  color: #fff;
  font-size: clamp(18px, 3.2vw, 26px);
  line-height: 1.35;
}

.note-article__date {
  margin-top: 14px;
  color: #d5d3f4;
  font-size: 15px;
  line-height: 1.35;
}

.note-hero__media {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: end;
  width: min(760px, 100%);
}

.note-toc {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 44px;
  padding: 10px 16px;
  border-top: 2px solid #342db5;
  border-bottom: 2px solid #342db5;
  background: rgba(0, 0, 0, .92);
}

.note-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #d5d3f4;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.note-toc a:is(:hover, :focus-visible) {
  color: var(--yellow);
  outline: 0;
}

.note-section {
  width: min(640px, 100%);
  margin: 0 auto;
  padding-top: 28px;
}

.note-section + .note-section {
  margin-top: 48px;
}

.note-kicker {
  margin: 0 0 10px;
  color: #d5d3f4;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.note-section h2 {
  margin: 0 0 24px;
  color: var(--yellow);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: normal;
  line-height: 1.05;
  text-shadow: 3px 3px 0 #000;
}

.note-article p {
  margin: 18px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
}

.note-article__link {
  color: #7fdcff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.note-article__link:is(:hover, :focus-visible) {
  color: var(--yellow);
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.note-article__lead {
  font-size: 18px;
  line-height: 1.5;
}

.note-article__point {
  padding: 18px;
  border: 3px solid var(--yellow);
  background: #070707;
  color: var(--yellow);
  font-size: 17px;
  line-height: 1.45;
}

.note-article__aside {
  padding: 16px;
  border: 2px solid #d5d3f4;
  background: rgba(213, 211, 244, .1);
  color: #d5d3f4;
}

.note-article__source {
  padding: 14px 16px;
  border-left: 4px solid #342db5;
  background: rgba(52, 45, 181, .18);
  color: #d5d3f4;
}

.note-article__source strong {
  color: var(--yellow);
  font-weight: normal;
}

.note-friend-word,
.note-device-friend {
  font-weight: normal;
  text-shadow: 2px 2px 0 #000;
}

.note-friend-word {
  display: inline-block;
  color: #feaec9;
  animation: friend-shimmer 2.4s ease-in-out infinite;
}

.note-device-friend {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.note-device-friend span:first-child {
  color: #fef200;
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(254, 242, 0, .42);
}

.note-device-friend span:last-child {
  color: #feaec9;
  animation: friend-shimmer 2.4s ease-in-out infinite;
}

.note-device-friend--inline {
  vertical-align: baseline;
}

.note-pullquote {
  margin: 34px 0;
  padding: 22px;
  border: 4px solid #fff;
  background: #000;
  color: var(--yellow);
  font-size: clamp(20px, 4vw, 32px);
  line-height: 1.25;
  text-align: center;
  text-shadow: 3px 3px 0 #000;
}

.note-image-stack,
.note-image-grid,
.note-image-pair {
  margin: 32px 0;
}

.note-image-grid {
  display: grid;
  gap: 16px;
}

.note-image-grid--duo,
.note-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.note-image-grid--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.note-figure {
  margin: 0;
}

.note-figure + .note-figure {
  margin-top: 16px;
}

.note-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, .82);
  background: #000;
  box-shadow: 0 0 0 4px #000, 0 18px 0 rgba(52, 45, 181, .24);
  image-rendering: auto;
  cursor: zoom-in;
}

.note-figure img:focus,
.note-figure img:focus-visible {
  outline: 0;
}

@media (hover: hover) and (pointer: fine) {
  .note-article--bite .note-figure img:hover,
  .note-article--bite .bite-video video:hover {
    outline: 3px solid var(--yellow);
    outline-offset: 7px;
  }
}

.note-dialogue-set {
  margin: 34px 0;
}

.note-dialogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  align-items: start;
}

.note-dialogue-card,
.note-dialogue-card + .note-dialogue-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-top: 22px;
  overflow: hidden;
  border: 2px solid;
  border-color: #fff #1a1a1a #1a1a1a #fff;
  border-radius: 0;
  outline: 1px solid #808080;
  background: #c0c0c0;
  box-shadow: 6px 6px 0 rgba(0, 0, 45, .42);
  color: #000;
  user-select: text;
}

.note-dialogue-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background: linear-gradient(90deg, #000080 0, #000080 60%, #1084d0 100%);
}

.note-dialogue-card__speaker {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 62px;
  left: 0;
  height: 22px;
  padding: 4px 7px 0;
  overflow: hidden;
  color: #fff;
  font: bold 12px/1.2 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-window-controls {
  position: absolute;
  z-index: 2;
  top: 2px;
  right: 3px;
  display: flex;
  gap: 2px;
}

.note-window-control {
  position: relative;
  display: block;
  width: 17px;
  height: 16px;
  border: 1px solid;
  border-color: #fff #202020 #202020 #fff;
  background: #c0c0c0;
  box-shadow:
    inset 1px 1px 0 #dfdfdf,
    inset -1px -1px 0 #808080;
}

.note-window-control--minimize::before {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 7px;
  height: 2px;
  background: #111;
}

.note-window-control--maximize::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid #111;
}

.note-window-control--close::before,
.note-window-control--close::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 3px;
  width: 9px;
  height: 2px;
  background: #111;
}

.note-window-control--close::before {
  transform: rotate(45deg);
}

.note-window-control--close::after {
  transform: rotate(-45deg);
}

.note-window-menu {
  position: relative;
  display: flex;
  min-height: 26px;
  gap: 14px;
  align-items: center;
  padding: 4px 8px 5px;
  border-bottom: 1px solid #808080;
  color: #111;
  background: #c0c0c0;
  box-shadow: inset 0 -1px 0 #fff;
  font: 12px/1 DessMain, "Courier New", monospace;
  letter-spacing: 0;
}

.note-window-menu span::first-letter {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.note-findings-window {
  position: relative;
  margin: 30px 0;
  padding-top: 22px;
  overflow: hidden;
  border: 2px solid;
  border-color: #fff #1a1a1a #1a1a1a #fff;
  outline: 1px solid #808080;
  background: #c0c0c0;
  box-shadow: 6px 6px 0 rgba(0, 0, 45, .42);
  color: #111;
}

.note-findings-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background: linear-gradient(90deg, #000080 0, #000080 60%, #1084d0 100%);
}

.note-findings-window > p {
  margin: 0 6px;
  padding: 12px 14px;
  border-right: 2px solid #fff;
  border-left: 2px solid #808080;
  border-top: 1px solid #9a9a9a;
  color: #111;
  background: #efefef;
  font-size: 15px;
  line-height: 1.55;
}

.note-findings-window > p:first-of-type {
  border-top: 2px solid #808080;
}

.note-findings-window > p:last-child {
  margin-bottom: 6px;
  border-bottom: 2px solid #fff;
}

.note-findings-window > .note-cluster__or {
  padding: 7px 14px;
  border-top-color: #808080;
  color: #000080;
  background: #d4d0c8;
  font: bold 12px/1.2 DessMain, "Courier New", monospace;
  text-align: center;
  text-transform: uppercase;
}

.note-findings-window .note-friend-word {
  color: #000080;
  animation: none;
  text-shadow: none;
}

.note-dialogue-card__row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  margin: 0 6px;
  padding: 12px;
  border-right: 2px solid #fff;
  border-left: 2px solid #808080;
  background: #efefef;
}

.note-dialogue-card__row--en {
  border-top: 2px solid #808080;
}

.note-dialogue-card__row + .note-dialogue-card__row {
  border-top: 1px solid #9a9a9a;
}

.note-dialogue-card__lang {
  padding-top: 3px;
  color: #111;
  font: 11px/1.2 DessMain, "Courier New", monospace;
  letter-spacing: 0;
}

.note-dialogue-card__row p {
  margin: 0;
  color: #111;
  font: 15px/1.55 DessMain, Consolas, monospace;
  letter-spacing: 0;
}

.note-dialogue-card__row--jp {
  background: #e9e9e9;
}

.note-dialogue-card__row--jp .note-dialogue-card__lang,
.note-dialogue-card__row--jp p {
  color: #111;
}

.note-dialogue-card__row--jp p {
  font-family: "Yu Gothic UI", "Meiryo UI", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.note-dialogue-card footer {
  min-height: 46px;
  margin: 0 6px 6px;
  padding: 10px 12px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  color: #000080;
  background: #d3d3d3;
  font: 11px/1.45 DessMain, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.note-dialogue-card footer code {
  font: inherit;
}

.note-dialogue-card ::selection {
  color: #000;
  background: #fef200;
}

.note-figure--hero img {
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
}

.note-figure--art img {
  border-color: var(--yellow);
}

.note-figure--opening {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.note-figure--opening img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

body.note-lightbox-open {
  overflow: hidden;
}

.note-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .94);
}

.note-lightbox[hidden] {
  display: none;
}

.note-lightbox__stage {
  position: absolute;
  inset: 64px 84px 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-out;
}

.note-lightbox.is-zoomed .note-lightbox__stage {
  cursor: grab;
}

.note-lightbox.is-zoomed .note-lightbox__stage:active {
  cursor: grabbing;
}

.note-lightbox__image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 168px);
  max-height: calc(100vh - 148px);
  object-fit: contain;
  border: 4px solid #fff;
  background: #000;
  box-shadow: 0 0 0 4px #000, 0 0 38px rgba(52, 45, 181, .5);
  transform-origin: center center;
  user-select: none;
  touch-action: none;
  cursor: zoom-in;
}

.note-lightbox button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 3px solid #fff;
  background: #000;
  color: #fff;
  font: 22px/1 DessMain, monospace;
  cursor: pointer;
  text-align: center;
}

.note-lightbox button:hover,
.note-lightbox button:focus-visible {
  color: #000;
  background: var(--yellow);
  border-color: var(--yellow);
  outline: none;
}

.note-lightbox__close {
  position: fixed !important;
  top: 14px;
  right: 16px;
  width: 42px;
  min-width: 42px;
  padding: 0;
  font-size: 0 !important;
  line-height: 0;
}

.note-lightbox__counter {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 2;
  display: grid;
  min-width: 116px;
  height: 42px;
  padding: 0 14px;
  place-items: center;
  border: 3px solid #fff;
  background: #000;
  color: #fff;
  font: 15px/1 DessMain, monospace;
  transform: translateX(-50%);
}

.note-lightbox__locate {
  position: fixed !important;
  top: 14px;
  left: 16px;
  display: inline-flex !important;
  width: auto;
  padding: 0 13px !important;
  gap: 8px;
  font-size: 14px !important;
  white-space: nowrap;
}

.note-lightbox__locate-icon {
  font-size: 20px;
  line-height: 1;
}

.note-lightbox__close::before,
.note-lightbox__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 3px;
  background: currentColor;
  transform-origin: center;
  pointer-events: none;
}

.note-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.note-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.note-lightbox__nav {
  position: fixed !important;
  top: 50%;
  width: 48px;
  height: 76px;
  transform: translateY(-50%);
  font-size: 42px !important;
  line-height: 1 !important;
}

.note-lightbox__nav span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateY(-3px);
}

.note-lightbox__nav--prev span {
  transform: translate(2px, -3px);
}

.note-lightbox__nav--next span {
  transform: translate(-2px, -3px);
}

.note-lightbox__nav--prev {
  left: 18px;
}

.note-lightbox__nav--next {
  right: 18px;
}

.note-lightbox__tools {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.note-lightbox__tools button {
  min-width: 64px;
}

.note-art-break {
  margin: 42px 0 22px;
  font-size: clamp(34px, 8vw, 76px);
  line-height: .9;
  text-align: center;
  text-shadow: 3px 3px 0 #000;
}

.note-compare {
  display: grid;
  gap: 10px;
  margin: 30px 0;
  padding: 18px;
  border: 3px solid #fff;
  background: #050505;
}

.note-compare p {
  margin: 0;
  color: #fff;
}

.note-compare span {
  display: inline-block;
  min-width: 112px;
  color: var(--yellow);
}

.note-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
}

.note-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.note-table-wrap td {
  padding: 10px;
  border: 2px solid #fff;
  color: #fff;
  vertical-align: top;
}

@keyframes boot-type {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes boot-hide {
  0%, 88% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes soul-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes friend-shimmer {
  0%, 100% {
    color: #feaec9;
    text-shadow: 2px 2px 0 #000, 0 0 0 rgba(254, 174, 201, 0);
  }
  45% {
    color: #ffd6e4;
    text-shadow: 2px 2px 0 #000, 0 0 12px rgba(254, 174, 201, .72);
  }
  70% {
    color: #ffffff;
    text-shadow: 2px 2px 0 #000, 0 0 16px rgba(254, 174, 201, .86);
  }
}

@keyframes depth-q1 {
  0%, 100% {
    transform: scale(1.08, 1.08);
  }
  50% {
    transform: scale(1.46, 1.46);
  }
}

@keyframes depth-q2 {
  0%, 100% {
    transform: scale(-1.08, 1.08);
  }
  50% {
    transform: scale(-1.46, 1.46);
  }
}

@keyframes depth-q3 {
  0%, 100% {
    transform: scale(-1.08, -1.08);
  }
  50% {
    transform: scale(-1.46, -1.46);
  }
}

@keyframes depth-q4 {
  0%, 100% {
    transform: scale(1.08, -1.08);
  }
  50% {
    transform: scale(1.46, -1.46);
  }
}

@keyframes depth-breathe {
  0%, 100% { opacity: .33; }
  50% { opacity: .59; }
}

@media (max-width: 680px) {
  .note-lightbox__counter {
    min-width: 96px;
    padding: 0 10px;
    font-size: 13px;
  }

  .note-lightbox__locate {
    width: 42px;
    min-width: 42px !important;
    padding: 0 !important;
  }

  .note-lightbox__locate-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .note-lightbox__stage {
    inset: 58px 12px 88px;
  }

  .note-lightbox__image {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 146px);
  }

  .note-lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    transform: none;
    font-size: 30px !important;
  }

  .note-lightbox__nav--prev {
    left: 14px;
  }

  .note-lightbox__nav--next {
    right: 14px;
  }

  .note-lightbox__tools {
    bottom: 18px;
  }

  .note-lightbox__tools button {
    min-width: 54px;
  }

  .cs-memory {
    display: none;
  }

  .note-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .note-card img {
    max-height: 260px;
  }

  .note-article {
    font-size: 15px;
  }

  .note-hero {
    min-height: auto;
    padding-top: 30px;
  }

  .note-hero__media,
  .note-image-grid--duo,
  .note-image-grid--trio,
  .note-image-pair {
    grid-template-columns: 1fr;
  }

  .note-toc {
    position: static;
    margin-bottom: 28px;
    justify-content: flex-start;
  }

  .note-section {
    padding-top: 18px;
  }

  .note-article p {
    font-size: 15px;
  }

  .note-article__lead {
    font-size: 16px;
  }

  .note-pullquote {
    padding: 16px;
  }
}

body.note-bite-page .note-article--bite {
  width: min(940px, 100%);
  background: rgba(0, 0, 0, .86);
  box-shadow:
    0 0 0 2px rgba(254, 242, 0, .15),
    0 0 70px rgba(0, 0, 0, .95);
}

body.note-bite-page[data-page="note-article"] .note-page--bite {
  overflow: visible;
  background: transparent;
}

body.note-bite-page[data-page="note-article"] .note-page--bite::after {
  background: rgba(0, 0, 0, .18);
}

body.note-bite-page .note-hero--bite {
  min-height: 0;
  align-content: start;
  gap: 18px;
  padding: 28px 0 24px;
}

body.note-bite-page .note-hero__deck--bite {
  width: min(720px, 100%);
  font-size: clamp(16px, 2.6vw, 23px);
}

body.note-bite-page .note-hero__media--bite {
  grid-template-columns: 1fr;
  width: min(700px, 100%);
}

body.note-bite-page .note-toc--bite {
  --bite-toc-overhang: clamp(16px, 4vw, 44px);
  width: calc(100% + var(--bite-toc-overhang) + var(--bite-toc-overhang));
  margin-right: calc(-1 * var(--bite-toc-overhang));
  margin-left: calc(-1 * var(--bite-toc-overhang));
  border-color: #00f458;
}

.note-device-eye--yellow {
  color: #fef200;
}

.note-device-eye--pink {
  color: #ff42b3 !important;
}

/* Editorial modes for THE BITE OF 1997 */

.note-article--bite .note-section {
  --section-accent: #fef200;
  --section-soft: rgba(254, 242, 0, .11);
  --wire-section-target: 700px;
  --wire-frame-overhang: max(
    clamp(16px, 4vw, 44px),
    calc((min(940px, calc(100vw - 32px)) - var(--wire-section-target)) / 2)
  );
  --wire-divider-height: 32px;
  --wire-divider-top: 54px;
  --wire-left-bend-offset: 42px;
  --wire-right-bend-offset: 68px;
  --wire-corner-width: 22px;
  --wire-line-thickness: 6px;
  --wire-center-start: calc(var(--wire-left-bend-offset) + var(--wire-corner-width) - 1px);
  --wire-center-end-gap: calc(var(--wire-right-bend-offset) + var(--wire-corner-width) - 1px);
  --wire-knot-depth: 12px;
  --wire-left-turn: 52px;
  --wire-right-turn: 78px;
  --wire-ball-left-turn: var(--wire-left-turn);
  --wire-ball-right-turn: var(--wire-right-turn);
  --wire-ball-knot-left: 43%;
  --wire-ball-knot-right: 58%;
  --wire-light-length: 28px;
  --wire-light-width: 6px;
  --wire-ball-top-level: 3px;
  --wire-ball-knot-level: calc(var(--wire-ball-top-level) + var(--wire-knot-depth));
  --wire-ball-bottom-level: calc(var(--wire-divider-height) - 3px);
  --wire-line-fill: linear-gradient(
    180deg,
    #003c16 0 30%,
    #00ef58 30% 64%,
    #008f35 64% 100%
  );
  --wire-vertical-fill: linear-gradient(
    90deg,
    #003c16 0 30%,
    #00ef58 30% 64%,
    #008f35 64% 100%
  );
  position: relative;
  width: min(700px, 100%);
  padding-top: 54px;
}

.note-wire-divider {
  position: relative;
  width: calc(100% + var(--wire-frame-overhang) + var(--wire-frame-overhang));
  height: var(--wire-divider-height);
  margin-left: calc(0px - var(--wire-frame-overhang));
  margin-bottom: 22px;
  filter:
    drop-shadow(0 0 1px rgba(0, 244, 88, .42))
    drop-shadow(0 0 4px rgba(0, 142, 53, .18));
  image-rendering: pixelated;
  transform-origin: center;
}

.note-wire-segment {
  position: absolute;
  display: block;
}

.note-wire-segment--left-tail,
.note-wire-segment--top-left,
.note-wire-segment--knot-middle,
.note-wire-segment--top-right,
.note-wire-segment--bottom-right,
.note-wire-segment--right-tail {
  height: var(--wire-line-thickness);
  background: var(--wire-line-fill);
}

.note-wire-segment--knot-left,
.note-wire-segment--knot-right,
.note-wire-segment--right-drop {
  top: 0;
  width: var(--wire-line-thickness);
  height: calc(var(--wire-knot-depth) + var(--wire-line-thickness));
  background: var(--wire-vertical-fill);
}

.note-wire-segment--left-tail {
  right: calc(100% - var(--wire-left-bend-offset) - 1px);
  bottom: 0;
  left: 0;
}

.note-wire-segment--left-corner {
  top: 0;
  bottom: 0;
  left: var(--wire-left-bend-offset);
  width: var(--wire-corner-width);
  background: url("../images/notes/the-bite-of-1997/green-glow-wire.webp") center / 100% 100% no-repeat;
}

.note-wire-segment--top-left {
  top: 0;
  right: 57%;
  left: var(--wire-center-start);
}

.note-wire-segment--knot-left {
  left: calc(43% - 3px);
}

.note-wire-segment--knot-middle {
  top: var(--wire-knot-depth);
  right: 42%;
  left: 43%;
}

.note-wire-segment--knot-right {
  left: calc(58% - 3px);
}

.note-wire-segment--top-right {
  top: 0;
  right: 28%;
  left: 58%;
}

.note-wire-segment--right-drop {
  left: calc(72% - 3px);
  height: 100%;
}

.note-wire-segment--bottom-right {
  right: var(--wire-center-end-gap);
  bottom: 0;
  left: 72%;
}

.note-wire-segment--right-corner {
  top: 0;
  right: var(--wire-right-bend-offset);
  bottom: 0;
  width: var(--wire-corner-width);
  background: url("../images/notes/the-bite-of-1997/green-glow-wire.webp") center / 100% 100% no-repeat;
}

.note-wire-segment--right-tail {
  top: 0;
  right: 0;
  left: calc(100% - var(--wire-right-bend-offset) - 1px);
}

.note-wire-light {
  position: absolute;
  z-index: 1;
  top: var(--wire-ball-bottom-level);
  left: 0;
  width: var(--wire-light-length);
  height: var(--wire-light-width);
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 244, 88, 0),
    rgba(116, 255, 158, .52) 28%,
    rgba(211, 255, 224, .92) 50%,
    rgba(116, 255, 158, .52) 72%,
    rgba(0, 244, 88, 0)
  );
  box-shadow:
    0 0 4px rgba(186, 255, 207, .62),
    0 0 9px rgba(0, 244, 88, .38);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  animation: bite-wire-light 3s linear infinite alternate;
}

.note-article--bite .note-section:nth-of-type(even) .note-wire-divider {
  transform: scaleX(-1);
}

@keyframes bite-wire-light {
  0% {
    top: var(--wire-ball-bottom-level);
    left: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  12% {
    top: var(--wire-ball-bottom-level);
    left: var(--wire-ball-left-turn);
    transform: translate(-50%, -50%) rotate(0deg);
  }

  18% {
    top: var(--wire-ball-top-level);
    left: var(--wire-ball-left-turn);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  40% {
    top: var(--wire-ball-top-level);
    left: var(--wire-ball-knot-left);
    transform: translate(-50%, -50%) rotate(0deg);
  }

  44% {
    top: var(--wire-ball-knot-level);
    left: var(--wire-ball-knot-left);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  56% {
    top: var(--wire-ball-knot-level);
    left: var(--wire-ball-knot-right);
    transform: translate(-50%, -50%) rotate(0deg);
  }

  60% {
    top: var(--wire-ball-top-level);
    left: var(--wire-ball-knot-right);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  70% {
    top: var(--wire-ball-top-level);
    left: 72%;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  76% {
    top: var(--wire-ball-bottom-level);
    left: 72%;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  84% {
    top: var(--wire-ball-bottom-level);
    left: calc(100% - var(--wire-ball-right-turn));
    transform: translate(-50%, -50%) rotate(0deg);
  }

  90% {
    top: var(--wire-ball-top-level);
    left: calc(100% - var(--wire-ball-right-turn));
    transform: translate(-50%, -50%) rotate(90deg);
  }

  100% {
    top: var(--wire-ball-top-level);
    left: 100%;
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

.note-article--bite .note-section h2 {
  color: #fef200;
}

.note-article--bite .note-section--wide {
  --wire-section-target: 820px;
  width: min(820px, 100%);
}

.note-article--bite .note-section--signal {
  --section-accent: #ff746c;
  --section-soft: rgba(255, 116, 108, .12);
}

.note-article--bite .note-section--translation {
  --section-accent: #63d7ff;
  --section-soft: rgba(99, 215, 255, .1);
}

.note-article--bite .note-section--archive {
  --section-accent: #f2a5c2;
  --section-soft: rgba(242, 165, 194, .12);
}

.note-article--bite .note-section--device {
  --section-accent: #ff9fca;
  --section-soft: rgba(255, 159, 202, .12);
}

.note-article--bite .note-section--hunt {
  --section-accent: #7edfb2;
  --section-soft: rgba(126, 223, 178, .11);
}

.note-article--bite .note-section--goners {
  --section-accent: #b9cae8;
  --section-soft: rgba(185, 202, 232, .1);
}

.note-article--bite .note-section--nagasagi {
  --section-accent: #a6df73;
  --section-soft: rgba(166, 223, 115, .1);
}

.note-article--bite .note-section--memory {
  --section-accent: #9fb8ff;
  --section-soft: rgba(159, 184, 255, .11);
}

.note-article--bite .note-section--mike {
  --section-accent: #f0f27c;
  --section-soft: rgba(240, 242, 124, .1);
}

.note-article--bite .note-section--appendix {
  --section-accent: #bfc3c9;
  --section-soft: rgba(191, 195, 201, .09);
}

.note-article--bite .note-section--appendix {
  margin-top: 72px;
  padding: 42px 0 0;
  border: 0;
  background: transparent;
}

.note-article--bite .note-section--appendix::before {
  display: none;
}

.note-article--bite .note-section--appendix::after {
  display: none;
}

.note-article--bite .note-section--appendix .note-kicker {
  max-width: 560px;
  color: #d6d8dc;
  font-size: 14px;
  line-height: 1.45;
  text-transform: none;
}

.note-blog {
  --blog-accent: #d36a9d;
  margin: 34px -20px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #003c74;
  border-radius: 8px 8px 2px 2px;
  outline: 1px solid #000;
  background: #ece9d8;
  box-shadow: 7px 7px 0 rgba(0, 0, 36, .55);
  color: #101020;
  font-family: DessMain, "Courier New", monospace;
}

.note-blog__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  height: 30px;
  padding: 3px 3px 3px 7px;
  border: 1px solid #0755b5;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(
    180deg,
    #61adff 0,
    #0b65e8 18%,
    #0054d8 72%,
    #003a9e 100%
  );
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .65),
    inset -1px -1px 0 rgba(0, 35, 120, .85);
}

.note-blog__window-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #fff;
  font: bold 13px/1.25 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 0 #003a91;
  white-space: nowrap;
}

.note-blog__window-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  background: url("../images/notes/the-bite-of-1997/ie-window.png") center / contain no-repeat;
}

.note-blog__window-icon::after {
  content: none;
}

.note-blog__window-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
}

.note-blog__window-button {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: linear-gradient(135deg, #78b8ff, #1460cf 58%, #00399a);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .55),
    0 0 0 1px #003c9b;
}

.note-blog__window-button--minimize::before {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  height: 2px;
  background: #fff;
}

.note-blog__window-button--maximize::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #fff;
  border-top-width: 3px;
}

.note-blog__window-button--close {
  background: linear-gradient(135deg, #ff9c7c, #e53d21 55%, #a21400);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .65),
    0 0 0 1px #9d1c05;
}

.note-blog__window-button--close::before,
.note-blog__window-button--close::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 4px;
  width: 11px;
  height: 2px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(80, 0, 0, .45);
  transform: rotate(45deg);
}

.note-blog__window-button--close::after {
  transform: rotate(-45deg);
}

.note-blog__menubar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 27px;
  padding: 5px 9px 6px;
  overflow: hidden;
  border-bottom: 1px solid #7f9db9;
  background: #ece9d8;
  color: #111;
  font: 11px/1 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  white-space: nowrap;
}

.note-blog__toolbar {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  overflow: hidden;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #aca899;
  background: linear-gradient(90deg, #f6f5ef, #ece9d8);
  color: #111;
  font-family: DessMain, "Courier New", monospace;
}

.note-blog__tool {
  display: flex;
  flex: 0 0 auto;
  height: 38px;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border: 1px solid transparent;
  color: #222;
  font: 11px/1 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  white-space: nowrap;
}

.note-blog__tool i {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  font: bold 23px/1 Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(0, 60, 0, .55);
}

.note-blog__tool b {
  font-weight: 400;
}

.note-blog__tool--back i,
.note-blog__tool--forward i,
.note-blog__tool--stop i,
.note-blog__tool--refresh i,
.note-blog__tool--mail i {
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  font-size: 0;
  text-shadow: none;
}

.note-blog__tool--back i {
  background-image: url("../images/notes/the-bite-of-1997/ie-back.png");
}

.note-blog__tool--forward i {
  background-image: url("../images/notes/the-bite-of-1997/ie-forward.png");
}

.note-blog__tool--stop,
.note-blog__tool--refresh {
  padding-right: 3px;
  padding-left: 3px;
}

.note-blog__tool--stop i {
  background-image: url("../images/notes/the-bite-of-1997/ie-stop.png");
}

.note-blog__tool--refresh i {
  background-image: url("../images/notes/the-bite-of-1997/ie-refresh.png");
}

.note-blog__tool--home i,
.note-blog__tool--search i,
.note-blog__tool--favorites i {
  width: 44px;
  height: 44px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  color: transparent;
  font-size: 0;
  text-shadow: none;
}

.note-blog__tool--home i {
  background-image: url("../images/notes/the-bite-of-1997/ie-home-system.png");
}

.note-blog__tool--search {
  margin-left: 2px;
  border-left: 1px solid #aca899;
  padding-left: 8px;
}

.note-blog__tool--search i {
  background-image: url("../images/notes/the-bite-of-1997/ie-search-system.png");
}

.note-blog__tool--favorites i {
  background-image: url("../images/notes/the-bite-of-1997/ie-favorites-local.png");
  background-size: 32px auto;
}

.note-blog__tool--mail {
  margin-left: auto;
}

.note-blog__tool--mail i {
  width: 44px;
  background-image: url("../images/notes/the-bite-of-1997/ie-mail.png");
}

.note-blog__addressbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 3px 5px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #7f9db9;
  background: #ece9d8;
  font-family: DessMain, "Courier New", monospace;
}

.note-blog__address-label,
.note-blog__links {
  color: #676767;
  font: 11px/1 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  white-space: nowrap;
}

.note-blog__address {
  display: flex;
  min-width: 0;
  height: 24px;
  align-items: center;
  gap: 5px;
  padding: 2px 5px;
  overflow: hidden;
  border: 2px solid;
  border-color: #7f9db9 #fff #fff #7f9db9;
  background: #fff;
  color: #111;
  font: 11px/1 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.note-blog__address:focus-visible {
  outline: 2px solid #0054e3;
  outline-offset: 1px;
}

.note-blog__address-icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1px solid #14761b;
  background:
    linear-gradient(135deg, transparent 45%, #fff 46% 55%, transparent 56%),
    #45b547;
}

.note-blog__address-value {
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-blog__go {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 4px;
  border: 1px solid transparent;
  color: #111;
  font: 11px/1 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  text-decoration: none;
}

.note-blog__go:hover {
  border-color: #aca899;
  background: #f5f3e8;
}

.note-blog__go > span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid #2d751d;
  border-radius: 50%;
  background: linear-gradient(#8bde75, #39a52a);
}

.note-blog__go > span::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

.note-blog__links {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-left: 8px;
  border-left: 1px solid #aca899;
}

.note-blog__page {
  padding: 20px 23px 26px;
  border-top: 1px solid #fff;
  background: linear-gradient(#fff, #f7f9ff);
}

.note-blog--noelle .note-blog__page {
  background-color: #d8bdc9;
  background-image: url("../images/notes/the-bite-of-1997/bg-tree.png");
  background-repeat: repeat;
  background-position: left top;
  background-size: 404px 314px;
}

.note-blog--noelle .note-blog__page p,
.note-blog--noelle .note-blog__page a,
.note-blog--noelle .note-blog__page .note-friend-word,
.note-blog--noelle .note-blog__page .note-device-friend,
.note-blog--noelle .note-blog__page .note-device-friend span {
  color: #000;
  animation: none;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
  text-shadow: none;
}

.note-blog--noelle .note-blog__page p {
  font-size: 16px;
  line-height: 1.8;
}

.note-blog--noelle .note-blog__page .note-blog__masthead {
  font-size: 18px;
}

.note-queen-summary {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 30px -20px;
  padding: 18px;
  border: 3px solid #fff;
  outline: 2px solid #8389b5;
  background: #000;
  box-shadow:
    0 0 0 5px #000,
    7px 7px 0 rgba(56, 62, 103, .72);
  color: #fff;
  font-family: DessMain, "Courier New", monospace;
}

.note-queen-summary::before,
.note-queen-summary::after {
  content: "+";
  position: absolute;
  top: -15px;
  color: #fff;
  font: 24px/1 DessMain, "Courier New", monospace;
  text-shadow:
    2px 0 0 #8389b5,
    -2px 0 0 #8389b5,
    0 2px 0 #8389b5,
    0 -2px 0 #8389b5;
}

.note-queen-summary::before {
  left: -12px;
}

.note-queen-summary::after {
  right: -12px;
}

.note-queen-summary::before,
.note-queen-summary::after {
  content: none;
}

.note-queen-summary__portrait {
  width: 78px;
  height: 78px;
  object-fit: contain;
  image-rendering: pixelated;
}

.note-queen-summary__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-queen-summary__list > li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.note-queen-summary__comment {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  min-width: 0;
  color: #fff;
  background: transparent;
  font: 15px/1.65 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  white-space: normal;
}

.note-queen-summary__bullet,
.note-queen-summary__open,
.note-queen-summary__close {
  color: #fff;
  text-shadow: none;
}

.note-queen-summary__bullet {
  color: #fff;
}

.note-queen-summary__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.note-queen-summary__text b {
  color: #fff;
  font: inherit;
}

.note-queen-summary__footer {
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, .45);
}

.note-queen-summary__footer .note-queen-summary__text {
  text-align: center;
}

.note-queen-summary__token {
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  white-space: nowrap;
}

.note-queen-summary__token::before,
.note-queen-summary__token::after {
  color: #fff;
}

.note-queen-summary__token--entity::before {
  content: "[";
}

.note-queen-summary__token--entity::after {
  content: "]";
}

.note-queen-summary__token--tag::before,
.note-queen-summary__token--void::before {
  content: "<";
}

.note-queen-summary__token--tag::after {
  content: ">";
}

.note-queen-summary__token--void::after {
  content: " />";
}

.note-queen-summary .note-friend-word {
  color: #fff;
  animation: none;
  text-shadow: none;
}

.note-blog--continuation {
  --blog-accent: #7665b4;
}

.note-blog--rain {
  --blog-accent: #3e9b74;
}

.note-blog p,
.note-blog .note-article__aside,
.note-blog .note-article__source {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
}

.note-blog p:first-of-type {
  margin-top: 0;
}

.note-blog .note-blog__masthead {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  box-shadow: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.note-blog--rain .note-blog__masthead {
  color: #000;
  background: transparent;
}

.note-blog .note-blog__meta {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: 13px/1.65 DessMain, "Courier New", monospace;
}

.note-blog .note-blog__cue,
.note-blog .note-blog__notice,
.note-blog .note-blog__turn {
  color: #000;
  font-weight: 400;
}

.note-blog .note-blog__cliffhanger {
  margin-top: 28px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.note-blog .note-blog__error {
  margin: 14px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: 15px/1.5 DessMain, "Courier New", monospace;
  text-align: left;
}

.note-blog .note-blog__special {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-weight: 400;
}

.note-blog .note-blog__odds {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: 14px/1.8 DessMain, "Courier New", monospace;
}

.note-blog .note-blog__rare {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-weight: 400;
}

.note-blog .note-article__link {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.note-blog .note-image-stack,
.note-blog .note-image-grid {
  margin: 24px 0;
}

.note-blog .note-figure img {
  border: 1px solid #7f9db9;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(75, 75, 75, .32);
}

.note-cluster {
  margin: 30px 0;
}

.note-cluster--findings {
  display: grid;
  gap: 10px;
}

.note-cluster--findings > p {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 22px;
  border-left: 5px solid var(--section-accent);
  background: var(--section-soft);
}

.note-cluster--findings > .note-cluster__or {
  padding: 4px 18px;
  border-left: 0;
  background: transparent;
  color: #aeb2ba;
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
}

.note-cluster--timeline {
  display: grid;
  gap: 0;
  padding-left: 24px;
  border-left: 4px solid var(--section-accent);
}

.note-cluster--timeline > p {
  position: relative;
  margin: 0;
  padding: 12px 0 18px 18px;
}

.note-cluster--timeline > p::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -32px;
  width: 12px;
  height: 12px;
  border: 3px solid #000;
  background: var(--section-accent);
}

.note-transcript {
  margin: 32px -10px;
  padding: 8px 0;
  border-top: 2px solid var(--section-accent);
  border-bottom: 2px solid var(--section-accent);
  background: #070a0e;
}

.note-transcript > p {
  margin: 0;
  padding: 11px 20px;
  color: #e5edf8;
  font: 15px/1.6 DessMain, "Courier New", monospace;
}

.note-transcript > p + p {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.note-transcript > .note-article__source {
  border-left: 0;
  background: transparent;
}

.note-game-quote {
  position: relative;
  margin: 28px 0;
  padding-top: 22px;
  overflow: hidden;
  border: 2px solid;
  border-color: #fff #1a1a1a #1a1a1a #fff;
  border-radius: 0;
  outline: 1px solid #808080;
  background: #c0c0c0;
  box-shadow: 6px 6px 0 rgba(0, 0, 45, .42);
}

.note-game-quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background: linear-gradient(90deg, #000080 0, #000080 60%, #1084d0 100%);
}

.note-game-quote p {
  margin: 0 6px 6px;
  padding: 12px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  color: #111;
  background: #efefef;
  font: 16px/1.65 DessMain, "Courier New", monospace;
  letter-spacing: 0;
}

.note-game-quote--ru {
  border-color: #fff #1a1a1a #1a1a1a #fff;
}

.note-game-quote--ru p {
  color: #111;
}

.note-transcript--call {
  border-color: #ff746c;
  background: #10090a;
}

.note-transcript--goner {
  border-color: #9eacc4;
  background: #08090b;
}

.note-transcript--goner > p {
  color: #cbd3df;
  letter-spacing: 0;
}

.note-transcript--ritual {
  border-color: #ad8ee8;
  background: #0e0a16;
}

.note-transcript--asgore,
.note-transcript--translation {
  border-color: #7fa4ea;
  background: #080d18;
}

.note-transcript--translation > p {
  padding-top: 8px;
  padding-bottom: 8px;
}

.note-transcript--spamton {
  border-color: #e5ed62;
  background: #0b0d05;
}

.note-transcript--spamton > p {
  color: #f4f6bf;
}

.note-transcript--spamton > .note-transcript__question {
  background: #202510;
  color: #fff;
}

.note-spamton-qa {
  position: relative;
  margin: 32px -10px;
  padding-top: 22px;
  overflow: hidden;
  border: 2px solid;
  border-color: #fff #1a1a1a #1a1a1a #fff;
  outline: 1px solid #808080;
  background: #c0c0c0;
  box-shadow: 6px 6px 0 rgba(0, 0, 45, .42);
  color: #111;
}

.note-spamton-qa::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background: linear-gradient(90deg, #000080 0, #000080 62%, #1084d0 100%);
}

.note-spamton-qa__title {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 62px;
  left: 0;
  height: 22px;
  padding: 4px 7px 0;
  overflow: hidden;
  color: #fff;
  font: bold 12px/1.2 DessMain, "Courier New", monospace;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-spamton-qa__body {
  margin: 0 6px 6px;
  padding: 12px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #efefef;
}

.note-spamton-qa .note-spamton-qa__question {
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #808080;
  color: #111;
  font: 15px/1.6 DessMain, "Courier New", monospace;
  letter-spacing: 0;
}

.note-spamton-qa__answer {
  margin-top: 12px;
  padding: 11px 13px;
  overflow: hidden;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #fff;
}

.note-spamton-qa .note-spamton-qa__answer p {
  margin: 0;
  color: #111;
  font: 15px/1.6 DessMain, "Courier New", monospace;
  letter-spacing: 0;
}

.note-spamton-qa__answer-line--labeled {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .55ch;
  align-items: baseline;
}

.note-spamton-qa__answer-label {
  color: #111;
  text-shadow: none;
  transform: none;
}

.note-spamton-qa__answer-text {
  display: inline-block;
  min-width: 0;
  animation: note-spamton-answer-glitch 3.4s steps(1, end) infinite;
  animation-delay: calc(var(--glitch-line) * -.43s);
}

.note-spamton-qa .note-spamton-qa__answer p + p {
  margin-top: 10px;
}

@keyframes note-spamton-answer-glitch {
  0%,
  76%,
  80%,
  100% {
    transform: translateX(0);
    text-shadow: none;
  }

  77% {
    transform: translateX(1px);
    text-shadow: -1px 0 #00d9ff, 1px 0 #ff2a45;
  }

  78% {
    transform: translateX(-1px);
    text-shadow: 1px 0 #00d9ff, -1px 0 #ff2a45;
  }

  79% {
    transform: translateX(1px);
    text-shadow: -1px 0 #00d9ff, 1px 0 #ff2a45;
  }
}

.note-transcript--language {
  border-color: #ef9ec2;
  background: #130a10;
}

.note-article--bite .note-article__beat {
  margin: 32px 0 20px;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  text-align: center;
}

.note-article--bite .note-article__point {
  border: 0;
  background: transparent;
  color: inherit;
}

.note-article--bite .note-article__glitch-frame {
  margin: 32px 0 24px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  text-align: center;
  text-shadow:
    -1px 0 #ff4fb0,
    1px 0 #63d7ff;
  animation: note-glitch-text 1.4s steps(1, end) infinite;
}

@keyframes note-glitch-text {
  0%,
  58%,
  100% {
    transform: translate(0);
    text-shadow:
      -1px 0 #ff4fb0,
      1px 0 #63d7ff;
  }
  61% {
    transform: translate(-2px, 1px) skewX(-4deg);
    text-shadow:
      -5px 0 #ff4fb0,
      4px 0 #63d7ff;
  }
  66% {
    transform: translate(3px, -1px) skewX(3deg);
    text-shadow:
      4px 0 #ff4fb0,
      -5px 0 #63d7ff;
  }
  71% {
    transform: translate(-1px);
    text-shadow:
      -3px 0 #ff4fb0,
      3px 0 #63d7ff;
  }
  76% {
    transform: translate(2px);
    text-shadow:
      3px 0 #ff4fb0,
      -3px 0 #63d7ff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .note-article--bite .note-article__glitch-frame {
    animation: none;
  }
}

.note-article--bite .note-article__question {
  color: var(--section-accent);
  font-size: 19px;
  line-height: 1.4;
}

.note-article--bite .note-article__question--white {
  color: #fff;
}

.note-article--bite .note-article__editorial {
  padding-left: 16px;
  border: 0;
  color: inherit;
  font-style: italic;
}

.note-article--bite .note-article__verdict {
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  text-align: center;
}

.note-article--bite .note-article__appendix-note {
  color: #c3c6cb;
  font-size: 14px;
  text-align: center;
}

.note-article--bite .note-article__yume {
  margin: -8px 0 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  line-height: 1.55;
  text-align: center;
}

.note-letter-wave__char {
  color: #fff;
  text-shadow: none;
  transition:
    color 80ms linear,
    text-shadow 80ms linear;
}

.note-letter-wave__char.is-lit {
  color: #ff3d3d;
  text-shadow:
    0 0 3px rgba(255, 61, 61, .95),
    0 0 7px rgba(255, 0, 0, .58);
}

@media (prefers-reduced-motion: reduce) {
  .note-letter-wave__char,
  .note-letter-wave__char.is-lit {
    color: #fff;
    text-shadow: none;
    transition: none;
  }
}

.note-section--translation .note-table-wrap--translations {
  border-color: #585858;
  box-shadow: none;
}

.note-section--translation .note-table-wrap--translations th {
  color: #fff;
}

.note-section--goners .note-figure img {
  border-color: #aab5c7;
  box-shadow: 0 0 0 4px #000, 0 18px 0 rgba(170, 181, 199, .14);
}

.note-section--memory .note-figure img {
  border-color: rgba(255, 255, 255, .82);
}

.note-section--mike .note-figure img {
  border: 0;
  box-shadow: none;
}

.note-article--bite .note-figure img,
.note-article--bite .note-figure--phone {
  box-shadow: none;
}

.note-article--bite .note-figure,
.note-article--bite .note-figure img,
.note-article--bite .bite-video,
.note-article--bite .bite-video video {
  box-shadow: none !important;
}

.note-lore-track {
  width: min(620px, 100%);
  margin: 28px auto;
  padding: 3px;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  background: #c0c0c0;
  color: #111;
  font-family: Tahoma, Arial, sans-serif;
}

.note-lore-track__titlebar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 24px;
  padding: 2px 3px 2px 5px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font: bold 12px/1 Tahoma, Arial, sans-serif;
}

.note-lore-track__icon {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid #fff;
  background: #111;
  color: #fef200;
  font: bold 12px/1 "Courier New", monospace;
}

.note-lore-track__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-lore-track__controls {
  display: flex;
  gap: 2px;
}

.note-lore-track__control {
  width: 18px;
  height: 17px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.note-lore-track__control--minimize {
  background-image: url("../images/notes/the-bite-of-1997/window-minimize.png");
}

.note-lore-track__control--close {
  background-image: url("../images/notes/the-bite-of-1997/window-close.png");
}

.note-lore-track__body {
  margin-top: 3px;
  padding: 12px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #efefef;
}

.note-lore-track audio {
  display: block;
  width: 100%;
  height: 42px;
}

.note-figure--masada,
.note-figure--uboa {
  margin: 24px auto;
}

.note-figure--masada img,
.note-figure--uboa img {
  image-rendering: pixelated;
}

.note-michael-glitch {
  display: inline-block;
  color: #fff;
  animation: note-michael-glitch .72s steps(1, end) infinite;
}

@keyframes note-michael-glitch {
  0% {
    transform: translate(0);
    color: #fff;
    text-shadow: -1px 0 #39dfff, 1px 0 #ff3d9e;
  }

  14% {
    transform: translate(-2px, 1px);
    color: #fef200;
    text-shadow: 3px 0 #ff3d9e, -3px 0 #39dfff;
  }

  28% {
    transform: translate(2px, -1px);
    color: #fff;
    text-shadow: -3px 0 #ff3d9e, 3px 0 #39dfff;
  }

  42% {
    transform: translate(-1px);
    color: #ff3d9e;
    text-shadow: 2px 1px #39dfff, -1px -1px #fef200;
  }

  56% {
    transform: translate(1px, 1px);
    color: #fff;
    text-shadow: -2px 0 #fef200, 2px 0 #39dfff;
  }

  70% {
    transform: translate(-2px, -1px);
    color: #39dfff;
    text-shadow: 3px 0 #ff3d9e;
  }

  84% {
    transform: translate(2px);
    color: #fff;
    text-shadow: -3px 0 #39dfff, 1px 1px #ff3d9e;
  }

  100% {
    transform: translate(0);
    color: #fef200;
    text-shadow: 1px 0 #ff3d9e, -1px 0 #39dfff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .note-michael-glitch {
    animation: none;
    text-shadow: 2px 0 #ff3d9e, -2px 0 #39dfff;
  }
}

.notes-list {
  display: grid;
  gap: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .note-wire-light {
    animation: none;
    opacity: .55;
  }
}

.notes-list__header {
  margin-bottom: 6px;
}

@media (max-width: 720px) {
  body.note-bite-page .note-hero--bite {
    min-height: auto;
  }

  body.note-bite-page .note-hero__media--bite {
    grid-template-columns: 1fr;
  }

  .bite-video-compare {
    grid-template-columns: 1fr;
  }

  .note-article--bite .note-section {
    --wire-divider-height: 28px;
    --wire-divider-top: 38px;
    --wire-left-bend-offset: 30px;
    --wire-right-bend-offset: 48px;
    --wire-corner-width: 19px;
    --wire-line-thickness: 5px;
    --wire-knot-depth: 10px;
    --wire-left-turn: 38px;
    --wire-right-turn: 56px;
    --wire-light-length: 22px;
    --wire-light-width: 5px;
    --wire-ball-top-level: 2.5px;
    --wire-ball-knot-level: calc(var(--wire-ball-top-level) + var(--wire-knot-depth));
    --wire-ball-bottom-level: calc(var(--wire-divider-height) - 2.5px);
    padding-top: 38px;
  }

  .note-blog {
    margin-right: 0;
    margin-left: 0;
    padding: 2px;
    box-shadow: 3px 3px 0 rgba(0, 0, 36, .55);
  }

  .note-blog__window-title {
    font-size: 11px;
  }

  .note-blog__window-button {
    width: 19px;
    height: 19px;
  }

  .note-blog__menubar {
    gap: 10px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .note-blog__toolbar {
    min-height: 42px;
    gap: 1px;
    padding: 2px 3px;
  }

  .note-blog__tool {
    height: 34px;
    gap: 2px;
    padding-right: 2px;
    padding-left: 2px;
  }

  .note-blog__tool i {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .note-blog__tool b,
  .note-blog__tool--mail {
    display: none;
  }

  .note-blog__tool--search {
    margin-left: 1px;
    padding-left: 5px;
  }

  .note-blog__tool--home i,
  .note-blog__tool--search i,
  .note-blog__tool--favorites i {
    width: 30px;
    height: 30px;
    background-position: center;
    background-size: 26px 26px;
  }

  .note-blog__tool--favorites i {
    background-size: 26px auto;
  }

  .note-blog__addressbar {
    gap: 4px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .note-blog__go {
    padding-right: 3px;
    padding-left: 2px;
  }

  .note-blog__go b {
    display: none;
  }

  .note-blog__address-label,
  .note-blog__links {
    display: none;
  }

  .note-blog__page {
    padding: 16px 12px 20px;
  }

  .note-queen-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
    padding: 16px 12px;
  }

  .note-queen-summary__portrait {
    width: 58px;
    height: 58px;
    justify-self: center;
  }

  .note-queen-summary__list {
    gap: 14px;
    padding: 0;
  }

  .note-queen-summary__comment {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 4px;
    font-size: 12px;
    line-height: 1.55;
  }

  .note-blog .note-blog__masthead,
  .note-blog .note-blog__meta {
    margin-right: 0;
    margin-left: 0;
  }

  .note-transcript {
    margin-right: 0;
    margin-left: 0;
  }

  .note-spamton-qa {
    margin-right: 0;
    margin-left: 0;
  }

  .note-transcript > p {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 14px;
  }

  .note-article--bite .note-section--appendix {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .note-spamton-qa .note-spamton-qa__answer-text {
    animation: none;
  }
}
