* { margin: 0; padding: 0; box-sizing: border-box; }

/* mobile long-press: without these, holding the heart triggers iOS text
   selection + the copy/translate callout and tints the page blue */
#app, #intro {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
/* the codex leaf is a text meant to be read (and copied) */
#codex .leaf { -webkit-user-select: text; user-select: text; }

:root {
  --bg: #05060a;
  --panel: #0a0c14;
  --line: rgba(125, 249, 255, 0.10);
  --cyan: #7df9ff;
  --magenta: #e879f9;
  --pink: #f472b6;
  --buy: #5eead4;
  --sell: #f87171;
  --text: #e6edf6;
  --muted: #6b7690;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow: hidden;
}

.hidden { display: none !important; }

/* ---------- intro ---------- */

#intro {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 50;
  cursor: pointer;
  transition: opacity 0.9s ease;
}
#intro.fadeout { opacity: 0; pointer-events: none; }

#introBg { position: absolute; inset: 0; width: 100%; height: 100%; }
#introGlow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 46% at 50% 38%, rgba(255, 140, 120, 0.07), rgba(255, 140, 120, 0) 70%);
}
#introVignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.62) 100%);
}
#introGrain { position: absolute; inset: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; }

/* ---------- the book ---------- */

#bookStage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 2600px;
}
#book {
  position: relative;
  width: min(92vw, 1020px);
  aspect-ratio: 1.58;
  max-height: 76vh;
  transform-style: preserve-3d;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.85));
}
#book.shake { animation: bookShake 0.28s ease; }
@keyframes bookShake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 2px); }
  50% { transform: translate(3px, -2px); }
  75% { transform: translate(-2px, 1px); }
}
#book .base, #book .face {
  background-color: #12100f;
  background-size: cover;
  border: 1px solid rgba(210, 190, 165, 0.10);
}
#book .base { position: absolute; top: 0; height: 100%; width: 50%; }
#book .base.left { left: 0; border-radius: 10px 2px 2px 10px; }
#book .base.right { right: 0; border-radius: 2px 10px 10px 2px; }
#spine {
  position: absolute; left: 50%; top: 0; height: 100%; width: 56px;
  transform: translateX(-50%); z-index: 40; pointer-events: none;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.66) 50%, rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0) 100%);
}
#book .leaf {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 1.15s cubic-bezier(0.28, 0.08, 0.18, 1);
}
#book .leaf.flipped { transform: rotateY(-180deg); }
#book .face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
  border-radius: 2px 10px 10px 2px;
}
#book .face.back { transform: rotateY(180deg); border-radius: 10px 2px 2px 10px; }
#book .face::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 22%);
}
#book .face.back::before {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 22%);
}
#book .leaf .shade {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(0, 0, 0, 0.55); opacity: 0;
  transition: opacity 0.55s ease;
}
#book .leaf.flipping .shade { opacity: 1; }

#book .pageContent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 8% 11%;
  text-align: center;
  font-family: "IM Fell English", "Cormorant Garamond", Georgia, serif;
  color: #e8ddd0;
}
/* full-page illustrated verses: art owns the page, the line rests on a scrim */
#book .pageContent.art {
  justify-content: flex-end;
  padding-bottom: 6%;
  background: linear-gradient(to top, rgba(5, 4, 7, 0.94) 0%, rgba(5, 4, 7, 0.6) 20%, rgba(5, 4, 7, 0) 42%);
}
#book .pageContent.art .verse {
  font-size: clamp(14px, 2vw, 25px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.8);
}
#book .pageContent.art .flourish { margin-top: 4%; opacity: 0.4; }
#book .kicker {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 0.5em; text-indent: 0.5em;
  color: rgba(224, 92, 110, 0.85);
  margin-bottom: 4.5%;
}
#book .verse {
  font-style: italic; font-weight: 500;
  font-size: clamp(15px, 2.35vw, 30px);
  line-height: 1.62;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
