*{box-sizing:border-box}body{margin:0;background:#f6f7f9;color:#20232b;font-family:Inter,Microsoft YaHei,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:default}svg{width:23px;height:23px;flex-shrink:0}button:focus-visible,input:focus-visible{outline:3px solid #8f82fa;outline-offset:3px}.lobby{max-width:1160px;margin:auto;padding:48px 32px}.lobby header{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px}h1{font-size:27px;margin:0;display:flex;align-items:center;gap:9px;letter-spacing:2px}.brand-dot{width:8px;height:8px;background:#7760ee;border-radius:50%;align-self:flex-start;margin-top:7px}.total{font-size:12px;color:#9a9da8}.empty{height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#a4a7b1;font-size:13px}.empty svg{width:42px;height:42px;color:#c4c3cd}.room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.room-card{background:#fff;border-radius:18px;padding:0;overflow:hidden;text-align:left;box-shadow:0 4px 20px #262b3b04;transition:transform .2s}.room-card:hover{transform:translateY(-4px)}.cover{position:relative;aspect-ratio:4/3;background:radial-gradient(ellipse at 75% 20%,#77739b,#303442);display:flex;align-items:center;justify-content:center;color:#ffffff50}.room-card:nth-child(3n+2) .cover{background:radial-gradient(ellipse at 75% 20%,#739a92,#263e42)}.cover>svg{width:60px;height:60px;stroke-width:1}.live-badge{position:absolute;top:16px;left:16px;background:#fff2;border:1px solid #ffffff20;border-radius:6px;color:#fff;padding:5px 8px;font-size:10px;letter-spacing:1px}.watch-count{position:absolute;bottom:14px;right:14px;color:#fff;display:flex;align-items:center;gap:5px;font-size:12px}.watch-count svg{width:16px;height:16px}.room-meta{padding:18px;display:flex;align-items:center;gap:12px}.avatar{width:36px;height:36px;background:#eae6ff;color:#7862d9;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}.room-meta strong{font-size:14px;font-weight:500}.room-meta small{display:block;font-size:11px;color:#a2a5ae;margin-top:5px}.arrow{margin-left:auto;color:#9c96b5}.launch{position:fixed;bottom:36px;right:36px;width:60px;height:60px;background:#7760ee;color:#fff;border-radius:50%;box-shadow:0 8px 28px #7760ee50;display:grid;place-items:center}.stage{height:100dvh;width:100%;position:relative;overflow:hidden;background:#0b0c10;color:#fff}.stage video{position:absolute;width:100%;height:100%;object-fit:cover}.stage.watching video{object-fit:contain}.mirror{transform:scaleX(-1)}.shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0008,transparent 25%,transparent 50%,#0009)}.stage-header{position:absolute;top:0;left:0;width:100%;display:flex;gap:12px;align-items:center;padding:24px;padding-top:max(24px,env(safe-area-inset-top))}.icon-button{width:42px;height:42px;border-radius:50%;background:#ffffff20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:inherit;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover{background:#ffffff35}.room-pill{display:flex;align-items:center;gap:10px;background:#0003;border-radius:30px;padding:6px 18px 6px 6px;max-width:65%;overflow:hidden}.room-pill strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis}.room-pill small{font-size:10px;color:#ffffffa0;display:block;margin-top:4px}.room-pill .avatar{background:#ffffff24;color:#fff}.audience{margin-left:auto;display:flex;gap:6px;align-items:center;font-size:12px}.audience svg{width:18px;height:18px}.danger{background:#e45a6350}.tools{position:absolute;right:24px;top:120px;display:flex;flex-direction:column;gap:18px}.enabled{color:#adffbd}.start-button{position:absolute;bottom:max(40px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);background:#8067f2;color:#fff;border-radius:28px;padding:16px 64px;white-space:nowrap;font-size:15px}.conversation{position:absolute;left:24px;bottom:max(24px,env(safe-area-inset-bottom));width:min(420px,calc(100% - 48px))}.messages{max-height:240px;overflow:auto;scrollbar-width:none;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding-bottom:14px}.bubble{max-width:100%;background:#0004;border-radius:12px;padding:8px 12px;line-height:1.5;overflow-wrap:anywhere;font-size:13px}.bubble b{font-weight:500;color:#cabfff;margin-right:10px}.bubble.notice{color:#ceffce;font-size:12px}.chat-form{display:flex;gap:10px}.chat-form input{min-width:0;flex:1;border:1px solid #ffffff15;background:#ffffff20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:12px 18px;border-radius:28px;color:#fff;font-size:13px}.chat-form input::placeholder{color:#ffffff90}.modal-backdrop{position:absolute;inset:0;background:#0007;display:flex;align-items:flex-end;justify-content:center;z-index:3}.settings-panel{width:100%;max-width:440px;background:#fff;color:#262831;border-radius:24px 24px 0 0;padding:24px 28px 36px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-title h2{font-size:18px;margin:0}.panel-title button{background:#f0f0f4}.settings-panel label{display:block;font-size:12px;color:#8e909b;margin:16px 0}.settings-panel input{display:block;width:100%;border:1px solid #e7e7ed;padding:13px;border-radius:10px;margin-top:8px;color:#25252e}.save-button{width:100%;background:#8067f2;color:#fff;padding:14px;border-radius:12px;margin-top:8px}.toast{position:fixed;z-index:10;left:50%;bottom:110px;transform:translate(-50%);background:#292832ed;color:#fff;padding:12px 20px;font-size:13px;border-radius:12px;max-width:90vw}.toast.error{background:#813944ed}@media(min-width:1000px){.watching .conversation{left:auto;right:32px;bottom:32px;width:320px}.watching .messages{max-height:45vh}}@media(max-width:650px){.lobby{padding:28px 20px}.lobby header{margin-bottom:26px}.room-grid{grid-template-columns:repeat(2,1fr);gap:12px}.room-meta{padding:12px;gap:8px}.room-meta .avatar{width:28px;height:28px;font-size:11px}.room-meta strong{font-size:12px}.cover{aspect-ratio:3/4}.launch{right:24px;bottom:28px}.stage-header{padding:18px;gap:8px}.tools{right:18px}.conversation{left:18px;width:calc(100% - 36px)}.arrow{display:none}}
