.torch-panel{justify-content:center;width:100%;display:flex}.torch{background:var(--paper);border:1px solid var(--line);width:100%;max-width:380px;box-shadow:var(--shadow);text-align:center;border-radius:20px;flex-direction:column;align-items:center;gap:14px;margin:0 auto;padding:28px 22px;display:flex}.torch-modes{width:100%;padding:5px;display:flex}.torch-modes button{text-align:center;flex:1;padding:9px 4px;font-size:13px}.torch-colors{gap:10px;display:flex}.torch-swatch{border:2px solid var(--line);cursor:pointer;border-radius:50%;width:30px;height:30px;padding:0;transition:transform .12s,border-color .12s}.torch-swatch:hover{transform:scale(1.08)}.torch-swatch.on{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent)}.torch-orb{background:var(--surface);border:1px solid var(--line);filter:grayscale()opacity(.5);border-radius:50%;place-items:center;width:120px;height:120px;font-size:46px;transition:filter .15s,background .15s,box-shadow .15s;display:grid}.torch-orb.lit{filter:none;background:#fff7d6;box-shadow:0 0 40px 12px #ffd6408c}.torch-orb.lit.orb-warm{background:#fff1d6;box-shadow:0 0 40px 12px #ffbe5a8c}.torch-orb.lit.orb-red{background:#ffd6d6;box-shadow:0 0 40px 12px #ff2d2d80}.torch-orb.lit.orb-green{background:#d6ffe4;box-shadow:0 0 40px 12px #3ddc6a80}.torch-orb.sos{animation:.9s ease-in-out infinite torch-pulse}@keyframes torch-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.torch-toggle{max-width:220px}.torch-sos{border:1px solid var(--line);background:var(--paper);color:var(--ink-soft);cursor:pointer;border-radius:999px;padding:9px 18px;font-size:13.5px;font-weight:600}.torch-sos.on{border-color:var(--coral);color:var(--coral);background:color-mix(in srgb, var(--coral) 8%, transparent)}.torch-msg{max-width:320px;margin:0}.torch-flash{z-index:999;cursor:pointer;background:#fff;position:fixed;inset:0}.torch-flash-warm{background:#ffdb9e}.torch-flash-red{background:#ff2d2d}.torch-flash-green{background:#3ddc6a}
