:root { --bg: #14161a; --panel: #1c1f25; --border: #2c313a; --text: #d8dce3; --muted: #8b93a1; --accent: #d9a441; --accent2: #4fc3f7; font-family: system-ui, sans-serif; font-size: 14px; } * { box-sizing: border-box; } [hidden] { display: none !important; } body { margin: 0; background: var(--bg); color: var(--text); } #app { display: grid; grid-template-columns: 270px 1fr 380px; height: 100vh; } #sidebar, #inspector { background: var(--panel); overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 14px; } #sidebar { border-right: 1px solid var(--border); } #inspector { border-left: 1px solid var(--border); } header h1 { margin: 0; font-size: 20px; color: var(--accent); } header .subtitle { color: var(--muted); font-size: 12px; } h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 6px; } section { display: flex; flex-direction: column; gap: 8px; } .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .row label { display: flex; gap: 6px; align-items: center; } .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; } .checks label { display: flex; gap: 6px; align-items: center; font-size: 13px; } .muted { color: var(--muted); font-size: 12px; line-height: 1.45; } .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; } button { background: #262b33; color: var(--text); border: 1px solid var(--border); border-radius: 5px; padding: 5px 12px; cursor: pointer; } button:hover:not(:disabled) { border-color: var(--accent); } button:disabled { opacity: 0.45; cursor: default; } select, input[type="range"] { background: #262b33; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 3px 6px; } input[type="number"] { background: #262b33; color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 3px 4px; width: 62px; } #main { display: flex; flex-direction: column; min-width: 0; } #scene-wrap { position: relative; flex: 1; min-height: 0; } #scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; } #scene-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); pointer-events: none; } #playback { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--border); background: var(--panel); } #playback label { display: flex; gap: 6px; align-items: center; } #pb-pos { flex: 1; } #pb-time { min-width: 72px; text-align: right; } #tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); } #tabs button { border: none; border-radius: 5px 5px 0 0; background: none; color: var(--muted); padding: 6px 10px; } #tabs button.active { background: #262b33; color: var(--text); } .tab { display: none; flex-direction: column; gap: 10px; } .tab.active { display: flex; } #config-yaml { white-space: pre-wrap; margin: 0; line-height: 1.4; } canvas.plot { width: 100%; height: 180px; background: #101216; border: 1px solid var(--border); border-radius: 4px; } canvas.plot.tall { height: 240px; } table { border-collapse: collapse; width: 100%; font-size: 12px; } th, td { border-bottom: 1px solid var(--border); padding: 4px 6px; text-align: right; } th:first-child, td:first-child { text-align: left; } th { color: var(--muted); font-weight: 500; } dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; font-size: 12px; } dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; } body.dragover::after { content: "drop the .cymsim file"; position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 22, 26, 0.85); font-size: 20px; color: var(--accent); z-index: 10; pointer-events: none; }