#book .verse.big { font-size: clamp(22px, 3.6vw, 46px); font-weight: 600; }
#book .verse .w {
  display: inline-block; opacity: 0;
  transform: translateY(9px); filter: blur(5px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
#book .live .verse .w { opacity: 1; transform: none; filter: blur(0); }
#book .flourish { margin-top: 7%; width: 34%; height: 13px; position: relative; opacity: 0.5; }
#book .flourish::before {
  content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(214, 178, 140, 0.7), transparent);
}
#book .flourish::after {
  content: '❖'; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  font-size: 11px; color: rgba(214, 178, 140, 0.8);
}
#book .ghost {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: clamp(90px, 14vw, 190px);
  color: rgba(216, 188, 158, 0.05);
}
#book .folio {
  position: absolute; bottom: 4.5%; width: 100%; text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(10px, 1.2vw, 14px);
  color: rgba(216, 196, 172, 0.3);
}
#titleSmall {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(8px, 1vw, 11px); letter-spacing: 0.44em; text-indent: 0.44em;
  color: rgba(216, 196, 172, 0.42); margin-bottom: 6%;
}
#titleMain {
  font-style: italic; font-weight: 600;
  font-size: clamp(22px, 3.2vw, 42px); line-height: 1.3;
  color: #ead9c4;
}
#titleSub {
  margin-top: 7%;
  font-style: italic; font-size: clamp(12px, 1.5vw, 18px);
  color: rgba(216, 196, 172, 0.5);
}

#crackSvg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#crackSvg polyline, #crackSvg line {
  fill: none; stroke: #ff4d6d; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(255, 77, 109, 0.9));
}
#crackSvg .main { stroke-width: 1.6; }
#crackSvg .branch { stroke-width: 0.9; opacity: 0; }
#pageV.c1 #crackSvg .main { stroke-width: 3; }
#pageV.c1 #crackSvg .branch { opacity: 0.8; }
#pageV.c2 #crackSvg .main { stroke-width: 5; filter: drop-shadow(0 0 14px rgba(255, 77, 109, 1)); }
#pageV.c2 #crackSvg .branch { opacity: 1; stroke-width: 1.6; }
#pageV .sealPulse { animation: sealPulse 1.4s ease-in-out infinite; }
@keyframes sealPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

#introHint {
  position: absolute;
  bottom: 4.2vh;
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(210, 195, 175, 0.4);
  animation: hintPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.9; } }

#flood {
  position: absolute; inset: 0; pointer-events: none;
  background: #020308;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#flood.on { opacity: 1; }
#enterWrap {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center;
}
#enterWrap.on { display: flex; }
#enterBtn {
  font-family: inherit;
  font-size: 15px; letter-spacing: 0.55em; text-indent: 0.55em; text-transform: lowercase;
  color: #7a1228;
  background: none; border: none; cursor: pointer;
  padding: 18px 44px;
  animation: hintPulse 2s ease-in-out infinite;
}

#skipBtn {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.22em;
  color: rgba(230, 217, 198, 0.6);
  background: linear-gradient(180deg, rgba(30, 26, 34, 0.4), rgba(12, 10, 16, 0.35));
  border: 1px solid rgba(216, 196, 172, 0.22);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 4px rgba(216, 196, 172, 0.09);
  padding: 7px 15px 8px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
}
#skipBtn:hover {
  color: #f2e7d5;
  border-color: rgba(216, 196, 172, 0.48);
  text-shadow: 0 0 12px rgba(255, 120, 140, 0.3);
}

/* ---------- cinematic prologue ---------- */

#cineStage { position: absolute; inset: 0; overflow: hidden; }
#cineStage.shake { animation: stageShake 0.3s ease; }
@keyframes stageShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6px, 3px); }
  45% { transform: translate(5px, -3px); }
  70% { transform: translate(-3px, 2px); }
}
.haze {
  position: absolute; left: 50%; top: 50%;
  width: 160vmax; height: 160vmax;
  margin: -80vmax 0 0 -80vmax;
  pointer-events: none;
  background: radial-gradient(ellipse 42% 30% at 62% 46%, rgba(140, 20, 45, 0.10), transparent 70%);
  animation: hazeSpin 90s linear infinite;
}
.haze.h2 {
  background: radial-gradient(ellipse 36% 26% at 38% 58%, rgba(90, 24, 60, 0.08), transparent 70%);
  animation-duration: 140s;
  animation-direction: reverse;
}
@keyframes hazeSpin { to { transform: rotate(360deg); } }

