/* 回首页 / 历史作品 */
.home-btn{
  width:32px;height:32px;border-radius:10px;border:1px solid #2c3543;
  background:#141922;color:#8b93a3;font-size:15px;line-height:1;cursor:pointer;
  margin-right:auto;margin-left:-4px;flex:0 0 auto;
}
.home-btn:active{background:#1d2530}
.bar .bar-title{margin-left:6px;margin-right:auto}

/* 首页历史入口 */
.history-entry{
  display:flex;align-items:center;gap:10px;width:100%;
  margin-top:14px;padding:13px 16px;border-radius:14px;
  background:var(--card);border:1px solid var(--line);
  color:var(--text);font-size:14px;cursor:pointer;
}
.he-icon{color:var(--accent);font-size:15px}
.he-text{flex:1;text-align:left}
.he-arrow{color:#5d6675;font-size:18px}
.history-entry:active{background:#1d2530}

/* 历史筛选 */
.hist-filter{display:flex;align-items:center;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.hist-filter .txt{padding:8px 10px;font-size:12.5px;flex:1;min-width:110px}
.hf-sep{color:#5d6675}

/* 历史列表 */
.hist-list{display:flex;flex-direction:column;gap:10px;padding-bottom:20px}
.hist-item{
  display:flex;gap:12px;padding:10px;border-radius:14px;
  background:var(--card);border:1px solid var(--line);cursor:pointer;
}
.hist-item:active{background:#1d2530}
.hist-thumb{
  width:64px;height:84px;border-radius:10px;flex:0 0 64px;
  background:linear-gradient(150deg,#243043,#141a24);
  background-size:cover;background-position:center;
}
.hist-body{flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.hist-title{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hist-meta{font-size:11.5px;color:var(--dim)}
.hist-hook{font-size:11.5px;color:#6f7a8d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hist-empty{color:#5d6675;font-size:13px;text-align:center;padding:40px 0}

/* 确认弹窗 */
.confirm-box{padding:24px 20px calc(env(safe-area-inset-bottom) + 20px)}
.cf-row{display:flex;gap:10px;margin-top:20px}
.cf-cancel,.cf-ok{
  flex:1;padding:13px;border-radius:12px;font-size:14.5px;cursor:pointer;
}
.cf-cancel{background:var(--card2);border:1px solid var(--line);color:var(--text)}
.cf-ok{background:#c0392b;border:none;color:#fff;font-weight:600}
