/* CARL V3.2 — auxiliary studio; intentionally does not alter CARL V7/V3.1 core */
#c32Launcher{position:fixed;bottom:20px;right:18px;z-index:105;background:#100f09;color:#ffe381;border:1px solid #8b7024;border-radius:999px;font:700 10px ui-monospace,monospace;letter-spacing:1.5px;padding:12px 16px;box-shadow:0 0 15px #ffcd3026;cursor:pointer}
body.carl-survival #c32Launcher{border-color:#d85b65;color:#ffacb7}
#c32Launcher[hidden],#c32Panel[hidden],#c32Gift[hidden]{display:none!important}
#c32Panel{position:fixed;z-index:10090;top:12vh;right:12px;width:min(480px,45vw);height:min(76vh,750px);border:1px solid #957729;border-radius:20px;background:linear-gradient(155deg,#171508ed,#0b0c0cf7 60%);color:#f8eac8;box-shadow:0 22px 110px #000b,0 0 38px #b99b1424;display:flex;flex-direction:column;overflow:hidden;backdrop-filter:blur(16px);font:13px/1.48 system-ui,-apple-system,sans-serif}
#c32Panel *{box-sizing:border-box}#c32Panel button,#c32Panel input,#c32Panel select,#c32Panel textarea{font:inherit}#c32Panel button{cursor:pointer}#c32Panel button:disabled{opacity:.4;cursor:wait}
.c32-head{padding:12px 13px;border-bottom:1px solid #67551b;display:flex;align-items:center;gap:9px;justify-content:space-between}.c32-head strong{font:700 12px/1.2 ui-monospace,monospace;letter-spacing:1px;color:#ffe58b}.c32-close{background:transparent!important;color:#fff1bb;border:1px solid #7c6a36!important;border-radius:50%;width:30px;height:30px;flex:none}.c32-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin;padding:9px;border-bottom:1px solid #3b351c}.c32-tabs button{border:1px solid #5a512b;border-radius:7px;background:#24200d;color:#f0d78c;padding:7px 9px;flex:none;font-size:10px!important}.c32-tabs button.active{color:#0c0b08;background:#f2d24a;border-color:#ffe59d;font-weight:700!important}
.c32-body{overflow-y:auto;padding:14px;min-height:0;flex:1;scrollbar-color:#67551b transparent}.c32-body h3{font-size:15px;letter-spacing:.4px;color:#ffe189;margin:7px 0 10px}.c32-body h4{font-size:12px;margin:9px 0;color:#ffdf74}.c32-body p{margin:7px 0 12px;color:#dcd2af}.c32-muted{color:#b9ad84;font-size:11px}.c32-note{border-left:2px solid #e0b92e;padding:7px 10px;background:#c8ad3013;color:#ded4b2;font-size:11px;margin:9px 0}.c32-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:9px 0}.c32-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.c32-field{display:flex;flex-direction:column;gap:4px;color:#e8d29e;font-size:11px}.c32-field input,.c32-field textarea,.c32-field select,#c32Panel input,#c32Panel textarea,#c32Panel select{background:#17170e;color:#fff0c3;border:1px solid #6d5f35;border-radius:8px;padding:9px 10px;min-width:0;max-width:100%;outline-offset:2px}.c32-field input:focus,#c32Panel textarea:focus{outline:1px solid #f0d052}.c32-btn{border:1px solid #9e7e25;border-radius:8px;color:#0f0f07!important;background:#f1cf50!important;padding:9px 12px;font-weight:700!important;font-size:12px!important}.c32-btn-alt{color:#f3df9d!important;background:#29220c!important}.c32-btn-red{background:#62201d!important;border-color:#e27470!important;color:#fff0ed!important}.c32-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.c32-tile{padding:10px;background:#24200e;border:1px solid #5f5428;border-radius:10px}.c32-tile b{display:block;font-size:11px;color:#f9dc75}.c32-stat{font:700 23px ui-monospace,monospace;color:#fff0a0}.c32-table{width:100%;border-collapse:collapse;font-size:12px}.c32-table th{text-align:left;color:#f5d46b;font-size:10px}.c32-table th,.c32-table td{padding:8px 6px;border-bottom:1px solid #4c4222}.c32-table tr[data-symbol]{cursor:pointer}.c32-table tr[data-symbol]:hover{background:#51422255}.c32-up{color:#78e7b0}.c32-down{color:#f28c8c}.c32-canvas{display:block;width:100%;height:170px;background:#101109;border:1px solid #48401f;border-radius:10px}.c32-image{display:block;width:100%;max-height:330px;object-fit:contain;background:#070807;border-radius:10px;border:1px solid #79612b}.c32-editor{width:100%;min-height:190px;font:11px/1.5 ui-monospace,monospace!important;tab-size:2;white-space:pre;resize:vertical}.c32-preview{background:#fff;width:100%;height:240px;border:1px solid #b59b50;border-radius:8px}.c32-pills{display:flex;gap:6px;overflow-x:auto}.c32-chip{border-radius:999px!important;padding:6px 9px!important;background:#25210e!important;border:1px solid #766124!important;color:#f6de90!important;font-size:10px!important}.c32-chip.active{background:#f2cd50!important;color:#141207!important}.c32-log{max-height:140px;overflow:auto;border:1px solid #4b4326;border-radius:7px;padding:8px;font:11px/1.7 ui-monospace,monospace;color:#c0d3ba;background:#0b0e0b}.c32-warn{color:#ffd082}.c32-tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:260px;overflow:auto;padding:4px;border:1px solid #383622;border-radius:7px}.c32-tool-list button{background:#1b1c11;color:#f2daa0;border:1px solid #4b4227;border-radius:6px;text-align:left;padding:7px 8px;font-size:11px!important}.c32-tool-list button:hover{background:#3a331b}.c32-scope{height:100px;border:1px solid #5b512e;border-radius:8px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 85%,#b181172d,transparent 75%),#0c100e}.c32-liquid{position:absolute;bottom:0;left:10%;width:80%;height:34%;background:linear-gradient(#e6c65388,#97722b77);border-radius:10px 10px 20px 20px;transition:height .35s,background .35s}.c32-scope:after{content:'VIRTUAL / NOT A PHYSICAL REACTION';position:absolute;top:5px;left:5px;font:8px ui-monospace,monospace;color:#ad9a68}.c32-usage{color:#f6dd8a;font-size:11px;padding-top:3px}.c32-gift{border:1px solid #7a6523;border-radius:12px;margin:12px 0;padding:12px;background:#100f06}.c32-gift button{background:#2b260c;border:1px solid #b29536;border-radius:7px;color:#ffe695;padding:8px;font:11px ui-monospace,monospace;margin:3px}.c32-gift strong{color:#ffe38c}
@media(max-width:700px){#c32Panel{top:auto;bottom:6px;left:6px;right:6px;width:auto;height:min(62dvh,620px);border-radius:16px}#c32Launcher{bottom:14px;right:12px;padding:10px 12px;font-size:9px}body:has(#c32Panel:not([hidden])) #c32Launcher{display:none}.c32-body{padding:10px}.c32-head{padding:10px}.c32-tabs button{font-size:9px!important;padding:7px}.c32-tiles{gap:5px}}

.c32-image[hidden]{display:none!important}