.shot { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.shot.on { opacity: 1; transition: opacity 0.45s ease; }
.shot.exit { opacity: 0; transition: opacity 0.6s ease; }
.shot .img {
  position: absolute; inset: -4%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1);
  will-change: transform, filter;
}
.shot.exit .img {
  transition: transform 0.65s cubic-bezier(0.5, 0, 0.8, 0.4), filter 0.6s ease !important;
  transform: scale(1.6) !important;
  filter: blur(9px) brightness(1.7) !important;
}
.shot.exit.fadeonly .img {
  transform: none !important;
  filter: brightness(0.6) !important;
  transition: filter 0.7s ease !important;
}
.shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 42%, rgba(3, 4, 9, 0.9) 92%);
}
.shot .sealGlow {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 44%, rgba(255, 236, 224, 0.85) 0%, rgba(255, 120, 140, 0.4) 22%, transparent 52%);
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

#titleCard {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#titleCard.gone { opacity: 0; transform: scale(1.12); pointer-events: none; }
#titleCard .tBg {
  position: absolute; inset: -5%;
  background-size: cover;
  background-position: center 38%;
  filter: brightness(0.34) saturate(1.15);
  animation: tBgDrift 26s ease-out forwards;
}
@keyframes tBgDrift { from { transform: scale(1); } to { transform: scale(1.14); } }
#titleCard .tBg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(3, 4, 9, 0.25) 0%, rgba(3, 4, 9, 0.88) 78%);
}
#titleCard .tPulse {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 58%, rgba(255, 60, 90, 0.16), transparent 55%);
  animation: tHeartbeat 1.6s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes tHeartbeat {
  0%, 100% { opacity: 0.25; }
  12% { opacity: 0.85; }
  24% { opacity: 0.35; }
  34% { opacity: 0.7; }
  50% { opacity: 0.25; }
}
#titleCard .tSmall {
  position: relative;
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 0.5em; text-indent: 0.5em;
  color: rgba(216, 196, 172, 0.5);
  margin-bottom: 26px;
  animation: tcIn 1.4s ease both, tTrack 4s 0.3s ease-out both;
}
@keyframes tTrack { from { letter-spacing: 0.9em; } to { letter-spacing: 0.5em; } }
#titleCard .tMain, #titleCard .tRule, #titleCard .tSub { position: relative; }
#titleCard .tMain {
  font-family: "IM Fell English", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.22;
  color: #ead9c4;
  text-shadow: 0 0 46px rgba(255, 90, 110, 0.25);
  animation: tcIn 1.6s 0.25s ease both;
}
#titleCard .tRule {
  width: 130px; height: 1px; margin: 30px 0 22px;
  background: linear-gradient(to right, transparent, rgba(214, 178, 140, 0.7), transparent);
  animation: tcIn 1.6s 0.55s ease both;
}
#titleCard .tSub {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-size: clamp(13px, 1.6vw, 19px);
  color: rgba(216, 196, 172, 0.55);
  animation: tcIn 1.6s 0.7s ease both;
}
@keyframes tcIn { from { opacity: 0; transform: translateY(18px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }

#verseBox {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.phrase {
  max-width: 90vw;
  text-align: center;
  font-family: "IM Fell English", "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(34px, 5.8vw, 76px);
  line-height: 1.28;
  color: #f4ede2;
  text-wrap: balance;
  padding: 5vh 6vw;
  background: radial-gradient(closest-side, rgba(3, 4, 9, 0.82), rgba(3, 4, 9, 0.5) 58%, transparent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 0 44px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  filter: blur(9px);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.3, 1.12), filter 0.32s ease;
}
.phrase.in { opacity: 1; transform: none; filter: blur(0); }
/* each word inks itself onto the plate, one after another */
.phrase .w {
  display: inline-block;
  opacity: 0;
  animation: wordInk 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes wordInk {
  0% { opacity: 0; filter: blur(7px); transform: translateY(0.2em); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}
.phrase.out {
  opacity: 0;
  transform: translateY(-34px) scale(1.04);
  filter: blur(7px);
  transition-duration: 0.22s;
}
.phrase.huge { font-size: clamp(46px, 8.6vw, 116px); }

#sealVid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#sealVid.on { opacity: 1; }
#scratchCv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.7; }
#flashLayer {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, #fff4ec 0%, #ffc9ce 45%, rgba(255, 130, 140, 0.6) 100%);
  opacity: 0;
}
#flashLayer.crimson {
  background: radial-gradient(circle at 50% 50%, rgba(210, 30, 60, 0.95) 0%, rgba(120, 10, 35, 0.97) 60%, rgba(60, 4, 18, 1) 100%);
}

/* ---------- app layout ---------- */

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(24, 21, 32, 0.44), rgba(10, 9, 16, 0.30));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.35);
  /* the buy menu drops below the header: without a z-index the LATER-
     painted main (canvas etc.) covers it, leaving an empty sliver */
  position: relative;
  z-index: 60;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  text-transform: lowercase;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: #f2e8d4;
  text-shadow: 0 0 20px rgba(255, 77, 109, 0.3);
}
.logo {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.45), 0 0 26px rgba(255, 77, 109, 0.25);
  animation: logoPulse 1.1s ease-in-out infinite;
}
@keyframes logoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.75); } }

