@charset "UTF-8";
/* ==========================================================================
   镜曜 · 应用层（书架 / 阅读页 / 投稿 / 客户端下载 / 数据与隐私）
   ========================================================================== */

/* ---------------------------------------------------------------- 页面头部 */
.jy-app-head {
  padding-block: clamp(28px, 5vw, 56px) clamp(16px, 2.5vw, 26px);
}

.jy-app-head__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -0.025em; }
.jy-app-head__sub { color: var(--text-soft); margin-top: 0.7rem; max-width: 44rem; font-size: 0.98rem; }
.jy-crumbs { display: flex; gap: 0.5em; font-size: 0.84rem; color: var(--text-mute); margin-bottom: 1rem; flex-wrap: wrap; }
.jy-crumbs a:hover { color: var(--brand-mirror); }

/* -------------------------------------------------------------- 工具条 */
.jy-toolbar {
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2vw, 20px);
  display: grid;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 30px);
  position: sticky;
  top: 74px;
  z-index: 40;
}

.jy-toolbar__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.jy-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 240px;
  min-width: 0;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.jy-field:focus-within { border-color: rgba(47, 107, 255, 0.5); background: var(--glass-bg-strong); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1); }
.jy-field svg { width: 17px; height: 17px; color: var(--text-mute); flex: none; }
.jy-field input, .jy-field select, .jy-field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 0.94rem;
  min-width: 0;
}
.jy-field--area { border-radius: var(--radius-sm); align-items: flex-start; padding: 0.8rem 1rem; }
.jy-field--area textarea { resize: vertical; min-height: 7.5rem; line-height: 1.8; }
.jy-field__label { font-size: 0.8rem; font-weight: 600; color: var(--text-mute); margin-bottom: 0.4rem; display: block; }

.jy-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.jy-chips::-webkit-scrollbar { display: none; }

.jy-chip {
  flex: none;
  padding: 0.44em 0.95em;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  transition: transform 0.3s var(--ease-spring), color 0.3s, background-color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.jy-chip:hover { transform: translateY(-1px); color: var(--text); background: var(--glass-bg-strong); }
.jy-chip[aria-pressed="true"] { color: #fff; background-image: var(--glass-blue-bg); border-color: transparent; box-shadow: 0 8px 20px rgba(27, 71, 201, 0.28); }

.jy-select {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  outline: none;
}

/* ------------------------------------------------------ 继续阅读（突出） */
.jy-resume {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 26px);
  margin-bottom: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}

.jy-resume::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto -20%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.22), transparent 72%);
  pointer-events: none;
}

.jy-resume > * { position: relative; }

.jy-resume__cover {
  width: clamp(74px, 11vw, 104px);
  aspect-ratio: 3 / 4.2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #101728;
  box-shadow: 0 14px 30px rgba(17, 28, 54, 0.24);
  flex: none;
}
.jy-resume__cover img { width: 100%; height: 100%; object-fit: cover; }

.jy-resume__body { min-width: 0; }
.jy-resume__eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--brand-mirror); text-transform: uppercase; }
.jy-resume__title { font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin: 0.35rem 0 0.4rem; }
.jy-resume__meta { font-size: 0.87rem; color: var(--text-soft); display: flex; gap: 0.8em; flex-wrap: wrap; }
.jy-resume__progress { margin-top: 0.9rem; display: grid; gap: 0.45rem; max-width: 26rem; }
.jy-resume__progress .jy-mock__bar { height: 7px; }
.jy-resume__progress small { font-size: 0.78rem; color: var(--text-mute); }
.jy-resume__actions { display: grid; gap: 10px; justify-items: end; flex: none; }

@media (max-width: 720px) {
  .jy-resume { grid-template-columns: auto minmax(0, 1fr); }
  .jy-resume__actions { grid-column: 1 / -1; justify-items: stretch; }
  .jy-resume__actions .jy-btn { width: 100%; }
}

.jy-resume--empty { grid-template-columns: minmax(0, 1fr); }

/* ---------------------------------------------------------------- 书架网格 */
.jy-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

@media (max-width: 520px) {
  .jy-shelf-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 12px; }
}

.jy-card {
  position: relative;
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  text-align: start;
  cursor: pointer;
}

.jy-card:hover, .jy-card:focus-visible { transform: translateY(-6px); box-shadow: var(--glass-shadow-lg), var(--glass-inner); }

.jy-card__cover { position: relative; aspect-ratio: 3 / 4.2; border-radius: var(--radius-sm); overflow: hidden; background: #101728; box-shadow: 0 10px 24px rgba(17, 28, 54, 0.18); }
.jy-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease-out); }
.jy-card:hover .jy-card__cover img { transform: scale(1.05); }

