:root {
  --navy: #12314c;
  --navy-2: #1d405c;
  --blue: #147bb8;
  --blue-strong: #0568ad;
  --blue-soft: #e7f2fb;
  --canvas: #f4f6f7;
  --paper: #ffffff;
  --text: #182b3a;
  --muted: #687986;
  --line: #dbe3e8;
  --line-soft: #e9eef1;
  --shadow: 0 4px 18px rgba(23, 48, 67, 0.12), 0 1px 3px rgba(23, 48, 67, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(20, 123, 184, 0.28);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 19px;
  height: 19px;
  border: 3px solid var(--navy);
  border-right-color: var(--blue);
  border-radius: 3px;
  transform: rotate(45deg);
}

.site-nav { display: flex; align-items: center; gap: 30px; color: #486071; font-size: 14px; }
.site-nav a:hover { color: var(--blue-strong); }
.site-nav .nav-primary { color: var(--blue-strong); font-weight: 700; }

.book-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: center;
  max-width: 1130px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 72px 28px 92px;
}

.cover-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 410px);
}

.cover-wrap::before {
  position: absolute;
  z-index: -1;
  inset: 5% -9% -5% 9%;
  border: 1px solid #d5e3eb;
  background-image:
    linear-gradient(rgba(19, 76, 113, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 76, 113, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
}

.book-cover {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e1e6e9;
  background: white;
  box-shadow: 0 24px 55px rgba(18, 49, 76, 0.16), 0 2px 6px rgba(18, 49, 76, 0.1);
}

.book-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 24px 0 5px;
  color: var(--blue);
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.english-title { margin: 0 0 34px; color: #75828b; font-size: 16px; letter-spacing: 0.04em; }

.book-copy blockquote {
  margin: 0 0 24px;
  padding: 4px 0 4px 21px;
  border-left: 3px solid var(--blue);
  color: #334a5b;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
}

.summary { max-width: 700px; margin: 0; color: #526573; font-size: 16px; line-height: 1.85; }
.intro-actions { display: flex; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-width: 126px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--blue-strong);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(5, 104, 173, 0.16); }
.button.primary { color: white; background: var(--blue-strong); }
.button.secondary { color: var(--blue-strong); background: white; }
.book-meta { margin: 24px 0 0; color: #81909a; font-size: 13px; }

.contents-section {
  padding: 94px max(28px, calc((100vw - 1020px) / 2)) 110px;
  border-top: 1px solid var(--line);
  background-color: #f8fafb;
  background-image:
    linear-gradient(rgba(18, 49, 76, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 49, 76, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
  padding-bottom: 21px;
  border-bottom: 2px solid var(--navy);
}

.section-heading h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 52px; line-height: 1; }
.section-heading p { margin: 12px 0 0; color: var(--muted); }
.text-link { color: var(--blue-strong); font-size: 14px; font-weight: 700; }

.contents-list { max-width: 920px; margin: 0 auto; }
.contents-prelim { margin: 0 0 46px 94px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.contents-prelim a,
.chapter-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  color: #294457;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}
.contents-prelim a:hover span,
.chapter-links a:hover span { color: var(--blue-strong); text-decoration: underline; text-underline-offset: 4px; }
.contents-prelim small,
.chapter-links small { flex: 0 0 auto; color: #8a98a1; font-family: var(--sans); font-size: 12px; }

.part-block { display: grid; grid-template-columns: 74px 1fr; gap: 20px; margin-bottom: 54px; }
.part-heading { display: contents; }
.part-heading > span { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 700; }
.part-heading > a,
.part-heading > strong { grid-column: 2; margin-bottom: 13px; color: var(--navy); font-family: var(--serif); font-size: 24px; font-weight: 800; line-height: 1.35; }
.part-heading > a:hover { color: var(--blue-strong); }
.chapter-links { grid-column: 2; }
.appendix-block { padding-top: 28px; border-top: 1px solid var(--line); }

.site-footer {
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 28px;
  color: #788791;
  font-size: 13px;
}
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--blue-strong); }

/* Reader */
.reader-page {
  --desk: #cfc6b6;
  --desk-deep: #b7ae9e;
  --desk-glow: rgba(255, 248, 236, 0.28);
  --ink: #1c2a33;
  --chrome: rgba(255, 251, 245, 0.86);
  --chrome-strong: rgba(255, 252, 247, 0.96);
  --chrome-border: rgba(62, 46, 28, 0.1);
  --chrome-text: #2a3d4c;
  --muted-chrome: #6d7f8b;
  --leaf-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 0 0 1px rgba(48, 32, 16, 0.06), 0 22px 54px rgba(42, 28, 12, 0.2), 0 4px 14px rgba(42, 28, 12, 0.08);
  --turn-shadow: rgba(28, 18, 8, 0.22);
  --hint: rgba(20, 16, 12, 0.62);
  height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background: var(--desk-deep);
  color-scheme: light;
  touch-action: manipulation;
}

.reader-page[data-theme="parchment"] {
  --desk: #cbb48a;
  --desk-deep: #b89b6c;
  --desk-glow: rgba(255, 232, 186, 0.42);
  --chrome: rgba(255, 244, 220, 0.88);
  --chrome-strong: rgba(255, 247, 228, 0.96);
  --chrome-border: rgba(92, 62, 18, 0.14);
  --leaf-shadow: 0 1px 0 rgba(255, 248, 230, 0.5) inset, 0 0 0 1px rgba(92, 58, 16, 0.08), 0 22px 54px rgba(72, 42, 8, 0.22), 0 4px 14px rgba(72, 42, 8, 0.1);
}

.reader-page[data-theme="sage"] {
  --desk: #c5d1bf;
  --desk-deep: #a8b6a2;
  --desk-glow: rgba(226, 240, 220, 0.5);
  --chrome: rgba(244, 248, 240, 0.88);
  --chrome-strong: rgba(247, 251, 244, 0.96);
  --chrome-border: rgba(48, 72, 42, 0.12);
  --leaf-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 0 0 1px rgba(36, 56, 32, 0.06), 0 22px 54px rgba(28, 48, 24, 0.16);
}

.reader-page[data-theme="night"] {
  --desk: #1a2028;
  --desk-deep: #0d1116;
  --desk-glow: rgba(86, 112, 148, 0.16);
  --ink: #e8eef3;
  --chrome: rgba(16, 20, 26, 0.82);
  --chrome-strong: rgba(20, 25, 32, 0.94);
  --chrome-border: rgba(210, 224, 236, 0.1);
  --chrome-text: #d7e2ea;
  --muted-chrome: #8b9bab;
  --leaf-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 28px 70px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.28);
  --turn-shadow: rgba(0, 0, 0, 0.45);
  --hint: rgba(8, 10, 14, 0.72);
  color-scheme: dark;
}

.reader-page[data-theme="ink"] {
  --desk: #b7b7b2;
  --desk-deep: #9a9a95;
  --desk-glow: rgba(236, 236, 230, 0.42);
  --chrome: rgba(236, 236, 232, 0.9);
  --chrome-strong: rgba(244, 244, 240, 0.96);
  --chrome-border: rgba(40, 40, 36, 0.12);
  --chrome-text: #222;
  --muted-chrome: #666;
}

.desk {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 58% at 50% 40%, var(--desk-glow), transparent 62%),
    radial-gradient(ellipse 90% 80% at 50% 48%, var(--desk), var(--desk-deep) 74%);
  pointer-events: none;
}

.reader-page[data-theme="night"] .desk {
  background:
    radial-gradient(ellipse 50% 36% at 50% 0%, rgba(190, 150, 90, 0.12), transparent 58%),
    radial-gradient(ellipse 78% 58% at 50% 40%, var(--desk-glow), transparent 62%),
    radial-gradient(ellipse 90% 80% at 50% 48%, var(--desk), var(--desk-deep) 74%);
}

.quiet-progress {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: transparent;
  transition: opacity 280ms ease;
}
.reader-page.chrome-hidden .quiet-progress { opacity: 0.7; }
.quiet-progress span {
  display: block;
  width: 1%;
  height: 100%;
  background: #1787cc;
}

.reader-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  height: 58px;
  border-bottom: 1px solid var(--chrome-border);
  background: var(--chrome);
  box-shadow: 0 10px 30px rgba(24, 16, 8, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
  color: var(--chrome-text);
  transition: transform 420ms cubic-bezier(0.22, 0.8, 0.2, 1), opacity 320ms ease;
}

.header-actions {
  display: flex;
  align-self: stretch;
  align-items: center;
  padding-right: 6px;
}
.header-actions .icon-button { color: var(--chrome-text); }
.header-radio {
  height: 34px;
  margin-right: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0568ad;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}
.header-radio:hover { background: #045a96; }
.header-actions .icon-button[aria-pressed="true"],
.header-actions .icon-button[aria-expanded="true"] { color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); }
#bookmark-button svg { fill: none; }
#bookmark-button[aria-pressed="true"] svg { fill: currentColor; }

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.icon-button:hover { background: color-mix(in srgb, var(--chrome-text) 7%, transparent); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.menu-button { margin: 0 8px 0 14px; }

.reader-brand {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reader-brand span { font-weight: 560; opacity: 0.72; }

.chapter-nav { display: flex; align-self: stretch; align-items: center; }
.chapter-nav button,
.chapter-nav a {
  display: inline-flex;
  height: 100%;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-left: 1px solid var(--chrome-border);
  color: inherit;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.chapter-nav button:hover,
.chapter-nav a:hover,
.download-link:hover { background: color-mix(in srgb, var(--chrome-text) 6%, transparent); }
.chapter-nav button:disabled { opacity: 0.38; cursor: default; background: transparent; }

.download-link {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-left: 1px solid var(--chrome-border);
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 760;
}
.reader-page[data-theme="night"] .download-link { color: #7ec4ee; }
.download-link svg,
.tool-row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.chapter-sidebar,
.settings-drawer {
  position: fixed;
  z-index: 46;
  top: 58px;
  bottom: 0;
  display: grid;
  overflow: hidden;
  background: var(--chrome-strong);
  backdrop-filter: blur(20px) saturate(1.15);
  color: var(--chrome-text);
  transition: transform 420ms cubic-bezier(0.22, 0.8, 0.2, 1), opacity 280ms ease;
}

.chapter-sidebar {
  left: 0;
  width: min(332px, 86vw);
  grid-template-rows: auto 1fr auto auto;
  border-right: 1px solid var(--chrome-border);
  transform: translateX(-104%);
}
.reader-page.sidebar-open .chapter-sidebar {
  transform: translateX(0);
  box-shadow: 16px 0 40px rgba(20, 14, 8, 0.08);
}

.sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 16px 14px 14px 22px; border-bottom: 1px solid var(--chrome-border); }
.sidebar-heading h1 { margin: 0; font-size: 18px; }
.sidebar-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 12px 0; gap: 6px; }
.sidebar-tab {
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--muted-chrome);
  background: transparent;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}
.sidebar-tab.active { color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); }
.bookmark-empty { margin: 28px 18px; color: var(--muted-chrome); font-size: 13px; line-height: 1.7; }
.bookmark-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0;
}
.bookmark-item a { flex: 1; }
.bookmark-item .icon-button { width: 32px; height: 32px; flex: 0 0 auto; color: var(--muted-chrome); }
.close-sidebar { width: 36px; height: 36px; }
.close-sidebar svg { width: 18px; height: 18px; }
.sidebar-scroll { overflow-y: auto; padding: 14px 12px 20px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--chrome-text) 28%, transparent) transparent; }

