/* Artificial consciousness lesson. All rules scoped under .acs-* */
.acs-sc { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.choices.acs-two { display: grid; grid-template-columns: 1fr 1fr; }
.choices.acs-two .choice { justify-content: center; text-align: center; }

/* ---------- the flash ---------- */
.acs-flash { display: flex; justify-content: center; padding: 8px 0; }
.acs-screen { display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; max-width: 320px; height: 170px; border-radius: 18px; background: #F2EDE3; color: #14131A; font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: .04em; }
.acs-screen.acs-run { color: #000; }
.acs-both { font-size: 28px; }
.acs-both span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.acs-both small { font-family: var(--sans); font-size: 13px; font-weight: 700; color: #6E6960; letter-spacing: 0; }

/* ---------- two kinds of handling ---------- */
.acs-two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acs-two-up > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.acs-two-up b { font-family: var(--mono); font-size: 24px; color: var(--text); }
.acs-two-up small { font-size: 13px; color: var(--dim); }
.acs-two-up p { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 0; width: 100%; }
.acs-two-up i { font-style: normal; font-size: 13px; font-weight: 700; text-align: center; padding: 6px 4px; border-radius: 10px; }
.acs-y { color: var(--mint); background: rgba(63,214,154,.12); }
.acs-n { color: var(--red); background: rgba(255,107,107,.12); }

/* ---------- shared module look ---------- */
.acs-ws svg, .acs-iit svg { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
.acs-ln { stroke: var(--line-strong); stroke-width: 2; transition: stroke .3s; }
.acs-ln.acs-on { stroke: var(--gold); stroke-width: 3; }
.acs-mod rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.acs-mn { font-family: var(--sans); font-size: 13px; font-weight: 800; fill: var(--text); }
.acs-ms { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--gold); }
.acs-mod.acs-dim rect { stroke: var(--violet-bright); fill: #1F1D38; }
.acs-mod.acs-on rect { stroke: var(--gold); fill: #2E2716; }
.acs-stg ellipse { fill: #0B0F1C; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 5 4; transition: fill .4s, stroke .4s; }
.acs-stg text { font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; fill: var(--dim); }
.acs-ign .acs-stg ellipse { fill: #4A3B17; stroke: var(--gold); stroke-dasharray: none; }
.acs-ign .acs-stg text { fill: var(--gold); }
.acs-tok rect { fill: var(--gold); }
.acs-tok text { font-family: var(--mono); font-size: 13px; font-weight: 700; fill: #2A1D05; }

/* ---------- wiring ---------- */
.acs-phi { display: grid; grid-template-columns: auto 1fr 2.4em; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.acs-phi span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.acs-pt-tr { height: 12px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.acs-pt-tr i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--gold); transition: width .7s cubic-bezier(.2,.9,.3,1); }
.acs-phi b { font-family: var(--mono); font-size: 16px; color: var(--dim); text-align: right; }
.acs-phi-on b { color: var(--gold); }
.acs-chip rect { fill: var(--raised); stroke: var(--violet-bright); stroke-width: 2; }
.acs-chip text { font-family: var(--mono); font-size: 18px; font-weight: 700; fill: var(--text); }
.acs-new rect { stroke: var(--line-strong); stroke-dasharray: 4 3; }
.acs-wl { stroke-width: 3; }
.acs-fixed .acs-wl { stroke: var(--violet-bright); }
.acs-fixed .acs-wh { fill: var(--violet-bright); }
.acs-cand { cursor: pointer; }
.acs-cand .acs-wl { stroke: var(--dim); stroke-dasharray: 7 6; }
.acs-cand .acs-wh { fill: var(--dim); }
.acs-hit { stroke: transparent; stroke-width: 40; stroke-linecap: round; }
.acs-cand:active .acs-wl { stroke: var(--gold); }
.acs-locked .acs-cand { cursor: default; opacity: .35; }
.acs-locked .acs-cand.acs-chosen { opacity: 1; }
.acs-chosen .acs-wl { stroke: var(--gold); stroke-dasharray: none; }
.acs-chosen .acs-wh { fill: var(--gold); }
.acs-looped .acs-chip:not(.acs-new) rect { stroke: var(--gold); fill: rgba(252,192,80,.14); transition: fill .4s, stroke .4s; }

/* ---------- meters ---------- */
.acs-lap svg { display: block; width: 62%; max-width: 230px; margin: 0 auto; }
.acs-lid { fill: var(--raised); stroke: var(--line-strong); stroke-width: 2; }
.acs-scr { fill: #0B0F1C; }
.acs-br { fill: none; stroke: var(--violet-bright); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.acs-base { fill: var(--line-strong); }
.acs-meters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.acs-meters > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); text-align: center; transition: border-color .3s; }
.acs-meters span { font-size: 13px; font-weight: 800; color: var(--text); }
.acs-meters b { font-size: 13px; font-weight: 700; color: var(--dim); line-height: 1.2; }
.acs-meters .acs-yes { border-color: var(--mint); }
.acs-meters .acs-yes b { color: var(--mint); }
.acs-meters .acs-no { border-color: var(--red); }
.acs-meters .acs-no b { color: var(--red); }

@media (max-height: 700px) { .acs-iit svg { max-height: 240px; } }

