/* biology_photosynthesis：學生操作／老師講解模式列＋老師講解控制列（2026-11-17，外層加法；樣式同酵素 enzymes_modes_lab_1117_v1.css） */
.mode-bar{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 0 22px}
.mode-bar .mode-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.mode-pill{min-height:52px;padding:8px 26px;border-radius:999px;cursor:pointer;font-size:21px;font-weight:700;font-family:inherit;line-height:1.3;background:transparent;color:var(--muted);border:2px dashed var(--rule);touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:all .2s}
.mode-pill:hover:not(.active){background:rgba(255,255,255,.08);color:var(--white)}
.mode-pill.active{background:var(--yellow);color:var(--bg-base);border:2px solid var(--yellow);box-shadow:0 0 14px rgba(253,224,71,.35)}
.mode-hint{font-size:17px;color:var(--muted);text-align:center;line-height:1.5;max-width:900px}
/* 老師講解控制列：只在老師模式出現，接在動畫正下方 */
.ps-teach{display:none;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:rgba(13,32,26,.72);border:2px solid var(--rule);border-radius:0 0 12px 12px;padding:14px 18px 16px;margin:0 0 8px}
body.mode-teacher .ps-teach{display:flex}
.ps-tbtn{min-height:44px;padding:6px 18px;border-radius:8px;cursor:pointer;font-size:18px;font-weight:700;font-family:inherit;line-height:1.3;background:transparent;color:var(--green);border:2px solid var(--green);touch-action:manipulation}
.ps-tbtn:hover:not(:disabled){background:var(--green);color:var(--bg-base)}
.ps-tbtn:disabled{opacity:.4;cursor:not-allowed}
.ps-tbtn.hot{background:var(--yellow);color:var(--bg-base);border-color:var(--yellow)}
.ps-track{flex:1 1 180px;min-width:120px;height:10px;border-radius:6px;background:rgba(255,255,255,.14);overflow:hidden}
.ps-fill{height:100%;width:0;background:var(--yellow);border-radius:6px;transition:width .35s linear}
.ps-tnote{flex:1 1 100%;text-align:center;font-size:18px;line-height:1.5;color:var(--yellow);min-height:1.5em}