.outline-prelim { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--chrome-border); }
.outline-part { margin-top: 6px; }
.outline-part-title {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.4;
  cursor: pointer;
}
.outline-part-title:hover { background: color-mix(in srgb, var(--chrome-text) 6%, transparent); }
.outline-part-title::after { content: "⌃"; flex: 0 0 auto; color: var(--muted-chrome); font-size: 13px; }
.outline-part.collapsed .outline-part-title::after { content: "⌄"; }
.outline-part.collapsed .outline-chapters { display: none; }

.outline-link {
  display: block;
  padding: 8px 12px;
  border-left: 3px solid transparent;
  border-radius: 6px;
  color: color-mix(in srgb, var(--chrome-text) 82%, var(--muted-chrome));
  font-size: 13px;
  line-height: 1.5;
}
.outline-link:hover { color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 8%, transparent); }
.outline-link.active { border-left-color: #3f9ad0; color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); font-weight: 720; }

.sidebar-prefs { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--chrome-border); }
.pref-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.theme-swatches { display: flex; flex-wrap: wrap; }
.theme-swatches button { flex: 1 1 30%; }
.pref-row button {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--chrome-border);
  border-radius: 8px;
  color: var(--muted-chrome);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pref-row button:hover { color: var(--chrome-text); }
.pref-row button.active { color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); border-color: transparent; }

