:root {
  --bg: #000000;
  --text: #f7f7f7;
  --muted: #8f8f8f;
  --panel: #1197e6;
  --panel-text: #050505;
  --divider: #f5f5f5;
  --selection: #ffff00;
  --dialog-bg: #080808;
  --dialog-border: #f7f7f7;
  --dialog-text: #f7f7f7;
  --overlay: rgba(0, 0, 0, 0.72);
  --page-padding: clamp(2.25rem, 6vw, 6rem);
  --menu-indent: 2.4rem;
  --transition: 120ms;
  --author-popover-bg: rgba(0, 0, 0, 0.92);
  --author-popover-border: rgba(255, 255, 255, 0.18);
  --author-popover-text: #f7f7f7;
}

html[data-theme="light"] {
  --bg: #f4f1ea;
  --text: #111111;
  --muted: #5a5a5a;
  --panel: #69bfff;
  --panel-text: #080808;
  --divider: #111111;
  --selection: #b59a00;
  --dialog-bg: #fffdf7;
  --dialog-border: #111111;
  --dialog-text: #111111;
  --overlay: rgba(20, 20, 20, 0.40);
  --author-popover-bg: rgba(255, 255, 255, 0.96);
  --author-popover-border: rgba(0, 0, 0, 0.18);
  --author-popover-text: #111;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

body {
  color: var(--text);
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
}

button, input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.home-shell {
  width: 100vw;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 68.5fr) minmax(320px, 31.5fr);
  background: var(--bg);
}

.home-main {
  position: relative;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  padding: clamp(2.6rem, 6.5vh, 5.2rem) var(--page-padding) clamp(2.2rem, 5vh, 4.2rem);
  display: flex;
  flex-direction: column;
}

.title-wrap {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 56rem;
}

.title-compass {
  position: absolute;
  z-index: 0;
  width: clamp(15rem, 27vw, 31rem);
  height: auto;
  left: clamp(-1.6rem, -1.2vw, -0.4rem);
  top: 42%;
  transform: translateY(-50%) rotate(-4deg);
  opacity: 0.34;
  mix-blend-mode: normal;
  pointer-events: none;
  user-select: none;
}

.site-title {
  margin: 0;
  max-width: 12ch;
  position: relative;
  z-index: 2;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0.02em;
  text-wrap: balance;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000;
}

.main-menu {
  position: relative;
  z-index: 5;
  margin-top: clamp(2.8rem, 6.5vh, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.8vh, 2.7rem);
  width: min(100%, 44rem);
}

.menu-option {
  position: relative;
  border: 0;
  padding: 0.12em 0;
  margin: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font-family: "Tilt Warp", sans-serif;
  font-size: clamp(1.35rem, 1.75vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  text-align: left;
  transition: color var(--transition) ease, transform var(--transition) ease;
}

.menu-option > span {
  display: inline-block;
}

.menu-soul {
  position: absolute;
  width: clamp(18px, 1.65vw, 27px);
  height: auto;
  left: calc(-1 * var(--menu-indent));
  top: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  transition: opacity 80ms linear, transform var(--transition) ease;
}

.menu-option:hover, .menu-option:focus-visible {
  color: var(--selection);
  transform: translateX(12px);
  outline: none;
}

.menu-option:hover .menu-soul, .menu-option:focus-visible .menu-soul {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.menu-option:focus-visible::after {
  content: "";
  position: absolute;
  inset: -0.3em -0.45em;
  border: 1px dashed currentColor;
  opacity: 0.5;
  pointer-events: none;
}

.character-showcase {
  position: relative;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--panel-text);
  isolation: isolate;
}

.character-showcase::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(8rem, 15vw, 17rem);
  pointer-events: none;
  background: linear-gradient( to right, var(--bg) 0%, color-mix(in srgb, var(--bg) 98%, transparent) 22%, color-mix(in srgb, var(--bg) 88%, transparent) 44%, color-mix(in srgb, var(--bg) 62%, transparent) 66%, color-mix(in srgb, var(--bg) 30%, transparent) 84%, transparent 100% );
}

.character-art-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.character-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: 50% 0%;
  transform: none;
}

