/* L'Or de Prague — thème laboratoire alchimique (nuit, émeraude, laiton) */
:root {
    --tp-bg: radial-gradient(circle at 50% 0%, #1b2a33 0%, #0a0d14 70%);
    --tp-text: #f1f5f9;
    --tp-muted: #a8b3c4;
    --tp-accent: #f59e0b;
    --tp-accent-2: #34d399;
    --tp-card: rgba(19, 26, 38, 0.94);
    --tp-border: rgba(245, 158, 11, 0.32);
    --tp-header-bg: rgba(10, 13, 20, 0.9);
    --tp-font-head: 'Cinzel', Georgia, serif;
    --tp-font-body: 'Nunito', system-ui, sans-serif;
    --tp-play-bg: linear-gradient(135deg, #f59e0b, #10b981);
    --tp-play-ink: #0a0d14;
    --tp-notebook-bg: rgba(16, 185, 129, 0.08);
    --tp-notebook-border: #10b981;
    --tp-notebook-title: #6ee7b7;
}
.eg {
    --eg-card: rgba(19, 26, 38, 0.96);
    --eg-card-2: rgba(245, 158, 11, 0.05);
    --eg-text: #f1f5f9;
    --eg-muted: #a8b3c4;
    --eg-accent: #f59e0b;
    --eg-accent-ink: #0a0d14;
    --eg-border: rgba(245, 158, 11, 0.26);
    --eg-ok: #6ee7b7;
    --eg-err: #fda4af;
    --eg-radius: 10px;
    --eg-font-head: 'Cinzel', Georgia, serif;
    --eg-font-body: 'Nunito', system-ui, sans-serif;
    --eg-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
.eg .eg-input { background: #0b111b; color: #fde68a; }
.eg .eg-room-title { color: var(--eg-accent); font-size: clamp(1.3rem, 4.5vw, 1.9rem); }
.alch { font-size: 1.5rem; color: #fbbf24; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', serif; }

/* Salle 1 : grimoire */
.grimoire { background: #e8d9b5; color: #3b2a14; border-radius: 6px; padding: 0.9rem 1.2rem; margin: 0.8rem 0; box-shadow: inset 0 0 40px rgba(90, 60, 20, 0.45), 4px 6px 0 rgba(0, 0, 0, 0.3); }
.grim-cap { margin: 0 0 0.4rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.grim-text { font-family: 'Cinzel', Georgia, serif; font-size: clamp(1.05rem, 3.4vw, 1.3rem); line-height: 1.7; margin: 0; }

/* Salle 2 : balance */
.scale-ctrl { margin: 0.6rem 0; }
.lab-bench { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: 1rem; margin-bottom: 0.8rem; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(245, 158, 11, 0.08)); border: 1px solid var(--eg-border); min-height: 190px; }
.lab-bench .secret-obj { position: absolute; left: 8px; bottom: 6px; }
.scale-scene { display: flex; align-items: flex-end; gap: 1rem; }
.scale { position: relative; width: 120px; height: 170px; display: flex; flex-direction: column; align-items: center; }
.scale-hook { width: 2px; height: 70px; background: #cbd5e1; }
.ingot { width: 54px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, #fde68a, #d4a017 60%, #a16207); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); position: relative; z-index: 2; }
.ingot.big { width: 86px; height: 34px; }
.tank { position: absolute; bottom: 0; left: 0; right: 0; height: 90px; border: 2px solid rgba(186, 230, 253, 0.6); border-top: none; border-radius: 0 0 8px 8px; background: rgba(56, 189, 248, 0.25); z-index: 1; }
.cyl { position: relative; width: 90px; height: 170px; border: 2px solid rgba(186, 230, 253, 0.7); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.cyl-water { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(56, 189, 248, 0.35); border-top: 2px solid #7dd3fc; }
.cyl .ingot { margin-bottom: 6px; }
.cyl-scale { font-size: 0.88rem; line-height: 1.6; }
.display-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.scale-display { background: #04130c; color: #34d399; border: 2px solid #065f46; border-radius: 8px; padding: 0.5rem 1rem; font-size: 1.5rem; min-width: 8rem; text-align: center; box-shadow: inset 0 0 12px rgba(52, 211, 153, 0.25); }
