/* Shared lighting, with different work surfaces for scientific models and maps. */
.cl-photo{display:block;width:100%;height:100%;overflow:hidden;pointer-events:none;filter:drop-shadow(2px 5px 3px #183a3826)}
:is(.atom-workbench,.periodic-lab,.bonds-lab,.matter-lab,.adverb-activity,.reading-practice){border:1px solid #e2eae7;border-radius:26px;background:#f8faf7;color:#183a38}
:is(.aw-table,.periodic-lab .lab-model,.bond-scene,.mx-scene){background:linear-gradient(#ffffff10,#ffffff10),url('media/electric-cinematic-bench-v1.png') center/cover;border:1px solid #d6ded6;box-shadow:0 16px 28px -22px #183a3877,inset 0 0 0 1px #ffffff66;border-radius:24px;isolation:isolate}
.aw-table-top,.lab-model-heading,.bond-note,.periodic-lab .lab-model>p{background:#fffffff2;padding:10px 14px;border-radius:12px;color:#183a38}
.aw-atom{background:radial-gradient(ellipse,#fafcf6f2 0 48%,#fafcf6c9 64%,transparent 72%);filter:drop-shadow(0 14px 7px #183a381a)}
.aw-ring{border-style:solid;border-color:#567d7199;box-shadow:inset 0 1px 1px white,0 1px 1px #183a3833}
.aw-nucleus{background:radial-gradient(circle at 30% 20%,#fff6e6,#cba583);border:1px solid #c4a486;box-shadow:inset -6px -8px 12px #69442444,inset 3px 3px 8px #fff9,0 10px 8px #183a3833}
.particle,.aw-electron,.pl-particle,.ml-molecule i,.bond-methane .carbon-center,.bond-methane .hydrogen-slot{background-image:url('media/model-beads-v1.png');background-size:430% 145%;background-position:4% 50%;background-color:transparent!important;border:0;box-shadow:none;filter:drop-shadow(1px 3px 2px #183a3840)}
.particle.n,.ml-molecule .atom-H,.bond-methane .hydrogen-slot{background-position:50% 50%;color:#183a38}
.particle.e,.aw-electron,.pl-particle,.ml-molecule .atom-C,.bond-methane .carbon-center{background-position:96% 50%;color:white}
.aw-nucleus .particle{width:19px;height:19px}.aw-electron{min-height:26px!important}
.atom-workbench .particle{background-image:url('media/model-beads-v1.png');background-size:430% 145%;background-position:4% 50%}
.atom-workbench .particle.n{background-position:50% 50%}.atom-workbench .particle.e{background-position:96% 50%}
.periodic-lab .lab-model>svg{background:radial-gradient(ellipse,#f9fbf4 0 50%,#f9fbf4bb 64%,transparent 72%);filter:drop-shadow(0 10px 5px #183a3820)}
.periodic-lab .lab-map button{box-shadow:0 3px 0 #b6c6bd,0 6px 8px #183a3812;transition:box-shadow .18s,background .18s}
.periodic-lab .lab-map button.selected{box-shadow:0 2px 0 #ca9a75,0 0 0 2px #ffad81}
.bond-atoms .atom{background-image:url('media/model-beads-v1.png');background-size:430% 145%;background-position:4% 50%;background-color:transparent;border:0;box-shadow:none;filter:drop-shadow(3px 14px 6px #183a3840)}
.bond-atoms .atom.chlorine{background-position:50% 50%}.bond-atoms .atom b{font-size:32px}.bond-atoms .atom small{background:#fffdf5dd;border-radius:8px;padding:4px;max-width:90%;align-self:center}
.bond-between{background:#ffffffe8;border-radius:16px;padding:8px}.bond-target.shared{background:#fbfff5ed;box-shadow:inset 0 2px 6px #183a381a;border:1px dashed #678c7d}
.bond-token .cl-photo{width:75px;height:65px;margin:0 auto 6px}.bond-ghost .cl-photo{width:70px;height:65px}
.sl-circuit{background:#f8f9f0db;border-radius:20px}.sl-battery{background:linear-gradient(100deg,#273f3c,#172a27 60%,#e3bd70 61%,#f3d591);box-shadow:2px 9px 7px #183a3844;border:2px solid #d4d9cc;color:white}
.sl-glass-beaker{background:#ffffff52!important;box-shadow:inset 6px 0 5px #fff9,inset -5px 0 5px #5b767c33,3px 9px 7px #183a3826}
.sl-switch{box-shadow:2px 8px 6px #183a3833}.sl-bulb.on{filter:drop-shadow(0 0 16px #ffc851)}
.mx-scene-note,.mx-status{background:#fffdf4ed}.mx-base{opacity:.18}.mx-cup,.mx-receiver,.mx-apparatus{filter:drop-shadow(2px 7px 3px #183a3822)}
.ml-tool-icon .cl-photo{width:76px;height:70px}.ml-tool-icon:has(.cl-photo){background:none!important;border:0;box-shadow:none;font-size:0;height:76px;width:100%}
.ml-floating-sample:has(.cl-photo){background:none;border:0;box-shadow:none;width:70px;height:65px;color:#183a38;font-size:0}.ml-floating-sample .cl-photo{height:65px}
.matter-lab .ml-basin{background:linear-gradient(180deg,#fcffff 0 30%,#b7e0e8a8 31%,#65a9bfaa 94%,#d5e2df 95%);border:5px solid #c3d5d5;border-top:2px solid #e6efed;box-shadow:inset 10px 0 9px #fff8,inset -8px 0 8px #376d7730,4px 12px 9px #183a3826;border-radius:12px 12px 35px 35px;overflow:hidden}
.ml-hofmann{background:linear-gradient(120deg,#fafcf6,#edf3ef);box-shadow:0 12px 20px -14px #183a3866;border:1px solid #cfdbd5}
.ml-tube{background:linear-gradient(90deg,#e9fbffcc,#fff9 20%,#9ccbdc99 65%,#fff9);border-color:#83a5ad;box-shadow:inset 3px 0 4px white,4px 4px 4px #183a3820}
.ml-race,.ml-builder,.ml-hydrogen,.ml-litmus{background:linear-gradient(#fafff0e6,#fafff0e6),url('media/electric-cinematic-bench-v1.png') center/cover;border-radius:22px;box-shadow:0 10px 24px -18px #183a3866}
.ml-molecule i{width:52px;height:52px}.ml-hydrogen .ml-molecule{gap:0}.ml-beaker{box-shadow:inset 5px 0 5px white,inset -5px 0 6px #48778222,4px 10px 8px #183a3826}
/* The language activity is a real tabletop of movable word tiles. */
.adverb-activity{background:linear-gradient(#ffffffee,#ffffffdd),url('media/study-cinematic-desk-v1.png') center/cover}
.adverb-sentence{background:url('media/study-cinematic-desk-v1.png') center 65%/cover;padding:32px 20px;border:1px solid #d8cbb6;box-shadow:inset 0 2px 5px #183a381a;border-radius:20px;min-height:150px;align-content:center}
.adverb-sentence>span,.adverb-word,.adverb-slot.filled{color:#183a38;background:linear-gradient(#fffdf5,#eee6d7);padding:12px;border-radius:9px;box-shadow:0 4px 0 #cfc3b0,2px 8px 6px #183a3826}
.adverb-slot{background:#fff9ebcb;border:2px dashed #8c7960;min-height:48px}.adverb-word{border:1px solid #d1bda6}.adverb-feedback{background:#fffffff0}
.reading-practice{padding:24px;background:linear-gradient(#ffffffee,#ffffffee),url('media/study-cinematic-desk-v1.png') center/cover}
.reading-practice>.card{background:#fffffff5;box-shadow:0 10px 18px -14px #183a3855;border-radius:22px}.reading-practice .option{box-shadow:0 3px 0 #dce4dc,0 6px 9px #183a380a;min-height:48px}
.fruit-picture .cl-photo{width:150px;height:125px;margin:auto}.object-drawing{filter:drop-shadow(2px 6px 3px #183a3826)}
.lab-stations{background:url('media/electric-cinematic-bench-v1.png') center/cover;border-radius:22px;padding:18px}.lab-drop{background:#f9fff2dc}.lab-photo{filter:drop-shadow(2px 5px 3px #183a3826)}
@media(max-width:700px){.aw-table,.bond-scene{padding:12px}.bond-atoms{gap:6px}.bond-atoms .atom b{font-size:26px}.bond-atoms .atom small{font-size:9px}.reading-practice{padding:12px}.adverb-sentence{padding:24px 10px;gap:8px}.adverb-sentence>span,.adverb-slot{font-size:14px}.mx-scene{background-position:50% center}.cl-photo{max-width:100%}.sl-toolbar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.cl-photo,.adverb-word{animation:none!important;transition:none!important}}
.ml-floating-sample:has(.cl-photo){padding:0;width:86px;height:76px;top:calc(30% - 28px);left:calc(50% - 43px)}.ml-floating-sample .cl-photo{height:76px}.ml-floating-sample.sink:has(.cl-photo){top:calc(100% - 78px)}.ml-ghost .cl-photo{width:72px;height:72px}.object-drawing{overflow:hidden}.object-drawing.whole .cl-photo{height:120px}
.bonds-lab .bond-atoms .atom{box-shadow:none!important;background-repeat:no-repeat}.atom-workbench .particle{box-shadow:none!important}.fruit-picture .cl-photo{width:140px;height:140px}.object-drawing{width:80px;height:160px}.object-drawing.whole{width:160px;height:160px}.object-drawing.whole .cl-photo{height:160px}
.periodic-lab .lab-model>svg,.aw-atom{background:#f7faf1;border-radius:50%;box-shadow:inset 2px 3px 4px #fff,0 10px 8px #183a3825;filter:none}.periodic-lab .lab-model>svg{margin:16px auto;border:2px solid #dbe5d9}
.atom-workbench .aw-atom,.periodic-lab .lab-model>svg{background:#f7faf1!important}.bonds-lab .atom{box-shadow:none!important}
.bonds-lab .bond-atoms .atom{border:0!important;background-position:7% 50%}.bonds-lab .bond-atoms .atom.chlorine{background-position:50% 50%}.atom-workbench .particle.p,.ml-molecule .atom-O{background-position:7% 50%}.atom-workbench .particle.e,.aw-electron,.pl-particle,.ml-molecule .atom-C,.bond-methane .carbon-center{background-position:93% 50%}