.character-name {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(0.9rem, 2vh, 1.8rem);
  max-width: 96%;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(2.2rem, 4.4vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #f7f7f7;
  text-align: right;
  white-space: nowrap;
  -webkit-text-stroke: 2px #050505;
  text-shadow: 2px 0 #050505, -2px 0 #050505, 0 2px #050505, 0 -2px #050505, 3px 3px #050505;
}

.settings-dialog {
  width: min(92vw, 34rem);
  max-height: min(86svh, 44rem);
  padding: 0;
  border: 2px solid var(--dialog-border);
  background: var(--dialog-bg);
  color: var(--dialog-text);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
}

.settings-dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(2px);
}

.settings-dialog, .settings-dialog button, .settings-dialog input, .settings-dialog output, .settings-dialog legend, .settings-dialog label {
  font-family: "Tilt Warp", sans-serif;
}

.theme-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 2.6rem;
}

.theme-toggle-label {
  min-width: 3.2rem;
  font-size: 0.95rem;
  text-align: center;
}

.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.theme-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.theme-switch-track {
  position: relative;
  display: block;
  width: 3.8rem;
  height: 2rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 140ms ease, border-color 140ms ease;
}

.theme-switch-thumb {
  position: absolute;
  top: 50%;
  left: 0.22rem;
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  transition: left 150ms ease, background 150ms ease;
}

.theme-switch input:checked+.theme-switch-track {
  background: var(--selection);
  color: #000;
  border-color: var(--selection);
}

.theme-switch input:checked+.theme-switch-track .theme-switch-thumb {
  left: calc(100% - 1.60rem);
  background: #000;
}

.theme-switch input:focus-visible+.theme-switch-track {
  outline: 2px solid var(--selection);
  outline-offset: 4px;
}

.settings-card {
  padding: 1.4rem;
}

.settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.settings-heading h2 {
  margin: 0;
  font-family: "Tilt Warp", sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.close-settings {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 2rem;
  cursor: pointer;
}

.settings-card fieldset {
  border: 1px solid currentColor;
  padding: 1rem;
  margin: 0 0 1rem;
}

.settings-card legend {
  padding: 0 0.45rem;
}

.setting-row, .setting-stack {
  border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  padding: 1rem 0;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.setting-stack {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 1rem;
}

.setting-stack input {
  grid-column: 1 / -1;
  width: 100%;
}

.setting-stack output {
  grid-column: 2;
  grid-row: 1;
}

.reset-settings {
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
}

@media (max-width:1180px) {
  .character-art {
    width: 215%;
  }

  .home-shell {
    grid-template-columns: minmax(0, 62fr) minmax(300px, 38fr);
  }

  .site-title {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
  }

  .main-menu {
    margin-top: clamp(2.4rem, 5.5vh, 4rem);
  }
}

@media (max-width:820px) {
  .home-shell {
    grid-template-columns: 57fr 43fr;
  }

  .home-main {
    padding: 3.3rem 2.3rem 3.2rem;
  }

  .site-title {
    font-size: clamp(2.15rem, 5.8vw, 3.45rem);
  }

  .title-compass {
    width: clamp(13rem, 32vw, 20rem);
    left: -2.6rem;
  }

  .main-menu {
    margin-top: 2.35rem;
    gap: 1.05rem;
  }

  .menu-option {
    font-size: clamp(1.05rem, 2.5vw, 1.45rem);
    letter-spacing: 0.01em;
  }

  .character-name {
    white-space: normal;
    font-size: clamp(2rem, 5vw, 3.8rem);
  }
}

@media (max-width:620px) {
  .character-art {
    width: 185%;
    top: 0;
  }

  :root {
    --menu-indent: 1.7rem;
  }

  .home-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 68svh 32svh;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
  }

  .home-main {
    order: 1;
    width: 100%;
    height: 68svh;
    min-height: 0;
    padding: clamp(1.25rem, 4vh, 2rem) 1.35rem clamp(1rem, 3vh, 1.6rem) 2.55rem;
    border-right: 0;
    overflow: hidden;
  }

  .site-title {
    max-width: 15ch;
    font-size: clamp(1.8rem, 8.4vw, 2.85rem);
    line-height: 0.95;
  }

  .title-compass {
    width: clamp(10.5rem, 47vw, 15rem);
    left: -2rem;
    opacity: 0.30;
  }

  .main-menu {
    margin-top: clamp(1.35rem, 3.4vh, 2rem);
    gap: clamp(0.55rem, 1.65vh, 0.9rem);
  }

  .menu-option {
    font-size: clamp(1rem, 4.6vw, 1.4rem);
    line-height: 1.08;
  }

  .menu-soul {
    width: clamp(14px, 4.2vw, 20px);
  }

  .character-showcase {
    order: 2;
    width: 100%;
    height: 32svh;
    min-height: 0;
  }

  .character-showcase::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: clamp(4rem, 12vh, 7rem);
    background: linear-gradient( to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 96%, transparent) 20%, color-mix(in srgb, var(--bg) 82%, transparent) 42%, color-mix(in srgb, var(--bg) 58%, transparent) 64%, color-mix(in srgb, var(--bg) 28%, transparent) 82%, transparent 100% );
  }

  .character-name {
    right: 0.8rem;
    bottom: 0.7rem;
    font-size: clamp(1.9rem, 10vw, 3.2rem);
  }
}