.keyboard-help { padding: 12px 22px 16px; color: var(--muted-chrome); font-size: 11px; line-height: 1.75; }
.keyboard-help strong { display: block; color: var(--chrome-text); font-size: 12px; }
.keyboard-help span { display: block; }

.pdf-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  outline: none;
  overscroll-behavior: none;
}
.reader-page[data-view="scroll"] .pdf-stage {
  overflow: auto;
  scrollbar-color: color-mix(in srgb, var(--chrome-text) 28%, transparent) transparent;
}

.book-room {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  perspective: 1320px;
  perspective-origin: 50% 42%;
}
.reader-page[data-view="scroll"] .book-room { display: none; }

.book-stage {
  position: relative;
  display: flex;
  align-items: stretch;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
}
.spread-pane {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
}
.book-stage:not(.is-spread) .pane-left,
.book-stage:not(.is-spread) .spread-spine { display: none; }
.book-stage:not(.is-spread) .pane-right { flex: 1 1 100%; }
.spread-spine {
  position: relative;
  z-index: 4;
  flex: 0 0 14px;
  margin: 0 -1px;
  background:
    linear-gradient(90deg, rgba(20, 12, 6, 0.28), rgba(20, 12, 6, 0.05) 36%, rgba(255, 255, 255, 0.18) 50%, rgba(20, 12, 6, 0.05) 64%, rgba(20, 12, 6, 0.28));
  box-shadow: inset 0 0 12px rgba(20, 12, 6, 0.18);
  pointer-events: none;
}
.spread-pane.is-empty {
  background:
    linear-gradient(180deg, #d8c9b0, #cbb89a 55%, #b89d78);
  box-shadow: var(--leaf-shadow);
}
.reader-page[data-theme="night"] .spread-pane.is-empty {
  background: linear-gradient(180deg, #2a3038, #1b2026);
}
.reader-page[data-theme="sage"] .spread-pane.is-empty {
  background: linear-gradient(180deg, #c5d1bf, #a8b6a2);
}
.reader-page[data-theme="ink"] .spread-pane.is-empty {
  background: linear-gradient(180deg, #c8c8c3, #a9a9a4);
}
.book-stage.is-spread .pane-left .leaf { border-radius: 6px 1px 1px 6px; }
.book-stage.is-spread .pane-right .leaf { border-radius: 1px 6px 6px 1px; }
.book-stage.is-spread .pane-left .leaf::before {
  inset: 0 0 0 auto;
  background: linear-gradient(270deg, rgba(40, 28, 14, 0.1), transparent);
}
.setting-note {
  margin: 8px 2px 0;
  color: var(--muted-chrome);
  font-size: 11px;
  line-height: 1.6;
}
.reader-page.is-ready .book-stage {
  opacity: 1;
  transform: none;
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 0.8, 0.2, 1);
}
.book-stage::after {
  position: absolute;
  right: 10%;
  bottom: -22px;
  left: 10%;
  height: 28px;
  border-radius: 100%;
  background: radial-gradient(ellipse at center, rgba(28, 18, 8, 0.22), transparent 72%);
  content: "";
  pointer-events: none;
}
.reader-page[data-theme="night"] .book-stage::after {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 72%);
}

.leaf,
.pdf-page {
  position: relative;
  overflow: hidden;
  background: #fffaf3;
  box-shadow: var(--leaf-shadow);
}
.leaf {
  position: absolute;
  inset: 0;
  border-radius: 2px 6px 6px 2px;
  transform-origin: center center;
  backface-visibility: hidden;
}
.leaf::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 22px;
  background: linear-gradient(90deg, rgba(40, 28, 14, 0.07), transparent);
  content: "";
  pointer-events: none;
}
.pages .pdf-page {
  margin: 0 auto;
  border-radius: 2px;
}
.pdf-page canvas,
.leaf canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pdf-page .textLayer,
.leaf .textLayer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
  line-height: 1;
  text-size-adjust: none;
  transform-origin: 0 0;
}
.pdf-page .textLayer ::selection,
.leaf .textLayer ::selection { color: transparent; background: rgba(20, 123, 184, 0.28); }
.pdf-page.loading::after,
.leaf.loading::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, transparent 35%, rgba(238, 243, 246, 0.76) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: page-loading 1.25s infinite linear;
}
@keyframes page-loading { to { background-position: -220% 0; } }