.progressWrap { flex: 1; max-width: 560px; margin: 0 auto; }
.progressLabel {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.progressLabel span { color: #ff8fab; }
.progressBar {
  height: 6px;
  border-radius: 999px;
  background: rgba(125, 249, 255, 0.08);
  overflow: hidden;
}
#pfill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d6d, #ff8fab);
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.6);
  transition: width 0.5s ease;
}

/* brand + CA çipi solda; mcap + butonlar SAĞ blokta, tek satır hizalı */
.netflowWrap { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
header .netflowWrap { margin-left: auto; margin-right: 42px; }
.netflowLabel {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.24em;
  color: rgba(238, 222, 198, 0.92);
}
.mcap {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f8ecd0;
}
/* compact-notation suffix (K/M/B): full-size it dwarfs the digits */
.mcap .mcSfx {
  font-size: 0.6em;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  margin-left: 2px;
  color: rgba(238, 222, 198, 0.8);
}

/* contract address chip — hidden until launch day fills const CA */
#caChip[hidden] { display: none; }
#caChip {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(232, 220, 200, 0.72);
  background: linear-gradient(180deg, rgba(30, 26, 34, 0.4), rgba(12, 10, 16, 0.35));
  border: 1px solid rgba(216, 196, 172, 0.22);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 4px rgba(216, 196, 172, 0.08);
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
#caChip .caLabel {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(224, 205, 180, 0.5);
}
#caChip:hover { color: #f2e7d5; border-color: rgba(216, 196, 172, 0.46); }
#caChip.copied { color: #cfe9ba; border-color: rgba(160, 210, 132, 0.5); }

/* engraved plaque buttons: hairline double frame, manuscript italic —
   the story in bone, the buy in Lincoln green (Robin Hood's colour) */
.headerBtns { display: flex; align-items: center; gap: 12px; }
#codexBtn,
#storyBtn {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.24em;
  color: rgba(240, 228, 208, 0.88);
  background: linear-gradient(180deg, rgba(34, 29, 38, 0.45), rgba(13, 11, 17, 0.4));
  border: 1px solid rgba(216, 196, 172, 0.36);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 4px rgba(216, 196, 172, 0.16);
  padding: 10px 20px 11px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
}
#codexBtn:hover,
#storyBtn:hover {
  color: #f2e7d5;
  border-color: rgba(216, 196, 172, 0.5);
  text-shadow: 0 0 12px rgba(255, 120, 140, 0.35);
}
#buyCta {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.26em;
  text-decoration: none;
  color: #def4ca;
  background: linear-gradient(180deg, rgba(44, 68, 34, 0.55), rgba(14, 24, 12, 0.6));
  border: 1px solid rgba(160, 210, 132, 0.55);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 4px rgba(190, 228, 160, 0.16), 0 0 22px rgba(100, 175, 85, 0.18);
  padding: 10px 22px 11px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