@media (max-width:390px) {
  .home-main {
    padding-left: 2.25rem;
    padding-right: 1rem;
  }

  .site-title {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .title-compass {
    width: clamp(9.5rem, 45vw, 13rem);
    left: -1.65rem;
  }

  .menu-option {
    font-size: 0.98rem;
  }
}

@media (max-height:720px) {
  .home-main {
    padding-top: clamp(1.3rem, 4vh, 2.5rem);
    padding-bottom: 1.2rem;
  }

  .site-title {
    font-size: clamp(2.2rem, 5.1vw, 4.6rem);
  }

  .main-menu {
    margin-top: clamp(1.5rem, 4vh, 2.7rem);
    gap: clamp(0.55rem, 1.7vh, 1.15rem);
  }

  .menu-option {
    font-size: clamp(1rem, 1.55vw, 1.65rem);
  }
}

@media (max-width:620px) and (max-height:720px) {
  .home-shell {
    grid-template-rows: 72svh 28svh;
  }

  .home-main {
    height: 72svh;
    padding-top: 0.8rem;
    padding-bottom: 0.65rem;
  }

  .site-title {
    font-size: clamp(1.55rem, 7.5vw, 2.35rem);
  }

  .main-menu {
    margin-top: 0.75rem;
    gap: 0.35rem;
  }

  .menu-option {
    font-size: clamp(0.83rem, 4vw, 1.1rem);
  }

  .character-showcase {
    height: 28svh;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.author-credit {
  position: relative;
  z-index: 6;
  margin-top: 0.25rem;
  width: fit-content;
}

.author-credit-button {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
  font-size: clamp(0.72rem, 0.78vw, 0.9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.035em;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 120ms ease, color 120ms ease;
}

.author-credit-button:hover, .author-credit-button:focus-visible {
  color: var(--selection);
  opacity: 1;
  outline: none;
}

.author-links {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.45rem);
  left: 0;
  display: flex;
  gap: 0.75rem;
  padding: 0.45rem 0.6rem;
  background: var(--author-popover-bg);
  border: 1px solid var(--author-popover-border);
  border-radius: 0.35rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.author-links[hidden] {
  display: none !important;
}

.author-links a {
  color: var(--author-popover-text);
  font-family: "Tilt Warp", sans-serif;
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 100ms ease, transform 100ms ease;
}

.author-links a:hover, .author-links a:focus-visible {
  color: var(--selection);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width:620px) {
  .author-credit {
    margin-top: 0.1rem;
  }

  .author-credit-button {
    font-size: 0.68rem;
  }

  .author-links {
    top: calc(100% + 0.35rem);
  }
}

@media (orientation:landscape) and (max-height:520px) {
  :root {
    --menu-indent: 1.45rem;
  }

  .home-main {
    height: 100svh;
    padding: clamp(0.45rem, 2.4vh, 0.8rem) clamp(1rem, 3vw, 2rem);
  }

  .site-title {
    max-width: 13ch;
    font-size: clamp(1.45rem, 7.8vh, 2.15rem);
    line-height: 0.92;
  }

  .title-compass {
    width: clamp(8.5rem, 31vh, 12rem);
    left: -1rem;
  }

  .author-credit {
    margin-top: 0.08rem;
  }

  .author-credit-button {
    font-size: clamp(0.55rem, 2.4vh, 0.7rem);
  }

  .main-menu {
    margin-top: clamp(0.35rem, 2.2vh, 0.7rem);
    gap: clamp(0.16rem, 1.2vh, 0.4rem);
  }

  .menu-option {
    font-size: clamp(0.82rem, 4vh, 1.05rem);
    line-height: 1;
    padding: 0.08em 0;
  }

  .menu-soul {
    width: clamp(12px, 3.5vh, 17px);
  }
}

@media (orientation:landscape) and (max-height:360px) {
  .site-title {
    font-size: clamp(1.3rem, 7.2vh, 1.7rem);
  }

  .main-menu {
    margin-top: 0.2rem;
    gap: 0.1rem;
  }

  .menu-option {
    font-size: clamp(0.76rem, 3.8vh, 0.9rem);
  }
}

@media (max-width:620px) and (orientation:portrait) {
  .home-shell {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100svh;
  }

  .home-main {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-top: clamp(0.8rem, 2.5vh, 1.35rem);
    padding-bottom: clamp(0.55rem, 1.6vh, 0.9rem);
  }

  .main-menu {
    margin-top: clamp(0.7rem, 2vh, 1.15rem);
    gap: clamp(0.32rem, 1.1vh, 0.58rem);
  }

  .character-showcase {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .character-art {
    object-position: 50% 0%;
  }
}

@media (min-width:621px) and (max-width:1050px) {
  .character-art {
    object-position: 50% 0%;
  }
}

@media (orientation:landscape) and (max-height:520px) {
  .character-art {
    object-position: 50% 0%;
    transform: none;
  }
}

@media (max-width:620px) and (orientation:portrait) {
  .character-art {
    transform: scale(1.22);
    transform-origin: 50% 0%;
  }
}

@media (orientation:landscape) and (max-height:520px) {
  .character-art {
    transform: scale(1.12);
    transform-origin: 50% 0%;
  }
}

@keyframes patchnote-vertical-pan {
  from {
    object-position: 50% 100%;
  }

  to {
    object-position: 50% 0%;
  }
}

.character-art {
  object-position: 50% 100%;
  transform: scale(1.10);
  transform-origin: 50% 50%;
  animation: patchnote-vertical-pan 20s ease-in-out 0.35s 1 forwards;
  will-change: object-position;
}

@media (max-width:620px) and (orientation:portrait) {
  .character-art {
    transform: scale(1.24);
  }
}

@media (orientation:landscape) and (max-height:520px) {
  .character-art {
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion:reduce) {
  .character-art {
    animation: none;
    object-position: 50% 38%;
    will-change: auto;
  }
}

.credits-dialog {
  width: min(94vw, 52rem);
  height: min(88svh, 46rem);
  max-height: 88svh;
  padding: 0;
  border: 2px solid var(--dialog-border);
  background: var(--dialog-bg);
  color: var(--dialog-text);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.58);
  overflow: hidden;
}

.credits-dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(2px);
}

.credits-card {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  font-family: "Tilt Warp", sans-serif;
}

.close-credits {
  position: sticky;
  z-index: 2;
  top: 0.85rem;
  float: right;
  margin-right: 1rem;
  border: 0;
  padding: 0 0.1rem;
  background: transparent;
  color: inherit;
  font-family: "Tilt Warp", sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.close-credits:hover, .close-credits:focus-visible {
  color: var(--selection);
  outline: none;
}

.credits-scroll {
  min-height: 100%;
  overflow: visible;
  padding: 2rem 3.2rem 3rem;
  font-family: "Tilt Warp", sans-serif;
}

.credits-scroll:focus-visible {
  outline: 1px dashed var(--selection);
  outline-offset: -4px;
}

.credit-lead {
  padding: 0.35rem 0 2.5rem;
  text-align: center;
}

.credit-lead h2 {
  margin: 0;
  padding: 0 2rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.25;
}

.credit-section {
  padding: 0.5rem 0 2.7rem;
}

.credit-section+.credit-section {
  padding-top: 0.8rem;
}

.credit-section h3 {
  margin: 0 0 1.55rem;
  color: var(--selection);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.credit-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.credit-entry {
  display: grid;
  grid-template-columns: minmax(13rem, 1.2fr) minmax(10rem, 0.8fr);
  gap: 0.55rem 2rem;
  align-items: baseline;
  padding: 0;
  border: 0;
  font-family: "Tilt Warp", sans-serif;
  line-height: 1.55;
}

.credit-entry strong, .credit-entry span {
  font-family: "Tilt Warp", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
}

.credit-entry span {
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.credit-entry--single {
  grid-template-columns: 1fr;
}

.credit-section--art {
  padding-bottom: 1rem;
}

@media (max-width:620px) {
  .credits-dialog {
    width: calc(100vw - 1rem);
    height: min(91svh, 46rem);
    max-height: 91svh;
  }

  .close-credits {
    top: 0.65rem;
    right: 0.75rem;
  }

  .credits-scroll {
    padding: 1.7rem 1.25rem 2rem;
  }

  .credit-lead {
    padding-bottom: 2rem;
  }

  .credit-lead h2 {
    padding: 0 1.6rem;
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }

  .credit-section {
    padding-bottom: 2.2rem;
  }

  .credit-section h3 {
    margin-bottom: 1.3rem;
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .credit-list {
    gap: 1.05rem;
  }

  .credit-entry {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    line-height: 1.6;
  }

  .credit-entry strong, .credit-entry span {
    line-height: 1.6;
  }
}

.ink-review {
  position: absolute;
  z-index: 4;
  top: 58%;
  right: clamp(1.4rem, 2.8vw, 3.2rem);
  width: min(28rem, 45%);
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: transparent;
}

.ink-review h2 {
  margin: 0 0 0.8rem;
  font-family: "Tilt Warp", sans-serif;
  font-size: clamp(1.15rem, 1.55vw, 1.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.035em;
  color: var(--selection);
}

.ink-review p {
  margin: 0;
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.16vw, 1.28rem);
  line-height: 1.45;
}

.ink-signature {
  margin-top: 0.8rem !important;
  text-align: right;
  font-size: clamp(0.96rem, 1.04vw, 1.12rem) !important;
}

.ink-rainbow {
  display: inline-flex;
  gap: 0.01em;
  font-family: "Tilt Warp", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ink-rainbow .rainbow-i {
  color: #ff4b4b;
}

.ink-rainbow .rainbow-n {
  color: #ffb347;
}

.ink-rainbow .rainbow-k {
  color: #48dbfb;
}

.ink-rainbow .rainbow-mark {
  color: #d980fa;
}

@media (max-width:1180px) and (min-width:821px) {
  .ink-review {
    top: 57%;
    right: 1.25rem;
    width: min(24rem, 47%);
  }

  .ink-review p {
    font-size: clamp(0.95rem, 1.25vw, 1.12rem);
    line-height: 1.4;
  }
}

@media (max-width:820px) and (min-width:621px) {
  .ink-review {
    top: 59%;
    right: 1rem;
    width: min(18rem, 48%);
  }

  .ink-review h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  }

  .ink-review p {
    font-size: clamp(0.82rem, 1.8vw, 0.98rem);
    line-height: 1.34;
  }

  .ink-signature {
    margin-top: 0.55rem !important;
    font-size: clamp(0.78rem, 1.65vw, 0.9rem) !important;
  }
}

@media (max-width:620px), (max-height:690px) {
  .ink-review {
    display: none;
  }
}

@media (orientation:landscape) and (max-height:520px) and (max-width:950px) {
  .ink-review {
    display: block;
    top: 52%;
    right: clamp(-0.55rem, -0.8vw, -0.2rem);
    width: clamp(10.5rem, 25vw, 14rem);
    transform: translateY(-50%);
  }

  .ink-review h2 {
    margin-bottom: clamp(0.3rem, 1.4vh, 0.5rem);
    font-size: clamp(0.78rem, 3.1vh, 1rem);
    line-height: 1;
  }

  .ink-review p {
    font-size: clamp(0.66rem, 2.65vh, 0.86rem);
    line-height: 1.25;
  }

  .ink-signature {
    margin-top: clamp(0.25rem, 1.15vh, 0.45rem) !important;
    font-size: clamp(0.64rem, 2.5vh, 0.8rem) !important;
  }
}

@media (orientation:landscape) and (max-height:360px) and (max-width:950px) {
  .ink-review {
    top: 51%;
    right: -0.45rem;
    width: clamp(9.5rem, 24vw, 12.5rem);
  }

  .ink-review h2 {
    margin-bottom: 0.22rem;
    font-size: clamp(0.68rem, 2.9vh, 0.82rem);
  }

  .ink-review p {
    font-size: clamp(0.58rem, 2.45vh, 0.72rem);
    line-height: 1.18;
  }

  .ink-signature {
    margin-top: 0.2rem !important;
    font-size: clamp(0.56rem, 2.35vh, 0.68rem) !important;
  }
}

.setting-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.02rem;
}

.settings-inline-button {
  appearance: none;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  padding: .42rem .68rem .36rem;
  font-family: "Tilt Warp", sans-serif;
  font-size: .78rem;
  letter-spacing: .035em;
  cursor: pointer;
}

.settings-inline-button:hover, .settings-inline-button:focus-visible {
  color: #ffd800;
  outline: none;
}
