#hcr-app {
  --hcr-ink: #0b0a09;
  --hcr-text: #ebe3d3;
  --hcr-muted: #a99c8a;
  --hcr-faint: #756b5f;
  --hcr-rule: rgba(218, 203, 174, 0.16);
  --hcr-rule-strong: rgba(218, 203, 174, 0.34);
  --hcr-accent: #b45743;
  --hcr-accent-soft: rgba(180, 87, 67, 0.55);
  --hcr-glass: rgba(25, 21, 18, 0.58);
  --hcr-serif: "Songti TC", "STSong", "Source Han Serif TC", "Noto Serif TC", "Noto Serif CJK TC", "SimSun", "NSimSun", "SimSun-ExtB", "MingLiU-ExtB", serif;
  --hcr-kai: "DFKai-SB", "BiauKai", "Kaiti TC", "STKaiti", "KaiTi", "Noto Serif TC", serif;
  position: relative;
  isolation: isolate;
  width: auto;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100svh;
  overflow: hidden;
  background: var(--hcr-ink);
  color: var(--hcr-text);
  color-scheme: dark;
  font-family: var(--hcr-serif);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

#hcr-app ::selection {
  background: rgba(180, 87, 67, 0.38);
  color: #fff8ec;
}

#hcr-app,
#hcr-app * {
  box-sizing: border-box;
}

#hcr-app h1,
#hcr-app h2,
#hcr-app p {
  margin: 0;
}

.hcr-app :where(button) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

#hcr-app :focus-visible {
  outline: 1px solid var(--hcr-accent);
  outline-offset: 5px;
}

#hcr-app .hcr-col,
#hcr-app .hcr-part-label,
#hcr-app .hcr-cover-title h1,
#hcr-app .hcr-volume,
#hcr-app .hcr-cover-author,
#hcr-app .hcr-cover-intro,
#hcr-app .hcr-cover-collection,
#hcr-app .hcr-margin span {
  direction: ltr;
}

#hcr-app .hcr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.hcr-standalone {
  margin: 0;
  background: #0b0a09;
  overflow-x: hidden;
}

.hcr-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 640px at 76% 10%, rgba(150, 95, 55, 0.13), transparent 62%),
    radial-gradient(760px 560px at 16% 90%, rgba(60, 82, 92, 0.11), transparent 64%),
    linear-gradient(158deg, #13100d 0%, #0b0a09 58%, #0e0c0a 100%);
}

.hcr-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
}

.hcr-glow-a {
  top: 2%;
  right: 4%;
  width: 42vw;
  height: 42vw;
  max-width: 720px;
  max-height: 720px;
  background: rgba(146, 91, 56, 0.16);
}

.hcr-glow-b {
  bottom: -10%;
  left: -6%;
  width: 38vw;
  height: 38vw;
  max-width: 680px;
  max-height: 680px;
  background: rgba(58, 80, 90, 0.14);
}

.hcr-grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

.hcr-cover {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.8vh, 28px);
  padding: clamp(20px, 4vw, 54px);
}

.hcr-cover-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 3.2vw, 56px);
  width: min(1120px, 100%);
  height: clamp(420px, 64svh, 640px);
  padding: clamp(24px, 3.6vw, 48px) clamp(18px, 3.2vw, 46px);
  border: 1px solid var(--hcr-rule);
  background:
    radial-gradient(700px 420px at 82% 14%, rgba(173, 119, 76, 0.08), transparent 68%),
    linear-gradient(150deg, rgba(44, 38, 32, 0.72), rgba(17, 14, 12, 0.64));
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(0.86);
  -webkit-backdrop-filter: blur(22px) saturate(0.86);
}

.hcr-cover-inner::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(218, 203, 174, 0.07);
  pointer-events: none;
}

.hcr-cover-title {
  position: relative;
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  gap: clamp(10px, 1.5vw, 20px);
  flex: 0 0 auto;
  height: 100%;
}