#buyCta:hover {
  color: #e2f5d2;
  border-color: rgba(170, 215, 140, 0.65);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 4px rgba(180, 220, 150, 0.18), 0 0 28px rgba(110, 190, 95, 0.28);
}

/* BUY MENU: two doors hanging off the plaque — BasedBot and Uniswap.
   [hidden] guard is CRITICAL (v44 invisible click-eater lesson). */
.buyWrap { position: relative; }
#buyMenu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  min-width: 176px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px;
  background: rgba(12, 10, 16, 0.88);
  border: 1px solid rgba(216, 196, 172, 0.22);
  border-radius: 3px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  z-index: 40;
}
#buyMenu[hidden] { display: none; }
#buyMenu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0.14em;
  color: rgba(238, 222, 198, 0.85);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
#buyMenu a:hover { background: rgba(216, 196, 172, 0.10); color: #f5ecd8; }
#buyMenu svg { width: 17px; height: 17px; fill: #2aabee; flex: none; }
#buyMenu .uniGlyph { font-size: 16px; line-height: 1; flex: none; }

main {
  flex: 1;
  display: flex;
  min-height: 0;
}

#canvasWrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 22px;
  min-width: 0;
}
#art {
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 0 60px rgba(125, 249, 255, 0.05);
  cursor: crosshair;
}
#canvasHint {
  position: absolute;
  z-index: 5;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
  pointer-events: none;
}
#zoomBtn {
  position: absolute;
  top: 34px;
  right: 34px;
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(10, 12, 20, 0.55);
  border: 1px solid rgba(107, 118, 144, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
#zoomBtn:hover { color: var(--text); border-color: var(--muted); }

/* ENGRAVED PLATE DRESSING: the canvas is a manuscript plate, not a black
   rectangle — double rule frame, corner fleurons, vertical title, epigraph */
#plateFrame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(216, 196, 172, 0.10);
  pointer-events: none;
  z-index: 4;
}
#plateFrame::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(216, 196, 172, 0.05);
}
#plateFrame .fl {
  position: absolute;
  font-size: 15px;
  color: rgba(216, 196, 172, 0.20);
  line-height: 1;
}
#plateFrame .tl { top: -7px; left: -6px; }
#plateFrame .tr { top: -7px; right: -6px; transform: scaleX(-1); }
#plateFrame .bl { bottom: -7px; left: -6px; transform: scaleY(-1); }
#plateFrame .br { bottom: -7px; right: -6px; transform: scale(-1, -1); }

#marquee {
  position: absolute;
  top: 13px;
  left: 34px;
  right: 34px;
  height: 24px;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.mq {
  position: absolute;
  white-space: nowrap;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 24px;
  color: rgba(216, 196, 172, 0.38);
  animation: mqScroll 52s linear infinite;
  will-change: transform;
}
.mq .b { color: rgba(240, 200, 120, 0.55); }
.mq .s { color: rgba(150, 158, 172, 0.5); }
.mq .sep { color: rgba(255, 120, 140, 0.30); margin: 0 14px; }
@keyframes mqScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#sideTitle {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.5em;
  color: rgba(216, 196, 172, 0.20);
  pointer-events: none;
  z-index: 4;
}
#sideTitle #actSide { color: rgba(255, 130, 150, 0.34); }

#epigraph {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(216, 196, 172, 0.34);
  white-space: nowrap;
  pointer-events: none;
  z-index: 4;
}
#epigraph .formula {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.26em;
  color: rgba(200, 190, 200, 0.20);
}
#epigraph .formula sup { font-size: 7px; }

