/* ==========================================================================
   Book of Robinhood — The Art of Investing
   ========================================================================== */

:root {
  --paper:      #EDF0E2;
  --paper-edge: #DCE2CB;
  --ink:        #10251A;
  --ink-soft:   rgba(16, 37, 26, .60);
  --ink-faint:  rgba(16, 37, 26, .16);
  --field:      #C2F457;
  --field-deep: #ADEB36;
  --deep:       #0B3D1E;
  --hood:       #00C805;
  --loss:       #C63A28;

  --serif:  "Newsreader", Georgia, "Times New Roman", serif;
  --display:"Fraunces", Georgia, serif;
  --mono:   "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --chrome: 172px;          /* ticker + masthead + controls + footer */
  --ar: .56;                /* page shape; overridden per breakpoint */
  --turn: 460ms;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--field);
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0 46px,
      rgba(11, 61, 30, .055) 46px 48px,
      transparent 48px 96px);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* --------------------------------------------------------------- ticker -- */

.ticker {
  flex: 0 0 auto;
  background: var(--deep);
  color: var(--field);
  overflow: hidden;
  border-bottom: 2px solid rgba(0, 0, 0, .25);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: .45rem 0;
  animation: slide 42s linear infinite;
}

@keyframes slide { to { transform: translateX(-50%); } }

.tick {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: 0 1.4rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

.tick b { font-weight: 500; color: #fff; }
.tick i { font-style: normal; color: var(--hood); }
.tick i::before { content: "▲ "; font-size: .8em; }

/* ------------------------------------------------------------- masthead -- */

.masthead {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .7rem;
  padding: .7rem 1rem .3rem;
  text-align: center;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-weight: 900;
  font-size: clamp(1.05rem, 3.6vw, 1.6rem);
  letter-spacing: -.02em;
  color: var(--deep);
  text-decoration: none;
}

.brand-sub {
  font-size: clamp(.72rem, 2.4vw, .9rem);
  color: rgba(11, 61, 30, .68);
  font-style: italic;
}

/* ---------------------------------------------------------------- stage -- */

.stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .4rem 1rem;
}

.book {
  position: relative;
  /* always fits both axes, and always lands on exactly --ar */
  height: min(calc(100dvh - var(--chrome)), calc(94vw / var(--ar)));
  width:  min(94vw, calc((100dvh - var(--chrome)) * var(--ar)));
  perspective: 2200px;
  filter: drop-shadow(0 18px 34px rgba(11, 61, 30, .34));
  transition: width 320ms ease, height 320ms ease;
}

.book-spine { display: none; }

.leaves {
  -webkit-user-select: none;
  user-select: none;
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  background: var(--paper);
}

/* ----------------------------------------------------------------- page -- */

.page {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background-color: var(--paper);
  background-image: url("../public/images/feather-mark.png");
  background-repeat: no-repeat;
  background-position: center 52%;
  background-size: 58% auto;
  backface-visibility: hidden;
}

.page.is-visible { display: flex; }

.page-inner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  container-type: inline-size;
  padding: clamp(1.1rem, 4.4%, 2.6rem);
  padding-bottom: 2.4rem;
}

/* Turning. Forward, the leaf swings away to the LEFT about the spine and the
   next page is revealed underneath. Back, it swings away to the RIGHT. */
.page.is-leaving {
  display: flex;
  z-index: 5;
  box-shadow: 0 0 26px rgba(11, 61, 30, .3);
}

.leaves[data-dir="fwd"]  .page.is-leaving { animation: leafOutLeft  var(--turn) cubic-bezier(.4, 0, .3, 1) both; }
.leaves[data-dir="back"] .page.is-leaving { animation: leafOutRight var(--turn) cubic-bezier(.4, 0, .3, 1) both; }

.leaves[data-dir="fwd"]  .page.is-visible,
.leaves[data-dir="back"] .page.is-visible { animation: leafIn var(--turn) ease both; }

/* the leaf stays opaque while it swings, so nothing ghosts through it */
@keyframes leafOutLeft {
  0%   { transform: rotateY(0deg);    transform-origin: left center; opacity: 1; }
  72%  { transform: rotateY(-72deg);  transform-origin: left center; opacity: 1; }
  100% { transform: rotateY(-100deg); transform-origin: left center; opacity: 0; }
}

@keyframes leafOutRight {
  0%   { transform: rotateY(0deg);   transform-origin: right center; opacity: 1; }
  72%  { transform: rotateY(72deg);  transform-origin: right center; opacity: 1; }
  100% { transform: rotateY(100deg); transform-origin: right center; opacity: 0; }
}

