:root {
  color-scheme: dark;
  --canvas: #17191e;
  --sidebar: 220px;
  --side-head-height: 52px;
  --text: #f5f5f5;
  --muted: #b2b2b7;
  --subtle: #92939b;
  --line: rgba(181, 188, 209, .15);
  --panel: linear-gradient(145deg, #29292c 0%, #242426 48%, #222223 100%);
  --control: linear-gradient(145deg, #343438, #2a2a2d);
  --focus: #b5c1e1;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button, a, textarea, select { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .45; cursor: default; }
a { color: inherit; }
:is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
button, a { touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
.ic {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.icon-library { width: 0; height: 0; position: absolute; overflow: hidden; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed; top: 9px; left: 9px; z-index: 30;
  padding: 9px 14px; border-radius: 8px; background: #ededf1; color: #18181b;
  transform: translateY(calc(-100% - 16px)); font-size: 13px; text-decoration: none;
}
.skip-link:focus { transform: none; }
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(148deg, #222225 0%, #1d1d1f 52%, #1a1a1b 100%);
  border-right: 1px solid #ffffff13;
  scrollbar-width: thin;
}
.side-head {
  height: var(--side-head-height);
  flex: 0 0 var(--side-head-height);
  padding: 0 16px 0 23px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.brand-wordmark {
  position: relative;
  display: block;
  width: 96px;
  transform: translateY(8px);
  aspect-ratio: 1258 / 274;
  flex: 0 0 auto;
  overflow: hidden;
  mix-blend-mode: screen;
}
.brand-wordmark img {
  position: absolute;
  display: block;
  width: 122.098569%;
  max-width: none;
  height: auto;
  left: -11.605723%;
  top: -136.861314%;
  filter: contrast(1.3);
}
.side-body { padding: 21px 12px; flex: 1; }
.side-group + .side-group { margin-top: 26px; padding-top: 22px; border-top: 1px solid #ffffff0d; }
.group-label {
  display: block;
  margin: 0 11px 11px;
  color: #a3a3aa;
  font-size: 11px; line-height: 1.6;
  font-weight: 500;
  letter-spacing: .07em;
}
.tabs, .side-group, .side-bottom { display: flex; flex-direction: column; }
.tabs { gap: 4px; }
.nav-item {
  min-width: 0;
  display: flex; align-items: center; gap: 13px;
  min-height: 46px; padding: 0 14px;
  color: #c3c3c8; background: transparent;
  border: 1px solid transparent; border-radius: 13px;
  text-align: left; text-decoration: none; font-size: 14px; line-height: 1.5;
}
.nav-item .ic { width: 20px; height: 20px; color: #c9c9cf; }
.nav-item:hover, .icon-btn:hover { color: #fff; background: #ffffff09; }
.nav-item[aria-selected="true"] {
  font-weight: 600; color: #f5f5f6;
  background: linear-gradient(147deg,#414145,#333337);
  border-color: #b7bbd128;
  box-shadow: inset 0 1px #ffffff08, 0 4px 12px #00000012;
}
.nav-item[aria-selected="true"] .ic { color: #f7f7f9; }
.side-bottom {
  border-top: 1px solid #ffffff12;
  margin: 0 12px;
  padding: 14px 0 22px;
}
.side-bottom .nav-item { color: #b4b4ba; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; flex-shrink: 0; padding: 0;
  color: #babac1; background: transparent; border: none; border-radius: 9px;
}
.icon-btn .ic { width: 18px; height: 18px; }
.page-area {
  margin-left: var(--sidebar);
  min-width: 0; min-height: 100vh; min-height: 100dvh;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  overflow: clip;
  background-color: var(--canvas);
  background-image:
    radial-gradient(ellipse 92% 75% at 6% 19%, rgba(116,140,212,.16), transparent 75%),
    radial-gradient(ellipse 85% 70% at 100% 83%, rgba(151,127,202,.13), transparent 80%);
}
.page-area::before {
  content: "";
  pointer-events: none; position: absolute; z-index: -1; inset: 0;
  background-image:
    radial-gradient(ellipse 335px 285px at 104% 15%, transparent calc(100% - 1px), #9aa3bf18 100%, transparent calc(100% + 1px)),
    radial-gradient(ellipse 370px 175px at -22% 83%, transparent calc(100% - 1px), #a2acc80e 100%, transparent calc(100% + 1px));
}
.secondary:hover { border-color: #ffffff32; background: #323236; }
.mobile-menu, .nav-backdrop { display: none; }
@media (min-width:761px) {
  body[data-collapsed="true"] { --sidebar: 72px; }
  body[data-collapsed="true"] .side-head { padding-inline: 0; justify-content: center; }
  body[data-collapsed="true"] .brand-wordmark { display: none; }
  body[data-collapsed="true"] #collapse-nav .ic { transform: scaleX(-1); }
  body[data-collapsed="true"] :is(.group-label,.nav-item>span,.side-bottom>p) { display: none; }
  body[data-collapsed="true"] .nav-item { justify-content: center; padding-inline: 0; }
}
.wrap {
  width: min(1000px,calc(100% - clamp(48px,9vw,140px)));
  margin: 0 auto;
  min-width: 0;
  flex: 1; display: flex; flex-direction: column;
}
.tool-panel { width: 100%; min-width: 0; }
.page-heading {
  position: relative; isolation: isolate;
  text-align: center;
  padding: clamp(40px,5.8vh,70px) 0 clamp(22px,3.6vh,38px);
}
.page-heading::before {
  content: ""; pointer-events: none; position: absolute; z-index: -1; inset: 8px -4% -40px;
  background-image: radial-gradient(circle, #bdc4e137 .8px, transparent 1px);
  background-size: 23px 23px;
  mask-image: radial-gradient(ellipse 51% 68% at 50% 70%, black 0%, transparent 100%);
}
.page-heading h1 { font-size: clamp(32px,3.4vw,48px); line-height: 1.26; font-weight: 700; letter-spacing: -.045em; }
.page-heading p { margin: 13px auto 0; max-width: 48em; font-size: 14px; line-height: 1.8; color: #b5b5be; }
.composer, .result-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 19px;
  box-shadow: inset 0 1px #ffffff08, 0 10px 28px #0000001f;
}
.composer {
  padding: 23px 24px 17px;
  position: relative;
}
#share-form:focus-within { border-color: #83879869; }
.compose-input textarea {
  display: block; width: 100%; min-height: 128px; max-height: 58vh;
  padding: 3px 2px 14px; border: 0; resize: vertical;
  background: transparent; color: #f3f3f4;
  font-size: 16px; line-height: 1.7; outline: 0;
}
.compose-input textarea::placeholder { color: #a8a8b0; opacity: 1; }
.compose-input textarea:focus-visible { outline: 0; }
.compose-input:has(textarea[aria-invalid="true"]) { border-radius: 5px; box-shadow: 0 0 0 1px #db9d89; }
.composer-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 13px; border-top: 1px solid #ffffff0a;
}
.bar-start, .bar-end, .actions, .format-choice { display: flex; align-items: center; gap: 10px; }
.bar-end { margin-left: auto; gap: 15px; }
.primary, .secondary, .inline-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; text-decoration: none; font-weight: 550;
  line-height: 1.45;
}
.primary {
  min-height: 46px; padding: 0 19px; gap: 14px;
  color: #191919; background: linear-gradient(152deg,#fff,#e6e6e6);
  border: 1px solid #ffffffa1; box-shadow: inset 0 1px #fff8, 0 3px 8px #0002;
  font-size: 14px; font-weight: 650;
}
.primary:not(:disabled):hover { background: #fff; box-shadow: 0 3px 14px #0003; }
.primary .ic { width: 18px; height: 18px; }
.secondary {
  background: var(--control); color: #e7e7e9; border: 1px solid var(--line);
  min-height: 37px; padding: 7px 13px; font-size: 13px;
}
.inline-btn {
  border: 1px solid transparent; background: transparent; color: #c9c9cf;
  min-height: 35px; padding: 6px 9px; font-size: 13px;
}
.inline-btn:not(:disabled):hover { background: #ffffff0b; color: #fff; }
.inline-btn .ic, .secondary .ic { width: 16px; height: 16px; }
.key-hint { color: #a2a2aa; font-size: 11px; display: inline-flex; align-items: center; gap: 3px; }
kbd {
  font: 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #ffffff05; color: #b3b3bb; border: 1px solid #ffffff17;
  border-radius: 4px; padding: 0 4px;
}
.catalog-section { margin-top: clamp(35px,5.1vh,58px); padding-top: 27px; border-top: 1px solid #a7adc51c; }
.section-heading { margin-bottom: 17px; }
.section-heading h2 { scroll-margin-top: 25px; }
.section-heading h2, .result-heading h2 { font-size: clamp(19px,1.65vw,24px); line-height: 1.45; font-weight: 650; letter-spacing: -.015em; }
.section-heading p, .description, .audio-tip, .side-note { color: var(--muted); line-height: 1.75; font-size: 13px; }
.section-heading p { margin-top: 5px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.catalog-card {
  min-width: 0; min-height: 82px; display: flex; align-items: center; gap: 13px; padding: 15px;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(140deg,#2a2a2e,#222224 87%);
  box-shadow: inset 0 1px #ffffff05, 0 3px 8px #0000000e;
}
.catalog-icon, .drop-icon {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(150deg,#3b3c42,#303033);
  border: 1px solid #d1d3df1a; color: #e5e5ea; box-shadow: inset 0 1px #ffffff08;
}
.catalog-icon { width: 39px; height: 39px; border-radius: 11px; }
.catalog-icon svg { display: block; width: 23px; height: 23px; }
.catalog-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.catalog-text strong { font-size: 14px; color: #ededf1; line-height: 1.5; font-weight: 620; }
.catalog-text small { color: #b0b0b7; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.side-note { margin-top: 14px; font-size: 12px; color: #a6a6af; }
.page-foot {
  margin-top: auto; padding: 35px 0 22px; display: flex; align-items: center; gap: 8px;
  color: #9696a1; font-size: 11px; line-height: 1.7;
}
.page-foot a { color: inherit; text-underline-offset: 3px; }
.page-foot .ic { width: 14px; height: 14px; }
.audio-inner { margin-bottom: 17px; }
.drop-zone {
  width: 100%; min-height: 148px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: #ffffff02; border: 1px dashed #9fa4b344; border-radius: 12px;
}
.drop-zone:hover, .drop-zone.drag { background: #bac8f50a; border-color: #bac4df9c; }
.drop-icon { width: 37px; height: 37px; margin-bottom: 3px; border-radius: 10px; }
.drop-icon .ic { width: 22px; height: 22px; }
.drop-zone strong { font-size: 15px; font-weight: 600; }
.drop-zone small { color: var(--muted); font-size: 12px; }
.format-choice { font-size: 13px; gap: 9px; }
.format-choice select {
  border: 1px solid var(--line); border-radius: 9px;
  padding: 6px 8px; font-size: 13px; font-weight: 520; background: #303034;
}
.audio-tip { margin-top: 11px; font-size: 12px; color: #aaaab4; }
.status {
  background: #b2bed511; color: #dedfe8; padding: 9px 12px; margin-top: 12px;
  border: 1px solid #aebada21; border-radius: 8px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere;
}
.status[data-state="error"] { color: #ecc4b9; background: #d78f7b10; border-color: #daa28d2a; }
:is(#bili-import,#note-import) { padding-top: 12px; }
:is(#bili-import,#note-import) .description { margin-bottom: 9px; }
.result-panel { padding: 23px 24px; margin-top: 22px; scroll-margin-top: 18px; }
.result-heading, .card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.result-heading h2 { overflow-wrap: anywhere; }
.result-heading .description, .result-platform { margin-top: 4px; }
.result-platform { color: #c1c6d8; font-size: 12px; margin-bottom: 4px; }
.actions { flex-wrap: wrap; gap: 7px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); gap: 14px; align-items: start; margin-top: 18px; }
.media-card { min-width: 0; padding: 13px; border: 1px solid var(--line); background: #1e1f22; border-radius: 13px; }
.media-card :is(video,img,iframe) { display: block; width: 100%; height: clamp(150px,23vw,300px); object-fit: contain; background: #151517; border: 0; border-radius: 7px; }
.media-card h3 { margin: 12px 0 7px; font-size: 14px; line-height: 1.6; }
.media-card p, .audio-row p { color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.original-resource { color: #c2cae3; text-underline-offset: 3px; }
.media-card .actions { margin-top: 8px; }
.audio-row audio, .media-card audio { display: block; width: 100%; max-width: 415px; height: 38px; }
#audio-list { margin: 15px 0 0; padding: 0; list-style: none; }
.audio-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.audio-row:last-child { padding-bottom: 0; }
.audio-row strong { font-size: 14px; overflow-wrap: anywhere; }
.audio-row audio { margin-top: 8px; }
.audio-row[data-state="error"] p, .media-card .status[data-state="error"] { color: #ecc4b9; }
dialog {
  padding: 0; width: min(475px,calc(100% - 32px));
  max-height: calc(100dvh - 40px); overflow: auto;
  background: #252528; color: var(--text);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 80px #0007;
}
dialog::backdrop { background: #101116b8; backdrop-filter: blur(3px); }
.dialog-body { padding: 23px; }
.dialog-body .card-heading { align-items: center; }
.dialog-body h2 { font-size: 21px; }
.dialog-body h3 { margin: 18px 0 6px; font-size: 15px; }
.dialog-body p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.dialog-body .primary { margin-top: 20px; }
#help-dialog { width: min(760px, calc(100% - 40px)); inset: 0; margin: auto; }
#help-dialog .dialog-body { padding: 28px 32px; }
#help-dialog .primary { display: flex; width: fit-content; min-width: 104px; margin: 24px auto 0; }
@media (max-width: 600px) {
  #help-dialog { width: calc(100% - 32px); max-height: calc(100dvh - 32px); }
  #help-dialog .dialog-body { padding: 20px; }
}
@media (min-width:761px) and (max-width:1120px) {
  .wrap { width: calc(100% - 48px); }
  .catalog-card { padding: 12px; gap: 9px; }
  .catalog-icon { width: 35px; height: 35px; }
}
@media (min-width:761px) and (max-width:980px) {
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  :root { --side-head-height: 56px; }
  .page-area { margin-left: 0; }
  .sidebar {
    width: min(270px,88vw); box-shadow: 10px 0 40px #0004;
    transform: translateX(-105%); visibility: hidden;
  }
  body[data-menu-open="true"] { overflow: hidden; }
  body[data-menu-open="true"] .sidebar { transform: none; visibility: visible; }
  body[data-menu-open="true"] .nav-backdrop {
    display: block; position: fixed; z-index: 19; inset: 0; width: 100%; height: 100%;
    background: #101116a6; border: 0; border-radius: 0;
  }
  .icon-btn, .inline-btn, .secondary, .format-choice select { min-height: 42px; }
  .icon-btn { width: 42px; }
  .side-head { padding-inline: 23px 12px; }
  .side-body { padding-top: 12px; }
  .wrap { width: calc(100% - 40px); }
  .page-heading { padding: 39px 0 23px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading p { font-size: 13px; margin-top: 10px; }
  .composer { padding: 17px 16px 13px; border-radius: 16px; }
  .compose-input textarea { min-height: 118px; font-size: 16px; }
  .composer-bar { gap: 8px; padding-top: 10px; }
  .bar-end { gap: 8px; }
  .catalog-section { margin-top: 30px; padding-top: 21px; }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .catalog-card { min-height: 75px; padding: 12px; gap: 9px; }
  .catalog-icon { width: 33px; height: 35px; border-radius: 9px; }
  .catalog-icon svg { width: 21px; height: 21px; }
  .key-hint { display: none; }
  .page-foot { padding: 26px 0 18px; }
}
@media (max-width:540px) {
  .wrap { width: calc(100% - 32px); }
  .page-heading h1 { font-size: 31px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-card { min-height: 70px; }
  .catalog-text strong { font-size: 13px; }
  .catalog-text small { font-size: 10.5px; }
  .side-note { font-size: 11px; }
  .result-panel { padding: 16px; }
  .result-heading { flex-wrap: wrap; }
  .audio-row { grid-template-columns: minmax(0,1fr); }
  .audio-row > .secondary { justify-self: start; }
}
@media (max-width:360px) {
  .bar-start { gap: 1px; }
  .catalog-grid { gap: 7px; }
  .catalog-card { padding: 8px; gap: 7px; }
  .catalog-icon { width: 29px; height: 31px; }
}
@media (prefers-reduced-motion:no-preference) {
  .sidebar, .page-area { transition: width .2s ease, margin-left .2s ease, transform .2s ease; }
  .nav-item, .inline-btn, .primary, .secondary, .floating-control { transition: background-color .15s, border-color .15s, color .15s; }
}

/* One workspace frame; the book app owns its content scrolling. */
body[data-tool="shujian"] { overflow: hidden; }
body[data-tool="shujian"] .page-area { height: 100vh; height: 100dvh; min-height: 0; }
body[data-tool="shujian"] .wrap { width: 100%; flex: 1 1 0; min-height: 0; margin: 0; }
body[data-tool="shujian"] .page-foot { display: none; }
.novel-panel {
  --novel-fade-height: 56px;
  --novel-fade-mask: linear-gradient(180deg, transparent, #0000001f 15%, #00000073 38%, #000000bf 65%, #000000f2 85%, #000);
  container: novel-content / inline-size; position: relative; display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; height: 100%;
  background:
    radial-gradient(ellipse 90% 78% at 4% 14%, #7587b315, transparent 78%),
    radial-gradient(ellipse 76% 70% at 100% 85%, #87799a15, transparent 80%),
    #191a1e;
}
#shujian-frame { width: 100%; height: 0; min-height: 0; flex: 1 1 0; border: 0; display: block; color-scheme: dark; background: transparent; }
.novel-panel[data-scrolled="true"] #novel-toolbar:not([hidden]) + #shujian-frame {
  -webkit-mask-image: var(--novel-fade-mask), linear-gradient(#000, #000);
  mask-image: var(--novel-fade-mask), linear-gradient(#000, #000);
  -webkit-mask-size: 100% var(--novel-fade-height), 100% calc(100% - var(--novel-fade-height));
  mask-size: 100% var(--novel-fade-height), 100% calc(100% - var(--novel-fade-height));
  -webkit-mask-position: top, bottom;
  mask-position: top, bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
#shujian-frame[hidden] { display: none; }
.novel-load-state { min-height: 320px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; }
.novel-load-state[hidden] { display: none; }
.novel-state-icon { width: 34px; height: 34px; color: #d4d5dc; }
.novel-load-state h1 { font-size: clamp(21px,3vw,27px); font-weight: 600; }
.novel-load-state p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Controls stay reachable while the embedded novel page scrolls. */
.floating-control {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 17px; border: 1px solid #ffffff24; border-radius: 14px;
  background: linear-gradient(145deg, #37373c, #29292e); color: #f4f4f6;
  font-size: 13px; font-weight: 550; line-height: 1.5; white-space: nowrap;
  box-shadow: 0 7px 24px #0005, inset 0 1px #ffffff09;
}
.floating-control:hover { background: #3c3c43; border-color: #ffffff42; }
.floating-control .ic { width: 18px; height: 18px; }
.novel-toolbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; flex: 0 0 auto;
  min-height: 88px;
  padding: max(20px, env(safe-area-inset-top)) 24px 20px;
  padding-left: max(clamp(24px, 4.5cqw, 70px), calc((100% - 1136px) / 2));
  background: transparent;
}
.novel-toolbar::after {
  content: ""; position: absolute; inset: 100% 0 auto; height: var(--novel-fade-height);
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, #000, #000000cc 20%, #00000066 50%, #0000001a 75%, transparent);
  mask-image: linear-gradient(180deg, #000, #000000cc 20%, #00000066 50%, #0000001a 75%, transparent);
}
.novel-panel[data-scrolled="true"] .novel-toolbar::after { opacity: 1; }
.novel-home { position: relative; z-index: 1; box-shadow: inset 0 1px #ffffff09; }
@container novel-content (max-width: 1023px) {
  .novel-toolbar { padding-left: 24px; }
}
@container novel-content (max-width: 760px) {
  .novel-toolbar {
    min-height: 72px;
    padding: max(15px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 15px max(18px, env(safe-area-inset-left));
  }
  .novel-home { min-height: 40px; }
  .novel-toolbar, #shujian-frame { --novel-fade-height: 36px; }
}
.mobile-menu { display: none; }
@media (max-width:760px) {
  .mobile-menu {
    position: fixed; z-index: 10; display: inline-flex;
    left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  }
  body:not([data-tool="shujian"]) .page-area { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
