.steel-torch{display:block;max-width:900px;margin:auto}
.steel-story .steel-torch-hint{max-width:620px;margin:0 auto 24px;text-align:center;color:#59616d;font-size:15px}
.steel-torch-stage{position:relative;aspect-ratio:1;overflow:hidden;border:1px solid #d6dbe3;border-radius:16px;background:#fff;touch-action:pinch-zoom}
.steel-torch-stage>canvas{display:block;width:100%;height:100%}
.steel-torch-originals{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:30px}
.steel-torch-originals figure{display:flex;flex-direction:column;justify-content:center;min-width:0}
.steel-torch-originals img{object-fit:contain;max-height:80%}
.steel-torch-originals figcaption{margin-top:15px!important;font-size:13px;text-align:center;color:#59616d}
.steel-torch-cursor{position:absolute;left:0;top:0;width:160px;height:160px;pointer-events:none;z-index:2;transform:translate(-21.6667%,-21.6667%);filter:drop-shadow(3px 7px 5px #10192338)}
.steel-torch-cursor svg{display:block;width:100%;height:100%}
.steel-torch[data-active="true"] .steel-torch-stage{cursor:none}
.steel-torch-flame{transform-origin:75px 75px;animation:steel-torch-flame 180ms ease-in-out infinite alternate}
@keyframes steel-torch-flame{to{transform:scale(.96,1.02);opacity:.85}}
.steel-torch-controls{display:flex;align-items:center;gap:12px;margin:0 0 18px;flex-wrap:wrap}
.steel-torch-controls p{margin-right:auto!important;font-size:13px;color:#59616d}
.steel-torch-controls button{font:inherit;font-size:14px;font-weight:500;padding:12px 20px;min-height:48px;border:1px solid #8995a3;border-radius:6px;color:#172630;background:#fff;cursor:pointer}
.steel-torch-controls [data-torch-demo]{background:#172630;color:#fff;border-color:#172630}
.steel-torch-controls button:focus-visible{outline:3px solid #536b82;outline-offset:4px}
.steel-torch [hidden]{display:none!important}
.steel-story:not(.is-animated) .steel-torch-flame{animation:none}
@media(prefers-reduced-motion:reduce){.steel-torch-flame{animation:none}}
@media(max-width:749px){.steel-torch-cursor{width:120px;height:120px}.steel-torch-controls p{flex-basis:100%}.steel-torch-controls button{flex:1}.steel-torch-originals{padding:15px;gap:10px}}

.steel-torch-controls [data-torch-demo]::before{content:'▶';font-size:11px;margin-right:9px}
.steel-torch-cue{display:none;position:absolute;left:50%;top:18px;transform:translateX(-50%);max-width:calc(100% - 28px);width:max-content;padding:10px 17px;background:#172630;color:#fff;border-radius:30px;font-size:14px;font-weight:550;text-align:center;pointer-events:none;z-index:3;box-shadow:0 3px 12px #17263018}
.steel-torch[data-ready="true"] .steel-torch-cue{display:block}
.steel-torch[data-active="true"] .steel-torch-cue,.steel-torch[data-interacted="true"] .steel-torch-cue,.steel-torch[data-full="true"] .steel-torch-cue{display:none}
@media(max-width:749px){.steel-torch-controls button{padding:12px}.steel-torch-controls [data-torch-demo]{flex-basis:100%}.steel-torch-cue{font-size:12px}}

.steel-torch-stage{width:min(100%,80svh);margin-inline:auto}

.steel-torch-temperature{--heat:0;position:absolute;z-index:4;width:174px;max-width:calc(100% - 16px);padding:10px 12px;border:1px solid #536c7e;border-radius:10px;background:#172630;color:#fff;pointer-events:none;box-shadow:0 4px 18px #17263030;line-height:1.3}
.steel-torch-temperature>span:first-child{display:block;font-size:10px;color:#c2cfd9;margin-bottom:4px}
.steel-torch-temperature strong{display:block;font-size:17px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.steel-torch-heat-track{display:block;height:3px;margin-top:8px;background:#405361;border-radius:3px;overflow:hidden}
.steel-torch-heat-track i{display:block;width:100%;height:100%;background:#80d8ff;transform:scaleX(var(--heat));transform-origin:left center}

.steel-torch-stage,.steel-torch-stage *,.steel-torch-controls{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.steel-torch-stage img,.steel-torch-stage canvas{-webkit-user-drag:none}
.steel-torch-controls button{touch-action:manipulation}
