.chem-hero{background:radial-gradient(ellipse at top right,#47305566,transparent 65%),linear-gradient(145deg,#2d2113,#100c08);border:1px solid #927044;padding:24px;border-radius:5px;margin:20px 0}.chem-hero h2{font-size:clamp(26px,4vw,40px);margin:8px 0;color:#efd493}.chem-hero p{max-width:700px;color:#b8a98f;line-height:1.7}.chem-controls{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.chem-controls label{display:grid;gap:9px;color:#d7c39d}.chem-controls select{min-height:44px;padding:10px;background:#17120d;color:#ead3a0;border:1px solid #705638}.chem-controls input{width:100%;accent-color:#b38cdf;min-height:30px}.chem-controls output{color:#efd493;font-weight:bold}.chem-discoveries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chem-discovery{display:flex;flex-direction:column;gap:8px;text-align:left;min-height:130px;padding:16px;background:#20170e;border:1px solid #6a5236;border-radius:4px;color:#dfc895;cursor:pointer}.chem-discovery strong{font:700 27px Georgia,serif;color:#eac884}.chem-discovery small,.chem-discovery em{font-size:10px;color:#ae9b7d;font-style:normal}.chem-discovery span{font-size:12px;line-height:1.5}.chem-discovery-target{border-color:#b48c58;background:#35231a}.chem-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;align-items:start;margin-top:24px}.chem-panel{background:#151009;border:1px solid #5c482f;padding:20px;min-width:0;border-radius:4px}.chem-panel h3{font:700 23px Georgia,serif;color:#dfc484;margin:0 0 8px}.chem-panel>p{font-size:12px;line-height:1.6;color:#ac9b81}.chem-band{border-top:1px solid #4c3925;padding-top:13px;margin-top:16px}.chem-band h3{font-size:14px;margin:0 0 10px;color:#b7a584}.chem-worlds{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:7px}.chem-world{min-width:0;display:grid;place-items:center;gap:5px;padding:11px 5px;background:linear-gradient(#2b2014,#18110a);border:1px solid #665035;border-radius:4px;color:#dbc79c;cursor:pointer;min-height:98px}.chem-world.selected{border-color:#dcbbef;background:linear-gradient(#47354f,#211526);box-shadow:inset 0 0 0 1px #bb8ccd}.chem-world b{font-size:14px;max-width:100%}.chem-world small{font-size:9px;color:#baad91}.chem-short{font-size:9px;line-height:1.5;text-align:center;overflow-wrap:anywhere}.chem-dots{display:flex;gap:4px}.chem-dots i{width:8px;height:8px;border-radius:50%;box-shadow:0 0 4px #000}.chem-names{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.chem-name{display:flex;align-items:center;gap:6px;background:#251c13;border:1px solid #5b4730;padding:5px 8px;font-size:12px;color:#ded0b0}.chem-name i,.chem-credit i{width:7px;height:7px;display:inline-block;background:var(--pc);border-radius:50%;margin-right:5px}.chem-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.chem-stats>div{background:#21170e;border:1px solid #54402a;padding:12px;min-width:0}.chem-stats strong,.chem-stats small,.chem-stats span{display:block;overflow-wrap:anywhere}.chem-stats strong{font:700 21px Georgia,serif;color:#edcf8c;margin:7px 0}.chem-stats small{font-size:11px;color:#bbaa8d}.chem-stats span{font-size:10px;color:#9a896f}.chem-coverage{margin:18px 0;color:#d2ba8d;font-size:12px}.chem-coverage progress,.chem-credit progress{display:block;width:100%;height:10px;margin-top:8px;accent-color:#b992d2}.chem-removals{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.chem-removals button{border:1px solid var(--pc);background:#21180f;color:#d3c19d;padding:8px 10px;min-height:44px;font-size:11px;cursor:pointer}.chem-removals button[aria-pressed=false]{border-color:#57452e;color:#8f816c}.chem-removals button:disabled{opacity:.5;cursor:default}.chem-open-log{width:100%;min-height:44px;font-size:12px}.chem-credits{display:grid;gap:17px;margin-top:18px}.chem-credit>div{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.chem-credit b{color:#e3c995}.chem-credit progress{accent-color:var(--pc);height:8px}.chem-credit small{color:#9d8c71;display:block;font-size:10px;margin-top:5px}.chem-bottom{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.chem-lost-items{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.chem-lost-item{display:flex;align-items:center;gap:8px;min-width:0;background:#20170f;padding:8px;border:1px solid #453422}.chem-lost-item img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated;flex:0 0 32px}.chem-lost-item>div{min-width:0;font-size:11px;overflow-wrap:anywhere}.chem-lost-item small{display:block;margin-top:4px;color:#97856d;font-size:9px}.chem-lost-item a{color:#d7c190}.chem-method{border:1px solid #4e3a26;padding:13px;margin:20px 0;color:#a9977d;font-size:12px;line-height:1.7}.chem-method summary{min-height:32px;color:#d3bb8c;cursor:pointer}.chem-panel button:focus-visible,.chem-discovery:focus-visible,.chem-removals button:focus-visible{outline:2px solid #e7c9fa;outline-offset:3px}.chem-discovery:disabled{opacity:.5;cursor:default}.chem-panel[hidden],#chemLostMore[hidden]{display:none}@media(max-width:950px){.chem-layout,.chem-bottom{grid-template-columns:1fr}}@media(max-width:600px){.chem-hero,.chem-panel{padding:15px}.chem-controls{grid-template-columns:1fr;gap:15px}.chem-discoveries{grid-template-columns:1fr}.chem-discovery{min-height:0;display:grid;grid-template-columns:1fr auto;gap:6px 12px}.chem-discovery span,.chem-discovery em{grid-column:1/-1}.chem-discovery strong{grid-column:2;grid-row:1;font-size:24px}.chem-worlds{grid-template-columns:repeat(3,minmax(0,1fr))}.chem-stats strong{font-size:18px}.chem-lost-items{grid-template-columns:1fr}.chem-panel h3{font-size:21px}}

.chem-hero h2{font-family:Georgia,serif}.chem-share{margin-top:15px;color:#baa787;font-size:12px}.chem-share summary{min-height:36px;cursor:pointer}.chem-share label{display:grid;gap:8px}.chem-share input{width:100%;min-width:0;background:#0e0a07;color:#c8b895;border:1px solid #61482f;padding:9px;min-height:44px;font-size:11px}.chem-share button{margin-top:10px;min-height:44px}.chem-share p{font-size:11px;line-height:1.5}
