[data-tool=html5-app]{--tool-accent:#5eead4;--tool-accent-hover:#99f6e4;--tool-accent-soft:rgba(94,234,212,.12);--tool-accent-line:rgba(94,234,212,.42);--tool-ink:#03130f;--tool-secondary:#2dd4bf}[hidden]{display:none!important}.h5-hero:before{content:"";pointer-events:none;background:radial-gradient(circle,rgba(94,234,212,.12),transparent 62%);width:66vw;max-width:860px;height:66vw;max-height:860px;position:absolute;top:-20vw;right:-16vw}.h5-hero>.tl-container{position:relative}.h5-ready .h5-reveal{opacity:0;transition:opacity .6s,transform .6s;transform:translateY(18px)}.h5-ready .h5-reveal.is-visible{opacity:1;transform:none}.h5-stack{border:1px solid var(--tl-border-strong);background:#090b12;border-radius:18px;min-width:0;margin:0;padding:1.3rem 1.2rem 1.2rem;box-shadow:0 40px 80px -40px rgba(0,0,0,.95)}.h5-stack-title{font-family:var(--tl-font-display);color:#fff;margin-bottom:1.2rem;font-size:.95rem;font-weight:600;display:block}.h5-layers{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.h5-layer{border:1px solid var(--tl-border-strong);background:var(--tl-surface);animation:8s ease-in-out infinite h5-glow;animation-delay:calc(var(--i,0)*1.6s);border-radius:14px;align-items:center;gap:.9rem;padding:.8rem .95rem;display:flex}@keyframes h5-glow{0%,to{border-color:var(--tl-border-strong);box-shadow:none}6%,16%{border-color:var(--tool-accent-line);box-shadow:0 0 0 1px var(--tool-accent-soft),0 0 26px -6px var(--tool-accent-line)}}.h5-layer-icon{border:1px solid var(--tl-border-strong);width:44px;height:44px;color:var(--tool-accent);background:rgba(255,255,255,.02);border-radius:12px;flex:none;align-items:center;justify-items:center;display:grid}.h5-layer-text{flex-direction:column;gap:.2rem;min-width:0;display:flex}.h5-layer-text strong{font-family:var(--tl-font-display);color:#fff;font-size:.95rem;font-weight:600}.h5-layer-text small{font-family:var(--tl-font-mono);color:var(--tl-dim);word-break:break-word;font-size:.72rem;line-height:1.45}.h5-drop{background:var(--tl-border-strong);border-radius:2px;width:2px;height:26px;margin-left:21px;position:relative}.h5-drop:after{content:"";background:var(--tool-accent);width:8px;height:8px;box-shadow:0 0 10px var(--tool-accent-line);opacity:0;animation:2.4s linear infinite h5-fall;animation-delay:calc(var(--i,0)*.6s);border-radius:50%;position:absolute;top:0;left:-3px}@keyframes h5-fall{0%{opacity:0;top:0}10%,70%{opacity:1}to{opacity:0;top:calc(100% - 8px)}}.h5-stack-caption{color:var(--tl-dim);margin:1.3rem 0 0;font-size:.86rem;line-height:1.55}.h5-play{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;margin-top:1.5rem;display:grid}.h5-play-col{border:1px solid var(--tl-border);background:var(--tl-code-bg);border-radius:16px;min-width:0;overflow:hidden}.h5-editor{resize:vertical;box-sizing:border-box;width:100%;min-height:380px;font-family:var(--tl-font-mono);color:#dcdfee;-moz-tab-size:2;tab-size:2;white-space:pre;background:0 0;border:0;border-radius:0;margin:0;padding:1rem 1.1rem;font-size:.78rem;line-height:1.6;display:block;overflow:auto}.h5-editor:focus{outline:2px solid var(--tool-accent-line);outline-offset:-2px}.h5-frame{background:#0f1220;height:380px}.h5-frame iframe{border:0;width:100%;height:100%;display:block}.h5-live{color:var(--tool-accent);align-items:center;gap:.45rem;display:inline-flex}.h5-live:before{content:"";background:var(--tool-accent);width:7px;height:7px;box-shadow:0 0 8px var(--tool-accent-line);border-radius:50%}.h5-runtimes{margin-top:0}.h5-tabs{flex-wrap:wrap;gap:.5rem;display:flex}.h5-tab{border:1px solid var(--tl-border-strong);font-family:var(--tl-font-display);color:var(--tl-muted);cursor:pointer;background:0 0;border-radius:999px;padding:.6rem 1rem;font-size:.9rem;font-weight:600;transition:color .2s,border-color .2s,background .2s}.h5-tab:hover{color:#fff;border-color:var(--tool-accent-line)}.h5-tab[aria-selected=true]{color:var(--tool-ink);background:var(--tool-accent);border-color:var(--tool-accent)}.h5-panel{border:1px solid var(--tl-border);background:var(--tl-surface);border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start;gap:1.25rem 2rem;margin-top:1.25rem;padding:1.5rem;display:grid}.h5-panel dl{gap:.9rem;margin:0;display:grid}.h5-panel dt{font-family:var(--tl-font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--tl-dim);font-size:.72rem}.h5-panel dd{color:var(--tl-muted);margin:.25rem 0 0;font-size:.95rem;line-height:1.6}.h5-panel .tl-code{margin-top:0}.h5-engines{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.h5-engine{border:1px solid var(--tl-border);background:var(--tl-surface);border-radius:16px;min-width:0;padding:1.6rem 1.6rem 1.5rem;transition:border-color .2s,transform .2s}.h5-engine:hover{border-color:var(--tool-accent-line);transform:translateY(-2px)}.h5-engine-tag{border:1px solid var(--tool-accent-line);font-family:var(--tl-font-mono);color:var(--tool-accent);border-radius:999px;margin-bottom:.8rem;padding:.3rem .6rem;font-size:.7rem;display:inline-block}.h5-engine h3{margin-bottom:.5rem;font-size:1.2rem}.h5-engine p{color:var(--tl-muted);margin:0;font-size:.95rem;line-height:1.6}.h5-bridge{border:1px solid var(--tl-border-strong);background:#090b12;border-radius:18px;margin-top:1.5rem;padding:1.4rem;box-shadow:0 40px 80px -40px rgba(0,0,0,.95)}.h5-bridge-calls{flex-wrap:wrap;gap:.5rem;display:flex}.h5-bridge-calls .tl-btn-mini[aria-pressed=true]{color:#fff;border-color:var(--tool-accent);background:var(--tool-accent-soft)}.h5-stage{grid-template-columns:auto minmax(20px,1fr) auto minmax(20px,1fr) auto;align-items:start;margin:1.6rem 0 .5rem;display:grid}.h5-node{text-align:center;flex-direction:column;align-items:center;gap:.35rem;min-width:0;display:flex}.h5-node-icon{border:1px solid var(--tl-border-strong);background:var(--tl-surface);width:48px;height:48px;color:var(--tool-accent);border-radius:14px;align-items:center;justify-items:center;display:grid}.h5-node strong{font-family:var(--tl-font-display);color:#fff;font-size:.88rem;font-weight:600}.h5-node small{font-family:var(--tl-font-mono);color:var(--tl-dim);word-break:break-word;font-size:.66rem}.h5-track{background:var(--tl-border-strong);border-radius:2px;height:2px;margin-top:23px;position:relative}.h5-dot{opacity:0;border-radius:50%;width:8px;height:8px;position:absolute;top:-3px;left:0}.h5-dot-out{background:var(--tool-accent);box-shadow:0 0 10px var(--tool-accent-line)}.h5-dot-back{background:#fff;box-shadow:0 0 8px rgba(255,255,255,.5)}.h5-stage.is-running .h5-dot-out{animation:h5-go .6s ease-in-out var(--d,0s)both}.h5-stage.is-running .h5-dot-back{animation:h5-back .6s ease-in-out var(--d,0s)both}@keyframes h5-go{0%{opacity:0;left:0}10%,85%{opacity:1}to{opacity:0;left:calc(100% - 8px)}}@keyframes h5-back{0%{opacity:0;left:calc(100% - 8px)}10%,85%{opacity:1}to{opacity:0;left:0}}.h5-bridge-code{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1rem;margin-top:1.4rem;display:grid}.h5-bridge-code .tl-code{margin-top:0}.h5-bridge .tl-note{margin-top:1.25rem}.h5-trade{margin-top:2.5rem}@media (max-width:900px){.h5-engines{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.h5-play,.h5-panel,.h5-bridge-code{grid-template-columns:minmax(0,1fr)}.h5-frame{height:320px}}@media (prefers-reduced-motion:reduce){.h5-ready .h5-reveal{opacity:1;transition:none;transform:none}}