/* THE CODEX: a single manuscript leaf that explains the heart's logic —
   docs written as scripture, opened from the header plaque */
/* KRİTİK: author display'i hidden özniteliğini ezer — [hidden] kuralı
   olmazsa görünmez overlay TÜM tıklamaları yutar (yaşandı) */
#codex[hidden] { display: none; }
#codex {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#codex.on { opacity: 1; }
.codexVeil {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 9, 0.7);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.leaf {
  position: relative;
  width: min(660px, 92vw);
  max-height: 84vh;
  overflow-y: auto;
  background: linear-gradient(170deg, rgba(21, 17, 23, 0.98), rgba(10, 8, 13, 0.98));
  border: 1px solid rgba(216, 196, 172, 0.24);
  border-radius: 3px;
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0), inset 0 0 0 7px rgba(216, 196, 172, 0.09),
    0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(140, 20, 45, 0.08);
  padding: 46px 52px 40px;
  transform: translateY(14px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
#codex.on .leaf { transform: none; }
.leaf h2 {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.14em;
  color: #efe3cb;
  text-align: center;
  margin: 0 0 6px;
}
.leafSub {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: rgba(224, 205, 180, 0.5);
  text-align: center;
  margin: 0 0 14px;
}
.leafRule {
  text-align: center;
  color: rgba(255, 120, 140, 0.4);
  font-size: 15px;
  margin-bottom: 22px;
}
.leafRule::before,
.leafRule::after {
  content: '';
  display: inline-block;
  width: 84px;
  height: 1px;
  background: rgba(216, 196, 172, 0.22);
  vertical-align: middle;
  margin: 0 12px;
}
.leafBody {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.72;
  color: rgba(233, 221, 203, 0.86);
  margin: 0 0 16px;
}
.leafBody em { color: #f4e8ca; }
.leafBody .lead {
  font-variant: small-caps;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff9db0;
}
.leafBody .cap {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  float: left;
  font-size: 52px;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: #ff8fab;
  text-shadow: 0 0 18px rgba(255, 77, 109, 0.35);
}
.leafSign {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  color: rgba(216, 196, 172, 0.55);
  text-align: center;
  margin: 26px 0 0;
}
.leafClose {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(224, 205, 180, 0.5);
  background: none;
  border: 1px solid rgba(216, 196, 172, 0.2);
  border-radius: 2px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.leafClose:hover { color: #f2e7d5; border-color: rgba(216, 196, 172, 0.5); }

/* SAVE BAR: quiet plaques under the Buy button — take a relic home.
   Top-right so they never sit where the orbit-drag hand wanders. */
#saveBar {
  position: absolute;
  right: 20px;
  top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 5;
}
#saveBar button {
  font-family: 'Cormorant Garamond', serif;
  font-variant: small-caps;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  color: rgba(224, 205, 180, 0.42);
  background: rgba(12, 10, 16, 0.35);
  border: 1px solid rgba(216, 196, 172, 0.16);
  border-radius: 2px;
  padding: 6px 13px 7px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
#saveBar button:hover {
  color: rgba(240, 228, 208, 0.95);
  border-color: rgba(216, 196, 172, 0.45);
}
#saveBar button:disabled {
  cursor: default;
  color: rgba(255, 157, 176, 0.75);
  border-color: rgba(255, 120, 140, 0.3);
}

/* first-visit whisper: one line under the heart, once, then never again —
   the codex carries the full liturgy. #touchHint[hidden] guard is CRITICAL
   (the v44 invisible click-eater lesson). */
#touchHint {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: rgba(232, 215, 185, 0.62);
  text-shadow: 0 0 18px rgba(160, 30, 45, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
  z-index: 5;
}
#touchHint[hidden] { display: none; }
#touchHint.on { opacity: 1; }

/* GHOST FEED: each live trade surfaces at the right edge, drifts up and
   dissolves — the ledger's ghost, never a panel */
#ghostFeed {
  position: absolute;
  top: 0;
  right: 30px;
  bottom: 0;
  width: 220px;
  pointer-events: none;
  z-index: 5;
}
.ghost {
  position: absolute;
  right: 0;
  text-align: right;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: ghostRise 6.8s ease-out forwards;
  will-change: transform, opacity;
}
.ghost.buy { color: rgba(242, 202, 122, 0.9); text-shadow: 0 0 12px rgba(242, 180, 90, 0.35); }
.ghost.sell { color: rgba(150, 158, 172, 0.7); }
.ghost.whale { font-size: 12.5px; color: rgba(255, 216, 140, 1); text-shadow: 0 0 18px rgba(255, 190, 90, 0.5); }
@keyframes ghostRise {
  0% { opacity: 0; transform: translateY(14px); }
  6% { opacity: 0.95; transform: translateY(8px); }
  55% { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-110px); }
}

