*{box-sizing:border-box}html,body{color:#eee;background:#111;margin:0;padding:0;font:14px/1.4 -apple-system,PingFang SC,Microsoft YaHei,sans-serif}html.lock,html.lock body{overscroll-behavior:none;height:100%;overflow:hidden}button{font:inherit;color:#fff;background:#00000073;border:0;border-radius:16px;padding:6px 12px}button.primary{background:#ff3d6e;border-radius:22px;width:100%;padding:12px;font-weight:600}.stage{aspect-ratio:16/9;background:#000;width:100%;position:relative;overflow:hidden}.stage.pf{z-index:1000;aspect-ratio:auto;width:100vw;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);position:fixed;inset:0}.stage.pf.rotated{transform-origin:0 0;width:100dvh;height:100vw;inset:0 auto auto 0;transform:rotate(90deg)translateY(-100%)}.video-layer{z-index:1;width:100%;height:100%;transition:height .25s,width .25s;position:absolute;top:0;left:0}.aliplayer-host,.aliplayer-box{background:#000;position:relative;width:100%!important;height:100%!important}.aliplayer-box video{object-fit:contain}.tap-to-play{z-index:5;padding:10px 20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stage.pf.drawer-open:not(.land) .video-layer,.stage.pf.drawer-open:not(.land) .danmu-layer{height:35%}.stage.pf.land.drawer-open .video-layer,.stage.pf.land.drawer-open .danmu-layer{width:55%}.danmu-layer{z-index:10;pointer-events:none;width:100%;height:45%;transition:height .25s,width .25s;position:absolute;top:8%;left:0;overflow:hidden}.stage:not(.pf) .danmu-layer{height:60%;top:15%}.danmu{white-space:nowrap;color:#fff;text-shadow:0 0 2px #000,0 0 4px #000;font-size:15px;animation:7s linear forwards fly;position:absolute;left:100%}@keyframes fly{to{transform:translate(calc(-100vw - 100%))}}.stage.land .danmu{animation-name:fly-land}@keyframes fly-land{to{transform:translate(calc(-100vmax - 100%))}}.hud{z-index:20;padding:8px 10px;padding-top:max(8px, env(safe-area-inset-top));justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;left:0;right:0}.host-chip{background:#0006;border-radius:20px;align-items:center;gap:6px;padding:3px 12px 3px 3px;display:flex}.host-chip small{opacity:.8;font-size:10px;display:block}.avatar{background:#ff8a3d;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.hud-actions{gap:6px;display:flex}.product-card{z-index:25;color:#222;background:#fff;border-radius:10px;align-items:center;gap:8px;width:240px;padding:8px;display:flex;position:absolute;bottom:64px;left:10px;box-shadow:0 4px 16px #00000059}.product-card .pic{color:#fff;background:linear-gradient(135deg,#ffb347,#ff5f6d);border-radius:6px;place-items:center;width:52px;height:52px;font-weight:700;display:grid}.product-card .info{flex-direction:column;flex:1;display:flex}.product-card .price{color:#ff3d6e;font-weight:700}.product-card s{color:#999;font-size:11px;font-weight:400}.product-card small{color:#888;font-size:11px}.product-card button{background:#ff3d6e}.product-card .close{color:#999;font-style:normal;position:absolute;top:0;right:4px}.stage:not(.pf) .product-card,.stage:not(.pf) .bottom-bar{display:none}.sale-toast{z-index:30;color:#fff;background:linear-gradient(90deg,#ff3d6ef2,#ff8a3dd9);border-radius:16px;max-width:80%;padding:6px 12px;font-size:13px;animation:.3s ease-out slide-in;position:absolute;top:56px;left:10px}@keyframes slide-in{0%{transform:translate(-110%)}to{transform:none}}.bottom-bar{z-index:20;padding:10px;padding-bottom:max(10px, env(safe-area-inset-bottom));gap:6px;display:flex;position:absolute;bottom:0;left:0;right:0}.bottom-bar input{color:#fff;background:#00000073;border:0;border-radius:16px;flex:1;min-width:0;padding:6px 12px}.bottom-bar button:first-of-type{background:#ff3d6e}.drawer{z-index:1040;color:#222;height:65dvh;padding:14px 16px;padding-bottom:max(14px, env(safe-area-inset-bottom));background:#fff;border-radius:14px 14px 0 0;flex-direction:column;gap:10px;transition:transform .25s;display:flex;position:fixed;bottom:0;left:0;right:0;overflow:auto;transform:translateY(105%)}.stage.pf .drawer{z-index:40;height:65%;position:absolute}.stage.pf.land .drawer{border-radius:14px 0 0 14px;width:45%;height:100%;top:0;bottom:0;left:auto;transform:translate(105%)}.drawer.open,.stage.pf.land .drawer.open{transform:none}.drawer-head{justify-content:space-between;gap:10px;display:flex}.drawer-head i{color:#999;font-size:20px;font-style:normal}.drawer label{color:#555;flex-direction:column;gap:4px;font-size:13px;display:flex}.drawer input,.drawer select,.drawer textarea{font:inherit;color:#222;background:#fafafa;border:1px solid #ddd;border-radius:8px;padding:8px;font-size:16px}.result-mask{z-index:1050;background:#0000008c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.stage.pf .result-mask{z-index:50;position:absolute}.result-card{color:#222;background:linear-gradient(#fff5e6,#fff);border-radius:16px;width:min(340px,100%);max-height:100%;padding:18px;animation:.25s ease-out pop;overflow:auto}@keyframes pop{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}.result-badge{color:#fff;background:#ff3d6e;border-radius:10px;padding:2px 10px;font-size:12px;display:inline-block}.result-card h3{margin:10px 0 6px}.result-card ol{margin:0 0 14px;padding-left:18px;line-height:1.8}.below{padding:12px}.logs{white-space:pre-wrap;color:#9c9;background:#000;max-height:40vh;padding:8px;font-size:11px;overflow:auto}.prism-big-play-btn,.prism-controlbar,.prism-cover{display:none!important}.stage.pf.land.drawer-open .hud,.stage.pf.land.drawer-open .bottom-bar{right:45%}