.leaf,
.pages .pdf-page { filter: var(--page-filter, none); }

.leaf.front { z-index: 2; }
.leaf.back { z-index: 1; }
.leaf.under { z-index: 1; }
.leaf.enter-from-right,
.leaf.enter-from-left { z-index: 4; }
.leaf.enter-from-right {
  animation: cover-in-right 520ms cubic-bezier(0.22, 0.82, 0.16, 1) both;
}
.leaf.enter-from-left {
  animation: cover-in-left 520ms cubic-bezier(0.22, 0.82, 0.16, 1) both;
}
.leaf.enter-fade {
  z-index: 4;
  animation: fade-in-page 380ms ease both;
}
.leaf.enter-from-right::after,
.leaf.enter-from-left::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
}
.leaf.enter-from-right::after {
  background: linear-gradient(90deg, var(--turn-shadow), transparent 18%);
  animation: fold-fade 520ms ease both;
}
.leaf.enter-from-left::after {
  background: linear-gradient(270deg, var(--turn-shadow), transparent 18%);
  animation: fold-fade 520ms ease both;
}

@keyframes cover-in-right {
  0% { transform: translate3d(76%, 0, 0) rotateY(-10deg); }
  100% { transform: translate3d(0, 0, 0) rotateY(0); }
}
@keyframes cover-in-left {
  0% { transform: translate3d(-76%, 0, 0) rotateY(10deg); }
  100% { transform: translate3d(0, 0, 0) rotateY(0); }
}
@keyframes fold-fade {
  0% { opacity: 0.85; }
  100% { opacity: 0; }
}
@keyframes fade-in-page {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes page-nudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(var(--nudge, -12px)); }
  70% { transform: translateX(calc(var(--nudge, -12px) * -0.35)); }
}
.book-stage.nudge-next { --nudge: -14px; animation: page-nudge 420ms ease; }
.book-stage.nudge-prev { --nudge: 14px; animation: page-nudge 420ms ease; }