.hcr-cover-title h1 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--hcr-kai);
  font-size: clamp(2.6em, 6.2vw, 5.2em);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.14em;
  color: var(--hcr-text);
  text-shadow: 0 0 42px rgba(235, 227, 211, 0.14);
}

.hcr-volume {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-top: 0.35em;
  font-size: clamp(0.88em, 1.6vw, 1.3em);
  letter-spacing: 0.34em;
  color: var(--hcr-muted);
}

.hcr-cover-intro {
  position: relative;
  flex: 0 1 auto;
  height: 100%;
  max-width: 40vw;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(0.8em, 1.2vw, 1.05em);
  line-height: 1.78;
  letter-spacing: 0.05em;
  color: var(--hcr-muted);
}

.hcr-cover-intro > p {
  height: 100%;
}

.hcr-cover-intro::before,
.hcr-cover-collection::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * clamp(8px, 1.6vw, 28px));
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--hcr-rule), transparent);
  pointer-events: none;
}

.hcr-kicker {
  color: var(--hcr-accent);
  letter-spacing: 0.26em;
}

.hcr-kicker-sep {
  color: var(--hcr-rule-strong);
  letter-spacing: 0;
}

.hcr-cover-collection {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hcr-collection-name {
  font-family: var(--hcr-kai);
  font-size: clamp(1.35em, 2.5vw, 2.25em);
  letter-spacing: 0.18em;
  color: var(--hcr-text);
}

.hcr-category {
  font-size: clamp(0.58em, 0.92vw, 0.7em);
  letter-spacing: 0.28em;
  color: var(--hcr-faint);
}

.hcr-seal {
  position: absolute;
  right: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 3vw, 43px);
  height: clamp(32px, 3vw, 43px);
  transform: translateX(50%) rotate(-2.5deg);
  border: 1px solid rgba(255, 230, 215, 0.22);
  background: linear-gradient(145deg, #b8503c, #913a2d);
  color: #f3e4d6;
  font-family: var(--hcr-kai);
  font-size: clamp(0.78em, 1.1vw, 1em);
  line-height: 1.02;
  letter-spacing: 0;
  box-shadow: 0 0 22px rgba(180, 87, 67, 0.18);
  opacity: 0.94;
}

.hcr-seal span {
  display: block;
}

.hcr-cover-author {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-top: 0.3em;
  font-size: clamp(0.58em, 0.94vw, 0.7em);
  letter-spacing: 0.22em;
  white-space: nowrap;
  color: var(--hcr-faint);
}

.hcr-open {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  padding: 8px 6px;
  color: var(--hcr-text);
  font-family: var(--hcr-kai);
  font-size: clamp(0.86em, 1.2vw, 1em);
  letter-spacing: 0.42em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hcr-open-line {
  display: block;
  width: clamp(38px, 8vw, 110px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hcr-rule-strong), transparent);
  transition: background 0.3s ease;
}

.hcr-open-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hcr-open-text small {
  margin-top: 0.45em;
  font-family: var(--hcr-serif);
  font-size: 0.55em;
  letter-spacing: 0.22em;
  color: var(--hcr-faint);
}

.hcr-open:hover {
  color: #fff8ec;
  text-shadow: 0 0 26px rgba(235, 227, 211, 0.36);
}

.hcr-open:hover .hcr-open-line {
  background: linear-gradient(to right, transparent, var(--hcr-accent-soft), transparent);
}

.hcr-source {
  font-size: clamp(0.56em, 0.86vw, 0.64em);
  letter-spacing: 0.14em;
  color: var(--hcr-faint);
}

.hcr-reader {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 640px;
}

.hcr-topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: clamp(48px, 6vh, 60px);
  padding: 0 clamp(16px, 4vw, 46px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, var(--hcr-rule), transparent) 1;
  color: var(--hcr-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hcr-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  white-space: nowrap;
}

.hcr-brand-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hcr-accent);
  box-shadow: 0 0 12px rgba(180, 87, 67, 0.7);
}

.hcr-brand > span:nth-child(2) {
  color: var(--hcr-text);
}

.hcr-sep {
  color: var(--hcr-faint);
}