@keyframes leafIn {
  from { opacity: .4; }
  to   { opacity: 1; }
}

/* scrolled text fades out behind the running head and folio */
.page::before,
.page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2.1rem;
  z-index: 2;
  pointer-events: none;
}

.page::before { top: 0;    --fade: linear-gradient(to bottom, var(--paper) 42%, rgba(237, 240, 226, 0)); background-image: var(--fade); }
.page::after  { bottom: 0; --fade: linear-gradient(to top,    var(--paper) 42%, rgba(237, 240, 226, 0)); background-image: var(--fade); }

.page--cover::before { background-image: linear-gradient(to bottom, var(--field) 42%, rgba(194, 244, 87, 0)); }
.page--cover::after  { background-image: linear-gradient(to top,    var(--field) 42%, rgba(194, 244, 87, 0)); }
.page--back::before  { background-image: linear-gradient(to bottom, var(--deep) 42%, rgba(11, 61, 30, 0)); }
.page--back::after   { background-image: linear-gradient(to top,    var(--deep) 42%, rgba(11, 61, 30, 0)); }

/* running head + folio */
.runhead,
.folio {
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  pointer-events: none;
  z-index: 3;
}

.runhead { top: .85rem; font-style: italic; text-transform: none; letter-spacing: .04em; font-size: .68rem; }
.folio   { bottom: .8rem; font-family: var(--mono); letter-spacing: .08em; }

/* ---------------------------------------------------------------- cover -- */

.page--cover { background-color: var(--field); background-image: none; }
.page--cover .page-inner { padding: 0; overflow: hidden; display: grid; place-items: center; }
.page--cover .cover-hint { z-index: 3; }

.cover-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cover-hint {
  position: absolute;
  bottom: 1.1rem;
  left: 0; right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--deep);
  background: rgba(168, 240, 60, .82);
  padding: .45rem 0;
  animation: breathe 3.4s ease-in-out infinite;
}

@keyframes breathe { 50% { opacity: .45; } }

.book[data-open="true"] .cover-hint { display: none; }

/* ------------------------------------------------------------ front mat -- */

.page--center .page-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow-line {
  margin: 0 0 1.6rem;
  font-style: italic;
  font-size: .92rem;
  color: var(--ink-soft);
}

.half-title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 900;
  font-size: clamp(2rem, 9.5cqw, 3.4rem);
  line-height: .95;
  letter-spacing: -.03em;
}

