@import url("");

:root {
  --ink: #20231f;
  --ink-soft: #61665e;
  --ink-faint: #8b8e87;
  --paper: #f5f3ed;
  --surface: #fbfaf7;
  --surface-strong: #ffffff;
  --line: #dfded7;
  --line-soft: #ebe9e2;
  --green: #285146;
  --green-deep: #193b33;
  --green-soft: #dce7e1;
  --rust: #b45c3d;
  --rust-soft: #f4e4dd;
  --danger: #a64036;
  --shadow-sm: 0 1px 2px rgba(31, 39, 34, 0.05), 0 4px 14px rgba(31, 39, 34, 0.04);
  --shadow-lg: 0 22px 70px rgba(31, 39, 34, 0.15);
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", Georgia, serif;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.85), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

button,
a,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
}

.boot-screen {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 20px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  color: #f6f3e9;
  background: var(--green);
  border-radius: 14px 14px 14px 4px;
  place-items: center;
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.boot-line {
  width: 46px;
  height: 2px;
  overflow: hidden;
  background: var(--line);
  border-radius: 2px;
}

.boot-line::after {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--green);
  animation: boot 0.9s ease-in-out infinite alternate;
  content: "";
}

@keyframes boot {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(200%);
  }
}

.icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  place-items: center;
  transition:
    color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--line-soft);
}

.icon-btn:active,
.btn:active {
  transform: translateY(1px);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    opacity 0.16s ease;
}

.btn:hover {
  border-color: #c9c9c2;
  background: #fff;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-danger {
  color: var(--danger);
  background: #fff8f6;
  border-color: #e8cbc5;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-wide {
  width: 100%;
}

.btn[disabled],
.icon-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--rust);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.muted {
  color: var(--ink-soft);
}

.subtle {
  color: var(--ink-faint);
}

.login-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 1.08fr) minmax(420px, 0.92fr);
}

.login-story {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px clamp(48px, 7vw, 110px);
  color: #f7f4ea;
  background: #24483f;
}

.login-story::before,
.login-story::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.login-story::before {
  top: 14%;
  right: -20%;
  width: 36vw;
  height: 36vw;
}

.login-story::after {
  top: 8%;
  right: -10%;
  width: 22vw;
  height: 22vw;
}

.login-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.login-brand .brand-mark {
  color: var(--green);
  background: #f5f1e6;
}

.login-quote {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin: 80px 0;
}

.quote-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.quote-number::before {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
  content: "";
}

.login-quote h1 {
  max-width: 580px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.24;
}

.login-quote h1 em {
  color: #d4b49e;
  font-style: normal;
}

.login-quote p {
  max-width: 480px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
}

.login-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-form-side {
  display: grid;
  min-height: 100vh;
  padding: 50px;
  background: var(--surface);
  place-items: center;
}

.login-card {
  width: min(390px, 100%);
}

.login-card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.login-card > p {
  margin: 0 0 38px;
  color: var(--ink-soft);
  font-size: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label,
.field-label {
  color: #454941;
  font-size: 12px;
  font-weight: 700;
}

.input-wrap {
  position: relative;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid #d9d8d1;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.textarea {
  min-height: 104px;
  padding-block: 12px;
  line-height: 1.65;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 0;
  border-color: #7b9b91;
  box-shadow: 0 0 0 3px rgba(40, 81, 70, 0.1);
}

.input::placeholder,
.textarea::placeholder {
  color: #aaa9a3;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
}

.login-submit {
  min-height: 49px;
  margin-top: 8px;
}

.reader-shell {
  min-height: 100vh;
  padding-bottom: 40px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  height: 76px;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 72px);
  background: rgba(245, 243, 237, 0.88);
  border-bottom: 1px solid rgba(223, 222, 215, 0.8);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px 11px 11px 3px;
}

.site-brand .brand-mark svg {
  width: 20px;
  height: 20px;
}

.header-center {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.header-link {
  position: relative;
  padding: 27px 2px 25px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.header-link.active {
  color: var(--ink);
}

.header-link.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--rust);
  border-radius: 50%;
  place-items: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px;
  background: transparent;
  border-radius: 22px;
  cursor: pointer;
}

.reader-main {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 56px;
}

.reader-welcome {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr minmax(260px, 370px);
  gap: 40px;
  margin-bottom: 48px;
}

.reader-welcome h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.reader-welcome h1 span {
  color: var(--green);
}