.hcr-cover-btn {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--hcr-rule);
  color: var(--hcr-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hcr-cover-btn:hover {
  color: var(--hcr-text);
  border-color: var(--hcr-rule-strong);
  background: rgba(235, 227, 211, 0.03);
}

.hcr-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.6vh, 20px) clamp(10px, 3vw, 44px);
}

.hcr-leaf {
  --hcr-pad-t: clamp(20px, 3vh, 34px);
  --hcr-pad-r: clamp(28px, 4vw, 54px);
  --hcr-pad-b: clamp(20px, 3vh, 34px);
  --hcr-pad-l: clamp(42px, 5vw, 68px);
  position: relative;
  width: 100%;
  max-width: 1320px;
  height: 100%;
  max-height: 900px;
  overflow: hidden;
  border: 1px solid var(--hcr-rule);
  background:
    radial-gradient(760px 520px at 76% 8%, rgba(173, 119, 76, 0.07), transparent 66%),
    linear-gradient(155deg, rgba(39, 34, 29, 0.64), rgba(14, 12, 10, 0.76));
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px) saturate(0.82);
  -webkit-backdrop-filter: blur(24px) saturate(0.82);
}

.hcr-leaf::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  border: 1px solid rgba(218, 203, 174, 0.065);
  pointer-events: none;
}

.hcr-pages {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hcr-page {
  position: absolute;
  top: var(--hcr-pad-t);
  right: var(--hcr-pad-r);
  bottom: var(--hcr-pad-b);
  left: var(--hcr-pad-l);
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  color: var(--hcr-text);
  font-family: var(--hcr-serif);
  will-change: opacity, transform, filter;
}

.hcr-page.hcr-measure {
  visibility: hidden;
  pointer-events: none;
  justify-content: flex-start;
  z-index: 0;
}

.hcr-page.is-wide {
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: var(--hcr-rule-strong) transparent;
}

.hcr-page.is-wide::-webkit-scrollbar {
  height: 3px;
}

.hcr-page.is-wide::-webkit-scrollbar-thumb {
  background: var(--hcr-rule-strong);
}

.hcr-poem {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  gap: 0.55em;
  height: 100%;
  flex: 0 0 auto;
}

.hcr-poem-meta {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  gap: 0.5em;
  height: 100%;
  flex: 0 0 auto;
}

.hcr-poem-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  direction: ltr;
  height: 100%;
  flex: 0 0 auto;
  white-space: normal;
  font-family: var(--hcr-kai);
  font-size: 0.86em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: var(--hcr-text);
}

.hcr-poem-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  direction: ltr;
  height: 100%;
  flex: 0 0 auto;
  white-space: normal;
  padding-right: 0.38em;
  border-right: 1px solid var(--hcr-rule);
  font-size: 0.5em;
  line-height: 1.72;
  letter-spacing: 0.04em;
  color: var(--hcr-faint);
}

.hcr-poem-body {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: flex-start;
  gap: 0.12em;
  height: 100%;
  flex: 0 0 auto;
}

.hcr-col {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  flex: 0 0 auto;
  font-size: 1em;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.hcr-part-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-right: 0.42em;
  margin-left: 0.5em;
  font-size: 0.42em;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--hcr-faint);
}

.hcr-poem-rule {
  position: relative;
  flex: 0 0 auto;
  width: 1.55em;
  height: 100%;
  pointer-events: none;
}

.hcr-poem-rule::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--hcr-rule) 7%, var(--hcr-rule) 93%, transparent);
}

.hcr-poem-rule::after {
  content: "";
  position: absolute;
  top: 0.6em;
  bottom: 0.6em;
  left: 50%;
  width: 0.3em;
  transform: translateX(-50%);
  background-image: radial-gradient(circle, var(--hcr-rule-strong) 0 1px, transparent 1.5px);
  background-size: 100% 20%;
  background-repeat: repeat-y;
  opacity: 0.9;
}

