#shiban-helper{position:fixed;right:24px;bottom:24px;z-index:9000;color:#344a3b;font:14px/1.7 "Microsoft JhengHei",system-ui,sans-serif;letter-spacing:normal}#shiban-helper *{box-sizing:border-box}#shiban-helper [hidden]{display:none!important}#shiban-helper button,#shiban-helper input{font:inherit;min-height:44px;border:1px solid #dce4d5;border-radius:12px;padding:10px 14px;color:#344a3b;background:#fffef9;cursor:pointer}#shiban-helper button:hover{background:#edf3e7}#shiban-helper button:focus-visible,#shiban-helper input:focus-visible{outline:3px solid #b1924f;outline-offset:3px}#shiban-helper .sb-launch{display:flex;gap:10px;align-items:center;border:1px solid #587454;background:#fffef7;box-shadow:0 6px 24px #30463320;border-radius:22px;padding:8px 17px 8px 10px;font-weight:700}#shiban-helper .sb-launch svg{width:46px;height:46px;color:#587454}#shiban-helper .sb-new::after{content:'';width:8px;height:8px;background:#bc9150;border-radius:50%;position:absolute;top:6px;right:9px}#shiban-helper .sb-panel{width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 122px);margin-bottom:12px;background:#fffef9;border:1px solid #dbe2d3;border-radius:24px;box-shadow:0 15px 65px #273d3026;overflow:hidden;display:flex;flex-direction:column}#shiban-helper .sb-head{display:flex;align-items:center;gap:10px;background:#edf2e6;padding:16px;border-bottom:1px solid #dce4d3;flex-shrink:0}#shiban-helper .sb-avatar svg{width:48px;height:48px;color:#587454}#shiban-helper .sb-head b{font-size:15px}#shiban-helper .sb-head small{display:block;color:#60755d;font-size:11px}#shiban-helper #sb-close{margin-left:auto;border:0;background:transparent;font-size:25px;padding:0;width:44px;min-width:44px}#shiban-helper .sb-content{overflow:auto;overscroll-behavior:contain;padding:22px;display:flex;flex-direction:column;gap:12px}#shiban-helper h2{font-size:18px;line-height:1.5;margin:0}#shiban-helper p{font-size:13px;line-height:1.95;margin:0;color:#596a55}#shiban-helper .sb-primary{background:#587454;border-color:#587454;color:white;text-align:center;font-weight:700}#shiban-helper .sb-primary:hover{background:#42603e}#shiban-helper .sb-topics{display:grid;grid-template-columns:1fr 1fr;gap:8px}#shiban-helper .sb-topics button{padding:9px 7px;font-size:12px;text-align:left}#shiban-helper .sb-foot{padding:10px 18px;background:#f5f6ef;color:#6c7866;font-size:10px;text-align:center;flex-shrink:0}#shiban-helper .sb-progress{font-size:11px;color:#6e815c;letter-spacing:.08em;border-bottom:3px solid #d8e4cb;padding-bottom:9px}#shiban-helper .sb-row{display:flex;gap:8px}#shiban-helper .sb-row button{flex:1}#shiban-helper .sb-question label{display:block;font-size:11px;color:#6c7866;margin:6px 0}#shiban-helper .sb-question>div{display:flex;gap:6px}#shiban-helper .sb-question input{width:0;flex:1;min-width:0;cursor:text;font-size:12px}#shiban-helper #sb-answer:empty{display:none}#shiban-helper #sb-answer{background:#f0f4e9;border-radius:14px;padding:14px}#shiban-helper #sb-answer button{margin-top:10px;width:100%;font-size:12px}.sb-highlight{outline:3px solid #b1924f!important;outline-offset:5px!important;box-shadow:0 0 0 7px #e9d6a555!important}@media(max-width:720px){#shiban-helper{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}#shiban-helper .sb-launch{padding:6px 12px 6px 7px;font-size:12px}#shiban-helper .sb-launch svg{width:36px;height:36px}#shiban-helper .sb-panel{max-height:calc(100dvh - 110px);width:350px}#shiban-helper .sb-content{padding:18px}}@media print{#shiban-helper{display:none!important}}@media(prefers-reduced-motion:reduce){#shiban-helper *{animation:none!important;transition:none!important}}