.page-curl {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 46px;
  height: 46px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.2) 50%, rgba(40, 28, 14, 0.08) 51%, #f4efe6 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0;
  transform: translate(6px, 6px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.book-stage:hover .page-curl,
.book-stage.preview-next .page-curl {
  opacity: 0.95;
  transform: none;
}

.book-stage.preview-next .leaf.front,
.book-stage.preview-prev .leaf.front {
  transition: transform 280ms cubic-bezier(0.22, 0.8, 0.2, 1);
}
.book-stage.preview-next .leaf.front {
  transform-origin: left center;
  transform: rotateY(-8deg);
  box-shadow: 8px 18px 40px rgba(28, 16, 8, 0.22);
}
.book-stage:not(.is-spread).preview-prev .leaf.front,
.book-stage.is-spread.preview-prev .pane-left .leaf.left {
  transform-origin: right center;
  transform: rotateY(8deg);
  box-shadow: -8px 18px 40px rgba(28, 16, 8, 0.22);
}

.flip-sheet {
  position: absolute;
  inset: 0;
  z-index: 7;
  transform-style: preserve-3d;
  pointer-events: none;
}
.flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  will-change: transform;
}
.flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px 6px 6px 2px;
  background: #fffaf3;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: var(--page-filter, none);
  box-shadow: var(--leaf-shadow);
}
.flip-front canvas,
.flip-front .textLayer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.flip-front::after,
.flip-back::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}
.flip-front::after {
  background: linear-gradient(90deg, rgba(20, 12, 6, 0.22), transparent 24%);
  opacity: calc(var(--flip-progress, 0) * 0.9);
}
.book-stage.is-flipping:not(.is-dragging) .flip-front::after {
  animation: front-shade 840ms ease;
}
.flip-back {
  background:
    linear-gradient(90deg, rgba(48, 32, 16, 0.16), rgba(48, 32, 16, 0.04) 22%, transparent 48%),
    repeating-linear-gradient(90deg, #f4ead8 0 1px, #f8f1e4 1px 4px);
  transform: rotateY(180deg);
}
.book-stage.flip-prev .flip-back { transform: rotateY(-180deg); }
.flip-back::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(180deg, rgba(40, 24, 10, 0.05), transparent 30%, rgba(40, 24, 10, 0.08));
}
.reader-page[data-theme="night"] .flip-back,
.reader-page[data-theme="ink"] .flip-back {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 32%),
    #2a3038;
}
.reader-page[data-theme="ink"] .flip-back { background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 30%), #d5d5d0; }