.hcr-margin {
  position: absolute;
  top: var(--hcr-pad-t);
  bottom: var(--hcr-pad-b);
  left: clamp(8px, 1.2vw, 16px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: var(--hcr-faint);
  font-size: 10px;
  letter-spacing: 0.24em;
  pointer-events: none;
}

.hcr-margin span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hcr-margin-page {
  color: var(--hcr-muted);
}

.hcr-binding {
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: clamp(10px, 1.6vw, 22px);
  z-index: 3;
  width: 12px;
  opacity: 0.8;
  pointer-events: none;
}

.hcr-binding::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--hcr-rule), transparent);
}

.hcr-binding span {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--hcr-rule-strong);
  border-radius: 50%;
  background: var(--hcr-ink);
  transform: translateX(-50%);
}

.hcr-binding span:nth-child(1) {
  top: 0;
}

.hcr-binding span:nth-child(2) {
  top: 33.33%;
}

.hcr-binding span:nth-child(3) {
  top: 66.66%;
}

.hcr-binding span:nth-child(4) {
  bottom: 0;
}

.hcr-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 6;
  width: 12%;
  background: transparent;
}

.hcr-zone-prev {
  left: 0;
}

.hcr-zone-next {
  right: 0;
}

.hcr-zone::after {
  position: absolute;
  top: 50%;
  color: var(--hcr-muted);
  font-family: var(--hcr-serif);
  font-size: 28px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.22s ease;
}

.hcr-zone-prev::after {
  content: "‹";
  left: 12px;
}

.hcr-zone-next::after {
  content: "›";
  right: 12px;
}

.hcr-zone-prev:hover {
  background: linear-gradient(to right, rgba(235, 227, 211, 0.032), transparent);
}

.hcr-zone-next:hover {
  background: linear-gradient(to left, rgba(235, 227, 211, 0.032), transparent);
}

.hcr-zone:hover::after {
  opacity: 0.72;
}

.hcr-zone:disabled {
  cursor: default;
}

.hcr-zone:disabled::after {
  opacity: 0;
}

.hcr-bottombar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: clamp(56px, 7.2vh, 72px);
  padding: 0 clamp(16px, 4vw, 46px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, var(--hcr-rule), transparent) 1;
}