/* info cards over the heart */
#hud {
  position: absolute;
  left: 26px;
  bottom: 64px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  pointer-events: none;
}
.hudCard {
  background: linear-gradient(165deg, rgba(32, 27, 40, 0.36), rgba(10, 9, 16, 0.28));
  border: 1px solid rgba(255, 160, 175, 0.15);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.8;
  color: rgba(240, 226, 222, 0.68);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 -1px 0 rgba(255, 255, 255, 0.03), 0 8px 24px rgba(0, 0, 0, 0.35);
}
#hudLast { color: rgba(255, 185, 198, 0.85); transition: box-shadow 0.3s ease; }
#hudLast.pop { box-shadow: 0 0 18px rgba(255, 77, 109, 0.25); }
#hudLast .grow { color: #5eead4; font-weight: 700; }
#hudLast .with { color: #8a93a5; font-weight: 700; }
#hudMath { color: rgba(200, 190, 200, 0.42); font-size: 10.5px; }
#hudMath sup { font-size: 8px; }

/* first-visit guide */
#guide {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 6;
  width: 92%;
  text-align: center;
  pointer-events: none;
}
#guideLine {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 29px);
  color: #efe2d8;
  opacity: 0;
  transition: opacity 1.1s ease;
  text-shadow: 0 0 26px rgba(255, 77, 109, 0.35), 0 2px 8px rgba(0, 0, 0, 0.9);
}
#guideLine.on { opacity: 0.95; }
#beatBtn {
  pointer-events: auto;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb9c6;
  cursor: pointer;
  background: rgba(255, 60, 95, 0.07);
  border: 1px solid rgba(255, 110, 135, 0.55);
  border-radius: 999px;
  padding: 13px 30px;
  opacity: 0;
  transition: opacity 1s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 22px rgba(255, 70, 105, 0.22);
  animation: beatPulse 1.15s ease-in-out infinite;
}
#beatBtn.on { opacity: 1; }
#beatBtn:hover { background: rgba(255, 60, 95, 0.16); box-shadow: 0 0 36px rgba(255, 70, 105, 0.45); }
@keyframes beatPulse { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.05); } 36% { transform: scale(1); } }
#toast {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  z-index: 7;
  pointer-events: none;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 190, 205, 0.9);
  opacity: 0;
  transition: opacity 0.5s ease;
  text-shadow: 0 0 18px rgba(255, 80, 110, 0.6);
}
#toast.on { opacity: 1; }

/* ---------- feed ---------- */