#shiban-helper .sb-guide-list{display:grid;gap:10px}#shiban-helper .sb-guide-list details{border:1px solid #dce4d5;border-radius:12px;padding:12px}#shiban-helper .sb-guide-list summary{cursor:pointer;font-weight:700;min-height:28px}#shiban-helper .sb-guide-list ol{padding-left:21px;font-size:13px;color:#596a55}#shiban-helper .sb-guide-list li{margin:8px 0}#shiban-helper .sb-guide-list button{margin-top:10px;width:100%}#shiban-helper #sb-answer p{white-space:pre-line}
#shiban-helper .sb-launch .sb-character{width:48px;height:56px}#shiban-helper .sb-avatar .sb-character{width:50px;height:58px}#shiban-helper .sb-buddy{display:flex;flex-direction:column;align-items:center;gap:8px;padding:15px 10px;background:linear-gradient(145deg,#edf3e7,#faf3df);border:1px solid #dce4d5;border-radius:18px;text-align:center}#shiban-helper .sb-buddy .sb-buddy-figure{padding:0;background:transparent;border:0;line-height:0}#shiban-helper .sb-buddy-figure .sb-character{width:132px;height:152px;transition:transform .2s}#shiban-helper .sb-buddy-figure:hover .sb-character{transform:translateY(-4px) rotate(-3deg)}#shiban-helper .sb-growth-meter{width:88%;height:10px;accent-color:#66885e}#shiban-helper .sb-buddy .sb-growth-next{font-size:11px}#shiban-helper .sb-buddy .sb-row{width:100%}#shiban-helper .sb-buddy .sb-row button{font-size:12px;padding:8px}#shiban-helper .sb-wardrobe{display:grid;grid-template-columns:1fr 1fr;gap:10px}#shiban-helper .sb-outfit{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border:1px solid #dce4d5;border-radius:15px;text-align:center}#shiban-helper .sb-outfit .sb-character{width:100px;height:116px}#shiban-helper .sb-outfit strong{font-size:13px}#shiban-helper .sb-outfit p{font-size:11px}#shiban-helper .sb-outfit button{margin-top:auto;font-size:12px;width:100%;padding:7px}#shiban-helper button:disabled{opacity:.5;cursor:default}#shiban-helper .sb-bubble{position:absolute;right:0;bottom:80px;max-width:290px;border:1px solid #d5dfc9;background:#fffbed;padding:14px 17px;border-radius:16px;box-shadow:0 8px 24px #344a3b20;font-size:13px;pointer-events:none}#shiban-helper:has(.sb-panel:not([hidden])) .sb-bubble{bottom:84px;right:12px;background:#f4e8bd}#shiban-helper .sb-cheer .sb-character,#shiban-helper.sb-cheer .sb-character-body{animation:sb-bounce .65s ease}#shiban-helper.sb-level-up .sb-launch{animation:sb-glow 1.6s ease}#shiban-helper .sb-character-eyes{transform-origin:80px 70px;animation:sb-blink 7s infinite}@keyframes sb-bounce{0%,100%{transform:translateY(0)}35%{transform:translateY(-8px) rotate(-3deg)}65%{transform:translateY(-3px) rotate(3deg)}}@keyframes sb-glow{50%{box-shadow:0 0 0 12px #e9cc7760,0 0 36px #d4b35d70}}@keyframes sb-blink{0%,44%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.12)}}@media(prefers-reduced-motion:reduce){#shiban-helper .sb-character-eyes,#shiban-helper.sb-cheer .sb-character-body,#shiban-helper.sb-level-up .sb-launch{animation:none!important}}@media(max-width:720px){#shiban-helper .sb-launch .sb-character{width:36px;height:44px}}

