/* 只扩展现有组件，不覆盖签纸、导航和签文排版。 */
.wf-reading-note{font-size:14px;line-height:1.8;color:var(--ink-soft)}
.wf-reading-balance{border:0;background:none;padding:8px 0;font:14px var(--sans);color:var(--gold-deep);cursor:pointer}
.wf-reading-messages:empty{display:none}
.wf-reading-message{padding:18px 0;border-top:1px solid var(--paper-line)}
.wf-reading-message h3{font:500 14px var(--sans);color:var(--gold-deep);margin:0 0 10px}
.wf-reading-message p{font-size:16px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.wf-reading-message.is-user{background:rgba(184,155,94,.08);padding:16px;border-radius:6px;margin:16px 0}
.wf-reading-message.is-pending{color:var(--ink-soft)}
.wf-reading-gate{padding:18px 0;border-top:1px solid var(--paper-line)}
.wf-reading-gate p{font-size:15px;color:var(--ink-soft);line-height:1.8}
.wf-reading-gate .lot-act{margin:0 10px 8px 0}
.wf-credit-dialog{width:min(520px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--card-edge);border-radius:18px;background:#fffcf6;color:var(--ink);padding:26px;box-shadow:0 24px 60px #2a252047}
.wf-credit-dialog::backdrop{background:rgba(42,37,32,.45)}
.wf-credit-dialog h2{font:500 24px var(--serif);margin:0}
.wf-credit-dialog h3{font:500 18px var(--serif);margin:26px 0 12px}
.wf-credit-total{margin:12px 0 20px;color:var(--ink-soft);font-size:14px}
.wf-credit-total strong{font:500 40px var(--serif);color:var(--gold-deep);margin-right:6px}
.wf-credit-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.wf-credit-plan{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 8px;background:var(--bg);border:1px solid var(--card-edge);border-radius:8px;font:14px var(--sans);color:var(--ink-soft);cursor:pointer}
.wf-credit-plan:hover{border-color:var(--gold-deep)}
.wf-credit-plan b{font-size:21px;font-weight:500;color:var(--gold-deep)}
.wf-credit-plan strong{font-size:17px;color:var(--ink);font-weight:500}
.wf-credit-tasks{display:grid;gap:12px;font-size:14px;color:var(--ink-soft)}
.wf-credit-tasks div{display:flex;justify-content:space-between;gap:12px}
.wf-credit-ledger{list-style:none;padding:0;font-size:14px;max-height:180px;overflow:auto}
.wf-credit-ledger li{display:flex;justify-content:space-between;border-bottom:1px solid var(--paper-line);padding:10px 0;gap:14px}
.wf-credit-ledger b{color:var(--gold-deep);font-weight:500;white-space:nowrap}
.wf-credit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.wf-preview-bar{padding:8px 14px;border-bottom:1px dashed var(--card-edge);text-align:center;font:13px var(--sans);color:var(--ink-soft);background:var(--bg-soft)}
.wf-preview-bar a{margin:0 8px}
.wf-preview-bar label{display:inline-flex;align-items:center;gap:5px;margin:0 8px}
.wf-preview-bar input{margin:0}
.wf-preview-tasks{display:inline-flex;align-items:center;gap:4px;margin:0 8px}
.wf-preview-tasks button{padding:2px 7px;border:1px solid var(--card-edge);border-radius:999px;background:rgba(255,255,255,.55);color:var(--ink-soft);font:12px/1.4 var(--sans);cursor:pointer}
.wf-preview-tasks button:hover{border-color:var(--accent);color:var(--ink)}
.wf-preview-tasks button.is-active{background:var(--accent);border-color:var(--accent);color:#fffdf8}
.wf-history-reading{margin:0 18px 14px;font-size:14px}
@media(max-width:480px){.wf-credit-dialog{padding:22px 16px}.wf-credit-plans{gap:7px}.wf-credit-plan{font-size:13px}.wf-credit-plan strong{font-size:15px}.wf-preview-bar{line-height:2}.wf-credit-dialog .lot-act{padding:10px 14px}}

/* 沿用站点墨色与金棕色，以细节和间距区分解签区。 */
.lot-premium-wrap .lot-premium{
  --pm-line:rgba(42,37,32,.15);
  padding:28px 28px 18px;
  border:1px solid #cfc3af;
  border-top:2px solid var(--accent);
  border-radius:12px;
  background:linear-gradient(135deg,#faf6ee 0%,#f5efe4 100%);
  box-shadow:0 10px 28px rgba(70,50,25,.065);
}
.lot-premium-wrap .lot-premium h2{font-size:23px;letter-spacing:.03em;font-weight:500;margin:0 0 10px}
.lot-premium-wrap .lot-chips legend{font-size:14px;color:var(--ink-soft);margin-bottom:10px}
.lot-premium-wrap .lot-chips .wf-reading-optional{font:12px/1.5 var(--sans);color:#8a8175;margin-left:6px}
.lot-premium-wrap .lot-chips .wf-reading-topic{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 14px;border:1px solid #d9d0c1;border-radius:999px;background:rgba(255,255,255,.45);font:13.5px/1.5 var(--sans);color:#6b5f52;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}
.lot-premium-wrap .lot-chips .wf-reading-topic[aria-pressed="true"]{background:#e7dcc9;border-color:#a28a64;color:#493b28}
.lot-premium-wrap .lot-chips .wf-reading-topic:hover{border-color:#a28a64}
.lot-premium-wrap .lot-chips .wf-reading-topic:focus-visible{outline:2px solid #a28a64;outline-offset:3px}
.lot-premium-wrap .lot-premium > .wf-reading-intro{font:14px/1.8 var(--sans);color:var(--ink-soft);margin:0 0 18px!important;max-width:560px}
.lot-premium-wrap .lot-form{gap:16px}
.lot-premium-wrap .lot-form textarea{min-height:120px;padding:14px 16px 24px;border:1px solid #dedad3;border-radius:8px;background:#fff;font:16px/1.75 var(--sans);resize:none}
.lot-premium-wrap .lot-form textarea::placeholder{color:#918e88}
.lot-premium-wrap .lot-form textarea:focus-visible{outline:2px solid rgba(139,111,71,.18);outline-offset:1px;border-color:#a6967f}
.lot-premium-wrap .lot-premium-submit{background:var(--accent);color:#fffdf8;box-shadow:none;letter-spacing:0;border-radius:8px;font-size:14px;padding:0 22px;height:42px}
.lot-premium-wrap .lot-premium-submit:hover{background:#765c39;color:#fffdf8}
.lot-premium-wrap .lot-premium .wf-reading-balance{font-size:13px;color:#77736c}
.lot-premium-wrap .lot-premium .wf-reading-balance b{font-weight:500;color:#5a5247}
.lot-premium-wrap .lot-premium > .wf-reading-disclaimer{font:12px/1.6 var(--sans);color:#928e87;margin:12px 0 0!important;padding-top:0;border:0;text-align:left}
.wf-credit-dialog.wf-credit-prompt{width:min(370px,calc(100% - 40px));padding:28px;border-radius:14px;border-color:#e5dfd5;background:#fffdf9;box-shadow:0 16px 60px #28231c26}
.wf-credit-prompt .wf-modal-head{margin:0 0 12px;gap:14px}
.wf-credit-dialog .wf-modal-close{border:0;background:transparent;cursor:pointer;border-radius:6px}
.wf-credit-dialog .wf-modal-close:focus:not(:focus-visible){outline:none}
.wf-credit-dialog .wf-modal-close:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.wf-credit-prompt .wf-modal-close{font-size:23px;line-height:1;width:28px;height:28px;flex-shrink:0;color:#8a857b}
.wf-credit-dialog.wf-credit-prompt h2{font:500 22px/1.5 var(--serif)}
.wf-credit-dialog.wf-credit-prompt .wf-reading-note{font:14px/1.85 var(--sans);color:#777169;margin:0}
.wf-credit-prompt .wf-credit-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:26px}
.wf-credit-dialog.wf-credit-prompt .lot-act{font-size:14px;letter-spacing:0;padding:10px 16px;min-height:40px;border-radius:7px}
.wf-credit-prompt .lot-act-ghost-light{border:0;background:none;box-shadow:none;color:#777169;padding-inline:0}
.wf-credit-prompt .lot-act-primary{background:var(--accent);color:#fffdf8;box-shadow:none}
@media(max-width:520px){
  .lot-premium-wrap .lot-premium{padding:22px 18px 14px}
  .lot-premium-wrap .lot-premium h2{font-size:21px;margin-bottom:10px}
  .lot-premium-wrap .lot-premium-foot{flex-direction:column;align-items:stretch;gap:8px}
  .lot-premium-wrap .lot-premium-foot .wf-reading-balance{align-self:flex-start;text-align:start;order:1}
  .lot-premium-wrap .lot-premium-submit{width:100%;padding-inline:12px;order:2}
  .lot-premium-wrap .wf-reading-followup-hint{order:3;align-self:flex-end;margin:0}
  .lot-premium-wrap .lot-premium > .wf-reading-disclaimer{font-size:12px;margin-top:12px!important}
}

/* 签文徽记与标题对齐，沿用原站金棕色。 */
.lot-premium-wrap .lot-premium .wf-reading-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-weight: 700;
}
.wf-reading-emblem{width:40px;height:40px;flex:0 0 40px;object-fit:contain}
.lot-premium-wrap .lot-premium .wf-reading-recharge{color:var(--accent);transition:color .15s ease;text-underline-offset:4px}
.lot-premium-wrap .lot-premium .wf-reading-balance:hover .wf-reading-recharge,
.lot-premium-wrap .lot-premium .wf-reading-balance:focus-visible .wf-reading-recharge{color:#523817;text-decoration:underline}
.lot-premium-wrap .lot-premium .wf-reading-balance:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:3px}
@media(prefers-reduced-motion:reduce){.lot-premium-wrap .lot-premium .wf-reading-recharge{transition:none}}

/* 作图生成的水墨边角：保留笔触，不再使用几何线稿。 */
.lot-premium-wrap .lot-premium{isolation:isolate;position:relative;overflow:hidden}
.lot-premium-wrap .lot-premium::before{
  content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:100px;pointer-events:none;
  background:url('/assets/reading-mountain-lines-v4.png') right bottom / 100% 220px no-repeat;
  opacity:.38;
}
.lot-premium-wrap .lot-premium::after{content:none}
@media(max-width:520px){
  .lot-premium-wrap .lot-premium::before{height:70px;background-size:100% 150px;opacity:.24}
}

.wf-credit-dialog {
  scrollbar-width: thin;
  scrollbar-color: #bdad94 transparent;
}
.wf-credit-plans { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.wf-credit-option { position: relative; min-width: 0; }
.wf-credit-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wf-credit-option .wf-credit-plan { position: relative; padding-top: 24px; gap: 5px; }
.wf-credit-option input:checked + .wf-credit-plan { border-color: var(--accent); background: #f2e7d4; }
.wf-credit-option input:focus-visible + .wf-credit-plan { outline: 2px solid var(--accent); outline-offset: 2px; }
.wf-credit-recommend { position: absolute; top: 4px; right: 6px; font-size: 11px; color: var(--gold-deep); }
.wf-credit-dialog .wf-credit-buy { width: 100%; margin-top: 14px; }
table.wf-credit-tasks { display: table; width: 100%; border-collapse: collapse; font-size: 13px; }
.wf-credit-tasks th, .wf-credit-tasks td { padding: 8px 4px; text-align: left; }
.wf-credit-tasks th { font-weight: 500; border-bottom: 1px solid var(--card-edge); }
.wf-credit-tasks th:not(:first-child), .wf-credit-tasks td:not(:first-child) { text-align: center; white-space: nowrap; }
.wf-credit-task-link { display: inline-block; padding: 2px 9px; border: 1px solid var(--card-edge); border-radius: 5px; color: var(--gold-deep); text-decoration: none; }
.wf-credit-task-link:hover { background: #f2e7d4; }

html.wf-credit-open,
html.wf-credit-open body { overflow: hidden; }
html.wf-credit-open { scrollbar-gutter: stable; }
.wf-credit-dialog { overscroll-behavior: contain; }
.wf-credit-dialog .wf-credit-plans { margin-top: 28px; }
.wf-credit-option .wf-credit-plan { min-height: 122px; justify-content: center; padding: 22px 6px; gap: 9px; }
.wf-credit-option .wf-credit-plan {
  display: grid;
  grid-template-rows: auto auto 20px;
  justify-items: center;
}
.wf-credit-plan .wf-credit-recommend {
  position: static;
  align-self: center;
  padding: 1px 8px;
  border-radius: 999px;
  background: #eadcc3;
  color: #674b28;
  font-size: 11px;
  white-space: nowrap;
}
.wf-credit-dialog:focus { outline: none; }
.wf-credit-dialog .wf-credit-buy { margin-top: 20px; }
.wf-credit-dialog .wf-credit-task-title { font: 500 14px/1.6 var(--sans); color: var(--ink-soft); margin: 30px 0 6px; }
.wf-credit-task-link { border: 0; padding: 2px 0; border-radius: 0; }
.wf-credit-dialog .wf-credit-task-link:hover,
.wf-credit-dialog .wf-credit-task-link:focus-visible { color: #674b28; background: transparent; text-decoration: underline; }
.lot-premium-wrap .lot-premium-submit:disabled {
  background: #ded9d0;
  color: #6f685f;
  cursor: not-allowed;
}


.wf-credit-task-completed {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.wf-credit-tasks th:last-child,
.wf-credit-tasks td:last-child {
  text-align: right;
  padding-inline-end: 0;
  width: 28%;
}
.wf-credit-task-check {
  position: absolute;
  inset-inline-end: calc(100% + 5px);
  top: 50%;
  transform: translateY(-50%);
  color: #52704a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.lot-premium-wrap .wf-reading-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 10px 0 14px;
  border: 0;
}
.lot-premium-wrap .wf-reading-gate p {
  flex: 1 1 240px;
  margin: 0;
}
.lot-premium-wrap .wf-reading-gate .lot-act { margin: 0; }
.wf-credit-dialog.wf-reading-draw-prompt .wf-credit-actions { margin-top: 20px; }
.wf-credit-dialog.wf-reading-draw-prompt .lot-act-primary { width: 100%; }

.lot-premium-wrap .lot-premium.wf-reading-draw-card {
  background: linear-gradient(120deg, #443329, #634b37);
  border-color: #7c6045;
}
.lot-premium-wrap .wf-reading-draw-card::before {
  filter: brightness(0) invert(1);
  opacity: .14;
}
.lot-premium-wrap .wf-reading-draw-card .wf-reading-heading { color: #ffedcf; }
.lot-premium-wrap .wf-reading-draw-card .wf-reading-gate p { color: #f1e4d3; }
.lot-premium-wrap .wf-reading-draw-card .wf-reading-gate .lot-act-primary {
  background: #ead4ad;
  border-color: #ead4ad;
  color: #3e2b20;
}
.lot-premium-wrap .wf-reading-draw-card .wf-reading-gate .lot-act-primary:hover {
  background: #f8e6c6;
  border-color: #f8e6c6;
}

.lot-premium-wrap .wf-reading-draw-card > .wf-reading-intro,
.lot-premium-wrap .wf-reading-draw-card .lot-chips legend,
.lot-premium-wrap .wf-reading-draw-card .lot-field,
.lot-premium-wrap .wf-reading-draw-card .wf-reading-message {
  color: #f1e4d3;
}
.lot-premium-wrap .wf-reading-draw-card .wf-reading-optional,
.lot-premium-wrap .wf-reading-draw-card > .wf-reading-disclaimer,
.lot-premium-wrap .wf-reading-draw-card .wf-reading-balance {
  color: #d9c6b2;
}
.lot-premium-wrap .wf-reading-draw-card .wf-reading-balance b,
.lot-premium-wrap .wf-reading-draw-card .wf-reading-recharge,
.lot-premium-wrap .wf-reading-draw-card .wf-reading-message h3 {
  color: #ffedcf;
}
.lot-premium-wrap .wf-reading-draw-card .wf-reading-balance:hover .wf-reading-recharge,
.lot-premium-wrap .wf-reading-draw-card .wf-reading-balance:focus-visible .wf-reading-recharge {
  color: #fff8e9;
}
.lot-premium-wrap .wf-reading-draw-card:not(:has(.wf-reading-turn)) > .wf-reading-intro {
  max-width: none;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(234, 212, 173, .15);
}
.lot-premium-wrap .wf-reading-draw-card .lot-chips .wf-reading-topic {
  background: rgba(255, 248, 236, .06);
  border-color: rgba(234, 212, 173, .3);
  color: #f1e4d3;
}
.lot-premium-wrap .wf-reading-draw-card .lot-chips .wf-reading-topic:hover {
  background: rgba(255, 248, 236, .12);
  border-color: rgba(248, 230, 198, .65);
}
.lot-premium-wrap .wf-reading-draw-card .lot-chips .wf-reading-topic[aria-pressed="true"],
.lot-premium-wrap .wf-reading-draw-card .lot-premium-submit:enabled {
  background: #ead4ad;
  border-color: #ead4ad;
  color: #3e2b20;
}
.lot-premium-wrap .wf-reading-draw-card .lot-premium-submit:enabled:hover { background: #f8e6c6; border-color: #f8e6c6; }
.lot-premium-wrap .wf-reading-draw-card .lot-premium-submit:disabled {
  background: #6c5a4a;
  border: 1px solid rgba(234, 212, 173, .24);
  color: rgba(255, 244, 224, .82);
}
.lot-premium-wrap .wf-reading-draw-card .lot-form textarea {
  background: #fbf6ed;
  border-color: #d6bda0;
}
.lot-premium-wrap .wf-reading-draw-card .lot-form textarea::placeholder { color: #736457; }
.lot-premium-wrap .wf-reading-draw-card .lot-form textarea:focus-visible { outline-color: #ead4ad; }
.lot-premium-wrap .wf-reading-draw-card .wf-reading-message { border-color: #ffffff30; }

.wf-reading-messages:not(:empty) {
  display: grid;
  gap: 22px;
  max-height: min(640px, 72dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c8b69d transparent;
  margin: 16px 0 18px;
  padding: 22px 24px;
  background: rgba(251, 246, 237, .94);
  border: 1px solid #ddcbb4;
  border-radius: 12px;
}
.wf-reading-turn {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.wf-reading-turn + .wf-reading-turn {
  padding-top: 22px;
  border-top: 1px solid rgba(113, 89, 64, .14);
}
.lot-premium-wrap .wf-reading-turn .wf-reading-message {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #36281e;
}
.lot-premium-wrap .wf-reading-turn .wf-reading-message.is-user {
  justify-self: end;
  box-sizing: border-box;
  max-width: 84%;
  padding: 10px 15px;
  background: #5b4330;
  color: #fff7ea;
  border-radius: 12px 12px 3px 12px;
  box-shadow: 0 2px 8px -3px rgba(45, 32, 20, .25);
}
.lot-premium-wrap .wf-reading-turn .wf-reading-message h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: #7c5f3d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.3;
}
.lot-premium-wrap .wf-reading-turn .wf-reading-message h3::before {
  content: "";
  width: 4.5px;
  height: 4.5px;
  flex: none;
  background: #b08b55;
  transform: rotate(45deg);
}
.lot-premium-wrap .wf-reading-turn .wf-reading-message p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
}
.lot-premium-wrap .wf-reading-turn .wf-reading-message p + p { margin-top: 12px; }
.lot-premium-wrap .wf-reading-turn .is-user p {
  color: #fff7ea;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}
.wf-reading-q-topic {
  display: inline-block;
  margin-inline-end: 7px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(234, 212, 173, .22);
  color: #f4dfb9;
  font-size: 12px;
  line-height: 1.45;
  vertical-align: 1px;
}
.wf-reading-turn .is-pending p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #715940;
}
.wf-reading-turn .is-pending p::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b7647;
  animation: wf-reading-pulse 1.3s ease-in-out infinite alternate;
}
@keyframes wf-reading-pulse { to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .wf-reading-turn .is-pending p::before { animation: none; }
}

.lot-premium-wrap .lot-form.is-followup {
  gap: 12px;
}
.lot-premium-wrap .lot-form.is-followup .lot-field {
  gap: 0;
}
.lot-premium-wrap .lot-form.is-followup textarea {
  min-height: 60px;
  max-height: 200px;
  padding: 12px 16px 26px;
  font-size: 15px;
  line-height: 1.7;
  overflow-y: auto;
}
.lot-premium-wrap .lot-field {
  position: relative;
}
.wf-reading-char-count {
  position: absolute;
  right: 16px;
  bottom: 7px;
  font: 11.5px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: #9c8f80;
  pointer-events: none;
}
.wf-reading-char-count.is-limit {
  color: #b46d2c;
  font-weight: 600;
}
.wf-reading-followup-hint {
  margin-inline-start: auto;
  margin-inline-end: 10px;
  font: 12px/1.4 var(--sans);
  color: #d9c6b2;
  white-space: nowrap;
}
.wf-reading-limit-note {
  margin: 4px 0 0;
  font: 13px/1.6 var(--sans);
  color: #e3d1bc;
}

.lot-premium-wrap .lot-premium:has(.wf-reading-turn) {
  padding: 28px 30px 20px;
}
.lot-premium-wrap .lot-premium:has(.wf-reading-turn) .wf-reading-heading {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.lot-premium-wrap .lot-premium:has(.wf-reading-turn) > .wf-reading-intro {
  margin-bottom: 14px !important;
  line-height: 1.7;
}
.lot-premium-wrap .lot-premium:has(.wf-reading-turn) > .wf-reading-disclaimer {
  margin-top: 12px !important;
}
.lot-premium-wrap .lot-premium:has(.wf-reading-turn) .wf-reading-emblem {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.lot-premium-wrap .wf-reading-messages:not(:empty) ~ .wf-reading-gate {
  padding-block: 2px 5px;
}
.lot-premium-wrap .wf-reading-messages:not(:empty) ~ .wf-reading-gate p {
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 520px) {
  .lot-premium-wrap .lot-premium:has(.wf-reading-turn) { padding: 22px 18px 16px; }
  .wf-reading-messages:not(:empty) { gap: 18px; padding: 18px 16px; max-height: min(520px, 66dvh); }
  .wf-reading-turn + .wf-reading-turn { padding-top: 18px; }
  .lot-premium-wrap .wf-reading-turn .wf-reading-message p { font-size: 15px; line-height: 1.8; }
  .lot-premium-wrap .wf-reading-turn .wf-reading-message.is-user { max-width: 92%; }
}

.lot-history-item.wf-history-with-reading {
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 10px;
}
.wf-history-with-reading .lot-history-link {
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 9px 9px 0 0;
}
.wf-history-with-reading .lot-history-date { flex-wrap: wrap; }
.wf-history-with-reading .lot-history-date .lot-level { white-space: nowrap; }
.wf-history-with-reading .lot-history-link:hover { box-shadow: none; }
.lot-history-item.wf-history-with-reading:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--gold) 60%, var(--card-edge));
  box-shadow: 0 6px 16px -10px rgba(42, 37, 32, .35);
}
.wf-history-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  padding: 0 16px 12px;
}
.wf-history-footer .wf-history-reading {
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eee1cc;
  color: #674b28;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
}
.wf-history-footer .wf-history-reading:is(:hover, :focus-visible) {
  background: #e2cba6;
  color: #503719;
}

.wf-credits-page h1 { font-family: var(--serif); }
.wf-credit-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 12px;
  background: #49372a;
  color: #fff0da;
}
.wf-credit-overview strong { display: block; font-size: 34px; line-height: 1.2; }
.wf-credit-overview .lot-act { background: #ead4ad; color: #3e2b20; }
.wf-credit-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin-top: 24px; }
.wf-credit-detail-grid section { padding: 16px; background: var(--card); border: 1px solid var(--card-edge); border-radius: 10px; }
.wf-credit-detail-grid h2 { margin: 0 0 8px; font: 600 17px var(--serif); }
.wf-credit-detail-grid ul { list-style: none; padding: 0; margin: 0; }
.wf-credit-detail-grid li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--paper-line); }
.wf-credit-empty { color: var(--ink-soft); }

.wf-credit-menu-label {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.account-action:has(.wf-credit-menu-label) svg { flex-shrink: 0; }
.lot-page.wf-credits-page { max-width: 960px; }
.wf-credit-detail-grid { display: block; background: var(--card); border: 1px solid var(--card-edge); border-radius: 10px; }
.wf-credit-detail-grid section { background: transparent; border: 0; }
.wf-credit-detail-grid li { padding: 12px 0; }
.wf-credit-detail-grid li:first-child { border-top: 0; }
.wf-credit-detail-grid strong { font-variant-numeric: tabular-nums; }
.wf-credit-tabs { display: flex; gap: 20px; padding-inline: 16px; border-bottom: 1px solid var(--paper-line); }
.wf-credit-tabs button { padding: 12px 0 10px; font: 500 14px var(--sans); color: var(--ink-soft); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.wf-credit-tabs button[aria-selected="true"] { color: var(--gold-deep); border-color: currentColor; }

.wf-credit-entry-date { display: block; font-size: 12px; color: var(--ink-soft); }

.wf-credits-top { display: grid; grid-template-columns: minmax(155px, 1fr) 2fr; gap: 16px; }
.wf-credit-overview { background: #f0e3cc; color: #533c29; border: 1px solid #dfcbae; }
.wf-credits-page h2 { margin: 0 0 10px; font: 600 18px var(--serif); }
.wf-credits-tasks, .wf-credits-recharge, .wf-credits-ledger {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 10px;
}
.wf-credits-recharge, .wf-credits-ledger { margin-top: 16px; }
.wf-credits-tasks ul { margin: 0; padding: 0; list-style: none; }
.wf-credits-tasks li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.wf-credits-reward { color: var(--ink-soft); }
.wf-credits-done, .wf-credits-ledger .wf-credits-positive { color: #4d6546; }
.wf-credits-recharge .wf-credit-plan:hover { background: #f0e3cc; }
.wf-credits-ledger table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.wf-credits-ledger th, .wf-credits-ledger td { padding: 10px 6px; border-bottom: 1px solid var(--paper-line); text-align: start; }
.wf-credits-ledger th { color: var(--ink-soft); font-weight: 600; }
.wf-credits-ledger :is(th, td):nth-last-child(-n+2) { text-align: end; }
.wf-credits-ledger :is(th, td):last-child { padding-inline-end: 0; }
.wf-credits-ledger tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .wf-credits-top { grid-template-columns: 1fr; }
  .wf-credits-ledger table { font-size: 12px; }
}

/* 积分页：余额、获取入口、变动流水依次展开。 */
.wf-credits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 16px 0 32px;
  padding: clamp(20px, 4vw, 38px);
  border-radius: 16px;
  color: #fff0d9;
  background:
    linear-gradient(95deg, #38291ff5 22%, #533c2bcc),
    url('/assets/reading-mountain-lines-v4.png') right bottom / min(76%, 640px) auto no-repeat,
    #503a2b;
}
.wf-credits-header h1 { margin: 0 0 9px; font-size: clamp(25px, 4vw, 34px); line-height: 1.2; }
.wf-credits-identity { min-width: 0; }
.wf-credits-account { display: flex; flex-wrap: wrap; gap: 3px 12px; color: #e4ceb5; font-size: 13px; overflow-wrap: anywhere; }
.wf-credits-account strong { color: #fff0d9; }
.wf-credits-balance { display: grid; gap: 3px; text-align: end; color: #e4ceb5; font-size: 13px; }
.wf-credits-balance strong { color: #fff0d9; font: 600 clamp(36px, 6vw, 56px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.wf-credits-account[hidden], .wf-credits-balance[hidden] { display: none; }
.wf-credits-page .wf-credits-earn > h2,
.wf-credits-page .wf-credits-ledger > h2 { margin-bottom: 14px; font-size: 22px; }
.wf-credits-earn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 14px; }
.wf-credits-earn h3 { margin: 0 0 12px; color: #725332; font-size: 15px; }
.wf-credits-earn .wf-credits-tasks,
.wf-credits-earn .wf-credits-recharge { margin: 0; padding: 16px; }
.wf-credits-earn .wf-credits-recharge { background: #f2e6d3; border-color: #e0cdb0; }
.wf-credits-earn .wf-credits-tasks li { padding: 9px 0; border-bottom: 1px solid var(--paper-line); }
.wf-credits-earn .wf-credits-tasks li:last-child { border-bottom: 0; }
.wf-credits-earn .wf-credits-tasks li > :last-child { white-space: nowrap; }
.wf-credits-earn .wf-credit-plans { gap: 8px; }
.wf-credits-recharge .wf-credits-offer,
.wf-credits-recharge .wf-credits-offer:hover {
  padding: 11px 4px 9px;
  gap: 9px;
  min-width: 0;
  background: #fffcf6b8;
  border-color: #e0cdb0;
  cursor: default;
}
.wf-credits-quantity { display: flex; gap: 3px; align-items: baseline; color: #725332; font-size: 12px; }
.wf-credits-quantity strong { font-size: clamp(19px, 3vw, 26px); line-height: 1; }
.wf-credits-offer .lot-act { white-space: nowrap; font-size: 12px; padding: 5px 8px; letter-spacing: 0; }
.wf-credits-page .wf-credits-ledger { margin-top: 28px; padding: 18px; }
.wf-credits-ledger th { background: #eee4d5; }
.wf-credits-ledger th, .wf-credits-ledger td { padding: 10px 8px; }
.wf-credits-ledger :is(th, td):first-child { padding-inline-start: clamp(12px, 2.5vw, 24px); }
.wf-credits-ledger :is(th, td):last-child { padding-inline-end: clamp(12px, 2.5vw, 24px); }
.wf-credits-ledger time { white-space: nowrap; color: var(--ink-soft); }
.wf-credits-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 12px; color: var(--ink-soft); font-size: 13px; }
.wf-credits-pagination button { border: 1px solid var(--card-edge); border-radius: 6px; background: transparent; color: var(--gold-deep); padding: 6px 10px; cursor: pointer; }
.wf-credits-pagination button:disabled { opacity: .45; cursor: default; }
@media (max-width: 680px) {
  .wf-credits-earn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .wf-credits-tasks li { gap: 6px; }
  .wf-credits-page .wf-credits-ledger { padding: 12px; }
  .wf-credits-ledger th, .wf-credits-ledger td { padding-inline: 4px; }
}

.wf-credits-account { align-items: center; gap: 14px; }
.wf-credits-account [data-credit-name] { font-size: 19px; line-height: 1.35; }
.wf-credits-account [data-credit-email] { display: block; }
.wf-credits-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  height: 50px;
  border-radius: 50%;
  background: #ead4ad;
  color: #49372a;
  font: 600 24px var(--serif);
}
.wf-credits-balance { display: flex; align-items: baseline; }
.wf-credits-earn .wf-credits-tasks li {
  grid-template-columns: minmax(0, 1fr) 4em 5em;
  min-height: 43px;
  padding: 8px 0;
}
.wf-credits-tasks .wf-credits-reward { text-align: end; }

.wf-credits-recharge button.wf-credits-offer { cursor: pointer; }
.wf-credits-recharge button.wf-credits-offer:hover { background: #f0e3cc; border-color: var(--accent); }
.wf-credits-page .wf-credits-ledger { padding: 0; border: 0; background: none; }
.wf-credits-ledger-card { width: 100%; }
.wf-credits-ledger th:first-child { border-radius: 8px 0 0 8px; }
.wf-credits-ledger th:last-child { border-radius: 0 8px 8px 0; }
.wf-credits-pagination { flex-wrap: wrap; }
.wf-credits-pagination form { display: flex; align-items: center; gap: 6px; margin: 0; }
.wf-credits-pagination input { width: 4em; padding: 5px; border: 1px solid var(--card-edge); border-radius: 5px; background: var(--card); color: var(--ink); }

.wf-credits-header[hidden], .wf-credits-pagination[hidden] { display: none; }
.wf-credits-page [data-credit-guest]:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 48px auto;
  max-width: 420px;
  padding: 36px 24px;
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
}
.wf-credits-page [data-credit-guest] p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.wf-credits-tasks li > :last-child {
  justify-self: end;
  text-align: end;
  line-height: 1.5;
}
.wf-credits-tasks .wf-credit-task-link { padding: 0; }
.wf-credits-tasks .wf-credit-task-link:hover,
.wf-credits-tasks .wf-credit-task-link:focus-visible {
  background: transparent;
  color: #674b28;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 卡宽沿用原桌面布局：(800px - 40px 页边距 - 24px 列间距) / 3。 */
.lot-page.lot-history-page {
  --history-card-width: calc(736px / 3);
  max-width: calc(4 * var(--history-card-width) + 36px + 40px);
}
.lot-history-page .lot-history-list {
  grid-template-columns: repeat(auto-fill, var(--history-card-width));
}
@media (max-width: 720px) {
  .lot-history-page .lot-history-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .wf-credits-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    gap: 12px;
    padding: 16px;
  }
  .wf-credits-account { flex-wrap: nowrap; gap: 9px; font-size: 12px; }
  .wf-credits-account [data-credit-name] { font-size: 16px; }
  .wf-credits-avatar { flex-basis: 40px; height: 40px; font-size: 20px; }
  .wf-credits-balance { justify-content: flex-end; white-space: nowrap; font-size: 12px; }
  .wf-credits-balance strong { font-size: clamp(26px, 8vw, 36px); }
  .wf-history-footer { padding: 0 10px 10px; gap: 4px; flex-wrap: wrap; }
  .wf-history-footer .wf-history-reading { margin-inline-start: auto; padding-inline: 6px; }
}
/* 积分功能启用时，暂时隐藏随喜添香的悬浮入口。 */
#wf-creator-support { display: none; }

/* 每日任务：桌面端右侧贴边书签抽屉，手机端右侧小耳签 + 底部轻抽屉。 */
.wf-daily-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(42, 37, 32, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.wf-daily-backdrop.is-active {
  display: none;
}

.wf-daily-widget {
  --wf-daily-drawer-w: 236px;
}
/* 登录状态确定前不显示：否则游客提示先撑高面板（书签随之拉长），确认已登录后再收缩，刷新时出现「由长变短」 */
.wf-daily-widget:not(.is-ready) { visibility: hidden; }

@media (min-width: 721px) {
  .wf-daily-widget {
    position: fixed;
    z-index: 16;
    right: 0;
    top: clamp(144px, 27dvh, 250px);
    display: flex;
    align-items: stretch;
    transform: translateX(var(--wf-daily-drawer-w));
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }
  .wf-daily-widget[data-open="true"] {
    transform: translateX(0);
  }
  .wf-daily-widget[data-open="false"] .wf-daily-tab:hover .wf-daily-tab-arrow {
    transform: translateX(-2px);
  }
}

.wf-daily-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 38px;
  flex: none;
  padding: 12px 5px 11px;
  border: 1px solid rgba(234, 212, 173, .35);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #6b5038 0%, #523b28 100%);
  color: #fff4e0;
  box-shadow: -3px 8px 20px -8px rgba(42, 30, 19, .34);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.wf-daily-tab:hover {
  background: linear-gradient(180deg, #75583e 0%, #5b422d 100%);
}
.wf-daily-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.wf-daily-tab-arrow {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: rgba(255, 240, 214, .75);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
.wf-daily-tab-icon {
  display: none;
  position: relative;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #f5dfb9;
}
.wf-daily-widget[data-open="true"] .wf-daily-tab-arrow {
  transform: rotate(180deg);
}
.wf-daily-tab-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  user-select: none;
}
.wf-daily-label-short { display: none; }
.wf-daily-tab-badge {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  padding-top: 7px;
  font: 500 11px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.wf-daily-tab-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(242, 224, 191, .32);
}
.wf-daily-badge-done {
  color: #f7e3be;
  font-weight: 600;
}
.wf-daily-badge-total {
  color: rgba(247, 227, 190, .55);
  font-size: 10px;
}
.wf-daily-badge-check {
  color: #4b7347;
  font-size: 12px;
  font-weight: 700;
}
.wf-daily-widget.is-all-done .wf-daily-tab-badge::before {
  background: rgba(139, 111, 71, .22);
}
.wf-daily-widget.has-pending .wf-daily-tab::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5247;
  box-shadow: 0 0 0 1.5px rgba(255, 246, 232, .92);
}
.wf-daily-widget.has-pending[data-open="false"] .wf-daily-tab::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 102, 92, .72);
  animation: wf-daily-ping 2.2s ease-out 3;
  pointer-events: none;
}
@keyframes wf-daily-ping {
  0% { transform: scale(1); opacity: .75; }
  80%, 100% { transform: scale(2.5); opacity: 0; }
}

.wf-daily-widget.is-all-done .wf-daily-tab {
  background: linear-gradient(180deg, #f8f1e4 0%, #efe5d3 100%);
  border-color: #d9c8ae;
  color: #6f5638;
  box-shadow: -3px 6px 16px -8px rgba(42, 31, 20, .18);
}
.wf-daily-widget.is-all-done .wf-daily-tab-arrow {
  color: #8b6f47;
}
.wf-daily-widget.is-all-done .wf-daily-tab-icon {
  color: #8b6f47;
}

.wf-daily-panel {
  width: var(--wf-daily-drawer-w);
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #dfd0ba;
  border-right: 0;
  border-radius: 0;
  background: #fffcf6;
  box-shadow: -6px 12px 28px -12px rgba(42, 31, 20, .2);
  overflow: hidden;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.wf-daily-widget[data-open="false"] .wf-daily-panel {
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .32s;
}
.wf-daily-sheet-handle { display: none; }

.wf-daily-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 8px 16px;
}
.wf-daily-head strong {
  font: 600 15px/1.3 var(--serif);
  color: var(--ink);
  letter-spacing: .04em;
}
.wf-daily-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8b7e70;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.wf-daily-close:hover {
  background: rgba(139, 111, 71, .1);
  color: var(--ink);
}
.wf-daily-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wf-daily-list {
  display: grid;
  margin: 0;
  padding: 6px 16px;
  list-style: none;
}
.wf-daily-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.wf-daily-list li + li {
  border-top: 1px solid rgba(42, 37, 32, .07);
}
.wf-daily-item-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.wf-daily-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.wf-daily-item-reward {
  font-size: 12px;
  line-height: 1.35;
  color: #9a7a4a;
}
.wf-daily-list li.is-complete .wf-daily-item-name {
  color: var(--ink-soft);
}
.wf-daily-list li.is-complete .wf-daily-item-reward {
  color: #a89b8a;
}

.wf-daily-cta,
.wf-daily-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-sizing: border-box;
  min-width: 66px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font: 500 12px/1 var(--sans);
  white-space: nowrap;
}
.wf-daily-cta {
  border: 0;
  background: var(--accent);
  color: #fffdf8;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease;
}
.wf-daily-cta:hover {
  background: #735a37;
  color: #fffdf8;
}
.wf-daily-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.wf-daily-done {
  background: #ece7de;
  color: #8a8175;
}
.wf-daily-guest-note {
  margin: 0;
  padding: 0 16px 12px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #9b8e7e;
}

html.wf-credit-open .wf-daily-widget,
html.wf-modal-open .wf-daily-widget,
body.wf-modal-open .wf-daily-widget,
html.wf-credit-open .wf-daily-backdrop,
html.wf-modal-open .wf-daily-backdrop,
body.wf-modal-open .wf-daily-backdrop {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 720px) {
  .wf-daily-backdrop {
    z-index: 59;
  }
  .wf-daily-backdrop.is-active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .wf-daily-widget,
  .wf-daily-widget[data-open="true"] {
    position: static;
    transform: none;
    transition: none;
  }
  .wf-daily-tab {
    position: fixed;
    z-index: 25;
    right: 0;
    top: auto;
    bottom: clamp(86px, 16dvh, 150px);
    width: 40px;
    padding: 11px 6px 10px;
    gap: 5px;
    border-radius: 12px 0 0 12px;
    box-shadow: -3px 6px 18px -5px rgba(42, 30, 19, .38), inset 1px 1px 0 rgba(255, 240, 214, .16);
    transition: transform .26s cubic-bezier(.22, 1, .36, 1), opacity .22s ease;
  }
  .wf-daily-widget[data-open="true"] .wf-daily-tab {
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
  }
  .wf-daily-tab-arrow { display: none; }
  .wf-daily-tab-icon { display: grid; }
  .wf-daily-label-full { display: none; }
  .wf-daily-label-short { display: inline; }
  .wf-daily-tab-label {
    font-size: 12px;
    letter-spacing: .16em;
  }
  .wf-daily-tab-badge {
    padding-top: 6px;
    font-size: 10.5px;
  }
  .wf-daily-panel {
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    max-width: 420px;
    margin-inline: auto;
    border-right: 1px solid #d9c8ae;
    border-radius: 16px;
    box-shadow: 0 -6px 28px -8px rgba(42, 31, 20, .28), 0 10px 26px -10px rgba(42, 31, 20, .22);
    transform: translateY(0);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear 0s;
  }
  .wf-daily-widget[data-open="false"] .wf-daily-panel {
    transform: translateY(calc(100% + 28px));
    transition: transform .24s ease, visibility 0s linear .24s;
  }
  .wf-daily-sheet-handle {
    display: block;
    width: 34px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: #d8cab3;
  }
  .wf-daily-head {
    display: flex;
    padding: 8px 14px 4px 16px;
  }
  .wf-daily-list {
    padding: 2px 16px 8px;
  }
  .wf-daily-list li {
    padding: 11px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-daily-widget,
  .wf-daily-tab,
  .wf-daily-tab-arrow,
  .wf-daily-panel,
  .wf-daily-backdrop {
    transition: none;
    animation: none;
  }
  .wf-daily-widget.has-pending[data-open="false"] .wf-daily-tab::after {
    animation: none;
  }
}

/* ── 2026-11-29 整体放宽信息密度（香火页） ── */
.wf-credits-header { margin: 20px 0 44px; }
.wf-credits-page .wf-credits-earn > h2,
.wf-credits-page .wf-credits-ledger > h2 { margin-bottom: 20px; }
.wf-credits-earn-grid { gap: 20px; }
.wf-credits-earn h3 { margin-bottom: 16px; }
.wf-credits-earn .wf-credits-tasks,
.wf-credits-earn .wf-credits-recharge { padding: 22px 24px; }
.wf-credits-earn .wf-credits-tasks li { padding: 14px 0; font-size: 15px; }
.wf-credits-earn .wf-credit-plans { gap: 12px; }
.wf-credits-recharge .wf-credits-offer,
.wf-credits-recharge .wf-credits-offer:hover { padding: 16px 6px 14px; gap: 12px; }
.wf-credits-page .wf-credits-ledger { margin-top: 44px; }
.wf-credits-ledger table { font-size: 15px; }
.wf-credits-ledger th, .wf-credits-ledger td { padding-block: 15px; }
.wf-credits-ledger th { padding-block: 12px; font-size: 14px; }
.wf-credits-pagination { margin-top: 20px; }
@media (max-width: 560px) {
  .wf-credits-ledger table { font-size: 13.5px; }
  .wf-credits-ledger th, .wf-credits-ledger td { padding-block: 13px; }
  .wf-credits-earn .wf-credits-tasks,
  .wf-credits-earn .wf-credits-recharge { padding: 18px; }
}

.wf-credits-avatar.has-image { background-size: cover; background-position: center; color: transparent; }
.wf-credits-ledger thead th { border-bottom: 0; }
.wf-credits-avatar { box-shadow: 0 0 0 2px rgba(255, 240, 218, .28), 0 0 0 5px rgba(255, 240, 218, .08); }
