html { background: #101214; }
body { background: #101214; color: #f6f1e9; -webkit-tap-highlight-color: transparent; }
.room { position: relative; width: min(1440px, 100%); min-height: 100dvh; margin: 0 auto; overflow: hidden; background: #101214; color: #f6f1e9; isolation: isolate; }
.room::before { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 12% 0%, rgba(117, 86, 43, .13), transparent 30%), #101214; content: ""; pointer-events: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.icon-button { display: inline-grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: rgba(255,255,255,.07); color: #eee7dc; transition: background .2s, border-color .2s, transform .2s; }
.icon-button:hover { border-color: rgba(213, 165, 92, .56); background: rgba(213,165,92,.13); }
.icon-button:active { transform: scale(.96); }
.top { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 0 38px; border-bottom: 1px solid rgba(255,255,255,.075); background: rgba(16,18,20,.94); }
.top-left, .top-right, .host, .host-line, .bar, .bar-actions, .room-title-row, .room-summary-meta, .audience-summary-top, .section-row { display: flex; align-items: center; }
.top-left, .top-right { gap: 16px; min-width: 0; }
.brand-mark { display: inline-flex; align-items: center; gap: 9px; color: #f7f0e5; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(214,165,91,.65); border-radius: 9px; color: #e6b865; font-family: var(--font-serif); font-size: 18px; }
.top-divider { width: 1px; height: 26px; background: rgba(255,255,255,.15); }
.host { gap: 10px; min-width: 0; }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(219, 170, 95, .56); border-radius: 50%; background: linear-gradient(145deg, #986b35, #4a3320); color: #fff7e8; font-family: var(--font-serif); font-size: 17px; font-weight: 700; }
.host-copy { min-width: 0; }
.host-line { gap: 7px; min-width: 0; }
.host-name { max-width: 150px; margin: 0; overflow: hidden; color: #f7f2ea; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.verified { padding: 2px 6px; border: 1px solid rgba(225,182,109,.32); border-radius: 5px; color: #dcb66f; font-size: 10px; line-height: 1.2; white-space: nowrap; }
.status { display: flex; align-items: center; gap: 6px; margin: 3px 0 0; color: #999994; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #767b80; }
.room[data-mode="live"] .dot { background: #d89558; box-shadow: 0 0 0 4px rgba(216,149,88,.12); animation: pulse 1.6s ease-in-out infinite; }
.room[data-mode="offline"] .dot { background: #8d8680; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.viewers { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.045); color: #c6c0b8; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewers svg { width: 15px; height: 15px; color: #c6a46d; }
.viewers-count { color: #f3e8d7; font-weight: 700; }
.viewers-label { color: #92918c; }
.viewers[hidden] { display: none; }
.room-layout { display: grid; grid-template-columns: minmax(0, 1fr) 342px; gap: 26px; width: min(1320px, calc(100% - 76px)); margin: 32px auto 0; }
.primary-column { min-width: 0; }
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: #080909 center / cover no-repeat; box-shadow: 0 18px 70px rgba(0,0,0,.28); }
.room.is-portrait .stage { aspect-ratio: 9 / 16; max-height: 74dvh; }
.stage.is-pseudo-fullscreen { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; max-height: none; border-radius: 0; aspect-ratio: auto; }
.stage.is-pseudo-fullscreen ~ .dock { z-index: 35; }
#player-mount, .empty, .pending, .stage-msg { position: absolute; inset: 0; }
#player-mount video, .stage video, #player-mount .tcplayer, #player-mount .vcp-player { width: 100% !important; height: 100% !important; object-fit: contain; background: #080909; }
.stage::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 22%, transparent 70%, rgba(0,0,0,.22)); content: ""; pointer-events: none; }
.empty, .pending { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; background: rgba(8,9,10,.82); }
.stage.has-cover .empty { background: rgba(8,9,10,.62); }
.empty[hidden], .pending[hidden], .tap-play[hidden], .stage-msg[hidden], .notice[hidden], .sound-prompt[hidden] { display: none; }
.empty-content { position: relative; z-index: 1; max-width: 310px; }
.empty-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border: 1px solid rgba(222,177,102,.35); border-radius: 16px; background: rgba(222,177,102,.08); color: #d9ad66; }
.empty-mark svg { width: 26px; height: 26px; }
.empty h2 { margin: 0; color: #f4eddf; font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.empty p { margin: 8px 0 0; color: #9e9b94; font-size: 13px; }
.pending { gap: 14px; background: rgba(8,9,10,.7); }
.pending div { text-align: left; }
.pending p { margin: 0; color: #eee8de; font-size: 14px; font-weight: 700; }
.pending small { display: block; margin-top: 3px; color: #8e8f8e; font-size: 12px; }
.ring { width: 25px; height: 25px; border: 2px solid rgba(255,255,255,.18); border-top-color: #d6a55d; border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-msg { z-index: 2; display: flex; align-items: flex-end; justify-content: center; margin: 0; padding: 0 20px 28px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #f3eadc; font-size: 14px; font-weight: 600; pointer-events: none; }
.room[data-mode="error"] .stage-msg { padding-bottom: 76px; }
.tap-play { position: absolute; top: 50%; left: 50%; z-index: 5; display: inline-flex; align-items: center; gap: 8px; min-width: 132px; min-height: 46px; justify-content: center; padding: 0 18px; transform: translate(-50%, -50%); border: 1px solid rgba(240,199,124,.5); border-radius: 12px; background: rgba(26,25,22,.88); color: #f5e1bc; box-shadow: 0 10px 35px rgba(0,0,0,.3); font-weight: 700; }
.tap-play svg { width: 17px; height: 17px; fill: currentColor; }
.sound-prompt { position: absolute; right: 18px; bottom: 18px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px; border: 1px solid rgba(229,184,101,.54); border-radius: 10px; background: rgba(22,21,19,.88); color: #f1d295; font-size: 12px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.sound-prompt svg { width: 16px; height: 16px; }
.stage-tools { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: flex; gap: 7px; }
.stage-tool { width: 36px; height: 36px; border-color: rgba(255,255,255,.2); background: rgba(15,16,17,.66); backdrop-filter: blur(10px); }
.room-info { display: grid; gap: 12px; padding: 20px 2px 0; }
.room-title-row { justify-content: space-between; gap: 14px; }
.title-stack { min-width: 0; }
.room-kicker, .aside-eyebrow, .sheet-eyebrow { margin: 0 0 4px; color: #a98b5d; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.room-info h1 { margin: 0; overflow: hidden; color: #f7f0e4; font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.tags[hidden] { display: none; }
.tags span { padding: 5px 9px; border: 1px solid rgba(217,171,100,.28); border-radius: 7px; background: rgba(217,171,100,.08); color: #d8b275; font-size: 11px; font-weight: 600; white-space: nowrap; }
.room-summary-meta { justify-content: space-between; gap: 12px; color: #85847f; font-size: 12px; }
.room-summary-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.room-summary-meta svg { width: 14px; height: 14px; color: #a78a5e; }
.summary-link { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none; color: #c9a76a; font-size: 12px; }
.summary-link svg { width: 14px; height: 14px; }
.notice { margin: 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: rgba(255,255,255,.04); color: #aaa49a; font-size: 12px; line-height: 1.55; }
.room-aside { display: flex; flex-direction: column; min-height: 480px; padding: 24px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: #17191a; box-shadow: 0 16px 44px rgba(0,0,0,.18); }
.aside-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.aside-head h2 { margin: 0; color: #f5eee4; font-family: var(--font-serif); font-size: 22px; }
.aside-close { width: 32px; height: 32px; }
.audience-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.audience-summary-top { gap: 12px; }
.summary-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(202,157,87,.12); color: #d4a35d; }
.summary-icon svg { width: 20px; height: 20px; }
.audience-summary p { margin: 0; color: #a6a49d; font-size: 11px; }
.audience-summary strong { display: block; margin-top: 2px; color: #f5ecdf; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1; }
.audience-live { display: inline-flex; align-items: center; gap: 5px; color: #8f9e91; font-size: 11px; white-space: nowrap; }
.audience-live i { width: 6px; height: 6px; border-radius: 50%; background: #81b38a; }
.audience-list-section { min-height: 200px; padding: 20px 0; }
.section-row { justify-content: space-between; gap: 12px; }
.section-row h3, .room-note h3 { margin: 0; color: #eee7dc; font-size: 13px; }
.section-row span { color: #777a78; font-size: 11px; }
.audience-list { display: grid; gap: 3px; margin-top: 12px; max-height: 270px; overflow: auto; scrollbar-width: thin; scrollbar-color: #5b4a32 transparent; }
.audience-empty { margin: 28px 0; color: #777873; font-size: 12px; text-align: center; }
.audience-item { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.audience-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #5f4932; color: #f1d4a5; font-size: 12px; font-weight: 700; }
.audience-item p { margin: 0; overflow: hidden; color: #ddd6cb; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.audience-item small { display: block; margin-top: 2px; overflow: hidden; color: #8d8d88; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.room-note { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding: 14px; border: 1px solid rgba(210,166,94,.16); border-radius: 9px; background: rgba(210,166,94,.055); }
.note-icon { color: #cba261; }
.note-icon svg { width: 17px; height: 17px; }
.room-note p { margin: 4px 0 0; color: #96938d; font-size: 11px; line-height: 1.5; }
.aside-chat { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.aside-chat[hidden] { display: none; }
.aside-chat .say { grid-template-columns: minmax(0,1fr) auto; }
.dock { display: none; }
.interaction-panel { display: grid; gap: 12px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-title { color: #f2e9dc; font-size: 13px; font-weight: 700; }
.panel-subtitle { margin-left: 8px; color: #85847e; font-size: 11px; }
.panel-close { display: none; padding: 3px; border: 0; background: none; color: #aaa49b; }
.bar { gap: 10px; min-width: 0; }
.bar-input { display: flex; flex: 1; align-items: center; gap: 9px; height: 42px; min-width: 0; padding: 0 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.045); color: #888780; font-size: 12px; text-align: left; }
.bar-input:hover { border-color: rgba(211,164,91,.34); color: #bdb5a8; }
.bar-input-dot { width: 7px; height: 7px; border: 1px solid #9b7544; border-radius: 50%; }
.bar-actions { gap: 8px; }
.bar-button { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.045); color: #b0aca4; font-size: 12px; font-weight: 600; }
.bar-button svg { width: 15px; height: 15px; color: #b98c50; }
.bar-button:hover { border-color: rgba(211,164,91,.34); color: #eee3d2; }
#fullscreen:disabled { opacity: .45; cursor: default; }
.say { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; min-width: 0; }
.say[hidden] { display: none; }
.say input { min-width: 0; height: 42px; padding: 0 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; outline: 0; background: rgba(0,0,0,.2); color: #f5eee3; }
.say input:focus { border-color: rgba(215,169,99,.7); box-shadow: 0 0 0 3px rgba(215,169,99,.1); }
.say input::placeholder { color: #777874; }
.say button { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; border: 1px solid rgba(214,166,92,.48); border-radius: 10px; background: rgba(204,155,78,.14); color: #e3bc7b; font-size: 12px; font-weight: 700; }
.say button svg { width: 15px; height: 15px; }
.say-feedback { grid-column: 1 / -1; min-height: 0; margin: 0; color: #e9a6a0; font-size: 11px; }
.say-feedback:empty { display: none; }
.danmaku { display: grid; align-content: end; gap: 7px; max-height: 240px; overflow: hidden; }
.danmaku:empty { display: none; }
.danmaku-item { max-width: 100%; padding: 8px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: rgba(255,255,255,.045); color: #e5ddd1; overflow-wrap: anywhere; }
.danmaku-text { margin: 0; font-size: 12px; line-height: 1.45; }
.danmaku-name { color: #d1a565; font-size: 11px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .danmaku-item { animation: rise .24s ease-out; } }
@keyframes rise { from { transform: translateY(6px); opacity: .3; } to { transform: translateY(0); opacity: 1; } }
.sheet { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; padding: 18px 18px calc(18px + var(--safe-bottom)); background: rgba(5,6,7,.66); backdrop-filter: blur(8px); }
.sheet[hidden] { display: none; }
.sheet form, .share-card { width: min(480px, 100%); display: grid; gap: 13px; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: #1c1e1f; color: #eee7dd; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.sheet h2 { margin: 0; color: #f5ede1; font-family: var(--font-serif); font-size: 22px; }
.sheet label { display: grid; gap: 7px; color: #b3afa7; font-size: 12px; }
.sheet input, .sheet textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; outline: 0; background: #141617; color: #f4ede2; }
.sheet input:focus, .sheet textarea:focus { border-color: rgba(216,167,93,.75); }
.sheet textarea { min-height: 96px; resize: vertical; }
.sheet-help { margin: 0; color: #898983; font-size: 12px; }
.sheet-actions { display: flex; gap: 8px; }
.sheet-actions button { flex: 1; min-height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.06); color: #d5cec2; font-size: 13px; font-weight: 700; }
.sheet button[type="submit"] { border-color: #bd8c4b; background: #9c6d34; color: #fff7eb; }
.share-sheet { align-items: center; }
.share-card { width: min(450px, 100%); }
.sheet-grabber { display: none; }
.share-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.share-url { margin: 0; padding: 11px 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #141617; color: #94938e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.share-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: rgba(255,255,255,.06); color: #e4dbcd; font-size: 13px; font-weight: 700; }
.share-action.primary { border-color: rgba(210,164,91,.5); background: rgba(210,164,91,.14); color: #e5bc7c; }
.share-action svg { width: 16px; height: 16px; }
.share-feedback { min-height: 0; margin: 0; color: #9fc9a4; font-size: 12px; text-align: center; }
.share-feedback:empty { display: none; }
@media (max-width: 900px) { .top { padding: 0 20px; } .brand-mark span:last-child, .top-divider { display: none; } .room-layout { grid-template-columns: minmax(0,1fr) 300px; width: min(100% - 40px, 1080px); gap: 18px; } .room-aside { padding: 20px 17px; } }
@media (min-width: 701px) { .aside-close { display: none; } }
@media (max-width: 700px) {
  .room { min-height: 100dvh; padding-bottom: calc(64px + var(--safe-bottom)); }
  .top { min-height: 62px; padding: calc(9px + var(--safe-top)) 14px 9px; }
  .brand-mark { display: none; } .top-left, .top-right { gap: 9px; } .top-right .viewers { padding: 7px 9px; } .top-right .viewers-label { display: none; } .avatar { width: 34px; height: 34px; } .host-name { max-width: 120px; } .verified { font-size: 9px; } .icon-button { width: 35px; height: 35px; }
  .room-layout { display: block; width: 100%; margin: 0; } .stage { aspect-ratio: 16 / 10; border: 0; border-radius: 0; box-shadow: none; } .room.is-portrait .stage { max-height: none; aspect-ratio: 9 / 14; } .stage-tools { right: 12px; bottom: 12px; }
  .room-info { gap: 11px; padding: 17px 14px 14px; border-bottom: 1px solid rgba(255,255,255,.09); } .room-info h1 { font-size: 21px; } .room-kicker { font-size: 9px; }
  .room-aside { position: fixed; right: 0; bottom: 0; left: 0; z-index: 34; display: none; min-height: 0; max-height: min(78dvh, 620px); overflow: auto; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 18px 18px 0 0; padding: 20px 16px calc(18px + var(--safe-bottom)); background: #191b1c; box-shadow: 0 -16px 42px rgba(0,0,0,.4); }
  .room-aside.is-open { display: flex; } .aside-close { display: inline-grid; } .aside-chat { display: none; }
  .dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; display: block; padding: 0 12px calc(9px + var(--safe-bottom)); border-top: 1px solid rgba(255,255,255,.08); background: rgba(16,18,20,.95); backdrop-filter: blur(14px); }
  .interaction-panel { display: none; padding: 12px 0 8px; } .interaction-panel.is-open { display: grid; } .panel-close { display: inline-grid; place-items: center; } .panel-close svg { width: 17px; height: 17px; }
  .bar-input { height: 39px; } .bar-button { width: 39px; height: 39px; justify-content: center; padding: 0; } .bar-button span { display: none; } .bar-button svg { width: 17px; height: 17px; }
  .share-sheet { align-items: flex-end; padding: 0; } .share-card { border-radius: 16px 16px 0 0; padding: 12px 16px calc(17px + var(--safe-bottom)); } .sheet-grabber { display: block; width: 34px; height: 4px; margin: 0 auto 11px; border-radius: 3px; background: #5f605c; }
}
@media (max-width: 380px) { .room-info { padding-inline: 12px; } .top { padding-inline: 11px; } .host-name { max-width: 98px; } .tags { max-width: 45%; overflow: hidden; } }
/* 抖音风格直播间 v2 - 完全复刻图18 */

/* ========== 1. 隐藏分享按钮 ========== */
#share-open {
  display: none !important;
}

/* ========== 2. 移动端抖音风格布局 ========== */
@media (max-width: 700px) {
  /* 移除room的底部padding */
  .room { 
    padding-bottom: 0 !important;
  }
  
  /* 顶部栏 - 抖音风格 */
  .top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    padding: 12px 16px !important;
    border-bottom: none !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%) !important;
    pointer-events: none !important;
  }
  
  .top > * {
    pointer-events: auto !important;
  }
  
  /* 左侧：主播信息 */
  .top-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  /* 隐藏品牌标识 */
  .brand-mark {
    display: none !important;
  }
  
  /* 主播头像 + 名字 + 状态 */
  .host {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  .avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
    flex-shrink: 0 !important;
  }
  
  .host-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  
  .host-line {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  
  .host-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: white !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  }
  
  .status {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  }
  
  .dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #ff4757 !important;
    animation: pulse 2s infinite !important;
    flex-shrink: 0 !important;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
  }
  
  /* 直播标题 - 显示在主播名字下方 */
  .room-title-row {
    display: block !important;
  }
  
  #title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.4 !important;
  }
  
  .room-kicker {
    display: none !important;
  }
  
  /* 右侧：观众数 */
  .top-right {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  .viewers {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: white !important;
  }
  
  .viewers svg {
    display: none !important;
  }
  
  .viewers-label {
    font-size: 12px !important;
  }
  
  /* Stage全屏 */
  .stage {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    z-index: 1 !important;
  }
  
  /* 确保视频容器不会超过stage的层级 */
  #player-mount,
  #player-mount video,
  #player-mount .tcplayer,
  #player-mount .vcp-player {
    z-index: auto !important;
  }
  
  /* 隐藏房间信息区域（移到顶部显示） */
  .room-info {
    position: fixed !important;
    top: 70px !important;
    left: 16px !important;
    right: 100px !important;
    z-index: 100 !important;
    background: transparent !important;
    padding: 0 !important;
  }
  
  .room-summary-meta,
  .notice,
  .tags {
    display: none !important;
  }
  
  /* 左侧垂直工具栏 - 抖音风格（暂时隐藏，按图18不需要） */
  .stage-tools {
    display: none !important;
  }
  
  /* 底部栏 - 抖音风格 */
  .dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50 !important;
    border-top: none !important;
    background: transparent !important;
    pointer-events: none !important;
  }
  
  /* 互动面板 - 弹幕滚动区域 */
  .interaction-panel {
    position: fixed !important;
    bottom: 90px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 60 !important;
    background: transparent !important;
    pointer-events: none !important;
    padding: 0 !important;
    max-height: 400px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }
  
  /* 隐藏面板标题 */
  .panel-heading {
    display: none !important;
  }
  
  /* 弹幕容器 - 从下往上排列 */
  .danmaku {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
    pointer-events: none !important;
    padding-bottom: 8px !important;
  }
  
  /* 弹幕消息样式 - 抖音风格（半透明黑色胶囊） */
  .danmaku-item {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: white !important;
    max-width: 85% !important;
    word-wrap: break-word !important;
    animation: slideInUp 0.3s ease !important;
    text-align: left !important;
    align-self: flex-start !important;
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* 底部操作栏 */
  .bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%) !important;
    pointer-events: auto !important;
  }
  
  /* 输入框 - 抖音风格 */
  .bar-input {
    flex: 1 !important;
    height: 40px !important;
    padding: 0 16px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 20px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  
  .bar-input-dot {
    display: none !important;
  }
  
  /* 操作按钮组 */
  .bar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  .bar-button {
    min-width: 56px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  
  .bar-button svg {
    width: 18px !important;
    height: 18px !important;
    stroke: white !important;
    fill: none !important;
  }
  
  .bar-button span {
    font-size: 13px !important;
    color: white !important;
    font-weight: 500 !important;
  }
  
  /* 弹幕输入表单 - 展开状态 */
  .interaction-panel.is-open {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    padding: 16px !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
    max-height: none !important;
    pointer-events: auto !important;
  }
  
  .interaction-panel.is-open .danmaku {
    display: none !important;
  }
  
  #danmaku-form {
    display: none !important;
  }
  
  .interaction-panel.is-open #danmaku-form {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  #danmaku-input {
    flex: 1 !important;
    height: 44px !important;
    padding: 0 16px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 22px !important;
    color: white !important;
    font-size: 15px !important;
  }
  
  #danmaku-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
  }
  
  #danmaku-form button {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ff4757 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  
  #danmaku-form button svg {
    width: 20px !important;
    height: 20px !important;
    stroke: white !important;
    fill: none !important;
  }
  
  #danmaku-form button span {
    display: none !important;
  }
  
  /* 播放按钮 */
  .tap-play {
    z-index: 45 !important;
    pointer-events: auto !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
  }
  
  /* 声音提示 */
  .sound-prompt {
    z-index: 40 !important;
    bottom: 150px !important;
    pointer-events: auto !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
  }
}

/* ========== 3. 隐藏桌面端装饰元素 ========== */
.brand-mark span:last-child,
.top-divider,
.verified {
  display: none !important;
}

/* ========== 修复：观众数显示"观众"文字 ========== */
@media (max-width: 700px) {
  .viewers::after {
    content: ' 观众' !important;
  }
}

/* ===== 分享面板二维码（域名池功能新增）===== */
.share-qr { display: grid; gap: 7px; justify-items: center; }
.share-qr-canvas { display: grid; place-items: center; width: 176px; height: 176px; padding: 9px; border-radius: 11px; background: #fff; }
.share-qr-canvas svg { display: block; width: 100%; height: 100%; }
.share-qr-tip { margin: 0; color: #94938e; font-size: 12px; }
#download-qr { grid-column: 1 / -1; }
.share-actions { grid-auto-flow: row; }
