*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#211c21;color:#fff;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid #fff;outline-offset:2px}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}
#ambient{position:fixed;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(38px) brightness(.6);pointer-events:none}.room{height:100dvh;display:flex;justify-content:center;position:relative}.stage{position:relative;width:100%;height:100%;max-width:calc(100dvh * 9 / 16);overflow:hidden;isolation:isolate;background:#5f4d49;box-shadow:0 0 100px #0005;container-type:inline-size}#screen{display:block;width:100%;height:100%;object-fit:cover;transform:none;transform-origin:center top}.shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#160e1e66 0%,#160e1e10 20%,transparent 38%,transparent 56%,#180f1c19 79%,#120c1c55 100%)}
.topbar{position:absolute;top:calc(14px + env(safe-area-inset-top));left:12px;right:9px;display:flex;gap:6px;align-items:center;justify-content:space-between;text-shadow:0 1px 4px #0005}.host-card{display:flex;align-items:center;gap:6px;border-radius:30px;background:#251e295e;padding:4px 5px 4px 4px;flex-shrink:0}.host-avatar{width:34px;height:34px;border:1.5px solid #fffc;object-fit:cover;object-position:50% 20%;border-radius:50%}.host-info{display:flex;flex-direction:column;gap:3px;font-size:9px;white-space:nowrap;min-width:64px}.host-info strong{font-size:14px;line-height:16px;letter-spacing:.5px}.host-info b{font-weight:400}.follow{border:0;background:#ff247b;color:#fff;border-radius:22px;padding:0 12px;min-height:32px;font-size:13px;font-weight:600;white-space:nowrap}.follow[aria-pressed=true]{background:#ffffff26;font-size:11px}.audience{display:flex;align-items:center;gap:8px;font-size:12px}.audience>b{font-size:12px;font-weight:500;min-width:22px;white-space:nowrap;font-variant-numeric:tabular-nums}.avatar-stack{display:flex;flex-direction:row-reverse;padding-left:13px}.avatar-stack i{display:grid;place-items:center;font-size:17px;font-style:normal;width:27px;height:27px;border-radius:50%;border:1px solid #ffffff4d;margin-left:-12px;background:linear-gradient(145deg,#ebd5b5,#8d6e64);text-shadow:none;overflow:hidden}.avatar-stack i:nth-child(2){background:linear-gradient(160deg,#162a79,#e5b781)}.avatar-stack i:nth-child(3){background:linear-gradient(150deg,#b3c4da,#3b5565)}
.icon{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:7px;border:0;border-radius:50%;background:#261d283d;color:#fff;filter:drop-shadow(0 1px 3px #0003)}.icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.close{font-size:28px;width:26px;height:36px;padding:0;font-weight:300;background:none}.rank-row{position:absolute;top:calc(65px + env(safe-area-inset-top));left:12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.rank-row>span{padding:5px 10px;background:#251e2955;border-radius:20px;font-size:12px;line-height:15px}.rank-row small{font-size:8px;color:#ffffffb3;text-shadow:0 1px 3px #0008;letter-spacing:.1px}.marquee{position:absolute;top:calc(65px + env(safe-area-inset-top));left:29%;right:27%;height:26px;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);pointer-events:none}.marquee span{display:block;width:max-content;white-space:nowrap;line-height:26px;font-size:16px;font-weight:600;color:#fff342;text-shadow:-1px -1px 1px #50401b,1px 1px 2px #221605;animation:lyric 14s linear infinite}.plaza{position:absolute;right:12px;top:calc(63px + env(safe-area-inset-top));padding:3px 0;background:none;border:0;color:#fff;font-size:12px;font-weight:600;text-shadow:0 1px 4px #0006;min-height:30px}.plaza span{font-size:24px;line-height:15px;vertical-align:-2px;margin-left:4px}.activity-row{position:absolute;right:12px;top:calc(99px + env(safe-area-inset-top));display:flex;gap:6px}.activity-row button{border:0;text-align:left;color:#fff;border-radius:5px;min-height:40px}.activity{background:#251c2b76;padding:5px 7px;font-size:10px;line-height:15px}.activity span{display:block}.activity b{margin-left:6px;font-size:12px}.activity strong{display:block;color:#ffe94c;font-size:10px;font-weight:500}.event-card{display:flex;align-items:center;gap:10px;background:linear-gradient(110deg,#a72b6399,#60447b99);padding:5px 9px;font-size:12px;font-weight:600;letter-spacing:.6px}.event-card small{display:block;font-size:9px;font-weight:400;color:#ffdbed;letter-spacing:.5px;margin-top:3px}.event-card>b{font-size:25px;filter:drop-shadow(0 0 5px #bde2ff77)}
.gift-lane{position:absolute;top:62%;left:12px;right:50px;pointer-events:none;display:flex;flex-direction:column;gap:6px;min-height:48px}.gift-banner{width:max-content;max-width:100%;display:flex;align-items:center;gap:8px;padding:4px 9px 4px 4px;background:linear-gradient(90deg,#281f2d9c,#281f2d42);border-radius:32px;animation:gift-arrive .45s ease-out both;text-shadow:0 1px 3px #0005}.gift-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#cbccdf,#6a759d);font-size:22px;overflow:hidden}.gift-copy{display:flex;flex-direction:column;gap:3px}.gift-copy strong{font-size:13px;font-weight:500}.gift-copy small{color:#fff9;font-size:10px}.gift-symbol{font-size:28px;line-height:34px;margin-left:6px}.gift-count{font-style:italic;font-size:23px;font-weight:700;margin-left:0}.gift-banner.leaving{animation:gift-leave .5s ease-in both}
.conversation{position:absolute;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;right:16px;text-shadow:0 1px 3px #0005;pointer-events:none}#comments{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-height:min(23dvh,220px);overflow:auto;scrollbar-width:none;mask-image:linear-gradient(transparent,#000 10%);padding-top:14px;overscroll-behavior:contain;pointer-events:auto}#comments::-webkit-scrollbar{display:none}.comment{max-width:100%;width:max-content;padding:4px 8px;border-radius:16px;background:#251e2966;font-size:13px;line-height:20px;overflow-wrap:anywhere;flex-shrink:0;animation:arrive .3s ease-out}.comment .who{color:#89dbf1;margin-right:3px}.comment .badge{display:inline-block;font-size:10px;line-height:15px;border-radius:9px;padding:0 5px;background:linear-gradient(115deg,#8c78e5,#6274ee);border:1px solid #c0b9ff66;color:#fff;margin-right:4px;vertical-align:1px;font-weight:600;text-shadow:none}.comment .badge:before{content:"◇";font-size:10px;margin-right:2px;color:#e4c8ff}.comment.host{background:#59364b99}.comment.host .badge{background:#ff3980;border-color:#ffacc76b;font-size:9px}.comment.host .badge:before{content:none}.comment.host .who{color:#ffd897}.comment.host .body{color:#fff1c7}.comment.viewer .who{color:#f4d9ff}.comment.entry .body{color:#ddd4e9}.comment.top .body{color:#8fe2f5}.comment.top .who{color:#89dbf1}.subtitle{position:absolute;left:12%;right:12%;bottom:44%;padding:12px 15px;border-radius:17px;background:#24172885;backdrop-filter:blur(8px);font-size:16px;line-height:1.6;text-align:center;text-shadow:0 2px 4px #0006}.subtitle:after{content:"";position:absolute;bottom:-7px;left:50%;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #24172885}#chat-status{font-size:10px;color:#ffe3ed;min-height:14px;margin:6px 0 -14px}
.bottom{position:absolute;bottom:calc(21px + env(safe-area-inset-bottom));left:12px;right:12px;display:flex;align-items:center;gap:5px}.self-avatar{position:relative;flex:none;width:32px;height:36px;border-radius:50%;margin-right:2px;display:grid;place-items:center;background:linear-gradient(140deg,#59849d,#c4879c)}.self-avatar>span{font-size:24px}.self-avatar>b{position:absolute;bottom:-2px;left:4px;right:4px;background:linear-gradient(90deg,#7f64db,#454fae);border-radius:7px;font-size:10px;line-height:13px;text-align:center;text-shadow:0 1px 2px #0006}#form{display:flex;align-items:center;border:0;background:#251e2966;border-radius:24px;height:40px;flex:1;min-width:0;backdrop-filter:blur(5px)}#danmaku{width:100%;min-width:0;flex:1;background:transparent;border:0;outline:none;color:#fff;padding:9px 0 9px 13px;font-size:13px}#danmaku::placeholder{color:#ffffffcf}#send{width:30px;min-width:30px;height:34px;border:0;background:#ff287b;border-radius:50%;color:#fff;font-size:20px;margin-right:3px}.love span{font-size:27px;line-height:1;filter:drop-shadow(0 1px 3px #ff309666)}.gift svg{width:27px;height:29px}.share svg{fill:#fff;stroke:none;width:28px;height:28px}.bottom .icon:active{transform:scale(1.13)}.heart{position:absolute;bottom:70px;right:97px;font-size:28px;filter:drop-shadow(0 2px 4px #de2e7166);animation:float-heart 1.9s ease-out forwards;--drift:0px}#hearts{position:absolute;inset:0;pointer-events:none;overflow:hidden}.emoji-picker{position:absolute;bottom:calc(72px + env(safe-area-inset-bottom));right:12px;display:flex;padding:7px;border-radius:18px;background:#2d2136e6;backdrop-filter:blur(12px);gap:3px;z-index:4}.emoji-picker button{border:0;background:none;font-size:25px;width:39px;height:39px;border-radius:50%}.emoji-picker button:hover{background:#fff2}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#toast{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);max-width:85%;width:max-content;border-radius:12px;padding:13px 19px;background:#241a2fdf;color:#fff;font-size:13px;text-align:center;z-index:10}#closed{position:absolute;inset:0;background:#211c21ef;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;z-index:11}#reopen{background:#ff287b;color:#fff;border:0;border-radius:24px;padding:13px 23px}
@keyframes float-heart{0%{opacity:0;transform:translate(0,0) scale(.5)}15%{opacity:1}100%{opacity:0;transform:translate(var(--drift),-260px) rotate(18deg) scale(1.3)}}@keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes lyric{0%,12%{transform:translateX(12%)}90%,100%{transform:translateX(-65%)}}@keyframes gift-arrive{from{opacity:0;transform:translateX(-120%)}to{opacity:1;transform:translateX(0)}}@keyframes gift-leave{to{opacity:0;transform:translateX(-120%)}}
@media(max-width:600px){.stage{max-width:none;box-shadow:none}#ambient{display:none}}@media(min-width:601px){.host-info{min-width:79px;font-size:11px}.host-info strong{font-size:16px}.host-avatar{width:39px;height:39px}.follow{min-height:36px;font-size:14px;padding:0 16px}.topbar{top:18px;left:16px;right:14px}.avatar-stack i{width:30px;height:30px}.audience>b{font-size:14px}.rank-row{top:77px;left:16px}.marquee{top:77px}.plaza{top:75px;right:16px;font-size:14px}.activity-row{top:114px;right:16px}.activity{font-size:12px;line-height:18px}.activity strong{font-size:12px}.event-card{font-size:14px;padding:7px 12px}.event-card small{font-size:11px}.comment{font-size:15px;line-height:23px;padding:4px 10px}.comment .badge{font-size:11px}.conversation{left:16px;bottom:85px}#comments{max-height:215px}.bottom{left:16px;right:16px;gap:8px}.bottom .icon{width:42px;height:42px}#form{height:45px}#danmaku{font-size:15px}.gift-lane{left:16px}.gift-copy strong{font-size:15px}.gift-copy small{font-size:12px}.gift-avatar{width:39px;height:39px}.gift-symbol{font-size:32px}.gift-count{font-size:28px}}
@media(max-width:365px){.topbar{left:8px;right:6px;gap:3px}.host-card{gap:4px}.host-info{min-width:60px}.follow{padding:0 10px}.audience{gap:5px}.avatar-stack i{width:24px;height:24px;font-size:15px}.bottom{left:8px;right:8px;gap:3px}.bottom .icon{width:33px;height:36px}.self-avatar{width:29px}.rank-row{left:10px}.conversation{left:10px;right:10px}.comment{font-size:12px;line-height:19px}.event-card{gap:5px;padding:5px 7px}.activity-row{right:10px}.marquee{left:30%;right:28%;font-size:14px}}
@media(max-height:650px){.gift-lane{top:58%}#comments{max-height:23dvh}.bottom{bottom:calc(14px + env(safe-area-inset-bottom))}.conversation{bottom:calc(68px + env(safe-area-inset-bottom))}.activity-row{top:calc(96px + env(safe-area-inset-top))}.activity-row button{min-height:34px}.rank-row small{font-size:7px}}
@media(prefers-reduced-motion:reduce){.comment,.marquee span{animation:none}.gift-banner{animation-duration:.01s}.heart{animation-duration:.5s}}
