/* Fog's own page: the view and the settings panel. */
html, body { margin: 0; height: 100%; overflow: hidden; background: #2a2a2f; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }

#tuning:not([hidden]) { display: flex; flex-direction: column; gap: 10px; }
#tuning label { display: grid; grid-template-columns: 58px 1fr; align-items: center; font: 13px ui-monospace, Menlo, Consolas, monospace; }

#recipe { width: min(640px, calc(100vw - 32px)); }
#recipe-text {
    height: min(52vh, 460px); resize: none; box-sizing: border-box; padding: 10px 12px;
    font: 12px/1.55 ui-monospace, Menlo, Consolas, monospace; color: var(--ink);
    background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.18); outline: none;
}
#copy {
    align-self: flex-end; display: flex; align-items: center; gap: 8px; padding: 7px 14px;
    font: 13px ui-monospace, Menlo, Consolas, monospace; border: 1px solid rgba(255, 255, 255, 0.3);
}
#copy svg { width: 16px; height: 16px; fill: currentColor; }
#copy:hover { color: var(--punch); border-color: var(--punch); }
#copy:active { color: #000; background: var(--punch); }