.hcr-nav {
  flex: 0 0 auto;
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  color: var(--hcr-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hcr-nav:hover:not(:disabled) {
  color: var(--hcr-text);
  border-bottom-color: var(--hcr-accent-soft);
}

.hcr-nav:disabled {
  opacity: 0.24;
  cursor: default;
}

.hcr-progress {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hcr-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
}

.hcr-dot {
  position: relative;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(218, 203, 174, 0.24);
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.hcr-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
}

.hcr-dot:hover {
  background: var(--hcr-rule-strong);
}

.hcr-dot.is-active {
  width: 16px;
  border-radius: 2px;
  background: var(--hcr-accent);
}

.hcr-count {
  color: var(--hcr-faint);
  font-size: 10px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.hcr-cover.is-entering,
.hcr-reader.is-entering {
  animation: hcr-fade-in 0.5s ease both;
}

.hcr-page.is-fade-in {
  animation: hcr-page-fade 0.5s ease both;
}

.hcr-page.is-in-next {
  animation: hcr-in-next 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hcr-page.is-out-next {
  animation: hcr-out-next 0.26s ease both;
}

.hcr-page.is-in-prev {
  animation: hcr-in-prev 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hcr-page.is-out-prev {
  animation: hcr-out-prev 0.26s ease both;
}

@keyframes hcr-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hcr-page-fade {
  from {
    opacity: 0;
    filter: blur(3px);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

@keyframes hcr-in-next {
  from {
    opacity: 0;
    transform: translateX(-16px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hcr-out-next {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateX(14px);
  }
}

@keyframes hcr-in-prev {
  from {
    opacity: 0;
    transform: translateX(16px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hcr-out-prev {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateX(-14px);
  }
}

.hcr-app[data-view="cover"] .hcr-reader {
  display: none;
}

.hcr-app[data-view="read"] .hcr-cover {
  display: none;
}

#hcr-app[data-view="read"] {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

#hcr-app[data-view="read"] .hcr-reader {
  height: 100dvh;
  min-height: 0;
}

html.hcr-reading,
html.hcr-reading body {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .hcr-cover-inner {
    gap: 18px;
    padding: 28px 20px;
  }

  .hcr-cover-title h1 {
    font-size: clamp(2.3em, 8vw, 3.6em);
  }

  .hcr-reader {
    min-height: 600px;
  }

  .hcr-topbar {
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .hcr-brand-collection {
    display: none;
  }

  .hcr-zone {
    width: 13%;
  }
}

@media (max-width: 640px) {
  .hcr-cover {
    gap: 16px;
    padding: 20px 12px;
  }

  .hcr-cover-inner {
    flex-direction: column;
    direction: ltr;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    gap: 16px;
    padding: 24px 18px 26px;
  }

  .hcr-cover-title {
    order: 1;
    flex-direction: row;
    direction: rtl;
    align-items: flex-start;
    height: auto;
    gap: 10px;
  }

  .hcr-cover-title h1 {
    font-size: clamp(2em, 9vw, 2.8em);
    letter-spacing: 0.1em;
  }

  .hcr-volume {
    padding-top: 0.2em;
    font-size: 0.84em;
    letter-spacing: 0.24em;
  }

  .hcr-cover-author {
    display: none;
  }

  .hcr-cover-intro {
    order: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 12px 0;
    border-top: 1px solid var(--hcr-rule);
    border-bottom: 1px solid var(--hcr-rule);
    writing-mode: horizontal-tb;
    direction: ltr;
    font-size: 12.5px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    text-align: justify;
    color: var(--hcr-muted);
  }

  .hcr-cover-intro > p {
    height: auto;
  }

  .hcr-cover-intro::before,
  .hcr-cover-collection::before {
    display: none;
  }

  .hcr-cover-collection {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: auto;
    writing-mode: horizontal-tb;
    direction: ltr;
    font-size: 12px;
  }

  .hcr-cover-collection p {
    writing-mode: horizontal-tb;
    direction: ltr;
  }

  .hcr-collection-name {
    font-size: 2.2em;
    letter-spacing: 0.16em;
  }

  .hcr-category {
    font-size: 0.78em;
  }

  .hcr-seal {
    position: static;
    width: 32px;
    height: 32px;
    margin-top: 8px;
    transform: rotate(-2deg);
    font-size: 1em;
  }

  .hcr-open-text small {
    font-size: 9px;
  }

  .hcr-source {
    display: none;
  }

  .hcr-open {
    gap: 10px;
    font-size: 0.82em;
  }

  .hcr-open-line {
    width: 38px;
  }

  .hcr-reader {
    height: 100svh;
    min-height: 560px;
  }

  .hcr-topbar {
    height: 46px;
    padding: 0 14px;
    letter-spacing: 0.1em;
  }

  .hcr-cover-btn {
    padding: 5px 9px;
    font-size: 9px;
  }

  .hcr-stage {
    padding: 8px 6px;
  }

  .hcr-leaf {
    --hcr-pad-t: 18px;
    --hcr-pad-r: 20px;
    --hcr-pad-b: 18px;
    --hcr-pad-l: 20px;
  }

  .hcr-leaf::before {
    inset: 6px;
  }

  .hcr-margin,
  .hcr-binding {
    display: none;
  }

  .hcr-zone {
    width: 12%;
  }

  .hcr-zone::after {
    font-size: 21px;
  }

  .hcr-dots {
    gap: 3px;
  }

  .hcr-dot {
    width: 3px;
    height: 3px;
  }

  .hcr-dot.is-active {
    width: 14px;
  }

  .hcr-poem-note {
    font-size: 0.62em;
  }

  .hcr-part-label {
    font-size: 0.55em;
  }

  .hcr-bottombar {
    min-height: 54px;
    gap: 8px;
    padding: 0 12px;
  }

  .hcr-nav {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hcr-count {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hcr-sep {
    display: none;
  }
}

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