.leaf.under::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(90deg, rgba(18, 10, 4, 0.34), transparent 62%);
  content: "";
  opacity: calc(0.12 + var(--flip-progress, 0) * 0.38);
  pointer-events: none;
}
.book-stage.flip-prev .leaf.under::after {
  background: linear-gradient(270deg, rgba(18, 10, 4, 0.34), transparent 62%);
}
.curl-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: var(--page-filter, none);
}
.flip-sheet {
  pointer-events: none;
}
.book-stage.is-flipping .page-curl { opacity: 0; }
.book-stage.is-curling:not(.is-spread) .leaf.front,
.book-stage.is-flipping:not(.is-spread) .leaf.front { visibility: hidden; }
.book-stage.is-spread.is-curling.flip-next .pane-right .leaf.front,
.book-stage.is-spread.is-flipping.flip-next .pane-right .leaf.front { visibility: hidden; }
.book-stage.is-spread.is-curling.flip-prev .pane-left .leaf.left,
.book-stage.is-spread.is-flipping.flip-prev .pane-left .leaf.left { visibility: hidden; }
.book-stage.is-flipping:not(.is-dragging) .leaf.under::after {
  animation: under-sweep 840ms ease;
}
@keyframes front-shade {
  0% { opacity: 0.05; }
  45% { opacity: 0.85; }
  100% { opacity: 0.15; }
}
@keyframes under-sweep {
  0% { opacity: 0.08; }
  48% { opacity: 0.5; }
  100% { opacity: 0.05; }
}

.turn-styles { display: flex; flex-wrap: wrap; }
.turn-styles button { flex: 1 1 22%; }

.edge-turn {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 6;
  width: min(17vw, 150px);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.edge-turn.prev { left: 0; cursor: w-resize; }
.edge-turn.next { right: 0; cursor: e-resize; }
.edge-turn.prev:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--chrome-text) 6%, transparent), transparent); }
.edge-turn.next:hover { background: linear-gradient(270deg, color-mix(in srgb, var(--chrome-text) 6%, transparent), transparent); }

.pages {
  display: none;
  width: 100%;
  min-width: 100%;
  padding: 48px 32px 110px;
}
.reader-page[data-view="scroll"] .pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.reader-page[data-view="scroll"] .pages .pdf-page {
  scroll-snap-align: start;
  scroll-margin-top: 28px;
}
.reader-page[data-view="scroll"] .pdf-stage { scroll-snap-type: y proximity; }

.loading-panel {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translate(-50%, -50%);
  color: var(--chrome-text);
  text-align: center;
}
.loading-panel small { margin-top: 6px; color: var(--muted-chrome); }
.spinner {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border: 3px solid color-mix(in srgb, var(--chrome-text) 16%, transparent);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.settings-drawer {
  right: 0;
  width: min(360px, 92vw);
  grid-template-rows: auto 1fr;
  border-left: 1px solid var(--chrome-border);
  transform: translateX(106%);
  box-shadow: -16px 0 40px rgba(20, 14, 8, 0.08);
}
.reader-page.settings-open .settings-drawer {
  transform: translateX(0);
}
.settings-scroll { overflow-y: auto; padding: 8px 18px 32px; scrollbar-width: thin; }
.page-status small { color: var(--muted-chrome); font-size: 12px; }
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-chip {
  min-height: 40px;
  border: 1px solid var(--chrome-border);
  border-radius: 8px;
  color: var(--muted-chrome);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.theme-chip.active { color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); border-color: transparent; }
.slider-row {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  gap: 8px;
  align-items: center;
  margin: 8px 0 16px;
  color: var(--muted-chrome);
  font-size: 11px;
}
.slider-row input { width: 100%; accent-color: #1787cc; }
.page-status { display: grid; gap: 10px; justify-items: center; margin-bottom: 18px; color: var(--muted-chrome); font-size: 13px; }
.page-status strong { color: var(--chrome-text); font-size: 14px; }
.progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: color-mix(in srgb, var(--chrome-text) 12%, transparent);
  cursor: pointer;
}
.progress-track span { display: block; width: 1%; height: 100%; border-radius: inherit; background: #1787cc; pointer-events: none; transition: width 180ms ease; }

.tool-section { margin-top: 20px; }
.tool-section h2 { margin: 0 0 8px 4px; color: var(--muted-chrome); font-size: 12px; }
.tool-row {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  margin: 5px 0;
  padding: 0 12px;
  border: 1px solid var(--chrome-border);
  border-radius: 8px;
  color: var(--muted-chrome);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.tool-row:hover { color: var(--chrome-text); }
.tool-row.active { border-color: transparent; color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); }

.zoom-controls {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  border: 1px solid var(--chrome-border);
  border-radius: 8px;
}
.zoom-controls button { height: 38px; padding: 0; border: 0; background: transparent; color: var(--chrome-text); font-size: 21px; cursor: pointer; }
.zoom-controls button:hover { background: color-mix(in srgb, var(--chrome-text) 6%, transparent); }
.zoom-controls output { text-align: center; color: var(--chrome-text); font-size: 13px; font-weight: 700; }

.reader-dock {
  position: fixed;
  z-index: 44;
  right: 0;
  bottom: 18px;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 280px) auto;
  gap: 18px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.22, 0.8, 0.2, 1), opacity 280ms ease;
}
.reader-dock > * { pointer-events: auto; }
.reader-dock button {
  min-width: 84px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--chrome-border);
  border-radius: 999px;
  color: var(--chrome-text);
  background: var(--chrome);
  box-shadow: 0 10px 28px rgba(20, 14, 8, 0.1);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}