#feed {
  width: 272px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(200deg, rgba(22, 19, 28, 0.40), rgba(9, 8, 14, 0.28));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.feedTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.feedTitle .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--buy);
  box-shadow: 0 0 8px var(--buy);
  animation: hintPulse 1.6s ease-in-out infinite;
}
#feedList {
  flex: 1;
  overflow: hidden;
  padding: 0 12px 12px;
  mask-image: linear-gradient(to bottom, black 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent);
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 8px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(216, 196, 172, 0.07);
  animation: rowIn 0.35s ease both;
}
@keyframes rowIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.row .addr { color: rgba(216, 196, 172, 0.4); font-size: 11px; font-family: var(--mono, monospace); }
.row .side { font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; }
.row.buy .side { color: #e2b96f; text-shadow: 0 0 10px rgba(226, 185, 111, 0.45); }
.row.sell .side { color: #8a93a5; }
.row .amt { font-weight: 500; color: rgba(235, 225, 210, 0.85); }
.row.whale {
  background: linear-gradient(to right, rgba(226, 185, 111, 0.10), transparent);
  border-bottom-color: rgba(226, 185, 111, 0.3);
}
.row.whale .amt { color: #ffd685; font-weight: 700; }

/* ---------- sim bar ---------- */

#simbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(0deg, rgba(24, 21, 32, 0.42), rgba(10, 9, 16, 0.28));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--muted);
}
.simTag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid rgba(107, 118, 144, 0.4);
  border-radius: 4px;
  padding: 4px 8px;
}
#simbar button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 9px 22px;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
#simbar button.buy {
  color: var(--buy);
  border: 1px solid rgba(94, 234, 212, 0.5);
}
#simbar button.buy:hover {
  background: rgba(94, 234, 212, 0.1);
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.25);
}
#simbar button.sell {
  color: var(--sell);
  border: 1px solid rgba(248, 113, 113, 0.45);
}
#simbar button.sell:hover {
  background: rgba(248, 113, 113, 0.1);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.25);
}
#caInput {
  flex: 1;
  max-width: 460px;
  font-family: var(--mono, monospace);
  font-size: 12px;
  color: #e8dcc8;
  background: rgba(216, 196, 172, 0.05);
  border: 1px solid rgba(216, 196, 172, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
}
#caInput:focus { border-color: rgba(255, 120, 140, 0.45); }
#caApply {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb9c6;
  background: rgba(255, 60, 95, 0.07);
  border: 1px solid rgba(255, 110, 135, 0.45);
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
}
#caApply:hover { background: rgba(255, 60, 95, 0.15); }
#chainStatus {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(216, 196, 172, 0.5);
}
#chainStatus .live { color: #5eead4; }

/* ---------- mobile ---------- */

@media (max-width: 780px) {
  header { flex-wrap: wrap; gap: 10px 14px; padding: 10px 14px; }
  .brand { font-size: 16px; }
  .progressWrap { order: 4; flex-basis: 100%; max-width: none; }
  .netflowWrap { min-width: 0; text-align: left; }
  .headerBtns { margin-left: auto; }
  #buyCta { padding: 8px 12px; font-size: 11.5px; }
  #storyBtn { padding: 7px 10px; font-size: 11px; }

  main { flex-direction: column; }
  #canvasWrap { padding: 8px; }
  #canvasHint { display: none; }
  #feed {
    width: 100%;
    flex: none;
    height: 92px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .feedTitle { padding: 8px 14px 6px; }
  #feedList {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 10px 10px;
    mask-image: linear-gradient(to right, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent);
  }
  .row { flex: none; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 116px; margin-bottom: 0; }

  /* phone: keep the plate dressing lean — no side title, short epigraph */
  #hud { left: 10px; bottom: 42px; max-width: 78%; }
  .hudCard { padding: 7px 10px; font-size: 10px; line-height: 1.6; }
  #sideTitle { display: none; }
  #epigraph { font-size: 8px; letter-spacing: 0.2em; bottom: 16px; }
  #epigraph .formula { display: none; }
  #marquee { left: 20px; right: 20px; }
  #plateFrame { inset: 8px; }
  #plateFrame::before { display: none; }

  #simbar { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  #simbar .speed { margin-left: 0; }
  #simbar button { padding: 8px 16px; }

  #book { width: 96vw; aspect-ratio: 1.4; max-height: 62vh; }
  #book .pageContent { padding: 7% 8%; }
  #book .verse { font-size: clamp(12.5px, 3.2vw, 17px); line-height: 1.55; }
  #book .verse.big { font-size: clamp(17px, 4.6vw, 24px); }
  #book .kicker { font-size: 8px; letter-spacing: 0.4em; }
  #titleMain { font-size: clamp(16px, 4.4vw, 24px); }
  #skipBtn { top: 14px; right: 14px; }
}
