/* biology_enzymes：學生操作／老師講解模式列＋動手做實驗台（2026-11-17） */
.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}
/* 老師講解控制列：只在老師模式出現，接在動畫正下方 */
.ez-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-top:none;border-radius:0 0 12px 12px;padding:14px 18px 16px;margin:0 0 8px}
body.mode-teacher .ez-teach{display:flex}
.ez-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}
.ez-tbtn:hover:not(:disabled){background:var(--green);color:var(--bg-base)}
.ez-tbtn:disabled{opacity:.4;cursor:not-allowed}
.ez-tbtn.hot{background:var(--yellow);color:var(--bg-base);border-color:var(--yellow)}
.ez-track{flex:1 1 180px;min-width:120px;height:10px;border-radius:6px;background:rgba(255,255,255,.14);overflow:hidden}
.ez-fill{height:100%;width:0;background:var(--yellow);border-radius:6px;transition:width .35s linear}
.ez-tnote{flex:1 1 100%;text-align:center;font-size:18px;line-height:1.5;color:var(--yellow);min-height:1.5em}
/* 動手做實驗台 */
.ez-lab{margin:22px 0 8px;border:2px dashed rgba(74,222,128,.55);border-radius:18px;background:var(--bg-deep);overflow:hidden}
.ez-lab>h3{margin:16px 20px 4px;color:var(--green);font-size:26px}
.ez-lab>.small-note{margin:0 20px 8px}
.ez-controls{padding:4px 20px 12px;display:flex;flex-direction:column;gap:8px}
.ez-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ez-lbl{font-size:18px;font-weight:700;color:var(--muted);min-width:3.2em}
.enzymes-page .ez-btn{font-size:16px;min-height:40px;padding:6px 14px;line-height:1.3}
.ez-canvas{display:block;width:100%;height:auto;aspect-ratio:960/620;touch-action:pan-y;cursor:ew-resize;background:var(--bg-base)}
#experimentLabCanvas{cursor:default}
.ez-status{border-top:1px solid var(--rule)}