.reader-dock button:hover { background: var(--chrome-strong); }
.reader-dock button:disabled { opacity: 0.4; cursor: default; }
.dock-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 8px 16px;
  border: 1px solid var(--chrome-border);
  border-radius: 999px;
  background: var(--chrome);
  box-shadow: 0 10px 28px rgba(20, 14, 8, 0.1);
  backdrop-filter: blur(16px);
  text-align: center;
}
.dock-copy strong { color: var(--chrome-text); font-size: 13px; }
.dock-copy em,
.dock-copy small {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted-chrome);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.read-hint {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
  background: var(--hint);
  color: white;
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.read-hint.fade { opacity: 0; transition: opacity 360ms ease; }
.hint-col { display: grid; justify-items: center; gap: 6px; text-align: center; }
.hint-col span { font-size: 28px; opacity: 0.8; }
.hint-col strong { font-size: 18px; }
.hint-col small { color: rgba(255, 255, 255, 0.72); font-size: 13px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sidebar-backdrop {
  position: fixed;
  z-index: 42;
  inset: 0;
  background: rgba(18, 16, 12, 0.28);
}
.error-toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  padding: 14px 18px;
  border: 1px solid #edc8c8;
  border-radius: 8px;
  color: #7f2929;
  background: #fff8f8;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.reader-page.chrome-hidden .reader-header {
  transform: translateY(-108%);
  opacity: 0;
  pointer-events: none;
}
.reader-page.chrome-hidden:not(.settings-open) .settings-drawer {
  pointer-events: none;
}

.music-widget {
  position: fixed;
  z-index: 47;
  left: 18px;
  bottom: 78px;
  width: min(360px, calc(100vw - 24px));
  padding: 16px 16px 14px;
  border: 1px solid var(--chrome-border);
  border-radius: 16px;
  color: var(--chrome-text);
  background: var(--chrome-strong);
  box-shadow: 0 18px 50px rgba(20, 14, 8, 0.16);
  backdrop-filter: blur(20px);
}
.reader-page.chrome-hidden .music-widget { bottom: 18px; }
.music-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.music-head strong { font-size: 15px; }
.music-copy { margin: 0 0 12px; color: var(--muted-chrome); font-size: 12px; line-height: 1.6; }
.music-import { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.music-import input {
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--chrome-border);
  border-radius: 8px;
  color: var(--chrome-text);
  background: color-mix(in srgb, var(--chrome-text) 4%, transparent);
  font: inherit;
  font-size: 13px;
}
.music-import button,
.music-presets button,
.music-timer button {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--chrome-border);
  border-radius: 8px;
  color: var(--chrome-text);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.music-import button { color: white; background: var(--blue-strong); border-color: transparent; }
.music-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.music-presets button { height: 32px; font-size: 12px; }
.music-presets button.active,
.music-timer button.active { color: var(--blue-strong); background: color-mix(in srgb, var(--blue) 12%, transparent); border-color: transparent; }
.music-player {
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}
.music-player iframe { display: block; width: 100%; height: 90px; border: 0; }
.music-player.is-list iframe { height: 360px; }
.music-timer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.music-timer span { margin-right: 4px; color: var(--muted-chrome); font-size: 12px; }
.music-timer button { height: 30px; padding: 0 10px; font-size: 12px; }
.music-widget small { display: block; margin-top: 8px; color: var(--muted-chrome); font-size: 11px; min-height: 16px; }

.radio-dock {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 22px;
  display: grid;
  justify-items: end;
  gap: 8px;
  pointer-events: none;
}
.radio-dock > * { pointer-events: auto; }
.reader-page:not(.chrome-hidden) .radio-dock { bottom: 86px; }
.radio-shuffle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0568ad;
  box-shadow: 0 10px 28px rgba(5, 104, 173, 0.38);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}
