.zhg-wrap{--zhg-ink:#0f172a;--zhg-muted:#475569;--zhg-border:#e2e8f0;box-sizing:border-box;width:100%;max-width:1200px;color:var(--zhg-ink);flex-direction:column;gap:1.5rem;margin:0 auto;padding:0 0 3.5rem;display:flex}[data-theme=dark] .zhg-wrap,[data-color-mode=dark] .zhg-wrap,.dark .zhg-wrap{--zhg-ink:#f8fafc;--zhg-muted:#cbd5e1;--zhg-border:#ffffff24}.zhg-wrap.is-expanded{max-width:1460px}.zhg-hero{background:linear-gradient(135deg,#fff7ed 0%,#fff 55%,#f0fdfa 100%);border:1px solid #ea580c3d;border-radius:24px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.65rem 1.8rem;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 38px -24px #0f172a33}[data-theme=dark] .zhg-hero,.dark .zhg-hero{background:linear-gradient(135deg,#1e1b4b 0%,#0f172a 60%,#134e4a 100%);border-color:#fb923c52}.zhg-kicker{letter-spacing:.04em;text-transform:uppercase;color:#c2410c;background:#ea580c24;border-radius:999px;align-items:center;gap:.38rem;padding:.3rem .78rem;font-size:.74rem;font-weight:800;display:inline-flex}[data-theme=dark] .zhg-kicker,.dark .zhg-kicker{color:#fdba74;background:#fb923c38}.zhg-title{color:var(--zhg-ink);margin:.5rem 0 .45rem;font-size:clamp(1.55rem,3vw,2.25rem);font-weight:800;line-height:1.2}.zhg-sub{max-width:64ch;color:var(--zhg-muted);margin:0;font-size:.94rem;line-height:1.58}.zhg-demo-cta{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ea580c,#be123c);border:none;border-radius:16px;align-items:center;gap:.55rem;padding:.78rem 1.25rem;font-size:.9rem;font-weight:800;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 12px 24px -12px #be123c8c}.zhg-demo-cta:hover{transform:translateY(-2px)}.zhg-game-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.zhg-game-tab{text-align:left;border:1.5px solid var(--zhg-border);background:var(--card,#fff);color:var(--zhg-ink);cursor:pointer;border-radius:18px;align-items:center;gap:.9rem;padding:1rem 1.2rem;transition:border-color .16s,background-color .16s,transform .16s;display:flex}[data-theme=dark] .zhg-game-tab,[data-color-mode=dark] .zhg-game-tab,.dark .zhg-game-tab{color:#f8fafc;background:#111827;border-color:#ffffff1f}.zhg-game-tab.is-active{background:color-mix(in srgb, #ea580c 8%, var(--card,#fff));border-color:#ea580c}[data-theme=dark] .zhg-game-tab.is-active,[data-color-mode=dark] .zhg-game-tab.is-active,.dark .zhg-game-tab.is-active{background:#ea580c2e}.zhg-card{background:var(--card,#fff);border:1px solid var(--zhg-border);color:var(--zhg-ink);border-radius:22px;padding:1.35rem 1.45rem;box-shadow:0 10px 28px -22px #0f172a29}[data-theme=dark] .zhg-card,[data-color-mode=dark] .zhg-card,.dark .zhg-card{color:#f8fafc;background:#111827;border-color:#ffffff1f}.zhg-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.zhg-pills{flex-wrap:wrap;gap:.45rem;display:flex}.zhg-pill{border:1px solid var(--zhg-border);color:var(--zhg-ink);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:.35rem;padding:.44rem .85rem;font-size:.82rem;font-weight:700;display:inline-flex}.zhg-pill.is-active{color:#fff;background:#0f766e;border-color:#0f766e}.zhg-pill.is-warm.is-active{color:#fff;background:#ea580c;border-color:#ea580c}.zhg-chain-log{background:color-mix(in srgb, var(--card,#fff) 92%, #f1f5f9);border:1px solid var(--border,#e2e8f0);border-radius:16px;flex-direction:column;gap:.65rem;min-height:230px;max-height:320px;padding:1rem;display:flex;overflow-y:auto}[data-theme=dark] .zhg-chain-log,.dark .zhg-chain-log{background:#0f172a;border-color:#ffffff1a}.zhg-chain-bubble{border-radius:14px;flex-direction:column;gap:.15rem;max-width:85%;padding:.65rem .9rem;font-size:.9rem;display:flex}.zhg-chain-bubble.is-me{border:1px solid #14b8a673;align-self:flex-end;color:#fff!important;background:linear-gradient(135deg,#0f766e,#0d9488)!important}.zhg-chain-bubble.is-me strong,.zhg-chain-bubble.is-me span{color:#fff!important}.zhg-chain-bubble.is-bot{background:var(--card,#fff);border:1px solid var(--border,#cbd5e1);color:var(--foreground,#0f172a);align-self:flex-start}[data-theme=dark] .zhg-chain-bubble.is-bot,[data-color-mode=dark] .zhg-chain-bubble.is-bot,.dark .zhg-chain-bubble.is-bot{color:#f8fafc;background:#1e293b;border-color:#ffffff24}.zhg-input-row{gap:.6rem;margin-top:.9rem;display:flex}.zhg-input{box-sizing:border-box;border:1.5px solid var(--zhg-border);background:var(--card,#fff);width:100%;min-width:0;color:var(--zhg-ink);border-radius:13px;flex:1;padding:.72rem .95rem;font-size:.98rem;font-weight:600}[data-theme=dark] .zhg-input,[data-color-mode=dark] .zhg-input,.dark .zhg-input{color:#f8fafc;background:#0f172a;border-color:#ffffff29}.zhg-input:focus{border-color:#ea580c;outline:none}.zhg-btn{color:#fff;cursor:pointer;background:#ea580c;border:none;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;gap:.42rem;padding:.68rem 1.1rem;font-size:.88rem;font-weight:700;display:inline-flex}.zhg-btn.is-secondary{color:var(--zhg-ink);border:1px solid var(--zhg-border);background:0 0}.zhg-shooter-stage{color:#f8fafc;box-sizing:border-box;background:linear-gradient(#0f172a 0%,#1e1b4b 64%,#1e293b 100%);border:1.5px solid #0ea5e947;border-radius:20px;flex-direction:column;justify-content:space-between;width:100%;min-height:360px;padding:1rem 1.1rem;display:flex;position:relative;overflow:hidden}.zhg-shooter-stage.is-large{min-height:460px}.zhg-shooter-stage.is-fullscreen{z-index:95;border-radius:0;min-height:100dvh;padding:1.4rem;position:fixed;inset:0}.zhg-shooter-hud{z-index:3;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex;position:relative}.zhg-hud-chip{color:#f8fafc;background:#0f172ab8;border:1px solid #ffffff29;border-radius:999px;padding:.36rem .75rem;font-size:.8rem;font-weight:700}.zhg-clue-banner{z-index:3;background:#0f172ad6;border:1.5px solid #fbbf2480;border-radius:14px;align-self:center;align-items:center;gap:.75rem;margin:.35rem 0;padding:.55rem 1.15rem;font-size:1rem;font-weight:800;display:inline-flex;position:relative;box-shadow:0 10px 24px -12px #00000080}.zhg-clue-mystery{color:#fde68a;background:#f59e0b38;border-radius:8px;padding:.2rem .55rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.zhg-battle-lane{border-bottom:2px solid #38bdf859;width:100%;height:178px;margin:.35rem 0 .75rem;position:relative}.zhg-hero-actor{width:88px;height:110px;transition:transform .18s;position:absolute;bottom:8px;left:5%}.zhg-hero-actor.is-idle{animation:2.1s ease-in-out infinite zhgHeroIdle}.zhg-hero-actor.is-shooting{transform:translate(-5px)scale(1.04)}.zhg-hero-actor.is-defeated{opacity:.72;transform:rotate(-72deg)translateY(22px)}@keyframes zhgHeroIdle{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.zhg-laser-beam{pointer-events:none;background:linear-gradient(90deg,#38bdf8,#fbbf24,#f43f5e);border-radius:999px;height:6px;animation:.24s ease-out forwards zhgLaserFlash;position:absolute;bottom:58px;left:calc(5% + 74px);box-shadow:0 0 16px #38bdf8}@keyframes zhgLaserFlash{0%{opacity:1;transform:scaleY(1.4)}to{opacity:0;transform:scaleY(.3)}}.zhg-monster-actor{transform-origin:bottom;flex-direction:column;align-items:center;gap:.25rem;transition:filter .12s;display:flex;position:absolute;bottom:8px}.zhg-monster-actor.is-hit{filter:brightness(1.85)drop-shadow(0 0 16px #fb7185)}.zhg-ai-status-bar{background:color-mix(in srgb, #0f766e 7%, var(--card,#fff));border:1px solid #0f766e38;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.9rem;padding:.68rem .9rem;display:flex}[data-theme=dark] .zhg-ai-status-bar,[data-color-mode=dark] .zhg-ai-status-bar,.dark .zhg-ai-status-bar{background:#0f766e24;border-color:#2dd4bf3d}.zhg-key-pill{color:#4338ca;background:#6366f11a;border-color:#6366f16b}[data-theme=dark] .zhg-key-pill,[data-color-mode=dark] .zhg-key-pill,.dark .zhg-key-pill{color:#c7d2fe;background:#6366f138}.zhg-key-pill.is-configured{color:#047857;background:#10b98124;border-color:#10b98180}[data-theme=dark] .zhg-key-pill.is-configured,[data-color-mode=dark] .zhg-key-pill.is-configured,.dark .zhg-key-pill.is-configured{color:#6ee7b7}.zhg-input.is-miss{border-color:#ef4444;animation:.24s ease-in-out zhgMissShake}@keyframes zhgMissShake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.zhg-boss-banner{z-index:3;background:#7f1d1d85;border:1.5px solid #fbbf24a6;border-radius:13px;flex-direction:column;align-self:center;gap:.3rem;width:min(440px,92%);padding:.45rem .78rem;display:flex;position:relative;box-shadow:0 8px 22px #dc262647}.zhg-boss-banner-top{letter-spacing:.04em;color:#fde68a;justify-content:space-between;align-items:center;font-size:.74rem;font-weight:800;display:flex}.zhg-monster-hp-caption{color:#fde68a;white-space:nowrap;background:#0f172adb;border:1px solid #fff3;border-radius:999px;align-items:center;gap:.38rem;padding:.14rem .48rem;font-size:.71rem;font-weight:800;display:inline-flex}.zhg-monster-hp-nums{color:#f8fafc}.zhg-hp-bar{background:#020617e6;border:1.5px solid #ffffff5c;border-radius:999px;width:88px;height:11px;position:relative;overflow:hidden;box-shadow:0 3px 10px #00000073}.zhg-hp-bar.is-boss{border-color:#fbbf24;width:118px;height:13px;box-shadow:0 0 14px #fbbf246b}.zhg-hp-bar.is-boss-banner{border-color:#fde047;width:100%;height:12px}.zhg-hp-bar.is-flash{border-color:#fff;box-shadow:0 0 16px #f43f5e}.zhg-hp-fill{border-radius:inherit;background:linear-gradient(90deg,#16a34a,#4ade80);height:100%;transition:width .2s cubic-bezier(.22,1,.36,1),background .2s}.zhg-hp-fill.is-mid{background:linear-gradient(90deg,#d97706,#fbbf24)}.zhg-hp-fill.is-low{background:linear-gradient(90deg,#dc2626,#fb7185)}.zhg-hp-segments{pointer-events:none;display:flex;position:absolute;inset:0}.zhg-hp-segments>i{border-right:1px solid #0f172a94;flex:1}.zhg-hp-segments>i:last-child{border-right:none}.zhg-damage-popup{color:#fff;letter-spacing:.02em;pointer-events:none;z-index:6;background:linear-gradient(135deg,#ef4444,#f97316);border:1px solid #fde047;border-radius:999px;padding:.18rem .52rem;font-size:.78rem;font-weight:900;animation:.7s cubic-bezier(.22,1,.36,1) forwards zhgDamageFloat;position:absolute;bottom:108px;transform:translate(-50%);box-shadow:0 6px 16px #ef444480}@keyframes zhgDamageFloat{0%{opacity:1;transform:translate(-50%,6px)scale(.9)}35%{opacity:1;transform:translate(-50%,-14px)scale(1.12)}to{opacity:0;transform:translate(-50%,-34px)scale(.96)}}.zhg-modal-backdrop{z-index:120;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-sizing:border-box;background:#020617b8;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.zhg-modal-dialog{background:var(--card,#fff);border:1px solid var(--border,#cbd5e1);box-sizing:border-box;border-radius:24px;flex-direction:column;gap:1rem;width:100%;max-width:820px;max-height:92dvh;padding:1.35rem 1.45rem;display:flex;overflow-y:auto}[data-theme=dark] .zhg-modal-dialog,[data-color-mode=dark] .zhg-modal-dialog,.dark .zhg-modal-dialog{color:#f8fafc;background:#0f172a;border-color:#ffffff26}.zhg-demo-canvas{aspect-ratio:16/9;background:#090d16;border-radius:16px;width:100%;height:auto;display:block}.zhg-demo-subtitle{color:#fde68a;text-align:center;background:#0f172aeb;border-radius:14px;padding:.75rem 1rem;font-size:.92rem;font-weight:700;line-height:1.5}.zhg-lb-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;display:grid}.zhg-lb-row{border:1px solid var(--border,#e2e8f0);border-radius:14px;justify-content:space-between;align-items:center;gap:.65rem;padding:.8rem .95rem;display:flex}.zhg-lb-row.is-me{background:#ea580c14;border-color:#ea580c}@media (max-width:720px){.zhg-game-tabs{grid-template-columns:minmax(0,1fr)}.zhg-hero{padding:1.2rem 1.1rem}.zhg-card{padding:1.05rem 1rem}.zhg-input-row{flex-wrap:wrap}.zhg-btn{width:100%}}
