/* 中樞確認完回到原頁接續的那一行（hub-resume.js；claude-stepupweb-20261123）。跟 #toast 同一套顏色，放在下方（不蓋頁面標題，〔取消〕在拇指搆得到的地方）；
   用 popover 放進最上層，原頁開著對話框（新增電腦）也看得到；那一行在的時候 #toast 往上讓。 */
.hr-bar,.hr-bar[popover]{position:fixed;z-index:30;inset:auto;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 12px);left:50%;transform:translateX(-50%);margin:0;border:0;width:max-content;max-width:min(560px,calc(100vw - 32px));
 display:flex;align-items:center;gap:10px;padding:10px 10px 10px 16px;border-radius:14px;background:var(--accent);color:var(--inverse);font-size:14px;line-height:1.55;
 box-shadow:0 4px 24px #0003;overflow:hidden;animation:hr-in 180ms var(--ease-out,ease-out)}
.hr-bar .hr-text{flex:1;min-width:0;word-break:keep-all;overflow-wrap:anywhere}.hr-bar .hr-nb{display:inline-block;max-width:100%;word-break:normal;line-break:strict;overflow-wrap:normal}  /* 一個詞組放不下一行時照中文斷行規則在裡面換行（「。」不會掉到行首；keep-all＋anywhere 會把「。」單獨甩下去，11/24 手機 1.3 倍） */
.hr-bar.hr-error .hr-text::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#e5534b;margin-right:8px;vertical-align:1px}
.hr-bar.hr-ok .hr-text::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#3fb27f;margin-right:8px;vertical-align:1px}
.hr-bar button{flex-shrink:0;font:inherit;cursor:pointer;border-radius:999px;min-height:36px;-webkit-tap-highlight-color:transparent}
.hr-bar .hr-cancel{border:1px solid currentColor;background:transparent;color:inherit;padding:4px 16px;font-weight:600}
.hr-bar .hr-cancel:active,.hr-bar .hr-close:active{opacity:.6}
.hr-bar .hr-cancel:disabled{opacity:.5}
.hr-bar .hr-close{border:0;background:transparent;color:inherit;width:36px;padding:0;font-size:20px;line-height:1;opacity:.8}
.hr-bar .hr-spin{flex-shrink:0;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:hr-spin .8s linear infinite}
.hr-bar .hr-count{position:absolute;left:0;bottom:0;height:3px;width:100%;background:currentColor;opacity:.55;transform-origin:left;animation:hr-count linear forwards}
@keyframes hr-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes hr-spin{to{transform:rotate(360deg)}}
@keyframes hr-count{from{transform:scaleX(1)}to{transform:scaleX(0)}}
body.hr-on #toast{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 84px)}
@media(prefers-reduced-motion:reduce){.hr-bar{animation:none}.hr-bar .hr-spin{animation-duration:2.4s}.hr-bar .hr-count{animation:none;opacity:0}}
/* 中樞的深連結按鈕（claude-samephone-20261124；app.js hubLink）：「請到中樞…」換成的那一顆。按下馬上縮一下（a.choice-button:active）＋變淡。 */
a.hub-open{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;min-height:44px;max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
a.hub-open[aria-busy=true]{opacity:.7}
.rm-hub-actions{padding:0 14px 14px;margin-top:0}
