/* C1.1 Module 1 Step 1. Shared Biology Brain shell remains in module.css. */
.catalyst-scene { overflow-y: auto; }
.activity-phase { min-height: 0; }
.cell-entry { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 24px; }
.cell-button { display: flex; flex-direction: column; align-items: center; max-width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0; color: var(--ink); }
.cell-button img { width: min(580px, 100%); max-height: 440px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(31,70,48,.12)); transition: transform .65s ease, opacity .65s ease; }
.cell-button:hover img { transform: scale(1.025); }
.cell-button.zooming img { transform: scale(1.7); opacity: 0; }
.cell-enter-label { display: inline-flex; align-items: center; justify-content: center; margin-top: 4px; }
.entry-caption { color: var(--muted); font-size: .88rem; text-align: center; }
.introduction-panel { padding: 24px 30px; text-align: center; }
.location-label { font-size: .72rem; letter-spacing: .09em; color: var(--bb-green-dark); font-weight: 850; }
.molecule-introduction { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 68px); margin: 22px 0; }
.molecule-introduction figure { margin: 0; flex: 0 1 200px; }
.molecule-introduction img { width: 150px; height: 150px; max-width: 100%; object-fit: contain; }
.molecule-introduction figure:last-child img { width: 85px; }
.molecule-introduction figcaption { display: grid; gap: 5px; margin-top: 12px; }
.molecule-introduction figcaption strong { font-size: 1.05rem; }
.molecule-introduction figcaption span { font-size: .83rem; color: var(--muted); }
.intro-plus { font-size: 1.8rem; color: var(--muted); }
.definition { font-size: 1.04rem; line-height: 1.5; max-width: 600px; margin: 14px auto; }
.intro-explanation { font-size: .9rem; line-height: 1.5; color: var(--muted); max-width: 570px; margin: 0 auto 22px; }
.comparison-conditions { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0 0 12px; }
.reaction-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.reaction-panel { padding: 18px; }
.reaction-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; }
.reaction-heading h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
.run-status { font-size: .7rem; color: var(--muted); border-radius: 999px; background: #f1f5f2; padding: 5px 8px; white-space: nowrap; }
.reaction-panel[data-state="running"] .run-status { color: var(--bb-green-dark); background: var(--bb-green-soft); }
.reaction-panel[data-state="done"] .run-status { color: white; background: var(--bb-green); }
.reaction-stage { position: relative; height: 200px; margin: 10px 0; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg,#f9fcfa,#edf6f0); overflow: hidden; }
.enzyme-visual { position: absolute; width: 120px; height: 120px; object-fit: contain; left: 50%; top: 65px; transform: translateX(-50%); }
.reacting-substrate { position: absolute; width: 48px; height: 50px; left: 50%; top: 12px; transform: translateX(-50%); transition: transform .18s ease, opacity .12s ease; }
.enzyme-stage[data-phase="bound"] .reacting-substrate { transform: translate(-50%, 36px); }
.released-products { position: absolute; display: flex; gap: 8px; justify-content: center; width: 74px; top: 42px; left: 50%; transform: translateX(-50%); opacity: 0; transition: opacity .12s ease, transform .25s ease; }
.released-products img { width: 22px; height: 45px; object-fit: contain; }
.reaction-stage[data-phase="released"] .reacting-substrate { opacity: 0; }
.reaction-stage[data-phase="released"] .released-products { opacity: 1; transform: translate(-50%, -28px); }
.no-enzyme-label { position: absolute; top: 115px; left: 10px; right: 10px; text-align: center; color: var(--muted); font-size: .8rem; }
.stage-caption { position: absolute; bottom: 8px; left: 6px; right: 6px; text-align: center; font-size: .65rem; color: var(--muted); }
.sample-tray { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; margin: 10px 0 12px; }
.molecule-slot { height: 34px; display: flex; align-items: center; justify-content: center; gap: 2px; background: #f7faf8; border-radius: 7px; }
.molecule-slot img { width: 19px; height: 26px; object-fit: contain; }
.molecule-slot.converted { background: var(--bb-green-soft); }
.molecule-slot.converted img { width: 10px; }
.reaction-readings { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .7rem; color: var(--muted); }
.reaction-readings strong { display: block; margin-top: 4px; color: var(--ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.run-progress { height: 5px; background: #e3ebe6; border-radius: 4px; overflow: hidden; margin-top: 12px; }
.run-progress > span { display: block; height: 100%; width: 0; background: var(--bb-green); }
.run-feedback { min-height: 3.6em; color: #435047; font-size: .8rem; line-height: 1.4; margin: 12px 0; }
.run-button { width: 100%; white-space: normal; padding: 8px; }
.run-button:disabled { opacity: .6; }
.comparison-takeaway { margin-top: 16px; border: 1px solid #c5dfce; border-radius: 12px; padding: 15px 18px; background: var(--bb-green-soft); color: var(--bb-green-dark); }
.comparison-takeaway strong { font-size: 1rem; }
.comparison-takeaway p { margin: 6px 0 0; font-size: .88rem; line-height: 1.45; }
.model-note { color: var(--muted); font-size: .7rem; line-height: 1.5; margin: 12px 0 2px; }
.completion-reward-card { display: none; }
@media (min-width: 721px) and (max-width: 950px) {
    .catalyst-scene { padding-right: 325px; }
    .catalyst-scene .comparison-heading { padding-right: 0; }
    .reaction-panels { grid-template-columns: 1fr; }
    .introduction-panel { padding: 20px 16px; }
    .molecule-introduction { gap: 16px; }
    .molecule-introduction img { height: 105px; }
}
@media (max-width: 720px) {
    .catalyst-scene .comparison-heading { padding-top: 42px; }
    .reaction-panels { grid-template-columns: 1fr; }
    .reaction-stage { height: 200px; }
    .introduction-panel { padding: 22px 16px; }
    .molecule-introduction { gap: 18px; }
    .molecule-introduction img { height: 110px; }
    .molecule-introduction figure:last-child img { width: 65px; }
    .cell-button img { max-height: 310px; }
}
@media (prefers-reduced-motion: reduce) { .cell-button.zooming img { transform: none; } }