.reader-page.chrome-hidden .radio-shuffle {
  width: 48px;
  min-height: 48px;
  padding: 0;
  justify-content: center;
  opacity: 0.42;
  box-shadow: 0 8px 20px rgba(5, 104, 173, 0.22);
}
.reader-page.chrome-hidden .radio-shuffle span { display: none; }
.reader-page.chrome-hidden .radio-dock:hover .radio-shuffle,
.reader-page.chrome-hidden .radio-shuffle:focus-visible {
  width: auto;
  padding: 0 18px 0 16px;
  opacity: 1;
}
.reader-page.chrome-hidden .radio-dock:hover .radio-shuffle span { display: inline; }
.reader-page.chrome-hidden .radio-card { opacity: 0.88; }
.radio-shuffle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.radio-shuffle:hover { background: #045a96; }

.radio-card {
  width: min(330px, calc(100vw - 36px));
  padding: 10px 10px 8px;
  border: 1px solid var(--chrome-border);
  border-radius: 14px;
  background: var(--chrome-strong);
  box-shadow: 0 16px 40px rgba(20, 14, 8, 0.16);
  backdrop-filter: blur(18px);
}
.radio-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.radio-meta strong { min-width: 0; overflow: hidden; color: var(--chrome-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.radio-meta button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-strong);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.radio-player { overflow: hidden; border-radius: 8px; background: #f5f5f5; }
.radio-player iframe { display: block; width: 100%; height: 86px; border: 0; }
.soft-toast {
  position: fixed;
  z-index: 110;
  right: 20px;
  bottom: 88px;
  max-width: 280px;
  padding: 10px 14px;
  border: 1px solid var(--chrome-border);
  border-radius: 10px;
  color: var(--chrome-text);
  background: var(--chrome-strong);
  box-shadow: 0 10px 28px rgba(20, 14, 8, 0.14);
  font-size: 13px;
}

.reader-page.focus-mode .desk { filter: brightness(0.82) saturate(0.92); }
.quiet-progress { cursor: pointer; pointer-events: auto; }
.reader-page.chrome-hidden .reader-dock {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.reader-page.chrome-hidden:not(.sidebar-open) .chapter-sidebar {
  pointer-events: none;
}

@media (max-width: 1120px) {
  .reader-brand span { display: none; }
  .chapter-nav { display: none; }
  .reader-header { grid-template-columns: auto minmax(0, 1fr) auto; }
}

@media (max-width: 760px) {
  .site-header { height: 60px; padding: 0 18px; }
  .site-brand { font-size: 15px; }
  .brand-mark { width: 16px; height: 16px; }
  .site-nav > a:not(.nav-primary) { display: none; }
  .site-nav .nav-primary { font-size: 13px; }
  .book-intro { grid-template-columns: 1fr; gap: 52px; min-height: 0; padding: 45px 24px 70px; }
  .cover-wrap { width: min(78vw, 350px); }
  .book-copy { text-align: left; }
  .book-copy h1 { font-size: clamp(40px, 13vw, 58px); }
  .book-copy blockquote { font-size: 17px; }
  .contents-section { padding: 70px 22px 80px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 43px; }
  .section-heading .text-link { display: none; }
  .contents-prelim { margin-left: 0; }
  .part-block { grid-template-columns: 1fr; gap: 7px; }
  .part-heading { display: grid; grid-template-columns: 48px 1fr; gap: 10px; }
  .part-heading > a,
  .part-heading > strong { grid-column: 2; font-size: 20px; }
  .chapter-links { grid-column: 1 / -1; padding-left: 58px; }
  .contents-prelim a,
  .chapter-links a { font-size: 15px; }
  .chapter-links small { display: none; }

  .reader-header { grid-template-columns: auto minmax(0, 1fr) auto; height: 54px; }
  .menu-button { margin: 0 4px 0 8px; }
  .reader-brand { font-size: 14px; }
  .chapter-nav { display: none; }
  .download-link { padding: 0 10px; }
  .download-link span { display: none; }
  .music-widget { left: 12px; right: 12px; width: auto; }
  .radio-dock { right: 12px; bottom: 70px; }
  .radio-shuffle { padding: 0 14px; font-size: 13px; }
  .soft-toast { right: 12px; bottom: 128px; }
  .settings-drawer { top: 0; padding-top: 54px; }
  .chapter-sidebar { top: 0; padding-top: 54px; width: min(88vw, 340px); }
  .keyboard-help { display: none; }
  .pages { padding: 22px 12px 108px; gap: 16px; }
  .edge-turn { width: min(22vw, 88px); }
  .reader-dock {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    gap: 8px;
  }
  .reader-dock button { min-width: 0; padding: 0 8px; font-size: 12px; }
  .read-hint { grid-template-columns: 1fr; align-content: center; gap: 28px; padding: 24px; }
}

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