.half-sub {
  margin: 1.3rem 0 0;
  max-width: 30ch;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.rule {
  width: 54px;
  margin: 1.9rem auto;
  border: 0;
  border-top: 2px solid var(--ink);
  opacity: .35;
}

.rule--light { border-color: var(--field); opacity: .5; }

.imprint {
  margin: 0;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

.ch-mini {
  margin: .4rem 0 1.4rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-weight: 600;
  font-size: clamp(1.3rem, 5cqw, 1.8rem);
  letter-spacing: -.015em;
}

.page--plain p {
  margin: 0 0 1rem;
  font-size: clamp(.9rem, 3.4cqw, 1rem);
  line-height: 1.72;
  max-width: 62ch;
}

.sig { font-style: italic; color: var(--ink-soft); }

/* ------------------------------------------------------------- contents -- */

.toc { list-style: none; margin: 0; padding: 0; counter-reset: none; }

.toc li + li { margin-top: .1rem; }

.toc-link {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  width: 100%;
  padding: .42rem .2rem;
  background: none;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-size: clamp(.85rem, 3.2cqw, .96rem);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.toc-link:hover,
.toc-link:focus-visible { background: rgba(16, 37, 26, .07); }

.toc-num {
  flex: 0 0 2.6rem;
  font-family: var(--mono);
  font-size: .72em;
  color: var(--ink-soft);
  letter-spacing: .06em;
}

.toc-title { flex: 0 1 auto; }

.toc-dot {
  flex: 1 1 auto;
  height: 0;
  border-bottom: 1px dotted var(--ink-faint);
  transform: translateY(-.22em);
}

/* -------------------------------------------------------------- chapter -- */

.page--chapter .page-inner {
  display: flex;
  flex-direction: column;
}

.ch-head { margin: .3rem 0 0; }

.ch-num {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}

.ch-title {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 900;
  font-size: clamp(1.45rem, 7.4cqw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.ch-figure {
  margin: clamp(.7rem, 3cqw, 1.4rem) 0;
  text-align: center;
  color: var(--deep);
}

.plate {
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: min(28vh, 190px);
  display: inline-block;
}

.epigraph {
  margin: 0 0 1rem;
  padding-left: .95rem;
  border-left: 2px solid var(--hood);
  font-style: italic;
  font-size: clamp(.9rem, 3.6cqw, 1.06rem);
  line-height: 1.5;
  color: var(--deep);
  max-width: 44ch;
  text-wrap: pretty;
}

.ch-body {
  margin: 0 0 1.2rem;
  font-size: clamp(.88rem, 3.3cqw, 1rem);
  line-height: 1.75;
  max-width: 66ch;
  text-wrap: pretty;
}

.ch-body::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 900;
  font-size: 3.1em;
  line-height: .78;
  padding: .06em .1em 0 0;
  color: var(--deep);
}

.lesson {
  margin: auto 0 0;
  padding: .8rem .95rem;
  background: rgba(0, 200, 5, .1);
  border-left: 3px solid var(--hood);
  font-size: clamp(.85rem, 3.2cqw, .96rem);
  line-height: 1.5;
}

.lesson span {
  display: block;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .32rem;
}

.page--sparse .ch-body { font-style: italic; text-align: center; max-width: 34ch; margin-inline: auto; }
.page--sparse .ch-body::first-letter { float: none; font-size: 1em; line-height: inherit; padding: 0; color: inherit; }
.page--sparse .ch-figure { margin-block: clamp(1.4rem, 8cqw, 3rem); }

/* --------------------------------------------------------------- ledger -- */

.ledger-note {
  margin: 0 0 1.2rem;
  font-size: clamp(.86rem, 3.2cqw, .96rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
}

.ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .7rem;
  padding: .85rem 1rem;
  background: var(--deep);
  border-radius: 6px;
  color: var(--paper);
}

.ca-label {
  flex: 1 0 100%;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(237, 240, 226, .62);
}

.ca-value {
  -webkit-user-select: text;
  user-select: text;
  flex: 1 1 12ch;
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(.7rem, 2.9cqw, .85rem);
  overflow-wrap: anywhere;
  color: var(--field);
}

.ca-copy {
  flex: 0 0 auto;
  padding: .4rem .8rem;
  background: var(--hood);
  color: #04250C;
  border: 0;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.ca-copy:hover { background: var(--field); }

.ca-status {
  margin: .55rem 0 0;
  min-height: 1.1em;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.7rem, 4cqw, 1.6rem);
  margin: 1.5rem 0 0;
  padding: 0;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  color: var(--ink);
}

.chip {
  display: grid;
  place-items: center;
  width: clamp(46px, 15cqw, 62px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--deep);
  transition: transform 180ms ease, background-color 180ms ease;
}

.chip svg { width: 44%; height: 44%; color: var(--deep); }
.chip img { width: 60%; height: 60%; object-fit: contain; }

.social[data-social="pons"] .chip { background: var(--deep); }

.social:hover .chip,
.social:focus-visible .chip { transform: translateY(-3px); background: var(--field); }

.social[data-social="pons"]:hover .chip,
.social[data-social="pons"]:focus-visible .chip { background: #0F5228; }

.social-name {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ledger-foot {
  margin: 1.5rem 0 0;
  font-size: clamp(.8rem, 3cqw, .9rem);
  line-height: 1.6;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ----------------------------------------------------------- back cover -- */

.page--back {
  background-color: var(--deep);
  background-image: url("../public/images/feather-mark-light.png");
  color: var(--paper);
}
.page--back .page-inner { display: grid; place-items: center; }

.back-inner { text-align: center; max-width: 34ch; }

.back-quote {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-weight: 900;
  font-size: clamp(1.5rem, 9cqw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--field);
}

.back-body {
  margin: 0;
  font-size: clamp(.86rem, 3.2cqw, .97rem);
  line-height: 1.7;
  color: rgba(237, 240, 226, .82);
}

.back-mark { width: clamp(56px, 18cqw, 88px); height: auto; margin: 1.6rem 0 .9rem; }

.back-imprint {
  margin: 0;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 240, 226, .6);
}

/* ------------------------------------------------------------- controls -- */

.controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--deep);
  background: transparent;
  color: var(--deep);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav svg { width: 20px; height: 20px; }
.nav:hover:not(:disabled) { background: var(--deep); color: var(--field); }
.nav:disabled { opacity: .3; cursor: default; }

.progress {
  margin: 0;
  min-width: 11ch;
  text-align: center;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(11, 61, 30, .8);
}

/* ------------------------------------------------------- persistent dock -- */

.dock {
  flex: 0 0 auto;
  padding: .5rem .8rem calc(.5rem + env(safe-area-inset-bottom));
  background: var(--deep);
  color: var(--paper);
}

.dock-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.dock-ca {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  flex: 1 1 15rem;
  max-width: 34rem;
  padding: .3rem .35rem .3rem .6rem;
  background: rgba(0, 0, 0, .28);
  border-radius: 999px;
}

.dock-label {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  color: rgba(237, 240, 226, .6);
}

.dock-ca-value {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--field);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-copy {
  flex: 0 0 auto;
  padding: .32rem .75rem;
  background: var(--hood);
  color: #04250C;
  border: 0;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.dock-copy:hover { background: var(--field); }
.dock-copy[data-done="true"] { background: var(--field); }

.dock-socials {
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.dock-social {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(237, 240, 226, .1);
  border: 1px solid rgba(237, 240, 226, .28);
  color: var(--paper);
  transition: background-color 160ms ease, transform 160ms ease;
}

.dock-social svg { width: 15px; height: 15px; }
.dock-social img { width: 19px; height: 19px; object-fit: contain; }
.dock-social[data-social="dexscreener"] img { filter: brightness(0) invert(1); }

.dock-social:hover,
.dock-social:focus-visible { background: var(--field); transform: translateY(-2px); }
.dock-social:hover svg { color: var(--deep); }

.dock-note {
  margin: .45rem 0 0;
  text-align: center;
  font-size: .62rem;
  letter-spacing: .01em;
  color: rgba(237, 240, 226, .55);
}

/* the same disclaimer sits on the "Before you begin" page, so on short
   screens the dock drops it and keeps the CA and socials on one line */
@media (max-width: 560px), (max-height: 620px) {
  .dock-note { display: none; }
  .dock-ca { flex: 1 1 8rem; padding-left: .5rem; }
  .dock-label { font-size: .55rem; letter-spacing: .1em; }
  .dock-ca-value { font-size: .66rem; }
  .dock-social { width: 30px; height: 30px; }
  .dock-social svg { width: 13px; height: 13px; }
  .dock-social img { width: 17px; height: 17px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .dock-note { display: none; }
  .dock { padding-block: .35rem; }
}

/* ---------------------------------------------------------------- focus -- */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.page--back a:focus-visible,
.page--back button:focus-visible { outline-color: var(--field); }

/* ================================================== two-page spread (PC) == */

@media (min-width: 900px) and (min-aspect-ratio: 1/1),
       (orientation: landscape) and (max-height: 560px) and (min-width: 640px) {
  :root { --ar: 1.5; --chrome: 190px; }

  .book-spine {
    display: block;
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 34px;
    margin-left: -17px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(16, 37, 26, 0) 0%,
      rgba(16, 37, 26, .10) 34%,
      rgba(16, 37, 26, .22) 50%,
      rgba(16, 37, 26, .10) 66%,
      rgba(16, 37, 26, 0) 100%);
  }

  .leaves { border-radius: 4px; }

  /* a closed book is portrait; only an opened one is a spread */
  .book[data-single="true"] { --ar: .68; }
  .book[data-single="true"] .book-spine { display: none; }

  .page { width: 50%; }
  .page.is-left  { left: 0;  right: auto; }
  .page.is-right { left: 50%; right: 0; }
  .page.is-right::before,
  .page.is-right::after { background-image: linear-gradient(90deg, rgba(220, 226, 203, .55), rgba(220, 226, 203, 0) 10%), var(--fade); }

  .book[data-single="true"] .page.is-visible { width: 100%; left: 0; right: 0; }

  /* page shading is handled by the shared .page rules above */

  .page-inner { padding: clamp(1.6rem, 6%, 3rem); padding-bottom: 2.6rem; }

  /* In a spread only the leaf nearest the spine turns. Its facing page is
     swapped underneath straight away, the way the other half of a real book
     stays put while you turn one leaf. */
  .leaves[data-dir="fwd"]  .page.is-leaving.is-left  { display: none; }
  .leaves[data-dir="back"] .page.is-leaving.is-right { display: none; }

  .plate { max-width: 210px; max-height: min(30vh, 210px); }
}

/* ============================================== small / landscape phones == */

@media (max-height: 560px) and (orientation: landscape) {
  :root { --chrome: 126px; --ar: 2.6; }
  .book[data-single="true"] { --ar: 1.25; }
  .ticker { display: none; }
  .masthead { padding: .35rem 1rem .1rem; }
  .brand-sub { display: none; }
  }

/* short portrait phones: a squarer page uses the width better */
@media (orientation: portrait) and (max-height: 720px) {
  :root { --ar: .70; }
}

@media (max-width: 380px) {
  :root { --chrome: 164px; }
  .brand-sub { display: none; }
}

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .cover-hint { animation: none; }
  .leaves.is-turning .page,
  .leaves.is-turning-back .page { animation: none; }
  * { transition-duration: .01ms !important; }
}