#shiban-helper .sb-desktop-launch{display:block;width:100%;padding:11px 12px;border-radius:12px;background:#587454;color:white;font-weight:700;text-decoration:none;text-align:center}#shiban-helper .sb-buddy small{font-size:11px;color:#65765f;line-height:1.8}

#shiban-task-help{display:flex;align-items:center;gap:12px;padding:8px 12px;margin:0 0 14px;border:1px solid #e1e6da;border-radius:12px;background:#f7f8f2;color:#596a55;font:13px/1.6 system-ui,sans-serif;min-width:0}#shiban-task-help[hidden]{display:none}#shiban-task-help p{flex:1;margin:0}#shiban-task-help button{flex-shrink:0;font:inherit;min-height:44px;padding:8px 12px;border:0;border-radius:9px;background:#edf2e6;color:#405d3e;cursor:pointer}#shiban-task-help button:focus-visible{outline:3px solid #b1924f;outline-offset:3px}#shiban-helper .sb-start-step{padding:10px;border:1px solid #dce4d5;border-radius:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}#shiban-helper .sb-start-step h3{grid-column:1;margin:0;font-size:14px}#shiban-helper .sb-start-step p{grid-column:1;font-size:12px;line-height:1.6}#shiban-helper .sb-start-step button{grid-column:2;grid-row:1/3;width:auto;font-size:12px;padding:8px}@media(max-width:600px){#shiban-task-help{font-size:12px;gap:8px}}@media print{#shiban-task-help{display:none!important}}body:has(.projection-overlay:not([hidden])) #shiban-task-help,body.dashboard-project #shiban-task-help,body.exam-project #shiban-task-help,body.projecting #shiban-task-help{display:none!important}

/* A small movable launcher keeps the work area clear. */
#shiban-helper{width:56px;height:56px;right:12px;bottom:20px}
#shiban-helper .sb-launch{width:56px;height:56px;min-height:56px;padding:0;justify-content:center;border-radius:50%;background:#fffefb;border:1px solid #d9e2cf;color:#52704e;box-shadow:0 4px 18px #3046331a;cursor:grab;user-select:none;-webkit-user-select:none}
#shiban-helper .sb-launch svg{width:25px;height:25px}
#shiban-helper .sb-launch-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#shiban-helper.sb-dragging .sb-launch{cursor:grabbing;box-shadow:0 8px 26px #30463330;border-color:#a6ba95}
#shiban-helper .sb-panel{position:absolute;left:var(--sb-panel-left,-304px);right:auto;bottom:70px;width:min(360px,calc(100vw - 24px));max-width:none;max-height:var(--sb-panel-height,calc(100dvh - 100px));margin:0;border-radius:20px;border-color:#dfe5d8;box-shadow:0 12px 42px #283e2e20}
#shiban-helper[data-vertical=below] .sb-panel{bottom:auto;top:70px}
#shiban-helper .sb-head{padding:12px 15px;background:#f2f5ed;border-bottom:1px solid #e3e9dc;gap:10px}
#shiban-helper .sb-head b{font-size:16px;letter-spacing:.04em}
#shiban-helper .sb-head small{font-size:11px;color:#7d8a73}
#shiban-helper .sb-avatar .sb-character{width:36px;height:42px}
#shiban-helper .sb-foot{padding:8px 12px;background:#fafbf6;font-size:10px}
#shiban-helper .sb-content{padding:18px;gap:12px}
#shiban-helper .sb-buddy{padding:16px 12px;background:linear-gradient(150deg,#f0f4e9,#faf4e7);border:1px solid #e2e7d8;border-radius:16px;gap:7px}
#shiban-helper .sb-buddy-figure .sb-character{width:110px;height:126px}
#shiban-helper .sb-buddy-figure:hover .sb-character{transform:none}
#shiban-helper .sb-buddy strong{font-size:14px;font-weight:650}
#shiban-helper .sb-growth-meter{height:7px;width:82%}
#shiban-helper .sb-buddy .sb-row button{border-radius:11px;background:#fffefb}
#shiban-helper .sb-wardrobe{gap:10px}
#shiban-helper .sb-outfit{gap:8px;border-color:#e1e7d8;border-radius:16px;background:linear-gradient(150deg,#fafbf5,#f4f5ed);padding:14px 10px}
#shiban-helper .sb-outfit.is-current{border-color:#91aa7e;box-shadow:inset 0 0 0 1px #b7c9a7;background:#edf3e5}
#shiban-helper .sb-outfit .sb-character{width:98px;height:114px}
#shiban-helper .sb-outfit strong{font-size:13px;color:#40563d}
#shiban-helper .sb-outfit p{font-size:11px;line-height:1.7;color:#7c8973}
#shiban-helper .sb-outfit button{font-size:11px;min-height:36px;border-radius:10px;background:#fffefb}
#shiban-helper .sb-outfit button:disabled{opacity:.75;background:transparent;border-color:#e1e6d9;color:#87917f}
#shiban-helper .sb-bubble,#shiban-helper:has(.sb-panel:not([hidden])) .sb-bubble{left:var(--sb-panel-left,-200px);right:auto;bottom:70px;width:240px;max-width:calc(100vw - 24px);font-size:12px}
#shiban-helper[data-vertical=below] .sb-bubble{bottom:auto;top:70px}