.reader-welcome p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.search-box {
  position: relative;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  transform: translateY(-50%);
}

.search-box .input {
  height: 48px;
  padding-left: 44px;
  border-radius: 13px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 650;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.continue-card {
  display: grid;
  overflow: hidden;
  min-height: 232px;
  margin-bottom: 52px;
  background: var(--green);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  grid-template-columns: 185px 1fr;
}

.continue-visual {
  display: grid;
  padding: 28px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.05), transparent 70%),
    #1d433a;
  place-items: center;
}

.book-cover {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 0.72;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px;
  color: #f9f4e8;
  background: var(--cover-bg, #40655b);
  border-radius: 4px 10px 10px 4px;
  box-shadow: 7px 9px 22px rgba(21, 31, 27, 0.18);
  isolation: isolate;
}

.book-cover::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.book-cover::after {
  position: absolute;
  z-index: -1;
  right: -28%;
  bottom: -14%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(255, 255, 255, 0.035),
    0 0 0 38px rgba(255, 255, 255, 0.025);
  content: "";
}

.book-cover.sage {
  --cover-bg: #42645b;
}

.book-cover.cobalt {
  --cover-bg: #3e526a;
}

.book-cover.terracotta {
  --cover-bg: #9b5542;
}

.book-cover.violet {
  --cover-bg: #65536d;
}

.book-cover.amber {
  --cover-bg: #8a6c3d;
}

.book-cover.ocean {
  --cover-bg: #38666d;
}

.cover-format {
  align-self: flex-end;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.62;
}

.cover-title {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 650;
  letter-spacing: 0.05em;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cover-author {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.continue-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 34px 42px;
  color: #fff;
}

.continue-copy .eyebrow {
  color: #d9b8a9;
}

.continue-copy h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.continue-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.progress-track {
  width: min(360px, 100%);
  height: 3px;
  margin: 28px 0 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.progress-fill {
  height: 100%;
  background: #f4e7da;
  border-radius: inherit;
}

.progress-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.continue-copy .btn {
  flex: 0 0 auto;
  color: var(--green);
  background: #fff;
  border-color: #fff;
}

.filter-row {
  display: flex;
  gap: 7px;
}

.filter-chip {
  padding: 7px 12px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
}

.filter-chip:hover {
  background: var(--line-soft);
}

.filter-chip.active {
  color: var(--green);
  background: var(--green-soft);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px 24px;
}

.book-card {
  min-width: 0;
  cursor: pointer;
}

.book-card .book-cover {
  margin-bottom: 15px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.book-card:hover .book-cover {
  box-shadow: 10px 14px 28px rgba(21, 31, 27, 0.22);
  transform: translateY(-4px);
}

.book-card h3 {
  overflow: hidden;
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: var(--ink-faint);
  font-size: 10px;
}

.mini-progress {
  width: 28px;
  height: 2px;
  overflow: hidden;
  background: var(--line);
  border-radius: 2px;
}

.mini-progress i {
  display: block;
  height: 100%;
  background: var(--rust);
}

.empty-state {
  display: grid;
  min-height: 280px;
  padding: 40px;
  text-align: center;
  border: 1px dashed #d3d2ca;
  border-radius: var(--radius);
  place-content: center;
}

.empty-state .brand-mark {
  margin: 0 auto 18px;
  color: var(--green);
  background: var(--green-soft);
}

.empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
}

.empty-state p {
  max-width: 380px;
  margin: 0;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.7;
}

.bottom-nav {
  display: none;
}

.book-detail {
  min-height: 100vh;
  background: var(--paper);
}

.detail-head {
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}

.detail-head-center {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
}

.detail-content {
  display: grid;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 80px;
  grid-template-columns: 210px 1fr;
  gap: 70px;
}

.detail-cover-wrap .book-cover {
  box-shadow: 12px 18px 40px rgba(25, 36, 31, 0.2);
}

.detail-info {
  padding-top: 12px;
}

.detail-info h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.detail-author {
  margin-bottom: 26px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 15px;
}

.detail-description {
  max-width: 600px;
  min-height: 52px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
}

.detail-facts {
  display: flex;
  gap: 26px;
  margin-bottom: 32px;
}

.detail-fact {
  padding-right: 26px;
  border-right: 1px solid var(--line);
}

.detail-fact:last-child {
  padding-right: 0;
  border: 0;
}

.detail-fact b {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 17px;
}

.detail-fact span {
  color: var(--ink-faint);
  font-size: 10px;
}

.detail-actions {
  display: flex;
  gap: 10px;
}

.chapter-preview {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.chapter-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.chapter-preview h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
}

.chapter-list-item {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
  color: var(--ink-soft);
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 13px;
  text-align: left;
}

.chapter-list-item:hover {
  color: var(--green);
}

.chapter-list-item span:last-child {
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 9px;
}

.reading-view {
  --reading-bg: #f7f3e9;
  --reading-ink: #292a25;
  min-height: 100vh;
  color: var(--reading-ink);
  background: var(--reading-bg);
  transition:
    color 0.25s,
    background 0.25s;
}

.reading-view.theme-white {
  --reading-bg: #fbfbfa;
  --reading-ink: #252525;
}

.reading-view.theme-eye {
  --reading-bg: #e7efe2;
  --reading-ink: #2e3b32;
}

.reading-view.theme-night {
  --reading-bg: #1e2422;
  --reading-ink: #cdd2cd;
}

.reading-topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 64px;
  align-items: center;
  padding: 0 22px;
  color: var(--reading-ink);
  background: color-mix(in srgb, var(--reading-bg) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--reading-ink) 12%, transparent);
  backdrop-filter: blur(18px);
  grid-template-columns: 1fr auto 1fr;
  transition: transform 0.25s ease;
}

.reading-topbar.hidden {
  transform: translateY(-100%);
}

.reading-book-name {
  overflow: hidden;
  max-width: 360px;
  font-family: var(--serif);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reading-chapter-name {
  color: color-mix(in srgb, var(--reading-ink) 62%, transparent);
  font-size: 11px;
}

.reading-tools {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
}

.reading-view .icon-btn {
  color: inherit;
}

.reading-view .icon-btn:hover {
  background: color-mix(in srgb, var(--reading-ink) 8%, transparent);
}

.reading-article {
  width: min(740px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 122px 0 90px;
}

.chapter-kicker {
  margin-bottom: 16px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.reading-article h1 {
  margin: 0 0 52px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.chapter-body {
  font-family: var(--serif);
  font-size: var(--reader-font-size, 19px);
  line-height: var(--reader-line-height, 2);
  letter-spacing: 0.02em;
}

.chapter-body p {
  margin: 0 0 1.15em;
  text-align: justify;
  text-indent: 2em;
}

.chapter-body p:first-child {
  text-indent: 0;
}

.chapter-body p:first-child::first-letter {
  float: left;
  margin: 0.04em 0.13em 0 0;
  color: var(--green);
  font-size: 3.05em;
  font-weight: 650;
  line-height: 0.88;
}

.theme-night .chapter-body p:first-child::first-letter {
  color: #8fb2a7;
}

.chapter-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 65px 0 38px;
  color: color-mix(in srgb, var(--reading-ink) 36%, transparent);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.chapter-end::before,
.chapter-end::after {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.chapter-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reading-view .chapter-navigation .btn {
  min-height: 54px;
  color: var(--reading-ink);
  background: transparent;
  border-color: color-mix(in srgb, var(--reading-ink) 16%, transparent);
}

.reading-progress {
  position: fixed;
  z-index: 42;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
}

.reading-progress i {
  display: block;
  height: 100%;
  background: var(--rust);
  transition: width 0.15s linear;
}

.drawer-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  background: rgba(15, 22, 19, 0.28);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 0.2s;
}

.drawer-backdrop.open {
  opacity: 1;
}

.reader-drawer {
  position: fixed;
  z-index: 71;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(390px, 90vw);
  padding: 26px 20px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.24s ease;
}

.reader-drawer.open {
  transform: translateX(0);
}

.settings-drawer {
  right: 0;
  left: auto;
  width: min(360px, 90vw);
  transform: translateX(100%);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
}

.drawer-scroll {
  overflow-y: auto;
  max-height: calc(100vh - 86px);
}

.toc-item {
  display: grid;
  width: 100%;
  min-height: 47px;
  align-items: center;
  padding: 0 10px;
  color: var(--ink-soft);
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 13px;
  text-align: left;
  grid-template-columns: 28px 1fr;
}

.toc-item span:first-child {
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 9px;
}

.toc-item.active {
  color: var(--green);
  background: var(--green-soft);
  border-radius: 8px;
}

.setting-group {
  margin-bottom: 30px;
}

.setting-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

.size-control {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  grid-template-columns: 1fr 1fr;
}

.size-control button {
  height: 44px;
  background: var(--surface-strong);
  cursor: pointer;
  font-family: var(--serif);
}

.size-control button + button {
  border-left: 1px solid var(--line);
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.theme-option {
  display: grid;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  place-items: center;
}

.theme-option.paper {
  color: #5e5547;
  background: #f7f3e9;
}

.theme-option.white {
  color: #444;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dedede;
}

.theme-option.eye {
  color: #315244;
  background: #e7efe2;
  box-shadow: inset 0 0 0 1px #cbd9c5;
}

.theme-option.night {
  color: #d3d5d2;
  background: #1e2422;
}

.settings-drawer .theme-options {
  grid-template-columns: repeat(4, 1fr);
}

.theme-option.active {
  border-color: var(--green);
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  background: #f5f5f1;
  grid-template-columns: 238px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 30px 20px 22px;
  color: rgba(255, 255, 255, 0.76);
  background: #203e37;
}

.admin-sidebar .site-brand {
  margin: 0 9px 42px;
  color: #fff;
}

.admin-sidebar .brand-mark {
  color: var(--green);
  background: #f4f0e5;
}

.admin-nav {
  display: grid;
  gap: 5px;
}

.admin-nav-item {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.admin-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-nav-item svg {
  width: 18px;
  height: 18px;
}

.admin-sidebar-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.admin-profile .user-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.admin-profile-copy {
  min-width: 0;
  flex: 1;
}

.admin-profile-copy b,
.admin-profile-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-profile-copy b {
  color: #fff;
  font-size: 12px;
}

.admin-profile-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.admin-main {
  min-width: 0;
  padding: 0 42px 60px;
}

.admin-topbar {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  margin: 0 -42px 38px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid #e7e7e2;
  backdrop-filter: blur(16px);
}

.admin-title h1 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 650;
}

.admin-title p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 10px;
}

.stats-grid {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 21px 22px;
  background: #fff;
  border: 1px solid #e3e3dd;
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.stat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  color: var(--ink-faint);
  font-size: 10px;
}

.stat-card-head span:last-child {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 8px;
  place-items: center;
}

.stat-card-head svg {
  width: 15px;
  height: 15px;
}

.stat-value {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 650;
}

.stat-note {
  color: var(--ink-faint);
  font-size: 9px;
}

.admin-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e3dd;
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid #ecece7;
}

.panel-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.panel-actions .search-box {
  width: 230px;
}

.panel-actions .input {
  min-height: 38px;
  height: 38px;
  font-size: 11px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.admin-table th {
  height: 42px;
  padding: 0 18px;
  color: var(--ink-faint);
  background: #fafaf7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  height: 67px;
  padding: 9px 18px;
  color: var(--ink-soft);
  border-top: 1px solid #eeeeea;
}

.admin-table tbody tr:hover {
  background: #fcfcfa;
}

.table-book {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 12px;
}

.table-cover {
  display: grid;
  width: 34px;
  height: 46px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.84);
  background: var(--cover-bg);
  border-radius: 2px 5px 5px 2px;
  place-items: center;
  font-family: var(--serif);
  font-size: 11px;
}

.table-title b,
.table-title span {
  display: block;
}

.table-title b {
  max-width: 220px;
  overflow: hidden;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-title span {
  color: var(--ink-faint);
  font-size: 9px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #3c655a;
  background: #e9f1ed;
  border-radius: 20px;
  font-size: 9px;
}

.status-badge::before {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.status-badge.disabled {
  color: #8b5a50;
  background: #f7ebe7;
}

.status-badge.ongoing {
  color: #826631;
  background: #f4eedf;
}

.role-badge {
  padding: 4px 8px;
  color: var(--ink-soft);
  background: #f0f0eb;
  border-radius: 5px;
  font-size: 9px;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.table-actions .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.table-actions svg {
  width: 15px;
  height: 15px;
}

.admin-empty {
  padding: 70px 20px;
  color: var(--ink-faint);
  text-align: center;
  font-size: 11px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.quick-panel {
  padding: 23px;
}

.quick-panel h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 17px;
}

.quick-action {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  color: var(--ink-soft);
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  font-size: 11px;
  text-align: left;
}

.quick-action:last-child {
  border: 0;
}

.quick-action > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 9px;
  place-items: center;
}

.quick-action svg {
  width: 16px;
  height: 16px;
}

.quick-action > span:nth-child(2) {
  flex: 1;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgba(21, 27, 24, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  place-items: center;
  transition: opacity 0.18s ease;
}

.modal-backdrop.open {
  opacity: 1;
}

.modal {
  width: min(540px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transform: translateY(8px) scale(0.985);
  transition: transform 0.18s ease;
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-wide {
  width: min(860px, 100%);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 19px;
  border-bottom: 1px solid var(--line-soft);
}

.modal-head h2 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 21px;
}

.modal-head p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 10px;
}

.modal-body {
  padding: 23px 26px 8px;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 18px 26px 24px;
}

.drop-zone {
  position: relative;
  display: grid;
  min-height: 185px;
  margin-bottom: 22px;
  padding: 24px;
  color: var(--ink-soft);
  background: #f8f8f4;
  border: 1px dashed #c9c9c1;
  border-radius: 12px;
  text-align: center;
  place-content: center;
  transition:
    background 0.16s,
    border-color 0.16s;
}

.drop-zone.dragover {
  background: var(--green-soft);
  border-color: var(--green);
}

.drop-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.drop-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 13px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 11px;
  place-items: center;
}

.drop-zone b {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 12px;
}

.drop-zone p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 9px;
}

.selected-file {
  display: none;
  align-items: center;
  gap: 12px;
}

.selected-file.visible {
  display: flex;
}

.selected-file-icon {
  display: grid;
  width: 43px;
  height: 52px;
  color: #fff;
  background: var(--green);
  border-radius: 4px 8px 8px 4px;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}

.selected-file-copy {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.selected-file-copy b {
  display: block;
  overflow: hidden;
  margin-bottom: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file-copy span {
  color: var(--ink-faint);
  font-size: 9px;
}

.upload-progress {
  display: none;
  margin-top: 18px;
}

.upload-progress.visible {
  display: block;
}

.upload-progress-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 9px;
}

.upload-progress-track {
  height: 4px;
  overflow: hidden;
  background: var(--line);
  border-radius: 4px;
}

.upload-progress-track i {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
  animation: upload 1.2s ease-in-out infinite alternate;
}

@keyframes upload {
  from {
    transform: translateX(-70%);
  }
  to {
    transform: translateX(170%);
  }
}

.chapter-editor {
  min-height: 360px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
}

.confirm-copy {
  padding: 8px 0 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.toast-stack {
  position: fixed;
  z-index: 200;
  top: 20px;
  right: 20px;
  display: grid;
  width: min(340px, calc(100vw - 40px));
  gap: 9px;
}

.toast {
  display: flex;
  align-items: start;
  gap: 11px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(22, 32, 27, 0.13);
  font-size: 11px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-indicator {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 5px;
  background: var(--green);
  border-radius: 50%;
}

.toast.error .toast-indicator {
  background: var(--danger);
}

.dropdown {
  position: fixed;
  z-index: 60;
  min-width: 170px;
  padding: 6px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.dropdown button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
}

.dropdown button:hover {
  color: var(--ink);
  background: var(--line-soft);
}

.dropdown svg {
  width: 15px;
  height: 15px;
}

.skeleton {
  overflow: hidden;
  color: transparent !important;
  background: #e8e7e1;
  border-radius: 7px;
}

.skeleton::after {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shimmer 1.2s infinite;
  content: "";
}

@keyframes shimmer {
  to {
    transform: translateX(230%);
  }
}

@media (max-width: 1100px) {
  .book-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .login-story {
    display: none;
  }

  .login-form-side {
    min-height: 100svh;
    padding: 40px 24px;
  }

  .login-card::before {
    display: block;
    width: 44px;
    height: 44px;
    margin-bottom: 40px;
    background: var(--green);
    border-radius: 13px 13px 13px 4px;
    content: "";
    mask: url("/favicon.svg") center / contain no-repeat;
  }

  .header-center {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .reader-main {
    width: min(100% - 32px, 720px);
    padding-top: 36px;
  }

  .reader-welcome {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-content {
    grid-template-columns: 170px 1fr;
    gap: 40px;
  }

  .admin-shell {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding-inline: 12px;
  }

  .admin-sidebar .site-brand > span:last-child,
  .admin-nav-item span,
  .admin-profile-copy,
  .admin-sidebar .icon-btn {
    display: none;
  }

  .admin-sidebar .site-brand {
    margin-inline: auto;
  }

  .admin-nav-item {
    justify-content: center;
    padding: 0;
  }

  .admin-profile {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    height: 64px;
    padding: 0 18px;
    background: transparent;
    border: 0;
  }

  .site-brand {
    font-size: 16px;
  }

  .site-brand .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-actions .icon-btn,
  .user-menu-trigger > svg {
    display: none;
  }

  .reader-shell {
    padding-bottom: 94px;
  }

  .reader-main {
    width: calc(100% - 36px);
    padding-top: 26px;
  }

  .reader-welcome {
    gap: 22px;
    margin-bottom: 34px;
  }

  .reader-welcome h1 {
    font-size: 31px;
  }

  .reader-welcome p {
    font-size: 12px;
  }

  .section-head {
    align-items: center;
    margin-bottom: 16px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .continue-card {
    min-height: 170px;
    margin-bottom: 40px;
    border-radius: 16px;
    grid-template-columns: 104px 1fr;
  }

  .continue-visual {
    padding: 18px 13px;
  }

  .continue-copy {
    display: block;
    padding: 21px 18px;
  }

  .continue-copy h3 {
    overflow: hidden;
    margin-bottom: 7px;
    font-size: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .continue-copy .eyebrow {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .continue-copy .btn {
    min-height: 36px;
    margin-top: 12px;
    padding: 0 13px;
    font-size: 10px;
  }

  .progress-track {
    margin: 15px 0 7px;
  }

  .filter-row {
    overflow-x: auto;
    max-width: 60%;
    padding-bottom: 2px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .book-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 14px;
  }

  .book-card .book-cover {
    margin-bottom: 10px;
    padding: 12px 10px;
  }

  .book-card h3 {
    font-size: 13px;
  }

  .book-card-meta > span:first-child {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cover-title {
    font-size: 13px;
  }

  .bottom-nav {
    position: fixed;
    z-index: 50;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    height: 62px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(223, 222, 215, 0.9);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(25, 37, 31, 0.13);
    backdrop-filter: blur(18px);
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-nav button {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    color: var(--ink-faint);
    background: transparent;
    border-radius: 13px;
    font-size: 8px;
  }

  .bottom-nav button.active {
    color: var(--green);
    background: var(--green-soft);
  }

  .bottom-nav svg {
    width: 18px;
    height: 18px;
  }

  .detail-head {
    height: 62px;
    padding: 0 12px;
  }

  .detail-head-center {
    font-size: 12px;
  }

  .detail-content {
    width: calc(100% - 36px);
    padding: 36px 0 70px;
    grid-template-columns: 105px 1fr;
    gap: 24px;
  }

  .detail-info {
    padding-top: 0;
  }

  .detail-info h1 {
    margin-bottom: 6px;
    font-size: 24px;
  }

  .detail-author {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .detail-description {
    display: -webkit-box;
    overflow: hidden;
    min-height: 0;
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .detail-facts {
    gap: 12px;
    margin-bottom: 18px;
  }

  .detail-fact {
    padding-right: 12px;
  }

  .detail-fact b {
    font-size: 12px;
  }

  .detail-fact span {
    font-size: 8px;
  }

  .detail-actions {
    display: block;
  }

  .detail-actions .btn {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 10px;
  }

  .chapter-preview {
    grid-column: 1 / -1;
    margin-top: 12px;
  }

  .reading-topbar {
    height: 56px;
    padding: 0 8px;
    grid-template-columns: 48px 1fr 92px;
  }

  .reading-book-name {
    display: none;
  }

  .reading-chapter-name {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .reading-article {
    width: calc(100% - 42px);
    padding: 92px 0 80px;
  }

  .reading-article h1 {
    margin-bottom: 38px;
    font-size: 25px;
  }

  .chapter-body {
    font-size: var(--reader-font-size-mobile, var(--reader-font-size, 18px));
    line-height: var(--reader-line-height, 2);
  }

  .chapter-navigation {
    gap: 8px;
  }

  .chapter-navigation .btn {
    padding: 0 8px;
    font-size: 10px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 92svh;
    border-radius: 20px 20px 0 0;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .admin-shell {
    min-width: 780px;
  }

  .admin-main {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 390px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .cover-title {
    font-size: 15px;
  }

  .detail-content {
    grid-template-columns: 90px 1fr;
    gap: 18px;
  }
}

@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;
  }
}