.jy-card__badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.jy-card__badges .jy-tag-submit { font-size: 0.64rem; padding: 0.2em 0.5em; }

.jy-card__genre {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 0.2em 0.6em;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 23, 40, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.jy-card__title { font-size: 0.95rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jy-card__meta { font-size: 0.77rem; color: var(--text-mute); display: flex; gap: 0.5em; align-items: center; flex-wrap: wrap; }
.jy-card__meta i { font-style: normal; }
.jy-card__blurb {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jy-card__prog { display: grid; gap: 5px; margin-top: auto; }
.jy-card__prog .jy-mock__bar { height: 5px; }
.jy-card__prog small { font-size: 0.72rem; color: var(--text-mute); }

.jy-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(16, 23, 40, 0.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s, transform 0.34s var(--ease-spring), background-color 0.3s;
}

.jy-card:hover .jy-card__fav, .jy-card__fav[aria-pressed="true"] { opacity: 1; transform: none; }
.jy-card__fav[aria-pressed="true"] { background-image: var(--glass-blue-bg); border-color: transparent; }
.jy-card__fav svg { width: 15px; height: 15px; }
.jy-card__fav[aria-pressed="true"] svg { fill: currentColor; }

@media (hover: none) {
  .jy-card__fav { opacity: 1; transform: none; }
}

.jy-loadmore { display: grid; place-items: center; padding-block: clamp(28px, 4vw, 46px); gap: 12px; }
.jy-empty {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  color: var(--text-soft);
}
.jy-empty h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.jy-empty p { font-size: 0.92rem; color: var(--text-mute); margin-bottom: 1.2rem; }

/* ==========================================================================
   阅读页
   ========================================================================== */
.rd-body { display: flex; flex-direction: column; min-height: 100vh; }

.rd-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.rd-top__inner { display: flex; align-items: center; gap: 12px; height: 62px; }
.rd-top__book { min-width: 0; flex: 1; }
.rd-top__book b { display: block; font-size: 0.96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-top__book span { font-size: 0.78rem; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.rd-top__tools { display: flex; align-items: center; gap: 6px; flex: none; }

.rd-progress { height: 3px; background: rgba(16, 23, 40, 0.07); }
html[data-theme="night"] .rd-progress { background: rgba(255, 255, 255, 0.09); }
.rd-progress i { display: block; height: 100%; background-image: linear-gradient(90deg, var(--brand-mirror), var(--brand-bright)); transition: width 0.4s var(--ease-out); }

.rd-main {
  flex: 1;
  width: 100%;
  max-width: var(--reading-max);
  margin-inline: auto;
  padding: clamp(20px, 4vw, 46px) clamp(20px, 5vw, 44px) clamp(28px, 4vw, 50px);
  min-width: 0;
}

@media (max-width: 640px) {
  .rd-main { padding: clamp(16px, 4.6vw, 22px) 18px clamp(22px, 4vw, 30px); }
  /* 阅读页底部有翻页条，投稿按钮上移，避免遮住“下一页” */
  .rd-body .jy-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

.rd-chapter-head { margin-bottom: clamp(18px, 2.6vw, 30px); }
.rd-chapter-head h1 { font-size: clamp(1.3rem, 3.4vw, 1.85rem); }
.rd-chapter-head .rd-meta { margin-top: 0.6rem; font-size: 0.82rem; color: var(--text-mute); display: flex; gap: 0.9em; flex-wrap: wrap; }

/* 正文：单个分页容器（一次渲染一页，长文本分页渲染） */
.rd-page {
  font-size: var(--rd-size, 18px);
  line-height: var(--rd-lh, 1.95);
  letter-spacing: var(--rd-ls, 0.01em);
  color: var(--text);
  text-align: justify;
  text-justify: inter-ideograph;
  transition: opacity 0.32s var(--ease-soft), transform 0.32s var(--ease-out);
  will-change: opacity;
}

.rd-page.is-turning { opacity: 0; transform: translateY(6px); }
.rd-page p { margin: 0 0 1.05em; text-indent: 2em; }
.rd-page p:last-child { margin-bottom: 0; }

.rd-page__divider {
  height: 1px;
  margin: 1.6em 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* 文本高亮：仅网页端阅读页可选中 */
html[data-client="0"] .rd-page,
html[data-client="0"] .rd-chapter-head h1 { -webkit-user-select: text; user-select: text; }

html[data-client="1"], html[data-client="1"] body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html[data-client="1"] input, html[data-client="1"] textarea { -webkit-user-select: text; user-select: text; }

.rd-page::selection, .rd-page *::selection { background: rgba(47, 107, 255, 0.24); }

/* 分页页脚 */
.rd-pager {
  position: sticky;
  bottom: 0;
  z-index: 55;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid var(--line);
  padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
}

.rd-pager__inner { display: flex; align-items: center; gap: 10px; max-width: var(--reading-max); margin-inline: auto; padding-inline: clamp(14px, 4vw, 30px); }
.rd-pager__count { font-size: 0.82rem; color: var(--text-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-pager__spacer { flex: 1; }

.rd-navbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 1.05em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  transition: transform 0.3s var(--ease-spring), color 0.3s, background-color 0.3s, opacity 0.3s;
  white-space: nowrap;
}

.rd-navbtn:hover:not(:disabled) { color: var(--text); background: var(--glass-bg-strong); transform: translateY(-1px); }
.rd-navbtn:disabled { opacity: 0.4; cursor: not-allowed; }
.rd-navbtn svg { width: 15px; height: 15px; }

/* 目录 / 设置抽屉 */
.rd-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: flex;
  justify-content: flex-end;
  background: rgba(12, 18, 32, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s var(--ease-soft), visibility 0.38s;
}

.rd-drawer.is-open { opacity: 1; visibility: visible; }
.rd-drawer__box {
  width: min(100%, 420px);
  margin: 10px;
  border-radius: var(--radius-lg);
  padding: 18px;
  overflow-y: auto;
  transform: translateX(16px);
  transition: transform 0.42s var(--ease-out);
}
.rd-drawer.is-open .rd-drawer__box { transform: none; }
.rd-drawer__box h2 { font-size: 1.05rem; margin-bottom: 0.9rem; }

.rd-toc { display: grid; gap: 6px; }
.rd-toc__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.78em 0.9em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--text-soft);
  text-align: start;
  width: 100%;
  font-size: 0.93rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.rd-toc__item:hover { background: var(--glass-bg-dim); color: var(--text); }
.rd-toc__item[aria-current="true"] { background: var(--glass-bg-strong); border-color: rgba(47, 107, 255, 0.34); color: var(--text); font-weight: 700; }
.rd-toc__idx {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--glass-bg-strong);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.rd-toc__item b { flex: 1; min-width: 0; font-weight: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-toc__item small { color: var(--text-mute); font-size: 0.74rem; flex: none; }

.rd-settings { display: grid; gap: 1.15rem; margin-top: 1.4rem; }
.rd-settings__row { display: grid; gap: 0.5rem; }
.rd-settings__row > span { font-size: 0.82rem; font-weight: 600; color: var(--text-mute); display: flex; justify-content: space-between; }

.rd-stepper { display: flex; align-items: center; gap: 10px; }
.rd-stepper button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}
.rd-stepper button:hover { background: var(--glass-bg-strong); color: var(--text); transform: translateY(-1px); }
.rd-stepper__val { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.92rem; }

.rd-themes { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-theme {
  padding: 0.45em 0.9em;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: var(--glass-bg-dim);
  transition: color 0.3s, background-color 0.3s, transform 0.3s var(--ease-spring);
}
.rd-theme:hover { transform: translateY(-1px); color: var(--text); }
.rd-theme[aria-pressed="true"] { color: #fff; background-image: var(--glass-blue-bg); border-color: transparent; }

.rd-tip { font-size: 0.8rem; color: var(--text-mute); line-height: 1.8; margin-top: 1.2rem; }
.rd-kbd {
  display: inline-block;
  padding: 0.1em 0.45em;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--glass-bg-dim);
  font-size: 0.75rem;
  font-weight: 600;
}

/* 书籍头部信息（阅读页顶部 / 书架直达） */
.rd-bookbar {
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 24px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 24px);
  align-items: center;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.rd-bookbar__cover {
  width: clamp(78px, 13vw, 116px);
  aspect-ratio: 3 / 4.2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #101728;
  box-shadow: 0 14px 30px rgba(17, 28, 54, 0.22);
}
.rd-bookbar__cover img { width: 100%; height: 100%; object-fit: cover; }
.rd-bookbar h2 { font-size: clamp(1.1rem, 2.6vw, 1.5rem); margin-bottom: 0.4rem; }
.rd-bookbar p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.8; }
.rd-bookbar__meta { display: flex; gap: 0.8em; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-mute); margin-top: 0.6rem; }

/* ==========================================================================
   投稿页 / 审稿
   ========================================================================== */
.jy-form { display: grid; gap: 1.1rem; }
.jy-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.jy-form__hint { font-size: 0.8rem; color: var(--text-mute); line-height: 1.75; }
.jy-form__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.jy-panel { border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }

.jy-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.72em;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: var(--glass-bg-dim);
}
.jy-status--pending { color: #9a6a00; border-color: rgba(232, 135, 27, 0.34); background: rgba(255, 179, 64, 0.14); }
.jy-status--passed { color: #1c7a52; border-color: rgba(28, 122, 82, 0.3); background: rgba(52, 199, 123, 0.14); }
.jy-status--rejected { color: #a53434; border-color: rgba(165, 52, 52, 0.3); background: rgba(255, 99, 99, 0.14); }
html[data-theme="night"] .jy-status--pending { color: #ffcf85; }
html[data-theme="night"] .jy-status--passed { color: #8ff0bd; }
html[data-theme="night"] .jy-status--rejected { color: #ffb0b0; }

.jy-list { display: grid; gap: 10px; }
.jy-list__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.5rem;
}
.jy-list__top { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.jy-list__top b { font-size: 0.98rem; }
.jy-list__item p { font-size: 0.87rem; color: var(--text-soft); line-height: 1.78; }
.jy-list__meta { font-size: 0.78rem; color: var(--text-mute); display: flex; gap: 0.9em; flex-wrap: wrap; }
.jy-list__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 0.2rem; }

.jy-flow { display: grid; gap: 0.9rem; counter-reset: flow; }
.jy-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.jy-flow li::before {
  counter-increment: flow;
  content: counter(flow);
  width: 26px; height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background-image: var(--glass-blue-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.jy-flow b { display: block; color: var(--text); margin-bottom: 0.15rem; font-size: 0.95rem; }

.jy-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(47, 107, 255, 0.24);
  background: rgba(47, 107, 255, 0.07);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.jy-notice svg { width: 19px; height: 19px; color: var(--brand-mirror); margin-top: 2px; }
.jy-notice--warn { border-color: rgba(232, 135, 27, 0.3); background: rgba(255, 179, 64, 0.1); }
.jy-notice--warn svg { color: var(--brand-bright-deep); }

.jy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  z-index: 1200;
  padding: 0.78em 1.35em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-soft), transform 0.42s var(--ease-out), visibility 0.35s;
  max-width: min(92vw, 460px);
  text-align: center;
}
.jy-toast.is-open { opacity: 1; transform: translate(-50%, 0); visibility: visible; }

/* ==========================================================================
   客户端下载页
   ========================================================================== */
.jy-plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: clamp(14px, 2vw, 20px); }

.jy-plat {
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.jy-plat:hover { transform: translateY(-5px); box-shadow: var(--glass-shadow-lg), var(--glass-inner); }
.jy-plat__head { display: flex; align-items: center; gap: 0.8rem; }
.jy-plat__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--glass-stroke);
  background: var(--glass-bg-strong);
  color: var(--brand-mirror);
  box-shadow: var(--glass-inner);
  flex: none;
}
.jy-plat__icon svg { width: 23px; height: 23px; }
.jy-plat__head b { font-size: 1.05rem; display: block; }
.jy-plat__head span { font-size: 0.8rem; color: var(--text-mute); }
.jy-plat p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.8; }
.jy-plat__file {
  font-size: 0.78rem;
  color: var(--text-mute);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-xs);
  background: var(--glass-bg-dim);
  border: 1px dashed var(--line-strong);
  word-break: break-all;
  line-height: 1.6;
}
.jy-plat__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: auto; }

.jy-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.jy-table th, .jy-table td { text-align: start; padding: 0.72rem 0.8rem; border-bottom: 1px solid var(--line); }
.jy-table th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }
.jy-table td { color: var(--text-soft); }
.jy-table tr:last-child td { border-bottom: 0; }
.jy-table__scroll { overflow-x: auto; border-radius: var(--radius); }

/* ==========================================================================
   数据与隐私（本地静默记录）
   ========================================================================== */
.jy-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.jy-metric {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--glass-bg-dim);
  padding: 0.95rem 1.05rem;
}
.jy-metric b { display: block; font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.jy-metric span { font-size: 0.78rem; color: var(--text-mute); }

.jy-bars { display: grid; gap: 7px; }
.jy-bars__row { display: grid; grid-template-columns: 7.6rem 1fr 3.4rem; align-items: center; gap: 0.7rem; font-size: 0.82rem; color: var(--text-soft); }
.jy-bars__row .jy-mock__bar { height: 7px; }
.jy-bars__row small { text-align: end; color: var(--text-mute); font-variant-numeric: tabular-nums; }

/* 桌面端：阅读页内容宽度受控（--reading-max 已限制），并收紧行宽 */
@media (min-width: 1200px) {
  .rd-main { max-width: 44rem; }
}

/* 打印：干净输出正文 */
@media print {
  body::before, body::after, .jy-nav, .rd-top, .rd-pager, .jy-fab, .jy-cursor-dot { display: none !important; }
  .rd-page { font-size: 12pt; }
}