#shiban-helper .sb-launch .sb-character{width:42px;height:49px}#shiban-helper .sb-launch{background:#f5f8ed}

#shiban-task-help .sb-hint-close{min-width:44px;padding:0;font-size:22px;line-height:1;background:transparent;color:#7d8a77}#shiban-task-help .sb-hint-close:hover{background:#edf2e6;color:#405d3e}

/* ===== 小伴配色：跟頁面背景區隔開（深綠標題列＋暖金外框），一眼就知道是小伴 ===== */
#shiban-helper .sb-launch{background:#fff6dc;border:3px solid #c9a24d;box-shadow:0 6px 20px #3a2f1438,0 0 0 4px #fff8e8}
#shiban-helper .sb-launch:hover{background:#ffefc4}
#shiban-helper.sb-dragging .sb-launch{border-color:#b08a35}
#shiban-helper .sb-panel{background:#ffffff;border:2px solid #3d5a42;box-shadow:0 22px 70px #1c2b2059,0 0 0 6px #3d5a4214}
#shiban-helper .sb-head{background:linear-gradient(135deg,#3d5a42,#56774f);border-bottom:0;color:#fffbea}
#shiban-helper .sb-head b{font-size:17px;color:#fffbea}
#shiban-helper .sb-head small{font-size:12px;color:#dce8d2}
#shiban-helper .sb-head .sb-avatar{background:#fff6dc;border-radius:50%;box-shadow:0 0 0 2px #c9a24d}
#shiban-helper #sb-close{color:#fffbea;border-radius:12px}
#shiban-helper #sb-close:hover{background:#ffffff26}
#shiban-helper #sb-close:focus-visible{outline:3px solid #f1d58a;outline-offset:2px}
#shiban-helper .sb-buddy{background:linear-gradient(145deg,#fff8e4,#fbefcd);border:1px solid #ead8a6}
#shiban-helper .sb-foot{background:#eef3e8;color:#4d6249;font-size:12px}
/* 小伴裡的字 */
#shiban-helper .sb-buddy .sb-growth-next{font-size:12px}
#shiban-helper .sb-buddy .sb-row button{font-size:13px}
#shiban-helper #sb-content > p{font-size:14px}
#shiban-helper .sb-topics button{font-size:13px}
#shiban-helper .sb-question label{font-size:13px}
/* 頁面上的操作提示列字放大 */
#shiban-task-help{font-size:14px}
